@netgrif/components-core 6.3.2 → 6.4.0-beta.10

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 (331) hide show
  1. package/esm2020/assets/i18n/de.json +15 -2
  2. package/esm2020/assets/i18n/en.json +15 -2
  3. package/esm2020/assets/i18n/sk.json +15 -2
  4. package/esm2020/lib/actions/front-action.module.mjs +28 -0
  5. package/esm2020/lib/actions/model/front-action-definition.mjs +2 -0
  6. package/esm2020/lib/actions/model/router-action-definitions.mjs +8 -0
  7. package/esm2020/lib/actions/model/task-action-definitions.mjs +16 -0
  8. package/esm2020/lib/actions/public-api.mjs +6 -0
  9. package/esm2020/lib/actions/services/front-action.service.mjs +27 -0
  10. package/esm2020/lib/data-fields/base-component/abstract-base-data-field.component.mjs +51 -0
  11. package/esm2020/lib/data-fields/boolean-field/abstract-boolean-field.component.mjs +7 -26
  12. package/esm2020/lib/data-fields/boolean-field/boolean-default-field/abstract-boolean-default-field.component.mjs +46 -0
  13. package/esm2020/lib/data-fields/boolean-field/models/boolean-field.mjs +9 -1
  14. package/esm2020/lib/data-fields/button-field/abstract-button-field.component.mjs +7 -39
  15. package/esm2020/lib/data-fields/button-field/button-default-field/abstract-button-default-field.component.mjs +58 -0
  16. package/esm2020/lib/data-fields/button-field/models/button-field.mjs +5 -1
  17. package/esm2020/lib/data-fields/case-ref-field/case-ref-default/case-ref-default.component.mjs +75 -0
  18. package/esm2020/lib/data-fields/case-ref-field/model/case-ref-field.mjs +11 -0
  19. package/esm2020/lib/data-fields/case-ref-field/model/case-ref-injection-tokens.mjs +5 -0
  20. package/esm2020/lib/data-fields/data-field-template/abstract-data-field-template.component.mjs +51 -6
  21. package/esm2020/lib/data-fields/data-fields.module.mjs +1 -1
  22. package/esm2020/lib/data-fields/date-field/abstract-date-field.component.mjs +10 -21
  23. package/esm2020/lib/data-fields/date-field/date-default-field/abstract-date-default-field.component.mjs +29 -0
  24. package/esm2020/lib/data-fields/date-field/models/date-field.mjs +5 -1
  25. package/esm2020/lib/data-fields/date-time-field/abstract-date-time-field.component.mjs +10 -21
  26. package/esm2020/lib/data-fields/date-time-field/date-time-default-field/abstract-date-time-default-field.component.mjs +29 -0
  27. package/esm2020/lib/data-fields/date-time-field/models/date-time-field.mjs +5 -1
  28. package/esm2020/lib/data-fields/enumeration-field/abstract-enumeration-field.component.mjs +4 -1
  29. package/esm2020/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/abstract-enumeration-autocomplete-dynamic-field.component.mjs +23 -20
  30. package/esm2020/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/abstract-enumeration-autocomplete-select-field.component.mjs +20 -21
  31. package/esm2020/lib/data-fields/enumeration-field/enumeration-caseref-field/abstract-enumeration-caseref-field.component.mjs +71 -0
  32. package/esm2020/lib/data-fields/enumeration-field/enumeration-icon-field/abstract-enumeration-icon-field.component.mjs +26 -19
  33. package/esm2020/lib/data-fields/enumeration-field/enumeration-list-field/abstract-enumeration-list-field.component.mjs +16 -12
  34. package/esm2020/lib/data-fields/enumeration-field/enumeration-select-field/abstract-enumeration-select-field.component.mjs +16 -12
  35. package/esm2020/lib/data-fields/enumeration-field/enumeration-stepper-field/abstract-enumeration-stepper-field.component.mjs +26 -21
  36. package/esm2020/lib/data-fields/enumeration-field/models/enumeration-field.mjs +21 -1
  37. package/esm2020/lib/data-fields/file-field/abstract-file-field.component.mjs +11 -420
  38. package/esm2020/lib/data-fields/file-field/file-default-field/abstract-file-default-field.component.mjs +456 -0
  39. package/esm2020/lib/data-fields/file-field/models/file-field-constants.mjs +5 -0
  40. package/esm2020/lib/data-fields/file-field/models/file-field.mjs +6 -1
  41. package/esm2020/lib/data-fields/file-list-field/abstract-file-list-field.component.mjs +11 -278
  42. package/esm2020/lib/data-fields/file-list-field/file-list-default-field/abstract-file-list-default-field.component.mjs +304 -0
  43. package/esm2020/lib/data-fields/file-list-field/models/file-list-field.mjs +6 -1
  44. package/esm2020/lib/data-fields/filter-field/abstract-filter-field-tab-view-content.component.mjs +4 -4
  45. package/esm2020/lib/data-fields/filter-field/abstract-filter-field-tab-view.component.mjs +4 -4
  46. package/esm2020/lib/data-fields/filter-field/abstract-filter-field.component.mjs +8 -20
  47. package/esm2020/lib/data-fields/filter-field/filter-default-field/abstract-filter-default-field.component.mjs +38 -0
  48. package/esm2020/lib/data-fields/filter-field/models/filter-field.mjs +5 -1
  49. package/esm2020/lib/data-fields/i18n-field/abstract-i18n-errors.component.mjs +18 -16
  50. package/esm2020/lib/data-fields/i18n-field/abstract-i18n-field.component.mjs +4 -1
  51. package/esm2020/lib/data-fields/i18n-field/i18n-divider-field/abstract-i18n-divider-field.component.mjs +24 -20
  52. package/esm2020/lib/data-fields/i18n-field/i18n-text-field/abstract-i18n-text-field.component.mjs +35 -32
  53. package/esm2020/lib/data-fields/i18n-field/models/i18n-field.mjs +6 -2
  54. package/esm2020/lib/data-fields/models/abstract-data-field-component.mjs +4 -1
  55. package/esm2020/lib/data-fields/models/abstract-data-field.mjs +14 -2
  56. package/esm2020/lib/data-fields/models/changed-fields.mjs +1 -1
  57. package/esm2020/lib/data-fields/models/component.mjs +22 -2
  58. package/esm2020/lib/data-fields/models/data-field-portal-data-injection-token.mjs +3 -0
  59. package/esm2020/lib/data-fields/models/update-strategy.mjs +7 -0
  60. package/esm2020/lib/data-fields/multichoice-field/abstract-multichoice-field.component.mjs +4 -1
  61. package/esm2020/lib/data-fields/multichoice-field/models/multichoice-field.mjs +17 -1
  62. package/esm2020/lib/data-fields/multichoice-field/multichoice-autocomplete-field/abstract-multichoice-autocomplete-field-component.component.mjs +30 -30
  63. package/esm2020/lib/data-fields/multichoice-field/multichoice-caseref-field/abstract-multichoice-caseref-field.component.mjs +67 -0
  64. package/esm2020/lib/data-fields/multichoice-field/multichoice-list-field/abstract-multichoice-list-field.component.mjs +16 -12
  65. package/esm2020/lib/data-fields/multichoice-field/multichoice-select-field/abstract-multichoice-select-field.component.mjs +16 -12
  66. package/esm2020/lib/data-fields/number-field/abstract-number-errors.component.mjs +17 -15
  67. package/esm2020/lib/data-fields/number-field/abstract-number-field.component.mjs +4 -1
  68. package/esm2020/lib/data-fields/number-field/currency-number-field/abstract-currency-number-field.component.mjs +21 -15
  69. package/esm2020/lib/data-fields/number-field/models/number-field.mjs +5 -1
  70. package/esm2020/lib/data-fields/number-field/number-default-field/abstract-default-number-field.component.mjs +12 -6
  71. package/esm2020/lib/data-fields/public-api.mjs +21 -2
  72. package/esm2020/lib/data-fields/string-collection-field/models/string-collection-field.mjs +11 -0
  73. package/esm2020/lib/data-fields/string-collection-field/string-collection-default-field/abstract-string-collection-default-field.component.mjs +60 -0
  74. package/esm2020/lib/data-fields/task-ref-field/abstract-task-ref-field.component.mjs +10 -116
  75. package/esm2020/lib/data-fields/task-ref-field/model/task-ref-field.mjs +5 -1
  76. package/esm2020/lib/data-fields/task-ref-field/task-ref-dashboard-field/abstract-task-ref-dashboard-field.component.mjs +130 -0
  77. package/esm2020/lib/data-fields/task-ref-field/task-ref-list-field/abstract-task-ref-list-field.component.mjs +54 -0
  78. package/esm2020/lib/data-fields/text-field/abstract-dashboard-text-field.component.mjs +14 -14
  79. package/esm2020/lib/data-fields/text-field/abstract-text-errors.component.mjs +23 -3
  80. package/esm2020/lib/data-fields/text-field/dashboard-bar-chart-text-field/abstract-dashboard-bar-chart-text-field.component.mjs +12 -6
  81. package/esm2020/lib/data-fields/text-field/dashboard-iframe-text-field/abstract-dashboard-iframe-text-field.component.mjs +12 -6
  82. package/esm2020/lib/data-fields/text-field/dashboard-line-chart-text-field/abstract-dashboard-line-chart-text-field.component.mjs +12 -6
  83. package/esm2020/lib/data-fields/text-field/dashboard-pie-chart-text-field/abstract-dashboard-pie-chart-text-field.component.mjs +12 -6
  84. package/esm2020/lib/data-fields/text-field/dashboard-portal-text-field/abstract-dashboard-portal-text-field.component.mjs +12 -6
  85. package/esm2020/lib/data-fields/text-field/html-textarea-field/abstract-html-textarea-field.component.mjs +16 -16
  86. package/esm2020/lib/data-fields/text-field/models/text-field.mjs +8 -4
  87. package/esm2020/lib/data-fields/text-field/password-text-field/abstract-password-text-field.component.mjs +14 -14
  88. package/esm2020/lib/data-fields/text-field/rich-textarea-field/abstract-rich-textarea-field.component.mjs +14 -14
  89. package/esm2020/lib/data-fields/text-field/simple-text-field/abstract-simple-text-field.component.mjs +14 -14
  90. package/esm2020/lib/data-fields/text-field/textarea-field/abstract-textarea-field.component.mjs +17 -17
  91. package/esm2020/lib/data-fields/time-instance-abstract-field/abstract-time-instance-field.component.mjs +13 -38
  92. package/esm2020/lib/data-fields/time-instance-abstract-field/models/abstract-time-instance-field.mjs +5 -5
  93. package/esm2020/lib/data-fields/user-field/abstract-user-field.component.mjs +7 -42
  94. package/esm2020/lib/data-fields/user-field/models/user-field.mjs +5 -1
  95. package/esm2020/lib/data-fields/user-field/user-default-field/abstract-user-default-field.component.mjs +70 -0
  96. package/esm2020/lib/data-fields/user-list-field/abstract-user-list-field.component.mjs +7 -45
  97. package/esm2020/lib/data-fields/user-list-field/models/user-list-field.mjs +5 -1
  98. package/esm2020/lib/data-fields/user-list-field/user-list-default-field/abstract-user-list-default-field.component.mjs +60 -0
  99. package/esm2020/lib/dialog/injection-tokens.mjs +10 -0
  100. package/esm2020/lib/dialog/public-api.mjs +2 -1
  101. package/esm2020/lib/event/model/event-constants.mjs +5 -1
  102. package/esm2020/lib/event/services/event.service.mjs +23 -1
  103. package/esm2020/lib/filter/models/case-search-request-body.mjs +1 -1
  104. package/esm2020/lib/filter/models/task-search-request-body.mjs +1 -1
  105. package/esm2020/lib/filter/user-filters.service.mjs +22 -15
  106. package/esm2020/lib/header/abstract-header.component.mjs +28 -7
  107. package/esm2020/lib/header/header-modes/abstract-header-mode.component.mjs +10 -2
  108. package/esm2020/lib/impersonation/services/impersonation-user-select.service.mjs +24 -17
  109. package/esm2020/lib/navigation/group-navigation-component-resolver/group-navigation-component-resolver.service.mjs +1 -10
  110. package/esm2020/lib/navigation/model/group-navigation-constants.mjs +120 -35
  111. package/esm2020/lib/navigation/model/navigation-configs.mjs +16 -0
  112. package/esm2020/lib/navigation/navigation-double-drawer/abstract-navigation-double-drawer.mjs +239 -127
  113. package/esm2020/lib/navigation/navigation-tree/abstract-navigation-tree.component.mjs +3 -126
  114. package/esm2020/lib/navigation/public-api.mjs +2 -1
  115. package/esm2020/lib/navigation/service/uri.service.mjs +24 -3
  116. package/esm2020/lib/navigation/utility/filter-extraction.service.mjs +34 -10
  117. package/esm2020/lib/navigation/utility/navigation-item-task-utility-methods.mjs +38 -4
  118. package/esm2020/lib/panel/case-panel/abstract-case-panel.component.mjs +9 -2
  119. package/esm2020/lib/panel/task-panel/abstract-task-panel.component.mjs +33 -4
  120. package/esm2020/lib/panel/task-panel-list/default-task-panel-list/abstract-default-task-list.component.mjs +18 -2
  121. package/esm2020/lib/panel/task-panel-list/task-panel-list-pagination/abstract-task-list-pagination.component.mjs +5 -3
  122. package/esm2020/lib/panel/task-panel-single/abstract-single-task.component.mjs +11 -5
  123. package/esm2020/lib/panel/workflow-panel/abstract-workflow-panel.component.mjs +6 -2
  124. package/esm2020/lib/public/factories/public-search-factory.mjs +15 -4
  125. package/esm2020/lib/registry/component-registry.service.mjs +38 -0
  126. package/esm2020/lib/registry/front-action-registry.service.mjs +34 -0
  127. package/esm2020/lib/registry/public-api.mjs +3 -0
  128. package/esm2020/lib/resources/interface/case-get-request-body.mjs +1 -1
  129. package/esm2020/lib/resources/interface/event-outcome.mjs +1 -1
  130. package/esm2020/lib/routing/routing-builder/routing-builder.service.mjs +7 -5
  131. package/esm2020/lib/search/fulltext-search-component/abstract-fulltext-search.component.mjs +14 -4
  132. package/esm2020/lib/search/search-component/abstract-search.component.mjs +5 -3
  133. package/esm2020/lib/side-menu/content-components/import-net/abstract-import-net.component.mjs +10 -7
  134. package/esm2020/lib/side-menu/content-components/injection-tokens.mjs +2 -1
  135. package/esm2020/lib/side-menu/content-components/new-case/abstract-new-case.component.mjs +1 -6
  136. package/esm2020/lib/side-menu/content-components/new-case/model/new-case-injection-data.mjs +1 -1
  137. package/esm2020/lib/side-menu/content-components/public-api.mjs +3 -1
  138. package/esm2020/lib/side-menu/content-components/task-view/model/task-view-injection-data.mjs +2 -0
  139. package/esm2020/lib/side-menu/models/side-menu-control.mjs +2 -10
  140. package/esm2020/lib/tabs/classes/tab-view.mjs +3 -2
  141. package/esm2020/lib/task/services/task-data.service.mjs +30 -28
  142. package/esm2020/lib/task-content/field-component-resolver/abstract-field-component-resolver.component.mjs +24 -5
  143. package/esm2020/lib/task-content/model/field-type-resource.mjs +3 -1
  144. package/esm2020/lib/task-content/services/field-converter.service.mjs +14 -2
  145. package/esm2020/lib/task-content/services/single-task-content.service.mjs +4 -4
  146. package/esm2020/lib/task-content/services/task-content.service.mjs +25 -22
  147. package/esm2020/lib/task-content/services/unlimited-task-content.service.mjs +4 -4
  148. package/esm2020/lib/task-content/task-content/abstract-task-content.component.mjs +20 -7
  149. package/esm2020/lib/utility/navigation-item-default-headers-factory.mjs +27 -0
  150. package/esm2020/lib/utility/public-api.mjs +2 -1
  151. package/esm2020/lib/view/abstract/netgrif-paginator-intl.mjs +36 -0
  152. package/esm2020/lib/view/case-view/components/case-list-paginator/abstract-case-list-paginator.component.mjs +8 -4
  153. package/esm2020/lib/view/case-view/components/default-case-list/abstract-default-case-list.component.mjs +18 -5
  154. package/esm2020/lib/view/case-view/service/case-view-service.mjs +28 -20
  155. package/esm2020/lib/view/case-view/tabbed-case-view.mjs +1 -1
  156. package/esm2020/lib/view/public-api.mjs +2 -1
  157. package/esm2020/lib/view/task-view/abstract-single-task-view.component.mjs +18 -34
  158. package/esm2020/lib/view/workflow-view/abstract-workflow-view.component.mjs +20 -11
  159. package/esm2020/lib/view/workflow-view/workflow-view.service.mjs +2 -2
  160. package/esm2020/public-api.mjs +3 -2
  161. package/fesm2015/netgrif-components-core.mjs +4583 -3179
  162. package/fesm2015/netgrif-components-core.mjs.map +1 -1
  163. package/fesm2020/netgrif-components-core.mjs +4278 -2981
  164. package/fesm2020/netgrif-components-core.mjs.map +1 -1
  165. package/lib/actions/front-action.module.d.ts +9 -0
  166. package/lib/actions/model/front-action-definition.d.ts +5 -0
  167. package/lib/actions/model/router-action-definitions.d.ts +2 -0
  168. package/lib/actions/model/task-action-definitions.d.ts +3 -0
  169. package/lib/actions/public-api.d.ts +5 -0
  170. package/lib/actions/services/front-action.service.d.ts +15 -0
  171. package/lib/data-fields/base-component/abstract-base-data-field.component.d.ts +18 -0
  172. package/lib/data-fields/boolean-field/abstract-boolean-field.component.d.ts +5 -7
  173. package/lib/data-fields/boolean-field/boolean-default-field/abstract-boolean-default-field.component.d.ts +14 -0
  174. package/lib/data-fields/boolean-field/models/boolean-field.d.ts +3 -0
  175. package/lib/data-fields/button-field/abstract-button-field.component.d.ts +5 -16
  176. package/lib/data-fields/button-field/button-default-field/abstract-button-default-field.component.d.ts +23 -0
  177. package/lib/data-fields/button-field/models/button-field.d.ts +1 -0
  178. package/lib/data-fields/case-ref-field/case-ref-default/case-ref-default.component.d.ts +19 -0
  179. package/lib/data-fields/case-ref-field/model/case-ref-field.d.ts +9 -0
  180. package/lib/data-fields/case-ref-field/model/case-ref-injection-tokens.d.ts +5 -0
  181. package/lib/data-fields/data-field-template/abstract-data-field-template.component.d.ts +22 -3
  182. package/lib/data-fields/date-field/abstract-date-field.component.d.ts +7 -12
  183. package/lib/data-fields/date-field/date-default-field/abstract-date-default-field.component.d.ts +12 -0
  184. package/lib/data-fields/date-field/models/date-field.d.ts +1 -0
  185. package/lib/data-fields/date-time-field/abstract-date-time-field.component.d.ts +7 -12
  186. package/lib/data-fields/date-time-field/date-time-default-field/abstract-date-time-default-field.component.d.ts +12 -0
  187. package/lib/data-fields/date-time-field/models/date-time-field.d.ts +1 -0
  188. package/lib/data-fields/enumeration-field/abstract-enumeration-field.component.d.ts +3 -0
  189. package/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/abstract-enumeration-autocomplete-dynamic-field.component.d.ts +8 -10
  190. package/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/abstract-enumeration-autocomplete-select-field.component.d.ts +6 -10
  191. package/lib/data-fields/enumeration-field/enumeration-caseref-field/abstract-enumeration-caseref-field.component.d.ts +19 -0
  192. package/lib/data-fields/enumeration-field/enumeration-icon-field/abstract-enumeration-icon-field.component.d.ts +9 -9
  193. package/lib/data-fields/enumeration-field/enumeration-list-field/abstract-enumeration-list-field.component.d.ts +6 -8
  194. package/lib/data-fields/enumeration-field/enumeration-select-field/abstract-enumeration-select-field.component.d.ts +6 -8
  195. package/lib/data-fields/enumeration-field/enumeration-stepper-field/abstract-enumeration-stepper-field.component.d.ts +8 -9
  196. package/lib/data-fields/enumeration-field/models/enumeration-field.d.ts +8 -1
  197. package/lib/data-fields/file-field/abstract-file-field.component.d.ts +9 -147
  198. package/lib/data-fields/file-field/file-default-field/abstract-file-default-field.component.d.ts +151 -0
  199. package/lib/data-fields/file-field/models/file-field-constants.d.ts +4 -0
  200. package/lib/data-fields/file-field/models/file-field.d.ts +1 -0
  201. package/lib/data-fields/file-list-field/abstract-file-list-field.component.d.ts +8 -71
  202. package/lib/data-fields/file-list-field/file-list-default-field/abstract-file-list-default-field.component.d.ts +76 -0
  203. package/lib/data-fields/file-list-field/models/file-list-field.d.ts +1 -0
  204. package/lib/data-fields/filter-field/abstract-filter-field-tab-view-content.component.d.ts +3 -3
  205. package/lib/data-fields/filter-field/abstract-filter-field-tab-view.component.d.ts +3 -3
  206. package/lib/data-fields/filter-field/abstract-filter-field.component.d.ts +6 -11
  207. package/lib/data-fields/filter-field/filter-default-field/abstract-filter-default-field.component.d.ts +18 -0
  208. package/lib/data-fields/filter-field/models/filter-field.d.ts +1 -0
  209. package/lib/data-fields/i18n-field/abstract-i18n-errors.component.d.ts +6 -9
  210. package/lib/data-fields/i18n-field/abstract-i18n-field.component.d.ts +3 -0
  211. package/lib/data-fields/i18n-field/i18n-divider-field/abstract-i18n-divider-field.component.d.ts +6 -8
  212. package/lib/data-fields/i18n-field/i18n-text-field/abstract-i18n-text-field.component.d.ts +5 -8
  213. package/lib/data-fields/i18n-field/models/i18n-field.d.ts +1 -0
  214. package/lib/data-fields/models/abstract-data-field-component.d.ts +1 -0
  215. package/lib/data-fields/models/abstract-data-field.d.ts +9 -0
  216. package/lib/data-fields/models/changed-fields.d.ts +7 -6
  217. package/lib/data-fields/models/component.d.ts +20 -0
  218. package/lib/data-fields/models/data-field-portal-data-injection-token.d.ts +13 -0
  219. package/lib/data-fields/models/update-strategy.d.ts +6 -0
  220. package/lib/data-fields/multichoice-field/abstract-multichoice-field.component.d.ts +3 -0
  221. package/lib/data-fields/multichoice-field/models/multichoice-field.d.ts +7 -0
  222. package/lib/data-fields/multichoice-field/multichoice-autocomplete-field/abstract-multichoice-autocomplete-field-component.component.d.ts +6 -9
  223. package/lib/data-fields/multichoice-field/multichoice-caseref-field/abstract-multichoice-caseref-field.component.d.ts +16 -0
  224. package/lib/data-fields/multichoice-field/multichoice-list-field/abstract-multichoice-list-field.component.d.ts +6 -7
  225. package/lib/data-fields/multichoice-field/multichoice-select-field/abstract-multichoice-select-field.component.d.ts +6 -8
  226. package/lib/data-fields/number-field/abstract-number-errors.component.d.ts +6 -9
  227. package/lib/data-fields/number-field/abstract-number-field.component.d.ts +3 -0
  228. package/lib/data-fields/number-field/currency-number-field/abstract-currency-number-field.component.d.ts +4 -2
  229. package/lib/data-fields/number-field/models/number-field.d.ts +1 -0
  230. package/lib/data-fields/number-field/number-default-field/abstract-default-number-field.component.d.ts +4 -2
  231. package/lib/data-fields/public-api.d.ts +20 -1
  232. package/lib/data-fields/string-collection-field/models/string-collection-field.d.ts +9 -0
  233. package/lib/data-fields/string-collection-field/string-collection-default-field/abstract-string-collection-default-field.component.d.ts +18 -0
  234. package/lib/data-fields/task-ref-field/abstract-task-ref-field.component.d.ts +6 -13
  235. package/lib/data-fields/task-ref-field/model/task-ref-field.d.ts +1 -0
  236. package/lib/data-fields/task-ref-field/task-ref-dashboard-field/abstract-task-ref-dashboard-field.component.d.ts +20 -0
  237. package/lib/data-fields/task-ref-field/task-ref-list-field/abstract-task-ref-list-field.component.d.ts +16 -0
  238. package/lib/data-fields/text-field/abstract-dashboard-text-field.component.d.ts +7 -10
  239. package/lib/data-fields/text-field/abstract-text-errors.component.d.ts +7 -2
  240. package/lib/data-fields/text-field/dashboard-bar-chart-text-field/abstract-dashboard-bar-chart-text-field.component.d.ts +4 -2
  241. package/lib/data-fields/text-field/dashboard-iframe-text-field/abstract-dashboard-iframe-text-field.component.d.ts +4 -2
  242. package/lib/data-fields/text-field/dashboard-line-chart-text-field/abstract-dashboard-line-chart-text-field.component.d.ts +4 -2
  243. package/lib/data-fields/text-field/dashboard-pie-chart-text-field/abstract-dashboard-pie-chart-text-field.component.d.ts +4 -2
  244. package/lib/data-fields/text-field/dashboard-portal-text-field/abstract-dashboard-portal-text-field.component.d.ts +4 -2
  245. package/lib/data-fields/text-field/html-textarea-field/abstract-html-textarea-field.component.d.ts +5 -9
  246. package/lib/data-fields/text-field/models/text-field.d.ts +3 -2
  247. package/lib/data-fields/text-field/password-text-field/abstract-password-text-field.component.d.ts +5 -9
  248. package/lib/data-fields/text-field/rich-textarea-field/abstract-rich-textarea-field.component.d.ts +5 -9
  249. package/lib/data-fields/text-field/simple-text-field/abstract-simple-text-field.component.d.ts +5 -9
  250. package/lib/data-fields/text-field/textarea-field/abstract-textarea-field.component.d.ts +6 -9
  251. package/lib/data-fields/time-instance-abstract-field/abstract-time-instance-field.component.d.ts +6 -15
  252. package/lib/data-fields/user-field/abstract-user-field.component.d.ts +5 -28
  253. package/lib/data-fields/user-field/models/user-field.d.ts +1 -0
  254. package/lib/data-fields/user-field/user-default-field/abstract-user-default-field.component.d.ts +34 -0
  255. package/lib/data-fields/user-list-field/abstract-user-list-field.component.d.ts +5 -25
  256. package/lib/data-fields/user-list-field/models/user-list-field.d.ts +1 -0
  257. package/lib/data-fields/user-list-field/user-list-default-field/abstract-user-list-default-field.component.d.ts +24 -0
  258. package/lib/dialog/injection-tokens.d.ts +10 -0
  259. package/lib/dialog/public-api.d.ts +1 -0
  260. package/lib/event/model/event-constants.d.ts +5 -1
  261. package/lib/event/services/event.service.d.ts +3 -0
  262. package/lib/filter/models/case-search-request-body.d.ts +3 -0
  263. package/lib/filter/models/task-search-request-body.d.ts +9 -0
  264. package/lib/filter/user-filters.service.d.ts +4 -2
  265. package/lib/header/abstract-header.component.d.ts +10 -2
  266. package/lib/header/header-modes/abstract-header-mode.component.d.ts +6 -1
  267. package/lib/impersonation/services/impersonation-user-select.service.d.ts +3 -3
  268. package/lib/navigation/group-navigation-component-resolver/group-navigation-component-resolver.service.d.ts +0 -1
  269. package/lib/navigation/model/group-navigation-constants.d.ts +119 -34
  270. package/lib/navigation/model/navigation-configs.d.ts +25 -0
  271. package/lib/navigation/navigation-double-drawer/abstract-navigation-double-drawer.d.ts +42 -39
  272. package/lib/navigation/navigation-tree/abstract-navigation-tree.component.d.ts +2 -27
  273. package/lib/navigation/public-api.d.ts +1 -0
  274. package/lib/navigation/service/uri.service.d.ts +6 -0
  275. package/lib/navigation/utility/filter-extraction.service.d.ts +9 -2
  276. package/lib/navigation/utility/navigation-item-task-utility-methods.d.ts +16 -1
  277. package/lib/panel/case-panel/abstract-case-panel.component.d.ts +5 -1
  278. package/lib/panel/task-panel/abstract-task-panel.component.d.ts +9 -3
  279. package/lib/panel/task-panel-list/default-task-panel-list/abstract-default-task-list.component.d.ts +5 -2
  280. package/lib/panel/task-panel-list/task-panel-list-pagination/abstract-task-list-pagination.component.d.ts +2 -1
  281. package/lib/panel/task-panel-single/abstract-single-task.component.d.ts +5 -3
  282. package/lib/panel/workflow-panel/abstract-workflow-panel.component.d.ts +3 -1
  283. package/lib/public/factories/public-search-factory.d.ts +3 -0
  284. package/lib/{data-fields/text-field/dashboard-portal-text-field/dashboard-portal-component-registry.service.d.ts → registry/component-registry.service.d.ts} +6 -5
  285. package/lib/registry/front-action-registry.service.d.ts +13 -0
  286. package/lib/registry/public-api.d.ts +2 -0
  287. package/lib/resources/interface/case-get-request-body.d.ts +3 -0
  288. package/lib/resources/interface/event-outcome.d.ts +5 -0
  289. package/lib/routing/routing-builder/routing-builder.service.d.ts +2 -0
  290. package/lib/search/fulltext-search-component/abstract-fulltext-search.component.d.ts +2 -1
  291. package/lib/search/search-component/abstract-search.component.d.ts +2 -1
  292. package/lib/side-menu/content-components/import-net/abstract-import-net.component.d.ts +3 -1
  293. package/lib/side-menu/content-components/injection-tokens.d.ts +1 -0
  294. package/lib/side-menu/content-components/new-case/model/new-case-injection-data.d.ts +2 -1
  295. package/lib/side-menu/content-components/public-api.d.ts +2 -0
  296. package/lib/side-menu/content-components/task-view/model/task-view-injection-data.d.ts +4 -0
  297. package/lib/side-menu/models/side-menu-control.d.ts +0 -2
  298. package/lib/task/services/task-data.service.d.ts +10 -8
  299. package/lib/task-content/field-component-resolver/abstract-field-component-resolver.component.d.ts +7 -3
  300. package/lib/task-content/model/field-type-resource.d.ts +3 -1
  301. package/lib/task-content/services/single-task-content.service.d.ts +2 -2
  302. package/lib/task-content/services/task-content.service.d.ts +20 -23
  303. package/lib/task-content/services/unlimited-task-content.service.d.ts +2 -2
  304. package/lib/task-content/task-content/abstract-task-content.component.d.ts +5 -1
  305. package/lib/utility/navigation-item-default-headers-factory.d.ts +3 -0
  306. package/lib/utility/public-api.d.ts +1 -0
  307. package/lib/view/abstract/netgrif-paginator-intl.d.ts +19 -0
  308. package/lib/view/case-view/components/case-list-paginator/abstract-case-list-paginator.component.d.ts +3 -1
  309. package/lib/view/case-view/components/default-case-list/abstract-default-case-list.component.d.ts +4 -2
  310. package/lib/view/case-view/service/case-view-service.d.ts +5 -5
  311. package/lib/view/public-api.d.ts +1 -0
  312. package/lib/view/task-view/abstract-single-task-view.component.d.ts +9 -7
  313. package/lib/view/workflow-view/abstract-workflow-view.component.d.ts +3 -3
  314. package/package.json +1 -1
  315. package/public-api.d.ts +2 -1
  316. package/src/assets/i18n/de.json +15 -2
  317. package/src/assets/i18n/en.json +15 -2
  318. package/src/assets/i18n/sk.json +15 -2
  319. package/esm2020/lib/data-fields/text-field/dashboard-portal-text-field/dashboard-portal-component-registry.service.mjs +0 -35
  320. package/esm2020/lib/providers/base-filter/base-filter-factory.provider.mjs +0 -24
  321. package/esm2020/lib/providers/case-resource/case-resource-service.provider.mjs +0 -28
  322. package/esm2020/lib/providers/petrinet-resource/petrinet-resource-service.provider.mjs +0 -28
  323. package/esm2020/lib/providers/process-service/process-service.provider.mjs +0 -30
  324. package/esm2020/lib/providers/public-api.mjs +0 -6
  325. package/esm2020/lib/providers/task-resource/task-resource-service.provider.mjs +0 -32
  326. package/lib/providers/base-filter/base-filter-factory.provider.d.ts +0 -14
  327. package/lib/providers/case-resource/case-resource-service.provider.d.ts +0 -14
  328. package/lib/providers/petrinet-resource/petrinet-resource-service.provider.d.ts +0 -14
  329. package/lib/providers/process-service/process-service.provider.d.ts +0 -15
  330. package/lib/providers/public-api.d.ts +0 -5
  331. package/lib/providers/task-resource/task-resource-service.provider.d.ts +0 -16
