@hmcts/ccd-case-ui-toolkit 5.0.44-angular11-welsh-release-part1-2 → 5.0.44-angular11-welsh-release-part1-3
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 +32 -20
- 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 +33 -21
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +32 -20
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/package.json +1 -1
|
@@ -28585,23 +28585,27 @@
|
|
|
28585
28585
|
if (rf & 1) {
|
|
28586
28586
|
i0__namespace.ɵɵelementStart(0, "option", 11);
|
|
28587
28587
|
i0__namespace.ɵɵtext(1);
|
|
28588
|
+
i0__namespace.ɵɵpipe(2, "rpxTranslate");
|
|
28588
28589
|
i0__namespace.ɵɵelementEnd();
|
|
28589
28590
|
}
|
|
28590
28591
|
if (rf & 2) {
|
|
28591
28592
|
var j_r6 = ctx.$implicit;
|
|
28592
28593
|
i0__namespace.ɵɵproperty("ngValue", j_r6);
|
|
28593
28594
|
i0__namespace.ɵɵadvance(1);
|
|
28594
|
-
i0__namespace.ɵɵtextInterpolate(j_r6.name);
|
|
28595
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 2, j_r6.name));
|
|
28595
28596
|
}
|
|
28596
28597
|
}
|
|
28597
28598
|
function WorkbasketFiltersComponent_option_16_Template(rf, ctx) {
|
|
28598
28599
|
if (rf & 1) {
|
|
28599
28600
|
i0__namespace.ɵɵelementStart(0, "option", 11);
|
|
28600
|
-
i0__namespace.ɵɵtext(1
|
|
28601
|
+
i0__namespace.ɵɵtext(1);
|
|
28602
|
+
i0__namespace.ɵɵpipe(2, "rpxTranslate");
|
|
28601
28603
|
i0__namespace.ɵɵelementEnd();
|
|
28602
28604
|
}
|
|
28603
28605
|
if (rf & 2) {
|
|
28604
28606
|
i0__namespace.ɵɵproperty("ngValue", null);
|
|
28607
|
+
i0__namespace.ɵɵadvance(1);
|
|
28608
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 2, "Select a value"));
|
|
28605
28609
|
}
|
|
28606
28610
|
}
|
|
28607
28611
|
function WorkbasketFiltersComponent_option_17_Template(rf, ctx) {
|
|
@@ -28936,7 +28940,7 @@
|
|
|
28936
28940
|
WorkbasketFiltersComponent.PARAM_CASE_TYPE = 'case-type';
|
|
28937
28941
|
WorkbasketFiltersComponent.PARAM_CASE_STATE = 'case-state';
|
|
28938
28942
|
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:
|
|
28943
|
+
WorkbasketFiltersComponent.ɵcmp = i0__namespace.ɵɵdefineComponent({ type: WorkbasketFiltersComponent, selectors: [["ccd-workbasket-filters"]], inputs: { jurisdictions: "jurisdictions", defaults: "defaults" }, outputs: { onApply: "onApply", onReset: "onReset" }, decls: 38, vars: 43, 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
28944
|
if (rf & 1) {
|
|
28941
28945
|
i0__namespace.ɵɵelementStart(0, "h2", 0);
|
|
28942
28946
|
i0__namespace.ɵɵtext(1);
|
|
@@ -28951,7 +28955,7 @@
|
|
|
28951
28955
|
i0__namespace.ɵɵelementStart(8, "select", 4);
|
|
28952
28956
|
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
28957
|
i0__namespace.ɵɵtemplate(9, WorkbasketFiltersComponent_option_9_Template, 2, 1, "option", 5);
|
|
28954
|
-
i0__namespace.ɵɵtemplate(10, WorkbasketFiltersComponent_option_10_Template,
|
|
28958
|
+
i0__namespace.ɵɵtemplate(10, WorkbasketFiltersComponent_option_10_Template, 3, 4, "option", 6);
|
|
28955
28959
|
i0__namespace.ɵɵelementEnd();
|
|
28956
28960
|
i0__namespace.ɵɵelementEnd();
|
|
28957
28961
|
i0__namespace.ɵɵelementStart(11, "div", 2);
|
|
@@ -28961,7 +28965,7 @@
|
|
|
28961
28965
|
i0__namespace.ɵɵelementEnd();
|
|
28962
28966
|
i0__namespace.ɵɵelementStart(15, "select", 8);
|
|
28963
28967
|
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,
|
|
28968
|
+
i0__namespace.ɵɵtemplate(16, WorkbasketFiltersComponent_option_16_Template, 3, 4, "option", 5);
|
|
28965
28969
|
i0__namespace.ɵɵtemplate(17, WorkbasketFiltersComponent_option_17_Template, 3, 4, "option", 6);
|
|
28966
28970
|
i0__namespace.ɵɵelementEnd();
|
|
28967
28971
|
i0__namespace.ɵɵelementEnd();
|
|
@@ -28981,22 +28985,26 @@
|
|
|
28981
28985
|
i0__namespace.ɵɵtemplate(26, WorkbasketFiltersComponent_ng_container_26_Template, 3, 3, "ng-container", 12);
|
|
28982
28986
|
i0__namespace.ɵɵelementStart(27, "button", 13);
|
|
28983
28987
|
i0__namespace.ɵɵlistener("click", function WorkbasketFiltersComponent_Template_button_click_27_listener() { return ctx.apply(true); });
|
|
28984
|
-
i0__namespace.ɵɵ
|
|
28988
|
+
i0__namespace.ɵɵpipe(28, "rpxTranslate");
|
|
28985
28989
|
i0__namespace.ɵɵpipe(29, "rpxTranslate");
|
|
28990
|
+
i0__namespace.ɵɵtext(30);
|
|
28991
|
+
i0__namespace.ɵɵpipe(31, "rpxTranslate");
|
|
28986
28992
|
i0__namespace.ɵɵelementEnd();
|
|
28987
|
-
i0__namespace.ɵɵtext(
|
|
28988
|
-
i0__namespace.ɵɵelementStart(
|
|
28989
|
-
i0__namespace.ɵɵlistener("click", function
|
|
28990
|
-
i0__namespace.ɵɵ
|
|
28991
|
-
i0__namespace.ɵɵpipe(
|
|
28993
|
+
i0__namespace.ɵɵtext(32, " \u00A0\u00A0\u00A0 ");
|
|
28994
|
+
i0__namespace.ɵɵelementStart(33, "button", 14);
|
|
28995
|
+
i0__namespace.ɵɵlistener("click", function WorkbasketFiltersComponent_Template_button_click_33_listener() { return ctx.reset(); });
|
|
28996
|
+
i0__namespace.ɵɵpipe(34, "rpxTranslate");
|
|
28997
|
+
i0__namespace.ɵɵpipe(35, "rpxTranslate");
|
|
28998
|
+
i0__namespace.ɵɵtext(36);
|
|
28999
|
+
i0__namespace.ɵɵpipe(37, "rpxTranslate");
|
|
28992
29000
|
i0__namespace.ɵɵelementEnd();
|
|
28993
29001
|
i0__namespace.ɵɵelementEnd();
|
|
28994
29002
|
}
|
|
28995
29003
|
if (rf & 2) {
|
|
28996
29004
|
i0__namespace.ɵɵadvance(1);
|
|
28997
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2,
|
|
29005
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(2, 23, "Filters"));
|
|
28998
29006
|
i0__namespace.ɵɵadvance(5);
|
|
28999
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7,
|
|
29007
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(7, 25, "Jurisdiction"));
|
|
29000
29008
|
i0__namespace.ɵɵadvance(2);
|
|
29001
29009
|
i0__namespace.ɵɵproperty("ngModel", ctx.selected.jurisdiction);
|
|
29002
29010
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -29004,7 +29012,7 @@
|
|
|
29004
29012
|
i0__namespace.ɵɵadvance(1);
|
|
29005
29013
|
i0__namespace.ɵɵproperty("ngForOf", ctx.jurisdictions);
|
|
29006
29014
|
i0__namespace.ɵɵadvance(3);
|
|
29007
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(14,
|
|
29015
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(14, 27, "Case type"));
|
|
29008
29016
|
i0__namespace.ɵɵadvance(2);
|
|
29009
29017
|
i0__namespace.ɵɵproperty("ngModel", ctx.selected.caseType)("disabled", ctx.isCaseTypesDropdownDisabled());
|
|
29010
29018
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -29012,7 +29020,7 @@
|
|
|
29012
29020
|
i0__namespace.ɵɵadvance(1);
|
|
29013
29021
|
i0__namespace.ɵɵproperty("ngForOf", ctx.selectedJurisdictionCaseTypes);
|
|
29014
29022
|
i0__namespace.ɵɵadvance(3);
|
|
29015
|
-
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(21,
|
|
29023
|
+
i0__namespace.ɵɵtextInterpolate(i0__namespace.ɵɵpipeBind1(21, 29, "State"));
|
|
29016
29024
|
i0__namespace.ɵɵadvance(2);
|
|
29017
29025
|
i0__namespace.ɵɵproperty("ngModel", ctx.selected.caseState)("disabled", ctx.isCaseStatesDropdownDisabled());
|
|
29018
29026
|
i0__namespace.ɵɵadvance(1);
|
|
@@ -29022,11 +29030,15 @@
|
|
|
29022
29030
|
i0__namespace.ɵɵadvance(1);
|
|
29023
29031
|
i0__namespace.ɵɵproperty("ngIf", ctx.isSearchableAndWorkbasketInputsReady());
|
|
29024
29032
|
i0__namespace.ɵɵadvance(1);
|
|
29025
|
-
i0__namespace.ɵɵproperty("disabled", ctx.isApplyButtonDisabled());
|
|
29026
|
-
i0__namespace.ɵɵ
|
|
29027
|
-
i0__namespace.ɵɵ
|
|
29028
|
-
i0__namespace.ɵɵ
|
|
29029
|
-
i0__namespace.ɵɵ
|
|
29033
|
+
i0__namespace.ɵɵproperty("disabled", ctx.isApplyButtonDisabled())("title", i0__namespace.ɵɵpipeBind1(28, 31, "Apply filter"));
|
|
29034
|
+
i0__namespace.ɵɵattribute("aria-label", i0__namespace.ɵɵpipeBind1(29, 33, "Apply filter"));
|
|
29035
|
+
i0__namespace.ɵɵadvance(3);
|
|
29036
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(31, 35, "Apply"), " ");
|
|
29037
|
+
i0__namespace.ɵɵadvance(3);
|
|
29038
|
+
i0__namespace.ɵɵproperty("title", i0__namespace.ɵɵpipeBind1(34, 37, "Reset filter"));
|
|
29039
|
+
i0__namespace.ɵɵattribute("aria-label", i0__namespace.ɵɵpipeBind1(35, 39, "Reset filter"));
|
|
29040
|
+
i0__namespace.ɵɵadvance(3);
|
|
29041
|
+
i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(37, 41, "Reset"), " ");
|
|
29030
29042
|
}
|
|
29031
29043
|
}, 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
29044
|
(function () {
|