marketplacepos 2.2.8 → 2.3.1

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 (74) hide show
  1. package/Marketplace/126.9c69aee32875d325.js +1 -0
  2. package/Marketplace/185.1b988f70ad8b4f58.js +1 -0
  3. package/Marketplace/22.3829c474fb5bad35.js +1 -0
  4. package/Marketplace/231.231da11ec44f3fe8.js +1 -0
  5. package/Marketplace/285.17f6cbef78acd327.js +1 -0
  6. package/Marketplace/3rdpartylicenses.txt +490 -0
  7. package/Marketplace/46.502e626256bc5b7c.js +1 -0
  8. package/Marketplace/472.974dc0a1dade2b29.js +1 -0
  9. package/Marketplace/512.eddb4675a9016de6.js +1 -0
  10. package/Marketplace/518.3ea4f72f7ca0ce3c.js +1 -0
  11. package/Marketplace/585.c93552ac67f4550c.js +1 -0
  12. package/Marketplace/6.fc79ecc0c0a33462.js +1 -0
  13. package/Marketplace/616.507588c0a5d7b9e1.js +1 -0
  14. package/Marketplace/717.62ca448a74adc1c2.js +1 -0
  15. package/Marketplace/739.82b92600f9519019.js +1 -0
  16. package/Marketplace/763.42fa4c0d665819d3.js +1 -0
  17. package/Marketplace/767.0ce42314dea8dfea.js +1 -0
  18. package/Marketplace/796.3be8ad424aad7864.js +1 -0
  19. package/Marketplace/common.34d3e7dcd2b85c7a.js +1 -0
  20. package/Marketplace/index.html +22 -23
  21. package/Marketplace/main.6481a1f35d927562.js +1 -0
  22. package/Marketplace/polyfills.8d85b0533e3f867a.js +1 -0
  23. package/Marketplace/runtime.307954efca5e3eeb.js +1 -0
  24. package/Marketplace/scripts.512baec01df5d79f.js +1 -0
  25. package/Marketplace/styles.d8aa52b2e9cd02ae.css +39 -0
  26. package/package.json +1 -1
  27. package/Marketplace/common.js +0 -46
  28. package/Marketplace/common.js.map +0 -1
  29. package/Marketplace/default-node_modules_angular_forms_fesm2020_forms_mjs.js +0 -9551
  30. package/Marketplace/default-node_modules_angular_forms_fesm2020_forms_mjs.js.map +0 -1
  31. package/Marketplace/default-node_modules_angular_material_fesm2020_paginator_mjs.js +0 -797
  32. package/Marketplace/default-node_modules_angular_material_fesm2020_paginator_mjs.js.map +0 -1
  33. package/Marketplace/default-node_modules_ng-select_ng-select_fesm2020_ng-select-ng-select_mjs.js +0 -4632
  34. package/Marketplace/default-node_modules_ng-select_ng-select_fesm2020_ng-select-ng-select_mjs.js.map +0 -1
  35. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_date-e7a231.js +0 -6836
  36. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_date-e7a231.js.map +0 -1
  37. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_slid-566c11.js +0 -722
  38. package/Marketplace/default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_slid-566c11.js.map +0 -1
  39. package/Marketplace/default-src_app_sharing-module_datepicker_datepicker_component_ts.js +0 -19951
  40. package/Marketplace/default-src_app_sharing-module_datepicker_datepicker_component_ts.js.map +0 -1
  41. package/Marketplace/main.js +0 -617
  42. package/Marketplace/main.js.map +0 -1
  43. package/Marketplace/polyfills.js +0 -3398
  44. package/Marketplace/polyfills.js.map +0 -1
  45. package/Marketplace/runtime.js +0 -346
  46. package/Marketplace/runtime.js.map +0 -1
  47. package/Marketplace/scripts.js +0 -2634
  48. package/Marketplace/scripts.js.map +0 -1
  49. package/Marketplace/src_app_login_login_module_ts.js +0 -538
  50. package/Marketplace/src_app_login_login_module_ts.js.map +0 -1
  51. package/Marketplace/src_app_menu_ReportOrder_report_module_ts.js +0 -1060
  52. package/Marketplace/src_app_menu_ReportOrder_report_module_ts.js.map +0 -1
  53. package/Marketplace/src_app_menu_channels_channels_module_ts.js +0 -9710
  54. package/Marketplace/src_app_menu_channels_channels_module_ts.js.map +0 -1
  55. package/Marketplace/src_app_menu_inventory_inventory_module_ts.js +0 -1069
  56. package/Marketplace/src_app_menu_inventory_inventory_module_ts.js.map +0 -1
  57. package/Marketplace/src_app_menu_logistic_logistic_module_ts.js +0 -232
  58. package/Marketplace/src_app_menu_logistic_logistic_module_ts.js.map +0 -1
  59. package/Marketplace/src_app_menu_menu_module_ts.js +0 -38973
  60. package/Marketplace/src_app_menu_menu_module_ts.js.map +0 -1
  61. package/Marketplace/src_app_menu_notification_notification_module_ts.js +0 -192
  62. package/Marketplace/src_app_menu_notification_notification_module_ts.js.map +0 -1
  63. package/Marketplace/src_app_menu_object-log_logs_module_ts.js +0 -1997
  64. package/Marketplace/src_app_menu_object-log_logs_module_ts.js.map +0 -1
  65. package/Marketplace/src_app_menu_orders_orders_module_ts.js +0 -2449
  66. package/Marketplace/src_app_menu_orders_orders_module_ts.js.map +0 -1
  67. package/Marketplace/src_app_menu_price_price_module_ts.js +0 -1713
  68. package/Marketplace/src_app_menu_price_price_module_ts.js.map +0 -1
  69. package/Marketplace/src_app_menu_products_product_module_ts.js +0 -2196
  70. package/Marketplace/src_app_menu_products_product_module_ts.js.map +0 -1
  71. package/Marketplace/styles.css +0 -30612
  72. package/Marketplace/styles.css.map +0 -1
  73. package/Marketplace/vendor.js +0 -71753
  74. package/Marketplace/vendor.js.map +0 -1