@@ -16,7 +16,12 @@ export declare abstract class AbstractHeaderComponent implements OnInit, OnDestr
16
16
  protected readonly DEFAULT_COLUMN_WIDTH = 220;
17
17
  protected readonly INPUT_DEBOUNCE_TIME = 600;
18
18
  type: HeaderType;
19
- hideEditMode: boolean;
19
+ hideHeaderMenu: boolean;
20
+ showEditButton: boolean;
21
+ showSortButton: boolean;
22
+ showSearchButton: boolean;
23
+ showTableSection: boolean;
24
+ approval: boolean;
20
25
  headerService: AbstractHeaderService;
21
26
  protected _headerSearch: HeaderSearchService;
22
27
  readonly headerModeEnum: typeof HeaderMode;
@@ -30,9 +35,12 @@ export declare abstract class AbstractHeaderComponent implements OnInit, OnDestr
30
35
  subColumnWidthControl: Subscription;
31
36
  protected _initHeaderCount: number;
32
37
  protected _initResponsiveHeaders: boolean;
38
+ protected _approvalFormControl: FormControl;
33
39
  constructor(_injector: Injector, _translate: TranslateService, _overflowService: OverflowService);
34
40
  set maxHeaderColumns(count: number);
35
41
  set responsiveHeaders(responsive: boolean);
