@valtimo/components 4.15.3-next-main.14 → 4.16.0

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 (291) hide show
  1. package/bundles/valtimo-components.umd.js +408 -302
  2. package/bundles/valtimo-components.umd.js.map +1 -1
  3. package/bundles/valtimo-components.umd.min.js +2 -2
  4. package/bundles/valtimo-components.umd.min.js.map +1 -1
  5. package/esm2015/lib/components/alert/alert.component.js +140 -0
  6. package/esm2015/lib/{topbar/topbar.module.js → components/alert/alert.module.js} +7 -11
  7. package/esm2015/lib/components/alert/alert.service.js +81 -0
  8. package/esm2015/lib/components/bpmn-js-diagram/bpmn-js-diagram.component.js +160 -0
  9. package/esm2015/lib/{alert/alert.module.js → components/bpmn-js-diagram/bpmn-js-diagram.module.js} +6 -6
  10. package/esm2015/lib/components/breadcrumb-navigation/breadcrumb-navigation.component.js +93 -0
  11. package/esm2015/lib/components/breadcrumb-navigation/breadcrumb-navigation.module.js +30 -0
  12. package/esm2015/lib/components/camunda/form/camunda-form.components.js +37 -0
  13. package/esm2015/lib/components/camunda/form/camunda-form.module.js +30 -0
  14. package/esm2015/lib/components/camunda/form/custom/camunda-custom-form.component.js +42 -0
  15. package/esm2015/lib/components/camunda/form/custom/camunda-custom-form.module.js +28 -0
  16. package/esm2015/lib/components/camunda/form/generated/camunda-generated-form.component.js +69 -0
  17. package/esm2015/lib/components/camunda/form/generated/camunda-generated-form.module.js +58 -0
  18. package/esm2015/lib/{camunda → components/camunda}/form/generated/formfield/boolean/camunda-boolean-formfield.component.js +3 -4
  19. package/esm2015/lib/components/camunda/form/generated/formfield/camunda-formfield-generator.directive.js +64 -0
  20. package/esm2015/lib/components/camunda/form/generated/formfield/camunda-formfield.service.js +66 -0
  21. package/esm2015/lib/{camunda → components/camunda}/form/generated/formfield/choicefield/camunda-choicefield-formfield.component.js +5 -3
  22. package/esm2015/lib/components/camunda/form/generated/formfield/date/camunda-date-formfield.component.js +66 -0
  23. package/esm2015/lib/components/camunda/form/generated/formfield/enum/camunda-enum-formfield.component.js +30 -0
  24. package/esm2015/lib/{menu/submenu-item-text.component.js → components/camunda/form/generated/formfield/formfield.model.js} +1 -18
  25. package/esm2015/lib/{camunda → components/camunda}/form/generated/formfield/long/camunda-long-formfield.component.js +3 -4
  26. package/esm2015/lib/{camunda → components/camunda}/form/generated/formfield/string/camunda-string-formfield.component.js +3 -4
  27. package/esm2015/lib/{camunda → components/camunda}/form/generated/formfield/textarea/camunda-textarea-formfield.component.js +3 -4
  28. package/esm2015/lib/components/camunda/form/generated/formfield/validation/camunda-formfield-validation.component.js +35 -0
  29. package/esm2015/lib/components/camunda/form/generated/formfield/validation/date.validators.js +60 -0
  30. package/esm2015/lib/{form-io/form-io-builder.component.js → components/card/card.component.js} +15 -18
  31. package/esm2015/lib/components/card/card.module.js +28 -0
  32. package/esm2015/lib/{camunda/form/generated/formfield/formfield.model.js → components/components.module.js} +7 -1
  33. package/esm2015/lib/{data-list → components/data-list}/data-list.component.js +2 -3
  34. package/esm2015/lib/components/data-list/data-list.module.js +28 -0
  35. package/esm2015/lib/components/dropzone/dropzone.component.js +143 -0
  36. package/esm2015/lib/components/dropzone/dropzone.module.js +32 -0
  37. package/esm2015/lib/components/field-auto-focus/field-auto-focus.directive.js +35 -0
  38. package/esm2015/lib/components/field-auto-focus/field-auto-focus.module.js +28 -0
  39. package/esm2015/lib/{view-content/type-converters/enumTypeConverter.js → components/file-size/file-size.module.js} +12 -8
  40. package/esm2015/lib/components/file-size/file-size.pipe.js +38 -0
  41. package/esm2015/lib/components/filter-sidebar/filter-sidebar.component.js +46 -0
  42. package/esm2015/lib/components/filter-sidebar/filter-sidebar.module.js +28 -0
  43. package/esm2015/lib/components/form-io/form-io-builder.component.js +38 -0
  44. package/esm2015/lib/components/form-io/form-io-uploader/form-io-uploader-edit-form.js +90 -0
  45. package/esm2015/lib/components/form-io/form-io-uploader/form-io-uploader.component.js +74 -0
  46. package/esm2015/lib/components/form-io/form-io-uploader/form-io-uploader.formio.js +26 -0
  47. package/esm2015/lib/components/form-io/form-io.component.js +163 -0
  48. package/esm2015/lib/components/form-io/form-io.module.js +56 -0
  49. package/esm2015/lib/components/form-io/formio-config.js +22 -0
  50. package/esm2015/lib/components/form-io/services/form-io-dom.service.js +23 -0
  51. package/esm2015/lib/components/form-io/services/form-io-state.service.js +24 -0
  52. package/esm2015/lib/components/left-sidebar/left-sidebar.component.js +114 -0
  53. package/esm2015/lib/components/left-sidebar/left-sidebar.module.js +30 -0
  54. package/esm2015/lib/components/list/ListFilterPipe.directive.js +31 -0
  55. package/esm2015/lib/components/list/list.component.js +179 -0
  56. package/esm2015/lib/components/list/list.module.js +33 -0
  57. package/esm2015/lib/components/menu/menu-item-text.component.js +38 -0
  58. package/esm2015/lib/components/menu/menu-routing.module.js +27 -0
  59. package/esm2015/lib/components/menu/menu.component.js +65 -0
  60. package/esm2015/lib/components/menu/menu.init.js +34 -0
  61. package/esm2015/lib/components/menu/menu.module.js +34 -0
  62. package/esm2015/lib/components/menu/menu.service.js +126 -0
  63. package/esm2015/lib/components/menu/submenu-item-text.component.js +33 -0
  64. package/esm2015/lib/{modal → components/modal}/modal.component.js +1 -1
  65. package/esm2015/lib/components/modal/modal.module.js +28 -0
  66. package/esm2015/lib/{page-header → components/page-header}/page-header.component.js +1 -1
  67. package/esm2015/lib/components/page-header/page-header.module.js +30 -0
  68. package/esm2015/lib/components/page-title/page-title.component.js +76 -0
  69. package/esm2015/lib/components/page-title/page-title.module.js +29 -0
  70. package/esm2015/lib/components/progress-bar/progress-bar.component.js +26 -0
  71. package/esm2015/lib/{bpmn-js-diagram/bpmn-js-diagram.module.js → components/progress-bar/progress-bar.module.js} +7 -9
  72. package/esm2015/lib/components/right-sidebar/right-sidebar.component.js +133 -0
  73. package/esm2015/lib/components/right-sidebar/right-sidebar.module.js +49 -0
  74. package/esm2015/lib/components/searchable-dropdown/searchable-dropdown.component.js +187 -0
  75. package/esm2015/lib/components/searchable-dropdown/searchable-dropdown.module.js +29 -0
  76. package/esm2015/lib/components/searchable-dropdown-select/searchable-dropdown-select.component.js +52 -0
  77. package/esm2015/lib/components/searchable-dropdown-select/searchable-dropdown-select.module.js +30 -0
  78. package/esm2015/lib/{spinner → components/spinner}/spinner.component.js +2 -2
  79. package/esm2015/lib/components/spinner/spinner.module.js +30 -0
  80. package/esm2015/lib/components/timeline/timeline.component.js +29 -0
  81. package/esm2015/lib/{progress-bar/progress-bar.module.js → components/timeline/timeline.module.js} +8 -9
  82. package/esm2015/lib/{topbar → components/topbar}/topbar.component.js +2 -3
  83. package/esm2015/lib/components/topbar/topbar.module.js +29 -0
  84. package/esm2015/lib/components/uploader/uploader-drag-drop.directive.js +49 -0
  85. package/esm2015/lib/components/uploader/uploader.component.js +68 -0
  86. package/esm2015/lib/components/uploader/uploader.module.js +30 -0
  87. package/esm2015/lib/components/version/version.service.js +38 -0
  88. package/esm2015/lib/components/view-content/type-converters/booleanTypeConverter.js +29 -0
  89. package/esm2015/lib/components/view-content/type-converters/dateTypeConverter.js +30 -0
  90. package/esm2015/lib/components/view-content/type-converters/enumTypeConverter.js +24 -0
  91. package/esm2015/lib/components/view-content/type-converters/relatedFilesTypeConverter.js +24 -0
  92. package/esm2015/lib/components/view-content/type-converters/stringReplaceUnderscoreTypeConverter.js +27 -0
  93. package/esm2015/lib/components/view-content/type-converters/stringTypeConverter.js +24 -0
  94. package/esm2015/lib/components/view-content/type-converters/type-converters.model.js +37 -0
  95. package/esm2015/lib/{view-content → components/view-content}/view-content.service.js +3 -3
  96. package/esm2015/lib/components/webcam/webcam.component.js +102 -0
  97. package/esm2015/lib/components/webcam/webcam.module.js +29 -0
  98. package/esm2015/lib/components/widget/widget.component.js +80 -0
  99. package/esm2015/lib/{file-size/file-size.module.js → components/widget/widget.module.js} +7 -9
  100. package/esm2015/lib/models/alert.model.js +30 -0
  101. package/esm2015/lib/models/form-io.model.js +30 -0
  102. package/esm2015/lib/models/index.js +24 -0
  103. package/esm2015/lib/models/pagination.model.js +1 -0
  104. package/esm2015/lib/models/searchable-dropdown.model.js +1 -0
  105. package/esm2015/lib/models/timeline.model.js +44 -0
  106. package/esm2015/lib/models/version.model.js +16 -0
  107. package/esm2015/public_api.js +67 -66
  108. package/esm2015/valtimo-components.js +23 -23
  109. package/fesm2015/valtimo-components.js +352 -303
  110. package/fesm2015/valtimo-components.js.map +1 -1
  111. package/lib/{alert → components/alert}/alert.component.d.ts +1 -1
  112. package/lib/{alert → components/alert}/alert.module.d.ts +0 -0
  113. package/lib/{alert → components/alert}/alert.service.d.ts +1 -1
  114. package/lib/{bpmn-js-diagram → components/bpmn-js-diagram}/bpmn-js-diagram.component.d.ts +0 -0
  115. package/lib/{bpmn-js-diagram → components/bpmn-js-diagram}/bpmn-js-diagram.module.d.ts +0 -0
  116. package/lib/{breadcrumb-navigation → components/breadcrumb-navigation}/breadcrumb-navigation.component.d.ts +0 -0
  117. package/lib/{breadcrumb-navigation → components/breadcrumb-navigation}/breadcrumb-navigation.module.d.ts +0 -0
  118. package/lib/{camunda → components/camunda}/form/camunda-form.components.d.ts +0 -0
  119. package/lib/{camunda → components/camunda}/form/camunda-form.module.d.ts +0 -0
  120. package/lib/{camunda → components/camunda}/form/custom/camunda-custom-form.component.d.ts +0 -0
  121. package/lib/{camunda → components/camunda}/form/custom/camunda-custom-form.module.d.ts +0 -0
  122. package/lib/{camunda → components/camunda}/form/generated/camunda-generated-form.component.d.ts +0 -0
  123. package/lib/{camunda → components/camunda}/form/generated/camunda-generated-form.module.d.ts +0 -0
  124. package/lib/{camunda → components/camunda}/form/generated/formfield/boolean/camunda-boolean-formfield.component.d.ts +0 -0
  125. package/lib/{camunda → components/camunda}/form/generated/formfield/camunda-formfield-generator.directive.d.ts +0 -0
  126. package/lib/{camunda → components/camunda}/form/generated/formfield/camunda-formfield.service.d.ts +0 -0
  127. package/lib/{camunda → components/camunda}/form/generated/formfield/choicefield/camunda-choicefield-formfield.component.d.ts +0 -0
  128. package/lib/{camunda → components/camunda}/form/generated/formfield/date/camunda-date-formfield.component.d.ts +0 -0
  129. package/lib/{camunda → components/camunda}/form/generated/formfield/enum/camunda-enum-formfield.component.d.ts +0 -0
  130. package/lib/{camunda → components/camunda}/form/generated/formfield/formfield.model.d.ts +0 -0
  131. package/lib/{camunda → components/camunda}/form/generated/formfield/long/camunda-long-formfield.component.d.ts +0 -0
  132. package/lib/{camunda → components/camunda}/form/generated/formfield/string/camunda-string-formfield.component.d.ts +0 -0
  133. package/lib/{camunda → components/camunda}/form/generated/formfield/textarea/camunda-textarea-formfield.component.d.ts +0 -0
  134. package/lib/{camunda → components/camunda}/form/generated/formfield/validation/camunda-formfield-validation.component.d.ts +0 -0
  135. package/lib/{camunda → components/camunda}/form/generated/formfield/validation/date.validators.d.ts +0 -0
  136. package/lib/{card → components/card}/card.component.d.ts +0 -0
  137. package/lib/{card → components/card}/card.module.d.ts +0 -0
  138. package/lib/{components.module.d.ts → components/components.module.d.ts} +0 -0
  139. package/lib/{data-list → components/data-list}/data-list.component.d.ts +0 -0
  140. package/lib/{data-list → components/data-list}/data-list.module.d.ts +0 -0
  141. package/lib/{dropzone → components/dropzone}/dropzone.component.d.ts +0 -0
  142. package/lib/{dropzone → components/dropzone}/dropzone.module.d.ts +0 -0
  143. package/lib/{field-auto-focus → components/field-auto-focus}/field-auto-focus.directive.d.ts +0 -0
  144. package/lib/{field-auto-focus → components/field-auto-focus}/field-auto-focus.module.d.ts +0 -0
  145. package/lib/{file-size → components/file-size}/file-size.module.d.ts +0 -0
  146. package/lib/{file-size → components/file-size}/file-size.pipe.d.ts +0 -0
  147. package/lib/{filter-sidebar → components/filter-sidebar}/filter-sidebar.component.d.ts +0 -0
  148. package/lib/{filter-sidebar → components/filter-sidebar}/filter-sidebar.module.d.ts +0 -0
  149. package/lib/{form-io → components/form-io}/form-io-builder.component.d.ts +0 -0
  150. package/lib/{form-io → components/form-io}/form-io-uploader/form-io-uploader-edit-form.d.ts +0 -0
  151. package/lib/{form-io → components/form-io}/form-io-uploader/form-io-uploader.component.d.ts +1 -1
  152. package/lib/{form-io → components/form-io}/form-io-uploader/form-io-uploader.formio.d.ts +0 -0
  153. package/lib/{form-io → components/form-io}/form-io.component.d.ts +8 -5
  154. package/lib/{form-io → components/form-io}/form-io.module.d.ts +0 -0
  155. package/lib/{form-io → components/form-io}/formio-config.d.ts +0 -0
  156. package/lib/{form-io → components/form-io}/services/form-io-dom.service.d.ts +0 -0
  157. package/lib/{form-io → components/form-io}/services/form-io-state.service.d.ts +0 -0
  158. package/lib/{left-sidebar → components/left-sidebar}/left-sidebar.component.d.ts +0 -0
  159. package/lib/{left-sidebar → components/left-sidebar}/left-sidebar.module.d.ts +0 -0
  160. package/lib/{list → components/list}/ListFilterPipe.directive.d.ts +0 -0
  161. package/lib/{list → components/list}/list.component.d.ts +1 -1
  162. package/lib/{list → components/list}/list.module.d.ts +0 -0
  163. package/lib/{menu → components/menu}/menu-item-text.component.d.ts +1 -1
  164. package/lib/{menu → components/menu}/menu-routing.module.d.ts +0 -0
  165. package/lib/{menu → components/menu}/menu.component.d.ts +1 -1
  166. package/lib/{menu → components/menu}/menu.init.d.ts +0 -0
  167. package/lib/{menu → components/menu}/menu.module.d.ts +0 -0
  168. package/lib/{menu → components/menu}/menu.service.d.ts +1 -1
  169. package/lib/{menu → components/menu}/submenu-item-text.component.d.ts +1 -1
  170. package/lib/{modal → components/modal}/modal.component.d.ts +0 -0
  171. package/lib/{modal → components/modal}/modal.module.d.ts +0 -0
  172. package/lib/{page-header → components/page-header}/page-header.component.d.ts +0 -0
  173. package/lib/{page-header → components/page-header}/page-header.module.d.ts +0 -0
  174. package/lib/{page-title → components/page-title}/page-title.component.d.ts +0 -0
  175. package/lib/{page-title → components/page-title}/page-title.module.d.ts +0 -0
  176. package/lib/{progress-bar → components/progress-bar}/progress-bar.component.d.ts +0 -0
  177. package/lib/{progress-bar → components/progress-bar}/progress-bar.module.d.ts +0 -0
  178. package/lib/{right-sidebar → components/right-sidebar}/right-sidebar.component.d.ts +2 -1
  179. package/lib/{right-sidebar → components/right-sidebar}/right-sidebar.module.d.ts +0 -0
  180. package/lib/{searchable-dropdown → components/searchable-dropdown}/searchable-dropdown.component.d.ts +1 -1
  181. package/lib/{searchable-dropdown → components/searchable-dropdown}/searchable-dropdown.module.d.ts +0 -0
  182. package/lib/{searchable-dropdown-select → components/searchable-dropdown-select}/searchable-dropdown-select.component.d.ts +1 -1
  183. package/lib/{searchable-dropdown-select → components/searchable-dropdown-select}/searchable-dropdown-select.module.d.ts +0 -0
  184. package/lib/{spinner → components/spinner}/spinner.component.d.ts +0 -0
  185. package/lib/{spinner → components/spinner}/spinner.module.d.ts +0 -0
  186. package/lib/{timeline → components/timeline}/timeline.component.d.ts +1 -1
  187. package/lib/{timeline → components/timeline}/timeline.module.d.ts +0 -0
  188. package/lib/{topbar → components/topbar}/topbar.component.d.ts +0 -0
  189. package/lib/{topbar → components/topbar}/topbar.module.d.ts +0 -0
  190. package/lib/{uploader → components/uploader}/uploader-drag-drop.directive.d.ts +0 -0
  191. package/lib/{uploader → components/uploader}/uploader.component.d.ts +1 -2
  192. package/lib/{uploader → components/uploader}/uploader.module.d.ts +0 -0
  193. package/lib/{version → components/version}/version.service.d.ts +1 -1
  194. package/lib/{view-content → components/view-content}/type-converters/booleanTypeConverter.d.ts +0 -0
  195. package/lib/{view-content → components/view-content}/type-converters/dateTypeConverter.d.ts +0 -0
  196. package/lib/{view-content → components/view-content}/type-converters/enumTypeConverter.d.ts +0 -0
  197. package/lib/{view-content → components/view-content}/type-converters/relatedFilesTypeConverter.d.ts +0 -0
  198. package/lib/{view-content → components/view-content}/type-converters/stringReplaceUnderscoreTypeConverter.d.ts +0 -0
  199. package/lib/{view-content → components/view-content}/type-converters/stringTypeConverter.d.ts +0 -0
  200. package/lib/{view-content → components/view-content}/type-converters/type-converters.model.d.ts +0 -0
  201. package/lib/{view-content → components/view-content}/view-content.service.d.ts +0 -0
  202. package/lib/{webcam → components/webcam}/webcam.component.d.ts +0 -0
  203. package/lib/{webcam → components/webcam}/webcam.module.d.ts +0 -0
  204. package/lib/{widget → components/widget}/widget.component.d.ts +0 -0
  205. package/lib/{widget → components/widget}/widget.module.d.ts +0 -0
  206. package/lib/models/alert.model.d.ts +21 -0
  207. package/lib/models/form-io.model.d.ts +27 -0
  208. package/lib/models/index.d.ts +6 -0
  209. package/lib/models/pagination.model.d.ts +7 -0
  210. package/lib/models/searchable-dropdown.model.d.ts +5 -0
  211. package/lib/models/timeline.model.d.ts +23 -0
  212. package/lib/models/version.model.d.ts +4 -0
  213. package/package.json +1 -1
  214. package/public_api.d.ts +66 -65
  215. package/valtimo-components.d.ts +22 -22
  216. package/valtimo-components.metadata.json +1 -1
  217. package/esm2015/lib/alert/alert.component.js +0 -142
  218. package/esm2015/lib/alert/alert.service.js +0 -81
  219. package/esm2015/lib/bpmn-js-diagram/bpmn-js-diagram.component.js +0 -160
  220. package/esm2015/lib/breadcrumb-navigation/breadcrumb-navigation.component.js +0 -93
  221. package/esm2015/lib/breadcrumb-navigation/breadcrumb-navigation.module.js +0 -34
  222. package/esm2015/lib/camunda/form/camunda-form.components.js +0 -37
  223. package/esm2015/lib/camunda/form/camunda-form.module.js +0 -38
  224. package/esm2015/lib/camunda/form/custom/camunda-custom-form.component.js +0 -42
  225. package/esm2015/lib/camunda/form/custom/camunda-custom-form.module.js +0 -34
  226. package/esm2015/lib/camunda/form/generated/camunda-generated-form.component.js +0 -69
  227. package/esm2015/lib/camunda/form/generated/camunda-generated-form.module.js +0 -63
  228. package/esm2015/lib/camunda/form/generated/formfield/camunda-formfield-generator.directive.js +0 -64
  229. package/esm2015/lib/camunda/form/generated/formfield/camunda-formfield.service.js +0 -67
  230. package/esm2015/lib/camunda/form/generated/formfield/date/camunda-date-formfield.component.js +0 -66
  231. package/esm2015/lib/camunda/form/generated/formfield/enum/camunda-enum-formfield.component.js +0 -31
  232. package/esm2015/lib/camunda/form/generated/formfield/validation/camunda-formfield-validation.component.js +0 -36
  233. package/esm2015/lib/camunda/form/generated/formfield/validation/date.validators.js +0 -60
  234. package/esm2015/lib/card/card.component.js +0 -37
  235. package/esm2015/lib/card/card.module.js +0 -30
  236. package/esm2015/lib/components.module.js +0 -22
  237. package/esm2015/lib/data-list/data-list.module.js +0 -30
  238. package/esm2015/lib/dropzone/dropzone.component.js +0 -143
  239. package/esm2015/lib/dropzone/dropzone.module.js +0 -32
  240. package/esm2015/lib/field-auto-focus/field-auto-focus.directive.js +0 -35
  241. package/esm2015/lib/field-auto-focus/field-auto-focus.module.js +0 -32
  242. package/esm2015/lib/file-size/file-size.pipe.js +0 -45
  243. package/esm2015/lib/filter-sidebar/filter-sidebar.component.js +0 -46
  244. package/esm2015/lib/filter-sidebar/filter-sidebar.module.js +0 -30
  245. package/esm2015/lib/form-io/form-io-uploader/form-io-uploader-edit-form.js +0 -90
  246. package/esm2015/lib/form-io/form-io-uploader/form-io-uploader.component.js +0 -72
  247. package/esm2015/lib/form-io/form-io-uploader/form-io-uploader.formio.js +0 -26
  248. package/esm2015/lib/form-io/form-io.component.js +0 -158
  249. package/esm2015/lib/form-io/form-io.module.js +0 -56
  250. package/esm2015/lib/form-io/formio-config.js +0 -22
  251. package/esm2015/lib/form-io/services/form-io-dom.service.js +0 -23
  252. package/esm2015/lib/form-io/services/form-io-state.service.js +0 -24
  253. package/esm2015/lib/left-sidebar/left-sidebar.component.js +0 -114
  254. package/esm2015/lib/left-sidebar/left-sidebar.module.js +0 -34
  255. package/esm2015/lib/list/ListFilterPipe.directive.js +0 -35
  256. package/esm2015/lib/list/list.component.js +0 -177
  257. package/esm2015/lib/list/list.module.js +0 -33
  258. package/esm2015/lib/menu/menu-item-text.component.js +0 -36
  259. package/esm2015/lib/menu/menu-routing.module.js +0 -29
  260. package/esm2015/lib/menu/menu.component.js +0 -65
  261. package/esm2015/lib/menu/menu.init.js +0 -34
  262. package/esm2015/lib/menu/menu.module.js +0 -39
  263. package/esm2015/lib/menu/menu.service.js +0 -127
  264. package/esm2015/lib/modal/modal.module.js +0 -28
  265. package/esm2015/lib/page-header/page-header.module.js +0 -34
  266. package/esm2015/lib/page-title/page-title.component.js +0 -76
  267. package/esm2015/lib/page-title/page-title.module.js +0 -32
  268. package/esm2015/lib/progress-bar/progress-bar.component.js +0 -26
  269. package/esm2015/lib/right-sidebar/right-sidebar.component.js +0 -131
  270. package/esm2015/lib/right-sidebar/right-sidebar.module.js +0 -49
  271. package/esm2015/lib/searchable-dropdown/searchable-dropdown.component.js +0 -185
  272. package/esm2015/lib/searchable-dropdown/searchable-dropdown.module.js +0 -29
  273. package/esm2015/lib/searchable-dropdown-select/searchable-dropdown-select.component.js +0 -52
  274. package/esm2015/lib/searchable-dropdown-select/searchable-dropdown-select.module.js +0 -30
  275. package/esm2015/lib/spinner/spinner.module.js +0 -36
  276. package/esm2015/lib/timeline/timeline.component.js +0 -29
  277. package/esm2015/lib/timeline/timeline.module.js +0 -32
  278. package/esm2015/lib/uploader/uploader-drag-drop.directive.js +0 -49
  279. package/esm2015/lib/uploader/uploader.component.js +0 -70
  280. package/esm2015/lib/uploader/uploader.module.js +0 -33
  281. package/esm2015/lib/version/version.service.js +0 -38
  282. package/esm2015/lib/view-content/type-converters/booleanTypeConverter.js +0 -29
  283. package/esm2015/lib/view-content/type-converters/dateTypeConverter.js +0 -30
  284. package/esm2015/lib/view-content/type-converters/relatedFilesTypeConverter.js +0 -24
  285. package/esm2015/lib/view-content/type-converters/stringReplaceUnderscoreTypeConverter.js +0 -27
  286. package/esm2015/lib/view-content/type-converters/stringTypeConverter.js +0 -24
  287. package/esm2015/lib/view-content/type-converters/type-converters.model.js +0 -37
  288. package/esm2015/lib/webcam/webcam.component.js +0 -103
  289. package/esm2015/lib/webcam/webcam.module.js +0 -32
  290. package/esm2015/lib/widget/widget.component.js +0 -80
  291. package/esm2015/lib/widget/widget.module.js +0 -30
