@bizdoc/core 1.16.20 → 1.16.23

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 (400) hide show
  1. package/assets/bizdoc-schema.json +4 -0
  2. package/esm2020/lib/admin/configuration-designer/declarations.mjs +2 -3
  3. package/esm2020/lib/admin/configuration-designer/designer-element.component.mjs +24 -23
  4. package/esm2020/lib/admin/configuration-designer/designer-privileges.component.mjs +6 -8
  5. package/esm2020/lib/admin/configuration-designer/designer.base.mjs +3 -1
  6. package/esm2020/lib/admin/configuration-designer/designer.component.mjs +48 -29
  7. package/esm2020/lib/admin/configuration-designer/elements/action.component.mjs +15 -13
  8. package/esm2020/lib/admin/configuration-designer/elements/cube.component.mjs +49 -26
  9. package/esm2020/lib/admin/configuration-designer/elements/folder.component.mjs +20 -17
  10. package/esm2020/lib/admin/configuration-designer/elements/form.component.mjs +80 -23
  11. package/esm2020/lib/admin/configuration-designer/elements/guide.component.mjs +8 -6
  12. package/esm2020/lib/admin/configuration-designer/elements/policy.component.mjs +9 -4
  13. package/esm2020/lib/admin/configuration-designer/elements/report.component.mjs +3 -2
  14. package/esm2020/lib/admin/configuration-designer/elements/role.component.mjs +4 -3
  15. package/esm2020/lib/admin/configuration-designer/elements/rule.component.mjs +9 -4
  16. package/esm2020/lib/admin/configuration-designer/elements/state.component.mjs +11 -9
  17. package/esm2020/lib/admin/configuration-designer/elements/type.component.mjs +12 -9
  18. package/esm2020/lib/admin/configuration-designer/elements/utility.component.mjs +4 -4
  19. package/esm2020/lib/admin/configuration-designer/elements/view.component.mjs +5 -4
  20. package/esm2020/lib/admin/configuration-designer/elements/widget.component.mjs +7 -5
  21. package/esm2020/lib/admin/system.service.mjs +1 -1
  22. package/esm2020/lib/core/pipes/time-ago.pipe.mjs +47 -1
  23. package/esm2020/lib/core/translations.mjs +11 -2
  24. package/esm2020/lib/shared.module.mjs +6 -6
  25. package/esm2020/public-api.mjs +2 -2
  26. package/fesm2015/bizdoc-core.mjs +273 -120
  27. package/fesm2015/bizdoc-core.mjs.map +1 -1
  28. package/fesm2020/bizdoc-core.mjs +272 -120
  29. package/fesm2020/bizdoc-core.mjs.map +1 -1
  30. package/lib/admin/configuration-designer/declarations.d.ts +1 -1
  31. package/lib/admin/configuration-designer/designer-element.component.d.ts +4 -7
  32. package/lib/admin/configuration-designer/designer.base.d.ts +1 -0
  33. package/lib/admin/configuration-designer/designer.component.d.ts +6 -4
  34. package/lib/admin/configuration-designer/elements/action.component.d.ts +1 -3
  35. package/lib/admin/configuration-designer/elements/cube.component.d.ts +14 -11
  36. package/lib/admin/configuration-designer/elements/folder.component.d.ts +12 -3
  37. package/lib/admin/configuration-designer/elements/form.component.d.ts +21 -5
  38. package/lib/admin/configuration-designer/elements/policy.component.d.ts +1 -2
  39. package/lib/admin/system.service.d.ts +8 -1
  40. package/lib/core/pipes/time-ago.pipe.d.ts +13 -0
  41. package/lib/core/translations.d.ts +9 -0
  42. package/lib/shared.module.d.ts +1 -1
  43. package/package.json +1 -1
  44. package/public-api.d.ts +1 -1
  45. package/bizdoc-core.d.ts.map +0 -1
  46. package/lib/admin/admin-dismiss.service.d.ts.map +0 -1
  47. package/lib/admin/admin-menu.component.d.ts.map +0 -1
  48. package/lib/admin/configuration-designer/cube-axes-filter.component.d.ts.map +0 -1
  49. package/lib/admin/configuration-designer/declarations.d.ts.map +0 -1
  50. package/lib/admin/configuration-designer/designer-element.component.d.ts.map +0 -1
  51. package/lib/admin/configuration-designer/designer-privileges.component.d.ts.map +0 -1
  52. package/lib/admin/configuration-designer/designer.base.d.ts.map +0 -1
  53. package/lib/admin/configuration-designer/designer.component.d.ts.map +0 -1
  54. package/lib/admin/configuration-designer/elements/action.component.d.ts.map +0 -1
  55. package/lib/admin/configuration-designer/elements/analysis-view.component.d.ts.map +0 -1
  56. package/lib/admin/configuration-designer/elements/analysis-widget.component.d.ts.map +0 -1
  57. package/lib/admin/configuration-designer/elements/anomaly-rule.component.d.ts.map +0 -1
  58. package/lib/admin/configuration-designer/elements/box-form.component.d.ts.map +0 -1
  59. package/lib/admin/configuration-designer/elements/configuration-datasource.component.d.ts.map +0 -1
  60. package/lib/admin/configuration-designer/elements/cube-index-utility.component.d.ts.map +0 -1
  61. package/lib/admin/configuration-designer/elements/cube-view.component.d.ts.map +0 -1
  62. package/lib/admin/configuration-designer/elements/cube.component.d.ts.map +0 -1
  63. package/lib/admin/configuration-designer/elements/documents-report.component.d.ts.map +0 -1
  64. package/lib/admin/configuration-designer/elements/documents-widget.component.d.ts.map +0 -1
  65. package/lib/admin/configuration-designer/elements/explore-view.component.d.ts.map +0 -1
  66. package/lib/admin/configuration-designer/elements/folder.component.d.ts.map +0 -1
  67. package/lib/admin/configuration-designer/elements/form.component.d.ts.map +0 -1
  68. package/lib/admin/configuration-designer/elements/guide.component.d.ts.map +0 -1
  69. package/lib/admin/configuration-designer/elements/matrix-view.component.d.ts.map +0 -1
  70. package/lib/admin/configuration-designer/elements/parallel-view.component.d.ts.map +0 -1
  71. package/lib/admin/configuration-designer/elements/performance-widget.component.d.ts.map +0 -1
  72. package/lib/admin/configuration-designer/elements/pivot-view.component.d.ts.map +0 -1
  73. package/lib/admin/configuration-designer/elements/policy.component.d.ts.map +0 -1
  74. package/lib/admin/configuration-designer/elements/report.component.d.ts.map +0 -1
  75. package/lib/admin/configuration-designer/elements/return-to-role-action.component.d.ts.map +0 -1
  76. package/lib/admin/configuration-designer/elements/role.component.d.ts.map +0 -1
  77. package/lib/admin/configuration-designer/elements/rule.component.d.ts.map +0 -1
  78. package/lib/admin/configuration-designer/elements/state.component.d.ts.map +0 -1
  79. package/lib/admin/configuration-designer/elements/sum-view.component.d.ts.map +0 -1
  80. package/lib/admin/configuration-designer/elements/tasks-report.component.d.ts.map +0 -1
  81. package/lib/admin/configuration-designer/elements/type.component.d.ts.map +0 -1
  82. package/lib/admin/configuration-designer/elements/usage-report.component.d.ts.map +0 -1
  83. package/lib/admin/configuration-designer/elements/utility.component.d.ts.map +0 -1
  84. package/lib/admin/configuration-designer/elements/view.component.d.ts.map +0 -1
  85. package/lib/admin/configuration-designer/elements/widget.component.d.ts.map +0 -1
  86. package/lib/admin/configuration-designer/icon-picker.component.d.ts.map +0 -1
  87. package/lib/admin/core/ace.input.d.ts.map +0 -1
  88. package/lib/admin/core/color-picker.input.d.ts.map +0 -1
  89. package/lib/admin/core/search.input.d.ts.map +0 -1
  90. package/lib/admin/diff/configuration-diff.component.d.ts.map +0 -1
  91. package/lib/admin/document-trace/document-trace.component.d.ts.map +0 -1
  92. package/lib/admin/document-trace/reassign.dialog.d.ts.map +0 -1
  93. package/lib/admin/document-trace/timeline.d.ts.map +0 -1
  94. package/lib/admin/document-trace/trace-element.component.d.ts.map +0 -1
  95. package/lib/admin/form/designer/designer.component.d.ts.map +0 -1
  96. package/lib/admin/form/form.resolve.service.d.ts.map +0 -1
  97. package/lib/admin/form/workflow/node-ref.d.ts.map +0 -1
  98. package/lib/admin/form/workflow/node.component.d.ts.map +0 -1
  99. package/lib/admin/form/workflow/role-node.component.d.ts.map +0 -1
  100. package/lib/admin/form/workflow/workflow.component.d.ts.map +0 -1
  101. package/lib/admin/indices/manage-cube-index.component.d.ts.map +0 -1
  102. package/lib/admin/patterns/patterns.component.d.ts.map +0 -1
  103. package/lib/admin/permissions/permissions.component.d.ts.map +0 -1
  104. package/lib/admin/positions/positions-popup.component.d.ts.map +0 -1
  105. package/lib/admin/positions/positions.component.d.ts.map +0 -1
  106. package/lib/admin/profiler/outofoffice.component.d.ts.map +0 -1
  107. package/lib/admin/profiler/profiler.component.d.ts.map +0 -1
  108. package/lib/admin/system.service.d.ts.map +0 -1
  109. package/lib/admin/utility-ref.d.ts.map +0 -1
  110. package/lib/admin/utility-wrapper.component.d.ts.map +0 -1
  111. package/lib/admin/utility.pane.component.d.ts.map +0 -1
  112. package/lib/app.component.d.ts.map +0 -1
  113. package/lib/bizdoc.module.d.ts.map +0 -1
  114. package/lib/browse/browse-items.component.d.ts.map +0 -1
  115. package/lib/browse/browse.mobile.component.d.ts.map +0 -1
  116. package/lib/browse/browse.pane.component.d.ts.map +0 -1
  117. package/lib/browse/expanded-item/expanded-item.component.d.ts.map +0 -1
  118. package/lib/browse/filter/filter.component.d.ts.map +0 -1
  119. package/lib/browse/folders-menu.component.d.ts.map +0 -1
  120. package/lib/chat/chat-info.d.ts.map +0 -1
  121. package/lib/chat/chat.mobile.component.d.ts.map +0 -1
  122. package/lib/chat/chat.service.d.ts.map +0 -1
  123. package/lib/chat/contacts.component.d.ts.map +0 -1
  124. package/lib/chat/contacts.pane.component.d.ts.map +0 -1
  125. package/lib/chat/conversation.component.d.ts.map +0 -1
  126. package/lib/chat/conversation.pane.component.d.ts.map +0 -1
  127. package/lib/compose/action/action-picker.component.d.ts.map +0 -1
  128. package/lib/compose/action/action-ref.d.ts.map +0 -1
  129. package/lib/compose/action/action.base.d.ts.map +0 -1
  130. package/lib/compose/action/action.dialog.d.ts.map +0 -1
  131. package/lib/compose/action/action.pane.dialog.exp.d.ts.map +0 -1
  132. package/lib/compose/action/assign-action.component.d.ts.map +0 -1
  133. package/lib/compose/action/moveto-action.component.d.ts.map +0 -1
  134. package/lib/compose/action/return-action.component.d.ts.map +0 -1
  135. package/lib/compose/attachments/attachments.component.d.ts.map +0 -1
  136. package/lib/compose/attachments/preview/attachment-preview.component.d.ts.map +0 -1
  137. package/lib/compose/attachments/progress-button.directive.d.ts.map +0 -1
  138. package/lib/compose/box/box.component.d.ts.map +0 -1
  139. package/lib/compose/can-deactivate-changes.service.d.ts.map +0 -1
  140. package/lib/compose/comments/comment.component.d.ts.map +0 -1
  141. package/lib/compose/comments/comments.component.d.ts.map +0 -1
  142. package/lib/compose/comments/comments.pane.component.d.ts.map +0 -1
  143. package/lib/compose/comments/edit-comment.component.d.ts.map +0 -1
  144. package/lib/compose/comments/edits.component.d.ts.map +0 -1
  145. package/lib/compose/comments/quick-comment.component.exp.d.ts.map +0 -1
  146. package/lib/compose/comments/votes.component.d.ts.map +0 -1
  147. package/lib/compose/compose-resolve.service.d.ts.map +0 -1
  148. package/lib/compose/compose.mobile.component.d.ts.map +0 -1
  149. package/lib/compose/compose.pane.component.d.ts.map +0 -1
  150. package/lib/compose/copy/copy.dialog.d.ts.map +0 -1
  151. package/lib/compose/dismiss.service.d.ts.map +0 -1
  152. package/lib/compose/document-resolver.service.d.ts.map +0 -1
  153. package/lib/compose/document.component.d.ts.map +0 -1
  154. package/lib/compose/document.mobile.component.d.ts.map +0 -1
  155. package/lib/compose/document.pane.component.d.ts.map +0 -1
  156. package/lib/compose/events/events.component.d.ts.map +0 -1
  157. package/lib/compose/form-ref.d.ts.map +0 -1
  158. package/lib/compose/form-selector/form-selector.sheet.d.ts.map +0 -1
  159. package/lib/compose/form.component.d.ts.map +0 -1
  160. package/lib/compose/new-menu.component.d.ts.map +0 -1
  161. package/lib/compose/privilage.directive.d.ts.map +0 -1
  162. package/lib/compose/recipient-resolver.service.d.ts.map +0 -1
  163. package/lib/compose/state.component.d.ts.map +0 -1
  164. package/lib/compose/tag/tags.component.d.ts.map +0 -1
  165. package/lib/compose/trace/flow.component.d.ts.map +0 -1
  166. package/lib/compose/trace/people.component.d.ts.map +0 -1
  167. package/lib/compose/trace/trace.base.d.ts.map +0 -1
  168. package/lib/compose/trace/trace.component.d.ts.map +0 -1
  169. package/lib/compose/trace/trace.pane.component.d.ts.map +0 -1
  170. package/lib/compose/version-compare/version-compare.component.d.ts.map +0 -1
  171. package/lib/compose/version-compare/version-compare.directive.d.ts.map +0 -1
  172. package/lib/compose/version-compare/version.pane.component.d.ts.map +0 -1
  173. package/lib/core/NgComponentOutlet.d.ts.map +0 -1
  174. package/lib/core/account.service.d.ts.map +0 -1
  175. package/lib/core/animated-icon/animated-icon.directive.d.ts.map +0 -1
  176. package/lib/core/animations.d.ts.map +0 -1
  177. package/lib/core/authentication.d.ts.map +0 -1
  178. package/lib/core/avatar/avatar.component.d.ts.map +0 -1
  179. package/lib/core/base.d.ts.map +0 -1
  180. package/lib/core/colors.d.ts.map +0 -1
  181. package/lib/core/component-factory-resolver.d.ts.map +0 -1
  182. package/lib/core/configuration.d.ts.map +0 -1
  183. package/lib/core/controls/address.input.d.ts.map +0 -1
  184. package/lib/core/controls/auto-complete.input.d.ts.map +0 -1
  185. package/lib/core/controls/combination-picker-body.d.ts.map +0 -1
  186. package/lib/core/controls/combination-picker.d.ts.map +0 -1
  187. package/lib/core/controls/combination-pool.d.ts.map +0 -1
  188. package/lib/core/controls/file.input.d.ts.map +0 -1
  189. package/lib/core/controls/select.input.d.ts.map +0 -1
  190. package/lib/core/controls/time-picker.d.ts.map +0 -1
  191. package/lib/core/controls/timespan.input.d.ts.map +0 -1
  192. package/lib/core/datasource.service.d.ts.map +0 -1
  193. package/lib/core/decorators.d.ts.map +0 -1
  194. package/lib/core/firebase.service.d.ts.map +0 -1
  195. package/lib/core/functions.d.ts.map +0 -1
  196. package/lib/core/guide/guide.component.d.ts.map +0 -1
  197. package/lib/core/guide/guide.service.d.ts.map +0 -1
  198. package/lib/core/guide/help-tip.component.d.ts.map +0 -1
  199. package/lib/core/http.interceptor.d.ts.map +0 -1
  200. package/lib/core/hub.service.d.ts.map +0 -1
  201. package/lib/core/identity/identity.component.d.ts.map +0 -1
  202. package/lib/core/info/attachment-info.service.d.ts.map +0 -1
  203. package/lib/core/info/document-info.service.d.ts.map +0 -1
  204. package/lib/core/info/location-info.component.d.ts.map +0 -1
  205. package/lib/core/info/map-info.d.ts.map +0 -1
  206. package/lib/core/layout/autocomplete.field.d.ts.map +0 -1
  207. package/lib/core/layout/checkbox.d.ts.map +0 -1
  208. package/lib/core/layout/checkbox.field.d.ts.map +0 -1
  209. package/lib/core/layout/date-range.field.d.ts.map +0 -1
  210. package/lib/core/layout/date.field.d.ts.map +0 -1
  211. package/lib/core/layout/expression.field.d.ts.map +0 -1
  212. package/lib/core/layout/file.field.d.ts.map +0 -1
  213. package/lib/core/layout/html.field.d.ts.map +0 -1
  214. package/lib/core/layout/input.base.d.ts.map +0 -1
  215. package/lib/core/layout/input.field.d.ts.map +0 -1
  216. package/lib/core/layout/layout.component.d.ts.map +0 -1
  217. package/lib/core/layout/numeric.field.d.ts.map +0 -1
  218. package/lib/core/layout/select.field.d.ts.map +0 -1
  219. package/lib/core/layout/switch.field.d.ts.map +0 -1
  220. package/lib/core/layout/textarea.field.d.ts.map +0 -1
  221. package/lib/core/layout/timespan.field.d.ts.map +0 -1
  222. package/lib/core/lottie-animation.d.ts.map +0 -1
  223. package/lib/core/mailbox.service.d.ts.map +0 -1
  224. package/lib/core/models.d.ts.map +0 -1
  225. package/lib/core/none.component.d.ts.map +0 -1
  226. package/lib/core/pipes/action.pipe.d.ts.map +0 -1
  227. package/lib/core/pipes/calendar.pipe.d.ts.map +0 -1
  228. package/lib/core/pipes/date-format.pipe.d.ts.map +0 -1
  229. package/lib/core/pipes/daterange.pipe.d.ts.map +0 -1
  230. package/lib/core/pipes/difference.pipe.d.ts.map +0 -1
  231. package/lib/core/pipes/duration-format.pipe.d.ts.map +0 -1
  232. package/lib/core/pipes/duration.pipe.d.ts.map +0 -1
  233. package/lib/core/pipes/form.pipe.d.ts.map +0 -1
  234. package/lib/core/pipes/join.pipe.d.ts.map +0 -1
  235. package/lib/core/pipes/role.pipe.d.ts.map +0 -1
  236. package/lib/core/pipes/sanitize-html.pipe.d.ts.map +0 -1
  237. package/lib/core/pipes/sort.pipe.d.ts.map +0 -1
  238. package/lib/core/pipes/state.pipe.d.ts.map +0 -1
  239. package/lib/core/pipes/time-ago.pipe.d.ts.map +0 -1
  240. package/lib/core/pipes/translate.pipe.d.ts.map +0 -1
  241. package/lib/core/pipes/type-value.pipe.d.ts.map +0 -1
  242. package/lib/core/pipes/user-name.pipe.d.ts.map +0 -1
  243. package/lib/core/popup/popup-ref.d.ts.map +0 -1
  244. package/lib/core/popup/popup.component.d.ts.map +0 -1
  245. package/lib/core/popup/popup.service.d.ts.map +0 -1
  246. package/lib/core/popup/tooltip.directive.d.ts.map +0 -1
  247. package/lib/core/prompt/ask/ask.dialog.d.ts.map +0 -1
  248. package/lib/core/prompt/mask/mask.component.d.ts.map +0 -1
  249. package/lib/core/prompt.service.d.ts.map +0 -1
  250. package/lib/core/router.d.ts.map +0 -1
  251. package/lib/core/save-changes.dialog.d.ts.map +0 -1
  252. package/lib/core/session.service.d.ts.map +0 -1
  253. package/lib/core/slots/pane-ref.d.ts.map +0 -1
  254. package/lib/core/slots/router.directive.d.ts.map +0 -1
  255. package/lib/core/slots/router.service.d.ts.map +0 -1
  256. package/lib/core/slots/slots.component.d.ts.map +0 -1
  257. package/lib/core/tagging/documents.component.d.ts.map +0 -1
  258. package/lib/core/tagging/edit-input.component.d.ts.map +0 -1
  259. package/lib/core/tagging/emoji.component.d.ts.map +0 -1
  260. package/lib/core/tagging/tagging-item.directive.d.ts.map +0 -1
  261. package/lib/core/tagging/tagging.component-base.d.ts.map +0 -1
  262. package/lib/core/tagging/tagging.directive.d.ts.map +0 -1
  263. package/lib/core/tagging/tagging.pipe.d.ts.map +0 -1
  264. package/lib/core/tagging/users.component.d.ts.map +0 -1
  265. package/lib/core/translate.service.d.ts.map +0 -1
  266. package/lib/core/translations.d.ts.map +0 -1
  267. package/lib/core/window-title.service.d.ts.map +0 -1
  268. package/lib/cube/accum/accum.component.d.ts.map +0 -1
  269. package/lib/cube/chart/chart.component.d.ts.map +0 -1
  270. package/lib/cube/cube-info.service.d.ts.map +0 -1
  271. package/lib/cube/cube-menu.component.d.ts.map +0 -1
  272. package/lib/cube/cube-view.component.d.ts.map +0 -1
  273. package/lib/cube/cube.service.d.ts.map +0 -1
  274. package/lib/cube/declarations.d.ts.map +0 -1
  275. package/lib/cube/explore/document-item.component.d.ts.map +0 -1
  276. package/lib/cube/explore/explore-item.component.d.ts.map +0 -1
  277. package/lib/cube/explore/explore-items.component.d.ts.map +0 -1
  278. package/lib/cube/explore/explore.pane.component.d.ts.map +0 -1
  279. package/lib/cube/explore/item-resolver.service.d.ts.map +0 -1
  280. package/lib/cube/explore/item.pane.component.d.ts.map +0 -1
  281. package/lib/cube/filter/filter-tags.component.exp.d.ts.map +0 -1
  282. package/lib/cube/filter/filter.component.d.ts.map +0 -1
  283. package/lib/cube/grid/grid.component.d.ts.map +0 -1
  284. package/lib/cube/grid/spreadsheet.component.d.ts.map +0 -1
  285. package/lib/cube/matrix/matrix.base.d.ts.map +0 -1
  286. package/lib/cube/matrix/matrix.mobile.component.d.ts.map +0 -1
  287. package/lib/cube/matrix/matrix.pane.component.d.ts.map +0 -1
  288. package/lib/cube/matrix/popup.component.d.ts.map +0 -1
  289. package/lib/cube/matrix/table.component.d.ts.map +0 -1
  290. package/lib/cube/parallel/item.d.ts.map +0 -1
  291. package/lib/cube/parallel/parallel.component.d.ts.map +0 -1
  292. package/lib/cube/pivot/pivot.component.d.ts.map +0 -1
  293. package/lib/cube/sum/sum.component.d.ts.map +0 -1
  294. package/lib/cube/view-base.d.ts.map +0 -1
  295. package/lib/cube/view.mobile.component.d.ts.map +0 -1
  296. package/lib/cube/view.pane.component.d.ts.map +0 -1
  297. package/lib/dashboard/actions/actions.widget.d.ts.map +0 -1
  298. package/lib/dashboard/cube/accum-cube.widget.d.ts.map +0 -1
  299. package/lib/dashboard/cube/compare.widget.d.ts.map +0 -1
  300. package/lib/dashboard/cube/cube-analysis.base.d.ts.map +0 -1
  301. package/lib/dashboard/cube/cube-analysis.widget.d.ts.map +0 -1
  302. package/lib/dashboard/cube/cube-chart.widget.d.ts.map +0 -1
  303. package/lib/dashboard/cube/documents.widget.d.ts.map +0 -1
  304. package/lib/dashboard/cube/filter/filter.component.d.ts.map +0 -1
  305. package/lib/dashboard/dashboard.component.d.ts.map +0 -1
  306. package/lib/dashboard/dashboard.pane.component.d.ts.map +0 -1
  307. package/lib/dashboard/recents/recents.widget.d.ts.map +0 -1
  308. package/lib/dashboard/score/activity.widget.d.ts.map +0 -1
  309. package/lib/dashboard/score/compare-groups.widget.d.ts.map +0 -1
  310. package/lib/dashboard/score/peers-performance.widget.d.ts.map +0 -1
  311. package/lib/dashboard/score/pending-results.widget.d.ts.map +0 -1
  312. package/lib/dashboard/score/personal-score.widget.d.ts.map +0 -1
  313. package/lib/dashboard/widget-item.component.d.ts.map +0 -1
  314. package/lib/dashboard/widget-ref.d.ts.map +0 -1
  315. package/lib/desktop.module.d.ts.map +0 -1
  316. package/lib/home/about/about.dialog.d.ts.map +0 -1
  317. package/lib/home/home-base.component.d.ts.map +0 -1
  318. package/lib/home/home.desktop.component.d.ts.map +0 -1
  319. package/lib/home/home.mobile.component.d.ts.map +0 -1
  320. package/lib/home/notifications/notifications.component.d.ts.map +0 -1
  321. package/lib/home/options/options.component.d.ts.map +0 -1
  322. package/lib/home/outofoffice/outofoffice.component.d.ts.map +0 -1
  323. package/lib/home/search.service.d.ts.map +0 -1
  324. package/lib/home/sign/sign.component.d.ts.map +0 -1
  325. package/lib/home/tools.component.d.ts.map +0 -1
  326. package/lib/impersonate/impersonate.component.d.ts.map +0 -1
  327. package/lib/mobile.module.d.ts.map +0 -1
  328. package/lib/modules/chart.module.d.ts.map +0 -1
  329. package/lib/modules/circular-gauge.module.d.ts.map +0 -1
  330. package/lib/modules/date.adapter.d.ts.map +0 -1
  331. package/lib/modules/datepicker.intl.d.ts.map +0 -1
  332. package/lib/modules/dayjs.module.d.ts.map +0 -1
  333. package/lib/modules/diagram.module.d.ts.map +0 -1
  334. package/lib/modules/gantt.module.d.ts.map +0 -1
  335. package/lib/modules/grid.module.d.ts.map +0 -1
  336. package/lib/modules/material.module.d.ts.map +0 -1
  337. package/lib/modules/paginator.intl.d.ts.map +0 -1
  338. package/lib/modules/pivot.module.d.ts.map +0 -1
  339. package/lib/modules/schedule.module.d.ts.map +0 -1
  340. package/lib/modules/spreadsheet.module.d.ts.map +0 -1
  341. package/lib/modules/stepper.intl.d.ts.map +0 -1
  342. package/lib/modules/texteditor.module.d.ts.map +0 -1
  343. package/lib/notifications/filter.component.d.ts.map +0 -1
  344. package/lib/notifications/notifications-table.component.d.ts.map +0 -1
  345. package/lib/notifications/notifications.component-base.d.ts.map +0 -1
  346. package/lib/notifications/notifications.mobile.component.d.ts.map +0 -1
  347. package/lib/notifications/notifications.pane.component.d.ts.map +0 -1
  348. package/lib/notifications/notifications.service.d.ts.map +0 -1
  349. package/lib/notifications/types/commented.notification.d.ts.map +0 -1
  350. package/lib/notifications/types/cube-anomaly.notification.d.ts.map +0 -1
  351. package/lib/notifications/types/escalated.notification.d.ts.map +0 -1
  352. package/lib/notifications/types/liked.notification.d.ts.map +0 -1
  353. package/lib/notifications/types/long-running-task.notification.d.ts.map +0 -1
  354. package/lib/notifications/types/notification-base.d.ts.map +0 -1
  355. package/lib/notifications/types/nudge.notification.d.ts.map +0 -1
  356. package/lib/notifications/types/state-changed.notification.d.ts.map +0 -1
  357. package/lib/notifications/types/tagged.notification.d.ts.map +0 -1
  358. package/lib/notifications/types/text.notification.d.ts.map +0 -1
  359. package/lib/notifications/types/upcoming-event.notification.d.ts.map +0 -1
  360. package/lib/options/options.component.d.ts.map +0 -1
  361. package/lib/options/options.service.d.ts.map +0 -1
  362. package/lib/reports/arguments-component.d.ts.map +0 -1
  363. package/lib/reports/cube/documents.component.d.ts.map +0 -1
  364. package/lib/reports/cube/grid-documents.component.d.ts.map +0 -1
  365. package/lib/reports/cube/table-documents.component.d.ts.map +0 -1
  366. package/lib/reports/cube/usage-args.component.d.ts.map +0 -1
  367. package/lib/reports/cube/usage-base.d.ts.map +0 -1
  368. package/lib/reports/cube/usage-chart.component.d.ts.map +0 -1
  369. package/lib/reports/cube/usage-pivot.component.d.ts.map +0 -1
  370. package/lib/reports/cube/usage.component.d.ts.map +0 -1
  371. package/lib/reports/report-ref.d.ts.map +0 -1
  372. package/lib/reports/report-viewer.component.d.ts.map +0 -1
  373. package/lib/reports/report.mobile.component.d.ts.map +0 -1
  374. package/lib/reports/report.pane.component.d.ts.map +0 -1
  375. package/lib/reports/reports-menu.component.d.ts.map +0 -1
  376. package/lib/reports/substitution/substitution.component.d.ts.map +0 -1
  377. package/lib/reports/table/table-view.component.d.ts.map +0 -1
  378. package/lib/reports/tasks/tasks.component.d.ts.map +0 -1
  379. package/lib/routes.desktop.d.ts.map +0 -1
  380. package/lib/routes.mobile.d.ts.map +0 -1
  381. package/lib/scheduler/schedule.component.d.ts.map +0 -1
  382. package/lib/scheduler/scheduler.mobile.component.d.ts.map +0 -1
  383. package/lib/scheduler/scheduler.pane.component.d.ts.map +0 -1
  384. package/lib/shared.module.d.ts.map +0 -1
  385. package/lib/system.module.d.ts.map +0 -1
  386. package/lib/views/cube/chart.component.d.ts.map +0 -1
  387. package/lib/views/cube/cube-base.d.ts.map +0 -1
  388. package/lib/views/cube/explore.component.d.ts.map +0 -1
  389. package/lib/views/cube/matrix.component.d.ts.map +0 -1
  390. package/lib/views/cube/parallel.component.d.ts.map +0 -1
  391. package/lib/views/cube/pivot.component.d.ts.map +0 -1
  392. package/lib/views/cube/sum.component.d.ts.map +0 -1
  393. package/lib/views/cube/view.component.d.ts.map +0 -1
  394. package/lib/views/document-view-ref.d.ts.map +0 -1
  395. package/lib/views/timeline/timeline.component.exp.d.ts.map +0 -1
  396. package/lib/views/view-item.component.d.ts.map +0 -1
  397. package/lib/views/views.component.d.ts.map +0 -1
  398. package/lib/views/views.mobile.component.d.ts.map +0 -1
  399. package/lib/views/views.pane.component.d.ts.map +0 -1
  400. package/public-api.d.ts.map +0 -1