42
+ get approvalFormControl(): FormControl;
43
+ changeHeadersMode(mode: HeaderMode, saveLastMode?: boolean): void;
36
44
  ngOnInit(): void;
37
45
  ngOnDestroy(): void;
38
46
  /**
@@ -52,5 +60,5 @@ export declare abstract class AbstractHeaderComponent implements OnInit, OnDestr
52
60
  protected initializeFormControls(exist: boolean): void;
53
61
  protected initializeValueChanges(): void;
54
62
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractHeaderComponent, [null, null, { optional: true; }]>;
55
- static ɵcmp: i0.ɵɵComponentDeclaration<AbstractHeaderComponent, "ncc-abstract-header", never, { "type": "type"; "hideEditMode": "hideEditMode"; "maxHeaderColumns": "maxHeaderColumns"; "responsiveHeaders": "responsiveHeaders"; }, {}, never, never>;
63
+ static ɵcmp: i0.ɵɵComponentDeclaration<AbstractHeaderComponent, "ncc-abstract-header", never, { "type": "type"; "hideHeaderMenu": "hideHeaderMenu"; "showEditButton": "showEditButton"; "showSortButton": "showSortButton"; "showSearchButton": "showSearchButton"; "showTableSection": "showTableSection"; "approval": "approval"; "maxHeaderColumns": "maxHeaderColumns"; "responsiveHeaders": "responsiveHeaders"; }, {}, never, never>;
56
64
  }
@@ -1,8 +1,13 @@
1
+ import { FormControl } from '@angular/forms';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare abstract class AbstractHeaderModeComponent {
3
4
  overflowWidth: string;
5
+ approval: boolean;
6
+ indeterminate: boolean;
7
+ approvalFormControl: FormControl;
8
+ typeApproval: string;
4
9
  constructor();
5
10
  getMinWidth(): string;
6
11
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractHeaderModeComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<AbstractHeaderModeComponent, "ncc-abstract-header-mode", never, { "overflowWidth": "overflowWidth"; }, {}, never, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<AbstractHeaderModeComponent, "ncc-abstract-header-mode", never, { "overflowWidth": "overflowWidth"; "approval": "approval"; "indeterminate": "indeterminate"; "approvalFormControl": "approvalFormControl"; "typeApproval": "typeApproval"; }, {}, never, never>;
8
13
  }
@@ -1,19 +1,19 @@
1
1
  import { ImpersonationService } from "./impersonation.service";
2
2
  import { LoggerService } from '../../logger/services/logger.service';
3
3
  import { SnackBarService } from '../../snack-bar/services/snack-bar.service';
4
- import { SideMenuService } from '../../side-menu/services/side-menu.service';
5
4
  import { UserImpersonateInjectionData } from '../../side-menu/content-components/user-impersonate/model/user-impersonate-injection-data';
6
5
  import { UserService } from '../../user/services/user.service';
6
+ import { MatDialog } from '@angular/material/dialog';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class ImpersonationUserSelectService {
9
9
  protected _log: LoggerService;
10
- protected _sideMenuService: SideMenuService;
11
10
  protected _snackBar: SnackBarService;
12
11
  protected _impersonation: ImpersonationService;
13
12
  protected _user: UserService;
13
+ protected _dialog: MatDialog;
14
14
  protected _userImpersonateComponent: any;
15
15
  protected _adminImpersonateComponent: any;
16
- constructor(_log: LoggerService, _sideMenuService: SideMenuService, _snackBar: SnackBarService, _impersonation: ImpersonationService, _user: UserService, _userImpersonateComponent: any, _adminImpersonateComponent: any);
16
+ constructor(_log: LoggerService, _snackBar: SnackBarService, _impersonation: ImpersonationService, _user: UserService, _dialog: MatDialog, _userImpersonateComponent: any, _adminImpersonateComponent: any);
17
17
  /**
18
18
  * Opens side menu with users who can be impersonated by logged user
19
19
  */
