@hmcts/ccd-case-ui-toolkit 5.0.44-angular11-welsh-release-part1-2 → 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 +50 -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 +51 -33
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +50 -32
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/package.json +1 -1
|
@@ -28574,34 +28574,41 @@
|
|
|
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) {
|
|
28585
28588
|
if (rf & 1) {
|
|
28586
28589
|
i0__namespace.ɵɵelementStart(0, "option", 11);
|
|
28587
28590
|
i0__namespace.ɵɵtext(1);
|
|
28591
|
+
i0__namespace.ɵɵpipe(2, "rpxTranslate");
|
|
28588
28592
|
i0__namespace.ɵɵelementEnd();
|
|
28589
28593
|
}
|
|
28590
28594
|
if (rf & 2) {
|
|
28591
28595
|
var j_r6 = ctx.$implicit;
|
|
28592
28596
|
i0__namespace.ɵɵproperty("ngValue", j_r6);
|
|
28593
28597
|
i0__namespace.ɵɵadvance(1);
|
|
28594
|
-
i0__namespace.ɵɵtextInterpolate(j_r6.name);
|
|
28598
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 2, j_r6.name));
|
|
28595
28599
|
}
|
|
28596
28600
|
}
|
|
28597
28601
|
function WorkbasketFiltersComponent_option_16_Template(rf, ctx) {
|
|
28598
28602
|
if (rf & 1) {
|
|
28599
28603
|
i0__namespace.ɵɵelementStart(0, "option", 11);
|
|
28600
|
-
i0__namespace.ɵɵtext(1
|
|
28604
|
+
i0__namespace.ɵɵtext(1);
|
|
28605
|
+
i0__namespace.ɵɵpipe(2, "rpxTranslate");
|
|
28601
28606
|
i0__namespace.ɵɵelementEnd();
|
|
28602
28607
|
}
|
|
28603
28608
|
if (rf & 2) {
|
|
28604
28609
|
i0__namespace.ɵɵproperty("ngValue", null);
|
|
28610
|
+
i0__namespace.ɵɵadvance(1);
|
|
28611
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 2, "Select a value"));
|
|
28605
28612
|
}
|
|
28606
28613
|
}
|
|
28607
28614
|
function WorkbasketFiltersComponent_option_17_Template(rf, ctx) {
|
|
@@ -28618,7 +28625,7 @@
|
|
|
28618
28625
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 2, ct_r7.name));
|
|
28619
28626
|
}
|
|
28620
28627
|
}
|
|
28621
|
-
function
|
|
28628
|
+
function WorkbasketFiltersComponent_option_26_Template(rf, ctx) {
|
|
28622
28629
|
if (rf & 1) {
|
|
28623
28630
|
i0__namespace.ɵɵelementStart(0, "option", 11);
|
|
28624
28631
|
i0__namespace.ɵɵtext(1);
|
|
@@ -28632,12 +28639,12 @@
|
|
|
28632
28639
|
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 2, cs_r8.name));
|
|
28633
28640
|
}
|
|
28634
28641
|
}
|
|
28635
|
-
function
|
|
28642
|
+
function WorkbasketFiltersComponent_ng_container_27_div_2_Template(rf, ctx) {
|
|
28636
28643
|
if (rf & 1) {
|
|
28637
28644
|
var _r12_1 = i0__namespace.ɵɵgetCurrentView();
|
|
28638
28645
|
i0__namespace.ɵɵelementStart(0, "div", 2);
|
|
28639
28646
|
i0__namespace.ɵɵelementStart(1, "ccd-field-write", 18);
|
|
28640
|
-
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); });
|
|
28641
28648
|
i0__namespace.ɵɵelementEnd();
|
|
28642
28649
|
i0__namespace.ɵɵelementEnd();
|
|
28643
28650
|
}
|
|
@@ -28648,11 +28655,11 @@
|
|
|
28648
28655
|
i0__namespace.ɵɵproperty("caseField", workbasketInput_r10.field)("formGroup", ctx_r9.formGroup)("isExpanded", true)("isInSearchBlock", true);
|
|
28649
28656
|
}
|
|
28650
28657
|
}
|
|
28651
|
-
function
|
|
28658
|
+
function WorkbasketFiltersComponent_ng_container_27_Template(rf, ctx) {
|
|
28652
28659
|
if (rf & 1) {
|
|
28653
28660
|
i0__namespace.ɵɵelementContainerStart(0, 15);
|
|
28654
28661
|
i0__namespace.ɵɵelementStart(1, "div", 16);
|
|
28655
|
-
i0__namespace.ɵɵtemplate(2,
|
|
28662
|
+
i0__namespace.ɵɵtemplate(2, WorkbasketFiltersComponent_ng_container_27_div_2_Template, 2, 4, "div", 17);
|
|
28656
28663
|
i0__namespace.ɵɵelementEnd();
|
|
28657
28664
|
i0__namespace.ɵɵelementContainerEnd();
|
|
28658
28665
|
}
|
|
@@ -28936,7 +28943,7 @@
|
|
|
28936
28943
|
WorkbasketFiltersComponent.PARAM_CASE_TYPE = 'case-type';
|
|
28937
28944
|
WorkbasketFiltersComponent.PARAM_CASE_STATE = 'case-state';
|
|
28938
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)); };
|
|
28939
|
-
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) {
|
|
28940
28947
|
if (rf & 1) {
|
|
28941
28948
|
i0__namespace.ɵɵelementStart(0, "h2", 0);
|
|
28942
28949
|
i0__namespace.ɵɵtext(1);
|
|
@@ -28950,8 +28957,8 @@
|
|
|
28950
28957
|
i0__namespace.ɵɵelementEnd();
|
|
28951
28958
|
i0__namespace.ɵɵelementStart(8, "select", 4);
|
|
28952
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(); });
|
|
28953
|
-
i0__namespace.ɵɵtemplate(9, WorkbasketFiltersComponent_option_9_Template,
|
|
28954
|
-
i0__namespace.ɵɵtemplate(10, WorkbasketFiltersComponent_option_10_Template,
|
|
28960
|
+
i0__namespace.ɵɵtemplate(9, WorkbasketFiltersComponent_option_9_Template, 3, 4, "option", 5);
|
|
28961
|
+
i0__namespace.ɵɵtemplate(10, WorkbasketFiltersComponent_option_10_Template, 3, 4, "option", 6);
|
|
28955
28962
|
i0__namespace.ɵɵelementEnd();
|
|
28956
28963
|
i0__namespace.ɵɵelementEnd();
|
|
28957
28964
|
i0__namespace.ɵɵelementStart(11, "div", 2);
|
|
@@ -28961,7 +28968,7 @@
|
|
|
28961
28968
|
i0__namespace.ɵɵelementEnd();
|
|
28962
28969
|
i0__namespace.ɵɵelementStart(15, "select", 8);
|
|
28963
28970
|
i0__namespace.ɵɵlistener("ngModelChange", function WorkbasketFiltersComponent_Template_select_ngModelChange_15_listener($event) { return ctx.selected.caseType = $event; })("change", function WorkbasketFiltersComponent_Template_select_change_15_listener() { return ctx.onCaseTypeIdChange(); });
|
|
28964
|
-
i0__namespace.ɵɵtemplate(16, WorkbasketFiltersComponent_option_16_Template,
|
|
28971
|
+
i0__namespace.ɵɵtemplate(16, WorkbasketFiltersComponent_option_16_Template, 3, 4, "option", 5);
|
|
28965
28972
|
i0__namespace.ɵɵtemplate(17, WorkbasketFiltersComponent_option_17_Template, 3, 4, "option", 6);
|
|
28966
28973
|
i0__namespace.ɵɵelementEnd();
|
|
28967
28974
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -28973,30 +28980,35 @@
|
|
|
28973
28980
|
i0__namespace.ɵɵelementStart(22, "select", 10);
|
|
28974
28981
|
i0__namespace.ɵɵlistener("ngModelChange", function WorkbasketFiltersComponent_Template_select_ngModelChange_22_listener($event) { return ctx.selected.caseState = $event; });
|
|
28975
28982
|
i0__namespace.ɵɵelementStart(23, "option", 11);
|
|
28976
|
-
i0__namespace.ɵɵtext(24
|
|
28983
|
+
i0__namespace.ɵɵtext(24);
|
|
28984
|
+
i0__namespace.ɵɵpipe(25, "rpxTranslate");
|
|
28977
28985
|
i0__namespace.ɵɵelementEnd();
|
|
28978
|
-
i0__namespace.ɵɵtemplate(
|
|
28986
|
+
i0__namespace.ɵɵtemplate(26, WorkbasketFiltersComponent_option_26_Template, 3, 4, "option", 6);
|
|
28979
28987
|
i0__namespace.ɵɵelementEnd();
|
|
28980
28988
|
i0__namespace.ɵɵelementEnd();
|
|
28981
|
-
i0__namespace.ɵɵtemplate(
|
|
28982
|
-
i0__namespace.ɵɵelementStart(
|
|
28983
|
-
i0__namespace.ɵɵlistener("click", function
|
|
28984
|
-
i0__namespace.ɵɵtext(28);
|
|
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); });
|
|
28985
28992
|
i0__namespace.ɵɵpipe(29, "rpxTranslate");
|
|
28993
|
+
i0__namespace.ɵɵpipe(30, "rpxTranslate");
|
|
28994
|
+
i0__namespace.ɵɵtext(31);
|
|
28995
|
+
i0__namespace.ɵɵpipe(32, "rpxTranslate");
|
|
28986
28996
|
i0__namespace.ɵɵelementEnd();
|
|
28987
|
-
i0__namespace.ɵɵtext(
|
|
28988
|
-
i0__namespace.ɵɵelementStart(
|
|
28989
|
-
i0__namespace.ɵɵlistener("click", function
|
|
28990
|
-
i0__namespace.ɵɵ
|
|
28991
|
-
i0__namespace.ɵɵpipe(
|
|
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(); });
|
|
29000
|
+
i0__namespace.ɵɵpipe(35, "rpxTranslate");
|
|
29001
|
+
i0__namespace.ɵɵpipe(36, "rpxTranslate");
|
|
29002
|
+
i0__namespace.ɵɵtext(37);
|
|
29003
|
+
i0__namespace.ɵɵpipe(38, "rpxTranslate");
|
|
28992
29004
|
i0__namespace.ɵɵelementEnd();
|
|
28993
29005
|
i0__namespace.ɵɵelementEnd();
|
|
28994
29006
|
}
|
|
28995
29007
|
if (rf & 2) {
|
|
28996
29008
|
i0__namespace.ɵɵadvance(1);
|
|
28997
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2,
|
|
29009
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 24, "Filters"));
|
|
28998
29010
|
i0__namespace.ɵɵadvance(5);
|
|
28999
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7,
|
|
29011
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 26, "Jurisdiction"));
|
|
29000
29012
|
i0__namespace.ɵɵadvance(2);
|
|
29001
29013
|
i0__namespace.ɵɵproperty("ngModel", ctx.selected.jurisdiction);
|
|
29002
29014
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -29004,7 +29016,7 @@
|
|
|
29004
29016
|
i0__namespace.ɵɵadvance(1);
|
|
29005
29017
|
i0__namespace.ɵɵproperty("ngForOf", ctx.jurisdictions);
|
|
29006
29018
|
i0__namespace.ɵɵadvance(3);
|
|
29007
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(14,
|
|
29019
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(14, 28, "Case type"));
|
|
29008
29020
|
i0__namespace.ɵɵadvance(2);
|
|
29009
29021
|
i0__namespace.ɵɵproperty("ngModel", ctx.selected.caseType)("disabled", ctx.isCaseTypesDropdownDisabled());
|
|
29010
29022
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -29012,21 +29024,27 @@
|
|
|
29012
29024
|
i0__namespace.ɵɵadvance(1);
|
|
29013
29025
|
i0__namespace.ɵɵproperty("ngForOf", ctx.selectedJurisdictionCaseTypes);
|
|
29014
29026
|
i0__namespace.ɵɵadvance(3);
|
|
29015
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(21,
|
|
29027
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(21, 30, "State"));
|
|
29016
29028
|
i0__namespace.ɵɵadvance(2);
|
|
29017
29029
|
i0__namespace.ɵɵproperty("ngModel", ctx.selected.caseState)("disabled", ctx.isCaseStatesDropdownDisabled());
|
|
29018
29030
|
i0__namespace.ɵɵadvance(1);
|
|
29019
29031
|
i0__namespace.ɵɵproperty("ngValue", null);
|
|
29032
|
+
i0__namespace.ɵɵadvance(1);
|
|
29033
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(25, 32, "Any"));
|
|
29020
29034
|
i0__namespace.ɵɵadvance(2);
|
|
29021
29035
|
i0__namespace.ɵɵproperty("ngForOf", ctx.selectedCaseTypeStates);
|
|
29022
29036
|
i0__namespace.ɵɵadvance(1);
|
|
29023
29037
|
i0__namespace.ɵɵproperty("ngIf", ctx.isSearchableAndWorkbasketInputsReady());
|
|
29024
29038
|
i0__namespace.ɵɵadvance(1);
|
|
29025
|
-
i0__namespace.ɵɵproperty("disabled", ctx.isApplyButtonDisabled());
|
|
29026
|
-
i0__namespace.ɵɵ
|
|
29027
|
-
i0__namespace.ɵɵ
|
|
29028
|
-
i0__namespace.ɵɵ
|
|
29029
|
-
i0__namespace.ɵɵ
|
|
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"));
|
|
29041
|
+
i0__namespace.ɵɵadvance(3);
|
|
29042
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(32, 38, "Apply"), " ");
|
|
29043
|
+
i0__namespace.ɵɵadvance(3);
|
|
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"));
|
|
29046
|
+
i0__namespace.ɵɵadvance(3);
|
|
29047
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(38, 44, "Reset"), " ");
|
|
29030
29048
|
}
|
|
29031
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}"] });
|
|
29032
29050
|
(function () {
|