@@ -1,722 +0,0 @@
1
- "use strict";
2
- (self["webpackChunkpos_marketplace"] = self["webpackChunkpos_marketplace"] || []).push([["default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_slid-566c11"],{
3
-
4
- /***/ 7398:
5
- /*!***************************************************!*\
6
- !*** ./src/app/menu/nav-tab/nav-tab.component.ts ***!
7
- \***************************************************/
8
- /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
9
-
10
- __webpack_require__.r(__webpack_exports__);
11
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
12
- /* harmony export */ "NavTabComponent": () => (/* binding */ NavTabComponent),
13
- /* harmony export */ "NavTabModule": () => (/* binding */ NavTabModule)
14
- /* harmony export */ });
15
- /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common */ 4666);
16
- /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/router */ 124);
17
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ 2560);
18
-
19
-
20
-
21
-
22
-
23
- function NavTabComponent_li_1_Template(rf, ctx) { if (rf & 1) {
24
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "li", 2)(1, "a", 3);
25
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2);
26
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
27
- } if (rf & 2) {
28
- const tabMenu_r1 = ctx.$implicit;
29
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
30
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpropertyInterpolate"]("routerLink", tabMenu_r1.Url);
31
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
32
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" ", tabMenu_r1.Title, " ");
33
- } }
34
- class NavTabComponent {
35
- }
36
- NavTabComponent.ɵfac = function NavTabComponent_Factory(t) { return new (t || NavTabComponent)(); };
37
- NavTabComponent.ɵcmp = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: NavTabComponent, selectors: [["nav-tab"]], inputs: { Tabs: "Tabs" }, decls: 2, vars: 1, consts: [[1, "nav", "navbar-nav", "navbar-left", "nav-tab-arrow"], ["routerLinkActive", "active", "class", "nav-item me-6", 4, "ngFor", "ngForOf"], ["routerLinkActive", "active", 1, "nav-item", "me-6"], [1, "nav-link", "nav-link-arrow", "mb-0", 3, "routerLink"]], template: function NavTabComponent_Template(rf, ctx) { if (rf & 1) {
38
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "ul", 0);
39
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](1, NavTabComponent_li_1_Template, 3, 2, "li", 1);
40
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
41
- } if (rf & 2) {
42
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
43
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngForOf", ctx.Tabs);
44
- } }, dependencies: [_angular_common__WEBPACK_IMPORTED_MODULE_1__.NgForOf, _angular_router__WEBPACK_IMPORTED_MODULE_2__.RouterLinkWithHref, _angular_router__WEBPACK_IMPORTED_MODULE_2__.RouterLinkActive], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJuYXYtdGFiLmNvbXBvbmVudC5zY3NzIn0= */"] });
45
- class NavTabModule {
46
- }
47
- NavTabModule.ɵfac = function NavTabModule_Factory(t) { return new (t || NavTabModule)(); };
48
- NavTabModule.ɵmod = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: NavTabModule });
49
- NavTabModule.ɵinj = /*@__PURE__*/ _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__.CommonModule,
50
- _angular_router__WEBPACK_IMPORTED_MODULE_2__.RouterModule] });
51
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](NavTabModule, { declarations: [NavTabComponent], imports: [_angular_common__WEBPACK_IMPORTED_MODULE_1__.CommonModule,
52
- _angular_router__WEBPACK_IMPORTED_MODULE_2__.RouterModule], exports: [NavTabComponent] }); })();
53
-
54
-
55
- /***/ }),
56
-
57
- /***/ 4714:
58
- /*!******************************************************************!*\
59
- !*** ./node_modules/@angular/material/fesm2020/slide-toggle.mjs ***!
60
- \******************************************************************/
61
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
62
-
63
- __webpack_require__.r(__webpack_exports__);
64
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
65
- /* harmony export */ "MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS": () => (/* binding */ MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS),
66
- /* harmony export */ "MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR": () => (/* binding */ MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR),
67
- /* harmony export */ "MAT_SLIDE_TOGGLE_VALUE_ACCESSOR": () => (/* binding */ MAT_SLIDE_TOGGLE_VALUE_ACCESSOR),
68
- /* harmony export */ "MatSlideToggle": () => (/* binding */ MatSlideToggle),
69
- /* harmony export */ "MatSlideToggleChange": () => (/* binding */ MatSlideToggleChange),
70
- /* harmony export */ "MatSlideToggleModule": () => (/* binding */ MatSlideToggleModule),
71
- /* harmony export */ "MatSlideToggleRequiredValidator": () => (/* binding */ MatSlideToggleRequiredValidator),
72
- /* harmony export */ "_MatSlideToggleBase": () => (/* binding */ _MatSlideToggleBase),
73
- /* harmony export */ "_MatSlideToggleRequiredValidatorModule": () => (/* binding */ _MatSlideToggleRequiredValidatorModule)
74
- /* harmony export */ });
75
- /* harmony import */ var _angular_cdk_observers__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/cdk/observers */ 3773);
76
- /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/platform-browser/animations */ 2560);
77
- /* harmony import */ var _angular_material_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @angular/material/core */ 9121);
78
- /* harmony import */ var _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @angular/cdk/a11y */ 4218);
79
- /* harmony import */ var _angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/cdk/coercion */ 8971);
80
- /* harmony import */ var _angular_forms__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/forms */ 2508);
81
-
82
-
83
-
84
-
85
-
86
-
87
-
88
-
89
-
90
-
91
- /**
92
- * @license
93
- * Copyright Google LLC All Rights Reserved.
94
- *
95
- * Use of this source code is governed by an MIT-style license that can be
96
- * found in the LICENSE file at https://angular.io/license
97
- */
98
-
99
- /** Injection token to be used to override the default options for `mat-slide-toggle`. */
100
-
101
- const _c0 = ["input"];
102
-
103
- const _c1 = function (a0) {
104
- return {
105
- enterDuration: a0
106
- };
107
- };
108
-
109
- const _c2 = ["*"];
110
- const MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.InjectionToken('mat-slide-toggle-default-options', {
111
- providedIn: 'root',
112
- factory: () => ({
113
- disableToggleValue: false
114
- })
115
- });
116
- /**
117
- * @license
118
- * Copyright Google LLC All Rights Reserved.
119
- *
120
- * Use of this source code is governed by an MIT-style license that can be
121
- * found in the LICENSE file at https://angular.io/license
122
- */
123
- // Increasing integer for generating unique ids for slide-toggle components.
124
-
125
- let nextUniqueId = 0;
126
- /** @docs-private */
127
-
128
- const MAT_SLIDE_TOGGLE_VALUE_ACCESSOR = {
129
- provide: _angular_forms__WEBPACK_IMPORTED_MODULE_1__.NG_VALUE_ACCESSOR,
130
- useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => MatSlideToggle),
131
- multi: true
132
- };
133
- /** Change event object emitted by a MatSlideToggle. */
134
-
135
- class MatSlideToggleChange {
136
- constructor(
137
- /** The source MatSlideToggle of the event. */
138
- source,
139
- /** The new `checked` value of the MatSlideToggle. */
140
- checked) {
141
- this.source = source;
142
- this.checked = checked;
143
- }
144
-
145
- } // Boilerplate for applying mixins to MatSlideToggle.
146
-
147
- /** @docs-private */
148
-
149
-
150
- const _MatSlideToggleMixinBase = (0,_angular_material_core__WEBPACK_IMPORTED_MODULE_2__.mixinTabIndex)((0,_angular_material_core__WEBPACK_IMPORTED_MODULE_2__.mixinColor)((0,_angular_material_core__WEBPACK_IMPORTED_MODULE_2__.mixinDisableRipple)((0,_angular_material_core__WEBPACK_IMPORTED_MODULE_2__.mixinDisabled)(class {
151
- constructor(_elementRef) {
152
- this._elementRef = _elementRef;
153
- }
154
-
155
- }))));
156
-
157
- class _MatSlideToggleBase extends _MatSlideToggleMixinBase {
158
- constructor(elementRef, _focusMonitor, _changeDetectorRef, tabIndex, defaults, animationMode, idPrefix) {
159
- super(elementRef);
160
- this._focusMonitor = _focusMonitor;
161
- this._changeDetectorRef = _changeDetectorRef;
162
- this.defaults = defaults;
163
-
164
- this._onChange = _ => {};
165
-
166
- this._onTouched = () => {};
167
-
168
- this._required = false;
169
- this._checked = false;
170
- /** Name value will be applied to the input element if present. */
171
-
172
- this.name = null;
173
- /** Whether the label should appear after or before the slide-toggle. Defaults to 'after'. */
174
-
175
- this.labelPosition = 'after';
176
- /** Used to set the aria-label attribute on the underlying input element. */
177
-
178
- this.ariaLabel = null;
179
- /** Used to set the aria-labelledby attribute on the underlying input element. */
180
-
181
- this.ariaLabelledby = null;
182
- /** An event will be dispatched each time the slide-toggle changes its value. */
183
-
184
- this.change = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
185
- /**
186
- * An event will be dispatched each time the slide-toggle input is toggled.
187
- * This event is always emitted when the user toggles the slide toggle, but this does not mean
188
- * the slide toggle's value has changed.
189
- */
190
-
191
- this.toggleChange = new _angular_core__WEBPACK_IMPORTED_MODULE_0__.EventEmitter();
192
- this.tabIndex = parseInt(tabIndex) || 0;
193
- this.color = this.defaultColor = defaults.color || 'accent';
194
- this._noopAnimations = animationMode === 'NoopAnimations';
195
- this.id = this._uniqueId = `${idPrefix}${++nextUniqueId}`;
196
- }
197
- /** Whether the slide-toggle is required. */
198
-
199
-
200
- get required() {
201
- return this._required;
202
- }
203
-
204
- set required(value) {
205
- this._required = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__.coerceBooleanProperty)(value);
206
- }
207
- /** Whether the slide-toggle element is checked or not. */
208
-
209
-
210
- get checked() {
211
- return this._checked;
212
- }
213
-
214
- set checked(value) {
215
- this._checked = (0,_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_3__.coerceBooleanProperty)(value);
216
-
217
- this._changeDetectorRef.markForCheck();
218
- }
219
- /** Returns the unique id for the visual hidden input. */
220
-
221
-
222
- get inputId() {
223
- return `${this.id || this._uniqueId}-input`;
224
- }
225
-
226
- ngAfterContentInit() {
227
- this._focusMonitor.monitor(this._elementRef, true).subscribe(focusOrigin => {
228
- if (focusOrigin === 'keyboard' || focusOrigin === 'program') {
229
- this._focused = true;
230
- } else if (!focusOrigin) {
231
- // When a focused element becomes disabled, the browser *immediately* fires a blur event.
232
- // Angular does not expect events to be raised during change detection, so any state
233
- // change (such as a form control's ng-touched) will cause a changed-after-checked error.
234
- // See https://github.com/angular/angular/issues/17793. To work around this, we defer
235
- // telling the form control it has been touched until the next tick.
236
- Promise.resolve().then(() => {
237
- this._focused = false;
238
-
239
- this._onTouched();
240
-
241
- this._changeDetectorRef.markForCheck();
242
- });
243
- }
244
- });
245
- }
246
-
247
- ngOnDestroy() {
248
- this._focusMonitor.stopMonitoring(this._elementRef);
249
- }
250
- /** Implemented as part of ControlValueAccessor. */
251
-
252
-
253
- writeValue(value) {
254
- this.checked = !!value;
255
- }
256
- /** Implemented as part of ControlValueAccessor. */
257
-
258
-
259
- registerOnChange(fn) {
260
- this._onChange = fn;
261
- }
262
- /** Implemented as part of ControlValueAccessor. */
263
-
264
-
265
- registerOnTouched(fn) {
266
- this._onTouched = fn;
267
- }
268
- /** Implemented as a part of ControlValueAccessor. */
269
-
270
-
271
- setDisabledState(isDisabled) {
272
- this.disabled = isDisabled;
273
-
274
- this._changeDetectorRef.markForCheck();
275
- }
276
- /** Toggles the checked state of the slide-toggle. */
277
-
278
-
279
- toggle() {
280
- this.checked = !this.checked;
281
-
282
- this._onChange(this.checked);
283
- }
284
- /**
285
- * Emits a change event on the `change` output. Also notifies the FormControl about the change.
286
- */
287
-
288
-
289
- _emitChangeEvent() {
290
- this._onChange(this.checked);
291
-
292
- this.change.emit(this._createChangeEvent(this.checked));
293
- }
294
-
295
- }
296
-
297
- _MatSlideToggleBase.ɵfac = function _MatSlideToggleBase_Factory(t) {
298
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinvalidFactory"]();
299
- };
300
-
301
- _MatSlideToggleBase.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
302
- type: _MatSlideToggleBase,
303
- inputs: {
304
- name: "name",
305
- id: "id",
306
- labelPosition: "labelPosition",
307
- ariaLabel: ["aria-label", "ariaLabel"],
308
- ariaLabelledby: ["aria-labelledby", "ariaLabelledby"],
309
- ariaDescribedby: ["aria-describedby", "ariaDescribedby"],
310
- required: "required",
311
- checked: "checked"
312
- },
313
- outputs: {
314
- change: "change",
315
- toggleChange: "toggleChange"
316
- },
317
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
318
- });
319
-
320
- (function () {
321
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](_MatSlideToggleBase, [{
322
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive
323
- }], function () {
324
- return [{
325
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef
326
- }, {
327
- type: _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_4__.FocusMonitor
328
- }, {
329
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef
330
- }, {
331
- type: undefined
332
- }, {
333
- type: undefined
334
- }, {
335
- type: undefined
336
- }, {
337
- type: undefined
338
- }];
339
- }, {
340
- name: [{
341
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
342
- }],
343
- id: [{
344
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
345
- }],
346
- labelPosition: [{
347
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
348
- }],
349
- ariaLabel: [{
350
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
351
- args: ['aria-label']
352
- }],
353
- ariaLabelledby: [{
354
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
355
- args: ['aria-labelledby']
356
- }],
357
- ariaDescribedby: [{
358
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input,
359
- args: ['aria-describedby']
360
- }],
361
- required: [{
362
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
363
- }],
364
- checked: [{
365
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Input
366
- }],
367
- change: [{
368
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Output
369
- }],
370
- toggleChange: [{
371
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Output
372
- }]
373
- });
374
- })();
375
- /** Represents a slidable "switch" toggle that can be moved between on and off. */
376
-
377
-
378
- class MatSlideToggle extends _MatSlideToggleBase {
379
- constructor(elementRef, focusMonitor, changeDetectorRef, tabIndex, defaults, animationMode) {
380
- super(elementRef, focusMonitor, changeDetectorRef, tabIndex, defaults, animationMode, 'mat-slide-toggle-');
381
- }
382
-
383
- _createChangeEvent(isChecked) {
384
- return new MatSlideToggleChange(this, isChecked);
385
- }
386
- /** Method being called whenever the underlying input emits a change event. */
387
-
388
-
389
- _onChangeEvent(event) {
390
- // We always have to stop propagation on the change event.
391
- // Otherwise the change event, from the input element, will bubble up and
392
- // emit its event object to the component's `change` output.
393
- event.stopPropagation();
394
- this.toggleChange.emit(); // When the slide toggle's config disables toggle change event by setting
395
- // `disableToggleValue: true`, the slide toggle's value does not change, and the
396
- // checked state of the underlying input needs to be changed back.
397
-
398
- if (this.defaults.disableToggleValue) {
399
- this._inputElement.nativeElement.checked = this.checked;
400
- return;
401
- } // Sync the value from the underlying input element with the component instance.
402
-
403
-
404
- this.checked = this._inputElement.nativeElement.checked; // Emit our custom change event only if the underlying input emitted one. This ensures that
405
- // there is no change event, when the checked state changes programmatically.
406
-
407
- this._emitChangeEvent();
408
- }
409
- /** Method being called whenever the slide-toggle has been clicked. */
410
-
411
-
412
- _onInputClick(event) {
413
- // We have to stop propagation for click events on the visual hidden input element.
414
- // By default, when a user clicks on a label element, a generated click event will be
415
- // dispatched on the associated input element. Since we are using a label element as our
416
- // root container, the click event on the `slide-toggle` will be executed twice.
417
- // The real click event will bubble up, and the generated click event also tries to bubble up.
418
- // This will lead to multiple click events.
419
- // Preventing bubbling for the second event will solve that issue.
420
- event.stopPropagation();
421
- }
422
- /** Focuses the slide-toggle. */
423
-
424
-
425
- focus(options, origin) {
426
- if (origin) {
427
- this._focusMonitor.focusVia(this._inputElement, origin, options);
428
- } else {
429
- this._inputElement.nativeElement.focus(options);
430
- }
431
- }
432
- /** Method being called whenever the label text changes. */
433
-
434
-
435
- _onLabelTextChange() {
436
- // Since the event of the `cdkObserveContent` directive runs outside of the zone, the
437
- // slide-toggle component will be only marked for check, but no actual change detection runs
438
- // automatically. Instead of going back into the zone in order to trigger a change detection
439
- // which causes *all* components to be checked (if explicitly marked or not using OnPush),
440
- // we only trigger an explicit change detection for the slide-toggle view and its children.
441
- this._changeDetectorRef.detectChanges();
442
- }
443
-
444
- }
445
-
446
- MatSlideToggle.ɵfac = function MatSlideToggle_Factory(t) {
447
- return new (t || MatSlideToggle)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_4__.FocusMonitor), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵinjectAttribute"]('tabindex'), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_0__.ANIMATION_MODULE_TYPE, 8));
448
- };
449
-
450
- MatSlideToggle.ɵcmp = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({
451
- type: MatSlideToggle,
452
- selectors: [["mat-slide-toggle"]],
453
- viewQuery: function MatSlideToggle_Query(rf, ctx) {
454
- if (rf & 1) {
455
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵviewQuery"](_c0, 5);
456
- }
457
-
458
- if (rf & 2) {
459
- let _t;
460
-
461
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵqueryRefresh"](_t = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵloadQuery"]()) && (ctx._inputElement = _t.first);
462
- }
463
- },
464
- hostAttrs: [1, "mat-slide-toggle"],
465
- hostVars: 13,
466
- hostBindings: function MatSlideToggle_HostBindings(rf, ctx) {
467
- if (rf & 2) {
468
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵhostProperty"]("id", ctx.id);
469
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("tabindex", null)("aria-label", null)("aria-labelledby", null)("name", null);
470
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("mat-checked", ctx.checked)("mat-disabled", ctx.disabled)("mat-slide-toggle-label-before", ctx.labelPosition == "before")("_mat-animation-noopable", ctx._noopAnimations);
471
- }
472
- },
473
- inputs: {
474
- disabled: "disabled",
475
- disableRipple: "disableRipple",
476
- color: "color",
477
- tabIndex: "tabIndex"
478
- },
479
- exportAs: ["matSlideToggle"],
480
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([MAT_SLIDE_TOGGLE_VALUE_ACCESSOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]],
481
- ngContentSelectors: _c2,
482
- decls: 14,
483
- vars: 20,
484
- consts: [[1, "mat-slide-toggle-label"], ["label", ""], [1, "mat-slide-toggle-bar"], ["type", "checkbox", "role", "switch", 1, "mat-slide-toggle-input", "cdk-visually-hidden", 3, "id", "required", "tabIndex", "checked", "disabled", "change", "click"], ["input", ""], [1, "mat-slide-toggle-thumb-container"], [1, "mat-slide-toggle-thumb"], ["mat-ripple", "", 1, "mat-slide-toggle-ripple", "mat-focus-indicator", 3, "matRippleTrigger", "matRippleDisabled", "matRippleCentered", "matRippleRadius", "matRippleAnimation"], [1, "mat-ripple-element", "mat-slide-toggle-persistent-ripple"], [1, "mat-slide-toggle-content", 3, "cdkObserveContent"], ["labelContent", ""], [2, "display", "none"]],
485
- template: function MatSlideToggle_Template(rf, ctx) {
486
- if (rf & 1) {
487
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojectionDef"]();
488
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "label", 0, 1)(2, "span", 2)(3, "input", 3, 4);
489
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("change", function MatSlideToggle_Template_input_change_3_listener($event) {
490
- return ctx._onChangeEvent($event);
491
- })("click", function MatSlideToggle_Template_input_click_3_listener($event) {
492
- return ctx._onInputClick($event);
493
- });
494
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
495
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "span", 5);
496
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](6, "span", 6);
497
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "span", 7);
498
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](8, "span", 8);
499
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()()();
500
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "span", 9, 10);
501
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("cdkObserveContent", function MatSlideToggle_Template_span_cdkObserveContent_9_listener() {
502
- return ctx._onLabelTextChange();
503
- });
504
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](11, "span", 11);
505
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](12, "\xA0");
506
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]();
507
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵprojection"](13);
508
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"]()();
509
- }
510
-
511
- if (rf & 2) {
512
- const _r0 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](1);
513
-
514
- const _r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](10);
515
-
516
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("for", ctx.inputId);
517
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2);
518
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵclassProp"]("mat-slide-toggle-bar-no-side-margin", !_r2.textContent || !_r2.textContent.trim());
519
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1);
520
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("id", ctx.inputId)("required", ctx.required)("tabIndex", ctx.tabIndex)("checked", ctx.checked)("disabled", ctx.disabled);
521
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("name", ctx.name)("aria-checked", ctx.checked)("aria-label", ctx.ariaLabel)("aria-labelledby", ctx.ariaLabelledby)("aria-describedby", ctx.ariaDescribedby);
522
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4);
523
- _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("matRippleTrigger", _r0)("matRippleDisabled", ctx.disableRipple || ctx.disabled)("matRippleCentered", true)("matRippleRadius", 20)("matRippleAnimation", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpureFunction1"](18, _c1, ctx._noopAnimations ? 0 : 150));
524
- }
525
- },
526
- dependencies: [_angular_material_core__WEBPACK_IMPORTED_MODULE_2__.MatRipple, _angular_cdk_observers__WEBPACK_IMPORTED_MODULE_5__.CdkObserveContent],
527
- styles: [".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}"],
528
- encapsulation: 2,
529
- changeDetection: 0
530
- });
531
-
532
- (function () {
533
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MatSlideToggle, [{
534
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Component,
535
- args: [{
536
- selector: 'mat-slide-toggle',
537
- exportAs: 'matSlideToggle',
538
- host: {
539
- 'class': 'mat-slide-toggle',
540
- '[id]': 'id',
541
- // Needs to be removed since it causes some a11y issues (see #21266).
542
- '[attr.tabindex]': 'null',
543
- '[attr.aria-label]': 'null',
544
- '[attr.aria-labelledby]': 'null',
545
- '[attr.name]': 'null',
546
- '[class.mat-checked]': 'checked',
547
- '[class.mat-disabled]': 'disabled',
548
- '[class.mat-slide-toggle-label-before]': 'labelPosition == "before"',
549
- '[class._mat-animation-noopable]': '_noopAnimations'
550
- },
551
- providers: [MAT_SLIDE_TOGGLE_VALUE_ACCESSOR],
552
- inputs: ['disabled', 'disableRipple', 'color', 'tabIndex'],
553
- encapsulation: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewEncapsulation.None,
554
- changeDetection: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectionStrategy.OnPush,
555
- template: "<label [attr.for]=\"inputId\" class=\"mat-slide-toggle-label\" #label>\n <span class=\"mat-slide-toggle-bar\"\n [class.mat-slide-toggle-bar-no-side-margin]=\"!labelContent.textContent || !labelContent.textContent.trim()\">\n\n <input #input class=\"mat-slide-toggle-input cdk-visually-hidden\" type=\"checkbox\"\n role=\"switch\"\n [id]=\"inputId\"\n [required]=\"required\"\n [tabIndex]=\"tabIndex\"\n [checked]=\"checked\"\n [disabled]=\"disabled\"\n [attr.name]=\"name\"\n [attr.aria-checked]=\"checked\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-labelledby]=\"ariaLabelledby\"\n [attr.aria-describedby]=\"ariaDescribedby\"\n (change)=\"_onChangeEvent($event)\"\n (click)=\"_onInputClick($event)\">\n\n <span class=\"mat-slide-toggle-thumb-container\">\n <span class=\"mat-slide-toggle-thumb\"></span>\n <span class=\"mat-slide-toggle-ripple mat-focus-indicator\" mat-ripple\n [matRippleTrigger]=\"label\"\n [matRippleDisabled]=\"disableRipple || disabled\"\n [matRippleCentered]=\"true\"\n [matRippleRadius]=\"20\"\n [matRippleAnimation]=\"{enterDuration: _noopAnimations ? 0 : 150}\">\n\n <span class=\"mat-ripple-element mat-slide-toggle-persistent-ripple\"></span>\n </span>\n </span>\n\n </span>\n\n <span class=\"mat-slide-toggle-content\" #labelContent (cdkObserveContent)=\"_onLabelTextChange()\">\n <!-- Add an invisible span so JAWS can read the label -->\n <span style=\"display:none\">&nbsp;</span>\n <ng-content></ng-content>\n </span>\n</label>\n",
556
- styles: [".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}"]
557
- }]
558
- }], function () {
559
- return [{
560
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ElementRef
561
- }, {
562
- type: _angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_4__.FocusMonitor
563
- }, {
564
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ChangeDetectorRef
565
- }, {
566
- type: undefined,
567
- decorators: [{
568
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Attribute,
569
- args: ['tabindex']
570
- }]
571
- }, {
572
- type: undefined,
573
- decorators: [{
574
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
575
- args: [MAT_SLIDE_TOGGLE_DEFAULT_OPTIONS]
576
- }]
577
- }, {
578
- type: undefined,
579
- decorators: [{
580
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Optional
581
- }, {
582
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Inject,
583
- args: [_angular_core__WEBPACK_IMPORTED_MODULE_0__.ANIMATION_MODULE_TYPE]
584
- }]
585
- }];
586
- }, {
587
- _inputElement: [{
588
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.ViewChild,
589
- args: ['input']
590
- }]
591
- });
592
- })();
593
- /**
594
- * @license
595
- * Copyright Google LLC All Rights Reserved.
596
- *
597
- * Use of this source code is governed by an MIT-style license that can be
598
- * found in the LICENSE file at https://angular.io/license
599
- */
600
-
601
-
602
- const MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR = {
603
- provide: _angular_forms__WEBPACK_IMPORTED_MODULE_1__.NG_VALIDATORS,
604
- useExisting: (0,_angular_core__WEBPACK_IMPORTED_MODULE_0__.forwardRef)(() => MatSlideToggleRequiredValidator),
605
- multi: true
606
- };
607
- /**
608
- * Validator for Material slide-toggle components with the required attribute in a
609
- * template-driven form. The default validator for required form controls asserts
610
- * that the control value is not undefined but that is not appropriate for a slide-toggle
611
- * where the value is always defined.
612
- *
613
- * Required slide-toggle form controls are valid when checked.
614
- */
615
-
616
- class MatSlideToggleRequiredValidator extends _angular_forms__WEBPACK_IMPORTED_MODULE_1__.CheckboxRequiredValidator {}
617
-
618
- MatSlideToggleRequiredValidator.ɵfac = /* @__PURE__ */function () {
619
- let ɵMatSlideToggleRequiredValidator_BaseFactory;
620
- return function MatSlideToggleRequiredValidator_Factory(t) {
621
- return (ɵMatSlideToggleRequiredValidator_BaseFactory || (ɵMatSlideToggleRequiredValidator_BaseFactory = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetInheritedFactory"](MatSlideToggleRequiredValidator)))(t || MatSlideToggleRequiredValidator);
622
- };
623
- }();
624
-
625
- MatSlideToggleRequiredValidator.ɵdir = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineDirective"]({
626
- type: MatSlideToggleRequiredValidator,
627
- selectors: [["mat-slide-toggle", "required", "", "formControlName", ""], ["mat-slide-toggle", "required", "", "formControl", ""], ["mat-slide-toggle", "required", "", "ngModel", ""]],
628
- features: [_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵProvidersFeature"]([MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR]), _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵInheritDefinitionFeature"]]
629
- });
630
-
631
- (function () {
632
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MatSlideToggleRequiredValidator, [{
633
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.Directive,
634
- args: [{
635
- selector: `mat-slide-toggle[required][formControlName],
636
- mat-slide-toggle[required][formControl], mat-slide-toggle[required][ngModel]`,
637
- providers: [MAT_SLIDE_TOGGLE_REQUIRED_VALIDATOR]
638
- }]
639
- }], null, null);
640
- })();
641
- /**
642
- * @license
643
- * Copyright Google LLC All Rights Reserved.
644
- *
645
- * Use of this source code is governed by an MIT-style license that can be
646
- * found in the LICENSE file at https://angular.io/license
647
- */
648
-
649
- /** This module is used by both original and MDC-based slide-toggle implementations. */
650
-
651
-
652
- class _MatSlideToggleRequiredValidatorModule {}
653
-
654
- _MatSlideToggleRequiredValidatorModule.ɵfac = function _MatSlideToggleRequiredValidatorModule_Factory(t) {
655
- return new (t || _MatSlideToggleRequiredValidatorModule)();
656
- };
657
-
658
- _MatSlideToggleRequiredValidatorModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
659
- type: _MatSlideToggleRequiredValidatorModule
660
- });
661
- _MatSlideToggleRequiredValidatorModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({});
662
-
663
- (function () {
664
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](_MatSlideToggleRequiredValidatorModule, [{
665
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule,
666
- args: [{
667
- exports: [MatSlideToggleRequiredValidator],
668
- declarations: [MatSlideToggleRequiredValidator]
669
- }]
670
- }], null, null);
671
- })();
672
-
673
- class MatSlideToggleModule {}
674
-
675
- MatSlideToggleModule.ɵfac = function MatSlideToggleModule_Factory(t) {
676
- return new (t || MatSlideToggleModule)();
677
- };
678
-
679
- MatSlideToggleModule.ɵmod = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({
680
- type: MatSlideToggleModule
681
- });
682
- MatSlideToggleModule.ɵinj = /* @__PURE__ */_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({
683
- imports: [_MatSlideToggleRequiredValidatorModule, _angular_material_core__WEBPACK_IMPORTED_MODULE_2__.MatRippleModule, _angular_material_core__WEBPACK_IMPORTED_MODULE_2__.MatCommonModule, _angular_cdk_observers__WEBPACK_IMPORTED_MODULE_5__.ObserversModule, _MatSlideToggleRequiredValidatorModule, _angular_material_core__WEBPACK_IMPORTED_MODULE_2__.MatCommonModule]
684
- });
685
-
686
- (function () {
687
- (typeof ngDevMode === "undefined" || ngDevMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](MatSlideToggleModule, [{
688
- type: _angular_core__WEBPACK_IMPORTED_MODULE_0__.NgModule,
689
- args: [{
690
- imports: [_MatSlideToggleRequiredValidatorModule, _angular_material_core__WEBPACK_IMPORTED_MODULE_2__.MatRippleModule, _angular_material_core__WEBPACK_IMPORTED_MODULE_2__.MatCommonModule, _angular_cdk_observers__WEBPACK_IMPORTED_MODULE_5__.ObserversModule],
691
- exports: [_MatSlideToggleRequiredValidatorModule, MatSlideToggle, _angular_material_core__WEBPACK_IMPORTED_MODULE_2__.MatCommonModule],
692
- declarations: [MatSlideToggle]
693
- }]
694
- }], null, null);
695
- })();
696
- /**
697
- * @license
698
- * Copyright Google LLC All Rights Reserved.
699
- *
700
- * Use of this source code is governed by an MIT-style license that can be
701
- * found in the LICENSE file at https://angular.io/license
702
- */
703
-
704
- /**
705
- * @license
706
- * Copyright Google LLC All Rights Reserved.
707
- *
708
- * Use of this source code is governed by an MIT-style license that can be
709
- * found in the LICENSE file at https://angular.io/license
710
- */
711
-
712
- /**
713
- * Generated bundle index. Do not edit.
714
- */
715
-
716
-
717
-
718
-
719
- /***/ })
720
-
721
- }]);
722
- //# sourceMappingURL=default-src_app_menu_nav-tab_nav-tab_component_ts-node_modules_angular_material_fesm2020_slid-566c11.js.map