@taiga-ui/core 3.78.0 → 3.79.0-canary.50b3d5e

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 (50) hide show
  1. package/bundles/taiga-ui-core-abstract.umd.js +677 -531
  2. package/bundles/taiga-ui-core-abstract.umd.js.map +1 -1
  3. package/bundles/taiga-ui-core-components-alert.umd.js +152 -6
  4. package/bundles/taiga-ui-core-components-alert.umd.js.map +1 -1
  5. package/bundles/taiga-ui-core-components-button.umd.js +668 -522
  6. package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
  7. package/bundles/taiga-ui-core-components-data-list.umd.js +823 -677
  8. package/bundles/taiga-ui-core-components-data-list.umd.js.map +1 -1
  9. package/bundles/taiga-ui-core-components-dialog.umd.js +152 -6
  10. package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
  11. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +928 -782
  12. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +1 -1
  13. package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js +605 -459
  14. package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js.map +1 -1
  15. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +1176 -1030
  16. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
  17. package/bundles/taiga-ui-core-components-root.umd.js +607 -461
  18. package/bundles/taiga-ui-core-components-root.umd.js.map +1 -1
  19. package/bundles/taiga-ui-core-components-scroll-controls.umd.js +152 -6
  20. package/bundles/taiga-ui-core-components-scroll-controls.umd.js.map +1 -1
  21. package/bundles/taiga-ui-core-components-svg.umd.js +152 -6
  22. package/bundles/taiga-ui-core-components-svg.umd.js.map +1 -1
  23. package/bundles/taiga-ui-core-components-theme-night.umd.js +520 -374
  24. package/bundles/taiga-ui-core-components-theme-night.umd.js.map +1 -1
  25. package/bundles/taiga-ui-core-components-tooltip.umd.js +595 -449
  26. package/bundles/taiga-ui-core-components-tooltip.umd.js.map +1 -1
  27. package/bundles/taiga-ui-core-directives-dropdown.umd.js +1576 -1430
  28. package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
  29. package/bundles/taiga-ui-core-directives-hint.umd.js +1298 -1152
  30. package/bundles/taiga-ui-core-directives-hint.umd.js.map +1 -1
  31. package/bundles/taiga-ui-core-directives-mode.umd.js +521 -375
  32. package/bundles/taiga-ui-core-directives-mode.umd.js.map +1 -1
  33. package/bundles/taiga-ui-core-directives-number-format.umd.js +543 -397
  34. package/bundles/taiga-ui-core-directives-number-format.umd.js.map +1 -1
  35. package/bundles/taiga-ui-core-directives-textfield-controller.umd.js +152 -6
  36. package/bundles/taiga-ui-core-directives-textfield-controller.umd.js.map +1 -1
  37. package/bundles/taiga-ui-core-pipes-order-week-days.umd.js +530 -384
  38. package/bundles/taiga-ui-core-pipes-order-week-days.umd.js.map +1 -1
  39. package/bundles/taiga-ui-core-services.umd.js +783 -637
  40. package/bundles/taiga-ui-core-services.umd.js.map +1 -1
  41. package/bundles/taiga-ui-core-tokens.umd.js +152 -6
  42. package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
  43. package/bundles/taiga-ui-core-utils-format.umd.js +152 -6
  44. package/bundles/taiga-ui-core-utils-format.umd.js.map +1 -1
  45. package/bundles/taiga-ui-core-utils-mask.umd.js +152 -6
  46. package/bundles/taiga-ui-core-utils-mask.umd.js.map +1 -1
  47. package/constants/cache-basting-payload.d.ts +1 -1
  48. package/esm2015/components/root/root.component.js +1 -1
  49. package/fesm2015/taiga-ui-core-components-root.js +1 -1
  50. package/package.json +42 -42
@@ -1,1180 +1,1326 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@taiga-ui/cdk'), require('@taiga-ui/core/abstract'), require('@taiga-ui/core/animations'), require('@taiga-ui/core/directives/mode'), require('@taiga-ui/core/services'), require('@taiga-ui/core/tokens'), require('@taiga-ui/core/utils'), require('@tinkoff/ng-polymorpheus'), require('rxjs/operators'), require('rxjs'), require('@taiga-ui/core/constants'), require('@angular/common')) :
3
- typeof define === 'function' && define.amd ? define('@taiga-ui/core/directives/hint', ['exports', '@angular/core', '@taiga-ui/cdk', '@taiga-ui/core/abstract', '@taiga-ui/core/animations', '@taiga-ui/core/directives/mode', '@taiga-ui/core/services', '@taiga-ui/core/tokens', '@taiga-ui/core/utils', '@tinkoff/ng-polymorpheus', 'rxjs/operators', 'rxjs', '@taiga-ui/core/constants', '@angular/common'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].core = global["taiga-ui"].core || {}, global["taiga-ui"].core.directives = global["taiga-ui"].core.directives || {}, global["taiga-ui"].core.directives.hint = {}), global.ng.core, global.i3, global["taiga-ui"].core.abstract, global["taiga-ui"].core.animations, global["taiga-ui"].core.directives.mode, global["taiga-ui"].core.services, global["taiga-ui"].core.tokens, global["taiga-ui"].core.utils, global.i1, global.rxjs.operators, global.rxjs, global["taiga-ui"].core.constants, global.ng.common));
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@taiga-ui/cdk'), require('@taiga-ui/core/abstract'), require('@taiga-ui/core/animations'), require('@taiga-ui/core/directives/mode'), require('@taiga-ui/core/services'), require('@taiga-ui/core/tokens'), require('@taiga-ui/core/utils'), require('@tinkoff/ng-polymorpheus'), require('rxjs/operators'), require('rxjs'), require('@taiga-ui/core/constants'), require('@angular/common')) :
3
+ typeof define === 'function' && define.amd ? define('@taiga-ui/core/directives/hint', ['exports', '@angular/core', '@taiga-ui/cdk', '@taiga-ui/core/abstract', '@taiga-ui/core/animations', '@taiga-ui/core/directives/mode', '@taiga-ui/core/services', '@taiga-ui/core/tokens', '@taiga-ui/core/utils', '@tinkoff/ng-polymorpheus', 'rxjs/operators', 'rxjs', '@taiga-ui/core/constants', '@angular/common'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].core = global["taiga-ui"].core || {}, global["taiga-ui"].core.directives = global["taiga-ui"].core.directives || {}, global["taiga-ui"].core.directives.hint = {}), global.ng.core, global.i3, global["taiga-ui"].core.abstract, global["taiga-ui"].core.animations, global["taiga-ui"].core.directives.mode, global["taiga-ui"].core.services, global["taiga-ui"].core.tokens, global["taiga-ui"].core.utils, global.i1, global.rxjs.operators, global.rxjs, global["taiga-ui"].core.constants, global.ng.common));
5
5
  })(this, (function (exports, i0, i3, i1$1, animations, i5, i2, tokens, utils, i1, operators, i2$1, constants, common) { '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 i3__namespace = /*#__PURE__*/_interopNamespace(i3);
27
- var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
28
- var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
29
- var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
30
- var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
31
- var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$1);
25
+ var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
+ var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
27
+ var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$1);
28
+ var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
29
+ var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
30
+ var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
31
+ var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2$1);
32
32
 
