@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,79 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { CountCardComponent } from './cards/count-card/count-card.component';
4
- import { IframeCardComponent } from './cards/iframe-card/iframe-card.component';
5
- import { DashboardContentComponent } from './dashboard-content/dashboard-content.component';
6
- import { MaterialModule, TranslateLibModule } from '@netgrif/components-core';
7
- import { PieChartCardComponent } from './cards/piechart-card/pie-chart-card.component';
8
- import { LineChartCardComponent } from './cards/linechart-card/line-chart-card.component';
9
- import { BarchartCardComponent } from './cards/barchart-card/barchart-card.component';
10
- import { LinearGaugeCardComponent } from './cards/lineargauge-card/linear-gauge-card.component';
11
- import { NgxChartsModule } from '@swimlane/ngx-charts';
12
- import { PortalCardComponent } from './cards/portal-card/portal-card.component';
13
- import { MatGridListModule } from "@angular/material/grid-list";
14
- import * as i0 from "@angular/core";
15
- export class DashboardComponentModule {
16
- }
17
- DashboardComponentModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DashboardComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
18
- DashboardComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DashboardComponentModule, declarations: [CountCardComponent,
19
- IframeCardComponent,
20
- DashboardContentComponent,
21
- PieChartCardComponent,
22
- LineChartCardComponent,
23
- BarchartCardComponent,
24
- LinearGaugeCardComponent,
25
- PortalCardComponent], imports: [CommonModule,
26
- MaterialModule,
27
- TranslateLibModule,
28
- NgxChartsModule,
29
- MaterialModule,
30
- MatGridListModule], exports: [CountCardComponent,
31
- IframeCardComponent,
32
- DashboardContentComponent,
33
- PieChartCardComponent,
34
- LineChartCardComponent,
35
- BarchartCardComponent,
36
- LinearGaugeCardComponent,
37
- PortalCardComponent] });
38
- DashboardComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DashboardComponentModule, imports: [[
39
- CommonModule,
40
- MaterialModule,
41
- TranslateLibModule,
42
- NgxChartsModule,
43
- MaterialModule,
44
- MatGridListModule
45
- ]] });
46
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DashboardComponentModule, decorators: [{
47
- type: NgModule,
48
- args: [{
49
- declarations: [
50
- CountCardComponent,
51
- IframeCardComponent,
52
- DashboardContentComponent,
53
- PieChartCardComponent,
54
- LineChartCardComponent,
55
- BarchartCardComponent,
56
- LinearGaugeCardComponent,
57
- PortalCardComponent
58
- ],
59
- exports: [
60
- CountCardComponent,
61
- IframeCardComponent,
62
- DashboardContentComponent,
63
- PieChartCardComponent,
64
- LineChartCardComponent,
65
- BarchartCardComponent,
66
- LinearGaugeCardComponent,
67
- PortalCardComponent
68
- ],
69
- imports: [
70
- CommonModule,
71
- MaterialModule,
72
- TranslateLibModule,
73
- NgxChartsModule,
74
- MaterialModule,
75
- MatGridListModule
76
- ]
77
- }]
78
- }] });
79
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGFzaGJvYXJkLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25ldGdyaWYtY29tcG9uZW50cy9zcmMvbGliL2Rhc2hib2FyZC9kYXNoYm9hcmQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkMsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQzdDLE9BQU8sRUFBQyxrQkFBa0IsRUFBQyxNQUFNLHlDQUF5QyxDQUFDO0FBQzNFLE9BQU8sRUFBQyxtQkFBbUIsRUFBQyxNQUFNLDJDQUEyQyxDQUFDO0FBQzlFLE9BQU8sRUFBQyx5QkFBeUIsRUFBQyxNQUFNLGlEQUFpRCxDQUFDO0FBQzFGLE9BQU8sRUFBQyxjQUFjLEVBQUUsa0JBQWtCLEVBQUMsTUFBTSwwQkFBMEIsQ0FBQztBQUM1RSxPQUF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4gICAgICAgIFBvcnRhbENhcmRDb21wb25lbnRcbiAgICBdLFxuICAgIGV4cG9ydHM6IFtcbiAgICAgICAgQ291bnRDYXJkQ29tcG9uZW50LFxuICAgICAgICBJZnJhbWVDYXJkQ29tcG9uZW50LFxuICAgICAgICBEYXNoYm9hcmRDb250ZW50Q29tcG9uZW50LFxuICAgICAgICBQaWVDaGFydENhcmRDb21wb25lbnQsXG4gICAgICAgIExpbmVDaGFydENhcmRDb21wb25lbnQsXG4gICAgICAgIEJhcmNoYXJ0Q2FyZENvbXBvbmVudCxcbiAgICAgICAgTGluZWFyR2F1Z2VDYXJkQ29tcG9uZW50LFxuICAgICAgICBQb3J0YWxDYXJkQ29tcG9uZW50XG4gICAgXSxcbiAgICBpbXBvcnRzOiBbXG4gICAgICAgIENvbW1vbk1vZHVsZSxcbiAgICAgICAgTWF0ZXJpYWxNb2R1bGUsXG4gICAgICAgIFRyYW5zbGF0ZUxpYk1vZHVsZSxcbiAgICAgICAgTmd4Q2hhcnRzTW9kdWxlLFxuICAgICAgICBNYXRlcmlhbE1vZHVsZSxcbiAgICAgICAgTWF0R3JpZExpc3RNb2R1bGVcbiAgICBdXG59KVxuZXhwb3J0IGNsYXNzIERhc2hib2FyZENvbXBvbmVudE1vZHVsZSB7XG59XG4iXX0=
@@ -1,42 +0,0 @@
1
- import { Component, Inject, Optional } from '@angular/core';
2
- import { AbstractButtonDefaultFieldComponent, 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 "@netgrif/components-core";
6
- import * as i3 from "../../required-label/required-label.component";
7
- import * as i4 from "@angular/material/button";
8
- import * as i5 from "@angular/material/icon";
9
- import * as i6 from "@angular/material/progress-spinner";
10
- import * as i7 from "@angular/common";
11
- import * as i8 from "@angular/flex-layout/extended";
12
- import * as i9 from "@angular/material/form-field";
13
- import * as i10 from "@angular/material/tooltip";
14
- export class ButtonDefaultFieldComponent extends AbstractButtonDefaultFieldComponent {
15
- constructor(_translate, _dialogService, dataFieldPortalData) {
16
- super(_translate, _dialogService, dataFieldPortalData);
17
- }
18
- ngOnInit() {
19
- this.checkProperties();
20
- this.subComp = this.dataField.componentChange$().subscribe(() => this.checkProperties());
21
- }
22
- checkProperties() {
23
- this.align = this.dataField.component?.properties?.align;
24
- this.stretch = this.dataField.component?.properties?.stretch === 'true';
25
- }
26
- ngOnDestroy() {
27
- super.ngOnDestroy();
28
- this.subComp.unsubscribe();
29
- }
30
- }
31
- ButtonDefaultFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ButtonDefaultFieldComponent, deps: [{ token: i1.TranslateService }, { token: i2.DialogService }, { token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
32
- ButtonDefaultFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ButtonDefaultFieldComponent, selector: "nc-button-default-field", usesInheritance: true, ngImport: i0, template: "<div [ngClass]=\"{'flex-end': align === 'end',\n 'flex-start': align === 'start',\n 'flex-center': align === 'center',\n 'full-button-width': stretch ,\n 'padding-bottom': !hasTitle()}\">\n <mat-label class=\"netgrif-label\" [ngClass]=\"{'netgrif-label-disabled': formControlRef.disabled}\"\n *ngIf=\"!showLargeLayout.value && hasTitle()\">\n {{dataField.title}}\n <nc-required-label *ngIf=\"dataField.behavior.required\" [isIn]=\"!dataField.disabled\"></nc-required-label>\n <br>\n </mat-label>\n <button mat-button\n [ngClass]=\"{\n 'mat-raised-button': dataField.getComponentType() === 'raised',\n 'mat-stroked-button': dataField.getComponentType() === 'stroked',\n 'mat-flat-button': dataField.getComponentType() === 'flat',\n 'mat-icon-button': dataField.getComponentType() === 'icon',\n 'mat-fab': dataField.getComponentType() === 'fab',\n 'mat-mini-fab': dataField.getComponentType() === 'minifab',\n 'full-button-width': stretch ,\n 'no-shadow': dataField.getComponentType() === 'fab' || dataField.getComponentType() === 'minifab'}\"\n color=\"primary\"\n [matTooltip]=\"dataField.description\"\n [disabled]=\"formControlRef.disabled || dataField.waitingForResponse\"\n (click)=\"resolveValue()\">\n <div class=\"grid-wrapper\">\n <mat-icon *ngIf=\"dataField.waitingForResponse\" class=\"grid-1-1 margin-auto\">\n <mat-spinner color=\"warn\" diameter=\"22\"></mat-spinner>\n </mat-icon>\n <div [ngClass]=\"{'label-waiting': dataField.waitingForResponse}\" class=\"grid-1-1\">\n {{(dataField.placeholder === undefined || dataField.placeholder === '') ? dataField.title : (isIconTypeButton() ? '' : dataField.placeholder) }}\n </div>\n <mat-icon class=\"grid-1-1\"\n *ngIf=\"isIconTypeButton() && !dataField.waitingForResponse\">{{dataField.placeholder}}</mat-icon>\n </div>\n </button>\n\n <mat-error *ngIf=\"dataField.isInvalid(formControlRef) || hasTitle()\">{{getErrorMessage()}}</mat-error>\n</div>\n", styles: [".label-waiting{opacity:0}.grid-wrapper{display:grid;place-items:center}.grid-1-1{grid-column:1;grid-row:1}.margin-auto{margin:0 auto}.flex-end{display:flex;place-content:flex-end}.flex-start{display:flex;place-content:flex-start}.flex-center{display:flex;place-content:center}.full-button-width{width:100%}.padding-bottom{padding-bottom:6px}.no-shadow{box-shadow:unset!important}\n"], components: [{ type: i3.RequiredLabelComponent, selector: "nc-required-label", inputs: ["isIn"] }, { type: i4.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { type: i5.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i6.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }], directives: [{ type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i8.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: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9.MatLabel, selector: "mat-label" }, { type: i10.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i9.MatError, selector: "mat-error", inputs: ["id"] }] });
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ButtonDefaultFieldComponent, decorators: [{
34
- type: Component,
35
- args: [{ selector: 'nc-button-default-field', template: "<div [ngClass]=\"{'flex-end': align === 'end',\n 'flex-start': align === 'start',\n 'flex-center': align === 'center',\n 'full-button-width': stretch ,\n 'padding-bottom': !hasTitle()}\">\n <mat-label class=\"netgrif-label\" [ngClass]=\"{'netgrif-label-disabled': formControlRef.disabled}\"\n *ngIf=\"!showLargeLayout.value && hasTitle()\">\n {{dataField.title}}\n <nc-required-label *ngIf=\"dataField.behavior.required\" [isIn]=\"!dataField.disabled\"></nc-required-label>\n <br>\n </mat-label>\n <button mat-button\n [ngClass]=\"{\n 'mat-raised-button': dataField.getComponentType() === 'raised',\n 'mat-stroked-button': dataField.getComponentType() === 'stroked',\n 'mat-flat-button': dataField.getComponentType() === 'flat',\n 'mat-icon-button': dataField.getComponentType() === 'icon',\n 'mat-fab': dataField.getComponentType() === 'fab',\n 'mat-mini-fab': dataField.getComponentType() === 'minifab',\n 'full-button-width': stretch ,\n 'no-shadow': dataField.getComponentType() === 'fab' || dataField.getComponentType() === 'minifab'}\"\n color=\"primary\"\n [matTooltip]=\"dataField.description\"\n [disabled]=\"formControlRef.disabled || dataField.waitingForResponse\"\n (click)=\"resolveValue()\">\n <div class=\"grid-wrapper\">\n <mat-icon *ngIf=\"dataField.waitingForResponse\" class=\"grid-1-1 margin-auto\">\n <mat-spinner color=\"warn\" diameter=\"22\"></mat-spinner>\n </mat-icon>\n <div [ngClass]=\"{'label-waiting': dataField.waitingForResponse}\" class=\"grid-1-1\">\n {{(dataField.placeholder === undefined || dataField.placeholder === '') ? dataField.title : (isIconTypeButton() ? '' : dataField.placeholder) }}\n </div>\n <mat-icon class=\"grid-1-1\"\n *ngIf=\"isIconTypeButton() && !dataField.waitingForResponse\">{{dataField.placeholder}}</mat-icon>\n </div>\n </button>\n\n <mat-error *ngIf=\"dataField.isInvalid(formControlRef) || hasTitle()\">{{getErrorMessage()}}</mat-error>\n</div>\n", styles: [".label-waiting{opacity:0}.grid-wrapper{display:grid;place-items:center}.grid-1-1{grid-column:1;grid-row:1}.margin-auto{margin:0 auto}.flex-end{display:flex;place-content:flex-end}.flex-start{display:flex;place-content:flex-start}.flex-center{display:flex;place-content:center}.full-button-width{width:100%}.padding-bottom{padding-bottom:6px}.no-shadow{box-shadow:unset!important}\n"] }]
36
- }], ctorParameters: function () { return [{ type: i1.TranslateService }, { type: i2.DialogService }, { type: undefined, decorators: [{
37
- type: Optional
38
- }, {
39
- type: Inject,
40
- args: [DATA_FIELD_PORTAL_DATA]
41
- }] }]; } });
42
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLWRlZmF1bHQtZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGF0YS1maW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G4gICAgICAgICAgICBbbmdDbGFzc109XCJ7XG4gICAgICAgICAgICAgICAgJ21hdC1yYWlzZWQtYnV0dG9uJzogZGF0YUZpZWxkLmdldENvbXBvbmVudFR5cGUoKSA9PT0gJ3JhaXNlZCcsXG4gICAgICAgICAgICAgICAgJ21hdC1zdHJva2VkLWJ1dHRvbic6IGRhdGFGaWVsZC5nZXRDb21wb25lbnRUeXBlKCkgPT09ICdzdHJva2VkJyxcbiAgICAgICAgICAgICAgICAnbWF0LWZsYXQtYnV0dG9uJzogZGF0YUZpZWxkLmdldENvbXBvbmVudFR5cGUoKSA9PT0gJ2ZsYXQnLFxuICAgICAgICAgICAgICAgICdtYXQtaWNvbi1idXR0b24nOiBkYXRhRmllbGQuZ2V0Q29tcG9uZW50VHlwZSgpID09PSAnaWNvbicsXG4gICAgICAgICAgICAgICAgJ21hdC1mYWInOiBkYXRhRmllbGQuZ2V0Q29tcG9uZW50VHlwZSgpID09PSAnZmFiJyxcbiAgICAgICAgICAgICAgICAnbWF0LW1pbmktZmFiJzogZGF0YUZpZWxkLmdldENvbXBvbmVudFR5cGUoKSA9PT0gJ21pbmlmYWInLFxuICAgICAgICAgICAgICAgICdmdWxsLWJ1dHRvbi13aWR0aCc6IHN0cmV0Y2ggLFxuICAgICAgICAgICAgICAgICduby1zaGFkb3cnOiBkYXRhRmllbGQuZ2V0Q29tcG9uZW50VHlwZSgpID09PSAnZmFiJyB8fCBkYXRhRmllbGQuZ2V0Q29tcG9uZW50VHlwZSgpID09PSAnbWluaWZhYid9XCJcbiAgICAgICAgICAgIGNvbG9yPVwicHJpbWFyeVwiXG4gICAgICAgICAgICBbbWF0VG9vbHRpcF09XCJkYXRhRmllbGQuZGVzY3JpcHRpb25cIlxuICAgICAgICAgICAgW2Rpc2FibGVkXT1cImZvcm1Db250cm9sUmVmLmRpc2FibGVkIHx8IGRhdGFGaWVsZC53YWl0aW5nRm9yUmVzcG9uc2VcIlxuICAgICAgICAgICAgKGNsaWNrKT1cInJlc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Jyb3I+XG48L2Rpdj5cbiJdfQ==
@@ -1,25 +0,0 @@
1
- import { Component, Inject, Optional } from '@angular/core';
2
- import { AbstractButtonFieldComponent, NAE_INFORM_ABOUT_INVALID_DATA } from '@netgrif/components-core';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "../data-field-template/data-field-template.component";
5
- import * as i2 from "@angular/common";
6
- /**
7
- * @deprecated
8
- * */
9
- export class ButtonFieldComponent extends AbstractButtonFieldComponent {
10
- constructor(informAboutInvalidData) {
11
- super(informAboutInvalidData);
12
- }
13
- }
14
- ButtonFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ButtonFieldComponent, deps: [{ token: NAE_INFORM_ABOUT_INVALID_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
15
- ButtonFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: ButtonFieldComponent, selector: "nc-button-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\n", styles: [""], components: [{ type: i1.DataFieldTemplateComponent, selector: "nc-data-field-template" }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: ButtonFieldComponent, decorators: [{
17
- type: Component,
18
- args: [{ selector: 'nc-button-field', template: "<nc-data-field-template *ngIf=\"!dataField.behavior.hidden\"\n [dataField]=\"dataField\"\n [offset]=\"taskOffset\">\n</nc-data-field-template>\n\n", styles: [""] }]
19
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
20
- type: Optional
21
- }, {
22
- type: Inject,
23
- args: [NAE_INFORM_ABOUT_INVALID_DATA]
24
- }] }]; } });
25
- //# sourceMappingURL=data:application/json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fSU5GT1JNX0FCT1VUX0lOVkFMSURfREFUQX0gZnJvbSAnQG5ldGdyaWYvY29tcG9uZW50cy1jb3JlJztcblxuLyoqXG4gKiBAZGVwcmVjYXRlZFxuICogKi9cbkBDb21wb25lbnQoe1xuICAgIHNlbGVjdG9yOiAnbmMtYnV0dG9uLWZpZWxkJyxcbiAgICB0ZW1wbGF0ZVVybDogJy4vYnV0dG9uLWZpZWxkLmNvbXBvbmVudC5odG1sJyxcbiAgICBzdHlsZVVybHM6IFsnLi9idXR0b24tZmllbGQuY29tcG9uZW50LnNjc3MnXVxufSlcbmV4cG9ydCBjbGFzcyBCdXR0b25GaWVsZENvbXBvbmVudCBleHRlbmRzIEFic3RyYWN0QnV0dG9uRmllbGRDb21wb25lbnQge1xuXG4gICAgcHVibGljIGFsaWduOiBzdHJpbmc7XG4gICAgcHVibGljIHN0cmV0Y2g6IHN0cmluZztcblxuICAgIGNvbnN0cnVjdG9yKEBPcHRpb25hbCgpIEBJbmplY3QoTkFFX0lORk9STV9BQk9VVF9JTlZBTElEX0RBVEEpIGluZm9ybUFib3V0SW52YWxpZERhdGE6IGJvb2xlYW4gfCBudWxsKSB7XG4gICAgICAgIHN1cGVyKGluZm9ybUFib3V0SW52YWxpZERhdGEpO1xuICAgIH1cblxufVxuIiwiPG5jLWRhdGEtZmllbGQtdGVtcGxhdGUgKm5nSWY9XCIhZGF0YUZpZWxkLmJlaGF2aW9yLmhpZGRlblwiXG4gICAgICAgICAgICAgICAgICAgICAgICBbZGF0YUZpZWxkXT1cImRhdGFGaWVsZFwiXG4gICAgICAgICAgICAgICAgICAgICAgICBbb2Zmc2V0XT1cInRhc2tPZmZzZXRcIj5cbjwvbmMtZGF0YS1maWVsZC10ZW1wbGF0ZT5cblxuIl19
@@ -1,24 +0,0 @@
1
- import { Component } from '@angular/core';
2
- import { AbstractDataFieldTemplateComponent } from '@netgrif/components-core';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@netgrif/components-core";
5
- import * as i2 from "../required-label/required-label.component";
6
- import * as i3 from "@angular/common";
7
- import * as i4 from "@angular/flex-layout/flex";
8
- import * as i5 from "@angular/flex-layout/extended";
9
- import * as i6 from "@angular/material/tooltip";
10
- import * as i7 from "@angular/cdk/portal";
11
- export class DataFieldTemplateComponent extends AbstractDataFieldTemplateComponent {
12
- constructor(_paperView, _config, componentRegistry, injector) {
13
- super(_paperView, _config, componentRegistry, injector);
14
- this._paperView = _paperView;
15
- this._config = _config;
16
- }
17
- }
18
- DataFieldTemplateComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DataFieldTemplateComponent, deps: [{ token: i1.PaperViewService }, { token: i1.ConfigurationService }, { token: i1.ComponentRegistryService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
19
- DataFieldTemplateComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: DataFieldTemplateComponent, selector: "nc-data-field-template", usesInheritance: true, ngImport: i0, template: "<div class=\"fill-all-space\" #dataFieldContainer>\n\n <!-- Large layout -->\n <ng-template [ngIf]=\"evaluateTemplateCondition()\" [ngIfElse]=\"elseTemplate\">\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" class=\"fill-all-space\" [ngClass]=\"{'padding-16px': isPaperView(), 'padding-32px': !isPaperView()}\">\n <div fxFlex=\"{{offset}}\"></div>\n <div fxFlex=\"{{47.5 - offset}}\" class=\"cell-padding\">\n <span class=\"data-field-title\" [matTooltip]=\"dataField.description\">{{dataField.title}}<nc-required-label *ngIf=\"dataField.behavior.required\" [isIn]=\"true\"></nc-required-label></span>\n </div>\n <div fxFlex=\"5\"></div>\n <div fxFlex=\"{{47.5 - offset}}\" class=\"cell-padding\">\n <ng-container [cdkPortalHost]=\"this.componentPortal\"></ng-container>\n </div>\n <div fxFlex=\"{{offset}}\"></div>\n </div>\n </ng-template>\n\n <!-- Small layout -->\n <ng-template #elseTemplate>\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" class=\"fill-all-space padding-8px\">\n <div fxFlex=\"{{offset}}\"></div>\n <div fxFlex=\"{{100 - (2 * offset)}}\" class=\"cell-padding\">\n <ng-container [cdkPortalHost]=\"this.componentPortal\"></ng-container>\n </div>\n <div fxFlex=\"{{offset}}\"></div>\n </div>\n </ng-template>\n</div>\n\n", styles: [".data-field-title{font-size:16px;font-weight:400}.fill-all-space{min-width:100%;padding:0;margin:0 auto}.cell-padding{margin:0;padding:4px 0 0}.padding-8px{padding:0 8px}.padding-16px{padding:0 16px}.padding-32px{padding:0 32px}\n"], components: [{ type: i2.RequiredLabelComponent, selector: "nc-required-label", inputs: ["isIn"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.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"] }, { type: i4.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"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5.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: i4.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i6.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i7.PortalHostDirective, selector: "[cdkPortalHost], [portalHost]", inputs: ["cdkPortalHost"], exportAs: ["cdkPortalHost"] }] });
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DataFieldTemplateComponent, decorators: [{
21
- type: Component,
22
- args: [{ selector: 'nc-data-field-template', template: "<div class=\"fill-all-space\" #dataFieldContainer>\n\n <!-- Large layout -->\n <ng-template [ngIf]=\"evaluateTemplateCondition()\" [ngIfElse]=\"elseTemplate\">\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" class=\"fill-all-space\" [ngClass]=\"{'padding-16px': isPaperView(), 'padding-32px': !isPaperView()}\">\n <div fxFlex=\"{{offset}}\"></div>\n <div fxFlex=\"{{47.5 - offset}}\" class=\"cell-padding\">\n <span class=\"data-field-title\" [matTooltip]=\"dataField.description\">{{dataField.title}}<nc-required-label *ngIf=\"dataField.behavior.required\" [isIn]=\"true\"></nc-required-label></span>\n </div>\n <div fxFlex=\"5\"></div>\n <div fxFlex=\"{{47.5 - offset}}\" class=\"cell-padding\">\n <ng-container [cdkPortalHost]=\"this.componentPortal\"></ng-container>\n </div>\n <div fxFlex=\"{{offset}}\"></div>\n </div>\n </ng-template>\n\n <!-- Small layout -->\n <ng-template #elseTemplate>\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" class=\"fill-all-space padding-8px\">\n <div fxFlex=\"{{offset}}\"></div>\n <div fxFlex=\"{{100 - (2 * offset)}}\" class=\"cell-padding\">\n <ng-container [cdkPortalHost]=\"this.componentPortal\"></ng-container>\n </div>\n <div fxFlex=\"{{offset}}\"></div>\n </div>\n </ng-template>\n</div>\n\n", styles: [".data-field-title{font-size:16px;font-weight:400}.fill-all-space{min-width:100%;padding:0;margin:0 auto}.cell-padding{margin:0;padding:4px 0 0}.padding-8px{padding:0 8px}.padding-16px{padding:0 16px}.padding-32px{padding:0 32px}\n"] }]
23
- }], ctorParameters: function () { return [{ type: i1.PaperViewService }, { type: i1.ConfigurationService }, { type: i1.ComponentRegistryService }, { type: i0.Injector }]; } });
24
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJm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mZzZXR9fVwiPjwvZGl2PlxuICAgICAgICA8L2Rpdj5cbiAgICA8L25nLXRlbXBsYXRlPlxuXG4gICAgPCEtLSBTbWFsbCBsYXlvdXQgLS0+XG4gICAgPG5nLXRlbXBsYXRlICNlbHNlVGVtcGxhdGU+XG4gICAgICAgIDxkaXYgZnhMYXlvdXQ9XCJyb3dcIiBmeExheW91dEFsaWduPVwic3RhcnQgY2VudGVyXCIgY2xhc3M9XCJmaWxsLWFsbC1zcGFjZSBwYWRkaW5nLThweFwiPlxuICAgICAgICAgICAgPGRpdiBmeEZsZXg9XCJ7e29mZnNldH19XCI+PC9kaXY+XG4gICAgICAgICAgICA8ZGl2IGZ4RmxleD1cInt7MTAwIC0gICgyICogb2Zmc2V0KX19XCIgY2xhc3M9XCJjZWxsLXBhZGRpbmdcIj5cbiAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyIFtjZGtQb3J0YWxIb3N0XT1cInRoaXMuY29tcG9uZW50UG9ydGFsXCI+PC9uZy1jb250YWluZXI+XG4gICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIDxkaXYgZnhGbGV4PVwie3tvZmZzZXR9fVwiPjwvZGl2PlxuICAgICAgICA8L2Rpdj5cbiAgICA8L25nLXRlbXBsYXRlPlxuPC9kaXY+XG5cbiJdfQ==
@@ -1,38 +0,0 @@
1
- import { Component, Inject, Optional } from '@angular/core';
2
- import { AbstractDateDefaultFieldComponent, DATA_FIELD_PORTAL_DATA, DATE_FORMAT } from '@netgrif/components-core';
3
- import { MAT_DATE_FORMATS, MAT_DATE_LOCALE } from "@angular/material/core";
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@ngx-translate/core";
6
- import * as i2 from "@angular-material-components/datetime-picker";
7
- import * as i3 from "@netgrif/components-core";
8
- import * as i4 from "@angular/material/form-field";
9
- import * as i5 from "@angular/material/datepicker";
10
- import * as i6 from "@angular/common";
11
- import * as i7 from "@angular/material/input";
12
- import * as i8 from "@angular/forms";
13
- import * as i9 from "@angular/flex-layout/extended";
14
- export class DateDefaultFieldComponent extends AbstractDateDefaultFieldComponent {
15
- constructor(_translate, _adapter, _locale, _languageService, dataFieldPortalData) {
16
- super(_translate, _adapter, _locale, _languageService, dataFieldPortalData);
17
- this._locale = _locale;
18
- }
19
- }
20
- DateDefaultFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateDefaultFieldComponent, deps: [{ token: i1.TranslateService }, { token: i2.NgxMatDateAdapter }, { token: MAT_DATE_LOCALE }, { token: i3.LanguageService }, { token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
21
- DateDefaultFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: DateDefaultFieldComponent, selector: "nc-date-default-field", providers: [
22
- { provide: MAT_DATE_FORMATS, useValue: DATE_FORMAT }
23
- ], 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 [matDatepicker]=\"datepicker\"\n [required]=\"dataField.behavior.required\"\n [placeholder]=\"dataField.placeholder\"\n [formControl]=\"formControlRef\"\n (click)=\"datepicker.open()\"\n [min]=\"dataField.min\"\n [max]=\"dataField.max\"\n (keydown.enter)=\"datepicker.close()\">\n <mat-datepicker-toggle matPrefix [for]=\"datepicker\"></mat-datepicker-toggle>\n <mat-datepicker #datepicker></mat-datepicker>\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: i4.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { type: i5.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { type: i5.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }], directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.MatLabel, selector: "mat-label" }, { type: i7.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.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { type: i8.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: i8.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i8.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i4.MatPrefix, selector: "[matPrefix]" }, { type: i4.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { type: i6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i9.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: i4.MatError, selector: "mat-error", inputs: ["id"] }] });
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateDefaultFieldComponent, decorators: [{
25
- type: Component,
26
- args: [{ selector: 'nc-date-default-field', providers: [
27
- { provide: MAT_DATE_FORMATS, useValue: DATE_FORMAT }
28
- ], 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 [matDatepicker]=\"datepicker\"\n [required]=\"dataField.behavior.required\"\n [placeholder]=\"dataField.placeholder\"\n [formControl]=\"formControlRef\"\n (click)=\"datepicker.open()\"\n [min]=\"dataField.min\"\n [max]=\"dataField.max\"\n (keydown.enter)=\"datepicker.close()\">\n <mat-datepicker-toggle matPrefix [for]=\"datepicker\"></mat-datepicker-toggle>\n <mat-datepicker #datepicker></mat-datepicker>\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"] }]
29
- }], ctorParameters: function () { return [{ type: i1.TranslateService }, { type: i2.NgxMatDateAdapter }, { type: undefined, decorators: [{
30
- type: Inject,
31
- args: [MAT_DATE_LOCALE]
32
- }] }, { type: i3.LanguageService }, { type: undefined, decorators: [{
33
- type: Optional
34
- }, {
35
- type: Inject,
36
- args: [DATA_FIELD_PORTAL_DATA]
37
- }] }]; } });
38
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlI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1mb3JtLWZpZWxkPlxuIl19
@@ -1,39 +0,0 @@
1
- import { Component, Inject, Optional } from '@angular/core';
2
- import { AbstractDateTimeDefaultFieldComponent, DATA_FIELD_PORTAL_DATA, DATE_TIME_FORMAT } from '@netgrif/components-core';
3
- import { NGX_MAT_DATE_FORMATS } from "@angular-material-components/datetime-picker";
4
- import { MAT_DATE_LOCALE } from "@angular/material/core";
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@ngx-translate/core";
7
- import * as i2 from "@angular-material-components/datetime-picker";
8
- import * as i3 from "@netgrif/components-core";
9
- import * as i4 from "@angular/material/form-field";
10
- import * as i5 from "@angular/material/datepicker";
11
- import * as i6 from "@angular/common";
12
- import * as i7 from "@angular/material/input";
13
- import * as i8 from "@angular/forms";
14
- import * as i9 from "@angular/flex-layout/extended";
15
- export class DateTimeDefaultFieldComponent extends AbstractDateTimeDefaultFieldComponent {
16
- constructor(_translate, _adapter, _locale, _languageService, dataFieldPortalData) {
17
- super(_translate, _adapter, _locale, _languageService, dataFieldPortalData);
18
- this._locale = _locale;
19
- }
20
- }
21
- DateTimeDefaultFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateTimeDefaultFieldComponent, deps: [{ token: i1.TranslateService }, { token: i2.NgxMatDateAdapter }, { token: MAT_DATE_LOCALE }, { token: i3.LanguageService }, { token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
22
- DateTimeDefaultFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: DateTimeDefaultFieldComponent, selector: "nc-date-time-default-field", providers: [
23
- { provide: NGX_MAT_DATE_FORMATS, useValue: DATE_TIME_FORMAT }
24
- ], 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 [ngxMatDatetimePicker]=\"picker\"\n [required]=\"dataField.behavior.required\"\n [placeholder]=\"dataField.placeholder\"\n [formControl]=\"formControlRef\"\n [min]=\"dataField.min\"\n [max]=\"dataField.max\"\n (click)=\"picker.open()\">\n <mat-datepicker-toggle matPrefix [for]=\"picker\"></mat-datepicker-toggle>\n <ngx-mat-datetime-picker #picker\n [showSpinners]=\"true\"\n [showSeconds]=\"false\"\n [stepHour]=\"1\"\n [stepMinute]=\"5\"\n [color]=\"'primary'\"\n [enableMeridian]=\"false\">\n </ngx-mat-datetime-picker>\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: i4.MatFormField, selector: "mat-form-field", inputs: ["color", "appearance", "hideRequiredMarker", "hintLabel", "floatLabel"], exportAs: ["matFormField"] }, { type: i5.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { type: i2.NgxMatDatetimePicker, selector: "ngx-mat-datetime-picker", inputs: ["calendarHeaderComponent", "startAt", "startView", "defaultColor", "color", "touchUi", "hideTime", "disabled", "panelClass", "dateClass", "opened", "showSpinners", "showSeconds", "stepHour", "stepMinute", "stepSecond", "enableMeridian", "disableMinute", "defaultTime"], outputs: ["yearSelected", "monthSelected", "opened", "closed"], exportAs: ["ngxMatDatetimePicker"] }], directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.MatLabel, selector: "mat-label" }, { type: i7.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: i2.NgxMatDatetimeInput, selector: "input[ngxMatDatetimePicker]", inputs: ["ngxMatDatetimePicker", "ngxMatDatetimePickerFilter", "value", "min", "max", "disabled"], outputs: ["dateChange", "dateInput"], exportAs: ["ngxMatDatetimePickerInput"] }, { type: i8.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: i8.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i8.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i4.MatPrefix, selector: "[matPrefix]" }, { type: i4.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { type: i6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i9.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: i4.MatError, selector: "mat-error", inputs: ["id"] }] });
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: DateTimeDefaultFieldComponent, decorators: [{
26
- type: Component,
27
- args: [{ selector: 'nc-date-time-default-field', providers: [
28
- { provide: NGX_MAT_DATE_FORMATS, useValue: DATE_TIME_FORMAT }
29
- ], 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 [ngxMatDatetimePicker]=\"picker\"\n [required]=\"dataField.behavior.required\"\n [placeholder]=\"dataField.placeholder\"\n [formControl]=\"formControlRef\"\n [min]=\"dataField.min\"\n [max]=\"dataField.max\"\n (click)=\"picker.open()\">\n <mat-datepicker-toggle matPrefix [for]=\"picker\"></mat-datepicker-toggle>\n <ngx-mat-datetime-picker #picker\n [showSpinners]=\"true\"\n [showSeconds]=\"false\"\n [stepHour]=\"1\"\n [stepMinute]=\"5\"\n [color]=\"'primary'\"\n [enableMeridian]=\"false\">\n </ngx-mat-datetime-picker>\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"] }]
30
- }], ctorParameters: function () { return [{ type: i1.TranslateService }, { type: i2.NgxMatDateAdapter }, { type: undefined, decorators: [{
31
- type: Inject,
32
- args: [MAT_DATE_LOCALE]
33
- }] }, { type: i3.LanguageService }, { type: undefined, decorators: [{
34
- type: Optional
35
- }, {
36
- type: Inject,
37
- args: [DATA_FIELD_PORTAL_DATA]
38
- }] }]; } });
39
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS10aW1lLWRlZmF1bHQtZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGF0YS1maWVsZHMvZGF0ZS10aW1lLWZpZWxkL2R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CAqbmdJZj1cIiFzaG93TGFyZ2VMYXlvdXQudmFsdWVcIj57e2RhdGFGaWVsZC50aXRsZX19PC9tYXQtbGFiZWw+XG4gICAgPGlucHV0IG1hdElucHV0XG4gICAgICAgICAgIFtuZ3hNYXREYXRldGltZVBpY2tlcl09XCJwaWNrZXJcIlxuICAgICAgICAgICBbcmVxdWlyZWRdPVwiZGF0YUZpZWxkLmJlaGF2aW9yLnJlcXVpcmVkXCJcbiAgICAgICAgICAgW3BsYWNlaG9sZGVyXT1cImRhdGFGaWVsZC5wbGFjZWhvbGRlclwiXG4gICAgICAgICAgIFtmb3JtQ29udHJvbF09XCJmb3JtQ29udHJvbFJlZlwiXG4gICAgICAgICAgIFttaW5dPVwiZGF0YUZpZWxkLm1pblwiXG4gICAgICAgICAgIFttYXhdPVwiZGF0YUZpZWxkLm1heFwiXG4gICAgICAgICAgIChjbGljayk9XCJwaWNrZXIub3BlbigpXCI+XG4gICAgPG1hdC1kYXRlcGlja2VyLXRvZ2dsZSBtYXRQcmVmaXggW2Zvcl09XCJwaWNrZXJcIj48L21hdC1kYXRlcGlja2VyLXRvZ2dsZT5cbiAgICA8bmd4LW1hdC1kYXRldGltZS1waWNrZXIgI3BpY2tlclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbc2hvd1NwaW5uZXJzXT1cInRydWVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbc2hvd1NlY29uZHNdPVwiZmFsc2VcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbc3RlcEhvdXJdPVwiMVwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtzdGVwTWludXRlXT1cIjVcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICBbY29sb3JdPVwiJ3ByaW1hcnknXCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW2VuYWJsZU1lcmlkaWFuXT1cImZhbHNlXCI+XG4gICAgPC9uZ3gtbWF0LWRhdGV0aW1lLXBpY2tlcj5cbiAgICA8bWF0LWhpbnQgW25nQ2xhc3NdPVwieydtYXQtaGludC1kaXNhYmxlZCc6IGZvcm1Db250cm9sUmVmLmRpc2FibGVkfVwiPnt7ZGF0YUZpZWxkLmRlc2NyaXB0aW9ufX08L21hdC1oaW50PlxuICAgIDxtYXQtZXJyb3IgKm5nSWY9XCJkYXRhRmllbGQuaXNJbnZhbGlkKGZvcm1Db250cm9sUmVmKVwiPnt7Z2V0RXJyb3JNZXNzYWdlKCl9fTwvbWF0LWVycm9yPlxuPC9tYXQtZm9ybS1maWVsZD5cbiJdfQ==
@@ -1,31 +0,0 @@
1
- import { Component, Inject, Optional } from '@angular/core';
2
- import { AbstractEnumerationAutocompleteDynamicFieldComponent, 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/material/form-field";
6
- import * as i3 from "@angular/material/progress-spinner";
7
- import * as i4 from "@angular/material/autocomplete";
8
- import * as i5 from "@angular/material/core";
9
- import * as i6 from "@angular/common";
10
- import * as i7 from "@angular/material/input";
11
- import * as i8 from "@angular/forms";
12
- import * as i9 from "@angular/flex-layout/flex";
13
- import * as i10 from "@angular/flex-layout/extended";
14
- export class EnumerationAutocompleteDynamicFieldComponent extends AbstractEnumerationAutocompleteDynamicFieldComponent {
15
- constructor(_translate, dataFieldPortalData) {
16
- super(_translate, dataFieldPortalData);
17
- this._translate = _translate;
18
- }
19
- }
20
- EnumerationAutocompleteDynamicFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EnumerationAutocompleteDynamicFieldComponent, deps: [{ token: i1.TranslateService }, { token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
21
- EnumerationAutocompleteDynamicFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: EnumerationAutocompleteDynamicFieldComponent, selector: "nc-enumeration-autocomplete-dynamic-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 type=\"text\"\n aria-label=\"Autocomplete\"\n matInput\n #input\n [placeholder]=\"dataField.placeholder\"\n [formControl]=\"formControlRef\"\n [matAutocomplete]=\"auto\"\n [required]=\"dataField.behavior.required\"\n (keyup)=\"change()\">\n <mat-spinner *ngIf=\"dataField.loading\" matSuffix diameter=\"30\"></mat-spinner>\n <mat-autocomplete [displayWith]=\"renderSelection\" autoActiveFirstOption #auto=\"matAutocomplete\">\n\n <mat-option disabled *ngIf=\"(filteredOptions | async)?.length === 0 && !dataField.loading && dataField.value && dataField.value.length > 0\" fxLayoutAlign=\"center center\">\n {{ 'dataField.dynamicEnum.noData' | translate }}\n </mat-option>\n\n <ng-container *ngIf=\"!dataField.loading\">\n <mat-option [value]=\"null\">---</mat-option>\n <mat-option *ngFor=\"let option of filteredOptions | async\" [value]=\"option.key\" (click)=\"change()\">\n {{option.value}}\n </mat-option>\n </ng-container>\n </mat-autocomplete>\n <mat-hint [ngClass]=\"{'mat-hint-disabled': formControlRef.disabled}\">{{dataField.description}}</mat-hint>\n <mat-error *ngIf=\"dataField.isInvalid(formControlRef)\">{{buildErrorMessage()}}</mat-error>\n</mat-form-field>\n\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"] }, { type: i3.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }, { type: i4.MatAutocomplete, selector: "mat-autocomplete", inputs: ["disableRipple"], exportAs: ["matAutocomplete"] }, { type: i5.MatOption, selector: "mat-option", exportAs: ["matOption"] }], directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.MatLabel, selector: "mat-label" }, { type: i7.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: i8.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: i4.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", exportAs: ["matAutocompleteTrigger"] }, { type: i8.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i8.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i8.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i2.MatSuffix, selector: "[matSuffix]" }, { type: i9.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"] }, { type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { type: i6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i10.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"] }], pipes: { "async": i6.AsyncPipe, "translate": i1.TranslatePipe } });
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EnumerationAutocompleteDynamicFieldComponent, decorators: [{
23
- type: Component,
24
- args: [{ selector: 'nc-enumeration-autocomplete-dynamic-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 type=\"text\"\n aria-label=\"Autocomplete\"\n matInput\n #input\n [placeholder]=\"dataField.placeholder\"\n [formControl]=\"formControlRef\"\n [matAutocomplete]=\"auto\"\n [required]=\"dataField.behavior.required\"\n (keyup)=\"change()\">\n <mat-spinner *ngIf=\"dataField.loading\" matSuffix diameter=\"30\"></mat-spinner>\n <mat-autocomplete [displayWith]=\"renderSelection\" autoActiveFirstOption #auto=\"matAutocomplete\">\n\n <mat-option disabled *ngIf=\"(filteredOptions | async)?.length === 0 && !dataField.loading && dataField.value && dataField.value.length > 0\" fxLayoutAlign=\"center center\">\n {{ 'dataField.dynamicEnum.noData' | translate }}\n </mat-option>\n\n <ng-container *ngIf=\"!dataField.loading\">\n <mat-option [value]=\"null\">---</mat-option>\n <mat-option *ngFor=\"let option of filteredOptions | async\" [value]=\"option.key\" (click)=\"change()\">\n {{option.value}}\n </mat-option>\n </ng-container>\n </mat-autocomplete>\n <mat-hint [ngClass]=\"{'mat-hint-disabled': formControlRef.disabled}\">{{dataField.description}}</mat-hint>\n <mat-error *ngIf=\"dataField.isInvalid(formControlRef)\">{{buildErrorMessage()}}</mat-error>\n</mat-form-field>\n\n", styles: [".full-width{display:block;margin:0 auto;width:100%}\n"] }]
25
- }], ctorParameters: function () { return [{ type: i1.TranslateService }, { type: undefined, decorators: [{
26
- type: Optional
27
- }, {
28
- type: Inject,
29
- args: [DATA_FIELD_PORTAL_DATA]
30
- }] }]; } });
31
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW51bWVyYXRpb24tYXV0b2NvbXBsZXRlLWR5bmFtaWMtZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGF0YS1maWVsZHMvZW51bWVyYXRpb24tZmllbGQvZW51bWVyYXRpb24tYXV0b2NvbXBsZXRlLWR5bmFtaWMtZmllbGQvZW51bWVyYXRpb24tYXV0b2NvbXBsZXRlLWR5bmFtaWMtZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmV0Z3JpZi1jb21wb25lbnRzL3NyYy9saWIvZGF0YS1maWVsZHMvZW51bWVyYXRpb24tZmllbGQvZW51bWVyYXRpb24tYXV0b2NvbXBsZXRlLWR5bmFtaWM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WxkLmxvYWRpbmdcIj5cbiAgICAgICAgICAgIDxtYXQtb3B0aW9uIFt2YWx1ZV09XCJudWxsXCI+LS0tPC9tYXQtb3B0aW9uPlxuICAgICAgICAgICAgPG1hdC1vcHRpb24gKm5nRm9yPVwibGV0IG9wdGlvbiBvZiBmaWx0ZXJlZE9wdGlvbnMgfCBhc3luY1wiIFt2YWx1ZV09XCJvcHRpb24ua2V5XCIgKGNsaWNrKT1cImNoYW5nZSgpXCI+XG4gICAgICAgICAgICAgICAge3tvcHRpb24udmFsdWV9fVxuICAgICAgICAgICAgPC9tYXQtb3B0aW9uPlxuICAgICAgICA8L25nLWNvbnRhaW5lcj5cbiAgICA8L21hdC1hdXRvY29tcGxldGU+XG4gICAgPG1hdC1oaW50IFtuZ0NsYXNzXT1cInsnbWF0LWhpbnQtZGlzYWJsZWQnOiBmb3JtQ29udHJvbFJlZi5kaXNhYmxlZH1cIj57e2RhdGFGaWVsZC5kZXNjcmlwdGlvbn19PC9tYXQtaGludD5cbiAgICA8bWF0LWVycm9yICpuZ0lmPVwiZGF0YUZpZWxkLmlzSW52YWxpZChmb3JtQ29udHJvbFJlZilcIj57e2J1aWxkRXJyb3JNZXNzYWdlKCl9fTwvbWF0LWVycm9yPlxuPC9tYXQtZm9ybS1maWVsZD5cblxuIl19
@@ -1,29 +0,0 @@
1
- import { Component, Inject, Optional } from '@angular/core';
2
- import { AbstractEnumerationAutocompleteSelectFieldComponent, 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/material/form-field";
6
- import * as i3 from "@angular/material/autocomplete";
7
- import * as i4 from "@angular/material/core";
8
- import * as i5 from "@angular/common";
9
- import * as i6 from "@angular/material/input";
10
- import * as i7 from "@angular/forms";
11
- import * as i8 from "@angular/flex-layout/extended";
12
- export class EnumerationAutocompleteSelectFieldComponent extends AbstractEnumerationAutocompleteSelectFieldComponent {
13
- constructor(_translate, dataFieldPortalData) {
14
- super(_translate, dataFieldPortalData);
15
- this._translate = _translate;
16
- }
17
- }
18
- EnumerationAutocompleteSelectFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EnumerationAutocompleteSelectFieldComponent, deps: [{ token: i1.TranslateService }, { token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
19
- EnumerationAutocompleteSelectFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: EnumerationAutocompleteSelectFieldComponent, selector: "nc-enumeration-autocomplete-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 <input type=\"text\"\n aria-label=\"Autocomplete\"\n matInput\n #input\n [placeholder]=\"dataField.placeholder\"\n [formControl]=\"formControlRef\"\n [matAutocomplete]=\"auto\"\n [required]=\"dataField.behavior.required\"\n (focus)=\"change()\"\n (keyup)=\"change()\">\n <mat-autocomplete [displayWith]=\"renderSelection\" autoActiveFirstOption #auto=\"matAutocomplete\">\n <mat-option [value]=\"null\">---</mat-option>\n <mat-option *ngFor=\"let option of filteredOptions | async\" [value]=\"option.key\" (click)=\"change()\">\n {{option.value}}\n </mat-option>\n </mat-autocomplete>\n <mat-hint [ngClass]=\"{'mat-hint-disabled': formControlRef.disabled}\">{{dataField.description}}</mat-hint>\n <mat-error *ngIf=\"dataField.isInvalid(formControlRef)\">{{buildErrorMessage()}}</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"] }, { type: i3.MatAutocomplete, selector: "mat-autocomplete", inputs: ["disableRipple"], exportAs: ["matAutocomplete"] }, { type: i4.MatOption, selector: "mat-option", exportAs: ["matOption"] }], directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.MatLabel, selector: "mat-label" }, { 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"] }, { type: i7.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: i3.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", exportAs: ["matAutocompleteTrigger"] }, { type: i7.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i7.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i7.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i2.MatHint, selector: "mat-hint", inputs: ["align", "id"] }, { type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i8.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"] }], pipes: { "async": i5.AsyncPipe } });
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EnumerationAutocompleteSelectFieldComponent, decorators: [{
21
- type: Component,
22
- args: [{ selector: 'nc-enumeration-autocomplete-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 <input type=\"text\"\n aria-label=\"Autocomplete\"\n matInput\n #input\n [placeholder]=\"dataField.placeholder\"\n [formControl]=\"formControlRef\"\n [matAutocomplete]=\"auto\"\n [required]=\"dataField.behavior.required\"\n (focus)=\"change()\"\n (keyup)=\"change()\">\n <mat-autocomplete [displayWith]=\"renderSelection\" autoActiveFirstOption #auto=\"matAutocomplete\">\n <mat-option [value]=\"null\">---</mat-option>\n <mat-option *ngFor=\"let option of filteredOptions | async\" [value]=\"option.key\" (click)=\"change()\">\n {{option.value}}\n </mat-option>\n </mat-autocomplete>\n <mat-hint [ngClass]=\"{'mat-hint-disabled': formControlRef.disabled}\">{{dataField.description}}</mat-hint>\n <mat-error *ngIf=\"dataField.isInvalid(formControlRef)\">{{buildErrorMessage()}}</mat-error>\n</mat-form-field>\n", styles: [".full-width{display:block;margin:0 auto;width:100%}\n"] }]
23
- }], ctorParameters: function () { return [{ type: i1.TranslateService }, { type: undefined, decorators: [{
24
- type: Optional
25
- }, {
26
- type: Inject,
27
- args: [DATA_FIELD_PORTAL_DATA]
28
- }] }]; } });
29
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW51bWVyYXRpb24tYXV0b2NvbXBsZXRlLXNlbGVjdC1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi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VwibGV0IG9wdGlvbiBvZiBmaWx0ZXJlZE9wdGlvbnMgfCBhc3luY1wiIFt2YWx1ZV09XCJvcHRpb24ua2V5XCIgKGNsaWNrKT1cImNoYW5nZSgpXCI+XG4gICAgICAgICAgICB7e29wdGlvbi52YWx1ZX19XG4gICAgICAgIDwvbWF0LW9wdGlvbj5cbiAgICA8L21hdC1hdXRvY29tcGxldGU+XG4gICAgPG1hdC1oaW50IFtuZ0NsYXNzXT1cInsnbWF0LWhpbnQtZGlzYWJsZWQnOiBmb3JtQ29udHJvbFJlZi5kaXNhYmxlZH1cIj57e2RhdGFGaWVsZC5kZXNjcmlwdGlvbn19PC9tYXQtaGludD5cbiAgICA8bWF0LWVycm9yICpuZ0lmPVwiZGF0YUZpZWxkLmlzSW52YWxpZChmb3JtQ29udHJvbFJlZilcIj57e2J1aWxkRXJyb3JNZXNzYWdlKCl9fTwvbWF0LWVycm9yPlxuPC9tYXQtZm9ybS1maWVsZD5cbiJdfQ==
@@ -1,28 +0,0 @@
1
- import { Component, Inject, Optional } from '@angular/core';
2
- import { AbstractEnumerationStepperFieldComponent, DATA_FIELD_PORTAL_DATA } from '@netgrif/components-core';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "../../required-label/required-label.component";
5
- import * as i2 from "@angular/material/icon";
6
- import * as i3 from "@angular/common";
7
- import * as i4 from "@angular/material/form-field";
8
- import * as i5 from "@angular/flex-layout/extended";
9
- import * as i6 from "@angular/material/tooltip";
10
- import * as i7 from "@angular/flex-layout/flex";
11
- export class EnumerationStepperFieldComponent extends AbstractEnumerationStepperFieldComponent {
12
- constructor(ref, dataFieldPortalData) {
13
- super(ref, dataFieldPortalData);
14
- this.ref = ref;
15
- }
16
- }
17
- EnumerationStepperFieldComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EnumerationStepperFieldComponent, deps: [{ token: i0.ElementRef }, { token: DATA_FIELD_PORTAL_DATA, optional: true }], target: i0.ɵɵFactoryTarget.Component });
18
- EnumerationStepperFieldComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: EnumerationStepperFieldComponent, selector: "nc-enumeration-stepper-field", usesInheritance: true, ngImport: i0, template: "<mat-label class=\"stepper-label netgrif-label\" [ngClass]=\"{'netgrif-label-disabled': formControlRef.disabled}\" *ngIf=\"!showLargeLayout.value && hasTitle()\"\n matTooltipClass=\"stepper-tooltip-text\" [matTooltip]=\"dataField.description\" matTooltipPosition=\"right\">\n {{dataField.title}}\n <nc-required-label *ngIf=\"dataField.behavior.required\" [isIn]=\"!dataField.disabled\" ></nc-required-label>\n</mat-label>\n\n<div *ngIf=\"!arrowStepper\" [matTooltip]=\"dataField.description\" [ngClass.lt-sm]=\"'touch-action-enabled'\"\n class=\"horizontal-stepper\" fxLayout=\"row\" fxLayout.lt-sm=\"column\" matTooltipPosition=\"above\">\n <div class=\"horizontal-step\" fxShow.gt-xs fxHide.lt-sm>\n <ng-template ngFor let-option [ngForOf]=\"dataField.choices\" let-i=\"index\">\n <div class=\"horizontal-step-header\" #oneStep>\n <div class=\"horizontal-state\" [ngClass]=\"{'horizontal-state-primary': canShowDoneIcon(i), 'horizontal-state-secondary': !canShowDoneIcon(i)}\">\n <mat-icon *ngIf=\"canShowDoneIcon(i + 1)\">done</mat-icon>\n </div>\n <div class=\"horizontal-state-label\">{{option.value}}</div>\n </div>\n <div class=\"horizontal-line\" fxFlex *ngIf=\"i < dataField.choices.length - 1\"></div>\n </ng-template>\n </div>\n <div class=\"vertical-step\" fxLayout=\"column\" fxShow.lt-sm fxHide.gt-xs>\n <ng-template ngFor let-option [ngForOf]=\"dataField.choices\" let-i=\"index\">\n <div class=\"vertical-step-header\" fxFlex fxLayout=\"row\">\n <div class=\"vertical-state\"\n [ngClass]=\"{'horizontal-state-primary': canShowDoneIcon(i), 'horizontal-state-secondary': !canShowDoneIcon(i)}\">\n <mat-icon *ngIf=\"canShowDoneIcon(i + 1)\">done</mat-icon>\n </div>\n <div class=\"vertical-state-label\">{{option.value}}</div>\n </div>\n <div class=\"vertical-line\" fxFlex *ngIf=\"i < dataField.choices.length - 1\"></div>\n </ng-template>\n </div>\n</div>\n\n<div *ngIf=\"arrowStepper\" class=\"stepper-min-height\" fxLayoutAlign=\"stretch center\" fxLayout=\"row\" fxLayout.lt-sm=\"column\"\n [matTooltip]=\"dataField.description\" matTooltipPosition=\"above\" [ngClass]=\"{'stepper-disabled': formControlRef.disabled}\">\n <ng-template ngFor let-option [ngForOf]=\"dataField.choices\" let-i=\"index\">\n <span class=\"stepper-arrow-text\" [ngClass]=\"{'stepper-arrow-selected': isSelected(option.key)}\"\n (click)=\"setStepperValue(option.key)\" fxFlex fxLayoutAlign=\"center center\" fxHide.lt-sm>{{option.value}}</span>\n <span fxFlex.gt-sm class=\"stepper-arrow-text\" *ngIf=\"i < dataField.choices.length - 1\" fxLayoutAlign=\"center center\" fxHide.lt-sm>\n <mat-icon>arrow_forward_ios</mat-icon>\n </span>\n </ng-template>\n <span class=\"stepper-arrow-text stepper-arrow-selected\" fxShow.lt-sm fxHide.gt-xs\n fxFlex fxLayoutAlign=\"center center\">{{resolveValue(dataField.value)}}</span>\n</div>\n", styles: [".horizontal-stepper{display:flex}.horizontal-step-header{box-sizing:border-box;flex-direction:column;height:auto;padding:24px;overflow:hidden;outline:none;position:relative;-webkit-tap-highlight-color:transparent;display:flex;align-items:center}.horizontal-step-header:not(:first-child):before{left:0}.horizontal-step-header:not(:last-child):after{right:0}.horizontal-step-header:not(:last-child):after,.horizontal-step-header:not(:first-child):before{border-top-width:1px;border-top-style:solid;content:\"\";display:inline-block;height:0;position:absolute;width:calc(50% - 20px);top:36px}.horizontal-state{color:#fff;border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.horizontal-state-label{display:inline-block;overflow:hidden;text-overflow:ellipsis;min-width:36px;vertical-align:middle;padding:16px 0 0;text-align:center;width:100%;word-wrap:break-word}.horizontal-line{position:relative;top:36px;border-top-width:1px;border-top-style:solid;flex:auto;height:0;min-width:12px}.horizontal-step{flex:auto;display:flex}.vertical-step-header{box-sizing:border-box;flex-direction:column;height:auto;padding:24px;overflow:hidden;outline:none;position:relative;-webkit-tap-highlight-color:transparent;display:flex;align-items:center}.vertical-step-header:first-child:before{top:44px}.vertical-step-header:not(:first-child):before{top:0}.vertical-step-header:not(:last-child):after{bottom:0}.vertical-step-header:not(:last-child):after,.vertical-step-header:not(:first-child):before{border-left-width:1px;border-left-style:solid;content:\"\";display:inline-block;width:0;position:absolute;height:calc(50% - 20px);left:36px}.vertical-state{color:#fff;border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.vertical-state-label{display:inline-block;overflow:hidden;text-overflow:ellipsis;min-width:36px;vertical-align:middle;text-align:center;width:100%;word-wrap:break-word;white-space:break-spaces}.vertical-line{position:relative;border-left-width:1px;border-left-style:solid;flex:auto;height:0;margin:0 36px;min-height:12px}.vertical-step{flex:auto;display:flex}.stepper-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block;max-width:100%}.stepper-tooltip-text{color:#fff;padding:10px 15px}.stepper-min-height{border-radius:10px;min-height:70px;background-color:#f9f9f9;padding:0 32px}.stepper-arrow-text{font-weight:500;font-size:16px;letter-spacing:-.2;line-height:24px;color:#64748b;cursor:pointer;text-align:center}.stepper-disabled{cursor:unset!important}.stepper-disabled .stepper-arrow-text{color:#94a3b8;cursor:alias}.touch-action-enabled{touch-action:auto!important;-webkit-user-drag:auto!important}@media only screen and (max-width: 959px){.stepper-arrow-text{word-break:break-word}}\n"], components: [{ type: i1.RequiredLabelComponent, selector: "nc-required-label", inputs: ["isIn"] }, { type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.MatLabel, selector: "mat-label" }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5.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: i6.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { type: i7.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"] }, { type: i5.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i7.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { type: i7.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"] }] });
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EnumerationStepperFieldComponent, decorators: [{
20
- type: Component,
21
- args: [{ selector: 'nc-enumeration-stepper-field', template: "<mat-label class=\"stepper-label netgrif-label\" [ngClass]=\"{'netgrif-label-disabled': formControlRef.disabled}\" *ngIf=\"!showLargeLayout.value && hasTitle()\"\n matTooltipClass=\"stepper-tooltip-text\" [matTooltip]=\"dataField.description\" matTooltipPosition=\"right\">\n {{dataField.title}}\n <nc-required-label *ngIf=\"dataField.behavior.required\" [isIn]=\"!dataField.disabled\" ></nc-required-label>\n</mat-label>\n\n<div *ngIf=\"!arrowStepper\" [matTooltip]=\"dataField.description\" [ngClass.lt-sm]=\"'touch-action-enabled'\"\n class=\"horizontal-stepper\" fxLayout=\"row\" fxLayout.lt-sm=\"column\" matTooltipPosition=\"above\">\n <div class=\"horizontal-step\" fxShow.gt-xs fxHide.lt-sm>\n <ng-template ngFor let-option [ngForOf]=\"dataField.choices\" let-i=\"index\">\n <div class=\"horizontal-step-header\" #oneStep>\n <div class=\"horizontal-state\" [ngClass]=\"{'horizontal-state-primary': canShowDoneIcon(i), 'horizontal-state-secondary': !canShowDoneIcon(i)}\">\n <mat-icon *ngIf=\"canShowDoneIcon(i + 1)\">done</mat-icon>\n </div>\n <div class=\"horizontal-state-label\">{{option.value}}</div>\n </div>\n <div class=\"horizontal-line\" fxFlex *ngIf=\"i < dataField.choices.length - 1\"></div>\n </ng-template>\n </div>\n <div class=\"vertical-step\" fxLayout=\"column\" fxShow.lt-sm fxHide.gt-xs>\n <ng-template ngFor let-option [ngForOf]=\"dataField.choices\" let-i=\"index\">\n <div class=\"vertical-step-header\" fxFlex fxLayout=\"row\">\n <div class=\"vertical-state\"\n [ngClass]=\"{'horizontal-state-primary': canShowDoneIcon(i), 'horizontal-state-secondary': !canShowDoneIcon(i)}\">\n <mat-icon *ngIf=\"canShowDoneIcon(i + 1)\">done</mat-icon>\n </div>\n <div class=\"vertical-state-label\">{{option.value}}</div>\n </div>\n <div class=\"vertical-line\" fxFlex *ngIf=\"i < dataField.choices.length - 1\"></div>\n </ng-template>\n </div>\n</div>\n\n<div *ngIf=\"arrowStepper\" class=\"stepper-min-height\" fxLayoutAlign=\"stretch center\" fxLayout=\"row\" fxLayout.lt-sm=\"column\"\n [matTooltip]=\"dataField.description\" matTooltipPosition=\"above\" [ngClass]=\"{'stepper-disabled': formControlRef.disabled}\">\n <ng-template ngFor let-option [ngForOf]=\"dataField.choices\" let-i=\"index\">\n <span class=\"stepper-arrow-text\" [ngClass]=\"{'stepper-arrow-selected': isSelected(option.key)}\"\n (click)=\"setStepperValue(option.key)\" fxFlex fxLayoutAlign=\"center center\" fxHide.lt-sm>{{option.value}}</span>\n <span fxFlex.gt-sm class=\"stepper-arrow-text\" *ngIf=\"i < dataField.choices.length - 1\" fxLayoutAlign=\"center center\" fxHide.lt-sm>\n <mat-icon>arrow_forward_ios</mat-icon>\n </span>\n </ng-template>\n <span class=\"stepper-arrow-text stepper-arrow-selected\" fxShow.lt-sm fxHide.gt-xs\n fxFlex fxLayoutAlign=\"center center\">{{resolveValue(dataField.value)}}</span>\n</div>\n", styles: [".horizontal-stepper{display:flex}.horizontal-step-header{box-sizing:border-box;flex-direction:column;height:auto;padding:24px;overflow:hidden;outline:none;position:relative;-webkit-tap-highlight-color:transparent;display:flex;align-items:center}.horizontal-step-header:not(:first-child):before{left:0}.horizontal-step-header:not(:last-child):after{right:0}.horizontal-step-header:not(:last-child):after,.horizontal-step-header:not(:first-child):before{border-top-width:1px;border-top-style:solid;content:\"\";display:inline-block;height:0;position:absolute;width:calc(50% - 20px);top:36px}.horizontal-state{color:#fff;border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.horizontal-state-label{display:inline-block;overflow:hidden;text-overflow:ellipsis;min-width:36px;vertical-align:middle;padding:16px 0 0;text-align:center;width:100%;word-wrap:break-word}.horizontal-line{position:relative;top:36px;border-top-width:1px;border-top-style:solid;flex:auto;height:0;min-width:12px}.horizontal-step{flex:auto;display:flex}.vertical-step-header{box-sizing:border-box;flex-direction:column;height:auto;padding:24px;overflow:hidden;outline:none;position:relative;-webkit-tap-highlight-color:transparent;display:flex;align-items:center}.vertical-step-header:first-child:before{top:44px}.vertical-step-header:not(:first-child):before{top:0}.vertical-step-header:not(:last-child):after{bottom:0}.vertical-step-header:not(:last-child):after,.vertical-step-header:not(:first-child):before{border-left-width:1px;border-left-style:solid;content:\"\";display:inline-block;width:0;position:absolute;height:calc(50% - 20px);left:36px}.vertical-state{color:#fff;border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.vertical-state-label{display:inline-block;overflow:hidden;text-overflow:ellipsis;min-width:36px;vertical-align:middle;text-align:center;width:100%;word-wrap:break-word;white-space:break-spaces}.vertical-line{position:relative;border-left-width:1px;border-left-style:solid;flex:auto;height:0;margin:0 36px;min-height:12px}.vertical-step{flex:auto;display:flex}.stepper-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:inline-block;max-width:100%}.stepper-tooltip-text{color:#fff;padding:10px 15px}.stepper-min-height{border-radius:10px;min-height:70px;background-color:#f9f9f9;padding:0 32px}.stepper-arrow-text{font-weight:500;font-size:16px;letter-spacing:-.2;line-height:24px;color:#64748b;cursor:pointer;text-align:center}.stepper-disabled{cursor:unset!important}.stepper-disabled .stepper-arrow-text{color:#94a3b8;cursor:alias}.touch-action-enabled{touch-action:auto!important;-webkit-user-drag:auto!important}@media only screen and (max-width: 959px){.stepper-arrow-text{word-break:break-word}}\n"] }]
22
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: undefined, decorators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