@hmcts/ccd-case-ui-toolkit 7.1.69-exui-2703-rc2 → 7.1.69
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/esm2022/lib/shared/components/workbasket-filters/workbasket-filters.component.mjs +71 -91
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs +70 -90
- package/fesm2022/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/lib/shared/components/workbasket-filters/workbasket-filters.component.d.ts +0 -1
- package/lib/shared/components/workbasket-filters/workbasket-filters.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -32462,8 +32462,8 @@ class CaseListModule {
|
|
|
32462
32462
|
NgxPaginationModule,
|
|
32463
32463
|
PaginationModule, i1.RpxTranslationModule], exports: [CaseListComponent] }); })();
|
|
32464
32464
|
|
|
32465
|
-
function
|
|
32466
|
-
i0.ɵɵelementStart(0, "option",
|
|
32465
|
+
function WorkbasketFiltersComponent_option_9_Template(rf, ctx) { if (rf & 1) {
|
|
32466
|
+
i0.ɵɵelementStart(0, "option", 11);
|
|
32467
32467
|
i0.ɵɵtext(1);
|
|
32468
32468
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
32469
32469
|
i0.ɵɵelementEnd();
|
|
@@ -32472,8 +32472,8 @@ function WorkbasketFiltersComponent_option_20_Template(rf, ctx) { if (rf & 1) {
|
|
|
32472
32472
|
i0.ɵɵadvance();
|
|
32473
32473
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, "Select a value"));
|
|
32474
32474
|
} }
|
|
32475
|
-
function
|
|
32476
|
-
i0.ɵɵelementStart(0, "option",
|
|
32475
|
+
function WorkbasketFiltersComponent_option_10_Template(rf, ctx) { if (rf & 1) {
|
|
32476
|
+
i0.ɵɵelementStart(0, "option", 11);
|
|
32477
32477
|
i0.ɵɵtext(1);
|
|
32478
32478
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
32479
32479
|
i0.ɵɵelementEnd();
|
|
@@ -32483,8 +32483,8 @@ function WorkbasketFiltersComponent_option_21_Template(rf, ctx) { if (rf & 1) {
|
|
|
32483
32483
|
i0.ɵɵadvance();
|
|
32484
32484
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, j_r1.name));
|
|
32485
32485
|
} }
|
|
32486
|
-
function
|
|
32487
|
-
i0.ɵɵelementStart(0, "option",
|
|
32486
|
+
function WorkbasketFiltersComponent_option_16_Template(rf, ctx) { if (rf & 1) {
|
|
32487
|
+
i0.ɵɵelementStart(0, "option", 11);
|
|
32488
32488
|
i0.ɵɵtext(1);
|
|
32489
32489
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
32490
32490
|
i0.ɵɵelementEnd();
|
|
@@ -32493,8 +32493,8 @@ function WorkbasketFiltersComponent_option_27_Template(rf, ctx) { if (rf & 1) {
|
|
|
32493
32493
|
i0.ɵɵadvance();
|
|
32494
32494
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, "Select a value"));
|
|
32495
32495
|
} }
|
|
32496
|
-
function
|
|
32497
|
-
i0.ɵɵelementStart(0, "option",
|
|
32496
|
+
function WorkbasketFiltersComponent_option_17_Template(rf, ctx) { if (rf & 1) {
|
|
32497
|
+
i0.ɵɵelementStart(0, "option", 11);
|
|
32498
32498
|
i0.ɵɵtext(1);
|
|
32499
32499
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
32500
32500
|
i0.ɵɵelementEnd();
|
|
@@ -32504,8 +32504,8 @@ function WorkbasketFiltersComponent_option_28_Template(rf, ctx) { if (rf & 1) {
|
|
|
32504
32504
|
i0.ɵɵadvance();
|
|
32505
32505
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, ct_r2.name));
|
|
32506
32506
|
} }
|
|
32507
|
-
function
|
|
32508
|
-
i0.ɵɵelementStart(0, "option",
|
|
32507
|
+
function WorkbasketFiltersComponent_option_26_Template(rf, ctx) { if (rf & 1) {
|
|
32508
|
+
i0.ɵɵelementStart(0, "option", 11);
|
|
32509
32509
|
i0.ɵɵtext(1);
|
|
32510
32510
|
i0.ɵɵpipe(2, "rpxTranslate");
|
|
32511
32511
|
i0.ɵɵelementEnd();
|
|
@@ -32515,10 +32515,10 @@ function WorkbasketFiltersComponent_option_37_Template(rf, ctx) { if (rf & 1) {
|
|
|
32515
32515
|
i0.ɵɵadvance();
|
|
32516
32516
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 2, cs_r3.name));
|
|
32517
32517
|
} }
|
|
32518
|
-
function
|
|
32518
|
+
function WorkbasketFiltersComponent_ng_container_27_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
32519
32519
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
32520
|
-
i0.ɵɵelementStart(0, "div",
|
|
32521
|
-
i0.ɵɵlistener("keyup.enter", function
|
|
32520
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "ccd-field-write", 18);
|
|
32521
|
+
i0.ɵɵlistener("keyup.enter", function WorkbasketFiltersComponent_ng_container_27_div_2_Template_ccd_field_write_keyup_enter_1_listener() { i0.ɵɵrestoreView(_r4); const ctx_r4 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r4.apply(null)); });
|
|
32522
32522
|
i0.ɵɵelementEnd()();
|
|
32523
32523
|
} if (rf & 2) {
|
|
32524
32524
|
const workbasketInput_r6 = ctx.$implicit;
|
|
@@ -32526,10 +32526,10 @@ function WorkbasketFiltersComponent_ng_container_38_div_2_Template(rf, ctx) { if
|
|
|
32526
32526
|
i0.ɵɵadvance();
|
|
32527
32527
|
i0.ɵɵproperty("caseField", workbasketInput_r6.field)("formGroup", ctx_r4.formGroup)("isExpanded", true)("isInSearchBlock", true);
|
|
32528
32528
|
} }
|
|
32529
|
-
function
|
|
32530
|
-
i0.ɵɵelementContainerStart(0,
|
|
32531
|
-
i0.ɵɵelementStart(1, "div",
|
|
32532
|
-
i0.ɵɵtemplate(2,
|
|
32529
|
+
function WorkbasketFiltersComponent_ng_container_27_Template(rf, ctx) { if (rf & 1) {
|
|
32530
|
+
i0.ɵɵelementContainerStart(0, 15);
|
|
32531
|
+
i0.ɵɵelementStart(1, "div", 16);
|
|
32532
|
+
i0.ɵɵtemplate(2, WorkbasketFiltersComponent_ng_container_27_div_2_Template, 2, 4, "div", 17);
|
|
32533
32533
|
i0.ɵɵelementEnd();
|
|
32534
32534
|
i0.ɵɵelementContainerEnd();
|
|
32535
32535
|
} if (rf & 2) {
|
|
@@ -32572,15 +32572,6 @@ class WorkbasketFiltersComponent {
|
|
|
32572
32572
|
this.alertService = alertService;
|
|
32573
32573
|
this.windowService = windowService;
|
|
32574
32574
|
}
|
|
32575
|
-
scrollToTop() {
|
|
32576
|
-
(function smoothscroll() {
|
|
32577
|
-
const currentScroll = document.documentElement.scrollTop || document.body.scrollTop;
|
|
32578
|
-
if (currentScroll > 0) {
|
|
32579
|
-
window.requestAnimationFrame(smoothscroll);
|
|
32580
|
-
window.scrollTo(0, currentScroll - (currentScroll / 8));
|
|
32581
|
-
}
|
|
32582
|
-
})();
|
|
32583
|
-
}
|
|
32584
32575
|
ngOnInit() {
|
|
32585
32576
|
this.selected = {};
|
|
32586
32577
|
this.route.queryParams.subscribe(params => {
|
|
@@ -32841,78 +32832,62 @@ class WorkbasketFiltersComponent {
|
|
|
32841
32832
|
}
|
|
32842
32833
|
}
|
|
32843
32834
|
static ɵfac = function WorkbasketFiltersComponent_Factory(t) { return new (t || WorkbasketFiltersComponent)(i0.ɵɵdirectiveInject(i1$1.ActivatedRoute), i0.ɵɵdirectiveInject(WorkbasketInputFilterService), i0.ɵɵdirectiveInject(OrderService), i0.ɵɵdirectiveInject(JurisdictionService), i0.ɵɵdirectiveInject(AlertService), i0.ɵɵdirectiveInject(WindowService)); };
|
|
32844
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: WorkbasketFiltersComponent, selectors: [["ccd-workbasket-filters"]], inputs: { jurisdictions: "jurisdictions", defaults: "defaults" }, outputs: { onApply: "onApply", onReset: "onReset" }, decls:
|
|
32845
|
-
i0.ɵɵelementStart(0, "
|
|
32846
|
-
i0.ɵɵtext(
|
|
32847
|
-
i0.ɵɵpipe(
|
|
32835
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵ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, "ngModelChange", "change", "ngModel"], [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, "ngModelChange", "change", "ngModel", "disabled"], ["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, "ngModelChange", "ngModel", "disabled"], [3, "ngValue"], ["ccdConditionalShowForm", "", 3, "formGroup", "contextFields", 4, "ngIf"], ["type", "button", 1, "button", "workbasket-filters-apply", 3, "click", "disabled", "title"], ["type", "button", 1, "button", "button-secondary", 3, "click", "title"], ["ccdConditionalShowForm", "", 3, "formGroup", "contextFields"], ["id", "dynamicFilters"], ["class", "form-group", 4, "ngFor", "ngForOf"], [3, "keyup.enter", "caseField", "formGroup", "isExpanded", "isInSearchBlock"]], template: function WorkbasketFiltersComponent_Template(rf, ctx) { if (rf & 1) {
|
|
32836
|
+
i0.ɵɵelementStart(0, "h2", 0);
|
|
32837
|
+
i0.ɵɵtext(1);
|
|
32838
|
+
i0.ɵɵpipe(2, "rpxTranslate");
|
|
32848
32839
|
i0.ɵɵelementEnd();
|
|
32849
|
-
i0.ɵɵelementStart(5, "
|
|
32850
|
-
i0.ɵɵ
|
|
32840
|
+
i0.ɵɵelementStart(3, "form", 1)(4, "div", 2)(5, "label", 3);
|
|
32841
|
+
i0.ɵɵtext(6);
|
|
32851
32842
|
i0.ɵɵpipe(7, "rpxTranslate");
|
|
32852
|
-
i0.ɵɵlistener("click", function WorkbasketFiltersComponent_Template_button_click_5_listener() { return ctx.apply(true); });
|
|
32853
|
-
i0.ɵɵtext(8);
|
|
32854
|
-
i0.ɵɵpipe(9, "rpxTranslate");
|
|
32855
32843
|
i0.ɵɵelementEnd();
|
|
32856
|
-
i0.ɵɵelementStart(
|
|
32857
|
-
i0.ɵɵ
|
|
32858
|
-
i0.ɵɵ
|
|
32859
|
-
i0.ɵɵ
|
|
32844
|
+
i0.ɵɵelementStart(8, "select", 4);
|
|
32845
|
+
i0.ɵɵtwoWayListener("ngModelChange", function WorkbasketFiltersComponent_Template_select_ngModelChange_8_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.selected.jurisdiction, $event) || (ctx.selected.jurisdiction = $event); return $event; });
|
|
32846
|
+
i0.ɵɵlistener("change", function WorkbasketFiltersComponent_Template_select_change_8_listener() { return ctx.onJurisdictionIdChange(); });
|
|
32847
|
+
i0.ɵɵtemplate(9, WorkbasketFiltersComponent_option_9_Template, 3, 4, "option", 5)(10, WorkbasketFiltersComponent_option_10_Template, 3, 4, "option", 6);
|
|
32848
|
+
i0.ɵɵelementEnd()();
|
|
32849
|
+
i0.ɵɵelementStart(11, "div", 2)(12, "label", 7);
|
|
32860
32850
|
i0.ɵɵtext(13);
|
|
32861
32851
|
i0.ɵɵpipe(14, "rpxTranslate");
|
|
32862
|
-
i0.ɵɵelementEnd()();
|
|
32863
|
-
i0.ɵɵelementStart(15, "div", 5)(16, "label", 6);
|
|
32864
|
-
i0.ɵɵtext(17);
|
|
32865
|
-
i0.ɵɵpipe(18, "rpxTranslate");
|
|
32866
32852
|
i0.ɵɵelementEnd();
|
|
32867
|
-
i0.ɵɵelementStart(
|
|
32868
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
32869
|
-
i0.ɵɵlistener("change", function
|
|
32870
|
-
i0.ɵɵtemplate(
|
|
32853
|
+
i0.ɵɵelementStart(15, "select", 8);
|
|
32854
|
+
i0.ɵɵtwoWayListener("ngModelChange", function WorkbasketFiltersComponent_Template_select_ngModelChange_15_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.selected.caseType, $event) || (ctx.selected.caseType = $event); return $event; });
|
|
32855
|
+
i0.ɵɵlistener("change", function WorkbasketFiltersComponent_Template_select_change_15_listener() { return ctx.onCaseTypeIdChange(); });
|
|
32856
|
+
i0.ɵɵtemplate(16, WorkbasketFiltersComponent_option_16_Template, 3, 4, "option", 5)(17, WorkbasketFiltersComponent_option_17_Template, 3, 4, "option", 6);
|
|
32871
32857
|
i0.ɵɵelementEnd()();
|
|
32872
|
-
i0.ɵɵelementStart(
|
|
32858
|
+
i0.ɵɵelementStart(18, "div", 2)(19, "label", 9);
|
|
32859
|
+
i0.ɵɵtext(20);
|
|
32860
|
+
i0.ɵɵpipe(21, "rpxTranslate");
|
|
32861
|
+
i0.ɵɵelementEnd();
|
|
32862
|
+
i0.ɵɵelementStart(22, "select", 10);
|
|
32863
|
+
i0.ɵɵtwoWayListener("ngModelChange", function WorkbasketFiltersComponent_Template_select_ngModelChange_22_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.selected.caseState, $event) || (ctx.selected.caseState = $event); return $event; });
|
|
32864
|
+
i0.ɵɵelementStart(23, "option", 11);
|
|
32873
32865
|
i0.ɵɵtext(24);
|
|
32874
32866
|
i0.ɵɵpipe(25, "rpxTranslate");
|
|
32875
32867
|
i0.ɵɵelementEnd();
|
|
32876
|
-
i0.ɵɵ
|
|
32877
|
-
i0.ɵɵtwoWayListener("ngModelChange", function WorkbasketFiltersComponent_Template_select_ngModelChange_26_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.selected.caseType, $event) || (ctx.selected.caseType = $event); return $event; });
|
|
32878
|
-
i0.ɵɵlistener("change", function WorkbasketFiltersComponent_Template_select_change_26_listener() { return ctx.onCaseTypeIdChange(); });
|
|
32879
|
-
i0.ɵɵtemplate(27, WorkbasketFiltersComponent_option_27_Template, 3, 4, "option", 8)(28, WorkbasketFiltersComponent_option_28_Template, 3, 4, "option", 9);
|
|
32868
|
+
i0.ɵɵtemplate(26, WorkbasketFiltersComponent_option_26_Template, 3, 4, "option", 6);
|
|
32880
32869
|
i0.ɵɵelementEnd()();
|
|
32881
|
-
i0.ɵɵ
|
|
32870
|
+
i0.ɵɵtemplate(27, WorkbasketFiltersComponent_ng_container_27_Template, 3, 3, "ng-container", 12);
|
|
32871
|
+
i0.ɵɵelementStart(28, "button", 13);
|
|
32872
|
+
i0.ɵɵpipe(29, "rpxTranslate");
|
|
32873
|
+
i0.ɵɵpipe(30, "rpxTranslate");
|
|
32874
|
+
i0.ɵɵlistener("click", function WorkbasketFiltersComponent_Template_button_click_28_listener() { return ctx.apply(true); });
|
|
32882
32875
|
i0.ɵɵtext(31);
|
|
32883
32876
|
i0.ɵɵpipe(32, "rpxTranslate");
|
|
32884
32877
|
i0.ɵɵelementEnd();
|
|
32885
|
-
i0.ɵɵ
|
|
32886
|
-
i0.ɵɵ
|
|
32887
|
-
i0.ɵɵ
|
|
32888
|
-
i0.ɵɵtext(35);
|
|
32878
|
+
i0.ɵɵtext(33, " \u00A0\u00A0\u00A0 ");
|
|
32879
|
+
i0.ɵɵelementStart(34, "button", 14);
|
|
32880
|
+
i0.ɵɵpipe(35, "rpxTranslate");
|
|
32889
32881
|
i0.ɵɵpipe(36, "rpxTranslate");
|
|
32890
|
-
i0.ɵɵ
|
|
32891
|
-
i0.ɵɵ
|
|
32882
|
+
i0.ɵɵlistener("click", function WorkbasketFiltersComponent_Template_button_click_34_listener() { return ctx.reset(); });
|
|
32883
|
+
i0.ɵɵtext(37);
|
|
32884
|
+
i0.ɵɵpipe(38, "rpxTranslate");
|
|
32892
32885
|
i0.ɵɵelementEnd()();
|
|
32893
|
-
i0.ɵɵtemplate(38, WorkbasketFiltersComponent_ng_container_38_Template, 3, 3, "ng-container", 15);
|
|
32894
|
-
i0.ɵɵelementStart(39, "div", 5)(40, "button", 16);
|
|
32895
|
-
i0.ɵɵpipe(41, "rpxTranslate");
|
|
32896
|
-
i0.ɵɵpipe(42, "rpxTranslate");
|
|
32897
|
-
i0.ɵɵlistener("click", function WorkbasketFiltersComponent_Template_button_click_40_listener() { return ctx.scrollToTop(); });
|
|
32898
|
-
i0.ɵɵtext(43);
|
|
32899
|
-
i0.ɵɵpipe(44, "rpxTranslate");
|
|
32900
|
-
i0.ɵɵelementEnd()()();
|
|
32901
32886
|
} if (rf & 2) {
|
|
32902
|
-
i0.ɵɵadvance(
|
|
32903
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
32904
|
-
i0.ɵɵadvance(
|
|
32905
|
-
i0.ɵɵ
|
|
32906
|
-
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(7, 31, "Apply filter"));
|
|
32907
|
-
i0.ɵɵadvance(3);
|
|
32908
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(9, 33, "Apply"), " ");
|
|
32909
|
-
i0.ɵɵadvance(2);
|
|
32910
|
-
i0.ɵɵproperty("title", i0.ɵɵpipeBind1(11, 35, "Reset filter"));
|
|
32911
|
-
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(12, 37, "Reset filter"));
|
|
32912
|
-
i0.ɵɵadvance(3);
|
|
32913
|
-
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(14, 39, "Reset"), " ");
|
|
32914
|
-
i0.ɵɵadvance(4);
|
|
32915
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(18, 41, "Jurisdiction"));
|
|
32887
|
+
i0.ɵɵadvance();
|
|
32888
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 24, "Filters"));
|
|
32889
|
+
i0.ɵɵadvance(5);
|
|
32890
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(7, 26, "Jurisdiction"));
|
|
32916
32891
|
i0.ɵɵadvance(2);
|
|
32917
32892
|
i0.ɵɵtwoWayProperty("ngModel", ctx.selected.jurisdiction);
|
|
32918
32893
|
i0.ɵɵadvance();
|
|
@@ -32920,7 +32895,7 @@ class WorkbasketFiltersComponent {
|
|
|
32920
32895
|
i0.ɵɵadvance();
|
|
32921
32896
|
i0.ɵɵproperty("ngForOf", ctx.jurisdictions);
|
|
32922
32897
|
i0.ɵɵadvance(3);
|
|
32923
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
32898
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(14, 28, "Case type"));
|
|
32924
32899
|
i0.ɵɵadvance(2);
|
|
32925
32900
|
i0.ɵɵtwoWayProperty("ngModel", ctx.selected.caseType);
|
|
32926
32901
|
i0.ɵɵproperty("disabled", ctx.isCaseTypesDropdownDisabled());
|
|
@@ -32929,28 +32904,33 @@ class WorkbasketFiltersComponent {
|
|
|
32929
32904
|
i0.ɵɵadvance();
|
|
32930
32905
|
i0.ɵɵproperty("ngForOf", ctx.selectedJurisdictionCaseTypes);
|
|
32931
32906
|
i0.ɵɵadvance(3);
|
|
32932
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
32907
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(21, 30, "State"));
|
|
32933
32908
|
i0.ɵɵadvance(2);
|
|
32934
32909
|
i0.ɵɵtwoWayProperty("ngModel", ctx.selected.caseState);
|
|
32935
32910
|
i0.ɵɵproperty("disabled", ctx.isCaseStatesDropdownDisabled());
|
|
32936
32911
|
i0.ɵɵadvance();
|
|
32937
32912
|
i0.ɵɵproperty("ngValue", null);
|
|
32938
32913
|
i0.ɵɵadvance();
|
|
32939
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(
|
|
32914
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(25, 32, "Any"));
|
|
32940
32915
|
i0.ɵɵadvance(2);
|
|
32941
32916
|
i0.ɵɵproperty("ngForOf", ctx.selectedCaseTypeStates);
|
|
32942
32917
|
i0.ɵɵadvance();
|
|
32943
32918
|
i0.ɵɵproperty("ngIf", ctx.isSearchableAndWorkbasketInputsReady());
|
|
32944
|
-
i0.ɵɵadvance(
|
|
32945
|
-
i0.ɵɵproperty("title", i0.ɵɵpipeBind1(
|
|
32946
|
-
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(
|
|
32919
|
+
i0.ɵɵadvance();
|
|
32920
|
+
i0.ɵɵproperty("disabled", ctx.isApplyButtonDisabled())("title", i0.ɵɵpipeBind1(29, 34, "Apply filter"));
|
|
32921
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(30, 36, "Apply filter"));
|
|
32922
|
+
i0.ɵɵadvance(3);
|
|
32923
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(32, 38, "Apply"), " ");
|
|
32924
|
+
i0.ɵɵadvance(3);
|
|
32925
|
+
i0.ɵɵproperty("title", i0.ɵɵpipeBind1(35, 40, "Reset filter"));
|
|
32926
|
+
i0.ɵɵattribute("aria-label", i0.ɵɵpipeBind1(36, 42, "Reset filter"));
|
|
32947
32927
|
i0.ɵɵadvance(3);
|
|
32948
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(
|
|
32949
|
-
} }, 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}.
|
|
32928
|
+
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(38, 44, "Reset"), " ");
|
|
32929
|
+
} }, 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}"] });
|
|
32950
32930
|
}
|
|
32951
32931
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(WorkbasketFiltersComponent, [{
|
|
32952
32932
|
type: Component,
|
|
32953
|
-
args: [{ selector: 'ccd-workbasket-filters', template: "<
|
|
32933
|
+
args: [{ selector: 'ccd-workbasket-filters', template: "<h2 class=\"heading-h2\" aria-label=\"Filters\">{{'Filters' | rpxTranslate }}</h2>\n\n<form class=\"global-display\">\n <div class=\"form-group\">\n <label class=\"form-label\" for=\"wb-jurisdiction\">{{'Jurisdiction' | rpxTranslate}}</label>\n <select class=\"form-control form-control-3-4 ccd-dropdown\" id=\"wb-jurisdiction\"\n name=\"jurisdiction\" [(ngModel)]=\"selected.jurisdiction\" aria-controls=\"search-result\"\n (change)=\"onJurisdictionIdChange()\">\n <option *ngIf=\"!workbasketDefaults\" [ngValue]=\"null\">{{'Select a value' | rpxTranslate}}</option>\n <option *ngFor=\"let j of jurisdictions\" [ngValue]=\"j\">{{j.name | rpxTranslate}}</option>\n </select>\n </div>\n\n <div class=\"form-group\">\n <label class=\"form-label\" for=\"wb-case-type\">{{'Case type' | rpxTranslate}}</label>\n <select class=\"form-control form-control-3-4 ccd-dropdown\" id=\"wb-case-type\"\n name=\"case-type\" [(ngModel)]=\"selected.caseType\" [disabled]=\"isCaseTypesDropdownDisabled()\"\n (change)=\"onCaseTypeIdChange()\" aria-controls=\"search-result\">\n <option *ngIf=\"!workbasketDefaults\" [ngValue]=\"null\">{{'Select a value' | rpxTranslate}}</option>\n <option *ngFor=\"let ct of selectedJurisdictionCaseTypes\" [ngValue]=\"ct\">{{ct.name | rpxTranslate}}</option>\n </select>\n </div>\n\n <div class=\"form-group\">\n <label class=\"form-label\" for=\"wb-case-state\">{{'State' | rpxTranslate}}</label>\n <select class=\"form-control form-control-3-4 ccd-dropdown\" id=\"wb-case-state\"\n name=\"state\" [(ngModel)]=\"selected.caseState\" [disabled]=\"isCaseStatesDropdownDisabled()\"\n aria-controls=\"search-result\">\n <option [ngValue]=\"null\">{{'Any' | rpxTranslate}}</option>\n <option *ngFor=\"let cs of selectedCaseTypeStates\" [ngValue]=\"cs\">{{cs.name | rpxTranslate}}</option>\n </select>\n </div>\n\n <ng-container ccdConditionalShowForm *ngIf=\"isSearchableAndWorkbasketInputsReady()\" [formGroup]=\"formGroup\" [contextFields]=\"caseFields\">\n <div id=\"dynamicFilters\">\n <div class=\"form-group\" *ngFor=\"let workbasketInput of workbasketInputs\">\n <ccd-field-write [caseField]=\"workbasketInput.field\" [formGroup]=\"formGroup\" [isExpanded]=\"true\" [isInSearchBlock]=\"true\" (keyup.enter)=\"apply(null)\">\n </ccd-field-write>\n </div>\n </div>\n </ng-container>\n\n <button type=\"button\" class=\"button workbasket-filters-apply\" (click)=\"apply(true)\" [disabled]=\"isApplyButtonDisabled()\"\n [title]=\"'Apply filter' | rpxTranslate\" [attr.aria-label]=\"'Apply filter' | rpxTranslate\">\n {{'Apply' | rpxTranslate}}\n </button> \n <button type=\"button\" (click)=\"reset()\" class=\"button button-secondary\"\n [title]=\"'Reset filter' | rpxTranslate\" [attr.aria-label]=\"'Reset filter' | rpxTranslate\">\n {{'Reset' | rpxTranslate}}\n </button>\n</form>\n", styles: ["div select{font-family:nta,Arial,sans-serif;font-weight:400;text-transform:none;font-size:11pt;line-height:1.2727272727}@media (min-width: 641px){div select{font-size:12pt;line-height:1.3333333333}}.form-group{margin-bottom:7px}.ccd-dropdown{width:100%}span.heading-medium{margin-top:0}\n"] }]
|
|
32954
32934
|
}], () => [{ type: i1$1.ActivatedRoute }, { type: WorkbasketInputFilterService }, { type: OrderService }, { type: JurisdictionService }, { type: AlertService }, { type: WindowService }], { jurisdictions: [{
|
|
32955
32935
|
type: Input
|
|
32956
32936
|
}], defaults: [{
|