@@ -10,6 +10,5 @@ export declare abstract class GroupNavigationComponentResolverService {
10
10
  protected constructor(_taskResourceService: TaskResourceService, _log: LoggerService);
11
11
  protected abstract resolveViewComponent(navigationItemTaskData: Array<DataGroup>): Type<any>;
12
12
  createResolvedViewComponentPortal(taskId: string, parentInjector: Injector): Observable<ComponentPortal<any>>;
13
- protected resolveDefaultHeaders(caze: Array<DataGroup>): Array<string> | undefined;
14
13
  private forwardError;
15
14
  }
@@ -8,50 +8,135 @@ export declare enum GroupNavigationConstants {
8
8
  */
9
9
  GROUP_NAVIGATION_ROUTER_PARAM = "filterCaseId",
10
10
  /**
11
- * Id of the transition that stores the group navigation menu data
11
+ * Field id, that contains the tab name of the navigation item.
12
12
  */
13
- NAVIGATION_CONFIG_TRANSITION_ID = "navigationMenuConfig",
13
+ NAVIGATION_ENTRY_TITLE_FIELD_ID_SUFFIX = "tab_name",
14
14
  /**
15
- * Id of the task ref field that holds the ids of the individual navigation item tasks
15
+ * Boolean field id, that determines if the navigation defines a tab icon.
16
16
  */
17
- NAVIGATION_ENTRIES_TASK_REF_FIELD_ID = "filter_tasks",
17
+ NAVIGATION_ENTRY_ICON_ENABLED_FIELD_ID_SUFFIX = "use_tab_icon",
18
18
  /**
19
- * Suffix of the field id that contains the name of the navigation entry.
20
- * Since the field itself is inserted via task ref the actual id is prefixed by the task id.
19
+ * Text field id, that contains the id of the used material icon.
21
20
  */
22
- NAVIGATION_ENTRY_TITLE_FIELD_ID_SUFFIX = "entry_name",
21
+ NAVIGATION_ENTRY_ICON_FIELD_ID_SUFFIX = "tab_icon",
23
22
  /**
24
- * Suffix of the field id that contains the filter case id.
25
- * Since the field itself is inserted via task ref the actual id is prefixed by the task id.
26
- */
27
- NAVIGATION_FILTER_CASE_ID_FIELD_ID_SUFFIX = "filter_case_id",
23
+ * TaskRef field, that contains taskId of filter task
24
+ * */
25
+ ITEM_FIELD_ID_FILTER_TASKREF = "current_filter_preview",
28
26
  /**
29
- * Suffix of the field id that is the navigation entry marker.
30
- * Since the field itself is inserted via task ref the actual id is prefixed by the task id.
31
- */
32
- NAVIGATION_ENTRY_MARKER_FIELD_ID_SUFFIX = "entry_marker",
27
+ * Text field id, that contains title of create case button
28
+ * */
29
+ ITEM_FIELD_ID_CREATE_CASE_BUTTON_TITLE = "create_case_button_title",
33
30
  /**
34
- * Suffix of the boolean field id that determines if the navigation entry defines an icon.
35
- * Since the field itself is inserted via task ref the actual id is prefixed by the task id.
36
- */
37
- NAVIGATION_ENTRY_ICON_ENABLED_FIELD_ID_SUFFIX = "use_icon",
31
+ * Text field id, that contains icon name of create case button
32
+ * */
33
+ ITEM_FIELD_ID_CREATE_CASE_BUTTON_ICON = "create_case_button_icon",
38
34
  /**
39
- * Suffix of the text field id that contains the id of the used material icon.
40
- * Since the field itself is inserted via task ref the actual id is prefixed by the task id.
41
- */
42
- NAVIGATION_ENTRY_ICON_FIELD_ID_SUFFIX = "icon_name",
35
+ * EnumerationMap field, that contains selected search type for case view
36
+ * */
37
+ ITEM_FIELD_ID_CASE_VIEW_SEARCH_TYPE = "case_view_search_type",
43
38
  /**
44
- * Suffix of the text field id that contains the IDs of roles that are able to view the navigation entry.
45
- * Since the field itself is inserted via task ref the actual id is prefixed by the task id.
46
- */
47
- NAVIGATION_ENTRY_ALLOWED_ROLES_FIELD_ID_SUFFIX = "allowed_roles",
39
+ * EnumerationMap field, that contains selected search type for task view
40
+ * */
41
+ ITEM_FIELD_ID_TASK_VIEW_SEARCH_TYPE = "task_view_search_type",
48
42
  /**
49
- * Suffix of the text field id that contains the IDs of roles that are banned from viewing the navigation entry.
50
- * Since the field itself is inserted via task ref the actual id is prefixed by the task id.
51
- */
52
- NAVIGATION_ENTRY_BANNED_ROLES_FIELD_ID_SUFFIX = "banned_roles",
43
+ * Boolean field, that is true if user wants to merge base filter and custom filter
44
+ * */
45
+ ITEM_FIELD_ID_MERGE_FILTERS = "merge_filters",
53
46
  /**
54
- * The number of datagroups in the navigation configuration task that correspond to a single navigation entry.
55
- */
56
- DATAGROUPS_PER_NAVIGATION_ENTRY = 2
47
+ * TaskRef field, that contains taskId of custom filter for task view
48
+ * */
49
+ ITEM_FIELD_ID_ADDITIONAL_FILTER_TASKREF = "current_additional_filter_preview",
50
+ /**
51
+ * Boolean field, that is true if the user wants to see more menu for case item in case view
52
+ * */
53
+ ITEM_FIELD_ID_CASE_SHOW_MORE_MENU = "case_show_more_menu",
54
+ /**
55
+ * Boolean field, that is true if no input for title in case creation is shown
56
+ * */
57
+ ITEM_FIELD_ID_CASE_TITLE_IN_CREATION = "case_require_title_in_creation",
58
+ /**
59
+ * Text field, that contains banned processes in case creation as a value
60
+ * */
61
+ ITEM_FIELD_ID_CASE_BANNED_PROCESS_CREATION = "case_banned_nets_in_creation",
62
+ /**
63
+ * Boolean field, that is true if the user wants to see more menu for task item in task view
64
+ * */
65
+ ITEM_FIELD_ID_TASK_SHOW_MORE_MENU = "task_show_more_menu",
66
+ /**
67
+ * MultichoiceMap field, that contains selected header modes for case view as a value
68
+ * */
69
+ ITEM_FIELD_ID_CASE_HEADERS_MODE = "case_headers_mode",
70
+ /**
71
+ * Boolean field, that is true if table mode can be applied in case view
72
+ * */
73
+ ITEM_FIELD_ID_CASE_ALLOW_TABLE_MODE = "case_allow_header_table_mode",
74
+ /**
75
+ * EnumerationMap field, that contains selected default header mode for case view as a value
76
+ * */
77
+ ITEM_FIELD_ID_CASE_DEFAULT_HEADERS_MODE = "case_headers_default_mode",
78
+ /**
79
+ * Boolean field, that is true to make mode menu in case view visible
80
+ * */
81
+ ITEM_FIELD_ID_CASE_HEADERS_CHANGEABLE = "case_is_header_mode_changeable",
82
+ /**
83
+ * MultichoiceMap field, that contains selected header modes for task view as a value
84
+ * */
85
+ ITEM_FIELD_ID_TASK_HEADERS_MODE = "task_headers_mode",
86
+ /**
87
+ * Boolean field, that is true if table mode can be applied in task view
88
+ * */
89
+ ITEM_FIELD_ID_TASK_ALLOW_TABLE_MODE = "task_allow_header_table_mode",
90
+ /**
91
+ * EnumerationMap field, that contains selected default header mode for task view as a value
92
+ * */
93
+ ITEM_FIELD_ID_TASK_DEFAULT_HEADERS_MODE = "task_headers_default_mode",
94
+ /**
95
+ * Boolean field, that is true to make mode menu in task view visible
96
+ * */
97
+ ITEM_FIELD_ID_TASK_HEADERS_CHANGEABLE = "task_is_header_mode_changeable",
98
+ /**
99
+ * Boolean field, that is true to use default headers configuration for case view
100
+ * */
101
+ ITEM_FIELD_ID_USE_CASE_DEFAULT_HEADERS = "use_case_default_headers",
102
+ /**
103
+ * Text field, that contains default header metadata separated by comma for case view as a value
104
+ * */
105
+ ITEM_FIELD_ID_CASE_DEFAULT_HEADERS = "case_default_headers",
106
+ /**
107
+ * Boolean field, that is true to use default headers configuration for task view
108
+ * */
109
+ ITEM_FIELD_ID_USE_TASK_DEFAULT_HEADERS = "use_task_default_headers",
110
+ /**
111
+ * Text field, that contains default header metadata separated by comma for task view as a value
112
+ * */
113
+ ITEM_FIELD_ID_TASK_DEFAULT_HEADERS = "task_default_headers",
114
+ /**
115
+ * MultichoiceMap field, that contains allowed roles as value
116
+ * */
117
+ ITEM_FIELD_ID_ALLOWED_ROLES = "allowed_roles",
118
+ /**
119
+ * MultichoiceMap field, that contains banned roles as value
120
+ * */
121
+ ITEM_FIELD_ID_BANNED_ROLES = "banned_roles",
122
+ /**
123
+ * Text field, that contains icon identifier
124
+ * */
125
+ ITEM_FIELD_ID_MENU_ICON = "menu_icon",
126
+ /**
127
+ * I18n field, that contains labels of menu item
128
+ * */
129
+ ITEM_FIELD_ID_MENU_NAME = "menu_name",
130
+ /**
131
+ * Text field, that contains URI
132
+ * */
133
+ ITEM_FIELD_ID_NODE_PATH = "nodePath",
134
+ /**
135
+ * Boolean field, that is true if item contains child items
136
+ * */
137
+ ITEM_FIELD_ID_HAS_CHILDREN = "hasChildren",
138
+ /**
139
+ * CaseField containing stringIds of child instances of process preference_item
140
+ * */
141
+ ITEM_FIELD_ID_CHILD_ITEM_IDS = "childItemIds"
57
142
  }
