@taiga-ui/kit 3.0.0-rc.4 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (185) hide show
  1. package/bundles/taiga-ui-kit-components-accordion.umd.js +1 -1
  2. package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
  3. package/bundles/taiga-ui-kit-components-action.umd.js +41 -46
  4. package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
  5. package/bundles/taiga-ui-kit-components-badged-content.umd.js +1 -1
  6. package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
  7. package/bundles/taiga-ui-kit-components-combo-box.umd.js +1 -1
  8. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  9. package/bundles/taiga-ui-kit-components-files.umd.js +1 -1
  10. package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
  11. package/bundles/taiga-ui-kit-components-input-copy.umd.js +2 -2
  12. package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
  13. package/bundles/taiga-ui-kit-components-input-count.umd.js +12 -6
  14. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  15. package/bundles/taiga-ui-kit-components-input-date-range.umd.js +14 -10
  16. package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
  17. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +2 -2
  18. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
  19. package/bundles/taiga-ui-kit-components-input-date.umd.js +2 -2
  20. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  21. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +1 -1
  22. package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
  23. package/bundles/taiga-ui-kit-components-input-month.umd.js +1 -1
  24. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
  25. package/bundles/taiga-ui-kit-components-input-number.umd.js +5 -8
  26. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  27. package/bundles/taiga-ui-kit-components-input-password.umd.js +19 -15
  28. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  29. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +4 -4
  30. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  31. package/bundles/taiga-ui-kit-components-input-phone.umd.js +2 -2
  32. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  33. package/bundles/taiga-ui-kit-components-input-tag.umd.js +68 -59
  34. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  35. package/bundles/taiga-ui-kit-components-input-time.umd.js +1 -1
  36. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  37. package/bundles/taiga-ui-kit-components-input.umd.js +1 -1
  38. package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
  39. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +1 -1
  40. package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
  41. package/bundles/taiga-ui-kit-components-multi-select.umd.js +8 -2
  42. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  43. package/bundles/taiga-ui-kit-components-push.umd.js +670 -0
  44. package/bundles/taiga-ui-kit-components-push.umd.js.map +1 -0
  45. package/bundles/taiga-ui-kit-components-select.umd.js +1 -1
  46. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  47. package/bundles/taiga-ui-kit-components-text-area.umd.js +25 -19
  48. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  49. package/bundles/taiga-ui-kit-components.umd.js +10 -4
  50. package/bundles/taiga-ui-kit-components.umd.js.map +1 -1
  51. package/bundles/taiga-ui-kit-validators.umd.js +2 -2
  52. package/bundles/taiga-ui-kit-validators.umd.js.map +1 -1
  53. package/components/action/action.component.d.ts +2 -4
  54. package/components/action/action.module.d.ts +2 -3
  55. package/components/combo-box/combo-box.directive.d.ts +2 -2
  56. package/components/index.d.ts +1 -0
  57. package/components/input/input.directive.d.ts +2 -2
  58. package/components/input-copy/input-copy.directive.d.ts +2 -2
  59. package/components/input-count/input-count.directive.d.ts +4 -3
  60. package/components/input-date/input-date.directive.d.ts +2 -2
  61. package/components/input-date-range/input-date-range.component.d.ts +3 -4
  62. package/components/input-date-range/input-date-range.directive.d.ts +3 -2
  63. package/components/input-date-time/input-date-time.directive.d.ts +2 -2
  64. package/components/input-month/input-month.directive.d.ts +2 -2
  65. package/components/input-month-range/input-month-range.directive.d.ts +2 -2
  66. package/components/input-number/input-number.directive.d.ts +2 -3
  67. package/components/input-password/input-password.component.d.ts +5 -4
  68. package/components/input-password/input-password.directive.d.ts +2 -2
  69. package/components/input-phone/input-phone.directive.d.ts +2 -2
  70. package/components/input-phone-international/input-phone-international.module.d.ts +1 -1
  71. package/components/input-tag/input-tag.component.d.ts +7 -6
  72. package/components/multi-select/multi-select.component.d.ts +2 -1
  73. package/components/push/index.d.ts +7 -0
  74. package/components/push/package.json +10 -0
  75. package/components/push/push-alert.component.d.ts +19 -0
  76. package/components/push/push-alert.directive.d.ts +12 -0
  77. package/components/push/push.component.d.ts +14 -0
  78. package/components/push/push.directive.d.ts +13 -0
  79. package/components/push/push.module.d.ts +13 -0
  80. package/components/push/push.options.d.ts +10 -0
  81. package/components/push/push.service.d.ts +13 -0
  82. package/components/push/taiga-ui-kit-components-push.d.ts +5 -0
  83. package/components/select/select.directive.d.ts +2 -2
  84. package/components/text-area/text-area.component.d.ts +6 -5
  85. package/components/text-area/text-area.directive.d.ts +2 -2
  86. package/components/text-area/text-area.module.d.ts +1 -1
  87. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +2 -2
  88. package/esm2015/components/action/action.component.js +18 -24
  89. package/esm2015/components/action/action.module.js +1 -5
  90. package/esm2015/components/badged-content/badged-content.component.js +1 -1
  91. package/esm2015/components/combo-box/combo-box.directive.js +3 -3
  92. package/esm2015/components/files/file/file.component.js +3 -3
  93. package/esm2015/components/index.js +2 -1
  94. package/esm2015/components/input/input.directive.js +3 -3
  95. package/esm2015/components/input-copy/input-copy.component.js +2 -2
  96. package/esm2015/components/input-copy/input-copy.directive.js +3 -3
  97. package/esm2015/components/input-count/input-count.component.js +2 -3
  98. package/esm2015/components/input-count/input-count.directive.js +13 -6
  99. package/esm2015/components/input-date/input-date.component.js +2 -2
  100. package/esm2015/components/input-date/input-date.directive.js +3 -3
  101. package/esm2015/components/input-date-range/input-date-range.component.js +9 -10
  102. package/esm2015/components/input-date-range/input-date-range.directive.js +8 -3
  103. package/esm2015/components/input-date-time/input-date-time.component.js +2 -2
  104. package/esm2015/components/input-date-time/input-date-time.directive.js +3 -3
  105. package/esm2015/components/input-month/input-month.directive.js +3 -3
  106. package/esm2015/components/input-month-range/input-month-range.directive.js +3 -3
  107. package/esm2015/components/input-number/input-number.component.js +2 -2
  108. package/esm2015/components/input-number/input-number.directive.js +6 -9
  109. package/esm2015/components/input-password/input-password.component.js +14 -12
  110. package/esm2015/components/input-password/input-password.directive.js +7 -5
  111. package/esm2015/components/input-phone/input-phone.component.js +2 -2
  112. package/esm2015/components/input-phone/input-phone.directive.js +3 -3
  113. package/esm2015/components/input-phone-international/input-phone-international.component.js +2 -2
  114. package/esm2015/components/input-phone-international/input-phone-international.module.js +5 -5
  115. package/esm2015/components/input-tag/input-tag.component.js +32 -19
  116. package/esm2015/components/input-time/input-time.component.js +2 -2
  117. package/esm2015/components/line-clamp/line-clamp.component.js +2 -2
  118. package/esm2015/components/multi-select/multi-select.component.js +9 -3
  119. package/esm2015/components/push/index.js +8 -0
  120. package/esm2015/components/push/push-alert.component.js +49 -0
  121. package/esm2015/components/push/push-alert.directive.js +45 -0
  122. package/esm2015/components/push/push.component.js +52 -0
  123. package/esm2015/components/push/push.directive.js +54 -0
  124. package/esm2015/components/push/push.module.js +73 -0
  125. package/esm2015/components/push/push.options.js +10 -0
  126. package/esm2015/components/push/push.service.js +23 -0
  127. package/esm2015/components/push/taiga-ui-kit-components-push.js +5 -0
  128. package/esm2015/components/select/select.directive.js +3 -3
  129. package/esm2015/components/text-area/text-area.component.js +26 -17
  130. package/esm2015/components/text-area/text-area.directive.js +3 -3
  131. package/esm2015/components/text-area/text-area.module.js +2 -5
  132. package/esm2015/validators/unfinished.validator.js +4 -4
  133. package/fesm2015/taiga-ui-kit-components-accordion.js +1 -1
  134. package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
  135. package/fesm2015/taiga-ui-kit-components-action.js +17 -27
  136. package/fesm2015/taiga-ui-kit-components-action.js.map +1 -1
  137. package/fesm2015/taiga-ui-kit-components-badged-content.js +1 -1
  138. package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
  139. package/fesm2015/taiga-ui-kit-components-combo-box.js +2 -2
  140. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  141. package/fesm2015/taiga-ui-kit-components-files.js +2 -2
  142. package/fesm2015/taiga-ui-kit-components-files.js.map +1 -1
  143. package/fesm2015/taiga-ui-kit-components-input-copy.js +3 -3
  144. package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
  145. package/fesm2015/taiga-ui-kit-components-input-count.js +13 -7
  146. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  147. package/fesm2015/taiga-ui-kit-components-input-date-range.js +14 -10
  148. package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
  149. package/fesm2015/taiga-ui-kit-components-input-date-time.js +3 -3
  150. package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
  151. package/fesm2015/taiga-ui-kit-components-input-date.js +3 -3
  152. package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
  153. package/fesm2015/taiga-ui-kit-components-input-month-range.js +2 -2
  154. package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
  155. package/fesm2015/taiga-ui-kit-components-input-month.js +2 -2
  156. package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
  157. package/fesm2015/taiga-ui-kit-components-input-number.js +6 -9
  158. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  159. package/fesm2015/taiga-ui-kit-components-input-password.js +18 -15
  160. package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
  161. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +5 -5
  162. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  163. package/fesm2015/taiga-ui-kit-components-input-phone.js +3 -3
  164. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
  165. package/fesm2015/taiga-ui-kit-components-input-tag.js +31 -18
  166. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  167. package/fesm2015/taiga-ui-kit-components-input-time.js +1 -1
  168. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  169. package/fesm2015/taiga-ui-kit-components-input.js +2 -2
  170. package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
  171. package/fesm2015/taiga-ui-kit-components-line-clamp.js +1 -1
  172. package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
  173. package/fesm2015/taiga-ui-kit-components-multi-select.js +8 -2
  174. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  175. package/fesm2015/taiga-ui-kit-components-push.js +277 -0
  176. package/fesm2015/taiga-ui-kit-components-push.js.map +1 -0
  177. package/fesm2015/taiga-ui-kit-components-select.js +2 -2
  178. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  179. package/fesm2015/taiga-ui-kit-components-text-area.js +26 -20
  180. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  181. package/fesm2015/taiga-ui-kit-components.js +1 -0
  182. package/fesm2015/taiga-ui-kit-components.js.map +1 -1
  183. package/fesm2015/taiga-ui-kit-validators.js +3 -3
  184. package/fesm2015/taiga-ui-kit-validators.js.map +1 -1
  185. package/package.json +4 -4
