@taiga-ui/kit 3.70.0 → 3.71.0-canary.0efb113

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 (142) hide show
  1. package/bundles/taiga-ui-kit-components-accordion.umd.js +774 -628
  2. package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
  3. package/bundles/taiga-ui-kit-components-action.umd.js +598 -452
  4. package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
  5. package/bundles/taiga-ui-kit-components-avatar.umd.js +640 -494
  6. package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
  7. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +563 -417
  8. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
  9. package/bundles/taiga-ui-kit-components-calendar-month.umd.js +747 -601
  10. package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
  11. package/bundles/taiga-ui-kit-components-calendar-range.umd.js +718 -572
  12. package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
  13. package/bundles/taiga-ui-kit-components-carousel.umd.js +824 -678
  14. package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -1
  15. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +645 -499
  16. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
  17. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +585 -439
  18. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
  19. package/bundles/taiga-ui-kit-components-checkbox.umd.js +608 -462
  20. package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
  21. package/bundles/taiga-ui-kit-components-combo-box.umd.js +834 -688
  22. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  23. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +656 -510
  24. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
  25. package/bundles/taiga-ui-kit-components-elastic-container.umd.js +587 -441
  26. package/bundles/taiga-ui-kit-components-elastic-container.umd.js.map +1 -1
  27. package/bundles/taiga-ui-kit-components-files.umd.js +806 -660
  28. package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
  29. package/bundles/taiga-ui-kit-components-filter.umd.js +607 -461
  30. package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
  31. package/bundles/taiga-ui-kit-components-input-copy.umd.js +700 -554
  32. package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
  33. package/bundles/taiga-ui-kit-components-input-count.umd.js +809 -663
  34. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  35. package/bundles/taiga-ui-kit-components-input-date-multi.umd.js +853 -707
  36. package/bundles/taiga-ui-kit-components-input-date-multi.umd.js.map +1 -1
  37. package/bundles/taiga-ui-kit-components-input-date-range.umd.js +973 -827
  38. package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
  39. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +1042 -896
  40. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
  41. package/bundles/taiga-ui-kit-components-input-date.umd.js +976 -830
  42. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  43. package/bundles/taiga-ui-kit-components-input-files.umd.js +975 -829
  44. package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
  45. package/bundles/taiga-ui-kit-components-input-inline.umd.js +612 -466
  46. package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
  47. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +755 -609
  48. package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
  49. package/bundles/taiga-ui-kit-components-input-month.umd.js +788 -642
  50. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
  51. package/bundles/taiga-ui-kit-components-input-number.umd.js +941 -795
  52. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  53. package/bundles/taiga-ui-kit-components-input-password.umd.js +720 -574
  54. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  55. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +811 -665
  56. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  57. package/bundles/taiga-ui-kit-components-input-phone.umd.js +913 -767
  58. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  59. package/bundles/taiga-ui-kit-components-input-range.umd.js +796 -650
  60. package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
  61. package/bundles/taiga-ui-kit-components-input-slider.umd.js +737 -591
  62. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
  63. package/bundles/taiga-ui-kit-components-input-tag.umd.js +1104 -958
  64. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  65. package/bundles/taiga-ui-kit-components-input-time.umd.js +1023 -877
  66. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  67. package/bundles/taiga-ui-kit-components-input-year.umd.js +705 -559
  68. package/bundles/taiga-ui-kit-components-input-year.umd.js.map +1 -1
  69. package/bundles/taiga-ui-kit-components-input.umd.js +661 -515
  70. package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
  71. package/bundles/taiga-ui-kit-components-items-with-more.umd.js +689 -543
  72. package/bundles/taiga-ui-kit-components-items-with-more.umd.js.map +1 -1
  73. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +742 -596
  74. package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
  75. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +544 -398
  76. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
  77. package/bundles/taiga-ui-kit-components-multi-select.umd.js +1337 -1191
  78. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  79. package/bundles/taiga-ui-kit-components-pagination.umd.js +810 -664
  80. package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
  81. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +152 -6
  82. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -1
  83. package/bundles/taiga-ui-kit-components-progress.umd.js +152 -6
  84. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  85. package/bundles/taiga-ui-kit-components-push.umd.js +152 -6
  86. package/bundles/taiga-ui-kit-components-push.umd.js.map +1 -1
  87. package/bundles/taiga-ui-kit-components-radio-block.umd.js +645 -499
  88. package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
  89. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +616 -470
  90. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
  91. package/bundles/taiga-ui-kit-components-radio-list.umd.js +628 -482
  92. package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
  93. package/bundles/taiga-ui-kit-components-radio.umd.js +689 -543
  94. package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
  95. package/bundles/taiga-ui-kit-components-range.umd.js +811 -665
  96. package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
  97. package/bundles/taiga-ui-kit-components-rating.umd.js +646 -500
  98. package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
  99. package/bundles/taiga-ui-kit-components-routable-dialog.umd.js +586 -440
  100. package/bundles/taiga-ui-kit-components-routable-dialog.umd.js.map +1 -1
  101. package/bundles/taiga-ui-kit-components-select.umd.js +933 -787
  102. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  103. package/bundles/taiga-ui-kit-components-slider.umd.js +943 -797
  104. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  105. package/bundles/taiga-ui-kit-components-stepper.umd.js +769 -623
  106. package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
  107. package/bundles/taiga-ui-kit-components-tabs.umd.js +153 -7
  108. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  109. package/bundles/taiga-ui-kit-components-textarea.umd.js +966 -820
  110. package/bundles/taiga-ui-kit-components-textarea.umd.js.map +1 -1
  111. package/bundles/taiga-ui-kit-components-tiles.umd.js +839 -693
  112. package/bundles/taiga-ui-kit-components-tiles.umd.js.map +1 -1
  113. package/bundles/taiga-ui-kit-components-toggle.umd.js +711 -565
  114. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  115. package/bundles/taiga-ui-kit-constants.umd.js +152 -6
  116. package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
  117. package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js +637 -491
  118. package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js.map +1 -1
  119. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +605 -459
  120. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
  121. package/bundles/taiga-ui-kit-directives-unmask-handler.umd.js +540 -394
  122. package/bundles/taiga-ui-kit-directives-unmask-handler.umd.js.map +1 -1
  123. package/bundles/taiga-ui-kit-pipes-field-error.umd.js +693 -547
  124. package/bundles/taiga-ui-kit-pipes-field-error.umd.js.map +1 -1
  125. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +616 -470
  126. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
  127. package/bundles/taiga-ui-kit-pipes-sort-countries.umd.js +524 -378
  128. package/bundles/taiga-ui-kit-pipes-sort-countries.umd.js.map +1 -1
  129. package/bundles/taiga-ui-kit-utils-mask.umd.js +152 -6
  130. package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
  131. package/bundles/taiga-ui-kit-utils-math.umd.js +152 -6
  132. package/bundles/taiga-ui-kit-utils-math.umd.js.map +1 -1
  133. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +152 -6
  134. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +1 -1
  135. package/components/input-files/input-files.component.d.ts +1 -1
  136. package/esm2015/components/input-files/input-files.component.js +5 -5
  137. package/esm2015/components/tabs/tab/tab.component.js +1 -1
  138. package/fesm2015/taiga-ui-kit-components-input-files.js +4 -4
  139. package/fesm2015/taiga-ui-kit-components-input-files.js.map +1 -1
  140. package/fesm2015/taiga-ui-kit-components-tabs.js +1 -1
  141. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  142. package/package.json +42 -42