@@ -12,14 +12,15 @@ import * as i8 from "@angular/material/checkbox";
12
12
  import * as i9 from "@angular/material/input";
13
13
  import * as i10 from "@angular/material/icon";
14
14
  import * as i11 from "../../../core/popup/tooltip.directive";
15
- import * as i12 from "../designer-element.component";
16
- import * as i13 from "../../../core/pipes/translate.pipe";
15
+ import * as i12 from "../designer-privileges.component";
16
+ import * as i13 from "../designer-element.component";
17
+ import * as i14 from "../../../core/pipes/translate.pipe";
17
18
  export class GuideDesignComponent extends DesignerTypeElementComponent {
18
19
  constructor() {
19
20
  super(...arguments);
20
21
  this.steps = this._fb.array([]);
21
22
  this.form = this._fb.group({
22
- steps: this.steps,
23
+ steps: this.steps
23
24
  });
24
25
  }
25
26
  ngOnInit() {
@@ -27,6 +28,7 @@ export class GuideDesignComponent extends DesignerTypeElementComponent {
27
28
  this.model.steps = [];
28
29
  else if (this.mode !== 'widget')
29
30
  this.model.steps.forEach(s => this.steps.push(this.newStep(s), { emitEvent: false }));
31
+ super.ngOnInit();
30
32
  }
31
33
  newStep(step) {
32
34
  return this._fb.group({
@@ -40,9 +42,9 @@ export class GuideDesignComponent extends DesignerTypeElementComponent {
40
42
  }
41
43
  }
42
44
  GuideDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: GuideDesignComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
43
- GuideDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: GuideDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<bizdoc-designer-element [form]=\"form\">\r\n <ng-template bizdocEditContent>\r\n <ng-container *ngIf=\"view; else main\">\r\n <h2 class=\"mat-title\">{{context.title|translate}}</h2>\r\n <div (document:keydown.escape)=\"closeView($event)\" #element class=\"column\">\r\n <ng-container *ngTemplateOutlet=\"view; context: context\"></ng-container>\r\n </div>\r\n <div class=\"row actions\">\r\n <span class=\"divider\"></span>\r\n <button mat-icon-button (click)=\"closeView()\" type=\"button\" [bizdocTooltip]=\"'Back'|translate\"><mat-icon>keyboard_return</mat-icon></button>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n</bizdoc-designer-element>\r\n<ng-template #main>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <h2 class=\"mat-title\">{{'Steps'|translate}}</h2>\r\n <table formArrayName=\"steps\" class=\"mat-table\" cdkDropList (cdkDropListDropped)=\"drop($event, this.steps)\">\r\n <tr class=\"mat-row\" *ngFor=\"let s of steps.controls; index as index\" [formGroup]=\"s\" cdkDrag>\r\n <td class=\"mat-cell\">\r\n <mat-icon cdkDragHandle>drag_indicator</mat-icon>\r\n </td>\r\n <td class=\"mat-cell\">\r\n {{s.get('title').value || s.get('content').value }}\r\n </td>\r\n <td class=\"mat-cell\">\r\n <button mat-icon-button (click)=\"edit(s, 'Step', stepform)\" [bizdocTooltip]=\"'Edit'|translate\" type=\"button\"><mat-icon>edit</mat-icon></button>\r\n <button mat-icon-button (click)=\"steps.removeAt(index)\" [bizdocTooltip]=\"'Remove'|translate\" type=\"button\"><mat-icon>delete</mat-icon></button>\r\n </td>\r\n </tr>\r\n </table>\r\n <button mat-icon-button (click)=\"add(steps, newStep(), 'Steps', stepform)\" [bizdocTooltip]=\"'Add'|translate\" type=\"button\"><mat-icon>add_circle_outline</mat-icon></button>\r\n </form>\r\n</ng-template>\r\n<ng-template #stepform let-form>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Title'|translate}}</mat-label>\r\n <input matInput formControlName=\"title\" />\r\n </mat-form-field>\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Content'|translate}}</mat-label>\r\n <input matInput formControlName=\"content\" required />\r\n <mat-error *ngIf=\"form.get('content').hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:('Content'|translate)\"></mat-error>\r\n </mat-form-field>\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Selector'|translate}}</mat-label>\r\n <input matInput formControlName=\"selector\" />\r\n </mat-form-field>\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Position'|translate}}</mat-label>\r\n <mat-select formControlName=\"position\">\r\n <mat-option value=\"Above\">{{'Above'|translate}}</mat-option>\r\n <mat-option value=\"Start\">{{'Start'|translate}}</mat-option>\r\n <mat-option value=\"End\">{{'End'|translate}}</mat-option>\r\n <mat-option value=\"Below\">{{'Below'|translate}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-checkbox formControlName=\"execute\">{{'Execute'|translate}}</mat-checkbox>\r\n </form>\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: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.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: 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: "directive", type: i2.FormArrayName, selector: "[formArrayName]", inputs: ["formArrayName"] }, { kind: "directive", type: i3.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i3.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: i3.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "component", type: i4.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "directive", type: i5.MatError, selector: "mat-error", inputs: ["id"] }, { 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: "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.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "directive", type: i9.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i10.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i11.TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { kind: "directive", type: i12.EditContentDirective, selector: "[bizdocEditContent]" }, { kind: "component", type: i12.DesignerItemComponent, selector: "bizdoc-designer-element", inputs: ["form"], outputs: ["continue", "save"] }, { kind: "pipe", type: i13.TranslatePipe, name: "translate" }] });
45
+ GuideDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: GuideDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<bizdoc-designer-element [form]=\"form\" [privileges]=\"true\">\r\n <ng-template bizdocEditContent>\r\n <ng-container *ngIf=\"view; else main\">\r\n <h2 class=\"mat-title\">{{context.title|translate}}</h2>\r\n <div (document:keydown.escape)=\"closeView($event)\" #element class=\"column\">\r\n <ng-container *ngTemplateOutlet=\"view; context: context\"></ng-container>\r\n </div>\r\n <div class=\"row actions\">\r\n <span class=\"divider\"></span>\r\n <button mat-icon-button (click)=\"closeView()\" type=\"button\" [bizdocTooltip]=\"'Back'|translate\"><mat-icon>keyboard_return</mat-icon></button>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n</bizdoc-designer-element>\r\n<ng-template #main>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <div class=\"row\">\r\n </div>\r\n <h2 class=\"mat-title row\">\r\n {{'Steps'|translate}}\r\n <span class=\"divider\"></span>\r\n <button mat-icon-button (click)=\"add(steps, newStep(), 'Steps', stepform)\" [bizdocTooltip]=\"'Add'|translate\" type=\"button\"><mat-icon>add_circle_outline</mat-icon></button>\r\n </h2>\r\n <table formArrayName=\"steps\" class=\"mat-table\" cdkDropList (cdkDropListDropped)=\"drop($event, this.steps)\">\r\n <tr class=\"mat-row\" *ngFor=\"let s of steps.controls; index as index\" [formGroup]=\"s\" cdkDrag>\r\n <td class=\"mat-cell\">\r\n <mat-icon cdkDragHandle>drag_indicator</mat-icon>\r\n </td>\r\n <td class=\"mat-cell\" width=\"99%\">\r\n {{s.get('title').value || s.get('content').value }}\r\n </td>\r\n <td class=\"mat-cell\" style=\"word-break:keep-all\">\r\n <button mat-icon-button (click)=\"edit(s, 'Step', stepform)\" [bizdocTooltip]=\"'Edit'|translate\" type=\"button\"><mat-icon>edit</mat-icon></button>\r\n <button mat-icon-button (click)=\"steps.removeAt(index)\" [bizdocTooltip]=\"'Remove'|translate\" type=\"button\"><mat-icon>delete</mat-icon></button>\r\n </td>\r\n </tr>\r\n </table>\r\n <!--privileges-->\r\n <bizdoc-designer-privileges [form]=\"form.get('privileges')\"></bizdoc-designer-privileges>\r\n </form>\r\n</ng-template>\r\n<ng-template #stepform let-form>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Title'|translate}}</mat-label>\r\n <input matInput formControlName=\"title\" />\r\n </mat-form-field>\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Content'|translate}}</mat-label>\r\n <input matInput formControlName=\"content\" required />\r\n <mat-error *ngIf=\"form.get('content').hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:('Content'|translate)\"></mat-error>\r\n </mat-form-field>\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Selector'|translate}}</mat-label>\r\n <input matInput formControlName=\"selector\" />\r\n </mat-form-field>\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Position'|translate}}</mat-label>\r\n <mat-select formControlName=\"position\">\r\n <mat-option value=\"Above\">{{'Above'|translate}}</mat-option>\r\n <mat-option value=\"Start\">{{'Start'|translate}}</mat-option>\r\n <mat-option value=\"End\">{{'End'|translate}}</mat-option>\r\n <mat-option value=\"Below\">{{'Below'|translate}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-checkbox formControlName=\"execute\">{{'Execute'|translate}}</mat-checkbox>\r\n </form>\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: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.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: 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: "directive", type: i2.FormArrayName, selector: "[formArrayName]", inputs: ["formArrayName"] }, { kind: "directive", type: i3.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i3.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: i3.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { kind: "component", type: i4.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "directive", type: i5.MatError, selector: "mat-error", inputs: ["id"] }, { 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: "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.MatCheckbox, selector: "mat-checkbox", inputs: ["disableRipple", "color", "tabIndex"], exportAs: ["matCheckbox"] }, { kind: "directive", type: i9.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i10.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i11.TooltipDirective, selector: "[bizdocTooltip]", inputs: ["bizdocTooltip", "bizdocTooltipTemplate", "bizdocTooltipContext", "bizdocTooltipPosition", "bizdocTooltipDuration", "bizdocTooltipDisabled"] }, { kind: "component", type: i12.DesignerPrivilegesComponent, selector: "bizdoc-designer-privileges", inputs: ["form"] }, { kind: "directive", type: i13.EditContentDirective, selector: "[bizdocEditContent]" }, { kind: "component", type: i13.DesignerItemComponent, selector: "bizdoc-designer-element", inputs: ["privileges", "form"], outputs: ["continue", "save"] }, { kind: "pipe", type: i14.TranslatePipe, name: "translate" }] });
44
46
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: GuideDesignComponent, decorators: [{
45
47
  type: Component,
46
- args: [{ template: "<bizdoc-designer-element [form]=\"form\">\r\n <ng-template bizdocEditContent>\r\n <ng-container *ngIf=\"view; else main\">\r\n <h2 class=\"mat-title\">{{context.title|translate}}</h2>\r\n <div (document:keydown.escape)=\"closeView($event)\" #element class=\"column\">\r\n <ng-container *ngTemplateOutlet=\"view; context: context\"></ng-container>\r\n </div>\r\n <div class=\"row actions\">\r\n <span class=\"divider\"></span>\r\n <button mat-icon-button (click)=\"closeView()\" type=\"button\" [bizdocTooltip]=\"'Back'|translate\"><mat-icon>keyboard_return</mat-icon></button>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n</bizdoc-designer-element>\r\n<ng-template #main>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <h2 class=\"mat-title\">{{'Steps'|translate}}</h2>\r\n <table formArrayName=\"steps\" class=\"mat-table\" cdkDropList (cdkDropListDropped)=\"drop($event, this.steps)\">\r\n <tr class=\"mat-row\" *ngFor=\"let s of steps.controls; index as index\" [formGroup]=\"s\" cdkDrag>\r\n <td class=\"mat-cell\">\r\n <mat-icon cdkDragHandle>drag_indicator</mat-icon>\r\n </td>\r\n <td class=\"mat-cell\">\r\n {{s.get('title').value || s.get('content').value }}\r\n </td>\r\n <td class=\"mat-cell\">\r\n <button mat-icon-button (click)=\"edit(s, 'Step', stepform)\" [bizdocTooltip]=\"'Edit'|translate\" type=\"button\"><mat-icon>edit</mat-icon></button>\r\n <button mat-icon-button (click)=\"steps.removeAt(index)\" [bizdocTooltip]=\"'Remove'|translate\" type=\"button\"><mat-icon>delete</mat-icon></button>\r\n </td>\r\n </tr>\r\n </table>\r\n <button mat-icon-button (click)=\"add(steps, newStep(), 'Steps', stepform)\" [bizdocTooltip]=\"'Add'|translate\" type=\"button\"><mat-icon>add_circle_outline</mat-icon></button>\r\n </form>\r\n</ng-template>\r\n<ng-template #stepform let-form>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Title'|translate}}</mat-label>\r\n <input matInput formControlName=\"title\" />\r\n </mat-form-field>\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Content'|translate}}</mat-label>\r\n <input matInput formControlName=\"content\" required />\r\n <mat-error *ngIf=\"form.get('content').hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:('Content'|translate)\"></mat-error>\r\n </mat-form-field>\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Selector'|translate}}</mat-label>\r\n <input matInput formControlName=\"selector\" />\r\n </mat-form-field>\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Position'|translate}}</mat-label>\r\n <mat-select formControlName=\"position\">\r\n <mat-option value=\"Above\">{{'Above'|translate}}</mat-option>\r\n <mat-option value=\"Start\">{{'Start'|translate}}</mat-option>\r\n <mat-option value=\"End\">{{'End'|translate}}</mat-option>\r\n <mat-option value=\"Below\">{{'Below'|translate}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-checkbox formControlName=\"execute\">{{'Execute'|translate}}</mat-checkbox>\r\n </form>\r\n</ng-template>\r\n" }]
48
+ args: [{ template: "<bizdoc-designer-element [form]=\"form\" [privileges]=\"true\">\r\n <ng-template bizdocEditContent>\r\n <ng-container *ngIf=\"view; else main\">\r\n <h2 class=\"mat-title\">{{context.title|translate}}</h2>\r\n <div (document:keydown.escape)=\"closeView($event)\" #element class=\"column\">\r\n <ng-container *ngTemplateOutlet=\"view; context: context\"></ng-container>\r\n </div>\r\n <div class=\"row actions\">\r\n <span class=\"divider\"></span>\r\n <button mat-icon-button (click)=\"closeView()\" type=\"button\" [bizdocTooltip]=\"'Back'|translate\"><mat-icon>keyboard_return</mat-icon></button>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n</bizdoc-designer-element>\r\n<ng-template #main>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <div class=\"row\">\r\n </div>\r\n <h2 class=\"mat-title row\">\r\n {{'Steps'|translate}}\r\n <span class=\"divider\"></span>\r\n <button mat-icon-button (click)=\"add(steps, newStep(), 'Steps', stepform)\" [bizdocTooltip]=\"'Add'|translate\" type=\"button\"><mat-icon>add_circle_outline</mat-icon></button>\r\n </h2>\r\n <table formArrayName=\"steps\" class=\"mat-table\" cdkDropList (cdkDropListDropped)=\"drop($event, this.steps)\">\r\n <tr class=\"mat-row\" *ngFor=\"let s of steps.controls; index as index\" [formGroup]=\"s\" cdkDrag>\r\n <td class=\"mat-cell\">\r\n <mat-icon cdkDragHandle>drag_indicator</mat-icon>\r\n </td>\r\n <td class=\"mat-cell\" width=\"99%\">\r\n {{s.get('title').value || s.get('content').value }}\r\n </td>\r\n <td class=\"mat-cell\" style=\"word-break:keep-all\">\r\n <button mat-icon-button (click)=\"edit(s, 'Step', stepform)\" [bizdocTooltip]=\"'Edit'|translate\" type=\"button\"><mat-icon>edit</mat-icon></button>\r\n <button mat-icon-button (click)=\"steps.removeAt(index)\" [bizdocTooltip]=\"'Remove'|translate\" type=\"button\"><mat-icon>delete</mat-icon></button>\r\n </td>\r\n </tr>\r\n </table>\r\n <!--privileges-->\r\n <bizdoc-designer-privileges [form]=\"form.get('privileges')\"></bizdoc-designer-privileges>\r\n </form>\r\n</ng-template>\r\n<ng-template #stepform let-form>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Title'|translate}}</mat-label>\r\n <input matInput formControlName=\"title\" />\r\n </mat-form-field>\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Content'|translate}}</mat-label>\r\n <input matInput formControlName=\"content\" required />\r\n <mat-error *ngIf=\"form.get('content').hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:('Content'|translate)\"></mat-error>\r\n </mat-form-field>\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Selector'|translate}}</mat-label>\r\n <input matInput formControlName=\"selector\" />\r\n </mat-form-field>\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Position'|translate}}</mat-label>\r\n <mat-select formControlName=\"position\">\r\n <mat-option value=\"Above\">{{'Above'|translate}}</mat-option>\r\n <mat-option value=\"Start\">{{'Start'|translate}}</mat-option>\r\n <mat-option value=\"End\">{{'End'|translate}}</mat-option>\r\n <mat-option value=\"Below\">{{'Below'|translate}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-checkbox formControlName=\"execute\">{{'Execute'|translate}}</mat-checkbox>\r\n </form>\r\n</ng-template>\r\n" }]
47
49
  }] });