@@ -1,11 +1,177 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('moment'), require('@valtimo/choicefield'), require('@angular/router'), require('ngx-logger'), require('@valtimo/config'), require('rxjs'), require('@valtimo/document'), require('@valtimo/security'), require('@ng-bootstrap/ng-bootstrap'), require('@ngx-translate/core'), require('@angular/common/http'), require('@valtimo/context'), require('@valtimo/contract'), require('rxjs/operators'), require('@angular/platform-browser'), require('bpmn-js/dist/bpmn-navigated-viewer.production.min.js'), require('heatmap.js-fixed/build/heatmap.js'), require('@valtimo/resource'), require('angular-formio'), require('jwt-decode'), require('dropzone'), require('ngx-spinner')) :
3
- typeof define === 'function' && define.amd ? define('@valtimo/components', ['exports', '@angular/core', '@angular/common', '@angular/forms', 'moment', '@valtimo/choicefield', '@angular/router', 'ngx-logger', '@valtimo/config', 'rxjs', '@valtimo/document', '@valtimo/security', '@ng-bootstrap/ng-bootstrap', '@ngx-translate/core', '@angular/common/http', '@valtimo/context', '@valtimo/contract', 'rxjs/operators', '@angular/platform-browser', 'bpmn-js/dist/bpmn-navigated-viewer.production.min.js', 'heatmap.js-fixed/build/heatmap.js', '@valtimo/resource', 'angular-formio', 'jwt-decode', 'dropzone', 'ngx-spinner'], factory) :
4
- (global = global || self, factory((global.valtimo = global.valtimo || {}, global.valtimo.components = {}), global.ng.core, global.ng.common, global.ng.forms, global.moment, global.choicefield, global.ng.router, global.ngxLogger, global.config, global.rxjs, global.document, global.security, global.ngBootstrap, global.core$1, global.ng.common.http, global.context, global.contract, global.rxjs.operators, global.ng.platformBrowser, global.BpmnJS, global.heatmap, global.resource, global.angularFormio, global.jwt_decode, global.Dropzone, global.ngxSpinner));
5
- }(this, (function (exports, i0, common, forms, momentImported, choicefield, i1, i4, i1$1, rxjs, i2, i3, ngBootstrap, core, i1$2, context, contract, operators, platformBrowser, BpmnJS, heatmap, resource, angularFormio, jwt_decode, Dropzone, ngxSpinner) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('moment'), require('@valtimo/choicefield'), require('@angular/router'), require('ngx-logger'), require('@valtimo/config'), require('rxjs'), require('@valtimo/document'), require('@valtimo/security'), require('@ng-bootstrap/ng-bootstrap'), require('@ngx-translate/core'), require('@angular/common/http'), require('@valtimo/context'), require('rxjs/operators'), require('@angular/platform-browser'), require('bpmn-js/dist/bpmn-navigated-viewer.production.min.js'), require('heatmap.js-fixed/build/heatmap.js'), require('@valtimo/resource'), require('angular-formio'), require('jwt-decode'), require('dropzone'), require('ngx-spinner')) :
3
+ typeof define === 'function' && define.amd ? define('@valtimo/components', ['exports', '@angular/core', '@angular/common', '@angular/forms', 'moment', '@valtimo/choicefield', '@angular/router', 'ngx-logger', '@valtimo/config', 'rxjs', '@valtimo/document', '@valtimo/security', '@ng-bootstrap/ng-bootstrap', '@ngx-translate/core', '@angular/common/http', '@valtimo/context', 'rxjs/operators', '@angular/platform-browser', 'bpmn-js/dist/bpmn-navigated-viewer.production.min.js', 'heatmap.js-fixed/build/heatmap.js', '@valtimo/resource', 'angular-formio', 'jwt-decode', 'dropzone', 'ngx-spinner'], factory) :
4
+ (global = global || self, factory((global.valtimo = global.valtimo || {}, global.valtimo.components = {}), global.ng.core, global.ng.common, global.ng.forms, global.moment, global.choicefield, global.ng.router, global.ngxLogger, global.config, global.rxjs, global.document, global.security, global.ngBootstrap, global.core$1, global.ng.common.http, global.context, global.rxjs.operators, global.ng.platformBrowser, global.BpmnJS, global.heatmap, global.resource, global.angularFormio, global.jwt_decode, global.Dropzone, global.ngxSpinner));
5
+ }(this, (function (exports, i0, common, forms, momentImported, choicefield, i1, i4, i1$1, rxjs, i2, i3, ngBootstrap, core, i1$2, context, operators, platformBrowser, BpmnJS, heatmap, resource, angularFormio, jwt_decode, Dropzone, ngxSpinner) { 'use strict';
6
6
 
7
7
  jwt_decode = jwt_decode && Object.prototype.hasOwnProperty.call(jwt_decode, 'default') ? jwt_decode['default'] : jwt_decode;
8
8
 
9
+ /*
10
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
11
+ *
12
+ * Licensed under EUPL, Version 1.2 (the "License");
13
+ * you may not use this file except in compliance with the License.
14
+ * You may obtain a copy of the License at
15
+ *
16
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
17
+ *
18
+ * Unless required by applicable law or agreed to in writing, software
19
+ * distributed under the License is distributed on an "AS IS" basis,
20
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21
+ * See the License for the specific language governing permissions and
22
+ * limitations under the License.
23
+ */
24
+ var Alert = /** @class */ (function () {
25
+ function Alert(init) {
26
+ Object.assign(this, init);
27
+ }
28
+ return Alert;
29
+ }());
30
+ (function (AlertType) {
31
+ AlertType[AlertType["Success"] = 0] = "Success";
32
+ AlertType[AlertType["Error"] = 1] = "Error";
33
+ AlertType[AlertType["Info"] = 2] = "Info";
34
+ AlertType[AlertType["Warning"] = 3] = "Warning";
35
+ AlertType[AlertType["Notification"] = 4] = "Notification";
36
+ AlertType[AlertType["ModalNotification"] = 5] = "ModalNotification";
37
+ })(exports.AlertType || (exports.AlertType = {}));
38
+
39
+ /*
40
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
41
+ *
42
+ * Licensed under EUPL, Version 1.2 (the "License");
43
+ * you may not use this file except in compliance with the License.
44
+ * You may obtain a copy of the License at
45
+ *
46
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
47
+ *
48
+ * Unless required by applicable law or agreed to in writing, software
49
+ * distributed under the License is distributed on an "AS IS" basis,
50
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
51
+ * See the License for the specific language governing permissions and
52
+ * limitations under the License.
53
+ */
54
+ var AlertsOptionsImpl = /** @class */ (function () {
55
+ function AlertsOptionsImpl(submitMessage) {
56
+ this.submitMessage = submitMessage;
57
+ }
58
+ return AlertsOptionsImpl;
59
+ }());
60
+ var FormioOptionsImpl = /** @class */ (function () {
61
+ function FormioOptionsImpl() {
62
+ }
63
+ FormioOptionsImpl.prototype.setAlertMessage = function (submitMessage) {
64
+ this.alerts = new AlertsOptionsImpl(submitMessage);
65
+ };
66
+ FormioOptionsImpl.prototype.setHooks = function (beforeSubmit) {
67
+ this.hooks = { beforeSubmit: beforeSubmit };
68
+ };
69
+ return FormioOptionsImpl;
70
+ }());
71
+
72
+ /*
73
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
74
+ *
75
+ * Licensed under EUPL, Version 1.2 (the "License");
76
+ * you may not use this file except in compliance with the License.
77
+ * You may obtain a copy of the License at
78
+ *
79
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
80
+ *
81
+ * Unless required by applicable law or agreed to in writing, software
82
+ * distributed under the License is distributed on an "AS IS" basis,
83
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
84
+ * See the License for the specific language governing permissions and
85
+ * limitations under the License.
86
+ */
87
+ var TimelineItemImpl = /** @class */ (function () {
88
+ function TimelineItemImpl(date, time, user, activity, summaryTranslationKey, summaryTranslationParams) {
89
+ this._date = date;
90
+ this._time = time;
91
+ this._user = user;
92
+ this._activity = activity;
93
+ this._summaryTranslationKey = summaryTranslationKey;
94
+ this._summaryTranslationParams = summaryTranslationParams;
95
+ }
96
+ Object.defineProperty(TimelineItemImpl.prototype, "date", {
97
+ get: function () {
98
+ return this._date;
99
+ },
100
+ enumerable: false,
101
+ configurable: true
102
+ });
103
+ Object.defineProperty(TimelineItemImpl.prototype, "time", {
104
+ get: function () {
105
+ return this._time;
106
+ },
107
+ enumerable: false,
108
+ configurable: true
109
+ });
110
+ Object.defineProperty(TimelineItemImpl.prototype, "user", {
111
+ get: function () {
112
+ return this._user;
113
+ },
114
+ enumerable: false,
115
+ configurable: true
116
+ });
117
+ Object.defineProperty(TimelineItemImpl.prototype, "activity", {
118
+ get: function () {
119
+ return this._activity;
120
+ },
121
+ enumerable: false,
122
+ configurable: true
123
+ });
124
+ Object.defineProperty(TimelineItemImpl.prototype, "summaryTranslationKey", {
125
+ get: function () {
126
+ return this._summaryTranslationKey;
127
+ },
128
+ enumerable: false,
129
+ configurable: true
130
+ });
131
+ Object.defineProperty(TimelineItemImpl.prototype, "summaryTranslationParams", {
132
+ get: function () {
133
+ return this._summaryTranslationParams;
134
+ },
135
+ enumerable: false,
136
+ configurable: true
137
+ });
138
+ return TimelineItemImpl;
139
+ }());
140
+
141
+ /*
142
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
143
+ *
144
+ * Licensed under EUPL, Version 1.2 (the "License");
145
+ * you may not use this file except in compliance with the License.
146
+ * You may obtain a copy of the License at
147
+ *
148
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
149
+ *
150
+ * Unless required by applicable law or agreed to in writing, software
151
+ * distributed under the License is distributed on an "AS IS" basis,
152
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
153
+ * See the License for the specific language governing permissions and
154
+ * limitations under the License.
155
+ */
156
+
157
+ /*
158
+ *
159
+ * * Copyright 2015-2020 Ritense BV, the Netherlands.
160
+ * *
161
+ * * Licensed under EUPL, Version 1.2 (the "License");
162
+ * * you may not use this file except in compliance with the License.
163
+ * * You may obtain a copy of the License at
164
+ * *
165
+ * * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
166
+ * *
167
+ * * Unless required by applicable law or agreed to in writing, software
168
+ * * distributed under the License is distributed on an "AS IS" basis,
169
+ * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
170
+ * * See the License for the specific language governing permissions and
171
+ * * limitations under the License.
172
+ *
173
+ */
174
+
9
175
  /*
10
176
  * Copyright 2015-2020 Ritense BV, the Netherlands.
11
177
  *
@@ -33,7 +199,7 @@
33
199
  CamundaFormComponent.decorators = [
34
200
  { type: i0.Component, args: [{
35
201
  selector: 'valtimo-camunda-form',
36
- template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<ng-container *ngIf=\"!componentName && submitted\">\n <valtimo-camunda-generated-form *ngIf=\"formFields\"\n [formFields]=\"formFields\"\n (submitted)=\"onSubmitted($event)\">\n </valtimo-camunda-generated-form>\n</ng-container>\n<ng-container *ngIf=\"componentName\">\n <valtimo-custom-form [componentName]=\"componentName\"></valtimo-custom-form>\n</ng-container>\n"
202
+ template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<ng-container *ngIf=\"!componentName && submitted\">\n <valtimo-camunda-generated-form\n *ngIf=\"formFields\"\n [formFields]=\"formFields\"\n (submitted)=\"onSubmitted($event)\"\n >\n </valtimo-camunda-generated-form>\n</ng-container>\n<ng-container *ngIf=\"componentName\">\n <valtimo-custom-form [componentName]=\"componentName\"></valtimo-custom-form>\n</ng-container>\n"
37
203
  },] }
38
204
  ];
39
205
  CamundaFormComponent.ctorParameters = function () { return []; };
@@ -74,7 +240,7 @@
74
240
  CamundaCustomFormComponent.decorators = [
75
241
  { type: i0.Component, args: [{
76
242
  selector: 'valtimo-custom-form',
77
- template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<ng-template #customFormContainer></ng-template>\n\n",
243
+ template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<ng-template #customFormContainer></ng-template>\n",
78
244
  styles: [""]
79
245
  },] }
80
246
  ];
@@ -108,15 +274,9 @@
108
274
  }());
109
275
  CamundaCustomFormModule.decorators = [
110
276
  { type: i0.NgModule, args: [{
111
- declarations: [
112
- CamundaCustomFormComponent
113
- ],
114
- imports: [
115
- common.CommonModule
116
- ],
117
- exports: [
118
- CamundaCustomFormComponent
119
- ]
277
+ declarations: [CamundaCustomFormComponent],
278
+ imports: [common.CommonModule],
279
+ exports: [CamundaCustomFormComponent],
120
280
  },] }
121
281
  ];
122
282
 
@@ -149,8 +309,8 @@
149
309
  return {
150
310
  minDate: {
151
311
  minDate: momentMinDate.format(DATE_FORMAT),
152
- actual: controlDate.format(DATE_FORMAT)
153
- }
312
+ actual: controlDate.format(DATE_FORMAT),
313
+ },
154
314
  };
155
315
  }
156
316
  else {
@@ -169,8 +329,8 @@
169
329
  return {
170
330
  maxDate: {
171
331
  maxDate: momentMaxDate.format(DATE_FORMAT),
172
- actual: controlDate.format(DATE_FORMAT)
173
- }
332
+ actual: controlDate.format(DATE_FORMAT),
333
+ },
174
334
  };
175
335
  }
176
336
  else {
@@ -238,7 +398,7 @@
238
398
  CamundaFormfieldService.ɵprov = i0.ɵɵdefineInjectable({ factory: function CamundaFormfieldService_Factory() { return new CamundaFormfieldService(); }, token: CamundaFormfieldService, providedIn: "root" });
239
399
  CamundaFormfieldService.decorators = [
240
400
  { type: i0.Injectable, args: [{
241
- providedIn: 'root'
401
+ providedIn: 'root',
242
402
  },] }
243
403
  ];
244
404
  CamundaFormfieldService.ctorParameters = function () { return []; };
@@ -275,7 +435,7 @@
275
435
  this.formFields.forEach(function (formField) {
276
436
  var control = new forms.FormControl({
277
437
  value: formField.defaultValue,
278
- disabled: _this.camundaFormFieldService.isFormFieldDisabled(formField)
438
+ disabled: _this.camundaFormFieldService.isFormFieldDisabled(formField),
279
439
  }, _this.camundaFormFieldService.getValidatorTypes(formField));
280
440
  group.addControl(formField.id, control);
281
441
  });
@@ -297,7 +457,7 @@
297
457
  CamundaGeneratedFormComponent.decorators = [
298
458
  { type: i0.Component, args: [{
299
459
  selector: 'valtimo-camunda-generated-form',
300
- template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<form [formGroup]=\"formGroup\" (ngSubmit)=\"handleSubmit($event)\">\n <ng-container\n *ngFor=\"let formField of formFields\"\n valtimoCamundaFormfieldGenerator\n [formGroup]=\"formGroup\"\n [formField]=\"formField\">\n <ng-content></ng-content>\n </ng-container>\n <div class=\"row pt-3 mt-1\">\n <div class=\"col-sm-12\">\n <div class=\"text-right\">\n <button class=\"btn btn-space btn-default float-left\" type=\"button\" (click)=\"back()\" id=\"back-button\">\n Back\n </button>\n <button class=\"btn btn-space btn-secondary\" type=\"button\" (click)=\"reset()\" id=\"reset-button\">Reset</button>\n <button class=\"btn btn-space btn-primary\"\n [disabled]=\"!formGroup.disabled && !formGroup.valid\"\n type=\"submit\"\n id=\"submit-button\">\n Submit\n </button>\n </div>\n </div>\n </div>\n</form>\n"
460
+ template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<form [formGroup]=\"formGroup\" (ngSubmit)=\"handleSubmit($event)\">\n <ng-container\n *ngFor=\"let formField of formFields\"\n valtimoCamundaFormfieldGenerator\n [formGroup]=\"formGroup\"\n [formField]=\"formField\"\n >\n <ng-content></ng-content>\n </ng-container>\n <div class=\"row pt-3 mt-1\">\n <div class=\"col-sm-12\">\n <div class=\"text-right\">\n <button\n class=\"btn btn-space btn-default float-left\"\n type=\"button\"\n (click)=\"back()\"\n id=\"back-button\"\n >\n Back\n </button>\n <button\n class=\"btn btn-space btn-secondary\"\n type=\"button\"\n (click)=\"reset()\"\n id=\"reset-button\"\n >\n Reset\n </button>\n <button\n class=\"btn btn-space btn-primary\"\n [disabled]=\"!formGroup.disabled && !formGroup.valid\"\n type=\"submit\"\n id=\"submit-button\"\n >\n Submit\n </button>\n </div>\n </div>\n </div>\n</form>\n"
301
461
  },] }
302
462
  ];
303
463
  CamundaGeneratedFormComponent.ctorParameters = function () { return [
@@ -333,7 +493,7 @@
333
493
  CamundaStringFormfieldComponent.decorators = [
334
494
  { type: i0.Component, args: [{
335
495
  selector: 'valtimo-camunda-string-formfield',
336
- template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"form-group row\" *ngIf=\"formGroup\" [formGroup]=\"formGroup\">\n <label for=\"{{ formField.id }}\" class=\"col-12 col-sm-3 col-form-label text-sm-right\">\n {{ formField.label }}\n </label>\n <div class=\"col-12 col-sm-8 col-lg-6\">\n <input id=\"{{ formField.id }}\"\n class=\"form-control\"\n type=\"text\"\n [attr.placeholder]=\"formField.defaultValue\"\n [formControlName]=\"formField.id\"/>\n <valtimo-camunda-formfield-validation\n [formGroup]=\"formGroup\"\n [formField]=\"formField\">\n </valtimo-camunda-formfield-validation>\n </div>\n</div>\n\n"
496
+ template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"form-group row\" *ngIf=\"formGroup\" [formGroup]=\"formGroup\">\n <label for=\"{{ formField.id }}\" class=\"col-12 col-sm-3 col-form-label text-sm-right\">\n {{ formField.label }}\n </label>\n <div class=\"col-12 col-sm-8 col-lg-6\">\n <input\n id=\"{{ formField.id }}\"\n class=\"form-control\"\n type=\"text\"\n [attr.placeholder]=\"formField.defaultValue\"\n [formControlName]=\"formField.id\"\n />\n <valtimo-camunda-formfield-validation [formGroup]=\"formGroup\" [formField]=\"formField\">\n </valtimo-camunda-formfield-validation>\n </div>\n</div>\n"
337
497
  },] }
338
498
  ];
339
499
  CamundaStringFormfieldComponent.ctorParameters = function () { return []; };
@@ -361,7 +521,7 @@
361
521
  CamundaBooleanFormfieldComponent.decorators = [
362
522
  { type: i0.Component, args: [{
363
523
  selector: 'valtimo-camunda-boolean-formfield',
364
- template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"form-group row\" *ngIf=\"formGroup\" [formGroup]=\"formGroup\">\n <label class=\"col-12 col-sm-3 col-form-label text-sm-right\">\n {{ formField.label }}\n </label>\n <div class=\"col-12 col-sm-8 col-lg-6 form-check mt-1\">\n <label for=\"yes_{{ formField.id }}\" class=\"custom-control custom-radio custom-control-inline\">\n <input\n class=\"custom-control-input\"\n id=\"yes_{{ formField.id }}\"\n type=\"radio\"\n [value]=\"true\"\n [formControlName]=\"formField.id\"/>\n <span class=\"custom-control-label custom-control-color\">Yes</span>\n </label>\n <label for=\"no_{{ formField.id }}\" class=\"custom-control custom-radio custom-control-inline\">\n <input\n class=\"custom-control-input\"\n id=\"no_{{ formField.id }}\"\n type=\"radio\"\n [value]=\"false\"\n [formControlName]=\"formField.id\"/>\n <span class=\"custom-control-label custom-control-color\">No</span>\n </label>\n <valtimo-camunda-formfield-validation\n [formGroup]=\"formGroup\"\n [formField]=\"formField\">\n </valtimo-camunda-formfield-validation>\n </div>\n</div>\n"
524
+ template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"form-group row\" *ngIf=\"formGroup\" [formGroup]=\"formGroup\">\n <label class=\"col-12 col-sm-3 col-form-label text-sm-right\">\n {{ formField.label }}\n </label>\n <div class=\"col-12 col-sm-8 col-lg-6 form-check mt-1\">\n <label for=\"yes_{{ formField.id }}\" class=\"custom-control custom-radio custom-control-inline\">\n <input\n class=\"custom-control-input\"\n id=\"yes_{{ formField.id }}\"\n type=\"radio\"\n [value]=\"true\"\n [formControlName]=\"formField.id\"\n />\n <span class=\"custom-control-label custom-control-color\">Yes</span>\n </label>\n <label for=\"no_{{ formField.id }}\" class=\"custom-control custom-radio custom-control-inline\">\n <input\n class=\"custom-control-input\"\n id=\"no_{{ formField.id }}\"\n type=\"radio\"\n [value]=\"false\"\n [formControlName]=\"formField.id\"\n />\n <span class=\"custom-control-label custom-control-color\">No</span>\n </label>\n <valtimo-camunda-formfield-validation [formGroup]=\"formGroup\" [formField]=\"formField\">\n </valtimo-camunda-formfield-validation>\n </div>\n</div>\n"
365
525
  },] }
366
526
  ];
367
527
  CamundaBooleanFormfieldComponent.ctorParameters = function () { return []; };
@@ -395,9 +555,9 @@
395
555
  componentIcon: '.mdi.mdi-calendar',
396
556
  navIcons: {
397
557
  rightIcon: 'mdi mdi-chevron-right',
398
- leftIcon: 'mdi mdi-chevron-left'
558
+ leftIcon: 'mdi mdi-chevron-left',
399
559
  },
400
- format: 'dd-mm-yyyy'
560
+ format: 'dd-mm-yyyy',
401
561
  };
402
562
  };
403
563
  CamundaDateFormfieldComponent.prototype.ngAfterViewInit = function () {
@@ -424,7 +584,7 @@
424
584
  CamundaDateFormfieldComponent.decorators = [
425
585
  { type: i0.Component, args: [{
426
586
  selector: 'valtimo-camunda-date-formfield',
427
- template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"form-group row\" *ngIf=\"formGroup\" [formGroup]=\"formGroup\">\n <label for=\"{{ formField.id }}\" class=\"col-12 col-sm-3 col-form-label text-sm-right\">\n {{ formField.label }}\n </label>\n <div class=\"col-12 col-sm-8 col-lg-6 pt1\">\n <input\n type=\"input\"\n class=\"form-control\"\n data-min-view=\"2\"\n id=\"{{ formField.id }}\"\n autocomplete=\"off\"\n [formControlName]=\"formField.id\"/>\n <valtimo-camunda-formfield-validation\n [formGroup]=\"formGroup\"\n [formField]=\"formField\">\n </valtimo-camunda-formfield-validation>\n </div>\n</div>\n"
587
+ template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"form-group row\" *ngIf=\"formGroup\" [formGroup]=\"formGroup\">\n <label for=\"{{ formField.id }}\" class=\"col-12 col-sm-3 col-form-label text-sm-right\">\n {{ formField.label }}\n </label>\n <div class=\"col-12 col-sm-8 col-lg-6 pt1\">\n <input\n type=\"input\"\n class=\"form-control\"\n data-min-view=\"2\"\n id=\"{{ formField.id }}\"\n autocomplete=\"off\"\n [formControlName]=\"formField.id\"\n />\n <valtimo-camunda-formfield-validation [formGroup]=\"formGroup\" [formField]=\"formField\">\n </valtimo-camunda-formfield-validation>\n </div>\n</div>\n"
428
588
  },] }
429
589
  ];
430
590
  CamundaDateFormfieldComponent.ctorParameters = function () { return [
@@ -454,7 +614,7 @@
454
614
  CamundaLongFormfieldComponent.decorators = [
455
615
  { type: i0.Component, args: [{
456
616
  selector: 'valtimo-camunda-long-formfield',
457
- template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"form-group row\" *ngIf=\"formGroup\" [formGroup]=\"formGroup\">\n <label for=\"{{ formField.id }}\" class=\"col-12 col-sm-3 col-form-label text-sm-right\">\n {{ formField.label }}\n </label>\n <div class=\"col-12 col-sm-8 col-lg-6\">\n <input id=\"{{ formField.id }}\"\n class=\"form-control\"\n type=\"number\"\n [attr.placeholder]=\"formField.defaultValue\"\n [formControlName]=\"formField.id\"/>\n <valtimo-camunda-formfield-validation\n [formGroup]=\"formGroup\"\n [formField]=\"formField\">\n </valtimo-camunda-formfield-validation>\n </div>\n</div>\n"
617
+ template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"form-group row\" *ngIf=\"formGroup\" [formGroup]=\"formGroup\">\n <label for=\"{{ formField.id }}\" class=\"col-12 col-sm-3 col-form-label text-sm-right\">\n {{ formField.label }}\n </label>\n <div class=\"col-12 col-sm-8 col-lg-6\">\n <input\n id=\"{{ formField.id }}\"\n class=\"form-control\"\n type=\"number\"\n [attr.placeholder]=\"formField.defaultValue\"\n [formControlName]=\"formField.id\"\n />\n <valtimo-camunda-formfield-validation [formGroup]=\"formGroup\" [formField]=\"formField\">\n </valtimo-camunda-formfield-validation>\n </div>\n</div>\n"
458
618
  },] }
459
619
  ];
460
620
  CamundaLongFormfieldComponent.ctorParameters = function () { return []; };
@@ -485,7 +645,7 @@
485
645
  CamundaEnumFormfieldComponent.decorators = [
486
646
  { type: i0.Component, args: [{
487
647
  selector: 'valtimo-camunda-enum-formfield',
488
- template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"form-group row\" [formGroup]=\"formGroup\">\n <label for=\"{{ formField.id }}\" class=\"col-12 col-sm-3 col-form-label text-sm-right\">\n {{ formField.label }}\n </label>\n <div class=\"col-12 col-sm-8 col-lg-6\">\n <select\n class=\"form-control\"\n id=\"{{ formField.id }}\"\n [formControlName]=\"formField.id\">\n <option selected=\"selected\" value=\"\"></option>\n <option *ngFor=\"let key of valueKeys\" [value]=\"key\" id=\"option_{{ key }}\">\n {{ formField.type.values[key] }}\n </option>\n </select>\n <valtimo-camunda-formfield-validation\n [formGroup]=\"formGroup\"\n [formField]=\"formField\">\n </valtimo-camunda-formfield-validation>\n </div>\n</div>\n"
648
+ template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"form-group row\" [formGroup]=\"formGroup\">\n <label for=\"{{ formField.id }}\" class=\"col-12 col-sm-3 col-form-label text-sm-right\">\n {{ formField.label }}\n </label>\n <div class=\"col-12 col-sm-8 col-lg-6\">\n <select class=\"form-control\" id=\"{{ formField.id }}\" [formControlName]=\"formField.id\">\n <option selected=\"selected\" value=\"\"></option>\n <option *ngFor=\"let key of valueKeys\" [value]=\"key\" id=\"option_{{ key }}\">\n {{ formField.type.values[key] }}\n </option>\n </select>\n <valtimo-camunda-formfield-validation [formGroup]=\"formGroup\" [formField]=\"formField\">\n </valtimo-camunda-formfield-validation>\n </div>\n</div>\n"
489
649
  },] }
490
650
  ];
491
651
  CamundaEnumFormfieldComponent.ctorParameters = function () { return []; };
@@ -513,7 +673,7 @@
513
673
  CamundaTextareaFormfieldComponent.decorators = [
514
674
  { type: i0.Component, args: [{
515
675
  selector: 'valtimo-camunda-textarea-formfield',
516
- template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"form-group row\" *ngIf=\"formGroup\" [formGroup]=\"formGroup\">\n <label for=\"{{ formField.id }}\" class=\"col-12 col-sm-3 col-form-label text-sm-right\">\n {{ formField.label }}\n </label>\n <div class=\"col-12 col-sm-8 col-lg-6\">\n <textarea id=\"{{ formField.id }}\"\n class=\"form-control\"\n [attr.placeholder]=\"formField.defaultValue\"\n [formControlName]=\"formField.id\"></textarea>\n <valtimo-camunda-formfield-validation\n [formGroup]=\"formGroup\"\n [formField]=\"formField\">\n </valtimo-camunda-formfield-validation>\n </div>\n</div>\n\n"
676
+ template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"form-group row\" *ngIf=\"formGroup\" [formGroup]=\"formGroup\">\n <label for=\"{{ formField.id }}\" class=\"col-12 col-sm-3 col-form-label text-sm-right\">\n {{ formField.label }}\n </label>\n <div class=\"col-12 col-sm-8 col-lg-6\">\n <textarea\n id=\"{{ formField.id }}\"\n class=\"form-control\"\n [attr.placeholder]=\"formField.defaultValue\"\n [formControlName]=\"formField.id\"\n ></textarea>\n <valtimo-camunda-formfield-validation [formGroup]=\"formGroup\" [formField]=\"formField\">\n </valtimo-camunda-formfield-validation>\n </div>\n</div>\n"
517
677
  },] }
518
678
  ];
519
679
  CamundaTextareaFormfieldComponent.ctorParameters = function () { return []; };
@@ -540,7 +700,9 @@
540
700
  }
541
701
  CamundaChoicefieldFormfieldComponent.prototype.ngOnInit = function () {
542
702
  var _this = this;
543
- this.choicefieldService.getChoiceFieldValuesByName(this.formField.properties['choicefield']).subscribe(function (data) {
703
+ this.choicefieldService
704
+ .getChoiceFieldValuesByName(this.formField.properties['choicefield'])
705
+ .subscribe(function (data) {
544
706
  _this.choicefieldValues = data;
545
707
  });
546
708
  };
@@ -549,7 +711,7 @@
549
711
  CamundaChoicefieldFormfieldComponent.decorators = [
550
712
  { type: i0.Component, args: [{
551
713
  selector: 'valtimo-camunda-choicefield-formfield',
552
- template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"form-group row\" [formGroup]=\"formGroup\">\n <label for=\"{{ formField.id }}\" class=\"col-12 col-sm-3 col-form-label text-sm-right\">\n {{ formField.label }}\n </label>\n <div class=\"col-12 col-sm-8 col-lg-6\">\n <select\n class=\"form-control\"\n id=\"{{ formField.id }}\"\n [formControlName]=\"formField.id\">\n <option selected=\"selected\" value=\"\"></option>\n <ng-container *ngFor=\"let choicefieldValue of choicefieldValues\">\n <option *ngIf=\"!choicefieldValue.deprecated\"\n [value]=\"choicefieldValue.value\"\n id=\"option_{{ choicefieldValue.value }}\">\n {{ choicefieldValue.name }}\n </option>\n </ng-container>\n </select>\n <valtimo-camunda-formfield-validation\n [formGroup]=\"formGroup\"\n [formField]=\"formField\">\n </valtimo-camunda-formfield-validation>\n </div>\n</div>\n"
714
+ template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"form-group row\" [formGroup]=\"formGroup\">\n <label for=\"{{ formField.id }}\" class=\"col-12 col-sm-3 col-form-label text-sm-right\">\n {{ formField.label }}\n </label>\n <div class=\"col-12 col-sm-8 col-lg-6\">\n <select class=\"form-control\" id=\"{{ formField.id }}\" [formControlName]=\"formField.id\">\n <option selected=\"selected\" value=\"\"></option>\n <ng-container *ngFor=\"let choicefieldValue of choicefieldValues\">\n <option\n *ngIf=\"!choicefieldValue.deprecated\"\n [value]=\"choicefieldValue.value\"\n id=\"option_{{ choicefieldValue.value }}\"\n >\n {{ choicefieldValue.name }}\n </option>\n </ng-container>\n </select>\n <valtimo-camunda-formfield-validation [formGroup]=\"formGroup\" [formField]=\"formField\">\n </valtimo-camunda-formfield-validation>\n </div>\n</div>\n"
553
715
  },] }
554
716
  ];
555
717
  CamundaChoicefieldFormfieldComponent.ctorParameters = function () { return [
@@ -582,7 +744,7 @@
582
744
  long: CamundaLongFormfieldComponent,
583
745
  enum: CamundaEnumFormfieldComponent,
584
746
  textarea: CamundaTextareaFormfieldComponent,
585
- choicefield: CamundaChoicefieldFormfieldComponent
747
+ choicefield: CamundaChoicefieldFormfieldComponent,
586
748
  };
587
749
  }
588
750
  CamundaFormfieldGeneratorDirective.prototype.ngOnInit = function () {
@@ -600,7 +762,7 @@
600
762
  }());
601
763
  CamundaFormfieldGeneratorDirective.decorators = [
602
764
  { type: i0.Directive, args: [{
603
- selector: '[valtimoCamundaFormfieldGenerator]'
765
+ selector: '[valtimoCamundaFormfieldGenerator]',
604
766
  },] }
605
767
  ];
606
768
  CamundaFormfieldGeneratorDirective.ctorParameters = function () { return [
@@ -638,7 +800,7 @@
638
800
  CamundaFormfieldValidationComponent.decorators = [
639
801
  { type: i0.Component, args: [{
640
802
  selector: 'valtimo-camunda-formfield-validation',
641
- template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<ul class=\"parsley-errors-list filled\"\n *ngIf=\"formControl.invalid && (formControl.dirty || formControl.touched)\">\n <li *ngIf=\"formControl.errors.required\">\n This field is required.\n </li>\n <li *ngIf=\"formControl.errors.minlength\">\n This field should be more than {{ formControl.errors.minlength.requiredLength }} characters.\n </li>\n <li *ngIf=\"formControl.errors.maxlength\">\n This field cannot be more than {{ formControl.errors.maxlength.requiredLength }} characters.\n </li>\n <li *ngIf=\"formControl.errors.min\">\n This field should be more than {{ formControl.errors.min.min }}.\n </li>\n <li *ngIf=\"formControl.errors.max\">\n This field should be less or equal to {{ formControl.errors.max.max }}.\n </li>\n <li *ngIf=\"formControl.errors.minDate\">\n This field should be more than {{ formControl.errors.minDate.minDate }}.\n </li>\n <li *ngIf=\"formControl.errors.maxDate\">\n This field should be less or equal to {{ formControl.errors.maxDate.maxDate }}.\n </li>\n</ul>\n"
803
+ template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<ul\n class=\"parsley-errors-list filled\"\n *ngIf=\"formControl.invalid && (formControl.dirty || formControl.touched)\"\n>\n <li *ngIf=\"formControl.errors.required\">This field is required.</li>\n <li *ngIf=\"formControl.errors.minlength\">\n This field should be more than {{ formControl.errors.minlength.requiredLength }} characters.\n </li>\n <li *ngIf=\"formControl.errors.maxlength\">\n This field cannot be more than {{ formControl.errors.maxlength.requiredLength }} characters.\n </li>\n <li *ngIf=\"formControl.errors.min\">\n This field should be more than {{ formControl.errors.min.min }}.\n </li>\n <li *ngIf=\"formControl.errors.max\">\n This field should be less or equal to {{ formControl.errors.max.max }}.\n </li>\n <li *ngIf=\"formControl.errors.minDate\">\n This field should be more than {{ formControl.errors.minDate.minDate }}.\n </li>\n <li *ngIf=\"formControl.errors.maxDate\">\n This field should be less or equal to {{ formControl.errors.maxDate.maxDate }}.\n </li>\n</ul>\n"
642
804
  },] }
643
805
  ];
644
806
  CamundaFormfieldValidationComponent.ctorParameters = function () { return []; };
@@ -679,15 +841,10 @@
679
841
  CamundaTextareaFormfieldComponent,
680
842
  CamundaChoicefieldFormfieldComponent,
681
843
  CamundaFormfieldValidationComponent,
682
- CamundaGeneratedFormComponent
683
- ],
684
- imports: [
685
- common.CommonModule,
686
- forms.ReactiveFormsModule
687
- ],
688
- exports: [
689
- CamundaGeneratedFormComponent
844
+ CamundaGeneratedFormComponent,
690
845
  ],
846
+ imports: [common.CommonModule, forms.ReactiveFormsModule],
847
+ exports: [CamundaGeneratedFormComponent],
691
848
  entryComponents: [
692
849
  CamundaStringFormfieldComponent,
693
850
  CamundaBooleanFormfieldComponent,
@@ -695,8 +852,8 @@
695
852
  CamundaLongFormfieldComponent,
696
853
  CamundaEnumFormfieldComponent,
697
854
  CamundaTextareaFormfieldComponent,
698
- CamundaChoicefieldFormfieldComponent
699
- ]
855
+ CamundaChoicefieldFormfieldComponent,
856
+ ],
700
857
  },] }
701
858
  ];
702
859
 
@@ -722,17 +879,9 @@
722
879
  }());
723
880
  CamundaFormModule.decorators = [
724
881
  { type: i0.NgModule, args: [{
725
- declarations: [
726
- CamundaFormComponent
727
- ],
728
- imports: [
729
- common.CommonModule,
730
- CamundaGeneratedFormModule,
731
- CamundaCustomFormModule
732
- ],
733
- exports: [
734
- CamundaFormComponent
735
- ]
882
+ declarations: [CamundaFormComponent],
883
+ imports: [common.CommonModule, CamundaGeneratedFormModule, CamundaCustomFormModule],
884
+ exports: [CamundaFormComponent],
736
885
  },] }
737
886
  ];
738
887
 
@@ -788,11 +937,8 @@
788
937
  TopbarModule.decorators = [
789
938
  { type: i0.NgModule, args: [{
790
939
  declarations: [TopbarComponent],
791
- imports: [
792
- common.CommonModule,
793
- i1.RouterModule
794
- ],
795
- exports: [TopbarComponent]
940
+ imports: [common.CommonModule, i1.RouterModule],
941
+ exports: [TopbarComponent],
796
942
  },] }
797
943
  ];
798
944
 
@@ -842,7 +988,7 @@
842
988
  menuItems.push(menuItem);
843
989
  });
844
990
  menuItems = this.sortMenuItems(menuItems);
845
- this.appendDossierSubMenuItems(menuItems).subscribe(function (value) { return menuItems = _this.applyMenuRoleSecurity(value); });
991
+ this.appendDossierSubMenuItems(menuItems).subscribe(function (value) { return (menuItems = _this.applyMenuRoleSecurity(value)); });
846
992
  return menuItems;
847
993
  };
848
994
  MenuService.prototype.sortMenuItems = function (menuItems) {
@@ -855,13 +1001,12 @@
855
1001
  return new rxjs.Observable(function (subscriber) {
856
1002
  _this.logger.debug('appendDossierSubMenuItems');
857
1003
  _this.documentService.getAllDefinitions().subscribe(function (definitions) {
858
- var dossierMenuItems = definitions.content
859
- .map(function (definition, index) { return ({
1004
+ var dossierMenuItems = definitions.content.map(function (definition, index) { return ({
860
1005
  link: ['/dossiers/' + definition.id.name],
861
1006
  title: definition.schema.title,
862
1007
  iconClass: 'icon mdi mdi-dot-circle',
863
1008
  sequence: index,
864
- show: true
1009
+ show: true,
865
1010
  }); });
866
1011
  _this.logger.debug('found dossierMenuItems', dossierMenuItems);
867
1012
  var menuItemIndex = menuItems.findIndex(function (_a) {
@@ -913,7 +1058,7 @@
913
1058
  MenuService.ɵprov = i0.ɵɵdefineInjectable({ factory: function MenuService_Factory() { return new MenuService(i0.ɵɵinject(i1$1.ConfigService), i0.ɵɵinject(i2.DocumentService), i0.ɵɵinject(i3.UserProviderService), i0.ɵɵinject(i4.NGXLogger)); }, token: MenuService, providedIn: "root" });
914
1059
  MenuService.decorators = [
915
1060
  { type: i0.Injectable, args: [{
916
- providedIn: 'root'
1061
+ providedIn: 'root',
917
1062
  },] }
918
1063
  ];
919
1064
  MenuService.ctorParameters = function () { return [
@@ -946,10 +1091,8 @@
946
1091
  }());
947
1092
  MenuRoutingModule.decorators = [
948
1093
  { type: i0.NgModule, args: [{
949
- imports: [
950
- i1.RouterModule.forChild(routes)
951
- ],
952
- exports: [i1.RouterModule]
1094
+ imports: [i1.RouterModule.forChild(routes)],
1095
+ exports: [i1.RouterModule],
953
1096
  },] }
954
1097
  ];
955
1098
 
@@ -978,7 +1121,7 @@
978
1121
  MenuComponent.prototype.ngOnInit = function () {
979
1122
  var _this = this;
980
1123
  this.openRouterSubscription();
981
- this.menuItemSubscription = this.menuService.menuItems$.subscribe(function (value) { return _this.menuItems = value; });
1124
+ this.menuItemSubscription = this.menuService.menuItems$.subscribe(function (value) { return (_this.menuItems = value); });
982
1125
  };
983
1126
  MenuComponent.prototype.ngOnDestroy = function () {
984
1127
  this.routerSubscription.unsubscribe();
@@ -1041,7 +1184,7 @@
1041
1184
  MenuItemTextComponent.decorators = [
1042
1185
  { type: i0.Component, args: [{
1043
1186
  selector: 'valtimo-menu-item-text',
1044
- template: "\n <i class=\"{{ menuItem.iconClass }}\"\n container=\"body\"\n placement=\"right\"\n ngbTooltip=\"{{ menuItem.title | translate }}\"\n autoClose=\"true\">\n </i>\n <span>{{ menuItem.title | translate }}</span>\n "
1187
+ template: "\n <i\n class=\"{{ menuItem.iconClass }}\"\n container=\"body\"\n placement=\"right\"\n ngbTooltip=\"{{ menuItem.title | translate }}\"\n autoClose=\"true\"\n >\n </i>\n <span>{{ menuItem.title | translate }}</span>\n "
1045
1188
  },] }
1046
1189
  ];
1047
1190
  MenuItemTextComponent.propDecorators = {
@@ -1071,7 +1214,7 @@
1071
1214
  SubmenuItemTextComponent.decorators = [
1072
1215
  { type: i0.Component, args: [{
1073
1216
  selector: 'valtimo-submenu-item-text',
1074
- template: "\n <span [ngClass]=\"submenuItem.textClass\">\n {{ submenuItem.title | translate }}\n <ng-container *ngIf=\"!submenuItem.link\">&gt;</ng-container>\n </span>\n "
1217
+ template: "\n <span [ngClass]=\"submenuItem.textClass\">\n {{ submenuItem.title | translate }}\n <ng-container *ngIf=\"!submenuItem.link\">&gt;</ng-container>\n </span>\n "
1075
1218
  },] }
1076
1219
  ];
1077
1220
  SubmenuItemTextComponent.propDecorators = {
@@ -1101,14 +1244,9 @@
1101
1244
  MenuModule.decorators = [
1102
1245
  { type: i0.NgModule, args: [{
1103
1246
  declarations: [MenuComponent, MenuItemTextComponent, SubmenuItemTextComponent],
1104
- imports: [
1105
- common.CommonModule,
1106
- i1.RouterModule,
1107
- ngBootstrap.NgbTooltipModule,
1108
- core.TranslateModule
1109
- ],
1247
+ imports: [common.CommonModule, i1.RouterModule, ngBootstrap.NgbTooltipModule, core.TranslateModule],
1110
1248
  exports: [MenuComponent],
1111
- providers: []
1249
+ providers: [],
1112
1250
  },] }
1113
1251
  ];
1114
1252
 
@@ -1169,6 +1307,8 @@
1169
1307
  return extendStatics(d, b);
1170
1308
  };
1171
1309
  function __extends(d, b) {
1310
+ if (typeof b !== "function" && b !== null)
1311
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
1172
1312
  extendStatics(d, b);
1173
1313
  function __() { this.constructor = d; }
1174
1314
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
@@ -1354,11 +1494,13 @@
1354
1494
  }
1355
1495
  return ar;
1356
1496
  }
1497
+ /** @deprecated */
1357
1498
  function __spread() {
1358
1499
  for (var ar = [], i = 0; i < arguments.length; i++)
1359
1500
  ar = ar.concat(__read(arguments[i]));
1360
1501
  return ar;
1361
1502
  }
1503
+ /** @deprecated */
1362
1504
  function __spreadArrays() {
1363
1505
  for (var s = 0, i = 0, il = arguments.length; i < il; i++)
1364
1506
  s += arguments[i].length;
@@ -1367,7 +1509,17 @@
1367
1509
  r[k] = a[j];
1368
1510
  return r;
1369
1511
  }
1370
- ;
1512
+ function __spreadArray(to, from, pack) {
1513
+ if (pack || arguments.length === 2)
1514
+ for (var i = 0, l = from.length, ar; i < l; i++) {
1515
+ if (ar || !(i in from)) {
1516
+ if (!ar)
1517
+ ar = Array.prototype.slice.call(from, 0, i);
1518
+ ar[i] = from[i];
1519
+ }
1520
+ }
1521
+ return to.concat(ar || Array.prototype.slice.call(from));
1522
+ }
1371
1523
  function __await(v) {
1372
1524
  return this instanceof __await ? (this.v = v, this) : new __await(v);
1373
1525
  }
@@ -1432,18 +1584,21 @@
1432
1584
  function __importDefault(mod) {
1433
1585
  return (mod && mod.__esModule) ? mod : { default: mod };
1434
1586
  }
1435
- function __classPrivateFieldGet(receiver, privateMap) {
1436
- if (!privateMap.has(receiver)) {
1437
- throw new TypeError("attempted to get private field on non-instance");
1438
- }
1439
- return privateMap.get(receiver);
1587
+ function __classPrivateFieldGet(receiver, state, kind, f) {
1588
+ if (kind === "a" && !f)
1589
+ throw new TypeError("Private accessor was defined without a getter");
1590
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
1591
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
1592
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
1440
1593
  }
1441
- function __classPrivateFieldSet(receiver, privateMap, value) {
1442
- if (!privateMap.has(receiver)) {
1443
- throw new TypeError("attempted to set private field on non-instance");
1444
- }
1445
- privateMap.set(receiver, value);
1446
- return value;
1594
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
1595
+ if (kind === "m")
1596
+ throw new TypeError("Private method is not writable");
1597
+ if (kind === "a" && !f)
1598
+ throw new TypeError("Private accessor was defined without a setter");
1599
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
1600
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
1601
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
1447
1602
  }
1448
1603
 
1449
1604
  /*
@@ -1474,7 +1629,7 @@
1474
1629
  VersionService.ɵprov = i0.ɵɵdefineInjectable({ factory: function VersionService_Factory() { return new VersionService(i0.ɵɵinject(i1$2.HttpClient)); }, token: VersionService, providedIn: "root" });
1475
1630
  VersionService.decorators = [
1476
1631
  { type: i0.Injectable, args: [{
1477
- providedIn: 'root'
1632
+ providedIn: 'root',
1478
1633
  },] }
1479
1634
  ];
1480
1635
  VersionService.ctorParameters = function () { return [
@@ -1499,7 +1654,7 @@
1499
1654
  'emailNotificationOnThursday',
1500
1655
  'emailNotificationOnFriday',
1501
1656
  'emailNotificationOnSaturday',
1502
- 'emailNotificationOnSunday'
1657
+ 'emailNotificationOnSunday',
1503
1658
  ];
1504
1659
  this.settingsForm = this.formBuilder.group({
1505
1660
  taskNotifications: new forms.FormControl(false),
@@ -1510,14 +1665,16 @@
1510
1665
  emailNotificationOnThursday: new forms.FormControl(false),
1511
1666
  emailNotificationOnFriday: new forms.FormControl(false),
1512
1667
  emailNotificationOnSaturday: new forms.FormControl(false),
1513
- emailNotificationOnSunday: new forms.FormControl(false)
1668
+ emailNotificationOnSunday: new forms.FormControl(false),
1514
1669
  });
1515
1670
  this.getUserSettings();
1516
1671
  };
1517
1672
  RightSidebarComponent.prototype.loadContextSwitch = function () {
1518
1673
  var _this = this;
1519
- rxjs.combineLatest([this.contextService.getUserContexts(), this.contextService.getUserContextActive()])
1520
- .subscribe(function (_a) {
1674
+ rxjs.combineLatest([
1675
+ this.contextService.getUserContexts(),
1676
+ this.contextService.getUserContextActive(),
1677
+ ]).subscribe(function (_a) {
1521
1678
  var _b = __read(_a, 2), userContexts = _b[0], userContextActive = _b[1];
1522
1679
  _this.userContextActive = userContextActive;
1523
1680
  _this.userContexts = userContexts;
@@ -1580,7 +1737,7 @@
1580
1737
  RightSidebarComponent.decorators = [
1581
1738
  { type: i0.Component, args: [{
1582
1739
  selector: 'valtimo-right-sidebar',
1583
- template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<nav class=\"be-right-sidebar\">\n <div class=\"sb-content\">\n <div class=\"tab-navigation\">\n <ul class=\"nav nav-tabs nav-justified\" role=\"tablist\">\n <li class=\"nav-item\" role=\"presentation\">\n <a class=\"nav-link active\" href=\"#account\" aria-controls=\"account\" role=\"tab\" data-toggle=\"tab\"\n translate=\"account.title\"></a>\n </li>\n <li class=\"nav-item\" role=\"presentation\">\n <a class=\"nav-link\" (click)=\"loadUserSettingsTab()\" href=\"#settings\" aria-controls=\"settings\" role=\"tab\"\n data-toggle=\"tab\" translate=\"settings.title\"></a>\n </li>\n </ul>\n </div>\n <div class=\"tab-panel\">\n <div class=\"tab-content\">\n <!-- account -->\n <div class=\"tab-pane tab-account active\" id=\"account\" role=\"tabpanel\">\n <div class=\"p-3 be-scroller-settings\" *ngIf=\"userIdentity\">\n <div class=\"content\">\n <div class=\"category-title border-0 m-0\">\n <div class=\"p-0 text-muted\">\n <dl class=\"row mb-0\">\n <dt class=\"col-sm-3\">Email</dt>\n <dd class=\"col-sm-9 mb-0 text-bold\">{{ userIdentity.email }}</dd>\n <ng-container *ngIf=\"userIdentity.username\">\n <dt class=\"col-sm-3\">Username</dt>\n <dd class=\"col-sm-9 mb-0 text-bold\">{{ userIdentity.username }}</dd>\n </ng-container>\n <dt class=\"col-sm-3\">Name</dt>\n <dd class=\"col-sm-9 mb-0 text-bold\">{{ userIdentity.firstName + ' ' + userIdentity.lastName }}</dd>\n </dl>\n </div>\n </div>\n <!-- context switch -->\n <ul class=\"settings-list\" *ngIf=\"userContexts?.length > 1\">\n <li ngbTooltip=\"{{ 'settings.context.title' | translate }}\">\n <select class=\"form-control\" #contextSelect (change)=\"setUserContext(+contextSelect.value)\">\n <option *ngFor=\"let context of userContexts\" [value]=\"context.id\"\n [selected]=\"context.id === userContextActive.id\">\n {{ context.name }}\n </option>\n </select>\n </li>\n </ul>\n <ul class=\"list-group list-group-flush m-0\">\n <li class=\"bg-transparent list-group-item px-0\">\n <a href=\"https://docs.valtimo.nl\" target=\"_blank\" class=\"d-block\" translate=\"account.links.help\"></a>\n </li>\n <li class=\"bg-transparent list-group-item px-0\">\n <a href=\"https://www.valtimo.nl/feedback/\" target=\"_blank\" class=\"d-block\"\n translate=\"account.links.feedback\"></a>\n </li>\n <li class=\"bg-transparent list-group-item px-0\">\n <a href=\"https://forum.valtimo.nl\" target=\"_blank\" class=\"d-block\"\n translate=\"account.links.forum\"></a>\n </li>\n <li class=\"bg-transparent list-group-item px-0\">\n <a href=\"javascript:void(0)\" class=\"d-block\" (click)=\"logout()\"\n translate=\"account.links.signOut\"></a>\n </li>\n </ul>\n </div>\n </div>\n </div>\n\n <!-- settings -->\n <div class=\"tab-pane tab-settings\" id=\"settings\" role=\"tabpanel\">\n <div class=\"p-3 be-scroller-settings\">\n <div class=\"content\">\n <span class=\"category-title\" translate=\"settings.language.title\"></span>\n <ul class=\"settings-list\">\n <li>\n <select class=\"form-control\" #langSelect (change)=\"updateUserLanguage(langSelect.value)\">\n <option *ngFor=\"let lang of translate.getLangs()\" [value]=\"lang\"\n [selected]=\"lang === translate.currentLang\">\n {{ 'settings.language.options.' + lang | translate }}\n </option>\n </select>\n </li>\n </ul>\n\n <form [formGroup]=\"settingsForm\">\n <span class=\"category-title\" translate=\"settings.notification.title\"></span>\n <ul class=\"settings-list m-0\">\n <li>\n <div class=\"switch-button switch-button-sm switch-button-success\">\n <input type=\"checkbox\" formControlName=\"taskNotifications\" id=\"taskNotifications\"\n (ngModelChange)=\"onSettingsSubmit()\"><span>\n <label for=\"taskNotifications\"></label></span>\n </div>\n <span class=\"name\" translate=\"settings.notification.taskNotifications\"></span>\n <div class=\"text-muted info-text\" translate=\"settings.notification.taskNotificationsIntro\"></div>\n </li>\n\n <li>\n <div class=\"switch-button switch-button-sm switch-button-success\">\n <input type=\"checkbox\" formControlName=\"emailNotifications\" id=\"emailNotifications\"\n (ngModelChange)=\"onSettingsSubmit()\"><span>\n <label for=\"emailNotifications\"></label></span>\n </div>\n <span class=\"name\" translate=\"settings.notification.emailNotifications\"></span>\n <div class=\"text-muted info-text\" translate=\"settings.notification.emailNotificationsIntro\"></div>\n </li>\n </ul>\n\n <div *ngIf=\"settingsForm.value.emailNotifications\">\n <ul class=\"settings-list\">\n <li *ngFor=\"let frequency of frequencies\">\n <div class=\"switch-button switch-button-sm switch-button-success\">\n <input type=\"checkbox\" formControlName=\"{{ frequency }}\" id=\"{{ frequency }}\"\n (ngModelChange)=\"onSettingsSubmit()\"><span>\n <label for=\"{{ frequency }}\"></label></span>\n </div>\n <span class=\"name\">{{ 'settings.notification.' + frequency | translate }}</span>\n </li>\n </ul>\n </div>\n </form>\n\n <div class=\"version-holder\">\n <span class=\"category-title\" translate=\"settings.version.title\"></span>\n <ul class=\"settings-list\">\n <li *ngIf=\"build\">\n <div class=\"name\">{{ build.title }}</div>\n <div class=\"text-muted\">{{ build.version }}</div>\n </li>\n </ul>\n </div>\n </div>\n </div>\n </div>\n\n </div>\n </div>\n </div>\n</nav>\n",
1740
+ template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<nav class=\"be-right-sidebar\">\n <div class=\"sb-content\">\n <div class=\"tab-navigation\">\n <ul class=\"nav nav-tabs nav-justified\" role=\"tablist\">\n <li class=\"nav-item\" role=\"presentation\">\n <a\n class=\"nav-link active\"\n href=\"#account\"\n aria-controls=\"account\"\n role=\"tab\"\n data-toggle=\"tab\"\n translate=\"account.title\"\n ></a>\n </li>\n <li class=\"nav-item\" role=\"presentation\">\n <a\n class=\"nav-link\"\n (click)=\"loadUserSettingsTab()\"\n href=\"#settings\"\n aria-controls=\"settings\"\n role=\"tab\"\n data-toggle=\"tab\"\n translate=\"settings.title\"\n ></a>\n </li>\n </ul>\n </div>\n <div class=\"tab-panel\">\n <div class=\"tab-content\">\n <!-- account -->\n <div class=\"tab-pane tab-account active\" id=\"account\" role=\"tabpanel\">\n <div class=\"p-3 be-scroller-settings\" *ngIf=\"userIdentity\">\n <div class=\"content\">\n <div class=\"category-title border-0 m-0\">\n <div class=\"p-0 text-muted\">\n <dl class=\"row mb-0\">\n <dt class=\"col-sm-3\">Email</dt>\n <dd class=\"col-sm-9 mb-0 text-bold\">{{ userIdentity.email }}</dd>\n <ng-container *ngIf=\"userIdentity.username\">\n <dt class=\"col-sm-3\">Username</dt>\n <dd class=\"col-sm-9 mb-0 text-bold\">{{ userIdentity.username }}</dd>\n </ng-container>\n <dt class=\"col-sm-3\">Name</dt>\n <dd class=\"col-sm-9 mb-0 text-bold\">\n {{ userIdentity.firstName + ' ' + userIdentity.lastName }}\n </dd>\n </dl>\n </div>\n </div>\n <!-- context switch -->\n <ul class=\"settings-list\" *ngIf=\"userContexts?.length > 1\">\n <li ngbTooltip=\"{{ 'settings.context.title' | translate }}\">\n <select\n class=\"form-control\"\n #contextSelect\n (change)=\"setUserContext(+contextSelect.value)\"\n >\n <option\n *ngFor=\"let context of userContexts\"\n [value]=\"context.id\"\n [selected]=\"context.id === userContextActive.id\"\n >\n {{ context.name }}\n </option>\n </select>\n </li>\n </ul>\n <ul class=\"list-group list-group-flush m-0\">\n <li class=\"bg-transparent list-group-item px-0\">\n <a\n href=\"https://docs.valtimo.nl\"\n target=\"_blank\"\n class=\"d-block\"\n translate=\"account.links.help\"\n ></a>\n </li>\n <li class=\"bg-transparent list-group-item px-0\">\n <a\n href=\"https://www.valtimo.nl/feedback/\"\n target=\"_blank\"\n class=\"d-block\"\n translate=\"account.links.feedback\"\n ></a>\n </li>\n <li class=\"bg-transparent list-group-item px-0\">\n <a\n href=\"https://forum.valtimo.nl\"\n target=\"_blank\"\n class=\"d-block\"\n translate=\"account.links.forum\"\n ></a>\n </li>\n <li class=\"bg-transparent list-group-item px-0\">\n <a\n href=\"javascript:void(0)\"\n class=\"d-block\"\n (click)=\"logout()\"\n translate=\"account.links.signOut\"\n ></a>\n </li>\n </ul>\n </div>\n </div>\n </div>\n\n <!-- settings -->\n <div class=\"tab-pane tab-settings\" id=\"settings\" role=\"tabpanel\">\n <div class=\"p-3 be-scroller-settings\">\n <div class=\"content\">\n <span class=\"category-title\" translate=\"settings.language.title\"></span>\n <ul class=\"settings-list\">\n <li>\n <select\n class=\"form-control\"\n #langSelect\n (change)=\"updateUserLanguage(langSelect.value)\"\n >\n <option\n *ngFor=\"let lang of translate.getLangs()\"\n [value]=\"lang\"\n [selected]=\"lang === translate.currentLang\"\n >\n {{ 'settings.language.options.' + lang | translate }}\n </option>\n </select>\n </li>\n </ul>\n\n <form [formGroup]=\"settingsForm\">\n <span class=\"category-title\" translate=\"settings.notification.title\"></span>\n <ul class=\"settings-list m-0\">\n <li>\n <div class=\"switch-button switch-button-sm switch-button-success\">\n <input\n type=\"checkbox\"\n formControlName=\"taskNotifications\"\n id=\"taskNotifications\"\n (ngModelChange)=\"onSettingsSubmit()\"\n /><span> <label for=\"taskNotifications\"></label></span>\n </div>\n <span class=\"name\" translate=\"settings.notification.taskNotifications\"></span>\n <div\n class=\"text-muted info-text\"\n translate=\"settings.notification.taskNotificationsIntro\"\n ></div>\n </li>\n\n <li>\n <div class=\"switch-button switch-button-sm switch-button-success\">\n <input\n type=\"checkbox\"\n formControlName=\"emailNotifications\"\n id=\"emailNotifications\"\n (ngModelChange)=\"onSettingsSubmit()\"\n /><span> <label for=\"emailNotifications\"></label></span>\n </div>\n <span class=\"name\" translate=\"settings.notification.emailNotifications\"></span>\n <div\n class=\"text-muted info-text\"\n translate=\"settings.notification.emailNotificationsIntro\"\n ></div>\n </li>\n </ul>\n\n <div *ngIf=\"settingsForm.value.emailNotifications\">\n <ul class=\"settings-list\">\n <li *ngFor=\"let frequency of frequencies\">\n <div class=\"switch-button switch-button-sm switch-button-success\">\n <input\n type=\"checkbox\"\n formControlName=\"{{ frequency }}\"\n id=\"{{ frequency }}\"\n (ngModelChange)=\"onSettingsSubmit()\"\n /><span> <label for=\"{{ frequency }}\"></label></span>\n </div>\n <span class=\"name\">{{\n 'settings.notification.' + frequency | translate\n }}</span>\n </li>\n </ul>\n </div>\n </form>\n\n <div class=\"version-holder\">\n <span class=\"category-title\" translate=\"settings.version.title\"></span>\n <ul class=\"settings-list\">\n <li *ngIf=\"build\">\n <div class=\"name\">{{ build.title }}</div>\n <div class=\"text-muted\">{{ build.version }}</div>\n </li>\n </ul>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</nav>\n",
1584
1741
  styles: [".be-scroller-settings{padding-bottom:150px!important}.version-holder{background-color:#f8f9fa;bottom:0;position:fixed;width:259px}.info-text{line-height:1em!important;margin-bottom:15px;padding-right:70px}"]
1585
1742
  },] }
1586
1743
  ];
@@ -1609,7 +1766,7 @@
1609
1766
  * See the License for the specific language governing permissions and
1610
1767
  * limitations under the License.
1611
1768
  */
1612
- var ɵ0 = contract.HttpLoaderFactory;
1769
+ var ɵ0 = i1$1.HttpLoaderFactory;
1613
1770
  var RightSidebarModule = /** @class */ (function () {
1614
1771
  function RightSidebarModule() {
1615
1772
  }
@@ -1627,12 +1784,12 @@
1627
1784
  loader: {
1628
1785
  provide: core.TranslateLoader,
1629
1786
  useFactory: ɵ0,
1630
- deps: [i1$2.HttpClient]
1631
- }
1787
+ deps: [i1$2.HttpClient],
1788
+ },
1632
1789
  }),
1633
- ngBootstrap.NgbTooltipModule
1790
+ ngBootstrap.NgbTooltipModule,
1634
1791
  ],
1635
- exports: [RightSidebarComponent]
1792
+ exports: [RightSidebarComponent],
1636
1793
  },] }