@@ -1,915 +1,1061 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('@maskito/kit'), require('@taiga-ui/cdk'), require('@taiga-ui/core'), require('@taiga-ui/kit/constants'), require('@taiga-ui/kit/tokens'), require('rxjs'), require('rxjs/operators'), require('@taiga-ui/kit/directives'), require('@maskito/angular'), require('@tinkoff/ng-polymorpheus'), require('@angular/common')) :
3
- typeof define === 'function' && define.amd ? define('@taiga-ui/kit/components/input-date-time', ['exports', '@angular/core', '@angular/forms', '@maskito/kit', '@taiga-ui/cdk', '@taiga-ui/core', '@taiga-ui/kit/constants', '@taiga-ui/kit/tokens', 'rxjs', 'rxjs/operators', '@taiga-ui/kit/directives', '@maskito/angular', '@tinkoff/ng-polymorpheus', '@angular/common'], 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-time"] = {}), global.ng.core, global.ng.forms, global.kit, global.i7, global.i1, global["taiga-ui"].kit.constants, global["taiga-ui"].kit.tokens, global.rxjs, global.rxjs.operators, global["taiga-ui"].kit.directives, global.i3, global.i4, global.ng.common));
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('@maskito/kit'), require('@taiga-ui/cdk'), require('@taiga-ui/core'), require('@taiga-ui/kit/constants'), require('@taiga-ui/kit/tokens'), require('rxjs'), require('rxjs/operators'), require('@taiga-ui/kit/directives'), require('@maskito/angular'), require('@tinkoff/ng-polymorpheus'), require('@angular/common')) :
3
+ typeof define === 'function' && define.amd ? define('@taiga-ui/kit/components/input-date-time', ['exports', '@angular/core', '@angular/forms', '@maskito/kit', '@taiga-ui/cdk', '@taiga-ui/core', '@taiga-ui/kit/constants', '@taiga-ui/kit/tokens', 'rxjs', 'rxjs/operators', '@taiga-ui/kit/directives', '@maskito/angular', '@tinkoff/ng-polymorpheus', '@angular/common'], 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-time"] = {}), global.ng.core, global.ng.forms, global.kit, global.i7, global.i1, global["taiga-ui"].kit.constants, global["taiga-ui"].kit.tokens, global.rxjs, global.rxjs.operators, global["taiga-ui"].kit.directives, global.i3, global.i4, global.ng.common));
5
5
  })(this, (function (exports, i0, i8, kit, i7, i1, constants, tokens, i9, operators, i2, i3, i4, i5) { 'use strict';
6
6
 
7
- function _interopNamespace(e) {
8
- if (e && e.__esModule) return e;
9
- var n = Object.create(null);
10
- if (e) {
11
- Object.keys(e).forEach(function (k) {
12
- if (k !== 'default') {
13
- var d = Object.getOwnPropertyDescriptor(e, k);
14
- Object.defineProperty(n, k, d.get ? d : {
15
- enumerable: true,
16
- get: function () { return e[k]; }
17
- });
18
- }
19
- });
7
+ function _interopNamespace(e) {
8
+ if (e && e.__esModule) return e;
9
+ var n = Object.create(null);
10
+ if (e) {
11
+ Object.keys(e).forEach(function (k) {
12
+ if (k !== 'default') {
13
+ var d = Object.getOwnPropertyDescriptor(e, k);
14
+ Object.defineProperty(n, k, d.get ? d : {
15
+ enumerable: true,
16
+ get: function () { return e[k]; }
17
+ });
20
18
  }
21
- n["default"] = e;
22
- return Object.freeze(n);
19
+ });
23
20
  }
21
+ n["default"] = e;
22
+ return Object.freeze(n);
23
+ }
24
24
 
25
- var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
- var i8__namespace = /*#__PURE__*/_interopNamespace(i8);
27
- var i7__namespace = /*#__PURE__*/_interopNamespace(i7);
28
- var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
29
- var i9__namespace = /*#__PURE__*/_interopNamespace(i9);
30
- var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
31
- var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
32
- var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
33
- var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
25
+ var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
+ var i8__namespace = /*#__PURE__*/_interopNamespace(i8);
27
+ var i7__namespace = /*#__PURE__*/_interopNamespace(i7);
28
+ var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
29
+ var i9__namespace = /*#__PURE__*/_interopNamespace(i9);
30
+ var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
31
+ var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
32
+ var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
33
+ var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
34
34
 
35
- /*! *****************************************************************************
36
- Copyright (c) Microsoft Corporation.
35
+ /******************************************************************************
36
+ Copyright (c) Microsoft Corporation.
37
37
 
38
- Permission to use, copy, modify, and/or distribute this software for any
39
- purpose with or without fee is hereby granted.
38
+ Permission to use, copy, modify, and/or distribute this software for any
39
+ purpose with or without fee is hereby granted.
40
40
 
41
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
42
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
43
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
44
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
45
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
46
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
47
- PERFORMANCE OF THIS SOFTWARE.
48
- ***************************************************************************** */
49
- /* global Reflect, Promise */
50
- var extendStatics = function (d, b) {
51
- extendStatics = Object.setPrototypeOf ||
52
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
53
- function (d, b) { for (var p in b)
54
- if (Object.prototype.hasOwnProperty.call(b, p))
55
- d[p] = b[p]; };
56
- return extendStatics(d, b);
57
- };
58
- function __extends(d, b) {
59
- if (typeof b !== "function" && b !== null)
60
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
61
- extendStatics(d, b);
62
- function __() { this.constructor = d; }
63
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
64
- }
65
- var __assign = function () {
66
- __assign = Object.assign || function __assign(t) {
67
- for (var s, i = 1, n = arguments.length; i < n; i++) {
68
- s = arguments[i];
69
- for (var p in s)
70
- if (Object.prototype.hasOwnProperty.call(s, p))
71
- t[p] = s[p];
72
- }
73
- return t;
74
- };
75
- return __assign.apply(this, arguments);
76
- };
77
- function __rest(s, e) {
78
- var t = {};
79
- for (var p in s)
80
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
81
- t[p] = s[p];
82
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
83
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
84
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
85
- t[p[i]] = s[p[i]];
86
- }
87
- return t;
88
- }
89
- function __decorate(decorators, target, key, desc) {
90
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
91
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
92
- r = Reflect.decorate(decorators, target, key, desc);
93
- else
94
- for (var i = decorators.length - 1; i >= 0; i--)
95
- if (d = decorators[i])
96
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
97
- return c > 3 && r && Object.defineProperty(target, key, r), r;
98
- }
99
- function __param(paramIndex, decorator) {
100
- return function (target, key) { decorator(target, key, paramIndex); };
101
- }
102
- function __metadata(metadataKey, metadataValue) {
103
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
104
- return Reflect.metadata(metadataKey, metadataValue);
105
- }
106
- function __awaiter(thisArg, _arguments, P, generator) {
107
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
108
- return new (P || (P = Promise))(function (resolve, reject) {
109
- function fulfilled(value) { try {
110
- step(generator.next(value));
111
- }
112
- catch (e) {
113
- reject(e);
114
- } }
115
- function rejected(value) { try {
116
- step(generator["throw"](value));
117
- }
118
- catch (e) {
119
- reject(e);
120
- } }
121
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
122
- step((generator = generator.apply(thisArg, _arguments || [])).next());
123
- });
124
- }
125
- function __generator(thisArg, body) {
126
- var _ = { label: 0, sent: function () { if (t[0] & 1)
127
- throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
128
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
129
- function verb(n) { return function (v) { return step([n, v]); }; }
130
- function step(op) {
131
- if (f)
132
- throw new TypeError("Generator is already executing.");
133
- while (_)
134
- try {
135
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
136
- return t;
137
- if (y = 0, t)
138
- op = [op[0] & 2, t.value];
139
- switch (op[0]) {
140
- case 0:
141
- case 1:
142
- t = op;
143
- break;
144
- case 4:
145
- _.label++;
146
- return { value: op[1], done: false };
147
- case 5:
148
- _.label++;
149
- y = op[1];
150
- op = [0];
151
- continue;
152
- case 7:
153
- op = _.ops.pop();
154
- _.trys.pop();
155
- continue;
156
- default:
157
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
158
- _ = 0;
159
- continue;
160
- }
161
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
162
- _.label = op[1];
163
- break;
164
- }
165
- if (op[0] === 6 && _.label < t[1]) {
166
- _.label = t[1];
167
- t = op;
168
- break;
169
- }
170
- if (t && _.label < t[2]) {
171
- _.label = t[2];
172
- _.ops.push(op);
173
- break;
174
- }
175
- if (t[2])
176
- _.ops.pop();
177
- _.trys.pop();
178
- continue;
179
- }
180
- op = body.call(thisArg, _);
181
- }
182
- catch (e) {
183
- op = [6, e];
184
- y = 0;
185
- }
186
- finally {
187
- f = t = 0;
188
- }
189
- if (op[0] & 5)
190
- throw op[1];
191
- return { value: op[0] ? op[1] : void 0, done: true };
192
- }
193
- }
194
- var __createBinding = Object.create ? (function (o, m, k, k2) {
195
- if (k2 === undefined)
196
- k2 = k;
197
- Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
198
- }) : (function (o, m, k, k2) {
199
- if (k2 === undefined)
200
- k2 = k;
201
- o[k2] = m[k];
202
- });
203
- function __exportStar(m, o) {
204
- for (var p in m)
205
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
206
- __createBinding(o, m, p);
207
- }
208
- function __values(o) {
209
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
210
- if (m)
211
- return m.call(o);
212
- if (o && typeof o.length === "number")
213
- return {
214
- next: function () {
215
- if (o && i >= o.length)
216
- o = void 0;
217
- return { value: o && o[i++], done: !o };
218
- }
219
- };
220
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
221
- }
222
- function __read(o, n) {
223
- var m = typeof Symbol === "function" && o[Symbol.iterator];
224
- if (!m)
225
- return o;
226
- var i = m.call(o), r, ar = [], e;
227
- try {
228
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
229
- ar.push(r.value);
230
- }
231
- catch (error) {
232
- e = { error: error };
233
- }
234
- finally {
235
- try {
236
- if (r && !r.done && (m = i["return"]))
237
- m.call(i);
238
- }
239
- finally {
240
- if (e)
241
- throw e.error;
242
- }
243
- }
244
- return ar;
245
- }
246
- /** @deprecated */
247
- function __spread() {
248
- for (var ar = [], i = 0; i < arguments.length; i++)
249
- ar = ar.concat(__read(arguments[i]));
250
- return ar;
251
- }
252
- /** @deprecated */
253
- function __spreadArrays() {
254
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
255
- s += arguments[i].length;
256
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
257
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
258
- r[k] = a[j];
259
- return r;
260
- }
261
- function __spreadArray(to, from, pack) {
262
- if (pack || arguments.length === 2)
263
- for (var i = 0, l = from.length, ar; i < l; i++) {
264
- if (ar || !(i in from)) {
265
- if (!ar)
266
- ar = Array.prototype.slice.call(from, 0, i);
267
- ar[i] = from[i];
268
- }
269
- }
270
- return to.concat(ar || from);
271
- }
272
- function __await(v) {
273
- return this instanceof __await ? (this.v = v, this) : new __await(v);
274
- }
275
- function __asyncGenerator(thisArg, _arguments, generator) {
276
- if (!Symbol.asyncIterator)
277
- throw new TypeError("Symbol.asyncIterator is not defined.");
278
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
279
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
280
- function verb(n) { if (g[n])
281
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
282
- function resume(n, v) { try {
283
- step(g[n](v));
284
- }
285
- catch (e) {
286
- settle(q[0][3], e);
287
- } }
288
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
289
- function fulfill(value) { resume("next", value); }
290
- function reject(value) { resume("throw", value); }
291
- function settle(f, v) { if (f(v), q.shift(), q.length)
292
- resume(q[0][0], q[0][1]); }
293
- }
294
- function __asyncDelegator(o) {
295
- var i, p;
296
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
297
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
298
- }
299
- function __asyncValues(o) {
300
- if (!Symbol.asyncIterator)
301
- throw new TypeError("Symbol.asyncIterator is not defined.");
302
- var m = o[Symbol.asyncIterator], i;
303
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
304
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
305
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
306
- }
307
- function __makeTemplateObject(cooked, raw) {
308
- if (Object.defineProperty) {
309
- Object.defineProperty(cooked, "raw", { value: raw });
310
- }
311
- else {
312
- cooked.raw = raw;
313
- }
314
- return cooked;
315
- }
316
- ;
317
- var __setModuleDefault = Object.create ? (function (o, v) {
318
- Object.defineProperty(o, "default", { enumerable: true, value: v });
319
- }) : function (o, v) {
320
- o["default"] = v;
321
- };
322
- function __importStar(mod) {
323
- if (mod && mod.__esModule)
324
- return mod;
325
- var result = {};
326
- if (mod != null)
327
- for (var k in mod)
328
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
329
- __createBinding(result, mod, k);
330
- __setModuleDefault(result, mod);
331
- return result;
332
- }
333
- function __importDefault(mod) {
334
- return (mod && mod.__esModule) ? mod : { default: mod };
335
- }
336
- function __classPrivateFieldGet(receiver, state, kind, f) {
337
- if (kind === "a" && !f)
338
- throw new TypeError("Private accessor was defined without a getter");
339
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
340
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
341
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
342
- }
343
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
344
- if (kind === "m")
345
- throw new TypeError("Private method is not writable");
346
- if (kind === "a" && !f)
347
- throw new TypeError("Private accessor was defined without a setter");
348
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
349
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
350
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
351
- }
41
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
42
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
43
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
44
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
45
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
46
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
47
+ PERFORMANCE OF THIS SOFTWARE.
48
+ ***************************************************************************** */
49
+ /* global Reflect, Promise, SuppressedError, Symbol */
50
+ var extendStatics = function (d, b) {
51
+ extendStatics = Object.setPrototypeOf ||
52
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
53
+ function (d, b) { for (var p in b)
54
+ if (Object.prototype.hasOwnProperty.call(b, p))
55
+ d[p] = b[p]; };
56
+ return extendStatics(d, b);
57
+ };
58
+ function __extends(d, b) {
59
+ if (typeof b !== "function" && b !== null)
60
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
61
+ extendStatics(d, b);
62
+ function __() { this.constructor = d; }
63
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
64
+ }
65
+ var __assign = function () {
66
+ __assign = Object.assign || function __assign(t) {
67
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
68
+ s = arguments[i];
69
+ for (var p in s)
70
+ if (Object.prototype.hasOwnProperty.call(s, p))
71
+ t[p] = s[p];
72
+ }
73
+ return t;
74
+ };
75
+ return __assign.apply(this, arguments);
76
+ };
77
+ function __rest(s, e) {
78
+ var t = {};
79
+ for (var p in s)
80
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
81
+ t[p] = s[p];
82
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
83
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
84
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
85
+ t[p[i]] = s[p[i]];
86
+ }
87
+ return t;
88
+ }
89
+ function __decorate(decorators, target, key, desc) {
90
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
91
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
92
+ r = Reflect.decorate(decorators, target, key, desc);
93
+ else
94
+ for (var i = decorators.length - 1; i >= 0; i--)
95
+ if (d = decorators[i])
96
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
97
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
98
+ }
99
+ function __param(paramIndex, decorator) {
100
+ return function (target, key) { decorator(target, key, paramIndex); };
101
+ }
102
+ function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
103
+ function accept(f) { if (f !== void 0 && typeof f !== "function")
104
+ throw new TypeError("Function expected"); return f; }
105
+ var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
106
+ var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
107
+ var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
108
+ var _, done = false;
109
+ for (var i = decorators.length - 1; i >= 0; i--) {
110
+ var context = {};
111
+ for (var p in contextIn)
112
+ context[p] = p === "access" ? {} : contextIn[p];
113
+ for (var p in contextIn.access)
114
+ context.access[p] = contextIn.access[p];
115
+ context.addInitializer = function (f) { if (done)
116
+ throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
117
+ var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
118
+ if (kind === "accessor") {
119
+ if (result === void 0)
120
+ continue;
121
+ if (result === null || typeof result !== "object")
122
+ throw new TypeError("Object expected");
123
+ if (_ = accept(result.get))
124
+ descriptor.get = _;
125
+ if (_ = accept(result.set))
126
+ descriptor.set = _;
127
+ if (_ = accept(result.init))
128
+ initializers.unshift(_);
129
+ }
130
+ else if (_ = accept(result)) {
131
+ if (kind === "field")
132
+ initializers.unshift(_);
133
+ else
134
+ descriptor[key] = _;
135
+ }
136
+ }
137
+ if (target)
138
+ Object.defineProperty(target, contextIn.name, descriptor);
139
+ done = true;
140
+ }
141
+ ;
142
+ function __runInitializers(thisArg, initializers, value) {
143
+ var useValue = arguments.length > 2;
144
+ for (var i = 0; i < initializers.length; i++) {
145
+ value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
146
+ }
147
+ return useValue ? value : void 0;
148
+ }
149
+ ;
150
+ function __propKey(x) {
151
+ return typeof x === "symbol" ? x : "".concat(x);
152
+ }
153
+ ;
154
+ function __setFunctionName(f, name, prefix) {
155
+ if (typeof name === "symbol")
156
+ name = name.description ? "[".concat(name.description, "]") : "";
157
+ return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
158
+ }
159
+ ;
160
+ function __metadata(metadataKey, metadataValue) {
161
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
162
+ return Reflect.metadata(metadataKey, metadataValue);
163
+ }
164
+ function __awaiter(thisArg, _arguments, P, generator) {
165
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
166
+ return new (P || (P = Promise))(function (resolve, reject) {
167
+ function fulfilled(value) { try {
168
+ step(generator.next(value));
169
+ }
170
+ catch (e) {
171
+ reject(e);
172
+ } }
173
+ function rejected(value) { try {
174
+ step(generator["throw"](value));
175
+ }
176
+ catch (e) {
177
+ reject(e);
178
+ } }
179
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
180
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
181
+ });
182
+ }
183
+ function __generator(thisArg, body) {
184
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
185
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
186
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
187
+ function verb(n) { return function (v) { return step([n, v]); }; }
188
+ function step(op) {
189
+ if (f)
190
+ throw new TypeError("Generator is already executing.");
191
+ while (g && (g = 0, op[0] && (_ = 0)), _)
192
+ try {
193
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
194
+ return t;
195
+ if (y = 0, t)
196
+ op = [op[0] & 2, t.value];
197
+ switch (op[0]) {
198
+ case 0:
199
+ case 1:
200
+ t = op;
201
+ break;
202
+ case 4:
203
+ _.label++;
204
+ return { value: op[1], done: false };
205
+ case 5:
206
+ _.label++;
207
+ y = op[1];
208
+ op = [0];
209
+ continue;
210
+ case 7:
211
+ op = _.ops.pop();
212
+ _.trys.pop();
213
+ continue;
214
+ default:
215
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
216
+ _ = 0;
217
+ continue;
218
+ }
219
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
220
+ _.label = op[1];
221
+ break;
222
+ }
223
+ if (op[0] === 6 && _.label < t[1]) {
224
+ _.label = t[1];
225
+ t = op;
226
+ break;
227
+ }
228
+ if (t && _.label < t[2]) {
229
+ _.label = t[2];
230
+ _.ops.push(op);
231
+ break;
232
+ }
233
+ if (t[2])
234
+ _.ops.pop();
235
+ _.trys.pop();
236
+ continue;
237
+ }
238
+ op = body.call(thisArg, _);
239
+ }
240
+ catch (e) {
241
+ op = [6, e];
242
+ y = 0;
243
+ }
244
+ finally {
245
+ f = t = 0;
246
+ }
247
+ if (op[0] & 5)
248
+ throw op[1];
249
+ return { value: op[0] ? op[1] : void 0, done: true };
250
+ }
251
+ }
252
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
253
+ if (k2 === undefined)
254
+ k2 = k;
255
+ var desc = Object.getOwnPropertyDescriptor(m, k);
256
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
257
+ desc = { enumerable: true, get: function () { return m[k]; } };
258
+ }
259
+ Object.defineProperty(o, k2, desc);
260
+ }) : (function (o, m, k, k2) {
261
+ if (k2 === undefined)
262
+ k2 = k;
263
+ o[k2] = m[k];
264
+ });
265
+ function __exportStar(m, o) {
266
+ for (var p in m)
267
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
268
+ __createBinding(o, m, p);
269
+ }
270
+ function __values(o) {
271
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
272
+ if (m)
273
+ return m.call(o);
274
+ if (o && typeof o.length === "number")
275
+ return {
276
+ next: function () {
277
+ if (o && i >= o.length)
278
+ o = void 0;
279
+ return { value: o && o[i++], done: !o };
280
+ }
281
+ };
282
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
283
+ }
284
+ function __read(o, n) {
285
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
286
+ if (!m)
287
+ return o;
288
+ var i = m.call(o), r, ar = [], e;
289
+ try {
290
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
291
+ ar.push(r.value);
292
+ }
293
+ catch (error) {
294
+ e = { error: error };
295
+ }
296
+ finally {
297
+ try {
298
+ if (r && !r.done && (m = i["return"]))
299
+ m.call(i);
300
+ }
301
+ finally {
302
+ if (e)
303
+ throw e.error;
304
+ }
305
+ }
306
+ return ar;
307
+ }
308
+ /** @deprecated */
309
+ function __spread() {
310
+ for (var ar = [], i = 0; i < arguments.length; i++)
311
+ ar = ar.concat(__read(arguments[i]));
312
+ return ar;
313
+ }
314
+ /** @deprecated */
315
+ function __spreadArrays() {
316
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
317
+ s += arguments[i].length;
318
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
319
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
320
+ r[k] = a[j];
321
+ return r;
322
+ }
323
+ function __spreadArray(to, from, pack) {
324
+ if (pack || arguments.length === 2)
325
+ for (var i = 0, l = from.length, ar; i < l; i++) {
326
+ if (ar || !(i in from)) {
327
+ if (!ar)
328
+ ar = Array.prototype.slice.call(from, 0, i);
329
+ ar[i] = from[i];
330
+ }
331
+ }
332
+ return to.concat(ar || Array.prototype.slice.call(from));
333
+ }
334
+ function __await(v) {
335
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
336
+ }
337
+ function __asyncGenerator(thisArg, _arguments, generator) {
338
+ if (!Symbol.asyncIterator)
339
+ throw new TypeError("Symbol.asyncIterator is not defined.");
340
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
341
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
342
+ function verb(n) { if (g[n])
343
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
344
+ function resume(n, v) { try {
345
+ step(g[n](v));
346
+ }
347
+ catch (e) {
348
+ settle(q[0][3], e);
349
+ } }
350
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
351
+ function fulfill(value) { resume("next", value); }
352
+ function reject(value) { resume("throw", value); }
353
+ function settle(f, v) { if (f(v), q.shift(), q.length)
354
+ resume(q[0][0], q[0][1]); }
355
+ }
356
+ function __asyncDelegator(o) {
357
+ var i, p;
358
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
359
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
360
+ }
361
+ function __asyncValues(o) {
362
+ if (!Symbol.asyncIterator)
363
+ throw new TypeError("Symbol.asyncIterator is not defined.");
364
+ var m = o[Symbol.asyncIterator], i;
365
+ return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
366
+ function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
367
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
368
+ }
369
+ function __makeTemplateObject(cooked, raw) {
370
+ if (Object.defineProperty) {
371
+ Object.defineProperty(cooked, "raw", { value: raw });
372
+ }
373
+ else {
374
+ cooked.raw = raw;
375
+ }
376
+ return cooked;
377
+ }
378
+ ;
379
+ var __setModuleDefault = Object.create ? (function (o, v) {
380
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
381
+ }) : function (o, v) {
382
+ o["default"] = v;
383
+ };
384
+ function __importStar(mod) {
385
+ if (mod && mod.__esModule)
386
+ return mod;
387
+ var result = {};
388
+ if (mod != null)
389
+ for (var k in mod)
390
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
391
+ __createBinding(result, mod, k);
392
+ __setModuleDefault(result, mod);
393
+ return result;
394
+ }
395
+ function __importDefault(mod) {
396
+ return (mod && mod.__esModule) ? mod : { default: mod };
397
+ }
398
+ function __classPrivateFieldGet(receiver, state, kind, f) {
399
+ if (kind === "a" && !f)
400
+ throw new TypeError("Private accessor was defined without a getter");
401
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
402
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
403
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
404
+ }
405
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
406
+ if (kind === "m")
407
+ throw new TypeError("Private method is not writable");
408
+ if (kind === "a" && !f)
409
+ throw new TypeError("Private accessor was defined without a setter");
410
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
411
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
412
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
413
+ }
414
+ function __classPrivateFieldIn(state, receiver) {
415
+ if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
416
+ throw new TypeError("Cannot use 'in' operator on non-object");
417
+ return typeof state === "function" ? receiver === state : state.has(receiver);
418
+ }
419
+ function __addDisposableResource(env, value, async) {
420
+ if (value !== null && value !== void 0) {
421
+ if (typeof value !== "object" && typeof value !== "function")
422
+ throw new TypeError("Object expected.");
423
+ var dispose;
424
+ if (async) {
425
+ if (!Symbol.asyncDispose)
426
+ throw new TypeError("Symbol.asyncDispose is not defined.");
427
+ dispose = value[Symbol.asyncDispose];
428
+ }
429
+ if (dispose === void 0) {
430
+ if (!Symbol.dispose)
431
+ throw new TypeError("Symbol.dispose is not defined.");
432
+ dispose = value[Symbol.dispose];
433
+ }
434
+ if (typeof dispose !== "function")
435
+ throw new TypeError("Object not disposable.");
436
+ env.stack.push({ value: value, dispose: dispose, async: async });
437
+ }
438
+ else if (async) {
439
+ env.stack.push({ async: true });
440
+ }
441
+ return value;
442
+ }
443
+ var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
444
+ var e = new Error(message);
445
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
446
+ };
447
+ function __disposeResources(env) {
448
+ function fail(e) {
449
+ env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
450
+ env.hasError = true;
451
+ }
452
+ function next() {
453
+ while (env.stack.length) {
454
+ var rec = env.stack.pop();
455
+ try {
456
+ var result = rec.dispose && rec.dispose.call(rec.value);
457
+ if (rec.async)
458
+ return Promise.resolve(result).then(next, function (e) { fail(e); return next(); });
459
+ }
460
+ catch (e) {
461
+ fail(e);
462
+ }
463
+ }
464
+ if (env.hasError)
465
+ throw env.error;
466
+ }
467
+ return next();
468
+ }
469
+ var tslib_es6 = {
470
+ __extends: __extends,
471
+ __assign: __assign,
472
+ __rest: __rest,
473
+ __decorate: __decorate,
474
+ __param: __param,
475
+ __metadata: __metadata,
476
+ __awaiter: __awaiter,
477
+ __generator: __generator,
478
+ __createBinding: __createBinding,
479
+ __exportStar: __exportStar,
480
+ __values: __values,
481
+ __read: __read,
482
+ __spread: __spread,
483
+ __spreadArrays: __spreadArrays,
484
+ __spreadArray: __spreadArray,
485
+ __await: __await,
486
+ __asyncGenerator: __asyncGenerator,
487
+ __asyncDelegator: __asyncDelegator,
488
+ __asyncValues: __asyncValues,
489
+ __makeTemplateObject: __makeTemplateObject,
490
+ __importStar: __importStar,
491
+ __importDefault: __importDefault,
492
+ __classPrivateFieldGet: __classPrivateFieldGet,
493
+ __classPrivateFieldSet: __classPrivateFieldSet,
494
+ __classPrivateFieldIn: __classPrivateFieldIn,
495
+ __addDisposableResource: __addDisposableResource,
496
+ __disposeResources: __disposeResources,
497
+ };
352
498
 