@@ -0,0 +1,25 @@
1
+ import { MatDrawerMode } from '@angular/material/sidenav';
2
+ import { View } from '../../../commons/schema';
3
+ import { Case } from '../../resources/interface/case';
4
+ export interface ConfigDoubleMenu {
5
+ mode: MatDrawerMode;
6
+ opened: boolean;
7
+ disableClose: boolean;
8
+ width: number;
9
+ }
10
+ export interface NavigationItem extends View {
11
+ id: string;
12
+ resource?: Case;
13
+ }
14
+ export declare const MENU_IDENTIFIERS: string[];
15
+ export declare const SETTINGS_TRANSITION_ID = "item_settings";
16
+ export declare const LEFT_DRAWER_DEFAULT_WIDTH = 60;
17
+ export declare const RIGHT_DRAWER_DEFAULT_WIDTH = 240;
18
+ export declare const RIGHT_DRAWER_DEFAULT_MIN_WIDTH = 180;
19
+ export declare const RIGHT_DRAWER_MAX_WIDTH = 460;
20
+ export declare const RIGHT_SIDE_NEW_PAGE_SIZE = 10;
21
+ export declare const RIGHT_SIDE_INIT_PAGE_SIZE = 20;
22
+ export declare enum MenuOrder {
23
+ Ascending = 0,
24
+ Descending = 1
25
+ }
@@ -1,6 +1,5 @@
1
1
  import { BreakpointObserver } from '@angular/cdk/layout';
