@wavemaker/app-ng-runtime 11.10.3-rc.6079 → 11.10.4-rc.206
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
|
@@ -48,118 +48,155 @@
|
|
|
48
48
|
const _c0 = ["wmPagination", ""];
|
|
49
49
|
const _c1 = a0 => ({ "disabled": a0 });
|
|
50
50
|
const _c2 = () => ({ standalone: true });
|
|
51
|
-
function
|
|
52
|
-
i0__namespace.ɵɵelementStart(0, "li", 23)(1, "a", 24);
|
|
53
|
-
i0__namespace.ɵɵtext(2);
|
|
54
|
-
i0__namespace.ɵɵelementEnd()();
|
|
55
|
-
} if (rf & 2) {
|
|
56
|
-
const ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
57
|
-
i0__namespace.ɵɵadvance(2);
|
|
58
|
-
i0__namespace.ɵɵtextInterpolate2("", ctx_r1.appLocale.LABEL_TOTAL_RECORDS, ": ", ctx_r1.dataSize, "");
|
|
59
|
-
} }
|
|
60
|
-
function PaginationComponent_ul_0_Template(rf, ctx) { if (rf & 1) {
|
|
51
|
+
function PaginationComponent_ul_0_li_1_Template(rf, ctx) { if (rf & 1) {
|
|
61
52
|
const _r1 = i0__namespace.ɵɵgetCurrentView();
|
|
62
|
-
i0__namespace.ɵɵelementStart(0, "
|
|
63
|
-
i0__namespace.ɵɵlistener("click", function
|
|
64
|
-
i0__namespace.ɵɵelementStart(
|
|
65
|
-
i0__namespace.ɵɵelement(
|
|
66
|
-
i0__namespace.ɵɵelementEnd();
|
|
67
|
-
i0__namespace.ɵɵelementStart(5, "span", 10);
|
|
68
|
-
i0__namespace.ɵɵtext(6);
|
|
69
|
-
i0__namespace.ɵɵelementEnd()()();
|
|
70
|
-
i0__namespace.ɵɵelementStart(7, "li", 6)(8, "a", 11);
|
|
71
|
-
i0__namespace.ɵɵlistener("click", function PaginationComponent_ul_0_Template_a_click_8_listener($event) { i0__namespace.ɵɵrestoreView(_r1); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.navigatePage("prev", $event)); });
|
|
72
|
-
i0__namespace.ɵɵelementStart(9, "span", 8);
|
|
73
|
-
i0__namespace.ɵɵelement(10, "i", 12);
|
|
53
|
+
i0__namespace.ɵɵelementStart(0, "li", 10)(1, "a", 11);
|
|
54
|
+
i0__namespace.ɵɵlistener("click", function PaginationComponent_ul_0_li_1_Template_a_click_1_listener($event) { i0__namespace.ɵɵrestoreView(_r1); const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.navigatePage("first", $event)); });
|
|
55
|
+
i0__namespace.ɵɵelementStart(2, "span", 12);
|
|
56
|
+
i0__namespace.ɵɵelement(3, "i", 13);
|
|
74
57
|
i0__namespace.ɵɵelementEnd();
|
|
75
|
-
i0__namespace.ɵɵelementStart(
|
|
76
|
-
i0__namespace.ɵɵtext(
|
|
77
|
-
i0__namespace.ɵɵelementEnd()()();
|
|
78
|
-
i0__namespace.ɵɵelementStart(13, "li", 13)(14, "a", 14)(15, "input", 15);
|
|
79
|
-
i0__namespace.ɵɵtwoWayListener("ngModelChange", function PaginationComponent_ul_0_Template_input_ngModelChange_15_listener($event) { i0__namespace.ɵɵrestoreView(_r1); const ctx_r1 = i0__namespace.ɵɵnextContext(); i0__namespace.ɵɵtwoWayBindingSet(ctx_r1.dn.currentPage, $event) || (ctx_r1.dn.currentPage = $event); return i0__namespace.ɵɵresetView($event); });
|
|
80
|
-
i0__namespace.ɵɵlistener("keydown", function PaginationComponent_ul_0_Template_input_keydown_15_listener($event) { i0__namespace.ɵɵrestoreView(_r1); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.onKeyDown($event)); })("change", function PaginationComponent_ul_0_Template_input_change_15_listener($event) { i0__namespace.ɵɵrestoreView(_r1); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.onModelChange($event)); });
|
|
81
|
-
i0__namespace.ɵɵelementEnd()()();
|
|
82
|
-
i0__namespace.ɵɵelementStart(16, "li", 16)(17, "a", 17);
|
|
83
|
-
i0__namespace.ɵɵtext(18);
|
|
84
|
-
i0__namespace.ɵɵelementEnd()();
|
|
85
|
-
i0__namespace.ɵɵelementStart(19, "li", 6)(20, "a", 18);
|
|
86
|
-
i0__namespace.ɵɵlistener("click", function PaginationComponent_ul_0_Template_a_click_20_listener($event) { i0__namespace.ɵɵrestoreView(_r1); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.navigatePage("next", $event)); });
|
|
87
|
-
i0__namespace.ɵɵelementStart(21, "span", 8);
|
|
88
|
-
i0__namespace.ɵɵelement(22, "i", 19);
|
|
89
|
-
i0__namespace.ɵɵelementEnd();
|
|
90
|
-
i0__namespace.ɵɵelementStart(23, "span", 10);
|
|
91
|
-
i0__namespace.ɵɵtext(24);
|
|
92
|
-
i0__namespace.ɵɵelementEnd()()();
|
|
93
|
-
i0__namespace.ɵɵelementStart(25, "li", 6)(26, "a", 20);
|
|
94
|
-
i0__namespace.ɵɵlistener("click", function PaginationComponent_ul_0_Template_a_click_26_listener($event) { i0__namespace.ɵɵrestoreView(_r1); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.navigatePage("last", $event)); });
|
|
95
|
-
i0__namespace.ɵɵelementStart(27, "span", 8);
|
|
96
|
-
i0__namespace.ɵɵelement(28, "i", 21);
|
|
97
|
-
i0__namespace.ɵɵelementEnd();
|
|
98
|
-
i0__namespace.ɵɵelementStart(29, "span", 10);
|
|
99
|
-
i0__namespace.ɵɵtext(30);
|
|
58
|
+
i0__namespace.ɵɵelementStart(4, "span", 14);
|
|
59
|
+
i0__namespace.ɵɵtext(5);
|
|
100
60
|
i0__namespace.ɵɵelementEnd()()();
|
|
101
|
-
i0__namespace.ɵɵtemplate(31, PaginationComponent_ul_0_li_31_Template, 3, 2, "li", 22);
|
|
102
|
-
i0__namespace.ɵɵelementEnd();
|
|
103
61
|
} if (rf & 2) {
|
|
104
|
-
const ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
105
|
-
i0__namespace.ɵɵ
|
|
106
|
-
i0__namespace.ɵɵadvance();
|
|
107
|
-
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(26, _c1, ctx_r1.isDisableFirst));
|
|
62
|
+
const ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
63
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c1, ctx_r1.isDisableFirst));
|
|
108
64
|
i0__namespace.ɵɵadvance();
|
|
109
65
|
i0__namespace.ɵɵproperty("title", ctx_r1.appLocale.LABEL_FIRST);
|
|
110
66
|
i0__namespace.ɵɵattribute("aria-disabled", ctx_r1.isDisableFirst);
|
|
111
67
|
i0__namespace.ɵɵadvance(4);
|
|
112
68
|
i0__namespace.ɵɵtextInterpolate1("Go to first page ", ctx_r1.isDisableFirst ? " , Disabled" : "", "");
|
|
113
|
-
|
|
114
|
-
|
|
69
|
+
} }
|
|
70
|
+
function PaginationComponent_ul_0_li_2_Template(rf, ctx) { if (rf & 1) {
|
|
71
|
+
const _r3 = i0__namespace.ɵɵgetCurrentView();
|
|
72
|
+
i0__namespace.ɵɵelementStart(0, "li", 10)(1, "a", 15);
|
|
73
|
+
i0__namespace.ɵɵlistener("click", function PaginationComponent_ul_0_li_2_Template_a_click_1_listener($event) { i0__namespace.ɵɵrestoreView(_r3); const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.navigatePage("prev", $event)); });
|
|
74
|
+
i0__namespace.ɵɵelementStart(2, "span", 12);
|
|
75
|
+
i0__namespace.ɵɵelement(3, "i", 16);
|
|
76
|
+
i0__namespace.ɵɵelementEnd();
|
|
77
|
+
i0__namespace.ɵɵelementStart(4, "span", 14);
|
|
78
|
+
i0__namespace.ɵɵtext(5);
|
|
79
|
+
i0__namespace.ɵɵelementEnd()()();
|
|
80
|
+
} if (rf & 2) {
|
|
81
|
+
const ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
82
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c1, ctx_r1.isDisablePrevious));
|
|
115
83
|
i0__namespace.ɵɵadvance();
|
|
116
84
|
i0__namespace.ɵɵproperty("title", ctx_r1.appLocale.LABEL_PREVIOUS);
|
|
117
85
|
i0__namespace.ɵɵattribute("aria-disabled", ctx_r1.isDisablePrevious);
|
|
118
86
|
i0__namespace.ɵɵadvance(4);
|
|
119
87
|
i0__namespace.ɵɵtextInterpolate1("Go to previous page ", ctx_r1.isDisablePrevious ? ", Disabled" : "", "");
|
|
120
|
-
|
|
88
|
+
} }
|
|
89
|
+
function PaginationComponent_ul_0_li_3_Template(rf, ctx) { if (rf & 1) {
|
|
90
|
+
const _r4 = i0__namespace.ɵɵgetCurrentView();
|
|
91
|
+
i0__namespace.ɵɵelementStart(0, "li", 17)(1, "a", 18)(2, "input", 19);
|
|
92
|
+
i0__namespace.ɵɵtwoWayListener("ngModelChange", function PaginationComponent_ul_0_li_3_Template_input_ngModelChange_2_listener($event) { i0__namespace.ɵɵrestoreView(_r4); const ctx_r1 = i0__namespace.ɵɵnextContext(2); i0__namespace.ɵɵtwoWayBindingSet(ctx_r1.dn.currentPage, $event) || (ctx_r1.dn.currentPage = $event); return i0__namespace.ɵɵresetView($event); });
|
|
93
|
+
i0__namespace.ɵɵlistener("keydown", function PaginationComponent_ul_0_li_3_Template_input_keydown_2_listener($event) { i0__namespace.ɵɵrestoreView(_r4); const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.onKeyDown($event)); })("change", function PaginationComponent_ul_0_li_3_Template_input_change_2_listener($event) { i0__namespace.ɵɵrestoreView(_r4); const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.onModelChange($event)); });
|
|
94
|
+
i0__namespace.ɵɵelementEnd()()();
|
|
95
|
+
} if (rf & 2) {
|
|
96
|
+
const ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
97
|
+
i0__namespace.ɵɵadvance(2);
|
|
121
98
|
i0__namespace.ɵɵtwoWayProperty("ngModel", ctx_r1.dn.currentPage);
|
|
122
|
-
i0__namespace.ɵɵproperty("disabled", ctx_r1.isDisableCurrent)("ngModelOptions", i0__namespace.ɵɵpureFunction0(
|
|
99
|
+
i0__namespace.ɵɵproperty("disabled", ctx_r1.isDisableCurrent)("ngModelOptions", i0__namespace.ɵɵpureFunction0(4, _c2));
|
|
123
100
|
i0__namespace.ɵɵattribute("aria-label", "Showing Page " + ctx_r1.dn.currentPage + " of " + ctx_r1.pageCount);
|
|
124
|
-
|
|
101
|
+
} }
|
|
102
|
+
function PaginationComponent_ul_0_li_4_Template(rf, ctx) { if (rf & 1) {
|
|
103
|
+
i0__namespace.ɵɵelementStart(0, "li", 20)(1, "a", 21);
|
|
104
|
+
i0__namespace.ɵɵtext(2);
|
|
105
|
+
i0__namespace.ɵɵelementEnd()();
|
|
106
|
+
} if (rf & 2) {
|
|
107
|
+
const ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
108
|
+
i0__namespace.ɵɵadvance();
|
|
125
109
|
i0__namespace.ɵɵproperty("hidden", ctx_r1.isDisableCount);
|
|
126
110
|
i0__namespace.ɵɵadvance();
|
|
127
111
|
i0__namespace.ɵɵtextInterpolate1(" / ", ctx_r1.pageCount, "");
|
|
128
|
-
|
|
129
|
-
|
|
112
|
+
} }
|
|
113
|
+
function PaginationComponent_ul_0_li_5_Template(rf, ctx) { if (rf & 1) {
|
|
114
|
+
const _r5 = i0__namespace.ɵɵgetCurrentView();
|
|
115
|
+
i0__namespace.ɵɵelementStart(0, "li", 10)(1, "a", 22);
|
|
116
|
+
i0__namespace.ɵɵlistener("click", function PaginationComponent_ul_0_li_5_Template_a_click_1_listener($event) { i0__namespace.ɵɵrestoreView(_r5); const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.navigatePage("next", $event)); });
|
|
117
|
+
i0__namespace.ɵɵelementStart(2, "span", 12);
|
|
118
|
+
i0__namespace.ɵɵelement(3, "i", 23);
|
|
119
|
+
i0__namespace.ɵɵelementEnd();
|
|
120
|
+
i0__namespace.ɵɵelementStart(4, "span", 14);
|
|
121
|
+
i0__namespace.ɵɵtext(5);
|
|
122
|
+
i0__namespace.ɵɵelementEnd()()();
|
|
123
|
+
} if (rf & 2) {
|
|
124
|
+
const ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
125
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c1, ctx_r1.isDisableNext));
|
|
130
126
|
i0__namespace.ɵɵadvance();
|
|
131
127
|
i0__namespace.ɵɵproperty("title", ctx_r1.appLocale.LABEL_NEXT);
|
|
132
128
|
i0__namespace.ɵɵattribute("aria-disabled", ctx_r1.isDisableNext);
|
|
133
129
|
i0__namespace.ɵɵadvance(4);
|
|
134
130
|
i0__namespace.ɵɵtextInterpolate1("Go to next page ", ctx_r1.isDisableNext ? " , Disabled" : "", "");
|
|
135
|
-
|
|
136
|
-
|
|
131
|
+
} }
|
|
132
|
+
function PaginationComponent_ul_0_li_6_Template(rf, ctx) { if (rf & 1) {
|
|
133
|
+
const _r6 = i0__namespace.ɵɵgetCurrentView();
|
|
134
|
+
i0__namespace.ɵɵelementStart(0, "li", 10)(1, "a", 24);
|
|
135
|
+
i0__namespace.ɵɵlistener("click", function PaginationComponent_ul_0_li_6_Template_a_click_1_listener($event) { i0__namespace.ɵɵrestoreView(_r6); const ctx_r1 = i0__namespace.ɵɵnextContext(2); return i0__namespace.ɵɵresetView(ctx_r1.navigatePage("last", $event)); });
|
|
136
|
+
i0__namespace.ɵɵelementStart(2, "span", 12);
|
|
137
|
+
i0__namespace.ɵɵelement(3, "i", 25);
|
|
138
|
+
i0__namespace.ɵɵelementEnd();
|
|
139
|
+
i0__namespace.ɵɵelementStart(4, "span", 14);
|
|
140
|
+
i0__namespace.ɵɵtext(5);
|
|
141
|
+
i0__namespace.ɵɵelementEnd()()();
|
|
142
|
+
} if (rf & 2) {
|
|
143
|
+
const ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
144
|
+
i0__namespace.ɵɵproperty("ngClass", i0__namespace.ɵɵpureFunction1(4, _c1, ctx_r1.isDisableLast));
|
|
137
145
|
i0__namespace.ɵɵadvance();
|
|
138
146
|
i0__namespace.ɵɵproperty("title", ctx_r1.appLocale.LABEL_LAST);
|
|
139
147
|
i0__namespace.ɵɵattribute("aria-disabled", ctx_r1.isDisableLast);
|
|
140
148
|
i0__namespace.ɵɵadvance(4);
|
|
141
149
|
i0__namespace.ɵɵtextInterpolate1("Go to last page ", ctx_r1.isDisableLast ? " , Disabled" : "", "");
|
|
150
|
+
} }
|
|
151
|
+
function PaginationComponent_ul_0_li_7_Template(rf, ctx) { if (rf & 1) {
|
|
152
|
+
i0__namespace.ɵɵelementStart(0, "li", 26)(1, "a", 27);
|
|
153
|
+
i0__namespace.ɵɵtext(2);
|
|
154
|
+
i0__namespace.ɵɵelementEnd()();
|
|
155
|
+
} if (rf & 2) {
|
|
156
|
+
const ctx_r1 = i0__namespace.ɵɵnextContext(2);
|
|
157
|
+
i0__namespace.ɵɵadvance(2);
|
|
158
|
+
i0__namespace.ɵɵtextInterpolate2("", ctx_r1.appLocale.LABEL_TOTAL_RECORDS, ": ", ctx_r1.dataSize, "");
|
|
159
|
+
} }
|
|
160
|
+
function PaginationComponent_ul_0_Template(rf, ctx) { if (rf & 1) {
|
|
161
|
+
i0__namespace.ɵɵelementStart(0, "ul");
|
|
162
|
+
i0__namespace.ɵɵ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);
|
|
163
|
+
i0__namespace.ɵɵelementEnd();
|
|
164
|
+
} if (rf & 2) {
|
|
165
|
+
const ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
166
|
+
i0__namespace.ɵɵclassMapInterpolate1("pagination advanced ", ctx_r1.navigationClass, "");
|
|
167
|
+
i0__namespace.ɵɵadvance();
|
|
168
|
+
i0__namespace.ɵɵproperty("ngIf", !(ctx_r1.dataSize <= ctx_r1.maxResults));
|
|
169
|
+
i0__namespace.ɵɵadvance();
|
|
170
|
+
i0__namespace.ɵɵproperty("ngIf", !(ctx_r1.dataSize <= ctx_r1.maxResults));
|
|
171
|
+
i0__namespace.ɵɵadvance();
|
|
172
|
+
i0__namespace.ɵɵproperty("ngIf", !(ctx_r1.dataSize <= ctx_r1.maxResults));
|
|
173
|
+
i0__namespace.ɵɵadvance();
|
|
174
|
+
i0__namespace.ɵɵproperty("ngIf", !(ctx_r1.dataSize <= ctx_r1.maxResults));
|
|
175
|
+
i0__namespace.ɵɵadvance();
|
|
176
|
+
i0__namespace.ɵɵproperty("ngIf", !(ctx_r1.dataSize <= ctx_r1.maxResults));
|
|
177
|
+
i0__namespace.ɵɵadvance();
|
|
178
|
+
i0__namespace.ɵɵproperty("ngIf", !(ctx_r1.dataSize <= ctx_r1.maxResults));
|
|
142
179
|
i0__namespace.ɵɵadvance();
|
|
143
180
|
i0__namespace.ɵɵproperty("ngIf", ctx_r1.showrecordcount);
|
|
144
181
|
} }
|
|
145
182
|
function PaginationComponent_ul_1_Template(rf, ctx) { if (rf & 1) {
|
|
146
|
-
const
|
|
147
|
-
i0__namespace.ɵɵelementStart(0, "ul")(1, "li",
|
|
148
|
-
i0__namespace.ɵɵlistener("click", function PaginationComponent_ul_1_Template_a_click_2_listener($event) { i0__namespace.ɵɵrestoreView(
|
|
149
|
-
i0__namespace.ɵɵelementStart(3, "span",
|
|
150
|
-
i0__namespace.ɵɵelement(4, "i",
|
|
183
|
+
const _r7 = i0__namespace.ɵɵgetCurrentView();
|
|
184
|
+
i0__namespace.ɵɵelementStart(0, "ul")(1, "li", 28)(2, "a", 29);
|
|
185
|
+
i0__namespace.ɵɵlistener("click", function PaginationComponent_ul_1_Template_a_click_2_listener($event) { i0__namespace.ɵɵrestoreView(_r7); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.navigatePage("prev", $event)); });
|
|
186
|
+
i0__namespace.ɵɵelementStart(3, "span", 12);
|
|
187
|
+
i0__namespace.ɵɵelement(4, "i", 16);
|
|
151
188
|
i0__namespace.ɵɵelementEnd();
|
|
152
189
|
i0__namespace.ɵɵtext(5);
|
|
153
|
-
i0__namespace.ɵɵelementStart(6, "span",
|
|
190
|
+
i0__namespace.ɵɵelementStart(6, "span", 14);
|
|
154
191
|
i0__namespace.ɵɵtext(7);
|
|
155
192
|
i0__namespace.ɵɵelementEnd()()();
|
|
156
|
-
i0__namespace.ɵɵelementStart(8, "li",
|
|
157
|
-
i0__namespace.ɵɵlistener("click", function PaginationComponent_ul_1_Template_a_click_9_listener($event) { i0__namespace.ɵɵrestoreView(
|
|
158
|
-
i0__namespace.ɵɵelementStart(10, "span",
|
|
159
|
-
i0__namespace.ɵɵelement(11, "i",
|
|
193
|
+
i0__namespace.ɵɵelementStart(8, "li", 30)(9, "a", 29);
|
|
194
|
+
i0__namespace.ɵɵlistener("click", function PaginationComponent_ul_1_Template_a_click_9_listener($event) { i0__namespace.ɵɵrestoreView(_r7); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.navigatePage("next", $event)); });
|
|
195
|
+
i0__namespace.ɵɵelementStart(10, "span", 12);
|
|
196
|
+
i0__namespace.ɵɵelement(11, "i", 23);
|
|
160
197
|
i0__namespace.ɵɵelementEnd();
|
|
161
198
|
i0__namespace.ɵɵtext(12);
|
|
162
|
-
i0__namespace.ɵɵelementStart(13, "span",
|
|
199
|
+
i0__namespace.ɵɵelementStart(13, "span", 14);
|
|
163
200
|
i0__namespace.ɵɵtext(14);
|
|
164
201
|
i0__namespace.ɵɵelementEnd()()()();
|
|
165
202
|
} if (rf & 2) {
|
|
@@ -183,20 +220,20 @@
|
|
|
183
220
|
i0__namespace.ɵɵtextInterpolate(ctx_r1.isDisableNext ? " , Disabled" : "");
|
|
184
221
|
} }
|
|
185
222
|
function PaginationComponent_pagination_2_Template(rf, ctx) { if (rf & 1) {
|
|
186
|
-
const
|
|
187
|
-
i0__namespace.ɵɵelementStart(0, "pagination",
|
|
188
|
-
i0__namespace.ɵɵlistener("pageChanged", function PaginationComponent_pagination_2_Template_pagination_pageChanged_0_listener($event) { i0__namespace.ɵɵrestoreView(
|
|
223
|
+
const _r8 = i0__namespace.ɵɵgetCurrentView();
|
|
224
|
+
i0__namespace.ɵɵelementStart(0, "pagination", 31);
|
|
225
|
+
i0__namespace.ɵɵlistener("pageChanged", function PaginationComponent_pagination_2_Template_pagination_pageChanged_0_listener($event) { i0__namespace.ɵɵrestoreView(_r8); const ctx_r1 = i0__namespace.ɵɵnextContext(); return i0__namespace.ɵɵresetView(ctx_r1.pageChanged($event)); });
|
|
189
226
|
i0__namespace.ɵɵelementEnd();
|
|
190
227
|
} if (rf & 2) {
|
|
191
228
|
const ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
192
|
-
const
|
|
193
|
-
const
|
|
194
|
-
const
|
|
195
|
-
i0__namespace.ɵɵproperty("ngClass", ctx_r1.navigationClass)("itemsPerPage", ctx_r1.maxResults)("totalItems", ctx_r1.dataSize)("ngModelOptions", i0__namespace.ɵɵpureFunction0(12, _c2))("ngModel", ctx_r1.dn.currentPage)("boundaryLinks", ctx_r1.boundarylinks)("maxSize", ctx_r1.maxsize)("directionLinks", ctx_r1.directionlinks)("customPreviousTemplate",
|
|
229
|
+
const pageTemplate_r9 = i0__namespace.ɵɵreference(5);
|
|
230
|
+
const prevTemplate_r10 = i0__namespace.ɵɵreference(7);
|
|
231
|
+
const nextTemplate_r11 = i0__namespace.ɵɵreference(9);
|
|
232
|
+
i0__namespace.ɵɵproperty("ngClass", ctx_r1.navigationClass)("itemsPerPage", ctx_r1.maxResults)("totalItems", ctx_r1.dataSize)("ngModelOptions", i0__namespace.ɵɵ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);
|
|
196
233
|
i0__namespace.ɵɵattribute("aria-label", "Showing Page " + ctx_r1.dn.currentPage + " of " + ctx_r1.pageCount + " pages");
|
|
197
234
|
} }
|
|
198
235
|
function PaginationComponent_ul_3_Template(rf, ctx) { if (rf & 1) {
|
|
199
|
-
i0__namespace.ɵɵelementStart(0, "ul",
|
|
236
|
+
i0__namespace.ɵɵelementStart(0, "ul", 32)(1, "li", 33)(2, "a", 27);
|
|
200
237
|
i0__namespace.ɵɵtext(3);
|
|
201
238
|
i0__namespace.ɵɵelementEnd()()();
|
|
202
239
|
} if (rf & 2) {
|
|
@@ -205,50 +242,50 @@
|
|
|
205
242
|
i0__namespace.ɵɵtextInterpolate2("", ctx_r1.appLocale.LABEL_TOTAL_RECORDS, ": ", ctx_r1.dataSize, "");
|
|
206
243
|
} }
|
|
207
244
|
function PaginationComponent_ng_template_4_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
208
|
-
i0__namespace.ɵɵelementStart(0, "span",
|
|
245
|
+
i0__namespace.ɵɵelementStart(0, "span", 14);
|
|
209
246
|
i0__namespace.ɵɵtext(1);
|
|
210
247
|
i0__namespace.ɵɵelementEnd();
|
|
211
248
|
} if (rf & 2) {
|
|
212
|
-
const
|
|
249
|
+
const page_r12 = i0__namespace.ɵɵnextContext().$implicit;
|
|
213
250
|
const ctx_r1 = i0__namespace.ɵɵnextContext();
|
|
214
251
|
i0__namespace.ɵɵadvance();
|
|
215
|
-
i0__namespace.ɵɵtextInterpolate1(" ", ", Showing page " +
|
|
252
|
+
i0__namespace.ɵɵtextInterpolate1(" ", ", Showing page " + page_r12.number + " of " + ctx_r1.pageCount, "");
|
|
216
253
|
} }
|
|
217
254
|
function PaginationComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
218
|
-
i0__namespace.ɵɵelementStart(0, "span",
|
|
255
|
+
i0__namespace.ɵɵelementStart(0, "span", 14);
|
|
219
256
|
i0__namespace.ɵɵtext(1);
|
|
220
257
|
i0__namespace.ɵɵelementEnd();
|
|
221
258
|
i0__namespace.ɵɵtext(2);
|
|
222
|
-
i0__namespace.ɵɵtemplate(3, PaginationComponent_ng_template_4_span_3_Template, 2, 1, "span",
|
|
259
|
+
i0__namespace.ɵɵtemplate(3, PaginationComponent_ng_template_4_span_3_Template, 2, 1, "span", 34);
|
|
223
260
|
} if (rf & 2) {
|
|
224
|
-
const
|
|
225
|
-
i0__namespace.ɵɵattribute("data-isacitvepage",
|
|
261
|
+
const page_r12 = ctx.$implicit;
|
|
262
|
+
i0__namespace.ɵɵattribute("data-isacitvepage", page_r12.active);
|
|
226
263
|
i0__namespace.ɵɵadvance();
|
|
227
264
|
i0__namespace.ɵɵtextInterpolate("Page ");
|
|
228
265
|
i0__namespace.ɵɵadvance();
|
|
229
|
-
i0__namespace.ɵɵtextInterpolate1(" ",
|
|
266
|
+
i0__namespace.ɵɵtextInterpolate1(" ", page_r12.number, " ");
|
|
230
267
|
i0__namespace.ɵɵadvance();
|
|
231
|
-
i0__namespace.ɵɵproperty("ngIf",
|
|
268
|
+
i0__namespace.ɵɵproperty("ngIf", page_r12.active);
|
|
232
269
|
} }
|
|
233
270
|
function PaginationComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
234
|
-
i0__namespace.ɵɵelementStart(0, "span",
|
|
271
|
+
i0__namespace.ɵɵelementStart(0, "span", 14);
|
|
235
272
|
i0__namespace.ɵɵtext(1);
|
|
236
273
|
i0__namespace.ɵɵelementEnd();
|
|
237
274
|
} if (rf & 2) {
|
|
238
|
-
const
|
|
239
|
-
i0__namespace.ɵɵattribute("data-isdisabled",
|
|
275
|
+
const disabled_r13 = ctx.disabled;
|
|
276
|
+
i0__namespace.ɵɵattribute("data-isdisabled", disabled_r13);
|
|
240
277
|
i0__namespace.ɵɵadvance();
|
|
241
|
-
i0__namespace.ɵɵtextInterpolate1("Go to Previous page ",
|
|
278
|
+
i0__namespace.ɵɵtextInterpolate1("Go to Previous page ", disabled_r13 ? ", Disabled" : "", "");
|
|
242
279
|
} }
|
|
243
280
|
function PaginationComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
244
|
-
i0__namespace.ɵɵelementStart(0, "span",
|
|
281
|
+
i0__namespace.ɵɵelementStart(0, "span", 14);
|
|
245
282
|
i0__namespace.ɵɵtext(1);
|
|
246
283
|
i0__namespace.ɵɵelementEnd();
|
|
247
284
|
} if (rf & 2) {
|
|
248
|
-
const
|
|
249
|
-
i0__namespace.ɵɵattribute("data-isdisabled",
|
|
285
|
+
const disabled_r14 = ctx.disabled;
|
|
286
|
+
i0__namespace.ɵɵattribute("data-isdisabled", disabled_r14);
|
|
250
287
|
i0__namespace.ɵɵadvance();
|
|
251
|
-
i0__namespace.ɵɵtextInterpolate1("Go to Next page ",
|
|
288
|
+
i0__namespace.ɵɵtextInterpolate1("Go to Next page ", disabled_r14 ? ", Disabled" : "", "");
|
|
252
289
|
} }
|
|
253
290
|
const DEFAULT_CLS = 'app-datanavigator clearfix';
|
|
254
291
|
const WIDGET_CONFIG = { widgetType: 'wm-pagination', hostClass: DEFAULT_CLS };
|
|
@@ -768,14 +805,14 @@
|
|
|
768
805
|
static { this.ɵfac = function PaginationComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PaginationComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.Injector), i0__namespace.ɵɵdirectiveInject(base.WidgetRef, 4), i0__namespace.ɵɵdirectiveInject('EXPLICIT_CONTEXT', 8)); }; }
|
|
769
806
|
static { this.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: PaginationComponent, selectors: [["", "wmPagination", ""]], outputs: { resultEmitter: "resultEmitter", maxResultsEmitter: "maxResultsEmitter" }, features: [i0__namespace.ɵɵProvidersFeature([
|
|
770
807
|
base.provideAsWidgetRef(PaginationComponent)
|
|
771
|
-
]), i0__namespace.ɵɵ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"], [
|
|
772
|
-
i0__namespace.ɵɵtemplate(0, PaginationComponent_ul_0_Template,
|
|
808
|
+
]), i0__namespace.ɵɵ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) {
|
|
809
|
+
i0__namespace.ɵɵ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__namespace.ɵɵtemplateRefExtractor)(6, PaginationComponent_ng_template_6_Template, 2, 2, "ng-template", null, 1, i0__namespace.ɵɵtemplateRefExtractor)(8, PaginationComponent_ng_template_8_Template, 2, 2, "ng-template", null, 2, i0__namespace.ɵɵtemplateRefExtractor);
|
|
773
810
|
} if (rf & 2) {
|
|
774
811
|
i0__namespace.ɵɵproperty("ngIf", ctx.navcontrols === "Classic");
|
|
775
812
|
i0__namespace.ɵɵadvance();
|
|
776
813
|
i0__namespace.ɵɵproperty("ngIf", ctx.navcontrols === "Pager");
|
|
777
814
|
i0__namespace.ɵɵadvance();
|
|
778
|
-
i0__namespace.ɵɵproperty("ngIf", ctx.navcontrols === "Basic");
|
|
815
|
+
i0__namespace.ɵɵproperty("ngIf", ctx.navcontrols === "Basic" && !(ctx.dataSize <= ctx.maxResults));
|
|
779
816
|
i0__namespace.ɵɵadvance();
|
|
780
817
|
i0__namespace.ɵɵproperty("ngIf", ctx.navcontrols === "Basic" && ctx.showrecordcount);
|
|
781
818
|
} }, dependencies: [i1__namespace.NgClass, i1__namespace.NgIf, i2__namespace.DefaultValueAccessor, i2__namespace.NumberValueAccessor, i2__namespace.NgControlStatus, i2__namespace.NgModel, i3__namespace.PaginationComponent], encapsulation: 2 }); }
|
|
@@ -784,7 +821,7 @@
|
|
|
784
821
|
type: i0.Component,
|
|
785
822
|
args: [{ selector: '[wmPagination]', providers: [
|
|
786
823
|
base.provideAsWidgetRef(PaginationComponent)
|
|
787
|
-
], 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" }]
|
|
824
|
+
], 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" }]
|
|
788
825
|
}], () => [{ type: i0__namespace.Injector }, { type: undefined, decorators: [{
|
|
789
826
|
type: i0.SkipSelf
|
|
790
827
|
}, {
|