@hmcts/ccd-case-ui-toolkit 5.0.44-angular11-welsh-release-part1-3 → 5.0.44-angular11-welsh-release-part1-4
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 +38 -32
- 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/components/workbasket-filters/workbasket-filters.component.js +39 -33
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +38 -32
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/package.json +1 -1
|
@@ -28574,11 +28574,14 @@
|
|
|
28574
28574
|
function WorkbasketFiltersComponent_option_9_Template(rf, ctx) {
|
|
28575
28575
|
if (rf & 1) {
|
|
28576
28576
|
i0__namespace.ɵɵelementStart(0, "option", 11);
|
|
28577
|
-
i0__namespace.ɵɵtext(1
|
|
28577
|
+
i0__namespace.ɵɵtext(1);
|
|
28578
|
+
i0__namespace.ɵɵpipe(2, "rpxTranslate");
|
|
28578
28579
|
i0__namespace.ɵɵelementEnd();
|
|
28579
28580
|
}
|
|
28580
28581
|
if (rf & 2) {
|
|
28581
28582
|
i0__namespace.ɵɵproperty("ngValue", null);
|
|
28583
|
+
i0__namespace.ɵɵadvance(1);
|
|
28584
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 2, "Select a value"));
|
|
28582
28585
|
}
|
|
28583
28586
|
}
|
|
28584
28587
|
function WorkbasketFiltersComponent_option_10_Template(rf, ctx) {
|
|
@@ -28622,7 +28625,7 @@
|
|
|
28622
28625
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 2, ct_r7.name));
|
|
28623
28626
|
}
|
|
28624
28627
|
}
|
|
28625
|
-
function
|
|
28628
|
+
function WorkbasketFiltersComponent_option_26_Template(rf, ctx) {
|
|
28626
28629
|
if (rf & 1) {
|
|
28627
28630
|
i0__namespace.ɵɵelementStart(0, "option", 11);
|
|
28628
28631
|
i0__namespace.ɵɵtext(1);
|
|
@@ -28636,12 +28639,12 @@
|
|
|
28636
28639
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 2, cs_r8.name));
|
|
28637
28640
|
}
|
|
28638
28641
|
}
|
|
28639
|
-
function
|
|
28642
|
+
function WorkbasketFiltersComponent_ng_container_27_div_2_Template(rf, ctx) {
|
|
28640
28643
|
if (rf & 1) {
|
|
28641
28644
|
var _r12_1 = i0__namespace.ɵɵgetCurrentView();
|
|
28642
28645
|
i0__namespace.ɵɵelementStart(0, "div", 2);
|
|
28643
28646
|
i0__namespace.ɵɵelementStart(1, "ccd-field-write", 18);
|
|
28644
|
-
i0__namespace.ɵɵlistener("keyup.enter", function
|
|
28647
|
+
i0__namespace.ɵɵlistener("keyup.enter", function WorkbasketFiltersComponent_ng_container_27_div_2_Template_ccd_field_write_keyup_enter_1_listener() { i0__namespace.ɵɵrestoreView(_r12_1); var ctx_r11 = i0__namespace.ɵɵnextContext(2); return ctx_r11.apply(null); });
|
|
28645
28648
|
i0__namespace.ɵɵelementEnd();
|
|
28646
28649
|
i0__namespace.ɵɵelementEnd();
|
|
28647
28650
|
}
|
|
@@ -28652,11 +28655,11 @@
|
|
|
28652
28655
|
i0__namespace.ɵɵproperty("caseField", workbasketInput_r10.field)("formGroup", ctx_r9.formGroup)("isExpanded", true)("isInSearchBlock", true);
|
|
28653
28656
|
}
|
|
28654
28657
|
}
|
|
28655
|
-
function
|
|
28658
|
+
function WorkbasketFiltersComponent_ng_container_27_Template(rf, ctx) {
|
|
28656
28659
|
if (rf & 1) {
|
|
28657
28660
|
i0__namespace.ɵɵelementContainerStart(0, 15);
|
|
28658
28661
|
i0__namespace.ɵɵelementStart(1, "div", 16);
|
|
28659
|
-
i0__namespace.ɵɵtemplate(2,
|
|
28662
|
+
i0__namespace.ɵɵtemplate(2, WorkbasketFiltersComponent_ng_container_27_div_2_Template, 2, 4, "div", 17);
|
|
28660
28663
|
i0__namespace.ɵɵelementEnd();
|
|
28661
28664
|
i0__namespace.ɵɵelementContainerEnd();
|
|
28662
28665
|
}
|
|
@@ -28940,7 +28943,7 @@
|
|
|
28940
28943
|
WorkbasketFiltersComponent.PARAM_CASE_TYPE = 'case-type';
|
|
28941
28944
|
WorkbasketFiltersComponent.PARAM_CASE_STATE = 'case-state';
|
|
28942
28945
|
WorkbasketFiltersComponent.ɵfac = function WorkbasketFiltersComponent_Factory(t) { return new (t || WorkbasketFiltersComponent)(i0__namespace.ɵɵdirectiveInject(i1__namespace$1.ActivatedRoute), i0__namespace.ɵɵdirectiveInject(WorkbasketInputFilterService), i0__namespace.ɵɵdirectiveInject(OrderService), i0__namespace.ɵɵdirectiveInject(JurisdictionService), i0__namespace.ɵɵdirectiveInject(AlertService), i0__namespace.ɵɵdirectiveInject(WindowService)); };
|
|
28943
|
-
WorkbasketFiltersComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WorkbasketFiltersComponent, selectors: [["ccd-workbasket-filters"]], inputs: { jurisdictions: "jurisdictions", defaults: "defaults" }, outputs: { onApply: "onApply", onReset: "onReset" }, decls:
|
|
28946
|
+
WorkbasketFiltersComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WorkbasketFiltersComponent, selectors: [["ccd-workbasket-filters"]], inputs: { jurisdictions: "jurisdictions", defaults: "defaults" }, outputs: { onApply: "onApply", onReset: "onReset" }, decls: 39, vars: 46, consts: [["aria-label", "Filters", 1, "heading-h2"], [1, "global-display"], [1, "form-group"], ["for", "wb-jurisdiction", 1, "form-label"], ["id", "wb-jurisdiction", "name", "jurisdiction", "aria-controls", "search-result", 1, "form-control", "form-control-3-4", "ccd-dropdown", 3, "ngModel", "ngModelChange", "change"], [3, "ngValue", 4, "ngIf"], [3, "ngValue", 4, "ngFor", "ngForOf"], ["for", "wb-case-type", 1, "form-label"], ["id", "wb-case-type", "name", "case-type", "aria-controls", "search-result", 1, "form-control", "form-control-3-4", "ccd-dropdown", 3, "ngModel", "disabled", "ngModelChange", "change"], ["for", "wb-case-state", 1, "form-label"], ["id", "wb-case-state", "name", "state", "aria-controls", "search-result", 1, "form-control", "form-control-3-4", "ccd-dropdown", 3, "ngModel", "disabled", "ngModelChange"], [3, "ngValue"], ["ccdConditionalShowForm", "", 3, "formGroup", "contextFields", 4, "ngIf"], ["type", "button", 1, "button", "workbasket-filters-apply", 3, "disabled", "title", "click"], ["type", "button", 1, "button", "button-secondary", 3, "title", "click"], ["ccdConditionalShowForm", "", 3, "formGroup", "contextFields"], ["id", "dynamicFilters"], ["class", "form-group", 4, "ngFor", "ngForOf"], [3, "caseField", "formGroup", "isExpanded", "isInSearchBlock", "keyup.enter"]], template: function WorkbasketFiltersComponent_Template(rf, ctx) {
|
|
28944
28947
|
if (rf & 1) {
|
|
28945
28948
|
i0__namespace.ɵɵelementStart(0, "h2", 0);
|
|
28946
28949
|
i0__namespace.ɵɵtext(1);
|
|
@@ -28954,7 +28957,7 @@
|
|
|
28954
28957
|
i0__namespace.ɵɵelementEnd();
|
|
28955
28958
|
i0__namespace.ɵɵelementStart(8, "select", 4);
|
|
28956
28959
|
i0__namespace.ɵɵlistener("ngModelChange", function WorkbasketFiltersComponent_Template_select_ngModelChange_8_listener($event) { return ctx.selected.jurisdiction = $event; })("change", function WorkbasketFiltersComponent_Template_select_change_8_listener() { return ctx.onJurisdictionIdChange(); });
|
|
28957
|
-
i0__namespace.ɵɵtemplate(9, WorkbasketFiltersComponent_option_9_Template,
|
|
28960
|
+
i0__namespace.ɵɵtemplate(9, WorkbasketFiltersComponent_option_9_Template, 3, 4, "option", 5);
|
|
28958
28961
|
i0__namespace.ɵɵtemplate(10, WorkbasketFiltersComponent_option_10_Template, 3, 4, "option", 6);
|
|
28959
28962
|
i0__namespace.ɵɵelementEnd();
|
|
28960
28963
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -28977,34 +28980,35 @@
|
|
|
28977
28980
|
i0__namespace.ɵɵelementStart(22, "select", 10);
|
|
28978
28981
|
i0__namespace.ɵɵlistener("ngModelChange", function WorkbasketFiltersComponent_Template_select_ngModelChange_22_listener($event) { return ctx.selected.caseState = $event; });
|
|
28979
28982
|
i0__namespace.ɵɵelementStart(23, "option", 11);
|
|
28980
|
-
i0__namespace.ɵɵtext(24
|
|
28983
|
+
i0__namespace.ɵɵtext(24);
|
|
28984
|
+
i0__namespace.ɵɵpipe(25, "rpxTranslate");
|
|
28981
28985
|
i0__namespace.ɵɵelementEnd();
|
|
28982
|
-
i0__namespace.ɵɵtemplate(
|
|
28986
|
+
i0__namespace.ɵɵtemplate(26, WorkbasketFiltersComponent_option_26_Template, 3, 4, "option", 6);
|
|
28983
28987
|
i0__namespace.ɵɵelementEnd();
|
|
28984
28988
|
i0__namespace.ɵɵelementEnd();
|
|
28985
|
-
i0__namespace.ɵɵtemplate(
|
|
28986
|
-
i0__namespace.ɵɵelementStart(
|
|
28987
|
-
i0__namespace.ɵɵlistener("click", function
|
|
28988
|
-
i0__namespace.ɵɵpipe(28, "rpxTranslate");
|
|
28989
|
+
i0__namespace.ɵɵtemplate(27, WorkbasketFiltersComponent_ng_container_27_Template, 3, 3, "ng-container", 12);
|
|
28990
|
+
i0__namespace.ɵɵelementStart(28, "button", 13);
|
|
28991
|
+
i0__namespace.ɵɵlistener("click", function WorkbasketFiltersComponent_Template_button_click_28_listener() { return ctx.apply(true); });
|
|
28989
28992
|
i0__namespace.ɵɵpipe(29, "rpxTranslate");
|
|
28990
|
-
i0__namespace.ɵɵ
|
|
28991
|
-
i0__namespace.ɵɵ
|
|
28993
|
+
i0__namespace.ɵɵpipe(30, "rpxTranslate");
|
|
28994
|
+
i0__namespace.ɵɵtext(31);
|
|
28995
|
+
i0__namespace.ɵɵpipe(32, "rpxTranslate");
|
|
28992
28996
|
i0__namespace.ɵɵelementEnd();
|
|
28993
|
-
i0__namespace.ɵɵtext(
|
|
28994
|
-
i0__namespace.ɵɵelementStart(
|
|
28995
|
-
i0__namespace.ɵɵlistener("click", function
|
|
28996
|
-
i0__namespace.ɵɵpipe(34, "rpxTranslate");
|
|
28997
|
+
i0__namespace.ɵɵtext(33, " \u00A0\u00A0\u00A0 ");
|
|
28998
|
+
i0__namespace.ɵɵelementStart(34, "button", 14);
|
|
28999
|
+
i0__namespace.ɵɵlistener("click", function WorkbasketFiltersComponent_Template_button_click_34_listener() { return ctx.reset(); });
|
|
28997
29000
|
i0__namespace.ɵɵpipe(35, "rpxTranslate");
|
|
28998
|
-
i0__namespace.ɵɵ
|
|
28999
|
-
i0__namespace.ɵɵ
|
|
29001
|
+
i0__namespace.ɵɵpipe(36, "rpxTranslate");
|
|
29002
|
+
i0__namespace.ɵɵtext(37);
|
|
29003
|
+
i0__namespace.ɵɵpipe(38, "rpxTranslate");
|
|
29000
29004
|
i0__namespace.ɵɵelementEnd();
|
|
29001
29005
|
i0__namespace.ɵɵelementEnd();
|
|
29002
29006
|
}
|
|
29003
29007
|
if (rf & 2) {
|
|
29004
29008
|
i0__namespace.ɵɵadvance(1);
|
|
29005
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2,
|
|
29009
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 24, "Filters"));
|
|
29006
29010
|
i0__namespace.ɵɵadvance(5);
|
|
29007
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7,
|
|
29011
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 26, "Jurisdiction"));
|
|
29008
29012
|
i0__namespace.ɵɵadvance(2);
|
|
29009
29013
|
i0__namespace.ɵɵproperty("ngModel", ctx.selected.jurisdiction);
|
|
29010
29014
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -29012,7 +29016,7 @@
|
|
|
29012
29016
|
i0__namespace.ɵɵadvance(1);
|
|
29013
29017
|
i0__namespace.ɵɵproperty("ngForOf", ctx.jurisdictions);
|
|
29014
29018
|
i0__namespace.ɵɵadvance(3);
|
|
29015
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(14,
|
|
29019
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(14, 28, "Case type"));
|
|
29016
29020
|
i0__namespace.ɵɵadvance(2);
|
|
29017
29021
|
i0__namespace.ɵɵproperty("ngModel", ctx.selected.caseType)("disabled", ctx.isCaseTypesDropdownDisabled());
|
|
29018
29022
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -29020,25 +29024,27 @@
|
|
|
29020
29024
|
i0__namespace.ɵɵadvance(1);
|
|
29021
29025
|
i0__namespace.ɵɵproperty("ngForOf", ctx.selectedJurisdictionCaseTypes);
|
|
29022
29026
|
i0__namespace.ɵɵadvance(3);
|
|
29023
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(21,
|
|
29027
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(21, 30, "State"));
|
|
29024
29028
|
i0__namespace.ɵɵadvance(2);
|
|
29025
29029
|
i0__namespace.ɵɵproperty("ngModel", ctx.selected.caseState)("disabled", ctx.isCaseStatesDropdownDisabled());
|
|
29026
29030
|
i0__namespace.ɵɵadvance(1);
|
|
29027
29031
|
i0__namespace.ɵɵproperty("ngValue", null);
|
|
29032
|
+
i0__namespace.ɵɵadvance(1);
|
|
29033
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(25, 32, "Any"));
|
|
29028
29034
|
i0__namespace.ɵɵadvance(2);
|
|
29029
29035
|
i0__namespace.ɵɵproperty("ngForOf", ctx.selectedCaseTypeStates);
|
|
29030
29036
|
i0__namespace.ɵɵadvance(1);
|
|
29031
29037
|
i0__namespace.ɵɵproperty("ngIf", ctx.isSearchableAndWorkbasketInputsReady());
|
|
29032
29038
|
i0__namespace.ɵɵadvance(1);
|
|
29033
|
-
i0__namespace.ɵɵproperty("disabled", ctx.isApplyButtonDisabled())("title", i0__namespace.ɵɵpipeBind1(
|
|
29034
|
-
i0__namespace.ɵɵattribute("aria-label", i0__namespace.ɵɵpipeBind1(
|
|
29039
|
+
i0__namespace.ɵɵproperty("disabled", ctx.isApplyButtonDisabled())("title", i0__namespace.ɵɵpipeBind1(29, 34, "Apply filter"));
|
|
29040
|
+
i0__namespace.ɵɵattribute("aria-label", i0__namespace.ɵɵpipeBind1(30, 36, "Apply filter"));
|
|
29035
29041
|
i0__namespace.ɵɵadvance(3);
|
|
29036
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
29042
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(32, 38, "Apply"), " ");
|
|
29037
29043
|
i0__namespace.ɵɵadvance(3);
|
|
29038
|
-
i0__namespace.ɵɵproperty("title", i0__namespace.ɵɵpipeBind1(
|
|
29039
|
-
i0__namespace.ɵɵattribute("aria-label", i0__namespace.ɵɵpipeBind1(
|
|
29044
|
+
i0__namespace.ɵɵproperty("title", i0__namespace.ɵɵpipeBind1(35, 40, "Reset filter"));
|
|
29045
|
+
i0__namespace.ɵɵattribute("aria-label", i0__namespace.ɵɵpipeBind1(36, 42, "Reset filter"));
|
|
29040
29046
|
i0__namespace.ɵɵadvance(3);
|
|
29041
|
-
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(
|
|
29047
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(38, 44, "Reset"), " ");
|
|
29042
29048
|
}
|
|
29043
29049
|
}, styles: ["div[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{font-family:nta,Arial,sans-serif;font-weight:400;text-transform:none;font-size:11pt;line-height:1.2727272727}@media (min-width:641px){div[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{font-size:12pt;line-height:1.3333333333}}.form-group[_ngcontent-%COMP%]{margin-bottom:7px}.ccd-dropdown[_ngcontent-%COMP%]{width:100%}span.heading-medium[_ngcontent-%COMP%]{margin-top:0}"] });
|
|
29044
29050
|
(function () {
|