@hmcts/ccd-case-ui-toolkit 6.14.2-clear-validation-errors → 6.14.2-go-to-page
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 +82 -57
- 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/case-editor/case-edit-page/case-edit-page.component.js +1 -2
- package/esm2015/lib/shared/components/pagination/pagination.component.js +83 -57
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +82 -57
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.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/pagination/pagination.component.d.ts +1 -0
- package/lib/shared/components/pagination/pagination.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -9215,7 +9215,6 @@ class CaseEditPageComponent {
|
|
|
9215
9215
|
else {
|
|
9216
9216
|
this.caseEdit.cancelled.emit();
|
|
9217
9217
|
}
|
|
9218
|
-
this.caseEditDataService.clearFormValidationErrors();
|
|
9219
9218
|
}
|
|
9220
9219
|
submitting() {
|
|
9221
9220
|
return this.isSubmitting;
|
|
@@ -24141,40 +24140,40 @@ CaseHeaderModule.ɵinj = i0.ɵɵdefineInjector({ imports: [[
|
|
|
24141
24140
|
}], null, null); })();
|
|
24142
24141
|
|
|
24143
24142
|
function PaginationComponent_ul_3_li_1_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
24144
|
-
const
|
|
24145
|
-
i0.ɵɵelementStart(0, "a",
|
|
24146
|
-
i0.ɵɵlistener("keyup.enter", function PaginationComponent_ul_3_li_1_a_1_Template_a_keyup_enter_0_listener() { i0.ɵɵrestoreView(
|
|
24143
|
+
const _r9 = i0.ɵɵgetCurrentView();
|
|
24144
|
+
i0.ɵɵelementStart(0, "a", 15);
|
|
24145
|
+
i0.ɵɵlistener("keyup.enter", function PaginationComponent_ul_3_li_1_a_1_Template_a_keyup_enter_0_listener() { i0.ɵɵrestoreView(_r9); i0.ɵɵnextContext(3); const _r0 = i0.ɵɵreference(1); return _r0.previous(); })("click", function PaginationComponent_ul_3_li_1_a_1_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r9); i0.ɵɵnextContext(3); const _r0 = i0.ɵɵreference(1); return _r0.previous(); });
|
|
24147
24146
|
i0.ɵɵtext(1);
|
|
24148
|
-
i0.ɵɵelementStart(2, "span",
|
|
24147
|
+
i0.ɵɵelementStart(2, "span", 16);
|
|
24149
24148
|
i0.ɵɵtext(3);
|
|
24150
24149
|
i0.ɵɵelementEnd();
|
|
24151
24150
|
i0.ɵɵelementEnd();
|
|
24152
24151
|
} if (rf & 2) {
|
|
24153
|
-
const
|
|
24154
|
-
i0.ɵɵattribute("aria-label",
|
|
24152
|
+
const ctx_r6 = i0.ɵɵnextContext(3);
|
|
24153
|
+
i0.ɵɵattribute("aria-label", ctx_r6.previousLabel + " " + ctx_r6.screenReaderPageLabel);
|
|
24155
24154
|
i0.ɵɵadvance(1);
|
|
24156
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
24155
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r6.previousLabel, " ");
|
|
24157
24156
|
i0.ɵɵadvance(2);
|
|
24158
|
-
i0.ɵɵtextInterpolate(
|
|
24157
|
+
i0.ɵɵtextInterpolate(ctx_r6.screenReaderPageLabel);
|
|
24159
24158
|
} }
|
|
24160
24159
|
function PaginationComponent_ul_3_li_1_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
24161
24160
|
i0.ɵɵelementStart(0, "span");
|
|
24162
24161
|
i0.ɵɵtext(1);
|
|
24163
|
-
i0.ɵɵelementStart(2, "span",
|
|
24162
|
+
i0.ɵɵelementStart(2, "span", 16);
|
|
24164
24163
|
i0.ɵɵtext(3);
|
|
24165
24164
|
i0.ɵɵelementEnd();
|
|
24166
24165
|
i0.ɵɵelementEnd();
|
|
24167
24166
|
} if (rf & 2) {
|
|
24168
|
-
const
|
|
24167
|
+
const ctx_r7 = i0.ɵɵnextContext(3);
|
|
24169
24168
|
i0.ɵɵadvance(1);
|
|
24170
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
24169
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r7.previousLabel, " ");
|
|
24171
24170
|
i0.ɵɵadvance(2);
|
|
24172
|
-
i0.ɵɵtextInterpolate(
|
|
24171
|
+
i0.ɵɵtextInterpolate(ctx_r7.screenReaderPageLabel);
|
|
24173
24172
|
} }
|
|
24174
24173
|
function PaginationComponent_ul_3_li_1_Template(rf, ctx) { if (rf & 1) {
|
|
24175
|
-
i0.ɵɵelementStart(0, "li",
|
|
24176
|
-
i0.ɵɵtemplate(1, PaginationComponent_ul_3_li_1_a_1_Template, 4, 3, "a",
|
|
24177
|
-
i0.ɵɵtemplate(2, PaginationComponent_ul_3_li_1_span_2_Template, 4, 2, "span",
|
|
24174
|
+
i0.ɵɵelementStart(0, "li", 12);
|
|
24175
|
+
i0.ɵɵtemplate(1, PaginationComponent_ul_3_li_1_a_1_Template, 4, 3, "a", 13);
|
|
24176
|
+
i0.ɵɵtemplate(2, PaginationComponent_ul_3_li_1_span_2_Template, 4, 2, "span", 14);
|
|
24178
24177
|
i0.ɵɵelementEnd();
|
|
24179
24178
|
} if (rf & 2) {
|
|
24180
24179
|
i0.ɵɵnextContext(2);
|
|
@@ -24186,10 +24185,10 @@ function PaginationComponent_ul_3_li_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
24186
24185
|
i0.ɵɵproperty("ngIf", _r0.isFirstPage());
|
|
24187
24186
|
} }
|
|
24188
24187
|
function PaginationComponent_ul_3_li_4_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
24189
|
-
const
|
|
24190
|
-
i0.ɵɵelementStart(0, "a",
|
|
24191
|
-
i0.ɵɵlistener("keyup.enter", function PaginationComponent_ul_3_li_4_a_1_Template_a_keyup_enter_0_listener() { i0.ɵɵrestoreView(
|
|
24192
|
-
i0.ɵɵelementStart(1, "span",
|
|
24188
|
+
const _r16 = i0.ɵɵgetCurrentView();
|
|
24189
|
+
i0.ɵɵelementStart(0, "a", 15);
|
|
24190
|
+
i0.ɵɵlistener("keyup.enter", function PaginationComponent_ul_3_li_4_a_1_Template_a_keyup_enter_0_listener() { i0.ɵɵrestoreView(_r16); const page_r11 = i0.ɵɵnextContext().$implicit; i0.ɵɵnextContext(2); const _r0 = i0.ɵɵreference(1); return _r0.setCurrent(page_r11.value); })("click", function PaginationComponent_ul_3_li_4_a_1_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r16); const page_r11 = i0.ɵɵnextContext().$implicit; i0.ɵɵnextContext(2); const _r0 = i0.ɵɵreference(1); return _r0.setCurrent(page_r11.value); });
|
|
24191
|
+
i0.ɵɵelementStart(1, "span", 16);
|
|
24193
24192
|
i0.ɵɵtext(2);
|
|
24194
24193
|
i0.ɵɵelementEnd();
|
|
24195
24194
|
i0.ɵɵelementStart(3, "span");
|
|
@@ -24198,16 +24197,16 @@ function PaginationComponent_ul_3_li_4_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
24198
24197
|
i0.ɵɵelementEnd();
|
|
24199
24198
|
i0.ɵɵelementEnd();
|
|
24200
24199
|
} if (rf & 2) {
|
|
24201
|
-
const
|
|
24202
|
-
const
|
|
24200
|
+
const page_r11 = i0.ɵɵnextContext().$implicit;
|
|
24201
|
+
const ctx_r12 = i0.ɵɵnextContext(2);
|
|
24203
24202
|
i0.ɵɵadvance(2);
|
|
24204
|
-
i0.ɵɵtextInterpolate1("",
|
|
24203
|
+
i0.ɵɵtextInterpolate1("", ctx_r12.screenReaderPageLabel, " ");
|
|
24205
24204
|
i0.ɵɵadvance(2);
|
|
24206
|
-
i0.ɵɵtextInterpolate(
|
|
24205
|
+
i0.ɵɵtextInterpolate(page_r11.label === "..." ? page_r11.label : i0.ɵɵpipeBind2(5, 2, page_r11.label, ""));
|
|
24207
24206
|
} }
|
|
24208
24207
|
function PaginationComponent_ul_3_li_4_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
24209
24208
|
i0.ɵɵelementContainerStart(0);
|
|
24210
|
-
i0.ɵɵelementStart(1, "span",
|
|
24209
|
+
i0.ɵɵelementStart(1, "span", 16);
|
|
24211
24210
|
i0.ɵɵtext(2);
|
|
24212
24211
|
i0.ɵɵelementEnd();
|
|
24213
24212
|
i0.ɵɵelementStart(3, "span");
|
|
@@ -24216,63 +24215,63 @@ function PaginationComponent_ul_3_li_4_ng_container_2_Template(rf, ctx) { if (rf
|
|
|
24216
24215
|
i0.ɵɵelementEnd();
|
|
24217
24216
|
i0.ɵɵelementContainerEnd();
|
|
24218
24217
|
} if (rf & 2) {
|
|
24219
|
-
const
|
|
24220
|
-
const
|
|
24218
|
+
const page_r11 = i0.ɵɵnextContext().$implicit;
|
|
24219
|
+
const ctx_r13 = i0.ɵɵnextContext(2);
|
|
24221
24220
|
i0.ɵɵadvance(2);
|
|
24222
|
-
i0.ɵɵtextInterpolate1("",
|
|
24221
|
+
i0.ɵɵtextInterpolate1("", ctx_r13.screenReaderCurrentLabel, " ");
|
|
24223
24222
|
i0.ɵɵadvance(2);
|
|
24224
|
-
i0.ɵɵtextInterpolate(
|
|
24223
|
+
i0.ɵɵtextInterpolate(page_r11.label === "..." ? page_r11.label : i0.ɵɵpipeBind2(5, 2, page_r11.label, ""));
|
|
24225
24224
|
} }
|
|
24226
24225
|
function PaginationComponent_ul_3_li_4_Template(rf, ctx) { if (rf & 1) {
|
|
24227
24226
|
i0.ɵɵelementStart(0, "li");
|
|
24228
|
-
i0.ɵɵtemplate(1, PaginationComponent_ul_3_li_4_a_1_Template, 6, 5, "a",
|
|
24229
|
-
i0.ɵɵtemplate(2, PaginationComponent_ul_3_li_4_ng_container_2_Template, 6, 5, "ng-container",
|
|
24227
|
+
i0.ɵɵtemplate(1, PaginationComponent_ul_3_li_4_a_1_Template, 6, 5, "a", 13);
|
|
24228
|
+
i0.ɵɵtemplate(2, PaginationComponent_ul_3_li_4_ng_container_2_Template, 6, 5, "ng-container", 14);
|
|
24230
24229
|
i0.ɵɵelementEnd();
|
|
24231
24230
|
} if (rf & 2) {
|
|
24232
|
-
const
|
|
24231
|
+
const page_r11 = ctx.$implicit;
|
|
24233
24232
|
i0.ɵɵnextContext(2);
|
|
24234
24233
|
const _r0 = i0.ɵɵreference(1);
|
|
24235
|
-
i0.ɵɵclassProp("current", _r0.getCurrent() ===
|
|
24234
|
+
i0.ɵɵclassProp("current", _r0.getCurrent() === page_r11.value)("ellipsis", page_r11.label === "...");
|
|
24236
24235
|
i0.ɵɵadvance(1);
|
|
24237
|
-
i0.ɵɵproperty("ngIf", _r0.getCurrent() !==
|
|
24236
|
+
i0.ɵɵproperty("ngIf", _r0.getCurrent() !== page_r11.value);
|
|
24238
24237
|
i0.ɵɵadvance(1);
|
|
24239
|
-
i0.ɵɵproperty("ngIf", _r0.getCurrent() ===
|
|
24238
|
+
i0.ɵɵproperty("ngIf", _r0.getCurrent() === page_r11.value);
|
|
24240
24239
|
} }
|
|
24241
24240
|
function PaginationComponent_ul_3_li_5_a_1_Template(rf, ctx) { if (rf & 1) {
|
|
24242
|
-
const
|
|
24243
|
-
i0.ɵɵelementStart(0, "a",
|
|
24244
|
-
i0.ɵɵlistener("keyup.enter", function PaginationComponent_ul_3_li_5_a_1_Template_a_keyup_enter_0_listener() { i0.ɵɵrestoreView(
|
|
24241
|
+
const _r24 = i0.ɵɵgetCurrentView();
|
|
24242
|
+
i0.ɵɵelementStart(0, "a", 15);
|
|
24243
|
+
i0.ɵɵlistener("keyup.enter", function PaginationComponent_ul_3_li_5_a_1_Template_a_keyup_enter_0_listener() { i0.ɵɵrestoreView(_r24); i0.ɵɵnextContext(3); const _r0 = i0.ɵɵreference(1); return _r0.next(); })("click", function PaginationComponent_ul_3_li_5_a_1_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r24); i0.ɵɵnextContext(3); const _r0 = i0.ɵɵreference(1); return _r0.next(); });
|
|
24245
24244
|
i0.ɵɵtext(1);
|
|
24246
|
-
i0.ɵɵelementStart(2, "span",
|
|
24245
|
+
i0.ɵɵelementStart(2, "span", 16);
|
|
24247
24246
|
i0.ɵɵtext(3);
|
|
24248
24247
|
i0.ɵɵelementEnd();
|
|
24249
24248
|
i0.ɵɵelementEnd();
|
|
24250
24249
|
} if (rf & 2) {
|
|
24251
|
-
const
|
|
24252
|
-
i0.ɵɵattribute("aria-label",
|
|
24250
|
+
const ctx_r21 = i0.ɵɵnextContext(3);
|
|
24251
|
+
i0.ɵɵattribute("aria-label", ctx_r21.nextLabel + " " + ctx_r21.screenReaderPageLabel);
|
|
24253
24252
|
i0.ɵɵadvance(1);
|
|
24254
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
24253
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r21.nextLabel, " ");
|
|
24255
24254
|
i0.ɵɵadvance(2);
|
|
24256
|
-
i0.ɵɵtextInterpolate(
|
|
24255
|
+
i0.ɵɵtextInterpolate(ctx_r21.screenReaderPageLabel);
|
|
24257
24256
|
} }
|
|
24258
24257
|
function PaginationComponent_ul_3_li_5_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
24259
24258
|
i0.ɵɵelementStart(0, "span");
|
|
24260
24259
|
i0.ɵɵtext(1);
|
|
24261
|
-
i0.ɵɵelementStart(2, "span",
|
|
24260
|
+
i0.ɵɵelementStart(2, "span", 16);
|
|
24262
24261
|
i0.ɵɵtext(3);
|
|
24263
24262
|
i0.ɵɵelementEnd();
|
|
24264
24263
|
i0.ɵɵelementEnd();
|
|
24265
24264
|
} if (rf & 2) {
|
|
24266
|
-
const
|
|
24265
|
+
const ctx_r22 = i0.ɵɵnextContext(3);
|
|
24267
24266
|
i0.ɵɵadvance(1);
|
|
24268
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
24267
|
+
i0.ɵɵtextInterpolate1(" ", ctx_r22.nextLabel, " ");
|
|
24269
24268
|
i0.ɵɵadvance(2);
|
|
24270
|
-
i0.ɵɵtextInterpolate(
|
|
24269
|
+
i0.ɵɵtextInterpolate(ctx_r22.screenReaderPageLabel);
|
|
24271
24270
|
} }
|
|
24272
24271
|
function PaginationComponent_ul_3_li_5_Template(rf, ctx) { if (rf & 1) {
|
|
24273
|
-
i0.ɵɵelementStart(0, "li",
|
|
24274
|
-
i0.ɵɵtemplate(1, PaginationComponent_ul_3_li_5_a_1_Template, 4, 3, "a",
|
|
24275
|
-
i0.ɵɵtemplate(2, PaginationComponent_ul_3_li_5_span_2_Template, 4, 2, "span",
|
|
24272
|
+
i0.ɵɵelementStart(0, "li", 17);
|
|
24273
|
+
i0.ɵɵtemplate(1, PaginationComponent_ul_3_li_5_a_1_Template, 4, 3, "a", 13);
|
|
24274
|
+
i0.ɵɵtemplate(2, PaginationComponent_ul_3_li_5_span_2_Template, 4, 2, "span", 14);
|
|
24276
24275
|
i0.ɵɵelementEnd();
|
|
24277
24276
|
} if (rf & 2) {
|
|
24278
24277
|
i0.ɵɵnextContext(2);
|
|
@@ -24284,13 +24283,13 @@ function PaginationComponent_ul_3_li_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
24284
24283
|
i0.ɵɵproperty("ngIf", _r0.isLastPage());
|
|
24285
24284
|
} }
|
|
24286
24285
|
function PaginationComponent_ul_3_Template(rf, ctx) { if (rf & 1) {
|
|
24287
|
-
i0.ɵɵelementStart(0, "ul",
|
|
24288
|
-
i0.ɵɵtemplate(1, PaginationComponent_ul_3_li_1_Template, 3, 4, "li",
|
|
24289
|
-
i0.ɵɵelementStart(2, "li",
|
|
24286
|
+
i0.ɵɵelementStart(0, "ul", 7);
|
|
24287
|
+
i0.ɵɵtemplate(1, PaginationComponent_ul_3_li_1_Template, 3, 4, "li", 8);
|
|
24288
|
+
i0.ɵɵelementStart(2, "li", 9);
|
|
24290
24289
|
i0.ɵɵtext(3);
|
|
24291
24290
|
i0.ɵɵelementEnd();
|
|
24292
|
-
i0.ɵɵtemplate(4, PaginationComponent_ul_3_li_4_Template, 3, 6, "li",
|
|
24293
|
-
i0.ɵɵtemplate(5, PaginationComponent_ul_3_li_5_Template, 3, 4, "li",
|
|
24291
|
+
i0.ɵɵtemplate(4, PaginationComponent_ul_3_li_4_Template, 3, 6, "li", 10);
|
|
24292
|
+
i0.ɵɵtemplate(5, PaginationComponent_ul_3_li_5_Template, 3, 4, "li", 11);
|
|
24294
24293
|
i0.ɵɵelementEnd();
|
|
24295
24294
|
} if (rf & 2) {
|
|
24296
24295
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -24341,21 +24340,47 @@ class PaginationComponent {
|
|
|
24341
24340
|
set responsive(value) {
|
|
24342
24341
|
this.pResponsive = coerceToBoolean(value);
|
|
24343
24342
|
}
|
|
24343
|
+
goToPage($event, p) {
|
|
24344
|
+
const pageNumber = Number($event.target.value);
|
|
24345
|
+
if ($event.target.value !== '' && pageNumber !== p.getCurrent()) {
|
|
24346
|
+
if (pageNumber > 0) {
|
|
24347
|
+
p.setCurrent(pageNumber);
|
|
24348
|
+
}
|
|
24349
|
+
else if (pageNumber < 0) {
|
|
24350
|
+
$event.target.value = (Math.abs(pageNumber)).toString();
|
|
24351
|
+
if (Math.abs(pageNumber) !== p.getCurrent()) {
|
|
24352
|
+
p.setCurrent(Math.abs(pageNumber));
|
|
24353
|
+
}
|
|
24354
|
+
}
|
|
24355
|
+
else {
|
|
24356
|
+
$event.target.value = '';
|
|
24357
|
+
}
|
|
24358
|
+
}
|
|
24359
|
+
}
|
|
24344
24360
|
}
|
|
24345
24361
|
PaginationComponent.ɵfac = function PaginationComponent_Factory(t) { return new (t || PaginationComponent)(); };
|
|
24346
|
-
PaginationComponent.ɵcmp = i0.ɵɵdefineComponent({ type: PaginationComponent, selectors: [["ccd-pagination"]], inputs: { visibilityLabel: "visibilityLabel", id: "id", maxSize: "maxSize", previousLabel: "previousLabel", nextLabel: "nextLabel", screenReaderPaginationLabel: "screenReaderPaginationLabel", screenReaderPageLabel: "screenReaderPageLabel", screenReaderCurrentLabel: "screenReaderCurrentLabel", directionLinks: "directionLinks", autoHide: "autoHide", responsive: "responsive" }, outputs: { pageChange: "pageChange", pageBoundsCorrection: "pageBoundsCorrection" }, decls:
|
|
24362
|
+
PaginationComponent.ɵcmp = i0.ɵɵdefineComponent({ type: PaginationComponent, selectors: [["ccd-pagination"]], inputs: { visibilityLabel: "visibilityLabel", id: "id", maxSize: "maxSize", previousLabel: "previousLabel", nextLabel: "nextLabel", screenReaderPaginationLabel: "screenReaderPaginationLabel", screenReaderPageLabel: "screenReaderPageLabel", screenReaderCurrentLabel: "screenReaderCurrentLabel", directionLinks: "directionLinks", autoHide: "autoHide", responsive: "responsive" }, outputs: { pageChange: "pageChange", pageBoundsCorrection: "pageBoundsCorrection" }, decls: 9, vars: 3, consts: [[3, "id", "maxSize", "pageChange", "pageBoundsCorrection"], ["p", "paginationApi"], ["role", "navigation", "aria-label", "Pagination", 1, "ngx-pagination-wrapper"], ["class", "ngx-pagination", "role", "navigation", 3, "responsive", 4, "ngIf"], [1, "ngx-go-to-page"], ["type", "number", "maxlength", "5", "min", "1", 1, "govuk-input", 3, "keyup.enter", "blur", "focus"], ["goToPageInput", ""], ["role", "navigation", 1, "ngx-pagination"], ["class", "pagination-previous", 3, "disabled", 4, "ngIf"], [1, "small-screen"], [3, "current", "ellipsis", 4, "ngFor", "ngForOf"], ["class", "pagination-next", 3, "disabled", 4, "ngIf"], [1, "pagination-previous"], ["tabindex", "0", 3, "keyup.enter", "click", 4, "ngIf"], [4, "ngIf"], ["tabindex", "0", 3, "keyup.enter", "click"], [1, "show-for-sr"], [1, "pagination-next"]], template: function PaginationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
24363
|
+
const _r26 = i0.ɵɵgetCurrentView();
|
|
24347
24364
|
i0.ɵɵelementStart(0, "pagination-template", 0, 1);
|
|
24348
24365
|
i0.ɵɵlistener("pageChange", function PaginationComponent_Template_pagination_template_pageChange_0_listener($event) { return ctx.pageChange.emit($event); })("pageBoundsCorrection", function PaginationComponent_Template_pagination_template_pageBoundsCorrection_0_listener($event) { return ctx.pageBoundsCorrection.emit($event); });
|
|
24349
24366
|
i0.ɵɵelementStart(2, "nav", 2);
|
|
24350
24367
|
i0.ɵɵtemplate(3, PaginationComponent_ul_3_Template, 6, 8, "ul", 3);
|
|
24351
24368
|
i0.ɵɵelementEnd();
|
|
24369
|
+
i0.ɵɵelementStart(4, "div", 4);
|
|
24370
|
+
i0.ɵɵelementStart(5, "span");
|
|
24371
|
+
i0.ɵɵtext(6, "Go to page");
|
|
24372
|
+
i0.ɵɵelementEnd();
|
|
24373
|
+
i0.ɵɵelementStart(7, "input", 5, 6);
|
|
24374
|
+
i0.ɵɵlistener("keyup.enter", function PaginationComponent_Template_input_keyup_enter_7_listener($event) { i0.ɵɵrestoreView(_r26); const _r0 = i0.ɵɵreference(1); ctx.goToPage($event, _r0); return $event.target.blur(); })("blur", function PaginationComponent_Template_input_blur_7_listener($event) { i0.ɵɵrestoreView(_r26); const _r0 = i0.ɵɵreference(1); return ctx.goToPage($event, _r0); })("focus", function PaginationComponent_Template_input_focus_7_listener() { i0.ɵɵrestoreView(_r26); const _r2 = i0.ɵɵreference(8); return _r2.select(); });
|
|
24375
|
+
i0.ɵɵelementEnd();
|
|
24376
|
+
i0.ɵɵelementEnd();
|
|
24352
24377
|
i0.ɵɵelementEnd();
|
|
24353
24378
|
} if (rf & 2) {
|
|
24354
24379
|
const _r0 = i0.ɵɵreference(1);
|
|
24355
24380
|
i0.ɵɵproperty("id", ctx.id)("maxSize", ctx.maxSize);
|
|
24356
24381
|
i0.ɵɵadvance(3);
|
|
24357
24382
|
i0.ɵɵproperty("ngIf", !(ctx.autoHide && _r0.pages.length <= 1));
|
|
24358
|
-
} }, directives: [i1$6.PaginationControlsDirective, i1.NgIf, i1.NgForOf], pipes: [i1.DecimalPipe], styles: [".ngx-pagination[_ngcontent-%COMP%]{margin-left:0;margin-bottom:1rem;padding-top:25px;text-decoration:none;text-align:left;font-size:16px}.ngx-pagination[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%]:before{content:\" \";display:table}.ngx-pagination[_ngcontent-%COMP%]:after{clear:both}.ngx-pagination[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;margin-right:.0625rem;border-radius:0;display:inline-block}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:block;padding:.1875rem .625rem;border-radius:0;color:#005da6}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background:#e6e6e6}.ngx-pagination[_ngcontent-%COMP%] .current[_ngcontent-%COMP%]{padding:.1875rem .625rem;background:#fff;color:#4c2c92;cursor:default;font-weight:900}.ngx-pagination[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]{display:none}.ngx-pagination[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]:hover{background:transparent}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{cursor:pointer}.ngx-pagination[_ngcontent-%COMP%] .pagination-previous.disabled[_ngcontent-%COMP%]:before, .ngx-pagination[_ngcontent-%COMP%] .pagination-previous[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:before{margin-right:.5rem;border-width:3px 0 0 3px}.ngx-pagination[_ngcontent-%COMP%] .pagination-next.disabled[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%] .pagination-next[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%] .pagination-previous.disabled[_ngcontent-%COMP%]:before, .ngx-pagination[_ngcontent-%COMP%] .pagination-previous[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:before{display:inline-block;height:10px;width:10px;border-style:solid;color:#0a0a0a;background:transparent;transform:rotate(-45deg);content:\"\"}.ngx-pagination[_ngcontent-%COMP%] .pagination-next.disabled[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%] .pagination-next[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:after{margin-left:.5rem;border-width:0 3px 3px 0}.ngx-pagination[_ngcontent-%COMP%] .show-for-sr[_ngcontent-%COMP%]{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.ngx-pagination[_ngcontent-%COMP%] .small-screen[_ngcontent-%COMP%]{display:none}@media screen and (max-width:601px){.ngx-pagination.responsive[_ngcontent-%COMP%] .small-screen[_ngcontent-%COMP%]{display:inline-block}.ngx-pagination.responsive[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(.small-screen):not(.pagination-previous):not(.pagination-next){display:none}}"] });
|
|
24383
|
+
} }, directives: [i1$6.PaginationControlsDirective, i1.NgIf, i1.NgForOf], pipes: [i1.DecimalPipe], styles: [".ngx-go-to-page[_ngcontent-%COMP%], .ngx-pagination-wrapper[_ngcontent-%COMP%]{display:inline-block}.ngx-go-to-page[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin:0 10px 0 50px}.ngx-go-to-page[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:50px}.ngx-pagination[_ngcontent-%COMP%]{margin-left:0;margin-bottom:1rem;padding-top:25px;text-decoration:none;text-align:left;font-size:16px}.ngx-pagination[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%]:before{content:\" \";display:table}.ngx-pagination[_ngcontent-%COMP%]:after{clear:both}.ngx-pagination[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;margin-right:.0625rem;border-radius:0;display:inline-block}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:block;padding:.1875rem .625rem;border-radius:0;color:#005da6}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background:#e6e6e6}.ngx-pagination[_ngcontent-%COMP%] .current[_ngcontent-%COMP%]{padding:.1875rem .625rem;background:#fff;color:#4c2c92;cursor:default;font-weight:900}.ngx-pagination[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]{display:none}.ngx-pagination[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%]:hover{background:transparent}.ngx-pagination[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .ngx-pagination[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{cursor:pointer}.ngx-pagination[_ngcontent-%COMP%] .pagination-previous.disabled[_ngcontent-%COMP%]:before, .ngx-pagination[_ngcontent-%COMP%] .pagination-previous[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:before{margin-right:.5rem;border-width:3px 0 0 3px}.ngx-pagination[_ngcontent-%COMP%] .pagination-next.disabled[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%] .pagination-next[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%] .pagination-previous.disabled[_ngcontent-%COMP%]:before, .ngx-pagination[_ngcontent-%COMP%] .pagination-previous[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:before{display:inline-block;height:10px;width:10px;border-style:solid;color:#0a0a0a;background:transparent;transform:rotate(-45deg);content:\"\"}.ngx-pagination[_ngcontent-%COMP%] .pagination-next.disabled[_ngcontent-%COMP%]:after, .ngx-pagination[_ngcontent-%COMP%] .pagination-next[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:after{margin-left:.5rem;border-width:0 3px 3px 0}.ngx-pagination[_ngcontent-%COMP%] .show-for-sr[_ngcontent-%COMP%]{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.ngx-pagination[_ngcontent-%COMP%] .small-screen[_ngcontent-%COMP%]{display:none}@media screen and (max-width:601px){.ngx-pagination.responsive[_ngcontent-%COMP%] .small-screen[_ngcontent-%COMP%]{display:inline-block}.ngx-pagination.responsive[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(.small-screen):not(.pagination-previous):not(.pagination-next){display:none}}"] });
|
|
24359
24384
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginationComponent, [{
|
|
24360
24385
|
type: Component,
|
|
24361
24386
|
args: [{
|