353
- var TuiNativeDateTimeDirective = /** @class */ (function () {
354
- function TuiNativeDateTimeDirective(host) {
355
- this.host = host;
356
- }
357
- Object.defineProperty(TuiNativeDateTimeDirective.prototype, "value", {
358
- get: function () {
359
- var _a, _b;
360
- if (!this.host.rawValue[0] || !this.host.rawValue[1]) {
361
- return '';
362
- }
363
- return ((_a = this.host.rawValue[0]) === null || _a === void 0 ? void 0 : _a.toString('YMD', '-')) + "T" + ((_b = this.host.rawValue[1]) === null || _b === void 0 ? void 0 : _b.toString('HH:MM'));
364
- },
365
- enumerable: false,
366
- configurable: true
367
- });
368
- TuiNativeDateTimeDirective.prototype.onChange = function (value) {
369
- if (!value) {
370
- this.host.writeValue([null, null]);
371
- return;
372
- }
373
- var date = new Date(value);
374
- var day = i7.TuiDay.fromLocalNativeDate(date);
375
- var time = i7.TuiTime.fromLocalNativeDate(date);
376
- this.host.writeValue([day, time]);
377
- };
378
- return TuiNativeDateTimeDirective;
379
- }());
380
- TuiNativeDateTimeDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiNativeDateTimeDirective, deps: [{ token: i1.TUI_TEXTFIELD_HOST }], target: i0__namespace.ɵɵFactoryTarget.Directive });
381
- TuiNativeDateTimeDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiNativeDateTimeDirective, selector: "input[tuiDateTime]", host: { attributes: { "type": "datetime-local" }, listeners: { "change.stop": "onChange($event.target.value)", "input.stop": "onChange($event.target.value)", "click.stop.silent": "0", "mousedown.stop.silent": "0" }, properties: { "tabIndex": "-1", "value": "value" } }, ngImport: i0__namespace });
382
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiNativeDateTimeDirective, decorators: [{
383
- type: i0.Directive,
384
- args: [{
385
- selector: 'input[tuiDateTime]',
386
- host: {
387
- type: 'datetime-local',
388
- '[tabIndex]': '-1',
389
- '[value]': 'value',
390
- '(change.stop)': 'onChange($event.target.value)',
391
- '(input.stop)': 'onChange($event.target.value)',
392
- '(click.stop.silent)': '0',
393
- '(mousedown.stop.silent)': '0',
394
- },
395
- }]
396
- }], ctorParameters: function () {
397
- return [{ type: undefined, decorators: [{
398
- type: i0.Inject,
399
- args: [i1.TUI_TEXTFIELD_HOST]
400
- }] }];
401
- } });
499
+ var TuiNativeDateTimeDirective = /** @class */ (function () {
500
+ function TuiNativeDateTimeDirective(host) {
501
+ this.host = host;
502
+ }
503
+ Object.defineProperty(TuiNativeDateTimeDirective.prototype, "value", {
504
+ get: function () {
505
+ var _a, _b;
506
+ if (!this.host.rawValue[0] || !this.host.rawValue[1]) {
507
+ return '';
508
+ }
509
+ return ((_a = this.host.rawValue[0]) === null || _a === void 0 ? void 0 : _a.toString('YMD', '-')) + "T" + ((_b = this.host.rawValue[1]) === null || _b === void 0 ? void 0 : _b.toString('HH:MM'));
510
+ },
511
+ enumerable: false,
512
+ configurable: true
513
+ });
514
+ TuiNativeDateTimeDirective.prototype.onChange = function (value) {
515
+ if (!value) {
516
+ this.host.writeValue([null, null]);
517
+ return;
518
+ }
519
+ var date = new Date(value);
520
+ var day = i7.TuiDay.fromLocalNativeDate(date);
521
+ var time = i7.TuiTime.fromLocalNativeDate(date);
522
+ this.host.writeValue([day, time]);
523
+ };
524
+ return TuiNativeDateTimeDirective;
525
+ }());
526
+ TuiNativeDateTimeDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiNativeDateTimeDirective, deps: [{ token: i1.TUI_TEXTFIELD_HOST }], target: i0__namespace.ɵɵFactoryTarget.Directive });
527
+ TuiNativeDateTimeDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiNativeDateTimeDirective, selector: "input[tuiDateTime]", host: { attributes: { "type": "datetime-local" }, listeners: { "change.stop": "onChange($event.target.value)", "input.stop": "onChange($event.target.value)", "click.stop.silent": "0", "mousedown.stop.silent": "0" }, properties: { "tabIndex": "-1", "value": "value" } }, ngImport: i0__namespace });
528
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiNativeDateTimeDirective, decorators: [{
529
+ type: i0.Directive,
530
+ args: [{
531
+ selector: 'input[tuiDateTime]',
532
+ host: {
533
+ type: 'datetime-local',
534
+ '[tabIndex]': '-1',
535
+ '[value]': 'value',
536
+ '(change.stop)': 'onChange($event.target.value)',
537
+ '(input.stop)': 'onChange($event.target.value)',
538
+ '(click.stop.silent)': '0',
539
+ '(mousedown.stop.silent)': '0',
540
+ },
541
+ }]
542
+ }], ctorParameters: function () {
543
+ return [{ type: undefined, decorators: [{
544
+ type: i0.Inject,
545
+ args: [i1.TUI_TEXTFIELD_HOST]
546
+ }] }];
547
+ } });
402
548
 