1637
1794
  ];
1638
1795
 
@@ -1722,7 +1879,7 @@
1722
1879
  LeftSidebarComponent.decorators = [
1723
1880
  { type: i0.Component, args: [{
1724
1881
  selector: 'valtimo-left-sidebar',
1725
- template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n<ng-container *ngIf=\"{isResizing: isResizing$ | async} as obs\">\n <div\n class=\"be-left-sidebar\"\n [style.width.px]=\"menuIsOpen ? (menuWidth$ | async) : null\"\n [ngClass]=\"{'no-transition': obs.isResizing}\"\n >\n <div class=\"left-sidebar-wrapper\">\n <a class=\"left-sidebar-toggle\" href=\"javascript:void(0);\"><valtimo-page-title></valtimo-page-title></a>\n <div class=\"progress-widget\" style=\"padding: 20px 0\">\n <ul class=\"sidebar-elements\">\n <li>\n <a\n #toggleButton\n class=\"be-toggle-left-sidebar\"\n href=\"javascript:void(0);\"\n [title]=\"menuTooltipText$ | async\"\n >\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n width=\"1em\"\n height=\"1em\"\n style=\"-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg)\"\n viewBox=\"0 0 24 24\"\n transform=\"rotate(360)\"\n >\n <path [ngClass]=\"menuIsOpen ? 'd-1' : 'd-1-flipped'\" />\n <path [ngClass]=\"menuIsOpen ? 'd-2' : 'd-2-flipped'\" />\n <path [ngClass]=\"menuIsOpen ? 'd-3' : 'd-3-flipped'\" />\n <path [ngClass]=\"menuIsOpen ? 'd-4' : 'd-4-flipped'\" />\n </svg>\n <span>{{ toggleMenuText$ | async }}</span>\n </a>\n </li>\n </ul>\n </div>\n <div class=\"left-sidebar-spacer\">\n <div class=\"left-sidebar-scroll\">\n <div class=\"left-sidebar-content\">\n <valtimo-menu></valtimo-menu>\n </div>\n </div>\n </div>\n </div>\n <div\n class=\"resize-border\"\n (mouseenter)=\"enterBorder()\"\n (mouseleave)=\"leaveBorder()\"\n (mousedown)=\"resizeBorderClick($event)\"\n [ngClass]=\"{'resize-hover': (mouseIsOnResizeBorder$ | async) || obs.isResizing}\"\n ></div>\n </div>\n</ng-container>\n",
1882
+ template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n<ng-container *ngIf=\"{isResizing: isResizing$ | async} as obs\">\n <div\n class=\"be-left-sidebar\"\n [style.width.px]=\"menuIsOpen ? (menuWidth$ | async) : null\"\n [ngClass]=\"{'no-transition': obs.isResizing}\"\n >\n <div class=\"left-sidebar-wrapper\">\n <a class=\"left-sidebar-toggle\" href=\"javascript:void(0);\"\n ><valtimo-page-title></valtimo-page-title\n ></a>\n <div class=\"progress-widget\" style=\"padding: 20px 0\">\n <ul class=\"sidebar-elements\">\n <li>\n <a\n #toggleButton\n class=\"be-toggle-left-sidebar\"\n href=\"javascript:void(0);\"\n [title]=\"menuTooltipText$ | async\"\n >\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n width=\"1em\"\n height=\"1em\"\n style=\"-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg)\"\n viewBox=\"0 0 24 24\"\n transform=\"rotate(360)\"\n >\n <path [ngClass]=\"menuIsOpen ? 'd-1' : 'd-1-flipped'\" />\n <path [ngClass]=\"menuIsOpen ? 'd-2' : 'd-2-flipped'\" />\n <path [ngClass]=\"menuIsOpen ? 'd-3' : 'd-3-flipped'\" />\n <path [ngClass]=\"menuIsOpen ? 'd-4' : 'd-4-flipped'\" />\n </svg>\n <span>{{ toggleMenuText$ | async }}</span>\n </a>\n </li>\n </ul>\n </div>\n <div class=\"left-sidebar-spacer\">\n <div class=\"left-sidebar-scroll\">\n <div class=\"left-sidebar-content\">\n <valtimo-menu></valtimo-menu>\n </div>\n </div>\n </div>\n </div>\n <div\n class=\"resize-border\"\n (mouseenter)=\"enterBorder()\"\n (mouseleave)=\"leaveBorder()\"\n (mousedown)=\"resizeBorderClick($event)\"\n [ngClass]=\"{'resize-hover': (mouseIsOnResizeBorder$ | async) || obs.isResizing}\"\n ></div>\n </div>\n</ng-container>\n",
1726
1883
  styles: ["@media screen and (max-width:767px){.be-left-sidebar{width:100%!important}}.be-left-sidebar .left-sidebar-toggle{padding:20px}.be-left-sidebar .left-sidebar-toggle:before{font-size:1.615rem}.be-left-sidebar .sidebar-elements>li>a.be-toggle-left-sidebar{align-items:center;display:flex;height:32px}.be-left-sidebar .left-sidebar-content{padding-top:20px}.be-toggle-left-sidebar svg{height:auto;margin-right:7px;min-width:21px;overflow:visible}.be-toggle-left-sidebar svg path{fill:#696969;transition:.27s ease}.resize-border{background-color:#ff5800;cursor:col-resize;height:100%;margin-right:-3px;opacity:0;position:absolute;right:0;top:0;transition:opacity .2s ease;width:3px}.resize-hover{opacity:.7}.no-transition{transition:none}.d-1{d:path(\"M3 18v-2h13v2z\")}.d-1-flipped{d:path(\"M3 18v-2h11v2z\")}.d-2{d:path(\"M3 13v-2h10v2H3\")}.d-2-flipped{d:path(\"M3 13v-2h12v2H3\")}.d-3{d:path(\"M3 6h13v2H3V6\")}.d-3-flipped{d:path(\"M3 6h11v2H3V6\")}.d-4{d:path(\"M21 15.61L19.59 17l-5.01-5 5.01-5L21 8.39 17.44 12 21 15.61\")}.d-4-flipped{d:path(\"M15.58 15.61L16.99 17 22 12l-5.01-5-1.41 1.39L19.14 12l-3.56 3.61\")}"]
1727
1884
  },] }
1728
1885
  ];
