@hmcts/ccd-case-ui-toolkit 5.0.2-angular11-upgrade → 5.0.6-angular11-upgrade

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 (1184) hide show
  1. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +7239 -0
  2. package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -0
  3. package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +17 -0
  4. package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -0
  5. package/esm2015/hmcts-ccd-case-ui-toolkit.js +5 -0
  6. package/esm2015/lib/app.config.js +37 -0
  7. package/esm2015/lib/components/banners/alert/alert-icon-class.pipe.js +25 -0
  8. package/esm2015/lib/components/banners/alert/alert.component.js +101 -0
  9. package/esm2015/lib/components/banners/alert/alert.module.js +26 -0
  10. package/esm2015/lib/components/banners/alert/index.js +4 -0
  11. package/esm2015/lib/components/banners/banners.module.js +27 -0
  12. package/esm2015/lib/components/banners/index.js +2 -0
  13. package/esm2015/lib/components/body/body.component.js +25 -0
  14. package/esm2015/lib/components/body/body.module.js +20 -0
  15. package/esm2015/lib/components/body/index.js +2 -0
  16. package/esm2015/lib/components/footer/footer.component.js +105 -0
  17. package/esm2015/lib/components/footer/footers.module.js +19 -0
  18. package/esm2015/lib/components/footer/index.js +2 -0
  19. package/esm2015/lib/components/form/date-input/date-input.component.js +329 -0
  20. package/esm2015/lib/components/form/date-input/index.js +2 -0
  21. package/esm2015/lib/components/form/form.module.js +27 -0
  22. package/esm2015/lib/components/form/index.js +2 -0
  23. package/esm2015/lib/components/header/header-bar/header-bar.component.js +108 -0
  24. package/esm2015/lib/components/header/header-bar/index.js +2 -0
  25. package/esm2015/lib/components/header/headers.module.js +23 -0
  26. package/esm2015/lib/components/header/index.js +5 -0
  27. package/esm2015/lib/components/header/navigation/index.js +3 -0
  28. package/esm2015/lib/components/header/navigation/navigation-item.component.js +44 -0
  29. package/esm2015/lib/components/header/navigation/navigation.component.js +30 -0
  30. package/esm2015/lib/components/header/phase/index.js +2 -0
  31. package/esm2015/lib/components/header/phase/phase.component.js +42 -0
  32. package/esm2015/lib/components/index.js +7 -0
  33. package/esm2015/lib/components/tabs/index.js +4 -0
  34. package/esm2015/lib/components/tabs/tab.component.js +34 -0
  35. package/esm2015/lib/components/tabs/tabs.component.js +86 -0
  36. package/esm2015/lib/components/tabs/tabs.module.js +36 -0
  37. package/esm2015/lib/shared/commons/constants.js +12 -0
  38. package/esm2015/lib/shared/components/case-editor/case-access-utils/index.js +94 -0
  39. package/esm2015/lib/shared/components/case-editor/domain/confirmation.model.js +21 -0
  40. package/esm2015/lib/shared/components/case-editor/domain/event-completion-return-states.enum.model.js +7 -0
  41. package/esm2015/lib/shared/components/case-editor/domain/event-completion-state-machine-context.model.js +2 -0
  42. package/esm2015/lib/shared/components/case-editor/domain/event-completion-states.enum.model.js +14 -0
  43. package/esm2015/lib/shared/components/case-editor/domain/index.js +8 -0
  44. package/esm2015/lib/shared/components/case-editor/domain/wizard-page-field-complex-override.model.js +3 -0
  45. package/esm2015/lib/shared/components/case-editor/domain/wizard-page-field.model.js +3 -0
  46. package/esm2015/lib/shared/components/case-editor/domain/wizard-page.model.js +28 -0
  47. package/esm2015/lib/shared/components/case-editor/domain/wizard.model.js +57 -0
  48. package/esm2015/lib/shared/components/case-editor/services/case.notifier.js +19 -0
  49. package/esm2015/lib/shared/components/case-editor/services/cases.service.js +270 -0
  50. package/esm2015/lib/shared/components/case-editor/services/wizard-page-field-to-case-field.mapper.js +115 -0
  51. package/esm2015/lib/shared/components/case-editor/services/work-allocation.service.js +170 -0
  52. package/esm2015/lib/shared/components/dialogs/document-dialog/document-dialog.component.js +59 -0
  53. package/esm2015/lib/shared/components/dialogs/remove-dialog/remove-dialog.component.js +57 -0
  54. package/esm2015/lib/shared/components/helpers/index.js +2 -0
  55. package/esm2015/lib/shared/components/helpers/init-dialog-helper.js +16 -0
  56. package/esm2015/lib/shared/components/palette/address/address-option.model.js +24 -0
  57. package/esm2015/lib/shared/components/palette/address/write-address-field.component.js +244 -0
  58. package/esm2015/lib/shared/components/palette/base-field/abstract-field-read.component.js +32 -0
  59. package/esm2015/lib/shared/components/palette/base-field/abstract-field-write.component.js +44 -0
  60. package/esm2015/lib/shared/components/palette/base-field/abstract-form-field.component.js +79 -0
  61. package/esm2015/lib/shared/components/palette/base-field/field-read-label.component.js +93 -0
  62. package/esm2015/lib/shared/components/palette/base-field/field-read.component.js +85 -0
  63. package/esm2015/lib/shared/components/palette/base-field/field-write.component.js +84 -0
  64. package/esm2015/lib/shared/components/palette/base-field/index.js +8 -0
  65. package/esm2015/lib/shared/components/palette/base-field/palette-context.enum.js +7 -0
  66. package/esm2015/lib/shared/components/palette/base-field/payment-field.component.js +32 -0
  67. package/esm2015/lib/shared/components/palette/case-link/read-case-link-field.component.js +38 -0
  68. package/esm2015/lib/shared/components/palette/case-link/write-case-link-field.component.js +125 -0
  69. package/esm2015/lib/shared/components/palette/collection/collection-create-checker.service.js +42 -0
  70. package/esm2015/lib/shared/components/palette/collection/index.js +3 -0
  71. package/esm2015/lib/shared/components/palette/collection/read-collection-field.component.js +91 -0
  72. package/esm2015/lib/shared/components/palette/collection/write-collection-field.component.js +414 -0
  73. package/esm2015/lib/shared/components/palette/complex/ccd-collection-table-value-case-fields.pipe.js +29 -0
  74. package/esm2015/lib/shared/components/palette/complex/ccd-cyapage-label-filter.pipe.js +29 -0
  75. package/esm2015/lib/shared/components/palette/complex/ccd-read-fields-filter.pipe.js +154 -0
  76. package/esm2015/lib/shared/components/palette/complex/ccd-tab-fields.pipe.js +31 -0
  77. package/esm2015/lib/shared/components/palette/complex/cdd-page-fields.pipe.js +39 -0
  78. package/esm2015/lib/shared/components/palette/complex/fields-filter.pipe.js +103 -0
  79. package/esm2015/lib/shared/components/palette/complex/index.js +12 -0
  80. package/esm2015/lib/shared/components/palette/complex/read-complex-field-collection-table.component.js +414 -0
  81. package/esm2015/lib/shared/components/palette/complex/read-complex-field-raw.component.js +61 -0
  82. package/esm2015/lib/shared/components/palette/complex/read-complex-field-table.component.js +97 -0
  83. package/esm2015/lib/shared/components/palette/complex/read-complex-field.component.js +81 -0
  84. package/esm2015/lib/shared/components/palette/complex/sort-order.js +7 -0
  85. package/esm2015/lib/shared/components/palette/complex/write-complex-field.component.js +178 -0
  86. package/esm2015/lib/shared/components/palette/date/index.js +4 -0
  87. package/esm2015/lib/shared/components/palette/date/read-date-field.component.js +29 -0
  88. package/esm2015/lib/shared/components/palette/date/write-date-container-field.component.js +41 -0
  89. package/esm2015/lib/shared/components/palette/date/write-date-field.component.js +81 -0
  90. package/esm2015/lib/shared/components/palette/datetime-picker/datetime-picker-utils.js +12 -0
  91. package/esm2015/lib/shared/components/palette/datetime-picker/datetime-picker.component.js +300 -0
  92. package/esm2015/lib/shared/components/palette/datetime-picker/index.js +2 -0
  93. package/esm2015/lib/shared/components/palette/document/document-url.pipe.js +24 -0
  94. package/esm2015/lib/shared/components/palette/document/file-upload-progress.guard.js +29 -0
  95. package/esm2015/lib/shared/components/palette/document/file-upload-state.service.js +16 -0
  96. package/esm2015/lib/shared/components/palette/document/index.js +4 -0
  97. package/esm2015/lib/shared/components/palette/document/read-document-field.component.js +80 -0
  98. package/esm2015/lib/shared/components/palette/document/write-document-field.component.js +369 -0
  99. package/esm2015/lib/shared/components/palette/dynamic-list/dynamic-list.pipe.js +18 -0
  100. package/esm2015/lib/shared/components/palette/dynamic-list/index.js +4 -0
  101. package/esm2015/lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.js +35 -0
  102. package/esm2015/lib/shared/components/palette/dynamic-list/write-dynamic-list-field.component.js +121 -0
  103. package/esm2015/lib/shared/components/palette/dynamic-radio-list/dynamic-radio-list.pipe.js +25 -0
  104. package/esm2015/lib/shared/components/palette/dynamic-radio-list/index.js +4 -0
  105. package/esm2015/lib/shared/components/palette/dynamic-radio-list/read-dynamic-radio-list-field.component.js +41 -0
  106. package/esm2015/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.js +126 -0
  107. package/esm2015/lib/shared/components/palette/email/index.js +3 -0
  108. package/esm2015/lib/shared/components/palette/email/read-email-field.component.js +36 -0
  109. package/esm2015/lib/shared/components/palette/email/write-email-field.component.js +76 -0
  110. package/esm2015/lib/shared/components/palette/fixed-list/fixed-list.pipe.js +23 -0
  111. package/esm2015/lib/shared/components/palette/fixed-list/index.js +4 -0
  112. package/esm2015/lib/shared/components/palette/fixed-list/read-fixed-list-field.component.js +25 -0
  113. package/esm2015/lib/shared/components/palette/fixed-list/write-fixed-list-field.component.js +110 -0
  114. package/esm2015/lib/shared/components/palette/fixed-radio-list/fixed-radio-list.pipe.js +18 -0
  115. package/esm2015/lib/shared/components/palette/fixed-radio-list/index.js +4 -0
  116. package/esm2015/lib/shared/components/palette/fixed-radio-list/read-fixed-radio-list-field.component.js +25 -0
  117. package/esm2015/lib/shared/components/palette/fixed-radio-list/write-fixed-radio-list-field.component.js +101 -0
  118. package/esm2015/lib/shared/components/palette/history/case-history-viewer-field.component.js +21 -0
  119. package/esm2015/lib/shared/components/palette/history/event-log/event-log-details.component.js +127 -0
  120. package/esm2015/lib/shared/components/palette/history/event-log/event-log-table.component.js +234 -0
  121. package/esm2015/lib/shared/components/palette/history/event-log/event-log.component.js +83 -0
  122. package/esm2015/lib/shared/components/palette/history/event-log/index.js +4 -0
  123. package/esm2015/lib/shared/components/palette/history/index.js +3 -0
  124. package/esm2015/lib/shared/components/palette/label/index.js +2 -0
  125. package/esm2015/lib/shared/components/palette/label/label-field.component.js +37 -0
  126. package/esm2015/lib/shared/components/palette/markdown/index.js +2 -0
  127. package/esm2015/lib/shared/components/palette/markdown/markdown.component.js +44 -0
  128. package/esm2015/lib/shared/components/palette/money-gbp/index.js +4 -0
  129. package/esm2015/lib/shared/components/palette/money-gbp/money-gbp-input.component.js +123 -0
  130. package/esm2015/lib/shared/components/palette/money-gbp/read-money-gbp-field.component.js +48 -0
  131. package/esm2015/lib/shared/components/palette/money-gbp/write-money-gbp-field.component.js +83 -0
  132. package/esm2015/lib/shared/components/palette/multi-select-list/index.js +3 -0
  133. package/esm2015/lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.js +50 -0
  134. package/esm2015/lib/shared/components/palette/multi-select-list/write-multi-select-list-field.component.js +132 -0
  135. package/esm2015/lib/shared/components/palette/number/index.js +3 -0
  136. package/esm2015/lib/shared/components/palette/number/read-number-field.component.js +25 -0
  137. package/esm2015/lib/shared/components/palette/number/write-number-field.component.js +76 -0
  138. package/esm2015/lib/shared/components/palette/order-summary/fee-value.model.js +3 -0
  139. package/esm2015/lib/shared/components/palette/order-summary/fee.model.js +3 -0
  140. package/esm2015/lib/shared/components/palette/order-summary/index.js +7 -0
  141. package/esm2015/lib/shared/components/palette/order-summary/order-summary.model.js +3 -0
  142. package/esm2015/lib/shared/components/palette/order-summary/read-order-summary-field.component.js +71 -0
  143. package/esm2015/lib/shared/components/palette/order-summary/read-order-summary-row.component.js +51 -0
  144. package/esm2015/lib/shared/components/palette/order-summary/write-order-summary-field.component.js +49 -0
  145. package/esm2015/lib/shared/components/palette/organisation/index.js +6 -0
  146. package/esm2015/lib/shared/components/palette/organisation/read-organisation-field-raw.component.js +90 -0
  147. package/esm2015/lib/shared/components/palette/organisation/read-organisation-field-table.component.js +100 -0
  148. package/esm2015/lib/shared/components/palette/organisation/read-organisation-field.component.js +63 -0
  149. package/esm2015/lib/shared/components/palette/organisation/write-organisation-complex-field.component.js +37 -0
  150. package/esm2015/lib/shared/components/palette/organisation/write-organisation-field.component.js +394 -0
  151. package/esm2015/lib/shared/components/palette/palette.module.js +413 -0
  152. package/esm2015/lib/shared/components/palette/palette.service.js +114 -0
  153. package/esm2015/lib/shared/components/palette/payment/case-payment-history-viewer-field.component.js +27 -0
  154. package/esm2015/lib/shared/components/palette/payment/index.js +2 -0
  155. package/esm2015/lib/shared/components/palette/phone-uk/index.js +3 -0
  156. package/esm2015/lib/shared/components/palette/phone-uk/read-phone-uk-field.component.js +23 -0
  157. package/esm2015/lib/shared/components/palette/phone-uk/write-phone-uk-field.component.js +76 -0
  158. package/esm2015/lib/shared/components/palette/text/index.js +3 -0
  159. package/esm2015/lib/shared/components/palette/text/read-text-field.component.js +23 -0
  160. package/esm2015/lib/shared/components/palette/text/write-text-field.component.js +81 -0
  161. package/esm2015/lib/shared/components/palette/text-area/index.js +3 -0
  162. package/esm2015/lib/shared/components/palette/text-area/read-text-area-field.component.js +23 -0
  163. package/esm2015/lib/shared/components/palette/text-area/write-text-area-field.component.js +91 -0
  164. package/esm2015/lib/shared/components/palette/unsupported-field.component.js +17 -0
  165. package/esm2015/lib/shared/components/palette/utils/dash.pipe.js +16 -0
  166. package/esm2015/lib/shared/components/palette/utils/date.pipe.js +132 -0
  167. package/esm2015/lib/shared/components/palette/utils/field-label.pipe.js +22 -0
  168. package/esm2015/lib/shared/components/palette/utils/first-error.pipe.js +41 -0
  169. package/esm2015/lib/shared/components/palette/utils/index.js +10 -0
  170. package/esm2015/lib/shared/components/palette/utils/is-compound.pipe.js +31 -0
  171. package/esm2015/lib/shared/components/palette/utils/is-mandatory.pipe.js +21 -0
  172. package/esm2015/lib/shared/components/palette/utils/is-read-only-and-not-collection.pipe.js +31 -0
  173. package/esm2015/lib/shared/components/palette/utils/is-read-only.pipe.js +21 -0
  174. package/esm2015/lib/shared/components/palette/utils/utils.module.js +62 -0
  175. package/esm2015/lib/shared/components/palette/waystopay/index.js +2 -0
  176. package/esm2015/lib/shared/components/palette/waystopay/waystopay-field.component.js +37 -0
  177. package/esm2015/lib/shared/components/palette/yes-no/index.js +4 -0
  178. package/esm2015/lib/shared/components/palette/yes-no/read-yes-no-field.component.js +32 -0
  179. package/esm2015/lib/shared/components/palette/yes-no/write-yes-no-field.component.js +105 -0
  180. package/esm2015/lib/shared/components/palette/yes-no/yes-no.service.js +48 -0
  181. package/esm2015/lib/shared/components/search-filters/domain/index.js +2 -0
  182. package/esm2015/lib/shared/components/search-filters/domain/search-input.model.js +10 -0
  183. package/esm2015/lib/shared/components/search-filters/index.js +5 -0
  184. package/esm2015/lib/shared/components/search-filters/search-filters-wrapper.component.js +61 -0
  185. package/esm2015/lib/shared/components/search-filters/search-filters.component.js +296 -0
  186. package/esm2015/lib/shared/components/search-filters/search-filters.module.js +65 -0
  187. package/esm2015/lib/shared/directives/conditional-show/conditional-show-form.directive.js +164 -0
  188. package/esm2015/lib/shared/directives/conditional-show/conditional-show.module.js +33 -0
  189. package/esm2015/lib/shared/directives/conditional-show/domain/conditional-show.model.js +296 -0
  190. package/esm2015/lib/shared/directives/conditional-show/domain/index.js +2 -0
  191. package/esm2015/lib/shared/directives/conditional-show/index.js +5 -0
  192. package/esm2015/lib/shared/directives/conditional-show/services/conditional-show-registrar.service.js +19 -0
  193. package/esm2015/lib/shared/directives/conditional-show/services/grey-bar.service.js +47 -0
  194. package/esm2015/lib/shared/directives/conditional-show/services/index.js +3 -0
  195. package/esm2015/lib/shared/directives/focus-element/focus-element.directive.js +36 -0
  196. package/esm2015/lib/shared/directives/focus-element/focus-element.module.js +21 -0
  197. package/esm2015/lib/shared/directives/focus-element/index.js +3 -0
  198. package/esm2015/lib/shared/directives/index.js +4 -0
  199. package/esm2015/lib/shared/directives/substitutor/index.js +4 -0
  200. package/esm2015/lib/shared/directives/substitutor/label-substitutor.directive.js +78 -0
  201. package/esm2015/lib/shared/directives/substitutor/label-substitutor.module.js +30 -0
  202. package/esm2015/lib/shared/directives/substitutor/services/index.js +2 -0
  203. package/esm2015/lib/shared/directives/substitutor/services/placeholder.service.js +200 -0
  204. package/esm2015/lib/shared/domain/activity/activity.model.js +10 -0
  205. package/esm2015/lib/shared/domain/activity/index.js +2 -0
  206. package/esm2015/lib/shared/domain/addresses/address.model.js +12 -0
  207. package/esm2015/lib/shared/domain/addresses/index.js +2 -0
  208. package/esm2015/lib/shared/domain/alert/alert-level.model.js +2 -0
  209. package/esm2015/lib/shared/domain/alert/alert.model.js +3 -0
  210. package/esm2015/lib/shared/domain/alert/index.js +3 -0
  211. package/esm2015/lib/shared/domain/case-details.model.js +3 -0
  212. package/esm2015/lib/shared/domain/case-event-data.model.js +3 -0
  213. package/esm2015/lib/shared/domain/case-view/access-types.model.js +4 -0
  214. package/esm2015/lib/shared/domain/case-view/case-event-trigger.model.js +22 -0
  215. package/esm2015/lib/shared/domain/case-view/case-print-document.model.js +3 -0
  216. package/esm2015/lib/shared/domain/case-view/case-tab.model.js +11 -0
  217. package/esm2015/lib/shared/domain/case-view/case-view-event.model.js +3 -0
  218. package/esm2015/lib/shared/domain/case-view/case-view-trigger.model.js +4 -0
  219. package/esm2015/lib/shared/domain/case-view/case-view.model.js +16 -0
  220. package/esm2015/lib/shared/domain/case-view/challenged-access-request.model.js +2 -0
  221. package/esm2015/lib/shared/domain/case-view/index.js +12 -0
  222. package/esm2015/lib/shared/domain/case-view/review-specific-access-request.model.js +2 -0
  223. package/esm2015/lib/shared/domain/case-view/role-assignment-response.model.js +2 -0
  224. package/esm2015/lib/shared/domain/case-view/role-request.model.js +2 -0
  225. package/esm2015/lib/shared/domain/case-view/specific-access-request.model.js +2 -0
  226. package/esm2015/lib/shared/domain/definition/access-control-list.model.js +3 -0
  227. package/esm2015/lib/shared/domain/definition/banner.model.js +3 -0
  228. package/esm2015/lib/shared/domain/definition/case-event.model.js +3 -0
  229. package/esm2015/lib/shared/domain/definition/case-field.model.js +194 -0
  230. package/esm2015/lib/shared/domain/definition/case-state.model.js +3 -0
  231. package/esm2015/lib/shared/domain/definition/case-type-lite.model.js +5 -0
  232. package/esm2015/lib/shared/domain/definition/case-type.model.js +11 -0
  233. package/esm2015/lib/shared/domain/definition/event-case-field.model.js +3 -0
  234. package/esm2015/lib/shared/domain/definition/field-type-enum.model.js +2 -0
  235. package/esm2015/lib/shared/domain/definition/field-type.model.js +20 -0
  236. package/esm2015/lib/shared/domain/definition/fixed-list-item.model.js +3 -0
  237. package/esm2015/lib/shared/domain/definition/index.js +12 -0
  238. package/esm2015/lib/shared/domain/definition/jurisdiction.model.js +3 -0
  239. package/esm2015/lib/shared/domain/document/document-data.model.js +13 -0
  240. package/esm2015/lib/shared/domain/document/index.js +2 -0
  241. package/esm2015/lib/shared/domain/draft.model.js +11 -0
  242. package/esm2015/lib/shared/domain/error-message.model.js +2 -0
  243. package/esm2015/lib/shared/domain/http/http-error.model.js +27 -0
  244. package/esm2015/lib/shared/domain/http/index.js +2 -0
  245. package/esm2015/lib/shared/domain/index.js +23 -0
  246. package/esm2015/lib/shared/domain/order/index.js +2 -0
  247. package/esm2015/lib/shared/domain/order/orderable.model.js +2 -0
  248. package/esm2015/lib/shared/domain/organisation/index.js +3 -0
  249. package/esm2015/lib/shared/domain/organisation/organisation-converter.js +42 -0
  250. package/esm2015/lib/shared/domain/organisation/simple-organisation.model.js +2 -0
  251. package/esm2015/lib/shared/domain/pagination-metadata.model.js +3 -0
  252. package/esm2015/lib/shared/domain/predicate.model.js +2 -0
  253. package/esm2015/lib/shared/domain/profile/index.js +2 -0
  254. package/esm2015/lib/shared/domain/profile/profile.model.js +29 -0
  255. package/esm2015/lib/shared/domain/search/field.model.js +11 -0
  256. package/esm2015/lib/shared/domain/search/index.js +5 -0
  257. package/esm2015/lib/shared/domain/search/search-result-view-column.model.js +3 -0
  258. package/esm2015/lib/shared/domain/search/search-result-view-item.model.js +11 -0
  259. package/esm2015/lib/shared/domain/search/search-result-view.model.js +22 -0
  260. package/esm2015/lib/shared/domain/search/sorting/search-result-view-item-comparator.js +2 -0
  261. package/esm2015/lib/shared/domain/search/sorting/sort-order.js +7 -0
  262. package/esm2015/lib/shared/domain/search/sorting/sort-parameters.js +7 -0
  263. package/esm2015/lib/shared/domain/user/user-details.model.js +2 -0
  264. package/esm2015/lib/shared/domain/user/user-info.model.js +2 -0
  265. package/esm2015/lib/shared/domain/work-allocation/Task.js +21 -0
  266. package/esm2015/lib/shared/domain/work-allocation/TaskPayload.js +2 -0
  267. package/esm2015/lib/shared/domain/work-allocation/index.js +2 -0
  268. package/esm2015/lib/shared/domain/work-allocation/task-response.model.js +2 -0
  269. package/esm2015/lib/shared/domain/work-allocation/task-search-parameter.model.js +2 -0
  270. package/esm2015/lib/shared/domain/workbasket/index.js +2 -0
  271. package/esm2015/lib/shared/domain/workbasket/workbasket-input.model.js +12 -0
  272. package/esm2015/lib/shared/fixture/case-field-builder.js +69 -0
  273. package/esm2015/lib/shared/fixture/shared.test.fixture.js +129 -0
  274. package/esm2015/lib/shared/index.js +8 -0
  275. package/esm2015/lib/shared/pipes/case-reference/case-reference.pipe.js +33 -0
  276. package/esm2015/lib/shared/pipes/case-reference/index.js +2 -0
  277. package/esm2015/lib/shared/pipes/case-title/ccd-case-title.pipe.js +29 -0
  278. package/esm2015/lib/shared/pipes/case-title/index.js +2 -0
  279. package/esm2015/lib/shared/pipes/index.js +5 -0
  280. package/esm2015/lib/shared/pipes/pipes.module.js +37 -0
  281. package/esm2015/lib/shared/pipes/search-result/sorting/sort-search-result.pipe.js +24 -0
  282. package/esm2015/lib/shared/services/activity/activity.polling.service.js +112 -0
  283. package/esm2015/lib/shared/services/activity/activity.service.js +91 -0
  284. package/esm2015/lib/shared/services/activity/index.js +3 -0
  285. package/esm2015/lib/shared/services/addresses/address-parser.js +76 -0
  286. package/esm2015/lib/shared/services/addresses/addresses.service.js +57 -0
  287. package/esm2015/lib/shared/services/addresses/index.js +2 -0
  288. package/esm2015/lib/shared/services/alert/alert.service.js +122 -0
  289. package/esm2015/lib/shared/services/alert/index.js +2 -0
  290. package/esm2015/lib/shared/services/auth/auth.service.js +33 -0
  291. package/esm2015/lib/shared/services/auth/index.js +2 -0
  292. package/esm2015/lib/shared/services/banners/banners.service.js +33 -0
  293. package/esm2015/lib/shared/services/banners/index.js +2 -0
  294. package/esm2015/lib/shared/services/browser/browser.service.js +24 -0
  295. package/esm2015/lib/shared/services/browser/index.js +2 -0
  296. package/esm2015/lib/shared/services/case-fields/case-field.service.js +34 -0
  297. package/esm2015/lib/shared/services/case-fields/format-translator.service.js +242 -0
  298. package/esm2015/lib/shared/services/case-fields/index.js +2 -0
  299. package/esm2015/lib/shared/services/definitions/definitions.module.js +19 -0
  300. package/esm2015/lib/shared/services/definitions/definitions.service.js +35 -0
  301. package/esm2015/lib/shared/services/definitions/index.js +3 -0
  302. package/esm2015/lib/shared/services/document-management/document-management.service.js +112 -0
  303. package/esm2015/lib/shared/services/document-management/index.js +2 -0
  304. package/esm2015/lib/shared/services/draft/draft.service.js +86 -0
  305. package/esm2015/lib/shared/services/draft/index.js +2 -0
  306. package/esm2015/lib/shared/services/error/error-notifier.service.js +18 -0
  307. package/esm2015/lib/shared/services/error/index.js +2 -0
  308. package/esm2015/lib/shared/services/eventStatusService/event-status.service.js +21 -0
  309. package/esm2015/lib/shared/services/eventStatusService/index.js +2 -0
  310. package/esm2015/lib/shared/services/fields/fields.purger.js +277 -0
  311. package/esm2015/lib/shared/services/fields/fields.utils.js +334 -0
  312. package/esm2015/lib/shared/services/fields/index.js +3 -0
  313. package/esm2015/lib/shared/services/form/field-type-sanitiser.js +75 -0
  314. package/esm2015/lib/shared/services/form/form-error.service.js +46 -0
  315. package/esm2015/lib/shared/services/form/form-validators.service.js +56 -0
  316. package/esm2015/lib/shared/services/form/form-value.service.js +490 -0
  317. package/esm2015/lib/shared/services/form/index.js +5 -0
  318. package/esm2015/lib/shared/services/http/http-error.service.js +65 -0
  319. package/esm2015/lib/shared/services/http/http.service.js +93 -0
  320. package/esm2015/lib/shared/services/http/index.js +3 -0
  321. package/esm2015/lib/shared/services/index.js +29 -0
  322. package/esm2015/lib/shared/services/jurisdiction/index.js +2 -0
  323. package/esm2015/lib/shared/services/jurisdiction/jurisdiction.service.js +18 -0
  324. package/esm2015/lib/shared/services/loading/index.js +3 -0
  325. package/esm2015/lib/shared/services/loading/loading.module.js +22 -0
  326. package/esm2015/lib/shared/services/loading/loading.service.js +38 -0
  327. package/esm2015/lib/shared/services/navigation/index.js +3 -0
  328. package/esm2015/lib/shared/services/navigation/navigation-notifier.service.js +18 -0
  329. package/esm2015/lib/shared/services/navigation/navigation-origin.model.js +9 -0
  330. package/esm2015/lib/shared/services/order/index.js +2 -0
  331. package/esm2015/lib/shared/services/order/order.service.js +39 -0
  332. package/esm2015/lib/shared/services/organisation/index.js +2 -0
  333. package/esm2015/lib/shared/services/organisation/organisation.service.js +57 -0
  334. package/esm2015/lib/shared/services/profile/index.js +3 -0
  335. package/esm2015/lib/shared/services/profile/profile.notifier.js +19 -0
  336. package/esm2015/lib/shared/services/profile/profile.service.js +34 -0
  337. package/esm2015/lib/shared/services/request/index.js +2 -0
  338. package/esm2015/lib/shared/services/request/request.options.builder.js +55 -0
  339. package/esm2015/lib/shared/services/router/index.js +2 -0
  340. package/esm2015/lib/shared/services/router/router-helper.service.js +20 -0
  341. package/esm2015/lib/shared/services/search/index.js +2 -0
  342. package/esm2015/lib/shared/services/search/search.service.js +83 -0
  343. package/esm2015/lib/shared/services/search-result/sorting/search-result-view-item-comparator-factory.js +71 -0
  344. package/esm2015/lib/shared/services/session/index.js +2 -0
  345. package/esm2015/lib/shared/services/session/session-storage.service.js +34 -0
  346. package/esm2015/lib/shared/services/window/index.js +2 -0
  347. package/esm2015/lib/shared/services/window/window.service.js +37 -0
  348. package/esm2015/lib/shared/services/workbasket/index.js +2 -0
  349. package/esm2015/lib/shared/services/workbasket/workbasket-input-filter.service.js +53 -0
  350. package/esm2015/lib/shared/test/test-route-snapshot-builder.js +39 -0
  351. package/esm2015/public-api.js +3 -0
  352. package/fesm2015/hmcts-ccd-case-ui-toolkit.js +5985 -0
  353. package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -0
  354. package/hmcts-ccd-case-ui-toolkit.d.ts +6 -0
  355. package/hmcts-ccd-case-ui-toolkit.d.ts.map +1 -0
  356. package/lib/app.config.d.ts +125 -0
  357. package/lib/app.config.d.ts.map +1 -0
  358. package/lib/components/banners/alert/alert-icon-class.pipe.d.ts +10 -0
  359. package/lib/components/banners/alert/alert-icon-class.pipe.d.ts.map +1 -0
  360. package/lib/components/banners/alert/alert.component.d.ts +19 -0
  361. package/lib/components/banners/alert/alert.component.d.ts.map +1 -0
  362. package/lib/components/banners/alert/alert.module.d.ts +10 -0
  363. package/lib/components/banners/alert/alert.module.d.ts.map +1 -0
  364. package/lib/components/banners/alert/index.d.ts +4 -0
  365. package/lib/components/banners/alert/index.d.ts.map +1 -0
  366. package/lib/components/banners/banners.module.d.ts +9 -0
  367. package/lib/components/banners/banners.module.d.ts.map +1 -0
  368. package/lib/components/banners/index.d.ts +2 -0
  369. package/lib/components/banners/index.d.ts.map +1 -0
  370. package/lib/components/body/body.component.d.ts +6 -0
  371. package/lib/components/body/body.component.d.ts.map +1 -0
  372. package/lib/components/body/body.module.d.ts +10 -0
  373. package/lib/components/body/body.module.d.ts.map +1 -0
  374. package/lib/components/body/index.d.ts +2 -0
  375. package/lib/components/body/index.d.ts.map +1 -0
  376. package/lib/components/footer/footer.component.d.ts +10 -0
  377. package/lib/components/footer/footer.component.d.ts.map +1 -0
  378. package/lib/components/footer/footers.module.d.ts +9 -0
  379. package/lib/components/footer/footers.module.d.ts.map +1 -0
  380. package/lib/components/footer/index.d.ts +2 -0
  381. package/lib/components/footer/index.d.ts.map +1 -0
  382. package/lib/components/form/date-input/date-input.component.d.ts +54 -0
  383. package/lib/components/form/date-input/date-input.component.d.ts.map +1 -0
  384. package/lib/components/form/date-input/index.d.ts +2 -0
  385. package/lib/components/form/date-input/index.d.ts.map +1 -0
  386. package/lib/components/form/form.module.d.ts +9 -0
  387. package/lib/components/form/form.module.d.ts.map +1 -0
  388. package/lib/components/form/index.d.ts +2 -0
  389. package/lib/components/form/index.d.ts.map +1 -0
  390. package/lib/components/header/header-bar/header-bar.component.d.ts +11 -0
  391. package/lib/components/header/header-bar/header-bar.component.d.ts.map +1 -0
  392. package/lib/components/header/header-bar/index.d.ts +2 -0
  393. package/lib/components/header/header-bar/index.d.ts.map +1 -0
  394. package/lib/components/header/headers.module.d.ts +13 -0
  395. package/lib/components/header/headers.module.d.ts.map +1 -0
  396. package/lib/components/header/index.d.ts +5 -0
  397. package/lib/components/header/index.d.ts.map +1 -0
  398. package/lib/components/header/navigation/index.d.ts +3 -0
  399. package/lib/components/header/navigation/index.d.ts.map +1 -0
  400. package/lib/components/header/navigation/navigation-item.component.d.ts +9 -0
  401. package/lib/components/header/navigation/navigation-item.component.d.ts.map +1 -0
  402. package/lib/components/header/navigation/navigation.component.d.ts +7 -0
  403. package/lib/components/header/navigation/navigation.component.d.ts.map +1 -0
  404. package/lib/components/header/phase/index.d.ts +2 -0
  405. package/lib/components/header/phase/index.d.ts.map +1 -0
  406. package/lib/components/header/phase/phase.component.d.ts +9 -0
  407. package/lib/components/header/phase/phase.component.d.ts.map +1 -0
  408. package/lib/components/index.d.ts +7 -0
  409. package/lib/components/index.d.ts.map +1 -0
  410. package/lib/components/tabs/index.d.ts +4 -0
  411. package/lib/components/tabs/index.d.ts.map +1 -0
  412. package/lib/components/tabs/tab.component.d.ts +9 -0
  413. package/lib/components/tabs/tab.component.d.ts.map +1 -0
  414. package/lib/components/tabs/tabs.component.d.ts +16 -0
  415. package/lib/components/tabs/tabs.component.d.ts.map +1 -0
  416. package/lib/components/tabs/tabs.module.d.ts +11 -0
  417. package/lib/components/tabs/tabs.module.d.ts.map +1 -0
  418. package/lib/shared/commons/constants.d.ts +8 -0
  419. package/lib/shared/commons/constants.d.ts.map +1 -0
  420. package/lib/shared/components/case-editor/case-access-utils/index.d.ts +25 -0
  421. package/lib/shared/components/case-editor/case-access-utils/index.d.ts.map +1 -0
  422. package/lib/shared/components/case-editor/domain/confirmation.model.d.ts +12 -0
  423. package/lib/shared/components/case-editor/domain/confirmation.model.d.ts.map +1 -0
  424. package/lib/shared/components/case-editor/domain/event-completion-return-states.enum.model.d.ts +6 -0
  425. package/lib/shared/components/case-editor/domain/event-completion-return-states.enum.model.d.ts.map +1 -0
  426. package/lib/shared/components/case-editor/domain/event-completion-state-machine-context.model.d.ts +24 -0
  427. package/lib/shared/components/case-editor/domain/event-completion-state-machine-context.model.d.ts.map +1 -0
  428. package/lib/shared/components/case-editor/domain/event-completion-states.enum.model.d.ts +13 -0
  429. package/lib/shared/components/case-editor/domain/event-completion-states.enum.model.d.ts.map +1 -0
  430. package/lib/shared/components/case-editor/domain/index.d.ts +8 -0
  431. package/lib/shared/components/case-editor/domain/index.d.ts.map +1 -0
  432. package/lib/shared/components/case-editor/domain/wizard-page-field-complex-override.model.d.ts +8 -0
  433. package/lib/shared/components/case-editor/domain/wizard-page-field-complex-override.model.d.ts.map +1 -0
  434. package/lib/shared/components/case-editor/domain/wizard-page-field.model.d.ts +9 -0
  435. package/lib/shared/components/case-editor/domain/wizard-page-field.model.d.ts.map +1 -0
  436. package/lib/shared/components/case-editor/domain/wizard-page.model.d.ts +17 -0
  437. package/lib/shared/components/case-editor/domain/wizard-page.model.d.ts.map +1 -0
  438. package/lib/shared/components/case-editor/domain/wizard.model.d.ts +18 -0
  439. package/lib/shared/components/case-editor/domain/wizard.model.d.ts.map +1 -0
  440. package/lib/shared/components/case-editor/services/case.notifier.d.ts +12 -0
  441. package/lib/shared/components/case-editor/services/case.notifier.d.ts.map +1 -0
  442. package/lib/shared/components/case-editor/services/cases.service.d.ts +59 -0
  443. package/lib/shared/components/case-editor/services/cases.service.d.ts.map +1 -0
  444. package/lib/shared/components/case-editor/services/wizard-page-field-to-case-field.mapper.d.ts +17 -0
  445. package/lib/shared/components/case-editor/services/wizard-page-field-to-case-field.mapper.d.ts.map +1 -0
  446. package/lib/shared/components/case-editor/services/work-allocation.service.d.ts +72 -0
  447. package/lib/shared/components/case-editor/services/work-allocation.service.d.ts.map +1 -0
  448. package/lib/shared/components/dialogs/document-dialog/document-dialog.component.d.ts +14 -0
  449. package/lib/shared/components/dialogs/document-dialog/document-dialog.component.d.ts.map +1 -0
  450. package/lib/shared/components/dialogs/remove-dialog/remove-dialog.component.d.ts +12 -0
  451. package/lib/shared/components/dialogs/remove-dialog/remove-dialog.component.d.ts.map +1 -0
  452. package/lib/shared/components/helpers/index.d.ts +2 -0
  453. package/lib/shared/components/helpers/index.d.ts.map +1 -0
  454. package/lib/shared/components/helpers/init-dialog-helper.d.ts +3 -0
  455. package/lib/shared/components/helpers/init-dialog-helper.d.ts.map +1 -0
  456. package/lib/shared/components/palette/address/address-option.model.d.ts +10 -0
  457. package/lib/shared/components/palette/address/address-option.model.d.ts.map +1 -0
  458. package/lib/shared/components/palette/address/write-address-field.component.d.ts +36 -0
  459. package/lib/shared/components/palette/address/write-address-field.component.d.ts.map +1 -0
  460. package/lib/shared/components/palette/base-field/abstract-field-read.component.d.ts +17 -0
  461. package/lib/shared/components/palette/base-field/abstract-field-read.component.d.ts.map +1 -0
  462. package/lib/shared/components/palette/base-field/abstract-field-write.component.d.ts +17 -0
  463. package/lib/shared/components/palette/base-field/abstract-field-write.component.d.ts.map +1 -0
  464. package/lib/shared/components/palette/base-field/abstract-form-field.component.d.ts +20 -0
  465. package/lib/shared/components/palette/base-field/abstract-form-field.component.d.ts.map +1 -0
  466. package/lib/shared/components/palette/base-field/field-read-label.component.d.ts +16 -0
  467. package/lib/shared/components/palette/base-field/field-read-label.component.d.ts.map +1 -0
  468. package/lib/shared/components/palette/base-field/field-read.component.d.ts +20 -0
  469. package/lib/shared/components/palette/base-field/field-read.component.d.ts.map +1 -0
  470. package/lib/shared/components/palette/base-field/field-write.component.d.ts +19 -0
  471. package/lib/shared/components/palette/base-field/field-write.component.d.ts.map +1 -0
  472. package/lib/shared/components/palette/base-field/index.d.ts +8 -0
  473. package/lib/shared/components/palette/base-field/index.d.ts.map +1 -0
  474. package/lib/shared/components/palette/base-field/palette-context.enum.d.ts +6 -0
  475. package/lib/shared/components/palette/base-field/palette-context.enum.d.ts.map +1 -0
  476. package/lib/shared/components/palette/base-field/payment-field.component.d.ts +14 -0
  477. package/lib/shared/components/palette/base-field/payment-field.component.d.ts.map +1 -0
  478. package/lib/shared/components/palette/case-link/read-case-link-field.component.d.ts +8 -0
  479. package/lib/shared/components/palette/case-link/read-case-link-field.component.d.ts.map +1 -0
  480. package/lib/shared/components/palette/case-link/write-case-link-field.component.d.ts +16 -0
  481. package/lib/shared/components/palette/case-link/write-case-link-field.component.d.ts.map +1 -0
  482. package/lib/shared/components/palette/collection/collection-create-checker.service.d.ts +13 -0
  483. package/lib/shared/components/palette/collection/collection-create-checker.service.d.ts.map +1 -0
  484. package/lib/shared/components/palette/collection/index.d.ts +3 -0
  485. package/lib/shared/components/palette/collection/index.d.ts.map +1 -0
  486. package/lib/shared/components/palette/collection/read-collection-field.component.d.ts +11 -0
  487. package/lib/shared/components/palette/collection/read-collection-field.component.d.ts.map +1 -0
  488. package/lib/shared/components/palette/collection/write-collection-field.component.d.ts +56 -0
  489. package/lib/shared/components/palette/collection/write-collection-field.component.d.ts.map +1 -0
  490. package/lib/shared/components/palette/complex/ccd-collection-table-value-case-fields.pipe.d.ts +11 -0
  491. package/lib/shared/components/palette/complex/ccd-collection-table-value-case-fields.pipe.d.ts.map +1 -0
  492. package/lib/shared/components/palette/complex/ccd-cyapage-label-filter.pipe.d.ts +10 -0
  493. package/lib/shared/components/palette/complex/ccd-cyapage-label-filter.pipe.d.ts.map +1 -0
  494. package/lib/shared/components/palette/complex/ccd-read-fields-filter.pipe.d.ts +27 -0
  495. package/lib/shared/components/palette/complex/ccd-read-fields-filter.pipe.d.ts.map +1 -0
  496. package/lib/shared/components/palette/complex/ccd-tab-fields.pipe.d.ts +10 -0
  497. package/lib/shared/components/palette/complex/ccd-tab-fields.pipe.d.ts.map +1 -0
  498. package/lib/shared/components/palette/complex/cdd-page-fields.pipe.d.ts +11 -0
  499. package/lib/shared/components/palette/complex/cdd-page-fields.pipe.d.ts.map +1 -0
  500. package/lib/shared/components/palette/complex/fields-filter.pipe.d.ts +23 -0
  501. package/lib/shared/components/palette/complex/fields-filter.pipe.d.ts.map +1 -0
  502. package/lib/shared/components/palette/complex/index.d.ts +12 -0
  503. package/lib/shared/components/palette/complex/index.d.ts.map +1 -0
  504. package/lib/shared/components/palette/complex/read-complex-field-collection-table.component.d.ts +32 -0
  505. package/lib/shared/components/palette/complex/read-complex-field-collection-table.component.d.ts.map +1 -0
  506. package/lib/shared/components/palette/complex/read-complex-field-raw.component.d.ts +13 -0
  507. package/lib/shared/components/palette/complex/read-complex-field-raw.component.d.ts.map +1 -0
  508. package/lib/shared/components/palette/complex/read-complex-field-table.component.d.ts +9 -0
  509. package/lib/shared/components/palette/complex/read-complex-field-table.component.d.ts.map +1 -0
  510. package/lib/shared/components/palette/complex/read-complex-field.component.d.ts +13 -0
  511. package/lib/shared/components/palette/complex/read-complex-field.component.d.ts.map +1 -0
  512. package/lib/shared/components/palette/complex/sort-order.d.ts +6 -0
  513. package/lib/shared/components/palette/complex/sort-order.d.ts.map +1 -0
  514. package/lib/shared/components/palette/complex/write-complex-field.component.d.ts +30 -0
  515. package/lib/shared/components/palette/complex/write-complex-field.component.d.ts.map +1 -0
  516. package/lib/shared/components/palette/date/index.d.ts +4 -0
  517. package/lib/shared/components/palette/date/index.d.ts.map +1 -0
  518. package/lib/shared/components/palette/date/read-date-field.component.d.ts +8 -0
  519. package/lib/shared/components/palette/date/read-date-field.component.d.ts.map +1 -0
  520. package/lib/shared/components/palette/date/write-date-container-field.component.d.ts +7 -0
  521. package/lib/shared/components/palette/date/write-date-container-field.component.d.ts.map +1 -0
  522. package/lib/shared/components/palette/date/write-date-field.component.d.ts +12 -0
  523. package/lib/shared/components/palette/date/write-date-field.component.d.ts.map +1 -0
  524. package/lib/shared/components/palette/datetime-picker/datetime-picker-utils.d.ts +3 -0
  525. package/lib/shared/components/palette/datetime-picker/datetime-picker-utils.d.ts.map +1 -0
  526. package/lib/shared/components/palette/datetime-picker/datetime-picker.component.d.ts +53 -0
  527. package/lib/shared/components/palette/datetime-picker/datetime-picker.component.d.ts.map +1 -0
  528. package/lib/shared/components/palette/datetime-picker/index.d.ts +2 -0
  529. package/lib/shared/components/palette/datetime-picker/index.d.ts.map +1 -0
  530. package/lib/shared/components/palette/document/document-url.pipe.d.ts +11 -0
  531. package/lib/shared/components/palette/document/document-url.pipe.d.ts.map +1 -0
  532. package/lib/shared/components/palette/document/file-upload-progress.guard.d.ts +14 -0
  533. package/lib/shared/components/palette/document/file-upload-progress.guard.d.ts.map +1 -0
  534. package/lib/shared/components/palette/document/file-upload-state.service.d.ts +9 -0
  535. package/lib/shared/components/palette/document/file-upload-state.service.d.ts.map +1 -0
  536. package/lib/shared/components/palette/document/index.d.ts +4 -0
  537. package/lib/shared/components/palette/document/index.d.ts.map +1 -0
  538. package/lib/shared/components/palette/document/read-document-field.component.d.ts +24 -0
  539. package/lib/shared/components/palette/document/read-document-field.component.d.ts.map +1 -0
  540. package/lib/shared/components/palette/document/write-document-field.component.d.ts +66 -0
  541. package/lib/shared/components/palette/document/write-document-field.component.d.ts.map +1 -0
  542. package/lib/shared/components/palette/dynamic-list/dynamic-list.pipe.d.ts +10 -0
  543. package/lib/shared/components/palette/dynamic-list/dynamic-list.pipe.d.ts.map +1 -0
  544. package/lib/shared/components/palette/dynamic-list/index.d.ts +4 -0
  545. package/lib/shared/components/palette/dynamic-list/index.d.ts.map +1 -0
  546. package/lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.d.ts +9 -0
  547. package/lib/shared/components/palette/dynamic-list/read-dynamic-list-field.component.d.ts.map +1 -0
  548. package/lib/shared/components/palette/dynamic-list/write-dynamic-list-field.component.d.ts +11 -0
  549. package/lib/shared/components/palette/dynamic-list/write-dynamic-list-field.component.d.ts.map +1 -0
  550. package/lib/shared/components/palette/dynamic-radio-list/dynamic-radio-list.pipe.d.ts +10 -0
  551. package/lib/shared/components/palette/dynamic-radio-list/dynamic-radio-list.pipe.d.ts.map +1 -0
  552. package/lib/shared/components/palette/dynamic-radio-list/index.d.ts +4 -0
  553. package/lib/shared/components/palette/dynamic-radio-list/index.d.ts.map +1 -0
  554. package/lib/shared/components/palette/dynamic-radio-list/read-dynamic-radio-list-field.component.d.ts +9 -0
  555. package/lib/shared/components/palette/dynamic-radio-list/read-dynamic-radio-list-field.component.d.ts.map +1 -0
  556. package/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.d.ts +12 -0
  557. package/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.d.ts.map +1 -0
  558. package/lib/shared/components/palette/email/index.d.ts +3 -0
  559. package/lib/shared/components/palette/email/index.d.ts.map +1 -0
  560. package/lib/shared/components/palette/email/read-email-field.component.d.ts +8 -0
  561. package/lib/shared/components/palette/email/read-email-field.component.d.ts.map +1 -0
  562. package/lib/shared/components/palette/email/write-email-field.component.d.ts +11 -0
  563. package/lib/shared/components/palette/email/write-email-field.component.d.ts.map +1 -0
  564. package/lib/shared/components/palette/fixed-list/fixed-list.pipe.d.ts +10 -0
  565. package/lib/shared/components/palette/fixed-list/fixed-list.pipe.d.ts.map +1 -0
  566. package/lib/shared/components/palette/fixed-list/index.d.ts +4 -0
  567. package/lib/shared/components/palette/fixed-list/index.d.ts.map +1 -0
  568. package/lib/shared/components/palette/fixed-list/read-fixed-list-field.component.d.ts +7 -0
  569. package/lib/shared/components/palette/fixed-list/read-fixed-list-field.component.d.ts.map +1 -0
  570. package/lib/shared/components/palette/fixed-list/write-fixed-list-field.component.d.ts +12 -0
  571. package/lib/shared/components/palette/fixed-list/write-fixed-list-field.component.d.ts.map +1 -0
  572. package/lib/shared/components/palette/fixed-radio-list/fixed-radio-list.pipe.d.ts +10 -0
  573. package/lib/shared/components/palette/fixed-radio-list/fixed-radio-list.pipe.d.ts.map +1 -0
  574. package/lib/shared/components/palette/fixed-radio-list/index.d.ts +4 -0
  575. package/lib/shared/components/palette/fixed-radio-list/index.d.ts.map +1 -0
  576. package/lib/shared/components/palette/fixed-radio-list/read-fixed-radio-list-field.component.d.ts +7 -0
  577. package/lib/shared/components/palette/fixed-radio-list/read-fixed-radio-list-field.component.d.ts.map +1 -0
  578. package/lib/shared/components/palette/fixed-radio-list/write-fixed-radio-list-field.component.d.ts +11 -0
  579. package/lib/shared/components/palette/fixed-radio-list/write-fixed-radio-list-field.component.d.ts.map +1 -0
  580. package/lib/shared/components/palette/history/case-history-viewer-field.component.d.ts +7 -0
  581. package/lib/shared/components/palette/history/case-history-viewer-field.component.d.ts.map +1 -0
  582. package/lib/shared/components/palette/history/event-log/event-log-details.component.d.ts +8 -0
  583. package/lib/shared/components/palette/history/event-log/event-log-details.component.d.ts.map +1 -0
  584. package/lib/shared/components/palette/history/event-log/event-log-table.component.d.ts +22 -0
  585. package/lib/shared/components/palette/history/event-log/event-log-table.component.d.ts.map +1 -0
  586. package/lib/shared/components/palette/history/event-log/event-log.component.d.ts +15 -0
  587. package/lib/shared/components/palette/history/event-log/event-log.component.d.ts.map +1 -0
  588. package/lib/shared/components/palette/history/event-log/index.d.ts +4 -0
  589. package/lib/shared/components/palette/history/event-log/index.d.ts.map +1 -0
  590. package/lib/shared/components/palette/history/index.d.ts +3 -0
  591. package/lib/shared/components/palette/history/index.d.ts.map +1 -0
  592. package/lib/shared/components/palette/label/index.d.ts +2 -0
  593. package/lib/shared/components/palette/label/index.d.ts.map +1 -0
  594. package/lib/shared/components/palette/label/label-field.component.d.ts +10 -0
  595. package/lib/shared/components/palette/label/label-field.component.d.ts.map +1 -0
  596. package/lib/shared/components/palette/markdown/index.d.ts +2 -0
  597. package/lib/shared/components/palette/markdown/index.d.ts.map +1 -0
  598. package/lib/shared/components/palette/markdown/markdown.component.d.ts +12 -0
  599. package/lib/shared/components/palette/markdown/markdown.component.d.ts.map +1 -0
  600. package/lib/shared/components/palette/money-gbp/index.d.ts +4 -0
  601. package/lib/shared/components/palette/money-gbp/index.d.ts.map +1 -0
  602. package/lib/shared/components/palette/money-gbp/money-gbp-input.component.d.ts +23 -0
  603. package/lib/shared/components/palette/money-gbp/money-gbp-input.component.d.ts.map +1 -0
  604. package/lib/shared/components/palette/money-gbp/read-money-gbp-field.component.d.ts +12 -0
  605. package/lib/shared/components/palette/money-gbp/read-money-gbp-field.component.d.ts.map +1 -0
  606. package/lib/shared/components/palette/money-gbp/write-money-gbp-field.component.d.ts +11 -0
  607. package/lib/shared/components/palette/money-gbp/write-money-gbp-field.component.d.ts.map +1 -0
  608. package/lib/shared/components/palette/multi-select-list/index.d.ts +3 -0
  609. package/lib/shared/components/palette/multi-select-list/index.d.ts.map +1 -0
  610. package/lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.d.ts +7 -0
  611. package/lib/shared/components/palette/multi-select-list/read-multi-select-list-field.component.d.ts.map +1 -0
  612. package/lib/shared/components/palette/multi-select-list/write-multi-select-list-field.component.d.ts +13 -0
  613. package/lib/shared/components/palette/multi-select-list/write-multi-select-list-field.component.d.ts.map +1 -0
  614. package/lib/shared/components/palette/number/index.d.ts +3 -0
  615. package/lib/shared/components/palette/number/index.d.ts.map +1 -0
  616. package/lib/shared/components/palette/number/read-number-field.component.d.ts +7 -0
  617. package/lib/shared/components/palette/number/read-number-field.component.d.ts.map +1 -0
  618. package/lib/shared/components/palette/number/write-number-field.component.d.ts +11 -0
  619. package/lib/shared/components/palette/number/write-number-field.component.d.ts.map +1 -0
  620. package/lib/shared/components/palette/order-summary/fee-value.model.d.ts +5 -0
  621. package/lib/shared/components/palette/order-summary/fee-value.model.d.ts.map +1 -0
  622. package/lib/shared/components/palette/order-summary/fee.model.d.ts +7 -0
  623. package/lib/shared/components/palette/order-summary/fee.model.d.ts.map +1 -0
  624. package/lib/shared/components/palette/order-summary/index.d.ts +7 -0
  625. package/lib/shared/components/palette/order-summary/index.d.ts.map +1 -0
  626. package/lib/shared/components/palette/order-summary/order-summary.model.d.ts +7 -0
  627. package/lib/shared/components/palette/order-summary/order-summary.model.d.ts.map +1 -0
  628. package/lib/shared/components/palette/order-summary/read-order-summary-field.component.d.ts +10 -0
  629. package/lib/shared/components/palette/order-summary/read-order-summary-field.component.d.ts.map +1 -0
  630. package/lib/shared/components/palette/order-summary/read-order-summary-row.component.d.ts +12 -0
  631. package/lib/shared/components/palette/order-summary/read-order-summary-row.component.d.ts.map +1 -0
  632. package/lib/shared/components/palette/order-summary/write-order-summary-field.component.d.ts +10 -0
  633. package/lib/shared/components/palette/order-summary/write-order-summary-field.component.d.ts.map +1 -0
  634. package/lib/shared/components/palette/organisation/index.d.ts +6 -0
  635. package/lib/shared/components/palette/organisation/index.d.ts.map +1 -0
  636. package/lib/shared/components/palette/organisation/read-organisation-field-raw.component.d.ts +20 -0
  637. package/lib/shared/components/palette/organisation/read-organisation-field-raw.component.d.ts.map +1 -0
  638. package/lib/shared/components/palette/organisation/read-organisation-field-table.component.d.ts +20 -0
  639. package/lib/shared/components/palette/organisation/read-organisation-field-table.component.d.ts.map +1 -0
  640. package/lib/shared/components/palette/organisation/read-organisation-field.component.d.ts +13 -0
  641. package/lib/shared/components/palette/organisation/read-organisation-field.component.d.ts.map +1 -0
  642. package/lib/shared/components/palette/organisation/write-organisation-complex-field.component.d.ts +11 -0
  643. package/lib/shared/components/palette/organisation/write-organisation-complex-field.component.d.ts.map +1 -0
  644. package/lib/shared/components/palette/organisation/write-organisation-field.component.d.ts +47 -0
  645. package/lib/shared/components/palette/organisation/write-organisation-field.component.d.ts.map +1 -0
  646. package/lib/shared/components/palette/palette.module.d.ts +99 -0
  647. package/lib/shared/components/palette/palette.module.d.ts.map +1 -0
  648. package/lib/shared/components/palette/palette.service.d.ts +9 -0
  649. package/lib/shared/components/palette/palette.service.d.ts.map +1 -0
  650. package/lib/shared/components/palette/payment/case-payment-history-viewer-field.component.d.ts +10 -0
  651. package/lib/shared/components/palette/payment/case-payment-history-viewer-field.component.d.ts.map +1 -0
  652. package/lib/shared/components/palette/payment/index.d.ts +2 -0
  653. package/lib/shared/components/palette/payment/index.d.ts.map +1 -0
  654. package/lib/shared/components/palette/phone-uk/index.d.ts +3 -0
  655. package/lib/shared/components/palette/phone-uk/index.d.ts.map +1 -0
  656. package/lib/shared/components/palette/phone-uk/read-phone-uk-field.component.d.ts +7 -0
  657. package/lib/shared/components/palette/phone-uk/read-phone-uk-field.component.d.ts.map +1 -0
  658. package/lib/shared/components/palette/phone-uk/write-phone-uk-field.component.d.ts +11 -0
  659. package/lib/shared/components/palette/phone-uk/write-phone-uk-field.component.d.ts.map +1 -0
  660. package/lib/shared/components/palette/text/index.d.ts +3 -0
  661. package/lib/shared/components/palette/text/index.d.ts.map +1 -0
  662. package/lib/shared/components/palette/text/read-text-field.component.d.ts +7 -0
  663. package/lib/shared/components/palette/text/read-text-field.component.d.ts.map +1 -0
  664. package/lib/shared/components/palette/text/write-text-field.component.d.ts +12 -0
  665. package/lib/shared/components/palette/text/write-text-field.component.d.ts.map +1 -0
  666. package/lib/shared/components/palette/text-area/index.d.ts +3 -0
  667. package/lib/shared/components/palette/text-area/index.d.ts.map +1 -0
  668. package/lib/shared/components/palette/text-area/read-text-area-field.component.d.ts +7 -0
  669. package/lib/shared/components/palette/text-area/read-text-area-field.component.d.ts.map +1 -0
  670. package/lib/shared/components/palette/text-area/write-text-area-field.component.d.ts +15 -0
  671. package/lib/shared/components/palette/text-area/write-text-area-field.component.d.ts.map +1 -0
  672. package/lib/shared/components/palette/unsupported-field.component.d.ts +6 -0
  673. package/lib/shared/components/palette/unsupported-field.component.d.ts.map +1 -0
  674. package/lib/shared/components/palette/utils/dash.pipe.d.ts +8 -0
  675. package/lib/shared/components/palette/utils/dash.pipe.d.ts.map +1 -0
  676. package/lib/shared/components/palette/utils/date.pipe.d.ts +23 -0
  677. package/lib/shared/components/palette/utils/date.pipe.d.ts.map +1 -0
  678. package/lib/shared/components/palette/utils/field-label.pipe.d.ts +9 -0
  679. package/lib/shared/components/palette/utils/field-label.pipe.d.ts.map +1 -0
  680. package/lib/shared/components/palette/utils/first-error.pipe.d.ts +9 -0
  681. package/lib/shared/components/palette/utils/first-error.pipe.d.ts.map +1 -0
  682. package/lib/shared/components/palette/utils/index.d.ts +10 -0
  683. package/lib/shared/components/palette/utils/index.d.ts.map +1 -0
  684. package/lib/shared/components/palette/utils/is-compound.pipe.d.ts +11 -0
  685. package/lib/shared/components/palette/utils/is-compound.pipe.d.ts.map +1 -0
  686. package/lib/shared/components/palette/utils/is-mandatory.pipe.d.ts +12 -0
  687. package/lib/shared/components/palette/utils/is-mandatory.pipe.d.ts.map +1 -0
  688. package/lib/shared/components/palette/utils/is-read-only-and-not-collection.pipe.d.ts +13 -0
  689. package/lib/shared/components/palette/utils/is-read-only-and-not-collection.pipe.d.ts.map +1 -0
  690. package/lib/shared/components/palette/utils/is-read-only.pipe.d.ts +12 -0
  691. package/lib/shared/components/palette/utils/is-read-only.pipe.d.ts.map +1 -0
  692. package/lib/shared/components/palette/utils/utils.module.d.ts +16 -0
  693. package/lib/shared/components/palette/utils/utils.module.d.ts.map +1 -0
  694. package/lib/shared/components/palette/waystopay/index.d.ts +2 -0
  695. package/lib/shared/components/palette/waystopay/index.d.ts.map +1 -0
  696. package/lib/shared/components/palette/waystopay/waystopay-field.component.d.ts +11 -0
  697. package/lib/shared/components/palette/waystopay/waystopay-field.component.d.ts.map +1 -0
  698. package/lib/shared/components/palette/yes-no/index.d.ts +4 -0
  699. package/lib/shared/components/palette/yes-no/index.d.ts.map +1 -0
  700. package/lib/shared/components/palette/yes-no/read-yes-no-field.component.d.ts +13 -0
  701. package/lib/shared/components/palette/yes-no/read-yes-no-field.component.d.ts.map +1 -0
  702. package/lib/shared/components/palette/yes-no/write-yes-no-field.component.d.ts +15 -0
  703. package/lib/shared/components/palette/yes-no/write-yes-no-field.component.d.ts.map +1 -0
  704. package/lib/shared/components/palette/yes-no/yes-no.service.d.ts +14 -0
  705. package/lib/shared/components/palette/yes-no/yes-no.service.d.ts.map +1 -0
  706. package/lib/shared/components/search-filters/domain/index.d.ts +2 -0
  707. package/lib/shared/components/search-filters/domain/index.d.ts.map +1 -0
  708. package/lib/shared/components/search-filters/domain/search-input.model.d.ts +11 -0
  709. package/lib/shared/components/search-filters/domain/search-input.model.d.ts.map +1 -0
  710. package/lib/shared/components/search-filters/index.d.ts +5 -0
  711. package/lib/shared/components/search-filters/index.d.ts.map +1 -0
  712. package/lib/shared/components/search-filters/search-filters-wrapper.component.d.ts +21 -0
  713. package/lib/shared/components/search-filters/search-filters-wrapper.component.d.ts.map +1 -0
  714. package/lib/shared/components/search-filters/search-filters.component.d.ts +57 -0
  715. package/lib/shared/components/search-filters/search-filters.component.d.ts.map +1 -0
  716. package/lib/shared/components/search-filters/search-filters.module.d.ts +13 -0
  717. package/lib/shared/components/search-filters/search-filters.module.d.ts.map +1 -0
  718. package/lib/shared/directives/conditional-show/conditional-show-form.directive.d.ts +40 -0
  719. package/lib/shared/directives/conditional-show/conditional-show-form.directive.d.ts.map +1 -0
  720. package/lib/shared/directives/conditional-show/conditional-show.module.d.ts +8 -0
  721. package/lib/shared/directives/conditional-show/conditional-show.module.d.ts.map +1 -0
  722. package/lib/shared/directives/conditional-show/domain/conditional-show.model.d.ts +56 -0
  723. package/lib/shared/directives/conditional-show/domain/conditional-show.model.d.ts.map +1 -0
  724. package/lib/shared/directives/conditional-show/domain/index.d.ts +2 -0
  725. package/lib/shared/directives/conditional-show/domain/index.d.ts.map +1 -0
  726. package/lib/shared/directives/conditional-show/index.d.ts +5 -0
  727. package/lib/shared/directives/conditional-show/index.d.ts.map +1 -0
  728. package/lib/shared/directives/conditional-show/services/conditional-show-registrar.service.d.ts +10 -0
  729. package/lib/shared/directives/conditional-show/services/conditional-show-registrar.service.d.ts.map +1 -0
  730. package/lib/shared/directives/conditional-show/services/grey-bar.service.d.ts +22 -0
  731. package/lib/shared/directives/conditional-show/services/grey-bar.service.d.ts.map +1 -0
  732. package/lib/shared/directives/conditional-show/services/index.d.ts +3 -0
  733. package/lib/shared/directives/conditional-show/services/index.d.ts.map +1 -0
  734. package/lib/shared/directives/focus-element/focus-element.directive.d.ts +12 -0
  735. package/lib/shared/directives/focus-element/focus-element.directive.d.ts.map +1 -0
  736. package/lib/shared/directives/focus-element/focus-element.module.d.ts +8 -0
  737. package/lib/shared/directives/focus-element/focus-element.module.d.ts.map +1 -0
  738. package/lib/shared/directives/focus-element/index.d.ts +3 -0
  739. package/lib/shared/directives/focus-element/index.d.ts.map +1 -0
  740. package/lib/shared/directives/index.d.ts +4 -0
  741. package/lib/shared/directives/index.d.ts.map +1 -0
  742. package/lib/shared/directives/substitutor/index.d.ts +4 -0
  743. package/lib/shared/directives/substitutor/index.d.ts.map +1 -0
  744. package/lib/shared/directives/substitutor/label-substitutor.directive.d.ts +27 -0
  745. package/lib/shared/directives/substitutor/label-substitutor.directive.d.ts.map +1 -0
  746. package/lib/shared/directives/substitutor/label-substitutor.module.d.ts +8 -0
  747. package/lib/shared/directives/substitutor/label-substitutor.module.d.ts.map +1 -0
  748. package/lib/shared/directives/substitutor/services/index.d.ts +2 -0
  749. package/lib/shared/directives/substitutor/services/index.d.ts.map +1 -0
  750. package/lib/shared/directives/substitutor/services/placeholder.service.d.ts +64 -0
  751. package/lib/shared/directives/substitutor/services/placeholder.service.d.ts.map +1 -0
  752. package/lib/shared/domain/activity/activity.model.d.ts +16 -0
  753. package/lib/shared/domain/activity/activity.model.d.ts.map +1 -0
  754. package/lib/shared/domain/activity/index.d.ts +2 -0
  755. package/lib/shared/domain/activity/index.d.ts.map +1 -0
  756. package/lib/shared/domain/addresses/address.model.d.ts +10 -0
  757. package/lib/shared/domain/addresses/address.model.d.ts.map +1 -0
  758. package/lib/shared/domain/addresses/index.d.ts +2 -0
  759. package/lib/shared/domain/addresses/index.d.ts.map +1 -0
  760. package/lib/shared/domain/alert/alert-level.model.d.ts +2 -0
  761. package/lib/shared/domain/alert/alert-level.model.d.ts.map +1 -0
  762. package/lib/shared/domain/alert/alert.model.d.ts +6 -0
  763. package/lib/shared/domain/alert/alert.model.d.ts.map +1 -0
  764. package/lib/shared/domain/alert/index.d.ts +3 -0
  765. package/lib/shared/domain/alert/index.d.ts.map +1 -0
  766. package/lib/shared/domain/case-details.model.d.ts +12 -0
  767. package/lib/shared/domain/case-details.model.d.ts.map +1 -0
  768. package/lib/shared/domain/case-event-data.model.d.ts +14 -0
  769. package/lib/shared/domain/case-event-data.model.d.ts.map +1 -0
  770. package/lib/shared/domain/case-view/access-types.model.d.ts +5 -0
  771. package/lib/shared/domain/case-view/access-types.model.d.ts.map +1 -0
  772. package/lib/shared/domain/case-view/case-event-trigger.model.d.ts +18 -0
  773. package/lib/shared/domain/case-view/case-event-trigger.model.d.ts.map +1 -0
  774. package/lib/shared/domain/case-view/case-print-document.model.d.ts +6 -0
  775. package/lib/shared/domain/case-view/case-print-document.model.d.ts.map +1 -0
  776. package/lib/shared/domain/case-view/case-tab.model.d.ts +10 -0
  777. package/lib/shared/domain/case-view/case-tab.model.d.ts.map +1 -0
  778. package/lib/shared/domain/case-view/case-view-event.model.d.ts +19 -0
  779. package/lib/shared/domain/case-view/case-view-event.model.d.ts.map +1 -0
  780. package/lib/shared/domain/case-view/case-view-trigger.model.d.ts +9 -0
  781. package/lib/shared/domain/case-view/case-view-trigger.model.d.ts.map +1 -0
  782. package/lib/shared/domain/case-view/case-view.model.d.ts +36 -0
  783. package/lib/shared/domain/case-view/case-view.model.d.ts.map +1 -0
  784. package/lib/shared/domain/case-view/challenged-access-request.model.d.ts +6 -0
  785. package/lib/shared/domain/case-view/challenged-access-request.model.d.ts.map +1 -0
  786. package/lib/shared/domain/case-view/index.d.ts +12 -0
  787. package/lib/shared/domain/case-view/index.d.ts.map +1 -0
  788. package/lib/shared/domain/case-view/review-specific-access-request.model.d.ts +5 -0
  789. package/lib/shared/domain/case-view/review-specific-access-request.model.d.ts.map +1 -0
  790. package/lib/shared/domain/case-view/role-assignment-response.model.d.ts +7 -0
  791. package/lib/shared/domain/case-view/role-assignment-response.model.d.ts.map +1 -0
  792. package/lib/shared/domain/case-view/role-request.model.d.ts +35 -0
  793. package/lib/shared/domain/case-view/role-request.model.d.ts.map +1 -0
  794. package/lib/shared/domain/case-view/specific-access-request.model.d.ts +4 -0
  795. package/lib/shared/domain/case-view/specific-access-request.model.d.ts.map +1 -0
  796. package/lib/shared/domain/definition/access-control-list.model.d.ts +8 -0
  797. package/lib/shared/domain/definition/access-control-list.model.d.ts.map +1 -0
  798. package/lib/shared/domain/definition/banner.model.d.ts +8 -0
  799. package/lib/shared/domain/definition/banner.model.d.ts.map +1 -0
  800. package/lib/shared/domain/definition/case-event.model.d.ts +14 -0
  801. package/lib/shared/domain/definition/case-event.model.d.ts.map +1 -0
  802. package/lib/shared/domain/definition/case-field.model.d.ts +44 -0
  803. package/lib/shared/domain/definition/case-field.model.d.ts.map +1 -0
  804. package/lib/shared/domain/definition/case-state.model.d.ts +8 -0
  805. package/lib/shared/domain/definition/case-state.model.d.ts.map +1 -0
  806. package/lib/shared/domain/definition/case-type-lite.model.d.ts +10 -0
  807. package/lib/shared/domain/definition/case-type-lite.model.d.ts.map +1 -0
  808. package/lib/shared/domain/definition/case-type.model.d.ts +15 -0
  809. package/lib/shared/domain/definition/case-type.model.d.ts.map +1 -0
  810. package/lib/shared/domain/definition/event-case-field.model.d.ts +5 -0
  811. package/lib/shared/domain/definition/event-case-field.model.d.ts.map +1 -0
  812. package/lib/shared/domain/definition/field-type-enum.model.d.ts +2 -0
  813. package/lib/shared/domain/definition/field-type-enum.model.d.ts.map +1 -0
  814. package/lib/shared/domain/definition/field-type.model.d.ts +14 -0
  815. package/lib/shared/domain/definition/field-type.model.d.ts.map +1 -0
  816. package/lib/shared/domain/definition/fixed-list-item.model.d.ts +7 -0
  817. package/lib/shared/domain/definition/fixed-list-item.model.d.ts.map +1 -0
  818. package/lib/shared/domain/definition/index.d.ts +12 -0
  819. package/lib/shared/domain/definition/index.d.ts.map +1 -0
  820. package/lib/shared/domain/definition/jurisdiction.model.d.ts +8 -0
  821. package/lib/shared/domain/definition/jurisdiction.model.d.ts.map +1 -0
  822. package/lib/shared/domain/document/document-data.model.d.ts +26 -0
  823. package/lib/shared/domain/document/document-data.model.d.ts.map +1 -0
  824. package/lib/shared/domain/document/index.d.ts +2 -0
  825. package/lib/shared/domain/document/index.d.ts.map +1 -0
  826. package/lib/shared/domain/draft.model.d.ts +13 -0
  827. package/lib/shared/domain/draft.model.d.ts.map +1 -0
  828. package/lib/shared/domain/error-message.model.d.ts +9 -0
  829. package/lib/shared/domain/error-message.model.d.ts.map +1 -0
  830. package/lib/shared/domain/http/http-error.model.d.ts +18 -0
  831. package/lib/shared/domain/http/http-error.model.d.ts.map +1 -0
  832. package/lib/shared/domain/http/index.d.ts +2 -0
  833. package/lib/shared/domain/http/index.d.ts.map +1 -0
  834. package/lib/shared/domain/index.d.ts +23 -0
  835. package/lib/shared/domain/index.d.ts.map +1 -0
  836. package/lib/shared/domain/order/index.d.ts +2 -0
  837. package/lib/shared/domain/order/index.d.ts.map +1 -0
  838. package/lib/shared/domain/order/orderable.model.d.ts +4 -0
  839. package/lib/shared/domain/order/orderable.model.d.ts.map +1 -0
  840. package/lib/shared/domain/organisation/index.d.ts +3 -0
  841. package/lib/shared/domain/organisation/index.d.ts.map +1 -0
  842. package/lib/shared/domain/organisation/organisation-converter.d.ts +10 -0
  843. package/lib/shared/domain/organisation/organisation-converter.d.ts.map +1 -0
  844. package/lib/shared/domain/organisation/simple-organisation.model.d.ts +6 -0
  845. package/lib/shared/domain/organisation/simple-organisation.model.d.ts.map +1 -0
  846. package/lib/shared/domain/pagination-metadata.model.d.ts +5 -0
  847. package/lib/shared/domain/pagination-metadata.model.d.ts.map +1 -0
  848. package/lib/shared/domain/predicate.model.d.ts +2 -0
  849. package/lib/shared/domain/predicate.model.d.ts.map +1 -0
  850. package/lib/shared/domain/profile/index.d.ts +2 -0
  851. package/lib/shared/domain/profile/index.d.ts.map +1 -0
  852. package/lib/shared/domain/profile/profile.model.d.ts +24 -0
  853. package/lib/shared/domain/profile/profile.model.d.ts.map +1 -0
  854. package/lib/shared/domain/search/field.model.d.ts +11 -0
  855. package/lib/shared/domain/search/field.model.d.ts.map +1 -0
  856. package/lib/shared/domain/search/index.d.ts +5 -0
  857. package/lib/shared/domain/search/index.d.ts.map +1 -0
  858. package/lib/shared/domain/search/search-result-view-column.model.d.ts +10 -0
  859. package/lib/shared/domain/search/search-result-view-column.model.d.ts.map +1 -0
  860. package/lib/shared/domain/search/search-result-view-item.model.d.ts +10 -0
  861. package/lib/shared/domain/search/search-result-view-item.model.d.ts.map +1 -0
  862. package/lib/shared/domain/search/search-result-view.model.d.ts +9 -0
  863. package/lib/shared/domain/search/search-result-view.model.d.ts.map +1 -0
  864. package/lib/shared/domain/search/sorting/search-result-view-item-comparator.d.ts +5 -0
  865. package/lib/shared/domain/search/sorting/search-result-view-item-comparator.d.ts.map +1 -0
  866. package/lib/shared/domain/search/sorting/sort-order.d.ts +6 -0
  867. package/lib/shared/domain/search/sorting/sort-order.d.ts.map +1 -0
  868. package/lib/shared/domain/search/sorting/sort-parameters.d.ts +8 -0
  869. package/lib/shared/domain/search/sorting/sort-parameters.d.ts.map +1 -0
  870. package/lib/shared/domain/user/user-details.model.d.ts +10 -0
  871. package/lib/shared/domain/user/user-details.model.d.ts.map +1 -0
  872. package/lib/shared/domain/user/user-info.model.d.ts +11 -0
  873. package/lib/shared/domain/user/user-info.model.d.ts.map +1 -0
  874. package/lib/shared/domain/work-allocation/Task.d.ts +50 -0
  875. package/lib/shared/domain/work-allocation/Task.d.ts.map +1 -0
  876. package/lib/shared/domain/work-allocation/TaskPayload.d.ts +6 -0
  877. package/lib/shared/domain/work-allocation/TaskPayload.d.ts.map +1 -0
  878. package/lib/shared/domain/work-allocation/index.d.ts +2 -0
  879. package/lib/shared/domain/work-allocation/index.d.ts.map +1 -0
  880. package/lib/shared/domain/work-allocation/task-response.model.d.ts +5 -0
  881. package/lib/shared/domain/work-allocation/task-response.model.d.ts.map +1 -0
  882. package/lib/shared/domain/work-allocation/task-search-parameter.model.d.ts +15 -0
  883. package/lib/shared/domain/work-allocation/task-search-parameter.model.d.ts.map +1 -0
  884. package/lib/shared/domain/workbasket/index.d.ts +2 -0
  885. package/lib/shared/domain/workbasket/index.d.ts.map +1 -0
  886. package/lib/shared/domain/workbasket/workbasket-input.model.d.ts +14 -0
  887. package/lib/shared/domain/workbasket/workbasket-input.model.d.ts.map +1 -0
  888. package/lib/shared/fixture/case-field-builder.d.ts +22 -0
  889. package/lib/shared/fixture/case-field-builder.d.ts.map +1 -0
  890. package/lib/shared/fixture/shared.test.fixture.d.ts +25 -0
  891. package/lib/shared/fixture/shared.test.fixture.d.ts.map +1 -0
  892. package/lib/shared/index.d.ts +8 -0
  893. package/lib/shared/index.d.ts.map +1 -0
  894. package/lib/shared/pipes/case-reference/case-reference.pipe.d.ts +8 -0
  895. package/lib/shared/pipes/case-reference/case-reference.pipe.d.ts.map +1 -0
  896. package/lib/shared/pipes/case-reference/index.d.ts +2 -0
  897. package/lib/shared/pipes/case-reference/index.d.ts.map +1 -0
  898. package/lib/shared/pipes/case-title/ccd-case-title.pipe.d.ts +15 -0
  899. package/lib/shared/pipes/case-title/ccd-case-title.pipe.d.ts.map +1 -0
  900. package/lib/shared/pipes/case-title/index.d.ts +2 -0
  901. package/lib/shared/pipes/case-title/index.d.ts.map +1 -0
  902. package/lib/shared/pipes/index.d.ts +5 -0
  903. package/lib/shared/pipes/index.d.ts.map +1 -0
  904. package/lib/shared/pipes/pipes.module.d.ts +11 -0
  905. package/lib/shared/pipes/pipes.module.d.ts.map +1 -0
  906. package/lib/shared/pipes/search-result/sorting/sort-search-result.pipe.d.ts +10 -0
  907. package/lib/shared/pipes/search-result/sorting/sort-search-result.pipe.d.ts.map +1 -0
  908. package/lib/shared/services/activity/activity.polling.service.d.ts +30 -0
  909. package/lib/shared/services/activity/activity.polling.service.d.ts.map +1 -0
  910. package/lib/shared/services/activity/activity.service.d.ts +26 -0
  911. package/lib/shared/services/activity/activity.service.d.ts.map +1 -0
  912. package/lib/shared/services/activity/index.d.ts +3 -0
  913. package/lib/shared/services/activity/index.d.ts.map +1 -0
  914. package/lib/shared/services/addresses/address-parser.d.ts +18 -0
  915. package/lib/shared/services/addresses/address-parser.d.ts.map +1 -0
  916. package/lib/shared/services/addresses/addresses.service.d.ts +21 -0
  917. package/lib/shared/services/addresses/addresses.service.d.ts.map +1 -0
  918. package/lib/shared/services/addresses/index.d.ts +2 -0
  919. package/lib/shared/services/addresses/index.d.ts.map +1 -0
  920. package/lib/shared/services/alert/alert.service.d.ts +35 -0
  921. package/lib/shared/services/alert/alert.service.d.ts.map +1 -0
  922. package/lib/shared/services/alert/index.d.ts +2 -0
  923. package/lib/shared/services/alert/index.d.ts.map +1 -0
  924. package/lib/shared/services/auth/auth.service.d.ts +16 -0
  925. package/lib/shared/services/auth/auth.service.d.ts.map +1 -0
  926. package/lib/shared/services/auth/index.d.ts +2 -0
  927. package/lib/shared/services/auth/index.d.ts.map +1 -0
  928. package/lib/shared/services/banners/banners.service.d.ts +15 -0
  929. package/lib/shared/services/banners/banners.service.d.ts.map +1 -0
  930. package/lib/shared/services/banners/index.d.ts +2 -0
  931. package/lib/shared/services/banners/index.d.ts.map +1 -0
  932. package/lib/shared/services/browser/browser.service.d.ts +9 -0
  933. package/lib/shared/services/browser/browser.service.d.ts.map +1 -0
  934. package/lib/shared/services/browser/index.d.ts +2 -0
  935. package/lib/shared/services/browser/index.d.ts.map +1 -0
  936. package/lib/shared/services/case-fields/case-field.service.d.ts +11 -0
  937. package/lib/shared/services/case-fields/case-field.service.d.ts.map +1 -0
  938. package/lib/shared/services/case-fields/format-translator.service.d.ts +16 -0
  939. package/lib/shared/services/case-fields/format-translator.service.d.ts.map +1 -0
  940. package/lib/shared/services/case-fields/index.d.ts +2 -0
  941. package/lib/shared/services/case-fields/index.d.ts.map +1 -0
  942. package/lib/shared/services/definitions/definitions.module.d.ts +7 -0
  943. package/lib/shared/services/definitions/definitions.module.d.ts.map +1 -0
  944. package/lib/shared/services/definitions/definitions.service.d.ts +16 -0
  945. package/lib/shared/services/definitions/definitions.service.d.ts.map +1 -0
  946. package/lib/shared/services/definitions/index.d.ts +3 -0
  947. package/lib/shared/services/definitions/index.d.ts.map +1 -0
  948. package/lib/shared/services/document-management/document-management.service.d.ts +34 -0
  949. package/lib/shared/services/document-management/document-management.service.d.ts.map +1 -0
  950. package/lib/shared/services/document-management/index.d.ts +2 -0
  951. package/lib/shared/services/document-management/index.d.ts.map +1 -0
  952. package/lib/shared/services/draft/draft.service.d.ts +25 -0
  953. package/lib/shared/services/draft/draft.service.d.ts.map +1 -0
  954. package/lib/shared/services/draft/index.d.ts +2 -0
  955. package/lib/shared/services/draft/index.d.ts.map +1 -0
  956. package/lib/shared/services/error/error-notifier.service.d.ts +10 -0
  957. package/lib/shared/services/error/error-notifier.service.d.ts.map +1 -0
  958. package/lib/shared/services/error/index.d.ts +2 -0
  959. package/lib/shared/services/error/index.d.ts.map +1 -0
  960. package/lib/shared/services/eventStatusService/event-status.service.d.ts +11 -0
  961. package/lib/shared/services/eventStatusService/event-status.service.d.ts.map +1 -0
  962. package/lib/shared/services/eventStatusService/index.d.ts +2 -0
  963. package/lib/shared/services/eventStatusService/index.d.ts.map +1 -0
  964. package/lib/shared/services/fields/fields.purger.d.ts +39 -0
  965. package/lib/shared/services/fields/fields.purger.d.ts.map +1 -0
  966. package/lib/shared/services/fields/fields.utils.d.ts +81 -0
  967. package/lib/shared/services/fields/fields.utils.d.ts.map +1 -0
  968. package/lib/shared/services/fields/index.d.ts +3 -0
  969. package/lib/shared/services/fields/index.d.ts.map +1 -0
  970. package/lib/shared/services/form/field-type-sanitiser.d.ts +29 -0
  971. package/lib/shared/services/form/field-type-sanitiser.d.ts.map +1 -0
  972. package/lib/shared/services/form/form-error.service.d.ts +12 -0
  973. package/lib/shared/services/form/form-error.service.d.ts.map +1 -0
  974. package/lib/shared/services/form/form-validators.service.d.ts +12 -0
  975. package/lib/shared/services/form/form-validators.service.d.ts.map +1 -0
  976. package/lib/shared/services/form/form-value.service.d.ts +172 -0
  977. package/lib/shared/services/form/form-value.service.d.ts.map +1 -0
  978. package/lib/shared/services/form/index.d.ts +5 -0
  979. package/lib/shared/services/form/index.d.ts.map +1 -0
  980. package/lib/shared/services/http/http-error.service.d.ts +19 -0
  981. package/lib/shared/services/http/http-error.service.d.ts.map +1 -0
  982. package/lib/shared/services/http/http.service.d.ts +60 -0
  983. package/lib/shared/services/http/http.service.d.ts.map +1 -0
  984. package/lib/shared/services/http/index.d.ts +3 -0
  985. package/lib/shared/services/http/index.d.ts.map +1 -0
  986. package/lib/shared/services/index.d.ts +29 -0
  987. package/lib/shared/services/index.d.ts.map +1 -0
  988. package/lib/shared/services/jurisdiction/index.d.ts +2 -0
  989. package/lib/shared/services/jurisdiction/index.d.ts.map +1 -0
  990. package/lib/shared/services/jurisdiction/jurisdiction.service.d.ts +11 -0
  991. package/lib/shared/services/jurisdiction/jurisdiction.service.d.ts.map +1 -0
  992. package/lib/shared/services/loading/index.d.ts +3 -0
  993. package/lib/shared/services/loading/index.d.ts.map +1 -0
  994. package/lib/shared/services/loading/loading.module.d.ts +7 -0
  995. package/lib/shared/services/loading/loading.module.d.ts.map +1 -0
  996. package/lib/shared/services/loading/loading.service.d.ts +16 -0
  997. package/lib/shared/services/loading/loading.service.d.ts.map +1 -0
  998. package/lib/shared/services/navigation/index.d.ts +3 -0
  999. package/lib/shared/services/navigation/index.d.ts.map +1 -0
  1000. package/lib/shared/services/navigation/navigation-notifier.service.d.ts +10 -0
  1001. package/lib/shared/services/navigation/navigation-notifier.service.d.ts.map +1 -0
  1002. package/lib/shared/services/navigation/navigation-origin.model.d.ts +8 -0
  1003. package/lib/shared/services/navigation/navigation-origin.model.d.ts.map +1 -0
  1004. package/lib/shared/services/order/index.d.ts +2 -0
  1005. package/lib/shared/services/order/index.d.ts.map +1 -0
  1006. package/lib/shared/services/order/order.service.d.ts +19 -0
  1007. package/lib/shared/services/order/order.service.d.ts.map +1 -0
  1008. package/lib/shared/services/organisation/index.d.ts +2 -0
  1009. package/lib/shared/services/organisation/index.d.ts.map +1 -0
  1010. package/lib/shared/services/organisation/organisation.service.d.ts +53 -0
  1011. package/lib/shared/services/organisation/organisation.service.d.ts.map +1 -0
  1012. package/lib/shared/services/profile/index.d.ts +3 -0
  1013. package/lib/shared/services/profile/index.d.ts.map +1 -0
  1014. package/lib/shared/services/profile/profile.notifier.d.ts +11 -0
  1015. package/lib/shared/services/profile/profile.notifier.d.ts.map +1 -0
  1016. package/lib/shared/services/profile/profile.service.d.ts +16 -0
  1017. package/lib/shared/services/profile/profile.service.d.ts.map +1 -0
  1018. package/lib/shared/services/request/index.d.ts +2 -0
  1019. package/lib/shared/services/request/index.d.ts.map +1 -0
  1020. package/lib/shared/services/request/request.options.builder.d.ts +17 -0
  1021. package/lib/shared/services/request/request.options.builder.d.ts.map +1 -0
  1022. package/lib/shared/services/router/index.d.ts +2 -0
  1023. package/lib/shared/services/router/index.d.ts.map +1 -0
  1024. package/lib/shared/services/router/router-helper.service.d.ts +8 -0
  1025. package/lib/shared/services/router/router-helper.service.d.ts.map +1 -0
  1026. package/lib/shared/services/search/index.d.ts +2 -0
  1027. package/lib/shared/services/search/index.d.ts.map +1 -0
  1028. package/lib/shared/services/search/search.service.d.ts +32 -0
  1029. package/lib/shared/services/search/search.service.d.ts.map +1 -0
  1030. package/lib/shared/services/search-result/sorting/search-result-view-item-comparator-factory.d.ts +12 -0
  1031. package/lib/shared/services/search-result/sorting/search-result-view-item-comparator-factory.d.ts.map +1 -0
  1032. package/lib/shared/services/session/index.d.ts +2 -0
  1033. package/lib/shared/services/session/index.d.ts.map +1 -0
  1034. package/lib/shared/services/session/session-storage.service.d.ts +22 -0
  1035. package/lib/shared/services/session/session-storage.service.d.ts.map +1 -0
  1036. package/lib/shared/services/window/index.d.ts +2 -0
  1037. package/lib/shared/services/window/index.d.ts.map +1 -0
  1038. package/lib/shared/services/window/window.service.d.ts +15 -0
  1039. package/lib/shared/services/window/window.service.d.ts.map +1 -0
  1040. package/lib/shared/services/workbasket/index.d.ts +2 -0
  1041. package/lib/shared/services/workbasket/index.d.ts.map +1 -0
  1042. package/lib/shared/services/workbasket/workbasket-input-filter.service.d.ts +19 -0
  1043. package/lib/shared/services/workbasket/workbasket-input-filter.service.d.ts.map +1 -0
  1044. package/lib/shared/test/test-route-snapshot-builder.d.ts +11 -0
  1045. package/lib/shared/test/test-route-snapshot-builder.d.ts.map +1 -0
  1046. package/package.json +14 -199
  1047. package/public-api.d.ts +3 -0
  1048. package/public-api.d.ts.map +1 -0
  1049. package/.editorconfig +0 -14
  1050. package/.github/CONTRIBUTING.md +0 -39
  1051. package/.github/ISSUE_TEMPLATE.md +0 -5
  1052. package/.github/PULL_REQUEST_TEMPLATE.md +0 -23
  1053. package/.github/stale.yml +0 -24
  1054. package/.github/workflows/npmpublish.yml +0 -98
  1055. package/.nyc_output/.gitkeep +0 -1
  1056. package/.project +0 -4
  1057. package/.storybook/main.js +0 -13
  1058. package/.storybook/preview.js +0 -15
  1059. package/.storybook/tsconfig.json +0 -21
  1060. package/.storybook/typings.d.ts +0 -4
  1061. package/.travis.yml +0 -54
  1062. package/LICENSE.md +0 -9
  1063. package/README.md +0 -191
  1064. package/RELEASE-NOTES.md +0 -1153
  1065. package/angular.json +0 -193
  1066. package/bin/run-yarn-audit.sh +0 -38
  1067. package/browserslist +0 -12
  1068. package/documentation.json +0 -88650
  1069. package/e2e/tsconfig.e2e.json +0 -13
  1070. package/projects/ccd-case-ui-toolkit/ng-package.json +0 -8
  1071. package/projects/ccd-case-ui-toolkit/package.json +0 -18
  1072. package/projects/ccd-case-ui-toolkit/tsconfig.lib.json +0 -33
  1073. package/projects/ccd-case-ui-toolkit/tsconfig.lib.prod.json +0 -7
  1074. package/projects/ccd-case-ui-toolkit/tsconfig.spec.json +0 -21
  1075. package/projects/ccd-case-ui-toolkit/tslint.json +0 -96
  1076. package/scripts/create-release-tag.sh +0 -23
  1077. package/sonar-project.properties +0 -12
  1078. package/storybook/assets/fonts/bold-a2452cb66f-v1.woff2 +0 -0
  1079. package/storybook/assets/fonts/bold-f38c792ac2-v1.woff +0 -0
  1080. package/storybook/assets/fonts/bold-fb2676462a-v1.eot +0 -0
  1081. package/storybook/assets/fonts/bold-tabular-357fdfbcc3-v1.eot +0 -0
  1082. package/storybook/assets/fonts/bold-tabular-784c21afb8-v1.woff +0 -0
  1083. package/storybook/assets/fonts/bold-tabular-b89238d840-v1.woff2 +0 -0
  1084. package/storybook/assets/fonts/light-2c037cf7e1-v1.eot +0 -0
  1085. package/storybook/assets/fonts/light-458f8ea81c-v1.woff +0 -0
  1086. package/storybook/assets/fonts/light-f38ad40456-v1.woff2 +0 -0
  1087. package/storybook/assets/fonts/light-tabular-498ea8ffe2-v1.eot +0 -0
  1088. package/storybook/assets/fonts/light-tabular-62cc6f0a28-v1.woff +0 -0
  1089. package/storybook/assets/fonts/light-tabular-851b10ccdd-v1.woff2 +0 -0
  1090. package/storybook/assets/images/govuk-crest-2x.png +0 -0
  1091. package/storybook/assets/images/govuk-crest.png +0 -0
  1092. package/storybook/assets/img/accordion-minus.png +0 -0
  1093. package/storybook/assets/img/accordion-plus.png +0 -0
  1094. package/storybook/assets/img/apple-touch-icon-120x120.png +0 -0
  1095. package/storybook/assets/img/apple-touch-icon-152x152.png +0 -0
  1096. package/storybook/assets/img/apple-touch-icon-60x60.png +0 -0
  1097. package/storybook/assets/img/apple-touch-icon-76x76.png +0 -0
  1098. package/storybook/assets/img/dropdown-arrow.PNG +0 -0
  1099. package/storybook/assets/img/editor.png +0 -0
  1100. package/storybook/assets/img/editorBanner.png +0 -0
  1101. package/storybook/assets/img/favicon.ico +0 -0
  1102. package/storybook/assets/img/gov.uk_logotype_crown.svg +0 -7
  1103. package/storybook/assets/img/gov.uk_logotype_crown_invert_trans.png +0 -0
  1104. package/storybook/assets/img/icon-search-white.png +0 -0
  1105. package/storybook/assets/img/viewer.png +0 -0
  1106. package/storybook/assets/img/viewerBanner.png +0 -0
  1107. package/storybook/assets/img/warning.png +0 -0
  1108. package/storybook/assets/img/x.PNG +0 -0
  1109. package/storybook/assets/sass/annotation-ui-theme.scss +0 -217
  1110. package/storybook/assets/sass/application-ie8.scss +0 -3
  1111. package/storybook/assets/sass/application.scss +0 -214
  1112. package/storybook/assets/sass/components/_cookie-banner.scss +0 -24
  1113. package/storybook/assets/sass/jui/all.scss +0 -20
  1114. package/storybook/assets/sass/jui/objects/_manifest.scss +0 -5
  1115. package/storybook/assets/sass/jui/objects/_objects.container.scss +0 -7
  1116. package/storybook/assets/sass/jui/settings/_manifest.scss +0 -6
  1117. package/storybook/assets/sass/jui/settings/_settings.aspect-ratio.scss +0 -9
  1118. package/storybook/assets/sass/jui/settings/_settings.general.scss +0 -34
  1119. package/storybook/assets/sass/patterns/_check-your-answers.scss +0 -86
  1120. package/storybook/assets/sass/patterns/_pba.scss +0 -278
  1121. package/storybook/assets/sass/patterns/_related-items.scss +0 -11
  1122. package/storybook/assets/sass/patterns/_task-list.scss +0 -72
  1123. package/storybook/assets/sass/unbranded.scss +0 -12
  1124. package/storybook/storybook.component.ts +0 -11
  1125. package/storybook/storybook.styles.scss +0 -17
  1126. package/storybook/style/_buttons.scss +0 -19
  1127. package/storybook/style/_forms.scss +0 -19
  1128. package/storybook/style/_markdown.scss +0 -48
  1129. package/storybook/style/_material.scss +0 -53
  1130. package/storybook/style/_notifications.scss +0 -23
  1131. package/storybook/style/_palette.scss +0 -77
  1132. package/storybook/style/_print.scss +0 -19
  1133. package/storybook/style/app.scss +0 -399
  1134. package/storybook/style/vendor/prism.scss +0 -116
  1135. package/storybook-static/0.835660aac5fb57f1c871.manager.bundle.js +0 -2
  1136. package/storybook-static/0.835660aac5fb57f1c871.manager.bundle.js.LICENSE.txt +0 -8
  1137. package/storybook-static/0.8a2e5fcc.iframe.bundle.js +0 -3
  1138. package/storybook-static/0.8a2e5fcc.iframe.bundle.js.LICENSE.txt +0 -17
  1139. package/storybook-static/0.8a2e5fcc.iframe.bundle.js.map +0 -1
  1140. package/storybook-static/1.2f18dfb406091ad58686.manager.bundle.js +0 -1
  1141. package/storybook-static/1.ab9ea240.iframe.bundle.js +0 -3
  1142. package/storybook-static/1.ab9ea240.iframe.bundle.js.LICENSE.txt +0 -8
  1143. package/storybook-static/1.ab9ea240.iframe.bundle.js.map +0 -1
  1144. package/storybook-static/10.fa5fcd50.iframe.bundle.js +0 -3
  1145. package/storybook-static/10.fa5fcd50.iframe.bundle.js.LICENSE.txt +0 -12
  1146. package/storybook-static/10.fa5fcd50.iframe.bundle.js.map +0 -1
  1147. package/storybook-static/2.e37e048c.iframe.bundle.js +0 -1
  1148. package/storybook-static/3.a2afbe6b.iframe.bundle.js +0 -1
  1149. package/storybook-static/5.472a084050c6577e437c.manager.bundle.js +0 -2
  1150. package/storybook-static/5.472a084050c6577e437c.manager.bundle.js.LICENSE.txt +0 -31
  1151. package/storybook-static/6.6d8b7e0d6abfb2af3157.manager.bundle.js +0 -1
  1152. package/storybook-static/7.33e8f7c3.iframe.bundle.js +0 -3
  1153. package/storybook-static/7.33e8f7c3.iframe.bundle.js.LICENSE.txt +0 -31
  1154. package/storybook-static/7.33e8f7c3.iframe.bundle.js.map +0 -1
  1155. package/storybook-static/7.b9048b95a2d61a0d5990.manager.bundle.js +0 -1
  1156. package/storybook-static/8.c0075f29233ef3a5f866.manager.bundle.js +0 -2
  1157. package/storybook-static/8.c0075f29233ef3a5f866.manager.bundle.js.LICENSE.txt +0 -12
  1158. package/storybook-static/8.c6adb04b.iframe.bundle.js +0 -1
  1159. package/storybook-static/9.73d6cb6ada64ba200277.manager.bundle.js +0 -1
  1160. package/storybook-static/9.eaf466b7.iframe.bundle.js +0 -1
  1161. package/storybook-static/favicon.ico +0 -0
  1162. package/storybook-static/iframe.html +0 -364
  1163. package/storybook-static/index.html +0 -59
  1164. package/storybook-static/main.6f2a4d7a.iframe.bundle.js +0 -1
  1165. package/storybook-static/main.bbfce4da3ddc788a6d97.manager.bundle.js +0 -1
  1166. package/storybook-static/project.json +0 -1
  1167. package/storybook-static/runtime~main.17dc4af8228ff7ffc150.manager.bundle.js +0 -1
  1168. package/storybook-static/runtime~main.da0120f3.iframe.bundle.js +0 -1
  1169. package/storybook-static/static/media/code-brackets.2e1112d7.svg +0 -1
  1170. package/storybook-static/static/media/colors.a4bd0486.svg +0 -1
  1171. package/storybook-static/static/media/comments.a3859089.svg +0 -1
  1172. package/storybook-static/static/media/direction.b770f9af.svg +0 -1
  1173. package/storybook-static/static/media/flow.edad2ac1.svg +0 -1
  1174. package/storybook-static/static/media/plugin.d494b228.svg +0 -1
  1175. package/storybook-static/static/media/repo.6d496322.svg +0 -1
  1176. package/storybook-static/static/media/stackalt.dba9fbb3.svg +0 -1
  1177. package/storybook-static/vendors~main.ac63a4b3609bbef0abd4.manager.bundle.js +0 -2
  1178. package/storybook-static/vendors~main.ac63a4b3609bbef0abd4.manager.bundle.js.LICENSE.txt +0 -104
  1179. package/storybook-static/vendors~main.c4556936.iframe.bundle.js +0 -13
  1180. package/storybook-static/vendors~main.c4556936.iframe.bundle.js.LICENSE.txt +0 -94
  1181. package/storybook-static/vendors~main.c4556936.iframe.bundle.js.map +0 -1
  1182. package/tsconfig.json +0 -44
  1183. package/tslint.json +0 -96
  1184. package/yarn-audit-known-issues +0 -28