48
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3VpZGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL2NvcmUvc3JjL2xpYi9hZG1pbi9jb25maWd1cmF0aW9uLWRlc2lnbmVyL2VsZW1lbnRzL2d1aWRlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy9jb3JlL3NyYy9saWIvYWRtaW4vY29uZmlndXJhdGlvbi1kZXNpZ25lci9lbGVtZW50cy9ndWlk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nLXRlbXBsYXRlPlxyXG4iXX0=
@@ -1,7 +1,12 @@
1
1
  import { Component } from "@angular/core";
2
2
  import { DesignerTypeElementComponent } from "../designer.base";
3
3
  import * as i0 from "@angular/core";
4
- import * as i1 from "../designer-element.component";
4
+ import * as i1 from "@angular/common";
5
+ import * as i2 from "@angular/forms";
6
+ import * as i3 from "@angular/material/form-field";
7
+ import * as i4 from "@angular/material/input";
8
+ import * as i5 from "../designer-element.component";
9
+ import * as i6 from "../../../core/pipes/translate.pipe";
5
10
  export class PolicyDesignComponent extends DesignerTypeElementComponent {
6
11
  constructor() {
7
12
  super(...arguments);
@@ -9,9 +14,9 @@ export class PolicyDesignComponent extends DesignerTypeElementComponent {
9
14
  }
10
15
  }
11
16
  PolicyDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: PolicyDesignComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
12
- PolicyDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: PolicyDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<bizdoc-designer-element>\r\n </bizdoc-designer-element>\r\n", dependencies: [{ kind: "component", type: i1.DesignerItemComponent, selector: "bizdoc-designer-element", inputs: ["form"], outputs: ["continue", "save"] }] });
17
+ PolicyDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: PolicyDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<bizdoc-designer-element>\r\n <ng-template bizdocEditContent>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <div class=\"row\">\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Title'|translate}}</mat-label>\r\n <input matInput formControlName=\"title\" required #title />\r\n <mat-error *ngIf=\"form.get('title').hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:('Title'|translate)\"></mat-error>\r\n </mat-form-field>\r\n &nbsp;\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Name'|translate}}</mat-label>\r\n <input matInput formControlName=\"name\" required />\r\n <mat-error *ngIf=\"form.get('name').hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:('Name'|translate)\"></mat-error>\r\n </mat-form-field>\r\n </div>\r\n </form>\r\n </ng-template>\r\n</bizdoc-designer-element>\r\n", dependencies: [{ 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.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: 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: "directive", type: i3.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.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: "directive", type: i5.EditContentDirective, selector: "[bizdocEditContent]" }, { kind: "component", type: i5.DesignerItemComponent, selector: "bizdoc-designer-element", inputs: ["privileges", "form"], outputs: ["continue", "save"] }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }] });
13
18
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: PolicyDesignComponent, decorators: [{
14
19
  type: Component,
15
- args: [{ template: "<bizdoc-designer-element>\r\n </bizdoc-designer-element>\r\n" }]
20
+ args: [{ template: "<bizdoc-designer-element>\r\n <ng-template bizdocEditContent>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <div class=\"row\">\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Title'|translate}}</mat-label>\r\n <input matInput formControlName=\"title\" required #title />\r\n <mat-error *ngIf=\"form.get('title').hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:('Title'|translate)\"></mat-error>\r\n </mat-form-field>\r\n &nbsp;\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Name'|translate}}</mat-label>\r\n <input matInput formControlName=\"name\" required />\r\n <mat-error *ngIf=\"form.get('name').hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:('Name'|translate)\"></mat-error>\r\n </mat-form-field>\r\n </div>\r\n </form>\r\n </ng-template>\r\n</bizdoc-designer-element>\r\n" }]
16
21
  }] });
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicG9saWN5LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy9jb3JlL3NyYy9saWIvYWRtaW4vY29uZmlndXJhdGlvbi1kZXNpZ25lci9lbGVtZW50cy9wb2xpY3kuY29tcG9uZW50LnRzIi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ybUNvbnRyb2xOYW1lPVwibmFtZVwiIHJlcXVpcmVkIC8+XHJcbiAgICAgICAgICA8bWF0LWVycm9yICpuZ0lmPVwiZm9ybS5nZXQoJ25hbWUnKS5oYXNFcnJvcigncmVxdWlyZWQnKVwiIFtpbm5lckhUTUxdPVwiJ1JlcXVpcmVkRXJyJ3x0cmFuc2xhdGU6KCdOYW1lJ3x0cmFuc2xhdGUpXCI+PC9tYXQtZXJyb3I+XHJcbiAgICAgICAgPC9tYXQtZm9ybS1maWVsZD5cclxuICAgICAgPC9kaXY+XHJcbiAgICA8L2Zvcm0+XHJcbiAgPC9uZy10ZW1wbGF0ZT5cclxuPC9iaXpkb2MtZGVzaWduZXItZWxlbWVudD5cclxuIl19
@@ -19,12 +19,13 @@ export class ReportDesignerComponent extends DesignerTypeElementComponent {
19
19
  }