2
2
  import { OnDestroy, OnInit, TemplateRef } from '@angular/core';
3
- import { MatDrawerMode } from '@angular/material/sidenav';
4
3
  import { ActivatedRoute, Router } from '@angular/router';
5
4
  import { ResizeEvent } from 'angular-resizable-element';
6
5
  import { Observable, Subscription } from 'rxjs';
@@ -18,30 +17,24 @@ import { UserService } from '../../user/services/user.service';
18
17
  import { LoadingEmitter } from '../../utility/loading-emitter';
19
18
  import { UriNodeResource } from '../model/uri-resource';
20
19
  import { UriService } from '../service/uri.service';
20
+ import { I18nFieldValue } from "../../data-fields/i18n-field/models/i18n-field-value";
21
+ import { TranslateService } from "@ngx-translate/core";
22
+ import { CaseResourceService } from "../../resources/engine-endpoint/case-resource.service";
23
+ import { Page } from "../../resources/interface/page";
24
+ import { ConfigDoubleMenu, MenuOrder, NavigationItem } from '../model/navigation-configs';
21
25
  import * as i0 from "@angular/core";
22
- export interface ConfigDoubleMenu {
23
- mode: MatDrawerMode;
24
- opened: boolean;
25
- disableClose: boolean;
26
- width: number;
27
- }
28
- export interface ViewNavigationItem extends View {
29
- id: string;
30
- resource?: Case;
31
- }
32
- export declare const FILTER_IDENTIFIERS: string[];
33
- export declare const FILTER_VIEW_TASK_TRANSITION_ID = "view";
34
- export declare const FILTER_DEFAULT_HEADERS_ID = "default_headers";
35
26
  export declare abstract class AbstractNavigationDoubleDrawerComponent implements OnInit, OnDestroy {
36
27
  protected _router: Router;
37
28
  protected _activatedRoute: ActivatedRoute;
38
29
  protected _breakpoint: BreakpointObserver;
39
30
  protected _languageService: LanguageService;
31
+ protected _translateService: TranslateService;
40
32
  protected _userService: UserService;
41
33
  protected _accessService: AccessService;
42
34
  protected _log: LoggerService;
43
35
  protected _config: ConfigurationService;
44
36
  protected _uriService: UriService;
37
+ protected _caseResourceService: CaseResourceService;
45
38
  protected _impersonationUserSelect: ImpersonationUserSelectService;
46
39
  protected _impersonation: ImpersonationService;
47
40
  protected _dynamicRoutingService: DynamicNavigationRouteProviderService;
@@ -62,29 +55,29 @@ export declare abstract class AbstractNavigationDoubleDrawerComponent implements
62
55
  foldersCategoryName: string;
63
56
  viewsCategoryName: string;
64
57
  /**
65
- * Array of folder nodes on left side
58
+ * List of displayed items on the left side
59
+ * */
60
+ leftItems: Array<NavigationItem>;
61
+ /**
62
+ * List of displayed items on the right side
66
63
  * */
67
- leftNodes: Array<UriNodeResource>;
64
+ rightItems: Array<NavigationItem>;
68
65
  /**
69
- * Array of folder nodes on right side
66
+ * List of hidden items
70
67
  * */
71
- rightNodes: Array<UriNodeResource>;
68
+ moreItems: Array<NavigationItem>;
72
69
  /**
73
- * Processes that can be displayed under folders on right side menu
70
+ * List of custom items in more menu
74
71
  * */
75
- views: Array<ViewNavigationItem>;
76
- moreMenuItems: Array<ViewNavigationItem>;
77
- protected _leftNodesSubscription: Subscription;
78
- protected _rightNodesSubscription: Subscription;
79
- protected _filtersSubscription: Subscription;
72
+ hiddenCustomItems: Array<NavigationItem>;
73
+ itemsOrder: MenuOrder;
80
74
  protected _breakpointSubscription: Subscription;
81
- protected _rootSubscription: Subscription;
82
75
  protected _currentNodeSubscription: Subscription;
83
76
  /**
84
77
  * Currently display uri
85
78
  * Siblings of the node are on the left, children are on the right
86
79
  */
87
- private _currentNode;
80
+ protected _currentNode: UriNodeResource;
88
81
  leftLoading$: LoadingEmitter;
89
82
  rightLoading$: LoadingEmitter;
90
83
  nodeLoading$: LoadingEmitter;
@@ -92,15 +85,14 @@ export declare abstract class AbstractNavigationDoubleDrawerComponent implements
92
85
  protected _configRightMenu: ConfigDoubleMenu;
93
86
  protected _childCustomViews: {
94
87
  [uri: string]: {
95
- [key: string]: ViewNavigationItem;
88
+ [key: string]: NavigationItem;
96
89
  };
97
90
  };
98
- protected constructor(_router: Router, _activatedRoute: ActivatedRoute, _breakpoint: BreakpointObserver, _languageService: LanguageService, _userService: UserService, _accessService: AccessService, _log: LoggerService, _config: ConfigurationService, _uriService: UriService, _impersonationUserSelect: ImpersonationUserSelectService, _impersonation: ImpersonationService, _dynamicRoutingService: DynamicNavigationRouteProviderService);
91
+ protected constructor(_router: Router, _activatedRoute: ActivatedRoute, _breakpoint: BreakpointObserver, _languageService: LanguageService, _translateService: TranslateService, _userService: UserService, _accessService: AccessService, _log: LoggerService, _config: ConfigurationService, _uriService: UriService, _caseResourceService: CaseResourceService, _impersonationUserSelect: ImpersonationUserSelectService, _impersonation: ImpersonationService, _dynamicRoutingService: DynamicNavigationRouteProviderService);
99
92
  ngOnInit(): void;
100
93
  get currentNode(): UriNodeResource;
101
94
  set currentNode(node: UriNodeResource);
102
- protected resolveUriForChildViews(configPath: string, childView: View): void;
103
- protected resolveHiddenMenuItemFromChildViews(configPath: string, childView: View): void;
95
+ protected resolveMenuItems(node: UriNodeResource): void;
104
96
  ngOnDestroy(): void;
105
97
  get configLeftMenu(): ConfigDoubleMenu;
106
98
  get configRightMenu(): ConfigDoubleMenu;
@@ -126,25 +118,36 @@ export declare abstract class AbstractNavigationDoubleDrawerComponent implements
126
118
  * Current level is set to a lower number in order to set the left side menu.
127
119
  * */
128
120
  onBackClick(): void;
129
- onNodeClick(node: UriNodeResource): void;
130
- onViewClick(view: ViewNavigationItem): void;
121
+ onItemClick(item: NavigationItem): void;
122
+ hasItemChildren(item: NavigationItem): boolean;
123
+ isItemAndNodeEqual(item: NavigationItem, node: UriNodeResource): boolean;
131
124
  protected loadLeftSide(): void;
132
125
  protected loadRightSide(): void;
133
- protected resolveFilterCaseToViewNavigationItem(filter: Case): ViewNavigationItem | undefined;
126
+ protected extractChildCaseIds(item: Case): string[];
127
+ protected getItemCasesByIdsInOnePage(caseIds: string[]): Observable<Page<Case>>;
128
+ protected getItemCasesByIds(caseIds: string[], pageNumber: number, pageSize: string | number): Observable<Page<Case>>;
129
+ loadMoreItems(): void;
130
+ isAscending(): boolean;
131
+ switchOrder(): void;
132
+ protected resolveCustomViewsInRightSide(): void;
133
+ protected resolveCustomViewsInLeftSide(): void;
134
+ protected resolveItemCaseToNavigationItem(itemCase: Case): NavigationItem | undefined;
135
+ protected representsRootNode(item: Case): boolean;
136
+ protected getTranslation(value: I18nFieldValue): string;
134
137
  protected resolveAccessRoles(filter: Case, roleType: string): Array<RoleAccess> | undefined;
135
- protected getFilterRoutingPath(filterCase: Case): string;
136
- protected compareStrings(a: string, b: string): number;
138
+ protected getItemRoutingPath(itemCase: Case): string;
137
139
  /**
138
140
  * Function to check whether the back button should be displayed
139
141
  * @returns boolean if the back button should be displayed
140
142
  * */
141
143
  isOnZeroLevel(): boolean;
142
- isLeftNodesEmpty(): boolean;
143
- isRightNodesEmpty(): boolean;
144
- isViewsEmpty(): boolean;
144
+ isLeftItemsEmpty(): boolean;
145
+ isRightItemsEmpty(): boolean;
145
146
  uriNodeTrackBy(index: number, node: UriNodeResource): string;
146
- viewsTrackBy(index: number, view: ViewNavigationItem): string;
147
+ itemsTrackBy(index: number, item: NavigationItem): string;
147
148
  onResizeEvent(event: ResizeEvent): void;
149
+ protected resolveUriForChildViews(configPath: string, childView: View): void;
150
+ protected resolveHiddenMenuItemFromChildViews(configPath: string, childView: View): void;
148
151
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractNavigationDoubleDrawerComponent, never>;
149
152
  static ɵcmp: i0.ɵɵComponentDeclaration<AbstractNavigationDoubleDrawerComponent, "ncc-abstract-navigation-double-drawer", never, { "portalLeftMenu": "portalLeftMenu"; "portalRightMenu": "portalRightMenu"; "imageRouterLink": "imageRouterLink"; "imageAlt": "imageAlt"; "image": "image"; "profileRouterLink": "profileRouterLink"; "includeUser": "includeUser"; "includeLanguage": "includeLanguage"; "includeMoreMenu": "includeMoreMenu"; "includeImpersonation": "includeImpersonation"; "allClosable": "allClosable"; "folderIcon": "folderIcon"; "openedFolderIcon": "openedFolderIcon"; "filterIcon": "filterIcon"; "foldersCategoryName": "foldersCategoryName"; "viewsCategoryName": "viewsCategoryName"; }, {}, never, never>;
150
153
  }