@@ -0,0 +1,65 @@
1
+ import { HttpErrorResponse } from '@angular/common/http';
2
+ import { Injectable } from '@angular/core';
3
+ import { throwError } from 'rxjs';
4
+ import { HttpError } from '../../domain/http/http-error.model';
5
+ import { AuthService } from '../auth/auth.service';
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "../auth/auth.service";
8
+ export class HttpErrorService {
9
+ constructor(authService) {
10
+ this.authService = authService;
11
+ }
12
+ static convertToHttpError(error) {
13
+ if (error instanceof HttpError) {
14
+ return error;
15
+ }
16
+ let httpError = new HttpError();
17
+ if (error instanceof HttpErrorResponse) {
18
+ if (error.headers
19
+ && error.headers.get(HttpErrorService.CONTENT_TYPE)
20
+ && error.headers.get(HttpErrorService.CONTENT_TYPE).indexOf(HttpErrorService.JSON) !== -1) {
21
+ try {
22
+ httpError = HttpError.from(error);
23
+ }
24
+ catch (e) {
25
+ console.error(e, e.message);
26
+ }
27
+ }
28
+ if (!httpError.status) {
29
+ httpError.status = error.status;
30
+ }
31
+ }
32
+ else if (error) {
33
+ if (error.message) {
34
+ httpError.message = error.message;
35
+ }
36
+ if (error.status) {
37
+ httpError.status = error.status;
38
+ }
39
+ }
40
+ return httpError;
41
+ }
42
+ setError(error) {
43
+ this.error = error;
44
+ }
45
+ removeError() {
46
+ const error = this.error;
47
+ this.error = null;
48
+ return error;
49
+ }
50
+ handle(error, redirectIfNotAuthorised = true) {
51
+ const httpError = HttpErrorService.convertToHttpError(error);
52
+ if (redirectIfNotAuthorised && (httpError.status === 401 || httpError.status === 403)) {
53
+ this.authService.signIn();
54
+ }
55
+ return throwError(httpError);
56
+ }
57
+ }
58
+ HttpErrorService.CONTENT_TYPE = 'Content-Type';
59
+ HttpErrorService.JSON = 'json';
60
+ HttpErrorService.ɵfac = function HttpErrorService_Factory(t) { return new (t || HttpErrorService)(i0.ɵɵinject(i1.AuthService)); };
61
+ HttpErrorService.ɵprov = i0.ɵɵdefineInjectable({ token: HttpErrorService, factory: HttpErrorService.ɵfac });
62
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HttpErrorService, [{
63
+ type: Injectable
64
+ }], function () { return [{ type: i1.AuthService }]; }, null); })();
65
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaHR0cC1lcnJvci5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9zZXJ2aWNlcy9odHRwL2h0dHAtZXJyb3Iuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUN6RCxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBYyxVQUFVLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDOUMsT0FBTyxFQUFFLFNBQVMsRUFBRSx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GFuZGxlKGVycm9yOiBIdHRwRXJyb3JSZXNwb25zZSB8IGFueSwgcmVkaXJlY3RJZk5vdEF1dGhvcmlzZWQgPSB0cnVlKTogT2JzZXJ2YWJsZTxuZXZlcj4ge1xuICAgIGNvbnN0IGh0dHBFcnJvcjogSHR0cEVycm9yID0gSHR0cEVycm9yU2VydmljZS5jb252ZXJ0VG9IdHRwRXJyb3IoZXJyb3IpO1xuICAgIGlmIChyZWRpcmVjdElmTm90QXV0aG9yaXNlZCAmJiAoaHR0cEVycm9yLnN0YXR1cyA9PT0gNDAxIHx8IGh0dHBFcnJvci5zdGF0dXMgPT09IDQwMykpIHtcbiAgICAgIHRoaXMuYXV0aFNlcnZpY2Uuc2lnbkluKCk7XG4gICAgfVxuICAgIHJldHVybiB0aHJvd0Vycm9yKGh0dHBFcnJvcik7XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,93 @@
1
+ import { HttpClient, HttpHeaders } from '@angular/common/http';
2
+ import { Injectable } from '@angular/core';
3
+ import { catchError } from 'rxjs/operators';
4
+ import { HttpErrorService } from './http-error.service';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@angular/common/http";
7
+ import * as i2 from "./http-error.service";
8
+ export class HttpService {
9
+ constructor(httpclient, httpErrorService) {
10
+ this.httpclient = httpclient;
11
+ this.httpErrorService = httpErrorService;
12
+ }
13
+ /**
14
+ *
15
+ * @param url Url resolved using UrlResolverService
16
+ * @param options OptionsType
17
+ * @returns Observable<any> return value
18
+ * @see UrlResolverService
19
+ */
20
+ get(url, options, redirectIfNotAuthorised = true, errorHandler) {
21
+ return this.httpclient
22
+ .get(url, this.setDefaultValue(options))
23
+ .pipe(catchError((res) => {
24
+ let error = res;
25
+ if (typeof errorHandler === 'function') {
26
+ error = errorHandler(res);
27
+ }
28
+ return this.httpErrorService.handle(error, redirectIfNotAuthorised);
29
+ }));
30
+ }
31
+ /**
32
+ *
33
+ * @param url Url resolved using UrlResolverService
34
+ * @param body Body for post
35
+ * @param options OptionsType
36
+ * @returns Observable<any> return value
37
+ * @see UrlResolverService
38
+ */
39
+ post(url, body, options, redirectIfNotAuthorised = true) {
40
+ return this.httpclient
41
+ .post(url, body, this.setDefaultValue(options))
42
+ .pipe(catchError((res) => {
43
+ return this.httpErrorService.handle(res, redirectIfNotAuthorised);
44
+ }));
45
+ }
46
+ /**
47
+ *
48
+ * @param url Url resolved using UrlResolverService
49
+ * @param body Body for post
50
+ * @param options OptionsType
51
+ * @returns Observable<any> return value
52
+ * @see UrlResolverService
53
+ */
54
+ put(url, body, options) {
55
+ return this.httpclient
56
+ .put(url, body, this.setDefaultValue(options))
57
+ .pipe(catchError((res) => {
58
+ return this.httpErrorService.handle(res);
59
+ }));
60
+ }
61
+ /**
62
+ *
63
+ * @param url Url resolved using UrlResolverService
64
+ * @param options OptionsType
65
+ * @returns Observable<any> return value
66
+ * @see UrlResolverService
67
+ */
68
+ delete(url, options) {
69
+ return this.httpclient
70
+ .delete(url, this.setDefaultValue(options))
71
+ .pipe(catchError((res) => {
72
+ return this.httpErrorService.handle(res);
73
+ }));
74
+ }
75
+ setDefaultValue(options) {
76
+ options = options || { observe: 'body' };
77
+ options.withCredentials = true;
78
+ if (!options.headers) {
79
+ options.headers = new HttpHeaders()
80
+ .set(HttpService.HEADER_ACCEPT, 'application/json')
81
+ .set(HttpService.HEADER_CONTENT_TYPE, 'application/json');
82
+ }
83
+ return options;
84
+ }
85
+ }
86
+ HttpService.HEADER_ACCEPT = 'Accept';
87
+ HttpService.HEADER_CONTENT_TYPE = 'Content-Type';
88
+ HttpService.ɵfac = function HttpService_Factory(t) { return new (t || HttpService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(i2.HttpErrorService)); };
89
+ HttpService.ɵprov = i0.ɵɵdefineInjectable({ token: HttpService, factory: HttpService.ɵfac });
90
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(HttpService, [{
91
+ type: Injectable
92
+ }], function () { return [{ type: i1.HttpClient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1RZUEUsICdhcHBsaWNhdGlvbi9qc29uJyk7XG4gICAgfVxuICAgIHJldHVybiBvcHRpb25zO1xuICB9XG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgT3B0aW9uc1R5cGUge1xuICBoZWFkZXJzPzogSHR0cEhlYWRlcnM7XG4gIG9ic2VydmU6ICdib2R5JztcbiAgcGFyYW1zPzogSHR0cFBhcmFtcyB8IHsgW3BhcmFtOiBzdHJpbmddOiBzdHJpbmcgfCBzdHJpbmdbXTsgfTtcbiAgcmVwb3J0UHJvZ3Jlc3M/OiBib29sZWFuO1xuICByZXNwb25zZVR5cGU/OiAnanNvbic7XG4gIHdpdGhDcmVkZW50aWFscz86IGJvb2xlYW47XG59XG4iXX0=
@@ -0,0 +1,3 @@
1
+ export * from './http-error.service';
2
+ export * from './http.service';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL3NlcnZpY2VzL2h0dHAvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxzQkFBc0IsQ0FBQztBQUNyQyxjQUFjLGdCQUFnQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9odHRwLWVycm9yLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9odHRwLnNlcnZpY2UnO1xuIl19
@@ -0,0 +1,29 @@
1
+ export * from './activity';
2
+ export * from './addresses';
3
+ export * from './alert';
4
+ export * from './auth';
5
+ export * from './case-fields';
6
+ export * from './document-management';
7
+ export * from './draft';
8
+ export * from './error';
9
+ export * from './eventStatusService';
10
+ export * from './fields';
11
+ export * from './form';
12
+ export * from './http';
13
+ export * from './jurisdiction';
14
+ export * from './banners';
15
+ export * from './navigation';
16
+ export * from './order';
17
+ export * from './profile';
18
+ export * from './request';
19
+ export * from './search';
20
+ export * from './session';
21
+ export * from './router';
22
+ export * from './window';
23
+ export * from './workbasket';
24
+ export * from './definitions';
25
+ export * from './search-result/sorting/search-result-view-item-comparator-factory';
26
+ export * from './organisation';
27
+ export * from './browser';
28
+ export * from './loading';
29
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL3NlcnZpY2VzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsYUFBYSxDQUFDO0FBQzVCLGNBQWMsU0FBUyxDQUFDO0FBQ3hCLGNBQWMsUUFBUSxDQUFDO0FBQ3ZCLGNBQWMsZUFBZSxDQUFDO0FBQzlCLGNBQWMsdUJBQXVCLENBQUM7QUFDdEMsY0FBYyxTQUFTLENBQUM7QUFDeEIsY0FBYyxTQUFTLENBQUM7QUFDeEIsY0FBYyxzQkFBc0IsQ0FBQztBQUNyQyxjQUFjLFVBQVUsQ0FBQztBQUN6QixjQUFjLFFBQVEsQ0FBQztBQUN2QixjQUFjLFFBQVEsQ0FBQztBQUN2QixjQUFjLGdCQUFnQixDQUFDO0FBQy9CLGNBQWMsV0FBVyxDQUFDO0FBQzFCLGNBQWMsY0FBYyxDQUFDO0FBQzdCLGNBQWMsU0FBUyxDQUFDO0FBQ3hCLGNBQWMsV0FBVyxDQUFDO0FBQzFCLGNBQWMsV0FBVyxDQUFDO0FBQzFCLGNBQWMsVUFBVSxDQUFDO0FBQ3pCLGNBQWMsV0FBVyxDQUFDO0FBQzFCLGNBQWMsVUFBVSxDQUFDO0FBQ3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9ydCAqIGZyb20gJy4vd29ya2Jhc2tldCc7XG5leHBvcnQgKiBmcm9tICcuL2RlZmluaXRpb25zJztcbmV4cG9ydCAqIGZyb20gJy4vc2VhcmNoLXJlc3VsdC9zb3J0aW5nL3NlYXJjaC1yZXN1bHQtdmlldy1pdGVtLWNvbXBhcmF0b3ItZmFjdG9yeSc7XG5leHBvcnQgKiBmcm9tICcuL29yZ2FuaXNhdGlvbic7XG5leHBvcnQgKiBmcm9tICcuL2Jyb3dzZXInO1xuZXhwb3J0ICogZnJvbSAnLi9sb2FkaW5nJztcbiJdfQ==
@@ -0,0 +1,2 @@
1
+ export * from './jurisdiction.service';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL3NlcnZpY2VzL2p1cmlzZGljdGlvbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHdCQUF3QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9qdXJpc2RpY3Rpb24uc2VydmljZSc7XG4iXX0=
@@ -0,0 +1,18 @@
1
+ import { Injectable } from '@angular/core';
2
+ import { Subject } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export class JurisdictionService {
5
+ constructor() {
6
+ this.selectedJurisdictionSource = new Subject();
7
+ this.selectedJurisdiction = this.selectedJurisdictionSource.asObservable();
8
+ }
9
+ announceSelectedJurisdiction(jurisdiction) {
10
+ this.selectedJurisdictionSource.next(jurisdiction);
11
+ }
12
+ }
13
+ JurisdictionService.ɵfac = function JurisdictionService_Factory(t) { return new (t || JurisdictionService)(); };
14
+ JurisdictionService.ɵprov = i0.ɵɵdefineInjectable({ token: JurisdictionService, factory: JurisdictionService.ɵfac });
15
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(JurisdictionService, [{
16
+ type: Injectable
17
+ }], null, null); })();
18
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoianVyaXNkaWN0aW9uLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL3NlcnZpY2VzL2p1cmlzZGljdGlvbi9qdXJpc2RpY3Rpb24uc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxNQUFNLENBQUM7O0FBSS9CLE1BQU0sT0FBTyxtQkFBbUI7SUFEaEM7UUFHa0IsK0JBQTBCLEdBQUcsSUFBSSxPQUFPLEVBQWdCLENBQUM7UUFFbEUseUJBQW9CLEdBQUcsSUFBSSxDQUFDLDBCQUEwQixDQUFDLFlBQVksRUFBRSxDQUFDO0tBTTlFO0lBSlEsNEJBQTRCLENBQUMsWUFBMEI7UUFDNUQsSUFBSSxDQUFDLDBCQUEwQixDQUFDLElBQUksQ0FBQyxZQUFZLENBQUMsQ0FBQztJQUNyRCxDQUFDOztzRkFSVSxtQkFBbUI7MkRBQW5CLG1CQUFtQixXQUFuQixtQkFBbUI7dUZBQW5CLG1CQUFtQjtjQUQvQixVQUFVIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0YWJsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgU3ViamVjdCB9IGZyb20gJ3J4anMnO1xuaW1wb3J0IHsgSnVyaXNkaWN0aW9uIH0gZnJvbSAnLi4vLi4vZG9tYWluL2RlZmluaXRpb24vanVyaXNkaWN0aW9uLm1vZGVsJztcblxuQEluamVjdGFibGUoKVxuZXhwb3J0IGNsYXNzIEp1cmlzZGljdGlvblNlcnZpY2Uge1xuXG4gIHB1YmxpYyByZWFkb25seSBzZWxlY3RlZEp1cmlzZGljdGlvblNvdXJjZSA9IG5ldyBTdWJqZWN0PEp1cmlzZGljdGlvbj4oKTtcblxuICBwdWJsaWMgc2VsZWN0ZWRKdXJpc2RpY3Rpb24gPSB0aGlzLnNlbGVjdGVkSnVyaXNkaWN0aW9uU291cmNlLmFzT2JzZXJ2YWJsZSgpO1xuXG4gIHB1YmxpYyBhbm5vdW5jZVNlbGVjdGVkSnVyaXNkaWN0aW9uKGp1cmlzZGljdGlvbjogSnVyaXNkaWN0aW9uKSB7XG4gICAgdGhpcy5zZWxlY3RlZEp1cmlzZGljdGlvblNvdXJjZS5uZXh0KGp1cmlzZGljdGlvbik7XG4gIH1cblxufVxuIl19
@@ -0,0 +1,3 @@
1
+ export * from './loading.service';
2
+ export * from './loading.module';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL3NlcnZpY2VzL2xvYWRpbmcvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLGtCQUFrQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9sb2FkaW5nLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9sb2FkaW5nLm1vZHVsZSc7XG4iXX0=
@@ -0,0 +1,22 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { LoadingService } from './loading.service';
3
+ import * as i0 from "@angular/core";
4
+ export class LoadingModule {
5
+ }
6
+ LoadingModule.ɵfac = function LoadingModule_Factory(t) { return new (t || LoadingModule)(); };
7
+ LoadingModule.ɵmod = i0.ɵɵdefineNgModule({ type: LoadingModule });
8
+ LoadingModule.ɵinj = i0.ɵɵdefineInjector({ providers: [
9
+ LoadingService
10
+ ], imports: [[]] });
11
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingModule, [{
12
+ type: NgModule,
13
+ args: [{
14
+ imports: [],
15
+ declarations: [],
16
+ exports: [],
17
+ providers: [
18
+ LoadingService
19
+ ]
20
+ }]
21
+ }], null, null); })();
22
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGluZy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL3NlcnZpY2VzL2xvYWRpbmcvbG9hZGluZy5tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sbUJBQW1CLENBQUM7O0FBY25ELE1BQU0sT0FBTyxhQUFhOzswRUFBYixhQUFhO2lEQUFiLGFBQWE7c0RBTFg7UUFDUCxjQUFjO0tBQ2pCLFlBUlEsRUFDUjt1RkFVUSxhQUFhO2NBWnpCLFFBQVE7ZUFBQztnQkFDTixPQUFPLEVBQUUsRUFDUjtnQkFDRCxZQUFZLEVBQUUsRUFDYjtnQkFDRCxPQUFPLEVBQUUsRUFDUjtnQkFDRCxTQUFTLEVBQUU7b0JBQ1AsY0FBYztpQkFDakI7YUFDSiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBMb2FkaW5nU2VydmljZSB9IGZyb20gJy4vbG9hZGluZy5zZXJ2aWNlJztcblxuQE5nTW9kdWxlKHtcbiAgICBpbXBvcnRzOiBbXG4gICAgXSxcbiAgICBkZWNsYXJhdGlvbnM6IFtcbiAgICBdLFxuICAgIGV4cG9ydHM6IFtcbiAgICBdLFxuICAgIHByb3ZpZGVyczogW1xuICAgICAgICBMb2FkaW5nU2VydmljZVxuICAgIF1cbn0pXG5cbmV4cG9ydCBjbGFzcyBMb2FkaW5nTW9kdWxlIHt9XG4iXX0=
@@ -0,0 +1,38 @@
1
+ import { Injectable } from '@angular/core';
2
+ import { BehaviorSubject } from 'rxjs';
3
+ import { distinctUntilChanged } from 'rxjs/operators';
4
+ import * as i0 from "@angular/core";
5
+ export class HasLoadingState {
6
+ get isLoading() {
7
+ return;
8
+ }
9
+ }
10
+ export class LoadingService {
11
+ constructor() {
12
+ this.registered = new Map();
13
+ this.loading = new BehaviorSubject(false);
14
+ }
15
+ get isLoading() {
16
+ return this.loading.pipe(distinctUntilChanged());
17
+ }
18
+ register() {
19
+ const token = this.generateToken();
20
+ this.registered.set(token, token);
21
+ this.loading.next(true);
22
+ return token;
23
+ }
24
+ unregister(token) {
25
+ this.registered.delete(token);
26
+ this.loading.next(this.registered.size > 0);
27
+ }
28
+ generateToken() {
29
+ const timestamp = window.performance.now();
30
+ return 'toolkit-loading-' + timestamp; // format: [source-library]-[unique incrementing number]
31
+ }
32
+ }
33
+ LoadingService.ɵfac = function LoadingService_Factory(t) { return new (t || LoadingService)(); };
34
+ LoadingService.ɵprov = i0.ɵɵdefineInjectable({ token: LoadingService, factory: LoadingService.ɵfac });
35
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingService, [{
36
+ type: Injectable
37
+ }], null, null); })();
38
+ //# sourceMappingURL=data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pbmcgPSBuZXcgQmVoYXZpb3JTdWJqZWN0PGJvb2xlYW4+KGZhbHNlKTtcblxuICBwdWJsaWMgZ2V0IGlzTG9hZGluZygpOiBPYnNlcnZhYmxlPGJvb2xlYW4+IHtcbiAgICByZXR1cm4gdGhpcy5sb2FkaW5nLnBpcGUoZGlzdGluY3RVbnRpbENoYW5nZWQoKSk7XG4gIH1cblxuICBwdWJsaWMgcmVnaXN0ZXIoKTogc3RyaW5nIHtcbiAgICBjb25zdCB0b2tlbiA9IHRoaXMuZ2VuZXJhdGVUb2tlbigpO1xuICAgIHRoaXMucmVnaXN0ZXJlZC5zZXQodG9rZW4sIHRva2VuKTtcbiAgICB0aGlzLmxvYWRpbmcubmV4dCh0cnVlKTtcbiAgICByZXR1cm4gdG9rZW47XG4gIH1cblxuICBwdWJsaWMgdW5yZWdpc3Rlcih0b2tlbjogc3RyaW5nKTogdm9pZCB7XG4gICAgdGhpcy5yZWdpc3RlcmVkLmRlbGV0ZSh0b2tlbik7XG4gICAgdGhpcy5sb2FkaW5nLm5leHQodGhpcy5yZWdpc3RlcmVkLnNpemUgPiAwKTtcbiAgfVxuXG4gIHByaXZhdGUgZ2VuZXJhdGVUb2tlbigpOiBzdHJpbmcge1xuICAgIGNvbnN0IHRpbWVzdGFtcCA9IHdpbmRvdy5wZXJmb3JtYW5jZS5ub3coKTtcbiAgICByZXR1cm4gJ3Rvb2xraXQtbG9hZGluZy0nICsgdGltZXN0YW1wOyAvLyBmb3JtYXQ6IFtzb3VyY2UtbGlicmFyeV0tW3VuaXF1ZSBpbmNyZW1lbnRpbmcgbnVtYmVyXVxuICB9XG59XG4iXX0=
@@ -0,0 +1,3 @@
1
+ export * from './navigation-origin.model';
2
+ export * from './navigation-notifier.service';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL3NlcnZpY2VzL25hdmlnYXRpb24vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywyQkFBMkIsQ0FBQztBQUMxQyxjQUFjLCtCQUErQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9uYXZpZ2F0aW9uLW9yaWdpbi5tb2RlbCc7XG5leHBvcnQgKiBmcm9tICcuL25hdmlnYXRpb24tbm90aWZpZXIuc2VydmljZSc7XG4iXX0=
@@ -0,0 +1,18 @@
1
+ import { Injectable } from '@angular/core';
2
+ import { BehaviorSubject } from 'rxjs';
3
+ import * as i0 from "@angular/core";
4
+ export class NavigationNotifierService {
5
+ constructor() {
6
+ this.navigationSource = new BehaviorSubject({});
7
+ this.navigation = this.navigationSource.asObservable();
8
+ }
9
+ announceNavigation(origin) {
10
+ this.navigationSource.next(origin);
11
+ }
12
+ }
13
+ NavigationNotifierService.ɵfac = function NavigationNotifierService_Factory(t) { return new (t || NavigationNotifierService)(); };
14
+ NavigationNotifierService.ɵprov = i0.ɵɵdefineInjectable({ token: NavigationNotifierService, factory: NavigationNotifierService.ɵfac });
15
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(NavigationNotifierService, [{
16
+ type: Injectable
17
+ }], null, null); })();
18
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF2aWdhdGlvbi1ub3RpZmllci5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9zZXJ2aWNlcy9uYXZpZ2F0aW9uL25hdmlnYXRpb24tbm90aWZpZXIuc2VydmljZS50cyJdLCJuYW1l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dfQ==
@@ -0,0 +1,9 @@
1
+ export var NavigationOrigin;
2
+ (function (NavigationOrigin) {
3
+ NavigationOrigin[NavigationOrigin["DRAFT_DELETED"] = 0] = "DRAFT_DELETED";
4
+ NavigationOrigin[NavigationOrigin["ERROR_DELETING_DRAFT"] = 1] = "ERROR_DELETING_DRAFT";
5
+ NavigationOrigin[NavigationOrigin["DRAFT_RESUMED"] = 2] = "DRAFT_RESUMED";
6
+ NavigationOrigin[NavigationOrigin["EVENT_TRIGGERED"] = 3] = "EVENT_TRIGGERED";
7
+ NavigationOrigin[NavigationOrigin["NO_READ_ACCESS_REDIRECTION"] = 4] = "NO_READ_ACCESS_REDIRECTION";
8
+ })(NavigationOrigin || (NavigationOrigin = {}));
9
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF2aWdhdGlvbi1vcmlnaW4ubW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL3NlcnZpY2VzL25hdmlnYXRpb24vbmF2aWdhdGlvbi1vcmlnaW4ubW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksZ0JBTVg7QUFORCxXQUFZLGdCQUFnQjtJQUMxQix5RUFBYSxDQUFBO0lBQ2IsdUZBQW9CLENBQUE7SUFDcEIseUVBQWEsQ0FBQTtJQUNiLDZFQUFlLENBQUE7SUFDZixtR0FBMEIsQ0FBQTtBQUM1QixDQUFDLEVBTlcsZ0JBQWdCLEtBQWhCLGdCQUFnQixRQU0zQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIE5hdmlnYXRpb25PcmlnaW4ge1xuICBEUkFGVF9ERUxFVEVELFxuICBFUlJPUl9ERUxFVElOR19EUkFGVCxcbiAgRFJBRlRfUkVTVU1FRCxcbiAgRVZFTlRfVFJJR0dFUkVELFxuICBOT19SRUFEX0FDQ0VTU19SRURJUkVDVElPTlxufVxuIl19
@@ -0,0 +1,2 @@
1
+ export * from './order.service';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL3NlcnZpY2VzL29yZGVyL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsaUJBQWlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL29yZGVyLnNlcnZpY2UnO1xuIl19
@@ -0,0 +1,39 @@
1
+ import { Injectable } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ // @dynamic
4
+ export class OrderService {
5
+ constructor() {
6
+ /**
7
+ * @deprecated Use `sort` function instead or `compareAsc`
8
+ */
9
+ this.sortAsc = OrderService.DEFAULT_COMPARE_FUNCTION;
10
+ }
11
+ /**
12
+ * Clone and sort array. Ascending order used by default.
13
+ *
14
+ * @param array Array to sort
15
+ * @returns Orderable[] Sorted clone array.
16
+ */
17
+ sort(array, sortingFunction = this.sortAsc) {
18
+ return array
19
+ .slice()
20
+ .sort(sortingFunction);
21
+ }
22
+ }
23
+ OrderService.DEFAULT_COMPARE_FUNCTION = (a, b) => {
24
+ const aOrdered = a.order === 0 || a.order;
25
+ const bOrdered = b.order === 0 || b.order;
26
+ if (!aOrdered) {
27
+ return !bOrdered ? 0 : 1;
28
+ }
29
+ if (!bOrdered) {
30
+ return -1;
31
+ }
32
+ return a.order - b.order;
33
+ };
34
+ OrderService.ɵfac = function OrderService_Factory(t) { return new (t || OrderService)(); };
35
+ OrderService.ɵprov = i0.ɵɵdefineInjectable({ token: OrderService, factory: OrderService.ɵfac });
36
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OrderService, [{
37
+ type: Injectable
38
+ }], null, null); })();
39
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JkZXIuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvc2VydmljZXMvb3JkZXIvb3JkZXIuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQUczQyxXQUFXO0FBRVgsTUFBTSxPQUFPLFlBQVk7SUFEekI7UUFHRTs7V0FFRztRQUNJLFlBQU8sR0FBd0MsWUFBWSxDQUFDLHdCQUF3QixDQUFDO0tBMkI3RjtJQVhDOzs7OztPQUtHO0lBQ0ksSUFBSSxDQUFzQixLQUFVLEVBQUUsZUFBZSxHQUFHLElBQUksQ0FBQyxPQUFPO1FBQ3pFLE9BQU8sS0FBSzthQUNULEtBQUssRUFBRTthQUNQLElBQUksQ0FBQyxlQUFlLENBQUMsQ0FBQztJQUMzQixDQUFDOztBQXpCdUIscUNBQXdCLEdBQUcsQ0FBQyxDQUFZLEVBQUUsQ0FBWSxFQUFFLEVBQUU7SUFDaEYsTUFBTSxRQUFRLEdBQUcsQ0FBQyxDQUFDLEtBQUssS0FBSyxDQUFDLElBQUksQ0FBQyxDQUFDLEtBQUssQ0FBQztJQUMxQyxNQUFNLFFBQVEsR0FBRyxDQUFDLENBQUMsS0FBSyxLQUFLLENBQUMsSUFBSSxDQUFDLENBQUMsS0FBSyxDQUFDO0lBRTFDLElBQUksQ0FBQyxRQUFRLEVBQUU7UUFDYixPQUFPLENBQUMsUUFBUSxD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G4gICAgICByZXR1cm4gIWJPcmRlcmVkID8gMCA6IDE7XG4gICAgfVxuXG4gICAgaWYgKCFiT3JkZXJlZCkge1xuICAgICAgcmV0dXJuIC0xO1xuICAgIH1cblxuICAgIHJldHVybiBhLm9yZGVyIC0gYi5vcmRlcjtcbiAgfVxuXG4gIC8qKlxuICAgKiBDbG9uZSBhbmQgc29ydCBhcnJheS4gQXNjZW5kaW5nIG9yZGVyIHVzZWQgYnkgZGVmYXVsdC5cbiAgICpcbiAgICogQHBhcmFtIGFycmF5IEFycmF5IHRvIHNvcnRcbiAgICogQHJldHVybnMgT3JkZXJhYmxlW10gU29ydGVkIGNsb25lIGFycmF5LlxuICAgKi9cbiAgcHVibGljIHNvcnQ8VCBleHRlbmRzIE9yZGVyYWJsZT4oYXJyYXk6IFRbXSwgc29ydGluZ0Z1bmN0aW9uID0gdGhpcy5zb3J0QXNjKTogVFtdIHtcbiAgICByZXR1cm4gYXJyYXlcbiAgICAgIC5zbGljZSgpXG4gICAgICAuc29ydChzb3J0aW5nRnVuY3Rpb24pO1xuICB9XG59XG4iXX0=
@@ -0,0 +1,2 @@
1
+ export * from './organisation.service';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL3NlcnZpY2VzL29yZ2FuaXNhdGlvbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHdCQUF3QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9vcmdhbmlzYXRpb24uc2VydmljZSc7XG4iXX0=
@@ -0,0 +1,57 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Injectable } from '@angular/core';
3
+ import { of, timer } from 'rxjs';
4
+ import { catchError, map, publishReplay, refCount, take } from 'rxjs/operators';
5
+ import { AbstractAppConfig } from '../../../app.config';
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "@angular/common/http";
8
+ import * as i2 from "../../../app.config";
9
+ export class OrganisationService {
10
+ constructor(http, appconfig) {
11
+ this.http = http;
12
+ this.appconfig = appconfig;
13
+ }
14
+ static mapOrganisation(organisations) {
15
+ const organisationsVm = new Array();
16
+ organisations.forEach(org => {
17
+ let contactInformation = null;
18
+ if (org.contactInformation && org.contactInformation[0]) {
19
+ contactInformation = org.contactInformation[0];
20
+ }
21
+ organisationsVm.push({
22
+ organisationIdentifier: org.organisationIdentifier,
23
+ name: org.name,
24
+ addressLine1: contactInformation !== null ? contactInformation.addressLine1 : null,
25
+ addressLine2: contactInformation !== null ? contactInformation.addressLine2 : null,
26
+ addressLine3: contactInformation !== null ? contactInformation.addressLine3 : null,
27
+ townCity: contactInformation !== null ? contactInformation.townCity : null,
28
+ county: contactInformation !== null ? contactInformation.county : null,
29
+ country: contactInformation !== null ? contactInformation.country : null,
30
+ postCode: contactInformation !== null ? contactInformation.postCode : null,
31
+ });
32
+ });
33
+ return organisationsVm;
34
+ }
35
+ getActiveOrganisations() {
36
+ if (!this.organisations$) {
37
+ const url = this.appconfig.getPrdUrl();
38
+ const cacheTimeOut = this.appconfig.getCacheTimeOut();
39
+ this.organisations$ = this.http.get(url)
40
+ .pipe(map((orgs) => OrganisationService.mapOrganisation(orgs)), publishReplay(1), refCount(), take(1), catchError(e => {
41
+ console.log(e);
42
+ // Handle error and return blank Observable array
43
+ return of([]);
44
+ }));
45
+ timer(cacheTimeOut).subscribe(() => {
46
+ this.organisations$ = null;
47
+ });
48
+ }
49
+ return this.organisations$;
50
+ }
51
+ }
52
+ OrganisationService.ɵfac = function OrganisationService_Factory(t) { return new (t || OrganisationService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(i2.AbstractAppConfig)); };
53
+ OrganisationService.ɵprov = i0.ɵɵdefineInjectable({ token: OrganisationService, factory: OrganisationService.ɵfac });
54
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(OrganisationService, [{
55
+ type: Injectable
56
+ }], function () { return [{ type: i1.HttpClient }, { type: i2.AbstractAppConfig }]; }, null); })();
57
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JnYW5pc2F0aW9uLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL3NlcnZpY2VzL29yZ2FuaXNhdGlvbi9vcmdhbmlzYXRpb24uc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDbEQsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQWMsRUFBRSxFQUFFLEtBQUssRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUM3QyxPQUFPLEVBQUUsVUFBVSxFQUFFLEdBQUcsRUFBRSxhQUFhLEVBQUUsUUFBUSxFQUFFLElBQUksRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ2hGLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHFCQUFxQixDQUFDOzs7O0FBNkN4RCxNQUFNLE9BQU8sbUJBQW1CO0lBRTVCLFlBQTZCLElBQWdCLEVBQ2hCLFNBQTRCO1FBRDVCLFNBQUksR0FBSixJQUFJLENBQVk7UUFDaEIsY0FBUyxHQUFULFNBQVMsQ0FBbUI7SUFBRyxDQUFDO0lBR3RELE1BQU0sQ0FBQyxlQUFlLENBQUMsYUFBNkI7UUFDdkQsTUFBTSxlQUFlLEdBQUcsSUFB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yQ6IE9ic2VydmFibGU8T3JnYW5pc2F0aW9uVm1bXT47XG4gICAgcHVibGljIHN0YXRpYyBtYXBPcmdhbmlzYXRpb24ob3JnYW5pc2F0aW9uczogT3JnYW5pc2F0aW9uW10pOiBPcmdhbmlzYXRpb25WbSBbXSB7XG4gICAgICAgIGNvbnN0IG9yZ2FuaXNhdGlvbnNWbSA9IG5ldyBBcnJheTxPcmdhbmlzYXRpb25WbT4oKTtcbiAgICAgICAgb3JnYW5pc2F0aW9ucy5mb3JFYWNoKG9yZyA9PiB7XG4gICAgICAgICAgICBsZXQgY29udGFjdEluZm9ybWF0aW9uID0gbnVsbDtcbiAgICAgICAgICAgIGlmIChvcmcuY29udGFjdEluZm9ybWF0aW9uICYmICBvcmcuY29udGFjdEluZm9ybWF0aW9uWzBdKSB7XG4gICAgICAgICAgICAgICAgY29udGFjdEluZm9ybWF0aW9uID0gb3JnLmNvbnRhY3RJbmZvcm1hdGlvblswXTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIG9yZ2FuaXNhdGlvbnNWbS5wdXNoKHtcbiAgICAgICAgICAgICAgICBvcmdhbmlzYXRpb25JZGVudGlmaWVyOiBvcmcub3JnYW5pc2F0aW9uSWRlbnRpZmllcixcbiAgICAgICAgICAgICAgICBuYW1lOiBvcmcubmFtZSxcbiAgICAgICAgICAgICAgICBhZGRyZXNzTGluZTE6IGNvbnRhY3RJbmZvcm1hdGlvbiAhPT0gbnVsbCA/IGNvbnRhY3RJbmZvcm1hdGlvbi5hZGRyZXNzTGluZTEgOiBudWxsLFxuICAgICAgICAgICAgICAgIGFkZHJlc3NMaW5lMjogY29udGFjdEluZm9ybWF0aW9uICE9PSBudWxsID8gY29udGFjdEluZm9ybWF0aW9uLmFkZHJlc3NMaW5lMiA6IG51bGwsXG4gICAgICAgICAgICAgICAgYWRkcmVzc0xpbmUzOiBjb250YWN0SW5mb3JtYXRpb24gIT09IG51bGwgPyBjb250YWN0SW5mb3JtYXRpb24uYWRkcmVzc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ibGlzaFJlcGxheSgxKSwgcmVmQ291bnQoKSwgdGFrZSgxKSwgY2F0Y2hFcnJvcihlID0+IHtcbiAgICAgICAgICAgICAgICBjb25zb2xlLmxvZyhlKTtcbiAgICAgICAgICAgICAgICAvLyBIYW5kbGUgZXJyb3IgYW5kIHJldHVybiBibGFuayBPYnNlcnZhYmxlIGFycmF5XG4gICAgICAgICAgICAgICAgcmV0dXJuIG9mKFtdKTtcbiAgICAgICAgICAgIH0pKTtcbiAgICAgICAgICAgIHRpbWVyKGNhY2hlVGltZU91dCkuc3Vic2NyaWJlKCgpID0+IHtcbiAgICAgICAgICAgICAgICB0aGlzLm9yZ2FuaXNhdGlvbnMkID0gbnVsbDtcbiAgICAgICAgICAgIH0pO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiB0aGlzLm9yZ2FuaXNhdGlvbnMkO1xuICAgIH1cbn1cbiJdfQ==
@@ -0,0 +1,3 @@
1
+ export * from './profile.service';
2
+ export * from './profile.notifier';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL3NlcnZpY2VzL3Byb2ZpbGUvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLG9CQUFvQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9wcm9maWxlLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9wcm9maWxlLm5vdGlmaWVyJztcbiJdfQ==
@@ -0,0 +1,19 @@
1
+ import { Injectable } from '@angular/core';
2
+ import { BehaviorSubject } from 'rxjs';
3
+ import { Profile } from '../../domain/profile/profile.model';
4
+ import * as i0 from "@angular/core";
5
+ export class ProfileNotifier {
6
+ constructor() {
7
+ this.profileSource = new BehaviorSubject(new Profile());
8
+ this.profile = this.profileSource.asObservable();
9
+ }
10
+ announceProfile(profile) {
11
+ this.profileSource.next(profile);
12
+ }
13
+ }
14
+ ProfileNotifier.ɵfac = function ProfileNotifier_Factory(t) { return new (t || ProfileNotifier)(); };
15
+ ProfileNotifier.ɵprov = i0.ɵɵdefineInjectable({ token: ProfileNotifier, factory: ProfileNotifier.ɵfac });
16
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProfileNotifier, [{
17
+ type: Injectable
18
+ }], null, null); })();
19
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZmlsZS5ub3RpZmllci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvc2VydmljZXMvcHJvZmlsZS9wcm9maWxlLm5vdGlmaWVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUN2QyxPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sb0NBQW9DLENBQUM7O0FBRzdELE1BQU0sT0FBTyxlQUFlO0lBRDVCO1FBRWtCLGtCQUFhLEdBQTZCLElBQUksZUFBZSxDQUFVLElBQUksT0FBTyxFQUFFLENBQUMsQ0FBQztRQUMvRixZQUFPLEdBQUcsSUFBSSxDQUFDLGFBQWEsQ0FBQyxZQUFZLEVBQUUsQ0FBQztLQU1wRDtJQUpRLGVBQWUsQ0FBQyxPQUFnQjtRQUNyQyxJQUFJLENBQUMsYUFBYSxDQUFDLElBQUksQ0FBQyxPQUFPLENBQUMsQ0FBQztJQUNuQyxDQUFDOzs4RUFOVSxlQUFlO3VEQUFmLGVBQWUsV0FBZixlQUFlO3VGQUFmLGVBQWU7Y0FEM0IsVUFBVSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGFibGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IEJlaGF2aW9yU3ViamVjdCB9IGZyb20gJ3J4anMnO1xuaW1wb3J0IHsgUHJvZmlsZSB9IGZyb20gJy4uLy4uL2RvbWFpbi9wcm9maWxlL3Byb2ZpbGUubW9kZWwnO1xuXG5ASW5qZWN0YWJsZSgpXG5leHBvcnQgY2xhc3MgUHJvZmlsZU5vdGlmaWVyIHtcbiAgcHVibGljIHJlYWRvbmx5IHByb2ZpbGVTb3VyY2U6IEJlaGF2aW9yU3ViamVjdDxQcm9maWxlPiA9IG5ldyBCZWhhdmlvclN1YmplY3Q8UHJvZmlsZT4obmV3IFByb2ZpbGUoKSk7XG4gIHB1YmxpYyBwcm9maWxlID0gdGhpcy5wcm9maWxlU291cmNlLmFzT2JzZXJ2YWJsZSgpO1xuXG4gIHB1YmxpYyBhbm5vdW5jZVByb2ZpbGUocHJvZmlsZTogUHJvZmlsZSkge1xuICAgIHRoaXMucHJvZmlsZVNvdXJjZS5uZXh0KHByb2ZpbGUpO1xuICB9XG5cbn1cbiJdfQ==
@@ -0,0 +1,34 @@
1
+ import { HttpHeaders } from '@angular/common/http';
2
+ import { Injectable } from '@angular/core';
3
+ import { plainToClass } from 'class-transformer';
4
+ import { map } from 'rxjs/operators';
5
+ import { AbstractAppConfig } from '../../../app.config';
6
+ import { Profile } from '../../domain/profile/profile.model';
7
+ import { HttpService } from '../http/http.service';
8
+ import * as i0 from "@angular/core";
9
+ import * as i1 from "../http/http.service";
10
+ import * as i2 from "../../../app.config";
11
+ export class ProfileService {
12
+ constructor(httpService, appConfig) {
13
+ this.httpService = httpService;
14
+ this.appConfig = appConfig;
15
+ }
16
+ get() {
17
+ const url = this.appConfig.getCaseDataUrl() + ProfileService.URL;
18
+ const headers = new HttpHeaders()
19
+ .set('experimental', 'true')
20
+ .set('Accept', ProfileService.V2_MEDIATYPE_USER_PROFILE)
21
+ .set('Content-Type', 'application/json');
22
+ return this.httpService
23
+ .get(url, { headers, observe: 'body' })
24
+ .pipe(map((p) => plainToClass(Profile, p)));
25
+ }
26
+ }
27
+ ProfileService.V2_MEDIATYPE_USER_PROFILE = 'application/vnd.uk.gov.hmcts.ccd-data-store-api.ui-user-profile.v2+json;charset=UTF-8';
28
+ ProfileService.URL = '/internal/profile';
29
+ ProfileService.ɵfac = function ProfileService_Factory(t) { return new (t || ProfileService)(i0.ɵɵinject(i1.HttpService), i0.ɵɵinject(i2.AbstractAppConfig)); };
30
+ ProfileService.ɵprov = i0.ɵɵdefineInjectable({ token: ProfileService, factory: ProfileService.ɵfac });
31
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProfileService, [{
32
+ type: Injectable
33
+ }], function () { return [{ type: i1.HttpService }, { type: i2.AbstractAppConfig }]; }, null); })();
34
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZmlsZS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9zZXJ2aWNlcy9wcm9maWxlL3Byb2ZpbGUuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDbkQsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sbUJ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ubHkgaHR0cFNlcnZpY2U6IEh0dHBTZXJ2aWNlLCBwcml2YXRlIHJlYWRvbmx5IGFwcENvbmZpZzogQWJzdHJhY3RBcHBDb25maWcpIHt9XG5cbiAgcHVibGljIGdldCgpOiBPYnNlcnZhYmxlPFByb2ZpbGU+IHtcbiAgICBjb25zdCB1cmwgPSB0aGlzLmFwcENvbmZpZy5nZXRDYXNlRGF0YVVybCgpICsgUHJvZmlsZVNlcnZpY2UuVVJMO1xuICAgIGNvbnN0IGhlYWRlcnMgPSBuZXcgSHR0cEhlYWRlcnMoKVxuICAgICAgLnNldCgnZXhwZXJpbWVudGFsJywgJ3RydWUnKVxuICAgICAgLnNldCgnQWNjZXB0JywgUHJvZmlsZVNlcnZpY2UuVjJfTUVESUFUWVBFX1VTRVJfUFJPRklMRSlcbiAgICAgIC5zZXQoJ0NvbnRlbnQtVHlwZScsICdhcHBsaWNhdGlvbi9qc29uJyk7XG5cbiAgICByZXR1cm4gdGhpcy5odHRwU2VydmljZVxuICAgICAgLmdldCh1cmwsIHtoZWFkZXJzLCBvYnNlcnZlOiAnYm9keSd9KVxuICAgICAgLnBpcGUoXG4gICAgICAgIG1hcCgocDogb2JqZWN0KSA9PiBwbGFpblRvQ2xhc3MoUHJvZmlsZSwgcCkpXG4gICAgICApO1xuICB9XG5cbn1cbiJdfQ==
@@ -0,0 +1,2 @@
1
+ export * from './request.options.builder';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL3NlcnZpY2VzL3JlcXVlc3QvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywyQkFBMkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcmVxdWVzdC5vcHRpb25zLmJ1aWxkZXInO1xuIl19