@valtimo/components 4.15.2-next-main.14 → 4.15.3-next-main.15

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 (202) hide show
  1. package/bundles/valtimo-components.umd.js +4795 -4793
  2. package/bundles/valtimo-components.umd.js.map +1 -1
  3. package/bundles/valtimo-components.umd.min.js +1 -1
  4. package/bundles/valtimo-components.umd.min.js.map +1 -1
  5. package/esm2015/lib/alert/alert.component.js +141 -141
  6. package/esm2015/lib/alert/alert.module.js +27 -27
  7. package/esm2015/lib/alert/alert.service.js +80 -80
  8. package/esm2015/lib/bpmn-js-diagram/bpmn-js-diagram.component.js +159 -159
  9. package/esm2015/lib/bpmn-js-diagram/bpmn-js-diagram.module.js +29 -29
  10. package/esm2015/lib/breadcrumb-navigation/breadcrumb-navigation.component.js +92 -92
  11. package/esm2015/lib/breadcrumb-navigation/breadcrumb-navigation.module.js +33 -33
  12. package/esm2015/lib/camunda/form/camunda-form.components.js +36 -36
  13. package/esm2015/lib/camunda/form/camunda-form.module.js +37 -37
  14. package/esm2015/lib/camunda/form/custom/camunda-custom-form.component.js +41 -41
  15. package/esm2015/lib/camunda/form/custom/camunda-custom-form.module.js +33 -33
  16. package/esm2015/lib/camunda/form/generated/camunda-generated-form.component.js +68 -68
  17. package/esm2015/lib/camunda/form/generated/camunda-generated-form.module.js +62 -62
  18. package/esm2015/lib/camunda/form/generated/formfield/boolean/camunda-boolean-formfield.component.js +27 -27
  19. package/esm2015/lib/camunda/form/generated/formfield/camunda-formfield-generator.directive.js +63 -63
  20. package/esm2015/lib/camunda/form/generated/formfield/camunda-formfield.service.js +66 -66
  21. package/esm2015/lib/camunda/form/generated/formfield/choicefield/camunda-choicefield-formfield.component.js +37 -37
  22. package/esm2015/lib/camunda/form/generated/formfield/date/camunda-date-formfield.component.js +65 -65
  23. package/esm2015/lib/camunda/form/generated/formfield/enum/camunda-enum-formfield.component.js +30 -30
  24. package/esm2015/lib/camunda/form/generated/formfield/formfield.model.js +15 -15
  25. package/esm2015/lib/camunda/form/generated/formfield/long/camunda-long-formfield.component.js +27 -27
  26. package/esm2015/lib/camunda/form/generated/formfield/string/camunda-string-formfield.component.js +27 -27
  27. package/esm2015/lib/camunda/form/generated/formfield/textarea/camunda-textarea-formfield.component.js +27 -27
  28. package/esm2015/lib/camunda/form/generated/formfield/validation/camunda-formfield-validation.component.js +35 -35
  29. package/esm2015/lib/camunda/form/generated/formfield/validation/date.validators.js +59 -59
  30. package/esm2015/lib/card/card.component.js +36 -36
  31. package/esm2015/lib/card/card.module.js +29 -29
  32. package/esm2015/lib/components.module.js +21 -21
  33. package/esm2015/lib/data-list/data-list.component.js +33 -33
  34. package/esm2015/lib/data-list/data-list.module.js +29 -29
  35. package/esm2015/lib/dropzone/dropzone.component.js +142 -142
  36. package/esm2015/lib/dropzone/dropzone.module.js +31 -31
  37. package/esm2015/lib/field-auto-focus/field-auto-focus.directive.js +34 -34
  38. package/esm2015/lib/field-auto-focus/field-auto-focus.module.js +31 -31
  39. package/esm2015/lib/file-size/file-size.module.js +29 -29
  40. package/esm2015/lib/file-size/file-size.pipe.js +44 -44
  41. package/esm2015/lib/filter-sidebar/filter-sidebar.component.js +45 -45
  42. package/esm2015/lib/filter-sidebar/filter-sidebar.module.js +29 -29
  43. package/esm2015/lib/form-io/form-io-builder.component.js +38 -38
  44. package/esm2015/lib/form-io/form-io-uploader/form-io-uploader-edit-form.js +89 -89
  45. package/esm2015/lib/form-io/form-io-uploader/form-io-uploader.component.js +71 -71
  46. package/esm2015/lib/form-io/form-io-uploader/form-io-uploader.formio.js +25 -25
  47. package/esm2015/lib/form-io/form-io.component.js +157 -157
  48. package/esm2015/lib/form-io/form-io.module.js +55 -55
  49. package/esm2015/lib/form-io/formio-config.js +21 -21
  50. package/esm2015/lib/form-io/services/form-io-dom.service.js +22 -22
  51. package/esm2015/lib/form-io/services/form-io-state.service.js +23 -23
  52. package/esm2015/lib/left-sidebar/left-sidebar.component.js +113 -113
  53. package/esm2015/lib/left-sidebar/left-sidebar.module.js +33 -33
  54. package/esm2015/lib/list/ListFilterPipe.directive.js +34 -34
  55. package/esm2015/lib/list/list.component.js +176 -176
  56. package/esm2015/lib/list/list.module.js +32 -32
  57. package/esm2015/lib/menu/menu-item-text.component.js +27 -27
  58. package/esm2015/lib/menu/menu-routing.module.js +28 -28
  59. package/esm2015/lib/menu/menu.component.js +64 -64
  60. package/esm2015/lib/menu/menu.init.js +33 -33
  61. package/esm2015/lib/menu/menu.module.js +38 -38
  62. package/esm2015/lib/menu/menu.service.js +126 -126
  63. package/esm2015/lib/menu/submenu-item-text.component.js +27 -27
  64. package/esm2015/lib/modal/modal.component.js +47 -47
  65. package/esm2015/lib/modal/modal.module.js +27 -27
  66. package/esm2015/lib/page-header/page-header.component.js +28 -28
  67. package/esm2015/lib/page-header/page-header.module.js +33 -33
  68. package/esm2015/lib/page-title/page-title.component.js +75 -75
  69. package/esm2015/lib/page-title/page-title.module.js +31 -31
  70. package/esm2015/lib/progress-bar/progress-bar.component.js +25 -25
  71. package/esm2015/lib/progress-bar/progress-bar.module.js +29 -29
  72. package/esm2015/lib/right-sidebar/right-sidebar.component.js +130 -130
  73. package/esm2015/lib/right-sidebar/right-sidebar.module.js +48 -48
  74. package/esm2015/lib/searchable-dropdown/searchable-dropdown.component.js +184 -184
  75. package/esm2015/lib/searchable-dropdown/searchable-dropdown.module.js +28 -28
  76. package/esm2015/lib/searchable-dropdown-select/searchable-dropdown-select.component.js +51 -51
  77. package/esm2015/lib/searchable-dropdown-select/searchable-dropdown-select.module.js +29 -29
  78. package/esm2015/lib/spinner/spinner.component.js +45 -43
  79. package/esm2015/lib/spinner/spinner.module.js +35 -35
  80. package/esm2015/lib/timeline/timeline.component.js +28 -28
  81. package/esm2015/lib/timeline/timeline.module.js +31 -31
  82. package/esm2015/lib/topbar/topbar.component.js +28 -28
  83. package/esm2015/lib/topbar/topbar.module.js +31 -31
  84. package/esm2015/lib/uploader/uploader-drag-drop.directive.js +48 -48
  85. package/esm2015/lib/uploader/uploader.component.js +69 -69
  86. package/esm2015/lib/uploader/uploader.module.js +32 -32
  87. package/esm2015/lib/version/version.service.js +37 -37
  88. package/esm2015/lib/view-content/type-converters/booleanTypeConverter.js +28 -28
  89. package/esm2015/lib/view-content/type-converters/dateTypeConverter.js +29 -29
  90. package/esm2015/lib/view-content/type-converters/enumTypeConverter.js +23 -23
  91. package/esm2015/lib/view-content/type-converters/relatedFilesTypeConverter.js +23 -23
  92. package/esm2015/lib/view-content/type-converters/stringReplaceUnderscoreTypeConverter.js +26 -26
  93. package/esm2015/lib/view-content/type-converters/stringTypeConverter.js +23 -23
  94. package/esm2015/lib/view-content/type-converters/type-converters.model.js +36 -36
  95. package/esm2015/lib/view-content/view-content.service.js +50 -50
  96. package/esm2015/lib/webcam/webcam.component.js +102 -102
  97. package/esm2015/lib/webcam/webcam.module.js +31 -31
  98. package/esm2015/lib/widget/widget.component.js +79 -79
  99. package/esm2015/lib/widget/widget.module.js +29 -29
  100. package/esm2015/public_api.js +83 -83
  101. package/esm2015/valtimo-components.js +26 -26
  102. package/fesm2015/valtimo-components.js +4303 -4301
  103. package/fesm2015/valtimo-components.js.map +1 -1
  104. package/lib/alert/alert.component.d.ts +21 -21
  105. package/lib/alert/alert.module.d.ts +2 -2
  106. package/lib/alert/alert.service.d.ts +21 -21
  107. package/lib/bpmn-js-diagram/bpmn-js-diagram.component.d.ts +27 -27
  108. package/lib/bpmn-js-diagram/bpmn-js-diagram.module.d.ts +2 -2
  109. package/lib/breadcrumb-navigation/breadcrumb-navigation.component.d.ts +14 -14
  110. package/lib/breadcrumb-navigation/breadcrumb-navigation.module.d.ts +2 -2
  111. package/lib/camunda/form/camunda-form.components.d.ts +9 -9
  112. package/lib/camunda/form/camunda-form.module.d.ts +2 -2
  113. package/lib/camunda/form/custom/camunda-custom-form.component.d.ts +8 -8
  114. package/lib/camunda/form/custom/camunda-custom-form.module.d.ts +2 -2
  115. package/lib/camunda/form/generated/camunda-generated-form.component.d.ts +19 -19
  116. package/lib/camunda/form/generated/camunda-generated-form.module.d.ts +2 -2
  117. package/lib/camunda/form/generated/formfield/boolean/camunda-boolean-formfield.component.d.ts +7 -7
  118. package/lib/camunda/form/generated/formfield/camunda-formfield-generator.directive.d.ts +13 -13
  119. package/lib/camunda/form/generated/formfield/camunda-formfield.service.d.ts +7 -7
  120. package/lib/camunda/form/generated/formfield/choicefield/camunda-choicefield-formfield.component.d.ts +12 -12
  121. package/lib/camunda/form/generated/formfield/date/camunda-date-formfield.component.d.ts +14 -14
  122. package/lib/camunda/form/generated/formfield/enum/camunda-enum-formfield.component.d.ts +10 -10
  123. package/lib/camunda/form/generated/formfield/formfield.model.d.ts +20 -20
  124. package/lib/camunda/form/generated/formfield/long/camunda-long-formfield.component.d.ts +7 -7
  125. package/lib/camunda/form/generated/formfield/string/camunda-string-formfield.component.d.ts +7 -7
  126. package/lib/camunda/form/generated/formfield/textarea/camunda-textarea-formfield.component.d.ts +7 -7
  127. package/lib/camunda/form/generated/formfield/validation/camunda-formfield-validation.component.d.ts +10 -10
  128. package/lib/camunda/form/generated/formfield/validation/date.validators.d.ts +3 -3
  129. package/lib/card/card.component.d.ts +16 -16
  130. package/lib/card/card.module.d.ts +2 -2
  131. package/lib/components.module.d.ts +2 -2
  132. package/lib/data-list/data-list.component.d.ts +7 -7
  133. package/lib/data-list/data-list.module.d.ts +2 -2
  134. package/lib/dropzone/dropzone.component.d.ts +38 -38
  135. package/lib/dropzone/dropzone.module.d.ts +2 -2
  136. package/lib/field-auto-focus/field-auto-focus.directive.d.ts +6 -6
  137. package/lib/field-auto-focus/field-auto-focus.module.d.ts +2 -2
  138. package/lib/file-size/file-size.module.d.ts +2 -2
  139. package/lib/file-size/file-size.pipe.d.ts +5 -5
  140. package/lib/filter-sidebar/filter-sidebar.component.d.ts +8 -8
  141. package/lib/filter-sidebar/filter-sidebar.module.d.ts +2 -2
  142. package/lib/form-io/form-io-builder.component.d.ts +8 -8
  143. package/lib/form-io/form-io-uploader/form-io-uploader-edit-form.d.ts +61 -61
  144. package/lib/form-io/form-io-uploader/form-io-uploader.component.d.ts +29 -29
  145. package/lib/form-io/form-io-uploader/form-io-uploader.formio.d.ts +3 -3
  146. package/lib/form-io/form-io.component.d.ts +44 -44
  147. package/lib/form-io/form-io.module.d.ts +2 -2
  148. package/lib/form-io/formio-config.d.ts +6 -6
  149. package/lib/form-io/services/form-io-dom.service.d.ts +6 -6
  150. package/lib/form-io/services/form-io-state.service.d.ts +10 -10
  151. package/lib/left-sidebar/left-sidebar.component.d.ts +34 -34
  152. package/lib/left-sidebar/left-sidebar.module.d.ts +2 -2
  153. package/lib/list/ListFilterPipe.directive.d.ts +4 -4
  154. package/lib/list/list.component.d.ts +43 -43
  155. package/lib/list/list.module.d.ts +2 -2
  156. package/lib/menu/menu-item-text.component.d.ts +4 -4
  157. package/lib/menu/menu-routing.module.d.ts +2 -2
  158. package/lib/menu/menu.component.d.ts +18 -18
  159. package/lib/menu/menu.init.d.ts +3 -3
  160. package/lib/menu/menu.module.d.ts +2 -2
  161. package/lib/menu/menu.service.d.ts +23 -23
  162. package/lib/menu/submenu-item-text.component.d.ts +4 -4
  163. package/lib/modal/modal.component.d.ts +12 -12
  164. package/lib/modal/modal.module.d.ts +2 -2
  165. package/lib/page-header/page-header.component.d.ts +5 -5
  166. package/lib/page-header/page-header.module.d.ts +2 -2
  167. package/lib/page-title/page-title.component.d.ts +19 -19
  168. package/lib/page-title/page-title.module.d.ts +2 -2
  169. package/lib/progress-bar/progress-bar.component.d.ts +2 -2
  170. package/lib/progress-bar/progress-bar.module.d.ts +2 -2
  171. package/lib/right-sidebar/right-sidebar.component.d.ts +34 -34
  172. package/lib/right-sidebar/right-sidebar.module.d.ts +2 -2
  173. package/lib/searchable-dropdown/searchable-dropdown.component.d.ts +39 -39
  174. package/lib/searchable-dropdown/searchable-dropdown.module.d.ts +2 -2
  175. package/lib/searchable-dropdown-select/searchable-dropdown-select.component.d.ts +19 -19
  176. package/lib/searchable-dropdown-select/searchable-dropdown-select.module.d.ts +2 -2
  177. package/lib/spinner/spinner.component.d.ts +10 -9
  178. package/lib/spinner/spinner.module.d.ts +2 -2
  179. package/lib/timeline/timeline.component.d.ts +4 -4
  180. package/lib/timeline/timeline.module.d.ts +2 -2
  181. package/lib/topbar/topbar.component.d.ts +3 -3
  182. package/lib/topbar/topbar.module.d.ts +2 -2
  183. package/lib/uploader/uploader-drag-drop.directive.d.ts +7 -7
  184. package/lib/uploader/uploader.component.d.ts +15 -15
  185. package/lib/uploader/uploader.module.d.ts +2 -2
  186. package/lib/version/version.service.d.ts +8 -8
  187. package/lib/view-content/type-converters/booleanTypeConverter.d.ts +5 -5
  188. package/lib/view-content/type-converters/dateTypeConverter.d.ts +5 -5
  189. package/lib/view-content/type-converters/enumTypeConverter.d.ts +5 -5
  190. package/lib/view-content/type-converters/relatedFilesTypeConverter.d.ts +5 -5
  191. package/lib/view-content/type-converters/stringReplaceUnderscoreTypeConverter.d.ts +6 -6
  192. package/lib/view-content/type-converters/stringTypeConverter.d.ts +5 -5
  193. package/lib/view-content/type-converters/type-converters.model.d.ts +5 -5
  194. package/lib/view-content/view-content.service.d.ts +8 -8
  195. package/lib/webcam/webcam.component.d.ts +20 -20
  196. package/lib/webcam/webcam.module.d.ts +2 -2
  197. package/lib/widget/widget.component.d.ts +28 -28
  198. package/lib/widget/widget.module.d.ts +2 -2
  199. package/package.json +1 -1
  200. package/public_api.d.ts +65 -65
  201. package/valtimo-components.d.ts +26 -26
  202. package/valtimo-components.metadata.json +1 -1