33
- /*! *****************************************************************************
34
- Copyright (c) Microsoft Corporation.
33
+ /******************************************************************************
34
+ Copyright (c) Microsoft Corporation.
35
35
 
36
- Permission to use, copy, modify, and/or distribute this software for any
37
- purpose with or without fee is hereby granted.
36
+ Permission to use, copy, modify, and/or distribute this software for any
37
+ purpose with or without fee is hereby granted.
38
38
 
39
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
40
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
41
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
42
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
43
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
44
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
45
- PERFORMANCE OF THIS SOFTWARE.
46
- ***************************************************************************** */
47
- /* global Reflect, Promise */
48
- var extendStatics = function (d, b) {
49
- extendStatics = Object.setPrototypeOf ||
50
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
51
- function (d, b) { for (var p in b)
52
- if (Object.prototype.hasOwnProperty.call(b, p))
53
- d[p] = b[p]; };
54
- return extendStatics(d, b);
55
- };
56
- function __extends(d, b) {
57
- if (typeof b !== "function" && b !== null)
58
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
59
- extendStatics(d, b);
60
- function __() { this.constructor = d; }
61
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
62
- }
63
- var __assign = function () {
64
- __assign = Object.assign || function __assign(t) {
65
- for (var s, i = 1, n = arguments.length; i < n; i++) {
66
- s = arguments[i];
67
- for (var p in s)
68
- if (Object.prototype.hasOwnProperty.call(s, p))
69
- t[p] = s[p];
70
- }
71
- return t;
72
- };
73
- return __assign.apply(this, arguments);
74
- };
75
- function __rest(s, e) {
76
- var t = {};
77
- for (var p in s)
78
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
79
- t[p] = s[p];
80
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
81
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
82
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
83
- t[p[i]] = s[p[i]];
84
- }
85
- return t;
86
- }
87
- function __decorate(decorators, target, key, desc) {
88
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
89
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
90
- r = Reflect.decorate(decorators, target, key, desc);
91
- else
92
- for (var i = decorators.length - 1; i >= 0; i--)
93
- if (d = decorators[i])
94
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
95
- return c > 3 && r && Object.defineProperty(target, key, r), r;
96
- }
97
- function __param(paramIndex, decorator) {
98
- return function (target, key) { decorator(target, key, paramIndex); };
99
- }
100
- function __metadata(metadataKey, metadataValue) {
101
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
102
- return Reflect.metadata(metadataKey, metadataValue);
103
- }
104
- function __awaiter(thisArg, _arguments, P, generator) {
105
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
106
- return new (P || (P = Promise))(function (resolve, reject) {
107
- function fulfilled(value) { try {
108
- step(generator.next(value));
109
- }
110
- catch (e) {
111
- reject(e);
112
- } }
113
- function rejected(value) { try {
114
- step(generator["throw"](value));
115
- }
116
- catch (e) {
117
- reject(e);
118
- } }
119
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
120
- step((generator = generator.apply(thisArg, _arguments || [])).next());
121
- });
122
- }
123
- function __generator(thisArg, body) {
124
- var _ = { label: 0, sent: function () { if (t[0] & 1)
125
- throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
126
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
127
- function verb(n) { return function (v) { return step([n, v]); }; }
128
- function step(op) {
129
- if (f)
130
- throw new TypeError("Generator is already executing.");
131
- while (_)
132
- try {
133
- 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)
134
- return t;
135
- if (y = 0, t)
136
- op = [op[0] & 2, t.value];
137
- switch (op[0]) {
138
- case 0:
139
- case 1:
140
- t = op;
141
- break;
142
- case 4:
143
- _.label++;
144
- return { value: op[1], done: false };
145
- case 5:
146
- _.label++;
147
- y = op[1];
148
- op = [0];
149
- continue;
150
- case 7:
151
- op = _.ops.pop();
152
- _.trys.pop();
153
- continue;
154
- default:
155
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
156
- _ = 0;
157
- continue;
158
- }
159
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
160
- _.label = op[1];
161
- break;
162
- }
163
- if (op[0] === 6 && _.label < t[1]) {
164
- _.label = t[1];
165
- t = op;
166
- break;
167
- }
168
- if (t && _.label < t[2]) {
169
- _.label = t[2];
170
- _.ops.push(op);
171
- break;
172
- }
173
- if (t[2])
174
- _.ops.pop();
175
- _.trys.pop();
176
- continue;
177
- }
178
- op = body.call(thisArg, _);
179
- }
180
- catch (e) {
181
- op = [6, e];
182
- y = 0;
183
- }
184
- finally {
185
- f = t = 0;
186
- }
187
- if (op[0] & 5)
188
- throw op[1];
189
- return { value: op[0] ? op[1] : void 0, done: true };
190
- }
191
- }
192
- var __createBinding = Object.create ? (function (o, m, k, k2) {
193
- if (k2 === undefined)
194
- k2 = k;
195
- Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
196
- }) : (function (o, m, k, k2) {
197
- if (k2 === undefined)
198
- k2 = k;
199
- o[k2] = m[k];
200
- });
201
- function __exportStar(m, o) {
202
- for (var p in m)
203
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
204
- __createBinding(o, m, p);
205
- }
206
- function __values(o) {
207
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
208
- if (m)
209
- return m.call(o);
210
- if (o && typeof o.length === "number")
211
- return {
212
- next: function () {
213
- if (o && i >= o.length)
214
- o = void 0;
215
- return { value: o && o[i++], done: !o };
216
- }
217
- };
218
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
219
- }
220
- function __read(o, n) {
221
- var m = typeof Symbol === "function" && o[Symbol.iterator];
222
- if (!m)
223
- return o;
224
- var i = m.call(o), r, ar = [], e;
225
- try {
226
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
227
- ar.push(r.value);
228
- }
229
- catch (error) {
230
- e = { error: error };
231
- }
232
- finally {
233
- try {
234
- if (r && !r.done && (m = i["return"]))
235
- m.call(i);
236
- }
237
- finally {
238
- if (e)
239
- throw e.error;
240
- }
241
- }
242
- return ar;
243
- }
244
- /** @deprecated */
245
- function __spread() {
246
- for (var ar = [], i = 0; i < arguments.length; i++)
247
- ar = ar.concat(__read(arguments[i]));
248
- return ar;
249
- }
250
- /** @deprecated */
251
- function __spreadArrays() {
252
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
253
- s += arguments[i].length;
254
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
255
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
256
- r[k] = a[j];
257
- return r;
258
- }
259
- function __spreadArray(to, from, pack) {
260
- if (pack || arguments.length === 2)
261
- for (var i = 0, l = from.length, ar; i < l; i++) {
262
- if (ar || !(i in from)) {
263
- if (!ar)
264
- ar = Array.prototype.slice.call(from, 0, i);
265
- ar[i] = from[i];
266
- }
267
- }
268
- return to.concat(ar || from);
269
- }
270
- function __await(v) {
271
- return this instanceof __await ? (this.v = v, this) : new __await(v);
272
- }
273
- function __asyncGenerator(thisArg, _arguments, generator) {
274
- if (!Symbol.asyncIterator)
275
- throw new TypeError("Symbol.asyncIterator is not defined.");
276
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
277
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
278
- function verb(n) { if (g[n])
279
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
280
- function resume(n, v) { try {
281
- step(g[n](v));
282
- }
283
- catch (e) {
284
- settle(q[0][3], e);
285
- } }
286
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
287
- function fulfill(value) { resume("next", value); }
288
- function reject(value) { resume("throw", value); }
289
- function settle(f, v) { if (f(v), q.shift(), q.length)
290
- resume(q[0][0], q[0][1]); }
291
- }
292
- function __asyncDelegator(o) {
293
- var i, p;
294
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
295
- 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; }
296
- }
297
- function __asyncValues(o) {
298
- if (!Symbol.asyncIterator)
299
- throw new TypeError("Symbol.asyncIterator is not defined.");
300
- var m = o[Symbol.asyncIterator], i;
301
- 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);
302
- 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); }); }; }
303
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
304
- }
305
- function __makeTemplateObject(cooked, raw) {
306
- if (Object.defineProperty) {
307
- Object.defineProperty(cooked, "raw", { value: raw });
308
- }
309
- else {
310
- cooked.raw = raw;
311
- }
312
- return cooked;
313
- }
314
- ;
315
- var __setModuleDefault = Object.create ? (function (o, v) {
316
- Object.defineProperty(o, "default", { enumerable: true, value: v });
317
- }) : function (o, v) {
318
- o["default"] = v;
319
- };
320
- function __importStar(mod) {
321
- if (mod && mod.__esModule)
322
- return mod;
323
- var result = {};
324
- if (mod != null)
325
- for (var k in mod)
326
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
327
- __createBinding(result, mod, k);
328
- __setModuleDefault(result, mod);
329
- return result;
330
- }
331
- function __importDefault(mod) {
332
- return (mod && mod.__esModule) ? mod : { default: mod };
333
- }
334
- function __classPrivateFieldGet(receiver, state, kind, f) {
335
- if (kind === "a" && !f)
336
- throw new TypeError("Private accessor was defined without a getter");
337
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
338
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
339
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
340
- }
341
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
342
- if (kind === "m")
343
- throw new TypeError("Private method is not writable");
344
- if (kind === "a" && !f)
345
- throw new TypeError("Private accessor was defined without a setter");
346
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
347
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
348
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
349
- }
39
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
40
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
41
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
42
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
43
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
44
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
45
+ PERFORMANCE OF THIS SOFTWARE.
46
+ ***************************************************************************** */
47
+ /* global Reflect, Promise, SuppressedError, Symbol */
48
+ var extendStatics = function (d, b) {
49
+ extendStatics = Object.setPrototypeOf ||
50
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
51
+ function (d, b) { for (var p in b)
52
+ if (Object.prototype.hasOwnProperty.call(b, p))
53
+ d[p] = b[p]; };
54
+ return extendStatics(d, b);
55
+ };
56
+ function __extends(d, b) {
57
+ if (typeof b !== "function" && b !== null)
58
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
59
+ extendStatics(d, b);
60
+ function __() { this.constructor = d; }
61
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
62
+ }
63
+ var __assign = function () {
64
+ __assign = Object.assign || function __assign(t) {
65
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
66
+ s = arguments[i];
67
+ for (var p in s)
68
+ if (Object.prototype.hasOwnProperty.call(s, p))
69
+ t[p] = s[p];
70
+ }
71
+ return t;
72
+ };
73
+ return __assign.apply(this, arguments);
74
+ };
75
+ function __rest(s, e) {
76
+ var t = {};
77
+ for (var p in s)
78
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
79
+ t[p] = s[p];
80
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
81
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
82
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
83
+ t[p[i]] = s[p[i]];
84
+ }
85
+ return t;
86
+ }
87
+ function __decorate(decorators, target, key, desc) {
88
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
89
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
90
+ r = Reflect.decorate(decorators, target, key, desc);
91
+ else
92
+ for (var i = decorators.length - 1; i >= 0; i--)
93
+ if (d = decorators[i])
94
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
95
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
96
+ }
97
+ function __param(paramIndex, decorator) {
98
+ return function (target, key) { decorator(target, key, paramIndex); };
99
+ }
100
+ function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
101
+ function accept(f) { if (f !== void 0 && typeof f !== "function")
102
+ throw new TypeError("Function expected"); return f; }
103
+ var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
104
+ var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
105
+ var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
106
+ var _, done = false;
107
+ for (var i = decorators.length - 1; i >= 0; i--) {
108
+ var context = {};
109
+ for (var p in contextIn)
110
+ context[p] = p === "access" ? {} : contextIn[p];
111
+ for (var p in contextIn.access)
112
+ context.access[p] = contextIn.access[p];
113
+ context.addInitializer = function (f) { if (done)
114
+ throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
115
+ var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
116
+ if (kind === "accessor") {
117
+ if (result === void 0)
118
+ continue;
119
+ if (result === null || typeof result !== "object")
120
+ throw new TypeError("Object expected");
121
+ if (_ = accept(result.get))
122
+ descriptor.get = _;
123
+ if (_ = accept(result.set))
124
+ descriptor.set = _;
125
+ if (_ = accept(result.init))
126
+ initializers.unshift(_);
127
+ }
128
+ else if (_ = accept(result)) {
129
+ if (kind === "field")
130
+ initializers.unshift(_);
131
+ else
132
+ descriptor[key] = _;
133
+ }
134
+ }
135
+ if (target)
136
+ Object.defineProperty(target, contextIn.name, descriptor);
137
+ done = true;
138
+ }
139
+ ;
140
+ function __runInitializers(thisArg, initializers, value) {
141
+ var useValue = arguments.length > 2;
142
+ for (var i = 0; i < initializers.length; i++) {
143
+ value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
144
+ }
145
+ return useValue ? value : void 0;
146
+ }
147
+ ;
148
+ function __propKey(x) {
149
+ return typeof x === "symbol" ? x : "".concat(x);
150
+ }
151
+ ;
152
+ function __setFunctionName(f, name, prefix) {
153
+ if (typeof name === "symbol")
154
+ name = name.description ? "[".concat(name.description, "]") : "";
155
+ return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
156
+ }
157
+ ;
158
+ function __metadata(metadataKey, metadataValue) {
159
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
160
+ return Reflect.metadata(metadataKey, metadataValue);
161
+ }
162
+ function __awaiter(thisArg, _arguments, P, generator) {
163
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
164
+ return new (P || (P = Promise))(function (resolve, reject) {
165
+ function fulfilled(value) { try {
166
+ step(generator.next(value));
167
+ }
168
+ catch (e) {
169
+ reject(e);
170
+ } }
171
+ function rejected(value) { try {
172
+ step(generator["throw"](value));
173
+ }
174
+ catch (e) {
175
+ reject(e);
176
+ } }
177
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
178
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
179
+ });
180
+ }
181
+ function __generator(thisArg, body) {
182
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
183
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
184
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
185
+ function verb(n) { return function (v) { return step([n, v]); }; }
186
+ function step(op) {
187
+ if (f)
188
+ throw new TypeError("Generator is already executing.");
189
+ while (g && (g = 0, op[0] && (_ = 0)), _)
190
+ try {
191
+ 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)
192
+ return t;
193
+ if (y = 0, t)
194
+ op = [op[0] & 2, t.value];
195
+ switch (op[0]) {
196
+ case 0:
197
+ case 1:
198
+ t = op;
199
+ break;
200
+ case 4:
201
+ _.label++;
202
+ return { value: op[1], done: false };
203
+ case 5:
204
+ _.label++;
205
+ y = op[1];
206
+ op = [0];
207
+ continue;
208
+ case 7:
209
+ op = _.ops.pop();
210
+ _.trys.pop();
211
+ continue;
212
+ default:
213
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
214
+ _ = 0;
215
+ continue;
216
+ }
217
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
218
+ _.label = op[1];
219
+ break;
220
+ }
221
+ if (op[0] === 6 && _.label < t[1]) {
222
+ _.label = t[1];
223
+ t = op;
224
+ break;
225
+ }
226
+ if (t && _.label < t[2]) {
227
+ _.label = t[2];
228
+ _.ops.push(op);
229
+ break;
230
+ }
231
+ if (t[2])
232
+ _.ops.pop();
233
+ _.trys.pop();
234
+ continue;
235
+ }
236
+ op = body.call(thisArg, _);
237
+ }
238
+ catch (e) {
239
+ op = [6, e];
240
+ y = 0;
241
+ }
242
+ finally {
243
+ f = t = 0;
244
+ }
245
+ if (op[0] & 5)
246
+ throw op[1];
247
+ return { value: op[0] ? op[1] : void 0, done: true };
248
+ }
249
+ }
250
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
251
+ if (k2 === undefined)
252
+ k2 = k;
253
+ var desc = Object.getOwnPropertyDescriptor(m, k);
254
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
255
+ desc = { enumerable: true, get: function () { return m[k]; } };
256
+ }
257
+ Object.defineProperty(o, k2, desc);
258
+ }) : (function (o, m, k, k2) {
259
+ if (k2 === undefined)
260
+ k2 = k;
261
+ o[k2] = m[k];
262
+ });
263
+ function __exportStar(m, o) {
264
+ for (var p in m)
265
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
266
+ __createBinding(o, m, p);
267
+ }
268
+ function __values(o) {
269
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
270
+ if (m)
271
+ return m.call(o);
272
+ if (o && typeof o.length === "number")
273
+ return {
274
+ next: function () {
275
+ if (o && i >= o.length)
276
+ o = void 0;
277
+ return { value: o && o[i++], done: !o };
278
+ }
279
+ };
280
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
281
+ }
282
+ function __read(o, n) {
283
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
284
+ if (!m)
285
+ return o;
286
+ var i = m.call(o), r, ar = [], e;
287
+ try {
288
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
289
+ ar.push(r.value);
290
+ }
291
+ catch (error) {
292
+ e = { error: error };
293
+ }
294
+ finally {
295
+ try {
296
+ if (r && !r.done && (m = i["return"]))
297
+ m.call(i);
298
+ }
299
+ finally {
300
+ if (e)
301
+ throw e.error;
302
+ }
303
+ }
304
+ return ar;
305
+ }
306
+ /** @deprecated */
307
+ function __spread() {
308
+ for (var ar = [], i = 0; i < arguments.length; i++)
309
+ ar = ar.concat(__read(arguments[i]));
310
+ return ar;
311
+ }
312
+ /** @deprecated */
313
+ function __spreadArrays() {
314
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
315
+ s += arguments[i].length;
316
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
317
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
318
+ r[k] = a[j];
319
+ return r;
320
+ }
321
+ function __spreadArray(to, from, pack) {
322
+ if (pack || arguments.length === 2)
323
+ for (var i = 0, l = from.length, ar; i < l; i++) {
324
+ if (ar || !(i in from)) {
325
+ if (!ar)
326
+ ar = Array.prototype.slice.call(from, 0, i);
327
+ ar[i] = from[i];
328
+ }
329
+ }
330
+ return to.concat(ar || Array.prototype.slice.call(from));
331
+ }
332
+ function __await(v) {
333
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
334
+ }
335
+ function __asyncGenerator(thisArg, _arguments, generator) {
336
+ if (!Symbol.asyncIterator)
337
+ throw new TypeError("Symbol.asyncIterator is not defined.");
338
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
339
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
340
+ function verb(n) { if (g[n])
341
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
342
+ function resume(n, v) { try {
343
+ step(g[n](v));
344
+ }
345
+ catch (e) {
346
+ settle(q[0][3], e);
347
+ } }
348
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
349
+ function fulfill(value) { resume("next", value); }
350
+ function reject(value) { resume("throw", value); }
351
+ function settle(f, v) { if (f(v), q.shift(), q.length)
352
+ resume(q[0][0], q[0][1]); }
353
+ }
354
+ function __asyncDelegator(o) {
355
+ var i, p;
356
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
357
+ 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; }
358
+ }
359
+ function __asyncValues(o) {
360
+ if (!Symbol.asyncIterator)
361
+ throw new TypeError("Symbol.asyncIterator is not defined.");
362
+ var m = o[Symbol.asyncIterator], i;
363
+ 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);
364
+ 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); }); }; }
365
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
366
+ }
367
+ function __makeTemplateObject(cooked, raw) {
368
+ if (Object.defineProperty) {
369
+ Object.defineProperty(cooked, "raw", { value: raw });
370
+ }
371
+ else {
372
+ cooked.raw = raw;
373
+ }
374
+ return cooked;
375
+ }
376
+ ;
377
+ var __setModuleDefault = Object.create ? (function (o, v) {
378
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
379
+ }) : function (o, v) {
380
+ o["default"] = v;
381
+ };
382
+ function __importStar(mod) {
383
+ if (mod && mod.__esModule)
384
+ return mod;
385
+ var result = {};
386
+ if (mod != null)
387
+ for (var k in mod)
388
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
389
+ __createBinding(result, mod, k);
390
+ __setModuleDefault(result, mod);
391
+ return result;
392
+ }
393
+ function __importDefault(mod) {
394
+ return (mod && mod.__esModule) ? mod : { default: mod };
395
+ }
396
+ function __classPrivateFieldGet(receiver, state, kind, f) {
397
+ if (kind === "a" && !f)
398
+ throw new TypeError("Private accessor was defined without a getter");
399
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
400
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
401
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
402
+ }
403
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
404
+ if (kind === "m")
405
+ throw new TypeError("Private method is not writable");
406
+ if (kind === "a" && !f)
407
+ throw new TypeError("Private accessor was defined without a setter");
408
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
409
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
410
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
411
+ }
412
+ function __classPrivateFieldIn(state, receiver) {
413
+ if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
414
+ throw new TypeError("Cannot use 'in' operator on non-object");
415
+ return typeof state === "function" ? receiver === state : state.has(receiver);
416
+ }
417
+ function __addDisposableResource(env, value, async) {
418
+ if (value !== null && value !== void 0) {
419
+ if (typeof value !== "object" && typeof value !== "function")
420
+ throw new TypeError("Object expected.");
421
+ var dispose;
422
+ if (async) {
423
+ if (!Symbol.asyncDispose)
424
+ throw new TypeError("Symbol.asyncDispose is not defined.");
425
+ dispose = value[Symbol.asyncDispose];
426
+ }
427
+ if (dispose === void 0) {
428
+ if (!Symbol.dispose)
429
+ throw new TypeError("Symbol.dispose is not defined.");
430
+ dispose = value[Symbol.dispose];
431
+ }
432
+ if (typeof dispose !== "function")
433
+ throw new TypeError("Object not disposable.");
434
+ env.stack.push({ value: value, dispose: dispose, async: async });
435
+ }
436
+ else if (async) {
437
+ env.stack.push({ async: true });
438
+ }
439
+ return value;
440
+ }
441
+ var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
442
+ var e = new Error(message);
443
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
444
+ };
445
+ function __disposeResources(env) {
446
+ function fail(e) {
447
+ env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
448
+ env.hasError = true;
449
+ }
450
+ function next() {
451
+ while (env.stack.length) {
452
+ var rec = env.stack.pop();
453
+ try {
454
+ var result = rec.dispose && rec.dispose.call(rec.value);
455
+ if (rec.async)
456
+ return Promise.resolve(result).then(next, function (e) { fail(e); return next(); });
457
+ }
458
+ catch (e) {
459
+ fail(e);
460
+ }
461
+ }
462
+ if (env.hasError)
463
+ throw env.error;
464
+ }
465
+ return next();
466
+ }
467
+ var tslib_es6 = {
468
+ __extends: __extends,
469
+ __assign: __assign,
470
+ __rest: __rest,
471
+ __decorate: __decorate,
472
+ __param: __param,
473
+ __metadata: __metadata,
474
+ __awaiter: __awaiter,
475
+ __generator: __generator,
476
+ __createBinding: __createBinding,
477
+ __exportStar: __exportStar,
478
+ __values: __values,
479
+ __read: __read,
480
+ __spread: __spread,
481
+ __spreadArrays: __spreadArrays,
482
+ __spreadArray: __spreadArray,
483
+ __await: __await,
484
+ __asyncGenerator: __asyncGenerator,
485
+ __asyncDelegator: __asyncDelegator,
486
+ __asyncValues: __asyncValues,
487
+ __makeTemplateObject: __makeTemplateObject,
488
+ __importStar: __importStar,
489
+ __importDefault: __importDefault,
490
+ __classPrivateFieldGet: __classPrivateFieldGet,
491
+ __classPrivateFieldSet: __classPrivateFieldSet,
492
+ __classPrivateFieldIn: __classPrivateFieldIn,
493
+ __addDisposableResource: __addDisposableResource,
494
+ __disposeResources: __disposeResources,
495
+ };
350
496
 