@@ -1831,11 +1988,8 @@
1831
1988
  PageTitleModule.decorators = [
1832
1989
  { type: i0.NgModule, args: [{
1833
1990
  declarations: [PageTitleComponent],
1834
- imports: [
1835
- common.CommonModule,
1836
- core.TranslateModule
1837
- ],
1838
- exports: [PageTitleComponent]
1991
+ imports: [common.CommonModule, core.TranslateModule],
1992
+ exports: [PageTitleComponent],
1839
1993
  },] }
1840
1994
  ];
1841
1995
 
@@ -1862,12 +2016,8 @@
1862
2016
  LeftSidebarModule.decorators = [
1863
2017
  { type: i0.NgModule, args: [{
1864
2018
  declarations: [LeftSidebarComponent],
1865
- imports: [
1866
- common.CommonModule,
1867
- MenuModule,
1868
- PageTitleModule
1869
- ],
1870
- exports: [LeftSidebarComponent]
2019
+ imports: [common.CommonModule, MenuModule, PageTitleModule],
2020
+ exports: [LeftSidebarComponent],
1871
2021
  },] }
1872
2022
  ];
1873
2023
 
@@ -1924,7 +2074,7 @@
1924
2074
  return value ? 'Yes' : 'No';
1925
2075
  }
1926
2076
  else {
1927
- return value ? (definition.enum[0] || 'Yes') : (definition.enum[1] || 'No');
2077
+ return value ? definition.enum[0] || 'Yes' : definition.enum[1] || 'No';
1928
2078
  }
1929
2079
  };
1930
2080
  return BooleanTypeConverter;
@@ -2072,7 +2222,7 @@
2072
2222
  dateTypeConverter,
2073
2223
  enumTypeConverter,
2074
2224
  stringReplaceUnderscoreTypeConverter,
2075
- relatedFilesTypeConverter
2225
+ relatedFilesTypeConverter,
2076
2226
  ];
2077
2227
 