@@ -1,16 +1,15 @@
1
1
  import { OnDestroy, OnInit } from '@angular/core';
2
2
  import { NestedTreeControl } from '@angular/cdk/tree';
3
3
  import { ConfigurationService } from '../../configuration/configuration.service';
4
- import { Services, View, Views } from '../../../commons/schema';
4
+ import { View, Views } from '../../../commons/schema';
5
5
  import { Router } from '@angular/router';
6
6
  import { MatTreeNestedDataSource } from '@angular/material/tree';
7
- import { Observable, ReplaySubject } from 'rxjs';
7
+ import { ReplaySubject } from 'rxjs';
8
8
  import { LoggerService } from '../../logger/services/logger.service';
9
9
  import { UserService } from '../../user/services/user.service';
10
10
  import { AbstractNavigationResizableDrawerComponent } from '../navigation-drawer/abstract-navigation-resizable-drawer.component';
11
11
  import { ActiveGroupService } from '../../groups/services/active-group.service';
12
12
  import { TaskResourceService } from '../../resources/engine-endpoint/task-resource.service';
13
- import { DataGroup } from '../../resources/interface/data-groups';
14
13
  import { LanguageService } from '../../translate/language.service';
15
14
  import { DynamicNavigationRouteProviderService } from '../../routing/dynamic-navigation-route-provider/dynamic-navigation-route-provider.service';
16
15
  import { AccessService } from "../../authorization/permission/access.service";
@@ -37,11 +36,9 @@ export declare abstract class AbstractNavigationTreeComponent extends AbstractNa
37
36
  parentUrl: string;
38
37
  routerChange: boolean;
39
38
  protected _reloadNavigation: ReplaySubject<void>;
40
- protected _groupNavigationConfig: Services['groupNavigation'];
41
39
  private _subscriptions;
42
40
  private _subGroupResolution;
43
41
  private _subLangChange;
44
- private _groupNavNodesCount;
45
42
  treeControl: NestedTreeControl<NavigationNode>;
46
43
  dataSource: MatTreeNestedDataSource<NavigationNode>;
47
44
  protected constructor(_config: ConfigurationService, _router: Router, _log: LoggerService, _userService: UserService, _accessService: AccessService, _activeGroupService: ActiveGroupService, _taskResourceService: TaskResourceService, _languageService: LanguageService, _navigationRouteProvider: DynamicNavigationRouteProviderService);
@@ -80,28 +77,6 @@ export declare abstract class AbstractNavigationTreeComponent extends AbstractNa
80
77
  protected appendRouteSegment(parentUrl: string, routeSegment: string): string;
81
78
  protected resolveLevels(nodes: Array<NavigationNode>, parentLevel?: number): void;
82
79
  protected resolveChange(): void;
83
- /**
84
- * @returns `true` if the layout of the provided {@link View} node's name indicates it is a
85
- * [group navigation outlet]{@link GroupNavigationConstants#GROUP_NAVIGATION_OUTLET}. Returns `false` otherwise.
86
- */
87
- protected isGroupNavigationNode(view: View): boolean;
88
- /**
89
- * Forces a reload of the group navigation nodes.
90
- * @param insertPosition the position in the container where group navigation nodes reside
91
- * @param nodeContainer the node container that contains the group navigation nodes
92
- * (can be an inner node of the navigation tree or its root)
93
- */
94
- protected loadGroupNavigationNodes(insertPosition: number, nodeContainer: Array<NavigationNode>): void;
95
- protected generateGroupNavigationNodes(): Observable<Array<NavigationNode>>;
96
- protected convertDatagroupsToNavEntries(navConfigDatagroups: Array<DataGroup>): Array<NavigationNode>;
97
- /**
98
- * Splits the provided strings on the ':' character and returns an array of the resulting splits.
99
- *
100
- * If any of the input strings split into fewer or more than 2 strings an error is thrown.
101
- *
102
- * @param joined a list of strings in the form `<role identifier>:<net identifier>`
103
- */
104
- protected extractRoleAndNetId(joined: Array<string>): Array<Array<string>>;
105
80
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractNavigationTreeComponent, never>;
106
81
  static ɵcmp: i0.ɵɵComponentDeclaration<AbstractNavigationTreeComponent, "ncc-abstract-navigation-tree", never, { "viewPath": "viewPath"; "parentUrl": "parentUrl"; "routerChange": "routerChange"; }, {}, never, never>;