351
- /**
352
- * A component to display a hint
353
- */
354
- var TUI_HINT_COMPONENT = i3.tuiCreateTokenFromFactory(function () { return TuiHintComponent; });
497
+ /**
498
+ * A component to display a hint
499
+ */
500
+ var TUI_HINT_COMPONENT = i3.tuiCreateTokenFromFactory(function () { return TuiHintComponent; });
355
501
 
356
- /** Default values for hint options */
357
- var TUI_HINT_DEFAULT_OPTIONS = {
358
- direction: 'bottom-left',
359
- showDelay: 500,
360
- hideDelay: 200,
361
- appearance: '',
362
- icon: 'tuiIconHelpCircle',
363
- };
364
- /**
365
- * Default parameters for hint directive
366
- */
367
- var TUI_HINT_OPTIONS = i3.tuiCreateToken(TUI_HINT_DEFAULT_OPTIONS);
368
- var tuiHintOptionsProvider = function (override) { return ({
369
- provide: TUI_HINT_OPTIONS,
370
- deps: [
371
- [new i0.Optional(), TuiHintOptionsDirective],
372
- [new i0.Optional(), new i0.SkipSelf(), TUI_HINT_OPTIONS],
373
- ],
374
- useFactory: utils.tuiOverrideOptions(override, TUI_HINT_DEFAULT_OPTIONS),
375
- }); };
376
- var TuiHintOptionsDirective = /** @class */ (function (_super) {
377
- __extends(TuiHintOptionsDirective, _super);
378
- function TuiHintOptionsDirective(options) {
379
- var _this = _super.call(this) || this;
380
- _this.options = options;
381
- _this.direction = _this.options.direction;
382
- _this.appearance = _this.options.appearance;
383
- _this.showDelay = _this.options.showDelay;
384
- _this.hideDelay = _this.options.hideDelay;
385
- _this.icon = _this.options.icon;
386
- return _this;
387
- }
388
- return TuiHintOptionsDirective;
389
- }(i3.AbstractTuiController));
390
- TuiHintOptionsDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintOptionsDirective, deps: [{ token: TUI_HINT_OPTIONS, skipSelf: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
391
- TuiHintOptionsDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintOptionsDirective, selector: "[tuiHintContent]", inputs: { content: ["tuiHintContent", "content"], direction: ["tuiHintDirection", "direction"], appearance: ["tuiHintAppearance", "appearance"], showDelay: ["tuiHintShowDelay", "showDelay"], hideDelay: ["tuiHintHideDelay", "hideDelay"] }, providers: [
392
- {
393
- provide: TUI_HINT_OPTIONS,
394
- useExisting: i0.forwardRef(function () { return TuiHintOptionsDirective; }),
395
- },
396
- ], usesInheritance: true, ngImport: i0__namespace });
397
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintOptionsDirective, decorators: [{
398
- type: i0.Directive,
399
- args: [{
400
- selector: '[tuiHintContent]',
401
- providers: [
402
- {
403
- provide: TUI_HINT_OPTIONS,
404
- useExisting: i0.forwardRef(function () { return TuiHintOptionsDirective; }),
405
- },
406
- ],
407
- }]
408
- }], ctorParameters: function () {
409
- return [{ type: undefined, decorators: [{
410
- type: i0.SkipSelf
411
- }, {
412
- type: i0.Inject,
413
- args: [TUI_HINT_OPTIONS]
414
- }] }];
415
- }, propDecorators: { content: [{
416
- type: i0.Input,
417
- args: ['tuiHintContent']
418
- }], direction: [{
419
- type: i0.Input,
420
- args: ['tuiHintDirection']
421
- }], appearance: [{
422
- type: i0.Input,
423
- args: ['tuiHintAppearance']
424
- }], showDelay: [{
425
- type: i0.Input,
426
- args: ['tuiHintShowDelay']
427
- }], hideDelay: [{
428
- type: i0.Input,
429
- args: ['tuiHintHideDelay']
430
- }] } });
502
+ /** Default values for hint options */
503
+ var TUI_HINT_DEFAULT_OPTIONS = {
504
+ direction: 'bottom-left',
505
+ showDelay: 500,
506
+ hideDelay: 200,
507
+ appearance: '',
508
+ icon: 'tuiIconHelpCircle',
509
+ };
510
+ /**
511
+ * Default parameters for hint directive
512
+ */
513
+ var TUI_HINT_OPTIONS = i3.tuiCreateToken(TUI_HINT_DEFAULT_OPTIONS);
514
+ var tuiHintOptionsProvider = function (override) { return ({
515
+ provide: TUI_HINT_OPTIONS,
516
+ deps: [
517
+ [new i0.Optional(), TuiHintOptionsDirective],
518
+ [new i0.Optional(), new i0.SkipSelf(), TUI_HINT_OPTIONS],
519
+ ],
520
+ useFactory: utils.tuiOverrideOptions(override, TUI_HINT_DEFAULT_OPTIONS),
521
+ }); };
522
+ var TuiHintOptionsDirective = /** @class */ (function (_super) {
523
+ __extends(TuiHintOptionsDirective, _super);
524
+ function TuiHintOptionsDirective(options) {
525
+ var _this = _super.call(this) || this;
526
+ _this.options = options;
527
+ _this.direction = _this.options.direction;
528
+ _this.appearance = _this.options.appearance;
529
+ _this.showDelay = _this.options.showDelay;
530
+ _this.hideDelay = _this.options.hideDelay;
531
+ _this.icon = _this.options.icon;
532
+ return _this;
533
+ }
534
+ return TuiHintOptionsDirective;
535
+ }(i3.AbstractTuiController));
536
+ TuiHintOptionsDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintOptionsDirective, deps: [{ token: TUI_HINT_OPTIONS, skipSelf: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
537
+ TuiHintOptionsDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintOptionsDirective, selector: "[tuiHintContent]", inputs: { content: ["tuiHintContent", "content"], direction: ["tuiHintDirection", "direction"], appearance: ["tuiHintAppearance", "appearance"], showDelay: ["tuiHintShowDelay", "showDelay"], hideDelay: ["tuiHintHideDelay", "hideDelay"] }, providers: [
538
+ {
539
+ provide: TUI_HINT_OPTIONS,
540
+ useExisting: i0.forwardRef(function () { return TuiHintOptionsDirective; }),
541
+ },
542
+ ], usesInheritance: true, ngImport: i0__namespace });
543
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintOptionsDirective, decorators: [{
544
+ type: i0.Directive,
545
+ args: [{
546
+ selector: '[tuiHintContent]',
547
+ providers: [
548
+ {
549
+ provide: TUI_HINT_OPTIONS,
550
+ useExisting: i0.forwardRef(function () { return TuiHintOptionsDirective; }),
551
+ },
552
+ ],
553
+ }]
554
+ }], ctorParameters: function () {
555
+ return [{ type: undefined, decorators: [{
556
+ type: i0.SkipSelf
557
+ }, {
558
+ type: i0.Inject,
559
+ args: [TUI_HINT_OPTIONS]
560
+ }] }];
561
+ }, propDecorators: { content: [{
562
+ type: i0.Input,
563
+ args: ['tuiHintContent']
564
+ }], direction: [{
565
+ type: i0.Input,
566
+ args: ['tuiHintDirection']
567
+ }], appearance: [{
568
+ type: i0.Input,
569
+ args: ['tuiHintAppearance']
570
+ }], showDelay: [{
571
+ type: i0.Input,
572
+ args: ['tuiHintShowDelay']
573
+ }], hideDelay: [{
574
+ type: i0.Input,
575
+ args: ['tuiHintHideDelay']
576
+ }] } });
431
577
 
432
- var TuiHintDirective = /** @class */ (function () {
433
- function TuiHintDirective(el, component, hintService, options, activeZone) {
434
- this.el = el;
435
- this.component = component;
436
- this.hintService = hintService;
437
- this.options = options;
438
- this.activeZone = activeZone;
439
- this.tuiHintAppearance = null;
440
- this.type = 'hint';
441
- }
442
- Object.defineProperty(TuiHintDirective.prototype, "appearance", {
443
- get: function () {
444
- var _a;
445
- return (_a = this.tuiHintAppearance) !== null && _a !== void 0 ? _a : this.options.appearance;
446
- },
447
- enumerable: false,
448
- configurable: true
449
- });
450
- TuiHintDirective.prototype.ngOnChanges = function () {
451
- if (!this.content) {
452
- this.toggle(false);
453
- }
454
- };
455
- TuiHintDirective.prototype.ngOnDestroy = function () {
456
- this.toggle(false);
457
- };
458
- TuiHintDirective.prototype.getClientRect = function () {
459
- return this.el.nativeElement.getBoundingClientRect();
460
- };
461
- TuiHintDirective.prototype.toggle = function (show) {
462
- if (show && this.content) {
463
- this.hintService.add(this);
464
- }
465
- else {
466
- this.hintService.remove(this);
467
- }
468
- };
469
- return TuiHintDirective;
470
- }());
471
- TuiHintDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintDirective, deps: [{ token: i0.ElementRef }, { token: i1.PolymorpheusComponent }, { token: i2.TuiHintService }, { token: TUI_HINT_OPTIONS }, { token: i3.TuiActiveZoneDirective, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
472
- TuiHintDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintDirective, selector: "[tuiHint]:not(ng-container):not(ng-template)", inputs: { content: ["tuiHint", "content"], context: ["tuiHintContext", "context"], tuiHintAppearance: "tuiHintAppearance" }, providers: [
473
- i1$1.tuiAsRectAccessor(TuiHintDirective),
474
- i1$1.tuiAsVehicle(TuiHintDirective),
475
- {
476
- provide: i1.PolymorpheusComponent,
477
- deps: [TUI_HINT_COMPONENT, i0.INJECTOR],
478
- useClass: i1.PolymorpheusComponent,
479
- },
480
- ], usesOnChanges: true, ngImport: i0__namespace });
481
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintDirective, decorators: [{
482
- type: i0.Directive,
483
- args: [{
484
- selector: '[tuiHint]:not(ng-container):not(ng-template)',
485
- providers: [
486
- i1$1.tuiAsRectAccessor(TuiHintDirective),
487
- i1$1.tuiAsVehicle(TuiHintDirective),
488
- {
489
- provide: i1.PolymorpheusComponent,
490
- deps: [TUI_HINT_COMPONENT, i0.INJECTOR],
491
- useClass: i1.PolymorpheusComponent,
492
- },
493
- ],
494
- }]
495
- }], ctorParameters: function () {
496
- return [{ type: i0__namespace.ElementRef, decorators: [{
497
- type: i0.Inject,
498
- args: [i0.ElementRef]
499
- }] }, { type: i1__namespace.PolymorpheusComponent, decorators: [{
500
- type: i0.Inject,
501
- args: [i1.PolymorpheusComponent]
502
- }] }, { type: i2__namespace.TuiHintService, decorators: [{
503
- type: i0.Inject,
504
- args: [i2.TuiHintService]
505
- }] }, { type: undefined, decorators: [{
506
- type: i0.Inject,
507
- args: [TUI_HINT_OPTIONS]
508
- }] }, { type: i3__namespace.TuiActiveZoneDirective, decorators: [{
509
- type: i0.Optional
510
- }, {
511
- type: i0.Inject,
512
- args: [i3.TuiActiveZoneDirective]
513
- }] }];
514
- }, propDecorators: { content: [{
515
- type: i0.Input,
516
- args: ['tuiHint']
517
- }], context: [{
518
- type: i0.Input,
519
- args: ['tuiHintContext']
520
- }], tuiHintAppearance: [{
521
- type: i0.Input
522
- }] } });
578
+ var TuiHintDirective = /** @class */ (function () {
579
+ function TuiHintDirective(el, component, hintService, options, activeZone) {
580
+ this.el = el;
581
+ this.component = component;
582
+ this.hintService = hintService;
583
+ this.options = options;
584
+ this.activeZone = activeZone;
585
+ this.tuiHintAppearance = null;
586
+ this.type = 'hint';
587
+ }
588
+ Object.defineProperty(TuiHintDirective.prototype, "appearance", {
589
+ get: function () {
590
+ var _a;
591
+ return (_a = this.tuiHintAppearance) !== null && _a !== void 0 ? _a : this.options.appearance;
592
+ },
593
+ enumerable: false,
594
+ configurable: true
595
+ });
596
+ TuiHintDirective.prototype.ngOnChanges = function () {
597
+ if (!this.content) {
598
+ this.toggle(false);
599
+ }
600
+ };
601
+ TuiHintDirective.prototype.ngOnDestroy = function () {
602
+ this.toggle(false);
603
+ };
604
+ TuiHintDirective.prototype.getClientRect = function () {
605
+ return this.el.nativeElement.getBoundingClientRect();
606
+ };
607
+ TuiHintDirective.prototype.toggle = function (show) {
608
+ if (show && this.content) {
609
+ this.hintService.add(this);
610
+ }
611
+ else {
612
+ this.hintService.remove(this);
613
+ }
614
+ };
615
+ return TuiHintDirective;
616
+ }());
617
+ TuiHintDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintDirective, deps: [{ token: i0.ElementRef }, { token: i1.PolymorpheusComponent }, { token: i2.TuiHintService }, { token: TUI_HINT_OPTIONS }, { token: i3.TuiActiveZoneDirective, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
618
+ TuiHintDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintDirective, selector: "[tuiHint]:not(ng-container):not(ng-template)", inputs: { content: ["tuiHint", "content"], context: ["tuiHintContext", "context"], tuiHintAppearance: "tuiHintAppearance" }, providers: [
619
+ i1$1.tuiAsRectAccessor(TuiHintDirective),
620
+ i1$1.tuiAsVehicle(TuiHintDirective),
621
+ {
622
+ provide: i1.PolymorpheusComponent,
623
+ deps: [TUI_HINT_COMPONENT, i0.INJECTOR],
624
+ useClass: i1.PolymorpheusComponent,
625
+ },
626
+ ], usesOnChanges: true, ngImport: i0__namespace });
627
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintDirective, decorators: [{
628
+ type: i0.Directive,
629
+ args: [{
630
+ selector: '[tuiHint]:not(ng-container):not(ng-template)',
631
+ providers: [
632
+ i1$1.tuiAsRectAccessor(TuiHintDirective),
633
+ i1$1.tuiAsVehicle(TuiHintDirective),
634
+ {
635
+ provide: i1.PolymorpheusComponent,
636
+ deps: [TUI_HINT_COMPONENT, i0.INJECTOR],
637
+ useClass: i1.PolymorpheusComponent,
638
+ },
639
+ ],
640
+ }]
641
+ }], ctorParameters: function () {
642
+ return [{ type: i0__namespace.ElementRef, decorators: [{
643
+ type: i0.Inject,
644
+ args: [i0.ElementRef]
645
+ }] }, { type: i1__namespace.PolymorpheusComponent, decorators: [{
646
+ type: i0.Inject,
647
+ args: [i1.PolymorpheusComponent]
648
+ }] }, { type: i2__namespace.TuiHintService, decorators: [{
649
+ type: i0.Inject,
650
+ args: [i2.TuiHintService]
651
+ }] }, { type: undefined, decorators: [{
652
+ type: i0.Inject,
653
+ args: [TUI_HINT_OPTIONS]
654
+ }] }, { type: i3__namespace.TuiActiveZoneDirective, decorators: [{
655
+ type: i0.Optional
656
+ }, {
657
+ type: i0.Inject,
658
+ args: [i3.TuiActiveZoneDirective]
659
+ }] }];
660
+ }, propDecorators: { content: [{
661
+ type: i0.Input,
662
+ args: ['tuiHint']
663
+ }], context: [{
664
+ type: i0.Input,
665
+ args: ['tuiHintContext']
666
+ }], tuiHintAppearance: [{
667
+ type: i0.Input
668
+ }] } });
523
669
 
