marketplacepos 2.2.9 → 2.3.2

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.
Files changed (75) hide show
  1. package/Marketplace/1.b49e619a73fb2a86.js +1 -0
  2. package/Marketplace/115.44f051b23469a3a3.js +1 -0
  3. package/Marketplace/22.3829c474fb5bad35.js +1 -0
  4. package/Marketplace/285.17f6cbef78acd327.js +1 -0
  5. package/Marketplace/3rdpartylicenses.txt +517 -0
  6. package/Marketplace/46.3815daacf4a89802.js +1 -0
  7. package/Marketplace/466.fd29b7965d5e28a4.js +1 -0
  8. package/Marketplace/472.8a5a65585a8eae0d.js +1 -0
  9. package/Marketplace/512.eddb4675a9016de6.js +1 -0
  10. package/Marketplace/518.c5dbfdd31a6ddcfc.js +1 -0
  11. package/Marketplace/585.c93552ac67f4550c.js +1 -0
  12. package/Marketplace/6.fc79ecc0c0a33462.js +1 -0
  13. package/Marketplace/61.6bf2570c9c03e65d.js +1 -0
  14. package/Marketplace/616.507588c0a5d7b9e1.js +1 -0
  15. package/Marketplace/717.62ca448a74adc1c2.js +1 -0
  16. package/Marketplace/739.82b92600f9519019.js +1 -0
  17. package/Marketplace/763.698000c82516136b.js +1 -0
  18. package/Marketplace/767.0ce42314dea8dfea.js +1 -0
  19. package/Marketplace/796.3be8ad424aad7864.js +1 -0
  20. package/Marketplace/common.34d3e7dcd2b85c7a.js +1 -0
  21. package/Marketplace/index.html +22 -23
  22. package/Marketplace/main.efbf88d695aa7333.js +1 -0
  23. package/Marketplace/polyfills.8d85b0533e3f867a.js +1 -0
  24. package/Marketplace/runtime.483da6b9bc6293f4.js +1 -0
  25. package/Marketplace/scripts.512baec01df5d79f.js +1 -0
  26. package/Marketplace/styles.44d414097ff92971.css +39 -0
  27. package/package.json +1 -1
  28. package/Marketplace/common.js +0 -46
  29. package/Marketplace/common.js.map +0 -1
  30. package/Marketplace/default-node_modules_angular_forms_fesm2020_forms_mjs.js +0 -9551
  31. package/Marketplace/default-node_modules_angular_forms_fesm2020_forms_mjs.js.map +0 -1
  32. package/Marketplace/default-node_modules_angular_material_fesm2020_paginator_mjs.js +0 -797
  33. package/Marketplace/default-node_modules_angular_material_fesm2020_paginator_mjs.js.map +0 -1
  34. package/Marketplace/default-node_modules_ng-select_ng-select_fesm2020_ng-select-ng-select_mjs.js +0 -4632
  35. package/Marketplace/default-node_modules_ng-select_ng-select_fesm2020_ng-select-ng-select_mjs.js.map +0 -1
  36. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_date-e7a231.js +0 -6836
  37. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_date-e7a231.js.map +0 -1
  38. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_slid-566c11.js +0 -722
  39. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_slid-566c11.js.map +0 -1
  40. package/Marketplace/default-src_app_sharing-module_datepicker_datepicker_component_ts.js +0 -19951
  41. package/Marketplace/default-src_app_sharing-module_datepicker_datepicker_component_ts.js.map +0 -1
  42. package/Marketplace/main.js +0 -617
  43. package/Marketplace/main.js.map +0 -1
  44. package/Marketplace/polyfills.js +0 -3398
  45. package/Marketplace/polyfills.js.map +0 -1
  46. package/Marketplace/runtime.js +0 -346
  47. package/Marketplace/runtime.js.map +0 -1
  48. package/Marketplace/scripts.js +0 -2634
  49. package/Marketplace/scripts.js.map +0 -1
  50. package/Marketplace/src_app_login_login_module_ts.js +0 -538
  51. package/Marketplace/src_app_login_login_module_ts.js.map +0 -1
  52. package/Marketplace/src_app_menu_ReportOrder_report_module_ts.js +0 -1060
  53. package/Marketplace/src_app_menu_ReportOrder_report_module_ts.js.map +0 -1
  54. package/Marketplace/src_app_menu_channels_channels_module_ts.js +0 -9710
  55. package/Marketplace/src_app_menu_channels_channels_module_ts.js.map +0 -1
  56. package/Marketplace/src_app_menu_inventory_inventory_module_ts.js +0 -1069
  57. package/Marketplace/src_app_menu_inventory_inventory_module_ts.js.map +0 -1
  58. package/Marketplace/src_app_menu_logistic_logistic_module_ts.js +0 -232
  59. package/Marketplace/src_app_menu_logistic_logistic_module_ts.js.map +0 -1
  60. package/Marketplace/src_app_menu_menu_module_ts.js +0 -38973
  61. package/Marketplace/src_app_menu_menu_module_ts.js.map +0 -1
  62. package/Marketplace/src_app_menu_notification_notification_module_ts.js +0 -192
  63. package/Marketplace/src_app_menu_notification_notification_module_ts.js.map +0 -1
  64. package/Marketplace/src_app_menu_object-log_logs_module_ts.js +0 -1997
  65. package/Marketplace/src_app_menu_object-log_logs_module_ts.js.map +0 -1
  66. package/Marketplace/src_app_menu_orders_orders_module_ts.js +0 -2449
  67. package/Marketplace/src_app_menu_orders_orders_module_ts.js.map +0 -1
  68. package/Marketplace/src_app_menu_price_price_module_ts.js +0 -1713
  69. package/Marketplace/src_app_menu_price_price_module_ts.js.map +0 -1
  70. package/Marketplace/src_app_menu_products_product_module_ts.js +0 -2196
  71. package/Marketplace/src_app_menu_products_product_module_ts.js.map +0 -1
  72. package/Marketplace/styles.css +0 -30612
  73. package/Marketplace/styles.css.map +0 -1
  74. package/Marketplace/vendor.js +0 -71753
  75. package/Marketplace/vendor.js.map +0 -1