403
- var TuiInputDateTimeComponent = /** @class */ (function (_super) {
404
- __extends(TuiInputDateTimeComponent, _super);
405
- function TuiInputDateTimeComponent(control, cdr, dateFormat, dateSeparator, timeTexts$, dateTexts$, valueTransformer, options, isMobile, isIos, textfieldSize) {
406
- var _this = _super.call(this, control, cdr, valueTransformer) || this;
407
- _this.dateFormat = dateFormat;
408
- _this.dateSeparator = dateSeparator;
409
- _this.timeTexts$ = timeTexts$;
410
- _this.dateTexts$ = dateTexts$;
411
- _this.valueTransformer = valueTransformer;
412
- _this.options = options;
413
- _this.isMobile = isMobile;
414
- _this.isIos = isIos;
415
- _this.textfieldSize = textfieldSize;
416
- _this.month = null;
417
- _this.timeMode$ = new i9.BehaviorSubject('HH:MM');
418
- _this.min = _this.options.min;
419
- _this.max = _this.options.max;
420
- _this.disabledItemHandler = i7.ALWAYS_FALSE_HANDLER;
421
- _this.defaultActiveYearMonth = i7.TuiMonth.currentLocal();
422
- _this.open = false;
423
- _this.filler$ = i9.combineLatest([
424
- _this.dateTexts$.pipe(operators.map(function (dateTexts) { return i7.changeDateSeparator(dateTexts[_this.dateFormat], _this.dateSeparator); })),
425
- _this.timeTexts$,
426
- _this.timeMode$,
427
- ]).pipe(operators.map(function (_c) {
428
- var _d = __read(_c, 3), dateFiller = _d[0], timeTexts = _d[1], timeMode = _d[2];
429
- return _this.getDateTimeString(dateFiller, timeTexts[timeMode]);
430
- }));
431
- return _this;
432
- }
433
- Object.defineProperty(TuiInputDateTimeComponent.prototype, "timeMode", {
434
- get: function () {
435
- return this.timeMode$.value;
436
- },
437
- set: function (value) {
438
- this.timeMode$.next(value);
439
- },
440
- enumerable: false,
441
- configurable: true
442
- });
443
- Object.defineProperty(TuiInputDateTimeComponent.prototype, "size", {
444
- get: function () {
445
- return this.textfieldSize.size;
446
- },
447
- enumerable: false,
448
- configurable: true
449
- });
450
- Object.defineProperty(TuiInputDateTimeComponent.prototype, "computedMin", {
451
- get: function () {
452
- return this.toTuiDay(this.min, this.options.min);
453
- },
454
- enumerable: false,
455
- configurable: true
456
- });
457
- Object.defineProperty(TuiInputDateTimeComponent.prototype, "computedMax", {
458
- get: function () {
459
- return this.toTuiDay(this.max, this.options.max);
460
- },
461
- enumerable: false,
462
- configurable: true
463
- });
464
- Object.defineProperty(TuiInputDateTimeComponent.prototype, "fillerLength", {
465
- get: function () {
466
- return i7.DATE_FILLER_LENGTH + constants.DATE_TIME_SEPARATOR.length + this.timeMode.length;
467
- },
468
- enumerable: false,
469
- configurable: true
470
- });
471
- Object.defineProperty(TuiInputDateTimeComponent.prototype, "maskOptions", {
472
- get: function () {
473
- return this.calculateMask(this.computedMin, this.computedMax, this.timeMode, this.dateFormat, this.dateSeparator);
474
- },
475
- enumerable: false,
476
- configurable: true
477
- });
478
- Object.defineProperty(TuiInputDateTimeComponent.prototype, "nativeFocusableElement", {
479
- get: function () {
480
- var _a, _b;
481
- return (_b = (_a = this.textfield) === null || _a === void 0 ? void 0 : _a.nativeFocusableElement) !== null && _b !== void 0 ? _b : null;
482
- },
483
- enumerable: false,
484
- configurable: true
485
- });
486
- Object.defineProperty(TuiInputDateTimeComponent.prototype, "focused", {
487
- get: function () {
488
- var _a;
489
- return !!((_a = this.textfield) === null || _a === void 0 ? void 0 : _a.focused);
490
- },
491
- enumerable: false,
492
- configurable: true
493
- });
494
- Object.defineProperty(TuiInputDateTimeComponent.prototype, "calendarIcon", {
495
- get: function () {
496
- return this.options.icon;
497
- },
498
- enumerable: false,
499
- configurable: true
500
- });
501
- Object.defineProperty(TuiInputDateTimeComponent.prototype, "nativePicker", {
502
- get: function () {
503
- return this.options.nativePicker && this.isMobile;
504
- },
505
- enumerable: false,
506
- configurable: true
507
- });
508
- Object.defineProperty(TuiInputDateTimeComponent.prototype, "showNativePicker", {
509
- get: function () {
510
- return this.nativePicker && this.timeMode === 'HH:MM';
511
- },
512
- enumerable: false,
513
- configurable: true
514
- });
515
- Object.defineProperty(TuiInputDateTimeComponent.prototype, "computedValue", {
516
- get: function () {
517
- var _c = this, value = _c.value, nativeValue = _c.nativeValue, timeMode = _c.timeMode;
518
- var _d = __read(value, 2), date = _d[0], time = _d[1];
519
- var hasTimeInputChars = nativeValue.length > i7.DATE_FILLER_LENGTH;
520
- if (!date || (!time && hasTimeInputChars)) {
521
- return nativeValue;
522
- }
523
- return this.getDateTimeString(date, time, timeMode);
524
- },
525
- enumerable: false,
526
- configurable: true
527
- });
528
- Object.defineProperty(TuiInputDateTimeComponent.prototype, "calendarValue", {
529
- get: function () {
530
- return this.value[0];
531
- },
532
- enumerable: false,
533
- configurable: true
534
- });
535
- Object.defineProperty(TuiInputDateTimeComponent.prototype, "calendarMinDay", {
536
- get: function () {
537
- var min = this.computedMin;
538
- return Array.isArray(min) ? min[0] : min;
539
- },
540
- enumerable: false,
541
- configurable: true
542
- });
543
- Object.defineProperty(TuiInputDateTimeComponent.prototype, "calendarMaxDay", {
544
- get: function () {
545
- var max = this.computedMax;
546
- return Array.isArray(max) ? max[0] : max;
547
- },
548
- enumerable: false,
549
- configurable: true
550
- });
551
- Object.defineProperty(TuiInputDateTimeComponent.prototype, "computedActiveYearMonth", {
552
- get: function () {
553
- var _c = this, computedMin = _c.computedMin, computedMax = _c.computedMax;
554
- return (this.month ||
555
- this.value[0] ||
556
- i7.tuiDateClamp(this.defaultActiveYearMonth, Array.isArray(computedMin) ? computedMin[0] : computedMin, Array.isArray(computedMax) ? computedMax[0] : computedMax));
557
- },
558
- enumerable: false,
559
- configurable: true
560
- });
561
- Object.defineProperty(TuiInputDateTimeComponent.prototype, "nativeValue", {
562
- get: function () {
563
- var _a;
564
- return ((_a = this.nativeFocusableElement) === null || _a === void 0 ? void 0 : _a.value) || '';
565
- },
566
- set: function (value) {
567
- if (!this.nativeFocusableElement) {
568
- return;
569
- }
570
- this.nativeFocusableElement.value = value;
571
- },
572
- enumerable: false,
573
- configurable: true
574
- });
575
- TuiInputDateTimeComponent.prototype.onClick = function () {
576
- this.open = !this.open;
577
- };
578
- TuiInputDateTimeComponent.prototype.onValueChange = function (value) {
579
- if (!value) {
580
- this.onOpenChange(true);
581
- }
582
- if (value.length < i7.DATE_FILLER_LENGTH) {
583
- this.value = [null, null];
584
- return;
585
- }
586
- var _c = __read(value.split(constants.DATE_TIME_SEPARATOR), 2), date = _c[0], time = _c[1];
587
- var parsedDate = i7.TuiDay.normalizeParse(date, this.dateFormat);
588
- var parsedTime = time && time.length === this.timeMode.length
589
- ? i7.TuiTime.fromString(time)
590
- : null;
591
- this.open = false;
592
- this.value = [parsedDate, parsedTime];
593
- };
594
- TuiInputDateTimeComponent.prototype.onDayClick = function (day) {
595
- var _a;
596
- var modifiedTime = this.value[1] && this.clampTime(this.value[1], day);
597
- var newCaretIndex = i7.DATE_FILLER_LENGTH + constants.DATE_TIME_SEPARATOR.length;
598
- this.value = [day, modifiedTime];
599
- this.updateNativeValue(day);
600
- (_a = this.nativeFocusableElement) === null || _a === void 0 ? void 0 : _a.setSelectionRange(newCaretIndex, newCaretIndex);
601
- this.open = false;
602
- };
603
- TuiInputDateTimeComponent.prototype.onMonthChange = function (month) {
604
- this.month = month;
605
- };
606
- TuiInputDateTimeComponent.prototype.onOpenChange = function (open) {
607
- this.open = open;
608
- };
609
- TuiInputDateTimeComponent.prototype.onFocused = function (focused) {
610
- var _this = this;
611
- this.updateFocused(focused);
612
- if (focused) {
613
- return;
614
- }
615
- i9.timer(0)
616
- .pipe(operators.takeUntil(this.destroy$))
617
- .subscribe(function () {
618
- _this.nativeValue = _this.trimTrailingSeparator(_this.nativeValue);
619
- });
620
- if (this.value[0] === null ||
621
- this.value[1] !== null ||
622
- this.nativeValue.length <= this.fillerLength + constants.DATE_TIME_SEPARATOR.length ||
623
- this.timeMode === 'HH:MM') {
624
- return;
625
- }
626
- var _c = __read(this.nativeValue.split(constants.DATE_TIME_SEPARATOR), 2), time = _c[1];
627
- if (!time) {
628
- return;
629
- }
630
- var parsedTime = i7.TuiTime.fromString(time);
631
- this.value = [this.value[0], parsedTime];
632
- };
633
- TuiInputDateTimeComponent.prototype.setDisabledState = function () {
634
- _super.prototype.setDisabledState.call(this);
635
- this.open = false;
636
- };
637
- TuiInputDateTimeComponent.prototype.writeValue = function (value) {
638
- _super.prototype.writeValue.call(this, value);
639
- this.nativeValue =
640
- this.value && (this.value[0] || this.value[1]) ? this.computedValue : '';
641
- };
642
- TuiInputDateTimeComponent.prototype.getFallbackValue = function () {
643
- return [null, null];
644
- };
645
- TuiInputDateTimeComponent.prototype.valueIdenticalComparator = function (oldValue, newValue) {
646
- return (i7.tuiNullableSame(oldValue[0], newValue[0], function (a, b) { return a.daySame(b); }) &&
647
- i7.tuiNullableSame(oldValue[1], newValue[1], function (a, b) { return String(a) === String(b); }));
648
- };
649
- TuiInputDateTimeComponent.prototype.calculateMask = function (min, max, timeMode, dateFormat, dateSeparator) {
650
- return kit.maskitoDateTimeOptionsGenerator({
651
- timeMode: timeMode,
652
- dateSeparator: dateSeparator,
653
- dateMode: constants.TUI_DATE_MODE_MASKITO_ADAPTER[dateFormat],
654
- min: this.toNativeDate(min),
655
- max: this.toNativeDate(max),
656
- });
657
- };
658
- TuiInputDateTimeComponent.prototype.getDateTimeString = function (date, time, timeMode) {
659
- if (timeMode === void 0) { timeMode = 'HH:MM'; }
660
- var dateString = date instanceof i7.TuiDay
661
- ? date.toString(this.dateFormat, this.dateSeparator)
662
- : date;
663
- var timeString = time instanceof i7.TuiTime ? time.toString(timeMode) : time || '';
664
- return timeString
665
- ? "" + dateString + constants.DATE_TIME_SEPARATOR + timeString
666
- : dateString;
667
- };
668
- TuiInputDateTimeComponent.prototype.updateNativeValue = function (day) {
669
- var time = this.nativeValue.split(constants.DATE_TIME_SEPARATOR)[1] || '';
670
- this.nativeValue = this.getDateTimeString(day, time);
671
- };
672
- TuiInputDateTimeComponent.prototype.clampTime = function (time, day) {
673
- var _c = this, computedMin = _c.computedMin, computedMax = _c.computedMax;
674
- var ms = time.toAbsoluteMilliseconds();
675
- var min = Array.isArray(computedMin) && day.daySame(this.calendarMinDay)
676
- ? computedMin[1].toAbsoluteMilliseconds()
677
- : -Infinity;
678
- var max = Array.isArray(computedMax) && day.daySame(this.calendarMaxDay)
679
- ? computedMax[1].toAbsoluteMilliseconds()
680
- : Infinity;
681
- return i7.TuiTime.fromAbsoluteMilliseconds(i7.tuiClamp(ms, min, max));
682
- };
683
- TuiInputDateTimeComponent.prototype.trimTrailingSeparator = function (value) {
684
- return value.replace(new RegExp("(\\" + this.dateSeparator + "|" + constants.DATE_TIME_SEPARATOR + "|\\.)$"), '');
685
- };
686
- TuiInputDateTimeComponent.prototype.toNativeDate = function (value) {
687
- if (!Array.isArray(value)) {
688
- return value.toLocalNativeDate();
689
- }
690
- var _c = __read(value, 2), _d = _c[0], year = _d.year, month = _d.month, day = _d.day, _e = _c[1], hours = _e.hours, minutes = _e.minutes, seconds = _e.seconds, ms = _e.ms;
691
- return new Date(year, month, day, hours, minutes, seconds, ms);
692
- };
693
- TuiInputDateTimeComponent.prototype.toTuiDay = function (value, fallback) {
694
- if (!value) {
695
- return fallback;
696
- }
697
- if (!Array.isArray(value)) {
698
- return value;
699
- }
700
- var _c = __read(value, 2), tuiDay = _c[0], tuiTime = _c[1];
701
- if (!tuiDay) {
702
- return fallback;
703
- }
704
- if (!tuiTime) {
705
- return tuiDay;
706
- }
707
- return [tuiDay, tuiTime];
708
- };
709
- return TuiInputDateTimeComponent;
710
- }(i7.AbstractTuiControl));
711
- TuiInputDateTimeComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputDateTimeComponent, deps: [{ token: i8.NgControl, optional: true, self: true }, { token: i0.ChangeDetectorRef }, { token: i7.TUI_DATE_FORMAT }, { token: i7.TUI_DATE_SEPARATOR }, { token: tokens.TUI_TIME_TEXTS }, { token: tokens.TUI_DATE_TEXTS }, { token: tokens.TUI_DATE_TIME_VALUE_TRANSFORMER, optional: true }, { token: tokens.TUI_INPUT_DATE_OPTIONS }, { token: i7.TUI_IS_MOBILE }, { token: i7.TUI_IS_IOS }, { token: i1.TUI_TEXTFIELD_SIZE }], target: i0__namespace.ɵɵFactoryTarget.Component });
712
- TuiInputDateTimeComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputDateTimeComponent, selector: "tui-input-date-time", inputs: { min: "min", max: "max", disabledItemHandler: "disabledItemHandler", defaultActiveYearMonth: "defaultActiveYearMonth", timeMode: "timeMode" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.data-size": "this.size" } }, providers: [
713
- i7.tuiAsFocusableItemAccessor(TuiInputDateTimeComponent),
714
- i7.tuiAsControl(TuiInputDateTimeComponent),
715
- tokens.tuiDateStreamWithTransformer(tokens.TUI_DATE_TIME_VALUE_TRANSFORMER),
716
- ], 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]=\"interactive && !showNativePicker\"\n [content]=\"dropdown\"\n [open]=\"open && interactive\"\n (openChange)=\"onOpenChange($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-input-date-time__textfield\"\n tuiValueAccessor\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [invalid]=\"computedInvalid\"\n [maskito]=\"maskOptions\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldFiller]=\"(filler$ | async) || ''\"\n [tuiTextfieldIcon]=\"calendarIcon && iconContent\"\n [value]=\"computedValue\"\n (focusedChange)=\"onFocused($event)\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content></ng-content>\n <ng-content\n ngProjectAs=\"input\"\n select=\"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 appearance=\"icon\"\n tuiWrapper\n [class.t-icon]=\"!computedDisabled\"\n [src]=\"src\"\n ></tui-svg>\n <input\n *ngIf=\"showNativePicker\"\n tuiDateTime\n class=\"t-native-input\"\n />\n </ng-template>\n\n <ng-template\n #dropdown=\"polymorpheus\"\n [polymorpheus]=\"type\"\n >\n <tui-calendar\n automation-id=\"tui-input-date-time__calendar\"\n tuiPreventDefault=\"mousedown\"\n [disabledItemHandler]=\"disabledItemHandler\"\n [max]=\"calendarMaxDay\"\n [min]=\"calendarMinDay\"\n [month]=\"computedActiveYearMonth\"\n [value]=\"calendarValue\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onMonthChange($event)\"\n ></tui-calendar>\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-native-input{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;pointer-events:auto;font-size:2rem}\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: ["initialView", "month", "disabledItemHandler", "min", "max", "minViewedMonth", "maxViewedMonth", "hoveredItem", "showAdjacent", "markerHandler", "value"], outputs: ["dayClick", "monthChange", "hoveredItemChange"] }], directives: [{ type: i1__namespace.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { type: i2__namespace.TuiValueAccessorDirective, selector: "[tuiValueAccessor]" }, { type: i3__namespace.MaskitoDirective, selector: "[maskito]", inputs: ["maskito", "maskitoElement"] }, { type: i1__namespace.TuiTextfieldFillerDirective, selector: "[tuiTextfieldFiller]", inputs: ["tuiTextfieldFiller"] }, { type: i1__namespace.TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: ["tuiTextfieldIcon"] }, { type: i4__namespace.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { type: i1__namespace.TuiWrapperDirective, selector: "[tuiWrapper]", inputs: ["disabled", "readOnly", "hover", "active", "focus", "invalid", "appearance"] }, { type: i5__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: TuiNativeDateTimeDirective, selector: "input[tuiDateTime]" }, { type: i4__namespace.PolymorpheusTemplate, selector: "ng-template[polymorpheus]", inputs: ["polymorpheus"], exportAs: ["polymorpheus"] }, { type: i7__namespace.TuiPreventDefaultDirective, selector: "[tuiPreventDefault]", inputs: ["tuiPreventDefault"] }], pipes: { "async": i5__namespace.AsyncPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
717
- __decorate([
718
- i7.tuiPure
719
- ], TuiInputDateTimeComponent.prototype, "calculateMask", null);
720
- __decorate([
721
- i7.tuiPure
722
- ], TuiInputDateTimeComponent.prototype, "getDateTimeString", null);
723
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputDateTimeComponent, decorators: [{
724
- type: i0.Component,
725
- args: [{
726
- selector: 'tui-input-date-time',
727
- templateUrl: './input-date-time.template.html',
728
- styleUrls: ['./input-date-time.style.less'],
729
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
730
- providers: [
731
- i7.tuiAsFocusableItemAccessor(TuiInputDateTimeComponent),
732
- i7.tuiAsControl(TuiInputDateTimeComponent),
733
- tokens.tuiDateStreamWithTransformer(tokens.TUI_DATE_TIME_VALUE_TRANSFORMER),
734
- ],
735
- }]
736
- }], ctorParameters: function () {
737
- return [{ type: i8__namespace.NgControl, decorators: [{
738
- type: i0.Optional
739
- }, {
740
- type: i0.Self
741
- }, {
742
- type: i0.Inject,
743
- args: [i8.NgControl]
744
- }] }, { type: i0__namespace.ChangeDetectorRef, decorators: [{
745
- type: i0.Inject,
746
- args: [i0.ChangeDetectorRef]
747
- }] }, { type: undefined, decorators: [{
748
- type: i0.Inject,
749
- args: [i7.TUI_DATE_FORMAT]
750
- }] }, { type: undefined, decorators: [{
751
- type: i0.Inject,
752
- args: [i7.TUI_DATE_SEPARATOR]
753
- }] }, { type: i9__namespace.Observable, decorators: [{
754
- type: i0.Inject,
755
- args: [tokens.TUI_TIME_TEXTS]
756
- }] }, { type: i9__namespace.Observable, decorators: [{
757
- type: i0.Inject,
758
- args: [tokens.TUI_DATE_TEXTS]
759
- }] }, { type: i7__namespace.AbstractTuiValueTransformer, decorators: [{
760
- type: i0.Optional
761
- }, {
762
- type: i0.Inject,
763
- args: [tokens.TUI_DATE_TIME_VALUE_TRANSFORMER]
764
- }] }, { type: undefined, decorators: [{
765
- type: i0.Inject,
766
- args: [tokens.TUI_INPUT_DATE_OPTIONS]
767
- }] }, { type: undefined, decorators: [{
768
- type: i0.Inject,
769
- args: [i7.TUI_IS_MOBILE]
770
- }] }, { type: undefined, decorators: [{
771
- type: i0.Inject,
772
- args: [i7.TUI_IS_IOS]
773
- }] }, { type: i1__namespace.TuiTextfieldSizeDirective, decorators: [{
774
- type: i0.Inject,
775
- args: [i1.TUI_TEXTFIELD_SIZE]
776
- }] }];
777
- }, propDecorators: { textfield: [{
778
- type: i0.ViewChild,
779
- args: [i1.TuiPrimitiveTextfieldComponent]
780
- }], min: [{
781
- type: i0.Input
782
- }], max: [{
783
- type: i0.Input
784
- }], disabledItemHandler: [{
785
- type: i0.Input
786
- }], defaultActiveYearMonth: [{
787
- type: i0.Input
788
- }], timeMode: [{
789
- type: i0.Input
790
- }], size: [{
791
- type: i0.HostBinding,
792
- args: ['attr.data-size']
793
- }], onClick: [{
794
- type: i0.HostListener,
795
- args: ['click']
796
- }], calculateMask: [], getDateTimeString: [] } });
549
+ var TuiInputDateTimeComponent = /** @class */ (function (_super) {
550
+ __extends(TuiInputDateTimeComponent, _super);
551
+ function TuiInputDateTimeComponent(control, cdr, dateFormat, dateSeparator, timeTexts$, dateTexts$, valueTransformer, options, isMobile, isIos, textfieldSize) {
552
+ var _this = _super.call(this, control, cdr, valueTransformer) || this;
553
+ _this.dateFormat = dateFormat;
554
+ _this.dateSeparator = dateSeparator;
555
+ _this.timeTexts$ = timeTexts$;
556
+ _this.dateTexts$ = dateTexts$;
557
+ _this.valueTransformer = valueTransformer;
558
+ _this.options = options;
559
+ _this.isMobile = isMobile;
560
+ _this.isIos = isIos;
561
+ _this.textfieldSize = textfieldSize;
562
+ _this.month = null;
563
+ _this.timeMode$ = new i9.BehaviorSubject('HH:MM');
564
+ _this.min = _this.options.min;
565
+ _this.max = _this.options.max;
566
+ _this.disabledItemHandler = i7.ALWAYS_FALSE_HANDLER;
567
+ _this.defaultActiveYearMonth = i7.TuiMonth.currentLocal();
568
+ _this.open = false;
569
+ _this.filler$ = i9.combineLatest([
570
+ _this.dateTexts$.pipe(operators.map(function (dateTexts) { return i7.changeDateSeparator(dateTexts[_this.dateFormat], _this.dateSeparator); })),
571
+ _this.timeTexts$,
572
+ _this.timeMode$,
573
+ ]).pipe(operators.map(function (_c) {
574
+ var _d = __read(_c, 3), dateFiller = _d[0], timeTexts = _d[1], timeMode = _d[2];
575
+ return _this.getDateTimeString(dateFiller, timeTexts[timeMode]);
576
+ }));
577
+ return _this;
578
+ }
579
+ Object.defineProperty(TuiInputDateTimeComponent.prototype, "timeMode", {
580
+ get: function () {
581
+ return this.timeMode$.value;
582
+ },
583
+ set: function (value) {
584
+ this.timeMode$.next(value);
585
+ },
586
+ enumerable: false,
587
+ configurable: true
588
+ });
589
+ Object.defineProperty(TuiInputDateTimeComponent.prototype, "size", {
590
+ get: function () {
591
+ return this.textfieldSize.size;
592
+ },
593
+ enumerable: false,
594
+ configurable: true
595
+ });
596
+ Object.defineProperty(TuiInputDateTimeComponent.prototype, "computedMin", {
597
+ get: function () {
598
+ return this.toTuiDay(this.min, this.options.min);
599
+ },
600
+ enumerable: false,
601
+ configurable: true
602
+ });
603
+ Object.defineProperty(TuiInputDateTimeComponent.prototype, "computedMax", {
604
+ get: function () {
605
+ return this.toTuiDay(this.max, this.options.max);
606
+ },
607
+ enumerable: false,
608
+ configurable: true
609
+ });
610
+ Object.defineProperty(TuiInputDateTimeComponent.prototype, "fillerLength", {
611
+ get: function () {
612
+ return i7.DATE_FILLER_LENGTH + constants.DATE_TIME_SEPARATOR.length + this.timeMode.length;
613
+ },
614
+ enumerable: false,
615
+ configurable: true
616
+ });
617
+ Object.defineProperty(TuiInputDateTimeComponent.prototype, "maskOptions", {
618
+ get: function () {
619
+ return this.calculateMask(this.computedMin, this.computedMax, this.timeMode, this.dateFormat, this.dateSeparator);
620
+ },
621
+ enumerable: false,
622
+ configurable: true
623
+ });
624
+ Object.defineProperty(TuiInputDateTimeComponent.prototype, "nativeFocusableElement", {
625
+ get: function () {
626
+ var _a, _b;
627
+ return (_b = (_a = this.textfield) === null || _a === void 0 ? void 0 : _a.nativeFocusableElement) !== null && _b !== void 0 ? _b : null;
628
+ },
629
+ enumerable: false,
630
+ configurable: true
631
+ });
632
+ Object.defineProperty(TuiInputDateTimeComponent.prototype, "focused", {
633
+ get: function () {
634
+ var _a;
635
+ return !!((_a = this.textfield) === null || _a === void 0 ? void 0 : _a.focused);
636
+ },
637
+ enumerable: false,
638
+ configurable: true
639
+ });
640
+ Object.defineProperty(TuiInputDateTimeComponent.prototype, "calendarIcon", {
641
+ get: function () {
642
+ return this.options.icon;
643
+ },
644
+ enumerable: false,
645
+ configurable: true
646
+ });
647
+ Object.defineProperty(TuiInputDateTimeComponent.prototype, "nativePicker", {
648
+ get: function () {
649
+ return this.options.nativePicker && this.isMobile;
650
+ },
651
+ enumerable: false,
652
+ configurable: true
653
+ });
654
+ Object.defineProperty(TuiInputDateTimeComponent.prototype, "showNativePicker", {
655
+ get: function () {
656
+ return this.nativePicker && this.timeMode === 'HH:MM';
657
+ },
658
+ enumerable: false,
659
+ configurable: true
660
+ });
661
+ Object.defineProperty(TuiInputDateTimeComponent.prototype, "computedValue", {
662
+ get: function () {
663
+ var _c = this, value = _c.value, nativeValue = _c.nativeValue, timeMode = _c.timeMode;
664
+ var _d = __read(value, 2), date = _d[0], time = _d[1];
665
+ var hasTimeInputChars = nativeValue.length > i7.DATE_FILLER_LENGTH;
666
+ if (!date || (!time && hasTimeInputChars)) {
667
+ return nativeValue;
668
+ }
669
+ return this.getDateTimeString(date, time, timeMode);
670
+ },
671
+ enumerable: false,
672
+ configurable: true
673
+ });
674
+ Object.defineProperty(TuiInputDateTimeComponent.prototype, "calendarValue", {
675
+ get: function () {
676
+ return this.value[0];
677
+ },
678
+ enumerable: false,
679
+ configurable: true
680
+ });
681
+ Object.defineProperty(TuiInputDateTimeComponent.prototype, "calendarMinDay", {
682
+ get: function () {
683
+ var min = this.computedMin;
684
+ return Array.isArray(min) ? min[0] : min;
685
+ },
686
+ enumerable: false,
687
+ configurable: true
688
+ });
689
+ Object.defineProperty(TuiInputDateTimeComponent.prototype, "calendarMaxDay", {
690
+ get: function () {
691
+ var max = this.computedMax;
692
+ return Array.isArray(max) ? max[0] : max;
693
+ },
694
+ enumerable: false,
695
+ configurable: true
696
+ });
697
+ Object.defineProperty(TuiInputDateTimeComponent.prototype, "computedActiveYearMonth", {
698
+ get: function () {
699
+ var _c = this, computedMin = _c.computedMin, computedMax = _c.computedMax;
700
+ return (this.month ||
701
+ this.value[0] ||
702
+ i7.tuiDateClamp(this.defaultActiveYearMonth, Array.isArray(computedMin) ? computedMin[0] : computedMin, Array.isArray(computedMax) ? computedMax[0] : computedMax));
703
+ },
704
+ enumerable: false,
705
+ configurable: true
706
+ });
707
+ Object.defineProperty(TuiInputDateTimeComponent.prototype, "nativeValue", {
708
+ get: function () {
709
+ var _a;
710
+ return ((_a = this.nativeFocusableElement) === null || _a === void 0 ? void 0 : _a.value) || '';
711
+ },
712
+ set: function (value) {
713
+ if (!this.nativeFocusableElement) {
714
+ return;
715
+ }
716
+ this.nativeFocusableElement.value = value;
717
+ },
718
+ enumerable: false,
719
+ configurable: true
720
+ });
721
+ TuiInputDateTimeComponent.prototype.onClick = function () {
722
+ this.open = !this.open;
723
+ };
724
+ TuiInputDateTimeComponent.prototype.onValueChange = function (value) {
725
+ if (!value) {
726
+ this.onOpenChange(true);
727
+ }
728
+ if (value.length < i7.DATE_FILLER_LENGTH) {
729
+ this.value = [null, null];
730
+ return;
731
+ }
732
+ var _c = __read(value.split(constants.DATE_TIME_SEPARATOR), 2), date = _c[0], time = _c[1];
733
+ var parsedDate = i7.TuiDay.normalizeParse(date, this.dateFormat);
734
+ var parsedTime = time && time.length === this.timeMode.length
735
+ ? i7.TuiTime.fromString(time)
736
+ : null;
737
+ this.open = false;
738
+ this.value = [parsedDate, parsedTime];
739
+ };
740
+ TuiInputDateTimeComponent.prototype.onDayClick = function (day) {
741
+ var _a;
742
+ var modifiedTime = this.value[1] && this.clampTime(this.value[1], day);
743
+ var newCaretIndex = i7.DATE_FILLER_LENGTH + constants.DATE_TIME_SEPARATOR.length;
744
+ this.value = [day, modifiedTime];
745
+ this.updateNativeValue(day);
746
+ (_a = this.nativeFocusableElement) === null || _a === void 0 ? void 0 : _a.setSelectionRange(newCaretIndex, newCaretIndex);
747
+ this.open = false;
748
+ };
749
+ TuiInputDateTimeComponent.prototype.onMonthChange = function (month) {
750
+ this.month = month;
751
+ };
752
+ TuiInputDateTimeComponent.prototype.onOpenChange = function (open) {
753
+ this.open = open;
754
+ };
755
+ TuiInputDateTimeComponent.prototype.onFocused = function (focused) {
756
+ var _this = this;
757
+ this.updateFocused(focused);
758
+ if (focused) {
759
+ return;
760
+ }
761
+ i9.timer(0)
762
+ .pipe(operators.takeUntil(this.destroy$))
763
+ .subscribe(function () {
764
+ _this.nativeValue = _this.trimTrailingSeparator(_this.nativeValue);
765
+ });
766
+ if (this.value[0] === null ||
767
+ this.value[1] !== null ||
768
+ this.nativeValue.length <= this.fillerLength + constants.DATE_TIME_SEPARATOR.length ||
769
+ this.timeMode === 'HH:MM') {
770
+ return;
771
+ }
772
+ var _c = __read(this.nativeValue.split(constants.DATE_TIME_SEPARATOR), 2), time = _c[1];
773
+ if (!time) {
774
+ return;
775
+ }
776
+ var parsedTime = i7.TuiTime.fromString(time);
777
+ this.value = [this.value[0], parsedTime];
778
+ };
779
+ TuiInputDateTimeComponent.prototype.setDisabledState = function () {
780
+ _super.prototype.setDisabledState.call(this);
781
+ this.open = false;
782
+ };
783
+ TuiInputDateTimeComponent.prototype.writeValue = function (value) {
784
+ _super.prototype.writeValue.call(this, value);
785
+ this.nativeValue =
786
+ this.value && (this.value[0] || this.value[1]) ? this.computedValue : '';
787
+ };
788
+ TuiInputDateTimeComponent.prototype.getFallbackValue = function () {
789
+ return [null, null];
790
+ };
791
+ TuiInputDateTimeComponent.prototype.valueIdenticalComparator = function (oldValue, newValue) {
792
+ return (i7.tuiNullableSame(oldValue[0], newValue[0], function (a, b) { return a.daySame(b); }) &&
793
+ i7.tuiNullableSame(oldValue[1], newValue[1], function (a, b) { return String(a) === String(b); }));
794
+ };
795
+ TuiInputDateTimeComponent.prototype.calculateMask = function (min, max, timeMode, dateFormat, dateSeparator) {
796
+ return kit.maskitoDateTimeOptionsGenerator({
797
+ timeMode: timeMode,
798
+ dateSeparator: dateSeparator,
799
+ dateMode: constants.TUI_DATE_MODE_MASKITO_ADAPTER[dateFormat],
800
+ min: this.toNativeDate(min),
801
+ max: this.toNativeDate(max),
802
+ });
803
+ };
804
+ TuiInputDateTimeComponent.prototype.getDateTimeString = function (date, time, timeMode) {
805
+ if (timeMode === void 0) { timeMode = 'HH:MM'; }
806
+ var dateString = date instanceof i7.TuiDay
807
+ ? date.toString(this.dateFormat, this.dateSeparator)
808
+ : date;
809
+ var timeString = time instanceof i7.TuiTime ? time.toString(timeMode) : time || '';
810
+ return timeString
811
+ ? "" + dateString + constants.DATE_TIME_SEPARATOR + timeString
812
+ : dateString;
813
+ };
814
+ TuiInputDateTimeComponent.prototype.updateNativeValue = function (day) {
815
+ var time = this.nativeValue.split(constants.DATE_TIME_SEPARATOR)[1] || '';
816
+ this.nativeValue = this.getDateTimeString(day, time);
817
+ };
818
+ TuiInputDateTimeComponent.prototype.clampTime = function (time, day) {
819
+ var _c = this, computedMin = _c.computedMin, computedMax = _c.computedMax;
820
+ var ms = time.toAbsoluteMilliseconds();
821
+ var min = Array.isArray(computedMin) && day.daySame(this.calendarMinDay)
822
+ ? computedMin[1].toAbsoluteMilliseconds()
823
+ : -Infinity;
824
+ var max = Array.isArray(computedMax) && day.daySame(this.calendarMaxDay)
825
+ ? computedMax[1].toAbsoluteMilliseconds()
826
+ : Infinity;
827
+ return i7.TuiTime.fromAbsoluteMilliseconds(i7.tuiClamp(ms, min, max));
828
+ };
829
+ TuiInputDateTimeComponent.prototype.trimTrailingSeparator = function (value) {
830
+ return value.replace(new RegExp("(\\" + this.dateSeparator + "|" + constants.DATE_TIME_SEPARATOR + "|\\.)$"), '');
831
+ };
832
+ TuiInputDateTimeComponent.prototype.toNativeDate = function (value) {
833
+ if (!Array.isArray(value)) {
834
+ return value.toLocalNativeDate();
835
+ }
836
+ var _c = __read(value, 2), _d = _c[0], year = _d.year, month = _d.month, day = _d.day, _e = _c[1], hours = _e.hours, minutes = _e.minutes, seconds = _e.seconds, ms = _e.ms;
837
+ return new Date(year, month, day, hours, minutes, seconds, ms);
838
+ };
839
+ TuiInputDateTimeComponent.prototype.toTuiDay = function (value, fallback) {
840
+ if (!value) {
841
+ return fallback;
842
+ }
843
+ if (!Array.isArray(value)) {
844
+ return value;
845
+ }
846
+ var _c = __read(value, 2), tuiDay = _c[0], tuiTime = _c[1];
847
+ if (!tuiDay) {
848
+ return fallback;
849
+ }
850
+ if (!tuiTime) {
851
+ return tuiDay;
852
+ }
853
+ return [tuiDay, tuiTime];
854
+ };
855
+ return TuiInputDateTimeComponent;
856
+ }(i7.AbstractTuiControl));
857
+ TuiInputDateTimeComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputDateTimeComponent, deps: [{ token: i8.NgControl, optional: true, self: true }, { token: i0.ChangeDetectorRef }, { token: i7.TUI_DATE_FORMAT }, { token: i7.TUI_DATE_SEPARATOR }, { token: tokens.TUI_TIME_TEXTS }, { token: tokens.TUI_DATE_TEXTS }, { token: tokens.TUI_DATE_TIME_VALUE_TRANSFORMER, optional: true }, { token: tokens.TUI_INPUT_DATE_OPTIONS }, { token: i7.TUI_IS_MOBILE }, { token: i7.TUI_IS_IOS }, { token: i1.TUI_TEXTFIELD_SIZE }], target: i0__namespace.ɵɵFactoryTarget.Component });
858
+ TuiInputDateTimeComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputDateTimeComponent, selector: "tui-input-date-time", inputs: { min: "min", max: "max", disabledItemHandler: "disabledItemHandler", defaultActiveYearMonth: "defaultActiveYearMonth", timeMode: "timeMode" }, host: { listeners: { "click": "onClick()" }, properties: { "attr.data-size": "this.size" } }, providers: [
859
+ i7.tuiAsFocusableItemAccessor(TuiInputDateTimeComponent),
860
+ i7.tuiAsControl(TuiInputDateTimeComponent),
861
+ tokens.tuiDateStreamWithTransformer(tokens.TUI_DATE_TIME_VALUE_TRANSFORMER),
862
+ ], 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]=\"interactive && !showNativePicker\"\n [content]=\"dropdown\"\n [open]=\"open && interactive\"\n (openChange)=\"onOpenChange($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-input-date-time__textfield\"\n tuiValueAccessor\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [invalid]=\"computedInvalid\"\n [maskito]=\"maskOptions\"\n [nativeId]=\"nativeId\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldFiller]=\"(filler$ | async) || ''\"\n [tuiTextfieldIcon]=\"calendarIcon && iconContent\"\n [value]=\"computedValue\"\n (focusedChange)=\"onFocused($event)\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content></ng-content>\n <ng-content\n ngProjectAs=\"input\"\n select=\"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 appearance=\"icon\"\n tuiWrapper\n [class.t-icon]=\"!computedDisabled\"\n [src]=\"src\"\n ></tui-svg>\n <input\n *ngIf=\"showNativePicker\"\n tuiDateTime\n class=\"t-native-input\"\n />\n </ng-template>\n\n <ng-template\n #dropdown=\"polymorpheus\"\n [polymorpheus]=\"type\"\n >\n <tui-calendar\n automation-id=\"tui-input-date-time__calendar\"\n tuiPreventDefault=\"mousedown\"\n [disabledItemHandler]=\"disabledItemHandler\"\n [max]=\"calendarMaxDay\"\n [min]=\"calendarMinDay\"\n [month]=\"computedActiveYearMonth\"\n [value]=\"calendarValue\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onMonthChange($event)\"\n ></tui-calendar>\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-native-input{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;pointer-events:auto;font-size:2rem}\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: ["initialView", "month", "disabledItemHandler", "min", "max", "minViewedMonth", "maxViewedMonth", "hoveredItem", "showAdjacent", "markerHandler", "value"], outputs: ["dayClick", "monthChange", "hoveredItemChange"] }], directives: [{ type: i1__namespace.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { type: i2__namespace.TuiValueAccessorDirective, selector: "[tuiValueAccessor]" }, { type: i3__namespace.MaskitoDirective, selector: "[maskito]", inputs: ["maskito", "maskitoElement"] }, { type: i1__namespace.TuiTextfieldFillerDirective, selector: "[tuiTextfieldFiller]", inputs: ["tuiTextfieldFiller"] }, { type: i1__namespace.TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: ["tuiTextfieldIcon"] }, { type: i4__namespace.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { type: i1__namespace.TuiWrapperDirective, selector: "[tuiWrapper]", inputs: ["disabled", "readOnly", "hover", "active", "focus", "invalid", "appearance"] }, { type: i5__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: TuiNativeDateTimeDirective, selector: "input[tuiDateTime]" }, { type: i4__namespace.PolymorpheusTemplate, selector: "ng-template[polymorpheus]", inputs: ["polymorpheus"], exportAs: ["polymorpheus"] }, { type: i7__namespace.TuiPreventDefaultDirective, selector: "[tuiPreventDefault]", inputs: ["tuiPreventDefault"] }], pipes: { "async": i5__namespace.AsyncPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
863
+ __decorate([
864
+ i7.tuiPure
865
+ ], TuiInputDateTimeComponent.prototype, "calculateMask", null);
866
+ __decorate([
867
+ i7.tuiPure
868
+ ], TuiInputDateTimeComponent.prototype, "getDateTimeString", null);
869
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputDateTimeComponent, decorators: [{
870
+ type: i0.Component,
871
+ args: [{
872
+ selector: 'tui-input-date-time',
873
+ templateUrl: './input-date-time.template.html',
874
+ styleUrls: ['./input-date-time.style.less'],
875
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
876
+ providers: [
877
+ i7.tuiAsFocusableItemAccessor(TuiInputDateTimeComponent),
878
+ i7.tuiAsControl(TuiInputDateTimeComponent),
879
+ tokens.tuiDateStreamWithTransformer(tokens.TUI_DATE_TIME_VALUE_TRANSFORMER),
880
+ ],
881
+ }]
882
+ }], ctorParameters: function () {
883
+ return [{ type: i8__namespace.NgControl, decorators: [{
884
+ type: i0.Optional
885
+ }, {
886
+ type: i0.Self
887
+ }, {
888
+ type: i0.Inject,
889
+ args: [i8.NgControl]
890
+ }] }, { type: i0__namespace.ChangeDetectorRef, decorators: [{
891
+ type: i0.Inject,
892
+ args: [i0.ChangeDetectorRef]
893
+ }] }, { type: undefined, decorators: [{
894
+ type: i0.Inject,
895
+ args: [i7.TUI_DATE_FORMAT]
896
+ }] }, { type: undefined, decorators: [{
897
+ type: i0.Inject,
898
+ args: [i7.TUI_DATE_SEPARATOR]
899
+ }] }, { type: i9__namespace.Observable, decorators: [{
900
+ type: i0.Inject,
901
+ args: [tokens.TUI_TIME_TEXTS]
902
+ }] }, { type: i9__namespace.Observable, decorators: [{
903
+ type: i0.Inject,
904
+ args: [tokens.TUI_DATE_TEXTS]
905
+ }] }, { type: i7__namespace.AbstractTuiValueTransformer, decorators: [{
906
+ type: i0.Optional
907
+ }, {
908
+ type: i0.Inject,
909
+ args: [tokens.TUI_DATE_TIME_VALUE_TRANSFORMER]
910
+ }] }, { type: undefined, decorators: [{
911
+ type: i0.Inject,
912
+ args: [tokens.TUI_INPUT_DATE_OPTIONS]
913
+ }] }, { type: undefined, decorators: [{
914
+ type: i0.Inject,
915
+ args: [i7.TUI_IS_MOBILE]
916
+ }] }, { type: undefined, decorators: [{
917
+ type: i0.Inject,
918
+ args: [i7.TUI_IS_IOS]
919
+ }] }, { type: i1__namespace.TuiTextfieldSizeDirective, decorators: [{
920
+ type: i0.Inject,
921
+ args: [i1.TUI_TEXTFIELD_SIZE]
922
+ }] }];
923
+ }, propDecorators: { textfield: [{
924
+ type: i0.ViewChild,
925
+ args: [i1.TuiPrimitiveTextfieldComponent]
926
+ }], min: [{
927
+ type: i0.Input
928
+ }], max: [{
929
+ type: i0.Input
930
+ }], disabledItemHandler: [{
931
+ type: i0.Input
932
+ }], defaultActiveYearMonth: [{
933
+ type: i0.Input
934
+ }], timeMode: [{
935
+ type: i0.Input
936
+ }], size: [{
937
+ type: i0.HostBinding,
938
+ args: ['attr.data-size']
939
+ }], onClick: [{
940
+ type: i0.HostListener,
941
+ args: ['click']
942
+ }], calculateMask: [], getDateTimeString: [] } });
797
943
 