524
- var TuiHintHoverDirective = /** @class */ (function (_super) {
525
- __extends(TuiHintHoverDirective, _super);
526
- function TuiHintHoverDirective(hovered$, options, el, parent) {
527
- var _this = _super.call(this, function (subscriber) { return _this.stream$.subscribe(subscriber); }) || this;
528
- _this.hovered$ = hovered$;
529
- _this.options = options;
530
- _this.el = el;
531
- _this.parent = parent;
532
- _this.visible = false;
533
- _this.toggle$ = new i2$1.Subject();
534
- _this.stream$ = i2$1.merge(_this.toggle$.pipe(operators.switchMap(function (visible) { return i2$1.of(visible).pipe(operators.delay(visible ? 0 : _this.hideDelay)); }), operators.takeUntil(_this.hovered$), operators.repeat()), _this.hovered$.pipe(operators.switchMap(function (visible) { return i2$1.of(visible).pipe(operators.delay(visible ? _this.showDelay : _this.hideDelay)); }), operators.takeUntil(_this.toggle$), operators.repeat())).pipe(operators.filter(function () { return _this.enabled; }), operators.map(function (value) { return value &&
535
- (_this.el.nativeElement.hasAttribute('tuiHintPointer') ||
536
- !utils.tuiIsObscured(_this.el.nativeElement)); }), operators.tap(function (visible) {
537
- _this.visible = visible;
538
- }));
539
- _this.showDelay = _this.options.showDelay;
540
- _this.hideDelay = _this.options.hideDelay;
541
- _this.type = 'hint';
542
- _this.enabled = true;
543
- return _this;
544
- }
545
- TuiHintHoverDirective.prototype.toggle = function (visible) {
546
- if (visible === void 0) { visible = !this.visible; }
547
- var _a;
548
- this.toggle$.next(visible);
549
- (_a = this.parent) === null || _a === void 0 ? void 0 : _a.toggle(visible);
550
- };
551
- return TuiHintHoverDirective;
552
- }(i1$1.TuiDriver));
553
- TuiHintHoverDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintHoverDirective, deps: [{ token: i3.TuiHoveredService }, { token: TUI_HINT_OPTIONS }, { token: i0.ElementRef }, { token: TuiHintHoverDirective, optional: true, skipSelf: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
554
- TuiHintHoverDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintHoverDirective, selector: "[tuiHint]:not(ng-container):not(ng-template)", inputs: { showDelay: ["tuiHintShowDelay", "showDelay"], hideDelay: ["tuiHintHideDelay", "hideDelay"] }, providers: [i1$1.tuiAsDriver(TuiHintHoverDirective), i3.TuiHoveredService], exportAs: ["tuiHintHover"], usesInheritance: true, ngImport: i0__namespace });
555
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintHoverDirective, decorators: [{
556
- type: i0.Directive,
557
- args: [{
558
- selector: '[tuiHint]:not(ng-container):not(ng-template)',
559
- providers: [i1$1.tuiAsDriver(TuiHintHoverDirective), i3.TuiHoveredService],
560
- exportAs: 'tuiHintHover',
561
- }]
562
- }], ctorParameters: function () {
563
- return [{ type: i2__namespace$1.Observable, decorators: [{
564
- type: i0.Inject,
565
- args: [i3.TuiHoveredService]
566
- }] }, { type: undefined, decorators: [{
567
- type: i0.Inject,
568
- args: [TUI_HINT_OPTIONS]
569
- }] }, { type: i0__namespace.ElementRef, decorators: [{
570
- type: i0.Inject,
571
- args: [i0.ElementRef]
572
- }] }, { type: TuiHintHoverDirective, decorators: [{
573
- type: i0.Optional
574
- }, {
575
- type: i0.SkipSelf
576
- }, {
577
- type: i0.Inject,
578
- args: [TuiHintHoverDirective]
579
- }] }];
580
- }, propDecorators: { showDelay: [{
581
- type: i0.Input,
582
- args: ['tuiHintShowDelay']
583
- }], hideDelay: [{
584
- type: i0.Input,
585
- args: ['tuiHintHideDelay']
586
- }] } });
670
+ var TuiHintHoverDirective = /** @class */ (function (_super) {
671
+ __extends(TuiHintHoverDirective, _super);
672
+ function TuiHintHoverDirective(hovered$, options, el, parent) {
673
+ var _this = _super.call(this, function (subscriber) { return _this.stream$.subscribe(subscriber); }) || this;
674
+ _this.hovered$ = hovered$;
675
+ _this.options = options;
676
+ _this.el = el;
677
+ _this.parent = parent;
678
+ _this.visible = false;
679
+ _this.toggle$ = new i2$1.Subject();
680
+ _this.stream$ = i2$1.merge(_this.toggle$.pipe(operators.switchMap(function (visible) { return i2$1.of(visible).pipe(operators.delay(visible ? 0 : _this.hideDelay)); }), operators.takeUntil(_this.hovered$), operators.repeat()), _this.hovered$.pipe(operators.switchMap(function (visible) { return i2$1.of(visible).pipe(operators.delay(visible ? _this.showDelay : _this.hideDelay)); }), operators.takeUntil(_this.toggle$), operators.repeat())).pipe(operators.filter(function () { return _this.enabled; }), operators.map(function (value) { return value &&
681
+ (_this.el.nativeElement.hasAttribute('tuiHintPointer') ||
682
+ !utils.tuiIsObscured(_this.el.nativeElement)); }), operators.tap(function (visible) {
683
+ _this.visible = visible;
684
+ }));
685
+ _this.showDelay = _this.options.showDelay;
686
+ _this.hideDelay = _this.options.hideDelay;
687
+ _this.type = 'hint';
688
+ _this.enabled = true;
689
+ return _this;
690
+ }
691
+ TuiHintHoverDirective.prototype.toggle = function (visible) {
692
+ if (visible === void 0) { visible = !this.visible; }
693
+ var _a;
694
+ this.toggle$.next(visible);
695
+ (_a = this.parent) === null || _a === void 0 ? void 0 : _a.toggle(visible);
696
+ };
697
+ return TuiHintHoverDirective;
698
+ }(i1$1.TuiDriver));
699
+ TuiHintHoverDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintHoverDirective, deps: [{ token: i3.TuiHoveredService }, { token: TUI_HINT_OPTIONS }, { token: i0.ElementRef }, { token: TuiHintHoverDirective, optional: true, skipSelf: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
700
+ TuiHintHoverDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintHoverDirective, selector: "[tuiHint]:not(ng-container):not(ng-template)", inputs: { showDelay: ["tuiHintShowDelay", "showDelay"], hideDelay: ["tuiHintHideDelay", "hideDelay"] }, providers: [i1$1.tuiAsDriver(TuiHintHoverDirective), i3.TuiHoveredService], exportAs: ["tuiHintHover"], usesInheritance: true, ngImport: i0__namespace });
701
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintHoverDirective, decorators: [{
702
+ type: i0.Directive,
703
+ args: [{
704
+ selector: '[tuiHint]:not(ng-container):not(ng-template)',
705
+ providers: [i1$1.tuiAsDriver(TuiHintHoverDirective), i3.TuiHoveredService],
706
+ exportAs: 'tuiHintHover',
707
+ }]
708
+ }], ctorParameters: function () {
709
+ return [{ type: i2__namespace$1.Observable, decorators: [{
710
+ type: i0.Inject,
711
+ args: [i3.TuiHoveredService]
712
+ }] }, { type: undefined, decorators: [{
713
+ type: i0.Inject,
714
+ args: [TUI_HINT_OPTIONS]
715
+ }] }, { type: i0__namespace.ElementRef, decorators: [{
716
+ type: i0.Inject,
717
+ args: [i0.ElementRef]
718
+ }] }, { type: TuiHintHoverDirective, decorators: [{
719
+ type: i0.Optional
720
+ }, {
721
+ type: i0.SkipSelf
722
+ }, {
723
+ type: i0.Inject,
724
+ args: [TuiHintHoverDirective]
725
+ }] }];
726
+ }, propDecorators: { showDelay: [{
727
+ type: i0.Input,
728
+ args: ['tuiHintShowDelay']
729
+ }], hideDelay: [{
730
+ type: i0.Input,
731
+ args: ['tuiHintHideDelay']
732
+ }] } });
587
733
 
588
- var TuiHintPointerDirective = /** @class */ (function (_super) {
589
- __extends(TuiHintPointerDirective, _super);
590
- function TuiHintPointerDirective() {
591
- var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
592
- _this.currentRect = i3.EMPTY_CLIENT_RECT;
593
- return _this;
594
- }
595
- TuiHintPointerDirective.prototype.onMove = function (_a) {
596
- var clientX = _a.clientX, clientY = _a.clientY;
597
- this.currentRect = i3.tuiPointToClientRect(clientX, clientY);
598
- };
599
- TuiHintPointerDirective.prototype.getClientRect = function () {
600
- return this.currentRect;
601
- };
602
- return TuiHintPointerDirective;
603
- }(TuiHintHoverDirective));
604
- TuiHintPointerDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintPointerDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
605
- TuiHintPointerDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintPointerDirective, selector: "[tuiHint][tuiHintPointer]", host: { listeners: { "mousemove.silent": "onMove($event)" } }, providers: [
606
- i1$1.tuiAsRectAccessor(TuiHintPointerDirective),
607
- i1$1.tuiAsDriver(TuiHintPointerDirective),
608
- ], usesInheritance: true, ngImport: i0__namespace });
609
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintPointerDirective, decorators: [{
610
- type: i0.Directive,
611
- args: [{
612
- selector: '[tuiHint][tuiHintPointer]',
613
- providers: [
614
- i1$1.tuiAsRectAccessor(TuiHintPointerDirective),
615
- i1$1.tuiAsDriver(TuiHintPointerDirective),
616
- ],
617
- }]
618
- }], propDecorators: { onMove: [{
619
- type: i0.HostListener,
620
- args: ['mousemove.silent', ['$event']]
621
- }] } });
734
+ var TuiHintPointerDirective = /** @class */ (function (_super) {
735
+ __extends(TuiHintPointerDirective, _super);
736
+ function TuiHintPointerDirective() {
737
+ var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
738
+ _this.currentRect = i3.EMPTY_CLIENT_RECT;
739
+ return _this;
740
+ }
741
+ TuiHintPointerDirective.prototype.onMove = function (_a) {
742
+ var clientX = _a.clientX, clientY = _a.clientY;
743
+ this.currentRect = i3.tuiPointToClientRect(clientX, clientY);
744
+ };
745
+ TuiHintPointerDirective.prototype.getClientRect = function () {
746
+ return this.currentRect;
747
+ };
748
+ return TuiHintPointerDirective;
749
+ }(TuiHintHoverDirective));
750
+ TuiHintPointerDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintPointerDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
751
+ TuiHintPointerDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintPointerDirective, selector: "[tuiHint][tuiHintPointer]", host: { listeners: { "mousemove.silent": "onMove($event)" } }, providers: [
752
+ i1$1.tuiAsRectAccessor(TuiHintPointerDirective),
753
+ i1$1.tuiAsDriver(TuiHintPointerDirective),
754
+ ], usesInheritance: true, ngImport: i0__namespace });
755
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintPointerDirective, decorators: [{
756
+ type: i0.Directive,
757
+ args: [{
758
+ selector: '[tuiHint][tuiHintPointer]',
759
+ providers: [
760
+ i1$1.tuiAsRectAccessor(TuiHintPointerDirective),
761
+ i1$1.tuiAsDriver(TuiHintPointerDirective),
762
+ ],
763
+ }]
764
+ }], propDecorators: { onMove: [{
765
+ type: i0.HostListener,
766
+ args: ['mousemove.silent', ['$event']]
767
+ }] } });
622
768
 
