@netgrif/components 6.4.0-rc.8 → 7.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (643) hide show
  1. package/README.md +1 -1
  2. package/esm2022/lib/admin/admin.module.mjs +33 -0
  3. package/esm2022/lib/admin/ldap-group-role-assignment/ldap-group-role-assignment.component.mjs +40 -0
  4. package/esm2022/lib/admin/role-assignment/role-assignment.component.mjs +42 -0
  5. package/esm2022/lib/admin/user-invite/user-invite.component.mjs +39 -0
  6. package/esm2022/lib/authentication/auth.module.mjs +38 -0
  7. package/esm2022/lib/authentication/authentication-overlay/authentication-overlay.component.mjs +27 -0
  8. package/esm2022/lib/authentication/session-idle/popup-session-idle/popup-session-idle.component.mjs +26 -0
  9. package/esm2022/lib/authentication/session-idle/session-idle.component.mjs +40 -0
  10. package/esm2022/lib/dashboard/cards/barchart-card/barchart-card.component.mjs +45 -0
  11. package/esm2022/lib/dashboard/cards/count-card/count-card.component.mjs +21 -0
  12. package/esm2022/lib/dashboard/cards/iframe-card/iframe-card.component.mjs +20 -0
  13. package/esm2022/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.mjs +42 -0
  14. package/esm2022/lib/dashboard/cards/linechart-card/line-chart-card.component.mjs +54 -0
  15. package/esm2022/lib/dashboard/cards/piechart-card/pie-chart-card.component.mjs +47 -0
  16. package/esm2022/lib/dashboard/cards/portal-card/portal-card.component.mjs +43 -0
  17. package/esm2022/lib/dashboard/dashboard-content/dashboard-content.component.mjs +27 -0
  18. package/esm2022/lib/dashboard/dashboard.module.mjs +77 -0
  19. package/{esm2020 → esm2022}/lib/data-fields/boolean-field/boolean-default-field/boolean-default-field.component.mjs +13 -13
  20. package/{esm2020 → esm2022}/lib/data-fields/boolean-field/boolean-field.component.mjs +9 -9
  21. package/esm2022/lib/data-fields/button-field/button-default-field/button-default-field.component.mjs +45 -0
  22. package/esm2022/lib/data-fields/button-field/button-field.component.mjs +27 -0
  23. package/{esm2020 → esm2022}/lib/data-fields/case-ref-field/case-ref-default/case-ref-default.component.mjs +7 -7
  24. package/esm2022/lib/data-fields/data-field-template/data-field-template.component.mjs +26 -0
  25. package/{esm2020 → esm2022}/lib/data-fields/data-fields.module.mjs +92 -94
  26. package/esm2022/lib/data-fields/date-field/date-default-field/date-default-field.component.mjs +39 -0
  27. package/{esm2020 → esm2022}/lib/data-fields/date-field/date-field.component.mjs +11 -11
  28. package/esm2022/lib/data-fields/date-time-field/date-time-default-field/date-time-default-field.component.mjs +40 -0
  29. package/{esm2020 → esm2022}/lib/data-fields/date-time-field/date-time-field.component.mjs +11 -11
  30. package/esm2022/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.mjs +32 -0
  31. package/esm2022/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.mjs +30 -0
  32. package/{esm2020 → esm2022}/lib/data-fields/enumeration-field/enumeration-caseref-field/enumeration-caseref-field.component.mjs +7 -7
  33. package/{esm2020 → esm2022}/lib/data-fields/enumeration-field/enumeration-field.component.mjs +9 -9
  34. package/{esm2020 → esm2022}/lib/data-fields/enumeration-field/enumeration-icon-field/enumeration-icon-field.component.mjs +13 -13
  35. package/{esm2020 → esm2022}/lib/data-fields/enumeration-field/enumeration-list-field/enumeration-list-field.component.mjs +13 -13
  36. package/{esm2020 → esm2022}/lib/data-fields/enumeration-field/enumeration-select-field/enumeration-select-field.component.mjs +11 -11
  37. package/esm2022/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.mjs +29 -0
  38. package/esm2022/lib/data-fields/file-field/file-default-field/file-default-field.component.mjs +52 -0
  39. package/{esm2020 → esm2022}/lib/data-fields/file-field/file-field.component.mjs +9 -9
  40. package/esm2022/lib/data-fields/file-field/preview-dialog/preview-dialog.component.mjs +35 -0
  41. package/esm2022/lib/data-fields/file-list-field/file-list-default-field/file-list-default-field.component.mjs +32 -0
  42. package/{esm2020 → esm2022}/lib/data-fields/file-list-field/file-list-field.component.mjs +9 -9
  43. package/{esm2020 → esm2022}/lib/data-fields/filter-field/filter-default-field/filter-default-field.component.mjs +7 -7
  44. package/{esm2020 → esm2022}/lib/data-fields/filter-field/filter-field-content/filter-field-content.component.mjs +15 -15
  45. package/{esm2020 → esm2022}/lib/data-fields/filter-field/filter-field.component.mjs +9 -9
  46. package/{esm2020 → esm2022}/lib/data-fields/filter-field/tab-view-filter-field/filter-field-tab-view-content.component.mjs +13 -13
  47. package/esm2022/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.mjs +23 -0
  48. package/{esm2020 → esm2022}/lib/data-fields/i18n-field/i18n-field.component.mjs +8 -8
  49. package/esm2022/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.mjs +65 -0
  50. package/esm2022/lib/data-fields/multichoice-field/multichoice-autocomplete-field/multichoice-autocomplete-field.component.mjs +30 -0
  51. package/{esm2020 → esm2022}/lib/data-fields/multichoice-field/multichoice-caseref-field/multichoice-caseref-field.component.mjs +7 -7
  52. package/{esm2020 → esm2022}/lib/data-fields/multichoice-field/multichoice-field.component.mjs +9 -9
  53. package/{esm2020 → esm2022}/lib/data-fields/multichoice-field/multichoice-list-field/multichoice-list-field.component.mjs +13 -13
  54. package/{esm2020 → esm2022}/lib/data-fields/multichoice-field/multichoice-select-field/multichoice-select-field.component.mjs +11 -11
  55. package/esm2022/lib/data-fields/number-field/number-currency-field/number-currency-field.component.mjs +37 -0
  56. package/esm2022/lib/data-fields/number-field/number-decimal-field/number-decimal-field.component.mjs +38 -0
  57. package/{esm2020 → esm2022}/lib/data-fields/number-field/number-default-field/number-default-field.component.mjs +10 -10
  58. package/{esm2020 → esm2022}/lib/data-fields/number-field/number-field.component.mjs +8 -8
  59. package/esm2022/lib/data-fields/required-label/required-label.component.mjs +18 -0
  60. package/esm2022/lib/data-fields/string-collection-field/string-collection-default-field/string-collection-default-field.component.mjs +30 -0
  61. package/esm2022/lib/data-fields/task-ref-field/task-ref-dashboard-field/task-ref-dashboard-field.component.mjs +39 -0
  62. package/esm2022/lib/data-fields/task-ref-field/task-ref-dashboard-field/task-ref-dashboard-tile/task-ref-dashboard-tile.component.mjs +62 -0
  63. package/esm2022/lib/data-fields/task-ref-field/task-ref-field.component.mjs +28 -0
  64. package/{esm2020 → esm2022}/lib/data-fields/task-ref-field/task-ref-list-field/task-ref-list-field.component.mjs +7 -7
  65. package/{esm2020 → esm2022}/lib/data-fields/text-field/dashboard-bar-chart-text-field/dashboard-bar-chart-text-field.component.mjs +8 -8
  66. package/{esm2020 → esm2022}/lib/data-fields/text-field/dashboard-iframe-text-field/dashboard-iframe-text-field.component.mjs +8 -8
  67. package/{esm2020 → esm2022}/lib/data-fields/text-field/dashboard-line-chart-text-field/dashboard-line-chart-text-field.component.mjs +8 -8
  68. package/{esm2020 → esm2022}/lib/data-fields/text-field/dashboard-pie-chart-text-field/dashboard-pie-chart-text-field.component.mjs +8 -8
  69. package/esm2022/lib/data-fields/text-field/dashboard-portal-text-field/dashboard-portal-text-field.component.mjs +45 -0
  70. package/esm2022/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.mjs +38 -0
  71. package/esm2022/lib/data-fields/text-field/password-text-field/password-text-field.component.mjs +32 -0
  72. package/esm2022/lib/data-fields/text-field/rich-textarea-field/easymde-wrapper/easymde-wrapper.component.mjs +90 -0
  73. package/esm2022/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.mjs +29 -0
  74. package/esm2022/lib/data-fields/text-field/signature-pad-field/signature-pad-field.component.mjs +105 -0
  75. package/esm2022/lib/data-fields/text-field/simple-text-field/simple-text-field.component.mjs +28 -0
  76. package/{esm2020 → esm2022}/lib/data-fields/text-field/text-field.component.mjs +8 -8
  77. package/esm2022/lib/data-fields/text-field/textarea-field/textarea-field.component.mjs +31 -0
  78. package/esm2022/lib/data-fields/user-field/user-default-field/user-default-field.component.mjs +35 -0
  79. package/esm2022/lib/data-fields/user-field/user-field.component.mjs +25 -0
  80. package/esm2022/lib/data-fields/user-list-field/user-list-default-field/user-list-default-field.component.mjs +38 -0
  81. package/{esm2020 → esm2022}/lib/data-fields/user-list-field/user-list-field.component.mjs +9 -9
  82. package/esm2022/lib/dialog/admin-impersonate-dialog/admin-impersonate-dialog.component.mjs +87 -0
  83. package/esm2022/lib/dialog/dialog.module.mjs +175 -0
  84. package/esm2022/lib/dialog/filter-selector-dialog/filter-selector-dialog.component.mjs +200 -0
  85. package/esm2022/lib/dialog/import-net-dialog/import-net-dialog.component.mjs +160 -0
  86. package/esm2022/lib/dialog/load-filter-dialog/load-filter-dialog.component.mjs +103 -0
  87. package/esm2022/lib/dialog/multi-user-assign-dialog/multi-user-assign-dialog.component.mjs +76 -0
  88. package/esm2022/lib/dialog/new-case-dialog/new-case-dialog.component.mjs +272 -0
  89. package/esm2022/lib/dialog/save-filter-dialog/save-filter-dialog.component.mjs +88 -0
  90. package/esm2022/lib/dialog/task-view-dialog/task-view-dialog.component.mjs +97 -0
  91. package/esm2022/lib/dialog/user-assign-dialog/user-assign-dialog.component.mjs +83 -0
  92. package/esm2022/lib/dialog/user-impersonate-dialog/user-impersonate-dialog.component.mjs +102 -0
  93. package/esm2022/lib/filter-field-content/filter-field-content.module.mjs +62 -0
  94. package/{esm2020 → esm2022}/lib/filter-field-content/filter-field-tab-view/filter-field-tab-view.component.mjs +7 -7
  95. package/esm2022/lib/filter-field-content/filter-field-tabbed-case-view/filter-field-tabbed-case-view.component.mjs +70 -0
  96. package/esm2022/lib/filter-field-content/filter-field-tabbed-task-view/filter-field-tabbed-task-view.component.mjs +76 -0
  97. package/esm2022/lib/forms/change-password/change-password-form.component.mjs +44 -0
  98. package/esm2022/lib/forms/change-password/change-password-form.component.module.mjs +38 -0
  99. package/esm2022/lib/forms/email-submission/email-submission-form.component.mjs +25 -0
  100. package/esm2022/lib/forms/email-submission/email-submission-form.module.mjs +39 -0
  101. package/esm2022/lib/forms/forgotten-password/forgotten-password-form-component.module.mjs +35 -0
  102. package/esm2022/lib/forms/forgotten-password/forgotten-password-form.component.mjs +30 -0
  103. package/esm2022/lib/forms/login/login-form.component.mjs +27 -0
  104. package/esm2022/lib/forms/login/login-form.module.mjs +35 -0
  105. package/esm2022/lib/forms/registration/registration-form.component.mjs +31 -0
  106. package/esm2022/lib/forms/registration/registration-form.module.mjs +39 -0
  107. package/esm2022/lib/header/header-modes/edit-mode/edit-mode.component.mjs +34 -0
  108. package/esm2022/lib/header/header-modes/loading-mode/loading-mode.component.mjs +18 -0
  109. package/esm2022/lib/header/header-modes/search-mode/search-mode.component.mjs +46 -0
  110. package/esm2022/lib/header/header-modes/sort-mode/sort-mode.component.mjs +26 -0
  111. package/esm2022/lib/header/header.component.mjs +88 -0
  112. package/esm2022/lib/header/header.module.mjs +66 -0
  113. package/{esm2020 → esm2022}/lib/legal/legal-notice/legal-notice.component.mjs +5 -5
  114. package/esm2022/lib/legal/legal-notice/legal-notice.module.mjs +24 -0
  115. package/esm2022/lib/navigation/breadcrumbs/breadcrumbs.component.mjs +21 -0
  116. package/esm2022/lib/navigation/group-navigation-component-resolver/default-components/default-case-ref-list-view/default-case-ref-list-view.component.mjs +138 -0
  117. package/esm2022/lib/navigation/group-navigation-component-resolver/default-components/default-no-filter-provided/default-no-filter-provided.component.mjs +14 -0
  118. package/esm2022/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.mjs +80 -0
  119. package/esm2022/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.mjs +154 -0
  120. package/esm2022/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.mjs +187 -0
  121. package/esm2022/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.mjs +120 -0
  122. package/esm2022/lib/navigation/group-navigation-component-resolver/default-components/default-task-view/default-task-view.component.mjs +64 -0
  123. package/esm2022/lib/navigation/group-navigation-component-resolver/default-group-navigation-component-resolver.service.mjs +75 -0
  124. package/{esm2020 → esm2022}/lib/navigation/group-navigation-component-resolver/group-navigation-component-resolver.component.mjs +10 -10
  125. package/esm2022/lib/navigation/navigation-double-drawer/navigation-double-drawer.component.mjs +89 -0
  126. package/esm2022/lib/navigation/navigation-drawer/navigation-drawer.component.mjs +34 -0
  127. package/{esm2020 → esm2022}/lib/navigation/navigation-rail/navigation-rail.component.mjs +9 -9
  128. package/{esm2020 → esm2022}/lib/navigation/navigation-tree/navigation-tree.component.mjs +12 -12
  129. package/esm2022/lib/navigation/navigation.module.mjs +150 -0
  130. package/esm2022/lib/navigation/quick-panel/components/impersonate-quick-panel/impersonate-quick-panel.component.mjs +34 -0
  131. package/{esm2020 → esm2022}/lib/navigation/quick-panel/components/internal-link/internal-link.component.mjs +8 -8
  132. package/esm2022/lib/navigation/quick-panel/components/language-selector/language-selector.component.mjs +25 -0
  133. package/esm2022/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.mjs +27 -0
  134. package/esm2022/lib/navigation/quick-panel/components/quick-panel.component.mjs +29 -0
  135. package/esm2022/lib/navigation/quick-panel/quick-panel.module.mjs +55 -0
  136. package/esm2022/lib/panel/case-panel/case-panel.component.mjs +102 -0
  137. package/{esm2020 → esm2022}/lib/panel/immediate/immediate-filter-text/immediate-filter-text.component.mjs +6 -6
  138. package/{esm2020 → esm2022}/lib/panel/immediate/immediate-filter-text-content/immediate-filter-text-content.component.mjs +16 -16
  139. package/esm2022/lib/panel/panel-item/panel-item.component.mjs +22 -0
  140. package/esm2022/lib/panel/panel.component.mjs +20 -0
  141. package/esm2022/lib/panel/panel.module.mjs +112 -0
  142. package/esm2022/lib/panel/public-workflow-panel/public-workflow-panel.component.mjs +24 -0
  143. package/esm2022/lib/panel/task-panel/task-panel.component.mjs +145 -0
  144. package/esm2022/lib/panel/task-panel-list/task-list.component.mjs +37 -0
  145. package/esm2022/lib/panel/task-panel-list-pagination/task-list-pagination.component.mjs +38 -0
  146. package/esm2022/lib/panel/task-panel-single/single-task.component.mjs +33 -0
  147. package/{esm2020 → esm2022}/lib/panel/workflow-panel/workflow-panel.component.mjs +13 -13
  148. package/esm2022/lib/routing/redirect/redirect.component.mjs +22 -0
  149. package/esm2022/lib/routing/redirect.module.mjs +17 -0
  150. package/{esm2020 → esm2022}/lib/search/advanced-search/advanced-search-component/advanced-search.component.mjs +10 -10
  151. package/esm2022/lib/search/advanced-search/advanced-search.module.mjs +55 -0
  152. package/esm2022/lib/search/advanced-search/search-clause-component/search-clause.component.mjs +20 -0
  153. package/esm2022/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.mjs +31 -0
  154. package/esm2022/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.mjs +36 -0
  155. package/esm2022/lib/search/advanced-search/search-predicate-component/search-predicate.component.mjs +29 -0
  156. package/esm2022/lib/search/fulltext-search-component/fulltext-search.component.mjs +22 -0
  157. package/{esm2020 → esm2022}/lib/search/search-component/case-search/case-search.component.mjs +8 -8
  158. package/esm2022/lib/search/search-component/search.component.mjs +108 -0
  159. package/{esm2020 → esm2022}/lib/search/search-component/task-search/task-search.component.mjs +8 -8
  160. package/esm2022/lib/search/search.module.mjs +64 -0
  161. package/esm2022/lib/side-menu/content-components/admin-impersonate/admin-impersonate-list/admin-impersonate-item/admin-impersonate-item.component.mjs +22 -0
  162. package/{esm2020 → esm2022}/lib/side-menu/content-components/admin-impersonate/admin-impersonate-list/admin-impersonate-list.component.mjs +10 -10
  163. package/esm2022/lib/side-menu/content-components/admin-impersonate/admin-impersonate.component.mjs +40 -0
  164. package/esm2022/lib/side-menu/content-components/admin-impersonate/side-menu-admin-impersonate-component.module.mjs +58 -0
  165. package/{esm2020 → esm2022}/lib/side-menu/content-components/filter-selector/filter-selector-list-item/filter-selector-list-item.component.mjs +6 -6
  166. package/esm2022/lib/side-menu/content-components/filter-selector/filter-selector.component.mjs +55 -0
  167. package/esm2022/lib/side-menu/content-components/filter-selector/side-menu-filter-selector-component.module.mjs +40 -0
  168. package/esm2022/lib/side-menu/content-components/import-net/import-net.component.mjs +61 -0
  169. package/esm2022/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.mjs +48 -0
  170. package/esm2022/lib/side-menu/content-components/load-filter/load-filter.component.mjs +68 -0
  171. package/esm2022/lib/side-menu/content-components/load-filter/side-menu-load-filter-component.module.mjs +40 -0
  172. package/esm2022/lib/side-menu/content-components/multi-user-assign/multi-user-assign-list/multi-user-assign-item/multi-user-assign-item.component.mjs +20 -0
  173. package/esm2022/lib/side-menu/content-components/multi-user-assign/multi-user-assign-list/multi-user-assign-list.component.mjs +25 -0
  174. package/esm2022/lib/side-menu/content-components/multi-user-assign/multi-user-assign.component.mjs +34 -0
  175. package/esm2022/lib/side-menu/content-components/multi-user-assign/side-menu-multi-user-assign-component.module.mjs +61 -0
  176. package/esm2022/lib/side-menu/content-components/new-case/new-case.component.mjs +51 -0
  177. package/esm2022/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.mjs +55 -0
  178. package/esm2022/lib/side-menu/content-components/option-selector/option-selector.component.mjs +34 -0
  179. package/esm2022/lib/side-menu/content-components/option-selector/side-menu-option-selector-component.module.mjs +40 -0
  180. package/esm2022/lib/side-menu/content-components/save-filter/save-filter.component.mjs +61 -0
  181. package/esm2022/lib/side-menu/content-components/save-filter/side-menu-save-filter-component.module.mjs +36 -0
  182. package/esm2022/lib/side-menu/content-components/side-menu-content-component.module.mjs +118 -0
  183. package/esm2022/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.mjs +61 -0
  184. package/esm2022/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.mjs +22 -0
  185. package/esm2022/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.mjs +28 -0
  186. package/esm2022/lib/side-menu/content-components/user-assign/user-assign.component.mjs +38 -0
  187. package/esm2022/lib/side-menu/content-components/user-impersonate/side-menu-user-impersonate-component.module.mjs +40 -0
  188. package/esm2022/lib/side-menu/content-components/user-impersonate/user-impersonate.component.mjs +76 -0
  189. package/esm2022/lib/side-menu/side-menu-container/side-menu-container.component.mjs +24 -0
  190. package/esm2022/lib/side-menu/side-menu.module.mjs +40 -0
  191. package/{esm2020 → esm2022}/lib/tabs/tab-creation-detector/tab-creation-detector.component.mjs +6 -6
  192. package/esm2022/lib/tabs/tab-view/tab-view.component.mjs +35 -0
  193. package/esm2022/lib/tabs/tabs.module.mjs +44 -0
  194. package/esm2022/lib/task-content/field-component-resolver/field-component-resolver.component.mjs +40 -0
  195. package/esm2022/lib/task-content/task-content/task-content.component.mjs +42 -0
  196. package/esm2022/lib/task-content/task-content.module.mjs +45 -0
  197. package/esm2022/lib/toolbar/toolbar.component.mjs +28 -0
  198. package/esm2022/lib/toolbar/toolbar.module.mjs +33 -0
  199. package/esm2022/lib/user/profile/profile.component.mjs +26 -0
  200. package/esm2022/lib/user/profile/profile.module.mjs +33 -0
  201. package/esm2022/lib/user/user-card/user-card.component.mjs +24 -0
  202. package/esm2022/lib/user/user.module.mjs +33 -0
  203. package/esm2022/lib/view/case-view/case-view.module.mjs +37 -0
  204. package/esm2022/lib/view/case-view/components/case-list/case-list.component.mjs +37 -0
  205. package/esm2022/lib/view/case-view/components/case-list-paginator/case-list-paginator.component.mjs +41 -0
  206. package/esm2022/lib/view/case-view/components/create-case-button/create-case-button.component.mjs +70 -0
  207. package/esm2022/lib/view/tree-case-view/tree-case-view.module.mjs +58 -0
  208. package/esm2022/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.mjs +23 -0
  209. package/esm2022/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.mjs +22 -0
  210. package/esm2022/lib/view/tree-case-view/tree-component/tree.component.mjs +28 -0
  211. package/esm2022/lib/view/tree-case-view/tree-task-content/tree-task-content.component.mjs +66 -0
  212. package/esm2022/lib/view/workflow-view/workflow-view.component.mjs +39 -0
  213. package/esm2022/lib/view/workflow-view.module.mjs +51 -0
  214. package/fesm2022/netgrif-components.mjs +8038 -0
  215. package/fesm2022/netgrif-components.mjs.map +1 -0
  216. package/lib/admin/ldap-group-role-assignment/ldap-group-role-assignment.component.d.ts +1 -1
  217. package/lib/admin/role-assignment/role-assignment.component.d.ts +1 -1
  218. package/lib/admin/user-invite/user-invite.component.d.ts +1 -1
  219. package/lib/authentication/auth.module.d.ts +1 -1
  220. package/lib/authentication/authentication-overlay/authentication-overlay.component.d.ts +1 -1
  221. package/lib/authentication/session-idle/popup-session-idle/popup-session-idle.component.d.ts +1 -1
  222. package/lib/authentication/session-idle/session-idle.component.d.ts +1 -1
  223. package/lib/dashboard/cards/barchart-card/barchart-card.component.d.ts +1 -1
  224. package/lib/dashboard/cards/count-card/count-card.component.d.ts +1 -1
  225. package/lib/dashboard/cards/iframe-card/iframe-card.component.d.ts +1 -1
  226. package/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.d.ts +1 -1
  227. package/lib/dashboard/cards/linechart-card/line-chart-card.component.d.ts +1 -1
  228. package/lib/dashboard/cards/piechart-card/pie-chart-card.component.d.ts +1 -1
  229. package/lib/dashboard/cards/portal-card/portal-card.component.d.ts +1 -1
  230. package/lib/dashboard/dashboard-content/dashboard-content.component.d.ts +1 -1
  231. package/lib/data-fields/boolean-field/boolean-default-field/boolean-default-field.component.d.ts +1 -1
  232. package/lib/data-fields/boolean-field/boolean-field.component.d.ts +1 -1
  233. package/lib/data-fields/button-field/button-default-field/button-default-field.component.d.ts +1 -1
  234. package/lib/data-fields/button-field/button-field.component.d.ts +1 -1
  235. package/lib/data-fields/case-ref-field/case-ref-default/case-ref-default.component.d.ts +1 -1
  236. package/lib/data-fields/data-field-template/data-field-template.component.d.ts +1 -1
  237. package/lib/data-fields/data-fields.module.d.ts +1 -1
  238. package/lib/data-fields/date-field/date-default-field/date-default-field.component.d.ts +1 -1
  239. package/lib/data-fields/date-field/date-field.component.d.ts +1 -1
  240. package/lib/data-fields/date-time-field/date-time-default-field/date-time-default-field.component.d.ts +1 -1
  241. package/lib/data-fields/date-time-field/date-time-field.component.d.ts +1 -1
  242. package/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.d.ts +1 -1
  243. package/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.d.ts +1 -1
  244. package/lib/data-fields/enumeration-field/enumeration-caseref-field/enumeration-caseref-field.component.d.ts +1 -1
  245. package/lib/data-fields/enumeration-field/enumeration-field.component.d.ts +1 -1
  246. package/lib/data-fields/enumeration-field/enumeration-icon-field/enumeration-icon-field.component.d.ts +1 -1
  247. package/lib/data-fields/enumeration-field/enumeration-list-field/enumeration-list-field.component.d.ts +1 -1
  248. package/lib/data-fields/enumeration-field/enumeration-select-field/enumeration-select-field.component.d.ts +1 -1
  249. package/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.d.ts +1 -1
  250. package/lib/data-fields/file-field/file-default-field/file-default-field.component.d.ts +1 -1
  251. package/lib/data-fields/file-field/file-field.component.d.ts +1 -1
  252. package/lib/data-fields/file-field/preview-dialog/preview-dialog.component.d.ts +1 -1
  253. package/lib/data-fields/file-list-field/file-list-default-field/file-list-default-field.component.d.ts +1 -1
  254. package/lib/data-fields/file-list-field/file-list-field.component.d.ts +1 -1
  255. package/lib/data-fields/filter-field/filter-default-field/filter-default-field.component.d.ts +1 -1
  256. package/lib/data-fields/filter-field/filter-field-content/filter-field-content.component.d.ts +1 -1
  257. package/lib/data-fields/filter-field/filter-field.component.d.ts +1 -1
  258. package/lib/data-fields/filter-field/tab-view-filter-field/filter-field-tab-view-content.component.d.ts +1 -1
  259. package/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.d.ts +1 -1
  260. package/lib/data-fields/i18n-field/i18n-field.component.d.ts +1 -1
  261. package/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.d.ts +1 -1
  262. package/lib/data-fields/multichoice-field/multichoice-autocomplete-field/multichoice-autocomplete-field.component.d.ts +1 -1
  263. package/lib/data-fields/multichoice-field/multichoice-caseref-field/multichoice-caseref-field.component.d.ts +1 -1
  264. package/lib/data-fields/multichoice-field/multichoice-field.component.d.ts +1 -1
  265. package/lib/data-fields/multichoice-field/multichoice-list-field/multichoice-list-field.component.d.ts +1 -1
  266. package/lib/data-fields/multichoice-field/multichoice-select-field/multichoice-select-field.component.d.ts +1 -1
  267. package/lib/data-fields/number-field/number-currency-field/number-currency-field.component.d.ts +3 -4
  268. package/lib/data-fields/number-field/number-decimal-field/number-decimal-field.component.d.ts +1 -1
  269. package/lib/data-fields/number-field/number-default-field/number-default-field.component.d.ts +1 -1
  270. package/lib/data-fields/number-field/number-field.component.d.ts +1 -1
  271. package/lib/data-fields/required-label/required-label.component.d.ts +1 -1
  272. package/lib/data-fields/string-collection-field/string-collection-default-field/string-collection-default-field.component.d.ts +1 -1
  273. package/lib/data-fields/task-ref-field/task-ref-dashboard-field/task-ref-dashboard-field.component.d.ts +1 -1
  274. package/lib/data-fields/task-ref-field/task-ref-dashboard-field/task-ref-dashboard-tile/task-ref-dashboard-tile.component.d.ts +1 -1
  275. package/lib/data-fields/task-ref-field/task-ref-field.component.d.ts +1 -1
  276. package/lib/data-fields/task-ref-field/task-ref-list-field/task-ref-list-field.component.d.ts +1 -1
  277. package/lib/data-fields/text-field/dashboard-bar-chart-text-field/dashboard-bar-chart-text-field.component.d.ts +1 -1
  278. package/lib/data-fields/text-field/dashboard-iframe-text-field/dashboard-iframe-text-field.component.d.ts +1 -1
  279. package/lib/data-fields/text-field/dashboard-line-chart-text-field/dashboard-line-chart-text-field.component.d.ts +1 -1
  280. package/lib/data-fields/text-field/dashboard-pie-chart-text-field/dashboard-pie-chart-text-field.component.d.ts +1 -1
  281. package/lib/data-fields/text-field/dashboard-portal-text-field/dashboard-portal-text-field.component.d.ts +1 -1
  282. package/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.d.ts +1 -1
  283. package/lib/data-fields/text-field/password-text-field/password-text-field.component.d.ts +1 -1
  284. package/lib/data-fields/text-field/rich-textarea-field/easymde-wrapper/easymde-wrapper.component.d.ts +1 -1
  285. package/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.d.ts +1 -1
  286. package/lib/data-fields/text-field/signature-pad-field/signature-pad-field.component.d.ts +1 -1
  287. package/lib/data-fields/text-field/simple-text-field/simple-text-field.component.d.ts +1 -1
  288. package/lib/data-fields/text-field/text-field.component.d.ts +1 -1
  289. package/lib/data-fields/text-field/textarea-field/textarea-field.component.d.ts +1 -1
  290. package/lib/data-fields/user-field/user-default-field/user-default-field.component.d.ts +1 -1
  291. package/lib/data-fields/user-field/user-field.component.d.ts +1 -1
  292. package/lib/data-fields/user-list-field/user-list-default-field/user-list-default-field.component.d.ts +1 -1
  293. package/lib/data-fields/user-list-field/user-list-field.component.d.ts +1 -1
  294. package/lib/dialog/admin-impersonate-dialog/admin-impersonate-dialog.component.d.ts +2 -2
  295. package/lib/dialog/dialog.module.d.ts +1 -1
  296. package/lib/dialog/filter-selector-dialog/filter-selector-dialog.component.d.ts +1 -1
  297. package/lib/dialog/import-net-dialog/import-net-dialog.component.d.ts +2 -2
  298. package/lib/dialog/load-filter-dialog/load-filter-dialog.component.d.ts +1 -1
  299. package/lib/dialog/multi-user-assign-dialog/multi-user-assign-dialog.component.d.ts +2 -2
  300. package/lib/dialog/new-case-dialog/new-case-dialog.component.d.ts +3 -3
  301. package/lib/dialog/save-filter-dialog/save-filter-dialog.component.d.ts +1 -1
  302. package/lib/dialog/task-view-dialog/task-view-dialog.component.d.ts +1 -1
  303. package/lib/dialog/user-assign-dialog/user-assign-dialog.component.d.ts +2 -2
  304. package/lib/dialog/user-impersonate-dialog/user-impersonate-dialog.component.d.ts +1 -1
  305. package/lib/filter-field-content/filter-field-content.module.d.ts +1 -1
  306. package/lib/filter-field-content/filter-field-tab-view/filter-field-tab-view.component.d.ts +1 -1
  307. package/lib/filter-field-content/filter-field-tabbed-case-view/filter-field-tabbed-case-view.component.d.ts +1 -1
  308. package/lib/filter-field-content/filter-field-tabbed-task-view/filter-field-tabbed-task-view.component.d.ts +1 -1
  309. package/lib/forms/change-password/change-password-form.component.d.ts +1 -1
  310. package/lib/forms/change-password/change-password-form.component.module.d.ts +1 -1
  311. package/lib/forms/email-submission/email-submission-form.component.d.ts +1 -1
  312. package/lib/forms/email-submission/email-submission-form.module.d.ts +1 -1
  313. package/lib/forms/forgotten-password/forgotten-password-form-component.module.d.ts +1 -1
  314. package/lib/forms/forgotten-password/forgotten-password-form.component.d.ts +1 -1
  315. package/lib/forms/login/login-form.component.d.ts +1 -1
  316. package/lib/forms/login/login-form.module.d.ts +1 -1
  317. package/lib/forms/registration/registration-form.component.d.ts +1 -1
  318. package/lib/forms/registration/registration-form.module.d.ts +1 -1
  319. package/lib/header/header-modes/edit-mode/edit-mode.component.d.ts +1 -1
  320. package/lib/header/header-modes/loading-mode/loading-mode.component.d.ts +1 -1
  321. package/lib/header/header-modes/search-mode/search-mode.component.d.ts +5 -4
  322. package/lib/header/header-modes/sort-mode/sort-mode.component.d.ts +1 -1
  323. package/lib/header/header.component.d.ts +2 -2
  324. package/lib/header/header.module.d.ts +1 -1
  325. package/lib/legal/legal-notice/legal-notice.component.d.ts +1 -1
  326. package/lib/navigation/breadcrumbs/breadcrumbs.component.d.ts +1 -1
  327. package/lib/navigation/group-navigation-component-resolver/default-components/default-case-ref-list-view/default-case-ref-list-view.component.d.ts +1 -1
  328. package/lib/navigation/group-navigation-component-resolver/default-components/default-no-filter-provided/default-no-filter-provided.component.d.ts +1 -1
  329. package/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.d.ts +1 -1
  330. package/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.d.ts +1 -1
  331. package/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.d.ts +1 -1
  332. package/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.d.ts +1 -1
  333. package/lib/navigation/group-navigation-component-resolver/default-components/default-task-view/default-task-view.component.d.ts +1 -1
  334. package/lib/navigation/group-navigation-component-resolver/group-navigation-component-resolver.component.d.ts +1 -1
  335. package/lib/navigation/navigation-double-drawer/navigation-double-drawer.component.d.ts +1 -1
  336. package/lib/navigation/navigation-drawer/navigation-drawer.component.d.ts +1 -1
  337. package/lib/navigation/navigation-rail/navigation-rail.component.d.ts +1 -1
  338. package/lib/navigation/navigation-tree/navigation-tree.component.d.ts +1 -1
  339. package/lib/navigation/navigation.module.d.ts +1 -1
  340. package/lib/navigation/quick-panel/components/impersonate-quick-panel/impersonate-quick-panel.component.d.ts +1 -1
  341. package/lib/navigation/quick-panel/components/internal-link/internal-link.component.d.ts +1 -1
  342. package/lib/navigation/quick-panel/components/language-selector/language-selector.component.d.ts +1 -1
  343. package/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.d.ts +1 -1
  344. package/lib/navigation/quick-panel/components/quick-panel.component.d.ts +1 -1
  345. package/lib/panel/case-panel/case-panel.component.d.ts +2 -2
  346. package/lib/panel/immediate/immediate-filter-text/immediate-filter-text.component.d.ts +1 -1
  347. package/lib/panel/immediate/immediate-filter-text-content/immediate-filter-text-content.component.d.ts +1 -1
  348. package/lib/panel/panel-item/panel-item.component.d.ts +1 -1
  349. package/lib/panel/panel.component.d.ts +1 -1
  350. package/lib/panel/panel.module.d.ts +1 -1
  351. package/lib/panel/public-workflow-panel/public-workflow-panel.component.d.ts +1 -1
  352. package/lib/panel/task-panel/task-panel.component.d.ts +1 -1
  353. package/lib/panel/task-panel-list/task-list.component.d.ts +1 -1
  354. package/lib/panel/task-panel-list-pagination/task-list-pagination.component.d.ts +1 -1
  355. package/lib/panel/task-panel-single/single-task.component.d.ts +1 -1
  356. package/lib/panel/workflow-panel/workflow-panel.component.d.ts +1 -1
  357. package/lib/routing/redirect/redirect.component.d.ts +1 -1
  358. package/lib/search/advanced-search/advanced-search-component/advanced-search.component.d.ts +1 -1
  359. package/lib/search/advanced-search/search-clause-component/search-clause.component.d.ts +1 -1
  360. package/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.d.ts +1 -1
  361. package/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.d.ts +1 -1
  362. package/lib/search/advanced-search/search-predicate-component/search-predicate.component.d.ts +1 -1
  363. package/lib/search/fulltext-search-component/fulltext-search.component.d.ts +1 -1
  364. package/lib/search/search-component/case-search/case-search.component.d.ts +1 -1
  365. package/lib/search/search-component/search.component.d.ts +1 -1
  366. package/lib/search/search-component/task-search/task-search.component.d.ts +1 -1
  367. package/lib/side-menu/content-components/admin-impersonate/admin-impersonate-list/admin-impersonate-item/admin-impersonate-item.component.d.ts +1 -1
  368. package/lib/side-menu/content-components/admin-impersonate/admin-impersonate-list/admin-impersonate-list.component.d.ts +1 -1
  369. package/lib/side-menu/content-components/admin-impersonate/admin-impersonate.component.d.ts +1 -1
  370. package/lib/side-menu/content-components/admin-impersonate/side-menu-admin-impersonate-component.module.d.ts +1 -1
  371. package/lib/side-menu/content-components/filter-selector/filter-selector-list-item/filter-selector-list-item.component.d.ts +1 -1
  372. package/lib/side-menu/content-components/filter-selector/filter-selector.component.d.ts +1 -1
  373. package/lib/side-menu/content-components/import-net/import-net.component.d.ts +1 -1
  374. package/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.d.ts +1 -1
  375. package/lib/side-menu/content-components/load-filter/load-filter.component.d.ts +1 -1
  376. package/lib/side-menu/content-components/multi-user-assign/multi-user-assign-list/multi-user-assign-item/multi-user-assign-item.component.d.ts +1 -1
  377. package/lib/side-menu/content-components/multi-user-assign/multi-user-assign-list/multi-user-assign-list.component.d.ts +1 -1
  378. package/lib/side-menu/content-components/multi-user-assign/multi-user-assign.component.d.ts +1 -1
  379. package/lib/side-menu/content-components/multi-user-assign/side-menu-multi-user-assign-component.module.d.ts +1 -1
  380. package/lib/side-menu/content-components/new-case/new-case.component.d.ts +1 -2
  381. package/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.d.ts +1 -1
  382. package/lib/side-menu/content-components/option-selector/option-selector.component.d.ts +1 -1
  383. package/lib/side-menu/content-components/save-filter/save-filter.component.d.ts +1 -1
  384. package/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.d.ts +1 -1
  385. package/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.d.ts +1 -1
  386. package/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.d.ts +1 -1
  387. package/lib/side-menu/content-components/user-assign/user-assign.component.d.ts +1 -1
  388. package/lib/side-menu/content-components/user-impersonate/user-impersonate.component.d.ts +1 -1
  389. package/lib/side-menu/side-menu-container/side-menu-container.component.d.ts +1 -1
  390. package/lib/tabs/tab-creation-detector/tab-creation-detector.component.d.ts +1 -1
  391. package/lib/tabs/tab-view/tab-view.component.d.ts +1 -1
  392. package/lib/tabs/tabs.module.d.ts +1 -1
  393. package/lib/task-content/field-component-resolver/field-component-resolver.component.d.ts +2 -1
  394. package/lib/task-content/task-content/task-content.component.d.ts +1 -1
  395. package/lib/task-content/task-content.module.d.ts +1 -1
  396. package/lib/toolbar/toolbar.component.d.ts +1 -1
  397. package/lib/toolbar/toolbar.module.d.ts +1 -1
  398. package/lib/user/profile/profile.component.d.ts +1 -1
  399. package/lib/user/profile/profile.module.d.ts +2 -1
  400. package/lib/user/user-card/user-card.component.d.ts +1 -1
  401. package/lib/view/case-view/case-view.module.d.ts +1 -1
  402. package/lib/view/case-view/components/case-list/case-list.component.d.ts +1 -1
  403. package/lib/view/case-view/components/case-list-paginator/case-list-paginator.component.d.ts +1 -1
  404. package/lib/view/case-view/components/create-case-button/create-case-button.component.d.ts +1 -1
  405. package/lib/view/tree-case-view/tree-case-view.module.d.ts +1 -1
  406. package/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.d.ts +1 -1
  407. package/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.d.ts +1 -1
  408. package/lib/view/tree-case-view/tree-component/tree.component.d.ts +1 -1
  409. package/lib/view/tree-case-view/tree-task-content/tree-task-content.component.d.ts +1 -1
  410. package/lib/view/workflow-view/workflow-view.component.d.ts +1 -1
  411. package/lib/view/workflow-view.module.d.ts +1 -1
  412. package/nae-theme.scss +10 -2
  413. package/package.json +29 -35
  414. package/schematics/migrations/5.4/migration-5.4.js +6 -2
  415. package/schematics/migrations/5.4/migration-5.4.js.map +1 -1
  416. package/schematics/view/create-view-prompt/views/case-view/create-case-view.js +2 -2
  417. package/schematics/view/create-view-prompt/views/case-view/create-case-view.js.map +1 -1
  418. package/schematics/view/create-view-prompt/views/group-view/create-group-view.js +1 -1
  419. package/schematics/view/create-view-prompt/views/group-view/create-group-view.js.map +1 -1
  420. package/schematics/view/create-view-prompt/views/login/create-login-view.js +1 -1
  421. package/schematics/view/create-view-prompt/views/login/create-login-view.js.map +1 -1
  422. package/schematics/view/create-view-prompt/views/public-resolver-view/create-public-resolver-view.js +2 -2
  423. package/schematics/view/create-view-prompt/views/public-resolver-view/create-public-resolver-view.js.map +1 -1
  424. package/schematics/view/create-view-prompt/views/public-single-task-view/create-public-single-task-view.js +1 -1
  425. package/schematics/view/create-view-prompt/views/public-single-task-view/create-public-single-task-view.js.map +1 -1
  426. package/schematics/view/create-view-prompt/views/public-task-view/create-public-task-view.js +1 -1
  427. package/schematics/view/create-view-prompt/views/public-task-view/create-public-task-view.js.map +1 -1
  428. package/schematics/view/create-view-prompt/views/public-workflow-view/create-public-workflow-view.js +1 -1
  429. package/schematics/view/create-view-prompt/views/public-workflow-view/create-public-workflow-view.js.map +1 -1
  430. package/schematics/view/create-view-prompt/views/tab-view/create-tab-view.js +1 -1
  431. package/schematics/view/create-view-prompt/views/tab-view/create-tab-view.js.map +1 -1
  432. package/schematics/view/create-view-prompt/views/task-view/create-task-view.js +1 -1
  433. package/schematics/view/create-view-prompt/views/task-view/create-task-view.js.map +1 -1
  434. package/schematics/view/create-view-prompt/views/tree-case-view/create-tree-case-view.js +1 -1
  435. package/schematics/view/create-view-prompt/views/tree-case-view/create-tree-case-view.js.map +1 -1
  436. package/src/lib/data-fields/data-field.theme.scss +220 -106
  437. package/src/lib/dialog/dialog.theme.scss +3 -2
  438. package/src/lib/header/header.theme.scss +1 -1
  439. package/src/lib/navigation/navigation.theme.scss +11 -0
  440. package/src/lib/panel/panel.theme.scss +4 -0
  441. package/src/lib/search/advanced-search/search-predicate-component/search-predicate.component.theme.scss +2 -2
  442. package/src/lib/search/search-component/search.component-theme.scss +9 -4
  443. package/src/lib/side-menu/side-menu.theme.scss +1 -1
  444. package/src/lib/tabs/tabs.theme.scss +15 -5
  445. package/esm2020/lib/admin/admin.module.mjs +0 -35
  446. package/esm2020/lib/admin/ldap-group-role-assignment/ldap-group-role-assignment.component.mjs +0 -39
  447. package/esm2020/lib/admin/role-assignment/role-assignment.component.mjs +0 -40
  448. package/esm2020/lib/admin/user-invite/user-invite.component.mjs +0 -34
  449. package/esm2020/lib/authentication/auth.module.mjs +0 -40
  450. package/esm2020/lib/authentication/authentication-overlay/authentication-overlay.component.mjs +0 -22
  451. package/esm2020/lib/authentication/session-idle/popup-session-idle/popup-session-idle.component.mjs +0 -24
  452. package/esm2020/lib/authentication/session-idle/session-idle.component.mjs +0 -39
  453. package/esm2020/lib/dashboard/cards/barchart-card/barchart-card.component.mjs +0 -40
  454. package/esm2020/lib/dashboard/cards/count-card/count-card.component.mjs +0 -20
  455. package/esm2020/lib/dashboard/cards/iframe-card/iframe-card.component.mjs +0 -19
  456. package/esm2020/lib/dashboard/cards/lineargauge-card/linear-gauge-card.component.mjs +0 -37
  457. package/esm2020/lib/dashboard/cards/linechart-card/line-chart-card.component.mjs +0 -49
  458. package/esm2020/lib/dashboard/cards/piechart-card/pie-chart-card.component.mjs +0 -42
  459. package/esm2020/lib/dashboard/cards/portal-card/portal-card.component.mjs +0 -36
  460. package/esm2020/lib/dashboard/dashboard-content/dashboard-content.component.mjs +0 -26
  461. package/esm2020/lib/dashboard/dashboard.module.mjs +0 -79
  462. package/esm2020/lib/data-fields/button-field/button-default-field/button-default-field.component.mjs +0 -42
  463. package/esm2020/lib/data-fields/button-field/button-field.component.mjs +0 -25
  464. package/esm2020/lib/data-fields/data-field-template/data-field-template.component.mjs +0 -24
  465. package/esm2020/lib/data-fields/date-field/date-default-field/date-default-field.component.mjs +0 -38
  466. package/esm2020/lib/data-fields/date-time-field/date-time-default-field/date-time-default-field.component.mjs +0 -39
  467. package/esm2020/lib/data-fields/enumeration-field/enumeration-autocomplete-dynamic-field/enumeration-autocomplete-dynamic-field.component.mjs +0 -31
  468. package/esm2020/lib/data-fields/enumeration-field/enumeration-autocomplete-select-field/enumeration-autocomplete-select-field.component.mjs +0 -29
  469. package/esm2020/lib/data-fields/enumeration-field/enumeration-stepper-field/enumeration-stepper-field.component.mjs +0 -28
  470. package/esm2020/lib/data-fields/file-field/file-default-field/file-default-field.component.mjs +0 -50
  471. package/esm2020/lib/data-fields/file-field/preview-dialog/preview-dialog.component.mjs +0 -33
  472. package/esm2020/lib/data-fields/file-list-field/file-list-default-field/file-list-default-field.component.mjs +0 -32
  473. package/esm2020/lib/data-fields/i18n-field/i18n-divider-field/i18n-divider-field.component.mjs +0 -23
  474. package/esm2020/lib/data-fields/i18n-field/i18n-text-field/i18n-text-field.component.mjs +0 -66
  475. package/esm2020/lib/data-fields/multichoice-field/multichoice-autocomplete-field/multichoice-autocomplete-field.component.mjs +0 -30
  476. package/esm2020/lib/data-fields/number-field/number-currency-field/number-currency-field.component.mjs +0 -35
  477. package/esm2020/lib/data-fields/number-field/number-decimal-field/number-decimal-field.component.mjs +0 -38
  478. package/esm2020/lib/data-fields/required-label/required-label.component.mjs +0 -18
  479. package/esm2020/lib/data-fields/string-collection-field/string-collection-default-field/string-collection-default-field.component.mjs +0 -29
  480. package/esm2020/lib/data-fields/task-ref-field/task-ref-dashboard-field/task-ref-dashboard-field.component.mjs +0 -38
  481. package/esm2020/lib/data-fields/task-ref-field/task-ref-dashboard-field/task-ref-dashboard-tile/task-ref-dashboard-tile.component.mjs +0 -57
  482. package/esm2020/lib/data-fields/task-ref-field/task-ref-field.component.mjs +0 -27
  483. package/esm2020/lib/data-fields/text-field/dashboard-portal-text-field/dashboard-portal-text-field.component.mjs +0 -41
  484. package/esm2020/lib/data-fields/text-field/html-textarea-field/html-textarea-field.component.mjs +0 -36
  485. package/esm2020/lib/data-fields/text-field/password-text-field/password-text-field.component.mjs +0 -30
  486. package/esm2020/lib/data-fields/text-field/rich-textarea-field/easymde-wrapper/easymde-wrapper.component.mjs +0 -85
  487. package/esm2020/lib/data-fields/text-field/rich-textarea-field/rich-textarea-field.component.mjs +0 -28
  488. package/esm2020/lib/data-fields/text-field/signature-pad-field/signature-pad-field.component.mjs +0 -95
  489. package/esm2020/lib/data-fields/text-field/simple-text-field/simple-text-field.component.mjs +0 -27
  490. package/esm2020/lib/data-fields/text-field/textarea-field/textarea-field.component.mjs +0 -29
  491. package/esm2020/lib/data-fields/user-field/user-default-field/user-default-field.component.mjs +0 -35
  492. package/esm2020/lib/data-fields/user-field/user-field.component.mjs +0 -25
  493. package/esm2020/lib/data-fields/user-list-field/user-list-default-field/user-list-default-field.component.mjs +0 -39
  494. package/esm2020/lib/dialog/admin-impersonate-dialog/admin-impersonate-dialog.component.mjs +0 -77
  495. package/esm2020/lib/dialog/dialog.module.mjs +0 -177
  496. package/esm2020/lib/dialog/filter-selector-dialog/filter-selector-dialog.component.mjs +0 -162
  497. package/esm2020/lib/dialog/import-net-dialog/import-net-dialog.component.mjs +0 -153
  498. package/esm2020/lib/dialog/load-filter-dialog/load-filter-dialog.component.mjs +0 -98
  499. package/esm2020/lib/dialog/multi-user-assign-dialog/multi-user-assign-dialog.component.mjs +0 -72
  500. package/esm2020/lib/dialog/new-case-dialog/new-case-dialog.component.mjs +0 -251
  501. package/esm2020/lib/dialog/save-filter-dialog/save-filter-dialog.component.mjs +0 -83
  502. package/esm2020/lib/dialog/task-view-dialog/task-view-dialog.component.mjs +0 -91
  503. package/esm2020/lib/dialog/user-assign-dialog/user-assign-dialog.component.mjs +0 -73
  504. package/esm2020/lib/dialog/user-impersonate-dialog/user-impersonate-dialog.component.mjs +0 -98
  505. package/esm2020/lib/filter-field-content/filter-field-content.module.mjs +0 -64
  506. package/esm2020/lib/filter-field-content/filter-field-tabbed-case-view/filter-field-tabbed-case-view.component.mjs +0 -68
  507. package/esm2020/lib/filter-field-content/filter-field-tabbed-task-view/filter-field-tabbed-task-view.component.mjs +0 -75
  508. package/esm2020/lib/forms/change-password/change-password-form.component.mjs +0 -42
  509. package/esm2020/lib/forms/change-password/change-password-form.component.module.mjs +0 -40
  510. package/esm2020/lib/forms/email-submission/email-submission-form.component.mjs +0 -25
  511. package/esm2020/lib/forms/email-submission/email-submission-form.module.mjs +0 -41
  512. package/esm2020/lib/forms/forgotten-password/forgotten-password-form-component.module.mjs +0 -37
  513. package/esm2020/lib/forms/forgotten-password/forgotten-password-form.component.mjs +0 -30
  514. package/esm2020/lib/forms/login/login-form.component.mjs +0 -26
  515. package/esm2020/lib/forms/login/login-form.module.mjs +0 -37
  516. package/esm2020/lib/forms/registration/registration-form.component.mjs +0 -31
  517. package/esm2020/lib/forms/registration/registration-form.module.mjs +0 -41
  518. package/esm2020/lib/header/header-modes/edit-mode/edit-mode.component.mjs +0 -32
  519. package/esm2020/lib/header/header-modes/loading-mode/loading-mode.component.mjs +0 -18
  520. package/esm2020/lib/header/header-modes/search-mode/search-mode.component.mjs +0 -45
  521. package/esm2020/lib/header/header-modes/sort-mode/sort-mode.component.mjs +0 -26
  522. package/esm2020/lib/header/header.component.mjs +0 -86
  523. package/esm2020/lib/header/header.module.mjs +0 -68
  524. package/esm2020/lib/legal/legal-notice/legal-notice.module.mjs +0 -26
  525. package/esm2020/lib/navigation/breadcrumbs/breadcrumbs.component.mjs +0 -20
  526. package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-case-ref-list-view/default-case-ref-list-view.component.mjs +0 -130
  527. package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-no-filter-provided/default-no-filter-provided.component.mjs +0 -14
  528. package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-simple-task-view/default-simple-task-view.component.mjs +0 -79
  529. package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-tab-view/default-tab-view.component.mjs +0 -150
  530. package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-case-view/default-tabbed-case-view.component.mjs +0 -176
  531. package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-tabbed-task-view/default-tabbed-task-view.component.mjs +0 -111
  532. package/esm2020/lib/navigation/group-navigation-component-resolver/default-components/default-task-view/default-task-view.component.mjs +0 -63
  533. package/esm2020/lib/navigation/group-navigation-component-resolver/default-group-navigation-component-resolver.service.mjs +0 -73
  534. package/esm2020/lib/navigation/navigation-double-drawer/navigation-double-drawer.component.mjs +0 -89
  535. package/esm2020/lib/navigation/navigation-drawer/navigation-drawer.component.mjs +0 -31
  536. package/esm2020/lib/navigation/navigation.module.mjs +0 -152
  537. package/esm2020/lib/navigation/quick-panel/components/impersonate-quick-panel/impersonate-quick-panel.component.mjs +0 -31
  538. package/esm2020/lib/navigation/quick-panel/components/language-selector/language-selector.component.mjs +0 -23
  539. package/esm2020/lib/navigation/quick-panel/components/logout-shortcut/logout-shortcut.component.mjs +0 -23
  540. package/esm2020/lib/navigation/quick-panel/components/quick-panel.component.mjs +0 -27
  541. package/esm2020/lib/navigation/quick-panel/quick-panel.module.mjs +0 -57
  542. package/esm2020/lib/panel/case-panel/case-panel.component.mjs +0 -91
  543. package/esm2020/lib/panel/panel-item/panel-item.component.mjs +0 -22
  544. package/esm2020/lib/panel/panel.component.mjs +0 -20
  545. package/esm2020/lib/panel/panel.module.mjs +0 -114
  546. package/esm2020/lib/panel/public-workflow-panel/public-workflow-panel.component.mjs +0 -24
  547. package/esm2020/lib/panel/task-panel/task-panel.component.mjs +0 -123
  548. package/esm2020/lib/panel/task-panel-list/task-list.component.mjs +0 -34
  549. package/esm2020/lib/panel/task-panel-list-pagination/task-list-pagination.component.mjs +0 -35
  550. package/esm2020/lib/panel/task-panel-single/single-task.component.mjs +0 -31
  551. package/esm2020/lib/routing/redirect/redirect.component.mjs +0 -20
  552. package/esm2020/lib/routing/redirect.module.mjs +0 -17
  553. package/esm2020/lib/search/advanced-search/advanced-search.module.mjs +0 -57
  554. package/esm2020/lib/search/advanced-search/search-clause-component/search-clause.component.mjs +0 -20
  555. package/esm2020/lib/search/advanced-search/search-configuration-input-component/search-configuration-input.component.mjs +0 -31
  556. package/esm2020/lib/search/advanced-search/search-operand-input-component/search-operand-input.component.mjs +0 -36
  557. package/esm2020/lib/search/advanced-search/search-predicate-component/search-predicate.component.mjs +0 -29
  558. package/esm2020/lib/search/fulltext-search-component/fulltext-search.component.mjs +0 -22
  559. package/esm2020/lib/search/search-component/search.component.mjs +0 -108
  560. package/esm2020/lib/search/search.module.mjs +0 -66
  561. package/esm2020/lib/side-menu/content-components/admin-impersonate/admin-impersonate-list/admin-impersonate-item/admin-impersonate-item.component.mjs +0 -22
  562. package/esm2020/lib/side-menu/content-components/admin-impersonate/admin-impersonate.component.mjs +0 -40
  563. package/esm2020/lib/side-menu/content-components/admin-impersonate/side-menu-admin-impersonate-component.module.mjs +0 -60
  564. package/esm2020/lib/side-menu/content-components/filter-selector/filter-selector.component.mjs +0 -53
  565. package/esm2020/lib/side-menu/content-components/filter-selector/side-menu-filter-selector-component.module.mjs +0 -42
  566. package/esm2020/lib/side-menu/content-components/import-net/import-net.component.mjs +0 -55
  567. package/esm2020/lib/side-menu/content-components/import-net/side-menu-import-net-component.module.mjs +0 -50
  568. package/esm2020/lib/side-menu/content-components/load-filter/load-filter.component.mjs +0 -67
  569. package/esm2020/lib/side-menu/content-components/load-filter/side-menu-load-filter-component.module.mjs +0 -42
  570. package/esm2020/lib/side-menu/content-components/multi-user-assign/multi-user-assign-list/multi-user-assign-item/multi-user-assign-item.component.mjs +0 -20
  571. package/esm2020/lib/side-menu/content-components/multi-user-assign/multi-user-assign-list/multi-user-assign-list.component.mjs +0 -24
  572. package/esm2020/lib/side-menu/content-components/multi-user-assign/multi-user-assign.component.mjs +0 -33
  573. package/esm2020/lib/side-menu/content-components/multi-user-assign/side-menu-multi-user-assign-component.module.mjs +0 -63
  574. package/esm2020/lib/side-menu/content-components/new-case/new-case.component.mjs +0 -46
  575. package/esm2020/lib/side-menu/content-components/new-case/side-menu-new-case-component.module.mjs +0 -57
  576. package/esm2020/lib/side-menu/content-components/option-selector/option-selector.component.mjs +0 -33
  577. package/esm2020/lib/side-menu/content-components/option-selector/side-menu-option-selector-component.module.mjs +0 -42
  578. package/esm2020/lib/side-menu/content-components/save-filter/save-filter.component.mjs +0 -61
  579. package/esm2020/lib/side-menu/content-components/save-filter/side-menu-save-filter-component.module.mjs +0 -38
  580. package/esm2020/lib/side-menu/content-components/side-menu-content-component.module.mjs +0 -120
  581. package/esm2020/lib/side-menu/content-components/user-assign/side-menu-user-assign-component.module.mjs +0 -63
  582. package/esm2020/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-item/user-assign-item.component.mjs +0 -22
  583. package/esm2020/lib/side-menu/content-components/user-assign/user-assign-list/user-assign-list.component.mjs +0 -27
  584. package/esm2020/lib/side-menu/content-components/user-assign/user-assign.component.mjs +0 -37
  585. package/esm2020/lib/side-menu/content-components/user-impersonate/side-menu-user-impersonate-component.module.mjs +0 -42
  586. package/esm2020/lib/side-menu/content-components/user-impersonate/user-impersonate.component.mjs +0 -75
  587. package/esm2020/lib/side-menu/side-menu-container/side-menu-container.component.mjs +0 -23
  588. package/esm2020/lib/side-menu/side-menu.module.mjs +0 -42
  589. package/esm2020/lib/tabs/tab-view/tab-view.component.mjs +0 -33
  590. package/esm2020/lib/tabs/tabs.module.mjs +0 -46
  591. package/esm2020/lib/task-content/field-component-resolver/field-component-resolver.component.mjs +0 -36
  592. package/esm2020/lib/task-content/task-content/task-content.component.mjs +0 -37
  593. package/esm2020/lib/task-content/task-content.module.mjs +0 -47
  594. package/esm2020/lib/toolbar/toolbar.component.mjs +0 -26
  595. package/esm2020/lib/toolbar/toolbar.module.mjs +0 -35
  596. package/esm2020/lib/user/profile/profile.component.mjs +0 -25
  597. package/esm2020/lib/user/profile/profile.module.mjs +0 -31
  598. package/esm2020/lib/user/user-card/user-card.component.mjs +0 -23
  599. package/esm2020/lib/user/user.module.mjs +0 -35
  600. package/esm2020/lib/view/case-view/case-view.module.mjs +0 -39
  601. package/esm2020/lib/view/case-view/components/case-list/case-list.component.mjs +0 -34
  602. package/esm2020/lib/view/case-view/components/case-list-paginator/case-list-paginator.component.mjs +0 -38
  603. package/esm2020/lib/view/case-view/components/create-case-button/create-case-button.component.mjs +0 -64
  604. package/esm2020/lib/view/tree-case-view/tree-case-view.module.mjs +0 -60
  605. package/esm2020/lib/view/tree-case-view/tree-component/add-child-node/add-child-node.component.mjs +0 -22
  606. package/esm2020/lib/view/tree-case-view/tree-component/remove-node/remove-node.component.mjs +0 -21
  607. package/esm2020/lib/view/tree-case-view/tree-component/tree.component.mjs +0 -27
  608. package/esm2020/lib/view/tree-case-view/tree-task-content/tree-task-content.component.mjs +0 -59
  609. package/esm2020/lib/view/workflow-view/workflow-view.component.mjs +0 -35
  610. package/esm2020/lib/view/workflow-view.module.mjs +0 -53
  611. package/fesm2015/netgrif-components.mjs +0 -7960
  612. package/fesm2015/netgrif-components.mjs.map +0 -1
  613. package/fesm2020/netgrif-components.mjs +0 -7731
  614. package/fesm2020/netgrif-components.mjs.map +0 -1
  615. /package/{esm2020 → esm2022}/lib/admin/public-api.mjs +0 -0
  616. /package/{esm2020 → esm2022}/lib/authentication/public-api.mjs +0 -0
  617. /package/{esm2020 → esm2022}/lib/dashboard/public-api.mjs +0 -0
  618. /package/{esm2020 → esm2022}/lib/data-fields/public-api.mjs +0 -0
  619. /package/{esm2020 → esm2022}/lib/dialog/model/dialog-actions.mjs +0 -0
  620. /package/{esm2020 → esm2022}/lib/dialog/public-api.mjs +0 -0
  621. /package/{esm2020 → esm2022}/lib/filter-field-content/public-api.mjs +0 -0
  622. /package/{esm2020 → esm2022}/lib/forms/public-api.mjs +0 -0
  623. /package/{esm2020 → esm2022}/lib/header/public-api.mjs +0 -0
  624. /package/{esm2020 → esm2022}/lib/legal/public-api.mjs +0 -0
  625. /package/{esm2020 → esm2022}/lib/navigation/group-navigation-component-resolver/default-components/model/factory-methods.mjs +0 -0
  626. /package/{esm2020 → esm2022}/lib/navigation/group-navigation-component-resolver/default-components/model/injected-tabbed-case-view-data-with-navigation-item-task-data.mjs +0 -0
  627. /package/{esm2020 → esm2022}/lib/navigation/group-navigation-component-resolver/default-components/model/injected-tabbed-task-view-data-with-navigation-item-task-data.mjs +0 -0
  628. /package/{esm2020 → esm2022}/lib/navigation/public-api.mjs +0 -0
  629. /package/{esm2020 → esm2022}/lib/navigation/quick-panel/public-api.mjs +0 -0
  630. /package/{esm2020 → esm2022}/lib/panel/public-api.mjs +0 -0
  631. /package/{esm2020 → esm2022}/lib/routing/public-api.mjs +0 -0
  632. /package/{esm2020 → esm2022}/lib/search/advanced-search/public-api.mjs +0 -0
  633. /package/{esm2020 → esm2022}/lib/search/public-api.mjs +0 -0
  634. /package/{esm2020 → esm2022}/lib/side-menu/content-components/public-api.mjs +0 -0
  635. /package/{esm2020 → esm2022}/lib/side-menu/public-api.mjs +0 -0
  636. /package/{esm2020 → esm2022}/lib/tabs/public-api.mjs +0 -0
  637. /package/{esm2020 → esm2022}/lib/task-content/public-api.mjs +0 -0
  638. /package/{esm2020 → esm2022}/lib/toolbar/public-api.mjs +0 -0
  639. /package/{esm2020 → esm2022}/lib/user/public-api.mjs +0 -0
  640. /package/{esm2020 → esm2022}/lib/view/public-api.mjs +0 -0
  641. /package/{esm2020 → esm2022}/netgrif-components.mjs +0 -0
  642. /package/{esm2020 → esm2022}/public-api.mjs +0 -0
  643. /package/{netgrif-components.d.ts → index.d.ts} +0 -0
