@hmcts/ccd-case-ui-toolkit 6.10.7-cfv-move-document-handle-error-v2 → 6.10.7-cfv-move-document-handle-error-v4
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.
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js +10161 -6980
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
- package/esm2015/lib/shared/commons/case-edit-data/case-edit-data.service.js +19 -1
- package/esm2015/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.js +6 -1
- package/esm2015/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.js +7 -1
- package/esm2015/lib/shared/components/case-editor/services/cases.service.js +7 -1
- package/esm2015/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.js +20 -3
- package/esm2015/lib/shared/components/palette/base-field/field-read.component.js +2 -2
- package/esm2015/lib/shared/components/palette/base-field/field-write.component.js +2 -2
- package/esm2015/lib/shared/components/palette/case-file-view/case-file-view-field.component.js +12 -5
- package/esm2015/lib/shared/components/palette/case-file-view/index.js +1 -2
- package/esm2015/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.js +30 -19
- package/esm2015/lib/shared/components/palette/case-flag/write-case-flag-field.component.js +35 -24
- package/esm2015/lib/shared/components/palette/collection/write-collection-field.component.js +13 -2
- package/esm2015/lib/shared/components/palette/datetime-picker/datetime-picker.component.js +10 -3
- package/esm2015/lib/shared/components/palette/dynamic-multi-select-list/index.js +3 -0
- package/esm2015/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.js +47 -0
- package/esm2015/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.js +153 -0
- package/esm2015/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.js +5 -6
- package/esm2015/lib/shared/components/palette/index.js +4 -6
- package/esm2015/lib/shared/components/palette/linked-cases/components/before-you-start/before-you-start.component.js +126 -0
- package/esm2015/lib/shared/components/palette/linked-cases/components/check-your-answers/check-your-answers.component.js +220 -0
- package/esm2015/lib/shared/components/palette/linked-cases/components/index.js +8 -0
- package/esm2015/lib/shared/components/palette/linked-cases/components/link-cases/link-cases.component.js +572 -0
- package/esm2015/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.js +219 -0
- package/esm2015/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-to-table.component.js +285 -0
- package/esm2015/lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.js +79 -0
- package/esm2015/lib/shared/components/palette/linked-cases/components/unlink-cases/unlink-cases.component.js +214 -0
- package/esm2015/lib/shared/components/palette/linked-cases/domain/index.js +3 -0
- package/esm2015/lib/shared/components/palette/linked-cases/domain/linked-cases-state.model.js +2 -0
- package/esm2015/lib/shared/components/palette/linked-cases/domain/linked-cases.model.js +21 -0
- package/esm2015/lib/shared/components/palette/linked-cases/enums/index.js +2 -0
- package/esm2015/lib/shared/components/palette/linked-cases/enums/write-linked-cases-field.enum.js +35 -0
- package/esm2015/lib/shared/components/palette/linked-cases/index.js +6 -0
- package/esm2015/lib/shared/components/palette/linked-cases/read-linked-cases-field.component.js +183 -0
- package/esm2015/lib/shared/components/palette/linked-cases/services/index.js +2 -0
- package/esm2015/lib/shared/components/palette/linked-cases/services/linked-cases.service.js +134 -0
- package/esm2015/lib/shared/components/palette/linked-cases/utils/validators.utils.js +27 -0
- package/esm2015/lib/shared/components/palette/linked-cases/write-linked-cases-field.component.js +272 -0
- package/esm2015/lib/shared/components/palette/palette.module.js +79 -12
- package/esm2015/lib/shared/components/palette/palette.service.js +22 -8
- package/esm2015/lib/shared/components/search-result/search-result.component.js +10 -14
- package/esm2015/lib/shared/directives/conditional-show/domain/conditional-show.model.js +103 -200
- package/esm2015/lib/shared/directives/conditional-show/services/condition-parser.service.js +201 -0
- package/esm2015/lib/shared/directives/conditional-show/services/condition.peg.js +103 -0
- package/esm2015/lib/shared/domain/case-flag/hmcts-service-detail.model.js +1 -1
- package/esm2015/lib/shared/domain/definition/case-field.model.js +6 -3
- package/esm2015/lib/shared/domain/definition/display-context-enum.model.js +12 -0
- package/esm2015/lib/shared/domain/definition/field-type-enum.model.js +1 -1
- package/esm2015/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.js +14 -11
- package/esm2015/lib/shared/pipes/index.js +3 -1
- package/esm2015/lib/shared/pipes/link-cases-from-reason-code/ccd-link-cases-from-reason-code.pipe.js +28 -0
- package/esm2015/lib/shared/pipes/link-cases-from-reason-code/index.js +2 -0
- package/esm2015/lib/shared/pipes/link-cases-reason-code/ccd-link-cases-reason-code.pipe.js +28 -0
- package/esm2015/lib/shared/pipes/link-cases-reason-code/index.js +2 -0
- package/esm2015/lib/shared/pipes/pipes.module.js +12 -4
- package/esm2015/lib/shared/services/case-flag/case-flag-refdata.service.js +25 -4
- package/esm2015/lib/shared/services/common-data-service/common-data-service.js +1 -1
- package/esm2015/lib/shared/services/fields/fields.utils.js +7 -1
- package/esm2015/lib/shared/services/form/field-type-sanitiser.js +16 -1
- package/esm2015/lib/shared/services/form/form-value.service.js +33 -2
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +8380 -5490
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/commons/case-edit-data/case-edit-data.service.d.ts +13 -0
- package/lib/shared/commons/case-edit-data/case-edit-data.service.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-edit-page/case-edit-page.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.d.ts +1 -0
- package/lib/shared/components/case-editor/case-edit-submit/case-edit-submit.component.d.ts.map +1 -1
- package/lib/shared/components/case-editor/services/cases.service.d.ts +2 -0
- package/lib/shared/components/case-editor/services/cases.service.d.ts.map +1 -1
- package/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.d.ts +1 -0
- package/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/case-file-view-field.component.d.ts +5 -2
- package/lib/shared/components/palette/case-file-view/case-file-view-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-file-view/index.d.ts +0 -1
- package/lib/shared/components/palette/case-file-view/index.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.d.ts +3 -1
- package/lib/shared/components/palette/case-flag/components/select-flag-type/select-flag-type.component.d.ts.map +1 -1
- package/lib/shared/components/palette/case-flag/write-case-flag-field.component.d.ts +2 -0
- package/lib/shared/components/palette/case-flag/write-case-flag-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/collection/write-collection-field.component.d.ts +1 -0
- package/lib/shared/components/palette/collection/write-collection-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/datetime-picker/datetime-picker.component.d.ts.map +1 -1
- package/lib/shared/components/palette/dynamic-multi-select-list/index.d.ts +3 -0
- package/lib/shared/components/palette/dynamic-multi-select-list/index.d.ts.map +1 -0
- package/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.d.ts +9 -0
- package/lib/shared/components/palette/dynamic-multi-select-list/read-dynamic-multi-select-list-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.d.ts +17 -0
- package/lib/shared/components/palette/dynamic-multi-select-list/write-dynamic-multi-select-list-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.d.ts +1 -1
- package/lib/shared/components/palette/dynamic-radio-list/write-dynamic-radio-list-field.component.d.ts.map +1 -1
- package/lib/shared/components/palette/index.d.ts +3 -5
- package/lib/shared/components/palette/index.d.ts.map +1 -1
- package/lib/shared/components/palette/linked-cases/components/before-you-start/before-you-start.component.d.ts +23 -0
- package/lib/shared/components/palette/linked-cases/components/before-you-start/before-you-start.component.d.ts.map +1 -0
- package/lib/shared/components/palette/linked-cases/components/check-your-answers/check-your-answers.component.d.ts +18 -0
- package/lib/shared/components/palette/linked-cases/components/check-your-answers/check-your-answers.component.d.ts.map +1 -0
- package/lib/shared/components/palette/linked-cases/components/index.d.ts +8 -0
- package/lib/shared/components/palette/linked-cases/components/index.d.ts.map +1 -0
- package/lib/shared/components/palette/linked-cases/components/link-cases/link-cases.component.d.ts +49 -0
- package/lib/shared/components/palette/linked-cases/components/link-cases/link-cases.component.d.ts.map +1 -0
- package/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.d.ts +38 -0
- package/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-from-table.component.d.ts.map +1 -0
- package/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-to-table.component.d.ts +47 -0
- package/lib/shared/components/palette/linked-cases/components/linked-cases-table/linked-cases-to-table.component.d.ts.map +1 -0
- package/lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.d.ts +18 -0
- package/lib/shared/components/palette/linked-cases/components/no-linked-cases/no-linked-cases.component.d.ts.map +1 -0
- package/lib/shared/components/palette/linked-cases/components/unlink-cases/unlink-cases.component.d.ts +38 -0
- package/lib/shared/components/palette/linked-cases/components/unlink-cases/unlink-cases.component.d.ts.map +1 -0
- package/lib/shared/components/palette/linked-cases/domain/index.d.ts +3 -0
- package/lib/shared/components/palette/linked-cases/domain/index.d.ts.map +1 -0
- package/lib/shared/components/palette/linked-cases/domain/linked-cases-state.model.d.ts +12 -0
- package/lib/shared/components/palette/linked-cases/domain/linked-cases-state.model.d.ts.map +1 -0
- package/lib/shared/components/palette/linked-cases/domain/linked-cases.model.d.ts +68 -0
- package/lib/shared/components/palette/linked-cases/domain/linked-cases.model.d.ts.map +1 -0
- package/lib/shared/components/palette/linked-cases/enums/index.d.ts +2 -0
- package/lib/shared/components/palette/linked-cases/enums/index.d.ts.map +1 -0
- package/lib/shared/components/palette/linked-cases/enums/write-linked-cases-field.enum.d.ts +31 -0
- package/lib/shared/components/palette/linked-cases/enums/write-linked-cases-field.enum.d.ts.map +1 -0
- package/lib/shared/components/palette/linked-cases/index.d.ts +6 -0
- package/lib/shared/components/palette/linked-cases/index.d.ts.map +1 -0
- package/lib/shared/components/palette/linked-cases/read-linked-cases-field.component.d.ts +38 -0
- package/lib/shared/components/palette/linked-cases/read-linked-cases-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/linked-cases/services/index.d.ts +2 -0
- package/lib/shared/components/palette/linked-cases/services/index.d.ts.map +1 -0
- package/lib/shared/components/palette/linked-cases/services/linked-cases.service.d.ts +44 -0
- package/lib/shared/components/palette/linked-cases/services/linked-cases.service.d.ts.map +1 -0
- package/lib/shared/components/palette/linked-cases/utils/validators.utils.d.ts +10 -0
- package/lib/shared/components/palette/linked-cases/utils/validators.utils.d.ts.map +1 -0
- package/lib/shared/components/palette/linked-cases/write-linked-cases-field.component.d.ts +43 -0
- package/lib/shared/components/palette/linked-cases/write-linked-cases-field.component.d.ts.map +1 -0
- package/lib/shared/components/palette/palette.module.d.ts +68 -58
- package/lib/shared/components/palette/palette.module.d.ts.map +1 -1
- package/lib/shared/components/palette/palette.service.d.ts.map +1 -1
- package/lib/shared/directives/conditional-show/domain/conditional-show.model.d.ts +13 -30
- package/lib/shared/directives/conditional-show/domain/conditional-show.model.d.ts.map +1 -1
- package/lib/shared/directives/conditional-show/services/condition-parser.service.d.ts +30 -0
- package/lib/shared/directives/conditional-show/services/condition-parser.service.d.ts.map +1 -0
- package/lib/shared/directives/conditional-show/services/condition.peg.d.ts +3 -0
- package/lib/shared/directives/conditional-show/services/condition.peg.d.ts.map +1 -0
- package/lib/shared/domain/case-flag/hmcts-service-detail.model.d.ts.map +1 -1
- package/lib/shared/domain/definition/case-field.model.d.ts.map +1 -1
- package/lib/shared/domain/definition/display-context-enum.model.d.ts +10 -0
- package/lib/shared/domain/definition/display-context-enum.model.d.ts.map +1 -0
- package/lib/shared/domain/definition/field-type-enum.model.d.ts +1 -1
- package/lib/shared/domain/definition/field-type-enum.model.d.ts.map +1 -1
- package/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.d.ts.map +1 -1
- package/lib/shared/pipes/index.d.ts +2 -0
- package/lib/shared/pipes/index.d.ts.map +1 -1
- package/lib/shared/pipes/link-cases-from-reason-code/ccd-link-cases-from-reason-code.pipe.d.ts +12 -0
- package/lib/shared/pipes/link-cases-from-reason-code/ccd-link-cases-from-reason-code.pipe.d.ts.map +1 -0
- package/lib/shared/pipes/link-cases-from-reason-code/index.d.ts +2 -0
- package/lib/shared/pipes/link-cases-from-reason-code/index.d.ts.map +1 -0
- package/lib/shared/pipes/link-cases-reason-code/ccd-link-cases-reason-code.pipe.d.ts +12 -0
- package/lib/shared/pipes/link-cases-reason-code/ccd-link-cases-reason-code.pipe.d.ts.map +1 -0
- package/lib/shared/pipes/link-cases-reason-code/index.d.ts +2 -0
- package/lib/shared/pipes/link-cases-reason-code/index.d.ts.map +1 -0
- package/lib/shared/pipes/pipes.module.d.ts +4 -2
- package/lib/shared/pipes/pipes.module.d.ts.map +1 -1
- package/lib/shared/services/case-flag/case-flag-refdata.service.d.ts +14 -3
- package/lib/shared/services/case-flag/case-flag-refdata.service.d.ts.map +1 -1
- package/lib/shared/services/common-data-service/common-data-service.d.ts.map +1 -1
- package/lib/shared/services/fields/fields.utils.d.ts +1 -0
- package/lib/shared/services/fields/fields.utils.d.ts.map +1 -1
- package/lib/shared/services/form/field-type-sanitiser.d.ts +2 -0
- package/lib/shared/services/form/field-type-sanitiser.d.ts.map +1 -1
- package/lib/shared/services/form/form-value.service.d.ts +14 -0
- package/lib/shared/services/form/form-value.service.d.ts.map +1 -1
- package/package.json +1 -1
- package/esm2015/lib/shared/components/palette/case-file-view/case-file-view-field-read.component.js +0 -106
- package/lib/shared/components/palette/case-file-view/case-file-view-field-read.component.d.ts +0 -8
- package/lib/shared/components/palette/case-file-view/case-file-view-field-read.component.d.ts.map +0 -1
|
@@ -53,66 +53,76 @@ import * as i51 from "./complex/read-complex-field-raw.component";
|
|
|
53
53
|
import * as i52 from "./complex/read-complex-field-table.component";
|
|
54
54
|
import * as i53 from "./complex/read-complex-field-collection-table.component";
|
|
55
55
|
import * as i54 from "./case-flag/read-case-flag-field.component";
|
|
56
|
-
import * as i55 from "./
|
|
57
|
-
import * as i56 from "./
|
|
58
|
-
import * as i57 from "./
|
|
59
|
-
import * as i58 from "./
|
|
60
|
-
import * as i59 from "./
|
|
61
|
-
import * as i60 from "./
|
|
62
|
-
import * as i61 from "./dynamic-
|
|
63
|
-
import * as i62 from "./
|
|
64
|
-
import * as i63 from "./
|
|
65
|
-
import * as i64 from "./
|
|
66
|
-
import * as i65 from "./
|
|
67
|
-
import * as i66 from "./
|
|
68
|
-
import * as i67 from "./
|
|
69
|
-
import * as i68 from "./
|
|
70
|
-
import * as i69 from "./
|
|
71
|
-
import * as i70 from "./
|
|
72
|
-
import * as i71 from "./
|
|
73
|
-
import * as i72 from "./
|
|
74
|
-
import * as i73 from "./
|
|
75
|
-
import * as i74 from "./
|
|
76
|
-
import * as i75 from "./
|
|
77
|
-
import * as i76 from "./
|
|
78
|
-
import * as i77 from "./
|
|
79
|
-
import * as i78 from "./
|
|
80
|
-
import * as i79 from "./
|
|
81
|
-
import * as i80 from "./
|
|
82
|
-
import * as i81 from "./case-
|
|
83
|
-
import * as i82 from "./
|
|
84
|
-
import * as i83 from "./case-file-view/
|
|
85
|
-
import * as i84 from "./case-file-view/components/case-file-view-folder/case-file-view-folder
|
|
86
|
-
import * as i85 from "./case-file-view/components/case-file-view-folder-
|
|
87
|
-
import * as i86 from "
|
|
88
|
-
import * as i87 from "
|
|
89
|
-
import * as i88 from "
|
|
90
|
-
import * as i89 from "
|
|
91
|
-
import * as i90 from "./
|
|
92
|
-
import * as i91 from "
|
|
93
|
-
import * as i92 from "
|
|
94
|
-
import * as i93 from "
|
|
95
|
-
import * as i94 from "
|
|
96
|
-
import * as i95 from "
|
|
97
|
-
import * as i96 from "
|
|
98
|
-
import * as i97 from "
|
|
99
|
-
import * as i98 from "
|
|
100
|
-
import * as i99 from "
|
|
101
|
-
import * as i100 from "
|
|
102
|
-
import * as i101 from "
|
|
103
|
-
import * as i102 from "
|
|
104
|
-
import * as i103 from "
|
|
105
|
-
import * as i104 from "
|
|
106
|
-
import * as i105 from "
|
|
107
|
-
import * as i106 from "
|
|
108
|
-
import * as i107 from "
|
|
109
|
-
import * as i108 from "
|
|
110
|
-
import * as i109 from "
|
|
111
|
-
import * as i110 from "@
|
|
112
|
-
import * as i111 from "
|
|
56
|
+
import * as i55 from "./linked-cases/read-linked-cases-field.component";
|
|
57
|
+
import * as i56 from "./judicial-user/write-judicial-user-field.component";
|
|
58
|
+
import * as i57 from "./address/write-address-field.component";
|
|
59
|
+
import * as i58 from "./complex/write-complex-field.component";
|
|
60
|
+
import * as i59 from "./organisation/write-organisation-complex-field.component";
|
|
61
|
+
import * as i60 from "./document/write-document-field.component";
|
|
62
|
+
import * as i61 from "./dynamic-list/write-dynamic-list-field.component";
|
|
63
|
+
import * as i62 from "./dynamic-radio-list/write-dynamic-radio-list-field.component";
|
|
64
|
+
import * as i63 from "./dynamic-multi-select-list/write-dynamic-multi-select-list-field.component";
|
|
65
|
+
import * as i64 from "./dynamic-multi-select-list/read-dynamic-multi-select-list-field.component";
|
|
66
|
+
import * as i65 from "./text/write-text-field.component";
|
|
67
|
+
import * as i66 from "./date/write-date-container-field.component";
|
|
68
|
+
import * as i67 from "./text-area/write-text-area-field.component";
|
|
69
|
+
import * as i68 from "./phone-uk/write-phone-uk-field.component";
|
|
70
|
+
import * as i69 from "./number/write-number-field.component";
|
|
71
|
+
import * as i70 from "./email/write-email-field.component";
|
|
72
|
+
import * as i71 from "./date/write-date-field.component";
|
|
73
|
+
import * as i72 from "./case-flag/write-case-flag-field.component";
|
|
74
|
+
import * as i73 from "./linked-cases/write-linked-cases-field.component";
|
|
75
|
+
import * as i74 from "./yes-no/write-yes-no-field.component";
|
|
76
|
+
import * as i75 from "./organisation/write-organisation-field.component";
|
|
77
|
+
import * as i76 from "./order-summary/write-order-summary-field.component";
|
|
78
|
+
import * as i77 from "./money-gbp/write-money-gbp-field.component";
|
|
79
|
+
import * as i78 from "./multi-select-list/write-multi-select-list-field.component";
|
|
80
|
+
import * as i79 from "./fixed-list/write-fixed-list-field.component";
|
|
81
|
+
import * as i80 from "./fixed-radio-list/write-fixed-radio-list-field.component";
|
|
82
|
+
import * as i81 from "./case-link/write-case-link-field.component";
|
|
83
|
+
import * as i82 from "./collection/write-collection-field.component";
|
|
84
|
+
import * as i83 from "./case-file-view/case-file-view-field.component";
|
|
85
|
+
import * as i84 from "./case-file-view/components/case-file-view-folder/case-file-view-folder.component";
|
|
86
|
+
import * as i85 from "./case-file-view/components/case-file-view-folder/case-file-view-folder-sort/case-file-view-folder-sort.component";
|
|
87
|
+
import * as i86 from "./case-file-view/components/shared/case-file-view-overlay-menu/case-file-view-overlay-menu.component";
|
|
88
|
+
import * as i87 from "./case-file-view/components/case-file-view-folder/case-file-view-folder-document-actions/case-file-view-folder-document-actions.component";
|
|
89
|
+
import * as i88 from "./case-file-view/components/case-file-view-folder-selector/case-file-view-folder-selector.component";
|
|
90
|
+
import * as i89 from "./linked-cases/components/linked-cases-table/linked-cases-to-table.component";
|
|
91
|
+
import * as i90 from "./linked-cases/components/linked-cases-table/linked-cases-from-table.component";
|
|
92
|
+
import * as i91 from "./linked-cases/components/before-you-start/before-you-start.component";
|
|
93
|
+
import * as i92 from "./linked-cases/components/link-cases/link-cases.component";
|
|
94
|
+
import * as i93 from "./linked-cases/components/check-your-answers/check-your-answers.component";
|
|
95
|
+
import * as i94 from "./linked-cases/components/unlink-cases/unlink-cases.component";
|
|
96
|
+
import * as i95 from "./linked-cases/components/no-linked-cases/no-linked-cases.component";
|
|
97
|
+
import * as i96 from "@angular/common";
|
|
98
|
+
import * as i97 from "@angular/router";
|
|
99
|
+
import * as i98 from "@angular/forms";
|
|
100
|
+
import * as i99 from "../../commons/case-edit-data/case-edit-data.module";
|
|
101
|
+
import * as i100 from "./utils/utils.module";
|
|
102
|
+
import * as i101 from "../../pipes/pipes.module";
|
|
103
|
+
import * as i102 from "../../../components/banners/banners.module";
|
|
104
|
+
import * as i103 from "../../../components/header/headers.module";
|
|
105
|
+
import * as i104 from "../../../components/footer/footers.module";
|
|
106
|
+
import * as i105 from "../../../components/body/body.module";
|
|
107
|
+
import * as i106 from "../../../components/form/form.module";
|
|
108
|
+
import * as i107 from "../../../components/tabs/tabs.module";
|
|
109
|
+
import * as i108 from "../../directives/substitutor/label-substitutor.module";
|
|
110
|
+
import * as i109 from "ngx-md";
|
|
111
|
+
import * as i110 from "@angular-material-components/datetime-picker";
|
|
112
|
+
import * as i111 from "@angular/material/form-field";
|
|
113
|
+
import * as i112 from "@angular/material/input";
|
|
114
|
+
import * as i113 from "@angular/material/datepicker";
|
|
115
|
+
import * as i114 from "@angular/material/autocomplete";
|
|
116
|
+
import * as i115 from "@angular/cdk/tree";
|
|
117
|
+
import * as i116 from "@angular/cdk/overlay";
|
|
118
|
+
import * as i117 from "@hmcts/ccpay-web-component";
|
|
119
|
+
import * as i118 from "@nicky-lenaers/ngx-scroll-to";
|
|
120
|
+
import * as i119 from "@angular/material/dialog";
|
|
121
|
+
import * as i120 from "@hmcts/media-viewer";
|
|
122
|
+
import * as i121 from "../../services/loading/loading.module";
|
|
113
123
|
export declare class PaletteModule {
|
|
114
124
|
static ɵfac: i0.ɵɵFactoryDef<PaletteModule, never>;
|
|
115
|
-
static ɵmod: i0.ɵɵNgModuleDefWithMeta<PaletteModule, [typeof i1.FixedListPipe, typeof i2.FixedRadioListPipe, typeof i3.DynamicListPipe, typeof i4.DynamicRadioListPipe, typeof i5.DocumentUrlPipe, typeof i6.CaseFlagTableComponent, typeof i7.SelectFlagTypeComponent, typeof i8.SearchLanguageInterpreterComponent, typeof i9.SelectFlagLocationComponent, typeof i10.ManageCaseFlagsComponent, typeof i11.AddCommentsComponent, typeof i12.UpdateFlagComponent, typeof i13.CaseFlagSummaryListComponent, typeof i14.UnsupportedFieldComponent, typeof i15.DatetimePickerComponent, typeof i16.WaysToPayFieldComponent, typeof i17.MarkdownComponent, typeof i18.FieldReadComponent, typeof i19.FieldWriteComponent, typeof i20.FieldReadLabelComponent, typeof i21.LabelFieldComponent, typeof i22.CasePaymentHistoryViewerFieldComponent, typeof i23.MoneyGbpInputComponent, typeof i24.CaseHistoryViewerFieldComponent, typeof i25.EventLogComponent, typeof i26.EventLogDetailsComponent, typeof i27.EventLogTableComponent, typeof i28.ReadTextFieldComponent, typeof i29.ReadTextAreaFieldComponent, typeof i30.ReadNumberFieldComponent, typeof i31.ReadEmailFieldComponent, typeof i32.ReadPhoneUKFieldComponent, typeof i33.ReadDateFieldComponent, typeof i34.ReadCollectionFieldComponent, typeof i35.ReadDocumentFieldComponent, typeof i36.ReadJudicialUserFieldComponent, typeof i37.ReadYesNoFieldComponent, typeof i38.ReadOrganisationFieldComponent, typeof i39.ReadOrganisationFieldTableComponent, typeof i40.ReadOrganisationFieldRawComponent, typeof i41.ReadOrderSummaryFieldComponent, typeof i42.ReadOrderSummaryRowComponent, typeof i43.ReadMoneyGbpFieldComponent, typeof i44.ReadMultiSelectListFieldComponent, typeof i45.ReadDynamicListFieldComponent, typeof i46.ReadFixedListFieldComponent, typeof i47.ReadFixedRadioListFieldComponent, typeof i48.ReadDynamicRadioListFieldComponent, typeof i49.ReadCaseLinkFieldComponent, typeof i50.ReadComplexFieldComponent, typeof i51.ReadComplexFieldRawComponent, typeof i52.ReadComplexFieldTableComponent, typeof i53.ReadComplexFieldCollectionTableComponent, typeof i54.ReadCaseFlagFieldComponent, typeof i55.
|
|
125
|
+
static ɵmod: i0.ɵɵNgModuleDefWithMeta<PaletteModule, [typeof i1.FixedListPipe, typeof i2.FixedRadioListPipe, typeof i3.DynamicListPipe, typeof i4.DynamicRadioListPipe, typeof i5.DocumentUrlPipe, typeof i6.CaseFlagTableComponent, typeof i7.SelectFlagTypeComponent, typeof i8.SearchLanguageInterpreterComponent, typeof i9.SelectFlagLocationComponent, typeof i10.ManageCaseFlagsComponent, typeof i11.AddCommentsComponent, typeof i12.UpdateFlagComponent, typeof i13.CaseFlagSummaryListComponent, typeof i14.UnsupportedFieldComponent, typeof i15.DatetimePickerComponent, typeof i16.WaysToPayFieldComponent, typeof i17.MarkdownComponent, typeof i18.FieldReadComponent, typeof i19.FieldWriteComponent, typeof i20.FieldReadLabelComponent, typeof i21.LabelFieldComponent, typeof i22.CasePaymentHistoryViewerFieldComponent, typeof i23.MoneyGbpInputComponent, typeof i24.CaseHistoryViewerFieldComponent, typeof i25.EventLogComponent, typeof i26.EventLogDetailsComponent, typeof i27.EventLogTableComponent, typeof i28.ReadTextFieldComponent, typeof i29.ReadTextAreaFieldComponent, typeof i30.ReadNumberFieldComponent, typeof i31.ReadEmailFieldComponent, typeof i32.ReadPhoneUKFieldComponent, typeof i33.ReadDateFieldComponent, typeof i34.ReadCollectionFieldComponent, typeof i35.ReadDocumentFieldComponent, typeof i36.ReadJudicialUserFieldComponent, typeof i37.ReadYesNoFieldComponent, typeof i38.ReadOrganisationFieldComponent, typeof i39.ReadOrganisationFieldTableComponent, typeof i40.ReadOrganisationFieldRawComponent, typeof i41.ReadOrderSummaryFieldComponent, typeof i42.ReadOrderSummaryRowComponent, typeof i43.ReadMoneyGbpFieldComponent, typeof i44.ReadMultiSelectListFieldComponent, typeof i45.ReadDynamicListFieldComponent, typeof i46.ReadFixedListFieldComponent, typeof i47.ReadFixedRadioListFieldComponent, typeof i48.ReadDynamicRadioListFieldComponent, typeof i49.ReadCaseLinkFieldComponent, typeof i50.ReadComplexFieldComponent, typeof i51.ReadComplexFieldRawComponent, typeof i52.ReadComplexFieldTableComponent, typeof i53.ReadComplexFieldCollectionTableComponent, typeof i54.ReadCaseFlagFieldComponent, typeof i55.ReadLinkedCasesFieldComponent, typeof i56.WriteJudicialUserFieldComponent, typeof i57.WriteAddressFieldComponent, typeof i58.WriteComplexFieldComponent, typeof i59.WriteOrganisationComplexFieldComponent, typeof i60.WriteDocumentFieldComponent, typeof i61.WriteDynamicListFieldComponent, typeof i62.WriteDynamicRadioListFieldComponent, typeof i63.WriteDynamicMultiSelectListFieldComponent, typeof i64.ReadDynamicMultiSelectListFieldComponent, typeof i65.WriteTextFieldComponent, typeof i66.WriteDateContainerFieldComponent, typeof i67.WriteTextAreaFieldComponent, typeof i68.WritePhoneUKFieldComponent, typeof i69.WriteNumberFieldComponent, typeof i70.WriteEmailFieldComponent, typeof i71.WriteDateFieldComponent, typeof i72.WriteCaseFlagFieldComponent, typeof i73.WriteLinkedCasesFieldComponent, typeof i74.WriteYesNoFieldComponent, typeof i75.WriteOrganisationFieldComponent, typeof i59.WriteOrganisationComplexFieldComponent, typeof i76.WriteOrderSummaryFieldComponent, typeof i77.WriteMoneyGbpFieldComponent, typeof i66.WriteDateContainerFieldComponent, typeof i78.WriteMultiSelectListFieldComponent, typeof i79.WriteFixedListFieldComponent, typeof i80.WriteFixedRadioListFieldComponent, typeof i81.WriteCaseLinkFieldComponent, typeof i82.WriteCollectionFieldComponent, typeof i83.CaseFileViewFieldComponent, typeof i84.CaseFileViewFolderComponent, typeof i85.CaseFileViewFolderSortComponent, typeof i86.CaseFileViewOverlayMenuComponent, typeof i87.CaseFileViewFolderDocumentActionsComponent, typeof i88.CaseFileViewFolderSelectorComponent, typeof i63.WriteDynamicMultiSelectListFieldComponent, typeof i62.WriteDynamicRadioListFieldComponent, typeof i61.WriteDynamicListFieldComponent, typeof i64.ReadDynamicMultiSelectListFieldComponent, typeof i45.ReadDynamicListFieldComponent, typeof i48.ReadDynamicRadioListFieldComponent, typeof i89.LinkedCasesToTableComponent, typeof i90.LinkedCasesFromTableComponent, typeof i91.BeforeYouStartComponent, typeof i92.LinkCasesComponent, typeof i93.CheckYourAnswersComponent, typeof i94.UnLinkCasesComponent, typeof i95.NoLinkedCasesComponent], [typeof i96.CommonModule, typeof i97.RouterModule, typeof i98.FormsModule, typeof i98.ReactiveFormsModule, typeof i99.CaseEditDataModule, typeof i100.PaletteUtilsModule, typeof i101.PipesModule, typeof i102.BannersModule, typeof i103.HeadersModule, typeof i104.FootersModule, typeof i105.BodyModule, typeof i106.FormModule, typeof i107.TabsModule, typeof i108.LabelSubstitutorModule, typeof i109.NgxMdModule, typeof i110.NgxMatDatetimePickerModule, typeof i110.NgxMatTimepickerModule, typeof i110.NgxMatNativeDateModule, typeof i111.MatFormFieldModule, typeof i112.MatInputModule, typeof i113.MatDatepickerModule, typeof i114.MatAutocompleteModule, typeof i115.CdkTreeModule, typeof i116.OverlayModule, typeof i117.PaymentLibModule, typeof i118.ScrollToModule, typeof i119.MatDialogModule, typeof i120.MediaViewerModule, typeof i121.LoadingModule], [typeof i110.NgxMatDatetimePickerModule, typeof i110.NgxMatNativeDateModule, typeof i110.NgxMatTimepickerModule, typeof i107.TabsModule, typeof i100.PaletteUtilsModule, typeof i101.PipesModule, typeof i14.UnsupportedFieldComponent, typeof i15.DatetimePickerComponent, typeof i16.WaysToPayFieldComponent, typeof i17.MarkdownComponent, typeof i18.FieldReadComponent, typeof i19.FieldWriteComponent, typeof i20.FieldReadLabelComponent, typeof i21.LabelFieldComponent, typeof i22.CasePaymentHistoryViewerFieldComponent, typeof i23.MoneyGbpInputComponent, typeof i24.CaseHistoryViewerFieldComponent, typeof i25.EventLogComponent, typeof i26.EventLogDetailsComponent, typeof i27.EventLogTableComponent, typeof i28.ReadTextFieldComponent, typeof i29.ReadTextAreaFieldComponent, typeof i30.ReadNumberFieldComponent, typeof i31.ReadEmailFieldComponent, typeof i32.ReadPhoneUKFieldComponent, typeof i33.ReadDateFieldComponent, typeof i34.ReadCollectionFieldComponent, typeof i35.ReadDocumentFieldComponent, typeof i36.ReadJudicialUserFieldComponent, typeof i37.ReadYesNoFieldComponent, typeof i38.ReadOrganisationFieldComponent, typeof i39.ReadOrganisationFieldTableComponent, typeof i40.ReadOrganisationFieldRawComponent, typeof i41.ReadOrderSummaryFieldComponent, typeof i42.ReadOrderSummaryRowComponent, typeof i43.ReadMoneyGbpFieldComponent, typeof i44.ReadMultiSelectListFieldComponent, typeof i45.ReadDynamicListFieldComponent, typeof i46.ReadFixedListFieldComponent, typeof i47.ReadFixedRadioListFieldComponent, typeof i48.ReadDynamicRadioListFieldComponent, typeof i49.ReadCaseLinkFieldComponent, typeof i50.ReadComplexFieldComponent, typeof i51.ReadComplexFieldRawComponent, typeof i52.ReadComplexFieldTableComponent, typeof i53.ReadComplexFieldCollectionTableComponent, typeof i54.ReadCaseFlagFieldComponent, typeof i55.ReadLinkedCasesFieldComponent, typeof i56.WriteJudicialUserFieldComponent, typeof i57.WriteAddressFieldComponent, typeof i58.WriteComplexFieldComponent, typeof i59.WriteOrganisationComplexFieldComponent, typeof i60.WriteDocumentFieldComponent, typeof i61.WriteDynamicListFieldComponent, typeof i62.WriteDynamicRadioListFieldComponent, typeof i63.WriteDynamicMultiSelectListFieldComponent, typeof i64.ReadDynamicMultiSelectListFieldComponent, typeof i65.WriteTextFieldComponent, typeof i66.WriteDateContainerFieldComponent, typeof i67.WriteTextAreaFieldComponent, typeof i68.WritePhoneUKFieldComponent, typeof i69.WriteNumberFieldComponent, typeof i70.WriteEmailFieldComponent, typeof i71.WriteDateFieldComponent, typeof i72.WriteCaseFlagFieldComponent, typeof i73.WriteLinkedCasesFieldComponent, typeof i74.WriteYesNoFieldComponent, typeof i75.WriteOrganisationFieldComponent, typeof i59.WriteOrganisationComplexFieldComponent, typeof i76.WriteOrderSummaryFieldComponent, typeof i77.WriteMoneyGbpFieldComponent, typeof i66.WriteDateContainerFieldComponent, typeof i78.WriteMultiSelectListFieldComponent, typeof i79.WriteFixedListFieldComponent, typeof i80.WriteFixedRadioListFieldComponent, typeof i81.WriteCaseLinkFieldComponent, typeof i82.WriteCollectionFieldComponent, typeof i83.CaseFileViewFieldComponent, typeof i84.CaseFileViewFolderComponent, typeof i85.CaseFileViewFolderSortComponent, typeof i86.CaseFileViewOverlayMenuComponent, typeof i87.CaseFileViewFolderDocumentActionsComponent, typeof i88.CaseFileViewFolderSelectorComponent, typeof i63.WriteDynamicMultiSelectListFieldComponent, typeof i62.WriteDynamicRadioListFieldComponent, typeof i61.WriteDynamicListFieldComponent, typeof i64.ReadDynamicMultiSelectListFieldComponent, typeof i45.ReadDynamicListFieldComponent, typeof i48.ReadDynamicRadioListFieldComponent, typeof i89.LinkedCasesToTableComponent, typeof i90.LinkedCasesFromTableComponent, typeof i91.BeforeYouStartComponent, typeof i92.LinkCasesComponent, typeof i93.CheckYourAnswersComponent, typeof i94.UnLinkCasesComponent, typeof i95.NoLinkedCasesComponent]>;
|
|
116
126
|
static ɵinj: i0.ɵɵInjectorDef<PaletteModule>;
|
|
117
127
|
}
|
|
118
128
|
//# sourceMappingURL=palette.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"palette.module.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/palette.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"palette.module.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/palette.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyLA,qBA2Ea,aAAa;iCAAb,aAAa;0CAAb,aAAa;kCAAb,aAAa;CACzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"palette.service.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/palette.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,IAAI,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;;
|
|
1
|
+
{"version":3,"file":"palette.service.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/palette.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,IAAI,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;;AAsDrE,qBACa,cAAc;IACzB,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAGxC;IAEK,sBAAsB,CAAC,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,GAAG,IAAI,CAAC,EAAE,CAAC;IAqE7E,OAAO,CAAC,6BAA6B;iCA3E1B,cAAc;qCAAd,cAAc;CA4F1B"}
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { CaseField } from '../../../domain/definition/case-field.model';
|
|
2
2
|
export declare class ShowCondition {
|
|
3
3
|
condition: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
private static
|
|
8
|
-
private static readonly
|
|
9
|
-
private static
|
|
10
|
-
private
|
|
11
|
-
private readonly orConditions;
|
|
12
|
-
private readonly andConditions;
|
|
4
|
+
static readonly CONDITION_NOT_EQUALS = "!=";
|
|
5
|
+
static readonly CONDITION_EQUALS = "=";
|
|
6
|
+
static readonly CONTAINS = "CONTAINS";
|
|
7
|
+
private static instanceCache;
|
|
8
|
+
private static readonly validJoinComparators;
|
|
9
|
+
private static processedList;
|
|
10
|
+
private conditions;
|
|
13
11
|
static addPathPrefixToCondition(showCondition: string, pathPrefix: string): string;
|
|
12
|
+
private static processAddPathPrefixToCondition;
|
|
13
|
+
private static extractConditions;
|
|
14
14
|
static getInstance(condition: string): ShowCondition;
|
|
15
|
+
private static getField;
|
|
16
|
+
private static getConditions;
|
|
15
17
|
/**
|
|
16
18
|
* Determine whether a ShowCondition model is affected by fields that have
|
|
17
19
|
* a display_context of HIDDEN or READONLY, which means they aren't able to
|
|
@@ -21,9 +23,9 @@ export declare class ShowCondition {
|
|
|
21
23
|
* @param caseFields Inspected to see appropriate display_contexts.
|
|
22
24
|
*/
|
|
23
25
|
static hiddenCannotChange(showCondition: ShowCondition, caseFields: CaseField[]): boolean;
|
|
24
|
-
|
|
25
|
-
private static getField;
|
|
26
|
+
constructor(condition: string);
|
|
26
27
|
match(fields: object, path?: string): boolean;
|
|
28
|
+
private updatePathName;
|
|
27
29
|
matchByContextFields(contextFields: CaseField[]): boolean;
|
|
28
30
|
/**
|
|
29
31
|
* Determine whether this is affected by fields that have a display_context
|
|
@@ -33,24 +35,5 @@ export declare class ShowCondition {
|
|
|
33
35
|
* @param caseFields Inspected to see appropriate display_contexts.
|
|
34
36
|
*/
|
|
35
37
|
hiddenCannotChange(caseFields: CaseField[]): boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Path Name gets updated for complex sub fields
|
|
38
|
-
* @param path Path name.
|
|
39
|
-
*/
|
|
40
|
-
private updatePathName;
|
|
41
|
-
private matchAndConditions;
|
|
42
|
-
private matchEqualityCondition;
|
|
43
|
-
private checkValueEquals;
|
|
44
|
-
private checkValueNotEquals;
|
|
45
|
-
private checkMultiSelectListEquals;
|
|
46
|
-
private checkValueContains;
|
|
47
|
-
private findValueForComplexCondition;
|
|
48
|
-
private findValueForComplexConditionForPathIfAny;
|
|
49
|
-
private findValueForComplexConditionInArray;
|
|
50
|
-
private getValue;
|
|
51
|
-
private isDynamicList;
|
|
52
|
-
private unquoted;
|
|
53
|
-
private removeStarChar;
|
|
54
|
-
private okIfBothEmpty;
|
|
55
38
|
}
|
|
56
39
|
//# sourceMappingURL=conditional-show.model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conditional-show.model.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/directives/conditional-show/domain/conditional-show.model.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAC;
|
|
1
|
+
{"version":3,"file":"conditional-show.model.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/directives/conditional-show/domain/conditional-show.model.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAC;AAIxE,qBAAa,aAAa;IAgKL,SAAS,EAAE,MAAM;IA9JpC,gBAAuB,oBAAoB,QAAQ;IACnD,gBAAuB,gBAAgB,OAAO;IAC9C,gBAAuB,QAAQ,cAAc;IAC7C,OAAO,CAAC,MAAM,CAAC,aAAa,CAAoC;IAChE,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,oBAAoB,CAAiB;IAC7D,OAAO,CAAC,MAAM,CAAC,aAAa,CAAgB;IAC5C,OAAO,CAAC,UAAU,CAAM;WAEV,wBAAwB,CAAC,aAAa,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM;IAkBzF,OAAO,CAAC,MAAM,CAAC,+BAA+B;IAoB9C,OAAO,CAAC,MAAM,CAAC,iBAAiB;WAiBlB,WAAW,CAAC,SAAS,EAAE,MAAM,GAAG,aAAa;IAS3D,OAAO,CAAC,MAAM,CAAC,QAAQ;IAWvB,OAAO,CAAC,MAAM,CAAC,aAAa;IAqB5B;;;;;;;OAOG;WACW,kBAAkB,CAAC,aAAa,EAAE,aAAa,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,OAAO;gBA8C7E,SAAS,EAAE,MAAM;IAM7B,KAAK,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO;IAIpD,OAAO,CAAC,cAAc;IAmBf,oBAAoB,CAAC,aAAa,EAAE,SAAS,EAAE,GAAG,OAAO;IAIhE;;;;;;OAMG;IACI,kBAAkB,CAAC,UAAU,EAAE,SAAS,EAAE,GAAG,OAAO;CAG5D"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare class ConditionParser {
|
|
2
|
+
/**
|
|
3
|
+
* Parse the raw formula and output structured condition data
|
|
4
|
+
* that can be used in evaluating show/hide logic
|
|
5
|
+
* @param condition raw formula e.g. TextField = "Hello"
|
|
6
|
+
*/
|
|
7
|
+
static parse(condition: string): any;
|
|
8
|
+
/**
|
|
9
|
+
* Evaluate the current fields against the conditions
|
|
10
|
+
* @param fields the current page fields and their value
|
|
11
|
+
* @param conditions The PegJS formula output
|
|
12
|
+
*/
|
|
13
|
+
static evaluate(fields: any, conditions: any[], path?: string): boolean;
|
|
14
|
+
private static evaluateJoin;
|
|
15
|
+
private static matchEqualityCondition;
|
|
16
|
+
private static getValue;
|
|
17
|
+
private static isDynamicList;
|
|
18
|
+
private static getField;
|
|
19
|
+
private static checkValueEquals;
|
|
20
|
+
private static checkValueNotEquals;
|
|
21
|
+
private static checkMultiSelectListEquals;
|
|
22
|
+
private static checkValueContains;
|
|
23
|
+
private static unquoted;
|
|
24
|
+
private static findValueForComplexCondition;
|
|
25
|
+
private static findValueForComplexConditionForPathIfAny;
|
|
26
|
+
private static findValueForComplexConditionInArray;
|
|
27
|
+
private static removeStarChar;
|
|
28
|
+
private static okIfBothEmpty;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=condition-parser.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"condition-parser.service.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/directives/conditional-show/services/condition-parser.service.ts"],"names":[],"mappings":"AAKA,qBAAa,eAAe;IAE1B;;;;OAIG;WACW,KAAK,CAAC,SAAS,EAAE,MAAM,GAAG,GAAG;IAM3C;;;;OAIG;WACW,QAAQ,CAAC,MAAM,EAAE,GAAG,EAAE,UAAU,EAAE,GAAG,EAAE,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO;IAmC9E,OAAO,CAAC,MAAM,CAAC,YAAY;IAO3B,OAAO,CAAC,MAAM,CAAC,sBAAsB;IAYrC,OAAO,CAAC,MAAM,CAAC,QAAQ;IAQvB,OAAO,CAAC,MAAM,CAAC,aAAa;IAK5B,OAAO,CAAC,MAAM,CAAC,QAAQ;IAWvB,OAAO,CAAC,MAAM,CAAC,gBAAgB;IAkB/B,OAAO,CAAC,MAAM,CAAC,mBAAmB;IASlC,OAAO,CAAC,MAAM,CAAC,0BAA0B;IAUzC,OAAO,CAAC,MAAM,CAAC,kBAAkB;IAWjC,OAAO,CAAC,MAAM,CAAC,QAAQ;IAKvB,OAAO,CAAC,MAAM,CAAC,4BAA4B;IAe3C,OAAO,CAAC,MAAM,CAAC,wCAAwC;IASvD,OAAO,CAAC,MAAM,CAAC,mCAAmC;IAmBlD,OAAO,CAAC,MAAM,CAAC,cAAc;IAO7B,OAAO,CAAC,MAAM,CAAC,aAAa;CAG7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"condition.peg.d.ts","sourceRoot":"","sources":["../../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/directives/conditional-show/services/condition.peg.ts"],"names":[],"mappings":";AAwGA,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hmcts-service-detail.model.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/domain/case-flag/hmcts-service-detail.model.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,kBAAkB;
|
|
1
|
+
{"version":3,"file":"hmcts-service-detail.model.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/domain/case-flag/hmcts-service-detail.model.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,qBAAa,kBAAkB;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,UAAU,SAAK;IACf,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,iBAAiB,EAAE,MAAM,CAAC;CAClC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"case-field.model.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/domain/definition/case-field.model.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,6DAA6D,CAAC;AAC9F,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAG/C,qBAAa,SAAU,YAAW,SAAS;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,OAAO,CAAC;IAChB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,UAAU,EAAE,SAAS,CAAC;IAEtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,IAAI,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,mBAAmB,EAAE,OAAO,CAAC;IAG7B,WAAW,CAAC,EAAE,eAAe,CAAC;IAE9B,MAAM,EAAE,GAAG,CAAC;IACZ,WAAW,EAAE,GAAG,CAAM;IAE7B,IACW,KAAK,IAAI,GAAG,
|
|
1
|
+
{"version":3,"file":"case-field.model.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/domain/definition/case-field.model.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,6DAA6D,CAAC;AAC9F,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAG/C,qBAAa,SAAU,YAAW,SAAS;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,OAAO,CAAC;IAChB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,UAAU,EAAE,SAAS,CAAC;IAEtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,IAAI,CAAC,EAAE,iBAAiB,EAAE,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,mBAAmB,EAAE,OAAO,CAAC;IAG7B,WAAW,CAAC,EAAE,eAAe,CAAC;IAE9B,MAAM,EAAE,GAAG,CAAC;IACZ,WAAW,EAAE,GAAG,CAAM;IAE7B,IACW,KAAK,IAAI,GAAG,CAQtB;IAED,IAAW,KAAK,CAAC,KAAK,EAAE,GAAG,EAa1B;IAED,IACW,UAAU,IAAI,GAAG,CAM3B;IAED,IAAW,UAAU,CAAC,KAAK,EAAE,GAAG,EAE/B;IAED,IACW,mBAAmB,IAAI,MAAM,CAQvC;IAED,IACW,qBAAqB,IAAI,MAAM,CAQzC;IAGM,gBAAgB;IAKhB,cAAc;IAKd,UAAU;IAMV,UAAU;IAMV,WAAW;IAMX,YAAY,IAAI,OAAO;IAKvB,SAAS,IAAI,OAAO;IAKpB,SAAS,IAAI,OAAO;IAWpB,UAAU,IAAI,OAAO;IAKrB,mBAAmB,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,SAAK,EAAE,YAAY,SAAK,GAAI,MAAM;CAYzG"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare enum DisplayContextParameter {
|
|
2
|
+
Read = "READ",
|
|
3
|
+
Create = "CREATE",
|
|
4
|
+
Update = "UPDATE"
|
|
5
|
+
}
|
|
6
|
+
export declare enum DisplayContextCustomParameter {
|
|
7
|
+
CaseFileView = "CaseFileView",
|
|
8
|
+
LinkedCases = "LinkedCases"
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=display-context-enum.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"display-context-enum.model.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/domain/definition/display-context-enum.model.ts"],"names":[],"mappings":"AAAA,oBAAY,uBAAuB;IACjC,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,MAAM,WAAW;CAClB;AAED,oBAAY,6BAA6B;IACvC,YAAY,iBAAiB;IAC7B,WAAW,gBAAgB;CAC5B"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare type FieldTypeEnum = 'Text' | 'TextArea' | 'Postcode' | 'Number' | 'YesOrNo' | 'Date' | 'DateTime' | 'Email' | 'PhoneUK' | 'MoneyGBP' | 'FixedList' | 'DynamicList' | 'FixedRadioList' | 'DynamicRadioList' | 'Complex' | 'Collection' | 'MultiSelectList' | 'Document' | 'Label' | 'AddressGlobal' | 'AddressGlobalUK' | 'AddressUK' | 'CasePaymentHistoryViewer' | 'CaseHistoryViewer' | 'Organisation' | 'WaysToPay' | 'ComponentLauncher' | 'Flags' | 'FlagDetail' | 'FlagLauncher' | 'CaseFlag' | 'JudicialUserField';
|
|
1
|
+
export declare type FieldTypeEnum = 'Text' | 'TextArea' | 'Postcode' | 'Number' | 'YesOrNo' | 'Date' | 'DateTime' | 'Email' | 'PhoneUK' | 'MoneyGBP' | 'FixedList' | 'DynamicList' | 'FixedRadioList' | 'DynamicRadioList' | 'DynamicMultiSelectList' | 'Complex' | 'Collection' | 'MultiSelectList' | 'Document' | 'Label' | 'AddressGlobal' | 'AddressGlobalUK' | 'AddressUK' | 'CasePaymentHistoryViewer' | 'CaseHistoryViewer' | 'Organisation' | 'WaysToPay' | 'ComponentLauncher' | 'Flags' | 'FlagDetail' | 'FlagLauncher' | 'CaseFlag' | 'JudicialUserField';
|
|
2
2
|
//# sourceMappingURL=field-type-enum.model.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-type-enum.model.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/domain/definition/field-type-enum.model.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa,GACvB,MAAM,GACJ,UAAU,GACV,UAAU,GACV,QAAQ,GACR,SAAS,GACT,MAAM,GACN,UAAU,GACV,OAAO,GACP,SAAS,GACT,UAAU,GACV,WAAW,GACX,aAAa,GACb,gBAAgB,GAChB,kBAAkB,GAClB,SAAS,GACT,YAAY,GACZ,iBAAiB,GACjB,UAAU,GACV,OAAO,GACP,eAAe,GACf,iBAAiB,GACjB,WAAW,GACX,0BAA0B,GAC1B,mBAAmB,GACnB,cAAc,GACd,WAAW,GACX,mBAAmB,GACnB,OAAO,GACP,YAAY,GACZ,cAAc,GACd,UAAU,GACV,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"field-type-enum.model.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/domain/definition/field-type-enum.model.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa,GACvB,MAAM,GACJ,UAAU,GACV,UAAU,GACV,QAAQ,GACR,SAAS,GACT,MAAM,GACN,UAAU,GACV,OAAO,GACP,SAAS,GACT,UAAU,GACV,WAAW,GACX,aAAa,GACb,gBAAgB,GAChB,kBAAkB,GAClB,wBAAwB,GACxB,SAAS,GACT,YAAY,GACZ,iBAAiB,GACjB,UAAU,GACV,OAAO,GACP,eAAe,GACf,iBAAiB,GACjB,WAAW,GACX,0BAA0B,GAC1B,mBAAmB,GACnB,cAAc,GACd,WAAW,GACX,mBAAmB,GACnB,OAAO,GACP,YAAY,GACZ,cAAc,GACd,UAAU,GACV,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ccd-read-fields-filter.pipe.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/pipes/complex/ccd-read-fields-filter.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,aAAa,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAI5D,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;;AAGrE,qBAGa,oBAAqB,YAAW,aAAa;IAExD,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAKlC;IAEF,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,kBAAkB,CAAkF;IAE5H,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,YAAY,CAGlC;IAEF;;OAEG;IACH,OAAO,CAAC,MAAM,CAAC,cAAc;IAa7B,OAAO,CAAC,MAAM,CAAC,iBAAiB;IAoBhC,OAAO,CAAC,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A9HhF,oBAAoB;uCAApB,oBAAoB;CAgKhC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from './case-reference';
|
|
2
2
|
export * from './case-title';
|
|
3
3
|
export * from './complex';
|
|
4
|
+
export * from './link-cases-reason-code';
|
|
5
|
+
export * from './link-cases-from-reason-code';
|
|
4
6
|
export * from './pipes.module';
|
|
5
7
|
export * from './search-result/sorting/sort-search-result.pipe';
|
|
6
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/pipes/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iDAAiD,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/pipes/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iDAAiD,CAAC"}
|
package/lib/shared/pipes/link-cases-from-reason-code/ccd-link-cases-from-reason-code.pipe.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { LinkFromReason } from '../../components/palette/linked-cases/domain';
|
|
3
|
+
import { LinkedCasesService } from '../../components/palette/linked-cases/services';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class LinkCasesFromReasonValuePipe implements PipeTransform {
|
|
6
|
+
private readonly linkedCasesService;
|
|
7
|
+
constructor(linkedCasesService: LinkedCasesService);
|
|
8
|
+
transform(linkFromReason: LinkFromReason): string;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDef<LinkCasesFromReasonValuePipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDefWithMeta<LinkCasesFromReasonValuePipe, "ccdLinkCasesFromReasonValue">;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=ccd-link-cases-from-reason-code.pipe.d.ts.map
|
package/lib/shared/pipes/link-cases-from-reason-code/ccd-link-cases-from-reason-code.pipe.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ccd-link-cases-from-reason-code.pipe.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/pipes/link-cases-from-reason-code/ccd-link-cases-from-reason-code.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,aAAa,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,8CAA8C,CAAC;AAC9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;;AAEpF,qBAGa,4BAA6B,YAAW,aAAa;IAEpD,OAAO,CAAC,QAAQ,CAAC,kBAAkB;gBAAlB,kBAAkB,EAAE,kBAAkB;IAE5D,SAAS,CAAC,cAAc,EAAE,cAAc,GAAG,MAAM;iCAJ7C,4BAA4B;uCAA5B,4BAA4B;CAaxC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/pipes/link-cases-from-reason-code/index.ts"],"names":[],"mappings":"AAAA,cAAc,wCAAwC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { LinkReason } from '../../components';
|
|
3
|
+
import { LinkedCasesService } from '../../components/palette/linked-cases/services';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class LinkCasesReasonValuePipe implements PipeTransform {
|
|
6
|
+
private readonly linkedCasesService;
|
|
7
|
+
constructor(linkedCasesService: LinkedCasesService);
|
|
8
|
+
transform(linkReason: LinkReason): string;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDef<LinkCasesReasonValuePipe, never>;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDefWithMeta<LinkCasesReasonValuePipe, "ccdLinkCasesReasonValue">;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=ccd-link-cases-reason-code.pipe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ccd-link-cases-reason-code.pipe.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/pipes/link-cases-reason-code/ccd-link-cases-reason-code.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,aAAa,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;;AAEpF,qBAGa,wBAAyB,YAAW,aAAa;IAEhD,OAAO,CAAC,QAAQ,CAAC,kBAAkB;gBAAlB,kBAAkB,EAAE,kBAAkB;IAE5D,SAAS,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM;iCAJrC,wBAAwB;uCAAxB,wBAAwB;CAapC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/pipes/link-cases-reason-code/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC"}
|
|
@@ -7,10 +7,12 @@ import * as i5 from "./complex/ccd-cyapage-label-filter.pipe";
|
|
|
7
7
|
import * as i6 from "./complex/ccd-read-fields-filter.pipe";
|
|
8
8
|
import * as i7 from "./complex/ccd-tab-fields.pipe";
|
|
9
9
|
import * as i8 from "./complex/cdd-page-fields.pipe";
|
|
10
|
-
import * as i9 from "
|
|
10
|
+
import * as i9 from "./link-cases-reason-code/ccd-link-cases-reason-code.pipe";
|
|
11
|
+
import * as i10 from "./link-cases-from-reason-code/ccd-link-cases-from-reason-code.pipe";
|
|
12
|
+
import * as i11 from "@angular/common";
|
|
11
13
|
export declare class PipesModule {
|
|
12
14
|
static ɵfac: i0.ɵɵFactoryDef<PipesModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDefWithMeta<PipesModule, [typeof i1.CaseReferencePipe, typeof i2.SortSearchResultPipe, typeof i3.CcdCaseTitlePipe, typeof i4.CcdCollectionTableCaseFieldsFilterPipe, typeof i5.CcdCYAPageLabelFilterPipe, typeof i6.ReadFieldsFilterPipe, typeof i7.CcdTabFieldsPipe, typeof i8.CcdPageFieldsPipe], [typeof
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDefWithMeta<PipesModule, [typeof i1.CaseReferencePipe, typeof i2.SortSearchResultPipe, typeof i3.CcdCaseTitlePipe, typeof i4.CcdCollectionTableCaseFieldsFilterPipe, typeof i5.CcdCYAPageLabelFilterPipe, typeof i6.ReadFieldsFilterPipe, typeof i7.CcdTabFieldsPipe, typeof i8.CcdPageFieldsPipe, typeof i9.LinkCasesReasonValuePipe, typeof i10.LinkCasesFromReasonValuePipe], [typeof i11.CommonModule], [typeof i1.CaseReferencePipe, typeof i2.SortSearchResultPipe, typeof i3.CcdCaseTitlePipe, typeof i4.CcdCollectionTableCaseFieldsFilterPipe, typeof i5.CcdCYAPageLabelFilterPipe, typeof i6.ReadFieldsFilterPipe, typeof i7.CcdTabFieldsPipe, typeof i8.CcdPageFieldsPipe, typeof i9.LinkCasesReasonValuePipe, typeof i10.LinkCasesFromReasonValuePipe]>;
|
|
14
16
|
static ɵinj: i0.ɵɵInjectorDef<PipesModule>;
|
|
15
17
|
}
|
|
16
18
|
//# sourceMappingURL=pipes.module.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipes.module.d.ts","sourceRoot":"","sources":["../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/pipes/pipes.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pipes.module.d.ts","sourceRoot":"","sources":["../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/pipes/pipes.module.ts"],"names":[],"mappings":";;;;;;;;;;;;AAsBA,qBAWa,WAAW;iCAAX,WAAW;0CAAX,WAAW;kCAAX,WAAW;CAAG"}
|
|
@@ -18,13 +18,24 @@ export declare class CaseFlagRefdataService {
|
|
|
18
18
|
*/
|
|
19
19
|
getCaseFlagsRefdata(serviceId: string, flagType?: RefdataCaseFlagType, welshRequired?: boolean): Observable<FlagType[]>;
|
|
20
20
|
/**
|
|
21
|
-
* Retrieves the HMCTS service details for a jurisdiction or service, including service
|
|
22
|
-
* service has
|
|
21
|
+
* Retrieves the HMCTS service details for a jurisdiction or service, including service codes. More than one
|
|
22
|
+
* service code may be present. For example, the Divorce jurisdiction/service has corresponding service codes of
|
|
23
|
+
* "ABA1" and "ABA2".
|
|
23
24
|
*
|
|
24
25
|
* @param serviceNames The service name(s) to look up, comma-separated if more than one
|
|
25
26
|
* @returns An `Observable` of an array of service details
|
|
26
27
|
*/
|
|
27
|
-
|
|
28
|
+
getHmctsServiceDetailsByServiceName(serviceNames?: string): Observable<HmctsServiceDetail[]>;
|
|
29
|
+
/**
|
|
30
|
+
* Retrieves the HMCTS service details for a case type, including service code. For example, the
|
|
31
|
+
* "FinancialRemedyContested" case type is associated with the Divorce jurisdiction/service and service code "ABA2".
|
|
32
|
+
*
|
|
33
|
+
* Note that a case type might not be associated with any service codes of a jurisdiction or service.
|
|
34
|
+
*
|
|
35
|
+
* @param caseTypeId The case type ID to look up
|
|
36
|
+
* @returns An `Observable` of an array of service details
|
|
37
|
+
*/
|
|
38
|
+
getHmctsServiceDetailsByCaseType(caseTypeId?: string): Observable<HmctsServiceDetail[]>;
|
|
28
39
|
static ɵfac: i0.ɵɵFactoryDef<CaseFlagRefdataService, never>;
|
|
29
40
|
static ɵprov: i0.ɵɵInjectableDef<CaseFlagRefdataService>;
|
|
30
41
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"case-flag-refdata.service.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/services/case-flag/case-flag-refdata.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAkB,MAAM,MAAM,CAAC;AAElD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;;AAEpE,qBACa,sBAAsB;IAE/B,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,SAAS;gBADT,IAAI,EAAE,WAAW,EACjB,SAAS,EAAE,iBAAiB;IAG/C;;;;;;;OAOG;IACI,mBAAmB,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,mBAAmB,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC,QAAQ,EAAE,CAAC;IAkC9H
|
|
1
|
+
{"version":3,"file":"case-flag-refdata.service.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/services/case-flag/case-flag-refdata.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAkB,MAAM,MAAM,CAAC;AAElD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;;AAEpE,qBACa,sBAAsB;IAE/B,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,SAAS;gBADT,IAAI,EAAE,WAAW,EACjB,SAAS,EAAE,iBAAiB;IAG/C;;;;;;;OAOG;IACI,mBAAmB,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,mBAAmB,EAAE,aAAa,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC,QAAQ,EAAE,CAAC;IAkC9H;;;;;;;OAOG;IACI,mCAAmC,CAAC,YAAY,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,kBAAkB,EAAE,CAAC;IAenG;;;;;;;;OAQG;IACI,gCAAgC,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,kBAAkB,EAAE,CAAC;iCAhFnF,sBAAsB;qCAAtB,sBAAsB;CA8FlC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common-data-service.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/services/common-data-service/common-data-service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAM,MAAM,MAAM,CAAC;;AAEtC,MAAM,WAAW,eAAe;
|
|
1
|
+
{"version":3,"file":"common-data-service.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/services/common-data-service/common-data-service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAM,MAAM,MAAM,CAAC;;AAEtC,MAAM,WAAW,eAAe;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,eAAe,EAAE,CAAC;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,wBAAwB;IACvC,cAAc,EAAE,eAAe,EAAE,CAAC;CACnC;AAED,qBACa,iBAAiB;IAEhB,OAAO,CAAC,QAAQ,CAAC,IAAI;gBAAJ,IAAI,EAAE,UAAU;IAEtC,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC,wBAAwB,CAAC;iCAJzD,iBAAiB;qCAAjB,iBAAiB;CAU7B"}
|
|
@@ -66,6 +66,7 @@ export declare class FieldsUtils {
|
|
|
66
66
|
private static getNestedFieldValues;
|
|
67
67
|
static isFlagsCaseField(caseField: CaseField): boolean;
|
|
68
68
|
static isFlagLauncherCaseField(caseField: CaseField): boolean;
|
|
69
|
+
static isComponentLauncherCaseField(caseField: CaseField): boolean;
|
|
69
70
|
static isFlagsFieldType(fieldType: FieldType): boolean;
|
|
70
71
|
/**
|
|
71
72
|
* Extract flags data from a `CaseField` instance, recursing and iterating through sub-fields of a Complex field or
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fields.utils.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/services/fields/fields.utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEpF,OAAO,EAAE,UAAU,EAAE,MAAM,qCAAqC,CAAC;AACjE,OAAO,EAAE,0BAA0B,EAAE,MAAM,mEAAmE,CAAC;AAC/G,OA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2B,CAAC,WAAW,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM;IAoE5G,qBAAqB,CAAC,YAAY,EAAE,gBAAgB,EAAE,IAAI,EAAE,GAAG,GAAG,SAAS,CAAC,UAAU,CAAC;IAOvF,oBAAoB,CAAC,YAAY,EAAE;QAAE,WAAW,EAAE,SAAS,EAAE,CAAA;KAAE,EAAE,IAAI,EAAE,SAAS,GAAG,MAAM;IAIzF,cAAc,CAAC,GAAG,EAAE,GAAG,GAAG,SAAS;IAInC,4BAA4B,CAAC,UAAU,EAAE,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM;IAIjF,iCAAiC,CAAC,UAAU,EAAE,SAAS,EAAE,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM;IAItF,eAAe,CACpB,QAAQ,EAAE,eAAe,EACzB,WAAW,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,EACvC,WAAW,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,EACvC,SAAS,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,IAAI,GACxC,IAAI;IAUP,OAAO,CAAC,WAAW;iCA7lBR,WAAW;qCAAX,WAAW;CAumBvB"}
|
|
@@ -6,6 +6,7 @@ export declare class FieldTypeSanitiser {
|
|
|
6
6
|
static readonly FIELD_TYPE_COLLECTION: FieldTypeEnum;
|
|
7
7
|
static readonly FIELD_TYPE_DYNAMIC_LIST: FieldTypeEnum;
|
|
8
8
|
static readonly FIELD_TYPE_DYNAMIC_RADIO_LIST: FieldTypeEnum;
|
|
9
|
+
static readonly FIELD_TYPE_DYNAMIC_MULTISELECT_LIST: FieldTypeEnum;
|
|
9
10
|
/**
|
|
10
11
|
* This method finds dynamiclists in a form and replaces their string
|
|
11
12
|
* values, with a JSON object, as below:
|
|
@@ -21,6 +22,7 @@ export declare class FieldTypeSanitiser {
|
|
|
21
22
|
* @param data The data in the form.
|
|
22
23
|
*/
|
|
23
24
|
sanitiseLists(caseFields: CaseField[], data: any): void;
|
|
25
|
+
private convertArrayToDynamicListOutput;
|
|
24
26
|
private convertStringToDynamicListOutput;
|
|
25
27
|
private getListItems;
|
|
26
28
|
static ɵfac: i0.ɵɵFactoryDef<FieldTypeSanitiser, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"field-type-sanitiser.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/services/form/field-type-sanitiser.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,+CAA+C,CAAC;;AAE9E,qBACa,kBAAkB;IAC7B,gBAAuB,kBAAkB,EAAE,aAAa,CAAa;IACrE,gBAAuB,qBAAqB,EAAE,aAAa,CAAgB;IAC3E,gBAAuB,uBAAuB,EAAE,aAAa,CAAiB;IAC9E,gBAAuB,6BAA6B,EAAE,aAAa,CAAsB;
|
|
1
|
+
{"version":3,"file":"field-type-sanitiser.d.ts","sourceRoot":"","sources":["../../../../../../projects/ccd-case-ui-toolkit/src/lib/shared/services/form/field-type-sanitiser.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,0CAA0C,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,+CAA+C,CAAC;;AAE9E,qBACa,kBAAkB;IAC7B,gBAAuB,kBAAkB,EAAE,aAAa,CAAa;IACrE,gBAAuB,qBAAqB,EAAE,aAAa,CAAgB;IAC3E,gBAAuB,uBAAuB,EAAE,aAAa,CAAiB;IAC9E,gBAAuB,6BAA6B,EAAE,aAAa,CAAsB;IACzF,gBAAuB,mCAAmC,EAAE,aAAa,CAA4B;IACrG;;;;;;;;;;;;;OAaG;IACK,aAAa,CAAC,UAAU,EAAE,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG;IA8BxD,OAAO,CAAC,+BAA+B;IAcvC,OAAO,CAAC,gCAAgC;IAcxC,OAAO,CAAC,YAAY;iCA9ET,kBAAkB;qCAAlB,kBAAkB;CA0F9B"}
|
|
@@ -164,6 +164,20 @@ export declare class FormValueService {
|
|
|
164
164
|
* @param caseFields The list of underlying {@link CaseField} domain model objects for each field
|
|
165
165
|
*/
|
|
166
166
|
populateFlagDetailsFromCaseFields(data: object, caseFields: CaseField[]): void;
|
|
167
|
+
/**
|
|
168
|
+
* Remove the ComponentLauncher case field, which is not intended to be persisted.
|
|
169
|
+
*
|
|
170
|
+
* @param data The object tree of form values on which to perform the removal
|
|
171
|
+
* @param caseFields The list of underlying {@link CaseField} domain model objects for each field
|
|
172
|
+
*/
|
|
173
|
+
removeComponentLauncherField(data: object, caseFields: CaseField[]): void;
|
|
174
|
+
/**
|
|
175
|
+
* Populate the linked cases from the data held in its corresponding CaseField.
|
|
176
|
+
*
|
|
177
|
+
* @param data The object tree of form values on which to perform the data population
|
|
178
|
+
* @param caseFields The list of underlying {@link CaseField} domain model objects for each field
|
|
179
|
+
*/
|
|
180
|
+
populateLinkedCasesDetailsFromCaseFields(data: object, caseFields: CaseField[]): void;
|
|
167
181
|
static ɵfac: i0.ɵɵFactoryDef<FormValueService, never>;
|
|
168
182
|
static ɵprov: i0.ɵɵInjectableDef<FormValueService>;
|
|
169
183
|
}
|