623
- var OFFSET = 8;
624
- var ARROW_OFFSET = 22;
625
- var TOP = 0;
626
- var LEFT = 1;
627
- var TuiHintPositionDirective = /** @class */ (function (_super) {
628
- __extends(TuiHintPositionDirective, _super);
629
- function TuiHintPositionDirective(options, viewport, directive, accessors) {
630
- var _this = _super.call(this) || this;
631
- _this.options = options;
632
- _this.viewport = viewport;
633
- _this.directive = directive;
634
- _this.accessors = accessors;
635
- _this.points = constants.TUI_HINT_DIRECTIONS.reduce(function (acc, direction) {
636
- var _c;
637
- return (Object.assign(Object.assign({}, acc), (_c = {}, _c[direction] = [0, 0], _c)));
638
- }, {});
639
- _this.direction = _this.options.direction;
640
- _this.type = 'hint';
641
- return _this;
642
- }
643
- TuiHintPositionDirective.prototype.getPosition = function (_c) {
644
- var _this = this;
645
- var width = _c.width, height = _c.height;
646
- var _a, _b;
647
- var hostRect = (_b = (_a = this.accessor) === null || _a === void 0 ? void 0 : _a.getClientRect()) !== null && _b !== void 0 ? _b : i3.EMPTY_CLIENT_RECT;
648
- var leftCenter = hostRect.left + hostRect.width / 2;
649
- var topCenter = hostRect.top + hostRect.height / 2;
650
- this.points['top-left'][TOP] = hostRect.top - height - OFFSET;
651
- this.points['top-left'][LEFT] = leftCenter - width + ARROW_OFFSET;
652
- this.points.top[TOP] = this.points['top-left'][TOP];
653
- this.points.top[LEFT] = leftCenter - width / 2;
654
- this.points['top-right'][TOP] = this.points['top-left'][TOP];
655
- this.points['top-right'][LEFT] = leftCenter - ARROW_OFFSET;
656
- this.points['bottom-left'][TOP] = hostRect.bottom + OFFSET;
657
- this.points['bottom-left'][LEFT] = this.points['top-left'][LEFT];
658
- this.points.bottom[TOP] = this.points['bottom-left'][TOP];
659
- this.points.bottom[LEFT] = this.points.top[LEFT];
660
- this.points['bottom-right'][TOP] = this.points['bottom-left'][TOP];
661
- this.points['bottom-right'][LEFT] = this.points['top-right'][LEFT];
662
- this.points['left-top'][TOP] = topCenter - height + ARROW_OFFSET;
663
- this.points['left-top'][LEFT] = hostRect.left - width - OFFSET;
664
- this.points.left[TOP] = topCenter - height / 2;
665
- this.points.left[LEFT] = this.points['left-top'][LEFT];
666
- this.points['left-bottom'][TOP] = topCenter - ARROW_OFFSET;
667
- this.points['left-bottom'][LEFT] = this.points['left-top'][LEFT];
668
- this.points['right-top'][TOP] = this.points['left-top'][TOP];
669
- this.points['right-top'][LEFT] = hostRect.right + OFFSET;
670
- this.points.right[TOP] = this.points.left[TOP];
671
- this.points.right[LEFT] = this.points['right-top'][LEFT];
672
- this.points['right-bottom'][TOP] = this.points['left-bottom'][TOP];
673
- this.points['right-bottom'][LEFT] = this.points['right-top'][LEFT];
674
- if (this.checkPosition(this.points[this.direction], width, height)) {
675
- return this.points[this.direction];
676
- }
677
- var direction = constants.TUI_HINT_DIRECTIONS.find(function (direction) { return _this.checkPosition(_this.points[direction], width, height); });
678
- return this.points[direction || this.fallback];
679
- };
680
- Object.defineProperty(TuiHintPositionDirective.prototype, "accessor", {
681
- get: function () {
682
- return i1$1.tuiFallbackRectAccessor('hint')(this.accessors, this.directive);
683
- },
684
- enumerable: false,
685
- configurable: true
686
- });
687
- Object.defineProperty(TuiHintPositionDirective.prototype, "fallback", {
688
- get: function () {
689
- return this.points.top[TOP] >
690
- this.viewport.getClientRect().bottom - this.points.bottom[TOP]
691
- ? 'top'
692
- : 'bottom';
693
- },
694
- enumerable: false,
695
- configurable: true
696
- });
697
- TuiHintPositionDirective.prototype.checkPosition = function (_c, width, height) {
698
- var _d = __read(_c, 2), top = _d[0], left = _d[1];
699
- var viewport = this.viewport.getClientRect();
700
- return (top > OFFSET &&
701
- left > OFFSET &&
702
- top + height < viewport.bottom - OFFSET &&
703
- left + width < viewport.right - OFFSET);
704
- };
705
- return TuiHintPositionDirective;
706
- }(i1$1.TuiPositionAccessor));
707
- TuiHintPositionDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintPositionDirective, deps: [{ token: TUI_HINT_OPTIONS }, { token: tokens.TUI_VIEWPORT }, { token: TuiHintDirective }, { token: i1$1.TuiRectAccessor }], target: i0__namespace.ɵɵFactoryTarget.Directive });
708
- TuiHintPositionDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintPositionDirective, selector: "[tuiHint]:not(ng-container):not(ng-template)", inputs: { direction: ["tuiHintDirection", "direction"] }, usesInheritance: true, ngImport: i0__namespace });
709
- __decorate([
710
- i3.tuiPure
711
- ], TuiHintPositionDirective.prototype, "accessor", null);
712
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintPositionDirective, decorators: [{
713
- type: i0.Directive,
714
- args: [{
715
- selector: '[tuiHint]:not(ng-container):not(ng-template)',
716
- }]
717
- }], ctorParameters: function () {
718
- return [{ type: undefined, decorators: [{
719
- type: i0.Inject,
720
- args: [TUI_HINT_OPTIONS]
721
- }] }, { type: i1__namespace$1.TuiRectAccessor, decorators: [{
722
- type: i0.Inject,
723
- args: [tokens.TUI_VIEWPORT]
724
- }] }, { type: i1__namespace$1.TuiRectAccessor, decorators: [{
725
- type: i0.Inject,
726
- args: [TuiHintDirective]
727
- }] }, { type: undefined, decorators: [{
728
- type: i0.Inject,
729
- args: [i1$1.TuiRectAccessor]
730
- }] }];
731
- }, propDecorators: { direction: [{
732
- type: i0.Input,
733
- args: ['tuiHintDirection']
734
- }], accessor: [] } });
769
+ var OFFSET = 8;
770
+ var ARROW_OFFSET = 22;
771
+ var TOP = 0;
772
+ var LEFT = 1;
773
+ var TuiHintPositionDirective = /** @class */ (function (_super) {
774
+ __extends(TuiHintPositionDirective, _super);
775
+ function TuiHintPositionDirective(options, viewport, directive, accessors) {
776
+ var _this = _super.call(this) || this;
777
+ _this.options = options;
778
+ _this.viewport = viewport;
779
+ _this.directive = directive;
780
+ _this.accessors = accessors;
781
+ _this.points = constants.TUI_HINT_DIRECTIONS.reduce(function (acc, direction) {
782
+ var _c;
783
+ return (Object.assign(Object.assign({}, acc), (_c = {}, _c[direction] = [0, 0], _c)));
784
+ }, {});
785
+ _this.direction = _this.options.direction;
786
+ _this.type = 'hint';
787
+ return _this;
788
+ }
789
+ TuiHintPositionDirective.prototype.getPosition = function (_c) {
790
+ var _this = this;
791
+ var width = _c.width, height = _c.height;
792
+ var _a, _b;
793
+ var hostRect = (_b = (_a = this.accessor) === null || _a === void 0 ? void 0 : _a.getClientRect()) !== null && _b !== void 0 ? _b : i3.EMPTY_CLIENT_RECT;
794
+ var leftCenter = hostRect.left + hostRect.width / 2;
795
+ var topCenter = hostRect.top + hostRect.height / 2;
796
+ this.points['top-left'][TOP] = hostRect.top - height - OFFSET;
797
+ this.points['top-left'][LEFT] = leftCenter - width + ARROW_OFFSET;
798
+ this.points.top[TOP] = this.points['top-left'][TOP];
799
+ this.points.top[LEFT] = leftCenter - width / 2;
800
+ this.points['top-right'][TOP] = this.points['top-left'][TOP];
801
+ this.points['top-right'][LEFT] = leftCenter - ARROW_OFFSET;
802
+ this.points['bottom-left'][TOP] = hostRect.bottom + OFFSET;
803
+ this.points['bottom-left'][LEFT] = this.points['top-left'][LEFT];
804
+ this.points.bottom[TOP] = this.points['bottom-left'][TOP];
805
+ this.points.bottom[LEFT] = this.points.top[LEFT];
806
+ this.points['bottom-right'][TOP] = this.points['bottom-left'][TOP];
807
+ this.points['bottom-right'][LEFT] = this.points['top-right'][LEFT];
808
+ this.points['left-top'][TOP] = topCenter - height + ARROW_OFFSET;
809
+ this.points['left-top'][LEFT] = hostRect.left - width - OFFSET;
810
+ this.points.left[TOP] = topCenter - height / 2;
811
+ this.points.left[LEFT] = this.points['left-top'][LEFT];
812
+ this.points['left-bottom'][TOP] = topCenter - ARROW_OFFSET;
813
+ this.points['left-bottom'][LEFT] = this.points['left-top'][LEFT];
814
+ this.points['right-top'][TOP] = this.points['left-top'][TOP];
815
+ this.points['right-top'][LEFT] = hostRect.right + OFFSET;
816
+ this.points.right[TOP] = this.points.left[TOP];
817
+ this.points.right[LEFT] = this.points['right-top'][LEFT];
818
+ this.points['right-bottom'][TOP] = this.points['left-bottom'][TOP];
819
+ this.points['right-bottom'][LEFT] = this.points['right-top'][LEFT];
820
+ if (this.checkPosition(this.points[this.direction], width, height)) {
821
+ return this.points[this.direction];
822
+ }
823
+ var direction = constants.TUI_HINT_DIRECTIONS.find(function (direction) { return _this.checkPosition(_this.points[direction], width, height); });
824
+ return this.points[direction || this.fallback];
825
+ };
826
+ Object.defineProperty(TuiHintPositionDirective.prototype, "accessor", {
827
+ get: function () {
828
+ return i1$1.tuiFallbackRectAccessor('hint')(this.accessors, this.directive);
829
+ },
830
+ enumerable: false,
831
+ configurable: true
832
+ });
833
+ Object.defineProperty(TuiHintPositionDirective.prototype, "fallback", {
834
+ get: function () {
835
+ return this.points.top[TOP] >
836
+ this.viewport.getClientRect().bottom - this.points.bottom[TOP]
837
+ ? 'top'
838
+ : 'bottom';
839
+ },
840
+ enumerable: false,
841
+ configurable: true
842
+ });
843
+ TuiHintPositionDirective.prototype.checkPosition = function (_c, width, height) {
844
+ var _d = __read(_c, 2), top = _d[0], left = _d[1];
845
+ var viewport = this.viewport.getClientRect();
846
+ return (top > OFFSET &&
847
+ left > OFFSET &&
848
+ top + height < viewport.bottom - OFFSET &&
849
+ left + width < viewport.right - OFFSET);
850
+ };
851
+ return TuiHintPositionDirective;
852
+ }(i1$1.TuiPositionAccessor));
853
+ TuiHintPositionDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintPositionDirective, deps: [{ token: TUI_HINT_OPTIONS }, { token: tokens.TUI_VIEWPORT }, { token: TuiHintDirective }, { token: i1$1.TuiRectAccessor }], target: i0__namespace.ɵɵFactoryTarget.Directive });
854
+ TuiHintPositionDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintPositionDirective, selector: "[tuiHint]:not(ng-container):not(ng-template)", inputs: { direction: ["tuiHintDirection", "direction"] }, usesInheritance: true, ngImport: i0__namespace });
855
+ __decorate([
856
+ i3.tuiPure
857
+ ], TuiHintPositionDirective.prototype, "accessor", null);
858
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintPositionDirective, decorators: [{
859
+ type: i0.Directive,
860
+ args: [{
861
+ selector: '[tuiHint]:not(ng-container):not(ng-template)',
862
+ }]
863
+ }], ctorParameters: function () {
864
+ return [{ type: undefined, decorators: [{
865
+ type: i0.Inject,
866
+ args: [TUI_HINT_OPTIONS]
867
+ }] }, { type: i1__namespace$1.TuiRectAccessor, decorators: [{
868
+ type: i0.Inject,
869
+ args: [tokens.TUI_VIEWPORT]
870
+ }] }, { type: i1__namespace$1.TuiRectAccessor, decorators: [{
871
+ type: i0.Inject,
872
+ args: [TuiHintDirective]
873
+ }] }, { type: undefined, decorators: [{
874
+ type: i0.Inject,
875
+ args: [i1$1.TuiRectAccessor]
876
+ }] }];
877
+ }, propDecorators: { direction: [{
878
+ type: i0.Input,
879
+ args: ['tuiHintDirection']
880
+ }], accessor: [] } });
735
881
 
