@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,85 @@
1
+ import { Component, ComponentFactoryResolver, Injector, Input, ViewChild, ViewContainerRef } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { plainToClassFromExist } from 'class-transformer';
4
+ import { CaseField } from '../../../domain/definition/case-field.model';
5
+ import { PaletteService } from '../palette.service';
6
+ import { AbstractFieldReadComponent } from './abstract-field-read.component';
7
+ import * as i0 from "@angular/core";
8
+ import * as i1 from "../palette.service";
9
+ import * as i2 from "./field-read-label.component";
10
+ import * as i3 from "@angular/forms";
11
+ const _c0 = ["fieldContainer"];
12
+ const FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList'];
13
+ export class FieldReadComponent extends AbstractFieldReadComponent {
14
+ constructor(resolver, paletteService) {
15
+ super();
16
+ this.resolver = resolver;
17
+ this.paletteService = paletteService;
18
+ this.withLabel = false;
19
+ this.formGroup = new FormGroup({});
20
+ this.caseFields = [];
21
+ }
22
+ ngOnInit() {
23
+ // Ensure all field values are resolved by label interpolation before the component is fully initialised.
24
+ Promise.resolve(null).then(() => {
25
+ const componentClass = this.paletteService.getFieldComponentClass(this.caseField, false);
26
+ const injector = Injector.create([], this.fieldContainer.parentInjector);
27
+ const component = this.resolver.resolveComponentFactory(componentClass).create(injector);
28
+ // Provide component @Inputs
29
+ // Only Fixed list use plainToClassFromExist
30
+ // Better performance
31
+ // TODO AW 30/12/20 figure out why FixedLists need plainToClassFromExist
32
+ // Added a check to make sure it's NOT already a CaseField and then
33
+ // assigning it back to this.caseField so we don't create separation.
34
+ if (FIX_CASEFIELD_FOR.indexOf(this.caseField.field_type.type) > -1 && !(this.caseField instanceof CaseField)) {
35
+ this.caseField = plainToClassFromExist(new CaseField(), this.caseField);
36
+ }
37
+ component.instance['caseField'] = this.caseField;
38
+ component.instance['caseFields'] = this.caseFields;
39
+ component.instance['formGroup'] = this.formGroup;
40
+ component.instance['topLevelFormGroup'] = this.topLevelFormGroup;
41
+ component.instance['idPrefix'] = this.idPrefix;
42
+ component.instance['parent'] = this.parent;
43
+ component.instance['caseReference'] = this.caseReference;
44
+ component.instance['context'] = this.context;
45
+ component.instance['markdownUseHrefAsRouterLink'] = this.markdownUseHrefAsRouterLink;
46
+ this.fieldContainer.insert(component.hostView);
47
+ });
48
+ }
49
+ }
50
+ FieldReadComponent.ɵfac = function FieldReadComponent_Factory(t) { return new (t || FieldReadComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(i1.PaletteService)); };
51
+ FieldReadComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FieldReadComponent, selectors: [["ccd-field-read"]], viewQuery: function FieldReadComponent_Query(rf, ctx) { if (rf & 1) {
52
+ i0.ɵɵviewQuery(_c0, 1, ViewContainerRef);
53
+ } if (rf & 2) {
54
+ let _t;
55
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
56
+ } }, inputs: { withLabel: "withLabel", formGroup: "formGroup", caseFields: "caseFields", markdownUseHrefAsRouterLink: "markdownUseHrefAsRouterLink" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 6, consts: [[3, "hidden"], [3, "formGroup", "topLevelFormGroup", "caseField", "withLabel", "markdownUseHrefAsRouterLink"], ["fieldContainer", ""]], template: function FieldReadComponent_Template(rf, ctx) { if (rf & 1) {
57
+ i0.ɵɵelementStart(0, "div", 0);
58
+ i0.ɵɵelementStart(1, "ccd-field-read-label", 1);
59
+ i0.ɵɵelementContainer(2, null, 2);
60
+ i0.ɵɵelementEnd();
61
+ i0.ɵɵelementEnd();
62
+ } if (rf & 2) {
63
+ i0.ɵɵproperty("hidden", ctx.caseField.hidden);
64
+ i0.ɵɵadvance(1);
65
+ i0.ɵɵproperty("formGroup", ctx.formGroup)("topLevelFormGroup", ctx.topLevelFormGroup)("caseField", ctx.caseField)("withLabel", ctx.withLabel)("markdownUseHrefAsRouterLink", ctx.markdownUseHrefAsRouterLink);
66
+ } }, directives: [i2.FieldReadLabelComponent, i3.NgControlStatusGroup, i3.FormGroupDirective], encapsulation: 2 });
67
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FieldReadComponent, [{
68
+ type: Component,
69
+ args: [{
70
+ selector: 'ccd-field-read',
71
+ templateUrl: './field-read.html'
72
+ }]
73
+ }], function () { return [{ type: i0.ComponentFactoryResolver }, { type: i1.PaletteService }]; }, { withLabel: [{
74
+ type: Input
75
+ }], formGroup: [{
76
+ type: Input
77
+ }], caseFields: [{
78
+ type: Input
79
+ }], markdownUseHrefAsRouterLink: [{
80
+ type: Input
81
+ }], fieldContainer: [{
82
+ type: ViewChild,
83
+ args: ['fieldContainer', { static: false, read: ViewContainerRef }]
84
+ }] }); })();
85
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmllbGQtcmVhZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhc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HJlZkFzUm91dGVyTGlua109XCJtYXJrZG93blVzZUhyZWZBc1JvdXRlckxpbmtcIj5cbiAgICA8bmctY29udGFpbmVyICNmaWVsZENvbnRhaW5lcj48L25nLWNvbnRhaW5lcj5cbiAgPC9jY2QtZmllbGQtcmVhZC1sYWJlbD5cbjwvZGl2PlxuIl19
@@ -0,0 +1,84 @@
1
+ import { Component, ComponentFactoryResolver, Injector, Input, ViewChild, ViewContainerRef } from '@angular/core';
2
+ import { plainToClassFromExist } from 'class-transformer';
3
+ import { CaseField } from '../../../domain/definition/case-field.model';
4
+ import { FormValidatorsService } from '../../../services/form/form-validators.service';
5
+ import { PaletteService } from '../palette.service';
6
+ import { AbstractFieldWriteComponent } from './abstract-field-write.component';
7
+ import * as i0 from "@angular/core";
8
+ import * as i1 from "../palette.service";
9
+ const _c0 = ["fieldContainer"];
10
+ const FIX_CASEFIELD_FOR = ['FixedList', 'DynamicList'];
11
+ export class FieldWriteComponent extends AbstractFieldWriteComponent {
12
+ constructor(resolver, paletteService) {
13
+ super();
14
+ this.resolver = resolver;
15
+ this.paletteService = paletteService;
16
+ // EUI-3267. Flag for whether or not this can have a grey bar.
17
+ this.canHaveGreyBar = false;
18
+ this.caseFields = [];
19
+ }
20
+ ngOnInit() {
21
+ var _a;
22
+ const componentClass = this.paletteService.getFieldComponentClass(this.caseField, true);
23
+ const injectorOptions = {
24
+ providers: [],
25
+ parent: (_a = this.fieldContainer) === null || _a === void 0 ? void 0 : _a.injector
26
+ };
27
+ const injector = Injector.create(injectorOptions);
28
+ const factory = this.resolver.resolveComponentFactory(componentClass);
29
+ const component = this.fieldContainer.createComponent(factory, 0, injector);
30
+ // Only Fixed list use plainToClassFromExist
31
+ // Better performance
32
+ // TODO AW 30/12/20 figure out why FixedLists need plainToClassFromExist
33
+ // Added a check to make sure it's NOT already a CaseField and then
34
+ // assigning it back to this.caseField so we don't create separation.
35
+ if (FIX_CASEFIELD_FOR.indexOf(this.caseField.field_type.type) > -1 && !(this.caseField instanceof CaseField)) {
36
+ this.caseField = plainToClassFromExist(new CaseField(), this.caseField);
37
+ }
38
+ component.instance['caseField'] = this.caseField;
39
+ component.instance['caseFields'] = this.caseFields;
40
+ component.instance['formGroup'] = this.formGroup;
41
+ component.instance['parent'] = this.parent;
42
+ component.instance['idPrefix'] = this.idPrefix;
43
+ if (this.caseField.field_type.id === 'AddressGlobal') {
44
+ component.instance['ignoreMandatory'] = true;
45
+ }
46
+ component.instance['isExpanded'] = this.isExpanded;
47
+ component.instance['isInSearchBlock'] = this.isInSearchBlock;
48
+ this.fieldContainer.insert(component.hostView);
49
+ // EUI-3267.
50
+ // Set up the flag for whether this can have a grey bar.
51
+ this.canHaveGreyBar = this.caseField.show_condition && this.caseField.field_type.type !== 'Collection';
52
+ }
53
+ addValidators(caseField, control) {
54
+ FormValidatorsService.addValidators(caseField, control);
55
+ }
56
+ }
57
+ FieldWriteComponent.ɵfac = function FieldWriteComponent_Factory(t) { return new (t || FieldWriteComponent)(i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(i1.PaletteService)); };
58
+ FieldWriteComponent.ɵcmp = i0.ɵɵdefineComponent({ type: FieldWriteComponent, selectors: [["ccd-field-write"]], viewQuery: function FieldWriteComponent_Query(rf, ctx) { if (rf & 1) {
59
+ i0.ɵɵviewQuery(_c0, 3, ViewContainerRef);
60
+ } if (rf & 2) {
61
+ let _t;
62
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fieldContainer = _t.first);
63
+ } }, inputs: { caseFields: "caseFields" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 3, vars: 3, consts: [[3, "hidden"], ["fieldContainer", ""]], template: function FieldWriteComponent_Template(rf, ctx) { if (rf & 1) {
64
+ i0.ɵɵelementStart(0, "div", 0);
65
+ i0.ɵɵelementContainer(1, null, 1);
66
+ i0.ɵɵelementEnd();
67
+ } if (rf & 2) {
68
+ i0.ɵɵclassProp("grey-bar", ctx.canHaveGreyBar && !ctx.caseField.hiddenCannotChange);
69
+ i0.ɵɵproperty("hidden", ctx.caseField.hidden);
70
+ } }, styles: [".form [_nghost-%COMP%] .grey-bar>*>.form-group, .form [_nghost-%COMP%] .grey-bar>*>dl.case-field{margin-left:15px;padding-left:15px}.form [_nghost-%COMP%] .grey-bar>*>.form-group:not(.form-group-error), .form [_nghost-%COMP%] .grey-bar>*>dl.case-field:not(.form-group-error){border-left:5px solid #b1b4b6}.form [_nghost-%COMP%] .grey-bar>*>.form-group input:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>.form-group select:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>.form-group textarea:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>dl.case-field input:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>dl.case-field select:not(.inline-block), .form [_nghost-%COMP%] .grey-bar>*>dl.case-field textarea:not(.inline-block){display:block}"] });
71
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FieldWriteComponent, [{
72
+ type: Component,
73
+ args: [{
74
+ selector: 'ccd-field-write',
75
+ templateUrl: './field-write.component.html',
76
+ styleUrls: ['./field-write.component.scss']
77
+ }]
78
+ }], function () { return [{ type: i0.ComponentFactoryResolver }, { type: i1.PaletteService }]; }, { caseFields: [{
79
+ type: Input
80
+ }], fieldContainer: [{
81
+ type: ViewChild,
82
+ args: ['fieldContainer', { static: true, read: ViewContainerRef }]
83
+ }] }); })();
84
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmllbGQtd3JpdGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUvYmFzZS1maWVsZC9maWVsZC13cml0ZS5jb21wb25lbn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ZmllbGRfdHlwZS50eXBlICE9PSAnQ29sbGVjdGlvbic7XG4gIH1cblxuICBwcm90ZWN0ZWQgYWRkVmFsaWRhdG9ycyhjYXNlRmllbGQ6IENhc2VGaWVsZCwgY29udHJvbDogQWJzdHJhY3RDb250cm9sKTogdm9pZCB7XG4gICAgRm9ybVZhbGlkYXRvcnNTZXJ2aWNlLmFkZFZhbGlkYXRvcnMoY2FzZUZpZWxkLCBjb250cm9sKTtcbiAgfVxufVxuIiwiPGRpdiBbaGlkZGVuXT1cImNhc2VGaWVsZC5oaWRkZW5cIiBbY2xhc3MuZ3JleS1iYXJdPVwiY2FuSGF2ZUdyZXlCYXIgJiYgIWNhc2VGaWVsZC5oaWRkZW5DYW5ub3RDaGFuZ2VcIj5cbiAgPG5nLWNvbnRhaW5lciAjZmllbGRDb250YWluZXI+PC9uZy1jb250YWluZXI+XG48L2Rpdj5cbiJdfQ==
@@ -0,0 +1,8 @@
1
+ export * from './abstract-field-read.component';
2
+ export * from './abstract-field-write.component';
3
+ export * from './field-read.component';
4
+ export * from './field-write.component';
5
+ export * from './field-read-label.component';
6
+ export * from './palette-context.enum';
7
+ export * from './payment-field.component';
8
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvcGFsZXR0ZS9iYXNlLWZpZWxkL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsaUNBQWlDLENBQUM7QUFDaEQsY0FBYyxrQ0FBa0MsQ0FBQztBQUNqRCxjQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLGNBQWMseUJBQXlCLENBQUM7QUFDeEMsY0FBYyw4QkFBOEIsQ0FBQztBQUM3QyxjQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLGNBQWMsMkJBQTJCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2Fic3RyYWN0LWZpZWxkLXJlYWQuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vYWJzdHJhY3QtZmllbGQtd3JpdGUuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vZmllbGQtcmVhZC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9maWVsZC13cml0ZS5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9maWVsZC1yZWFkLWxhYmVsLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3BhbGV0dGUtY29udGV4dC5lbnVtJztcbmV4cG9ydCAqIGZyb20gJy4vcGF5bWVudC1maWVsZC5jb21wb25lbnQnO1xuIl19
@@ -0,0 +1,7 @@
1
+ export var PaletteContext;
2
+ (function (PaletteContext) {
3
+ PaletteContext["DEFAULT"] = "DEFAULT";
4
+ PaletteContext["CHECK_YOUR_ANSWER"] = "CHECK_YOUR_ANSWER";
5
+ PaletteContext["TABLE_VIEW"] = "TABLE_VIEW";
6
+ })(PaletteContext || (PaletteContext = {}));
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFsZXR0ZS1jb250ZXh0LmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvcGFsZXR0ZS9iYXNlLWZpZWxkL3BhbGV0dGUtY29udGV4dC5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLGNBSVg7QUFKRCxXQUFZLGNBQWM7SUFDeEIscUNBQW1CLENBQUE7SUFDbkIseURBQXVDLENBQUE7SUFDdkMsMkNBQXlCLENBQUE7QUFDM0IsQ0FBQyxFQUpXLGNBQWMsS0FBZCxjQUFjLFFBSXpCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gUGFsZXR0ZUNvbnRleHQge1xuICBERUZBVUxUID0gJ0RFRkFVTFQnLFxuICBDSEVDS19ZT1VSX0FOU1dFUiA9ICdDSEVDS19ZT1VSX0FOU1dFUicsXG4gIFRBQkxFX1ZJRVcgPSAnVEFCTEVfVklFVycsXG59XG4iXX0=
@@ -0,0 +1,32 @@
1
+ import { AbstractFieldReadComponent } from './abstract-field-read.component';
2
+ export class PaymentField extends AbstractFieldReadComponent {
3
+ constructor(appConfig, sessionStorage) {
4
+ super();
5
+ this.appConfig = appConfig;
6
+ this.sessionStorage = sessionStorage;
7
+ }
8
+ getBaseURL() {
9
+ return this.appConfig.getPaymentsUrl();
10
+ }
11
+ getPayBulkScanBaseURL() {
12
+ return this.appConfig.getPayBulkScanBaseUrl();
13
+ }
14
+ getRefundsUrl() {
15
+ return this.appConfig.getRefundsUrl();
16
+ }
17
+ getUserRoles() {
18
+ const userDetails = JSON.parse(this.sessionStorage.getItem('userDetails') || null);
19
+ if (!userDetails || !userDetails.hasOwnProperty('roles')) {
20
+ return [];
21
+ }
22
+ return userDetails.roles;
23
+ }
24
+ getUserEmail() {
25
+ const userDetails = JSON.parse(this.sessionStorage.getItem('userDetails') || null);
26
+ if (!userDetails || !userDetails.hasOwnProperty('sub')) {
27
+ return '';
28
+ }
29
+ return userDetails.sub;
30
+ }
31
+ }
32
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGF5bWVudC1maWVsZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9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GljIGdldFBheUJ1bGtTY2FuQmFzZVVSTCgpIHtcbiAgICAgICAgcmV0dXJuIHRoaXMuYXBwQ29uZmlnLmdldFBheUJ1bGtTY2FuQmFzZVVybCgpO1xuICAgIH1cblxuICAgIHB1YmxpYyBnZXRSZWZ1bmRzVXJsKCkge1xuICAgICAgICByZXR1cm4gdGhpcy5hcHBDb25maWcuZ2V0UmVmdW5kc1VybCgpO1xuICAgIH1cblxuICAgIHB1YmxpYyBnZXRVc2VyUm9sZXMoKSB7XG4gICAgICAgIGNvbnN0IHVzZXJEZXRhaWxzID0gSlNPTi5wYXJzZSh0aGlzLnNlc3Npb25TdG9yYWdlLmdldEl0ZW0oJ3VzZXJEZXRhaWxzJykgfHwgbnVsbCk7XG4gICAgICAgIGlmICghdXNlckRldGFpbHMgfHwgIXVzZXJEZXRhaWxzLmhhc093blByb3BlcnR5KCdyb2xlcycpKSB7XG4gICAgICAgICAgICByZXR1cm4gW107XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIHVzZXJEZXRhaWxzLnJvbGVzO1xuICAgIH1cblxuICAgIHB1YmxpYyBnZXRVc2VyRW1haWwoKSB7XG4gICAgICAgIGNvbnN0IHVzZXJEZXRhaWxzID0gSlNPTi5wYXJzZSh0aGlzLnNlc3Npb25TdG9yYWdlLmdldEl0ZW0oJ3VzZXJEZXRhaWxzJykgfHwgbnVsbCk7XG4gICAgICAgIGlmICghdXNlckRldGFpbHMgfHwgIXVzZXJEZXRhaWxzLmhhc093blByb3BlcnR5KCdzdWInKSkge1xuICAgICAgICAgICAgcmV0dXJuICcnO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiB1c2VyRGV0YWlscy5zdWI7XG4gICAgfVxufVxuIl19
@@ -0,0 +1,38 @@
1
+ import { Component } from '@angular/core';
2
+ import { AbstractFieldReadComponent } from '../base-field/abstract-field-read.component';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/common";
5
+ import * as i2 from "../../../pipes/case-reference/case-reference.pipe";
6
+ function ReadCaseLinkFieldComponent_a_0_Template(rf, ctx) { if (rf & 1) {
7
+ i0.ɵɵelementStart(0, "a", 1);
8
+ i0.ɵɵelementStart(1, "span", 2);
9
+ i0.ɵɵtext(2);
10
+ i0.ɵɵpipe(3, "ccdCaseReference");
11
+ i0.ɵɵelementEnd();
12
+ i0.ɵɵelementEnd();
13
+ } if (rf & 2) {
14
+ const ctx_r0 = i0.ɵɵnextContext();
15
+ i0.ɵɵpropertyInterpolate1("href", "/v2/case/", ctx_r0.caseField.value.CaseReference, "", i0.ɵɵsanitizeUrl);
16
+ i0.ɵɵadvance(2);
17
+ i0.ɵɵtextInterpolate(ctx_r0.caseField.value.CaseReference ? i0.ɵɵpipeBind1(3, 2, ctx_r0.caseField.value.CaseReference) : "");
18
+ } }
19
+ export class ReadCaseLinkFieldComponent extends AbstractFieldReadComponent {
20
+ hasReference() {
21
+ return this.caseField.value && this.caseField.value.CaseReference;
22
+ }
23
+ }
24
+ ReadCaseLinkFieldComponent.ɵfac = function ReadCaseLinkFieldComponent_Factory(t) { return ɵReadCaseLinkFieldComponent_BaseFactory(t || ReadCaseLinkFieldComponent); };
25
+ ReadCaseLinkFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadCaseLinkFieldComponent, selectors: [["ccd-read-case-link-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["target", "_blank", 3, "href", 4, "ngIf"], ["target", "_blank", 3, "href"], [1, "text-16"]], template: function ReadCaseLinkFieldComponent_Template(rf, ctx) { if (rf & 1) {
26
+ i0.ɵɵtemplate(0, ReadCaseLinkFieldComponent_a_0_Template, 4, 4, "a", 0);
27
+ } if (rf & 2) {
28
+ i0.ɵɵproperty("ngIf", ctx.hasReference());
29
+ } }, directives: [i1.NgIf], pipes: [i2.CaseReferencePipe], encapsulation: 2 });
30
+ const ɵReadCaseLinkFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadCaseLinkFieldComponent);
31
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadCaseLinkFieldComponent, [{
32
+ type: Component,
33
+ args: [{
34
+ selector: 'ccd-read-case-link-field',
35
+ templateUrl: 'read-case-link-field.html'
36
+ }]
37
+ }], null, null); })();
38
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhZC1jYXNlLWxpbmstZmllbGQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUvY2FzZS1saW5rL3JlYWQtY2FzZS1saW5rLWZpZWxkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL2Nhc2UtbGluay9yZWFkLWNhc2UtbGluay1maWVsZC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDMUMsT0FBTyxFQUFFLDBCQUEwQixFQUFFLE1BQU0sNkNBQTZDLENBQUM7Ozs7O0lDRHpGLDRCQUE0RjtJQUMxRiwrQkFBc0I7SUFBQSxZQUEyRjs7SUFBQSxpQkFBTztJQUMxSCxpQkFBSTs7O0lBRnNCLDBHQUFpRDtJQUNuRCxlQUEyRjtJQUEzRiw0SEFBMkY7O0FETW5ILE1BQU0sT0FBTywwQkFBMkIsU0FBUSwwQkFBMEI7SUFFakUsWUFBWTtRQUNqQixPQUFPLElBQUksQ0FBQyxTQUFTLENBQUMsS0FBSyxJQUFJLElBQUksQ0FBQyxTQUFTLENBQUMs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LkNhc2VSZWZlcmVuY2UgPyAoY2FzZUZpZWxkLnZhbHVlLkNhc2VSZWZlcmVuY2UgfCBjY2RDYXNlUmVmZXJlbmNlKSA6ICcnfX08L3NwYW4+XG48L2E+XG4iXX0=
@@ -0,0 +1,125 @@
1
+ import { Component, ViewChild } from '@angular/core';
2
+ import { FormControl, FormGroup, Validators } from '@angular/forms';
3
+ import { AbstractFieldWriteComponent } from '../base-field/abstract-field-write.component';
4
+ import { WriteComplexFieldComponent } from '../complex/write-complex-field.component';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "@angular/common";
7
+ import * as i2 from "@angular/forms";
8
+ import * as i3 from "../utils/field-label.pipe";
9
+ import * as i4 from "../utils/first-error.pipe";
10
+ const _c0 = ["writeComplexFieldComponent"];
11
+ function WriteCaseLinkFieldComponent_span_2_Template(rf, ctx) { if (rf & 1) {
12
+ i0.ɵɵelementStart(0, "span", 6);
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 WriteCaseLinkFieldComponent_span_3_Template(rf, ctx) { if (rf & 1) {
22
+ i0.ɵɵelementStart(0, "span", 7);
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 WriteCaseLinkFieldComponent_span_4_Template(rf, ctx) { if (rf & 1) {
31
+ i0.ɵɵelementStart(0, "span", 8);
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.caseReferenceControl.errors, ctx_r2.caseField.label));
39
+ } }
40
+ const _c1 = function (a0) { return { "form-group-error": a0 }; };
41
+ export class WriteCaseLinkFieldComponent extends AbstractFieldWriteComponent {
42
+ ngOnInit() {
43
+ if (this.caseField.value) {
44
+ this.caseLinkGroup = this.registerControl(new FormGroup({
45
+ CaseReference: new FormControl(this.caseField.value.CaseReference, Validators.required),
46
+ }), true);
47
+ }
48
+ else {
49
+ this.caseLinkGroup = this.registerControl(new FormGroup({
50
+ CaseReference: new FormControl(null, Validators.required),
51
+ }), true);
52
+ }
53
+ this.caseReferenceControl = this.caseLinkGroup.controls['CaseReference'];
54
+ this.caseReferenceControl.setValidators(this.caseReferenceValidator());
55
+ // Ensure that all sub-fields inherit the same value for retain_hidden_value as this parent; although a CaseLink
56
+ // field uses the Complex type, it is meant to be treated as one field
57
+ if (this.caseField && this.caseField.field_type.type === 'Complex') {
58
+ for (const caseLinkSubField of this.caseField.field_type.complex_fields) {
59
+ caseLinkSubField.retain_hidden_value = this.caseField.retain_hidden_value;
60
+ }
61
+ }
62
+ }
63
+ validCaseReference(valueString) {
64
+ if (!valueString) {
65
+ return false;
66
+ }
67
+ return new RegExp('^\\b\\d{4}[ -]?\\d{4}[ -]?\\d{4}[ -]?\\d{4}\\b$').test(valueString.trim());
68
+ }
69
+ caseReferenceValidator() {
70
+ return (control) => {
71
+ if (control.value) {
72
+ if (this.validCaseReference(control.value)) {
73
+ return null;
74
+ }
75
+ return { error: 'Please use a valid 16 Digit Case Reference' };
76
+ }
77
+ else {
78
+ if (control.touched) {
79
+ return { error: 'Please use a valid 16 Digit Case Reference' };
80
+ }
81
+ }
82
+ return null;
83
+ };
84
+ }
85
+ }
86
+ WriteCaseLinkFieldComponent.ɵfac = function WriteCaseLinkFieldComponent_Factory(t) { return ɵWriteCaseLinkFieldComponent_BaseFactory(t || WriteCaseLinkFieldComponent); };
87
+ WriteCaseLinkFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: WriteCaseLinkFieldComponent, selectors: [["ccd-write-case-link-field"]], viewQuery: function WriteCaseLinkFieldComponent_Query(rf, ctx) { if (rf & 1) {
88
+ i0.ɵɵviewQuery(_c0, 1);
89
+ } if (rf & 2) {
90
+ let _t;
91
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.writeComplexFieldComponent = _t.first);
92
+ } }, features: [i0.ɵɵInheritDefinitionFeature], decls: 6, vars: 9, consts: [[1, "form-group", 3, "ngClass"], [3, "for"], ["class", "form-label", 4, "ngIf"], ["class", "form-hint", 4, "ngIf"], ["class", "error-message", 4, "ngIf"], ["type", "text", 1, "form-control", "bottom-30", 3, "id", "formControl"], [1, "form-label"], [1, "form-hint"], [1, "error-message"]], template: function WriteCaseLinkFieldComponent_Template(rf, ctx) { if (rf & 1) {
93
+ i0.ɵɵelementStart(0, "div", 0);
94
+ i0.ɵɵelementStart(1, "label", 1);
95
+ i0.ɵɵtemplate(2, WriteCaseLinkFieldComponent_span_2_Template, 3, 3, "span", 2);
96
+ i0.ɵɵelementEnd();
97
+ i0.ɵɵtemplate(3, WriteCaseLinkFieldComponent_span_3_Template, 2, 1, "span", 3);
98
+ i0.ɵɵtemplate(4, WriteCaseLinkFieldComponent_span_4_Template, 3, 4, "span", 4);
99
+ i0.ɵɵelement(5, "input", 5);
100
+ i0.ɵɵelementEnd();
101
+ } if (rf & 2) {
102
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(7, _c1, !ctx.caseReferenceControl.valid && (ctx.caseReferenceControl.dirty || ctx.caseReferenceControl.touched)));
103
+ i0.ɵɵadvance(1);
104
+ i0.ɵɵproperty("for", ctx.id());
105
+ i0.ɵɵadvance(1);
106
+ i0.ɵɵproperty("ngIf", ctx.caseField.label);
107
+ i0.ɵɵadvance(1);
108
+ i0.ɵɵproperty("ngIf", ctx.caseField.hint_text);
109
+ i0.ɵɵadvance(1);
110
+ i0.ɵɵproperty("ngIf", ctx.caseReferenceControl.errors && (ctx.caseReferenceControl.dirty || ctx.caseReferenceControl.touched));
111
+ i0.ɵɵadvance(1);
112
+ i0.ɵɵproperty("id", ctx.id())("formControl", ctx.caseReferenceControl);
113
+ } }, directives: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NgControlStatus, i2.FormControlDirective], pipes: [i3.FieldLabelPipe, i4.FirstErrorPipe], encapsulation: 2 });
114
+ const ɵWriteCaseLinkFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(WriteCaseLinkFieldComponent);
115
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WriteCaseLinkFieldComponent, [{
116
+ type: Component,
117
+ args: [{
118
+ selector: 'ccd-write-case-link-field',
119
+ templateUrl: 'write-case-link-field.html'
120
+ }]
121
+ }], null, { writeComplexFieldComponent: [{
122
+ type: ViewChild,
123
+ args: ['writeComplexFieldComponent', /* TODO: add static flag */ {}]
124
+ }] }); })();
125
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid3JpdGUtY2FzZS1saW5rLWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL2Nhc2UtbGluay93cml0ZS1jYXNlLWxpbmstZmllbGQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpdC9zcmMvbGliL3NoYXJlZC9jb21wb25lbnRzL3BhbGV0dGUvY2FzZS1saW5rL3dyaXRlLWNhc2UtbGluay1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* as i0 from "@angular/core";
3
+ export class CollectionCreateCheckerService {
4
+ setDisplayContextForChildren(caseField, profile) {
5
+ const children = this.getCaseFieldChildren(caseField);
6
+ if (children && children.length > 0) {
7
+ children.forEach(child => {
8
+ if (!!profile.user.idam.roles.find(role => this.hasCreateAccess(child, role))) {
9
+ child.display_context = caseField.display_context;
10
+ }
11
+ if (this.isCollection(child) || this.isComplex(child)) {
12
+ this.setDisplayContextForChildren(child, profile);
13
+ }
14
+ });
15
+ }
16
+ }
17
+ getCaseFieldChildren(caseField) {
18
+ let childrenCaseFields = [];
19
+ if (this.isCollection(caseField)) {
20
+ childrenCaseFields = caseField.field_type.collection_field_type.complex_fields || [];
21
+ }
22
+ else if (this.isComplex(caseField)) {
23
+ childrenCaseFields = caseField.field_type.complex_fields || [];
24
+ }
25
+ return childrenCaseFields;
26
+ }
27
+ isComplex(case_field) {
28
+ return case_field.field_type.type === 'Complex';
29
+ }
30
+ isCollection(case_field) {
31
+ return case_field.field_type.type === 'Collection';
32
+ }
33
+ hasCreateAccess(caseField, role) {
34
+ return !!caseField.acls.find(acl => acl.role === role && acl.create === true);
35
+ }
36
+ }
37
+ CollectionCreateCheckerService.ɵfac = function CollectionCreateCheckerService_Factory(t) { return new (t || CollectionCreateCheckerService)(); };
38
+ CollectionCreateCheckerService.ɵprov = i0.ɵɵdefineInjectable({ token: CollectionCreateCheckerService, factory: CollectionCreateCheckerService.ɵfac });
39
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CollectionCreateCheckerService, [{
40
+ type: Injectable
41
+ }], null, null); })();
42
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sbGVjdGlvbi1jcmVhdGUtY2hlY2tlci5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY2NkLWNhc2UtdWktdG9vbGtpd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HtcbiAgICAgIGNoaWxkcmVuQ2FzZUZpZWxkcyA9IGNhc2VGaWVsZC5maWVsZF90eXBlLmNvbGxlY3Rpb25fZmllbGRfdHlwZS5jb21wbGV4X2ZpZWxkcyB8fCBbXTtcbiAgICB9IGVsc2UgaWYgKHRoaXMuaXNDb21wbGV4KGNhc2VGaWVsZCkpIHtcbiAgICAgIGNoaWxkcmVuQ2FzZUZpZWxkcyA9IGNhc2VGaWVsZC5maWVsZF90eXBlLmNvbXBsZXhfZmllbGRzIHx8IFtdO1xuICAgIH1cbiAgICByZXR1cm4gY2hpbGRyZW5DYXNlRmllbGRzO1xuICB9XG5cbiAgcHJpdmF0ZSBpc0NvbXBsZXgoY2FzZV9maWVsZDogQ2FzZUZpZWxkKSB7XG4gICAgcmV0dXJuIGNhc2VfZmllbGQuZmllbGRfdHlwZS50eXBlID09PSAnQ29tcGxleCc7XG4gIH1cblxuICBwcml2YXRlIGlzQ29sbGVjdGlvbihjYXNlX2ZpZWxkOiBDYXNlRmllbGQpIHtcbiAgICByZXR1cm4gY2FzZV9maWVsZC5maWVsZF90eXBlLnR5cGUgPT09ICdDb2xsZWN0aW9uJztcbiAgfVxuXG4gIHByaXZhdGUgaGFzQ3JlYXRlQWNjZXNzKGNhc2VGaWVsZDogQ2FzZUZpZWxkLCByb2xlOiBhbnkpIHtcbiAgICByZXR1cm4gISFjYXNlRmllbGQuYWNscy5maW5kKCBhY2wgPT4gYWNsLnJvbGUgPT09IHJvbGUgJiYgYWNsLmNyZWF0ZSA9PT0gdHJ1ZSk7XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,3 @@
1
+ export * from './read-collection-field.component';
2
+ export * from './write-collection-field.component';
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jY2QtY2FzZS11aS10b29sa2l0L3NyYy9saWIvc2hhcmVkL2NvbXBvbmVudHMvcGFsZXR0ZS9jb2xsZWN0aW9uL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsbUNBQW1DLENBQUM7QUFDbEQsY0FBYyxvQ0FBb0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vcmVhZC1jb2xsZWN0aW9uLWZpZWxkLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3dyaXRlLWNvbGxlY3Rpb24tZmllbGQuY29tcG9uZW50JztcbiJdfQ==
@@ -0,0 +1,91 @@
1
+ import { Component } from '@angular/core';
2
+ import { AbstractFieldReadComponent } from '../base-field/abstract-field-read.component';
3
+ import * as i0 from "@angular/core";
4
+ const _c0 = function (a0, a1, a2, a3, a4, a5) { return { id: a0, label: a1, field_type: a2, display_context_parameter: a3, value: a4, hidden: a5 }; };
5
+ function ReadCollectionFieldComponent_table_0_tbody_2_Template(rf, ctx) { if (rf & 1) {
6
+ i0.ɵɵelementStart(0, "tbody");
7
+ i0.ɵɵelementStart(1, "tr");
8
+ i0.ɵɵelement(2, "th", 4);
9
+ i0.ɵɵelementStart(3, "td");
10
+ i0.ɵɵelement(4, "ccd-field-read", 5);
11
+ i0.ɵɵelementEnd();
12
+ i0.ɵɵelementEnd();
13
+ i0.ɵɵelementEnd();
14
+ } if (rf & 2) {
15
+ const ctx_r1 = i0.ɵɵnextContext(2);
16
+ i0.ɵɵadvance(4);
17
+ i0.ɵɵproperty("caseField", i0.ɵɵpureFunction6(3, _c0, ctx_r1.caseField.label, ctx_r1.caseField.label, ctx_r1.caseField.field_type.collection_field_type, ctx_r1.caseField.display_context_parameter, ctx_r1.caseField.value, ctx_r1.caseField.hidden))("context", ctx_r1.context)("topLevelFormGroup", ctx_r1.topLevelFormGroup);
18
+ } }
19
+ const _c1 = function (a0, a1, a2, a3, a4) { return { id: a0, label: a1, field_type: a2, value: a3, hidden: a4 }; };
20
+ function ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template(rf, ctx) { if (rf & 1) {
21
+ i0.ɵɵelementStart(0, "tr");
22
+ i0.ɵɵelementStart(1, "td");
23
+ i0.ɵɵelement(2, "ccd-field-read", 7);
24
+ i0.ɵɵelementEnd();
25
+ i0.ɵɵelementEnd();
26
+ } if (rf & 2) {
27
+ const item_r4 = ctx.$implicit;
28
+ const i_r5 = ctx.index;
29
+ const ctx_r3 = i0.ɵɵnextContext(3);
30
+ i0.ɵɵadvance(2);
31
+ i0.ɵɵproperty("caseField", i0.ɵɵpureFunction5(4, _c1, i_r5, ctx_r3.caseField.label + " " + (i_r5 + 1), ctx_r3.caseField.field_type.collection_field_type, item_r4.value, ctx_r3.caseField.hidden))("context", ctx_r3.context)("topLevelFormGroup", ctx_r3.topLevelFormGroup)("idPrefix", ctx_r3.buildIdPrefix(i_r5));
32
+ } }
33
+ function ReadCollectionFieldComponent_table_0_tbody_3_Template(rf, ctx) { if (rf & 1) {
34
+ i0.ɵɵelementStart(0, "tbody");
35
+ i0.ɵɵtemplate(1, ReadCollectionFieldComponent_table_0_tbody_3_tr_1_Template, 3, 10, "tr", 6);
36
+ i0.ɵɵelementEnd();
37
+ } if (rf & 2) {
38
+ const ctx_r2 = i0.ɵɵnextContext(2);
39
+ i0.ɵɵadvance(1);
40
+ i0.ɵɵproperty("ngForOf", ctx_r2.caseField.value);
41
+ } }
42
+ function ReadCollectionFieldComponent_table_0_Template(rf, ctx) { if (rf & 1) {
43
+ i0.ɵɵelementStart(0, "table", 1);
44
+ i0.ɵɵelementContainerStart(1, 2);
45
+ i0.ɵɵtemplate(2, ReadCollectionFieldComponent_table_0_tbody_2_Template, 5, 10, "tbody", 3);
46
+ i0.ɵɵtemplate(3, ReadCollectionFieldComponent_table_0_tbody_3_Template, 2, 1, "tbody", 3);
47
+ i0.ɵɵelementContainerEnd();
48
+ i0.ɵɵelementEnd();
49
+ } if (rf & 2) {
50
+ const ctx_r0 = i0.ɵɵnextContext();
51
+ i0.ɵɵadvance(1);
52
+ i0.ɵɵproperty("ngSwitch", ctx_r0.isDisplayContextParameterAvailable);
53
+ i0.ɵɵadvance(1);
54
+ i0.ɵɵproperty("ngSwitchCase", true);
55
+ i0.ɵɵadvance(1);
56
+ i0.ɵɵproperty("ngSwitchCase", false);
57
+ } }
58
+ export class ReadCollectionFieldComponent extends AbstractFieldReadComponent {
59
+ constructor() {
60
+ super(...arguments);
61
+ this.isDisplayContextParameterAvailable = false;
62
+ }
63
+ ngOnInit() {
64
+ if (this.caseField.display_context_parameter && this.caseField.display_context_parameter.trim().startsWith('#TABLE(')) {
65
+ this.isDisplayContextParameterAvailable = true;
66
+ }
67
+ }
68
+ buildIdPrefix(index) {
69
+ const prefix = `${this.idPrefix}${this.caseField.id}_`;
70
+ if (this.caseField.field_type.collection_field_type.type === 'Complex') {
71
+ return `${prefix}${index}_`;
72
+ }
73
+ return prefix;
74
+ }
75
+ }
76
+ ReadCollectionFieldComponent.ɵfac = function ReadCollectionFieldComponent_Factory(t) { return ɵReadCollectionFieldComponent_BaseFactory(t || ReadCollectionFieldComponent); };
77
+ ReadCollectionFieldComponent.ɵcmp = i0.ɵɵdefineComponent({ type: ReadCollectionFieldComponent, selectors: [["ccd-read-collection-field"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["class", "collection-field-table", "aria-describedby", "collection table", 4, "ngIf"], ["aria-describedby", "collection table", 1, "collection-field-table"], [3, "ngSwitch"], [4, "ngSwitchCase"], ["id", "hiddenHeader", 2, "display", "none"], [3, "caseField", "context", "topLevelFormGroup"], [4, "ngFor", "ngForOf"], [3, "caseField", "context", "topLevelFormGroup", "idPrefix"]], template: function ReadCollectionFieldComponent_Template(rf, ctx) { if (rf & 1) {
78
+ i0.ɵɵtemplate(0, ReadCollectionFieldComponent_table_0_Template, 4, 3, "table", 0);
79
+ } if (rf & 2) {
80
+ i0.ɵɵproperty("ngIf", ctx.caseField.value && ctx.caseField.value.length);
81
+ } }, styles: [".collection-field-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:first-child > td[_ngcontent-%COMP%]{padding-top:0}.collection-field-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:last-child > td[_ngcontent-%COMP%]{border-bottom:none}.collection-field-table[_ngcontent-%COMP%] td.collection-actions[_ngcontent-%COMP%]{width:1px;white-space:nowrap}.error-spacing[_ngcontent-%COMP%]{margin-top:10px}.collection-title[_ngcontent-%COMP%]{height:51px}.float-left[_ngcontent-%COMP%]{float:left;padding-top:8px}.float-right[_ngcontent-%COMP%]{float:right}.complex-panel[_ngcontent-%COMP%]{margin:13px 0;border:1px solid #bfc1c3}.complex-panel[_ngcontent-%COMP%] .complex-panel-title[_ngcontent-%COMP%]{background-color:#dee0e2;border-bottom:1px solid #bfc1c3;display:block;color:#0b0c0c;padding:5px 5px 2px;font-family:nta,Arial,sans-serif;font-weight:700;text-transform:none;font-size:16px;line-height:1.25}@media (min-width:641px){.complex-panel[_ngcontent-%COMP%] .complex-panel-title[_ngcontent-%COMP%]{font-size:19px;line-height:1.3157894737}}.complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > th[_ngcontent-%COMP%]{vertical-align:top}.complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > td[_ngcontent-%COMP%], .complex-panel[_ngcontent-%COMP%] .complex-panel-table[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%]:last-child > th[_ngcontent-%COMP%]{border-bottom:none}.complex-panel[_ngcontent-%COMP%] .complex-panel-simple-field[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-left:5px;width:295px}.complex-panel[_ngcontent-%COMP%] .complex-panel-compound-field[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:5px}.collection-indicator[_ngcontent-%COMP%]{border-left:5px solid #b1b4b6}"] });
82
+ const ɵReadCollectionFieldComponent_BaseFactory = /*@__PURE__*/ i0.ɵɵgetInheritedFactory(ReadCollectionFieldComponent);
83
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ReadCollectionFieldComponent, [{
84
+ type: Component,
85
+ args: [{
86
+ selector: 'ccd-read-collection-field',
87
+ templateUrl: './read-collection-field.html',
88
+ styleUrls: ['./collection-field.scss']
89
+ }]
90
+ }], null, null); })();
91
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhZC1jb2xsZWN0aW9uLWZpZWxkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL2NvbGxlY3Rpb24vcmVhZC1jb2xsZWN0aW9uLWZpZWxkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NjZC1jYXNlLXVpLXRvb2xraXQvc3JjL2xpYi9zaGFyZWQvY29tcG9uZW50cy9wYWxldHRlL2NvbGxlY3Rpb24vcmVhZC1jb2xsZWN0aW9uLWZpZWxkLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxNQUFNLGVBQWUsQ0FBQztBQUVsRCxPQUFPLEVBQUUsMEJBQTBCLEVBQUUsTUFBTSw2Q0FBNkMsQ0FBQzs7OztJQ0FyRiw2QkFBNEI7SUFDNUIsMEJBQUk7SUFDRix3QkFBa0Q7SUFDbEQsMEJBQUk7SUFDRixvQ0FXaUI7SUFDbkIsaUJBQUs7SUFDUCxpQkFBSztJQUNM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