2078
2228
  /*
@@ -2099,7 +2249,7 @@
2099
2249
  }
2100
2250
  ViewContentService.prototype.get = function (value, definition) {
2101
2251
  if (!definition.viewType) {
2102
- definition.viewType = typeof (value);
2252
+ definition.viewType = typeof value;
2103
2253
  }
2104
2254
  if (typeof this.converters[definition.viewType] !== 'undefined') {
2105
2255
  return this.converters[definition.viewType].convert(value, definition);
@@ -2119,7 +2269,7 @@
2119
2269
  ViewContentService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ViewContentService_Factory() { return new ViewContentService(); }, token: ViewContentService, providedIn: "root" });
2120
2270
  ViewContentService.decorators = [
2121
2271
  { type: i0.Injectable, args: [{
2122
- providedIn: 'root'
2272
+ providedIn: 'root',
2123
2273
  },] }
2124
2274
  ];
2125
2275
  ViewContentService.ctorParameters = function () { return []; };
@@ -2153,7 +2303,7 @@
2153
2303
  this.regExpStringRemoveUnderscore = /_/g;
2154
2304
  this.sort$ = new rxjs.BehaviorSubject({
2155
2305
  state: { name: '', direction: 'DESC' },
2156
- isSorting: false
2306
+ isSorting: false,
2157
2307
  });
2158
2308
  this.viewListAs = localStorage.getItem('viewListAs') || 'table';
2159
2309
  }
@@ -2212,7 +2362,7 @@
2212
2362
  item.listItemFields = _this.fields.map(function (field) { return ({
2213
2363
  key: field.key,
2214
2364
  label: field.label,
2215
- value: _this.resolveObject(field, item)
2365
+ value: _this.resolveObject(field, item),
2216
2366
  }); });
2217
2367
  });
2218
2368
  }
@@ -2223,7 +2373,9 @@
2223
2373
  ListComponent.prototype.resolveObject = function (definition, obj) {
2224
2374
  var definitionKey = definition.key;
2225
2375
  var customPropString = '$.';
2226
- var key = definitionKey.includes(customPropString) ? definitionKey.split(customPropString)[1] : definitionKey;
2376
+ var key = definitionKey.includes(customPropString)
2377
+ ? definitionKey.split(customPropString)[1]
2378
+ : definitionKey;
2227
2379
  var resolvedObjValue = key.split('.').reduce(function (prev, curr) {
2228
2380
  return prev ? prev[curr] : null;
2229
2381
  }, obj || self);
@@ -2274,7 +2426,7 @@
2274
2426
  ListComponent.decorators = [
2275
2427
  { type: i0.Component, args: [{
2276
2428
  selector: 'valtimo-list',
2277
- template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div>\n <div *ngIf=\"(items?.length > 0 && fields?.length > 0) || header\">\n <div\n class=\"d-flex align-items-center search-holder bg-light\"\n [ngClass]=\"{'pb-4 pt-4': !header}\"\n *ngIf=\"isSearchable || viewMode || header\"\n >\n <div class=\"align-self-start\">\n <ng-content select=\"[header]\"></ng-content>\n </div>\n\n <div class=\"ml-auto row\">\n <input *ngIf=\"isSearchable\" class=\"form-control col-sm-8\" type=\"text\" placeholder=\"Search...\" #searchBox />\n\n <div class=\"switch-view-holder btn-group col-sm-4 mt-1 mt-sm-0\" role=\"group\" *ngIf=\"viewMode\">\n <button\n class=\"btn\"\n [ngClass]=\"viewListAs === 'table' ? 'btn-primary' : 'btn-default'\"\n (click)=\"switchView('table')\"\n >\n <i class=\"mdi mdi-view-headline\"></i>\n </button>\n <button\n class=\"btn\"\n [ngClass]=\"viewListAs === 'tile' ? 'btn-primary' : 'btn-default'\"\n (click)=\"switchView('tile')\"\n >\n <i class=\"mdi mdi-view-module\"></i>\n </button>\n </div>\n </div>\n </div>\n </div>\n\n <ng-content select=\"[tabs]\"></ng-content>\n\n <div *ngIf=\"items?.length > 0 && fields?.length > 0\">\n <div class=\"table-responsive noSwipe\" *ngIf=\"!viewMode || viewListAs === 'table'\">\n <table class=\"table table-striped table-hover m-0\" *ngIf=\"sort$ | async as sort\">\n <thead>\n <tr>\n <th\n *ngFor=\"let field of fields\"\n (click)=\"handleFieldClick(field.key, field.sortable)\"\n [ngClass]=\"{\n sortable: field.sortable,\n 'is-being-sorted': field.key === sort.state.name && sort.isSorting,\n ascending: sort.state.direction === 'ASC'\n }\"\n >\n {{ field.label }}\n </th>\n <th *ngFor=\"let action of actions\">\n {{ action.columnName }}\n </th>\n </tr>\n </thead>\n <tbody>\n <tr\n [ngClass]=\"{'click-able': this.rowClicked.observers.length > 0}\"\n *ngFor=\"let item of items | listFilter: searchModel\"\n (click)=\"onClickRow(item)\"\n >\n <td class=\"align-top\" *ngFor=\"let listItemField of item.listItemFields\">\n {{ listItemField.value || '-' }}\n </td>\n <td class=\"align-top\" *ngFor=\"let action of actions\">\n <i style=\"cursor: pointer\" [ngClass]=\"action.iconClass\" (click)=\"action.callback(item)\"></i>\n </td>\n </tr>\n <tr>\n <td *ngIf=\"(items | listFilter: searchModel).length === 0\" [colSpan]=\"fields.length\">\n {{ 'list.noMatchingItems' | translate }}<i>\"{{ searchModel }}\"</i>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n\n <div class=\"container-fluid\" *ngIf=\"viewMode && viewListAs === 'tile'\">\n <div class=\"row p-2\">\n <div\n class=\"col-12 col-sm-6 col-xl-4 p-2\"\n *ngFor=\"let item of items | listFilter: searchModel\"\n (click)=\"onClickRow(item)\"\n >\n <div class=\"click-able tile-holder p-4\">\n <dl class=\"row mb-0\" *ngFor=\"let listItemField of item.listItemFields\">\n <dt class=\"col-12 col-md-5 text-xl-right\">{{ listItemField.label }}</dt>\n <dd class=\"col-12 col-md-7\">{{ listItemField.value || '-' }}</dd>\n </dl>\n </div>\n </div>\n <div class=\"col-12\" *ngIf=\"(items | listFilter: searchModel).length === 0\">\n {{ 'list.noMatchingItems' | translate }}<i>\"{{ searchModel }}\"</i>\n </div>\n </div>\n </div>\n </div>\n\n <div\n class=\"pagination-holder bg-light px-4 pt-4 pb-2 overflow-auto row mr-0 ml-0\"\n *ngIf=\"pagination && items?.length > 0 && fields?.length > 0\"\n >\n <div class=\"float-left page-count col-4\">\n <strong>{{ 'list.currentPage' | translate: {current: pagination.page, total: getTotalPageCount()} }}</strong>\n <br />\n {{\n pagination.collectionSize === 1\n ? ('list.showingResult' | translate: {number: (items | listFilter: searchModel).length})\n : ('list.showingResults'\n | translate: {number: (items | listFilter: searchModel).length, total: pagination.collectionSize})\n }}\n </div>\n <div class=\"col-4 text-center\">\n {{ 'list.show' | translate }}\n <select [(ngModel)]=\"pagination.size\" (ngModelChange)=\"setPaginationSize($event)\">\n <option [ngValue]=\"10\">10</option>\n <option [ngValue]=\"25\">25</option>\n <option [ngValue]=\"50\">50</option>\n <option [ngValue]=\"100\">100</option>\n </select>\n {{ 'list.entries' | translate }}\n </div>\n <div class=\"col-4\">\n <ngb-pagination\n *ngIf=\"pagination.collectionSize > pagination.size\"\n class=\"float-right\"\n [collectionSize]=\"pagination.collectionSize\"\n [(page)]=\"pagination.page\"\n [pageSize]=\"pagination.size\"\n [maxSize]=\"pagination.maxPaginationItemSize\"\n [rotate]=\"true\"\n (pageChange)=\"onClickPagination(pagination.page)\"\n ></ngb-pagination>\n </div>\n </div>\n\n <div id=\"no-results\" class=\"p-5\" *ngIf=\"items?.length === 0\">{{ 'list.noResults' | translate }}</div>\n\n <div id=\"no-field-definitions\" class=\"p-5\" *ngIf=\"items?.length > 0 && fields?.length === 0\">\n {{ 'list.noFieldDefinitions' | translate }}\n </div>\n</div>\n",
2429
+ template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div>\n <div *ngIf=\"(items?.length > 0 && fields?.length > 0) || header\">\n <div\n class=\"d-flex align-items-center search-holder bg-light\"\n [ngClass]=\"{'pb-4 pt-4': !header}\"\n *ngIf=\"isSearchable || viewMode || header\"\n >\n <div class=\"align-self-start\">\n <ng-content select=\"[header]\"></ng-content>\n </div>\n\n <div class=\"ml-auto row\">\n <input\n *ngIf=\"isSearchable\"\n class=\"form-control col-sm-8\"\n type=\"text\"\n placeholder=\"Search...\"\n #searchBox\n />\n\n <div\n class=\"switch-view-holder btn-group col-sm-4 mt-1 mt-sm-0\"\n role=\"group\"\n *ngIf=\"viewMode\"\n >\n <button\n class=\"btn\"\n [ngClass]=\"viewListAs === 'table' ? 'btn-primary' : 'btn-default'\"\n (click)=\"switchView('table')\"\n >\n <i class=\"mdi mdi-view-headline\"></i>\n </button>\n <button\n class=\"btn\"\n [ngClass]=\"viewListAs === 'tile' ? 'btn-primary' : 'btn-default'\"\n (click)=\"switchView('tile')\"\n >\n <i class=\"mdi mdi-view-module\"></i>\n </button>\n </div>\n </div>\n </div>\n </div>\n\n <ng-content select=\"[tabs]\"></ng-content>\n\n <div *ngIf=\"items?.length > 0 && fields?.length > 0\">\n <div class=\"table-responsive noSwipe\" *ngIf=\"!viewMode || viewListAs === 'table'\">\n <table class=\"table table-striped table-hover m-0\" *ngIf=\"sort$ | async as sort\">\n <thead>\n <tr>\n <th\n *ngFor=\"let field of fields\"\n (click)=\"handleFieldClick(field.key, field.sortable)\"\n [ngClass]=\"{\n sortable: field.sortable,\n 'is-being-sorted': field.key === sort.state.name && sort.isSorting,\n ascending: sort.state.direction === 'ASC'\n }\"\n >\n {{ field.label }}\n </th>\n <th *ngFor=\"let action of actions\">\n {{ action.columnName }}\n </th>\n </tr>\n </thead>\n <tbody>\n <tr\n [ngClass]=\"{'click-able': this.rowClicked.observers.length > 0}\"\n *ngFor=\"let item of items | listFilter: searchModel\"\n (click)=\"onClickRow(item)\"\n >\n <td class=\"align-top\" *ngFor=\"let listItemField of item.listItemFields\">\n {{ listItemField.value || '-' }}\n </td>\n <td class=\"align-top\" *ngFor=\"let action of actions\">\n <i\n style=\"cursor: pointer\"\n [ngClass]=\"action.iconClass\"\n (click)=\"action.callback(item)\"\n ></i>\n </td>\n </tr>\n <tr>\n <td *ngIf=\"(items | listFilter: searchModel).length === 0\" [colSpan]=\"fields.length\">\n {{ 'list.noMatchingItems' | translate }}<i>\"{{ searchModel }}\"</i>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n\n <div class=\"container-fluid\" *ngIf=\"viewMode && viewListAs === 'tile'\">\n <div class=\"row p-2\">\n <div\n class=\"col-12 col-sm-6 col-xl-4 p-2\"\n *ngFor=\"let item of items | listFilter: searchModel\"\n (click)=\"onClickRow(item)\"\n >\n <div class=\"click-able tile-holder p-4\">\n <dl class=\"row mb-0\" *ngFor=\"let listItemField of item.listItemFields\">\n <dt class=\"col-12 col-md-5 text-xl-right\">{{ listItemField.label }}</dt>\n <dd class=\"col-12 col-md-7\">{{ listItemField.value || '-' }}</dd>\n </dl>\n </div>\n </div>\n <div class=\"col-12\" *ngIf=\"(items | listFilter: searchModel).length === 0\">\n {{ 'list.noMatchingItems' | translate }}<i>\"{{ searchModel }}\"</i>\n </div>\n </div>\n </div>\n </div>\n\n <div\n class=\"pagination-holder bg-light px-4 pt-4 pb-2 overflow-auto row mr-0 ml-0\"\n *ngIf=\"pagination && items?.length > 0 && fields?.length > 0\"\n >\n <div class=\"float-left page-count col-4\">\n <strong>{{\n 'list.currentPage' | translate: {current: pagination.page, total: getTotalPageCount()}\n }}</strong>\n <br />\n {{\n pagination.collectionSize === 1\n ? ('list.showingResult' | translate: {number: (items | listFilter: searchModel).length})\n : ('list.showingResults'\n | translate\n : {\n number: (items | listFilter: searchModel).length,\n total: pagination.collectionSize\n })\n }}\n </div>\n <div class=\"col-4 text-center\">\n {{ 'list.show' | translate }}\n <select [(ngModel)]=\"pagination.size\" (ngModelChange)=\"setPaginationSize($event)\">\n <option [ngValue]=\"10\">10</option>\n <option [ngValue]=\"25\">25</option>\n <option [ngValue]=\"50\">50</option>\n <option [ngValue]=\"100\">100</option>\n </select>\n {{ 'list.entries' | translate }}\n </div>\n <div class=\"col-4\">\n <ngb-pagination\n *ngIf=\"pagination.collectionSize > pagination.size\"\n class=\"float-right\"\n [collectionSize]=\"pagination.collectionSize\"\n [(page)]=\"pagination.page\"\n [pageSize]=\"pagination.size\"\n [maxSize]=\"pagination.maxPaginationItemSize\"\n [rotate]=\"true\"\n (pageChange)=\"onClickPagination(pagination.page)\"\n ></ngb-pagination>\n </div>\n </div>\n\n <div id=\"no-results\" class=\"p-5\" *ngIf=\"items?.length === 0\">\n {{ 'list.noResults' | translate }}\n </div>\n\n <div id=\"no-field-definitions\" class=\"p-5\" *ngIf=\"items?.length > 0 && fields?.length === 0\">\n {{ 'list.noFieldDefinitions' | translate }}\n </div>\n</div>\n",
2278
2430
  styles: ["@charset \"UTF-8\";\n/*!\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.table{table-layout:fixed}.click-able{cursor:pointer}.pagination-holder{border-top:1px solid #dee2e6}.search-holder{border-bottom:1px solid #dee2e6;height:80px;padding-left:18px;padding-right:18px}.switch-view-holder i{font-size:1.8rem;line-height:1.2rem;margin-top:9px}.tile-holder{background-color:#f5f5f5;border:1px solid transparent}.tile-holder:hover{background-color:#eee;border:1px solid #dee2e6}.page-count{margin-bottom:1rem}td:first-child,th:first-child{padding-left:25px}th.sortable{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;cursor:pointer;user-select:none}th.sortable:after{content:\" \uF0DD\";font-family:Font Awesome\\ 5 Free;margin:auto 0 auto 5px;opacity:0;position:absolute;transition:all .15s ease}th.sortable.is-being-sorted.ascending:after{transform:rotate(-180deg)}th.sortable:hover:after{opacity:.5}th.sortable.is-being-sorted:after{opacity:1}"]
2279
2431
  },] }
2280
2432
  ];
@@ -2323,17 +2475,13 @@
2323
2475
  if (!filterText) {
2324
2476
  return list;
2325
2477
  }
2326
- return list.filter(function (item) { return Object.keys(item).some(function (k) { return item[k] != null &&
2327
- item[k]
2328
- .toString()
2329
- .toLowerCase()
2330
- .includes(filterText.toLowerCase()); }); });
2478
+ return list.filter(function (item) { return Object.keys(item).some(function (k) { return item[k] != null && item[k].toString().toLowerCase().includes(filterText.toLowerCase()); }); });
2331
2479
  };
2332
2480
  return ListFilterPipe;
2333
2481
  }());
2334
2482
  ListFilterPipe.decorators = [
2335
2483
  { type: i0.Pipe, args: [{
2336
- name: 'listFilter'
2484
+ name: 'listFilter',
2337
2485
  },] }
2338
2486
  ];
2339
2487
 
@@ -2358,14 +2506,13 @@
2358
2506
  var CardComponent = /** @class */ (function () {
2359
2507
  function CardComponent() {
2360
2508
  }
2361
- CardComponent.prototype.ngOnInit = function () {
2362
- };
2509
+ CardComponent.prototype.ngOnInit = function () { };
2363
2510
  return CardComponent;
2364
2511
  }());
2365
2512
  CardComponent.decorators = [
2366
2513
  { type: i0.Component, args: [{
2367
2514
  selector: 'valtimo-card',
2368
- template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"card card-border-color card-border-color-primary\">\n <div *ngIf=\"title || subtitle\"class=\"card-header card-header-divider\">\n <span *ngIf=\"title\">{{title}}</span>\n <span *ngIf=\"subtitle\" class=\"card-subtitle\">{{subtitle}}</span>\n </div>\n <div class=\"card-body\">\n <ng-content></ng-content>\n </div>\n</div>\n",
2515
+ template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"card card-border-color card-border-color-primary\">\n <div *ngIf=\"title || subtitle\" class=\"card-header card-header-divider\">\n <span *ngIf=\"title\">{{ title }}</span>\n <span *ngIf=\"subtitle\" class=\"card-subtitle\">{{ subtitle }}</span>\n </div>\n <div class=\"card-body\">\n <ng-content></ng-content>\n </div>\n</div>\n",
2369
2516
  styles: [""]
2370
2517
  },] }
2371
2518
  ];
@@ -2398,10 +2545,8 @@
2398
2545
  CardModule.decorators = [
2399
2546
  { type: i0.NgModule, args: [{
2400
2547
  declarations: [CardComponent],
2401
- imports: [
2402
- common.CommonModule
2403
- ],
2404
- exports: [CardComponent]
2548
+ imports: [common.CommonModule],
2549
+ exports: [CardComponent],
2405
2550
  },] }
2406
2551
  ];
2407
2552
 
@@ -2429,7 +2574,7 @@
2429
2574
  { type: i0.NgModule, args: [{
2430
2575
  declarations: [ListComponent, ListFilterPipe],
2431
2576
  imports: [common.CommonModule, CardModule, ngBootstrap.NgbPaginationModule, forms.FormsModule, core.TranslateModule],
2432
- exports: [ListComponent, ListFilterPipe]
2577
+ exports: [ListComponent, ListFilterPipe],
2433
2578
  },] }
2434
2579
  ];
2435
2580
 
@@ -2513,7 +2658,7 @@
2513
2658
  url: snapshot.url.join('/'),
2514
2659
  path: snapshot.routeConfig.path,
2515
2660
  label: snapshot.data['title'],
2516
- params: snapshot.params
2661
+ params: snapshot.params,
2517
2662
  };
2518
2663
  this.generateBreadcrumbs(activeRoute);
2519
2664
  }
@@ -2522,14 +2667,14 @@
2522
2667
  var _this = this;
2523
2668
  this.breadcrumbs = [];