736
- var GAP = 4;
737
- var TuiHintComponent = /** @class */ (function () {
738
- function TuiHintComponent(hovered$, position$, destroy$, animation, pointer, accessor, el, polymorpheus, hover, mode, vvs, viewport) {
739
- var _this = this;
740
- var _a;
741
- this.animation = animation;
742
- this.pointer = pointer;
743
- this.accessor = accessor;
744
- this.el = el;
745
- this.polymorpheus = polymorpheus;
746
- this.hover = hover;
747
- this.mode = mode;
748
- this.vvs = vvs;
749
- this.viewport = viewport;
750
- this.appearance = this.polymorpheus.$implicit.appearance || ((_a = this.mode) === null || _a === void 0 ? void 0 : _a.mode);
751
- position$
752
- .pipe(operators.map(function (point) { return _this.vvs.correct(point); }), operators.takeUntil(destroy$))
753
- .subscribe(function (_b) {
754
- var _c = __read(_b, 2), top = _c[0], left = _c[1];
755
- _this.update(top, left);
756
- });
757
- hovered$.pipe(operators.takeUntil(destroy$)).subscribe(function (hover) { return _this.hover.toggle(hover); });
758
- }
759
- Object.defineProperty(TuiHintComponent.prototype, "content", {
760
- get: function () {
761
- return this.polymorpheus.$implicit.content;
762
- },
763
- enumerable: false,
764
- configurable: true
765
- });
766
- Object.defineProperty(TuiHintComponent.prototype, "context", {
767
- get: function () {
768
- return this.polymorpheus.$implicit.context;
769
- },
770
- enumerable: false,
771
- configurable: true
772
- });
773
- TuiHintComponent.prototype.onClick = function (target) {
774
- if ((!this.el.nativeElement.contains(target) &&
775
- !this.hover.el.nativeElement.contains(target)) ||
776
- utils.tuiIsObscured(this.hover.el.nativeElement)) {
777
- this.hover.toggle(false);
778
- }
779
- };
780
- TuiHintComponent.prototype.update = function (top, left) {
781
- var _b = this.el.nativeElement.getBoundingClientRect(), height = _b.height, width = _b.width;
782
- var style = this.el.nativeElement.style;
783
- var rect = this.accessor.getClientRect();
784
- var viewport = this.viewport.getClientRect();
785
- if (rect === i3.EMPTY_CLIENT_RECT) {
786
- return;
787
- }
788
- var safeLeft = i3.tuiClamp(left, GAP, viewport.width - width - GAP);
789
- var _c = __read(this.vvs.correct([
790
- rect.top + rect.height / 2 - top,
791
- rect.left + rect.width / 2 - safeLeft,
792
- ]), 2), beakTop = _c[0], beakLeft = _c[1];
793
- style.top = i3.tuiPx(top);
794
- style.left = i3.tuiPx(safeLeft);
795
- style.setProperty('--top', i3.tuiPx(i3.tuiClamp(beakTop, 0.5, height - 1)));
796
- style.setProperty('--left', i3.tuiPx(i3.tuiClamp(beakLeft, 0.5, width - 1)));
797
- };
798
- return TuiHintComponent;
799
- }());
800
- TuiHintComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintComponent, deps: [{ token: i3.TuiHoveredService }, { token: i2.TuiPositionService }, { token: i3.TuiDestroyService, self: true }, { token: tokens.TUI_ANIMATION_OPTIONS }, { token: TuiHintPointerDirective, optional: true }, { token: i1$1.TuiRectAccessor }, { token: i0.ElementRef }, { token: i1.POLYMORPHEUS_CONTEXT }, { token: TuiHintHoverDirective }, { token: i5.TuiModeDirective, optional: true }, { token: i2.TuiVisualViewportService }, { token: tokens.TUI_VIEWPORT }], target: i0__namespace.ɵɵFactoryTarget.Component });
801
- TuiHintComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintComponent, selector: "tui-hint", host: { listeners: { "document:click": "onClick($event.target)" }, properties: { "@tuiFadeIn": "animation", "class._untouchable": "pointer", "attr.data-appearance": "this.appearance" } }, providers: [
802
- i3.TuiDestroyService,
803
- i2.TuiPositionService,
804
- i3.TuiHoveredService,
805
- i1$1.tuiPositionAccessorFor('hint', TuiHintPositionDirective),
806
- i1$1.tuiRectAccessorFor('hint', TuiHintDirective),
807
- ], ngImport: i0__namespace, template: "\n <ng-content></ng-content>\n <span\n *polymorpheusOutlet=\"content as text; context: context\"\n [innerHTML]=\"text\"\n ></span>\n ", isInline: true, styles: [":host{position:absolute;max-width:18rem;min-height:var(--tui-height-m);padding:.75rem 1rem;background:var(--tui-primary);border-radius:var(--tui-radius-l);color:var(--tui-primary-text);box-sizing:border-box;font:var(--tui-font-text-s);white-space:pre-line;word-wrap:break-word}:host:before{content:\"\";position:absolute;top:var(--top);left:var(--left);width:.5rem;height:.5rem;border-radius:.125rem;box-sizing:border-box;background:inherit;transform:translate(-50%,-50%) rotate(45deg)}:host[data-appearance=error]{background:var(--tui-error-fill)}:host[data-appearance=onDark]{background:var(--tui-elevation-02);color:var(--tui-text-01);filter:drop-shadow(0 0 .125rem rgba(0,0,0,.16)) drop-shadow(0 1.5rem 1rem rgba(0,0,0,.03)) drop-shadow(0 .75rem .75rem rgba(0,0,0,.04)) drop-shadow(0 .25rem .375rem rgba(0,0,0,.05))}:host:not([style*=\"top\"]){visibility:hidden}:host._untouchable{pointer-events:none}\n"], directives: [{ type: i1__namespace.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], animations: [animations.tuiFadeIn], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
808
- __decorate([
809
- i3.tuiPure
810
- ], TuiHintComponent.prototype, "update", null);
811
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintComponent, decorators: [{
812
- type: i0.Component,
813
- args: [{
814
- selector: 'tui-hint',
815
- template: "\n <ng-content></ng-content>\n <span\n *polymorpheusOutlet=\"content as text; context: context\"\n [innerHTML]=\"text\"\n ></span>\n ",
816
- styleUrls: ['./hint.style.less'],
817
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
818
- providers: [
819
- i3.TuiDestroyService,
820
- i2.TuiPositionService,
821
- i3.TuiHoveredService,
822
- i1$1.tuiPositionAccessorFor('hint', TuiHintPositionDirective),
823
- i1$1.tuiRectAccessorFor('hint', TuiHintDirective),
824
- ],
825
- animations: [animations.tuiFadeIn],
826
- host: {
827
- '[@tuiFadeIn]': 'animation',
828
- '[class._untouchable]': 'pointer',
829
- },
830
- }]
831
- }], ctorParameters: function () {
832
- return [{ type: i2__namespace$1.Observable, decorators: [{
833
- type: i0.Inject,
834
- args: [i3.TuiHoveredService]
835
- }] }, { type: i2__namespace$1.Observable, decorators: [{
836
- type: i0.Inject,
837
- args: [i2.TuiPositionService]
838
- }] }, { type: i2__namespace$1.Observable, decorators: [{
839
- type: i0.Self
840
- }, {
841
- type: i0.Inject,
842
- args: [i3.TuiDestroyService]
843
- }] }, { type: undefined, decorators: [{
844
- type: i0.Inject,
845
- args: [tokens.TUI_ANIMATION_OPTIONS]
846
- }] }, { type: undefined, decorators: [{
847
- type: i0.Optional
848
- }, {
849
- type: i0.Inject,
850
- args: [TuiHintPointerDirective]
851
- }] }, { type: i1__namespace$1.TuiRectAccessor, decorators: [{
852
- type: i0.Inject,
853
- args: [i1$1.TuiRectAccessor]
854
- }] }, { type: i0__namespace.ElementRef, decorators: [{
855
- type: i0.Inject,
856
- args: [i0.ElementRef]
857
- }] }, { type: undefined, decorators: [{
858
- type: i0.Inject,
859
- args: [i1.POLYMORPHEUS_CONTEXT]
860
- }] }, { type: TuiHintHoverDirective, decorators: [{
861
- type: i0.Inject,
862
- args: [TuiHintHoverDirective]
863
- }] }, { type: i5__namespace.TuiModeDirective, decorators: [{
864
- type: i0.Optional
865
- }, {
866
- type: i0.Inject,
867
- args: [i5.TuiModeDirective]
868
- }] }, { type: i2__namespace.TuiVisualViewportService, decorators: [{
869
- type: i0.Inject,
870
- args: [i2.TuiVisualViewportService]
871
- }] }, { type: i1__namespace$1.TuiRectAccessor, decorators: [{
872
- type: i0.Inject,
873
- args: [tokens.TUI_VIEWPORT]
874
- }] }];
875
- }, propDecorators: { appearance: [{
876
- type: i0.HostBinding,
877
- args: ['attr.data-appearance']
878
- }], onClick: [{
879
- type: i0.HostListener,
880
- args: ['document:click', ['$event.target']]
881
- }], update: [] } });
882
+ var GAP = 4;
883
+ var TuiHintComponent = /** @class */ (function () {
884
+ function TuiHintComponent(hovered$, position$, destroy$, animation, pointer, accessor, el, polymorpheus, hover, mode, vvs, viewport) {
885
+ var _this = this;
886
+ var _a;
887
+ this.animation = animation;
888
+ this.pointer = pointer;
889
+ this.accessor = accessor;
890
+ this.el = el;
891
+ this.polymorpheus = polymorpheus;
892
+ this.hover = hover;
893
+ this.mode = mode;
894
+ this.vvs = vvs;
895
+ this.viewport = viewport;
896
+ this.appearance = this.polymorpheus.$implicit.appearance || ((_a = this.mode) === null || _a === void 0 ? void 0 : _a.mode);
897
+ position$
898
+ .pipe(operators.map(function (point) { return _this.vvs.correct(point); }), operators.takeUntil(destroy$))
899
+ .subscribe(function (_b) {
900
+ var _c = __read(_b, 2), top = _c[0], left = _c[1];
901
+ _this.update(top, left);
902
+ });
903
+ hovered$.pipe(operators.takeUntil(destroy$)).subscribe(function (hover) { return _this.hover.toggle(hover); });
904
+ }
905
+ Object.defineProperty(TuiHintComponent.prototype, "content", {
906
+ get: function () {
907
+ return this.polymorpheus.$implicit.content;
908
+ },
909
+ enumerable: false,
910
+ configurable: true
911
+ });
912
+ Object.defineProperty(TuiHintComponent.prototype, "context", {
913
+ get: function () {
914
+ return this.polymorpheus.$implicit.context;
915
+ },
916
+ enumerable: false,
917
+ configurable: true
918
+ });
919
+ TuiHintComponent.prototype.onClick = function (target) {
920
+ if ((!this.el.nativeElement.contains(target) &&
921
+ !this.hover.el.nativeElement.contains(target)) ||
922
+ utils.tuiIsObscured(this.hover.el.nativeElement)) {
923
+ this.hover.toggle(false);
924
+ }
925
+ };
926
+ TuiHintComponent.prototype.update = function (top, left) {
927
+ var _b = this.el.nativeElement.getBoundingClientRect(), height = _b.height, width = _b.width;
928
+ var style = this.el.nativeElement.style;
929
+ var rect = this.accessor.getClientRect();
930
+ var viewport = this.viewport.getClientRect();
931
+ if (rect === i3.EMPTY_CLIENT_RECT) {
932
+ return;
933
+ }
934
+ var safeLeft = i3.tuiClamp(left, GAP, viewport.width - width - GAP);
935
+ var _c = __read(this.vvs.correct([
936
+ rect.top + rect.height / 2 - top,
937
+ rect.left + rect.width / 2 - safeLeft,
938
+ ]), 2), beakTop = _c[0], beakLeft = _c[1];
939
+ style.top = i3.tuiPx(top);
940
+ style.left = i3.tuiPx(safeLeft);
941
+ style.setProperty('--top', i3.tuiPx(i3.tuiClamp(beakTop, 0.5, height - 1)));
942
+ style.setProperty('--left', i3.tuiPx(i3.tuiClamp(beakLeft, 0.5, width - 1)));
943
+ };
944
+ return TuiHintComponent;
945
+ }());
946
+ TuiHintComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintComponent, deps: [{ token: i3.TuiHoveredService }, { token: i2.TuiPositionService }, { token: i3.TuiDestroyService, self: true }, { token: tokens.TUI_ANIMATION_OPTIONS }, { token: TuiHintPointerDirective, optional: true }, { token: i1$1.TuiRectAccessor }, { token: i0.ElementRef }, { token: i1.POLYMORPHEUS_CONTEXT }, { token: TuiHintHoverDirective }, { token: i5.TuiModeDirective, optional: true }, { token: i2.TuiVisualViewportService }, { token: tokens.TUI_VIEWPORT }], target: i0__namespace.ɵɵFactoryTarget.Component });
947
+ TuiHintComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintComponent, selector: "tui-hint", host: { listeners: { "document:click": "onClick($event.target)" }, properties: { "@tuiFadeIn": "animation", "class._untouchable": "pointer", "attr.data-appearance": "this.appearance" } }, providers: [
948
+ i3.TuiDestroyService,
949
+ i2.TuiPositionService,
950
+ i3.TuiHoveredService,
951
+ i1$1.tuiPositionAccessorFor('hint', TuiHintPositionDirective),
952
+ i1$1.tuiRectAccessorFor('hint', TuiHintDirective),
953
+ ], ngImport: i0__namespace, template: "\n <ng-content></ng-content>\n <span\n *polymorpheusOutlet=\"content as text; context: context\"\n [innerHTML]=\"text\"\n ></span>\n ", isInline: true, styles: [":host{position:absolute;max-width:18rem;min-height:var(--tui-height-m);padding:.75rem 1rem;background:var(--tui-primary);border-radius:var(--tui-radius-l);color:var(--tui-primary-text);box-sizing:border-box;font:var(--tui-font-text-s);white-space:pre-line;word-wrap:break-word}:host:before{content:\"\";position:absolute;top:var(--top);left:var(--left);width:.5rem;height:.5rem;border-radius:.125rem;box-sizing:border-box;background:inherit;transform:translate(-50%,-50%) rotate(45deg)}:host[data-appearance=error]{background:var(--tui-error-fill)}:host[data-appearance=onDark]{background:var(--tui-elevation-02);color:var(--tui-text-01);filter:drop-shadow(0 0 .125rem rgba(0,0,0,.16)) drop-shadow(0 1.5rem 1rem rgba(0,0,0,.03)) drop-shadow(0 .75rem .75rem rgba(0,0,0,.04)) drop-shadow(0 .25rem .375rem rgba(0,0,0,.05))}:host:not([style*=\"top\"]){visibility:hidden}:host._untouchable{pointer-events:none}\n"], directives: [{ type: i1__namespace.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], animations: [animations.tuiFadeIn], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
954
+ __decorate([
955
+ i3.tuiPure
956
+ ], TuiHintComponent.prototype, "update", null);
957
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintComponent, decorators: [{
958
+ type: i0.Component,
959
+ args: [{
960
+ selector: 'tui-hint',
961
+ template: "\n <ng-content></ng-content>\n <span\n *polymorpheusOutlet=\"content as text; context: context\"\n [innerHTML]=\"text\"\n ></span>\n ",
962
+ styleUrls: ['./hint.style.less'],
963
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
964
+ providers: [
965
+ i3.TuiDestroyService,
966
+ i2.TuiPositionService,
967
+ i3.TuiHoveredService,
968
+ i1$1.tuiPositionAccessorFor('hint', TuiHintPositionDirective),
969
+ i1$1.tuiRectAccessorFor('hint', TuiHintDirective),
970
+ ],
971
+ animations: [animations.tuiFadeIn],
972
+ host: {
973
+ '[@tuiFadeIn]': 'animation',
974
+ '[class._untouchable]': 'pointer',
975
+ },
976
+ }]
977
+ }], ctorParameters: function () {
978
+ return [{ type: i2__namespace$1.Observable, decorators: [{
979
+ type: i0.Inject,
980
+ args: [i3.TuiHoveredService]
981
+ }] }, { type: i2__namespace$1.Observable, decorators: [{
982
+ type: i0.Inject,
983
+ args: [i2.TuiPositionService]
984
+ }] }, { type: i2__namespace$1.Observable, decorators: [{
985
+ type: i0.Self
986
+ }, {
987
+ type: i0.Inject,
988
+ args: [i3.TuiDestroyService]
989
+ }] }, { type: undefined, decorators: [{
990
+ type: i0.Inject,
991
+ args: [tokens.TUI_ANIMATION_OPTIONS]
992
+ }] }, { type: undefined, decorators: [{
993
+ type: i0.Optional
994
+ }, {
995
+ type: i0.Inject,
996
+ args: [TuiHintPointerDirective]
997
+ }] }, { type: i1__namespace$1.TuiRectAccessor, decorators: [{
998
+ type: i0.Inject,
999
+ args: [i1$1.TuiRectAccessor]
1000
+ }] }, { type: i0__namespace.ElementRef, decorators: [{
1001
+ type: i0.Inject,
1002
+ args: [i0.ElementRef]
1003
+ }] }, { type: undefined, decorators: [{
1004
+ type: i0.Inject,
1005
+ args: [i1.POLYMORPHEUS_CONTEXT]
1006
+ }] }, { type: TuiHintHoverDirective, decorators: [{
1007
+ type: i0.Inject,
1008
+ args: [TuiHintHoverDirective]
1009
+ }] }, { type: i5__namespace.TuiModeDirective, decorators: [{
1010
+ type: i0.Optional
1011
+ }, {
1012
+ type: i0.Inject,
1013
+ args: [i5.TuiModeDirective]
1014
+ }] }, { type: i2__namespace.TuiVisualViewportService, decorators: [{
1015
+ type: i0.Inject,
1016
+ args: [i2.TuiVisualViewportService]
1017
+ }] }, { type: i1__namespace$1.TuiRectAccessor, decorators: [{
1018
+ type: i0.Inject,
1019
+ args: [tokens.TUI_VIEWPORT]
1020
+ }] }];
1021
+ }, propDecorators: { appearance: [{
1022
+ type: i0.HostBinding,
1023
+ args: ['attr.data-appearance']
1024
+ }], onClick: [{
1025
+ type: i0.HostListener,
1026
+ args: ['document:click', ['$event.target']]
1027
+ }], update: [] } });
882
1028
 