20
20
  ngOnInit() {
21
21
  this.guides = this._ref.designer.guides;
22
+ super.ngOnInit();
22
23
  }
23
24
  }
24
25
  ReportDesignerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: ReportDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
25
- ReportDesignerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: ReportDesignerComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<bizdoc-designer-element [form]=\"form\">\r\n <ng-template bizdocEditContent>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <div>\r\n <bizdoc-icon-picker formControlName=\"icon\" required></bizdoc-icon-picker>\r\n </div>\r\n <mat-form-field *ngIf=\"guides.length\">\r\n <mat-label>{{'Guide'|translate}}</mat-label>\r\n <mat-select formControlName=\"guide\">\r\n <mat-option>{{'None'|translate}}</mat-option>\r\n <mat-option *ngFor=\"let g of guides\" [value]=\"g.name\">{{g.title || g.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </form>\r\n </ng-template>\r\n</bizdoc-designer-element>\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.IconPickerComponent, selector: "bizdoc-icon-picker", inputs: ["value", "required", "disabled"], outputs: ["valueChanges"] }, { kind: "directive", type: i7.EditContentDirective, selector: "[bizdocEditContent]" }, { kind: "component", type: i7.DesignerItemComponent, selector: "bizdoc-designer-element", inputs: ["form"], outputs: ["continue", "save"] }, { kind: "pipe", type: i8.TranslatePipe, name: "translate" }] });
26
+ ReportDesignerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: ReportDesignerComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<bizdoc-designer-element [form]=\"form\">\r\n <ng-template bizdocEditContent>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <div>\r\n <bizdoc-icon-picker formControlName=\"icon\" required></bizdoc-icon-picker>\r\n </div>\r\n <mat-form-field *ngIf=\"guides.length\">\r\n <mat-label>{{'Guide'|translate}}</mat-label>\r\n <mat-select formControlName=\"guide\">\r\n <mat-option>{{'None'|translate}}</mat-option>\r\n <mat-option *ngFor=\"let g of guides\" [value]=\"g.name\">{{g.title || g.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </form>\r\n </ng-template>\r\n</bizdoc-designer-element>\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.IconPickerComponent, selector: "bizdoc-icon-picker", inputs: ["value", "required", "disabled"], outputs: ["valueChanges"] }, { kind: "directive", type: i7.EditContentDirective, selector: "[bizdocEditContent]" }, { kind: "component", type: i7.DesignerItemComponent, selector: "bizdoc-designer-element", inputs: ["privileges", "form"], outputs: ["continue", "save"] }, { kind: "pipe", type: i8.TranslatePipe, name: "translate" }] });
26
27
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: ReportDesignerComponent, decorators: [{
27
28
  type: Component,
28
29
  args: [{ template: "<bizdoc-designer-element [form]=\"form\">\r\n <ng-template bizdocEditContent>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <div>\r\n <bizdoc-icon-picker formControlName=\"icon\" required></bizdoc-icon-picker>\r\n </div>\r\n <mat-form-field *ngIf=\"guides.length\">\r\n <mat-label>{{'Guide'|translate}}</mat-label>\r\n <mat-select formControlName=\"guide\">\r\n <mat-option>{{'None'|translate}}</mat-option>\r\n <mat-option *ngFor=\"let g of guides\" [value]=\"g.name\">{{g.title || g.name}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n </form>\r\n </ng-template>\r\n</bizdoc-designer-element>\r\n" }]
29
30
  }] });