@@ -0,0 +1,670 @@
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@taiga-ui/cdk'), require('@taiga-ui/core'), require('@angular/common'), require('rxjs'), require('@tinkoff/ng-polymorpheus'), require('rxjs/operators')) :
3
+ typeof define === 'function' && define.amd ? define('@taiga-ui/kit/components/push', ['exports', '@angular/core', '@taiga-ui/cdk', '@taiga-ui/core', '@angular/common', 'rxjs', '@tinkoff/ng-polymorpheus', 'rxjs/operators'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].kit = global["taiga-ui"].kit || {}, global["taiga-ui"].kit.components = global["taiga-ui"].kit.components || {}, global["taiga-ui"].kit.components.push = {}), global.ng.core, global.cdk, global.i1, global.ng.common, global.rxjs, global.i5, global.rxjs.operators));
5
+ })(this, (function (exports, i0, cdk, i1, i2, i3, i5, operators) { 'use strict';
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
+ });
20
+ }
21
+ n["default"] = e;
22
+ return Object.freeze(n);
23
+ }
24
+
25
+ var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
+ var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
27
+ var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
28
+ var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
29
+ var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
30
+
31
+ /******************************************************************************
32
+ Copyright (c) Microsoft Corporation.
33
+
34
+ Permission to use, copy, modify, and/or distribute this software for any
35
+ purpose with or without fee is hereby granted.
36
+
37
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
38
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
39
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
40
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
41
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
42
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
43
+ PERFORMANCE OF THIS SOFTWARE.
44
+ ***************************************************************************** */
45
+ /* global Reflect, Promise */
46
+ var extendStatics = function (d, b) {
47
+ extendStatics = Object.setPrototypeOf ||
48
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
49
+ function (d, b) { for (var p in b)
50
+ if (Object.prototype.hasOwnProperty.call(b, p))
51
+ d[p] = b[p]; };
52
+ return extendStatics(d, b);
53
+ };
54
+ function __extends(d, b) {
55
+ if (typeof b !== "function" && b !== null)
56
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
57
+ extendStatics(d, b);
58
+ function __() { this.constructor = d; }
59
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
60
+ }
61
+ var __assign = function () {
62
+ __assign = Object.assign || function __assign(t) {
63
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
64
+ s = arguments[i];
65
+ for (var p in s)
66
+ if (Object.prototype.hasOwnProperty.call(s, p))
67
+ t[p] = s[p];
68
+ }
69
+ return t;
70
+ };
71
+ return __assign.apply(this, arguments);
72
+ };
73
+ function __rest(s, e) {
74
+ var t = {};
75
+ for (var p in s)
76
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
77
+ t[p] = s[p];
78
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
79
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
80
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
81
+ t[p[i]] = s[p[i]];
82
+ }
83
+ return t;
84
+ }
85
+ function __decorate(decorators, target, key, desc) {
86
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
87
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
88
+ r = Reflect.decorate(decorators, target, key, desc);
89
+ else
90
+ for (var i = decorators.length - 1; i >= 0; i--)
91
+ if (d = decorators[i])
92
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
93
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
94
+ }
95
+ function __param(paramIndex, decorator) {
96
+ return function (target, key) { decorator(target, key, paramIndex); };
97
+ }
98
+ function __metadata(metadataKey, metadataValue) {
99
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
100
+ return Reflect.metadata(metadataKey, metadataValue);
101
+ }
102
+ function __awaiter(thisArg, _arguments, P, generator) {
103
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
104
+ return new (P || (P = Promise))(function (resolve, reject) {
105
+ function fulfilled(value) { try {
106
+ step(generator.next(value));
107
+ }
108
+ catch (e) {
109
+ reject(e);
110
+ } }
111
+ function rejected(value) { try {
112
+ step(generator["throw"](value));
113
+ }
114
+ catch (e) {
115
+ reject(e);
116
+ } }
117
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
118
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
119
+ });
120
+ }
121
+ function __generator(thisArg, body) {
122
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
123
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
124
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
125
+ function verb(n) { return function (v) { return step([n, v]); }; }
126
+ function step(op) {
127
+ if (f)
128
+ throw new TypeError("Generator is already executing.");
129
+ while (_)
130
+ try {
131
+ 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)
132
+ return t;
133
+ if (y = 0, t)
134
+ op = [op[0] & 2, t.value];
135
+ switch (op[0]) {
136
+ case 0:
137
+ case 1:
138
+ t = op;
139
+ break;
140
+ case 4:
141
+ _.label++;
142
+ return { value: op[1], done: false };
143
+ case 5:
144
+ _.label++;
145
+ y = op[1];
146
+ op = [0];
147
+ continue;
148
+ case 7:
149
+ op = _.ops.pop();
150
+ _.trys.pop();
151
+ continue;
152
+ default:
153
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
154
+ _ = 0;
155
+ continue;
156
+ }
157
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
158
+ _.label = op[1];
159
+ break;
160
+ }
161
+ if (op[0] === 6 && _.label < t[1]) {
162
+ _.label = t[1];
163
+ t = op;
164
+ break;
165
+ }
166
+ if (t && _.label < t[2]) {
167
+ _.label = t[2];
168
+ _.ops.push(op);
169
+ break;
170
+ }
171
+ if (t[2])
172
+ _.ops.pop();
173
+ _.trys.pop();
174
+ continue;
175
+ }
176
+ op = body.call(thisArg, _);
177
+ }
178
+ catch (e) {
179
+ op = [6, e];
180
+ y = 0;
181
+ }
182
+ finally {
183
+ f = t = 0;
184
+ }
185
+ if (op[0] & 5)
186
+ throw op[1];
187
+ return { value: op[0] ? op[1] : void 0, done: true };
188
+ }
189
+ }
190
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
191
+ if (k2 === undefined)
192
+ k2 = k;
193
+ var desc = Object.getOwnPropertyDescriptor(m, k);
194
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
195
+ desc = { enumerable: true, get: function () { return m[k]; } };
196
+ }
197
+ Object.defineProperty(o, k2, desc);
198
+ }) : (function (o, m, k, k2) {
199
+ if (k2 === undefined)
200
+ k2 = k;
201
+ o[k2] = m[k];
202
+ });
203
+ function __exportStar(m, o) {
204
+ for (var p in m)
205
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
206
+ __createBinding(o, m, p);
207
+ }
208
+ function __values(o) {
209
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
210
+ if (m)
211
+ return m.call(o);
212
+ if (o && typeof o.length === "number")
213
+ return {
214
+ next: function () {
215
+ if (o && i >= o.length)
216
+ o = void 0;
217
+ return { value: o && o[i++], done: !o };
218
+ }
219
+ };
220
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
221
+ }
222
+ function __read(o, n) {
223
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
224
+ if (!m)
225
+ return o;
226
+ var i = m.call(o), r, ar = [], e;
227
+ try {
228
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
229
+ ar.push(r.value);
230
+ }
231
+ catch (error) {
232
+ e = { error: error };
233
+ }
234
+ finally {
235
+ try {
236
+ if (r && !r.done && (m = i["return"]))
237
+ m.call(i);
238
+ }
239
+ finally {
240
+ if (e)
241
+ throw e.error;
242
+ }
243
+ }
244
+ return ar;
245
+ }
246
+ /** @deprecated */
247
+ function __spread() {
248
+ for (var ar = [], i = 0; i < arguments.length; i++)
249
+ ar = ar.concat(__read(arguments[i]));
250
+ return ar;
251
+ }
252
+ /** @deprecated */
253
+ function __spreadArrays() {
254
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
255
+ s += arguments[i].length;
256
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
257
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
258
+ r[k] = a[j];
259
+ return r;
260
+ }
261
+ function __spreadArray(to, from, pack) {
262
+ if (pack || arguments.length === 2)
263
+ for (var i = 0, l = from.length, ar; i < l; i++) {
264
+ if (ar || !(i in from)) {
265
+ if (!ar)
266
+ ar = Array.prototype.slice.call(from, 0, i);
267
+ ar[i] = from[i];
268
+ }
269
+ }
270
+ return to.concat(ar || Array.prototype.slice.call(from));
271
+ }
272
+ function __await(v) {
273
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
274
+ }
275
+ function __asyncGenerator(thisArg, _arguments, generator) {
276
+ if (!Symbol.asyncIterator)
277
+ throw new TypeError("Symbol.asyncIterator is not defined.");
278
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
279
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
280
+ function verb(n) { if (g[n])
281
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
282
+ function resume(n, v) { try {
283
+ step(g[n](v));
284
+ }
285
+ catch (e) {
286
+ settle(q[0][3], e);
287
+ } }
288
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
289
+ function fulfill(value) { resume("next", value); }
290
+ function reject(value) { resume("throw", value); }
291
+ function settle(f, v) { if (f(v), q.shift(), q.length)
292
+ resume(q[0][0], q[0][1]); }
293
+ }
294
+ function __asyncDelegator(o) {
295
+ var i, p;
296
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
297
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
298
+ }
299
+ function __asyncValues(o) {
300
+ if (!Symbol.asyncIterator)
301
+ throw new TypeError("Symbol.asyncIterator is not defined.");
302
+ var m = o[Symbol.asyncIterator], i;
303
+ return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
304
+ function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
305
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
306
+ }
307
+ function __makeTemplateObject(cooked, raw) {
308
+ if (Object.defineProperty) {
309
+ Object.defineProperty(cooked, "raw", { value: raw });
310
+ }
311
+ else {
312
+ cooked.raw = raw;
313
+ }
314
+ return cooked;
315
+ }
316
+ ;
317
+ var __setModuleDefault = Object.create ? (function (o, v) {
318
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
319
+ }) : function (o, v) {
320
+ o["default"] = v;
321
+ };
322
+ function __importStar(mod) {
323
+ if (mod && mod.__esModule)
324
+ return mod;
325
+ var result = {};
326
+ if (mod != null)
327
+ for (var k in mod)
328
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
329
+ __createBinding(result, mod, k);
330
+ __setModuleDefault(result, mod);
331
+ return result;
332
+ }
333
+ function __importDefault(mod) {
334
+ return (mod && mod.__esModule) ? mod : { default: mod };
335
+ }
336
+ function __classPrivateFieldGet(receiver, state, kind, f) {
337
+ if (kind === "a" && !f)
338
+ throw new TypeError("Private accessor was defined without a getter");
339
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
340
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
341
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
342
+ }
343
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
344
+ if (kind === "m")
345
+ throw new TypeError("Private method is not writable");
346
+ if (kind === "a" && !f)
347
+ throw new TypeError("Private accessor was defined without a setter");
348
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
349
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
350
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
351
+ }
352
+ function __classPrivateFieldIn(state, receiver) {
353
+ if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
354
+ throw new TypeError("Cannot use 'in' operator on non-object");
355
+ return typeof state === "function" ? receiver === state : state.has(receiver);
356
+ }
357
+
358
+ var TuiPushComponent = /** @class */ (function () {
359
+ function TuiPushComponent(closeWord$) {
360
+ this.closeWord$ = closeWord$;
361
+ this.heading = "";
362
+ this.type = "";
363
+ this.timestamp = 0;
364
+ this.close = new i0.EventEmitter();
365
+ }
366
+ Object.defineProperty(TuiPushComponent.prototype, "closeable", {
367
+ get: function () {
368
+ return cdk.tuiIsObserved(this.close);
369
+ },
370
+ enumerable: false,
371
+ configurable: true
372
+ });
373
+ return TuiPushComponent;
374
+ }());
375
+ TuiPushComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiPushComponent, deps: [{ token: i1.TUI_CLOSE_WORD }], target: i0__namespace.ɵɵFactoryTarget.Component });
376
+ TuiPushComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiPushComponent, selector: "tui-push", inputs: { heading: "heading", type: "type", timestamp: "timestamp" }, outputs: { close: "close" }, ngImport: i0__namespace, template: "<div class=\"t-image\"><ng-content select=\"img\"></ng-content></div>\n<button\n *ngIf=\"closeable\"\n tuiIconButton\n icon=\"tuiIconCloseLarge\"\n size=\"xs\"\n appearance=\"\"\n shape=\"rounded\"\n class=\"t-close\"\n [title]=\"closeWord$ | async\"\n (click)=\"close.emit()\"\n></button>\n<div class=\"t-top\">\n <span class=\"t-icon\"><ng-content select=\"tui-svg\"></ng-content></span>\n {{ type }}\n <span\n *ngIf=\"timestamp\"\n class=\"t-time\"\n [textContent]=\"timestamp | tuiFormatDate | async\"\n ></span>\n</div>\n<h3 class=\"t-heading\">{{ heading }}</h3>\n<div class=\"t-content\">\n <ng-content></ng-content>\n</div>\n<div class=\"t-actions\">\n <span class=\"t-button\"><ng-content select=\"[tuiButton]\"></ng-content></span>\n <span class=\"t-link\"><ng-content select=\"[tuiLink]\"></ng-content></span>\n</div>\n", styles: [":host{box-shadow:0 .25rem 1.5rem rgba(0,0,0,.12);position:relative;display:block;width:22.5rem;max-width:100%;box-sizing:border-box;padding:1.25rem 1.25rem .25rem;overflow:hidden;font:var(--tui-font-text-m);border-radius:var(--tui-radius-l);background:var(--tui-elevation-02)}.t-image{display:flex;flex-direction:column;max-height:10.625rem;overflow:hidden;margin:-1.25rem -1.25rem 1.25rem}.t-close{position:absolute;top:.75rem;right:.75rem;color:rgba(0,0,0,.54);background:rgba(242,242,242,.32);-webkit-backdrop-filter:blur(1rem);backdrop-filter:blur(1rem)}.t-top{display:flex;align-items:center;font:var(--tui-font-text-s);color:var(--tui-text-02)}.t-icon{height:1.25rem;margin-right:.5rem;transform:scale(.833);transform-origin:top left;color:var(--tui-link)}.t-time:before{content:\"\\2022\";display:inline-block;width:1rem;text-align:center}.t-heading{line-height:1.25rem;font-weight:bold;margin:.75rem 0 .25rem}.t-heading,.t-content{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;word-break:break-word;overflow:hidden}.t-actions{display:flex;align-items:center;font:var(--tui-font-text-s)}.t-button:not(:empty){margin:.75rem .75rem .75rem 0}.t-link{margin:.75rem 0}.t-link:empty{margin:.5rem}\n"], components: [{ type: i1__namespace.TuiButtonComponent, selector: "button[tuiButton], button[tuiIconButton], a[tuiButton], a[tuiIconButton]", inputs: ["appearance", "disabled", "icon", "iconRight", "shape", "showLoader", "size"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i2__namespace.AsyncPipe, "tuiFormatDate": i1__namespace.TuiFormatDatePipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
377
+ __decorate([
378
+ cdk.tuiDefaultProp()
379
+ ], TuiPushComponent.prototype, "heading", void 0);
380
+ __decorate([
381
+ cdk.tuiDefaultProp()
382
+ ], TuiPushComponent.prototype, "type", void 0);
383
+ __decorate([
384
+ cdk.tuiDefaultProp()
385
+ ], TuiPushComponent.prototype, "timestamp", void 0);
386
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiPushComponent, decorators: [{
387
+ type: i0.Component,
388
+ args: [{
389
+ selector: "tui-push",
390
+ templateUrl: "./push.template.html",
391
+ styleUrls: ["./push.style.less"],
392
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
393
+ }]
394
+ }], ctorParameters: function () {
395
+ return [{ type: i3__namespace.Observable, decorators: [{
396
+ type: i0.Inject,
397
+ args: [i1.TUI_CLOSE_WORD]
398
+ }] }];
399
+ }, propDecorators: { heading: [{
400
+ type: i0.Input
401
+ }], type: [{
402
+ type: i0.Input
403
+ }], timestamp: [{
404
+ type: i0.Input
405
+ }], close: [{
406
+ type: i0.Output
407
+ }] } });
408
+
409
+ var TuiPushDirective = /** @class */ (function (_super) {
410
+ __extends(TuiPushDirective, _super);
411
+ function TuiPushDirective(modeDirective) {
412
+ var _this = this;
413
+ var _a;
414
+ _this = _super.call(this) || this;
415
+ _this.modeDirective = modeDirective;
416
+ _this.size = "s";
417
+ _this.shape = null;
418
+ _this.change$ = ((_a = _this.modeDirective) === null || _a === void 0 ? void 0 : _a.change$) || new i3.Subject();
419
+ return _this;
420
+ }
421
+ Object.defineProperty(TuiPushDirective.prototype, "appearance", {
422
+ get: function () {
423
+ var _a;
424
+ return ((_a = this.modeDirective) === null || _a === void 0 ? void 0 : _a.mode) === "onDark" ? "accent" : "secondary";
425
+ },
426
+ enumerable: false,
427
+ configurable: true
428
+ });
429
+ return TuiPushDirective;
430
+ }(i1.TuiModeDirective));
431
+ TuiPushDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiPushDirective, deps: [{ token: i1.TuiModeDirective, optional: true, skipSelf: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
432
+ TuiPushDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiPushDirective, selector: "tui-push", providers: [
433
+ {
434
+ provide: i1.TuiModeDirective,
435
+ useExisting: TuiPushDirective,
436
+ },
437
+ {
438
+ provide: i1.TUI_BUTTON_OPTIONS,
439
+ useExisting: TuiPushDirective,
440
+ },
441
+ ], usesInheritance: true, ngImport: i0__namespace });
442
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiPushDirective, decorators: [{
443
+ type: i0.Directive,
444
+ args: [{
445
+ selector: "tui-push",
446
+ providers: [
447
+ {
448
+ provide: i1.TuiModeDirective,
449
+ useExisting: TuiPushDirective,
450
+ },
451
+ {
452
+ provide: i1.TUI_BUTTON_OPTIONS,
453
+ useExisting: TuiPushDirective,
454
+ },
455
+ ],
456
+ }]
457
+ }], ctorParameters: function () {
458
+ return [{ type: i1__namespace.TuiModeDirective, decorators: [{
459
+ type: i0.Optional
460
+ }, {
461
+ type: i0.SkipSelf
462
+ }, {
463
+ type: i0.Inject,
464
+ args: [i1.TuiModeDirective]
465
+ }] }];
466
+ } });
467
+
468
+ var TUI_PUSH_DEFAULT_OPTIONS = {
469
+ heading: "",
470
+ type: "",
471
+ timestamp: 0,
472
+ image: "",
473
+ icon: "",
474
+ iconColor: "",
475
+ buttons: [],
476
+ };
477
+
478
+ var TuiPushAlertDirective = /** @class */ (function (_super) {
479
+ __extends(TuiPushAlertDirective, _super);
480
+ function TuiPushAlertDirective(template, changeDetectorRef, destroy$, push) {
481
+ var _this = _super.call(this, template, changeDetectorRef) || this;
482
+ _this.show$ = new i3.Subject();
483
+ _this.show$
484
+ .pipe(operators.switchMap(function (show) { return (show ? push.open(_this) : i3.EMPTY); }), operators.takeUntil(destroy$))
485
+ .subscribe();
486
+ return _this;
487
+ }
488
+ Object.defineProperty(TuiPushAlertDirective.prototype, "tuiPush", {
489
+ set: function (show) {
490
+ this.show$.next(show);
491
+ },
492
+ enumerable: false,
493
+ configurable: true
494
+ });
495
+ return TuiPushAlertDirective;
496
+ }(i5.PolymorpheusTemplate));
497
+ TuiPushAlertDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiPushAlertDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ChangeDetectorRef }, { token: cdk.TuiDestroyService }, { token: i0.forwardRef(function () { return TuiPushService; }) }], target: i0__namespace.ɵɵFactoryTarget.Directive });
498
+ TuiPushAlertDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiPushAlertDirective, selector: "[tuiPush]", inputs: { tuiPush: "tuiPush" }, providers: [cdk.TuiDestroyService], usesInheritance: true, ngImport: i0__namespace });
499
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiPushAlertDirective, decorators: [{
500
+ type: i0.Directive,
501
+ args: [{
502
+ selector: "[tuiPush]",
503
+ providers: [cdk.TuiDestroyService],
504
+ }]
505
+ }], ctorParameters: function () {
506
+ return [{ type: i0__namespace.TemplateRef, decorators: [{
507
+ type: i0.Inject,
508
+ args: [i0.TemplateRef]
509
+ }] }, { type: i0__namespace.ChangeDetectorRef, decorators: [{
510
+ type: i0.Inject,
511
+ args: [i0.ChangeDetectorRef]
512
+ }] }, { type: i3__namespace.Observable, decorators: [{
513
+ type: i0.Inject,
514
+ args: [cdk.TuiDestroyService]
515
+ }] }, { type: TuiPushService, decorators: [{
516
+ type: i0.Inject,
517
+ args: [i0.forwardRef(function () { return TuiPushService; })]
518
+ }] }];
519
+ }, propDecorators: { tuiPush: [{
520
+ type: i0.Input
521
+ }] } });
522
+
523
+ var TuiPushAlertComponent = /** @class */ (function () {
524
+ function TuiPushAlertComponent(options, context) {
525
+ this.options = options;
526
+ this.context = context;
527
+ this.animation = Object.assign({ value: "" }, this.options);
528
+ }
529
+ Object.defineProperty(TuiPushAlertComponent.prototype, "isDirective", {
530
+ get: function () {
531
+ return this.context.content instanceof TuiPushAlertDirective;
532
+ },
533
+ enumerable: false,
534
+ configurable: true
535
+ });
536
+ return TuiPushAlertComponent;
537
+ }());
538
+ TuiPushAlertComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiPushAlertComponent, deps: [{ token: i1.TUI_ANIMATION_OPTIONS }, { token: i5.POLYMORPHEUS_CONTEXT }], target: i0__namespace.ɵɵFactoryTarget.Component });
539
+ TuiPushAlertComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiPushAlertComponent, selector: "tui-push-alert", host: { attributes: { "role": "alert" }, properties: { "@tuiFadeIn": "this.animation", "@tuiSlideInRight": "this.animation", "@tuiHeightCollapse": "this.animation" } }, ngImport: i0__namespace, template: "<tui-push\n *ngIf=\"!isDirective; else content\"\n [heading]=\"context.heading\"\n [type]=\"context.type\"\n [timestamp]=\"context.timestamp\"\n (close)=\"context.$implicit.complete()\"\n>\n <img\n *ngIf=\"context.image\"\n alt=\"\"\n [src]=\"context.image\"\n />\n <tui-svg\n *ngIf=\"context.icon\"\n [style.color]=\"context.iconColor\"\n [src]=\"context.icon\"\n ></tui-svg>\n <ng-container *polymorpheusOutlet=\"context.content as text\">\n {{ text }}\n </ng-container>\n <button\n *ngIf=\"context.buttons.length > 1\"\n tuiButton\n (click)=\"context.$implicit.next(context.buttons[0])\"\n >\n {{ context.buttons[0] }}\n </button>\n <button\n *ngIf=\"context.buttons.length\"\n tuiLink\n (click)=\"context.$implicit.next(context.buttons[context.buttons.length - 1])\"\n >\n {{ context.buttons[context.buttons.length - 1] }}\n </button>\n</tui-push>\n<ng-template #content>\n <ng-container *polymorpheusOutlet=\"context.content as text\">\n {{ text }}\n </ng-container>\n</ng-template>\n", styles: [":host{max-width:calc(100% - 2rem);margin:0 1rem 1rem auto}:host:first-child{margin-top:auto}\n"], components: [{ type: TuiPushComponent, selector: "tui-push", inputs: ["heading", "type", "timestamp"], outputs: ["close"] }, { type: i1__namespace.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }, { type: i1__namespace.TuiButtonComponent, selector: "button[tuiButton], button[tuiIconButton], a[tuiButton], a[tuiIconButton]", inputs: ["appearance", "disabled", "icon", "iconRight", "shape", "showLoader", "size"] }, { type: i1__namespace.TuiLinkComponent, selector: "a[tuiLink], button[tuiLink]", inputs: ["pseudo", "icon", "iconAlign", "iconRotated", "mode"], exportAs: ["tuiLink"] }], directives: [{ type: i2__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: TuiPushDirective, selector: "tui-push" }, { type: i5__namespace.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], animations: [i1.tuiFadeIn, i1.tuiSlideInRight, i1.tuiHeightCollapse], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
540
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiPushAlertComponent, decorators: [{
541
+ type: i0.Component,
542
+ args: [{
543
+ selector: "tui-push-alert",
544
+ templateUrl: "./push-alert.template.html",
545
+ styleUrls: ["./push-alert.style.less"],
546
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
547
+ animations: [i1.tuiFadeIn, i1.tuiSlideInRight, i1.tuiHeightCollapse],
548
+ host: { role: "alert" },
549
+ }]
550
+ }], ctorParameters: function () {
551
+ return [{ type: undefined, decorators: [{
552
+ type: i0.Inject,
553
+ args: [i1.TUI_ANIMATION_OPTIONS]
554
+ }] }, { type: undefined, decorators: [{
555
+ type: i0.Inject,
556
+ args: [i5.POLYMORPHEUS_CONTEXT]
557
+ }] }];
558
+ }, propDecorators: { animation: [{
559
+ type: i0.HostBinding,
560
+ args: ["@tuiFadeIn"]
561
+ }, {
562
+ type: i0.HostBinding,
563
+ args: ["@tuiSlideInRight"]
564
+ }, {
565
+ type: i0.HostBinding,
566
+ args: ["@tuiHeightCollapse"]
567
+ }] } });
568
+
569
+ var TuiPushService = /** @class */ (function (_super) {
570
+ __extends(TuiPushService, _super);
571
+ function TuiPushService() {
572
+ var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
573
+ _this.component = new i5.PolymorpheusComponent(TuiPushAlertComponent);
574
+ _this.defaultOptions = TUI_PUSH_DEFAULT_OPTIONS;
575
+ return _this;
576
+ }
577
+ TuiPushService.prototype.open = function (content, options) {
578
+ if (options === void 0) { options = {}; }
579
+ return _super.prototype.open.call(this, content, options);
580
+ };
581
+ return TuiPushService;
582
+ }(cdk.AbstractTuiDialogService));
583
+ TuiPushService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiPushService, deps: null, target: i0__namespace.ɵɵFactoryTarget.Injectable });
584
+ TuiPushService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiPushService, providedIn: "root" });
585
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiPushService, decorators: [{
586
+ type: i0.Injectable,
587
+ args: [{ providedIn: "root" }]
588
+ }] });
589
+
590
+ var TuiPushModule = /** @class */ (function () {
591
+ function TuiPushModule() {
592
+ }
593
+ return TuiPushModule;
594
+ }());
595
+ TuiPushModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiPushModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
596
+ TuiPushModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiPushModule, declarations: [TuiPushComponent,
597
+ TuiPushDirective,
598
+ TuiPushAlertComponent,
599
+ TuiPushAlertDirective], imports: [i2.CommonModule,
600
+ i5.PolymorpheusModule,
601
+ i1.TuiButtonModule,
602
+ i1.TuiLinkModule,
603
+ i1.TuiSvgModule,
604
+ i1.TuiFormatDatePipeModule], exports: [TuiPushComponent,
605
+ TuiPushDirective,
606
+ TuiPushAlertComponent,
607
+ TuiPushAlertDirective] });
608
+ TuiPushModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiPushModule, providers: [
609
+ {
610
+ provide: cdk.TUI_ALERTS,
611
+ useExisting: TuiPushService,
612
+ multi: true,
613
+ },
614
+ ], imports: [[
615
+ i2.CommonModule,
616
+ i5.PolymorpheusModule,
617
+ i1.TuiButtonModule,
618
+ i1.TuiLinkModule,
619
+ i1.TuiSvgModule,
620
+ i1.TuiFormatDatePipeModule,
621
+ ]] });
622
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiPushModule, decorators: [{
623
+ type: i0.NgModule,
624
+ args: [{
625
+ imports: [
626
+ i2.CommonModule,
627
+ i5.PolymorpheusModule,
628
+ i1.TuiButtonModule,
629
+ i1.TuiLinkModule,
630
+ i1.TuiSvgModule,
631
+ i1.TuiFormatDatePipeModule,
632
+ ],
633
+ declarations: [
634
+ TuiPushComponent,
635
+ TuiPushDirective,
636
+ TuiPushAlertComponent,
637
+ TuiPushAlertDirective,
638
+ ],
639
+ exports: [
640
+ TuiPushComponent,
641
+ TuiPushDirective,
642
+ TuiPushAlertComponent,
643
+ TuiPushAlertDirective,
644
+ ],
645
+ providers: [
646
+ {
647
+ provide: cdk.TUI_ALERTS,
648
+ useExisting: TuiPushService,
649
+ multi: true,
650
+ },
651
+ ],
652
+ }]
653
+ }] });
654
+
655
+ /**
656
+ * Generated bundle index. Do not edit.
657
+ */
658
+
659
+ exports.TUI_PUSH_DEFAULT_OPTIONS = TUI_PUSH_DEFAULT_OPTIONS;
660
+ exports.TuiPushAlertComponent = TuiPushAlertComponent;
661
+ exports.TuiPushAlertDirective = TuiPushAlertDirective;
662
+ exports.TuiPushComponent = TuiPushComponent;
663
+ exports.TuiPushDirective = TuiPushDirective;
664
+ exports.TuiPushModule = TuiPushModule;
665
+ exports.TuiPushService = TuiPushService;
666
+
667
+ Object.defineProperty(exports, '__esModule', { value: true });
668
+
669
+ }));
670
+ //# sourceMappingURL=taiga-ui-kit-components-push.umd.js.map