798
- var TuiInputDateTimeDirective = /** @class */ (function (_super) {
799
- __extends(TuiInputDateTimeDirective, _super);
800
- function TuiInputDateTimeDirective() {
801
- return _super !== null && _super.apply(this, arguments) || this;
802
- }
803
- Object.defineProperty(TuiInputDateTimeDirective.prototype, "value", {
804
- get: function () {
805
- return this.host.computedValue;
806
- },
807
- enumerable: false,
808
- configurable: true
809
- });
810
- Object.defineProperty(TuiInputDateTimeDirective.prototype, "rawValue", {
811
- get: function () {
812
- return this.host.value;
813
- },
814
- enumerable: false,
815
- configurable: true
816
- });
817
- TuiInputDateTimeDirective.prototype.onValueChange = function (value) {
818
- this.host.onValueChange(value);
819
- };
820
- TuiInputDateTimeDirective.prototype.writeValue = function (value) {
821
- this.host.writeValue(value);
822
- };
823
- TuiInputDateTimeDirective.prototype.process = function (input) {
824
- input.inputMode = 'numeric';
825
- };
826
- return TuiInputDateTimeDirective;
827
- }(i1.AbstractTuiTextfieldHost));
828
- TuiInputDateTimeDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputDateTimeDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
829
- TuiInputDateTimeDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputDateTimeDirective, selector: "tui-input-date-time", providers: [i1.tuiAsTextfieldHost(TuiInputDateTimeDirective)], usesInheritance: true, ngImport: i0__namespace });
830
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputDateTimeDirective, decorators: [{
831
- type: i0.Directive,
832
- args: [{
833
- selector: 'tui-input-date-time',
834
- providers: [i1.tuiAsTextfieldHost(TuiInputDateTimeDirective)],
835
- }]
836
- }] });
944
+ var TuiInputDateTimeDirective = /** @class */ (function (_super) {
945
+ __extends(TuiInputDateTimeDirective, _super);
946
+ function TuiInputDateTimeDirective() {
947
+ return _super !== null && _super.apply(this, arguments) || this;
948
+ }
949
+ Object.defineProperty(TuiInputDateTimeDirective.prototype, "value", {
950
+ get: function () {
951
+ return this.host.computedValue;
952
+ },
953
+ enumerable: false,
954
+ configurable: true
955
+ });
956
+ Object.defineProperty(TuiInputDateTimeDirective.prototype, "rawValue", {
957
+ get: function () {
958
+ return this.host.value;
959
+ },
960
+ enumerable: false,
961
+ configurable: true
962
+ });
963
+ TuiInputDateTimeDirective.prototype.onValueChange = function (value) {
964
+ this.host.onValueChange(value);
965
+ };
966
+ TuiInputDateTimeDirective.prototype.writeValue = function (value) {
967
+ this.host.writeValue(value);
968
+ };
969
+ TuiInputDateTimeDirective.prototype.process = function (input) {
970
+ input.inputMode = 'numeric';
971
+ };
972
+ return TuiInputDateTimeDirective;
973
+ }(i1.AbstractTuiTextfieldHost));
974
+ TuiInputDateTimeDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputDateTimeDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
975
+ TuiInputDateTimeDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputDateTimeDirective, selector: "tui-input-date-time", providers: [i1.tuiAsTextfieldHost(TuiInputDateTimeDirective)], usesInheritance: true, ngImport: i0__namespace });
976
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputDateTimeDirective, decorators: [{
977
+ type: i0.Directive,
978
+ args: [{
979
+ selector: 'tui-input-date-time',
980
+ providers: [i1.tuiAsTextfieldHost(TuiInputDateTimeDirective)],
981
+ }]
982
+ }] });
837
983
 