30
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVwb3J0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy9jb3JlL3NyYy9saWIvYWRtaW4vY29uZmlndXJhdGlvbi1kZXNpZ25lci9lbGVtZW50cy9yZX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pdENvbnRlbnQ+XHJcbiAgICA8Zm9ybSBhdXRvY29tcGxldGU9XCJvZmZcIiBbZm9ybUdyb3VwXT1cImZvcm1cIiBjbGFzcz1cImNvbHVtblwiPlxyXG4gICAgICA8ZGl2PlxyXG4gICAgICAgIDxiaXpkb2MtaWNvbi1waWNrZXIgZm9ybUNvbnRyb2xOYW1lPVwiaWNvblwiIHJlcXVpcmVkPjwvYml6ZG9jLWljb24tcGlja2VyPlxyXG4gICAgICA8L2Rpdj5cclxuICAgICAgPG1hdC1mb3JtLWZpZWxkICpuZ0lmPVwiZ3VpZGVzLmxlbmd0aFwiPlxyXG4gICAgICAgIDxtYXQtbGFiZWw+e3snR3VpZGUnfHRyYW5zbGF0ZX19PC9tYXQtbGFiZWw+XHJcbiAgICAgICAgPG1hdC1zZWxlY3QgZm9ybUNvbnRyb2xOYW1lPVwiZ3VpZGVcIj5cclxuICAgICAgICAgIDxtYXQtb3B0aW9uPnt7J05vbmUnfHRyYW5zbGF0ZX19PC9tYXQtb3B0aW9uPlxyXG4gICAgICAgICAgPG1hdC1vcHRpb24gKm5nRm9yPVwibGV0IGcgb2YgZ3VpZGVzXCIgW3ZhbHVlXT1cImcubmFtZVwiPnt7Zy50aXRsZSB8fCBnLm5hbWV9fTwvbWF0LW9wdGlvbj5cclxuICAgICAgICA8L21hdC1zZWxlY3Q+XHJcbiAgICAgIDwvbWF0LWZvcm0tZmllbGQ+XHJcbiAgICA8L2Zvcm0+XHJcbiAgPC9uZy10ZW1wbGF0ZT5cclxuPC9iaXpkb2MtZGVzaWduZXItZWxlbWVudD5cclxuIl19
@@ -25,6 +25,7 @@ export class RoleDesignComponent extends DesignerTypeElementComponent {
25
25
  this.mode === 'edit' && this.form.get('dataType').disable({ emitEvent: false });
26
26
  this.dataTypeDisabled = !this.model.draft;
27
27
  }