107
82
  }
@@ -15,5 +15,6 @@ export * from './model/filter-case-injection-token';
15
15
  export * from './model/size-menu-injection-token';
16
16
  export * from './model/group-navigation-item-label';
17
17
  export * from './model/uri-resource';
18
+ export * from './model/navigation-configs';
18
19
  export * from './utility/navigation-item-task-utility-methods';
19
20
  export * from './group-navigation-component-resolver/group-navigation-view-id-segment-factory';
@@ -56,6 +56,12 @@ export declare class UriService implements OnDestroy {
56
56
  * @param pageSize optional parameter for loaded page size. Defaults to value of injection token URI_NODE_CASES_PAGE_SIZE or to value "20".
57
57
  */
58
58
  getCasesOfNode(node?: UriNodeResource, processIdentifiers?: Array<string>, pageNumber?: number, pageSize?: string | number): Observable<Page<Case>>;
59
+ /**
60
+ * Get menu item case by nodePath field value
61
+ * @param node a node, that is represented by the wanted case
62
+ * @return page containing 1 case
63
+ */
64
+ getItemCaseByNodePath(node?: UriNodeResource): Observable<Page<Case>>;
59
65
  /**
60
66
  * Get siblings node of the provided node
61
67
  * @param node siblings node
@@ -4,6 +4,9 @@ import { FilterRepository } from '../../filter/filter.repository';
4
4
  import { LoggerService } from '../../logger/services/logger.service';
5
5
  import { TaskResourceService } from '../../resources/engine-endpoint/task-resource.service';
6
6
  import { DataField } from '../../data-fields/models/abstract-data-field';
7
+ import { AllowedNetsService } from "../../allowed-nets/services/allowed-nets.service";
8
+ import { AllowedNetsServiceFactory } from "../../allowed-nets/services/factory/allowed-nets-service-factory";
9
+ import { BaseAllowedNetsService } from "../../allowed-nets/services/base-allowed-nets.service";
7
10
  import * as i0 from "@angular/core";
8
11
  /**
9
12
  * This service is able to load the full saved filter including all of its ancestor filters.
@@ -11,10 +14,14 @@ import * as i0 from "@angular/core";
11
14
  export declare class FilterExtractionService {
12
15
  protected _filterRepository: FilterRepository;
13
16
  protected _taskResourceService: TaskResourceService;
17
+ protected _factory: AllowedNetsServiceFactory;
18
+ protected baseAllowedNets: BaseAllowedNetsService;
14
19
  protected _log: LoggerService;
15
20
  protected static readonly UNTABBED_VIEW_ID_EXTRACTOR = "^.*?(-\\d+)?$";
16
- constructor(_filterRepository: FilterRepository, _taskResourceService: TaskResourceService, _log: LoggerService);
17
- extractCompleteFilterFromData(dataSection: Array<DataGroup>): Filter | undefined;
21
+ constructor(_filterRepository: FilterRepository, _taskResourceService: TaskResourceService, _factory: AllowedNetsServiceFactory, baseAllowedNets: BaseAllowedNetsService, _log: LoggerService);
22
+ extractAdditionalFilterAllowedNets(dataSection: Array<DataGroup>): AllowedNetsService;
23
+ extractCompleteAdditionalFilterFromData(dataSection: Array<DataGroup>): Filter | undefined;
24
+ extractCompleteFilterFromData(dataSection: Array<DataGroup>, fieldId?: string): Filter | undefined;
18
25
  protected extractViewFilter(originViewIdField: DataField<any>): Filter | undefined;
19
26
  static ɵfac: i0.ɵɵFactoryDeclaration<FilterExtractionService, never>;
20
27
  static ɵprov: i0.ɵɵInjectableDeclaration<FilterExtractionService>;
@@ -2,11 +2,14 @@ import { GroupNavigationItemLabel } from '../model/group-navigation-item-label';
2
2
  import { DataGroup } from '../../resources/interface/data-groups';
3
3
  import { Filter } from '../../filter/models/filter';
4
4
  import { FilterField } from '../../data-fields/filter-field/models/filter-field';
5
+ import { SearchMode } from "../../search/models/component-configuration/search-mode";
6
+ import { TranslateService } from "@ngx-translate/core";
5
7
  /**
6
8
  * Extracts the item name and item icon (if any) rom a section of the navigation item task data.
7
9
  * @param dataSection an array containing the data groups that correspond to a single navigation entry
10
+ * @param translateService is a service to translate label name
8
11
  */
9
- export declare function extractIconAndTitle(dataSection: Array<DataGroup>): GroupNavigationItemLabel;
12
+ export declare function extractIconAndTitle(dataSection: Array<DataGroup>, translateService: TranslateService): GroupNavigationItemLabel;
10
13
  /**
11
14
  * Based on provided parameter extracts allowed or banned roles into an Array of strings from a section of the navigation item task data.
12
15
  * Each item has format ROLE_IMPORT_ID:NET_IMPORT_ID
@@ -31,3 +34,15 @@ export declare function extractFilterFieldFromData(dataSection: Array<DataGroup>
31
34
  * Throws an error if this is not possible.
32
35
  */
33
36
  export declare function extractFilterFromFilterField(filterField: FilterField): Filter;
37
+ /**
38
+ * Extracts the selected search type from enumeration field of the navigation item task data.
39
+ * @returns a {@link SearchMode} containing {@link SearchMode.ADVANCED} or {@link SearchMode.FULLTEXT} or {@link undefined}
40
+ * if unexpected value is found
41
+ * */
42
+ export declare function extractSearchTypeFromData(dataSection: Array<DataGroup>, typeFieldId: string): SearchMode;
43
+ /**
44
+ * Extracts field value from data
45
+ * @returns value of extracted field
46
+ * @throws Error if no field is found
47
+ * */
48
+ export declare function extractFieldValueFromData<T>(dataSection: Array<DataGroup>, fieldId: string): T;
@@ -12,6 +12,7 @@ import { UserService } from '../../user/services/user.service';
12
12
  import { FeaturedValue } from '../abstract/featured-value';
13
13
  import { CurrencyPipe } from '@angular/common';
14
14
  import { PermissionService } from '../../authorization/permission/permission.service';
15
+ import { FormControl } from '@angular/forms';
15
16
  import * as i0 from "@angular/core";
16
17
  export declare abstract class AbstractCasePanelComponent extends AbstractPanelWithImmediateDataComponent {
17
18
  protected _caseResourceService: CaseResourceService;
@@ -24,6 +25,7 @@ export declare abstract class AbstractCasePanelComponent extends AbstractPanelWi
24
25
  protected _permissionService: PermissionService;
25
26
  protected _overflowService: OverflowService;
26
27
  case_: Case;
28
+ approval: boolean;
27
29
  selectedHeaders$: Observable<Array<HeaderColumn>>;
28
30
  responsiveBody: boolean;
29
31
  first: boolean;
@@ -31,7 +33,9 @@ export declare abstract class AbstractCasePanelComponent extends AbstractPanelWi
31
33
  showCasePanelIcon: boolean;
32
34
  showDeleteMenu: boolean;
33
35
  textEllipsis: boolean;
36
+ protected _approvalFormControl: FormControl;
34
37
  protected constructor(_caseResourceService: CaseResourceService, _caseViewService: CaseViewService, _snackBarService: SnackBarService, _translateService: TranslateService, _log: LoggerService, _userService: UserService, _currencyPipe: CurrencyPipe, _permissionService: PermissionService, _overflowService: OverflowService);
38
+ get approvalFormControl(): FormControl;
35
39
  show(event: MouseEvent): boolean;
36
40
  protected getFeaturedMetaValue(selectedHeader: HeaderColumn): FeaturedValue;
37
41
  protected getFeaturedImmediateValue(selectedHeader: HeaderColumn): FeaturedValue;
@@ -40,5 +44,5 @@ export declare abstract class AbstractCasePanelComponent extends AbstractPanelWi
40
44
  private throwError;
41
45
  getMinWidth(): string;
42
46
  static ɵfac: i0.ɵɵFactoryDeclaration<AbstractCasePanelComponent, [null, null, null, null, null, null, null, null, { optional: true; }]>;
43
- static ɵcmp: i0.ɵɵComponentDeclaration<AbstractCasePanelComponent, "ncc-abstract-case-panel", never, { "case_": "case_"; "selectedHeaders$": "selectedHeaders$"; "responsiveBody": "responsiveBody"; "first": "first"; "last": "last"; "showCasePanelIcon": "showCasePanelIcon"; "showDeleteMenu": "showDeleteMenu"; "textEllipsis": "textEllipsis"; }, {}, never, never>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<AbstractCasePanelComponent, "ncc-abstract-case-panel", never, { "case_": "case_"; "approval": "approval"; "selectedHeaders$": "selectedHeaders$"; "responsiveBody": "responsiveBody"; "first": "first"; "last": "last"; "showCasePanelIcon": "showCasePanelIcon"; "showDeleteMenu": "showDeleteMenu"; "textEllipsis": "textEllipsis"; }, {}, never, never>;
44
48
  }