@@ -1,26 +1,26 @@
1
- /*
2
- * Copyright 2015-2020 Ritense BV, the Netherlands.
3
- *
4
- * Licensed under EUPL, Version 1.2 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" basis,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { Component } from '@angular/core';
17
- export class ProgressBarComponent {
18
- }
19
- ProgressBarComponent.decorators = [
20
- { type: Component, args: [{
21
- selector: 'valtimo-progress-bar',
22
- template: "<div class=\"progress\" style=\"position: relative;\">\n <div class=\"progress-bar progress-bar-striped indeterminate\">\n </div>\n</div>\n",
23
- 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%}}"]
24
- },] }
25
- ];
1
+ /*
2
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
3
+ *
4
+ * Licensed under EUPL, Version 1.2 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" basis,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { Component } from '@angular/core';
17
+ export class ProgressBarComponent {
18
+ }
19
+ ProgressBarComponent.decorators = [
20
+ { type: Component, args: [{
21
+ selector: 'valtimo-progress-bar',
22
+ template: "<div class=\"progress\" style=\"position: relative;\">\n <div class=\"progress-bar progress-bar-striped indeterminate\">\n </div>\n</div>\n",
23
+ 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%;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ZWQgdW5kZXIgdGhlIExpY2Vuc2UgaXMgZGlzdHJpYnV0ZWQgb24gYW4gXCJBUyBJU1wiIGJhc2lzLFxuICogV0lUSE9VVCBXQVJSQU5USUVTIE9SIENPTkRJVElPTlMgT0YgQU5ZIEtJTkQsIGVpdGhlciBleHByZXNzIG9yIGltcGxpZWQuXG4gKiBTZWUgdGhlIExpY2Vuc2UgZm9yIHRoZSBzcGVjaWZpYyBsYW5ndWFnZSBnb3Zlcm5pbmcgcGVybWlzc2lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG5pbXBvcnQge0NvbXBvbmVudH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ3ZhbHRpbW8tcHJvZ3Jlc3MtYmFyJyxcbiAgdGVtcGxhdGVVcmw6ICcuL3Byb2dyZXNzLWJhci5jb21wb25lbnQuaHRtbCcsXG4gIHN0eWxlVXJsczogWycuL3Byb2dyZXNzLWJhci5jb21wb25lbnQuc2NzcyddXG59KVxuZXhwb3J0IGNsYXNzIFByb2dyZXNzQmFyQ29tcG9uZW50IHtcbn1cbiJdfQ==
@@ -1,30 +1,30 @@
1
- /*
2
- * Copyright 2015-2020 Ritense BV, the Netherlands.
3
- *
4
- * Licensed under EUPL, Version 1.2 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" basis,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { NgModule } from '@angular/core';
17
- import { CommonModule } from '@angular/common';
18
- import { ProgressBarComponent } from './progress-bar.component';
19
- export class ProgressBarModule {
20
- }
21
- ProgressBarModule.decorators = [
22
- { type: NgModule, args: [{
23
- declarations: [ProgressBarComponent],
24
- imports: [
25
- CommonModule,
26
- ],
27
- exports: [ProgressBarComponent]
28
- },] }
29
- ];
1
+ /*
2
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
3
+ *
4
+ * Licensed under EUPL, Version 1.2 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" basis,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { NgModule } from '@angular/core';
17
+ import { CommonModule } from '@angular/common';
18
+ import { ProgressBarComponent } from './progress-bar.component';
19
+ export class ProgressBarModule {
20
+ }
21
+ ProgressBarModule.decorators = [
22
+ { type: NgModule, args: [{
23
+ declarations: [ProgressBarComponent],
24
+ imports: [
25
+ CommonModule,
26
+ ],
27
+ exports: [ProgressBarComponent]
28
+ },] }
29
+ ];
30
30
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZ3Jlc3MtYmFyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3ZhbHRpbW8vY29tcG9uZW50cy9zcmMvbGliL3Byb2dyZXNzLWJhci9wcm9ncmVzcy1iYXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7Ozs7OztHQWNHO0FBRUgsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2QyxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFDN0MsT0F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lvbnMgYW5kXG4gKiBsaW1pdGF0aW9ucyB1bmRlciB0aGUgTGljZW5zZS5cbiAqL1xuXG5pbXBvcnQge05nTW9kdWxlfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7Q29tbW9uTW9kdWxlfSBmcm9tICdAYW5ndWxhci9jb21tb24nO1xuaW1wb3J0IHtQcm9ncmVzc0JhckNvbXBvbmVudH0gZnJvbSAnLi9wcm9ncmVzcy1iYXIuY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbUHJvZ3Jlc3NCYXJDb21wb25lbnRdLFxuICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlLFxuICBdLFxuICBleHBvcnRzOiBbUHJvZ3Jlc3NCYXJDb21wb25lbnRdXG59KVxuZXhwb3J0IGNsYXNzIFByb2dyZXNzQmFyTW9kdWxlIHsgfVxuIl19
@@ -1,131 +1,131 @@
1
- /*
2
- * Copyright 2015-2020 Ritense BV, the Netherlands.
3
- *
4
- * Licensed under EUPL, Version 1.2 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" basis,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { HttpClient } from '@angular/common/http';
17
- import { Component } from '@angular/core';
18
- import { FormBuilder, FormControl } from '@angular/forms';
19
- import { TranslateService } from '@ngx-translate/core';
20
- import { ContextService } from '@valtimo/context';
21
- import { UserProviderService } from '@valtimo/security';
22
- import { NGXLogger } from 'ngx-logger';
23
- import { combineLatest } from 'rxjs';
24
- import { VersionService } from '../version/version.service';
25
- export class RightSidebarComponent {
26
- constructor(userProviderService, formBuilder, versionService, translate, contextService, http, logger) {
27
- this.userProviderService = userProviderService;
28
- this.formBuilder = formBuilder;
29
- this.versionService = versionService;
30
- this.translate = translate;
31
- this.contextService = contextService;
32
- this.http = http;
33
- this.logger = logger;
34
- }
35
- ngOnInit() {
36
- this.frequencies = [
37
- 'emailNotificationOnMonday',
38
- 'emailNotificationOnTuesday',
39
- 'emailNotificationOnWednesday',
40
- 'emailNotificationOnThursday',
41
- 'emailNotificationOnFriday',
42
- 'emailNotificationOnSaturday',
43
- 'emailNotificationOnSunday'
44
- ];
45
- this.settingsForm = this.formBuilder.group({
46
- taskNotifications: new FormControl(false),
47
- emailNotifications: new FormControl(false),
48
- emailNotificationOnMonday: new FormControl(false),
49
- emailNotificationOnTuesday: new FormControl(false),
50
- emailNotificationOnWednesday: new FormControl(false),
51
- emailNotificationOnThursday: new FormControl(false),
52
- emailNotificationOnFriday: new FormControl(false),
53
- emailNotificationOnSaturday: new FormControl(false),
54
- emailNotificationOnSunday: new FormControl(false)
55
- });
56
- this.getUserSettings();
57
- }
58
- loadContextSwitch() {
59
- combineLatest([this.contextService.getUserContexts(), this.contextService.getUserContextActive()])
60
- .subscribe(([userContexts, userContextActive]) => {
61
- this.userContextActive = userContextActive;
62
- this.userContexts = userContexts;
63
- });
64
- }
65
- setUserContext(contextId) {
66
- this.contextService.setUserContext(contextId).subscribe();
67
- location.href = '/';
68
- }
69
- loadUserSettingsTab() {
70
- this.userProviderService.getEmailNotificationSettings().subscribe(results => {
71
- if (results !== null) {
72
- this.settingsForm.controls.taskNotifications.setValue(results.taskNotifications);
73
- this.settingsForm.controls.emailNotifications.setValue(results.emailNotifications);
74
- this.settingsForm.controls.emailNotificationOnMonday.setValue(results.emailNotificationOnMonday);
75
- this.settingsForm.controls.emailNotificationOnTuesday.setValue(results.emailNotificationOnTuesday);
76
- this.settingsForm.controls.emailNotificationOnWednesday.setValue(results.emailNotificationOnWednesday);
77
- this.settingsForm.controls.emailNotificationOnThursday.setValue(results.emailNotificationOnThursday);
78
- this.settingsForm.controls.emailNotificationOnFriday.setValue(results.emailNotificationOnFriday);
79
- this.settingsForm.controls.emailNotificationOnSaturday.setValue(results.emailNotificationOnSaturday);
80
- this.settingsForm.controls.emailNotificationOnSunday.setValue(results.emailNotificationOnSunday);
81
- }
82
- else {
83
- // default is true in the database, even if api returns no content
84
- this.settingsForm.controls.taskNotifications.setValue(true);
85
- }
86
- });
87
- this.getVersion();
88
- }
89
- getUserSettings() {
90
- this.userProviderService.getUserSubject().subscribe(userIdentity => {
91
- this.logger.debug('user', userIdentity);
92
- this.userIdentity = userIdentity;
93
- this.loadContextSwitch();
94
- });
95
- }
96
- getVersion() {
97
- this.versionService.getVersion().subscribe((build) => {
98
- this.build = build;
99
- });
100
- }
101
- onSettingsSubmit() {
102
- if (!this.settingsForm.pristine) {
103
- this.userProviderService.updateEmailNotificationSettings(this.settingsForm.value).subscribe();
104
- }
105
- }
106
- updateUserLanguage(langKey) {
107
- this.translate.use(langKey).subscribe(() => {
108
- localStorage.setItem('langKey', langKey);
109
- });
110
- }
111
- logout() {
112
- this.userProviderService.logout();
113
- }
114
- }
115
- RightSidebarComponent.decorators = [
116
- { type: Component, args: [{
117
- selector: 'valtimo-right-sidebar',
118
- 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",
119
- 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}"]
120
- },] }
121
- ];
122
- RightSidebarComponent.ctorParameters = () => [
123
- { type: UserProviderService },
124
- { type: FormBuilder },
125
- { type: VersionService },
126
- { type: TranslateService },
127
- { type: ContextService },
128
- { type: HttpClient },
129
- { type: NGXLogger }
130
- ];
1
+ /*
2
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
3
+ *
4
+ * Licensed under EUPL, Version 1.2 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" basis,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { HttpClient } from '@angular/common/http';
17
+ import { Component } from '@angular/core';
18
+ import { FormBuilder, FormControl } from '@angular/forms';
19
+ import { TranslateService } from '@ngx-translate/core';
20
+ import { ContextService } from '@valtimo/context';
21
+ import { UserProviderService } from '@valtimo/security';
22
+ import { NGXLogger } from 'ngx-logger';
23
+ import { combineLatest } from 'rxjs';
24
+ import { VersionService } from '../version/version.service';
25
+ export class RightSidebarComponent {
26
+ constructor(userProviderService, formBuilder, versionService, translate, contextService, http, logger) {
27
+ this.userProviderService = userProviderService;
28
+ this.formBuilder = formBuilder;
29
+ this.versionService = versionService;
30
+ this.translate = translate;
31
+ this.contextService = contextService;
32
+ this.http = http;
33
+ this.logger = logger;
34
+ }
35
+ ngOnInit() {
36
+ this.frequencies = [
37
+ 'emailNotificationOnMonday',
38
+ 'emailNotificationOnTuesday',
39
+ 'emailNotificationOnWednesday',
40
+ 'emailNotificationOnThursday',
41
+ 'emailNotificationOnFriday',
42
+ 'emailNotificationOnSaturday',
43
+ 'emailNotificationOnSunday'
44
+ ];
45
+ this.settingsForm = this.formBuilder.group({
46
+ taskNotifications: new FormControl(false),
47
+ emailNotifications: new FormControl(false),
48
+ emailNotificationOnMonday: new FormControl(false),
49
+ emailNotificationOnTuesday: new FormControl(false),
50
+ emailNotificationOnWednesday: new FormControl(false),
51
+ emailNotificationOnThursday: new FormControl(false),
52
+ emailNotificationOnFriday: new FormControl(false),
53
+ emailNotificationOnSaturday: new FormControl(false),
54
+ emailNotificationOnSunday: new FormControl(false)
55
+ });
56
+ this.getUserSettings();
57
+ }
58
+ loadContextSwitch() {
59
+ combineLatest([this.contextService.getUserContexts(), this.contextService.getUserContextActive()])
60
+ .subscribe(([userContexts, userContextActive]) => {
61
+ this.userContextActive = userContextActive;
62
+ this.userContexts = userContexts;
63
+ });
64
+ }
65
+ setUserContext(contextId) {
66
+ this.contextService.setUserContext(contextId).subscribe();
67
+ location.href = '/';
68
+ }
69
+ loadUserSettingsTab() {
70
+ this.userProviderService.getEmailNotificationSettings().subscribe(results => {
71
+ if (results !== null) {
72
+ this.settingsForm.controls.taskNotifications.setValue(results.taskNotifications);
73
+ this.settingsForm.controls.emailNotifications.setValue(results.emailNotifications);
74
+ this.settingsForm.controls.emailNotificationOnMonday.setValue(results.emailNotificationOnMonday);
75
+ this.settingsForm.controls.emailNotificationOnTuesday.setValue(results.emailNotificationOnTuesday);
76
+ this.settingsForm.controls.emailNotificationOnWednesday.setValue(results.emailNotificationOnWednesday);
77
+ this.settingsForm.controls.emailNotificationOnThursday.setValue(results.emailNotificationOnThursday);
78
+ this.settingsForm.controls.emailNotificationOnFriday.setValue(results.emailNotificationOnFriday);
79
+ this.settingsForm.controls.emailNotificationOnSaturday.setValue(results.emailNotificationOnSaturday);
80
+ this.settingsForm.controls.emailNotificationOnSunday.setValue(results.emailNotificationOnSunday);
81
+ }
82
+ else {
83
+ // default is true in the database, even if api returns no content
84
+ this.settingsForm.controls.taskNotifications.setValue(true);
85
+ }
86
+ });
87
+ this.getVersion();
88
+ }
89
+ getUserSettings() {
90
+ this.userProviderService.getUserSubject().subscribe(userIdentity => {
91
+ this.logger.debug('user', userIdentity);
92
+ this.userIdentity = userIdentity;
93
+ this.loadContextSwitch();
94
+ });
95
+ }
96
+ getVersion() {
97
+ this.versionService.getVersion().subscribe((build) => {
98
+ this.build = build;
99
+ });
100
+ }
101
+ onSettingsSubmit() {
102
+ if (!this.settingsForm.pristine) {
103
+ this.userProviderService.updateEmailNotificationSettings(this.settingsForm.value).subscribe();
104
+ }
105
+ }
106
+ updateUserLanguage(langKey) {
107
+ this.translate.use(langKey).subscribe(() => {
108
+ localStorage.setItem('langKey', langKey);
109
+ });
110
+ }
111
+ logout() {
112
+ this.userProviderService.logout();
113
+ }
114
+ }
115
+ RightSidebarComponent.decorators = [
116
+ { type: Component, args: [{
117
+ selector: 'valtimo-right-sidebar',
118
+ 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",
119
+ 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}"]
120
+ },] }
121
+ ];
122
+ RightSidebarComponent.ctorParameters = () => [
123
+ { type: UserProviderService },
124
+ { type: FormBuilder },
125
+ { type: VersionService },
126
+ { type: TranslateService },
127
+ { type: ContextService },
128
+ { type: HttpClient },
129
+ { type: NGXLogger }
130
+ ];
131
131
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmlnaHQtc2lkZWJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92YWx0aW1vL2NvbXBvbmV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iAgICAgIHRoaXMuYnVpbGQgPSBidWlsZDtcbiAgICB9KTtcbiAgfVxuXG4gIG9uU2V0dGluZ3NTdWJtaXQoKSB7XG4gICAgaWYgKCF0aGlzLnNldHRpbmdzRm9ybS5wcmlzdGluZSkge1xuICAgICAgdGhpcy51c2VyUHJvdmlkZXJTZXJ2aWNlLnVwZGF0ZUVtYWlsTm90aWZpY2F0aW9uU2V0dGluZ3ModGhpcy5zZXR0aW5nc0Zvcm0udmFsdWUpLnN1YnNjcmliZSgpO1xuICAgIH1cbiAgfVxuXG4gIHVwZGF0ZVVzZXJMYW5ndWFnZShsYW5nS2V5OiBzdHJpbmcpIHtcbiAgICB0aGlzLnRyYW5zbGF0ZS51c2UobGFuZ0tleSkuc3Vic2NyaWJlKCgpID0+IHtcbiAgICAgIGxvY2FsU3RvcmFnZS5zZXRJdGVtKCdsYW5nS2V5JywgbGFuZ0tleSk7XG4gICAgfSk7XG4gIH1cblxuICBsb2dvdXQoKSB7XG4gICAgdGhpcy51c2VyUHJvdmlkZXJTZXJ2aWNlLmxvZ291dCgpO1xuICB9XG5cbn1cbiJdfQ==
@@ -1,49 +1,49 @@
1
- /*
2
- * Copyright 2015-2020 Ritense BV, the Netherlands.
3
- *
4
- * Licensed under EUPL, Version 1.2 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" basis,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { NgModule } from '@angular/core';
17
- import { CommonModule } from '@angular/common';
18
- import { RightSidebarComponent } from './right-sidebar.component';
19
- import { FormsModule, ReactiveFormsModule } from '@angular/forms';
20
- import { RouterModule } from '@angular/router';
21
- import { HttpClient } from '@angular/common/http';
22
- import { TranslateLoader, TranslateModule } from '@ngx-translate/core';
23
- import { HttpLoaderFactory } from '@valtimo/contract';
24
- import { NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap';
25
- const ɵ0 = HttpLoaderFactory;
26
- export class RightSidebarModule {
27
- }
28
- RightSidebarModule.decorators = [
29
- { type: NgModule, args: [{
30
- declarations: [RightSidebarComponent],
31
- imports: [
32
- CommonModule,
33
- FormsModule,
34
- ReactiveFormsModule,
35
- RouterModule,
36
- TranslateModule.forRoot({
37
- loader: {
38
- provide: TranslateLoader,
39
- useFactory: ɵ0,
40
- deps: [HttpClient]
41
- }
42
- }),
43
- NgbTooltipModule
44
- ],
45
- exports: [RightSidebarComponent]
46
- },] }
47
- ];
48
- export { ɵ0 };
1
+ /*
2
+ * Copyright 2015-2020 Ritense BV, the Netherlands.
3
+ *
4
+ * Licensed under EUPL, Version 1.2 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" basis,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { NgModule } from '@angular/core';
17
+ import { CommonModule } from '@angular/common';
18
+ import { RightSidebarComponent } from './right-sidebar.component';
19
+ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
20
+ import { RouterModule } from '@angular/router';
21
+ import { HttpClient } from '@angular/common/http';
22
+ import { TranslateLoader, TranslateModule } from '@ngx-translate/core';
23
+ import { HttpLoaderFactory } from '@valtimo/contract';
24
+ import { NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap';
25
+ const ɵ0 = HttpLoaderFactory;
26
+ export class RightSidebarModule {
27
+ }
28
+ RightSidebarModule.decorators = [
29
+ { type: NgModule, args: [{
30
+ declarations: [RightSidebarComponent],
31
+ imports: [
32
+ CommonModule,
33
+ FormsModule,
34
+ ReactiveFormsModule,
35
+ RouterModule,
36
+ TranslateModule.forRoot({
37
+ loader: {
38
+ provide: TranslateLoader,
39
+ useFactory: ɵ0,
40
+ deps: [HttpClient]
41
+ }
42
+ }),
43
+ NgbTooltipModule
44
+ ],
45
+ exports: [RightSidebarComponent]
46
+ },] }
47
+ ];
48
+ export { ɵ0 };
49
49
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmlnaHQtc2lkZWJhci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy92YWx0aW1vL2NvbXBvbmVudHMvc3JjL2xpYi9yaWdodC1zaWRlYmFyL3JpZ2h0LXNpZGViYXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7Ozs7OztHQWNHO0FBRUgsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUN2QyxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0saUJBQWlCLENBQUM7QUFDN0MsT0FBTyxFQUFDLHFCQUFxQixFQUFDLE1BQU0sMkJBQTJCLENBQUM7QUFDaEUsT0FBTyxFQUFDLFdBQVcsRUFBRSxtQkFBbUIsRUFBQyxNQUFNLGdCQUFnQixDQUFDO0FBQ2hFLE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSxpQkFBaUIsQ0FBQztBQUM3QyxPQUFPLEVBQUMsVUFBVSxFQUFDLE1BQU0sc0JBQXNCLENBQUM7QUFDaEQsT0FBTyxFQUFDLGVBQWUsRUFBRSxlQUFlLEVBQUMsTUFBTSxxQkFBcUIsQ0FBQztBQUNyRSxPQUFPLEVBQUMsaUJBQWlCLEVBQUMsTUFBTSxtQkFBbUIsQ0FBQztBQUNwRCxPQUFPLEVBQUMsZ0JB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