28
+ super.ngOnInit();
28
29
  }
29
30
  enableTypeEdit() {
30
31
  this.dataTypeDisabled = false;
@@ -32,9 +33,9 @@ export class RoleDesignComponent extends DesignerTypeElementComponent {
32
33
  }
33
34
  }
34
35
  RoleDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: RoleDesignComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
35
- RoleDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: RoleDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<bizdoc-designer-element [form]=\"form\">\r\n <ng-template bizdocEditContent>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <mat-form-field>\r\n <mat-label>{{'DataType'|translate}}</mat-label>\r\n <mat-select formControlName=\"dataType\" required>\r\n <mat-option *ngFor=\"let t of types\" [value]=\"t.name\">{{t.title}}</mat-option>\r\n </mat-select>\r\n <mat-hint *ngIf=\"dataTypeDisabled\"><a (click)=\"enableTypeEdit()\">{{'change'|translate}}</a></mat-hint>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'SequencePolicy'|translate}}</mat-label>\r\n <mat-select formControlName=\"sequencePolicy\">\r\n <mat-option value=\"Higher\">{{'Higher'|translate}}</mat-option>\r\n <mat-option value=\"Either\">{{'Either'|translate}}</mat-option>\r\n <mat-option value=\"Both\">{{'Both'|translate}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'Priority'|translate}}</mat-label>\r\n <input matInput type=\"number\" formControlName=\"priority\" />\r\n </mat-form-field>\r\n </form>\r\n </ng-template>\r\n</bizdoc-designer-element>\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.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: i2.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { 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: "directive", type: i6.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: "directive", type: i7.EditContentDirective, selector: "[bizdocEditContent]" }, { kind: "component", type: i7.DesignerItemComponent, selector: "bizdoc-designer-element", inputs: ["form"], outputs: ["continue", "save"] }, { kind: "pipe", type: i8.TranslatePipe, name: "translate" }] });
36
+ RoleDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: RoleDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<bizdoc-designer-element [form]=\"form\">\r\n <ng-template bizdocEditContent>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <div class=\"row\">\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Title'|translate}}</mat-label>\r\n <input matInput formControlName=\"title\" required #title />\r\n <mat-error *ngIf=\"form.get('title').hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:('Title'|translate)\"></mat-error>\r\n </mat-form-field>\r\n &nbsp;\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Name'|translate}}</mat-label>\r\n <input matInput formControlName=\"name\" required />\r\n <mat-error *ngIf=\"form.get('name').hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:('Name'|translate)\"></mat-error>\r\n </mat-form-field>\r\n </div>\r\n <mat-form-field>\r\n <mat-label>{{'DataType'|translate}}</mat-label>\r\n <mat-select formControlName=\"dataType\" required>\r\n <mat-option *ngFor=\"let t of types\" [value]=\"t.name\">{{t.title}}</mat-option>\r\n </mat-select>\r\n <mat-hint *ngIf=\"dataTypeDisabled\"><a (click)=\"enableTypeEdit()\">{{'change'|translate}}</a></mat-hint>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'SequencePolicy'|translate}}</mat-label>\r\n <mat-select formControlName=\"sequencePolicy\">\r\n <mat-option value=\"Higher\">{{'Higher'|translate}}</mat-option>\r\n <mat-option value=\"Either\">{{'Either'|translate}}</mat-option>\r\n <mat-option value=\"Both\">{{'Both'|translate}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'Priority'|translate}}</mat-label>\r\n <input matInput type=\"number\" formControlName=\"priority\" />\r\n </mat-form-field>\r\n </form>\r\n </ng-template>\r\n</bizdoc-designer-element>\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.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: i2.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { 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: "directive", type: i4.MatError, selector: "mat-error", inputs: ["id"] }, { 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: "directive", type: i6.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: "directive", type: i7.EditContentDirective, selector: "[bizdocEditContent]" }, { kind: "component", type: i7.DesignerItemComponent, selector: "bizdoc-designer-element", inputs: ["privileges", "form"], outputs: ["continue", "save"] }, { kind: "pipe", type: i8.TranslatePipe, name: "translate" }] });
36
37
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: RoleDesignComponent, decorators: [{
37
38
  type: Component,
38
- args: [{ template: "<bizdoc-designer-element [form]=\"form\">\r\n <ng-template bizdocEditContent>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <mat-form-field>\r\n <mat-label>{{'DataType'|translate}}</mat-label>\r\n <mat-select formControlName=\"dataType\" required>\r\n <mat-option *ngFor=\"let t of types\" [value]=\"t.name\">{{t.title}}</mat-option>\r\n </mat-select>\r\n <mat-hint *ngIf=\"dataTypeDisabled\"><a (click)=\"enableTypeEdit()\">{{'change'|translate}}</a></mat-hint>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'SequencePolicy'|translate}}</mat-label>\r\n <mat-select formControlName=\"sequencePolicy\">\r\n <mat-option value=\"Higher\">{{'Higher'|translate}}</mat-option>\r\n <mat-option value=\"Either\">{{'Either'|translate}}</mat-option>\r\n <mat-option value=\"Both\">{{'Both'|translate}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'Priority'|translate}}</mat-label>\r\n <input matInput type=\"number\" formControlName=\"priority\" />\r\n </mat-form-field>\r\n </form>\r\n </ng-template>\r\n</bizdoc-designer-element>\r\n" }]
39
+ args: [{ template: "<bizdoc-designer-element [form]=\"form\">\r\n <ng-template bizdocEditContent>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <div class=\"row\">\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Title'|translate}}</mat-label>\r\n <input matInput formControlName=\"title\" required #title />\r\n <mat-error *ngIf=\"form.get('title').hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:('Title'|translate)\"></mat-error>\r\n </mat-form-field>\r\n &nbsp;\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Name'|translate}}</mat-label>\r\n <input matInput formControlName=\"name\" required />\r\n <mat-error *ngIf=\"form.get('name').hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:('Name'|translate)\"></mat-error>\r\n </mat-form-field>\r\n </div>\r\n <mat-form-field>\r\n <mat-label>{{'DataType'|translate}}</mat-label>\r\n <mat-select formControlName=\"dataType\" required>\r\n <mat-option *ngFor=\"let t of types\" [value]=\"t.name\">{{t.title}}</mat-option>\r\n </mat-select>\r\n <mat-hint *ngIf=\"dataTypeDisabled\"><a (click)=\"enableTypeEdit()\">{{'change'|translate}}</a></mat-hint>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'SequencePolicy'|translate}}</mat-label>\r\n <mat-select formControlName=\"sequencePolicy\">\r\n <mat-option value=\"Higher\">{{'Higher'|translate}}</mat-option>\r\n <mat-option value=\"Either\">{{'Either'|translate}}</mat-option>\r\n <mat-option value=\"Both\">{{'Both'|translate}}</mat-option>\r\n </mat-select>\r\n </mat-form-field>\r\n <mat-form-field>\r\n <mat-label>{{'Priority'|translate}}</mat-label>\r\n <input matInput type=\"number\" formControlName=\"priority\" />\r\n </mat-form-field>\r\n </form>\r\n </ng-template>\r\n</bizdoc-designer-element>\r\n" }]
39
40
  }] });
40
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm9sZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJy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W5jZVBvbGljeVwiPlxyXG4gICAgICAgICAgPG1hdC1vcHRpb24gdmFsdWU9XCJIaWdoZXJcIj57eydIaWdoZXInfHRyYW5zbGF0ZX19PC9tYXQtb3B0aW9uPlxyXG4gICAgICAgICAgPG1hdC1vcHRpb24gdmFsdWU9XCJFaXRoZXJcIj57eydFaXRoZXInfHRyYW5zbGF0ZX19PC9tYXQtb3B0aW9uPlxyXG4gICAgICAgICAgPG1hdC1vcHRpb24gdmFsdWU9XCJCb3RoXCI+e3snQm90aCd8dHJhbnNsYXRlfX08L21hdC1vcHRpb24+XHJcbiAgICAgICAgPC9tYXQtc2VsZWN0PlxyXG4gICAgICA8L21hdC1mb3JtLWZpZWxkPlxyXG4gICAgICA8bWF0LWZvcm0tZmllbGQ+XHJcbiAgICAgICAgPG1hdC1sYWJlbD57eydQcmlvcml0eSd8dHJhbnNsYXRlfX08L21hdC1sYWJlbD5cclxuICAgICAgICA8aW5wdXQgbWF0SW5wdXQgdHlwZT1cIm51bWJlclwiIGZvcm1Db250cm9sTmFtZT1cInByaW9yaXR5XCIgLz5cclxuICAgICAgPC9tYXQtZm9ybS1maWVsZD5cclxuICAgIDwvZm9ybT5cclxuICA8L25nLXRlbXBsYXRlPlxyXG48L2JpemRvYy1kZXNpZ25lci1lbGVtZW50PlxyXG4iXX0=
@@ -1,7 +1,12 @@
1
1
  import { Component } from "@angular/core";
2
2
  import { DesignerTypeElementComponent } from "../designer.base";
3
3
  import * as i0 from "@angular/core";
4
- import * as i1 from "../designer-element.component";
4
+ import * as i1 from "@angular/common";
5
+ import * as i2 from "@angular/forms";
6
+ import * as i3 from "@angular/material/form-field";
7
+ import * as i4 from "@angular/material/input";
8
+ import * as i5 from "../designer-element.component";
9
+ import * as i6 from "../../../core/pipes/translate.pipe";
5
10
  export class RuleDesignComponent extends DesignerTypeElementComponent {
6
11
  constructor() {
7
12
  super(...arguments);
@@ -9,9 +14,9 @@ export class RuleDesignComponent extends DesignerTypeElementComponent {
9
14
  }
10
15
  }
11
16
  RuleDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: RuleDesignComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
12
- RuleDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: RuleDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<bizdoc-designer-element>\r\n</bizdoc-designer-element>\r\n", dependencies: [{ kind: "component", type: i1.DesignerItemComponent, selector: "bizdoc-designer-element", inputs: ["form"], outputs: ["continue", "save"] }] });
17
+ RuleDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: RuleDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<bizdoc-designer-element>\r\n <ng-template bizdocEditContent>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <div class=\"row\">\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Title'|translate}}</mat-label>\r\n <input matInput formControlName=\"title\" required #title />\r\n <mat-error *ngIf=\"form.get('title').hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:('Title'|translate)\"></mat-error>\r\n </mat-form-field>\r\n &nbsp;\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Name'|translate}}</mat-label>\r\n <input matInput formControlName=\"name\" required />\r\n <mat-error *ngIf=\"form.get('name').hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:('Name'|translate)\"></mat-error>\r\n </mat-form-field>\r\n </div>\r\n </form>\r\n </ng-template>\r\n</bizdoc-designer-element>\r\n", dependencies: [{ 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.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: 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: "directive", type: i3.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.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: "directive", type: i5.EditContentDirective, selector: "[bizdocEditContent]" }, { kind: "component", type: i5.DesignerItemComponent, selector: "bizdoc-designer-element", inputs: ["privileges", "form"], outputs: ["continue", "save"] }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }] });
13
18
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: RuleDesignComponent, decorators: [{
14
19
  type: Component,
15
- args: [{ template: "<bizdoc-designer-element>\r\n</bizdoc-designer-element>\r\n" }]
20
+ args: [{ template: "<bizdoc-designer-element>\r\n <ng-template bizdocEditContent>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <div class=\"row\">\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Title'|translate}}</mat-label>\r\n <input matInput formControlName=\"title\" required #title />\r\n <mat-error *ngIf=\"form.get('title').hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:('Title'|translate)\"></mat-error>\r\n </mat-form-field>\r\n &nbsp;\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Name'|translate}}</mat-label>\r\n <input matInput formControlName=\"name\" required />\r\n <mat-error *ngIf=\"form.get('name').hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:('Name'|translate)\"></mat-error>\r\n </mat-form-field>\r\n </div>\r\n </form>\r\n </ng-template>\r\n</bizdoc-designer-element>\r\n" }]
16
21
  }] });