883
- var TuiHintDescribeDirective = /** @class */ (function (_super) {
884
- __extends(TuiHintDescribeDirective, _super);
885
- function TuiHintDescribeDirective(zone, doc, el) {
886
- var _this = _super.call(this, function (subscriber) { return _this.stream$.subscribe(subscriber); }) || this;
887
- _this.zone = zone;
888
- _this.doc = doc;
889
- _this.el = el;
890
- _this.id$ = new i2$1.ReplaySubject(1);
891
- _this.stream$ = _this.id$.pipe(i3.tuiIfMap(function () { return i3.tuiTypedFromEvent(_this.doc, 'keydown', {
892
- capture: true,
893
- }); }, i3.tuiIsPresent), operators.switchMap(function () { return _this.focused
894
- ? i2$1.of(false)
895
- : i2$1.merge(i3.tuiTypedFromEvent(_this.doc, 'keyup'), i3.tuiTypedFromEvent(_this.element, 'blur')).pipe(operators.map(function () { return _this.focused; })); }), operators.debounce(function (visible) { return (visible ? i2$1.timer(1000) : i2$1.of(null)); }), operators.startWith(false), operators.distinctUntilChanged(), operators.skip(1), i3.tuiZoneOptimized(_this.zone));
896
- _this.tuiHintDescribe = '';
897
- _this.type = 'hint';
898
- return _this;
899
- }
900
- TuiHintDescribeDirective.prototype.ngOnChanges = function () {
901
- this.id$.next(this.tuiHintDescribe);
902
- };
903
- Object.defineProperty(TuiHintDescribeDirective.prototype, "focused", {
904
- get: function () {
905
- return i3.tuiIsNativeFocused(this.element);
906
- },
907
- enumerable: false,
908
- configurable: true
909
- });
910
- Object.defineProperty(TuiHintDescribeDirective.prototype, "element", {
911
- get: function () {
912
- return (this.doc.getElementById(this.tuiHintDescribe || '') || this.el.nativeElement);
913
- },
914
- enumerable: false,
915
- configurable: true
916
- });
917
- return TuiHintDescribeDirective;
918
- }(i1$1.TuiDriver));
919
- TuiHintDescribeDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintDescribeDirective, deps: [{ token: i0.NgZone }, { token: common.DOCUMENT }, { token: i0.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
920
- TuiHintDescribeDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintDescribeDirective, selector: "[tuiHintDescribe]", inputs: { tuiHintDescribe: "tuiHintDescribe" }, providers: [i1$1.tuiAsDriver(TuiHintDescribeDirective)], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace });
921
- __decorate([
922
- i3.tuiPure
923
- ], TuiHintDescribeDirective.prototype, "element", null);
924
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintDescribeDirective, decorators: [{
925
- type: i0.Directive,
926
- args: [{
927
- selector: '[tuiHintDescribe]',
928
- providers: [i1$1.tuiAsDriver(TuiHintDescribeDirective)],
929
- }]
930
- }], ctorParameters: function () {
931
- return [{ type: i0__namespace.NgZone, decorators: [{
932
- type: i0.Inject,
933
- args: [i0.NgZone]
934
- }] }, { type: Document, decorators: [{
935
- type: i0.Inject,
936
- args: [common.DOCUMENT]
937
- }] }, { type: i0__namespace.ElementRef, decorators: [{
938
- type: i0.Inject,
939
- args: [i0.ElementRef]
940
- }] }];
941
- }, propDecorators: { tuiHintDescribe: [{
942
- type: i0.Input
943
- }], element: [] } });
1029
+ var TuiHintDescribeDirective = /** @class */ (function (_super) {
1030
+ __extends(TuiHintDescribeDirective, _super);
1031
+ function TuiHintDescribeDirective(zone, doc, el) {
1032
+ var _this = _super.call(this, function (subscriber) { return _this.stream$.subscribe(subscriber); }) || this;
1033
+ _this.zone = zone;
1034
+ _this.doc = doc;
1035
+ _this.el = el;
1036
+ _this.id$ = new i2$1.ReplaySubject(1);
1037
+ _this.stream$ = _this.id$.pipe(i3.tuiIfMap(function () { return i3.tuiTypedFromEvent(_this.doc, 'keydown', {
1038
+ capture: true,
1039
+ }); }, i3.tuiIsPresent), operators.switchMap(function () { return _this.focused
1040
+ ? i2$1.of(false)
1041
+ : i2$1.merge(i3.tuiTypedFromEvent(_this.doc, 'keyup'), i3.tuiTypedFromEvent(_this.element, 'blur')).pipe(operators.map(function () { return _this.focused; })); }), operators.debounce(function (visible) { return (visible ? i2$1.timer(1000) : i2$1.of(null)); }), operators.startWith(false), operators.distinctUntilChanged(), operators.skip(1), i3.tuiZoneOptimized(_this.zone));
1042
+ _this.tuiHintDescribe = '';
1043
+ _this.type = 'hint';
1044
+ return _this;
1045
+ }
1046
+ TuiHintDescribeDirective.prototype.ngOnChanges = function () {
1047
+ this.id$.next(this.tuiHintDescribe);
1048
+ };
1049
+ Object.defineProperty(TuiHintDescribeDirective.prototype, "focused", {
1050
+ get: function () {
1051
+ return i3.tuiIsNativeFocused(this.element);
1052
+ },
1053
+ enumerable: false,
1054
+ configurable: true
1055
+ });
1056
+ Object.defineProperty(TuiHintDescribeDirective.prototype, "element", {
1057
+ get: function () {
1058
+ return (this.doc.getElementById(this.tuiHintDescribe || '') || this.el.nativeElement);
1059
+ },
1060
+ enumerable: false,
1061
+ configurable: true
1062
+ });
1063
+ return TuiHintDescribeDirective;
1064
+ }(i1$1.TuiDriver));
1065
+ TuiHintDescribeDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintDescribeDirective, deps: [{ token: i0.NgZone }, { token: common.DOCUMENT }, { token: i0.ElementRef }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1066
+ TuiHintDescribeDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintDescribeDirective, selector: "[tuiHintDescribe]", inputs: { tuiHintDescribe: "tuiHintDescribe" }, providers: [i1$1.tuiAsDriver(TuiHintDescribeDirective)], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace });
1067
+ __decorate([
1068
+ i3.tuiPure
1069
+ ], TuiHintDescribeDirective.prototype, "element", null);
1070
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintDescribeDirective, decorators: [{
1071
+ type: i0.Directive,
1072
+ args: [{
1073
+ selector: '[tuiHintDescribe]',
1074
+ providers: [i1$1.tuiAsDriver(TuiHintDescribeDirective)],
1075
+ }]
1076
+ }], ctorParameters: function () {
1077
+ return [{ type: i0__namespace.NgZone, decorators: [{
1078
+ type: i0.Inject,
1079
+ args: [i0.NgZone]
1080
+ }] }, { type: Document, decorators: [{
1081
+ type: i0.Inject,
1082
+ args: [common.DOCUMENT]
1083
+ }] }, { type: i0__namespace.ElementRef, decorators: [{
1084
+ type: i0.Inject,
1085
+ args: [i0.ElementRef]
1086
+ }] }];
1087
+ }, propDecorators: { tuiHintDescribe: [{
1088
+ type: i0.Input
1089
+ }], element: [] } });
944
1090
 
945
- var TuiHintDriverDirective = /** @class */ (function (_super) {
946
- __extends(TuiHintDriverDirective, _super);
947
- // TODO: Figure out why this is necessary under nx test runner
948
- function TuiHintDriverDirective(destroy$, drivers, vehicles) {
949
- var _this = _super.call(this, destroy$, drivers, vehicles) || this;
950
- _this.type = 'hint';
951
- return _this;
952
- }
953
- return TuiHintDriverDirective;
954
- }(i1$1.AbstractTuiDriverDirective));
955
- TuiHintDriverDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintDriverDirective, deps: [{ token: i3.TuiDestroyService, self: true }, { token: i1$1.TuiDriver }, { token: i1$1.TuiVehicle }], target: i0__namespace.ɵɵFactoryTarget.Directive });
956
- TuiHintDriverDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintDriverDirective, selector: "[tuiHint]:not(ng-container):not(ng-template)", providers: [i3.TuiDestroyService], usesInheritance: true, ngImport: i0__namespace });
957
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintDriverDirective, decorators: [{
958
- type: i0.Directive,
959
- args: [{
960
- selector: '[tuiHint]:not(ng-container):not(ng-template)',
961
- providers: [i3.TuiDestroyService],
962
- }]
963
- }], ctorParameters: function () {
964
- return [{ type: i2__namespace$1.Observable, decorators: [{
965
- type: i0.Self
966
- }, {
967
- type: i0.Inject,
968
- args: [i3.TuiDestroyService]
969
- }] }, { type: undefined, decorators: [{
970
- type: i0.Inject,
971
- args: [i1$1.TuiDriver]
972
- }] }, { type: undefined, decorators: [{
973
- type: i0.Inject,
974
- args: [i1$1.TuiVehicle]
975
- }] }];
976
- } });
1091
+ var TuiHintDriverDirective = /** @class */ (function (_super) {
1092
+ __extends(TuiHintDriverDirective, _super);
1093
+ // TODO: Figure out why this is necessary under nx test runner
1094
+ function TuiHintDriverDirective(destroy$, drivers, vehicles) {
1095
+ var _this = _super.call(this, destroy$, drivers, vehicles) || this;
1096
+ _this.type = 'hint';
1097
+ return _this;
1098
+ }
1099
+ return TuiHintDriverDirective;
1100
+ }(i1$1.AbstractTuiDriverDirective));
1101
+ TuiHintDriverDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintDriverDirective, deps: [{ token: i3.TuiDestroyService, self: true }, { token: i1$1.TuiDriver }, { token: i1$1.TuiVehicle }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1102
+ TuiHintDriverDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintDriverDirective, selector: "[tuiHint]:not(ng-container):not(ng-template)", providers: [i3.TuiDestroyService], usesInheritance: true, ngImport: i0__namespace });
1103
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintDriverDirective, decorators: [{
1104
+ type: i0.Directive,
1105
+ args: [{
1106
+ selector: '[tuiHint]:not(ng-container):not(ng-template)',
1107
+ providers: [i3.TuiDestroyService],
1108
+ }]
1109
+ }], ctorParameters: function () {
1110
+ return [{ type: i2__namespace$1.Observable, decorators: [{
1111
+ type: i0.Self
1112
+ }, {
1113
+ type: i0.Inject,
1114
+ args: [i3.TuiDestroyService]
1115
+ }] }, { type: undefined, decorators: [{
1116
+ type: i0.Inject,
1117
+ args: [i1$1.TuiDriver]
1118
+ }] }, { type: undefined, decorators: [{
1119
+ type: i0.Inject,
1120
+ args: [i1$1.TuiVehicle]
1121
+ }] }];
1122
+ } });
977
1123
 
978
- var TuiHintHostDirective = /** @class */ (function (_super) {
979
- __extends(TuiHintHostDirective, _super);
980
- function TuiHintHostDirective() {
981
- var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
982
- _this.type = 'hint';
983
- return _this;
984
- }
985
- TuiHintHostDirective.prototype.getClientRect = function () {
986
- var _a;
987
- return ((_a = this.tuiHintHost) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect()) || i3.EMPTY_CLIENT_RECT;
988
- };
989
- return TuiHintHostDirective;
990
- }(i1$1.TuiRectAccessor));
991
- TuiHintHostDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintHostDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
992
- TuiHintHostDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintHostDirective, selector: "[tuiHint][tuiHintHost]", inputs: { tuiHintHost: "tuiHintHost" }, providers: [i1$1.tuiAsRectAccessor(TuiHintHostDirective)], usesInheritance: true, ngImport: i0__namespace });
993
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintHostDirective, decorators: [{
994
- type: i0.Directive,
995
- args: [{
996
- selector: '[tuiHint][tuiHintHost]',
997
- providers: [i1$1.tuiAsRectAccessor(TuiHintHostDirective)],
998
- }]
999
- }], propDecorators: { tuiHintHost: [{
1000
- type: i0.Input
1001
- }] } });
1124
+ var TuiHintHostDirective = /** @class */ (function (_super) {
1125
+ __extends(TuiHintHostDirective, _super);
1126
+ function TuiHintHostDirective() {
1127
+ var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
1128
+ _this.type = 'hint';
1129
+ return _this;
1130
+ }
1131
+ TuiHintHostDirective.prototype.getClientRect = function () {
1132
+ var _a;
1133
+ return ((_a = this.tuiHintHost) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect()) || i3.EMPTY_CLIENT_RECT;
1134
+ };
1135
+ return TuiHintHostDirective;
1136
+ }(i1$1.TuiRectAccessor));
1137
+ TuiHintHostDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintHostDirective, deps: null, target: i0__namespace.ɵɵFactoryTarget.Directive });
1138
+ TuiHintHostDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintHostDirective, selector: "[tuiHint][tuiHintHost]", inputs: { tuiHintHost: "tuiHintHost" }, providers: [i1$1.tuiAsRectAccessor(TuiHintHostDirective)], usesInheritance: true, ngImport: i0__namespace });
1139
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintHostDirective, decorators: [{
1140
+ type: i0.Directive,
1141
+ args: [{
1142
+ selector: '[tuiHint][tuiHintHost]',
1143
+ providers: [i1$1.tuiAsRectAccessor(TuiHintHostDirective)],
1144
+ }]
1145
+ }], propDecorators: { tuiHintHost: [{
1146
+ type: i0.Input
1147
+ }] } });
1002
1148
 
1003
- var TuiHintManualDirective = /** @class */ (function (_super) {
1004
- __extends(TuiHintManualDirective, _super);
1005
- function TuiHintManualDirective(hover) {
1006
- var _this = _super.call(this, function (subscriber) { return _this.stream$.subscribe(subscriber); }) || this;
1007
- _this.stream$ = new i2$1.BehaviorSubject(false);
1008
- _this.tuiHintManual = false;
1009
- _this.type = 'hint';
1010
- hover.enabled = false;
1011
- return _this;
1012
- }
1013
- TuiHintManualDirective.prototype.ngOnChanges = function () {
1014
- this.stream$.next(this.tuiHintManual);
1015
- };
1016
- return TuiHintManualDirective;
1017
- }(i1$1.TuiDriver));
1018
- TuiHintManualDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintManualDirective, deps: [{ token: TuiHintHoverDirective }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1019
- TuiHintManualDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintManualDirective, selector: "[tuiHint][tuiHintManual]", inputs: { tuiHintManual: "tuiHintManual" }, providers: [i1$1.tuiAsDriver(TuiHintManualDirective)], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace });
1020
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintManualDirective, decorators: [{
1021
- type: i0.Directive,
1022
- args: [{
1023
- selector: '[tuiHint][tuiHintManual]',
1024
- providers: [i1$1.tuiAsDriver(TuiHintManualDirective)],
1025
- }]
1026
- }], ctorParameters: function () {
1027
- return [{ type: TuiHintHoverDirective, decorators: [{
1028
- type: i0.Inject,
1029
- args: [TuiHintHoverDirective]
1030
- }] }];
1031
- }, propDecorators: { tuiHintManual: [{
1032
- type: i0.Input
1033
- }] } });
1149
+ var TuiHintManualDirective = /** @class */ (function (_super) {
1150
+ __extends(TuiHintManualDirective, _super);
1151
+ function TuiHintManualDirective(hover) {
1152
+ var _this = _super.call(this, function (subscriber) { return _this.stream$.subscribe(subscriber); }) || this;
1153
+ _this.stream$ = new i2$1.BehaviorSubject(false);
1154
+ _this.tuiHintManual = false;
1155
+ _this.type = 'hint';
1156
+ hover.enabled = false;
1157
+ return _this;
1158
+ }
1159
+ TuiHintManualDirective.prototype.ngOnChanges = function () {
1160
+ this.stream$.next(this.tuiHintManual);
1161
+ };
1162
+ return TuiHintManualDirective;
1163
+ }(i1$1.TuiDriver));
1164
+ TuiHintManualDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintManualDirective, deps: [{ token: TuiHintHoverDirective }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1165
+ TuiHintManualDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintManualDirective, selector: "[tuiHint][tuiHintManual]", inputs: { tuiHintManual: "tuiHintManual" }, providers: [i1$1.tuiAsDriver(TuiHintManualDirective)], usesInheritance: true, usesOnChanges: true, ngImport: i0__namespace });
1166
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintManualDirective, decorators: [{
1167
+ type: i0.Directive,
1168
+ args: [{
1169
+ selector: '[tuiHint][tuiHintManual]',
1170
+ providers: [i1$1.tuiAsDriver(TuiHintManualDirective)],
1171
+ }]
1172
+ }], ctorParameters: function () {
1173
+ return [{ type: TuiHintHoverDirective, decorators: [{
1174
+ type: i0.Inject,
1175
+ args: [TuiHintHoverDirective]
1176
+ }] }];
1177
+ }, propDecorators: { tuiHintManual: [{
1178
+ type: i0.Input
1179
+ }] } });
1034
1180
 