2524
2669
  this.router.config.map(function (routerConfig) {
2525
- if (activeBreadcrumb.path.indexOf(routerConfig.path + '/') === 0
2526
- && activeBreadcrumb.path !== routerConfig.path
2527
- && routerConfig.path !== '') {
2670
+ if (activeBreadcrumb.path.indexOf(routerConfig.path + '/') === 0 &&
2671
+ activeBreadcrumb.path !== routerConfig.path &&
2672
+ routerConfig.path !== '') {
2528
2673
  var parentRoute_1 = {
2529
2674
  url: routerConfig.path.replace(/:(.+?)\b/g, function (_, p1) { return activeBreadcrumb.params[p1]; }),
2530
2675
  path: routerConfig.path,
2531
2676
  label: routerConfig.data['title'],
2532
- params: activeBreadcrumb.params
2677
+ params: activeBreadcrumb.params,
2533
2678
  };
2534
2679
  var exist = _this.breadcrumbs.findIndex(function (item) { return item.url === parentRoute_1.url; });
2535
2680
  if (exist === -1) {
@@ -2578,12 +2723,8 @@
2578
2723
  BreadcrumbNavigationModule.decorators = [
2579
2724
  { type: i0.NgModule, args: [{
2580
2725
  declarations: [BreadcrumbNavigationComponent],
2581
- imports: [
2582
- common.CommonModule,
2583
- i1.RouterModule,
2584
- core.TranslateModule
2585
- ],
2586
- exports: [BreadcrumbNavigationComponent]
2726
+ imports: [common.CommonModule, i1.RouterModule, core.TranslateModule],
2727
+ exports: [BreadcrumbNavigationComponent],
2587
2728
  },] }
2588
2729
  ];
2589
2730
 
@@ -2610,12 +2751,8 @@
2610
2751
  PageHeaderModule.decorators = [
2611
2752
  { type: i0.NgModule, args: [{
2612
2753
  declarations: [PageHeaderComponent],
2613
- imports: [
2614
- common.CommonModule,
2615
- PageTitleModule,
2616
- BreadcrumbNavigationModule
2617
- ],
2618
- exports: [PageHeaderComponent]
2754
+ imports: [common.CommonModule, PageTitleModule, BreadcrumbNavigationModule],
2755
+ exports: [PageHeaderComponent],
2619
2756
  },] }
2620
2757
  ];
2621
2758
 
@@ -2684,7 +2821,7 @@
2684
2821
  WidgetComponent.decorators = [
2685
2822
  { type: i0.Component, args: [{
2686
2823
  selector: 'valtimo-widget',
2687
- template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"card card-border card-contrast {{ cardClassName }}\">\n <div class=\"card-header {{ contrastClass }} {{ dividerClass }}\"\n *ngIf=\"title || subtitle\">\n <div class=\"row\">\n <div class=\"col-7\"\n [ngClass]=\"{'clickable': collapseAble}\"\n (click)=\"toggleContent()\">\n <!-- Title -->\n <div *ngIf=\"title\" class=\"text-truncate\">{{ title }}</div>\n <!-- Sub title -->\n <div *ngIf=\"subtitle\" class=\"card-subtitle text-truncate\">{{ subtitle }}</div>\n </div>\n\n <!-- Tools-->\n <div class=\"tools col-5 text-right\">\n <!-- Collapse content -->\n <a class=\"icon mdi\"\n *ngIf=\"collapseAble\"\n [ngClass]=\"{'mdi-chevron-up': isCollapsed, 'mdi-chevron-down': !isCollapsed}\"\n (click)=\"toggleContent()\"></a>\n </div>\n </div>\n </div>\n <!-- content -->\n <div [hidden]=\"!isCollapsed\">\n <ng-content></ng-content>\n </div>\n</div>\n",
2824
+ template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"card card-border card-contrast {{ cardClassName }}\">\n <div class=\"card-header {{ contrastClass }} {{ dividerClass }}\" *ngIf=\"title || subtitle\">\n <div class=\"row\">\n <div class=\"col-7\" [ngClass]=\"{clickable: collapseAble}\" (click)=\"toggleContent()\">\n <!-- Title -->\n <div *ngIf=\"title\" class=\"text-truncate\">{{ title }}</div>\n <!-- Sub title -->\n <div *ngIf=\"subtitle\" class=\"card-subtitle text-truncate\">{{ subtitle }}</div>\n </div>\n\n <!-- Tools-->\n <div class=\"tools col-5 text-right\">\n <!-- Collapse content -->\n <a\n class=\"icon mdi\"\n *ngIf=\"collapseAble\"\n [ngClass]=\"{'mdi-chevron-up': isCollapsed, 'mdi-chevron-down': !isCollapsed}\"\n (click)=\"toggleContent()\"\n ></a>\n </div>\n </div>\n </div>\n <!-- content -->\n <div [hidden]=\"!isCollapsed\">\n <ng-content></ng-content>\n </div>\n</div>\n",
2688
2825
  styles: [".card-contrast .card-header{padding:20px!important}.card-subtitle{margin-bottom:0}.card-full,.card-full .card-subtitle,.card-full .tools .icon{color:#6b6b6b!important}.card-full-warning,.card-full-warning .card-subtitle,.card-full-warning .tools .icon{color:#343a40!important}.card-full-danger,.card-full-danger .card-subtitle,.card-full-danger .tools .icon,.card-full-dark,.card-full-dark .card-subtitle,.card-full-dark .tools .icon,.card-full-info,.card-full-info .card-subtitle,.card-full-info .tools .icon,.card-full-primary,.card-full-primary .card-subtitle,.card-full-primary .tools .icon,.card-full-success,.card-full-success .card-subtitle,.card-full-success .tools .icon{color:#fff!important}.card-contrast .card-body{padding-top:15px}.card-body{padding:15px 20px}.pie-label{font-size:16px!important}.widget.widget-tile svg.ngx-charts{margin-left:-1.5rem!important}svg.ngx-charts{margin:0;padding:0}"]
2689
2826
  },] }
2690
2827
  ];
@@ -2724,10 +2861,8 @@
2724
2861
  WidgetModule.decorators = [
2725
2862
  { type: i0.NgModule, args: [{
2726
2863
  declarations: [WidgetComponent],
2727
- imports: [
2728
- common.CommonModule
2729
- ],
2730
- exports: [WidgetComponent]
2864
+ imports: [common.CommonModule],
2865
+ exports: [WidgetComponent],
2731
2866
  },] }
2732
2867
  ];
2733
2868
 
@@ -2760,7 +2895,7 @@
2760
2895
  }());
2761
2896
  FieldAutoFocusDirective.decorators = [
2762
2897
  { type: i0.Directive, args: [{
2763
- selector: '[valtimoFieldAutoFocus]'
2898
+ selector: '[valtimoFieldAutoFocus]',
2764
2899
  },] }
2765
2900
  ];
2766
2901
  FieldAutoFocusDirective.ctorParameters = function () { return [
@@ -2790,12 +2925,8 @@
2790
2925
  FieldAutoFocusModule.decorators = [
2791
2926
  { type: i0.NgModule, args: [{
2792
2927
  declarations: [FieldAutoFocusDirective],
2793
- exports: [
2794
- FieldAutoFocusDirective
2795
- ],
2796
- imports: [
2797
- common.CommonModule
2798
- ]
2928
+ exports: [FieldAutoFocusDirective],
2929
+ imports: [common.CommonModule],
2799
2930
  },] }
2800
2931
  ];
2801
2932
 
@@ -2871,15 +3002,15 @@
2871
3002
  }
2872
3003
  if (inputData) {
2873
3004
  Object.keys(inputData).forEach(function (key) {
2874
- var diagramContainer = _this.el.nativeElement.querySelector('svg')
2875
- .getBoundingClientRect(), diagramElm = _this.el.nativeElement.querySelector("g[data-element-id=" + key + "]")
3005
+ var diagramContainer = _this.el.nativeElement.querySelector('svg').getBoundingClientRect(), diagramElm = _this.el.nativeElement
3006
+ .querySelector("g[data-element-id=" + key + "]")
2876
3007
  .getBoundingClientRect();
2877
3008
  _this.setMax(key);
2878
3009
  _this.heatPoints.data.push({
2879
3010
  x: Math.round(diagramElm.x - diagramContainer.x + diagramElm.width / 2),
2880
3011
  y: Math.round(diagramElm.y - diagramContainer.y + diagramElm.height / 2),
2881
3012
  value: inputData[key][valueKey],
2882
- radius: diagramElm.width / 2
3013
+ radius: diagramElm.width / 2,
2883
3014
  });
2884
3015
  if (inputData[key].count > 0) {
2885
3016
  _this.addCounterActiveOverlays(key, inputData);
@@ -2903,27 +3034,27 @@
2903
3034
  overlays.add(key, {
2904
3035
  position: {
2905
3036
  bottom: -10,
2906
- left: 0
3037
+ left: 0,
2907
3038
  },
2908
3039
  show: {
2909
3040
  minZoom: 0,
2910
- maxZoom: 5.0
3041
+ maxZoom: 5.0,
2911
3042
  },
2912
- html: "<span class=\"badge badge-pill badge-primary\">" + inputData[key].count + "</span>"
3043
+ html: "<span class=\"badge badge-pill badge-primary\">" + inputData[key].count + "</span>",
2913
3044
  });
2914
3045
  };
2915
3046
  BpmnJsDiagramComponent.prototype.showHeatmap = function () {
2916
3047
  this.heatMapInstance = heatmap.create({
2917
3048
  radius: 54,
2918
- blur: .70,
2919
- maxOpacity: .4,
3049
+ blur: 0.7,
3050
+ maxOpacity: 0.4,
2920
3051
  minOpacity: 0,
2921
- container: this.el.nativeElement
3052
+ container: this.el.nativeElement,
2922
3053
  });
2923
3054
  this.heatMapInstance.setData({
2924
3055
  min: this.min,
2925
3056
  max: this.max,
2926
- data: this.heatPoints.data
3057
+ data: this.heatPoints.data,
2927
3058
  });
2928
3059
  };
2929
3060
  BpmnJsDiagramComponent.prototype.clearHeatmap = function () {
@@ -2946,7 +3077,7 @@
2946
3077
  BpmnJsDiagramComponent.decorators = [
2947
3078
  { type: i0.Component, args: [{
2948
3079
  selector: 'valtimo-bpmn-js-diagram',
2949
- template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"p-4\" *ngIf=\"heatmapDuration || heatmapCount\">\n <div class=\"switch-button switch-button-sm switch-button-success\">\n <input type=\"checkbox\" id=\"toggleHeatmap\" [checked]=\"heatmapMode\" (click)=\"toggleHeatmap()\"><span>\n <label for=\"toggleHeatmap\"></label></span>\n </div>\n</div>\n\n<div #ref class=\"diagram-container\"></div>\n\n<div *ngIf=\"historicActivityInstances\" class=\"p-4 text-center legenda-holder\">\n <span><div class=\"legenda highlight-overlay-past\"></div> Executed tasks</span>\n <span class=\"ml-3\"><div class=\"legenda highlight-overlay-current\"></div> Current tasks</span>\n</div>\n\n<div *ngIf=\"heatmapDuration || heatmapCount\" class=\"p-4 text-center legenda-holder\">\n <span><span class=\"badge badge-pill badge-primary\">N</span>&nbsp;&nbsp;Amount of currently active instances of this task.</span>\n <span>&nbsp;&nbsp;|&nbsp;&nbsp;Red/yellow/green orbs: The amount of times the task is executed in comparison to the other tasks.</span>\n</div>\n",
3080
+ template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"p-4\" *ngIf=\"heatmapDuration || heatmapCount\">\n <div class=\"switch-button switch-button-sm switch-button-success\">\n <input\n type=\"checkbox\"\n id=\"toggleHeatmap\"\n [checked]=\"heatmapMode\"\n (click)=\"toggleHeatmap()\"\n /><span> <label for=\"toggleHeatmap\"></label></span>\n </div>\n</div>\n\n<div #ref class=\"diagram-container\"></div>\n\n<div *ngIf=\"historicActivityInstances\" class=\"p-4 text-center legenda-holder\">\n <span\n ><div class=\"legenda highlight-overlay-past\"></div>\n Executed tasks</span\n >\n <span class=\"ml-3\"\n ><div class=\"legenda highlight-overlay-current\"></div>\n Current tasks</span\n >\n</div>\n\n<div *ngIf=\"heatmapDuration || heatmapCount\" class=\"p-4 text-center legenda-holder\">\n <span\n ><span class=\"badge badge-pill badge-primary\">N</span>&nbsp;&nbsp;Amount of currently active\n instances of this task.</span\n >\n <span\n >&nbsp;&nbsp;|&nbsp;&nbsp;Red/yellow/green orbs: The amount of times the task is executed in\n comparison to the other tasks.</span\n >\n</div>\n",
2950
3081
  styles: [""]
2951
3082
  },] }
2952
3083
  ];
@@ -2983,10 +3114,8 @@
2983
3114
  BpmnJsDiagramModule.decorators = [
2984
3115
  { type: i0.NgModule, args: [{
2985
3116
  declarations: [BpmnJsDiagramComponent],
2986
- imports: [
2987
- common.CommonModule
2988
- ],
2989
- exports: [BpmnJsDiagramComponent]
3117
+ imports: [common.CommonModule],
3118
+ exports: [BpmnJsDiagramComponent],
2990
3119
  },] }
2991
3120
  ];
2992
3121
 
@@ -3013,7 +3142,7 @@
3013
3142
  TimelineComponent.decorators = [
3014
3143
  { type: i0.Component, args: [{
3015
3144
  selector: 'valtimo-timeline',
3016
- template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div>\n <div id=\"no-results\" class=\"p-5\" *ngIf=\"items?.length === 0\">\n No result found\n </div>\n <div class=\"pb-5\" *ngIf=\"items?.length > 0\">\n <ul class=\"timeline mb-0 py-5\">\n <li class=\"timeline-item status-done\" *ngFor=\"let item of items\">\n <div class=\"timeline-date\">\n <span>{{ item.date }}</span>\n </div>\n <div class=\"timeline-content mt-1\">\n <div class=\"timeline-header p-0\">\n <span class=\"timeline-time\">{{ item.time }}</span>\n <span class=\"timeline-author\">{{ item.user }}</span>\n <br/>\n <p class=\"timeline-activity\">{{ item.activity }}</p>\n <div class=\"timeline-summary\">\n <p [innerHTML]=\"item.summaryTranslationKey | translate: item.summaryTranslationParams\"></p>\n </div>\n </div>\n </div>\n </li>\n </ul>\n </div>\n</div>\n",
3145
+ template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div>\n <div id=\"no-results\" class=\"p-5\" *ngIf=\"items?.length === 0\">No result found</div>\n <div class=\"pb-5\" *ngIf=\"items?.length > 0\">\n <ul class=\"timeline mb-0 py-5\">\n <li class=\"timeline-item status-done\" *ngFor=\"let item of items\">\n <div class=\"timeline-date\">\n <span>{{ item.date }}</span>\n </div>\n <div class=\"timeline-content mt-1\">\n <div class=\"timeline-header p-0\">\n <span class=\"timeline-time\">{{ item.time }}</span>\n <span class=\"timeline-author\">{{ item.user }}</span>\n <br />\n <p class=\"timeline-activity\">{{ item.activity }}</p>\n <div class=\"timeline-summary\">\n <p\n [innerHTML]=\"item.summaryTranslationKey | translate: item.summaryTranslationParams\"\n ></p>\n </div>\n </div>\n </div>\n </li>\n </ul>\n </div>\n</div>\n",
3017
3146
  styles: [""]
3018
3147
  },] }
3019
3148
  ];
@@ -3044,11 +3173,8 @@
3044
3173
  TimelineModule.decorators = [
3045
3174
  { type: i0.NgModule, args: [{
3046
3175
  declarations: [TimelineComponent],
3047
- imports: [
3048
- common.CommonModule,
3049
- core.TranslateModule,
3050
- ],
3051
- exports: [TimelineComponent]
3176
+ imports: [common.CommonModule, core.TranslateModule],
3177
+ exports: [TimelineComponent],
3052
3178
  },] }
3053
3179
  ];
3054
3180
 
@@ -3145,10 +3271,8 @@
3145
3271
  FilterSidebarModule.decorators = [
3146
3272
  { type: i0.NgModule, args: [{
3147
3273
  declarations: [FilterSidebarComponent],
3148
- imports: [
3149
- common.CommonModule
3150
- ],
3151
- exports: [FilterSidebarComponent]
3274
+ imports: [common.CommonModule],
3275
+ exports: [FilterSidebarComponent],
3152
3276
  },] }
3153
3277
  ];
3154
3278
 
@@ -3160,8 +3284,7 @@
3160
3284
  this.resourceRegistered = new i0.EventEmitter();
3161
3285
  this.showFileList = true;
3162
3286
  }
3163
- UploaderComponent.prototype.ngOnInit = function () {
3164
- };
3287
+ UploaderComponent.prototype.ngOnInit = function () { };
3165
3288
  UploaderComponent.prototype.onFileFieldChange = function (files) {
3166
3289
  var e_1, _a;
3167
3290
  try {
@@ -3183,7 +3306,7 @@
3183
3306
  this.s3Service.getPreSignedUrl(file.name).subscribe(function (value) {
3184
3307
  var preSignedUrl = new URL(value);
3185
3308
  _this.s3Service.upload(preSignedUrl, file).subscribe(function (result) {
3186
- var s3ResourceDTO = new contract.S3Resource(file, preSignedUrl);
3309
+ var s3ResourceDTO = new resource.S3Resource(file, preSignedUrl);
3187
3310
  _this.s3Service.registerResource(s3ResourceDTO).subscribe(function (resource) {
3188
3311
  _this.resources.push(resource);
3189
3312
  _this.resourceRegistered.emit(resource);
@@ -3205,7 +3328,7 @@
3205
3328
  UploaderComponent.decorators = [
3206
3329
  { type: i0.Component, args: [{
3207
3330
  selector: 'valtimo-uploader',
3208
- template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div class=\"upload-file-container p-5\" (click)=\"fileInput.click()\" valtimoUploaderDragDrop\n (fileDropped)=\"onFileFieldChange($event)\">\n <span class=\"align-middle\"><i class=\"fa fa-cloud-upload fa-4x\"></i></span>\n <input hidden type=\"file\" #fileInput (change)=\"onFileFieldChange($event.target.files)\" multiple/>\n</div>\n<div *ngIf=\"showFileList\">\n <div class=\"files-list px-3 py-2\" *ngFor=\"let resource of resources\">\n <p class=\"m-0\">\n <strong>{{ resource.name }}</strong><br/>\n {{ resource.sizeInBytes | filesize }}\n </p>\n <button class=\"delete-file\" (click)=\"deleteResource(resource)\">\n <i class=\"fa fa-trash text-danger\"></i>\n </button>\n </div>\n</div>\n\n",
3331
+ template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div\n class=\"upload-file-container p-5\"\n (click)=\"fileInput.click()\"\n valtimoUploaderDragDrop\n (fileDropped)=\"onFileFieldChange($event)\"\n>\n <span class=\"align-middle\"><i class=\"fa fa-cloud-upload fa-4x\"></i></span>\n <input hidden type=\"file\" #fileInput (change)=\"onFileFieldChange($event.target.files)\" multiple />\n</div>\n<div *ngIf=\"showFileList\">\n <div class=\"files-list px-3 py-2\" *ngFor=\"let resource of resources\">\n <p class=\"m-0\">\n <strong>{{ resource.name }}</strong\n ><br />\n {{ resource.sizeInBytes | filesize }}\n </p>\n <button class=\"delete-file\" (click)=\"deleteResource(resource)\">\n <i class=\"fa fa-trash text-danger\"></i>\n </button>\n </div>\n</div>\n",
3209
3332
  styles: [".upload-file-container{background-color:#fff;background-position:50%;background-repeat:no-repeat;background-size:100px;border:2px dashed #d5d8de;color:#d5d8de;margin:0 0 1rem;text-align:center}.upload-file-container i.mdi-cloud-upload{font-size:5em}.upload-file-container:hover{cursor:pointer;opacity:.8}.files-list{background:#fff;border:1px solid #bdc0c7;display:flex;font-size:1em;justify-content:space-between;margin:1rem auto;padding:5px}.files-list .delete-file{background:transparent;border:none;cursor:pointer}.files-list .delete-file i{font-size:1.5em}"]
3210
3333
  },] }
3211
3334
  ];
@@ -3257,7 +3380,7 @@
3257
3380
  }());
3258
3381
  UploaderDragDropDirective.decorators = [
3259
3382
  { type: i0.Directive, args: [{
3260
- selector: '[valtimoUploaderDragDrop]'
3383
+ selector: '[valtimoUploaderDragDrop]',
3261
3384
  },] }
3262
3385
  ];
3263
3386
  UploaderDragDropDirective.propDecorators = {
@@ -3284,14 +3407,7 @@
3284
3407
  */
3285
3408
  var FileSizePipe = /** @class */ (function () {
3286
3409
  function FileSizePipe() {
3287
- this.units = [
3288
- 'bytes',
3289
- 'KB',
3290
- 'MB',
3291
- 'GB',
3292
- 'TB',
3293
- 'PB'
3294
- ];
3410
+ this.units = ['bytes', 'KB', 'MB', 'GB', 'TB', 'PB'];
3295
3411
  }
3296
3412
  FileSizePipe.prototype.transform = function (bytes, precision) {
3297
3413
  if (bytes === void 0) { bytes = 0; }
@@ -3310,7 +3426,7 @@
3310
3426
  }());
3311
3427
  FileSizePipe.decorators = [
3312
3428
  { type: i0.Pipe, args: [{
3313
- name: 'filesize'
3429
+ name: 'filesize',
3314
3430
  },] }
3315
3431
  ];
3316
3432
 
@@ -3337,10 +3453,8 @@
3337
3453
  FileSizeModule.decorators = [
3338
3454
  { type: i0.NgModule, args: [{
3339
3455
  declarations: [FileSizePipe],
3340
- imports: [
3341
- common.CommonModule
3342
- ],
3343
- exports: [FileSizePipe]
3456
+ imports: [common.CommonModule],
3457
+ exports: [FileSizePipe],
3344
3458
  },] }
3345
3459
  ];
3346
3460
 
@@ -3367,11 +3481,8 @@
3367
3481
  UploaderModule.decorators = [
3368
3482
  { type: i0.NgModule, args: [{
3369
3483
  declarations: [UploaderComponent, UploaderDragDropDirective],
3370
- imports: [
3371
- common.CommonModule,
3372
- FileSizeModule
3373
- ],
3374
- exports: [UploaderComponent, UploaderDragDropDirective]
3484
+ imports: [common.CommonModule, FileSizeModule],
3485
+ exports: [UploaderComponent, UploaderDragDropDirective],
3375
3486
  },] }
3376
3487
  ];
3377
3488
 
@@ -3410,22 +3521,22 @@
3410
3521
  };
3411
3522
  // convenience methods
3412
3523
  AlertService.prototype.success = function (message, confirmations, iconClass) {
3413
- this.alert(new contract.Alert({ message: message, type: contract.AlertType.Success, confirmations: confirmations, iconClass: iconClass }));
3524
+ this.alert(new Alert({ message: message, type: exports.AlertType.Success, confirmations: confirmations, iconClass: iconClass }));
3414
3525
  };
3415
3526
  AlertService.prototype.error = function (message, confirmations, iconClass) {
3416
- this.alert(new contract.Alert({ message: message, type: contract.AlertType.Error, confirmations: confirmations, iconClass: iconClass }));
3527
+ this.alert(new Alert({ message: message, type: exports.AlertType.Error, confirmations: confirmations, iconClass: iconClass }));
3417
3528
  };
3418
3529
  AlertService.prototype.info = function (message, confirmations, iconClass) {
3419
- this.alert(new contract.Alert({ message: message, type: contract.AlertType.Info, confirmations: confirmations, iconClass: iconClass }));
3530
+ this.alert(new Alert({ message: message, type: exports.AlertType.Info, confirmations: confirmations, iconClass: iconClass }));
3420
3531
  };
3421
3532
  AlertService.prototype.warning = function (message, confirmations, iconClass) {
3422
- this.alert(new contract.Alert({ message: message, type: contract.AlertType.Warning, confirmations: confirmations, iconClass: iconClass }));
3533
+ this.alert(new Alert({ message: message, type: exports.AlertType.Warning, confirmations: confirmations, iconClass: iconClass }));
3423
3534
  };
3424
3535
  AlertService.prototype.notification = function (message, confirmations, iconClass) {
3425
- this.alert(new contract.Alert({ message: message, type: contract.AlertType.Notification, confirmations: confirmations, iconClass: iconClass }));
3536
+ this.alert(new Alert({ message: message, type: exports.AlertType.Notification, confirmations: confirmations, iconClass: iconClass }));
3426
3537
  };
3427
3538
  AlertService.prototype.modalNotification = function (message, confirmations, iconClass) {
3428
- this.alert(new contract.Alert({ message: message, type: contract.AlertType.ModalNotification, confirmations: confirmations, iconClass: iconClass }));
3539
+ this.alert(new Alert({ message: message, type: exports.AlertType.ModalNotification, confirmations: confirmations, iconClass: iconClass }));
3429
3540
  };
3430
3541
  // main alert method
3431
3542
  AlertService.prototype.alert = function (alert) {
@@ -3433,7 +3544,7 @@
3433
3544
  };
3434
3545
  // clear alerts
3435
3546
  AlertService.prototype.clear = function () {
3436
- this.subject.next(new contract.Alert({}));
3547
+ this.subject.next(new Alert({}));
3437
3548
  };
3438
3549
  // emit confirm
3439
3550
  AlertService.prototype.emitAlertConfirmEvent = function (alert) {
@@ -3473,12 +3584,10 @@
3473
3584
  this.alerts = [];
3474
3585
  this.autoCloseInMS = 5000;
3475
3586
  }
3476
- AlertComponent.prototype.ngOnInit = function () {
3477
- };
3587
+ AlertComponent.prototype.ngOnInit = function () { };
3478
3588
  AlertComponent.prototype.ngAfterContentInit = function () {
3479
3589
  var _this = this;
3480
- this.subscription = this.alertService.onAlert()
3481
- .subscribe(function (alert) {
3590
+ this.subscription = this.alertService.onAlert().subscribe(function (alert) {
3482
3591
  if (!alert.message) {
3483
3592
  // clear alerts when an empty alert is received
3484
3593
  _this.alerts = [];
@@ -3534,7 +3643,7 @@
3534
3643
  }
3535
3644
  // return true based on AlertType.ModalNotification
3536
3645
  switch (alert.type) {
3537
- case contract.AlertType.ModalNotification:
3646
+ case exports.AlertType.ModalNotification:
3538
3647
  return true;
3539
3648
  default:
3540
3649
  return false;
@@ -3546,17 +3655,17 @@
3546
3655
  }
3547
3656
  // return css class based on alert type
3548
3657
  switch (alert.type) {
3549
- case contract.AlertType.Success:
3658
+ case exports.AlertType.Success:
3550
3659
  return 'alert alert-success';
3551
- case contract.AlertType.Error:
3660
+ case exports.AlertType.Error:
3552
3661
  return 'alert alert-danger';
3553
- case contract.AlertType.Info:
3662
+ case exports.AlertType.Info:
3554
3663
  return 'alert alert-info';
3555
- case contract.AlertType.Warning:
3664
+ case exports.AlertType.Warning:
3556
3665
  return 'alert alert-warning';
3557
- case contract.AlertType.Notification:
3666
+ case exports.AlertType.Notification:
3558
3667
  return 'alert alert-light';
3559
- case contract.AlertType.ModalNotification:
3668
+ case exports.AlertType.ModalNotification:
3560
3669
  return 'alert alert-light';
3561
3670
  }
3562
3671
  };
@@ -3566,17 +3675,17 @@
3566
3675
  }
3567
3676
  // return css class based on alert type
3568
3677
  switch (alert.type) {
3569
- case contract.AlertType.Success:
3678
+ case exports.AlertType.Success:
3570
3679
  return 'mdi mdi-check';
3571
- case contract.AlertType.Error:
3680
+ case exports.AlertType.Error:
3572
3681
  return 'mdi mdi-close-circle-o';
3573
- case contract.AlertType.Info:
3682
+ case exports.AlertType.Info:
3574
3683
  return 'mdi mdi-info-outline';
3575
- case contract.AlertType.Warning:
3684
+ case exports.AlertType.Warning:
3576
3685
  return 'mdi mdi-alert-triangle';
3577
- case contract.AlertType.Notification:
3686
+ case exports.AlertType.Notification:
3578
3687
  return 'mdi mdi-notifications';
3579
- case contract.AlertType.ModalNotification:
3688
+ case exports.AlertType.ModalNotification:
3580
3689
  return 'mdi mdi-notifications';
3581
3690
  }
3582
3691
  };
@@ -3585,7 +3694,7 @@
3585
3694
  AlertComponent.decorators = [
3586
3695
  { type: i0.Component, args: [{
3587
3696
  selector: 'valtimo-alert',
3588
- template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div *ngFor=\"let alert of alerts\" class=\"{{cssClass(alert)}} rounded-0 m-0 alert-dismissable\">\n\n <div *ngIf=\"inModal(alert)\">\n <!-- Modal -->\n <div class=\"modal fade\" id=\"modalNotification\" tabindex=\"-1\" role=\"dialog\">\n <div class=\"modal-dialog\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-body p-0\">\n <button class=\"close\" type=\"button\" (click)=\"removeAlert(alert)\"><span class=\"mdi mdi-close\" aria-hidden=\"true\"></span></button>\n <div class=\"icon\"><span class=\"{{ alert.iconClass || cssIconClass(alert) }}\"></span></div>\n <div class=\"message\">\n <div [innerHTML]=\"alert.message\"></div>\n </div>\n </div>\n <div class=\"modal-footer pt-0\" *ngIf=\"alert.confirmations?.length\">\n <button class=\"{{ confirmation.class }} mr-2\"\n *ngFor=\"let confirmation of alert.confirmations\"\n (click)=\"alertConfirm(alert, confirmation.value)\">{{ confirmation.label }}</button>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div *ngIf=\"!inModal(alert)\" class=\"alert-block\">\n <div class=\"icon\"><span class=\"{{ alert.iconClass || cssIconClass(alert) }}\"></span></div>\n <div class=\"message\">\n <div [innerHTML]=\"alert.message\"></div>\n <div class=\"mt-3\" *ngIf=\"alert.confirmations?.length\">\n <button class=\"{{ confirmation.class }} mr-2\"\n *ngFor=\"let confirmation of alert.confirmations\"\n (click)=\"alertConfirm(alert, confirmation.value)\">{{ confirmation.label }}</button>\n </div>\n </div>\n <button class=\"close\" type=\"button\" (click)=\"removeAlert(alert)\"><span class=\"mdi mdi-close\" aria-hidden=\"true\"></span></button>\n </div>\n</div>\n",
3697
+ template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div *ngFor=\"let alert of alerts\" class=\"{{ cssClass(alert) }} rounded-0 m-0 alert-dismissable\">\n <div *ngIf=\"inModal(alert)\">\n <!-- Modal -->\n <div class=\"modal fade\" id=\"modalNotification\" tabindex=\"-1\" role=\"dialog\">\n <div class=\"modal-dialog\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-body p-0\">\n <button class=\"close\" type=\"button\" (click)=\"removeAlert(alert)\">\n <span class=\"mdi mdi-close\" aria-hidden=\"true\"></span>\n </button>\n <div class=\"icon\">\n <span class=\"{{ alert.iconClass || cssIconClass(alert) }}\"></span>\n </div>\n <div class=\"message\">\n <div [innerHTML]=\"alert.message\"></div>\n </div>\n </div>\n <div class=\"modal-footer pt-0\" *ngIf=\"alert.confirmations?.length\">\n <button\n class=\"{{ confirmation.class }} mr-2\"\n *ngFor=\"let confirmation of alert.confirmations\"\n (click)=\"alertConfirm(alert, confirmation.value)\"\n >\n {{ confirmation.label }}\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div *ngIf=\"!inModal(alert)\" class=\"alert-block\">\n <div class=\"icon\"><span class=\"{{ alert.iconClass || cssIconClass(alert) }}\"></span></div>\n <div class=\"message\">\n <div [innerHTML]=\"alert.message\"></div>\n <div class=\"mt-3\" *ngIf=\"alert.confirmations?.length\">\n <button\n class=\"{{ confirmation.class }} mr-2\"\n *ngFor=\"let confirmation of alert.confirmations\"\n (click)=\"alertConfirm(alert, confirmation.value)\"\n >\n {{ confirmation.label }}\n </button>\n </div>\n </div>\n <button class=\"close\" type=\"button\" (click)=\"removeAlert(alert)\">\n <span class=\"mdi mdi-close\" aria-hidden=\"true\"></span>\n </button>\n </div>\n</div>\n",
3589
3698
  styles: [".alert-block{display:flex;flex-direction:row;justify-content:space-between}.alert-block .message{width:100%}.alert-block .icon{align-items:center;display:flex}.alert .message{font-size:1.1rem!important;line-height:1.5rem!important;padding:2rem 5rem 2rem 2rem!important}.alert .close{color:#fff!important;opacity:1!important;padding:2rem 2rem 0 0!important;right:0!important}.alert .icon{padding-left:2rem!important}.alert-warning{color:#404040!important}.alert-light .close,.alert-warning .close{color:#404040!important;opacity:1!important}"]
3590
3699
  },] }
3591
3700
  ];
@@ -3617,7 +3726,7 @@
3617
3726
  { type: i0.NgModule, args: [{
3618
3727
  imports: [common.CommonModule],
3619
3728
  declarations: [AlertComponent],
3620
- exports: [AlertComponent]
3729
+ exports: [AlertComponent],
3621
3730
  },] }
3622
3731
  ];
3623
3732
 
@@ -3639,8 +3748,7 @@
3639
3748
  var DataListComponent = /** @class */ (function () {
3640
3749
  function DataListComponent() {
3641
3750
  }
3642
- DataListComponent.prototype.ngOnInit = function () {
3643
- };
3751
+ DataListComponent.prototype.ngOnInit = function () { };
3644
3752
  return DataListComponent;
3645
3753
  }());
3646
3754
  DataListComponent.decorators = [
@@ -3679,10 +3787,8 @@
3679
3787
  DataListModule.decorators = [
3680
3788
  { type: i0.NgModule, args: [{
3681
3789
  declarations: [DataListComponent],
3682
- imports: [
3683
- common.CommonModule
3684
- ],
3685
- exports: [DataListComponent]
3790
+ imports: [common.CommonModule],
3791
+ exports: [DataListComponent],
3686
3792
  },] }
3687
3793
  ];
3688
3794
 
@@ -3737,21 +3843,22 @@
3737
3843
  * limitations under the License.
3738
3844
  */
3739
3845
  var FormioComponent = /** @class */ (function () {
3740
- function FormioComponent(userProviderService, logger, stateService, route) {
3846
+ function FormioComponent(userProviderService, logger, stateService, route, translateService) {
3741
3847
  this.userProviderService = userProviderService;
3742
3848
  this.logger = logger;
3743
3849
  this.stateService = stateService;
3744
3850
  this.route = route;
3851
+ this.translateService = translateService;
3745
3852
  this.submission = {};
3746
3853
  this.submit = new i0.EventEmitter();
3747
3854
  this.change = new i0.EventEmitter();
3748
3855
  this.refreshForm = new i0.EventEmitter();
3749
3856
  this.errors = [];
3857
+ this.currentLanguage$ = new rxjs.BehaviorSubject(this.translateService.currentLang);
3750
3858
  }
3751
3859
  FormioComponent.prototype.ngOnInit = function () {
3752
3860
  var documentDefinitionName = this.route.snapshot.paramMap.get('documentDefinitionName');
3753
3861
  var formDefinition = this.form;
3754
- this.loadUserLanguageSetting();
3755
3862
  this.formDefinition = formDefinition;
3756
3863
  this.errors = [];
3757
3864
  if (this.formHasLegacyUpload(formDefinition)) {
@@ -3761,11 +3868,11 @@
3761
3868
  this.stateService.setDocumentDefinitionName(documentDefinitionName);
3762
3869
  }
3763
3870
  this.subscribeFormRefresh();
3871
+ this.openLanguageSubscription();
3764
3872
  };
3765
3873
  FormioComponent.prototype.ngOnChanges = function (changes) {
3766
3874
  var currentForm = changes.form.currentValue;
3767
3875
  this.formDefinition = currentForm;
3768
- this.loadUserLanguageSetting();
3769
3876
  this.reloadForm();
3770
3877
  if (this.formHasLegacyUpload(currentForm)) {
3771
3878
  this.setInitialToken();
@@ -3776,17 +3883,14 @@
3776
3883
  }
3777
3884
  };
3778
3885
  FormioComponent.prototype.ngOnDestroy = function () {
3886
+ var _a, _b;
3779
3887
  this.unsubscribeFormRefresh();
3780
- if (this.tokenRefreshTimerSubscription) {
3781
- this.tokenRefreshTimerSubscription.unsubscribe();
3782
- }
3783
- };
3784
- FormioComponent.prototype.loadUserLanguageSetting = function () {
3785
- this.language = localStorage.getItem('langKey') || '';
3888
+ (_a = this.tokenRefreshTimerSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
3889
+ (_b = this.languageSubscription) === null || _b === void 0 ? void 0 : _b.unsubscribe();
3786
3890
  };
3787
3891
  FormioComponent.prototype.reloadForm = function () {
3788
3892
  this.refreshForm.emit({
3789
- form: this.formDefinition
3893
+ form: this.formDefinition,
3790
3894
  });
3791
3895
  };
3792
3896
  FormioComponent.prototype.showErrors = function (errors) {
@@ -3851,12 +3955,18 @@
3851
3955
  this.formRefreshSubscription.unsubscribe();
3852
3956
  }
3853
3957
  };
3958
+ FormioComponent.prototype.openLanguageSubscription = function () {
3959
+ var _this = this;
3960
+ this.languageSubscription = this.translateService.stream('key').subscribe(function () {
3961
+ _this.currentLanguage$.next(_this.translateService.currentLang);
3962
+ });
3963
+ };
3854
3964
  return FormioComponent;
3855
3965
  }());
3856
3966
  FormioComponent.decorators = [
3857
3967
  { type: i0.Component, args: [{
3858
3968
  selector: 'valtimo-form-io',
3859
- template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div>\n <div *ngIf=\"errors.length > 0\" class=\"alert alert-danger pt-5 pb-5 mb-2\">\n <ol>\n <li *ngFor=\"let error of errors\">\n {{error}}\n </li>\n </ol>\n </div>\n <formio [submission]=\"submission\"\n [form]=\"formDefinition\"\n [refresh]=\"refreshForm\"\n [options]=\"options\"\n [language]=\"language\"\n (submit)=\"onSubmit($event)\"\n (ready)=\"formReady($event)\"\n (change)=\"onChange($event)\"\n >\n </formio>\n</div>\n",
3969
+ template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div>\n <div *ngIf=\"errors.length > 0\" class=\"alert alert-danger pt-5 pb-5 mb-2\">\n <ol>\n <li *ngFor=\"let error of errors\">\n {{ error }}\n </li>\n </ol>\n </div>\n <formio\n [submission]=\"submission\"\n [form]=\"formDefinition\"\n [refresh]=\"refreshForm\"\n [options]=\"options\"\n [language]=\"currentLanguage$ | async\"\n (submit)=\"onSubmit($event)\"\n (ready)=\"formReady($event)\"\n (change)=\"onChange($event)\"\n ></formio>\n</div>\n",
3860
3970
  styles: [""]
3861
3971
  },] }
3862
3972
  ];
@@ -3864,7 +3974,8 @@
3864
3974
  { type: i3.UserProviderService },
3865
3975
  { type: i4.NGXLogger },
3866
3976
  { type: FormIoStateService },
3867
- { type: i1.ActivatedRoute }
3977
+ { type: i1.ActivatedRoute },
3978
+ { type: core.TranslateService }
3868
3979
  ]; };
3869
3980
  FormioComponent.propDecorators = {
3870
3981
  form: [{ type: i0.Input }],
@@ -3894,8 +4005,7 @@
3894
4005
  function FormioBuilderComponent() {
3895
4006
  this.change = new i0.EventEmitter();
3896
4007
  }
3897
- FormioBuilderComponent.prototype.ngOnInit = function () {
3898
- };
4008
+ FormioBuilderComponent.prototype.ngOnInit = function () { };
3899
4009
  FormioBuilderComponent.prototype.onChange = function (event) {
3900
4010
  this.change.emit(event);
3901
4011
  };
@@ -3904,7 +4014,7 @@
3904
4014
  FormioBuilderComponent.decorators = [
3905
4015
  { type: i0.Component, args: [{
3906
4016
  selector: 'valtimo-form-io-builder',
3907
- template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div>\n <form-builder [form]=\"form\" (change)=\"onChange($event)\" ></form-builder>\n</div>\n",
4017
+ template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<div>\n <form-builder [form]=\"form\" (change)=\"onChange($event)\"></form-builder>\n</div>\n",
3908
4018
  styles: [""]
3909
4019
  },] }
3910
4020
  ];
@@ -3933,7 +4043,7 @@
3933
4043
  appUrl: 'http://localhost:4200',
3934
4044
  apiUrl: 'http://localhost:4200',
3935
4045
  icons: 'fontawesome',
3936
- formOnly: false
4046
+ formOnly: false,
3937
4047
  };
3938
4048
 
3939
4049
  var FormIoDomService = /** @class */ (function () {
@@ -3981,7 +4091,9 @@
3981
4091
  });
3982
4092
  FormIoUploaderComponent.prototype.downloadFile = function (resourceFile) {
3983
4093
  var _this = this;
3984
- this.uploadProviderService.getResource(resourceFile.data.resourceId).subscribe(function (resource) {
4094
+ this.uploadProviderService
4095
+ .getResource(resourceFile.data.resourceId)
4096
+ .subscribe(function (resource) {
3985
4097
  _this.downloadService.downloadFile(resource.url, resource.resource.name);
3986
4098
  });
3987
4099
  };
@@ -4008,7 +4120,7 @@
4008
4120
  FormIoUploaderComponent.decorators = [
4009
4121
  { type: i0.Component, args: [{
4010
4122
  selector: 'valtimo-formio-uploader',
4011
- template: "<valtimo-dropzone\n (fileSelected)=\"fileSelected($event)\"\n [acceptedFiles]=\"null\"\n [disabled]=\"disabled\"\n [hideFilePreview]=\"true\"\n [hideTitle]=\"hideTitle\"\n [maxFileSize]=\"maxFileSize\"\n [showMaxFileSize]=\"!hideMaxFileSize\"\n [subtitle]=\"subtitle\"\n [title]=\"title\"\n [camera]=\"camera\"\n [uploading]=\"uploading$ | async\"\n></valtimo-dropzone>\n\n<div class=\"file-preview\" *ngFor=\"let resource of _value\">\n <div class=\"file-preview-name\">\n <a href=\"#\" (click)=\"downloadFile(resource)\">\n {{resource.originalName}}\n </a>\n </div>\n <div class=\"file-preview-size\">\n <span>\n {{resource.size | filesize}}\n </span>\n </div>\n <div class=\"file-preview-delete\" *ngIf=\"!disabled\">\n <a (click)=\"deleteFile(resource.data.resourceId)\">\n <i class=\"icon fa fa-trash\"></i>\n </a>\n </div>\n</div>\n",
4123
+ template: "<valtimo-dropzone\n (fileSelected)=\"fileSelected($event)\"\n [acceptedFiles]=\"null\"\n [disabled]=\"disabled\"\n [hideFilePreview]=\"true\"\n [hideTitle]=\"hideTitle\"\n [maxFileSize]=\"maxFileSize\"\n [showMaxFileSize]=\"!hideMaxFileSize\"\n [subtitle]=\"subtitle\"\n [title]=\"title\"\n [camera]=\"camera\"\n [uploading]=\"uploading$ | async\"\n></valtimo-dropzone>\n\n<div class=\"file-preview\" *ngFor=\"let resource of _value\">\n <div class=\"file-preview-name\">\n <a href=\"#\" (click)=\"downloadFile(resource)\">\n {{ resource.originalName }}\n </a>\n </div>\n <div class=\"file-preview-size\">\n <span>\n {{ resource.size | filesize }}\n </span>\n </div>\n <div class=\"file-preview-delete\" *ngIf=\"!disabled\">\n <a (click)=\"deleteFile(resource.data.resourceId)\">\n <i class=\"icon fa fa-trash\"></i>\n </a>\n </div>\n</div>\n",
4012
4124
  styles: [".progress-bar-container{padding:15px 20px}::ng-deep .formio-component-valtimo-file .btn-secondary,::ng-deep .formio-component-valtimo-file .formio-button-add-another{display:none}::ng-deep .formio-component-valtimo-file td{border:none;padding:0!important}::ng-deep .formio-component-valtimo-file .table{border:none;border-collapse:collapse;margin:10px 0}.dropzone-container{margin-bottom:12px}.file-preview{border:1px solid #dee2e6;display:flex;margin-top:-1px}.file-preview div{padding:12px 10px}.file-preview .file-preview-name{width:65%}.file-preview .file-preview-size{width:35%}.file-preview .icon{color:#a1a1a1;cursor:pointer;font-size:1.3846rem;line-height:18px}.file-preview .icon:hover{color:grey}"]
4013
4125
  },] }
4014
4126
  ];
@@ -4046,13 +4158,13 @@
4046
4158
  this.error$ = new rxjs.BehaviorSubject('');
4047
4159
  this.errorMessagesStrings = {
4048
4160
  tooBig: 'too big',
4049
- wrongType: 'this type'
4161
+ wrongType: 'this type',
4050
4162
  };
4051
4163
  this.errorMessage$ = rxjs.combineLatest([
4052
4164
  this.error$,
4053
4165
  this.translateService.stream('dropzone.error.generic'),
4054
4166
  this.translateService.stream('dropzone.error.tooBig'),
4055
- this.translateService.stream('dropzone.error.wrongType')
4167
+ this.translateService.stream('dropzone.error.wrongType'),
4056
4168
  ]).pipe(operators.map(function (_a) {
4057
4169
  var _b = __read(_a, 4), dropzoneError = _b[0], generic = _b[1], tooBig = _b[2], wrongType = _b[3];
4058
4170
  var strings = _this.errorMessagesStrings;
@@ -4107,7 +4219,7 @@
4107
4219
  accept: function (file) {
4108
4220
  _this.dropzone.removeAllFiles();
4109
4221
  _this.setFile(file);
4110
- }
4222
+ },
4111
4223
  });
4112
4224
  this.setDropzoneEvents();
4113
4225
  };
@@ -4135,7 +4247,7 @@
4135
4247
  DropzoneComponent.decorators = [
4136
4248
  { type: i0.Component, args: [{
4137
4249
  selector: 'valtimo-dropzone',
4138
- template: "<form #dropzone [ngClass]=\"{ disabled: disabled || uploading}\" class=\"dropzone dz-clickable\">\n <div class=\"dz-message\">\n <div class=\"icon\"><span class=\"mdi mdi-cloud-upload\"></span></div>\n <ng-container *ngTemplateOutlet=\"body\"></ng-container>\n <ng-container *ngIf=\"uploading\">\n <ng-container *ngTemplateOutlet=\"progressBar\"></ng-container>\n </ng-container>\n <div class=\"dropzone-mobile-trigger needsclick\"></div>\n </div>\n <button (click)=\"showCamera()\" *ngIf=\"camera\" type=\"button\" class=\"btn btn-primary px-3 webcam-button\"><i class=\"fa fa-camera\" aria-hidden=\"true\"></i></button>\n <ng-container *ngIf=\"showingCamera$ | async\">\n <ng-container *ngTemplateOutlet=\"webcam\"></ng-container>\n </ng-container>\n</form>\n\n<ng-template #body>\n <h2 *ngIf=\"!hideTitle\" class=\"mb-4 mt-2\">{{ title || ('dropzone.drop' | translate) }}</h2>\n <span *ngIf=\"subtitle\" class=\"note mb-3\">{{ subtitle }}</span>\n <span *ngIf=\" showMaxFileSize\" class=\"note mb-3 small-font\"\n >{{ 'dropzone.maxFileSize' | translate }}<b>{{ maxFileSize }}mb</b></span\n >\n <ng-container *ngTemplateOutlet=\"preview\"></ng-container>\n</ng-template>\n\n<ng-template #preview>\n <ng-container\n *ngIf=\"{ errorMessage: errorMessage$ | async, externalError: externalError$ | async, file: file$ | async } as obs\"\n >\n <ng-container *ngIf=\"obs.externalError || obs.errorMessage\">\n <div class=\"alert alert-danger mt-2 mb-0\">\n <div class=\"message\">\n {{ obs.externalError || obs.errorMessage }}\n </div>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"!hideFilePreview && (obs.file && !obs.externalError && !obs.errorMessage)\">\n <div class=\"file\">\n <i class=\"icon mdi mdi-file-text mr-2\"></i>\n <span class=\"note\">{{ obs.file.name }}</span>\n <span class=\"note file-size\">- {{ obs.file.size | filesize: 2}}</span>\n </div>\n </ng-container>\n </ng-container>\n</ng-template>\n\n<ng-template #progressBar>\n <div class=\"progress-bar-container\">\n <valtimo-progress-bar></valtimo-progress-bar>\n </div>\n</ng-template>\n\n<ng-template #webcam>\n <valtimo-webcam (imageSaved)=\"webcamImageSaved($event)\"></valtimo-webcam>\n</ng-template>\n\n",
4250
+ template: "<form #dropzone [ngClass]=\"{disabled: disabled || uploading}\" class=\"dropzone dz-clickable\">\n <div class=\"dz-message\">\n <div class=\"icon\"><span class=\"mdi mdi-cloud-upload\"></span></div>\n <ng-container *ngTemplateOutlet=\"body\"></ng-container>\n <ng-container *ngIf=\"uploading\">\n <ng-container *ngTemplateOutlet=\"progressBar\"></ng-container>\n </ng-container>\n <div class=\"dropzone-mobile-trigger needsclick\"></div>\n </div>\n <button\n (click)=\"showCamera()\"\n *ngIf=\"camera\"\n type=\"button\"\n class=\"btn btn-primary px-3 webcam-button\"\n >\n <i class=\"fa fa-camera\" aria-hidden=\"true\"></i>\n </button>\n <ng-container *ngIf=\"showingCamera$ | async\">\n <ng-container *ngTemplateOutlet=\"webcam\"></ng-container>\n </ng-container>\n</form>\n\n<ng-template #body>\n <h2 *ngIf=\"!hideTitle\" class=\"mb-4 mt-2\">{{ title || ('dropzone.drop' | translate) }}</h2>\n <span *ngIf=\"subtitle\" class=\"note mb-3\">{{ subtitle }}</span>\n <span *ngIf=\"showMaxFileSize\" class=\"note mb-3 small-font\"\n >{{ 'dropzone.maxFileSize' | translate }}<b>{{ maxFileSize }}mb</b></span\n >\n <ng-container *ngTemplateOutlet=\"preview\"></ng-container>\n</ng-template>\n\n<ng-template #preview>\n <ng-container\n *ngIf=\"{\n errorMessage: errorMessage$ | async,\n externalError: externalError$ | async,\n file: file$ | async\n } as obs\"\n >\n <ng-container *ngIf=\"obs.externalError || obs.errorMessage\">\n <div class=\"alert alert-danger mt-2 mb-0\">\n <div class=\"message\">\n {{ obs.externalError || obs.errorMessage }}\n </div>\n </div>\n </ng-container>\n\n <ng-container *ngIf=\"!hideFilePreview && obs.file && !obs.externalError && !obs.errorMessage\">\n <div class=\"file\">\n <i class=\"icon mdi mdi-file-text mr-2\"></i>\n <span class=\"note\">{{ obs.file.name }}</span>\n <span class=\"note file-size\">- {{ obs.file.size | filesize: 2 }}</span>\n </div>\n </ng-container>\n </ng-container>\n</ng-template>\n\n<ng-template #progressBar>\n <div class=\"progress-bar-container\">\n <valtimo-progress-bar></valtimo-progress-bar>\n </div>\n</ng-template>\n\n<ng-template #webcam>\n <valtimo-webcam (imageSaved)=\"webcamImageSaved($event)\"></valtimo-webcam>\n</ng-template>\n",
4139
4251
  styles: ["form.dropzone{padding:30px 20px}form.dropzone h2{font-size:2rem;text-align:center}form.dropzone.disabled{cursor:default;opacity:.7;pointer-events:none}form.dropzone.preview{border:none;padding:15px 20px}.dz-message{align-items:center;display:flex;flex-direction:column}.dropzone-mobile-trigger{cursor:pointer}.alert-light{align-items:center;display:flex}form.dropzone .mdi{background-color:transparent;border-radius:0;display:inline-block;height:auto;margin-bottom:0;padding:0;width:auto}form.dropzone .message{padding:1.385rem 2.1542rem}.file{align-items:center;display:flex;flex-direction:row;font-size:1.5rem}.small-font{color:#959595;font-size:1rem}.file-size{margin-left:5px}.progress-bar-container{bottom:0;height:auto;position:absolute;width:100%}.webcam-button{position:absolute;right:10px;top:10px}"]
4140
4252
  },] }
4141
4253
  ];
@@ -4182,7 +4294,7 @@
4182
4294
  ProgressBarComponent.decorators = [
4183
4295
  { type: i0.Component, args: [{
4184
4296
  selector: 'valtimo-progress-bar',
4185
- template: "<div class=\"progress\" style=\"position: relative;\">\n <div class=\"progress-bar progress-bar-striped indeterminate\">\n </div>\n</div>\n",
4297
+ template: "<div class=\"progress\" style=\"position: relative\">\n <div class=\"progress-bar progress-bar-striped indeterminate\"></div>\n</div>\n",
4186
4298
  styles: [".progress-bar.indeterminate{-webkit-animation:progress-indeterminate 3s linear infinite;animation:progress-indeterminate 3s linear infinite;position:relative}@-webkit-keyframes progress-indeterminate{0%{left:-25%;width:25%}to{left:100%;width:25%}}@keyframes progress-indeterminate{0%{left:-25%;width:25%}to{left:100%;width:25%}}"]
4187
4299
  },] }
4188
4300
  ];
@@ -4210,10 +4322,8 @@
4210
4322
  ProgressBarModule.decorators = [
4211
4323
  { type: i0.NgModule, args: [{
4212
4324
  declarations: [ProgressBarComponent],
4213
- imports: [
4214
- common.CommonModule,
4215
- ],
4216
- exports: [ProgressBarComponent]
4325
+ imports: [common.CommonModule],
4326
+ exports: [ProgressBarComponent],
4217
4327
  },] }
4218
4328
  ];
4219
4329
 
@@ -4246,8 +4356,7 @@
4246
4356
  _this.toggleFade();
4247
4357
  });
4248
4358
  if (navigator.mediaDevices.getUserMedia) {
4249
- navigator.mediaDevices.getUserMedia({ video: true })
4250
- .then(function (stream) {
4359
+ navigator.mediaDevices.getUserMedia({ video: true }).then(function (stream) {
4251
4360
  video.srcObject = stream;
4252
4361
  _this.stream$.next(stream);
4253
4362
  });
@@ -4313,7 +4422,7 @@
4313
4422
  WebcamComponent.decorators = [
4314
4423
  { type: i0.Component, args: [{
4315
4424
  selector: 'valtimo-webcam',
4316
- template: "<div (click)=\"close(false)\" *ngIf=\"{picture: picture$ | async, stream: stream$ | async} as obs\"\n [ngClass]=\"{showing: showing$ | async}\"\n class=\"webcam-overlay\">\n <div (click)=\"false; $event.stopPropagation();\" class=\"inner-container\">\n <div class=\"webcam-container modal-content\">\n <div class=\"video-container\">\n <video autoplay=\"true\" id=\"videoElement\"></video>\n <canvas id=\"canvas\"></canvas>\n <img *ngIf=\"obs.picture?.uri\" [src]=\"obs.picture?.uri\"/>\n </div>\n <div class=\"button-container\">\n <div class=\"picture-btn\">\n <button (click)=\"captureImage()\" [disabled]=\"obs.picture?.file || !obs.stream\" class=\"btn btn-primary btn-lg\">\n <i\n class=\"fa fa-camera\"></i>{{'webcam.takePicture' | translate}}\n </button>\n </div>\n <div class=\"new-btn\">\n <button (click)=\"clearImage()\" [disabled]=\"!obs.picture?.file\" class=\"btn btn-primary\"><i\n class=\"fa fa-undo\"></i>{{'webcam.redo' | translate}}\n </button>\n </div>\n <div class=\"save-btn\">\n <button (click)=\"close()\" [disabled]=\"!obs.picture?.file\" class=\"btn btn-primary\"><i\n class=\"fa fa-save\"></i>{{'webcam.save' | translate}}</button>\n </div>\n </div>\n </div>\n <div class=\"modal-header\">\n <button (click)=\"close(false)\" aria-label=\"Close\" class=\"close\"><span>\u00D7</span></button>\n </div>\n </div>\n</div>\n",
4425
+ template: "<div\n (click)=\"close(false)\"\n *ngIf=\"{picture: picture$ | async, stream: stream$ | async} as obs\"\n [ngClass]=\"{showing: showing$ | async}\"\n class=\"webcam-overlay\"\n>\n <div (click)=\"(false); $event.stopPropagation()\" class=\"inner-container\">\n <div class=\"webcam-container modal-content\">\n <div class=\"video-container\">\n <video autoplay=\"true\" id=\"videoElement\"></video>\n <canvas id=\"canvas\"></canvas>\n <img *ngIf=\"obs.picture?.uri\" [src]=\"obs.picture?.uri\" />\n </div>\n <div class=\"button-container\">\n <div class=\"picture-btn\">\n <button\n (click)=\"captureImage()\"\n [disabled]=\"obs.picture?.file || !obs.stream\"\n class=\"btn btn-primary btn-lg\"\n >\n <i class=\"fa fa-camera\"></i>{{ 'webcam.takePicture' | translate }}\n </button>\n </div>\n <div class=\"new-btn\">\n <button (click)=\"clearImage()\" [disabled]=\"!obs.picture?.file\" class=\"btn btn-primary\">\n <i class=\"fa fa-undo\"></i>{{ 'webcam.redo' | translate }}\n </button>\n </div>\n <div class=\"save-btn\">\n <button (click)=\"close()\" [disabled]=\"!obs.picture?.file\" class=\"btn btn-primary\">\n <i class=\"fa fa-save\"></i>{{ 'webcam.save' | translate }}\n </button>\n </div>\n </div>\n </div>\n <div class=\"modal-header\">\n <button (click)=\"close(false)\" aria-label=\"Close\" class=\"close\"><span>\u00D7</span></button>\n </div>\n </div>\n</div>\n",
4317
4426
  styles: [".webcam-overlay{align-items:center;background-color:rgba(0,0,0,.65);display:flex;height:100%;justify-content:center;left:0;opacity:0;position:fixed;top:0;transition:opacity .15s linear;width:100%;z-index:9999}.showing{opacity:1}.webcam-container{padding:20px}.button-container{align-items:center;display:flex;height:30px;justify-content:space-evenly;margin-bottom:10px;margin-top:20px}.button-container i{margin-right:5px}.new-btn,.picture-btn,.save-btn{display:flex;justify-content:center;position:absolute}.new-btn,.save-btn{width:calc(50% - 65px)}.picture-btn{left:0;width:100%}.new-btn{left:0}.save-btn{right:0}.modal-header{color:grey;margin-top:35px;padding:0;position:absolute;right:-18px;top:0}.close{color:grey}.inner-container{position:relative}.video-container{height:495px;overflow:hidden}.video-container img,.video-container video{height:495px;position:absolute;width:660px}.video-container img{-o-object-fit:cover;object-fit:cover}#canvas{display:none}"]
4318
4427
  },] }
4319
4428
  ];
@@ -4344,11 +4453,8 @@
4344
4453
  WebcamModule.decorators = [
4345
4454
  { type: i0.NgModule, args: [{
4346
4455
  declarations: [WebcamComponent],
4347
- imports: [
4348
- common.CommonModule,
4349
- core.TranslateModule
4350
- ],
4351
- exports: [WebcamComponent]
4456
+ imports: [common.CommonModule, core.TranslateModule],
4457
+ exports: [WebcamComponent],
4352
4458
  },] }
4353
4459
  ];
4354
4460
 
@@ -4376,7 +4482,7 @@
4376
4482
  { type: i0.NgModule, args: [{
4377
4483
  declarations: [DropzoneComponent],
4378
4484
  imports: [common.CommonModule, core.TranslateModule, FileSizeModule, ProgressBarModule, WebcamModule],
4379
- exports: [DropzoneComponent]
4485
+ exports: [DropzoneComponent],
4380
4486
  },] }
4381
4487
  ];
4382
4488
 
@@ -4411,14 +4517,14 @@
4411
4517
  i2.DocumentModule,
4412
4518
  FileSizeModule,
4413
4519
  resource.ResourceModule,
4414
- i1.RouterModule
4520
+ i1.RouterModule,
4415
4521
  ],
4416
4522
  declarations: [FormioComponent, FormioBuilderComponent, FormIoUploaderComponent],
4417
4523
  exports: [FormioComponent, FormioBuilderComponent, FormIoUploaderComponent],
4418
4524
  providers: [
4419
4525
  FormIoStateService,
4420
4526
  FormIoDomService,
4421
- { provide: angularFormio.FormioAppConfig, useValue: ɵ0$1 }
4527
+ { provide: angularFormio.FormioAppConfig, useValue: ɵ0$1 },
4422
4528
  ],
4423
4529
  },] }
4424
4530
  ];
@@ -4495,7 +4601,7 @@
4495
4601
  { type: i0.NgModule, args: [{
4496
4602
  declarations: [ModalComponent],
4497
4603
  imports: [common.CommonModule],
4498
- exports: [ModalComponent]
4604
+ exports: [ModalComponent],
4499
4605
  },] }
4500
4606
  ];
4501
4607
 
@@ -4529,7 +4635,7 @@
4529
4635
  SpinnerComponent.decorators = [
4530
4636
  { type: i0.Component, args: [{
4531
4637
  selector: 'valtimo-spinner',
4532
- template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<ng-container *ngIf=\"useBootstrapSpinner; else ngxSpinner\">\n <div class=\"spinner-container\" [ngClass]=\"{'no-margin-top': noMarginTop}\">\n <div class=\"spinner-border text-primary\" role=\"status\">\n <span class=\"sr-only\">{{ \"interface.loading\" | translate }}</span>\n </div>\n </div>\n</ng-container>\n\n<ng-template #ngxSpinner>\n <ngx-spinner\n [bdColor]=\"bdColor\"\n [fullScreen]=\"fullScreen\"\n [name]=\"name\"\n [color]=\"color\"\n [size]=\"size\"\n [type]=\"type\"\n >\n </ngx-spinner>\n</ng-template>\n",
4638
+ template: "<!--\n ~ Copyright 2015-2020 Ritense BV, the Netherlands.\n ~\n ~ Licensed under EUPL, Version 1.2 (the \"License\");\n ~ you may not use this file except in compliance with the License.\n ~ You may obtain a copy of the License at\n ~\n ~ https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n ~\n ~ Unless required by applicable law or agreed to in writing, software\n ~ distributed under the License is distributed on an \"AS IS\" basis,\n ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n ~ See the License for the specific language governing permissions and\n ~ limitations under the License.\n -->\n\n<ng-container *ngIf=\"useBootstrapSpinner; else ngxSpinner\">\n <div class=\"spinner-container\" [ngClass]=\"{'no-margin-top': noMarginTop}\">\n <div class=\"spinner-border text-primary\" role=\"status\">\n <span class=\"sr-only\">{{ 'interface.loading' | translate }}</span>\n </div>\n </div>\n</ng-container>\n\n<ng-template #ngxSpinner>\n <ngx-spinner\n [bdColor]=\"bdColor\"\n [fullScreen]=\"fullScreen\"\n [name]=\"name\"\n [color]=\"color\"\n [size]=\"size\"\n [type]=\"type\"\n >\n </ngx-spinner>\n</ng-template>\n",
4533
4639
  styles: ["/*!\n * Copyright 2015-2020 Ritense BV, the Netherlands.\n *\n * Licensed under EUPL, Version 1.2 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" basis,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.spinner-container{display:flex;justify-content:center;margin-top:30px;width:100%}.spinner-container.no-margin-top{margin-top:0}"]
4534
4640
  },] }
4535
4641
  ];
@@ -4567,14 +4673,8 @@
4567
4673
  SpinnerModule.decorators = [
4568
4674
  { type: i0.NgModule, args: [{
4569
4675
  declarations: [SpinnerComponent],
4570
- exports: [
4571
- SpinnerComponent
4572
- ],
4573
- imports: [
4574
- common.CommonModule,
4575
- ngxSpinner.NgxSpinnerModule,
4576
- core.TranslateModule
4577
- ]
4676
+ exports: [SpinnerComponent],
4677
+ imports: [common.CommonModule, ngxSpinner.NgxSpinnerModule, core.TranslateModule],
4578
4678
  },] }
4579
4679
  ];
4580
4680
 
@@ -4679,7 +4779,8 @@
4679
4779
  }
4680
4780
  // handle moving up in the list with up arrow up or shift+tab
4681
4781
  }
4682
- else if ((code === up || (code === tab && shiftKey)) && focusedId !== _this.searchId) {
4782
+ else if ((code === up || (code === tab && shiftKey)) &&
4783
+ focusedId !== _this.searchId) {
4683
4784
  // move to previous item if focus is not on the first item in the list
4684
4785
  if (focusedIndex > 0) {
4685
4786
  _this.focusedItemId$.next(items[focusedIndex - 1].id);
@@ -4705,7 +4806,8 @@
4705
4806
  var filteredItems = _this.items.filter(function (item) { return item.text.toUpperCase().includes(searchTerm.toUpperCase()); });
4706
4807
  _this.filteredItems$.next(filteredItems);
4707
4808
  // move focus to search box if filtered list length is 0 or previously focused item is not in filtered list anymore
4708
- if (filteredItems.length === 0 || !filteredItems.some(function (item) { return item.id === focusedItemId; })) {
4809
+ if (filteredItems.length === 0 ||
4810
+ !filteredItems.some(function (item) { return item.id === focusedItemId; })) {
4709
4811
  _this.resetFocus();
4710
4812
  }
4711
4813
  }
@@ -4731,7 +4833,7 @@
4731
4833
  SearchableDropdownComponent.decorators = [
4732
4834
  { type: i0.Component, args: [{
4733
4835
  selector: 'valtimo-searchable-dropdown',
4734
- template: "<ng-container *ngIf=\"buttonText && items\">\n <ng-container [ngTemplateOutlet]=\"(open$ | async) ? opened : closed\"> </ng-container>\n</ng-container>\n\n<ng-template #closed>\n <ng-container *ngIf=\"style === 'button' || !style\">\n <button class=\"btn btn-primary btn-sm dropdown-size\" (click)=\"openDropdown()\" [style.width.px]=\"width\">\n {{ buttonText }}\n </button>\n </ng-container>\n <ng-container *ngIf=\"style === 'underlinedText'\">\n <h5 class=\"underline-button\" (click)=\"openDropdown()\" [style.width.px]=\"width\">\n <b>\n {{ buttonText }}\n </b>\n </h5>\n </ng-container>\n</ng-template>\n\n<ng-template #opened>\n <div class=\"dropdown-container\" [style.width.px]=\"width\">\n <div class=\"dropdown-size search\" [style.width.px]=\"width\">\n <input #search [ngClass]=\"{ disabled: disabled }\" [placeholder]=\"searchText\" [formControl]=\"searchTerm\" />\n {{ search.focus() }}\n </div>\n <div class=\"dropdown-list\" (mouseenter)=\"mouseEnterList()\" (mouseleave)=\"mouseLeaveList()\">\n <ng-container *ngIf=\"filteredItems$ | async as filteredItems\">\n <ng-container *ngIf=\"filteredItems.length > 0 && focusedItemId$ | async as focusedItemId; else noResults\">\n <button\n #button\n *ngFor=\"let item of filteredItems\"\n [ngClass]=\"{ focus: focusedItemId === item.id, disabled: disabled }\"\n class=\"dropdown-button dropdown-size\"\n (click)=\"submit(item.id)\"\n (mouseenter)=\"hoverOverButton(item.id)\"\n (mouseleave)=\"resetFocus()\"\n [style.width.px]=\"width\"\n >\n <span class=\"dropdown-button-text\">\n {{ item.text }}\n </span>\n </button>\n </ng-container>\n </ng-container>\n </div>\n </div>\n <ng-container [ngTemplateOutlet]=\"space\"> </ng-container>\n</ng-template>\n\n<ng-template #noResults>\n <div class=\"dropdown-button dropdown-size disabled\" [style.width.px]=\"width\">\n <span class=\"dropdown-button-text\">{{ noResultsText }}</span>\n </div>\n</ng-template>\n\n<ng-template #space>\n <div *ngIf=\"style === 'button' || !style\" class=\"dropdown-size\" [style.width.px]=\"width\"></div>\n <h5 *ngIf=\"style === 'underlinedText'\" class=\"underline-button\"><b>-</b></h5>\n</ng-template>\n",
4836
+ template: "<ng-container *ngIf=\"buttonText && items\">\n <ng-container [ngTemplateOutlet]=\"(open$ | async) ? opened : closed\"> </ng-container>\n</ng-container>\n\n<ng-template #closed>\n <ng-container *ngIf=\"style === 'button' || !style\">\n <button\n class=\"btn btn-primary btn-sm dropdown-size\"\n (click)=\"openDropdown()\"\n [style.width.px]=\"width\"\n >\n {{ buttonText }}\n </button>\n </ng-container>\n <ng-container *ngIf=\"style === 'underlinedText'\">\n <h5 class=\"underline-button\" (click)=\"openDropdown()\" [style.width.px]=\"width\">\n <b>\n {{ buttonText }}\n </b>\n </h5>\n </ng-container>\n</ng-template>\n\n<ng-template #opened>\n <div class=\"dropdown-container\" [style.width.px]=\"width\">\n <div class=\"dropdown-size search\" [style.width.px]=\"width\">\n <input\n #search\n [ngClass]=\"{disabled: disabled}\"\n [placeholder]=\"searchText\"\n [formControl]=\"searchTerm\"\n />\n {{ search.focus() }}\n </div>\n <div class=\"dropdown-list\" (mouseenter)=\"mouseEnterList()\" (mouseleave)=\"mouseLeaveList()\">\n <ng-container *ngIf=\"filteredItems$ | async as filteredItems\">\n <ng-container\n *ngIf=\"\n filteredItems.length > 0 && focusedItemId$ | async as focusedItemId;\n else noResults\n \"\n >\n <button\n #button\n *ngFor=\"let item of filteredItems\"\n [ngClass]=\"{focus: focusedItemId === item.id, disabled: disabled}\"\n class=\"dropdown-button dropdown-size\"\n (click)=\"submit(item.id)\"\n (mouseenter)=\"hoverOverButton(item.id)\"\n (mouseleave)=\"resetFocus()\"\n [style.width.px]=\"width\"\n >\n <span class=\"dropdown-button-text\">\n {{ item.text }}\n </span>\n </button>\n </ng-container>\n </ng-container>\n </div>\n </div>\n <ng-container [ngTemplateOutlet]=\"space\"> </ng-container>\n</ng-template>\n\n<ng-template #noResults>\n <div class=\"dropdown-button dropdown-size disabled\" [style.width.px]=\"width\">\n <span class=\"dropdown-button-text\">{{ noResultsText }}</span>\n </div>\n</ng-template>\n\n<ng-template #space>\n <div *ngIf=\"style === 'button' || !style\" class=\"dropdown-size\" [style.width.px]=\"width\"></div>\n <h5 *ngIf=\"style === 'underlinedText'\" class=\"underline-button\"><b>-</b></h5>\n</ng-template>\n",
4735
4837
  styles: [".dropdown-size{height:34px;width:250px}.underline-button{cursor:pointer;text-decoration:underline;width:250px}.dropdown-container{background-color:#fff;border:1px solid #e3e3e3;border-radius:3px;box-shadow:0 0 6px 0 rgba(0,0,0,.12);display:flex;flex-direction:column;max-height:300px;overflow:hidden;padding:7px 0;position:fixed;width:250px;z-index:999}.dropdown-list{list-style:none;margin:0;overflow:auto;overflow-x:hidden;padding:0;z-index:9999}.search{align-items:center;border-bottom:1px solid #dee2e6;display:flex;flex-shrink:0;height:44px;padding:8px 24px}.search input{padding:0;width:100%}.dropdown-button,.search input,.search input:focus{border:none;outline:none}.dropdown-button{align-items:center;background-color:#fff;color:#504e4e;cursor:pointer;display:flex;font-size:1rem;font-weight:400;padding:8px 24px}.dropdown-button.focus{background-color:#f5f5f5}.dropdown-button-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.disabled{color:#959595;cursor:default;pointer-events:none}"]
4736
4838
  },] }
4737
4839
  ];
@@ -4773,7 +4875,7 @@
4773
4875
  { type: i0.NgModule, args: [{
4774
4876
  declarations: [SearchableDropdownComponent],
4775
4877
  imports: [common.CommonModule, forms.ReactiveFormsModule],
4776
- exports: [SearchableDropdownComponent]
4878
+ exports: [SearchableDropdownComponent],
4777
4879
  },] }
4778
4880
  ];
4779
4881
 
@@ -4799,7 +4901,7 @@
4799
4901
  tooltip: 'The name of this field in the API endpoint.',
4800
4902
  validate: {
4801
4903
  required: true,
4802
- }
4904
+ },
4803
4905
  },
4804
4906
  {
4805
4907
  type: 'textfield',
@@ -4863,7 +4965,7 @@
4863
4965
  validate: {
4864
4966
  required: false,
4865
4967
  },
4866
- }
4968
+ },
4867
4969
  ],
4868
4970
  }); };
4869
4971
 
@@ -4927,7 +5029,7 @@
4927
5029
  SearchableDropdownSelectComponent.decorators = [
4928
5030
  { type: i0.Component, args: [{
4929
5031
  selector: 'valtimo-searchable-dropdown-select',
4930
- template: "<valtimo-searchable-dropdown\n *ngIf=\"!hasSelection; else selection\"\n [style]=\"style\"\n [items]=\"items\"\n [buttonText]=\"buttonText\"\n [searchText]=\"searchText\"\n [noResultsText]=\"noResultsText\"\n [disabled]=\"disabled\"\n [width]=\"width\"\n (itemSelected)=\"onSelect($event)\"\n>\n</valtimo-searchable-dropdown>\n\n<ng-template #selection>\n <div class=\"d-flex flex-row align-items-center\" [style.height.px]=\"style === 'button' ? 34 : null\">\n <h5 class=\"selected-text\">{{ selectedText }} <b>{{ selectedTextValue }}</b></h5>\n <button\n type=\"button\"\n class=\"close p-0 m-0 ml-2 d-flex text-danger\"\n aria-label=\"Close\"\n (click)=\"onClearSelection()\"\n [title]=\"clearSelectionButtonTitle\"\n >\n <i class=\"clear-icon fa fa-times text-danger\"></i>\n </button>\n </div>\n</ng-template>\n\n",
5032
+ template: "<valtimo-searchable-dropdown\n *ngIf=\"!hasSelection; else selection\"\n [style]=\"style\"\n [items]=\"items\"\n [buttonText]=\"buttonText\"\n [searchText]=\"searchText\"\n [noResultsText]=\"noResultsText\"\n [disabled]=\"disabled\"\n [width]=\"width\"\n (itemSelected)=\"onSelect($event)\"\n>\n</valtimo-searchable-dropdown>\n\n<ng-template #selection>\n <div\n class=\"d-flex flex-row align-items-center\"\n [style.height.px]=\"style === 'button' ? 34 : null\"\n >\n <h5 class=\"selected-text\">\n {{ selectedText }} <b>{{ selectedTextValue }}</b>\n </h5>\n <button\n type=\"button\"\n class=\"close p-0 m-0 ml-2 d-flex text-danger\"\n aria-label=\"Close\"\n (click)=\"onClearSelection()\"\n [title]=\"clearSelectionButtonTitle\"\n >\n <i class=\"clear-icon fa fa-times text-danger\"></i>\n </button>\n </div>\n</ng-template>\n",
4931
5033
  styles: [".selected-text{margin:0}.clear-icon{font-size:13px}"]
4932
5034
  },] }
4933
5035
  ];
@@ -4971,7 +5073,7 @@
4971
5073
  { type: i0.NgModule, args: [{
4972
5074
  declarations: [SearchableDropdownSelectComponent],
4973
5075
  imports: [common.CommonModule, forms.ReactiveFormsModule, SearchableDropdownModule],
4974
- exports: [SearchableDropdownSelectComponent]
5076
+ exports: [SearchableDropdownSelectComponent],
4975
5077
  },] }
4976
5078
  ];
4977
5079
 
@@ -4995,9 +5097,11 @@
4995
5097
  * Generated bundle index. Do not edit.
4996
5098
  */
4997
5099
 
5100
+ exports.Alert = Alert;
4998
5101
  exports.AlertComponent = AlertComponent;
4999
5102
  exports.AlertModule = AlertModule;
5000
5103
  exports.AlertService = AlertService;
5104
+ exports.AlertsOptionsImpl = AlertsOptionsImpl;
5001
5105
  exports.BpmnJsDiagramComponent = BpmnJsDiagramComponent;
5002
5106
  exports.BpmnJsDiagramModule = BpmnJsDiagramModule;
5003
5107
  exports.BreadcrumbNavigationComponent = BreadcrumbNavigationComponent;
@@ -5021,6 +5125,7 @@
5021
5125
  exports.FormIoUploaderComponent = FormIoUploaderComponent;
5022
5126
  exports.FormioBuilderComponent = FormioBuilderComponent;
5023
5127
  exports.FormioComponent = FormioComponent;
5128
+ exports.FormioOptionsImpl = FormioOptionsImpl;
5024
5129
  exports.LeftSidebarComponent = LeftSidebarComponent;
5025
5130
  exports.LeftSidebarModule = LeftSidebarModule;
5026
5131
  exports.ListComponent = ListComponent;
@@ -5045,6 +5150,7 @@
5045
5150
  exports.SearchableDropdownSelectModule = SearchableDropdownSelectModule;
5046
5151
  exports.SpinnerModule = SpinnerModule;
5047
5152
  exports.TimelineComponent = TimelineComponent;
5153
+ exports.TimelineItemImpl = TimelineItemImpl;
5048
5154
  exports.TimelineModule = TimelineModule;
5049
5155
  exports.TopbarComponent = TopbarComponent;
5050
5156
  exports.TopbarModule = TopbarModule;