17
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicnVsZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2FkbWluL2NvbmZpZ3VyYXRpb24tZGVzaWduZXIvZWxlbWVudHMvcnVsZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2FkbWluL2NvbmZpZ3VyYXRpb24tZGVzaWduZXIvZWxlbWVudHMvcnVsZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTFDLE9BQU8sRUFBRSw0QkFBNEIsRUFBRSxNQUFNLGtCQUFrQixDQUFDOzs7QUFHaEUsTUFBTSxPQUFPLG1CQUFvQixTQUFRLDRCQUE0QjtJQURyRTs7UUFFVyxTQUFJLEdBQUcsSUFBSSxDQUFDLEdBQUcsQ0FBQyxLQUFLLENBQUMs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iaXpkb2MtZGVzaWduZXItZWxlbWVudD5cclxuIl19
@@ -1,12 +1,13 @@
1
1
  import { Component } from "@angular/core";
2
2
  import { DesignerTypeElementComponent } from "../designer.base";
3
3
  import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/forms";
5
- import * as i2 from "@angular/material/form-field";
6
- import * as i3 from "@angular/material/input";
7
- import * as i4 from "../designer-element.component";
8
- import * as i5 from "../../core/color-picker.input";
9
- import * as i6 from "../../../core/pipes/translate.pipe";
4
+ import * as i1 from "@angular/common";
5
+ import * as i2 from "@angular/forms";
6
+ import * as i3 from "@angular/material/form-field";
7
+ import * as i4 from "@angular/material/input";
8
+ import * as i5 from "../designer-element.component";
9
+ import * as i6 from "../../core/color-picker.input";
10
+ import * as i7 from "../../../core/pipes/translate.pipe";
10
11
  export class StateDesignComponent extends DesignerTypeElementComponent {
11
12
  constructor() {
12
13
  super(...arguments);
@@ -22,13 +23,14 @@ export class StateDesignComponent extends DesignerTypeElementComponent {
22
23
  this.model.resource && this.disable(...StateDesignComponent.resources);
23
24
  this._ref.unlock.subscribe(() => this.enable(...StateDesignComponent.resources));
24
25
  }
26
+ super.ngOnInit();
25
27
  }
26
28
  }
27
29
  StateDesignComponent.resources = ['past', 'future'];
28
30
  StateDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: StateDesignComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
29
- StateDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: StateDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<bizdoc-designer-element [form]=\"form\">\r\n <ng-template bizdocEditContent>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <div class=\"row\">\r\n <bizdoc-color-picker formControlName=\"color\" [label]=\"'Color'|translate\" class=\"flex\"></bizdoc-color-picker>\r\n <bizdoc-color-picker formControlName=\"backgroundColor\" [label]=\"'BackgroundColor'|translate\" class=\"flex\"></bizdoc-color-picker>\r\n </div>\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Past'|translate}}</mat-label>\r\n <input matInput formControlName=\"past\" />\r\n </mat-form-field>\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Future'|translate}}</mat-label>\r\n <input matInput formControlName=\"future\" />\r\n </mat-form-field>\r\n </form>\r\n </ng-template>\r\n</bizdoc-designer-element>\r\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.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.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2.MatLabel, selector: "mat-label" }, { kind: "directive", type: i3.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: "directive", type: i4.EditContentDirective, selector: "[bizdocEditContent]" }, { kind: "component", type: i4.DesignerItemComponent, selector: "bizdoc-designer-element", inputs: ["form"], outputs: ["continue", "save"] }, { kind: "component", type: i5.ColorPicker, selector: "bizdoc-color-picker", inputs: ["label", "value", "required", "disabled"], outputs: ["valueChanges"] }, { kind: "pipe", type: i6.TranslatePipe, name: "translate" }] });
31
+ StateDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: StateDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<bizdoc-designer-element [form]=\"form\">\r\n <ng-template bizdocEditContent>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <div class=\"row\">\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Title'|translate}}</mat-label>\r\n <input matInput formControlName=\"title\" required #title />\r\n <mat-error *ngIf=\"form.get('title').hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:('Title'|translate)\"></mat-error>\r\n </mat-form-field>\r\n &nbsp;\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Name'|translate}}</mat-label>\r\n <input matInput formControlName=\"name\" required />\r\n <mat-error *ngIf=\"form.get('name').hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:('Name'|translate)\"></mat-error>\r\n </mat-form-field>\r\n </div>\r\n <div class=\"row\">\r\n <bizdoc-color-picker formControlName=\"color\" [label]=\"'Color'|translate\" class=\"flex\"></bizdoc-color-picker>\r\n <bizdoc-color-picker formControlName=\"backgroundColor\" [label]=\"'BackgroundColor'|translate\" class=\"flex\"></bizdoc-color-picker>\r\n </div>\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Past'|translate}}</mat-label>\r\n <input matInput formControlName=\"past\" />\r\n </mat-form-field>\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Future'|translate}}</mat-label>\r\n <input matInput formControlName=\"future\" />\r\n </mat-form-field>\r\n </form>\r\n </ng-template>\r\n</bizdoc-designer-element>\r\n", dependencies: [{ 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.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: 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: "directive", type: i3.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "component", type: i3.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.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: "directive", type: i5.EditContentDirective, selector: "[bizdocEditContent]" }, { kind: "component", type: i5.DesignerItemComponent, selector: "bizdoc-designer-element", inputs: ["privileges", "form"], outputs: ["continue", "save"] }, { kind: "component", type: i6.ColorPicker, selector: "bizdoc-color-picker", inputs: ["label", "value", "required", "disabled"], outputs: ["valueChanges"] }, { kind: "pipe", type: i7.TranslatePipe, name: "translate" }] });
30
32
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: StateDesignComponent, decorators: [{
31
33
  type: Component,
32
- args: [{ template: "<bizdoc-designer-element [form]=\"form\">\r\n <ng-template bizdocEditContent>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <div class=\"row\">\r\n <bizdoc-color-picker formControlName=\"color\" [label]=\"'Color'|translate\" class=\"flex\"></bizdoc-color-picker>\r\n <bizdoc-color-picker formControlName=\"backgroundColor\" [label]=\"'BackgroundColor'|translate\" class=\"flex\"></bizdoc-color-picker>\r\n </div>\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Past'|translate}}</mat-label>\r\n <input matInput formControlName=\"past\" />\r\n </mat-form-field>\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Future'|translate}}</mat-label>\r\n <input matInput formControlName=\"future\" />\r\n </mat-form-field>\r\n </form>\r\n </ng-template>\r\n</bizdoc-designer-element>\r\n" }]
34
+ args: [{ template: "<bizdoc-designer-element [form]=\"form\">\r\n <ng-template bizdocEditContent>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <div class=\"row\">\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Title'|translate}}</mat-label>\r\n <input matInput formControlName=\"title\" required #title />\r\n <mat-error *ngIf=\"form.get('title').hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:('Title'|translate)\"></mat-error>\r\n </mat-form-field>\r\n &nbsp;\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Name'|translate}}</mat-label>\r\n <input matInput formControlName=\"name\" required />\r\n <mat-error *ngIf=\"form.get('name').hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:('Name'|translate)\"></mat-error>\r\n </mat-form-field>\r\n </div>\r\n <div class=\"row\">\r\n <bizdoc-color-picker formControlName=\"color\" [label]=\"'Color'|translate\" class=\"flex\"></bizdoc-color-picker>\r\n <bizdoc-color-picker formControlName=\"backgroundColor\" [label]=\"'BackgroundColor'|translate\" class=\"flex\"></bizdoc-color-picker>\r\n </div>\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Past'|translate}}</mat-label>\r\n <input matInput formControlName=\"past\" />\r\n </mat-form-field>\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Future'|translate}}</mat-label>\r\n <input matInput formControlName=\"future\" />\r\n </mat-form-field>\r\n </form>\r\n </ng-template>\r\n</bizdoc-designer-element>\r\n" }]
33
35
  }] });
34
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhdGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicmFyaWVzL2NvcmUvc3JjL2xpYi9hZG1pbi9jb25maWd1cmF0aW9uLWRlc2lnbmVyL2VsZW1lbnRzL3N0YXRlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnJhcmllcy9jb3JlL3NyYy9saWIvYWRtaW4vY29uZmlndXJhdGlvbi1kZXNpZ25lci9lbGVtZW50cy9zdGF0ZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBRWxELE9BQU8sRUFBRSw0QkFBNEIsRUFBRSxNQUFNLGtCQUFrQixDQUFDOzs7Ozs7OztBQUdoRSxNQUFNLE9BQU8sb0JBQXFCLFNBQVEsNEJBQTRCO0lBRHRFOztRQUdXLFNBQUksR0FBRyxJQUFJLENBQUMsR0FBRyxDQUFDLEtBQUssQ0FBQztZQUM3QixJQUFJLEVBQUUsSUFBSTtZQUNWLE1BQU0sRUFBRSxJQUFJO1lBQ1osS0FBSyxFQUFFLElBQUk7WUFDWCxlQUFlLEVBQUUsSUFBSTtTQUN0QixDQUFDLENBQUM7S0FPSjtJQU5DLFF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hcIj48L2JpemRvYy1jb2xvci1waWNrZXI+XHJcbiAgICAgICAgPGJpemRvYy1jb2xvci1waWNrZXIgZm9ybUNvbnRyb2xOYW1lPVwiYmFja2dyb3VuZENvbG9yXCIgW2xhYmVsXT1cIidCYWNrZ3JvdW5kQ29sb3InfHRyYW5zbGF0ZVwiIGNsYXNzPVwiZmxleFwiPjwvYml6ZG9jLWNvbG9yLXBpY2tlcj5cclxuICAgICAgPC9kaXY+XHJcbiAgICAgIDxtYXQtZm9ybS1maWVsZCBjbGFzcz1cImZsZXhcIj5cclxuICAgICAgICA8bWF0LWxhYmVsPnt7J1Bhc3QnfHRyYW5zbGF0ZX19PC9tYXQtbGFiZWw+XHJcbiAgICAgICAgPGlucHV0IG1hdElucHV0IGZvcm1Db250cm9sTmFtZT1cInBhc3RcIiAvPlxyXG4gICAgICA8L21hdC1mb3JtLWZpZWxkPlxyXG4gICAgICA8bWF0LWZvcm0tZmllbGQgY2xhc3M9XCJmbGV4XCI+XHJcbiAgICAgICAgPG1hdC1sYWJlbD57eydGdXR1cmUnfHRyYW5zbGF0ZX19PC9tYXQtbGFiZWw+XHJcbiAgICAgICAgPGlucHV0IG1hdElucHV0IGZvcm1Db250cm9sTmFtZT1cImZ1dHVyZVwiIC8+XHJcbiAgICAgIDwvbWF0LWZvcm0tZmllbGQ+XHJcbiAgICA8L2Zvcm0+XHJcbiAgPC9uZy10ZW1wbGF0ZT5cclxuPC9iaXpkb2MtZGVzaWduZXItZWxlbWVudD5cclxuIl19
@@ -6,11 +6,14 @@ import * as i1 from "@angular/forms";
6
6
  import * as i2 from "../../../core/datasource.service";