838
- var TuiInputDateTimeModule = /** @class */ (function () {
839
- function TuiInputDateTimeModule() {
840
- }
841
- return TuiInputDateTimeModule;
842
- }());
843
- TuiInputDateTimeModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputDateTimeModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
844
- TuiInputDateTimeModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputDateTimeModule, declarations: [TuiInputDateTimeComponent,
845
- TuiInputDateTimeDirective,
846
- TuiNativeDateTimeDirective], imports: [i5.CommonModule,
847
- i3.MaskitoModule,
848
- i4.PolymorpheusModule,
849
- i1.TuiWrapperModule,
850
- i7.TuiPreventDefaultModule,
851
- i1.TuiCalendarModule,
852
- i1.TuiSvgModule,
853
- i1.TuiLinkModule,
854
- i1.TuiHostedDropdownModule,
855
- i1.TuiPrimitiveTextfieldModule,
856
- i2.TuiValueAccessorModule,
857
- i1.TuiTextfieldControllerModule], exports: [TuiInputDateTimeComponent,
858
- TuiInputDateTimeDirective,
859
- i1.TuiTextfieldComponent] });
860
- TuiInputDateTimeModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputDateTimeModule, imports: [[
861
- i5.CommonModule,
862
- i3.MaskitoModule,
863
- i4.PolymorpheusModule,
864
- i1.TuiWrapperModule,
865
- i7.TuiPreventDefaultModule,
866
- i1.TuiCalendarModule,
867
- i1.TuiSvgModule,
868
- i1.TuiLinkModule,
869
- i1.TuiHostedDropdownModule,
870
- i1.TuiPrimitiveTextfieldModule,
871
- i2.TuiValueAccessorModule,
872
- i1.TuiTextfieldControllerModule,
873
- ]] });
874
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputDateTimeModule, decorators: [{
875
- type: i0.NgModule,
876
- args: [{
877
- imports: [
878
- i5.CommonModule,
879
- i3.MaskitoModule,
880
- i4.PolymorpheusModule,
881
- i1.TuiWrapperModule,
882
- i7.TuiPreventDefaultModule,
883
- i1.TuiCalendarModule,
884
- i1.TuiSvgModule,
885
- i1.TuiLinkModule,
886
- i1.TuiHostedDropdownModule,
887
- i1.TuiPrimitiveTextfieldModule,
888
- i2.TuiValueAccessorModule,
889
- i1.TuiTextfieldControllerModule,
890
- ],
891
- declarations: [
892
- TuiInputDateTimeComponent,
893
- TuiInputDateTimeDirective,
894
- TuiNativeDateTimeDirective,
895
- ],
896
- exports: [
897
- TuiInputDateTimeComponent,
898
- TuiInputDateTimeDirective,
899
- i1.TuiTextfieldComponent,
900
- ],
901
- }]
902
- }] });
984
+ var TuiInputDateTimeModule = /** @class */ (function () {
985
+ function TuiInputDateTimeModule() {
986
+ }
987
+ return TuiInputDateTimeModule;
988
+ }());
989
+ TuiInputDateTimeModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputDateTimeModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
990
+ TuiInputDateTimeModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputDateTimeModule, declarations: [TuiInputDateTimeComponent,
991
+ TuiInputDateTimeDirective,
992
+ TuiNativeDateTimeDirective], imports: [i5.CommonModule,
993
+ i3.MaskitoModule,
994
+ i4.PolymorpheusModule,
995
+ i1.TuiWrapperModule,
996
+ i7.TuiPreventDefaultModule,
997
+ i1.TuiCalendarModule,
998
+ i1.TuiSvgModule,
999
+ i1.TuiLinkModule,
1000
+ i1.TuiHostedDropdownModule,
1001
+ i1.TuiPrimitiveTextfieldModule,
1002
+ i2.TuiValueAccessorModule,
1003
+ i1.TuiTextfieldControllerModule], exports: [TuiInputDateTimeComponent,
1004
+ TuiInputDateTimeDirective,
1005
+ i1.TuiTextfieldComponent] });
1006
+ TuiInputDateTimeModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputDateTimeModule, imports: [[
1007
+ i5.CommonModule,
1008
+ i3.MaskitoModule,
1009
+ i4.PolymorpheusModule,
1010
+ i1.TuiWrapperModule,
1011
+ i7.TuiPreventDefaultModule,
1012
+ i1.TuiCalendarModule,
1013
+ i1.TuiSvgModule,
1014
+ i1.TuiLinkModule,
1015
+ i1.TuiHostedDropdownModule,
1016
+ i1.TuiPrimitiveTextfieldModule,
1017
+ i2.TuiValueAccessorModule,
1018
+ i1.TuiTextfieldControllerModule,
1019
+ ]] });
1020
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiInputDateTimeModule, decorators: [{
1021
+ type: i0.NgModule,
1022
+ args: [{
1023
+ imports: [
1024
+ i5.CommonModule,
1025
+ i3.MaskitoModule,
1026
+ i4.PolymorpheusModule,
1027
+ i1.TuiWrapperModule,
1028
+ i7.TuiPreventDefaultModule,
1029
+ i1.TuiCalendarModule,
1030
+ i1.TuiSvgModule,
1031
+ i1.TuiLinkModule,
1032
+ i1.TuiHostedDropdownModule,
1033
+ i1.TuiPrimitiveTextfieldModule,
1034
+ i2.TuiValueAccessorModule,
1035
+ i1.TuiTextfieldControllerModule,
1036
+ ],
1037
+ declarations: [
1038
+ TuiInputDateTimeComponent,
1039
+ TuiInputDateTimeDirective,
1040
+ TuiNativeDateTimeDirective,
1041
+ ],
1042
+ exports: [
1043
+ TuiInputDateTimeComponent,
1044
+ TuiInputDateTimeDirective,
1045
+ i1.TuiTextfieldComponent,
1046
+ ],
1047
+ }]
1048
+ }] });
903
1049
 
904
- /**
905
- * Generated bundle index. Do not edit.
906
- */
1050
+ /**
1051
+ * Generated bundle index. Do not edit.
1052
+ */
907
1053
 
908
- exports.TuiInputDateTimeComponent = TuiInputDateTimeComponent;
909
- exports.TuiInputDateTimeDirective = TuiInputDateTimeDirective;
910
- exports.TuiInputDateTimeModule = TuiInputDateTimeModule;
1054
+ exports.TuiInputDateTimeComponent = TuiInputDateTimeComponent;
1055
+ exports.TuiInputDateTimeDirective = TuiInputDateTimeDirective;
1056
+ exports.TuiInputDateTimeModule = TuiInputDateTimeModule;
911
1057
 
912
- Object.defineProperty(exports, '__esModule', { value: true });
1058
+ Object.defineProperty(exports, '__esModule', { value: true });
913
1059
 
914
1060
  }));
915
1061
  //# sourceMappingURL=taiga-ui-kit-components-input-date-time.umd.js.map