@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,41 @@
1
+ import { Pipe } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class FirstErrorPipe {
4
+ transform(value, args) {
5
+ if (!value) {
6
+ return '';
7
+ }
8
+ if (!args) {
9
+ args = 'Field';
10
+ }
11
+ const keys = Object.keys(value);
12
+ if (!keys.length) {
13
+ return '';
14
+ }
15
+ if (keys[0] === 'required') {
16
+ return `${args} is required`;
17
+ }
18
+ else if (keys[0] === 'pattern') {
19
+ return `The data entered is not valid for ${args}`;
20
+ }
21
+ else if (keys[0] === 'minlength') {
22
+ return `${args} is below the minimum length`;
23
+ }
24
+ else if (keys[0] === 'maxlength') {
25
+ return `${args} exceeds the maximum length`;
26
+ }
27
+ else if (value.hasOwnProperty('matDatetimePickerParse')) {
28
+ return 'The date entered is not valid. Please provide a valid date';
29
+ }
30
+ return value[keys[0]];
31
+ }
32
+ }
33
+ FirstErrorPipe.ɵfac = function FirstErrorPipe_Factory(t) { return new (t || FirstErrorPipe)(); };
34
+ FirstErrorPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "ccdFirstError", type: FirstErrorPipe, pure: true });
35
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FirstErrorPipe, [{
36
+ type: Pipe,
37
+ args: [{
38
+ name: 'ccdFirstError'
39
+ }]
40
+ }], null, null); })();
41
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlyc3QtZXJyb3IucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL3V0aWxzL2ZpcnN0LWVycm9yLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7O0FBTXBELE1BQU0sT0FBTyxjQUFjO0lBRWxCLFNBQVMsQ0FBQyxLQUF1QixFQUFFLElBQWE7UUFDckQsSUFBSSxDQUFDLEtBQUssRUFBRTtZQUNWLE9BQU8sRUFBRSxDQUFDO1NBQ1g7UUFFRCxJQUFJLENBQUMsSUFBSSxFQUFFO1lBQ1QsSUFBSSxHQUFHLE9BQU8sQ0FBQztTQUNoQjtRQUVELE1BQU0sSUFBSSxHQUFHLE1BQU0sQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLENBQUM7UUFFaEMsSUFBSSxDQUFDLElBQUksQ0FBQyxNQUFNLEVBQUU7WUFDaEIsT0FBTyxFQUFFLENBQUM7U0FDWDtRQUNELElBQUksSUFBSSxDQUFDLENBQUMsQ0FBQyxLQUFLLFVBQVUsRUFBRTtZQUMxQixPQUFPLEdBQUcsSUFBSSxjQUFjLENBQUM7U0FDOUI7YUFBTSxJQUFJLElBQUksQ0FBQyxDQUFDLENBQUMsS0FBSyxTQUFTLEVBQUU7WUFDaEMsT0FBTyxxQ0FBcUMsSUFBSSxFQ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5rZXlzKHZhbHVlKTtcblxuICAgIGlmICgha2V5cy5sZW5ndGgpIHtcbiAgICAgIHJldHVybiAnJztcbiAgICB9XG4gICAgaWYgKGtleXNbMF0gPT09ICdyZXF1aXJlZCcpIHtcbiAgICAgIHJldHVybiBgJHthcmdzfSBpcyByZXF1aXJlZGA7XG4gICAgfSBlbHNlIGlmIChrZXlzWzBdID09PSAncGF0dGVybicpIHtcbiAgICAgIHJldHVybiBgVGhlIGRhdGEgZW50ZXJlZCBpcyBub3QgdmFsaWQgZm9yICR7YXJnc31gO1xuICAgIH0gZWxzZSBpZiAoa2V5c1swXSA9PT0gJ21pbmxlbmd0aCcpIHtcbiAgICAgIHJldHVybiBgJHthcmdzfSBpcyBiZWxvdyB0aGUgbWluaW11bSBsZW5ndGhgO1xuICAgIH0gZWxzZSBpZiAoa2V5c1swXSA9PT0gJ21heGxlbmd0aCcpIHtcbiAgICAgIHJldHVybiBgJHthcmdzfSBleGNlZWRzIHRoZSBtYXhpbXVtIGxlbmd0aGA7XG4gICAgfSBlbHNlIGlmICh2YWx1ZS5oYXNPd25Qcm9wZXJ0eSgnbWF0RGF0ZXRpbWVQaWNrZXJQYXJzZScpKSB7XG4gICAgICByZXR1cm4gJ1RoZSBkYXRlIGVudGVyZWQgaXMgbm90IHZhbGlkLiBQbGVhc2UgcHJvdmlkZSBhIHZhbGlkIGRhdGUnO1xuICAgIH1cbiAgICByZXR1cm4gdmFsdWVba2V5c1swXV07XG4gIH1cblxufVxuIl19
@@ -0,0 +1,10 @@
1
+ export * from './dash.pipe';
2
+ export * from './date.pipe';
3
+ export * from './field-label.pipe';
4
+ export * from './first-error.pipe';
5
+ export * from './is-compound.pipe';
6
+ export * from './is-mandatory.pipe';
7
+ export * from './is-read-only.pipe';
8
+ export * from './utils.module';
9
+ export * from './is-read-only-and-not-collection.pipe';
10
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvcGFsZXR0ZS91dGlscy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGFBQWEsQ0FBQztBQUM1QixjQUFjLGFBQWEsQ0FBQztBQUM1QixjQUFjLG9CQUFvQixDQUFDO0FBQ25DLGNBQWMsb0JBQW9CLENBQUM7QUFDbkMsY0FBYyxvQkFBb0IsQ0FBQztBQUNuQyxjQUFjLHFCQUFxQixDQUFDO0FBQ3BDLGNBQWMscUJBQXFCLENBQUM7QUFDcEMsY0FBYyxnQkFBZ0IsQ0FBQztBQUMvQixjQUFjLHdDQUF3QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9kYXNoLnBpcGUnO1xuZXhwb3J0ICogZnJvbSAnLi9kYXRlLnBpcGUnO1xuZXhwb3J0ICogZnJvbSAnLi9maWVsZC1sYWJlbC5waXBlJztcbmV4cG9ydCAqIGZyb20gJy4vZmlyc3QtZXJyb3IucGlwZSc7XG5leHBvcnQgKiBmcm9tICcuL2lzLWNvbXBvdW5kLnBpcGUnO1xuZXhwb3J0ICogZnJvbSAnLi9pcy1tYW5kYXRvcnkucGlwZSc7XG5leHBvcnQgKiBmcm9tICcuL2lzLXJlYWQtb25seS5waXBlJztcbmV4cG9ydCAqIGZyb20gJy4vdXRpbHMubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vaXMtcmVhZC1vbmx5LWFuZC1ub3QtY29sbGVjdGlvbi5waXBlJztcbiJdfQ==
@@ -0,0 +1,31 @@
1
+ import { Pipe } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class IsCompoundPipe {
4
+ transform(field) {
5
+ if (!field || !field.field_type || !field.field_type.type) {
6
+ return false;
7
+ }
8
+ if (IsCompoundPipe.COMPOUND_TYPES.indexOf(field.field_type.type) !== -1) {
9
+ if (IsCompoundPipe.EXCLUDE.indexOf(field.field_type.id) !== -1) {
10
+ return false;
11
+ }
12
+ return true;
13
+ }
14
+ return false;
15
+ }
16
+ }
17
+ IsCompoundPipe.COMPOUND_TYPES = [
18
+ 'Complex', 'Label', 'AddressGlobal', 'AddressUK', 'AddressGlobalUK', 'CasePaymentHistoryViewer', 'CaseHistoryViewer', 'Organisation', 'WaysToPay'
19
+ ];
20
+ IsCompoundPipe.EXCLUDE = [
21
+ 'CaseLink'
22
+ ];
23
+ IsCompoundPipe.ɵfac = function IsCompoundPipe_Factory(t) { return new (t || IsCompoundPipe)(); };
24
+ IsCompoundPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "ccdIsCompound", type: IsCompoundPipe, pure: true });
25
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IsCompoundPipe, [{
26
+ type: Pipe,
27
+ args: [{
28
+ name: 'ccdIsCompound'
29
+ }]
30
+ }], null, null); })();
31
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtY29tcG91bmQucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL3V0aWxzL2lzLWNvbXBvdW5kLnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLElBQUksRUFBaUIsTUFBTSxlQUFlLENBQUM7O0FBT3BELE1BQU0sT0FBTyxjQUFjO0lBVWxCLFNBQVMsQ0FBQyxLQUFnQjtRQUMvQixJQUFJLENBQUMsS0FBSyxJQUFJLENBQUMsS0FBSyxDQUFDLFVBQVUsSUFBSSxDQUFDL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
2
+ import { CaseFieldService } from '../../../services/case-fields/case-field.service';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "../../../services/case-fields/case-field.service";
5
+ export class IsMandatoryPipe {
6
+ constructor(caseFieldService) {
7
+ this.caseFieldService = caseFieldService;
8
+ }
9
+ transform(field) {
10
+ return this.caseFieldService.isMandatory(field);
11
+ }
12
+ }
13
+ IsMandatoryPipe.ɵfac = function IsMandatoryPipe_Factory(t) { return new (t || IsMandatoryPipe)(i0.ɵɵdirectiveInject(i1.CaseFieldService)); };
14
+ IsMandatoryPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "ccdIsMandatory", type: IsMandatoryPipe, pure: true });
15
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IsMandatoryPipe, [{
16
+ type: Pipe,
17
+ args: [{
18
+ name: 'ccdIsMandatory'
19
+ }]
20
+ }], function () { return [{ type: i1.CaseFieldService }]; }, null); })();
21
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtbWFuZGF0b3J5LnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvcGFsZXR0ZS91dGlscy9pcy1tYW5kYXRvcnkucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQztBQUVwRCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxrREFBa0QsQ0FBQzs7O0FBS3BGLE1BQU0sT0FBTyxlQUFlO0lBRTFCLFlBQThCLGdCQUFrQztRQUFsQyxxQkFBZ0IsR0FBaEIsZ0JBQWdCLENBQWtCO0lBQUcsQ0FBQztJQUU3RCxTQUFTLENBQUMsS0FBZ0I7UUFDL0IsT0FBTyxJQUFJLENBQUMsZ0JBQWdCLENBQUMsV0FBVyxDQUFDLEtBQUssQ0FBQyxDQUFDO0lBQ2xELENBQUM7OzhFQU5VLGVBQWU7d0VBQWYsZUFBZTt1RkFBZixlQUFlO2NBSDNCLElBQUk7ZUFBQztnQkFDSixJQUFJLEVBQUUsZ0JBQWdCO2FBQ3ZCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUGlwZSwgUGlwZVRyYW5zZm9ybSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQ2FzZUZpZWxkIH0gZnJvbSAnLi4vLi4vLi4vZG9tYWluL2RlZmluaXRpb24vY2FzZS1maWVsZC5tb2RlbCc7XG5pbXBvcnQgeyBDYXNlRmllbGRTZXJ2aWNlIH0gZnJvbSAnLi4vLi4vLi4vc2VydmljZXMvY2FzZS1maWVsZHMvY2FzZS1maWVsZC5zZXJ2aWNlJztcblxuQFBpcGUoe1xuICBuYW1lOiAnY2NkSXNNYW5kYXRvcnknXG59KVxuZXhwb3J0IGNsYXNzIElzTWFuZGF0b3J5UGlwZSBpbXBsZW1lbnRzIFBpcGVUcmFuc2Zvcm0ge1xuXG4gIGNvbnN0cnVjdG9yKHByaXZhdGUgcmVhZG9ubHkgIGNhc2VGaWVsZFNlcnZpY2U6IENhc2VGaWVsZFNlcnZpY2UpIHt9XG5cbiAgcHVibGljIHRyYW5zZm9ybShmaWVsZDogQ2FzZUZpZWxkKTogYm9vbGVhbiB7XG4gICAgcmV0dXJuIHRoaXMuY2FzZUZpZWxkU2VydmljZS5pc01hbmRhdG9yeShmaWVsZCk7XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,31 @@
1
+ import { Pipe } from '@angular/core';
2
+ import { CaseFieldService } from '../../../services/case-fields';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "../../../services/case-fields";
5
+ export class IsReadOnlyAndNotCollectionPipe {
6
+ constructor(caseFieldService) {
7
+ this.caseFieldService = caseFieldService;
8
+ }
9
+ transform(field) {
10
+ if (!field || !field.field_type || !field.field_type.type) {
11
+ return false;
12
+ }
13
+ if (this.isCollection(field)) {
14
+ return false;
15
+ }
16
+ return this.caseFieldService.isReadOnly(field);
17
+ }
18
+ // CaseField @Expose() doesn't work with the pipe in here, so leaving the manual check
19
+ isCollection(field) {
20
+ return field.field_type && field.field_type.type === 'Collection';
21
+ }
22
+ }
23
+ IsReadOnlyAndNotCollectionPipe.ɵfac = function IsReadOnlyAndNotCollectionPipe_Factory(t) { return new (t || IsReadOnlyAndNotCollectionPipe)(i0.ɵɵdirectiveInject(i1.CaseFieldService)); };
24
+ IsReadOnlyAndNotCollectionPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "ccdIsReadOnlyAndNotCollection", type: IsReadOnlyAndNotCollectionPipe, pure: true });
25
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IsReadOnlyAndNotCollectionPipe, [{
26
+ type: Pipe,
27
+ args: [{
28
+ name: 'ccdIsReadOnlyAndNotCollection'
29
+ }]
30
+ }], function () { return [{ type: i1.CaseFieldService }]; }, null); })();
31
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtcmVhZC1vbmx5LWFuZC1ub3QtY29sbGVjdGlvbi5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUvdXRpbHMvaXMtcmVhZC1vbmx5LWFuZC1ub3QtY29sbGVjdGlvbi5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxJQUFJLEVBQWlCLE1BQU0sZUFBZSxDQUFDO0FBRXBELE9BQU8sRUFBR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G5AUGlwZSh7XG4gIG5hbWU6ICdjY2RJc1JlYWRPbmx5QW5kTm90Q29sbGVjdGlvbidcbn0pXG5leHBvcnQgY2xhc3MgSXNSZWFkT25seUFuZE5vdENvbGxlY3Rpb25QaXBlIGltcGxlbWVudHMgUGlwZVRyYW5zZm9ybSB7XG5cbiAgY29uc3RydWN0b3IocHJpdmF0ZSByZWFkb25seSAgY2FzZUZpZWxkU2VydmljZTogQ2FzZUZpZWxkU2VydmljZSkge31cblxuICBwdWJsaWMgdHJhbnNmb3JtKGZpZWxkOiBDYXNlRmllbGQpOiBib29sZWFuIHtcbiAgICBpZiAoIWZpZWxkIHx8ICFmaWVsZC5maWVsZF90eXBlIHx8ICFmaWVsZC5maWVsZF90eXBlLnR5cGUpIHtcbiAgICAgIHJldHVybiBmYWxzZTtcbiAgICB9XG4gICAgaWYgKHRoaXMuaXNDb2xsZWN0aW9uKGZpZWxkKSkge1xuICAgICAgcmV0dXJuIGZhbHNlO1xuICAgIH1cbiAgICByZXR1cm4gdGhpcy5jYXNlRmllbGRTZXJ2aWNlLmlzUmVhZE9ubHkoZmllbGQpO1xuICB9XG5cbiAgLy8gQ2FzZUZpZWxkIEBFeHBvc2UoKSBkb2Vzbid0IHdvcmsgd2l0aCB0aGUgcGlwZSBpbiBoZXJlLCBzbyBsZWF2aW5nIHRoZSBtYW51YWwgY2hlY2tcbiAgcHJpdmF0ZSBpc0NvbGxlY3Rpb24oZmllbGQ6IENhc2VGaWVsZCk6IGJvb2xlYW4ge1xuICAgIHJldHVybiBmaWVsZC5maWVsZF90eXBlICYmIGZpZWxkLmZpZWxkX3R5cGUudHlwZSA9PT0gJ0NvbGxlY3Rpb24nO1xuICB9XG59XG4iXX0=
@@ -0,0 +1,21 @@
1
+ import { Pipe } from '@angular/core';
2
+ import { CaseFieldService } from '../../../services/case-fields/case-field.service';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "../../../services/case-fields/case-field.service";
5
+ export class IsReadOnlyPipe {
6
+ constructor(caseFieldService) {
7
+ this.caseFieldService = caseFieldService;
8
+ }
9
+ transform(field) {
10
+ return this.caseFieldService.isReadOnly(field);
11
+ }
12
+ }
13
+ IsReadOnlyPipe.ɵfac = function IsReadOnlyPipe_Factory(t) { return new (t || IsReadOnlyPipe)(i0.ɵɵdirectiveInject(i1.CaseFieldService)); };
14
+ IsReadOnlyPipe.ɵpipe = i0.ɵɵdefinePipe({ name: "ccdIsReadOnly", type: IsReadOnlyPipe, pure: true });
15
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(IsReadOnlyPipe, [{
16
+ type: Pipe,
17
+ args: [{
18
+ name: 'ccdIsReadOnly'
19
+ }]
20
+ }], function () { return [{ type: i1.CaseFieldService }]; }, null); })();
21
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtcmVhZC1vbmx5LnBpcGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvcGFsZXR0ZS91dGlscy9pcy1yZWFkLW9ubHkucGlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsSUFBSSxFQUFpQixNQUFNLGVBQWUsQ0FBQztBQUVwRCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxrREFBa0QsQ0FBQzs7O0FBS3BGLE1BQU0sT0FBTyxjQUFjO0lBRXpCLFlBQTZCLGdCQUFrQztRQUFsQyxxQkFBZ0IsR0FBaEIsZ0JBQWdCLENBQWtCO0lBQUcsQ0FBQztJQUU1RCxTQUFTLENBQUMsS0FBZ0I7UUFDL0IsT0FBTyxJQUFJLENBQUMsZ0JBQWdCLENBQUMsVUFBVSxDQUFDLEtBQUssQ0FBQyxDQUFDO0lBQ2pELENBQUM7OzRFQU5VLGNBQWM7c0VBQWQsY0FBYzt1RkFBZCxjQUFjO2NBSDFCLElBQUk7ZUFBQztnQkFDSixJQUFJLEVBQUUsZUFBZTthQUN0QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFBpcGUsIFBpcGVUcmFuc2Zvcm0gfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IENhc2VGaWVsZCB9IGZyb20gJy4uLy4uLy4uL2RvbWFpbi9kZWZpbml0aW9uL2Nhc2UtZmllbGQubW9kZWwnO1xuaW1wb3J0IHsgQ2FzZUZpZWxkU2VydmljZSB9IGZyb20gJy4uLy4uLy4uL3NlcnZpY2VzL2Nhc2UtZmllbGRzL2Nhc2UtZmllbGQuc2VydmljZSc7XG5cbkBQaXBlKHtcbiAgbmFtZTogJ2NjZElzUmVhZE9ubHknXG59KVxuZXhwb3J0IGNsYXNzIElzUmVhZE9ubHlQaXBlIGltcGxlbWVudHMgUGlwZVRyYW5zZm9ybSB7XG5cbiAgY29uc3RydWN0b3IocHJpdmF0ZSByZWFkb25seSBjYXNlRmllbGRTZXJ2aWNlOiBDYXNlRmllbGRTZXJ2aWNlKSB7fVxuXG4gIHB1YmxpYyB0cmFuc2Zvcm0oZmllbGQ6IENhc2VGaWVsZCk6IGJvb2xlYW4ge1xuICAgIHJldHVybiB0aGlzLmNhc2VGaWVsZFNlcnZpY2UuaXNSZWFkT25seShmaWVsZCk7XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,62 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { NgModule } from '@angular/core';
3
+ import { DashPipe } from './dash.pipe';
4
+ import { DatePipe } from './date.pipe';
5
+ import { FieldLabelPipe } from './field-label.pipe';
6
+ import { FirstErrorPipe } from './first-error.pipe';
7
+ import { IsCompoundPipe } from './is-compound.pipe';
8
+ import { IsMandatoryPipe } from './is-mandatory.pipe';
9
+ import { IsReadOnlyAndNotCollectionPipe } from './is-read-only-and-not-collection.pipe';
10
+ import { IsReadOnlyPipe } from './is-read-only.pipe';
11
+ import * as i0 from "@angular/core";
12
+ export class PaletteUtilsModule {
13
+ }
14
+ PaletteUtilsModule.ɵfac = function PaletteUtilsModule_Factory(t) { return new (t || PaletteUtilsModule)(); };
15
+ PaletteUtilsModule.ɵmod = i0.ɵɵdefineNgModule({ type: PaletteUtilsModule });
16
+ PaletteUtilsModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
17
+ CommonModule
18
+ ]] });
19
+ (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(PaletteUtilsModule, { declarations: [DatePipe,
20
+ FieldLabelPipe,
21
+ FirstErrorPipe,
22
+ IsCompoundPipe,
23
+ IsMandatoryPipe,
24
+ IsReadOnlyPipe,
25
+ IsReadOnlyAndNotCollectionPipe,
26
+ DashPipe], imports: [CommonModule], exports: [DatePipe,
27
+ FieldLabelPipe,
28
+ FirstErrorPipe,
29
+ IsCompoundPipe,
30
+ IsMandatoryPipe,
31
+ IsReadOnlyPipe,
32
+ IsReadOnlyAndNotCollectionPipe,
33
+ DashPipe] }); })();
34
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaletteUtilsModule, [{
35
+ type: NgModule,
36
+ args: [{
37
+ imports: [
38
+ CommonModule
39
+ ],
40
+ declarations: [
41
+ DatePipe,
42
+ FieldLabelPipe,
43
+ FirstErrorPipe,
44
+ IsCompoundPipe,
45
+ IsMandatoryPipe,
46
+ IsReadOnlyPipe,
47
+ IsReadOnlyAndNotCollectionPipe,
48
+ DashPipe
49
+ ],
50
+ exports: [
51
+ DatePipe,
52
+ FieldLabelPipe,
53
+ FirstErrorPipe,
54
+ IsCompoundPipe,
55
+ IsMandatoryPipe,
56
+ IsReadOnlyPipe,
57
+ IsReadOnlyAndNotCollectionPipe,
58
+ DashPipe
59
+ ]
60
+ }]
61
+ }], null, null); })();
62
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9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i9pcy1tYW5kYXRvcnkucGlwZSc7XG5pbXBvcnQgeyBJc1JlYWRPbmx5QW5kTm90Q29sbGVjdGlvblBpcGUgfSBmcm9tICcuL2lzLXJlYWQtb25seS1hbmQtbm90LWNvbGxlY3Rpb24ucGlwZSc7XG5pbXBvcnQgeyBJc1JlYWRPbmx5UGlwZSB9IGZyb20gJy4vaXMtcmVhZC1vbmx5LnBpcGUnO1xuXG5ATmdNb2R1bGUoe1xuICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlXG4gIF0sXG4gIGRlY2xhcmF0aW9uczogW1xuICAgIERhdGVQaXBlLFxuICAgIEZpZWxkTGFiZWxQaXBlLFxuICAgIEZpcnN0RXJyb3JQaXBlLFxuICAgIElzQ29tcG91bmRQaXBlLFxuICAgIElzTWFuZGF0b3J5UGlwZSxcbiAgICBJc1JlYWRPbmx5UGlwZSxcbiAgICBJc1JlYWRPbmx5QW5kTm90Q29sbGVjdGlvblBpcGUsXG4gICAgRGFzaFBpcGVcbiAgXSxcbiAgZXhwb3J0czogW1xuICAgIERhdGVQaXBlLFxuICAgIEZpZWxkTGFiZWxQaXBlLFxuICAgIEZpcnN0RXJyb3JQaXBlLFxuICAgIElzQ29tcG91bmRQaXBlLFxuICAgIElzTWFuZGF0b3J5UGlwZSxcbiAgICBJc1JlYWRPbmx5UGlwZSxcbiAgICBJc1JlYWRPbmx5QW5kTm90Q29sbGVjdGlvblBpcGUsXG4gICAgRGFzaFBpcGVcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBQYWxldHRlVXRpbHNNb2R1bGUge31cbiJdfQ==
@@ -0,0 +1,2 @@
1
+ export * from './waystopay-field.component';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvcGFsZXR0ZS93YXlzdG9wYXkvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyw2QkFBNkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vd2F5c3RvcGF5LWZpZWxkLmNvbXBvbmVudCc7XG4iXX0=
@@ -0,0 +1,37 @@
1
+ import { Component } from '@angular/core';
2
+ import { AbstractAppConfig } from '../../../../app.config';
3
+ import { SessionStorageService } from '../../../services/session/session-storage.service';
4
+ import { PaymentField } from '../base-field/payment-field.component';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "../../../../app.config";
7
+ import * as i2 from "../../../services/session/session-storage.service";
8
+ import * as i3 from "@angular/common";
9
+ import * as i4 from "@hmcts/ccpay-web-component";
10
+ function WaysToPayFieldComponent_ccpay_payment_lib_0_Template(rf, ctx) { if (rf & 1) {
11
+ i0.ɵɵelement(0, "ccpay-payment-lib", 1);
12
+ } if (rf & 2) {
13
+ const ctx_r0 = i0.ɵɵnextContext();
14
+ i0.ɵɵproperty("API_ROOT", ctx_r0.getBaseURL())("BULKSCAN_API_ROOT", ctx_r0.getPayBulkScanBaseURL())("REFUNDS_API_ROOT", ctx_r0.getRefundsUrl())("CCD_CASE_NUMBER", ctx_r0.caseReference)("VIEW", "case-transactions")("TAKEPAYMENT", false)("SERVICEREQUEST", true)("PAYMENT_GROUP_REF", null)("EXC_REFERENCE", ctx_r0.caseReference)("DCN_NUMBER", null)("SELECTED_OPTION", "CCDorException")("LOGGEDINUSERROLES", ctx_r0.getUserRoles())("CARDPAYMENTRETURNURL", ctx_r0.getCardPaymentReturnUrl());
15
+ } }
16
+ export class WaysToPayFieldComponent extends PaymentField {
17
+ constructor(appConfig, sessionStorage) {
18
+ super(appConfig, sessionStorage);
19
+ }
20
+ getCardPaymentReturnUrl() {
21
+ return this.appConfig.getPaymentReturnUrl();
22
+ }
23
+ }
24
+ WaysToPayFieldComponent.ɵfac = function WaysToPayFieldComponent_Factory(t) { return new (t || WaysToPayFieldComponent)(i0.ɵɵdirectiveInject(i1.AbstractAppConfig), i0.ɵɵdirectiveInject(i2.SessionStorageService)); };
25
+ WaysToPayFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WaysToPayFieldComponent, selectors: [["ccd-ways-to-pay-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [[3, "API_ROOT", "BULKSCAN_API_ROOT", "REFUNDS_API_ROOT", "CCD_CASE_NUMBER", "VIEW", "TAKEPAYMENT", "SERVICEREQUEST", "PAYMENT_GROUP_REF", "EXC_REFERENCE", "DCN_NUMBER", "SELECTED_OPTION", "LOGGEDINUSERROLES", "CARDPAYMENTRETURNURL", 4, "ngIf"], [3, "API_ROOT", "BULKSCAN_API_ROOT", "REFUNDS_API_ROOT", "CCD_CASE_NUMBER", "VIEW", "TAKEPAYMENT", "SERVICEREQUEST", "PAYMENT_GROUP_REF", "EXC_REFERENCE", "DCN_NUMBER", "SELECTED_OPTION", "LOGGEDINUSERROLES", "CARDPAYMENTRETURNURL"]], template: function WaysToPayFieldComponent_Template(rf, ctx) { if (rf & 1) {
26
+ i0.ɵɵtemplate(0, WaysToPayFieldComponent_ccpay_payment_lib_0_Template, 1, 13, "ccpay-payment-lib", 0);
27
+ } if (rf & 2) {
28
+ i0.ɵɵproperty("ngIf", ctx.getUserRoles().length > 0);
29
+ } }, directives: [i3.NgIf, i4.PaymentLibComponent], encapsulation: 2 });
30
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WaysToPayFieldComponent, [{
31
+ type: Component,
32
+ args: [{
33
+ selector: 'ccd-ways-to-pay-field',
34
+ templateUrl: './waystopay-field.component.html'
35
+ }]
36
+ }], function () { return [{ type: i1.AbstractAppConfig }, { type: i2.SessionStorageService }]; }, null); })();
37
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJza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XR1cm5VcmwoKTogc3RyaW5nIHtcbiAgICByZXR1cm4gdGhpcy5hcHBDb25maWcuZ2V0UGF5bWVudFJldHVyblVybCgpO1xuICB9XG59XG4iLCI8Y2NwYXktcGF5bWVudC1saWIgKm5nSWY9XCJnZXRVc2VyUm9sZXMoKS5sZW5ndGggPiAwXCJcbiAgICBbQVBJX1JPT1RdPVwiZ2V0QmFzZVVSTCgpXCJcbiAgICBbQlVMS1NDQU5fQVBJX1JPT1RdPVwiZ2V0UGF5QnVsa1NjYW5CYXNlVVJMKClcIlxuICAgIFtSRUZVTkRTX0FQSV9ST09UXT1cImdldFJlZnVuZHNVcmwoKVwiXG4gICAgW0NDRF9DQVNFX05VTUJFUl09XCJjYXNlUmVmZXJlbmNlXCJcbiAgICBbVklFV109XCInY2FzZS10cmFuc2FjdGlvbnMnXCJcbiAgICBbVEFLRVBBWU1FTlRdPVwiZmFsc2VcIlxuICAgIFtTRVJWSUNFUkVRVUVTVF09XCJ0cnVlXCJcbiAgICBbUEFZTUVOVF9HUk9VUF9SRUZdPVwibnVsbFwiXG4gICAgW0VYQ19SRUZFUkVOQ0VdPVwiY2FzZVJlZmVyZW5jZVwiXG4gICAgW0RDTl9OVU1CRVJdPVwibnVsbFwiXG4gICAgW1NFTEVDVEVEX09QVElPTl09XCInQ0NEb3JFeGNlcHRpb24nXCJcbiAgICBbTE9HR0VESU5VU0VSUk9MRVNdPVwiZ2V0VXNlclJvbGVzKClcIlxuICAgIFtDQVJEUEFZTUVOVFJFVFVSTlVSTF09XCJnZXRDYXJkUGF5bWVudFJldHVyblVybCgpXCJcbj48L2NjcGF5LXBheW1lbnQtbGliPiJdfQ==
@@ -0,0 +1,4 @@
1
+ export * from './read-yes-no-field.component';
2
+ export * from './write-yes-no-field.component';
3
+ export * from './yes-no.service';
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvcGFsZXR0ZS95ZXMtbm8vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywrQkFBK0IsQ0FBQztBQUM5QyxjQUFjLGdDQUFnQyxDQUFDO0FBQy9DLGNBQWMsa0JBQWtCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3JlYWQteWVzLW5vLWZpZWxkLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3dyaXRlLXllcy1uby1maWVsZC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi95ZXMtbm8uc2VydmljZSc7XG4iXX0=
@@ -0,0 +1,32 @@
1
+ import { Component } from '@angular/core';
2
+ import { AbstractFieldReadComponent } from '../base-field/abstract-field-read.component';
3
+ import { YesNoService } from './yes-no.service';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "./yes-no.service";
6
+ export class ReadYesNoFieldComponent extends AbstractFieldReadComponent {
7
+ constructor(yesNoService) {
8
+ super();
9
+ this.yesNoService = yesNoService;
10
+ }
11
+ ngOnInit() {
12
+ super.ngOnInit();
13
+ this.formattedValue = this.yesNoService.format(this.caseField.value);
14
+ }
15
+ }
16
+ ReadYesNoFieldComponent.ɵfac = function ReadYesNoFieldComponent_Factory(t) { return new (t || ReadYesNoFieldComponent)(i0.ɵɵdirectiveInject(i1.YesNoService)); };
17
+ ReadYesNoFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadYesNoFieldComponent, selectors: [["ccd-read-yes-no-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 2, vars: 1, consts: [[1, "text-16"]], template: function ReadYesNoFieldComponent_Template(rf, ctx) { if (rf & 1) {
18
+ i0.ɵɵelementStart(0, "span", 0);
19
+ i0.ɵɵtext(1);
20
+ i0.ɵɵelementEnd();
21
+ } if (rf & 2) {
22
+ i0.ɵɵadvance(1);
23
+ i0.ɵɵtextInterpolate(ctx.formattedValue);
24
+ } }, encapsulation: 2 });
25
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadYesNoFieldComponent, [{
26
+ type: Component,
27
+ args: [{
28
+ selector: 'ccd-read-yes-no-field',
29
+ template: `<span class="text-16">{{formattedValue}}</span>`
30
+ }]
31
+ }], function () { return [{ type: i1.YesNoService }]; }, null); })();
32
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhZC15ZXMtbm8tZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUveWVzLW5vL3JlYWQteWVzLW5vLWZpZWxkLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQ2xELE9BQU8sRUFBRSwwQkFBMEIsRUFBRSxNQUFNLDZDQUE2QyxDQUFDO0FBQ3pGLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQzs7O0FBTWhELE1BQU0sT0FBTyx1QkFBd0IsU0FBUSwwQkFBMEI7SUFJckUsWUFBNkIsWUFBMEI7UUFDckQsS0FBSyxFQUFFLENBQUM7UUFEbUIsaUJBQVksR0FBWixZQUFZLENBQWM7SUFFdkQsQ0FBQztJQUVNLFFBQVE7UUFDYixLQUFLLENBQUMsUUFBUSxFQUFFLENBQUM7UUFDakIsSUFBSSxDQUFDLGNBQWMsR0FBRyxJQUFJLENBQUMsWUFBWSxD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aXQoKSB7XG4gICAgc3VwZXIubmdPbkluaXQoKTtcbiAgICB0aGlzLmZvcm1hdHRlZFZhbHVlID0gdGhpcy55ZXNOb1NlcnZpY2UuZm9ybWF0KHRoaXMuY2FzZUZpZWxkLnZhbHVlKTtcbiAgfVxuXG59XG4iXX0=
@@ -0,0 +1,105 @@
1
+ import { Component } from '@angular/core';
2
+ import { FormControl } from '@angular/forms';
3
+ import { AbstractFieldWriteComponent } from '../base-field/abstract-field-write.component';
4
+ import { YesNoService } from './yes-no.service';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "./yes-no.service";
7
+ import * as i2 from "@angular/common";
8
+ import * as i3 from "@angular/forms";
9
+ import * as i4 from "../utils/field-label.pipe";
10
+ import * as i5 from "../utils/first-error.pipe";
11
+ function WriteYesNoFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
12
+ i0.ɵɵelementStart(0, "span", 7);
13
+ i0.ɵɵtext(1);
14
+ i0.ɵɵpipe(2, "ccdFieldLabel");
15
+ i0.ɵɵelementEnd();
16
+ } if (rf & 2) {
17
+ const ctx_r0 = i0.ɵɵnextContext();
18
+ i0.ɵɵadvance(1);
19
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, ctx_r0.caseField));
20
+ } }
21
+ function WriteYesNoFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
22
+ i0.ɵɵelementStart(0, "span", 8);
23
+ i0.ɵɵtext(1);
24
+ i0.ɵɵelementEnd();
25
+ } if (rf & 2) {
26
+ const ctx_r1 = i0.ɵɵnextContext();
27
+ i0.ɵɵadvance(1);
28
+ i0.ɵɵtextInterpolate(ctx_r1.caseField.hint_text);
29
+ } }
30
+ function WriteYesNoFieldComponent_span_5_Template(rf, ctx) { if (rf & 1) {
31
+ i0.ɵɵelementStart(0, "span", 9);
32
+ i0.ɵɵtext(1);
33
+ i0.ɵɵpipe(2, "ccdFirstError");
34
+ i0.ɵɵelementEnd();
35
+ } if (rf & 2) {
36
+ const ctx_r2 = i0.ɵɵnextContext();
37
+ i0.ɵɵadvance(1);
38
+ i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(2, 1, ctx_r2.yesNoControl.errors, ctx_r2.caseField.label));
39
+ } }
40
+ const _c0 = function (a0) { return { selected: a0 }; };
41
+ function WriteYesNoFieldComponent_div_7_Template(rf, ctx) { if (rf & 1) {
42
+ i0.ɵɵelementStart(0, "div", 10);
43
+ i0.ɵɵelement(1, "input", 11);
44
+ i0.ɵɵelementStart(2, "label", 12);
45
+ i0.ɵɵtext(3);
46
+ i0.ɵɵelementEnd();
47
+ i0.ɵɵelementEnd();
48
+ } if (rf & 2) {
49
+ const value_r4 = ctx.$implicit;
50
+ const ctx_r3 = i0.ɵɵnextContext();
51
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(8, _c0, ctx_r3.yesNoControl.value === value_r4));
52
+ i0.ɵɵadvance(1);
53
+ i0.ɵɵproperty("id", ctx_r3.createElementId(value_r4))("name", ctx_r3.id())("formControl", ctx_r3.yesNoControl)("value", value_r4);
54
+ i0.ɵɵattribute("name", ctx_r3.id());
55
+ i0.ɵɵadvance(1);
56
+ i0.ɵɵproperty("for", ctx_r3.createElementId(value_r4));
57
+ i0.ɵɵadvance(1);
58
+ i0.ɵɵtextInterpolate(value_r4);
59
+ } }
60
+ const _c1 = function (a0) { return { "form-group-error": a0 }; };
61
+ export class WriteYesNoFieldComponent extends AbstractFieldWriteComponent {
62
+ constructor(yesNoService) {
63
+ super();
64
+ this.yesNoService = yesNoService;
65
+ this.yesNoValues = ['Yes', 'No'];
66
+ }
67
+ ngOnInit() {
68
+ this.yesNoControl = this.registerControl(new FormControl(this.yesNoService.format(this.caseField.value)));
69
+ }
70
+ }
71
+ WriteYesNoFieldComponent.ɵfac = function WriteYesNoFieldComponent_Factory(t) { return new (t || WriteYesNoFieldComponent)(i0.ɵɵdirectiveInject(i1.YesNoService)); };
72
+ WriteYesNoFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteYesNoFieldComponent, selectors: [["ccd-write-yes-no-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 8, vars: 9, consts: [[1, "form-group", "bottom-30", 3, "id", "ngClass"], [1, "inline"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], [3, "id"], ["class", "multiple-choice", 3, "ngClass", 4, "ngFor", "ngForOf"], [1, "form-label"], [1, "form-hint"], [1, "error-message"], [1, "multiple-choice", 3, "ngClass"], ["type", "radio", 1, "form-control", 3, "id", "name", "formControl", "value"], [1, "form-label", 3, "for"]], template: function WriteYesNoFieldComponent_Template(rf, ctx) { if (rf & 1) {
73
+ i0.ɵɵelementStart(0, "div", 0);
74
+ i0.ɵɵelementStart(1, "fieldset", 1);
75
+ i0.ɵɵelementStart(2, "legend");
76
+ i0.ɵɵtemplate(3, WriteYesNoFieldComponent_span_3_Template, 3, 3, "span", 2);
77
+ i0.ɵɵelementEnd();
78
+ i0.ɵɵtemplate(4, WriteYesNoFieldComponent_span_4_Template, 2, 1, "span", 3);
79
+ i0.ɵɵtemplate(5, WriteYesNoFieldComponent_span_5_Template, 3, 4, "span", 4);
80
+ i0.ɵɵelementStart(6, "div", 5);
81
+ i0.ɵɵtemplate(7, WriteYesNoFieldComponent_div_7_Template, 4, 10, "div", 6);
82
+ i0.ɵɵelementEnd();
83
+ i0.ɵɵelementEnd();
84
+ i0.ɵɵelementEnd();
85
+ } if (rf & 2) {
86
+ i0.ɵɵproperty("id", ctx.id())("ngClass", i0.ɵɵpureFunction1(7, _c1, !ctx.yesNoControl.valid && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched)));
87
+ i0.ɵɵadvance(3);
88
+ i0.ɵɵproperty("ngIf", ctx.caseField.label);
89
+ i0.ɵɵadvance(1);
90
+ i0.ɵɵproperty("ngIf", ctx.caseField.hint_text);
91
+ i0.ɵɵadvance(1);
92
+ i0.ɵɵproperty("ngIf", ctx.yesNoControl.errors && (ctx.yesNoControl.dirty || ctx.yesNoControl.touched));
93
+ i0.ɵɵadvance(1);
94
+ i0.ɵɵproperty("id", ctx.createElementId("radio"));
95
+ i0.ɵɵadvance(1);
96
+ i0.ɵɵproperty("ngForOf", ctx.yesNoValues);
97
+ } }, directives: [i2.NgClass, i2.NgIf, i2.NgForOf, i3.RadioControlValueAccessor, i3.DefaultValueAccessor, i3.NgControlStatus, i3.FormControlDirective], pipes: [i4.FieldLabelPipe, i5.FirstErrorPipe], encapsulation: 2 });
98
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteYesNoFieldComponent, [{
99
+ type: Component,
100
+ args: [{
101
+ selector: 'ccd-write-yes-no-field',
102
+ templateUrl: './write-yes-no-field.html'
103
+ }]
104
+ }], function () { return [{ type: i1.YesNoService }]; }, null); })();
105
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3JpdGUteWVzLW5vLWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL3llcy1uby93cml0ZS15ZXMtbm8tZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUveWVzLW5vL3dyaXRlLXllcy1uby1maWVsZC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDbEQsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQzdDLE9BQU8sRUF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XCJlcnJvci1tZXNzYWdlXCIgKm5nSWY9XCJ5ZXNOb0NvbnRyb2wuZXJyb3JzICYmICh5ZXNOb0NvbnRyb2wuZGlydHkgfHwgeWVzTm9Db250cm9sLnRvdWNoZWQpXCI+e3t5ZXNOb0NvbnRyb2wuZXJyb3JzIHwgY2NkRmlyc3RFcnJvcjpjYXNlRmllbGQubGFiZWx9fTwvc3Bhbj5cblxuICAgIDxkaXYgW2lkXT1cImNyZWF0ZUVsZW1lbnRJZCgncmFkaW8nKVwiPlxuXG4gIFx0ICA8ZGl2IGNsYXNzPVwibXVsdGlwbGUtY2hvaWNlXCIgKm5nRm9yPVwibGV0IHZhbHVlIG9mIHllc05vVmFsdWVzXCIgW25nQ2xhc3NdPVwie3NlbGVjdGVkOiB5ZXNOb0NvbnRyb2wudmFsdWUgPT09IHZhbHVlfVwiPlxuICBcdCAgICA8aW5wdXQgY2xhc3M9XCJmb3JtLWNvbnRyb2xcIiBbaWRdPVwiY3JlYXRlRWxlbWVudElkKHZhbHVlKVwiIFthdHRyLm5hbWVdPVwiaWQoKVwiIFtuYW1lXT1cImlkKClcIiB0eXBlPVwicmFkaW9cIiBbZm9ybUNvbnRyb2xdPVwieWVzTm9Db250cm9sXCIgW3ZhbHVlXT1cInZhbHVlXCI+XG4gIFx0ICAgIDxsYWJlbCBjbGFzcz1cImZvcm0tbGFiZWxcIiBbZm9yXT1cImNyZWF0ZUVsZW1lbnRJZCh2YWx1ZSlcIj57e3ZhbHVlfX08L2xhYmVsPlxuICBcdCAgPC9kaXY+XG5cbiAgICA8L2Rpdj5cblxuXHQ8L2ZpZWxkc2V0PlxuXG48L2Rpdj5cbiJdfQ==
@@ -0,0 +1,48 @@
1
+ import { Injectable } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class YesNoService {
4
+ format(value) {
5
+ if (this.isYes(value)) {
6
+ return YesNoService.YES;
7
+ }
8
+ else if (this.isNo(value)) {
9
+ return YesNoService.NO;
10
+ }
11
+ return YesNoService.EMPTY;
12
+ }
13
+ isYes(value) {
14
+ switch (typeof (value)) {
15
+ case 'boolean':
16
+ return value;
17
+ case 'string':
18
+ return YesNoService.YES_INPUTS.indexOf(value.toUpperCase()) !== -1;
19
+ }
20
+ return false;
21
+ }
22
+ isNo(value) {
23
+ switch (typeof (value)) {
24
+ case 'boolean':
25
+ return !value;
26
+ case 'string':
27
+ return YesNoService.NO_INPUTS.indexOf(value.toUpperCase()) !== -1;
28
+ }
29
+ return false;
30
+ }
31
+ }
32
+ YesNoService.YES_INPUTS = [
33
+ 'Y',
34
+ 'YES'
35
+ ];
36
+ YesNoService.NO_INPUTS = [
37
+ 'N',
38
+ 'NO'
39
+ ];
40
+ YesNoService.YES = 'Yes';
41
+ YesNoService.NO = 'No';
42
+ YesNoService.EMPTY = null;
43
+ YesNoService.ɵfac = function YesNoService_Factory(t) { return new (t || YesNoService)(); };
44
+ YesNoService.ɵprov = i0.ɵɵdefineInjectable({ token: YesNoService, factory: YesNoService.ɵfac });
45
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(YesNoService, [{
46
+ type: Injectable
47
+ }], null, null); })();
48
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoieWVzLW5vLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvcGFsZXR0ZS95ZXMtbm8veWVzLW5vLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFHM0MsTUFBTSxPQUFPLFlBQVk7SUFhaEIsTUFBTSxDQUFDLEtBQVU7UUFFdEIsSUFBSSxJQUFJLENBQUMsS0FBSyxDQ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AgICBjYXNlICdzdHJpbmcnOlxuICAgICAgICByZXR1cm4gWWVzTm9TZXJ2aWNlLllFU19JTlBVVFMuaW5kZXhPZih2YWx1ZS50b1VwcGVyQ2FzZSgpKSAhPT0gLTE7XG4gICAgfVxuXG4gICAgcmV0dXJuIGZhbHNlO1xuICB9XG5cbiAgcHJpdmF0ZSBpc05vKHZhbHVlOiBhbnkpOiBib29sZWFuIHtcbiAgICBzd2l0Y2ggKHR5cGVvZih2YWx1ZSkpIHtcbiAgICAgIGNhc2UgJ2Jvb2xlYW4nOlxuICAgICAgICByZXR1cm4gIXZhbHVlO1xuICAgICAgY2FzZSAnc3RyaW5nJzpcbiAgICAgICAgcmV0dXJuIFllc05vU2VydmljZS5OT19JTlBVVFMuaW5kZXhPZih2YWx1ZS50b1VwcGVyQ2FzZSgpKSAhPT0gLTE7XG4gICAgfVxuXG4gICAgcmV0dXJuIGZhbHNlO1xuICB9XG59XG4iXX0=
@@ -0,0 +1,2 @@
1
+ export * from './search-input.model';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvc2VhcmNoLWZpbHRlcnMvZG9tYWluL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsc0JBQXNCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NlYXJjaC1pbnB1dC5tb2RlbCc7XG4iXX0=
@@ -0,0 +1,10 @@
1
+ export class SearchInput {
2
+ constructor(label, order, field, metadata, display_context_parameter) {
3
+ this.label = label;
4
+ this.order = order;
5
+ this.field = field;
6
+ this.metadata = metadata;
7
+ this.display_context_parameter = display_context_parameter;
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29sZWFuLFxuICAgICAgcHVibGljIGRpc3BsYXlfY29udGV4dF9wYXJhbWV0ZXI/OiBzdHJpbmcpIHtcbiAgICB9XG59XG4iXX0=
@@ -0,0 +1,5 @@
1
+ export * from './domain';
2
+ export * from './search-filters.component';
3
+ export * from './search-filters-wrapper.component';
4
+ export * from './search-filters.module';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvc2VhcmNoLWZpbHRlcnMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxVQUFVLENBQUM7QUFDekIsY0FBYyw0QkFBNEIsQ0FBQztBQUMzQyxjQUFjLG9DQUFvQyxDQUFDO0FBQ25ELGNBQWMseUJBQXlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2RvbWFpbic7XG5leHBvcnQgKiBmcm9tICcuL3NlYXJjaC1maWx0ZXJzLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3NlYXJjaC1maWx0ZXJzLXdyYXBwZXIuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vc2VhcmNoLWZpbHRlcnMubW9kdWxlJztcbiJdfQ==
@@ -0,0 +1,61 @@
1
+ import { Component, EventEmitter, Input, Output } from '@angular/core';
2
+ import { READ_ACCESS } from '../../domain/case-view/access-types.model';
3
+ import { DefinitionsService } from '../../services/definitions/definitions.service';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "../../services/definitions/definitions.service";
6
+ function SearchFiltersWrapperComponent_ccd_search_filters_0_Template(rf, ctx) { if (rf & 1) {
7
+ const _r2 = i0.ɵɵgetCurrentView();
8
+ i0.ɵɵelementStart(0, "ccd-search-filters", 1);
9
+ i0.ɵɵlistener("onApply", function SearchFiltersWrapperComponent_ccd_search_filters_0_Template_ccd_search_filters_onApply_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r1 = i0.ɵɵnextContext(); return ctx_r1.onWrapperApply($event); })("onReset", function SearchFiltersWrapperComponent_ccd_search_filters_0_Template_ccd_search_filters_onReset_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r3 = i0.ɵɵnextContext(); return ctx_r3.onWrapperReset($event); })("onJuridiction", function SearchFiltersWrapperComponent_ccd_search_filters_0_Template_ccd_search_filters_onJuridiction_0_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r4 = i0.ɵɵnextContext(); return ctx_r4.onWrapperJurisdiction($event); });
10
+ i0.ɵɵelementEnd();
11
+ } if (rf & 2) {
12
+ const ctx_r0 = i0.ɵɵnextContext();
13
+ i0.ɵɵproperty("jurisdictions", ctx_r0.jurisdictions)("autoApply", ctx_r0.autoApply);
14
+ } }
15
+ export class SearchFiltersWrapperComponent {
16
+ constructor(definitionsService) {
17
+ this.definitionsService = definitionsService;
18
+ this.onApply = new EventEmitter();
19
+ this.onReset = new EventEmitter();
20
+ this.onJurisdiction = new EventEmitter();
21
+ }
22
+ ngOnInit() {
23
+ this.isVisible = false;
24
+ this.definitionsService.getJurisdictions(READ_ACCESS)
25
+ .subscribe(jurisdictions => {
26
+ this.isVisible = true;
27
+ this.jurisdictions = jurisdictions;
28
+ });
29
+ }
30
+ onWrapperApply(value) {
31
+ this.onApply.emit(value);
32
+ }
33
+ onWrapperReset(value) {
34
+ this.onReset.emit(value);
35
+ }
36
+ onWrapperJurisdiction(value) {
37
+ this.onJurisdiction.emit(value);
38
+ }
39
+ }
40
+ SearchFiltersWrapperComponent.ɵfac = function SearchFiltersWrapperComponent_Factory(t) { return new (t || SearchFiltersWrapperComponent)(i0.ɵɵdirectiveInject(i1.DefinitionsService)); };
41
+ SearchFiltersWrapperComponent.ɵcmp = i0.ɵɵdefineComponent({ type: SearchFiltersWrapperComponent, selectors: [["ccd-search-filters-wrapper"]], inputs: { autoApply: "autoApply" }, outputs: { onApply: "onApply", onReset: "onReset", onJurisdiction: "onJurisdiction" }, decls: 1, vars: 1, consts: [[3, "jurisdictions", "autoApply", "onApply", "onReset", "onJuridiction", 4, "ngIf"], [3, "jurisdictions", "autoApply", "onApply", "onReset", "onJuridiction"]], template: function SearchFiltersWrapperComponent_Template(rf, ctx) { if (rf & 1) {
42
+ i0.ɵɵtemplate(0, SearchFiltersWrapperComponent_ccd_search_filters_0_Template, 1, 2, "ccd-search-filters", 0);
43
+ } if (rf & 2) {
44
+ i0.ɵɵproperty("ngIf", ctx.isVisible);
45
+ } }, encapsulation: 2 });
46
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SearchFiltersWrapperComponent, [{
47
+ type: Component,
48
+ args: [{
49
+ selector: 'ccd-search-filters-wrapper',
50
+ templateUrl: './search-filters-wrapper.component.html',
51
+ }]
52
+ }], function () { return [{ type: i1.DefinitionsService }]; }, { autoApply: [{
53
+ type: Input
54
+ }], onApply: [{
55
+ type: Output
56
+ }], onReset: [{
57
+ type: Output
58
+ }], onJurisdiction: [{
59
+ type: Output
60
+ }] }); })();
61
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLWZpbHRlcnMtd3JhcHBlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvc2VhcmNoLWZpbHRlcnMvc2VhcmNoLWZpbHRlcnMtd3JhcHBlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIv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