7
7
  import * as i3 from "../../../core/translate.service";
8
8
  import * as i4 from "../../../core/prompt.service";
9
- import * as i5 from "@angular/material/slide-toggle";
10
- import * as i6 from "@angular/material/button";
11
- import * as i7 from "../designer-element.component";
12
- import * as i8 from "../../../core/pipes/translate.pipe";
13
- import * as i9 from "../declarations";
9
+ import * as i5 from "@angular/common";
10
+ import * as i6 from "@angular/material/form-field";
11
+ import * as i7 from "@angular/material/slide-toggle";
12
+ import * as i8 from "@angular/material/button";
13
+ import * as i9 from "@angular/material/input";
14
+ import * as i10 from "../designer-element.component";
15
+ import * as i11 from "../../../core/pipes/translate.pipe";
16
+ import * as i12 from "../declarations";
14
17
  export class TypeDesignComponent extends DesignerTypeElementComponent {
15
18
  constructor(fb, _source, _translate, _ps, element, ref) {
16
19
  super(fb, element, ref);
@@ -26,12 +29,12 @@ export class TypeDesignComponent extends DesignerTypeElementComponent {
26
29
  }
27
30
  }
28
31
  TypeDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: TypeDesignComponent, deps: [{ token: i1.FormBuilder }, { token: i2.DatasourceService }, { token: i3.TranslateService }, { token: i4.PromptService }, { token: i0.ElementRef }, { token: DesignerRef }], target: i0.ɵɵFactoryTarget.Component });
29
- TypeDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: TypeDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<bizdoc-designer-element [form]=\"form\">\r\n <ng-template bizdocContent>\r\n <button mat-stroked-button (click)=\"test()\">{{'TestType'|translate}}</button>\r\n</ng-template>\r\n <ng-template bizdocEditContent>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <mat-slide-toggle formControlName=\"assignable\">{{'Assignable'|translate}}</mat-slide-toggle>\r\n </form>\r\n </ng-template>\r\n</bizdoc-designer-element>\r\n", dependencies: [{ 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.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.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["disabled", "disableRipple", "color", "tabIndex"], exportAs: ["matSlideToggle"] }, { kind: "component", type: i6.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: "directive", type: i7.EditContentDirective, selector: "[bizdocEditContent]" }, { kind: "directive", type: i7.WidgetContentDirective, selector: "[bizdocContent]" }, { kind: "component", type: i7.DesignerItemComponent, selector: "bizdoc-designer-element", inputs: ["form"], outputs: ["continue", "save"] }, { kind: "pipe", type: i8.TranslatePipe, name: "translate" }] });
32
+ TypeDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: TypeDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<bizdoc-designer-element [form]=\"form\">\r\n <ng-template bizdocContent>\r\n <button mat-stroked-button (click)=\"test()\">{{'TestType'|translate}}</button>\r\n</ng-template>\r\n <ng-template bizdocEditContent>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <div class=\"row\">\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Title'|translate}}</mat-label>\r\n <input matInput formControlName=\"title\" required #title />\r\n <mat-error *ngIf=\"form.get('title').hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:('Title'|translate)\"></mat-error>\r\n </mat-form-field>\r\n &nbsp;\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Name'|translate}}</mat-label>\r\n <input matInput formControlName=\"name\" required />\r\n <mat-error *ngIf=\"form.get('name').hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:('Name'|translate)\"></mat-error>\r\n </mat-form-field>\r\n </div>\r\n <mat-slide-toggle formControlName=\"assignable\">{{'Assignable'|translate}}</mat-slide-toggle>\r\n </form>\r\n </ng-template>\r\n</bizdoc-designer-element>\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.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: i6.MatError, selector: "mat-error", inputs: ["id"] }, { kind: "component", type: i6.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i6.MatLabel, selector: "mat-label" }, { kind: "component", type: i7.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["disabled", "disableRipple", "color", "tabIndex"], exportAs: ["matSlideToggle"] }, { kind: "component", type: i8.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: "directive", type: i9.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: i10.EditContentDirective, selector: "[bizdocEditContent]" }, { kind: "directive", type: i10.WidgetContentDirective, selector: "[bizdocContent]" }, { kind: "component", type: i10.DesignerItemComponent, selector: "bizdoc-designer-element", inputs: ["privileges", "form"], outputs: ["continue", "save"] }, { kind: "pipe", type: i11.TranslatePipe, name: "translate" }] });
30
33
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: TypeDesignComponent, decorators: [{
31
34
  type: Component,
32
- args: [{ template: "<bizdoc-designer-element [form]=\"form\">\r\n <ng-template bizdocContent>\r\n <button mat-stroked-button (click)=\"test()\">{{'TestType'|translate}}</button>\r\n</ng-template>\r\n <ng-template bizdocEditContent>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <mat-slide-toggle formControlName=\"assignable\">{{'Assignable'|translate}}</mat-slide-toggle>\r\n </form>\r\n </ng-template>\r\n</bizdoc-designer-element>\r\n" }]
33
- }], ctorParameters: function () { return [{ type: i1.FormBuilder }, { type: i2.DatasourceService }, { type: i3.TranslateService }, { type: i4.PromptService }, { type: i0.ElementRef }, { type: i9.DesignerRef, decorators: [{
35
+ args: [{ template: "<bizdoc-designer-element [form]=\"form\">\r\n <ng-template bizdocContent>\r\n <button mat-stroked-button (click)=\"test()\">{{'TestType'|translate}}</button>\r\n</ng-template>\r\n <ng-template bizdocEditContent>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <div class=\"row\">\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Title'|translate}}</mat-label>\r\n <input matInput formControlName=\"title\" required #title />\r\n <mat-error *ngIf=\"form.get('title').hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:('Title'|translate)\"></mat-error>\r\n </mat-form-field>\r\n &nbsp;\r\n <mat-form-field class=\"flex\">\r\n <mat-label>{{'Name'|translate}}</mat-label>\r\n <input matInput formControlName=\"name\" required />\r\n <mat-error *ngIf=\"form.get('name').hasError('required')\" [innerHTML]=\"'RequiredErr'|translate:('Name'|translate)\"></mat-error>\r\n </mat-form-field>\r\n </div>\r\n <mat-slide-toggle formControlName=\"assignable\">{{'Assignable'|translate}}</mat-slide-toggle>\r\n </form>\r\n </ng-template>\r\n</bizdoc-designer-element>\r\n" }]
36
+ }], ctorParameters: function () { return [{ type: i1.FormBuilder }, { type: i2.DatasourceService }, { type: i3.TranslateService }, { type: i4.PromptService }, { type: i0.ElementRef }, { type: i12.DesignerRef, decorators: [{
34
37
  type: Inject,
35
38
  args: [DesignerRef]
36
39
  }] }]; } });
37
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2FkbWluL2NvbmZpZ3VyYXRpb24tZGVzaWduZXIvZWxlbWVudHMvdHlwZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2FkbWluL2NvbmZpZ3VyYXRpb24tZGVzaWduZXIvZWxlbWVudHMvdHlwZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFjLE1BQU0sRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUs5RCxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDOUMsT0FBTyxFQUFFLDRCQUE0QixFQUFFLE1BQU0sa0JBQWtCLENB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maWVsZD5cclxuICAgICAgPC9kaXY+XHJcbiAgICAgIDxtYXQtc2xpZGUtdG9nZ2xlIGZvcm1Db250cm9sTmFtZT1cImFzc2lnbmFibGVcIj57eydBc3NpZ25hYmxlJ3x0cmFuc2xhdGV9fTwvbWF0LXNsaWRlLXRvZ2dsZT5cclxuICAgIDwvZm9ybT5cclxuICAgIDwvbmctdGVtcGxhdGU+XHJcbjwvYml6ZG9jLWRlc2lnbmVyLWVsZW1lbnQ+XHJcbiJdfQ==
@@ -8,14 +8,14 @@ export class UtilityDesignComponent extends DesignerTypeElementComponent {
8
8
  constructor() {
9
9
  super(...arguments);
10
10
  this.form = this._fb.group({
11
- icon: null,
11
+ icon: null
12
12
  });
13
13
  }
14
14
  }
15
15
  UtilityDesignComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: UtilityDesignComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
16
- UtilityDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: UtilityDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<bizdoc-designer-element [form]=\"form\">\r\n <ng-template bizdocEditContent>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <bizdoc-icon-picker formControlName=\"icon\" required></bizdoc-icon-picker>\r\n </form>\r\n </ng-template>\r\n</bizdoc-designer-element>\r\n", dependencies: [{ 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: i2.IconPickerComponent, selector: "bizdoc-icon-picker", inputs: ["value", "required", "disabled"], outputs: ["valueChanges"] }, { kind: "directive", type: i3.EditContentDirective, selector: "[bizdocEditContent]" }, { kind: "component", type: i3.DesignerItemComponent, selector: "bizdoc-designer-element", inputs: ["form"], outputs: ["continue", "save"] }] });
16
+ UtilityDesignComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.1.0", type: UtilityDesignComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: "<bizdoc-designer-element [form]=\"form\" [privileges]=\"true\">\r\n <ng-template bizdocEditContent>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <bizdoc-icon-picker formControlName=\"icon\" required></bizdoc-icon-picker>\r\n </form>\r\n </ng-template>\r\n</bizdoc-designer-element>\r\n", dependencies: [{ 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: i2.IconPickerComponent, selector: "bizdoc-icon-picker", inputs: ["value", "required", "disabled"], outputs: ["valueChanges"] }, { kind: "directive", type: i3.EditContentDirective, selector: "[bizdocEditContent]" }, { kind: "component", type: i3.DesignerItemComponent, selector: "bizdoc-designer-element", inputs: ["privileges", "form"], outputs: ["continue", "save"] }] });
17
17
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.1.0", ngImport: i0, type: UtilityDesignComponent, decorators: [{
18
18
  type: Component,
19
- args: [{ template: "<bizdoc-designer-element [form]=\"form\">\r\n <ng-template bizdocEditContent>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <bizdoc-icon-picker formControlName=\"icon\" required></bizdoc-icon-picker>\r\n </form>\r\n </ng-template>\r\n</bizdoc-designer-element>\r\n" }]
19
+ args: [{ template: "<bizdoc-designer-element [form]=\"form\" [privileges]=\"true\">\r\n <ng-template bizdocEditContent>\r\n <form autocomplete=\"off\" [formGroup]=\"form\" class=\"column\">\r\n <bizdoc-icon-picker formControlName=\"icon\" required></bizdoc-icon-picker>\r\n </form>\r\n </ng-template>\r\n</bizdoc-designer-element>\r\n" }]
20
20
  }] });
21
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbGl0eS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2FkbWluL2NvbmZpZ3VyYXRpb24tZGVzaWduZXIvZWxlbWVudHMvdXRpbGl0eS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvY29yZS9zcmMvbGliL2FkbWluL2NvbmZpZ3VyYXRpb24tZGVzaWduZXIvZWxlbWVudHMvdXRpbGl0eS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE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