@taiga-ui/kit 3.19.0-dev.main-e153079 → 3.19.0-dev.main-dac54eb

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.
@@ -87,7 +87,7 @@
87
87
  return TuiElasticContainerComponent;
88
88
  }());
89
89
  TuiElasticContainerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiElasticContainerComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
90
- TuiElasticContainerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiElasticContainerComponent, selector: "tui-elastic-container", host: { properties: { "style.height.px": "this.height" } }, ngImport: i0__namespace, template: "<div (tuiElasticContainer)=\"height = $event\">\n <ng-content></ng-content>\n</div>\n", styles: [":host{transition-property:height;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;overflow:hidden}\n"], directives: [{ type: TuiElasticContainerDirective, selector: "[tuiElasticContainer]", outputs: ["tuiElasticContainer"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
90
+ TuiElasticContainerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiElasticContainerComponent, selector: "tui-elastic-container", host: { properties: { "style.height.px": "this.height" } }, ngImport: i0__namespace, template: "<div\n class=\"t-wrapper\"\n (tuiElasticContainer)=\"height = $event\"\n>\n <ng-content></ng-content>\n</div>\n", styles: [":host{transition-property:height;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;display:block;overflow:hidden}.t-wrapper{padding-top:1px;margin-top:-1px}\n"], directives: [{ type: TuiElasticContainerDirective, selector: "[tuiElasticContainer]", outputs: ["tuiElasticContainer"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
91
91
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiElasticContainerComponent, decorators: [{
92
92
  type: i0.Component,
93
93
  args: [{
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-elastic-container.umd.js","sources":["../../../projects/kit/components/elastic-container/elastic-container.directive.ts","../../../projects/kit/components/elastic-container/elastic-container.component.ts","../../../projects/kit/components/elastic-container/elastic-container.component.html","../../../projects/kit/components/elastic-container/elastic-container.module.ts","../../../projects/kit/components/elastic-container/taiga-ui-kit-components-elastic-container.ts"],"sourcesContent":["import {Directive, ElementRef, Inject, Output} from '@angular/core';\nimport {\n MUTATION_OBSERVER_INIT,\n MutationObserverService,\n} from '@ng-web-apis/mutation-observer';\nimport {ResizeObserverService} from '@ng-web-apis/resize-observer';\nimport {merge, Observable} from 'rxjs';\nimport {debounceTime, distinctUntilChanged, map} from 'rxjs/operators';\n\n@Directive({\n selector: '[tuiElasticContainer]',\n providers: [\n ResizeObserverService,\n MutationObserverService,\n {\n provide: MUTATION_OBSERVER_INIT,\n useValue: {\n childList: true,\n characterData: true,\n subtree: true,\n },\n },\n ],\n})\nexport class TuiElasticContainerDirective {\n @Output()\n readonly tuiElasticContainer = merge(this.resize$, this.mutation$).pipe(\n debounceTime(0),\n map(() => this.elementRef.nativeElement.clientHeight),\n distinctUntilChanged(),\n );\n\n constructor(\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(ResizeObserverService) private readonly resize$: Observable<unknown>,\n @Inject(MutationObserverService) private readonly mutation$: Observable<unknown>,\n ) {}\n}\n","import {ChangeDetectionStrategy, Component, HostBinding} from '@angular/core';\n\n@Component({\n selector: 'tui-elastic-container',\n templateUrl: './elastic-container.component.html',\n styleUrls: ['./elastic-container.component.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiElasticContainerComponent {\n @HostBinding('style.height.px')\n height = NaN;\n}\n","<div (tuiElasticContainer)=\"height = $event\">\n <ng-content></ng-content>\n</div>\n","import {NgModule} from '@angular/core';\n\nimport {TuiElasticContainerComponent} from './elastic-container.component';\nimport {TuiElasticContainerDirective} from './elastic-container.directive';\n\n@NgModule({\n declarations: [TuiElasticContainerComponent, TuiElasticContainerDirective],\n exports: [TuiElasticContainerComponent],\n})\nexport class TuiElasticContainerModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["merge","debounceTime","map","distinctUntilChanged","i0","ElementRef","ResizeObserverService","MutationObserverService","MUTATION_OBSERVER_INIT","Directive","Inject","Output","i1.TuiElasticContainerDirective","Component","ChangeDetectionStrategy","HostBinding","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBA,QAAA,4BAAA,kBAAA,YAAA;IAQI,IAAA,SAAA,4BAAA,CACyC,UAAmC,EACxB,OAA4B,EAC1B,SAA8B,EAAA;YAHpF,IAII,KAAA,GAAA,IAAA,CAAA;IAHqC,QAAA,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;IACxB,QAAA,IAAO,CAAA,OAAA,GAAP,OAAO,CAAqB;IAC1B,QAAA,IAAS,CAAA,SAAA,GAAT,SAAS,CAAqB;IAT3E,QAAA,IAAA,CAAA,mBAAmB,GAAGA,QAAK,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,IAAI,CACnEC,sBAAY,CAAC,CAAC,CAAC,EACfC,aAAG,CAAC,YAAA,EAAM,OAAA,KAAI,CAAC,UAAU,CAAC,aAAa,CAAC,YAAY,GAAA,CAAC,EACrDC,8BAAoB,EAAE,CACzB,CAAC;SAME;;;IAZK,4BAAA,CAAA,IAAA,GAAAC,aAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAAA,aAAA,EAAA,IAAA,EAAA,4BAA4B,EASzB,IAAA,EAAA,CAAA,EAAA,KAAA,EAAAC,aAAU,EACV,EAAA,EAAA,KAAA,EAAAC,oCAAqB,aACrBC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AAA,EAAA,CAAA,CAAA;kJAE7B,yBAAyB,EAAA,CAAA,CAAA;sHAAzB,yBAAyB,EAAA,UAAA,EAAA,CAAA;sBAJrCY,WAAQ;IAAC,YAAA,IAAA,EAAA,CAAA;IACN,oBAAA,YAAY,EAAE,CAAC,4BAA4B,EAAE,4BAA4B,CAAC;wBAC1E,OAAO,EAAE,CAAC,4BAA4B,CAAC;qBAC1C,CAAA;;;ICRD;;IAEG;;;;;;;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-elastic-container.umd.js","sources":["../../../projects/kit/components/elastic-container/elastic-container.directive.ts","../../../projects/kit/components/elastic-container/elastic-container.component.ts","../../../projects/kit/components/elastic-container/elastic-container.component.html","../../../projects/kit/components/elastic-container/elastic-container.module.ts","../../../projects/kit/components/elastic-container/taiga-ui-kit-components-elastic-container.ts"],"sourcesContent":["import {Directive, ElementRef, Inject, Output} from '@angular/core';\nimport {\n MUTATION_OBSERVER_INIT,\n MutationObserverService,\n} from '@ng-web-apis/mutation-observer';\nimport {ResizeObserverService} from '@ng-web-apis/resize-observer';\nimport {merge, Observable} from 'rxjs';\nimport {debounceTime, distinctUntilChanged, map} from 'rxjs/operators';\n\n@Directive({\n selector: '[tuiElasticContainer]',\n providers: [\n ResizeObserverService,\n MutationObserverService,\n {\n provide: MUTATION_OBSERVER_INIT,\n useValue: {\n childList: true,\n characterData: true,\n subtree: true,\n },\n },\n ],\n})\nexport class TuiElasticContainerDirective {\n @Output()\n readonly tuiElasticContainer = merge(this.resize$, this.mutation$).pipe(\n debounceTime(0),\n map(() => this.elementRef.nativeElement.clientHeight),\n distinctUntilChanged(),\n );\n\n constructor(\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(ResizeObserverService) private readonly resize$: Observable<unknown>,\n @Inject(MutationObserverService) private readonly mutation$: Observable<unknown>,\n ) {}\n}\n","import {ChangeDetectionStrategy, Component, HostBinding} from '@angular/core';\n\n@Component({\n selector: 'tui-elastic-container',\n templateUrl: './elastic-container.component.html',\n styleUrls: ['./elastic-container.component.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiElasticContainerComponent {\n @HostBinding('style.height.px')\n height = NaN;\n}\n","<div\n class=\"t-wrapper\"\n (tuiElasticContainer)=\"height = $event\"\n>\n <ng-content></ng-content>\n</div>\n","import {NgModule} from '@angular/core';\n\nimport {TuiElasticContainerComponent} from './elastic-container.component';\nimport {TuiElasticContainerDirective} from './elastic-container.directive';\n\n@NgModule({\n declarations: [TuiElasticContainerComponent, TuiElasticContainerDirective],\n exports: [TuiElasticContainerComponent],\n})\nexport class TuiElasticContainerModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["merge","debounceTime","map","distinctUntilChanged","i0","ElementRef","ResizeObserverService","MutationObserverService","MUTATION_OBSERVER_INIT","Directive","Inject","Output","i1.TuiElasticContainerDirective","Component","ChangeDetectionStrategy","HostBinding","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBA,QAAA,4BAAA,kBAAA,YAAA;IAQI,IAAA,SAAA,4BAAA,CACyC,UAAmC,EACxB,OAA4B,EAC1B,SAA8B,EAAA;YAHpF,IAII,KAAA,GAAA,IAAA,CAAA;IAHqC,QAAA,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;IACxB,QAAA,IAAO,CAAA,OAAA,GAAP,OAAO,CAAqB;IAC1B,QAAA,IAAS,CAAA,SAAA,GAAT,SAAS,CAAqB;IAT3E,QAAA,IAAA,CAAA,mBAAmB,GAAGA,QAAK,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,IAAI,CACnEC,sBAAY,CAAC,CAAC,CAAC,EACfC,aAAG,CAAC,YAAA,EAAM,OAAA,KAAI,CAAC,UAAU,CAAC,aAAa,CAAC,YAAY,GAAA,CAAC,EACrDC,8BAAoB,EAAE,CACzB,CAAC;SAME;;;IAZK,4BAAA,CAAA,IAAA,GA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IAAzB,yBAAA,CAAA,IAAA,GAAAA,aAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAAA,aAAA,EAAA,IAAA,EAAA,yBAAyB,EAHnB,YAAA,EAAA,CAAA,4BAA4B,EAAE,4BAA4B,aAC/D,4BAA4B,CAAA,EAAA,CAAA,CAAA;kJAE7B,yBAAyB,EAAA,CAAA,CAAA;sHAAzB,yBAAyB,EAAA,UAAA,EAAA,CAAA;sBAJrCY,WAAQ;IAAC,YAAA,IAAA,EAAA,CAAA;IACN,oBAAA,YAAY,EAAE,CAAC,4BAA4B,EAAE,4BAA4B,CAAC;wBAC1E,OAAO,EAAE,CAAC,4BAA4B,CAAC;qBAC1C,CAAA;;;ICRD;;IAEG;;;;;;;;;;;;"}
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('@taiga-ui/cdk'), require('@taiga-ui/core'), require('@taiga-ui/kit/constants'), require('@taiga-ui/kit/tokens'), require('@taiga-ui/kit/utils/mask'), require('@tinkoff/ng-polymorpheus'), require('rxjs/operators'), require('@taiga-ui/kit/directives'), require('@angular/common'), require('rxjs')) :
3
3
  typeof define === 'function' && define.amd ? define('@taiga-ui/kit/components/input-date', ['exports', '@angular/core', '@angular/forms', '@taiga-ui/cdk', '@taiga-ui/core', '@taiga-ui/kit/constants', '@taiga-ui/kit/tokens', '@taiga-ui/kit/utils/mask', '@tinkoff/ng-polymorpheus', 'rxjs/operators', '@taiga-ui/kit/directives', '@angular/common', 'rxjs'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].kit = global["taiga-ui"].kit || {}, global["taiga-ui"].kit.components = global["taiga-ui"].kit.components || {}, global["taiga-ui"].kit.components["input-date"] = {}), global.ng.core, global.ng.forms, global.i2, global.i1, global["taiga-ui"].kit.constants, global["taiga-ui"].kit.tokens, global["taiga-ui"].kit.utils.mask, global.i4, global.rxjs.operators, global["taiga-ui"].kit.directives, global.ng.common, global.rxjs));
5
- })(this, (function (exports, i0, i6, i2, i1, constants, tokens, mask, i4, operators, i3, i5, i7) { 'use strict';
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].kit = global["taiga-ui"].kit || {}, global["taiga-ui"].kit.components = global["taiga-ui"].kit.components || {}, global["taiga-ui"].kit.components["input-date"] = {}), global.ng.core, global.ng.forms, global.i3, global.i1, global["taiga-ui"].kit.constants, global["taiga-ui"].kit.tokens, global["taiga-ui"].kit.utils.mask, global.i5, global.rxjs.operators, global["taiga-ui"].kit.directives, global.ng.common, global.rxjs));
5
+ })(this, (function (exports, i0, i7, i3, i1, constants, tokens, mask, i5, operators, i4, i6, i8) { 'use strict';
6
6
 
7
7
  function _interopNamespace(e) {
8
8
  if (e && e.__esModule) return e;
@@ -23,13 +23,13 @@
23
23
  }
24
24
 
25
25
  var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
- var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
27
- var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
28
- var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
29
- var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
26
+ var i7__namespace = /*#__PURE__*/_interopNamespace(i7);
30
27
  var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
28
+ var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
31
29
  var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
32
- var i7__namespace = /*#__PURE__*/_interopNamespace(i7);
30
+ var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
31
+ var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
32
+ var i8__namespace = /*#__PURE__*/_interopNamespace(i8);
33
33
 
34
34
  /*! *****************************************************************************
35
35
  Copyright (c) Microsoft Corporation.
@@ -349,6 +349,54 @@
349
349
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
350
350
  }
351
351
 
352
+ var TuiNativeDateComponent = /** @class */ (function () {
353
+ function TuiNativeDateComponent(host, dateFormat) {
354
+ this.host = host;
355
+ this.dateFormat = dateFormat;
356
+ }
357
+ Object.defineProperty(TuiNativeDateComponent.prototype, "value", {
358
+ get: function () {
359
+ return this.host.value.length === i3.DATE_FILLER_LENGTH
360
+ ? i3.TuiDay.normalizeParse(this.host.value, this.dateFormat).toString('YMD', '-')
361
+ : '';
362
+ },
363
+ enumerable: false,
364
+ configurable: true
365
+ });
366
+ TuiNativeDateComponent.prototype.onChange = function (value) {
367
+ this.host.onValueChange(i3.TuiDay.normalizeParse(value, 'YMD').toString(this.dateFormat));
368
+ };
369
+ return TuiNativeDateComponent;
370
+ }());
371
+ TuiNativeDateComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiNativeDateComponent, deps: [{ token: i1.TUI_TEXTFIELD_HOST }, { token: i3.TUI_DATE_FORMAT }], target: i0__namespace.ɵɵFactoryTarget.Component });
372
+ TuiNativeDateComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiNativeDateComponent, selector: "input[tuiDate]", host: { attributes: { "type": "date" }, listeners: { "change": "onChange($event.target.value)", "click.stop.silent": "0", "input.stop.silent": "0", "mousedown.stop.silent": "0" }, properties: { "tabIndex": "host.focusable ? 0 : -1", "value": "value" } }, ngImport: i0__namespace, template: '', isInline: true, styles: [":host{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;pointer-events:auto;font-size:2rem}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
373
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiNativeDateComponent, decorators: [{
374
+ type: i0.Component,
375
+ args: [{
376
+ selector: 'input[tuiDate]',
377
+ template: '',
378
+ host: {
379
+ type: 'date',
380
+ '[tabIndex]': 'host.focusable ? 0 : -1',
381
+ '[value]': 'value',
382
+ '(change)': 'onChange($event.target.value)',
383
+ '(click.stop.silent)': '0',
384
+ '(input.stop.silent)': '0',
385
+ '(mousedown.stop.silent)': '0',
386
+ },
387
+ styleUrls: ['./native-date.style.less'],
388
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
389
+ }]
390
+ }], ctorParameters: function () {
391
+ return [{ type: undefined, decorators: [{
392
+ type: i0.Inject,
393
+ args: [i1.TUI_TEXTFIELD_HOST]
394
+ }] }, { type: undefined, decorators: [{
395
+ type: i0.Inject,
396
+ args: [i3.TUI_DATE_FORMAT]
397
+ }] }];
398
+ } });
399
+
352
400
  var TuiInputDateComponent = /** @class */ (function (_super) {
353
401
  __extends(TuiInputDateComponent, _super);
354
402
  function TuiInputDateComponent(control, changeDetectorRef, injector, isMobile, dialogService, mobileCalendar, textfieldSize, dateFormat, dateSeparator, dateTexts$, valueTransformer, options) {
@@ -371,12 +419,12 @@
371
419
  };
372
420
  _this.min = _this.options.min;
373
421
  _this.max = _this.options.max;
374
- _this.disabledItemHandler = i2.ALWAYS_FALSE_HANDLER;
422
+ _this.disabledItemHandler = i3.ALWAYS_FALSE_HANDLER;
375
423
  _this.markerHandler = i1.TUI_DEFAULT_MARKER_HANDLER;
376
424
  _this.items = [];
377
- _this.defaultActiveYearMonth = i2.TuiMonth.currentLocal();
425
+ _this.defaultActiveYearMonth = i3.TuiMonth.currentLocal();
378
426
  _this.open = false;
379
- _this.filler$ = _this.dateTexts$.pipe(operators.map(function (dateTexts) { return i2.changeDateSeparator(dateTexts[_this.dateFormat], _this.dateSeparator); }));
427
+ _this.filler$ = _this.dateTexts$.pipe(operators.map(function (dateTexts) { return i3.changeDateSeparator(dateTexts[_this.dateFormat], _this.dateSeparator); }));
380
428
  return _this;
381
429
  }
382
430
  Object.defineProperty(TuiInputDateComponent.prototype, "nativeFocusableElement", {
@@ -395,7 +443,14 @@
395
443
  });
396
444
  Object.defineProperty(TuiInputDateComponent.prototype, "computedMobile", {
397
445
  get: function () {
398
- return this.isMobile && !!this.mobileCalendar;
446
+ return this.isMobile && (!!this.mobileCalendar || this.options.nativePicker);
447
+ },
448
+ enumerable: false,
449
+ configurable: true
450
+ });
451
+ Object.defineProperty(TuiInputDateComponent.prototype, "nativePicker", {
452
+ get: function () {
453
+ return this.options.nativePicker;
399
454
  },
400
455
  enumerable: false,
401
456
  configurable: true
@@ -425,7 +480,7 @@
425
480
  }
426
481
  return (this.month ||
427
482
  this.value ||
428
- i2.tuiDateClamp(this.defaultActiveYearMonth, this.min, this.max));
483
+ i3.tuiDateClamp(this.defaultActiveYearMonth, this.min, this.max));
429
484
  },
430
485
  enumerable: false,
431
486
  configurable: true
@@ -494,7 +549,7 @@
494
549
  return;
495
550
  }
496
551
  this.dialogService
497
- .open(new i4.PolymorpheusComponent(this.mobileCalendar, this.injector), {
552
+ .open(new i5.PolymorpheusComponent(this.mobileCalendar, this.injector), {
498
553
  size: 'fullscreen',
499
554
  closeable: false,
500
555
  data: {
@@ -516,9 +571,9 @@
516
571
  if (!value) {
517
572
  this.onOpenChange(true);
518
573
  }
519
- this.updateValue(value.length !== i2.DATE_FILLER_LENGTH
574
+ this.updateValue(value.length !== i3.DATE_FILLER_LENGTH
520
575
  ? null
521
- : i2.TuiDay.normalizeParse(value, this.dateFormat));
576
+ : i3.TuiDay.normalizeParse(value, this.dateFormat));
522
577
  };
523
578
  TuiInputDateComponent.prototype.onDayClick = function (value) {
524
579
  this.updateValue(value);
@@ -542,33 +597,33 @@
542
597
  this.nativeValue = value ? this.computedValue : '';
543
598
  };
544
599
  TuiInputDateComponent.prototype.valueIdenticalComparator = function (oldValue, newValue) {
545
- return i2.tuiNullableSame(oldValue, newValue, function (a, b) { return a.daySame(b); });
600
+ return i3.tuiNullableSame(oldValue, newValue, function (a, b) { return a.daySame(b); });
546
601
  };
547
602
  return TuiInputDateComponent;
548
- }(i2.AbstractTuiNullableControl));
549
- TuiInputDateComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputDateComponent, deps: [{ token: i6.NgControl, optional: true, self: true }, { token: i0.ChangeDetectorRef }, { token: i0.Injector }, { token: i2.TUI_IS_MOBILE }, { token: i1.TuiDialogService }, { token: tokens.TUI_MOBILE_CALENDAR, optional: true }, { token: i1.TUI_TEXTFIELD_SIZE }, { token: i2.TUI_DATE_FORMAT }, { token: i2.TUI_DATE_SEPARATOR }, { token: tokens.TUI_DATE_TEXTS }, { token: tokens.TUI_DATE_VALUE_TRANSFORMER, optional: true }, { token: tokens.TUI_INPUT_DATE_OPTIONS }], target: i0__namespace.ɵɵFactoryTarget.Component });
603
+ }(i3.AbstractTuiNullableControl));
604
+ TuiInputDateComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputDateComponent, deps: [{ token: i7.NgControl, optional: true, self: true }, { token: i0.ChangeDetectorRef }, { token: i0.Injector }, { token: i3.TUI_IS_MOBILE }, { token: i1.TuiDialogService }, { token: tokens.TUI_MOBILE_CALENDAR, optional: true }, { token: i1.TUI_TEXTFIELD_SIZE }, { token: i3.TUI_DATE_FORMAT }, { token: i3.TUI_DATE_SEPARATOR }, { token: tokens.TUI_DATE_TEXTS }, { token: tokens.TUI_DATE_VALUE_TRANSFORMER, optional: true }, { token: tokens.TUI_INPUT_DATE_OPTIONS }], target: i0__namespace.ɵɵFactoryTarget.Component });
550
605
  TuiInputDateComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputDateComponent, selector: "tui-input-date", inputs: { min: "min", max: "max", disabledItemHandler: "disabledItemHandler", markerHandler: "markerHandler", items: "items", defaultActiveYearMonth: "defaultActiveYearMonth" }, host: { listeners: { "click": "onClick()" } }, providers: [
551
- i2.tuiAsFocusableItemAccessor(TuiInputDateComponent),
552
- i2.tuiAsControl(TuiInputDateComponent),
606
+ i3.tuiAsFocusableItemAccessor(TuiInputDateComponent),
607
+ i3.tuiAsControl(TuiInputDateComponent),
553
608
  tokens.tuiDateStreamWithTransformer(tokens.TUI_DATE_VALUE_TRANSFORMER),
554
- ], viewQueries: [{ propertyName: "textfield", first: true, predicate: i1.TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<tui-hosted-dropdown\n class=\"t-hosted\"\n [canOpen]=\"canOpen\"\n [open]=\"open && canOpen\"\n [content]=\"dropdown\"\n (openChange)=\"onOpenChange($event)\"\n>\n <tui-primitive-textfield\n *tuiLet=\"filler$ | async as filler\"\n automation-id=\"tui-input-date-range__textfield\"\n tuiValueAccessor\n class=\"t-textfield\"\n [tuiTextfieldIcon]=\"calendarIcon && iconContent\"\n [tuiTextfieldFiller]=\"getComputedFiller(filler || '')\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [readOnly]=\"readOnly\"\n [focusable]=\"computedFocusable\"\n [disabled]=\"computedDisabled\"\n [textMask]=\"computedMask\"\n [value]=\"computedValue\"\n (valueChange)=\"onValueChange($event)\"\n (focusedChange)=\"onFocused($event)\"\n >\n <ng-content></ng-content>\n <ng-content\n select=\"input\"\n ngProjectAs=\"input\"\n ></ng-content>\n </tui-primitive-textfield>\n\n <ng-template #iconContent>\n <tui-svg\n *polymorpheusOutlet=\"calendarIcon as src; context: {$implicit: size}\"\n tuiWrapper\n appearance=\"icon\"\n automation-id=\"tui-input-date-range__icon\"\n [class.t-icon]=\"!computedDisabled\"\n [src]=\"src\"\n (click)=\"onIconClick()\"\n ></tui-svg>\n </ng-template>\n\n <ng-template\n #dropdown=\"polymorpheus\"\n [polymorpheus]=\"type\"\n >\n <tui-calendar\n tuiPreventDefault=\"mousedown\"\n automation-id=\"tui-input-date__calendar\"\n [min]=\"min\"\n [max]=\"max\"\n [markerHandler]=\"markerHandler\"\n [disabledItemHandler]=\"disabledItemHandler\"\n [month]=\"computedActiveYearMonth\"\n [value]=\"value\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onMonthChange($event)\"\n ></tui-calendar>\n <div\n *ngIf=\"items.length === 1\"\n tuiPreventDefault=\"mousedown\"\n class=\"t-button\"\n >\n <button\n tuiLink\n type=\"button\"\n (click)=\"onDayClick(items[0].day)\"\n >\n {{ items[0] }}\n </button>\n </div>\n </ng-template>\n</tui-hosted-dropdown>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:left}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}.t-icon{pointer-events:auto}.t-button{display:flex;height:2.75rem;justify-content:center;box-shadow:inset 0 1px var(--tui-base-03)}.t-button button{flex:1;text-align:center}\n"], components: [{ type: i1__namespace.TuiHostedDropdownComponent, selector: "tui-hosted-dropdown", inputs: ["content", "sided", "canOpen", "open"], outputs: ["openChange", "focusedChange"] }, { type: i1__namespace.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "filler", "iconCleaner", "readOnly", "invalid", "disabled", "prefix", "postfix", "value"], outputs: ["valueChange"] }, { type: i1__namespace.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }, { type: i1__namespace.TuiCalendarComponent, selector: "tui-calendar", inputs: ["month", "disabledItemHandler", "min", "max", "minViewedMonth", "maxViewedMonth", "hoveredItem", "showAdjacent", "markerHandler", "value"], outputs: ["dayClick", "monthChange", "hoveredItemChange"] }, { type: i1__namespace.TuiLinkComponent, selector: "a[tuiLink], button[tuiLink]", inputs: ["pseudo", "icon", "iconAlign", "iconRotated", "mode"], exportAs: ["tuiLink"] }], directives: [{ type: i2__namespace.TuiLetDirective, selector: "[tuiLet]", inputs: ["tuiLet"] }, { type: i1__namespace.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { type: i3__namespace.TuiValueAccessorDirective, selector: "[tuiValueAccessor]" }, { type: i1__namespace.TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: ["tuiTextfieldIcon"] }, { type: i1__namespace.TuiTextfieldFillerDirective, selector: "[tuiTextfieldFiller]", inputs: ["tuiTextfieldFiller"] }, { type: i3__namespace.MaskedInputDirective, selector: "[textMask]", inputs: ["textMask"], exportAs: ["textMask"] }, { type: i4__namespace.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { type: i1__namespace.TuiWrapperDirective, selector: "[tuiWrapper]", inputs: ["disabled", "readOnly", "hover", "active", "focus", "invalid", "appearance"] }, { type: i4__namespace.PolymorpheusTemplate, selector: "ng-template[polymorpheus]", inputs: ["polymorpheus"], exportAs: ["polymorpheus"] }, { type: i2__namespace.TuiPreventDefaultDirective, selector: "[tuiPreventDefault]", inputs: ["tuiPreventDefault"] }, { type: i5__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i5__namespace.AsyncPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
609
+ ], viewQueries: [{ propertyName: "textfield", first: true, predicate: i1.TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<tui-hosted-dropdown\n class=\"t-hosted\"\n [canOpen]=\"canOpen\"\n [open]=\"open && canOpen\"\n [content]=\"dropdown\"\n (openChange)=\"onOpenChange($event)\"\n>\n <tui-primitive-textfield\n *tuiLet=\"filler$ | async as filler\"\n automation-id=\"tui-input-date-range__textfield\"\n tuiValueAccessor\n class=\"t-textfield\"\n [tuiTextfieldIcon]=\"calendarIcon && iconContent\"\n [tuiTextfieldFiller]=\"getComputedFiller(filler || '')\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [readOnly]=\"readOnly\"\n [focusable]=\"computedFocusable\"\n [disabled]=\"computedDisabled\"\n [textMask]=\"computedMask\"\n [value]=\"computedValue\"\n (valueChange)=\"onValueChange($event)\"\n (focusedChange)=\"onFocused($event)\"\n >\n <ng-content></ng-content>\n <ng-content\n select=\"input\"\n ngProjectAs=\"input\"\n ></ng-content>\n </tui-primitive-textfield>\n\n <ng-template #iconContent>\n <tui-svg\n *polymorpheusOutlet=\"calendarIcon as src; context: {$implicit: size}\"\n tuiWrapper\n appearance=\"icon\"\n automation-id=\"tui-input-date-range__icon\"\n [class.t-icon]=\"!computedDisabled\"\n [src]=\"src\"\n (click)=\"onIconClick()\"\n ></tui-svg>\n <input\n *ngIf=\"isMobile && nativePicker\"\n tuiDate\n type=\"date\"\n />\n </ng-template>\n\n <ng-template\n #dropdown=\"polymorpheus\"\n [polymorpheus]=\"type\"\n >\n <tui-calendar\n tuiPreventDefault=\"mousedown\"\n automation-id=\"tui-input-date__calendar\"\n [min]=\"min\"\n [max]=\"max\"\n [markerHandler]=\"markerHandler\"\n [disabledItemHandler]=\"disabledItemHandler\"\n [month]=\"computedActiveYearMonth\"\n [value]=\"value\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onMonthChange($event)\"\n ></tui-calendar>\n <div\n *ngIf=\"items.length === 1\"\n tuiPreventDefault=\"mousedown\"\n class=\"t-button\"\n >\n <button\n tuiLink\n type=\"button\"\n (click)=\"onDayClick(items[0].day)\"\n >\n {{ items[0] }}\n </button>\n </div>\n </ng-template>\n</tui-hosted-dropdown>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:left}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}.t-icon{pointer-events:auto}.t-button{display:flex;height:2.75rem;justify-content:center;box-shadow:inset 0 1px var(--tui-base-03)}.t-button button{flex:1;text-align:center}\n"], components: [{ type: i1__namespace.TuiHostedDropdownComponent, selector: "tui-hosted-dropdown", inputs: ["content", "sided", "canOpen", "open"], outputs: ["openChange", "focusedChange"] }, { type: i1__namespace.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "filler", "iconCleaner", "readOnly", "invalid", "disabled", "prefix", "postfix", "value"], outputs: ["valueChange"] }, { type: i1__namespace.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }, { type: TuiNativeDateComponent, selector: "input[tuiDate]" }, { type: i1__namespace.TuiCalendarComponent, selector: "tui-calendar", inputs: ["month", "disabledItemHandler", "min", "max", "minViewedMonth", "maxViewedMonth", "hoveredItem", "showAdjacent", "markerHandler", "value"], outputs: ["dayClick", "monthChange", "hoveredItemChange"] }, { type: i1__namespace.TuiLinkComponent, selector: "a[tuiLink], button[tuiLink]", inputs: ["pseudo", "icon", "iconAlign", "iconRotated", "mode"], exportAs: ["tuiLink"] }], directives: [{ type: i3__namespace.TuiLetDirective, selector: "[tuiLet]", inputs: ["tuiLet"] }, { type: i1__namespace.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { type: i4__namespace.TuiValueAccessorDirective, selector: "[tuiValueAccessor]" }, { type: i1__namespace.TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: ["tuiTextfieldIcon"] }, { type: i1__namespace.TuiTextfieldFillerDirective, selector: "[tuiTextfieldFiller]", inputs: ["tuiTextfieldFiller"] }, { type: i4__namespace.MaskedInputDirective, selector: "[textMask]", inputs: ["textMask"], exportAs: ["textMask"] }, { type: i5__namespace.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { type: i1__namespace.TuiWrapperDirective, selector: "[tuiWrapper]", inputs: ["disabled", "readOnly", "hover", "active", "focus", "invalid", "appearance"] }, { type: i6__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5__namespace.PolymorpheusTemplate, selector: "ng-template[polymorpheus]", inputs: ["polymorpheus"], exportAs: ["polymorpheus"] }, { type: i3__namespace.TuiPreventDefaultDirective, selector: "[tuiPreventDefault]", inputs: ["tuiPreventDefault"] }], pipes: { "async": i6__namespace.AsyncPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
555
610
  __decorate([
556
- i2.tuiDefaultProp()
611
+ i3.tuiDefaultProp()
557
612
  ], TuiInputDateComponent.prototype, "min", void 0);
558
613
  __decorate([
559
- i2.tuiDefaultProp()
614
+ i3.tuiDefaultProp()
560
615
  ], TuiInputDateComponent.prototype, "max", void 0);
561
616
  __decorate([
562
- i2.tuiDefaultProp()
617
+ i3.tuiDefaultProp()
563
618
  ], TuiInputDateComponent.prototype, "disabledItemHandler", void 0);
564
619
  __decorate([
565
- i2.tuiDefaultProp()
620
+ i3.tuiDefaultProp()
566
621
  ], TuiInputDateComponent.prototype, "markerHandler", void 0);
567
622
  __decorate([
568
- i2.tuiDefaultProp()
623
+ i3.tuiDefaultProp()
569
624
  ], TuiInputDateComponent.prototype, "items", void 0);
570
625
  __decorate([
571
- i2.tuiDefaultProp()
626
+ i3.tuiDefaultProp()
572
627
  ], TuiInputDateComponent.prototype, "defaultActiveYearMonth", void 0);
573
628
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputDateComponent, decorators: [{
574
629
  type: i0.Component,
@@ -578,19 +633,19 @@
578
633
  styleUrls: ['./input-date.style.less'],
579
634
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
580
635
  providers: [
581
- i2.tuiAsFocusableItemAccessor(TuiInputDateComponent),
582
- i2.tuiAsControl(TuiInputDateComponent),
636
+ i3.tuiAsFocusableItemAccessor(TuiInputDateComponent),
637
+ i3.tuiAsControl(TuiInputDateComponent),
583
638
  tokens.tuiDateStreamWithTransformer(tokens.TUI_DATE_VALUE_TRANSFORMER),
584
639
  ],
585
640
  }]
586
641
  }], ctorParameters: function () {
587
- return [{ type: i6__namespace.NgControl, decorators: [{
642
+ return [{ type: i7__namespace.NgControl, decorators: [{
588
643
  type: i0.Optional
589
644
  }, {
590
645
  type: i0.Self
591
646
  }, {
592
647
  type: i0.Inject,
593
- args: [i6.NgControl]
648
+ args: [i7.NgControl]
594
649
  }] }, { type: i0__namespace.ChangeDetectorRef, decorators: [{
595
650
  type: i0.Inject,
596
651
  args: [i0.ChangeDetectorRef]
@@ -599,7 +654,7 @@
599
654
  args: [i0.Injector]
600
655
  }] }, { type: undefined, decorators: [{
601
656
  type: i0.Inject,
602
- args: [i2.TUI_IS_MOBILE]
657
+ args: [i3.TUI_IS_MOBILE]
603
658
  }] }, { type: i1__namespace.TuiDialogService, decorators: [{
604
659
  type: i0.Inject,
605
660
  args: [i1.TuiDialogService]
@@ -613,11 +668,11 @@
613
668
  args: [i1.TUI_TEXTFIELD_SIZE]
614
669
  }] }, { type: undefined, decorators: [{
615
670
  type: i0.Inject,
616
- args: [i2.TUI_DATE_FORMAT]
671
+ args: [i3.TUI_DATE_FORMAT]
617
672
  }] }, { type: undefined, decorators: [{
618
673
  type: i0.Inject,
619
- args: [i2.TUI_DATE_SEPARATOR]
620
- }] }, { type: i7__namespace.Observable, decorators: [{
674
+ args: [i3.TUI_DATE_SEPARATOR]
675
+ }] }, { type: i8__namespace.Observable, decorators: [{
621
676
  type: i0.Inject,
622
677
  args: [tokens.TUI_DATE_TEXTS]
623
678
  }] }, { type: undefined, decorators: [{
@@ -685,53 +740,53 @@
685
740
  return TuiInputDateModule;
686
741
  }());
687
742
  TuiInputDateModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputDateModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
688
- TuiInputDateModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputDateModule, declarations: [TuiInputDateComponent, TuiInputDateDirective], imports: [i5.CommonModule,
689
- i3.TextMaskModule,
690
- i4.PolymorpheusModule,
743
+ TuiInputDateModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputDateModule, declarations: [TuiInputDateComponent, TuiInputDateDirective, TuiNativeDateComponent], imports: [i6.CommonModule,
744
+ i4.TextMaskModule,
745
+ i5.PolymorpheusModule,
691
746
  i1.TuiWrapperModule,
692
- i2.TuiPreventDefaultModule,
747
+ i3.TuiPreventDefaultModule,
693
748
  i1.TuiCalendarModule,
694
749
  i1.TuiSvgModule,
695
750
  i1.TuiLinkModule,
696
751
  i1.TuiHostedDropdownModule,
697
752
  i1.TuiPrimitiveTextfieldModule,
698
- i3.TuiValueAccessorModule,
699
- i2.TuiLetModule,
753
+ i4.TuiValueAccessorModule,
754
+ i3.TuiLetModule,
700
755
  i1.TuiTextfieldControllerModule], exports: [TuiInputDateComponent, TuiInputDateDirective, i1.TuiTextfieldComponent] });
701
756
  TuiInputDateModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputDateModule, imports: [[
702
- i5.CommonModule,
703
- i3.TextMaskModule,
704
- i4.PolymorpheusModule,
757
+ i6.CommonModule,
758
+ i4.TextMaskModule,
759
+ i5.PolymorpheusModule,
705
760
  i1.TuiWrapperModule,
706
- i2.TuiPreventDefaultModule,
761
+ i3.TuiPreventDefaultModule,
707
762
  i1.TuiCalendarModule,
708
763
  i1.TuiSvgModule,
709
764
  i1.TuiLinkModule,
710
765
  i1.TuiHostedDropdownModule,
711
766
  i1.TuiPrimitiveTextfieldModule,
712
- i3.TuiValueAccessorModule,
713
- i2.TuiLetModule,
767
+ i4.TuiValueAccessorModule,
768
+ i3.TuiLetModule,
714
769
  i1.TuiTextfieldControllerModule,
715
770
  ]] });
716
771
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputDateModule, decorators: [{
717
772
  type: i0.NgModule,
718
773
  args: [{
719
774
  imports: [
720
- i5.CommonModule,
721
- i3.TextMaskModule,
722
- i4.PolymorpheusModule,
775
+ i6.CommonModule,
776
+ i4.TextMaskModule,
777
+ i5.PolymorpheusModule,
723
778
  i1.TuiWrapperModule,
724
- i2.TuiPreventDefaultModule,
779
+ i3.TuiPreventDefaultModule,
725
780
  i1.TuiCalendarModule,
726
781
  i1.TuiSvgModule,
727
782
  i1.TuiLinkModule,
728
783
  i1.TuiHostedDropdownModule,
729
784
  i1.TuiPrimitiveTextfieldModule,
730
- i3.TuiValueAccessorModule,
731
- i2.TuiLetModule,
785
+ i4.TuiValueAccessorModule,
786
+ i3.TuiLetModule,
732
787
  i1.TuiTextfieldControllerModule,
733
788
  ],
734
- declarations: [TuiInputDateComponent, TuiInputDateDirective],
789
+ declarations: [TuiInputDateComponent, TuiInputDateDirective, TuiNativeDateComponent],
735
790
  exports: [TuiInputDateComponent, TuiInputDateDirective, i1.TuiTextfieldComponent],
736
791
  }]
737
792
  }] });