@@ -1,27 +1,27 @@
1
1
  import { Component, Inject, Optional } from '@angular/core';
2
2
  import { AbstractMultichoiceSelectFieldComponent, DATA_FIELD_PORTAL_DATA } from '@netgrif/components-core';
3
3
  import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/material/form-field";
5
- import * as i2 from "@angular/material/select";
4
+ import * as i1 from "@angular/common";
5
+ import * as i2 from "@ngbracket/ngx-layout/extended";
6
6
  import * as i3 from "@angular/material/core";
7
- import * as i4 from "@angular/common";
8
- import * as i5 from "@angular/forms";
9
- import * as i6 from "@angular/flex-layout/extended";
7
+ import * as i4 from "@angular/material/form-field";
8
+ import * as i5 from "@angular/material/select";
9
+ import * as i6 from "@angular/forms";
10
10
  import * as i7 from "@ngx-translate/core";
11
11
  export class MultichoiceSelectFieldComponent extends AbstractMultichoiceSelectFieldComponent {
12
12
  constructor(dataFieldPortalData) {
13
13
  super(dataFieldPortalData);
14
14
  }
15
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MultichoiceSelectFieldComponent, deps: [{ token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
16
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: MultichoiceSelectFieldComponent, selector: "nc-multichoice-select-field", usesInheritance: true, ngImport: i0, template: "<mat-form-field [appearance]=\"dataField.materialAppearance\" class=\"full-width\" color=\"primary\">\n <mat-label *ngIf=\"!showLargeLayout.value\">{{dataField.title}}</mat-label>\n <mat-select [placeholder]=\"dataField.placeholder\"\n [formControl]=\"formControlRef\"\n [required]=\"dataField.behavior.required\"\n multiple>\n <mat-option *ngFor=\"let option of dataField.choices\" [value]=\"option.key\">\n {{option.value}}\n </mat-option>\n </mat-select>\n <mat-hint [ngClass]=\"{'mat-hint-disabled': formControlRef.disabled}\">{{dataField.description}}</mat-hint>\n <mat-error *ngIf=\"dataField.isInvalid(formControlRef)\">{{'dataField.validations.required' | translate}}</mat-error>\n</mat-form-field>\n", styles: [".full-width{display:block;margin:0 auto;width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { 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.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { kind: "component", type: i3.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "component", type: i5.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "directive", type: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i6.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "pipe", type: i7.TranslatePipe, name: "translate" }] });
15
17
  }
16
- MultichoiceSelectFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MultichoiceSelectFieldComponent, deps: [{ token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
17
- MultichoiceSelectFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: MultichoiceSelectFieldComponent, selector: "nc-multichoice-select-field", usesInheritance: true, ngImport: i0, template: "<mat-form-field [appearance]=\"dataField.materialAppearance\" class=\"full-width\" color=\"primary\">\n <mat-label *ngIf=\"!showLargeLayout.value\">{{dataField.title}}</mat-label>\n <mat-select [placeholder]=\"dataField.placeholder\"\n [formControl]=\"formControlRef\"\n [required]=\"dataField.behavior.required\"\n multiple>\n <mat-option *ngFor=\"let option of dataField.choices\" [value]=\"option.key\">\n {{option.value}}\n </mat-option>\n </mat-select>\n <mat-hint [ngClass]=\"{'mat-hint-disabled': formControlRef.disabled}\">{{dataField.description}}</mat-hint>\n <mat-error *ngIf=\"dataField.isInvalid(formControlRef)\">{{'dataField.validations.required' | translate}}</mat-error>\n</mat-form-field>\n", styles: [".full-width{display:block;margin:0 auto;width:100%}\n"], components: [{ type: i1.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { type: i2.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { type: i3.MatOption, selector: "mat-option", exportAs: ["matOption"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.MatLabel, selector: "mat-label" }, { type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i5.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i5.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i6.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { type: i1.MatError, selector: "mat-error", inputs: ["id"] }], pipes: { "translate": i7.TranslatePipe } });
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MultichoiceSelectFieldComponent, decorators: [{
18
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: MultichoiceSelectFieldComponent, decorators: [{
19
19
  type: Component,
20
20
  args: [{ selector: 'nc-multichoice-select-field', template: "<mat-form-field [appearance]=\"dataField.materialAppearance\" class=\"full-width\" color=\"primary\">\n <mat-label *ngIf=\"!showLargeLayout.value\">{{dataField.title}}</mat-label>\n <mat-select [placeholder]=\"dataField.placeholder\"\n [formControl]=\"formControlRef\"\n [required]=\"dataField.behavior.required\"\n multiple>\n <mat-option *ngFor=\"let option of dataField.choices\" [value]=\"option.key\">\n {{option.value}}\n </mat-option>\n </mat-select>\n <mat-hint [ngClass]=\"{'mat-hint-disabled': formControlRef.disabled}\">{{dataField.description}}</mat-hint>\n <mat-error *ngIf=\"dataField.isInvalid(formControlRef)\">{{'dataField.validations.required' | translate}}</mat-error>\n</mat-form-field>\n", styles: [".full-width{display:block;margin:0 auto;width:100%}\n"] }]
21
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
21
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
22
22
  type: Optional
23
23
  }, {
24
24
  type: Inject,
25
25
  args: [DATA_FIELD_PORTAL_DATA]
26
- }] }]; } });
27
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXVsdGljaG9pY2Utc2VsZWN0LWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL2RhdGEtZmllbGRzL211bHRpY2hvaWNlLWZpZWxkL211bHRpY2hvaWNlLXNlbGVjdC1maWVsZC9tdWx0aWNob2ljZS1zZWxlY3QtZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGF0YS1maWVsZHMvbXVsdGljaG9pY2UtZmllbGQvbXVsdGljaG9pY2Utc2VsZWN0LWZpZWxkL211bHRpY2hvaWNlLXNlbGVjdC1maWVsZC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLE1BQU0sRUFBRSxR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lkYXRpb25zLnJlcXVpcmVkJyB8IHRyYW5zbGF0ZX19PC9tYXQtZXJyb3I+XG48L21hdC1mb3JtLWZpZWxkPlxuIl19
@@ -0,0 +1,37 @@
1
+ import { Component, Inject, Optional } from '@angular/core';
2
+ import { AbstractCurrencyNumberFieldComponent, DATA_FIELD_PORTAL_DATA } from '@netgrif/components-core';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/common";
5
+ import * as i2 from "@ngx-translate/core";
6
+ import * as i3 from "@ngbracket/ngx-layout/extended";
7
+ import * as i4 from "@angular/material/input";
8
+ import * as i5 from "@angular/material/form-field";
9
+ import * as i6 from "@angular/forms";
10
+ export class NumberCurrencyFieldComponent extends AbstractCurrencyNumberFieldComponent {
11
+ constructor(currencyPipe, translate, dataFieldPortalData) {
12
+ super(currencyPipe, translate, dataFieldPortalData);
13
+ }
14
+ onFocusOut(event) {
15
+ this.transformToText(event);
16
+ }
17
+ onFocusIn() {
18
+ this.transformToNumber();
19
+ }
20
+ isCodeExists() {
21
+ return this.dataField.component.properties['code'] !== ' ' &&
22
+ this.dataField.component.properties['code'] !== '' &&
23
+ this.dataField.component.properties['code'] !== undefined;
24
+ }
25
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NumberCurrencyFieldComponent, deps: [{ token: i1.CurrencyPipe }, { token: i2.TranslateService }, { token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
26
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: NumberCurrencyFieldComponent, selector: "nc-number-currency-field", usesInheritance: true, ngImport: i0, template: "<mat-form-field [appearance]=\"dataField.materialAppearance\" class=\"full-width\" color=\"primary\">\n <mat-label *ngIf=\"!showLargeLayout.value\">{{dataField.title}}</mat-label>\n <span matPrefix *ngIf=\"isNumberType() && isCodeExists()\">{{this.dataField.component.properties['code'] ?? ''}}</span>\n <input matInput\n [type]=\"fieldType\"\n [value]=\"transformedValue\"\n [formControl]=\"formControlRef\"\n [placeholder]=\"dataField.placeholder\"\n [required]=\"dataField.behavior.required\"\n (focusout)=\"onFocusOut($event)\"\n (focusin)=\"onFocusIn()\">\n <mat-hint [ngClass]=\"{'mat-hint-disabled': formControlRef.disabled}\">{{dataField.description}}</mat-hint>\n <mat-error *ngIf=\"dataField.isInvalid(formControlRef)\">{{getErrorMessage()}}</mat-error>\n</mat-form-field>\n", styles: [".full-width{display:block;margin:0 auto;width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { 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: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatLabel, selector: "mat-label" }, { kind: "directive", type: i5.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i5.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i5.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i6.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: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i6.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
27
+ }
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NumberCurrencyFieldComponent, decorators: [{
29
+ type: Component,
30
+ args: [{ selector: 'nc-number-currency-field', template: "<mat-form-field [appearance]=\"dataField.materialAppearance\" class=\"full-width\" color=\"primary\">\n <mat-label *ngIf=\"!showLargeLayout.value\">{{dataField.title}}</mat-label>\n <span matPrefix *ngIf=\"isNumberType() && isCodeExists()\">{{this.dataField.component.properties['code'] ?? ''}}</span>\n <input matInput\n [type]=\"fieldType\"\n [value]=\"transformedValue\"\n [formControl]=\"formControlRef\"\n [placeholder]=\"dataField.placeholder\"\n [required]=\"dataField.behavior.required\"\n (focusout)=\"onFocusOut($event)\"\n (focusin)=\"onFocusIn()\">\n <mat-hint [ngClass]=\"{'mat-hint-disabled': formControlRef.disabled}\">{{dataField.description}}</mat-hint>\n <mat-error *ngIf=\"dataField.isInvalid(formControlRef)\">{{getErrorMessage()}}</mat-error>\n</mat-form-field>\n", styles: [".full-width{display:block;margin:0 auto;width:100%}\n"] }]
31
+ }], ctorParameters: () => [{ type: i1.CurrencyPipe }, { type: i2.TranslateService }, { type: undefined, decorators: [{
32
+ type: Optional
33
+ }, {
34
+ type: Inject,
35
+ args: [DATA_FIELD_PORTAL_DATA]
36
+ }] }] });
37
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnVtYmVyLWN1cnJlbmN5LWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL2RhdGEtZmllbGRzL251bWJlci1maWVsZC9udW1iZXItY3VycmVuY3ktZmllbGQvbnVtYmVyLWN1cnJlbmN5LWZpZWxkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL2RhdGEtZmllbGRzL251bWJlci1maWVsZC9udW1iZXItY3VycmVuY3ktZmllbGQvbnVtYmVyLWN1cnJlbmN5LWZpZWxkLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBZ0IsU0FBUyxFQUFFLE1BQU0sRUFBRSxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFekUsT0FBTyxFQUNILG9DQUFvQyxFQUNwQyxzQkFBc0IsRUFHekIsTUFBTSwwQkFBMEIsQ0FBQzs7Ozs7Ozs7QUFRbEMsTUFBTSxPQUFPLDRCQUE2QixTQUFRLG9DQUFvQztJQUVsRixZQUFZLFlBQTBCLEVBQUUsU0FBMkIsRUFDWCxtQkFBcUQ7UUFDekcsS0FBSyxDQUFDLFlBQVksRUFBRSxTQUFTLEVBQUUsbUJBQW1CLENBQUMsQ0FBQztJQUN4RCxDQUFDO0lBRUQsVUFBVSxDQUFDLEtBQVk7UUFDbkIsSUFBSSxDQUFDLGVBQWUsQ0FBQyxLQUFLLENBQUMs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wvbWF0LWhpbnQ+XG4gICAgPG1hdC1lcnJvciAqbmdJZj1cImRhdGFGaWVsZC5pc0ludmFsaWQoZm9ybUNvbnRyb2xSZWYpXCI+e3tnZXRFcnJvck1lc3NhZ2UoKX19PC9tYXQtZXJyb3I+XG48L21hdC1mb3JtLWZpZWxkPlxuIl19
@@ -0,0 +1,38 @@
1
+ import { Component, Inject, Optional } from '@angular/core';
2
+ import { AbstractNumberDecimalFieldComponent, DATA_FIELD_PORTAL_DATA } from "@netgrif/components-core";
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/common";
5
+ import * as i2 from "@ngx-translate/core";
6
+ import * as i3 from "@angular/material/input";
7
+ import * as i4 from "@angular/material/form-field";
8
+ import * as i5 from "@angular/forms";
9
+ export class NumberDecimalFieldComponent extends AbstractNumberDecimalFieldComponent {
10
+ constructor(decimalPipe, translate, dataFieldPortalData) {
11
+ super(decimalPipe, translate, dataFieldPortalData);
12
+ }
13
+ getAppearance() {
14
+ if (!this.dataField?.materialAppearance) {
15
+ return 'fill';
16
+ }
17
+ const validAppearances = ['fill', 'outline'];
18
+ return validAppearances.includes(this.dataField.materialAppearance) ? this.dataField.materialAppearance : 'fill';
19
+ }
20
+ onFocusOut(event) {
21
+ this.transformToText(event);
22
+ }
23
+ onFocusIn() {
24
+ this.transformToNumber();
25
+ }
26
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NumberDecimalFieldComponent, deps: [{ token: i1.DecimalPipe }, { token: i2.TranslateService }, { token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
27
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: NumberDecimalFieldComponent, selector: "nc-number-decimal-field", usesInheritance: true, ngImport: i0, template: "<mat-form-field [appearance]=\"getAppearance()\" class=\"full-width\" color=\"primary\">\n <mat-label *ngIf=\"!showLargeLayout.value\">{{dataField?.title}}</mat-label>\n <input matInput\n [type]=\"fieldType\"\n [value]=\"transformedValue\"\n [formControl]=\"formControlRef\"\n [placeholder]=\"dataField?.placeholder\"\n [required]=\"dataField?.behavior?.required\"\n (focusout)=\"onFocusOut($event)\"\n (focusin)=\"onFocusIn()\">\n <mat-hint>{{dataField?.description}}</mat-hint>\n <mat-error *ngIf=\"dataField?.isInvalid(formControlRef)\">{{getErrorMessage()}}</mat-error>\n</mat-form-field>\n", styles: [".full-width{display:block;margin:0 auto;width:100%}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i4.MatLabel, selector: "mat-label" }, { kind: "directive", type: i4.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i4.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i5.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: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i5.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
28
+ }
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NumberDecimalFieldComponent, decorators: [{
30
+ type: Component,
31
+ args: [{ selector: 'nc-number-decimal-field', template: "<mat-form-field [appearance]=\"getAppearance()\" class=\"full-width\" color=\"primary\">\n <mat-label *ngIf=\"!showLargeLayout.value\">{{dataField?.title}}</mat-label>\n <input matInput\n [type]=\"fieldType\"\n [value]=\"transformedValue\"\n [formControl]=\"formControlRef\"\n [placeholder]=\"dataField?.placeholder\"\n [required]=\"dataField?.behavior?.required\"\n (focusout)=\"onFocusOut($event)\"\n (focusin)=\"onFocusIn()\">\n <mat-hint>{{dataField?.description}}</mat-hint>\n <mat-error *ngIf=\"dataField?.isInvalid(formControlRef)\">{{getErrorMessage()}}</mat-error>\n</mat-form-field>\n", styles: [".full-width{display:block;margin:0 auto;width:100%}\n"] }]
32
+ }], ctorParameters: () => [{ type: i1.DecimalPipe }, { type: i2.TranslateService }, { type: undefined, decorators: [{
33
+ type: Optional
34
+ }, {
35
+ type: Inject,
36
+ args: [DATA_FIELD_PORTAL_DATA]
37
+ }] }] });
38
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnVtYmVyLWRlY2ltYWwtZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGF0YS1maWVsZHMvbnVtYmVyLWZpZWxkL251bWJlci1kZWNpbWFsLWZpZWxkL251bWJlci1kZWNpbWFsLWZpZWxkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL2RhdGEtZmllbGRzL251bWJlci1maWVsZC9udW1iZXItZGVjaW1hbC1maWVsZC9udW1iZXItZGVjaW1hbC1maWVsZ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cGVhcmFuY2UoKVwiIGNsYXNzPVwiZnVsbC13aWR0aFwiIGNvbG9yPVwicHJpbWFyeVwiPlxuICAgIDxtYXQtbGFiZWwgKm5nSWY9XCIhc2hvd0xhcmdlTGF5b3V0LnZhbHVlXCI+e3tkYXRhRmllbGQ/LnRpdGxlfX08L21hdC1sYWJlbD5cbiAgICA8aW5wdXQgbWF0SW5wdXRcbiAgICAgICAgICAgW3R5cGVdPVwiZmllbGRUeXBlXCJcbiAgICAgICAgICAgW3ZhbHVlXT1cInRyYW5zZm9ybWVkVmFsdWVcIlxuICAgICAgICAgICBbZm9ybUNvbnRyb2xdPVwiZm9ybUNvbnRyb2xSZWZcIlxuICAgICAgICAgICBbcGxhY2Vob2xkZXJdPVwiZGF0YUZpZWxkPy5wbGFjZWhvbGRlclwiXG4gICAgICAgICAgIFtyZXF1aXJlZF09XCJkYXRhRmllbGQ/LmJlaGF2aW9yPy5yZXF1aXJlZFwiXG4gICAgICAgICAgIChmb2N1c291dCk9XCJvbkZvY3VzT3V0KCRldmVudClcIlxuICAgICAgICAgICAoZm9jdXNpbik9XCJvbkZvY3VzSW4oKVwiPlxuICAgIDxtYXQtaGludD57e2RhdGFGaWVsZD8uZGVzY3JpcHRpb259fTwvbWF0LWhpbnQ+XG4gICAgPG1hdC1lcnJvciAqbmdJZj1cImRhdGFGaWVsZD8uaXNJbnZhbGlkKGZvcm1Db250cm9sUmVmKVwiPnt7Z2V0RXJyb3JNZXNzYWdlKCl9fTwvbWF0LWVycm9yPlxuPC9tYXQtZm9ybS1maWVsZD5cbiJdfQ==
@@ -2,25 +2,25 @@ import { Component, Inject, Optional } from '@angular/core';
2
2
  import { AbstractDefaultNumberFieldComponent, DATA_FIELD_PORTAL_DATA } from '@netgrif/components-core';
3
3
  import * as i0 from "@angular/core";
4
4
  import * as i1 from "@ngx-translate/core";
5
- import * as i2 from "@angular/material/form-field";
6
- import * as i3 from "@angular/common";
5
+ import * as i2 from "@angular/common";
6
+ import * as i3 from "@ngbracket/ngx-layout/extended";
7
7
  import * as i4 from "@angular/material/input";
8
- import * as i5 from "@angular/forms";
9
- import * as i6 from "@angular/flex-layout/extended";
8
+ import * as i5 from "@angular/material/form-field";
9
+ import * as i6 from "@angular/forms";
10
10
  export class NumberDefaultFieldComponent extends AbstractDefaultNumberFieldComponent {
11
11
  constructor(translate, dataFieldPortalData) {
12
12
  super(translate, dataFieldPortalData);
13
13
  }
14
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NumberDefaultFieldComponent, deps: [{ token: i1.TranslateService }, { token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
15
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: NumberDefaultFieldComponent, selector: "nc-number-default-field", usesInheritance: true, ngImport: i0, template: "<mat-form-field [appearance]=\"dataField.materialAppearance\" class=\"full-width\" color=\"primary\">\n <mat-label *ngIf=\"!showLargeLayout.value\">{{dataField.title}}</mat-label>\n <input matInput\n type=\"number\"\n [formControl]=\"formControlRef\"\n [placeholder]=\"dataField.placeholder\"\n [required]=\"dataField.behavior.required\">\n <mat-hint [ngClass]=\"{'mat-hint-disabled': formControlRef.disabled}\">{{dataField.description}}</mat-hint>\n <mat-error *ngIf=\"dataField.isInvalid(formControlRef)\">{{getErrorMessage()}}</mat-error>\n</mat-form-field>\n", styles: [".full-width{display:block;margin:0 auto;width:100%}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { 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: "component", type: i5.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i5.MatLabel, selector: "mat-label" }, { kind: "directive", type: i5.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i5.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i6.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: i6.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i6.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
14
16
  }
15
- NumberDefaultFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NumberDefaultFieldComponent, deps: [{ token: i1.TranslateService }, { token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
16
- NumberDefaultFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: NumberDefaultFieldComponent, selector: "nc-number-default-field", usesInheritance: true, ngImport: i0, template: "<mat-form-field [appearance]=\"dataField.materialAppearance\" class=\"full-width\" color=\"primary\">\n <mat-label *ngIf=\"!showLargeLayout.value\">{{dataField.title}}</mat-label>\n <input matInput\n type=\"number\"\n [formControl]=\"formControlRef\"\n [placeholder]=\"dataField.placeholder\"\n [required]=\"dataField.behavior.required\">\n <mat-hint [ngClass]=\"{'mat-hint-disabled': formControlRef.disabled}\">{{dataField.description}}</mat-hint>\n <mat-error *ngIf=\"dataField.isInvalid(formControlRef)\">{{getErrorMessage()}}</mat-error>\n</mat-form-field>\n", styles: [".full-width{display:block;margin:0 auto;width:100%}\n"], components: [{ type: i2.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.MatLabel, selector: "mat-label" }, { 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"] }, { type: i5.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { type: i5.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i5.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i5.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i2.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i6.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { type: i2.MatError, selector: "mat-error", inputs: ["id"] }] });
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NumberDefaultFieldComponent, decorators: [{
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NumberDefaultFieldComponent, decorators: [{
18
18
  type: Component,
19
19
  args: [{ selector: 'nc-number-default-field', template: "<mat-form-field [appearance]=\"dataField.materialAppearance\" class=\"full-width\" color=\"primary\">\n <mat-label *ngIf=\"!showLargeLayout.value\">{{dataField.title}}</mat-label>\n <input matInput\n type=\"number\"\n [formControl]=\"formControlRef\"\n [placeholder]=\"dataField.placeholder\"\n [required]=\"dataField.behavior.required\">\n <mat-hint [ngClass]=\"{'mat-hint-disabled': formControlRef.disabled}\">{{dataField.description}}</mat-hint>\n <mat-error *ngIf=\"dataField.isInvalid(formControlRef)\">{{getErrorMessage()}}</mat-error>\n</mat-form-field>\n", styles: [".full-width{display:block;margin:0 auto;width:100%}\n"] }]
20
- }], ctorParameters: function () { return [{ type: i1.TranslateService }, { type: undefined, decorators: [{
20
+ }], ctorParameters: () => [{ type: i1.TranslateService }, { type: undefined, decorators: [{
21
21
  type: Optional
22
22
  }, {
23
23
  type: Inject,
24
24
  args: [DATA_FIELD_PORTAL_DATA]
25
- }] }]; } });
26
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnVtYmVyLWRlZmF1bHQtZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGF0YS1maWVsZHMvbnVtYmVyLWZpZWxkL251bWJlci1kZWZhdWx0LWZpZWxkL251bWJlci1kZWZhdWx0LWZpZWxkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL2RhdGEtZmllbGRzL251bWJlci1maWVsZC9udW1iZXItZGVmYXVsdC1maWVsZC9udW1iZXItZGVmYXVsdC1maWVsZC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLE1BQU0sRUFBRSxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDMUQsT0FBTyxFQUNILG1DQUFtQyxFQUNuQyxzQkFBc0IsRUFHekIsTUFBTSwwQkFBMEIsQ0FBQzs7Ozs7Ozs7QUFRbEMsTUFBTSxPQUFPLDJCQUE0QixTQUFRLG1DQUFtQztJQUNoRixZQUFZLFNBQTJCLEVBQ2lCLG1CQUFxRDtRQUN6RyxLQUFLLENBQUMsU0FBUyxFQUFFLG1CQUFtQixDQUFDLENBQUM7SUFDMUMsQ0FBQzs7eUhBSlEsMkJBQTJCLGtEQUVKLHNCQUFz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3tkYXRhRmllbGQudGl0bGV9fTwvbWF0LWxhYmVsPlxuICAgIDxpbnB1dCBtYXRJbnB1dFxuICAgICAgICAgICB0eXBlPVwibnVtYmVyXCJcbiAgICAgICAgICAgW2Zvcm1Db250cm9sXT1cImZvcm1Db250cm9sUmVmXCJcbiAgICAgICAgICAgW3BsYWNlaG9sZGVyXT1cImRhdGFGaWVsZC5wbGFjZWhvbGRlclwiXG4gICAgICAgICAgIFtyZXF1aXJlZF09XCJkYXRhRmllbGQuYmVoYXZpb3IucmVxdWlyZWRcIj5cbiAgICA8bWF0LWhpbnQgW25nQ2xhc3NdPVwieydtYXQtaGludC1kaXNhYmxlZCc6IGZvcm1Db250cm9sUmVmLmRpc2FibGVkfVwiPnt7ZGF0YUZpZWxkLmRlc2NyaXB0aW9ufX08L21hdC1oaW50PlxuICAgIDxtYXQtZXJyb3IgKm5nSWY9XCJkYXRhRmllbGQuaXNJbnZhbGlkKGZvcm1Db250cm9sUmVmKVwiPnt7Z2V0RXJyb3JNZXNzYWdlKCl9fTwvbWF0LWVycm9yPlxuPC9tYXQtZm9ybS1maWVsZD5cbiJdfQ==
@@ -2,8 +2,8 @@ import { Component, Inject, Optional } from '@angular/core';
2
2
  import { AbstractNumberFieldComponent, NAE_INFORM_ABOUT_INVALID_DATA } from '@netgrif/components-core';
3
3
  import * as i0 from "@angular/core";
4
4
  import * as i1 from "@ngx-translate/core";
5
- import * as i2 from "../data-field-template/data-field-template.component";
6
- import * as i3 from "@angular/common";
5
+ import * as i2 from "@angular/common";
6
+ import * as i3 from "../data-field-template/data-field-template.component";
7
7
  /**
8
8
  * @deprecated
9
9
  * */
@@ -11,16 +11,16 @@ export class NumberFieldComponent extends AbstractNumberFieldComponent {
11
11
  constructor(translate, informAboutInvalidData) {
12
12
  super(translate, informAboutInvalidData);
13
13
  }
14
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NumberFieldComponent, deps: [{ token: i1.TranslateService }, { token: NAE_INFORM_ABOUT_INVALID_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
15
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: NumberFieldComponent, selector: "nc-number-field", usesInheritance: true, ngImport: i0, template: "<nc-data-field-template *ngIf=\"!dataField.behavior.hidden\"\n [dataField]=\"dataField\"\n [offset]=\"taskOffset\">\n</nc-data-field-template>\n", styles: [".full-width{display:block;margin:0 auto;width:100%}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.DataFieldTemplateComponent, selector: "nc-data-field-template" }] });
14
16
  }
15
- NumberFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NumberFieldComponent, deps: [{ token: i1.TranslateService }, { token: NAE_INFORM_ABOUT_INVALID_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
16
- NumberFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: NumberFieldComponent, selector: "nc-number-field", usesInheritance: true, ngImport: i0, template: "<nc-data-field-template *ngIf=\"!dataField.behavior.hidden\"\n [dataField]=\"dataField\"\n [offset]=\"taskOffset\">\n</nc-data-field-template>\n", styles: [".full-width{display:block;margin:0 auto;width:100%}\n"], components: [{ type: i2.DataFieldTemplateComponent, selector: "nc-data-field-template" }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NumberFieldComponent, decorators: [{
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: NumberFieldComponent, decorators: [{
18
18
  type: Component,
19
19
  args: [{ selector: 'nc-number-field', template: "<nc-data-field-template *ngIf=\"!dataField.behavior.hidden\"\n [dataField]=\"dataField\"\n [offset]=\"taskOffset\">\n</nc-data-field-template>\n", styles: [".full-width{display:block;margin:0 auto;width:100%}\n"] }]
20
- }], ctorParameters: function () { return [{ type: i1.TranslateService }, { type: undefined, decorators: [{
20
+ }], ctorParameters: () => [{ type: i1.TranslateService }, { type: undefined, decorators: [{
21
21
  type: Optional
22
22
  }, {
23
23
  type: Inject,
24
24
  args: [NAE_INFORM_ABOUT_INVALID_DATA]
25
- }] }]; } });
26
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnVtYmVyLWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL2RhdGEtZmllbGRzL251bWJlci1maWVsZC9udW1iZXItZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGF0YS1maWVsZHMvbnVtYmVyLWZpZWxkL251bWJlci1maWVsZC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLE1BQU0sRUFBRSxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDMUQsT0FBTyxFQUFDLDRCQUE0QixFQUFFLDZCQUE2QixFQUFDLE1BQU0sMEJBQTBCLENBQUM7Ozs7O0FBR3JHOztLQUVLO0FBTUwsTUFBTSxPQUFPLG9CQUFxQixTQUFRLDRCQUE0QjtJQUNsRSxZQUFZLFNBQTJCLEVBQ3dCLHNCQUFzQztRQUNqRyxLQUFLLENBQUMsU0FBUyxFQUFFLHNCQUFzQixDQUFDLENBQUM7SUFDN0MsQ0FBQzs7a0hBSlEsb0JBQW9CL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AgfVxufVxuIiwiPG5jLWRhdGEtZmllbGQtdGVtcGxhdGUgKm5nSWY9XCIhZGF0YUZpZWxkLmJlaGF2aW9yLmhpZGRlblwiXG4gICAgICAgICAgICAgICAgICAgICAgICBbZGF0YUZpZWxkXT1cImRhdGFGaWVsZFwiXG4gICAgICAgICAgICAgICAgICAgICAgICBbb2Zmc2V0XT1cInRhc2tPZmZzZXRcIj5cbjwvbmMtZGF0YS1maWVsZC10ZW1wbGF0ZT5cbiJdfQ==
@@ -0,0 +1,18 @@
1
+ import { Component, Input } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/common";
4
+ import * as i2 from "@ngbracket/ngx-layout/extended";
5
+ export class RequiredLabelComponent {
6
+ isIn = false;
7
+ constructor() {
8
+ }
9
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RequiredLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
10
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: RequiredLabelComponent, selector: "nc-required-label", inputs: { isIn: "isIn" }, ngImport: i0, template: "<span class=\"required-label-color\" [ngClass]=\"{ 'disabled-color': !isIn }\"> * </span>\n", styles: [".required-label-color{color:red}.disabled-color{color:#94a3b8}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }] });
11
+ }
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RequiredLabelComponent, decorators: [{
13
+ type: Component,
14
+ args: [{ selector: 'nc-required-label', template: "<span class=\"required-label-color\" [ngClass]=\"{ 'disabled-color': !isIn }\"> * </span>\n", styles: [".required-label-color{color:red}.disabled-color{color:#94a3b8}\n"] }]
15
+ }], ctorParameters: () => [], propDecorators: { isIn: [{
16
+ type: Input
17
+ }] } });
18
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVxdWlyZWQtbGFiZWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGF0YS1maWVsZHMvcmVxdWlyZWQtbGFiZWwvcmVxdWlyZWQtbGFiZWwuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGF0YS1maWVsZHMvcmVxdWlyZWQtbGFiZWwvcmVxdWlyZWQtbGFiZWwuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxLQUFLLEVBQVMsTUFBTSxlQUFlLENBQUM7Ozs7QUFPdkQsTUFBTSxPQUFPLHNCQUFzQjtJQUVmLElBQUksR0FBRyxLQUFLLENBQUM7SUFFN0I7SUFDQSxDQUFDO3dHQUxRLHNCQUFzQjs0RkFBdEIsc0JBQXNCLG1GQ1BuQyw2RkFDQTs7NEZETWEsc0JBQXNCO2tCQUxsQyxTQUFTOytCQUNJLG1CQUFtQjt3REFNYixJQUFJO3NCQUFuQixLQUFLIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtDb21wb25lbnQsIElucHV0LCBPbkluaXR9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgICBzZWxlY3RvcjogJ25jLXJlcXVpcmVkLWxhYmVsJyxcbiAgICB0ZW1wbGF0ZVVybDogJy4vcmVxdWlyZWQtbGFiZWwuY29tcG9uZW50Lmh0bWwnLFxuICAgIHN0eWxlVXJsczogWycuL3JlcXVpcmVkLWxhYmVsLmNvbXBvbmVudC5zY3NzJ11cbn0pXG5leHBvcnQgY2xhc3MgUmVxdWlyZWRMYWJlbENvbXBvbmVudCB7XG5cbiAgICBASW5wdXQoKSBwdWJsaWMgaXNJbiA9IGZhbHNlO1xuXG4gICAgY29uc3RydWN0b3IoKSB7XG4gICAgfVxufVxuIiwiPHNwYW4gY2xhc3M9XCJyZXF1aXJlZC1sYWJlbC1jb2xvclwiIFtuZ0NsYXNzXT1cInsgJ2Rpc2FibGVkLWNvbG9yJzogIWlzSW4gfVwiPiAqIDwvc3Bhbj5cbiJdfQ==
@@ -0,0 +1,30 @@
1
+ import { Component, Inject, Optional } from '@angular/core';
2
+ import { AbstractStringCollectionDefaultFieldComponent, DATA_FIELD_PORTAL_DATA } from '@netgrif/components-core';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@ngx-translate/core";
5
+ import * as i2 from "@angular/common";
6
+ import * as i3 from "@ngbracket/ngx-layout/extended";
7
+ import * as i4 from "@angular/material/chips";
8
+ import * as i5 from "@angular/material/icon";
9
+ import * as i6 from "@angular/material/input";
10
+ import * as i7 from "@angular/material/form-field";
11
+ import * as i8 from "@angular/forms";
12
+ export class StringCollectionDefaultFieldComponent extends AbstractStringCollectionDefaultFieldComponent {
13
+ _translate;
14
+ constructor(_translate, dataFieldPortalData) {
15
+ super(_translate, dataFieldPortalData);
16
+ this._translate = _translate;
17
+ }
18
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StringCollectionDefaultFieldComponent, deps: [{ token: i1.TranslateService }, { token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
19
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: StringCollectionDefaultFieldComponent, selector: "nc-string-collection-default-field", usesInheritance: true, ngImport: i0, template: "<mat-form-field [appearance]=\"dataField.materialAppearance\" class=\"full-width chip-fix\" color=\"primary\">\n <mat-label *ngIf=\"!showLargeLayout.value\">{{dataField.title}}</mat-label>\n <mat-chip-grid #chipList aria-label=\"Autocomplete\" [formControl]=\"formControlRef\">\n <mat-chip-row\n *ngFor=\"let option of dataField.value\" (removed)=\"remove(option)\">\n {{option}}\n <button *ngIf=\"!formControlRef.disabled\" matChipRemove>\n <mat-icon>cancel</mat-icon>\n </button>\n </mat-chip-row>\n <input\n aria-label=\"Autocomplete\"\n matInput\n #input\n [placeholder]=\"dataField.placeholder\"\n [required]=\"dataField.behavior.required\"\n [matChipInputFor]=\"chipList\"\n (matChipInputTokenEnd)=\"add($event)\"\n (blur)=\"add($event)\"\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\">\n </mat-chip-grid>\n <mat-hint [ngClass]=\"{'mat-hint-disabled': formControlRef.disabled}\">{{dataField.description}}</mat-hint>\n <mat-error\n *ngIf=\"dataField.isInvalid(formControlRef)\">{{'dataField.validations.required' | translate}}</mat-error>\n</mat-form-field>\n", styles: [".full-width{display:block;margin:0 auto;width:100%}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { kind: "component", type: i4.MatChipGrid, selector: "mat-chip-grid", inputs: ["disabled", "placeholder", "required", "value", "errorStateMatcher"], outputs: ["change", "valueChange"] }, { kind: "directive", type: i4.MatChipInput, selector: "input[matChipInputFor]", inputs: ["matChipInputFor", "matChipInputAddOnBlur", "matChipInputSeparatorKeyCodes", "placeholder", "id", "disabled"], outputs: ["matChipInputTokenEnd"], exportAs: ["matChipInput", "matChipInputFor"] }, { kind: "directive", type: i4.MatChipRemove, selector: "[matChipRemove]" }, { kind: "component", type: i4.MatChipRow, selector: "mat-chip-row, [mat-chip-row], mat-basic-chip-row, [mat-basic-chip-row]", inputs: ["editable"], outputs: ["edited"] }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { 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: "component", type: i7.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i7.MatLabel, selector: "mat-label" }, { kind: "directive", type: i7.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "directive", type: i7.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i8.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "pipe", type: i1.TranslatePipe, name: "translate" }] });
20
+ }
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: StringCollectionDefaultFieldComponent, decorators: [{
22
+ type: Component,
23
+ args: [{ selector: 'nc-string-collection-default-field', template: "<mat-form-field [appearance]=\"dataField.materialAppearance\" class=\"full-width chip-fix\" color=\"primary\">\n <mat-label *ngIf=\"!showLargeLayout.value\">{{dataField.title}}</mat-label>\n <mat-chip-grid #chipList aria-label=\"Autocomplete\" [formControl]=\"formControlRef\">\n <mat-chip-row\n *ngFor=\"let option of dataField.value\" (removed)=\"remove(option)\">\n {{option}}\n <button *ngIf=\"!formControlRef.disabled\" matChipRemove>\n <mat-icon>cancel</mat-icon>\n </button>\n </mat-chip-row>\n <input\n aria-label=\"Autocomplete\"\n matInput\n #input\n [placeholder]=\"dataField.placeholder\"\n [required]=\"dataField.behavior.required\"\n [matChipInputFor]=\"chipList\"\n (matChipInputTokenEnd)=\"add($event)\"\n (blur)=\"add($event)\"\n [matChipInputSeparatorKeyCodes]=\"separatorKeysCodes\">\n </mat-chip-grid>\n <mat-hint [ngClass]=\"{'mat-hint-disabled': formControlRef.disabled}\">{{dataField.description}}</mat-hint>\n <mat-error\n *ngIf=\"dataField.isInvalid(formControlRef)\">{{'dataField.validations.required' | translate}}</mat-error>\n</mat-form-field>\n", styles: [".full-width{display:block;margin:0 auto;width:100%}\n"] }]
24
+ }], ctorParameters: () => [{ type: i1.TranslateService }, { type: undefined, decorators: [{
25
+ type: Optional
26
+ }, {
27
+ type: Inject,
28
+ args: [DATA_FIELD_PORTAL_DATA]
29
+ }] }] });
30
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZX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WhvbGRlcl09XCJkYXRhRmllbGQucGxhY2Vob2xkZXJcIlxuICAgICAgICAgICAgW3JlcXVpcmVkXT1cImRhdGFGaWVsZC5iZWhhdmlvci5yZXF1aXJlZFwiXG4gICAgICAgICAgICBbbWF0Q2hpcElucHV0Rm9yXT1cImNoaXBMaXN0XCJcbiAgICAgICAgICAgIChtYXRDaGlwSW5wdXRUb2tlbkVuZCk9XCJhZGQoJGV2ZW50KVwiXG4gICAgICAgICAgICAoYmx1cik9XCJhZGQoJGV2ZW50KVwiXG4gICAgICAgICAgICBbbWF0Q2hpcElucHV0U2VwYXJhdG9yS2V5Q29kZXNdPVwic2VwYXJhdG9yS2V5c0NvZGVzXCI+XG4gICAgPC9tYXQtY2hpcC1ncmlkPlxuICAgIDxtYXQtaGludCBbbmdDbGFzc109XCJ7J21hdC1oaW50LWRpc2FibGVkJzogZm9ybUNvbnRyb2xSZWYuZGlzYWJsZWR9XCI+e3tkYXRhRmllbGQuZGVzY3JpcHRpb259fTwvbWF0LWhpbnQ+XG4gICAgPG1hdC1lcnJvclxuICAgICAgICAqbmdJZj1cImRhdGFGaWVsZC5pc0ludmFsaWQoZm9ybUNvbnRyb2xSZWYpXCI+e3snZGF0YUZpZWxkLnZhbGlkYXRpb25zLnJlcXVpcmVkJyB8IHRyYW5zbGF0ZX19PC9tYXQtZXJyb3I+XG48L21hdC1mb3JtLWZpZWxkPlxuIl19
@@ -0,0 +1,39 @@
1
+ import { Component, Inject, Input, Optional } from '@angular/core';
2
+ import { AbstractTaskRefDashboardFieldComponent, DATA_FIELD_PORTAL_DATA } from '@netgrif/components-core';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@netgrif/components-core";
5
+ import * as i2 from "@angular/common";
6
+ import * as i3 from "@ngbracket/ngx-layout/grid";
7
+ import * as i4 from "./task-ref-dashboard-tile/task-ref-dashboard-tile.component";
8
+ export class TaskRefDashboardFieldComponent extends AbstractTaskRefDashboardFieldComponent {
9
+ taskContentComponentClassReference;
10
+ constructor(logger, dataFieldPortalData) {
11
+ super(logger, dataFieldPortalData);
12
+ }
13
+ getGridColumns() {
14
+ return `repeat(${this.dataField.dashboardCols}, 1fr)`;
15
+ }
16
+ getGridRows() {
17
+ return `repeat(${this.dataField.dashboardRows}, minmax(320px, auto))`;
18
+ }
19
+ getTileGridColumn(tile) {
20
+ return `${tile.x + 1} / span ${tile.cols}`;
21
+ }
22
+ getTileGridRow(tile) {
23
+ return `${tile.y + 1} / span ${tile.rows}`;
24
+ }
25
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TaskRefDashboardFieldComponent, deps: [{ token: i1.LoggerService }, { token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
26
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TaskRefDashboardFieldComponent, selector: "nc-task-ref-dashboard-field", inputs: { taskContentComponentClassReference: "taskContentComponentClassReference" }, usesInheritance: true, ngImport: i0, template: "<div class=\"fill-available-space\" [gdColumns]=\"getGridColumns()\" [gdRows]=\"getGridRows()\">\n <nc-task-ref-dashboard-tile *ngFor=\"let tile of dashboardTiles\"\n [tile]=\"tile\"\n [taskRef]=\"dataField\"\n [fc]=\"formControlRef\"\n [gdColumn]=\"getTileGridColumn(tile)\"\n [gdRow]=\"getTileGridRow(tile)\"\n [taskContentComponentClassReference]=\"taskContentComponentClassReference\"></nc-task-ref-dashboard-tile>\n</div>\n", styles: [".fill-available-space{width:100%;height:100%}:host ::ng-deep .dashboard-workflow-view,:host ::ng-deep .dashboard-task-list,:host ::ng-deep .dashboard-case-list{min-height:320px!important}:host ::ng-deep .dashboard-iframe-card{min-height:304px!important}:host ::ng-deep .dashboard-bar-chart,:host ::ng-deep .dashboard-pie-chart,:host ::ng-deep .dashboard-line-chart{height:320px!important;width:200px!important}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.DefaultGridColumnDirective, selector: " [gdColumn], [gdColumn.xs], [gdColumn.sm], [gdColumn.md], [gdColumn.lg], [gdColumn.xl], [gdColumn.lt-sm], [gdColumn.lt-md], [gdColumn.lt-lg], [gdColumn.lt-xl], [gdColumn.gt-xs], [gdColumn.gt-sm], [gdColumn.gt-md], [gdColumn.gt-lg]", inputs: ["gdColumn", "gdColumn.xs", "gdColumn.sm", "gdColumn.md", "gdColumn.lg", "gdColumn.xl", "gdColumn.lt-sm", "gdColumn.lt-md", "gdColumn.lt-lg", "gdColumn.lt-xl", "gdColumn.gt-xs", "gdColumn.gt-sm", "gdColumn.gt-md", "gdColumn.gt-lg"] }, { kind: "directive", type: i3.DefaultGridColumnsDirective, selector: " [gdColumns], [gdColumns.xs], [gdColumns.sm], [gdColumns.md], [gdColumns.lg], [gdColumns.xl], [gdColumns.lt-sm], [gdColumns.lt-md], [gdColumns.lt-lg], [gdColumns.lt-xl], [gdColumns.gt-xs], [gdColumns.gt-sm], [gdColumns.gt-md], [gdColumns.gt-lg]", inputs: ["gdColumns", "gdColumns.xs", "gdColumns.sm", "gdColumns.md", "gdColumns.lg", "gdColumns.xl", "gdColumns.lt-sm", "gdColumns.lt-md", "gdColumns.lt-lg", "gdColumns.lt-xl", "gdColumns.gt-xs", "gdColumns.gt-sm", "gdColumns.gt-md", "gdColumns.gt-lg"] }, { kind: "directive", type: i3.DefaultGridRowDirective, selector: " [gdRow], [gdRow.xs], [gdRow.sm], [gdRow.md], [gdRow.lg], [gdRow.xl], [gdRow.lt-sm], [gdRow.lt-md], [gdRow.lt-lg], [gdRow.lt-xl], [gdRow.gt-xs], [gdRow.gt-sm], [gdRow.gt-md], [gdRow.gt-lg]", inputs: ["gdRow", "gdRow.xs", "gdRow.sm", "gdRow.md", "gdRow.lg", "gdRow.xl", "gdRow.lt-sm", "gdRow.lt-md", "gdRow.lt-lg", "gdRow.lt-xl", "gdRow.gt-xs", "gdRow.gt-sm", "gdRow.gt-md", "gdRow.gt-lg"] }, { kind: "directive", type: i3.DefaultGridRowsDirective, selector: " [gdRows], [gdRows.xs], [gdRows.sm], [gdRows.md], [gdRows.lg], [gdRows.xl], [gdRows.lt-sm], [gdRows.lt-md], [gdRows.lt-lg], [gdRows.lt-xl], [gdRows.gt-xs], [gdRows.gt-sm], [gdRows.gt-md], [gdRows.gt-lg]", inputs: ["gdRows", "gdRows.xs", "gdRows.sm", "gdRows.md", "gdRows.lg", "gdRows.xl", "gdRows.lt-sm", "gdRows.lt-md", "gdRows.lt-lg", "gdRows.lt-xl", "gdRows.gt-xs", "gdRows.gt-sm", "gdRows.gt-md", "gdRows.gt-lg"] }, { kind: "component", type: i4.TaskRefDashboardTileComponent, selector: "nc-task-ref-dashboard-tile", inputs: ["taskContentComponentClassReference"] }] });
27
+ }
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TaskRefDashboardFieldComponent, decorators: [{
29
+ type: Component,
30
+ args: [{ selector: 'nc-task-ref-dashboard-field', template: "<div class=\"fill-available-space\" [gdColumns]=\"getGridColumns()\" [gdRows]=\"getGridRows()\">\n <nc-task-ref-dashboard-tile *ngFor=\"let tile of dashboardTiles\"\n [tile]=\"tile\"\n [taskRef]=\"dataField\"\n [fc]=\"formControlRef\"\n [gdColumn]=\"getTileGridColumn(tile)\"\n [gdRow]=\"getTileGridRow(tile)\"\n [taskContentComponentClassReference]=\"taskContentComponentClassReference\"></nc-task-ref-dashboard-tile>\n</div>\n", styles: [".fill-available-space{width:100%;height:100%}:host ::ng-deep .dashboard-workflow-view,:host ::ng-deep .dashboard-task-list,:host ::ng-deep .dashboard-case-list{min-height:320px!important}:host ::ng-deep .dashboard-iframe-card{min-height:304px!important}:host ::ng-deep .dashboard-bar-chart,:host ::ng-deep .dashboard-pie-chart,:host ::ng-deep .dashboard-line-chart{height:320px!important;width:200px!important}\n"] }]
31
+ }], ctorParameters: () => [{ type: i1.LoggerService }, { type: undefined, decorators: [{
32
+ type: Optional
33
+ }, {
34
+ type: Inject,
35
+ args: [DATA_FIELD_PORTAL_DATA]
36
+ }] }], propDecorators: { taskContentComponentClassReference: [{
37
+ type: Input
38
+ }] } });
39
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFzay1yZWYtZGFzaGJvYXJkLWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL2RhdGEtZmllbGRzL3Rhc2stcmVmLWZpZWxkL3Rhc2stcmVmLWRhc2hib2FyZC1maWVsZC90YXNrLXJlZi1kYXNoYm9hcmQtZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGF0YS1maWVsZHMvdGFzay1yZWYtZmllbGQvdGFzay1yZWYtZGFzaGJvYXJkLWZpZWxkL3Rhc2stcmVmLWRhc2hib2FyZC1maWVsZC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLE1BQU0sRUFBRSxLQUFLLEVBQUUsUUFBUSxFQUFPLE1BQU0sZUFBZSxDQUFDO0FBQ3ZFLE9BQU8sRUFDSCxzQ0FBc0MsRUFDdEMsc0JBQXNCLEVBS3pCLE1BQU0sMEJBQTBCLENBQUM7Ozs7OztBQU9sQyxNQUFNLE9BQU8sOEJBQStCLFNBQVEsc0NBQXNDO0lBRTdFLGtDQUFrQyxDQUFZO0lBRXZELFlBQVksTUFBcUIsRUFDdUIsbUJBQXNEO1FBQzFHLEtBQUssQ0FBQyxNQUFNLEVBQUUsbUJBQW1CLENBQUMsQ0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yaWRDb2x1bW4odGlsZTogVGFza1JlZkRhc2hib2FyZFRpbGUpOiBzdHJpbmcge1xuICAgICAgICByZXR1cm4gYCR7dGlsZS54ICsgMX0gLyBzcGFuICR7dGlsZS5jb2xzfWA7XG4gICAgfVxuXG4gICAgZ2V0VGlsZUdyaWRSb3codGlsZTogVGFza1JlZkRhc2hib2FyZFRpbGUpOiBzdHJpbmcge1xuICAgICAgICByZXR1cm4gYCR7dGlsZS55ICsgMX0gLyBzcGFuICR7dGlsZS5yb3dzfWA7XG4gICAgfVxufVxuIiwiPGRpdiBjbGFzcz1cImZpbGwtYXZhaWxhYmxlLXNwYWNlXCIgW2dkQ29sdW1uc109XCJnZXRHcmlkQ29sdW1ucygpXCIgW2dkUm93c109XCJnZXRHcmlkUm93cygpXCI+XG4gICAgPG5jLXRhc2stcmVmLWRhc2hib2FyZC10aWxlICpuZ0Zvcj1cImxldCB0aWxlIG9mIGRhc2hib2FyZFRpbGVzXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW3RpbGVdPVwidGlsZVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFt0YXNrUmVmXT1cImRhdGFGaWVsZFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtmY109XCJmb3JtQ29udHJvbFJlZlwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtnZENvbHVtbl09XCJnZXRUaWxlR3JpZENvbHVtbih0aWxlKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtnZFJvd109XCJnZXRUaWxlR3JpZFJvdyh0aWxlKVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFt0YXNrQ29udGVudENvbXBvbmVudENsYXNzUmVmZXJlbmNlXT1cInRhc2tDb250ZW50Q29tcG9uZW50Q2xhc3NSZWZlcmVuY2VcIj48L25jLXRhc2stcmVmLWRhc2hib2FyZC10aWxlPlxuPC9kaXY+XG4iXX0=
@@ -0,0 +1,62 @@
1
+ import { Component, Inject, Input, Self, SkipSelf } from '@angular/core';
2
+ import { AbstractTaskRefDashboardTileComponent, NAE_TASK_OPERATIONS, TaskContentService, UnlimitedTaskContentService, FrontActionService } from '@netgrif/components-core';
3
+ import { ComponentPortal } from '@angular/cdk/portal';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@netgrif/components-core";
6
+ import * as i2 from "@angular/common";
7
+ import * as i3 from "@ngbracket/ngx-layout";
8
+ import * as i4 from "@angular/material/button";
9
+ import * as i5 from "@angular/material/icon";
10
+ import * as i6 from "@angular/cdk/portal";
11
+ export class TaskRefDashboardTileComponent extends AbstractTaskRefDashboardTileComponent {
12
+ _injector;
13
+ _myTaskContentService;
14
+ portal;
15
+ taskContentComponentClassReference;
16
+ _subTask;
17
+ constructor(caseResourceService, processService, logger, taskResourceService, callChainService, taskDataService, parentTaskContentService, taskOperations, _injector, _myTaskContentService) {
18
+ super(caseResourceService, processService, logger, taskResourceService, callChainService, parentTaskContentService, taskDataService, taskOperations);
19
+ this._injector = _injector;
20
+ this._myTaskContentService = _myTaskContentService;
21
+ }
22
+ ngOnInit() {
23
+ if (this.tile.isEmpty) {
24
+ return;
25
+ }
26
+ this._subTask = this._parentTaskContentService.task$.subscribe(t => {
27
+ const fakeTask = Object.assign({}, t);
28
+ fakeTask.dataGroups = this.tile.dataGroups;
29
+ this._myTaskContentService.task = fakeTask;
30
+ this._myTaskContentService.$shouldCreate.next(fakeTask.dataGroups);
31
+ });
32
+ this.portal = new ComponentPortal(this.taskContentComponentClassReference, null, this._injector);
33
+ }
34
+ ngOnDestroy() {
35
+ super.ngOnDestroy();
36
+ if (this._subTask !== undefined) {
37
+ this._subTask.unsubscribe();
38
+ }
39
+ }
40
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TaskRefDashboardTileComponent, deps: [{ token: i1.CaseResourceService }, { token: i1.ProcessService }, { token: i1.LoggerService }, { token: i1.TaskResourceService }, { token: i1.CallChainService }, { token: i1.TaskDataService }, { token: i1.TaskContentService, skipSelf: true }, { token: NAE_TASK_OPERATIONS }, { token: i0.Injector }, { token: i1.TaskContentService, self: true }], target: i0.ɵɵFactoryTarget.Component });
41
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TaskRefDashboardTileComponent, selector: "nc-task-ref-dashboard-tile", inputs: { taskContentComponentClassReference: "taskContentComponentClassReference" }, providers: [
42
+ FrontActionService,
43
+ { provide: TaskContentService, useClass: UnlimitedTaskContentService }
44
+ ], usesInheritance: true, ngImport: i0, template: "<ng-template [ngIf]=\"!tile.isEmpty\" [ngIfElse]=\"newDashboardTile\">\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n</ng-template>\n\n<ng-template #newDashboardTile>\n <div class=\"fill-available-space\" [class.new-dashboard-tile]=\"!fc.disabled\" fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <button mat-icon-button\tcolor=\"primary\" *ngIf=\"!fc.disabled\" (click)=\"createNewDashboardTile()\">\n <mat-icon>add</mat-icon>\n </button>\n </div>\n</ng-template>\n", styles: [".fill-available-space{width:100%;height:100%}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i3.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "component", type: i4.MatIconButton, selector: "button[mat-icon-button]", exportAs: ["matButton"] }, { kind: "component", type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i6.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }] });
45
+ }
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TaskRefDashboardTileComponent, decorators: [{
47
+ type: Component,
48
+ args: [{ selector: 'nc-task-ref-dashboard-tile', providers: [
49
+ FrontActionService,
50
+ { provide: TaskContentService, useClass: UnlimitedTaskContentService }
51
+ ], template: "<ng-template [ngIf]=\"!tile.isEmpty\" [ngIfElse]=\"newDashboardTile\">\n <ng-template [cdkPortalOutlet]=\"portal\"></ng-template>\n</ng-template>\n\n<ng-template #newDashboardTile>\n <div class=\"fill-available-space\" [class.new-dashboard-tile]=\"!fc.disabled\" fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <button mat-icon-button\tcolor=\"primary\" *ngIf=\"!fc.disabled\" (click)=\"createNewDashboardTile()\">\n <mat-icon>add</mat-icon>\n </button>\n </div>\n</ng-template>\n", styles: [".fill-available-space{width:100%;height:100%}\n"] }]
52
+ }], ctorParameters: () => [{ type: i1.CaseResourceService }, { type: i1.ProcessService }, { type: i1.LoggerService }, { type: i1.TaskResourceService }, { type: i1.CallChainService }, { type: i1.TaskDataService }, { type: i1.TaskContentService, decorators: [{
53
+ type: SkipSelf
54
+ }] }, { type: undefined, decorators: [{
55
+ type: Inject,
56
+ args: [NAE_TASK_OPERATIONS]
57
+ }] }, { type: i0.Injector }, { type: i1.TaskContentService, decorators: [{
58
+ type: Self
59
+ }] }], propDecorators: { taskContentComponentClassReference: [{
60
+ type: Input
61
+ }] } });
62
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFzay1yZWYtZGFzaGJvYXJkLXRpbGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGF0YS1maWVsZHMvdGFzay1yZWYtZmllbGQvdGFzay1yZWYtZGFzaGJvYXJkLWZpZWxkL3Rhc2stcmVmLWRhc2hib2FyZC10aWxlL3Rhc2stcmVmLWRhc2hib2FyZC10aWxlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL2RhdGEtZmllbGRzL3Rhc2stcmVmLWZpZWxkL3Rhc2stcmVmLWRhc2hib2FyZC1maWVsZC90YXNrLXJlZi1kYXNoYm9hcmQtdGlsZS90YXNrLXJlZi1kYXNoYm9hcmQtdGlsZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI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BvbmVudC5zY3NzJ10sXG4gICAgcHJvdmlkZXJzOiBbXG4gICAgICAgIEZyb250QWN0aW9uU2VydmljZSxcbiAgICAgICAge3Byb3ZpZGU6IFRhc2tDb250ZW50U2VydmljZSwgdXNlQ2xhc3M6IFVubGltaXRlZFRhc2tDb250ZW50U2VydmljZX1cbiAgICBdXG59KVxuZXhwb3J0IGNsYXNzIFRhc2tSZWZEYXNoYm9hcmRUaWxlQ29tcG9uZW50IGV4dGVuZHMgQWJzdHJhY3RUYXNrUmVmRGFzaGJvYXJkVGlsZUNvbXBvbmVudCBpbXBsZW1lbnRzIE9uSW5pdCwgT25EZXN0cm95IHtcblxuICAgIHBvcnRhbDogQ29tcG9uZW50UG9ydGFsPGFueT47XG4gICAgQElucHV0KCkgdGFza0NvbnRlbnRDb21wb25lbnRDbGFzc1JlZmVyZW5jZTogVHlwZTxhbnk+O1xuXG4gICAgcHJpdmF0ZSBfc3ViVGFzazogU3Vic2NyaXB0aW9uO1xuXG4gICAgY29uc3RydWN0b3IoY2FzZVJlc291cmNlU2VydmljZTogQ2FzZVJlc291cmNlU2VydmljZSxcbiAgICAgICAgICAgICAgICBwcm9jZXNzU2VydmljZTogUHJvY2Vzc1NlcnZpY2UsXG4gICAgICAgICAgICAgICAgbG9nZ2VyOiBMb2dnZXJTZXJ2aWNlLFxuICAgICAgICAgICAgICAgIHRhc2tSZXNvdXJjZVNlcnZpY2U6IFRhc2tSZXNvdXJjZVNlcnZpY2UsXG4gICAgICAgICAgICAgICAgY2FsbENoYWluU2VydmljZTogQ2FsbENoYWluU2VydmljZSxcbiAgICAgICAgICAgICAgICB0YXNrRGF0YVNlcnZpY2U6IFRhc2tEYXRhU2VydmljZSxcbiAgICAgICAgICAgICAgICBAU2tpcFNlbGYoKSBwYXJlbnRUYXNrQ29udGVudFNlcnZpY2U6IFRhc2tDb250ZW50U2VydmljZSxcbiAgICAgICAgICAgICAgICBASW5qZWN0KE5BRV9UQVNLX09QRVJBVElPTlMpIHRhc2t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wsIHRoaXMuX2luamVjdG9yKTtcbiAgICB9XG5cbiAgICBuZ09uRGVzdHJveSgpOiB2b2lkIHtcbiAgICAgICAgc3VwZXIubmdPbkRlc3Ryb3koKTtcbiAgICAgICAgaWYgKHRoaXMuX3N1YlRhc2sgIT09IHVuZGVmaW5lZCkge1xuICAgICAgICAgICAgdGhpcy5fc3ViVGFzay51bnN1YnNjcmliZSgpO1xuICAgICAgICB9XG4gICAgfVxuXG59XG4iLCI8bmctdGVtcGxhdGUgW25nSWZdPVwiIXRpbGUuaXNFbXB0eVwiIFtuZ0lmRWxzZV09XCJuZXdEYXNoYm9hcmRUaWxlXCI+XG4gICAgPG5nLXRlbXBsYXRlIFtjZGtQb3J0YWxPdXRsZXRdPVwicG9ydGFsXCI+PC9uZy10ZW1wbGF0ZT5cbjwvbmctdGVtcGxhdGU+XG5cbjxuZy10ZW1wbGF0ZSAjbmV3RGFzaGJvYXJkVGlsZT5cbiAgICA8ZGl2IGNsYXNzPVwiZmlsbC1hdmFpbGFibGUtc3BhY2VcIiBbY2xhc3MubmV3LWRhc2hib2FyZC10aWxlXT1cIiFmYy5kaXNhYmxlZFwiIGZ4TGF5b3V0PVwicm93XCIgZnhMYXlvdXRBbGlnbj1cImNlbnRlciBjZW50ZXJcIj5cbiAgICAgICAgPGJ1dHRvbiBtYXQtaWNvbi1idXR0b25cdGNvbG9yPVwicHJpbWFyeVwiICpuZ0lmPVwiIWZjLmRpc2FibGVkXCIgKGNsaWNrKT1cImNyZWF0ZU5ld0Rhc2hib2FyZFRpbGUoKVwiPlxuICAgICAgICAgICAgPG1hdC1pY29uPmFkZDwvbWF0LWljb24+XG4gICAgICAgIDwvYnV0dG9uPlxuICAgIDwvZGl2PlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
@@ -0,0 +1,28 @@
1
+ import { Component, Inject, Input, Optional } from '@angular/core';
2
+ import { AbstractTaskRefFieldComponent, NAE_INFORM_ABOUT_INVALID_DATA } from '@netgrif/components-core';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/common";
5
+ import * as i2 from "../data-field-template/data-field-template.component";
6
+ /**
7
+ * @deprecated
8
+ * */
9
+ export class TaskRefFieldComponent extends AbstractTaskRefFieldComponent {
10
+ taskContentComponentClassReference;
11
+ constructor(informAboutInvalidData) {
12
+ super(informAboutInvalidData);
13
+ }
14
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TaskRefFieldComponent, deps: [{ token: NAE_INFORM_ABOUT_INVALID_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
15
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TaskRefFieldComponent, selector: "nc-task-ref-field", inputs: { taskContentComponentClassReference: "taskContentComponentClassReference" }, usesInheritance: true, ngImport: i0, template: "<nc-data-field-template *ngIf=\"!dataField.behavior.hidden\"\n [dataField]=\"dataField\"\n [offset]=\"taskOffset\">\n</nc-data-field-template>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.DataFieldTemplateComponent, selector: "nc-data-field-template" }] });
16
+ }
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TaskRefFieldComponent, decorators: [{
18
+ type: Component,
19
+ args: [{ selector: 'nc-task-ref-field', template: "<nc-data-field-template *ngIf=\"!dataField.behavior.hidden\"\n [dataField]=\"dataField\"\n [offset]=\"taskOffset\">\n</nc-data-field-template>\n" }]
20
+ }], ctorParameters: () => [{ type: undefined, decorators: [{
21
+ type: Optional
22
+ }, {
23
+ type: Inject,
24
+ args: [NAE_INFORM_ABOUT_INVALID_DATA]
25
+ }] }], propDecorators: { taskContentComponentClassReference: [{
26
+ type: Input
27
+ }] } });
28
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlI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