@wavemaker/app-ng-runtime 11.10.3-rc.6079 → 11.10.4-rc.6083
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/build-task/bundles/index.umd.js +6 -1
- package/build-task/esm2022/advanced/carousel/carousel.build.mjs +7 -2
- package/build-task/fesm2022/index.mjs +6 -1
- package/build-task/fesm2022/index.mjs.map +1 -1
- package/components/base/bundles/index.umd.js +1 -1
- package/components/base/esm2022/utils/widget-utils.mjs +2 -2
- package/components/base/fesm2022/index.mjs +1 -1
- package/components/base/fesm2022/index.mjs.map +1 -1
- package/components/containers/wizard/bundles/index.umd.js +8 -5
- package/components/containers/wizard/esm2022/wizard.component.mjs +9 -6
- package/components/containers/wizard/fesm2022/index.mjs +8 -5
- package/components/containers/wizard/fesm2022/index.mjs.map +1 -1
- package/components/containers/wizard/wizard.component.d.ts +2 -2
- package/components/data/pagination/bundles/index.umd.js +139 -102
- package/components/data/pagination/esm2022/pagination.component.mjs +140 -103
- package/components/data/pagination/fesm2022/index.mjs +139 -102
- package/components/data/pagination/fesm2022/index.mjs.map +1 -1
- package/components/data/table/bundles/index.umd.js +2 -2
- package/components/data/table/esm2022/table.component.mjs +3 -3
- package/components/data/table/fesm2022/index.mjs +2 -2
- package/components/data/table/fesm2022/index.mjs.map +1 -1
- package/components/input/default/bundles/index.umd.js +10 -4
- package/components/input/default/esm2022/base-form.component.mjs +5 -1
- package/components/input/default/esm2022/switch/switch.component.mjs +3 -3
- package/components/input/default/esm2022/text/base/base-input.mjs +2 -2
- package/components/input/default/esm2022/text/locale/number-locale.mjs +4 -2
- package/components/input/default/fesm2022/index.mjs +10 -4
- package/components/input/default/fesm2022/index.mjs.map +1 -1
- package/components/navigation/popover/bundles/index.umd.js +16 -2
- package/components/navigation/popover/esm2022/popover.component.mjs +17 -3
- package/components/navigation/popover/fesm2022/index.mjs +16 -2
- package/components/navigation/popover/fesm2022/index.mjs.map +1 -1
- package/components/navigation/popover/popover.component.d.ts +2 -1
- package/core/bundles/index.umd.js +2 -2
- package/core/esm2022/utils/utils.mjs +3 -3
- package/core/fesm2022/index.mjs +2 -2
- package/core/fesm2022/index.mjs.map +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/package-lock.json +2 -2
- package/package.json +1 -1
|
@@ -32,118 +32,155 @@ const registerProps = () => {
|
|
|
32
32
|
const _c0 = ["wmPagination", ""];
|
|
33
33
|
const _c1 = a0 => ({ "disabled": a0 });
|
|
34
34
|
const _c2 = () => ({ standalone: true });
|
|
35
|
-
function
|
|
36
|
-
i0.ɵɵelementStart(0, "li", 23)(1, "a", 24);
|
|
37
|
-
i0.ɵɵtext(2);
|
|
38
|
-
i0.ɵɵelementEnd()();
|
|
39
|
-
} if (rf & 2) {
|
|
40
|
-
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
41
|
-
i0.ɵɵadvance(2);
|
|
42
|
-
i0.ɵɵtextInterpolate2("", ctx_r1.appLocale.LABEL_TOTAL_RECORDS, ": ", ctx_r1.dataSize, "");
|
|
43
|
-
} }
|
|
44
|
-
function PaginationComponent_ul_0_Template(rf, ctx) { if (rf & 1) {
|
|
35
|
+
function PaginationComponent_ul_0_li_1_Template(rf, ctx) { if (rf & 1) {
|
|
45
36
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
46
|
-
i0.ɵɵelementStart(0, "
|
|
47
|
-
i0.ɵɵlistener("click", function
|
|
48
|
-
i0.ɵɵelementStart(
|
|
49
|
-
i0.ɵɵelement(
|
|
50
|
-
i0.ɵɵelementEnd();
|
|
51
|
-
i0.ɵɵelementStart(5, "span", 10);
|
|
52
|
-
i0.ɵɵtext(6);
|
|
53
|
-
i0.ɵɵelementEnd()()();
|
|
54
|
-
i0.ɵɵelementStart(7, "li", 6)(8, "a", 11);
|
|
55
|
-
i0.ɵɵlistener("click", function PaginationComponent_ul_0_Template_a_click_8_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.navigatePage("prev", $event)); });
|
|
56
|
-
i0.ɵɵelementStart(9, "span", 8);
|
|
57
|
-
i0.ɵɵelement(10, "i", 12);
|
|
37
|
+
i0.ɵɵelementStart(0, "li", 10)(1, "a", 11);
|
|
38
|
+
i0.ɵɵlistener("click", function PaginationComponent_ul_0_li_1_Template_a_click_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.navigatePage("first", $event)); });
|
|
39
|
+
i0.ɵɵelementStart(2, "span", 12);
|
|
40
|
+
i0.ɵɵelement(3, "i", 13);
|
|
58
41
|
i0.ɵɵelementEnd();
|
|
59
|
-
i0.ɵɵelementStart(
|
|
60
|
-
i0.ɵɵtext(
|
|
61
|
-
i0.ɵɵelementEnd()()();
|
|
62
|
-
i0.ɵɵelementStart(13, "li", 13)(14, "a", 14)(15, "input", 15);
|
|
63
|
-
i0.ɵɵtwoWayListener("ngModelChange", function PaginationComponent_ul_0_Template_input_ngModelChange_15_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r1.dn.currentPage, $event) || (ctx_r1.dn.currentPage = $event); return i0.ɵɵresetView($event); });
|
|
64
|
-
i0.ɵɵlistener("keydown", function PaginationComponent_ul_0_Template_input_keydown_15_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onKeyDown($event)); })("change", function PaginationComponent_ul_0_Template_input_change_15_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.onModelChange($event)); });
|
|
65
|
-
i0.ɵɵelementEnd()()();
|
|
66
|
-
i0.ɵɵelementStart(16, "li", 16)(17, "a", 17);
|
|
67
|
-
i0.ɵɵtext(18);
|
|
68
|
-
i0.ɵɵelementEnd()();
|
|
69
|
-
i0.ɵɵelementStart(19, "li", 6)(20, "a", 18);
|
|
70
|
-
i0.ɵɵlistener("click", function PaginationComponent_ul_0_Template_a_click_20_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.navigatePage("next", $event)); });
|
|
71
|
-
i0.ɵɵelementStart(21, "span", 8);
|
|
72
|
-
i0.ɵɵelement(22, "i", 19);
|
|
73
|
-
i0.ɵɵelementEnd();
|
|
74
|
-
i0.ɵɵelementStart(23, "span", 10);
|
|
75
|
-
i0.ɵɵtext(24);
|
|
76
|
-
i0.ɵɵelementEnd()()();
|
|
77
|
-
i0.ɵɵelementStart(25, "li", 6)(26, "a", 20);
|
|
78
|
-
i0.ɵɵlistener("click", function PaginationComponent_ul_0_Template_a_click_26_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.navigatePage("last", $event)); });
|
|
79
|
-
i0.ɵɵelementStart(27, "span", 8);
|
|
80
|
-
i0.ɵɵelement(28, "i", 21);
|
|
81
|
-
i0.ɵɵelementEnd();
|
|
82
|
-
i0.ɵɵelementStart(29, "span", 10);
|
|
83
|
-
i0.ɵɵtext(30);
|
|
42
|
+
i0.ɵɵelementStart(4, "span", 14);
|
|
43
|
+
i0.ɵɵtext(5);
|
|
84
44
|
i0.ɵɵelementEnd()()();
|
|
85
|
-
i0.ɵɵtemplate(31, PaginationComponent_ul_0_li_31_Template, 3, 2, "li", 22);
|
|
86
|
-
i0.ɵɵelementEnd();
|
|
87
45
|
} if (rf & 2) {
|
|
88
|
-
const ctx_r1 = i0.ɵɵnextContext();
|
|
89
|
-
i0.ɵɵ
|
|
90
|
-
i0.ɵɵadvance();
|
|
91
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(26, _c1, ctx_r1.isDisableFirst));
|
|
46
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
47
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1, ctx_r1.isDisableFirst));
|
|
92
48
|
i0.ɵɵadvance();
|
|
93
49
|
i0.ɵɵproperty("title", ctx_r1.appLocale.LABEL_FIRST);
|
|
94
50
|
i0.ɵɵattribute("aria-disabled", ctx_r1.isDisableFirst);
|
|
95
51
|
i0.ɵɵadvance(4);
|
|
96
52
|
i0.ɵɵtextInterpolate1("Go to first page ", ctx_r1.isDisableFirst ? " , Disabled" : "", "");
|
|
97
|
-
|
|
98
|
-
|
|
53
|
+
} }
|
|
54
|
+
function PaginationComponent_ul_0_li_2_Template(rf, ctx) { if (rf & 1) {
|
|
55
|
+
const _r3 = i0.ɵɵgetCurrentView();
|
|
56
|
+
i0.ɵɵelementStart(0, "li", 10)(1, "a", 15);
|
|
57
|
+
i0.ɵɵlistener("click", function PaginationComponent_ul_0_li_2_Template_a_click_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.navigatePage("prev", $event)); });
|
|
58
|
+
i0.ɵɵelementStart(2, "span", 12);
|
|
59
|
+
i0.ɵɵelement(3, "i", 16);
|
|
60
|
+
i0.ɵɵelementEnd();
|
|
61
|
+
i0.ɵɵelementStart(4, "span", 14);
|
|
62
|
+
i0.ɵɵtext(5);
|
|
63
|
+
i0.ɵɵelementEnd()()();
|
|
64
|
+
} if (rf & 2) {
|
|
65
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
66
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1, ctx_r1.isDisablePrevious));
|
|
99
67
|
i0.ɵɵadvance();
|
|
100
68
|
i0.ɵɵproperty("title", ctx_r1.appLocale.LABEL_PREVIOUS);
|
|
101
69
|
i0.ɵɵattribute("aria-disabled", ctx_r1.isDisablePrevious);
|
|
102
70
|
i0.ɵɵadvance(4);
|
|
103
71
|
i0.ɵɵtextInterpolate1("Go to previous page ", ctx_r1.isDisablePrevious ? ", Disabled" : "", "");
|
|
104
|
-
|
|
72
|
+
} }
|
|
73
|
+
function PaginationComponent_ul_0_li_3_Template(rf, ctx) { if (rf & 1) {
|
|
74
|
+
const _r4 = i0.ɵɵgetCurrentView();
|
|
75
|
+
i0.ɵɵelementStart(0, "li", 17)(1, "a", 18)(2, "input", 19);
|
|
76
|
+
i0.ɵɵtwoWayListener("ngModelChange", function PaginationComponent_ul_0_li_3_Template_input_ngModelChange_2_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r1.dn.currentPage, $event) || (ctx_r1.dn.currentPage = $event); return i0.ɵɵresetView($event); });
|
|
77
|
+
i0.ɵɵlistener("keydown", function PaginationComponent_ul_0_li_3_Template_input_keydown_2_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onKeyDown($event)); })("change", function PaginationComponent_ul_0_li_3_Template_input_change_2_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.onModelChange($event)); });
|
|
78
|
+
i0.ɵɵelementEnd()()();
|
|
79
|
+
} if (rf & 2) {
|
|
80
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
81
|
+
i0.ɵɵadvance(2);
|
|
105
82
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r1.dn.currentPage);
|
|
106
|
-
i0.ɵɵproperty("disabled", ctx_r1.isDisableCurrent)("ngModelOptions", i0.ɵɵpureFunction0(
|
|
83
|
+
i0.ɵɵproperty("disabled", ctx_r1.isDisableCurrent)("ngModelOptions", i0.ɵɵpureFunction0(4, _c2));
|
|
107
84
|
i0.ɵɵattribute("aria-label", "Showing Page " + ctx_r1.dn.currentPage + " of " + ctx_r1.pageCount);
|
|
108
|
-
|
|
85
|
+
} }
|
|
86
|
+
function PaginationComponent_ul_0_li_4_Template(rf, ctx) { if (rf & 1) {
|
|
87
|
+
i0.ɵɵelementStart(0, "li", 20)(1, "a", 21);
|
|
88
|
+
i0.ɵɵtext(2);
|
|
89
|
+
i0.ɵɵelementEnd()();
|
|
90
|
+
} if (rf & 2) {
|
|
91
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
92
|
+
i0.ɵɵadvance();
|
|
109
93
|
i0.ɵɵproperty("hidden", ctx_r1.isDisableCount);
|
|
110
94
|
i0.ɵɵadvance();
|
|
111
95
|
i0.ɵɵtextInterpolate1(" / ", ctx_r1.pageCount, "");
|
|
112
|
-
|
|
113
|
-
|
|
96
|
+
} }
|
|
97
|
+
function PaginationComponent_ul_0_li_5_Template(rf, ctx) { if (rf & 1) {
|
|
98
|
+
const _r5 = i0.ɵɵgetCurrentView();
|
|
99
|
+
i0.ɵɵelementStart(0, "li", 10)(1, "a", 22);
|
|
100
|
+
i0.ɵɵlistener("click", function PaginationComponent_ul_0_li_5_Template_a_click_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.navigatePage("next", $event)); });
|
|
101
|
+
i0.ɵɵelementStart(2, "span", 12);
|
|
102
|
+
i0.ɵɵelement(3, "i", 23);
|
|
103
|
+
i0.ɵɵelementEnd();
|
|
104
|
+
i0.ɵɵelementStart(4, "span", 14);
|
|
105
|
+
i0.ɵɵtext(5);
|
|
106
|
+
i0.ɵɵelementEnd()()();
|
|
107
|
+
} if (rf & 2) {
|
|
108
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
109
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1, ctx_r1.isDisableNext));
|
|
114
110
|
i0.ɵɵadvance();
|
|
115
111
|
i0.ɵɵproperty("title", ctx_r1.appLocale.LABEL_NEXT);
|
|
116
112
|
i0.ɵɵattribute("aria-disabled", ctx_r1.isDisableNext);
|
|
117
113
|
i0.ɵɵadvance(4);
|
|
118
114
|
i0.ɵɵtextInterpolate1("Go to next page ", ctx_r1.isDisableNext ? " , Disabled" : "", "");
|
|
119
|
-
|
|
120
|
-
|
|
115
|
+
} }
|
|
116
|
+
function PaginationComponent_ul_0_li_6_Template(rf, ctx) { if (rf & 1) {
|
|
117
|
+
const _r6 = i0.ɵɵgetCurrentView();
|
|
118
|
+
i0.ɵɵelementStart(0, "li", 10)(1, "a", 24);
|
|
119
|
+
i0.ɵɵlistener("click", function PaginationComponent_ul_0_li_6_Template_a_click_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.navigatePage("last", $event)); });
|
|
120
|
+
i0.ɵɵelementStart(2, "span", 12);
|
|
121
|
+
i0.ɵɵelement(3, "i", 25);
|
|
122
|
+
i0.ɵɵelementEnd();
|
|
123
|
+
i0.ɵɵelementStart(4, "span", 14);
|
|
124
|
+
i0.ɵɵtext(5);
|
|
125
|
+
i0.ɵɵelementEnd()()();
|
|
126
|
+
} if (rf & 2) {
|
|
127
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
128
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(4, _c1, ctx_r1.isDisableLast));
|
|
121
129
|
i0.ɵɵadvance();
|
|
122
130
|
i0.ɵɵproperty("title", ctx_r1.appLocale.LABEL_LAST);
|
|
123
131
|
i0.ɵɵattribute("aria-disabled", ctx_r1.isDisableLast);
|
|
124
132
|
i0.ɵɵadvance(4);
|
|
125
133
|
i0.ɵɵtextInterpolate1("Go to last page ", ctx_r1.isDisableLast ? " , Disabled" : "", "");
|
|
134
|
+
} }
|
|
135
|
+
function PaginationComponent_ul_0_li_7_Template(rf, ctx) { if (rf & 1) {
|
|
136
|
+
i0.ɵɵelementStart(0, "li", 26)(1, "a", 27);
|
|
137
|
+
i0.ɵɵtext(2);
|
|
138
|
+
i0.ɵɵelementEnd()();
|
|
139
|
+
} if (rf & 2) {
|
|
140
|
+
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
141
|
+
i0.ɵɵadvance(2);
|
|
142
|
+
i0.ɵɵtextInterpolate2("", ctx_r1.appLocale.LABEL_TOTAL_RECORDS, ": ", ctx_r1.dataSize, "");
|
|
143
|
+
} }
|
|
144
|
+
function PaginationComponent_ul_0_Template(rf, ctx) { if (rf & 1) {
|
|
145
|
+
i0.ɵɵelementStart(0, "ul");
|
|
146
|
+
i0.ɵɵtemplate(1, PaginationComponent_ul_0_li_1_Template, 6, 6, "li", 6)(2, PaginationComponent_ul_0_li_2_Template, 6, 6, "li", 6)(3, PaginationComponent_ul_0_li_3_Template, 3, 5, "li", 7)(4, PaginationComponent_ul_0_li_4_Template, 3, 2, "li", 8)(5, PaginationComponent_ul_0_li_5_Template, 6, 6, "li", 6)(6, PaginationComponent_ul_0_li_6_Template, 6, 6, "li", 6)(7, PaginationComponent_ul_0_li_7_Template, 3, 2, "li", 9);
|
|
147
|
+
i0.ɵɵelementEnd();
|
|
148
|
+
} if (rf & 2) {
|
|
149
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
150
|
+
i0.ɵɵclassMapInterpolate1("pagination advanced ", ctx_r1.navigationClass, "");
|
|
151
|
+
i0.ɵɵadvance();
|
|
152
|
+
i0.ɵɵproperty("ngIf", !(ctx_r1.dataSize <= ctx_r1.maxResults));
|
|
153
|
+
i0.ɵɵadvance();
|
|
154
|
+
i0.ɵɵproperty("ngIf", !(ctx_r1.dataSize <= ctx_r1.maxResults));
|
|
155
|
+
i0.ɵɵadvance();
|
|
156
|
+
i0.ɵɵproperty("ngIf", !(ctx_r1.dataSize <= ctx_r1.maxResults));
|
|
157
|
+
i0.ɵɵadvance();
|
|
158
|
+
i0.ɵɵproperty("ngIf", !(ctx_r1.dataSize <= ctx_r1.maxResults));
|
|
159
|
+
i0.ɵɵadvance();
|
|
160
|
+
i0.ɵɵproperty("ngIf", !(ctx_r1.dataSize <= ctx_r1.maxResults));
|
|
161
|
+
i0.ɵɵadvance();
|
|
162
|
+
i0.ɵɵproperty("ngIf", !(ctx_r1.dataSize <= ctx_r1.maxResults));
|
|
126
163
|
i0.ɵɵadvance();
|
|
127
164
|
i0.ɵɵproperty("ngIf", ctx_r1.showrecordcount);
|
|
128
165
|
} }
|
|
129
166
|
function PaginationComponent_ul_1_Template(rf, ctx) { if (rf & 1) {
|
|
130
|
-
const
|
|
131
|
-
i0.ɵɵelementStart(0, "ul")(1, "li",
|
|
132
|
-
i0.ɵɵlistener("click", function PaginationComponent_ul_1_Template_a_click_2_listener($event) { i0.ɵɵrestoreView(
|
|
133
|
-
i0.ɵɵelementStart(3, "span",
|
|
134
|
-
i0.ɵɵelement(4, "i",
|
|
167
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
168
|
+
i0.ɵɵelementStart(0, "ul")(1, "li", 28)(2, "a", 29);
|
|
169
|
+
i0.ɵɵlistener("click", function PaginationComponent_ul_1_Template_a_click_2_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.navigatePage("prev", $event)); });
|
|
170
|
+
i0.ɵɵelementStart(3, "span", 12);
|
|
171
|
+
i0.ɵɵelement(4, "i", 16);
|
|
135
172
|
i0.ɵɵelementEnd();
|
|
136
173
|
i0.ɵɵtext(5);
|
|
137
|
-
i0.ɵɵelementStart(6, "span",
|
|
174
|
+
i0.ɵɵelementStart(6, "span", 14);
|
|
138
175
|
i0.ɵɵtext(7);
|
|
139
176
|
i0.ɵɵelementEnd()()();
|
|
140
|
-
i0.ɵɵelementStart(8, "li",
|
|
141
|
-
i0.ɵɵlistener("click", function PaginationComponent_ul_1_Template_a_click_9_listener($event) { i0.ɵɵrestoreView(
|
|
142
|
-
i0.ɵɵelementStart(10, "span",
|
|
143
|
-
i0.ɵɵelement(11, "i",
|
|
177
|
+
i0.ɵɵelementStart(8, "li", 30)(9, "a", 29);
|
|
178
|
+
i0.ɵɵlistener("click", function PaginationComponent_ul_1_Template_a_click_9_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.navigatePage("next", $event)); });
|
|
179
|
+
i0.ɵɵelementStart(10, "span", 12);
|
|
180
|
+
i0.ɵɵelement(11, "i", 23);
|
|
144
181
|
i0.ɵɵelementEnd();
|
|
145
182
|
i0.ɵɵtext(12);
|
|
146
|
-
i0.ɵɵelementStart(13, "span",
|
|
183
|
+
i0.ɵɵelementStart(13, "span", 14);
|
|
147
184
|
i0.ɵɵtext(14);
|
|
148
185
|
i0.ɵɵelementEnd()()()();
|
|
149
186
|
} if (rf & 2) {
|
|
@@ -167,20 +204,20 @@ function PaginationComponent_ul_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
167
204
|
i0.ɵɵtextInterpolate(ctx_r1.isDisableNext ? " , Disabled" : "");
|
|
168
205
|
} }
|
|
169
206
|
function PaginationComponent_pagination_2_Template(rf, ctx) { if (rf & 1) {
|
|
170
|
-
const
|
|
171
|
-
i0.ɵɵelementStart(0, "pagination",
|
|
172
|
-
i0.ɵɵlistener("pageChanged", function PaginationComponent_pagination_2_Template_pagination_pageChanged_0_listener($event) { i0.ɵɵrestoreView(
|
|
207
|
+
const _r8 = i0.ɵɵgetCurrentView();
|
|
208
|
+
i0.ɵɵelementStart(0, "pagination", 31);
|
|
209
|
+
i0.ɵɵlistener("pageChanged", function PaginationComponent_pagination_2_Template_pagination_pageChanged_0_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.pageChanged($event)); });
|
|
173
210
|
i0.ɵɵelementEnd();
|
|
174
211
|
} if (rf & 2) {
|
|
175
212
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
176
|
-
const
|
|
177
|
-
const
|
|
178
|
-
const
|
|
179
|
-
i0.ɵɵproperty("ngClass", ctx_r1.navigationClass)("itemsPerPage", ctx_r1.maxResults)("totalItems", ctx_r1.dataSize)("ngModelOptions", i0.ɵɵpureFunction0(12, _c2))("ngModel", ctx_r1.dn.currentPage)("boundaryLinks", ctx_r1.boundarylinks)("maxSize", ctx_r1.maxsize)("directionLinks", ctx_r1.directionlinks)("customPreviousTemplate",
|
|
213
|
+
const pageTemplate_r9 = i0.ɵɵreference(5);
|
|
214
|
+
const prevTemplate_r10 = i0.ɵɵreference(7);
|
|
215
|
+
const nextTemplate_r11 = i0.ɵɵreference(9);
|
|
216
|
+
i0.ɵɵproperty("ngClass", ctx_r1.navigationClass)("itemsPerPage", ctx_r1.maxResults)("totalItems", ctx_r1.dataSize)("ngModelOptions", i0.ɵɵpureFunction0(12, _c2))("ngModel", ctx_r1.dn.currentPage)("boundaryLinks", ctx_r1.boundarylinks)("maxSize", ctx_r1.maxsize)("directionLinks", ctx_r1.directionlinks)("customPreviousTemplate", prevTemplate_r10)("customNextTemplate", nextTemplate_r11)("customPageTemplate", pageTemplate_r9);
|
|
180
217
|
i0.ɵɵattribute("aria-label", "Showing Page " + ctx_r1.dn.currentPage + " of " + ctx_r1.pageCount + " pages");
|
|
181
218
|
} }
|
|
182
219
|
function PaginationComponent_ul_3_Template(rf, ctx) { if (rf & 1) {
|
|
183
|
-
i0.ɵɵelementStart(0, "ul",
|
|
220
|
+
i0.ɵɵelementStart(0, "ul", 32)(1, "li", 33)(2, "a", 27);
|
|
184
221
|
i0.ɵɵtext(3);
|
|
185
222
|
i0.ɵɵelementEnd()()();
|
|
186
223
|
} if (rf & 2) {
|
|
@@ -189,50 +226,50 @@ function PaginationComponent_ul_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
189
226
|
i0.ɵɵtextInterpolate2("", ctx_r1.appLocale.LABEL_TOTAL_RECORDS, ": ", ctx_r1.dataSize, "");
|
|
190
227
|
} }
|
|
191
228
|
function PaginationComponent_ng_template_4_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
192
|
-
i0.ɵɵelementStart(0, "span",
|
|
229
|
+
i0.ɵɵelementStart(0, "span", 14);
|
|
193
230
|
i0.ɵɵtext(1);
|
|
194
231
|
i0.ɵɵelementEnd();
|
|
195
232
|
} if (rf & 2) {
|
|
196
|
-
const
|
|
233
|
+
const page_r12 = i0.ɵɵnextContext().$implicit;
|
|
197
234
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
198
235
|
i0.ɵɵadvance();
|
|
199
|
-
i0.ɵɵtextInterpolate1(" ", ", Showing page " +
|
|
236
|
+
i0.ɵɵtextInterpolate1(" ", ", Showing page " + page_r12.number + " of " + ctx_r1.pageCount, "");
|
|
200
237
|
} }
|
|
201
238
|
function PaginationComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
202
|
-
i0.ɵɵelementStart(0, "span",
|
|
239
|
+
i0.ɵɵelementStart(0, "span", 14);
|
|
203
240
|
i0.ɵɵtext(1);
|
|
204
241
|
i0.ɵɵelementEnd();
|
|
205
242
|
i0.ɵɵtext(2);
|
|
206
|
-
i0.ɵɵtemplate(3, PaginationComponent_ng_template_4_span_3_Template, 2, 1, "span",
|
|
243
|
+
i0.ɵɵtemplate(3, PaginationComponent_ng_template_4_span_3_Template, 2, 1, "span", 34);
|
|
207
244
|
} if (rf & 2) {
|
|
208
|
-
const
|
|
209
|
-
i0.ɵɵattribute("data-isacitvepage",
|
|
245
|
+
const page_r12 = ctx.$implicit;
|
|
246
|
+
i0.ɵɵattribute("data-isacitvepage", page_r12.active);
|
|
210
247
|
i0.ɵɵadvance();
|
|
211
248
|
i0.ɵɵtextInterpolate("Page ");
|
|
212
249
|
i0.ɵɵadvance();
|
|
213
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
250
|
+
i0.ɵɵtextInterpolate1(" ", page_r12.number, " ");
|
|
214
251
|
i0.ɵɵadvance();
|
|
215
|
-
i0.ɵɵproperty("ngIf",
|
|
252
|
+
i0.ɵɵproperty("ngIf", page_r12.active);
|
|
216
253
|
} }
|
|
217
254
|
function PaginationComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
218
|
-
i0.ɵɵelementStart(0, "span",
|
|
255
|
+
i0.ɵɵelementStart(0, "span", 14);
|
|
219
256
|
i0.ɵɵtext(1);
|
|
220
257
|
i0.ɵɵelementEnd();
|
|
221
258
|
} if (rf & 2) {
|
|
222
|
-
const
|
|
223
|
-
i0.ɵɵattribute("data-isdisabled",
|
|
259
|
+
const disabled_r13 = ctx.disabled;
|
|
260
|
+
i0.ɵɵattribute("data-isdisabled", disabled_r13);
|
|
224
261
|
i0.ɵɵadvance();
|
|
225
|
-
i0.ɵɵtextInterpolate1("Go to Previous page ",
|
|
262
|
+
i0.ɵɵtextInterpolate1("Go to Previous page ", disabled_r13 ? ", Disabled" : "", "");
|
|
226
263
|
} }
|
|
227
264
|
function PaginationComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
228
|
-
i0.ɵɵelementStart(0, "span",
|
|
265
|
+
i0.ɵɵelementStart(0, "span", 14);
|
|
229
266
|
i0.ɵɵtext(1);
|
|
230
267
|
i0.ɵɵelementEnd();
|
|
231
268
|
} if (rf & 2) {
|
|
232
|
-
const
|
|
233
|
-
i0.ɵɵattribute("data-isdisabled",
|
|
269
|
+
const disabled_r14 = ctx.disabled;
|
|
270
|
+
i0.ɵɵattribute("data-isdisabled", disabled_r14);
|
|
234
271
|
i0.ɵɵadvance();
|
|
235
|
-
i0.ɵɵtextInterpolate1("Go to Next page ",
|
|
272
|
+
i0.ɵɵtextInterpolate1("Go to Next page ", disabled_r14 ? ", Disabled" : "", "");
|
|
236
273
|
} }
|
|
237
274
|
const DEFAULT_CLS = 'app-datanavigator clearfix';
|
|
238
275
|
const WIDGET_CONFIG = { widgetType: 'wm-pagination', hostClass: DEFAULT_CLS };
|
|
@@ -759,14 +796,14 @@ class PaginationComponent extends StylableComponent {
|
|
|
759
796
|
static { this.ɵfac = function PaginationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PaginationComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(WidgetRef, 4), i0.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
760
797
|
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: PaginationComponent, selectors: [["", "wmPagination", ""]], outputs: { resultEmitter: "resultEmitter", maxResultsEmitter: "maxResultsEmitter" }, features: [i0.ɵɵProvidersFeature([
|
|
761
798
|
provideAsWidgetRef(PaginationComponent)
|
|
762
|
-
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 10, vars: 4, consts: [["pageTemplate", ""], ["prevTemplate", ""], ["nextTemplate", ""], [3, "class", 4, "ngIf"], ["class", "pagination basic", "role", "navigation", "firstText", "Firtst", "lastText", "Last", 3, "ngClass", "itemsPerPage", "totalItems", "ngModelOptions", "ngModel", "boundaryLinks", "maxSize", "directionLinks", "customPreviousTemplate", "customNextTemplate", "customPageTemplate", "pageChanged", 4, "ngIf"], ["class", "pagination", 4, "ngIf"], [3, "ngClass"], ["name", "first", "href", "javascript:void(0);", 3, "click", "title"], ["aria-hidden", "true"], [1, "wi", "wi-first-page"], [1, "sr-only"], ["name", "prev", "href", "javascript:void(0);", 3, "click", "title"], [1, "wi", "wi-chevron-left"], [1, "pagecount", "disabled"], ["href", "javascript:void(0);", "aria-label", "Change Page Number"], ["type", "number", 1, "form-control", 3, "ngModelChange", "keydown", "change", "ngModel", "disabled", "ngModelOptions"], [1, "disabled"], [3, "hidden"], ["name", "next", "href", "javascript:void(0);", 3, "click", "title"], [1, "wi", "wi-chevron-right"], ["name", "last", "href", "javascript:void(0);", 3, "click", "title"], [1, "wi", "wi-last-page"], [
|
|
763
|
-
i0.ɵɵtemplate(0, PaginationComponent_ul_0_Template,
|
|
799
|
+
]), i0.ɵɵInheritDefinitionFeature], attrs: _c0, decls: 10, vars: 4, consts: [["pageTemplate", ""], ["prevTemplate", ""], ["nextTemplate", ""], [3, "class", 4, "ngIf"], ["class", "pagination basic", "role", "navigation", "firstText", "Firtst", "lastText", "Last", 3, "ngClass", "itemsPerPage", "totalItems", "ngModelOptions", "ngModel", "boundaryLinks", "maxSize", "directionLinks", "customPreviousTemplate", "customNextTemplate", "customPageTemplate", "pageChanged", 4, "ngIf"], ["class", "pagination", 4, "ngIf"], [3, "ngClass", 4, "ngIf"], ["class", "pagecount disabled", 4, "ngIf"], ["class", "disabled", 4, "ngIf"], ["class", "totalcount disabled", 4, "ngIf"], [3, "ngClass"], ["name", "first", "href", "javascript:void(0);", 3, "click", "title"], ["aria-hidden", "true"], [1, "wi", "wi-first-page"], [1, "sr-only"], ["name", "prev", "href", "javascript:void(0);", 3, "click", "title"], [1, "wi", "wi-chevron-left"], [1, "pagecount", "disabled"], ["href", "javascript:void(0);", "aria-label", "Change Page Number"], ["type", "number", 1, "form-control", 3, "ngModelChange", "keydown", "change", "ngModel", "disabled", "ngModelOptions"], [1, "disabled"], [3, "hidden"], ["name", "next", "href", "javascript:void(0);", 3, "click", "title"], [1, "wi", "wi-chevron-right"], ["name", "last", "href", "javascript:void(0);", 3, "click", "title"], [1, "wi", "wi-last-page"], [1, "totalcount", "disabled"], ["href", "javascript:void(0);", "tabindex", "-1", "aria-disabled", "true"], [1, "previous", 3, "ngClass"], ["href", "javascript:void(0);", 3, "click"], [1, "next", 3, "ngClass"], ["role", "navigation", "firstText", "Firtst", "lastText", "Last", 1, "pagination", "basic", 3, "pageChanged", "ngClass", "itemsPerPage", "totalItems", "ngModelOptions", "ngModel", "boundaryLinks", "maxSize", "directionLinks", "customPreviousTemplate", "customNextTemplate", "customPageTemplate"], [1, "pagination"], [1, "totalcount", "disabled", "basiccount"], ["class", "sr-only", 4, "ngIf"]], template: function PaginationComponent_Template(rf, ctx) { if (rf & 1) {
|
|
800
|
+
i0.ɵɵtemplate(0, PaginationComponent_ul_0_Template, 8, 10, "ul", 3)(1, PaginationComponent_ul_1_Template, 15, 15, "ul", 3)(2, PaginationComponent_pagination_2_Template, 1, 13, "pagination", 4)(3, PaginationComponent_ul_3_Template, 4, 2, "ul", 5)(4, PaginationComponent_ng_template_4_Template, 4, 4, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor)(6, PaginationComponent_ng_template_6_Template, 2, 2, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor)(8, PaginationComponent_ng_template_8_Template, 2, 2, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
|
|
764
801
|
} if (rf & 2) {
|
|
765
802
|
i0.ɵɵproperty("ngIf", ctx.navcontrols === "Classic");
|
|
766
803
|
i0.ɵɵadvance();
|
|
767
804
|
i0.ɵɵproperty("ngIf", ctx.navcontrols === "Pager");
|
|
768
805
|
i0.ɵɵadvance();
|
|
769
|
-
i0.ɵɵproperty("ngIf", ctx.navcontrols === "Basic");
|
|
806
|
+
i0.ɵɵproperty("ngIf", ctx.navcontrols === "Basic" && !(ctx.dataSize <= ctx.maxResults));
|
|
770
807
|
i0.ɵɵadvance();
|
|
771
808
|
i0.ɵɵproperty("ngIf", ctx.navcontrols === "Basic" && ctx.showrecordcount);
|
|
772
809
|
} }, dependencies: [i1.NgClass, i1.NgIf, i2.DefaultValueAccessor, i2.NumberValueAccessor, i2.NgControlStatus, i2.NgModel, i3.PaginationComponent], encapsulation: 2 }); }
|
|
@@ -775,7 +812,7 @@ class PaginationComponent extends StylableComponent {
|
|
|
775
812
|
type: Component,
|
|
776
813
|
args: [{ selector: '[wmPagination]', providers: [
|
|
777
814
|
provideAsWidgetRef(PaginationComponent)
|
|
778
|
-
], template: "\n<ul class=\"pagination advanced {{navigationClass}}\" *ngIf=\"navcontrols === 'Classic'\">\n <li [ngClass]=\"{'disabled':isDisableFirst}\">\n <a [title]=\"appLocale.LABEL_FIRST\" name=\"first\" href=\"javascript:void(0);\"\n [attr.aria-disabled]=\"isDisableFirst\"\n (click)=\"navigatePage('first', $event)\">\n <span aria-hidden=\"true\"><i class=\"wi wi-first-page\"></i></span>\n <span class=\"sr-only\">Go to first page {{ isDisableFirst ? ' , Disabled' : ''}}</span>\n </a>\n </li>\n <li [ngClass]=\"{'disabled':isDisablePrevious}\">\n <a [title]=\"appLocale.LABEL_PREVIOUS\" name=\"prev\" href=\"javascript:void(0);\"\n [attr.aria-disabled]=\"isDisablePrevious\"\n (click)=\"navigatePage('prev', $event)\">\n <span aria-hidden=\"true\"><i class=\"wi wi-chevron-left\"></i></span>\n <span class=\"sr-only\">Go to previous page {{ isDisablePrevious ? ', Disabled' : ''}}</span>\n </a>\n </li>\n <li class=\"pagecount disabled\">\n <a href=\"javascript:void(0);\" aria-label=\"Change Page Number\">\n <input [(ngModel)]=\"dn.currentPage\" [attr.aria-label]=\"'Showing Page ' + dn.currentPage + ' of ' + pageCount\" [disabled]=\"isDisableCurrent\"\n [ngModelOptions]=\"{standalone: true}\"\n type=\"number\"\n (keydown)=\"onKeyDown($event)\" (change)=\"onModelChange($event)\" class=\"form-control\"/>\n </a>\n </li>\n <li class=\"disabled\">\n <a [hidden]=\"isDisableCount\"> / {{pageCount}}</a>\n </li>\n <li [ngClass]=\"{'disabled':isDisableNext}\">\n <a [title]=\"appLocale.LABEL_NEXT\" name=\"next\" href=\"javascript:void(0);\"\n [attr.aria-disabled]=\"isDisableNext\"\n (click)=\"navigatePage('next', $event)\">\n <span aria-hidden=\"true\"><i class=\"wi wi-chevron-right\"></i></span>\n <span class=\"sr-only\">Go to next page {{ isDisableNext ? ' , Disabled' : ''}}</span>\n </a>\n </li>\n <li [ngClass]=\"{'disabled':isDisableLast}\">\n <a [title]=\"appLocale.LABEL_LAST\" name=\"last\" href=\"javascript:void(0);\"\n [attr.aria-disabled]=\"isDisableLast\"\n (click)=\"navigatePage('last', $event)\">\n <span aria-hidden=\"true\"><i class=\"wi wi-last-page\"></i></span>\n <span class=\"sr-only\">Go to last page {{ isDisableLast ? ' , Disabled' : ''}}</span>\n </a>\n </li>\n <li *ngIf=\"showrecordcount\" class=\"totalcount disabled\">\n <a href=\"javascript:void(0);\" tabindex=\"-1\" aria-disabled=\"true\">{{appLocale.LABEL_TOTAL_RECORDS}}: {{dataSize}}</a>\n </li>\n</ul>\n<ul class=\"pager {{navigationClass}}\" *ngIf=\"navcontrols === 'Pager'\">\n <li class=\"previous\" [ngClass]=\"{'disabled':isDisablePrevious}\">\n <a href=\"javascript:void(0);\" (click)=\"navigatePage('prev', $event)\"\n [attr.aria-disabled]=\"isDisablePrevious\">\n <span aria-hidden=\"true\"><i class=\"wi wi-chevron-left\"></i></span>\n {{appLocale.LABEL_PREVIOUS}}\n <span class=\"sr-only\">{{ isDisablePrevious ? ' , Disabled' : ''}}</span>\n </a>\n </li>\n <li class=\"next\" [ngClass]=\"{'disabled':isDisableNext}\">\n <a href=\"javascript:void(0);\" (click)=\"navigatePage('next', $event)\"\n [attr.aria-disabled]=\"isDisableNext\">\n <span aria-hidden=\"true\"><i class=\"wi wi-chevron-right\"></i></span>\n {{appLocale.LABEL_NEXT}}\n <span class=\"sr-only\">{{ isDisableNext ? ' , Disabled' : ''}}</span>\n </a>\n </li>\n</ul>\n\n<pagination class=\"pagination basic\" [ngClass]=\"navigationClass\" *ngIf=\"navcontrols === 'Basic'\" role=\"navigation\"\n [itemsPerPage]=\"maxResults\" [totalItems]=\"dataSize\"\n (pageChanged)=\"pageChanged($event)\" [ngModelOptions]=\"{standalone:true}\" [ngModel]=\"dn.currentPage\"\n [attr.aria-label]=\"'Showing Page ' + dn.currentPage + ' of ' + pageCount + ' pages'\"\n [boundaryLinks]=\"boundarylinks\" [maxSize]=\"maxsize\"\n [directionLinks]=\"directionlinks\"\n firstText=\"Firtst\" lastText=\"Last\"\n [customPreviousTemplate]=\"prevTemplate\"\n [customNextTemplate]=\"nextTemplate\"\n [customPageTemplate]=\"pageTemplate\"></pagination>\n\n<ul *ngIf=\"navcontrols === 'Basic' && showrecordcount\" class=\"pagination\">\n <li class=\"totalcount disabled basiccount\">\n <a href=\"javascript:void(0);\" tabindex=\"-1\" aria-disabled=\"true\">{{appLocale.LABEL_TOTAL_RECORDS}}: {{dataSize}}</a>\n </li>\n</ul>\n\n<ng-template #pageTemplate let-page>\n <span class=\"sr-only\" [attr.data-isacitvepage]=\"page.active\">{{'Page '}}</span>\n {{page.number}}\n <span class=\"sr-only\" *ngIf=\"page.active\"> {{', Showing page ' + page.number + ' of ' + pageCount}}</span>\n</ng-template>\n<ng-template #prevTemplate let-disabled=\"disabled\">\n <span class=\"sr-only\" [attr.data-isdisabled]=\"disabled\">Go to Previous page {{disabled ? ', Disabled' : ''}}</span>\n</ng-template>\n<ng-template #nextTemplate let-disabled=\"disabled\">\n <span class=\"sr-only\" [attr.data-isdisabled]=\"disabled\">Go to Next page {{disabled ? ', Disabled' : ''}}</span>\n</ng-template>\n" }]
|
|
815
|
+
], template: "\n<ul class=\"pagination advanced {{navigationClass}}\" *ngIf=\"navcontrols === 'Classic'\">\n <li *ngIf=\"!(dataSize<=maxResults)\" [ngClass]=\"{'disabled':isDisableFirst}\">\n <a [title]=\"appLocale.LABEL_FIRST\" name=\"first\" href=\"javascript:void(0);\"\n [attr.aria-disabled]=\"isDisableFirst\"\n (click)=\"navigatePage('first', $event)\">\n <span aria-hidden=\"true\"><i class=\"wi wi-first-page\"></i></span>\n <span class=\"sr-only\">Go to first page {{ isDisableFirst ? ' , Disabled' : ''}}</span>\n </a>\n </li>\n <li *ngIf=\"!(dataSize<=maxResults)\" [ngClass]=\"{'disabled':isDisablePrevious}\">\n <a [title]=\"appLocale.LABEL_PREVIOUS\" name=\"prev\" href=\"javascript:void(0);\"\n [attr.aria-disabled]=\"isDisablePrevious\"\n (click)=\"navigatePage('prev', $event)\">\n <span aria-hidden=\"true\"><i class=\"wi wi-chevron-left\"></i></span>\n <span class=\"sr-only\">Go to previous page {{ isDisablePrevious ? ', Disabled' : ''}}</span>\n </a>\n </li>\n <li *ngIf=\"!(dataSize<=maxResults)\" class=\"pagecount disabled\">\n <a href=\"javascript:void(0);\" aria-label=\"Change Page Number\">\n <input [(ngModel)]=\"dn.currentPage\" [attr.aria-label]=\"'Showing Page ' + dn.currentPage + ' of ' + pageCount\" [disabled]=\"isDisableCurrent\"\n [ngModelOptions]=\"{standalone: true}\"\n type=\"number\"\n (keydown)=\"onKeyDown($event)\" (change)=\"onModelChange($event)\" class=\"form-control\"/>\n </a>\n </li>\n <li *ngIf=\"!(dataSize<=maxResults)\" class=\"disabled\">\n <a [hidden]=\"isDisableCount\"> / {{pageCount}}</a>\n </li>\n <li *ngIf=\"!(dataSize<=maxResults)\" [ngClass]=\"{'disabled':isDisableNext}\">\n <a [title]=\"appLocale.LABEL_NEXT\" name=\"next\" href=\"javascript:void(0);\"\n [attr.aria-disabled]=\"isDisableNext\"\n (click)=\"navigatePage('next', $event)\">\n <span aria-hidden=\"true\"><i class=\"wi wi-chevron-right\"></i></span>\n <span class=\"sr-only\">Go to next page {{ isDisableNext ? ' , Disabled' : ''}}</span>\n </a>\n </li>\n <li *ngIf=\"!(dataSize<=maxResults)\" [ngClass]=\"{'disabled':isDisableLast}\">\n <a [title]=\"appLocale.LABEL_LAST\" name=\"last\" href=\"javascript:void(0);\"\n [attr.aria-disabled]=\"isDisableLast\"\n (click)=\"navigatePage('last', $event)\">\n <span aria-hidden=\"true\"><i class=\"wi wi-last-page\"></i></span>\n <span class=\"sr-only\">Go to last page {{ isDisableLast ? ' , Disabled' : ''}}</span>\n </a>\n </li>\n <li *ngIf=\"showrecordcount\" class=\"totalcount disabled\">\n <a href=\"javascript:void(0);\" tabindex=\"-1\" aria-disabled=\"true\">{{appLocale.LABEL_TOTAL_RECORDS}}: {{dataSize}}</a>\n </li>\n</ul>\n<ul class=\"pager {{navigationClass}}\" *ngIf=\"navcontrols === 'Pager'\">\n <li class=\"previous\" [ngClass]=\"{'disabled':isDisablePrevious}\">\n <a href=\"javascript:void(0);\" (click)=\"navigatePage('prev', $event)\"\n [attr.aria-disabled]=\"isDisablePrevious\">\n <span aria-hidden=\"true\"><i class=\"wi wi-chevron-left\"></i></span>\n {{appLocale.LABEL_PREVIOUS}}\n <span class=\"sr-only\">{{ isDisablePrevious ? ' , Disabled' : ''}}</span>\n </a>\n </li>\n <li class=\"next\" [ngClass]=\"{'disabled':isDisableNext}\">\n <a href=\"javascript:void(0);\" (click)=\"navigatePage('next', $event)\"\n [attr.aria-disabled]=\"isDisableNext\">\n <span aria-hidden=\"true\"><i class=\"wi wi-chevron-right\"></i></span>\n {{appLocale.LABEL_NEXT}}\n <span class=\"sr-only\">{{ isDisableNext ? ' , Disabled' : ''}}</span>\n </a>\n </li>\n</ul>\n\n<pagination class=\"pagination basic\" [ngClass]=\"navigationClass\" *ngIf=\"navcontrols === 'Basic' && !(dataSize<=maxResults)\" role=\"navigation\"\n [itemsPerPage]=\"maxResults\" [totalItems]=\"dataSize\"\n (pageChanged)=\"pageChanged($event)\" [ngModelOptions]=\"{standalone:true}\" [ngModel]=\"dn.currentPage\"\n [attr.aria-label]=\"'Showing Page ' + dn.currentPage + ' of ' + pageCount + ' pages'\"\n [boundaryLinks]=\"boundarylinks\" [maxSize]=\"maxsize\"\n [directionLinks]=\"directionlinks\"\n firstText=\"Firtst\" lastText=\"Last\"\n [customPreviousTemplate]=\"prevTemplate\"\n [customNextTemplate]=\"nextTemplate\"\n [customPageTemplate]=\"pageTemplate\"></pagination>\n\n<ul *ngIf=\"navcontrols === 'Basic' && showrecordcount\" class=\"pagination\">\n <li class=\"totalcount disabled basiccount\">\n <a href=\"javascript:void(0);\" tabindex=\"-1\" aria-disabled=\"true\">{{appLocale.LABEL_TOTAL_RECORDS}}: {{dataSize}}</a>\n </li>\n</ul>\n\n<ng-template #pageTemplate let-page>\n <span class=\"sr-only\" [attr.data-isacitvepage]=\"page.active\">{{'Page '}}</span>\n {{page.number}}\n <span class=\"sr-only\" *ngIf=\"page.active\"> {{', Showing page ' + page.number + ' of ' + pageCount}}</span>\n</ng-template>\n<ng-template #prevTemplate let-disabled=\"disabled\">\n <span class=\"sr-only\" [attr.data-isdisabled]=\"disabled\">Go to Previous page {{disabled ? ', Disabled' : ''}}</span>\n</ng-template>\n<ng-template #nextTemplate let-disabled=\"disabled\">\n <span class=\"sr-only\" [attr.data-isdisabled]=\"disabled\">Go to Next page {{disabled ? ', Disabled' : ''}}</span>\n</ng-template>\n" }]
|
|
779
816
|
}], () => [{ type: i0.Injector }, { type: undefined, decorators: [{
|
|
780
817
|
type: SkipSelf
|
|
781
818
|
}, {
|