1035
- var TuiHintUnstyledComponent = /** @class */ (function () {
1036
- function TuiHintUnstyledComponent(context) {
1037
- this.context = context;
1038
- }
1039
- return TuiHintUnstyledComponent;
1040
- }());
1041
- TuiHintUnstyledComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintUnstyledComponent, deps: [{ token: i1.POLYMORPHEUS_CONTEXT }], target: i0__namespace.ɵɵFactoryTarget.Component });
1042
- TuiHintUnstyledComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintUnstyledComponent, selector: "ng-component", host: { properties: { "@tuiParentAnimation": "" } }, ngImport: i0__namespace, template: "\n <ng-container\n *polymorpheusOutlet=\"context.$implicit.content; context: context\"\n ></ng-container>\n ", isInline: true, directives: [{ type: i1__namespace.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], animations: [i3.TUI_PARENT_ANIMATION], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
1043
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintUnstyledComponent, decorators: [{
1044
- type: i0.Component,
1045
- args: [{
1046
- template: "\n <ng-container\n *polymorpheusOutlet=\"context.$implicit.content; context: context\"\n ></ng-container>\n ",
1047
- host: { '[@tuiParentAnimation]': '' },
1048
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
1049
- animations: [i3.TUI_PARENT_ANIMATION],
1050
- }]
1051
- }], ctorParameters: function () {
1052
- return [{ type: undefined, decorators: [{
1053
- type: i0.Inject,
1054
- args: [i1.POLYMORPHEUS_CONTEXT]
1055
- }] }];
1056
- } });
1057
- var TuiHintUnstyledDirective = /** @class */ (function () {
1058
- function TuiHintUnstyledDirective(templateRef, hint) {
1059
- hint.component = new i1.PolymorpheusComponent(TuiHintUnstyledComponent);
1060
- hint.content = templateRef;
1061
- }
1062
- return TuiHintUnstyledDirective;
1063
- }());
1064
- TuiHintUnstyledDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintUnstyledDirective, deps: [{ token: i0.TemplateRef }, { token: TuiHintDirective }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1065
- TuiHintUnstyledDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintUnstyledDirective, selector: "ng-template[tuiHint]", providers: [
1066
- {
1067
- provide: i1.POLYMORPHEUS_CONTEXT,
1068
- useValue: { $implicit: {} },
1069
- },
1070
- ], ngImport: i0__namespace });
1071
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintUnstyledDirective, decorators: [{
1072
- type: i0.Directive,
1073
- args: [{
1074
- selector: 'ng-template[tuiHint]',
1075
- providers: [
1076
- {
1077
- provide: i1.POLYMORPHEUS_CONTEXT,
1078
- useValue: { $implicit: {} },
1079
- },
1080
- ],
1081
- }]
1082
- }], ctorParameters: function () {
1083
- return [{ type: i0__namespace.TemplateRef, decorators: [{
1084
- type: i0.Inject,
1085
- args: [i0.TemplateRef]
1086
- }] }, { type: TuiHintDirective, decorators: [{
1087
- type: i0.Inject,
1088
- args: [TuiHintDirective]
1089
- }] }];
1090
- } });
1181
+ var TuiHintUnstyledComponent = /** @class */ (function () {
1182
+ function TuiHintUnstyledComponent(context) {
1183
+ this.context = context;
1184
+ }
1185
+ return TuiHintUnstyledComponent;
1186
+ }());
1187
+ TuiHintUnstyledComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintUnstyledComponent, deps: [{ token: i1.POLYMORPHEUS_CONTEXT }], target: i0__namespace.ɵɵFactoryTarget.Component });
1188
+ TuiHintUnstyledComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintUnstyledComponent, selector: "ng-component", host: { properties: { "@tuiParentAnimation": "" } }, ngImport: i0__namespace, template: "\n <ng-container\n *polymorpheusOutlet=\"context.$implicit.content; context: context\"\n ></ng-container>\n ", isInline: true, directives: [{ type: i1__namespace.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], animations: [i3.TUI_PARENT_ANIMATION], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
1189
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintUnstyledComponent, decorators: [{
1190
+ type: i0.Component,
1191
+ args: [{
1192
+ template: "\n <ng-container\n *polymorpheusOutlet=\"context.$implicit.content; context: context\"\n ></ng-container>\n ",
1193
+ host: { '[@tuiParentAnimation]': '' },
1194
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
1195
+ animations: [i3.TUI_PARENT_ANIMATION],
1196
+ }]
1197
+ }], ctorParameters: function () {
1198
+ return [{ type: undefined, decorators: [{
1199
+ type: i0.Inject,
1200
+ args: [i1.POLYMORPHEUS_CONTEXT]
1201
+ }] }];
1202
+ } });
1203
+ var TuiHintUnstyledDirective = /** @class */ (function () {
1204
+ function TuiHintUnstyledDirective(templateRef, hint) {
1205
+ hint.component = new i1.PolymorpheusComponent(TuiHintUnstyledComponent);
1206
+ hint.content = templateRef;
1207
+ }
1208
+ return TuiHintUnstyledDirective;
1209
+ }());
1210
+ TuiHintUnstyledDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintUnstyledDirective, deps: [{ token: i0.TemplateRef }, { token: TuiHintDirective }], target: i0__namespace.ɵɵFactoryTarget.Directive });
1211
+ TuiHintUnstyledDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiHintUnstyledDirective, selector: "ng-template[tuiHint]", providers: [
1212
+ {
1213
+ provide: i1.POLYMORPHEUS_CONTEXT,
1214
+ useValue: { $implicit: {} },
1215
+ },
1216
+ ], ngImport: i0__namespace });
1217
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintUnstyledDirective, decorators: [{
1218
+ type: i0.Directive,
1219
+ args: [{
1220
+ selector: 'ng-template[tuiHint]',
1221
+ providers: [
1222
+ {
1223
+ provide: i1.POLYMORPHEUS_CONTEXT,
1224
+ useValue: { $implicit: {} },
1225
+ },
1226
+ ],
1227
+ }]
1228
+ }], ctorParameters: function () {
1229
+ return [{ type: i0__namespace.TemplateRef, decorators: [{
1230
+ type: i0.Inject,
1231
+ args: [i0.TemplateRef]
1232
+ }] }, { type: TuiHintDirective, decorators: [{
1233
+ type: i0.Inject,
1234
+ args: [TuiHintDirective]
1235
+ }] }];
1236
+ } });
1091
1237
 
1092
- var TuiHintModule = /** @class */ (function () {
1093
- function TuiHintModule() {
1094
- }
1095
- return TuiHintModule;
1096
- }());
1097
- TuiHintModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1098
- TuiHintModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintModule, declarations: [TuiHintComponent,
1099
- TuiHintDirective,
1100
- TuiHintDriverDirective,
1101
- TuiHintHostDirective,
1102
- TuiHintHoverDirective,
1103
- TuiHintManualDirective,
1104
- TuiHintPointerDirective,
1105
- TuiHintDescribeDirective,
1106
- TuiHintPositionDirective,
1107
- TuiHintOptionsDirective,
1108
- TuiHintUnstyledComponent,
1109
- TuiHintUnstyledDirective], imports: [common.CommonModule, i1.PolymorpheusModule], exports: [TuiHintComponent,
1110
- TuiHintDirective,
1111
- TuiHintDriverDirective,
1112
- TuiHintHostDirective,
1113
- TuiHintHoverDirective,
1114
- TuiHintManualDirective,
1115
- TuiHintPointerDirective,
1116
- TuiHintDescribeDirective,
1117
- TuiHintPositionDirective,
1118
- TuiHintOptionsDirective,
1119
- TuiHintUnstyledDirective] });
1120
- TuiHintModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintModule, imports: [[common.CommonModule, i1.PolymorpheusModule]] });
1121
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintModule, decorators: [{
1122
- type: i0.NgModule,
1123
- args: [{
1124
- imports: [common.CommonModule, i1.PolymorpheusModule],
1125
- declarations: [
1126
- TuiHintComponent,
1127
- TuiHintDirective,
1128
- TuiHintDriverDirective,
1129
- TuiHintHostDirective,
1130
- TuiHintHoverDirective,
1131
- TuiHintManualDirective,
1132
- TuiHintPointerDirective,
1133
- TuiHintDescribeDirective,
1134
- TuiHintPositionDirective,
1135
- TuiHintOptionsDirective,
1136
- TuiHintUnstyledComponent,
1137
- TuiHintUnstyledDirective,
1138
- ],
1139
- exports: [
1140
- TuiHintComponent,
1141
- TuiHintDirective,
1142
- TuiHintDriverDirective,
1143
- TuiHintHostDirective,
1144
- TuiHintHoverDirective,
1145
- TuiHintManualDirective,
1146
- TuiHintPointerDirective,
1147
- TuiHintDescribeDirective,
1148
- TuiHintPositionDirective,
1149
- TuiHintOptionsDirective,
1150
- TuiHintUnstyledDirective,
1151
- ],
1152
- }]
1153
- }] });
1238
+ var TuiHintModule = /** @class */ (function () {
1239
+ function TuiHintModule() {
1240
+ }
1241
+ return TuiHintModule;
1242
+ }());
1243
+ TuiHintModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
1244
+ TuiHintModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintModule, declarations: [TuiHintComponent,
1245
+ TuiHintDirective,
1246
+ TuiHintDriverDirective,
1247
+ TuiHintHostDirective,
1248
+ TuiHintHoverDirective,
1249
+ TuiHintManualDirective,
1250
+ TuiHintPointerDirective,
1251
+ TuiHintDescribeDirective,
1252
+ TuiHintPositionDirective,
1253
+ TuiHintOptionsDirective,
1254
+ TuiHintUnstyledComponent,
1255
+ TuiHintUnstyledDirective], imports: [common.CommonModule, i1.PolymorpheusModule], exports: [TuiHintComponent,
1256
+ TuiHintDirective,
1257
+ TuiHintDriverDirective,
1258
+ TuiHintHostDirective,
1259
+ TuiHintHoverDirective,
1260
+ TuiHintManualDirective,
1261
+ TuiHintPointerDirective,
1262
+ TuiHintDescribeDirective,
1263
+ TuiHintPositionDirective,
1264
+ TuiHintOptionsDirective,
1265
+ TuiHintUnstyledDirective] });
1266
+ TuiHintModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintModule, imports: [[common.CommonModule, i1.PolymorpheusModule]] });
1267
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiHintModule, decorators: [{
1268
+ type: i0.NgModule,
1269
+ args: [{
1270
+ imports: [common.CommonModule, i1.PolymorpheusModule],
1271
+ declarations: [
1272
+ TuiHintComponent,
1273
+ TuiHintDirective,
1274
+ TuiHintDriverDirective,
1275
+ TuiHintHostDirective,
1276
+ TuiHintHoverDirective,
1277
+ TuiHintManualDirective,
1278
+ TuiHintPointerDirective,
1279
+ TuiHintDescribeDirective,
1280
+ TuiHintPositionDirective,
1281
+ TuiHintOptionsDirective,
1282
+ TuiHintUnstyledComponent,
1283
+ TuiHintUnstyledDirective,
1284
+ ],
1285
+ exports: [
1286
+ TuiHintComponent,
1287
+ TuiHintDirective,
1288
+ TuiHintDriverDirective,
1289
+ TuiHintHostDirective,
1290
+ TuiHintHoverDirective,
1291
+ TuiHintManualDirective,
1292
+ TuiHintPointerDirective,
1293
+ TuiHintDescribeDirective,
1294
+ TuiHintPositionDirective,
1295
+ TuiHintOptionsDirective,
1296
+ TuiHintUnstyledDirective,
1297
+ ],
1298
+ }]
1299
+ }] });
1154
1300
 
1155
- /**
1156
- * Generated bundle index. Do not edit.
1157
- */
1301
+ /**
1302
+ * Generated bundle index. Do not edit.
1303
+ */
1158
1304
 
1159
- exports.TUI_HINT_COMPONENT = TUI_HINT_COMPONENT;
1160
- exports.TUI_HINT_DEFAULT_OPTIONS = TUI_HINT_DEFAULT_OPTIONS;
1161
- exports.TUI_HINT_OPTIONS = TUI_HINT_OPTIONS;
1162
- exports.TuiHintComponent = TuiHintComponent;
1163
- exports.TuiHintDescribeDirective = TuiHintDescribeDirective;
1164
- exports.TuiHintDirective = TuiHintDirective;
1165
- exports.TuiHintDriverDirective = TuiHintDriverDirective;
1166
- exports.TuiHintHostDirective = TuiHintHostDirective;
1167
- exports.TuiHintHoverDirective = TuiHintHoverDirective;
1168
- exports.TuiHintManualDirective = TuiHintManualDirective;
1169
- exports.TuiHintModule = TuiHintModule;
1170
- exports.TuiHintOptionsDirective = TuiHintOptionsDirective;
1171
- exports.TuiHintPointerDirective = TuiHintPointerDirective;
1172
- exports.TuiHintPositionDirective = TuiHintPositionDirective;
1173
- exports.TuiHintUnstyledComponent = TuiHintUnstyledComponent;
1174
- exports.TuiHintUnstyledDirective = TuiHintUnstyledDirective;
1175
- exports.tuiHintOptionsProvider = tuiHintOptionsProvider;
1305
+ exports.TUI_HINT_COMPONENT = TUI_HINT_COMPONENT;
1306
+ exports.TUI_HINT_DEFAULT_OPTIONS = TUI_HINT_DEFAULT_OPTIONS;
1307
+ exports.TUI_HINT_OPTIONS = TUI_HINT_OPTIONS;
1308
+ exports.TuiHintComponent = TuiHintComponent;
1309
+ exports.TuiHintDescribeDirective = TuiHintDescribeDirective;
1310
+ exports.TuiHintDirective = TuiHintDirective;
1311
+ exports.TuiHintDriverDirective = TuiHintDriverDirective;
1312
+ exports.TuiHintHostDirective = TuiHintHostDirective;
1313
+ exports.TuiHintHoverDirective = TuiHintHoverDirective;
1314
+ exports.TuiHintManualDirective = TuiHintManualDirective;
1315
+ exports.TuiHintModule = TuiHintModule;
1316
+ exports.TuiHintOptionsDirective = TuiHintOptionsDirective;
1317
+ exports.TuiHintPointerDirective = TuiHintPointerDirective;
1318
+ exports.TuiHintPositionDirective = TuiHintPositionDirective;
1319
+ exports.TuiHintUnstyledComponent = TuiHintUnstyledComponent;
1320
+ exports.TuiHintUnstyledDirective = TuiHintUnstyledDirective;
1321
+ exports.tuiHintOptionsProvider = tuiHintOptionsProvider;
1176
1322
 
1177
- Object.defineProperty(exports, '__esModule', { value: true });
1323
+ Object.defineProperty(exports, '__esModule', { value: true });
1178
1324
 
1179
1325
  }));
1180
1326
  //# sourceMappingURL=taiga-ui-core-directives-hint.umd.js.map