@taiga-ui/addon-mobile 3.75.0 → 3.77.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/taiga-ui-addon-mobile-components-mobile-calendar-dialog.umd.js +113 -15
- package/bundles/taiga-ui-addon-mobile-components-mobile-calendar-dialog.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-directives-dropdown-mobile.umd.js +579 -0
- package/bundles/taiga-ui-addon-mobile-directives-dropdown-mobile.umd.js.map +1 -0
- package/bundles/taiga-ui-addon-mobile-directives.umd.js +10 -4
- package/bundles/taiga-ui-addon-mobile-directives.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-services.umd.js +90 -0
- package/bundles/taiga-ui-addon-mobile-services.umd.js.map +1 -0
- package/bundles/taiga-ui-addon-mobile.umd.js +10 -4
- package/bundles/taiga-ui-addon-mobile.umd.js.map +1 -1
- package/components/mobile-calendar-dialog/index.d.ts +1 -0
- package/components/mobile-calendar-dialog/mobile-calendar-dialog.module.d.ts +4 -2
- package/components/mobile-calendar-dialog/mobile-calendar-dropdown.component.d.ts +29 -0
- package/directives/dropdown-mobile/dropdown-mobile.component.d.ts +34 -0
- package/directives/dropdown-mobile/dropdown-mobile.directive.d.ts +9 -0
- package/directives/dropdown-mobile/dropdown-mobile.module.d.ts +12 -0
- package/directives/dropdown-mobile/index.d.ts +3 -0
- package/directives/dropdown-mobile/package.json +10 -0
- package/directives/dropdown-mobile/taiga-ui-addon-mobile-directives-dropdown-mobile.d.ts +5 -0
- package/directives/index.d.ts +1 -0
- package/esm2015/components/mobile-calendar-dialog/index.js +2 -1
- package/esm2015/components/mobile-calendar-dialog/mobile-calendar-dialog.module.js +9 -7
- package/esm2015/components/mobile-calendar-dialog/mobile-calendar-dropdown.component.js +101 -0
- package/esm2015/directives/dropdown-mobile/dropdown-mobile.component.js +137 -0
- package/esm2015/directives/dropdown-mobile/dropdown-mobile.directive.js +55 -0
- package/esm2015/directives/dropdown-mobile/dropdown-mobile.module.js +35 -0
- package/esm2015/directives/dropdown-mobile/index.js +4 -0
- package/esm2015/directives/dropdown-mobile/taiga-ui-addon-mobile-directives-dropdown-mobile.js +5 -0
- package/esm2015/directives/index.js +2 -1
- package/esm2015/index.js +2 -1
- package/esm2015/services/index.js +2 -0
- package/esm2015/services/keyboard.service.js +56 -0
- package/esm2015/services/taiga-ui-addon-mobile-services.js +5 -0
- package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar-dialog.js +106 -10
- package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar-dialog.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-directives-dropdown-mobile.js +221 -0
- package/fesm2015/taiga-ui-addon-mobile-directives-dropdown-mobile.js.map +1 -0
- package/fesm2015/taiga-ui-addon-mobile-directives.js +1 -0
- package/fesm2015/taiga-ui-addon-mobile-directives.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-services.js +63 -0
- package/fesm2015/taiga-ui-addon-mobile-services.js.map +1 -0
- package/fesm2015/taiga-ui-addon-mobile.js +1 -0
- package/fesm2015/taiga-ui-addon-mobile.js.map +1 -1
- package/index.d.ts +1 -0
- package/package.json +7 -7
- package/services/index.d.ts +1 -0
- package/services/keyboard.service.d.ts +15 -0
- package/services/package.json +10 -0
- package/services/taiga-ui-addon-mobile-services.d.ts +5 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@taiga-ui/cdk'), require('@tinkoff/ng-polymorpheus'), require('@taiga-ui/addon-mobile/components/mobile-calendar'), require('@taiga-ui/kit')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@taiga-ui/addon-mobile/components/mobile-calendar-dialog', ['exports', '@angular/core', '@taiga-ui/cdk', '@tinkoff/ng-polymorpheus', '@taiga-ui/addon-mobile/components/mobile-calendar', '@taiga-ui/kit'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"]["addon-mobile"] = global["taiga-ui"]["addon-mobile"] || {}, global["taiga-ui"]["addon-mobile"].components = global["taiga-ui"]["addon-mobile"].components || {}, global["taiga-ui"]["addon-mobile"].components["mobile-calendar-dialog"] = {}), global.ng.core, global.
|
|
5
|
-
})(this, (function (exports, i0,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@taiga-ui/cdk'), require('@tinkoff/ng-polymorpheus'), require('@taiga-ui/addon-mobile/components/mobile-calendar'), require('@taiga-ui/kit'), require('@taiga-ui/addon-mobile/services'), require('@taiga-ui/core')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@taiga-ui/addon-mobile/components/mobile-calendar-dialog', ['exports', '@angular/core', '@taiga-ui/cdk', '@tinkoff/ng-polymorpheus', '@taiga-ui/addon-mobile/components/mobile-calendar', '@taiga-ui/kit', '@taiga-ui/addon-mobile/services', '@taiga-ui/core'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"]["addon-mobile"] = global["taiga-ui"]["addon-mobile"] || {}, global["taiga-ui"]["addon-mobile"].components = global["taiga-ui"]["addon-mobile"].components || {}, global["taiga-ui"]["addon-mobile"].components["mobile-calendar-dialog"] = {}), global.ng.core, global.i2, global.ngPolymorpheus, global["taiga-ui"]["addon-mobile"].components["mobile-calendar"], global.i3, global["taiga-ui"]["addon-mobile"].services, global.i4));
|
|
5
|
+
})(this, (function (exports, i0, i2, ngPolymorpheus, i1, i3, i5, i4) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopNamespace(e) {
|
|
8
8
|
if (e && e.__esModule) return e;
|
|
@@ -23,7 +23,11 @@
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
|
+
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
26
27
|
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
28
|
+
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
29
|
+
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
30
|
+
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
27
31
|
|
|
28
32
|
var TuiMobileCalendarDialogComponent = /** @class */ (function () {
|
|
29
33
|
function TuiMobileCalendarDialogComponent(context) {
|
|
@@ -48,7 +52,7 @@
|
|
|
48
52
|
Object.defineProperty(TuiMobileCalendarDialogComponent.prototype, "min", {
|
|
49
53
|
get: function () {
|
|
50
54
|
var _a;
|
|
51
|
-
return ((_a = this.context.data) === null || _a === void 0 ? void 0 : _a.min) ||
|
|
55
|
+
return ((_a = this.context.data) === null || _a === void 0 ? void 0 : _a.min) || i2.TUI_FIRST_DAY;
|
|
52
56
|
},
|
|
53
57
|
enumerable: false,
|
|
54
58
|
configurable: true
|
|
@@ -56,7 +60,7 @@
|
|
|
56
60
|
Object.defineProperty(TuiMobileCalendarDialogComponent.prototype, "max", {
|
|
57
61
|
get: function () {
|
|
58
62
|
var _a;
|
|
59
|
-
return ((_a = this.context.data) === null || _a === void 0 ? void 0 : _a.max) ||
|
|
63
|
+
return ((_a = this.context.data) === null || _a === void 0 ? void 0 : _a.max) || i2.TUI_LAST_DAY;
|
|
60
64
|
},
|
|
61
65
|
enumerable: false,
|
|
62
66
|
configurable: true
|
|
@@ -64,7 +68,7 @@
|
|
|
64
68
|
Object.defineProperty(TuiMobileCalendarDialogComponent.prototype, "disabledItemHandler", {
|
|
65
69
|
get: function () {
|
|
66
70
|
var _a;
|
|
67
|
-
return ((_a = this.context.data) === null || _a === void 0 ? void 0 : _a.disabledItemHandler) ||
|
|
71
|
+
return ((_a = this.context.data) === null || _a === void 0 ? void 0 : _a.disabledItemHandler) || i2.ALWAYS_FALSE_HANDLER;
|
|
68
72
|
},
|
|
69
73
|
enumerable: false,
|
|
70
74
|
configurable: true
|
|
@@ -88,28 +92,121 @@
|
|
|
88
92
|
}] }];
|
|
89
93
|
} });
|
|
90
94
|
|
|
95
|
+
var TuiMobileCalendarDropdownComponent = /** @class */ (function () {
|
|
96
|
+
function TuiMobileCalendarDropdownComponent(zone, duration, single, multi, range, dropdown, keyboard) {
|
|
97
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
98
|
+
this.zone = zone;
|
|
99
|
+
this.duration = duration;
|
|
100
|
+
this.single = single;
|
|
101
|
+
this.multi = multi;
|
|
102
|
+
this.range = range;
|
|
103
|
+
this.dropdown = dropdown;
|
|
104
|
+
this.keyboard = keyboard;
|
|
105
|
+
this.animation = {
|
|
106
|
+
value: '',
|
|
107
|
+
params: {
|
|
108
|
+
start: '100vh',
|
|
109
|
+
duration: this.duration,
|
|
110
|
+
},
|
|
111
|
+
};
|
|
112
|
+
this.min = ((_a = this.single) === null || _a === void 0 ? void 0 : _a.min) ||
|
|
113
|
+
((_b = this.multi) === null || _b === void 0 ? void 0 : _b.min) ||
|
|
114
|
+
((_c = this.range) === null || _c === void 0 ? void 0 : _c.maxLengthMapper(this.range.computedMin, this.range.value, this.range.maxLength, true)) ||
|
|
115
|
+
i2.TUI_FIRST_DAY;
|
|
116
|
+
this.max = ((_d = this.single) === null || _d === void 0 ? void 0 : _d.max) ||
|
|
117
|
+
((_e = this.multi) === null || _e === void 0 ? void 0 : _e.max) ||
|
|
118
|
+
((_f = this.range) === null || _f === void 0 ? void 0 : _f.maxLengthMapper(this.range.computedMax, this.range.value, this.range.maxLength, false)) ||
|
|
119
|
+
i2.TUI_LAST_DAY;
|
|
120
|
+
this.disabledItemHandler = ((_g = this.single) === null || _g === void 0 ? void 0 : _g.disabledItemHandler) ||
|
|
121
|
+
((_h = this.multi) === null || _h === void 0 ? void 0 : _h.disabledItemHandler) ||
|
|
122
|
+
((_j = this.range) === null || _j === void 0 ? void 0 : _j.disabledItemHandler) ||
|
|
123
|
+
i2.ALWAYS_FALSE_HANDLER;
|
|
124
|
+
this.keyboard.hide();
|
|
125
|
+
}
|
|
126
|
+
TuiMobileCalendarDropdownComponent.prototype.close = function () {
|
|
127
|
+
this.dropdown.computedHost.focus();
|
|
128
|
+
this.dropdown.updateOpen(false);
|
|
129
|
+
this.keyboard.show();
|
|
130
|
+
};
|
|
131
|
+
TuiMobileCalendarDropdownComponent.prototype.confirm = function (value) {
|
|
132
|
+
var control = this.single || this.multi || this.range;
|
|
133
|
+
if (control) {
|
|
134
|
+
control.value = value;
|
|
135
|
+
}
|
|
136
|
+
this.close();
|
|
137
|
+
};
|
|
138
|
+
return TuiMobileCalendarDropdownComponent;
|
|
139
|
+
}());
|
|
140
|
+
TuiMobileCalendarDropdownComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiMobileCalendarDropdownComponent, deps: [{ token: i2.TuiActiveZoneDirective }, { token: i4.TUI_ANIMATIONS_DURATION }, { token: i3.TuiInputDateComponent, optional: true }, { token: i3.TuiInputDateMultiComponent, optional: true }, { token: i3.TuiInputDateRangeComponent, optional: true }, { token: i4.TuiHostedDropdownComponent }, { token: i5.TuiKeyboardService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
141
|
+
TuiMobileCalendarDropdownComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiMobileCalendarDropdownComponent, selector: "tui-mobile-calendar-dropdown", host: { properties: { "@tuiSlideInTop": "this.animation", "@tuiFadeIn": "this.animation" } }, ngImport: i0__namespace, template: "<tui-mobile-calendar\n tuiActiveZone\n [disabledItemHandler]=\"disabledItemHandler\"\n [max]=\"max\"\n [min]=\"min\"\n [multi]=\"!!multi\"\n [single]=\"!!single\"\n (cancel)=\"close()\"\n (confirm)=\"confirm($event)\"\n></tui-mobile-calendar>\n", styles: [":host{position:fixed;top:0;left:0;width:100%;height:100%;background:var(--tui-elevation-01);box-shadow:0 10rem var(--tui-elevation-01),0 -90vh 1rem 2rem #000000bf}\n"], components: [{ type: i1__namespace.TuiMobileCalendarComponent, selector: "tui-mobile-calendar", inputs: ["single", "multi", "min", "max", "disabledItemHandler"], outputs: ["cancel", "confirm"] }], directives: [{ type: i2__namespace.TuiActiveZoneDirective, selector: "[tuiActiveZone]:not(ng-container), [tuiActiveZoneChange]:not(ng-container), [tuiActiveZoneParent]:not(ng-container)", inputs: ["tuiActiveZoneParent"], outputs: ["tuiActiveZoneChange"], exportAs: ["tuiActiveZone"] }], animations: [i4.tuiSlideInTop, i4.tuiFadeIn], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
142
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiMobileCalendarDropdownComponent, decorators: [{
|
|
143
|
+
type: i0.Component,
|
|
144
|
+
args: [{
|
|
145
|
+
selector: 'tui-mobile-calendar-dropdown',
|
|
146
|
+
templateUrl: './mobile-calendar-dropdown.template.html',
|
|
147
|
+
styleUrls: ['./mobile-calendar-dropdown.style.less'],
|
|
148
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
149
|
+
animations: [i4.tuiSlideInTop, i4.tuiFadeIn],
|
|
150
|
+
}]
|
|
151
|
+
}], ctorParameters: function () {
|
|
152
|
+
return [{ type: i2__namespace.TuiActiveZoneDirective, decorators: [{
|
|
153
|
+
type: i0.Inject,
|
|
154
|
+
args: [i2.TuiActiveZoneDirective]
|
|
155
|
+
}] }, { type: undefined, decorators: [{
|
|
156
|
+
type: i0.Inject,
|
|
157
|
+
args: [i4.TUI_ANIMATIONS_DURATION]
|
|
158
|
+
}] }, { type: i3__namespace.TuiInputDateComponent, decorators: [{
|
|
159
|
+
type: i0.Optional
|
|
160
|
+
}, {
|
|
161
|
+
type: i0.Inject,
|
|
162
|
+
args: [i3.TuiInputDateComponent]
|
|
163
|
+
}] }, { type: i3__namespace.TuiInputDateMultiComponent, decorators: [{
|
|
164
|
+
type: i0.Optional
|
|
165
|
+
}, {
|
|
166
|
+
type: i0.Inject,
|
|
167
|
+
args: [i3.TuiInputDateMultiComponent]
|
|
168
|
+
}] }, { type: i3__namespace.TuiInputDateRangeComponent, decorators: [{
|
|
169
|
+
type: i0.Optional
|
|
170
|
+
}, {
|
|
171
|
+
type: i0.Inject,
|
|
172
|
+
args: [i3.TuiInputDateRangeComponent]
|
|
173
|
+
}] }, { type: i4__namespace.TuiHostedDropdownComponent, decorators: [{
|
|
174
|
+
type: i0.Inject,
|
|
175
|
+
args: [i4.TuiHostedDropdownComponent]
|
|
176
|
+
}] }, { type: i5__namespace.TuiKeyboardService, decorators: [{
|
|
177
|
+
type: i0.Inject,
|
|
178
|
+
args: [i5.TuiKeyboardService]
|
|
179
|
+
}] }];
|
|
180
|
+
}, propDecorators: { animation: [{
|
|
181
|
+
type: i0.HostBinding,
|
|
182
|
+
args: ['@tuiSlideInTop']
|
|
183
|
+
}, {
|
|
184
|
+
type: i0.HostBinding,
|
|
185
|
+
args: ['@tuiFadeIn']
|
|
186
|
+
}] } });
|
|
187
|
+
|
|
91
188
|
var TuiMobileCalendarDialogModule = /** @class */ (function () {
|
|
92
189
|
function TuiMobileCalendarDialogModule() {
|
|
93
190
|
}
|
|
94
191
|
return TuiMobileCalendarDialogModule;
|
|
95
192
|
}());
|
|
96
193
|
TuiMobileCalendarDialogModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiMobileCalendarDialogModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
97
|
-
TuiMobileCalendarDialogModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiMobileCalendarDialogModule, declarations: [TuiMobileCalendarDialogComponent], imports: [i1.TuiMobileCalendarModule], exports: [TuiMobileCalendarDialogComponent] });
|
|
194
|
+
TuiMobileCalendarDialogModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiMobileCalendarDialogModule, declarations: [TuiMobileCalendarDialogComponent, TuiMobileCalendarDropdownComponent], imports: [i1.TuiMobileCalendarModule, i2.TuiActiveZoneModule], exports: [TuiMobileCalendarDialogComponent] });
|
|
98
195
|
TuiMobileCalendarDialogModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiMobileCalendarDialogModule, providers: [
|
|
99
196
|
{
|
|
100
|
-
provide:
|
|
101
|
-
useValue:
|
|
197
|
+
provide: i3.TUI_MOBILE_CALENDAR,
|
|
198
|
+
useValue: TuiMobileCalendarDropdownComponent,
|
|
102
199
|
},
|
|
103
|
-
], imports: [[i1.TuiMobileCalendarModule]] });
|
|
200
|
+
], imports: [[i1.TuiMobileCalendarModule, i2.TuiActiveZoneModule]] });
|
|
104
201
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiMobileCalendarDialogModule, decorators: [{
|
|
105
202
|
type: i0.NgModule,
|
|
106
203
|
args: [{
|
|
107
|
-
imports: [i1.TuiMobileCalendarModule],
|
|
108
|
-
declarations: [TuiMobileCalendarDialogComponent],
|
|
204
|
+
imports: [i1.TuiMobileCalendarModule, i2.TuiActiveZoneModule],
|
|
205
|
+
declarations: [TuiMobileCalendarDialogComponent, TuiMobileCalendarDropdownComponent],
|
|
109
206
|
providers: [
|
|
110
207
|
{
|
|
111
|
-
provide:
|
|
112
|
-
useValue:
|
|
208
|
+
provide: i3.TUI_MOBILE_CALENDAR,
|
|
209
|
+
useValue: TuiMobileCalendarDropdownComponent,
|
|
113
210
|
},
|
|
114
211
|
],
|
|
115
212
|
exports: [TuiMobileCalendarDialogComponent],
|
|
@@ -122,6 +219,7 @@
|
|
|
122
219
|
|
|
123
220
|
exports.TuiMobileCalendarDialogComponent = TuiMobileCalendarDialogComponent;
|
|
124
221
|
exports.TuiMobileCalendarDialogModule = TuiMobileCalendarDialogModule;
|
|
222
|
+
exports.TuiMobileCalendarDropdownComponent = TuiMobileCalendarDropdownComponent;
|
|
125
223
|
|
|
126
224
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
127
225
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-addon-mobile-components-mobile-calendar-dialog.umd.js","sources":["../../../projects/addon-mobile/components/mobile-calendar-dialog/mobile-calendar-dialog.component.ts","../../../projects/addon-mobile/components/mobile-calendar-dialog/mobile-calendar-dialog.template.html","../../../projects/addon-mobile/components/mobile-calendar-dialog/mobile-calendar-dialog.module.ts","../../../projects/addon-mobile/components/mobile-calendar-dialog/taiga-ui-addon-mobile-components-mobile-calendar-dialog.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, Inject} from '@angular/core';\nimport {\n ALWAYS_FALSE_HANDLER,\n TUI_FIRST_DAY,\n TUI_LAST_DAY,\n TuiBooleanHandler,\n TuiDay,\n TuiDayRange,\n} from '@taiga-ui/cdk';\nimport {TuiDialogContext} from '@taiga-ui/core';\nimport {TuiMobileCalendarData} from '@taiga-ui/kit';\nimport {POLYMORPHEUS_CONTEXT} from '@tinkoff/ng-polymorpheus';\n\n@Component({\n selector: 'tui-mobile-calendar-dialog',\n templateUrl: './mobile-calendar-dialog.template.html',\n styleUrls: ['./mobile-calendar-dialog.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiMobileCalendarDialogComponent {\n constructor(\n @Inject(POLYMORPHEUS_CONTEXT)\n readonly context: TuiDialogContext<\n TuiDay | TuiDayRange | readonly TuiDay[],\n TuiMobileCalendarData | undefined\n >,\n ) {}\n\n get single(): boolean {\n return this.context.data?.single === true;\n }\n\n get multi(): boolean {\n return this.context.data?.multi === true;\n }\n\n get min(): TuiDay {\n return this.context.data?.min || TUI_FIRST_DAY;\n }\n\n get max(): TuiDay {\n return this.context.data?.max || TUI_LAST_DAY;\n }\n\n get disabledItemHandler(): TuiBooleanHandler<TuiDay> {\n return this.context.data?.disabledItemHandler || ALWAYS_FALSE_HANDLER;\n }\n}\n","<tui-mobile-calendar\n [disabledItemHandler]=\"disabledItemHandler\"\n [max]=\"max\"\n [min]=\"min\"\n [multi]=\"multi\"\n [single]=\"single\"\n (cancel)=\"context.$implicit.complete()\"\n (confirm)=\"context.completeWith($event)\"\n></tui-mobile-calendar>\n","import {NgModule} from '@angular/core';\nimport {TuiMobileCalendarModule} from '@taiga-ui/addon-mobile/components/mobile-calendar';\nimport {TUI_MOBILE_CALENDAR} from '@taiga-ui/kit';\n\nimport {TuiMobileCalendarDialogComponent} from './mobile-calendar-dialog.component';\n\n@NgModule({\n imports: [TuiMobileCalendarModule],\n declarations: [TuiMobileCalendarDialogComponent],\n providers: [\n {\n provide: TUI_MOBILE_CALENDAR,\n useValue: TuiMobileCalendarDialogComponent,\n },\n ],\n exports: [TuiMobileCalendarDialogComponent],\n})\nexport class TuiMobileCalendarDialogModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["TUI_FIRST_DAY","TUI_LAST_DAY","ALWAYS_FALSE_HANDLER","i0","POLYMORPHEUS_CONTEXT","i1","Component","ChangeDetectionStrategy","Inject","TuiMobileCalendarModule","TUI_MOBILE_CALENDAR","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAmBA,QAAA,gCAAA,kBAAA,YAAA;IACI,IAAA,SAAA,gCAAA,CAEa,OAGR,EAAA;IAHQ,QAAA,IAAO,CAAA,OAAA,GAAP,OAAO,CAGf;SACD;IAEJ,IAAA,MAAA,CAAA,cAAA,CAAI,gCAAM,CAAA,SAAA,EAAA,QAAA,EAAA;IAAV,QAAA,GAAA,EAAA,YAAA;;IACI,YAAA,OAAO,CAAA,CAAA,EAAA,GAAA,I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sources":["../../../projects/addon-mobile/components/mobile-calendar-dialog/mobile-calendar-dialog.component.ts","../../../projects/addon-mobile/components/mobile-calendar-dialog/mobile-calendar-dialog.template.html","../../../projects/addon-mobile/components/mobile-calendar-dialog/mobile-calendar-dropdown.component.ts","../../../projects/addon-mobile/components/mobile-calendar-dialog/mobile-calendar-dropdown.template.html","../../../projects/addon-mobile/components/mobile-calendar-dialog/mobile-calendar-dialog.module.ts","../../../projects/addon-mobile/components/mobile-calendar-dialog/taiga-ui-addon-mobile-components-mobile-calendar-dialog.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, Inject} from '@angular/core';\nimport {\n ALWAYS_FALSE_HANDLER,\n TUI_FIRST_DAY,\n TUI_LAST_DAY,\n TuiBooleanHandler,\n TuiDay,\n TuiDayRange,\n} from '@taiga-ui/cdk';\nimport {TuiDialogContext} from '@taiga-ui/core';\nimport {TuiMobileCalendarData} from '@taiga-ui/kit';\nimport {POLYMORPHEUS_CONTEXT} from '@tinkoff/ng-polymorpheus';\n\n@Component({\n selector: 'tui-mobile-calendar-dialog',\n templateUrl: './mobile-calendar-dialog.template.html',\n styleUrls: ['./mobile-calendar-dialog.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiMobileCalendarDialogComponent {\n constructor(\n @Inject(POLYMORPHEUS_CONTEXT)\n readonly context: TuiDialogContext<\n TuiDay | TuiDayRange | readonly TuiDay[],\n TuiMobileCalendarData | undefined\n >,\n ) {}\n\n get single(): boolean {\n return this.context.data?.single === true;\n }\n\n get multi(): boolean {\n return this.context.data?.multi === true;\n }\n\n get min(): TuiDay {\n return this.context.data?.min || TUI_FIRST_DAY;\n }\n\n get max(): TuiDay {\n return this.context.data?.max || TUI_LAST_DAY;\n }\n\n get disabledItemHandler(): TuiBooleanHandler<TuiDay> {\n return this.context.data?.disabledItemHandler || ALWAYS_FALSE_HANDLER;\n }\n}\n","<tui-mobile-calendar\n [disabledItemHandler]=\"disabledItemHandler\"\n [max]=\"max\"\n [min]=\"min\"\n [multi]=\"multi\"\n [single]=\"single\"\n (cancel)=\"context.$implicit.complete()\"\n (confirm)=\"context.completeWith($event)\"\n></tui-mobile-calendar>\n","import {\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n Inject,\n Optional,\n} from '@angular/core';\nimport {TuiKeyboardService} from '@taiga-ui/addon-mobile/services';\nimport {\n ALWAYS_FALSE_HANDLER,\n TUI_FIRST_DAY,\n TUI_LAST_DAY,\n TuiActiveZoneDirective,\n} from '@taiga-ui/cdk';\nimport {\n TUI_ANIMATIONS_DURATION,\n tuiFadeIn,\n TuiHostedDropdownComponent,\n tuiSlideInTop,\n} from '@taiga-ui/core';\nimport {\n TuiInputDateComponent,\n TuiInputDateMultiComponent,\n TuiInputDateRangeComponent,\n} from '@taiga-ui/kit';\n\n@Component({\n selector: 'tui-mobile-calendar-dropdown',\n templateUrl: './mobile-calendar-dropdown.template.html',\n styleUrls: ['./mobile-calendar-dropdown.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n animations: [tuiSlideInTop, tuiFadeIn],\n})\nexport class TuiMobileCalendarDropdownComponent {\n @HostBinding('@tuiSlideInTop')\n @HostBinding('@tuiFadeIn')\n readonly animation = {\n value: '',\n params: {\n start: '100vh',\n duration: this.duration,\n },\n } as const;\n\n readonly min =\n this.single?.min ||\n this.multi?.min ||\n this.range?.maxLengthMapper(\n this.range.computedMin,\n this.range.value,\n this.range.maxLength,\n true,\n ) ||\n TUI_FIRST_DAY;\n\n readonly max =\n this.single?.max ||\n this.multi?.max ||\n this.range?.maxLengthMapper(\n this.range.computedMax,\n this.range.value,\n this.range.maxLength,\n false,\n ) ||\n TUI_LAST_DAY;\n\n readonly disabledItemHandler =\n this.single?.disabledItemHandler ||\n this.multi?.disabledItemHandler ||\n this.range?.disabledItemHandler ||\n ALWAYS_FALSE_HANDLER;\n\n constructor(\n @Inject(TuiActiveZoneDirective) readonly zone: TuiActiveZoneDirective,\n @Inject(TUI_ANIMATIONS_DURATION) private readonly duration: number,\n @Optional()\n @Inject(TuiInputDateComponent)\n readonly single: TuiInputDateComponent | null,\n @Optional()\n @Inject(TuiInputDateMultiComponent)\n readonly multi: TuiInputDateMultiComponent | null,\n @Optional()\n @Inject(TuiInputDateRangeComponent)\n private readonly range: TuiInputDateRangeComponent | null,\n @Inject(TuiHostedDropdownComponent)\n private readonly dropdown: TuiHostedDropdownComponent,\n @Inject(TuiKeyboardService)\n private readonly keyboard: TuiKeyboardService,\n ) {\n this.keyboard.hide();\n }\n\n close(): void {\n this.dropdown.computedHost.focus();\n this.dropdown.updateOpen(false);\n this.keyboard.show();\n }\n\n confirm(value: any): void {\n const control = this.single || this.multi || this.range;\n\n if (control) {\n control.value = value;\n }\n\n this.close();\n }\n}\n","<tui-mobile-calendar\n tuiActiveZone\n [disabledItemHandler]=\"disabledItemHandler\"\n [max]=\"max\"\n [min]=\"min\"\n [multi]=\"!!multi\"\n [single]=\"!!single\"\n (cancel)=\"close()\"\n (confirm)=\"confirm($event)\"\n></tui-mobile-calendar>\n","import {NgModule} from '@angular/core';\nimport {TuiMobileCalendarModule} from '@taiga-ui/addon-mobile/components/mobile-calendar';\nimport {TuiActiveZoneModule} from '@taiga-ui/cdk';\nimport {TUI_MOBILE_CALENDAR} from '@taiga-ui/kit';\n\nimport {TuiMobileCalendarDialogComponent} from './mobile-calendar-dialog.component';\nimport {TuiMobileCalendarDropdownComponent} from './mobile-calendar-dropdown.component';\n\n@NgModule({\n imports: [TuiMobileCalendarModule, TuiActiveZoneModule],\n declarations: [TuiMobileCalendarDialogComponent, TuiMobileCalendarDropdownComponent],\n providers: [\n {\n provide: TUI_MOBILE_CALENDAR,\n useValue: TuiMobileCalendarDropdownComponent,\n },\n ],\n exports: [TuiMobileCalendarDialogComponent],\n})\nexport class TuiMobileCalendarDialogModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["TUI_FIRST_DAY","TUI_LAST_DAY","ALWAYS_FALSE_HANDLER","i0","POLYMORPHEUS_CONTEXT","i1","Component","ChangeDetectionStrategy","Inject","TuiActiveZoneDirective","TUI_ANIMATIONS_DURATION","TuiInputDateComponent","TuiInputDateMultiComponent","TuiInputDateRangeComponent","TuiHostedDropdownComponent","TuiKeyboardService","i2","tuiSlideInTop","tuiFadeIn","Optional","HostBinding","TuiMobileCalendarModule","TuiActiveZoneModule","TUI_MOBILE_CALENDAR","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmBA,QAAA,gCAAA,kBAAA,YAAA;IACI,IAAA,SAAA,gCAAA,CAEa,OAGR,EAAA;IAHQ,QAAA,IAAO,CAAA,OAAA,GAAP,OAAO,CAGf;SACD;IAEJ,IAAA,MAAA,CAAA,cAAA,CAAI,gCAAM,CAAA,SAAA,EAAA,QAAA,EAAA;IAAV,QAAA,GAAA,EAAA,YAAA;;IACI,YAAA,OAAO,CAAA,CAAA,EAAA,GAAA,IAAI,CAAC,OAAO,CAAC,IAAI,MAAE,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,MAAM,MAAK,IAAI,CAAC;aAC7C;;;IAAA,KAAA,CAAA,CAAA;IAED,IAAA,MAAA,CAAA,cAAA,CAAI,gCAAK,CAAA,SAAA,EAAA,OAAA,EAAA;IAAT,QAAA,GAAA,EAAA,YAAA;;IACI,YAAA,OAAO,CAAA,CAAA,EAAA,GAAA,IAAI,CAAC,OAAO,CAAC,IAAI,MAAE,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,KAAK,MAAK,IAAI,CAAC;aAC5C;;;IAAA,KAAA,CAAA,CAAA;IAED,IAAA,MAAA,CAAA,cAAA,CAAI,gCAAG,CAAA,SAAA,EAAA,KAAA,EAAA;IAAP,QAAA,GAAA,EAAA,YAAA;;IACI,YAAA,OAAO,CAAA,CAAA,EAAA,GAAA,IAAI,CAAC,OAAO,CAAC,IAAI,MAA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