@@ -1,797 +0,0 @@
1
- "use strict";
2
- (self["webpackChunkpos_marketplace"] = self["webpackChunkpos_marketplace"] || []).push([["default-node_modules_angular_material_fesm2020_paginator_mjs"],{
3
-
4
- /***/ 6060:
5
- /*!***************************************************************!*\
6
- !*** ./node_modules/@angular/material/fesm2020/paginator.mjs ***!
7
- \***************************************************************/
8
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
9
-
10
- __webpack_require__.r(__webpack_exports__);
11
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
12
- /* harmony export */ "MAT_PAGINATOR_DEFAULT_OPTIONS": () => (/* binding */ MAT_PAGINATOR_DEFAULT_OPTIONS),
13
- /* harmony export */ "MAT_PAGINATOR_INTL_PROVIDER": () => (/* binding */ MAT_PAGINATOR_INTL_PROVIDER),
14
- /* harmony export */ "MAT_PAGINATOR_INTL_PROVIDER_FACTORY": () => (/* binding */ MAT_PAGINATOR_INTL_PROVIDER_FACTORY),
15
- /* harmony export */ "MatPaginator": () => (/* binding */ MatPaginator),
16
- /* harmony export */ "MatPaginatorIntl": () => (/* binding */ MatPaginatorIntl),
17
- /* harmony export */ "MatPaginatorModule": () => (/* binding */ MatPaginatorModule),
18
- /* harmony export */ "PageEvent": () => (/* binding */ PageEvent),
19
- /* harmony export */ "_MatPaginatorBase": () => (/* binding */ _MatPaginatorBase)
20
- /* harmony export */ });
21
- /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/common */ 4666);
22
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 2560);
23
- /* harmony import */ var _angular_material_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material/core */ 9121);
24
- /* harmony import */ var _angular_material_button__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/material/button */ 4522);
25
- /* harmony import */ var _angular_material_select__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @angular/material/select */ 7371);
26
- /* harmony import */ var _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! @angular/material/tooltip */ 6896);
27
- /* harmony import */ var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/cdk/coercion */ 8971);
28
- /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ 228);
29
- /* harmony import */ var _angular_material_form_field__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/material/form-field */ 5074);
30
-
31
-
32
-
33
-
34
-
35
-
36
-
37
-
38
-
39
-
40
-
41
-
42
-
43
-
44
-
45
- /**
46
- * @license
47
- * Copyright Google LLC All Rights Reserved.
48
- *
49
- * Use of this source code is governed by an MIT-style license that can be
50
- * found in the LICENSE file at https://angular.io/license
51
- */
52
-
53
- /**
54
- * To modify the labels and text displayed, create a new instance of MatPaginatorIntl and
55
- * include it in a custom provider
56
- */
57
-
58
- function MatPaginator_div_2_mat_form_field_3_mat_option_2_Template(rf, ctx) {
59
- if (rf & 1) {
60
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-option", 19);
61
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
62
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
63
- }
64
-
65
- if (rf & 2) {
66
- const pageSizeOption_r6 = ctx.$implicit;
67
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", pageSizeOption_r6);
68
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
69
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", pageSizeOption_r6, " ");
70
- }
71
- }
72
-
73
- function MatPaginator_div_2_mat_form_field_3_Template(rf, ctx) {
74
- if (rf & 1) {
75
- const _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
76
-
77
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "mat-form-field", 16)(1, "mat-select", 17);
78
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("selectionChange", function MatPaginator_div_2_mat_form_field_3_Template_mat_select_selectionChange_1_listener($event) {
79
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r8);
80
- const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
81
- return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r7._changePageSize($event.value));
82
- });
83
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, MatPaginator_div_2_mat_form_field_3_mat_option_2_Template, 2, 2, "mat-option", 18);
84
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
85
- }
86
-
87
- if (rf & 2) {
88
- const ctx_r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
89
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("appearance", ctx_r3._formFieldAppearance)("color", ctx_r3.color);
90
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
91
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("value", ctx_r3.pageSize)("disabled", ctx_r3.disabled)("panelClass", ctx_r3.selectConfig.panelClass || "")("disableOptionCentering", ctx_r3.selectConfig.disableOptionCentering)("aria-label", ctx_r3._intl.itemsPerPageLabel);
92
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
93
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx_r3._displayedPageSizeOptions);
94
- }
95
- }
96
-
97
- function MatPaginator_div_2_div_4_Template(rf, ctx) {
98
- if (rf & 1) {
99
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 20);
100
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1);
101
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
102
- }
103
-
104
- if (rf & 2) {
105
- const ctx_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](2);
106
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
107
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx_r4.pageSize);
108
- }
109
- }
110
-
111
- function MatPaginator_div_2_Template(rf, ctx) {
112
- if (rf & 1) {
113
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 12)(1, "div", 13);
114
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
115
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
116
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](3, MatPaginator_div_2_mat_form_field_3_Template, 3, 8, "mat-form-field", 14);
117
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](4, MatPaginator_div_2_div_4_Template, 2, 1, "div", 15);
118
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
119
- }
120
-
121
- if (rf & 2) {
122
- const ctx_r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
123
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
124
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx_r0._intl.itemsPerPageLabel, " ");
125
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
126
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0._displayedPageSizeOptions.length > 1);
127
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
128
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx_r0._displayedPageSizeOptions.length <= 1);
129
- }
130
- }
131
-
132
- function MatPaginator_button_6_Template(rf, ctx) {
133
- if (rf & 1) {
134
- const _r10 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
135
-
136
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "button", 21);
137
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function MatPaginator_button_6_Template_button_click_0_listener() {
138
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r10);
139
- const ctx_r9 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
140
- return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r9.firstPage());
141
- });
142
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();
143
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "svg", 7);
144
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "path", 22);
145
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
146
- }
147
-
148
- if (rf & 2) {
149
- const ctx_r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
150
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("matTooltip", ctx_r1._intl.firstPageLabel)("matTooltipDisabled", ctx_r1._previousButtonsDisabled())("matTooltipPosition", "above")("disabled", ctx_r1._previousButtonsDisabled());
151
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("aria-label", ctx_r1._intl.firstPageLabel);
152
- }
153
- }
154
-
155
- function MatPaginator_button_13_Template(rf, ctx) {
156
- if (rf & 1) {
157
- const _r12 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"]();
158
-
159
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();
160
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceHTML"]();
161
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "button", 23);
162
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function MatPaginator_button_13_Template_button_click_0_listener() {
163
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r12);
164
- const ctx_r11 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
165
- return _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵresetView"](ctx_r11.lastPage());
166
- });
167
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();
168
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "svg", 7);
169
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "path", 24);
170
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
171
- }
172
-
173
- if (rf & 2) {
174
- const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"]();
175
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("matTooltip", ctx_r2._intl.lastPageLabel)("matTooltipDisabled", ctx_r2._nextButtonsDisabled())("matTooltipPosition", "above")("disabled", ctx_r2._nextButtonsDisabled());
176
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("aria-label", ctx_r2._intl.lastPageLabel);
177
- }
178
- }
179
-
180
- class MatPaginatorIntl {
181
- constructor() {
182
- /**
183
- * Stream to emit from when labels are changed. Use this to notify components when the labels have
184
- * changed after initialization.
185
- */
186
- this.changes = new rxjs__WEBPACK_IMPORTED_MODULE_1__.Subject();
187
- /** A label for the page size selector. */
188
-
189
- this.itemsPerPageLabel = 'Items per page:';
190
- /** A label for the button that increments the current page. */
191
-
192
- this.nextPageLabel = 'Next page';
193
- /** A label for the button that decrements the current page. */
194
-
195
- this.previousPageLabel = 'Previous page';
196
- /** A label for the button that moves to the first page. */
197
-
198
- this.firstPageLabel = 'First page';
199
- /** A label for the button that moves to the last page. */
200
-
201
- this.lastPageLabel = 'Last page';
202
- /** A label for the range of items within the current page and the length of the whole list. */
203
-
204
- this.getRangeLabel = (page, pageSize, length) => {
205
- if (length == 0 || pageSize == 0) {
206
- return `0 of ${length}`;
207
- }
208
-
209
- length = Math.max(length, 0);
210
- const startIndex = page * pageSize; // If the start index exceeds the list length, do not try and fix the end index to the end.
211
-
212
- const endIndex = startIndex < length ? Math.min(startIndex + pageSize, length) : startIndex + pageSize;
213
- return `${startIndex + 1} – ${endIndex} of ${length}`;
214
- };
215
- }
216
-
217
- }
218
-
219
- MatPaginatorIntl.ɵfac = function MatPaginatorIntl_Factory(t) {
220
- return new (t || MatPaginatorIntl)();
221
- };
222
-
223
- MatPaginatorIntl.ɵprov = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({
224
- token: MatPaginatorIntl,
225
- factory: MatPaginatorIntl.ɵfac,
226
- providedIn: 'root'
227
- });
228
-
229
- (function () {
230
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MatPaginatorIntl, [{
231
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Injectable,
232
- args: [{
233
- providedIn: 'root'
234
- }]
235
- }], null, null);
236
- })();
237
- /** @docs-private */
238
-
239
-
240
- function MAT_PAGINATOR_INTL_PROVIDER_FACTORY(parentIntl) {
241
- return parentIntl || new MatPaginatorIntl();
242
- }
243
- /** @docs-private */
244
-
245
-
246
- const MAT_PAGINATOR_INTL_PROVIDER = {
247
- // If there is already an MatPaginatorIntl available, use that. Otherwise, provide a new one.
248
- provide: MatPaginatorIntl,
249
- deps: [[new _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional(), new _angular_core__WEBPACK_IMPORTED_MODULE_0__.SkipSelf(), MatPaginatorIntl]],
250
- useFactory: MAT_PAGINATOR_INTL_PROVIDER_FACTORY
251
- };
252
- /**
253
- * @license
254
- * Copyright Google LLC All Rights Reserved.
255
- *
256
- * Use of this source code is governed by an MIT-style license that can be
257
- * found in the LICENSE file at https://angular.io/license
258
- */
259
-
260
- /** The default page size if there is no page size and there are no provided page size options. */
261
-
262
- const DEFAULT_PAGE_SIZE = 50;
263
- /**
264
- * Change event object that is emitted when the user selects a
265
- * different page size or navigates to another page.
266
- */
267
-
268
- class PageEvent {}
269
- /** Injection token that can be used to provide the default options for the paginator module. */
270
-
271
-
272
- const MAT_PAGINATOR_DEFAULT_OPTIONS = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('MAT_PAGINATOR_DEFAULT_OPTIONS'); // Boilerplate for applying mixins to _MatPaginatorBase.
273
-
274
- /** @docs-private */
275
-
276
- const _MatPaginatorMixinBase = (0,_angular_material_core__WEBPACK_IMPORTED_MODULE_2__.mixinDisabled)((0,_angular_material_core__WEBPACK_IMPORTED_MODULE_2__.mixinInitialized)(class {}));
277
- /**
278
- * Base class with all of the `MatPaginator` functionality.
279
- * @docs-private
280
- */
281
-
282
-
283
- class _MatPaginatorBase extends _MatPaginatorMixinBase {
284
- constructor(_intl, _changeDetectorRef, defaults) {
285
- super();
286
- this._intl = _intl;
287
- this._changeDetectorRef = _changeDetectorRef;
288
- this._pageIndex = 0;
289
- this._length = 0;
290
- this._pageSizeOptions = [];
291
- this._hidePageSize = false;
292
- this._showFirstLastButtons = false;
293
- /** Used to configure the underlying `MatSelect` inside the paginator. */
294
-
295
- this.selectConfig = {};
296
- /** Event emitted when the paginator changes the page size or page index. */
297
-
298
- this.page = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
299
- this._intlChanges = _intl.changes.subscribe(() => this._changeDetectorRef.markForCheck());
300
-
301
- if (defaults) {
302
- const {
303
- pageSize,
304
- pageSizeOptions,
305
- hidePageSize,
306
- showFirstLastButtons
307
- } = defaults;
308
-
309
- if (pageSize != null) {
310
- this._pageSize = pageSize;
311
- }
312
-
313
- if (pageSizeOptions != null) {
314
- this._pageSizeOptions = pageSizeOptions;
315
- }
316
-
317
- if (hidePageSize != null) {
318
- this._hidePageSize = hidePageSize;
319
- }
320
-
321
- if (showFirstLastButtons != null) {
322
- this._showFirstLastButtons = showFirstLastButtons;
323
- }
324
- }
325
- }
326
- /** The zero-based page index of the displayed list of items. Defaulted to 0. */
327
-
328
-
329
- get pageIndex() {
330
- return this._pageIndex;
331
- }
332
-
333
- set pageIndex(value) {
334
- this._pageIndex = Math.max((0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__.coerceNumberProperty)(value), 0);
335
-
336
- this._changeDetectorRef.markForCheck();
337
- }
338
- /** The length of the total number of items that are being paginated. Defaulted to 0. */
339
-
340
-
341
- get length() {
342
- return this._length;
343
- }
344
-
345
- set length(value) {
346
- this._length = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__.coerceNumberProperty)(value);
347
-
348
- this._changeDetectorRef.markForCheck();
349
- }
350
- /** Number of items to display on a page. By default set to 50. */
351
-
352
-
353
- get pageSize() {
354
- return this._pageSize;
355
- }
356
-
357
- set pageSize(value) {
358
- this._pageSize = Math.max((0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__.coerceNumberProperty)(value), 0);
359
-
360
- this._updateDisplayedPageSizeOptions();
361
- }
362
- /** The set of provided page size options to display to the user. */
363
-
364
-
365
- get pageSizeOptions() {
366
- return this._pageSizeOptions;
367
- }
368
-
369
- set pageSizeOptions(value) {
370
- this._pageSizeOptions = (value || []).map(p => (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__.coerceNumberProperty)(p));
371
-
372
- this._updateDisplayedPageSizeOptions();
373
- }
374
- /** Whether to hide the page size selection UI from the user. */
375
-
376
-
377
- get hidePageSize() {
378
- return this._hidePageSize;
379
- }
380
-
381
- set hidePageSize(value) {
382
- this._hidePageSize = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__.coerceBooleanProperty)(value);
383
- }
384
- /** Whether to show the first/last buttons UI to the user. */
385
-
386
-
387
- get showFirstLastButtons() {
388
- return this._showFirstLastButtons;
389
- }
390
-
391
- set showFirstLastButtons(value) {
392
- this._showFirstLastButtons = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__.coerceBooleanProperty)(value);
393
- }
394
-
395
- ngOnInit() {
396
- this._initialized = true;
397
-
398
- this._updateDisplayedPageSizeOptions();
399
-
400
- this._markInitialized();
401
- }
402
-
403
- ngOnDestroy() {
404
- this._intlChanges.unsubscribe();
405
- }
406
- /** Advances to the next page if it exists. */
407
-
408
-
409
- nextPage() {
410
- if (!this.hasNextPage()) {
411
- return;
412
- }
413
-
414
- const previousPageIndex = this.pageIndex;
415
- this.pageIndex = this.pageIndex + 1;
416
-
417
- this._emitPageEvent(previousPageIndex);
418
- }
419
- /** Move back to the previous page if it exists. */
420
-
421
-
422
- previousPage() {
423
- if (!this.hasPreviousPage()) {
424
- return;
425
- }
426
-
427
- const previousPageIndex = this.pageIndex;
428
- this.pageIndex = this.pageIndex - 1;
429
-
430
- this._emitPageEvent(previousPageIndex);
431
- }
432
- /** Move to the first page if not already there. */
433
-
434
-
435
- firstPage() {
436
- // hasPreviousPage being false implies at the start
437
- if (!this.hasPreviousPage()) {
438
- return;
439
- }
440
-
441
- const previousPageIndex = this.pageIndex;
442
- this.pageIndex = 0;
443
-
444
- this._emitPageEvent(previousPageIndex);
445
- }
446
- /** Move to the last page if not already there. */
447
-
448
-
449
- lastPage() {
450
- // hasNextPage being false implies at the end
451
- if (!this.hasNextPage()) {
452
- return;
453
- }
454
-
455
- const previousPageIndex = this.pageIndex;
456
- this.pageIndex = this.getNumberOfPages() - 1;
457
-
458
- this._emitPageEvent(previousPageIndex);
459
- }
460
- /** Whether there is a previous page. */
461
-
462
-
463
- hasPreviousPage() {
464
- return this.pageIndex >= 1 && this.pageSize != 0;
465
- }
466
- /** Whether there is a next page. */
467
-
468
-
469
- hasNextPage() {
470
- const maxPageIndex = this.getNumberOfPages() - 1;
471
- return this.pageIndex < maxPageIndex && this.pageSize != 0;
472
- }
473
- /** Calculate the number of pages */
474
-
475
-
476
- getNumberOfPages() {
477
- if (!this.pageSize) {
478
- return 0;
479
- }
480
-
481
- return Math.ceil(this.length / this.pageSize);
482
- }
483
- /**
484
- * Changes the page size so that the first item displayed on the page will still be
485
- * displayed using the new page size.
486
- *
487
- * For example, if the page size is 10 and on the second page (items indexed 10-19) then
488
- * switching so that the page size is 5 will set the third page as the current page so
489
- * that the 10th item will still be displayed.
490
- */
491
-
492
-
493
- _changePageSize(pageSize) {
494
- // Current page needs to be updated to reflect the new page size. Navigate to the page
495
- // containing the previous page's first item.
496
- const startIndex = this.pageIndex * this.pageSize;
497
- const previousPageIndex = this.pageIndex;
498
- this.pageIndex = Math.floor(startIndex / pageSize) || 0;
499
- this.pageSize = pageSize;
500
-
501
- this._emitPageEvent(previousPageIndex);
502
- }
503
- /** Checks whether the buttons for going forwards should be disabled. */
504
-
505
-
506
- _nextButtonsDisabled() {
507
- return this.disabled || !this.hasNextPage();
508
- }
509
- /** Checks whether the buttons for going backwards should be disabled. */
510
-
511
-
512
- _previousButtonsDisabled() {
513
- return this.disabled || !this.hasPreviousPage();
514
- }
515
- /**
516
- * Updates the list of page size options to display to the user. Includes making sure that
517
- * the page size is an option and that the list is sorted.
518
- */
519
-
520
-
521
- _updateDisplayedPageSizeOptions() {
522
- if (!this._initialized) {
523
- return;
524
- } // If no page size is provided, use the first page size option or the default page size.
525
-
526
-
527
- if (!this.pageSize) {
528
- this._pageSize = this.pageSizeOptions.length != 0 ? this.pageSizeOptions[0] : DEFAULT_PAGE_SIZE;
529
- }
530
-
531
- this._displayedPageSizeOptions = this.pageSizeOptions.slice();
532
-
533
- if (this._displayedPageSizeOptions.indexOf(this.pageSize) === -1) {
534
- this._displayedPageSizeOptions.push(this.pageSize);
535
- } // Sort the numbers using a number-specific sort function.
536
-
537
-
538
- this._displayedPageSizeOptions.sort((a, b) => a - b);
539
-
540
- this._changeDetectorRef.markForCheck();
541
- }
542
- /** Emits an event notifying that a change of the paginator's properties has been triggered. */
543
-
544
-
545
- _emitPageEvent(previousPageIndex) {
546
- this.page.emit({
547
- previousPageIndex,
548
- pageIndex: this.pageIndex,
549
- pageSize: this.pageSize,
550
- length: this.length
551
- });
552
- }
553
-
554
- }
555
-
556
- _MatPaginatorBase.ɵfac = function _MatPaginatorBase_Factory(t) {
557
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinvalidFactory"]();
558
- };
559
-
560
- _MatPaginatorBase.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
561
- type: _MatPaginatorBase,
562
- inputs: {
563
- color: "color",
564
- pageIndex: "pageIndex",
565
- length: "length",
566
- pageSize: "pageSize",
567
- pageSizeOptions: "pageSizeOptions",
568
- hidePageSize: "hidePageSize",
569
- showFirstLastButtons: "showFirstLastButtons",
570
- selectConfig: "selectConfig"
571
- },
572
- outputs: {
573
- page: "page"
574
- },
575
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
576
- });
577
-
578
- (function () {
579
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](_MatPaginatorBase, [{
580
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive
581
- }], function () {
582
- return [{
583
- type: MatPaginatorIntl
584
- }, {
585
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef
586
- }, {
587
- type: undefined
588
- }];
589
- }, {
590
- color: [{
591
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
592
- }],
593
- pageIndex: [{
594
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
595
- }],
596
- length: [{
597
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
598
- }],
599
- pageSize: [{
600
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
601
- }],
602
- pageSizeOptions: [{
603
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
604
- }],
605
- hidePageSize: [{
606
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
607
- }],
608
- showFirstLastButtons: [{
609
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
610
- }],
611
- selectConfig: [{
612
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
613
- }],
614
- page: [{
615
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Output
616
- }]
617
- });
618
- })();
619
- /**
620
- * Component to provide navigation between paged information. Displays the size of the current
621
- * page, user-selectable options to change that size, what items are being shown, and
622
- * navigational button to go to the previous or next page.
623
- */
624
-
625
-
626
- class MatPaginator extends _MatPaginatorBase {
627
- constructor(intl, changeDetectorRef, defaults) {
628
- super(intl, changeDetectorRef, defaults);
629
-
630
- if (defaults && defaults.formFieldAppearance != null) {
631
- this._formFieldAppearance = defaults.formFieldAppearance;
632
- }
633
- }
634
-
635
- }
636
-
637
- MatPaginator.ɵfac = function MatPaginator_Factory(t) {
638
- return new (t || MatPaginator)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](MatPaginatorIntl), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](MAT_PAGINATOR_DEFAULT_OPTIONS, 8));
639
- };
640
-
641
- MatPaginator.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
642
- type: MatPaginator,
643
- selectors: [["mat-paginator"]],
644
- hostAttrs: ["role", "group", 1, "mat-paginator"],
645
- inputs: {
646
- disabled: "disabled"
647
- },
648
- exportAs: ["matPaginator"],
649
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]],
650
- decls: 14,
651
- vars: 14,
652
- consts: [[1, "mat-paginator-outer-container"], [1, "mat-paginator-container"], ["class", "mat-paginator-page-size", 4, "ngIf"], [1, "mat-paginator-range-actions"], [1, "mat-paginator-range-label"], ["mat-icon-button", "", "type", "button", "class", "mat-paginator-navigation-first", 3, "matTooltip", "matTooltipDisabled", "matTooltipPosition", "disabled", "click", 4, "ngIf"], ["mat-icon-button", "", "type", "button", 1, "mat-paginator-navigation-previous", 3, "matTooltip", "matTooltipDisabled", "matTooltipPosition", "disabled", "click"], ["viewBox", "0 0 24 24", "focusable", "false", 1, "mat-paginator-icon"], ["d", "M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"], ["mat-icon-button", "", "type", "button", 1, "mat-paginator-navigation-next", 3, "matTooltip", "matTooltipDisabled", "matTooltipPosition", "disabled", "click"], ["d", "M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"], ["mat-icon-button", "", "type", "button", "class", "mat-paginator-navigation-last", 3, "matTooltip", "matTooltipDisabled", "matTooltipPosition", "disabled", "click", 4, "ngIf"], [1, "mat-paginator-page-size"], [1, "mat-paginator-page-size-label"], ["class", "mat-paginator-page-size-select", 3, "appearance", "color", 4, "ngIf"], ["class", "mat-paginator-page-size-value", 4, "ngIf"], [1, "mat-paginator-page-size-select", 3, "appearance", "color"], [3, "value", "disabled", "panelClass", "disableOptionCentering", "aria-label", "selectionChange"], [3, "value", 4, "ngFor", "ngForOf"], [3, "value"], [1, "mat-paginator-page-size-value"], ["mat-icon-button", "", "type", "button", 1, "mat-paginator-navigation-first", 3, "matTooltip", "matTooltipDisabled", "matTooltipPosition", "disabled", "click"], ["d", "M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"], ["mat-icon-button", "", "type", "button", 1, "mat-paginator-navigation-last", 3, "matTooltip", "matTooltipDisabled", "matTooltipPosition", "disabled", "click"], ["d", "M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],
653
- template: function MatPaginator_Template(rf, ctx) {
654
- if (rf & 1) {
655
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "div", 0)(1, "div", 1);
656
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](2, MatPaginator_div_2_Template, 5, 3, "div", 2);
657
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "div", 3)(4, "div", 4);
658
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5);
659
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
660
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](6, MatPaginator_button_6_Template, 3, 5, "button", 5);
661
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "button", 6);
662
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function MatPaginator_Template_button_click_7_listener() {
663
- return ctx.previousPage();
664
- });
665
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();
666
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "svg", 7);
667
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](9, "path", 8);
668
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
669
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceHTML"]();
670
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](10, "button", 9);
671
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function MatPaginator_Template_button_click_10_listener() {
672
- return ctx.nextPage();
673
- });
674
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnamespaceSVG"]();
675
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "svg", 7);
676
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](12, "path", 10);
677
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
678
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](13, MatPaginator_button_13_Template, 3, 5, "button", 11);
679
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
680
- }
681
-
682
- if (rf & 2) {
683
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
684
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx.hidePageSize);
685
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
686
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", ctx._intl.getRangeLabel(ctx.pageIndex, ctx.pageSize, ctx.length), " ");
687
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
688
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.showFirstLastButtons);
689
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
690
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("matTooltip", ctx._intl.previousPageLabel)("matTooltipDisabled", ctx._previousButtonsDisabled())("matTooltipPosition", "above")("disabled", ctx._previousButtonsDisabled());
691
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("aria-label", ctx._intl.previousPageLabel);
692
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
693
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("matTooltip", ctx._intl.nextPageLabel)("matTooltipDisabled", ctx._nextButtonsDisabled())("matTooltipPosition", "above")("disabled", ctx._nextButtonsDisabled());
694
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("aria-label", ctx._intl.nextPageLabel);
695
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](3);
696
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.showFirstLastButtons);
697
- }
698
- },
699
- dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.NgForOf, _angular_common__WEBPACK_IMPORTED_MODULE_4__.NgIf, _angular_material_button__WEBPACK_IMPORTED_MODULE_5__.MatButton, _angular_material_form_field__WEBPACK_IMPORTED_MODULE_6__.MatFormField, _angular_material_select__WEBPACK_IMPORTED_MODULE_7__.MatSelect, _angular_material_core__WEBPACK_IMPORTED_MODULE_2__.MatOption, _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_8__.MatTooltip],
700
- styles: [".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}"],
701
- encapsulation: 2,
702
- changeDetection: 0
703
- });
704
-
705
- (function () {
706
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MatPaginator, [{
707
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Component,
708
- args: [{
709
- selector: 'mat-paginator',
710
- exportAs: 'matPaginator',
711
- inputs: ['disabled'],
712
- host: {
713
- 'class': 'mat-paginator',
714
- 'role': 'group'
715
- },
716
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectionStrategy.OnPush,
717
- encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewEncapsulation.None,
718
- template: "<div class=\"mat-paginator-outer-container\">\n <div class=\"mat-paginator-container\">\n <div class=\"mat-paginator-page-size\" *ngIf=\"!hidePageSize\">\n <div class=\"mat-paginator-page-size-label\">\n {{_intl.itemsPerPageLabel}}\n </div>\n\n <mat-form-field\n *ngIf=\"_displayedPageSizeOptions.length > 1\"\n [appearance]=\"_formFieldAppearance!\"\n [color]=\"color\"\n class=\"mat-paginator-page-size-select\">\n <mat-select\n [value]=\"pageSize\"\n [disabled]=\"disabled\"\n [panelClass]=\"selectConfig.panelClass || ''\"\n [disableOptionCentering]=\"selectConfig.disableOptionCentering\"\n [aria-label]=\"_intl.itemsPerPageLabel\"\n (selectionChange)=\"_changePageSize($event.value)\">\n <mat-option *ngFor=\"let pageSizeOption of _displayedPageSizeOptions\" [value]=\"pageSizeOption\">\n {{pageSizeOption}}\n </mat-option>\n </mat-select>\n </mat-form-field>\n\n <div\n class=\"mat-paginator-page-size-value\"\n *ngIf=\"_displayedPageSizeOptions.length <= 1\">{{pageSize}}</div>\n </div>\n\n <div class=\"mat-paginator-range-actions\">\n <div class=\"mat-paginator-range-label\">\n {{_intl.getRangeLabel(pageIndex, pageSize, length)}}\n </div>\n\n <button mat-icon-button type=\"button\"\n class=\"mat-paginator-navigation-first\"\n (click)=\"firstPage()\"\n [attr.aria-label]=\"_intl.firstPageLabel\"\n [matTooltip]=\"_intl.firstPageLabel\"\n [matTooltipDisabled]=\"_previousButtonsDisabled()\"\n [matTooltipPosition]=\"'above'\"\n [disabled]=\"_previousButtonsDisabled()\"\n *ngIf=\"showFirstLastButtons\">\n <svg class=\"mat-paginator-icon\" viewBox=\"0 0 24 24\" focusable=\"false\">\n <path d=\"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z\"/>\n </svg>\n </button>\n <button mat-icon-button type=\"button\"\n class=\"mat-paginator-navigation-previous\"\n (click)=\"previousPage()\"\n [attr.aria-label]=\"_intl.previousPageLabel\"\n [matTooltip]=\"_intl.previousPageLabel\"\n [matTooltipDisabled]=\"_previousButtonsDisabled()\"\n [matTooltipPosition]=\"'above'\"\n [disabled]=\"_previousButtonsDisabled()\">\n <svg class=\"mat-paginator-icon\" viewBox=\"0 0 24 24\" focusable=\"false\">\n <path d=\"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z\"/>\n </svg>\n </button>\n <button mat-icon-button type=\"button\"\n class=\"mat-paginator-navigation-next\"\n (click)=\"nextPage()\"\n [attr.aria-label]=\"_intl.nextPageLabel\"\n [matTooltip]=\"_intl.nextPageLabel\"\n [matTooltipDisabled]=\"_nextButtonsDisabled()\"\n [matTooltipPosition]=\"'above'\"\n [disabled]=\"_nextButtonsDisabled()\">\n <svg class=\"mat-paginator-icon\" viewBox=\"0 0 24 24\" focusable=\"false\">\n <path d=\"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z\"/>\n </svg>\n </button>\n <button mat-icon-button type=\"button\"\n class=\"mat-paginator-navigation-last\"\n (click)=\"lastPage()\"\n [attr.aria-label]=\"_intl.lastPageLabel\"\n [matTooltip]=\"_intl.lastPageLabel\"\n [matTooltipDisabled]=\"_nextButtonsDisabled()\"\n [matTooltipPosition]=\"'above'\"\n [disabled]=\"_nextButtonsDisabled()\"\n *ngIf=\"showFirstLastButtons\">\n <svg class=\"mat-paginator-icon\" viewBox=\"0 0 24 24\" focusable=\"false\">\n <path d=\"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z\"/>\n </svg>\n </button>\n </div>\n </div>\n</div>\n",
719
- styles: [".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}"]
720
- }]
721
- }], function () {
722
- return [{
723
- type: MatPaginatorIntl
724
- }, {
725
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef
726
- }, {
727
- type: undefined,
728
- decorators: [{
729
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
730
- }, {
731
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
732
- args: [MAT_PAGINATOR_DEFAULT_OPTIONS]
733
- }]
734
- }];
735
- }, null);
736
- })();
737
- /**
738
- * @license
739
- * Copyright Google LLC All Rights Reserved.
740
- *
741
- * Use of this source code is governed by an MIT-style license that can be
742
- * found in the LICENSE file at https://angular.io/license
743
- */
744
-
745
-
746
- class MatPaginatorModule {}
747
-
748
- MatPaginatorModule.ɵfac = function MatPaginatorModule_Factory(t) {
749
- return new (t || MatPaginatorModule)();
750
- };
751
-
752
- MatPaginatorModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
753
- type: MatPaginatorModule
754
- });
755
- MatPaginatorModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({
756
- providers: [MAT_PAGINATOR_INTL_PROVIDER],
757
- imports: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.CommonModule, _angular_material_button__WEBPACK_IMPORTED_MODULE_5__.MatButtonModule, _angular_material_select__WEBPACK_IMPORTED_MODULE_7__.MatSelectModule, _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_8__.MatTooltipModule, _angular_material_core__WEBPACK_IMPORTED_MODULE_2__.MatCommonModule]
758
- });
759
-
760
- (function () {
761
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MatPaginatorModule, [{
762
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule,
763
- args: [{
764
- imports: [_angular_common__WEBPACK_IMPORTED_MODULE_4__.CommonModule, _angular_material_button__WEBPACK_IMPORTED_MODULE_5__.MatButtonModule, _angular_material_select__WEBPACK_IMPORTED_MODULE_7__.MatSelectModule, _angular_material_tooltip__WEBPACK_IMPORTED_MODULE_8__.MatTooltipModule, _angular_material_core__WEBPACK_IMPORTED_MODULE_2__.MatCommonModule],
765
- exports: [MatPaginator],
766
- declarations: [MatPaginator],
767
- providers: [MAT_PAGINATOR_INTL_PROVIDER]
768
- }]
769
- }], null, null);
770
- })();
771
- /**
772
- * @license
773
- * Copyright Google LLC All Rights Reserved.
774
- *
775
- * Use of this source code is governed by an MIT-style license that can be
776
- * found in the LICENSE file at https://angular.io/license
777
- */
778
-
779
- /**
780
- * @license
781
- * Copyright Google LLC All Rights Reserved.
782
- *
783
- * Use of this source code is governed by an MIT-style license that can be
784
- * found in the LICENSE file at https://angular.io/license
785
- */
786
-
787
- /**
788
- * Generated bundle index. Do not edit.
789
- */
790
-
791
-
792
-
793
-
794
- /***/ })
795
-
796
- }]);
797
- //# sourceMappingURL=default-node_modules_angular_material_fesm2020_paginator_mjs.js.map