@taiga-ui/core 3.60.0 → 3.61.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 (218) hide show
  1. package/bundles/taiga-ui-core-abstract.umd.js +525 -671
  2. package/bundles/taiga-ui-core-abstract.umd.js.map +1 -1
  3. package/bundles/taiga-ui-core-animations.umd.js +146 -146
  4. package/bundles/taiga-ui-core-animations.umd.js.map +1 -1
  5. package/bundles/taiga-ui-core-components-alert.umd.js +9 -155
  6. package/bundles/taiga-ui-core-components-alert.umd.js.map +1 -1
  7. package/bundles/taiga-ui-core-components-button.umd.js +522 -668
  8. package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
  9. package/bundles/taiga-ui-core-components-data-list.umd.js +673 -819
  10. package/bundles/taiga-ui-core-components-data-list.umd.js.map +1 -1
  11. package/bundles/taiga-ui-core-components-dialog.umd.js +15 -161
  12. package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
  13. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +787 -933
  14. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +1 -1
  15. package/bundles/taiga-ui-core-components-loader.umd.js +1 -1
  16. package/bundles/taiga-ui-core-components-loader.umd.js.map +1 -1
  17. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js +3 -3
  18. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js.map +1 -1
  19. package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js +459 -605
  20. package/bundles/taiga-ui-core-components-primitive-spin-button.umd.js.map +1 -1
  21. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +1029 -1175
  22. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
  23. package/bundles/taiga-ui-core-components-root.umd.js +459 -605
  24. package/bundles/taiga-ui-core-components-root.umd.js.map +1 -1
  25. package/bundles/taiga-ui-core-components-scroll-controls.umd.js +6 -152
  26. package/bundles/taiga-ui-core-components-scroll-controls.umd.js.map +1 -1
  27. package/bundles/taiga-ui-core-components-svg.umd.js +65 -211
  28. package/bundles/taiga-ui-core-components-svg.umd.js.map +1 -1
  29. package/bundles/taiga-ui-core-components-theme-night.umd.js +374 -520
  30. package/bundles/taiga-ui-core-components-theme-night.umd.js.map +1 -1
  31. package/bundles/taiga-ui-core-components-tooltip.umd.js +449 -595
  32. package/bundles/taiga-ui-core-components-tooltip.umd.js.map +1 -1
  33. package/bundles/taiga-ui-core-constants.umd.js +31 -31
  34. package/bundles/taiga-ui-core-constants.umd.js.map +1 -1
  35. package/bundles/taiga-ui-core-directives-dropdown.umd.js +1360 -1506
  36. package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
  37. package/bundles/taiga-ui-core-directives-hint.umd.js +1141 -1287
  38. package/bundles/taiga-ui-core-directives-hint.umd.js.map +1 -1
  39. package/bundles/taiga-ui-core-directives-mode.umd.js +375 -521
  40. package/bundles/taiga-ui-core-directives-mode.umd.js.map +1 -1
  41. package/bundles/taiga-ui-core-directives-number-format.umd.js +397 -543
  42. package/bundles/taiga-ui-core-directives-number-format.umd.js.map +1 -1
  43. package/bundles/taiga-ui-core-directives-textfield-controller.umd.js +9 -155
  44. package/bundles/taiga-ui-core-directives-textfield-controller.umd.js.map +1 -1
  45. package/bundles/taiga-ui-core-enums.umd.js.map +1 -1
  46. package/bundles/taiga-ui-core-observables.umd.js +2 -2
  47. package/bundles/taiga-ui-core-observables.umd.js.map +1 -1
  48. package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js +1 -1
  49. package/bundles/taiga-ui-core-pipes-calendar-sheet.umd.js.map +1 -1
  50. package/bundles/taiga-ui-core-pipes-flag.umd.js +4 -4
  51. package/bundles/taiga-ui-core-pipes-flag.umd.js.map +1 -1
  52. package/bundles/taiga-ui-core-pipes-format-date.umd.js +1 -1
  53. package/bundles/taiga-ui-core-pipes-format-date.umd.js.map +1 -1
  54. package/bundles/taiga-ui-core-pipes-format-number.umd.js +1 -1
  55. package/bundles/taiga-ui-core-pipes-format-number.umd.js.map +1 -1
  56. package/bundles/taiga-ui-core-pipes-format-phone.umd.js +3 -3
  57. package/bundles/taiga-ui-core-pipes-format-phone.umd.js.map +1 -1
  58. package/bundles/taiga-ui-core-pipes-month.umd.js +1 -1
  59. package/bundles/taiga-ui-core-pipes-month.umd.js.map +1 -1
  60. package/bundles/taiga-ui-core-pipes-order-week-days.umd.js +384 -530
  61. package/bundles/taiga-ui-core-pipes-order-week-days.umd.js.map +1 -1
  62. package/bundles/taiga-ui-core-providers.umd.js +2 -2
  63. package/bundles/taiga-ui-core-providers.umd.js.map +1 -1
  64. package/bundles/taiga-ui-core-services.umd.js +634 -780
  65. package/bundles/taiga-ui-core-services.umd.js.map +1 -1
  66. package/bundles/taiga-ui-core-tokens.umd.js +44 -190
  67. package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
  68. package/bundles/taiga-ui-core-utils-dom.umd.js +19 -19
  69. package/bundles/taiga-ui-core-utils-dom.umd.js.map +1 -1
  70. package/bundles/taiga-ui-core-utils-format.umd.js +21 -167
  71. package/bundles/taiga-ui-core-utils-format.umd.js.map +1 -1
  72. package/bundles/taiga-ui-core-utils-mask.umd.js +34 -180
  73. package/bundles/taiga-ui-core-utils-mask.umd.js.map +1 -1
  74. package/bundles/taiga-ui-core-utils-miscellaneous.umd.js +7 -7
  75. package/bundles/taiga-ui-core-utils-miscellaneous.umd.js.map +1 -1
  76. package/constants/cache-basting-payload.d.ts +1 -1
  77. package/esm2015/abstract/abstract-textfield-host.js +3 -3
  78. package/esm2015/animations/animations.js +148 -148
  79. package/esm2015/components/alert/alert.providers.js +2 -2
  80. package/esm2015/components/alert/alert.service.js +3 -3
  81. package/esm2015/components/button/button.options.js +2 -2
  82. package/esm2015/components/dialog/dialog-close.service.js +5 -5
  83. package/esm2015/components/dialog/dialog.service.js +3 -3
  84. package/esm2015/components/dialog/dialog.tokens.js +4 -4
  85. package/esm2015/components/hosted-dropdown/hosted-dropdown.token.js +2 -2
  86. package/esm2015/components/loader/loader.options.js +2 -2
  87. package/esm2015/components/primitive-checkbox/checkbox.options.js +4 -4
  88. package/esm2015/components/root/root.component.js +1 -1
  89. package/esm2015/components/svg/deprecated-icons.js +57 -57
  90. package/esm2015/components/svg/svg-options.js +4 -4
  91. package/esm2015/constants/decimal-symbols.js +2 -2
  92. package/esm2015/constants/default-icons-path.js +2 -2
  93. package/esm2015/constants/default-number-format.js +4 -4
  94. package/esm2015/constants/editing-keys.js +10 -10
  95. package/esm2015/constants/events.js +5 -5
  96. package/esm2015/constants/hint-directions.js +13 -13
  97. package/esm2015/constants/mask-caret-trap.js +2 -2
  98. package/esm2015/directives/textfield-controller/textfield-controller.provider.js +2 -2
  99. package/esm2015/directives/textfield-controller/textfield.controller.js +2 -2
  100. package/esm2015/directives/textfield-controller/textfield.options.js +2 -2
  101. package/esm2015/enums/appearance.js +1 -1
  102. package/esm2015/enums/dropdown-animation.js +1 -1
  103. package/esm2015/enums/interactive-state.js +1 -1
  104. package/esm2015/enums/notification.js +1 -1
  105. package/esm2015/enums/range-state.js +1 -1
  106. package/esm2015/observables/smart-search.js +3 -3
  107. package/esm2015/pipes/calendar-sheet/calendar-sheet.pipe.js +2 -2
  108. package/esm2015/pipes/flag/flag.pipe.js +5 -5
  109. package/esm2015/pipes/format-date/format-date.pipe.js +2 -2
  110. package/esm2015/pipes/format-number/format-number.pipe.js +2 -2
  111. package/esm2015/pipes/format-phone/format-phone.pipe.js +4 -4
  112. package/esm2015/pipes/month/month.pipe.js +2 -2
  113. package/esm2015/pipes/order-week-days/order-week-days.pipe.js +2 -2
  114. package/esm2015/providers/is-mobile-resolution.provider.js +2 -2
  115. package/esm2015/providers/mode.provider.js +2 -2
  116. package/esm2015/services/breakpoint.service.js +3 -3
  117. package/esm2015/services/format-date.service.js +5 -5
  118. package/esm2015/services/hint.service.js +3 -3
  119. package/esm2015/services/night-theme.service.js +5 -5
  120. package/esm2015/services/svg.service.js +5 -5
  121. package/esm2015/services/visual-viewport.service.js +3 -3
  122. package/esm2015/tokens/animation-options.js +2 -2
  123. package/esm2015/tokens/common-icon.js +5 -5
  124. package/esm2015/tokens/data-list-accessor.js +2 -2
  125. package/esm2015/tokens/data-list-host.js +2 -2
  126. package/esm2015/tokens/day-type-handler.js +2 -2
  127. package/esm2015/tokens/document-or-shadow-root.js +2 -2
  128. package/esm2015/tokens/element-ref.js +2 -2
  129. package/esm2015/tokens/i18n.js +7 -7
  130. package/esm2015/tokens/icon-place.js +2 -2
  131. package/esm2015/tokens/is-mobile-resolution.js +2 -2
  132. package/esm2015/tokens/legacy-mask.js +2 -2
  133. package/esm2015/tokens/mode.js +2 -2
  134. package/esm2015/tokens/notification-options.js +9 -9
  135. package/esm2015/tokens/option-content.js +2 -2
  136. package/esm2015/tokens/reduced-motion.js +2 -2
  137. package/esm2015/tokens/sanitizer.js +2 -2
  138. package/esm2015/tokens/selection-stream.js +2 -2
  139. package/esm2015/tokens/spin-icons.js +3 -3
  140. package/esm2015/tokens/textfield-host.js +2 -2
  141. package/esm2015/tokens/theme.js +2 -2
  142. package/esm2015/tokens/value-accessor.js +2 -2
  143. package/esm2015/tokens/viewport.js +2 -2
  144. package/esm2015/utils/dom/check-fixed-position.js +3 -3
  145. package/esm2015/utils/dom/get-safe-area-size.js +4 -4
  146. package/esm2015/utils/dom/get-word-range.js +5 -5
  147. package/esm2015/utils/dom/process-icon.js +11 -11
  148. package/esm2015/utils/format/format-number.js +4 -4
  149. package/esm2015/utils/format/format-phone.js +9 -9
  150. package/esm2015/utils/format/get-fractional-part-padded.js +2 -2
  151. package/esm2015/utils/format/number-to-string-without-exp.js +3 -3
  152. package/esm2015/utils/format/other-decimal-symbol.js +2 -2
  153. package/esm2015/utils/mask/create-auto-corrected-money-pipe.js +11 -11
  154. package/esm2015/utils/mask/create-correction-mask.js +3 -3
  155. package/esm2015/utils/mask/create-number-mask.js +13 -13
  156. package/esm2015/utils/mask/masked-money-value-is-empty.js +3 -3
  157. package/esm2015/utils/mask/masked-number-string-to-number.js +2 -2
  158. package/esm2015/utils/miscellaneous/get-border.js +3 -3
  159. package/esm2015/utils/miscellaneous/icons-path-factory.js +3 -3
  160. package/esm2015/utils/miscellaneous/is-obscured.js +2 -2
  161. package/esm2015/utils/miscellaneous/is-presumed-html-string.js +2 -2
  162. package/esm2015/utils/miscellaneous/size-bigger.js +2 -2
  163. package/fesm2015/taiga-ui-core-abstract.js +2 -2
  164. package/fesm2015/taiga-ui-core-abstract.js.map +1 -1
  165. package/fesm2015/taiga-ui-core-animations.js +146 -146
  166. package/fesm2015/taiga-ui-core-animations.js.map +1 -1
  167. package/fesm2015/taiga-ui-core-components-alert.js +3 -3
  168. package/fesm2015/taiga-ui-core-components-alert.js.map +1 -1
  169. package/fesm2015/taiga-ui-core-components-button.js +1 -1
  170. package/fesm2015/taiga-ui-core-components-button.js.map +1 -1
  171. package/fesm2015/taiga-ui-core-components-dialog.js +9 -9
  172. package/fesm2015/taiga-ui-core-components-dialog.js.map +1 -1
  173. package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +1 -1
  174. package/fesm2015/taiga-ui-core-components-hosted-dropdown.js.map +1 -1
  175. package/fesm2015/taiga-ui-core-components-loader.js +1 -1
  176. package/fesm2015/taiga-ui-core-components-loader.js.map +1 -1
  177. package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +3 -3
  178. package/fesm2015/taiga-ui-core-components-primitive-checkbox.js.map +1 -1
  179. package/fesm2015/taiga-ui-core-components-root.js +1 -1
  180. package/fesm2015/taiga-ui-core-components-root.js.map +1 -1
  181. package/fesm2015/taiga-ui-core-components-svg.js +59 -59
  182. package/fesm2015/taiga-ui-core-components-svg.js.map +1 -1
  183. package/fesm2015/taiga-ui-core-constants.js +31 -31
  184. package/fesm2015/taiga-ui-core-constants.js.map +1 -1
  185. package/fesm2015/taiga-ui-core-directives-textfield-controller.js +3 -3
  186. package/fesm2015/taiga-ui-core-directives-textfield-controller.js.map +1 -1
  187. package/fesm2015/taiga-ui-core-enums.js.map +1 -1
  188. package/fesm2015/taiga-ui-core-observables.js +2 -2
  189. package/fesm2015/taiga-ui-core-observables.js.map +1 -1
  190. package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js +1 -1
  191. package/fesm2015/taiga-ui-core-pipes-calendar-sheet.js.map +1 -1
  192. package/fesm2015/taiga-ui-core-pipes-flag.js +4 -4
  193. package/fesm2015/taiga-ui-core-pipes-flag.js.map +1 -1
  194. package/fesm2015/taiga-ui-core-pipes-format-date.js +1 -1
  195. package/fesm2015/taiga-ui-core-pipes-format-date.js.map +1 -1
  196. package/fesm2015/taiga-ui-core-pipes-format-number.js +1 -1
  197. package/fesm2015/taiga-ui-core-pipes-format-number.js.map +1 -1
  198. package/fesm2015/taiga-ui-core-pipes-format-phone.js +3 -3
  199. package/fesm2015/taiga-ui-core-pipes-format-phone.js.map +1 -1
  200. package/fesm2015/taiga-ui-core-pipes-month.js +1 -1
  201. package/fesm2015/taiga-ui-core-pipes-month.js.map +1 -1
  202. package/fesm2015/taiga-ui-core-pipes-order-week-days.js +1 -1
  203. package/fesm2015/taiga-ui-core-pipes-order-week-days.js.map +1 -1
  204. package/fesm2015/taiga-ui-core-providers.js +2 -2
  205. package/fesm2015/taiga-ui-core-providers.js.map +1 -1
  206. package/fesm2015/taiga-ui-core-services.js +18 -18
  207. package/fesm2015/taiga-ui-core-services.js.map +1 -1
  208. package/fesm2015/taiga-ui-core-tokens.js +38 -38
  209. package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
  210. package/fesm2015/taiga-ui-core-utils-dom.js +19 -19
  211. package/fesm2015/taiga-ui-core-utils-dom.js.map +1 -1
  212. package/fesm2015/taiga-ui-core-utils-format.js +15 -15
  213. package/fesm2015/taiga-ui-core-utils-format.js.map +1 -1
  214. package/fesm2015/taiga-ui-core-utils-mask.js +27 -27
  215. package/fesm2015/taiga-ui-core-utils-mask.js.map +1 -1
  216. package/fesm2015/taiga-ui-core-utils-miscellaneous.js +7 -7
  217. package/fesm2015/taiga-ui-core-utils-miscellaneous.js.map +1 -1
  218. package/package.json +4 -4
@@ -1,537 +1,391 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@taiga-ui/cdk')) :
3
- typeof define === 'function' && define.amd ? define('@taiga-ui/core/components/theme-night', ['exports', '@angular/core', '@taiga-ui/cdk'], 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.components = global["taiga-ui"].core.components || {}, global["taiga-ui"].core.components["theme-night"] = {}), global.ng.core, global.cdk));
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@taiga-ui/cdk')) :
3
+ typeof define === 'function' && define.amd ? define('@taiga-ui/core/components/theme-night', ['exports', '@angular/core', '@taiga-ui/cdk'], 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.components = global["taiga-ui"].core.components || {}, global["taiga-ui"].core.components["theme-night"] = {}), global.ng.core, global.cdk));
5
5
  })(this, (function (exports, i0, cdk) { '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
- });
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
+ });
18
20
  }
19
- });
21
+ n["default"] = e;
22
+ return Object.freeze(n);
20
23
  }
21
- n["default"] = e;
22
- return Object.freeze(n);
23
- }
24
24
 
25
- var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
25
+ var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
26
 
27
- /******************************************************************************
28
- Copyright (c) Microsoft Corporation.
27
+ /*! *****************************************************************************
28
+ Copyright (c) Microsoft Corporation.
29
29
 
30
- Permission to use, copy, modify, and/or distribute this software for any
31
- purpose with or without fee is hereby granted.
30
+ Permission to use, copy, modify, and/or distribute this software for any
31
+ purpose with or without fee is hereby granted.
32
32
 
33
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
34
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
35
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
36
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
37
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
38
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
39
- PERFORMANCE OF THIS SOFTWARE.
40
- ***************************************************************************** */
41
- /* global Reflect, Promise, SuppressedError, Symbol */
42
- var extendStatics = function (d, b) {
43
- extendStatics = Object.setPrototypeOf ||
44
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
45
- function (d, b) { for (var p in b)
46
- if (Object.prototype.hasOwnProperty.call(b, p))
47
- d[p] = b[p]; };
48
- return extendStatics(d, b);
49
- };
50
- function __extends(d, b) {
51
- if (typeof b !== "function" && b !== null)
52
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
53
- extendStatics(d, b);
54
- function __() { this.constructor = d; }
55
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
56
- }
57
- var __assign = function () {
58
- __assign = Object.assign || function __assign(t) {
59
- for (var s, i = 1, n = arguments.length; i < n; i++) {
60
- s = arguments[i];
61
- for (var p in s)
62
- if (Object.prototype.hasOwnProperty.call(s, p))
63
- t[p] = s[p];
64
- }
65
- return t;
66
- };
67
- return __assign.apply(this, arguments);
68
- };
69
- function __rest(s, e) {
70
- var t = {};
71
- for (var p in s)
72
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
73
- t[p] = s[p];
74
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
75
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
76
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
77
- t[p[i]] = s[p[i]];
78
- }
79
- return t;
80
- }
81
- function __decorate(decorators, target, key, desc) {
82
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
83
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
84
- r = Reflect.decorate(decorators, target, key, desc);
85
- else
86
- for (var i = decorators.length - 1; i >= 0; i--)
87
- if (d = decorators[i])
88
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
89
- return c > 3 && r && Object.defineProperty(target, key, r), r;
90
- }
91
- function __param(paramIndex, decorator) {
92
- return function (target, key) { decorator(target, key, paramIndex); };
93
- }
94
- function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
95
- function accept(f) { if (f !== void 0 && typeof f !== "function")
96
- throw new TypeError("Function expected"); return f; }
97
- var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
98
- var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
99
- var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
100
- var _, done = false;
101
- for (var i = decorators.length - 1; i >= 0; i--) {
102
- var context = {};
103
- for (var p in contextIn)
104
- context[p] = p === "access" ? {} : contextIn[p];
105
- for (var p in contextIn.access)
106
- context.access[p] = contextIn.access[p];
107
- context.addInitializer = function (f) { if (done)
108
- throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
109
- var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
110
- if (kind === "accessor") {
111
- if (result === void 0)
112
- continue;
113
- if (result === null || typeof result !== "object")
114
- throw new TypeError("Object expected");
115
- if (_ = accept(result.get))
116
- descriptor.get = _;
117
- if (_ = accept(result.set))
118
- descriptor.set = _;
119
- if (_ = accept(result.init))
120
- initializers.unshift(_);
121
- }
122
- else if (_ = accept(result)) {
123
- if (kind === "field")
124
- initializers.unshift(_);
125
- else
126
- descriptor[key] = _;
127
- }
128
- }
129
- if (target)
130
- Object.defineProperty(target, contextIn.name, descriptor);
131
- done = true;
132
- }
133
- ;
134
- function __runInitializers(thisArg, initializers, value) {
135
- var useValue = arguments.length > 2;
136
- for (var i = 0; i < initializers.length; i++) {
137
- value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
138
- }
139
- return useValue ? value : void 0;
140
- }
141
- ;
142
- function __propKey(x) {
143
- return typeof x === "symbol" ? x : "".concat(x);
144
- }
145
- ;
146
- function __setFunctionName(f, name, prefix) {
147
- if (typeof name === "symbol")
148
- name = name.description ? "[".concat(name.description, "]") : "";
149
- return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
150
- }
151
- ;
152
- function __metadata(metadataKey, metadataValue) {
153
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
154
- return Reflect.metadata(metadataKey, metadataValue);
155
- }
156
- function __awaiter(thisArg, _arguments, P, generator) {
157
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
158
- return new (P || (P = Promise))(function (resolve, reject) {
159
- function fulfilled(value) { try {
160
- step(generator.next(value));
161
- }
162
- catch (e) {
163
- reject(e);
164
- } }
165
- function rejected(value) { try {
166
- step(generator["throw"](value));
167
- }
168
- catch (e) {
169
- reject(e);
170
- } }
171
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
172
- step((generator = generator.apply(thisArg, _arguments || [])).next());
173
- });
174
- }
175
- function __generator(thisArg, body) {
176
- var _ = { label: 0, sent: function () { if (t[0] & 1)
177
- throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
178
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
179
- function verb(n) { return function (v) { return step([n, v]); }; }
180
- function step(op) {
181
- if (f)
182
- throw new TypeError("Generator is already executing.");
183
- while (g && (g = 0, op[0] && (_ = 0)), _)
184
- try {
185
- 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)
186
- return t;
187
- if (y = 0, t)
188
- op = [op[0] & 2, t.value];
189
- switch (op[0]) {
190
- case 0:
191
- case 1:
192
- t = op;
193
- break;
194
- case 4:
195
- _.label++;
196
- return { value: op[1], done: false };
197
- case 5:
198
- _.label++;
199
- y = op[1];
200
- op = [0];
201
- continue;
202
- case 7:
203
- op = _.ops.pop();
204
- _.trys.pop();
205
- continue;
206
- default:
207
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
208
- _ = 0;
209
- continue;
210
- }
211
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
212
- _.label = op[1];
213
- break;
214
- }
215
- if (op[0] === 6 && _.label < t[1]) {
216
- _.label = t[1];
217
- t = op;
218
- break;
219
- }
220
- if (t && _.label < t[2]) {
221
- _.label = t[2];
222
- _.ops.push(op);
223
- break;
224
- }
225
- if (t[2])
226
- _.ops.pop();
227
- _.trys.pop();
228
- continue;
229
- }
230
- op = body.call(thisArg, _);
231
- }
232
- catch (e) {
233
- op = [6, e];
234
- y = 0;
235
- }
236
- finally {
237
- f = t = 0;
238
- }
239
- if (op[0] & 5)
240
- throw op[1];
241
- return { value: op[0] ? op[1] : void 0, done: true };
242
- }
243
- }
244
- var __createBinding = Object.create ? (function (o, m, k, k2) {
245
- if (k2 === undefined)
246
- k2 = k;
247
- var desc = Object.getOwnPropertyDescriptor(m, k);
248
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
249
- desc = { enumerable: true, get: function () { return m[k]; } };
250
- }
251
- Object.defineProperty(o, k2, desc);
252
- }) : (function (o, m, k, k2) {
253
- if (k2 === undefined)
254
- k2 = k;
255
- o[k2] = m[k];
256
- });
257
- function __exportStar(m, o) {
258
- for (var p in m)
259
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
260
- __createBinding(o, m, p);
261
- }
262
- function __values(o) {
263
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
264
- if (m)
265
- return m.call(o);
266
- if (o && typeof o.length === "number")
267
- return {
268
- next: function () {
269
- if (o && i >= o.length)
270
- o = void 0;
271
- return { value: o && o[i++], done: !o };
272
- }
273
- };
274
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
275
- }
276
- function __read(o, n) {
277
- var m = typeof Symbol === "function" && o[Symbol.iterator];
278
- if (!m)
279
- return o;
280
- var i = m.call(o), r, ar = [], e;
281
- try {
282
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
283
- ar.push(r.value);
284
- }
285
- catch (error) {
286
- e = { error: error };
287
- }
288
- finally {
289
- try {
290
- if (r && !r.done && (m = i["return"]))
291
- m.call(i);
292
- }
293
- finally {
294
- if (e)
295
- throw e.error;
296
- }
297
- }
298
- return ar;
299
- }
300
- /** @deprecated */
301
- function __spread() {
302
- for (var ar = [], i = 0; i < arguments.length; i++)
303
- ar = ar.concat(__read(arguments[i]));
304
- return ar;
305
- }
306
- /** @deprecated */
307
- function __spreadArrays() {
308
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
309
- s += arguments[i].length;
310
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
311
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
312
- r[k] = a[j];
313
- return r;
314
- }
315
- function __spreadArray(to, from, pack) {
316
- if (pack || arguments.length === 2)
317
- for (var i = 0, l = from.length, ar; i < l; i++) {
318
- if (ar || !(i in from)) {
319
- if (!ar)
320
- ar = Array.prototype.slice.call(from, 0, i);
321
- ar[i] = from[i];
322
- }
323
- }
324
- return to.concat(ar || Array.prototype.slice.call(from));
325
- }
326
- function __await(v) {
327
- return this instanceof __await ? (this.v = v, this) : new __await(v);
328
- }
329
- function __asyncGenerator(thisArg, _arguments, generator) {
330
- if (!Symbol.asyncIterator)
331
- throw new TypeError("Symbol.asyncIterator is not defined.");
332
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
333
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
334
- function verb(n) { if (g[n])
335
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
336
- function resume(n, v) { try {
337
- step(g[n](v));
338
- }
339
- catch (e) {
340
- settle(q[0][3], e);
341
- } }
342
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
343
- function fulfill(value) { resume("next", value); }
344
- function reject(value) { resume("throw", value); }
345
- function settle(f, v) { if (f(v), q.shift(), q.length)
346
- resume(q[0][0], q[0][1]); }
347
- }
348
- function __asyncDelegator(o) {
349
- var i, p;
350
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
351
- 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; }
352
- }
353
- function __asyncValues(o) {
354
- if (!Symbol.asyncIterator)
355
- throw new TypeError("Symbol.asyncIterator is not defined.");
356
- var m = o[Symbol.asyncIterator], i;
357
- 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);
358
- 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); }); }; }
359
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
360
- }
361
- function __makeTemplateObject(cooked, raw) {
362
- if (Object.defineProperty) {
363
- Object.defineProperty(cooked, "raw", { value: raw });
364
- }
365
- else {
366
- cooked.raw = raw;
367
- }
368
- return cooked;
369
- }
370
- ;
371
- var __setModuleDefault = Object.create ? (function (o, v) {
372
- Object.defineProperty(o, "default", { enumerable: true, value: v });
373
- }) : function (o, v) {
374
- o["default"] = v;
375
- };
376
- function __importStar(mod) {
377
- if (mod && mod.__esModule)
378
- return mod;
379
- var result = {};
380
- if (mod != null)
381
- for (var k in mod)
382
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
383
- __createBinding(result, mod, k);
384
- __setModuleDefault(result, mod);
385
- return result;
386
- }
387
- function __importDefault(mod) {
388
- return (mod && mod.__esModule) ? mod : { default: mod };
389
- }
390
- function __classPrivateFieldGet(receiver, state, kind, f) {
391
- if (kind === "a" && !f)
392
- throw new TypeError("Private accessor was defined without a getter");
393
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
394
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
395
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
396
- }
397
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
398
- if (kind === "m")
399
- throw new TypeError("Private method is not writable");
400
- if (kind === "a" && !f)
401
- throw new TypeError("Private accessor was defined without a setter");
402
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
403
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
404
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
405
- }
406
- function __classPrivateFieldIn(state, receiver) {
407
- if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
408
- throw new TypeError("Cannot use 'in' operator on non-object");
409
- return typeof state === "function" ? receiver === state : state.has(receiver);
410
- }
411
- function __addDisposableResource(env, value, async) {
412
- if (value !== null && value !== void 0) {
413
- if (typeof value !== "object" && typeof value !== "function")
414
- throw new TypeError("Object expected.");
415
- var dispose;
416
- if (async) {
417
- if (!Symbol.asyncDispose)
418
- throw new TypeError("Symbol.asyncDispose is not defined.");
419
- dispose = value[Symbol.asyncDispose];
420
- }
421
- if (dispose === void 0) {
422
- if (!Symbol.dispose)
423
- throw new TypeError("Symbol.dispose is not defined.");
424
- dispose = value[Symbol.dispose];
425
- }
426
- if (typeof dispose !== "function")
427
- throw new TypeError("Object not disposable.");
428
- env.stack.push({ value: value, dispose: dispose, async: async });
429
- }
430
- else if (async) {
431
- env.stack.push({ async: true });
432
- }
433
- return value;
434
- }
435
- var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
436
- var e = new Error(message);
437
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
438
- };
439
- function __disposeResources(env) {
440
- function fail(e) {
441
- env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;
442
- env.hasError = true;
443
- }
444
- function next() {
445
- while (env.stack.length) {
446
- var rec = env.stack.pop();
447
- try {
448
- var result = rec.dispose && rec.dispose.call(rec.value);
449
- if (rec.async)
450
- return Promise.resolve(result).then(next, function (e) { fail(e); return next(); });
451
- }
452
- catch (e) {
453
- fail(e);
454
- }
455
- }
456
- if (env.hasError)
457
- throw env.error;
458
- }
459
- return next();
460
- }
461
- var tslib_es6 = {
462
- __extends: __extends,
463
- __assign: __assign,
464
- __rest: __rest,
465
- __decorate: __decorate,
466
- __param: __param,
467
- __metadata: __metadata,
468
- __awaiter: __awaiter,
469
- __generator: __generator,
470
- __createBinding: __createBinding,
471
- __exportStar: __exportStar,
472
- __values: __values,
473
- __read: __read,
474
- __spread: __spread,
475
- __spreadArrays: __spreadArrays,
476
- __spreadArray: __spreadArray,
477
- __await: __await,
478
- __asyncGenerator: __asyncGenerator,
479
- __asyncDelegator: __asyncDelegator,
480
- __asyncValues: __asyncValues,
481
- __makeTemplateObject: __makeTemplateObject,
482
- __importStar: __importStar,
483
- __importDefault: __importDefault,
484
- __classPrivateFieldGet: __classPrivateFieldGet,
485
- __classPrivateFieldSet: __classPrivateFieldSet,
486
- __classPrivateFieldIn: __classPrivateFieldIn,
487
- __addDisposableResource: __addDisposableResource,
488
- __disposeResources: __disposeResources,
489
- };
33
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
34
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
35
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
36
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
37
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
38
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
39
+ PERFORMANCE OF THIS SOFTWARE.
40
+ ***************************************************************************** */
41
+ /* global Reflect, Promise */
42
+ var extendStatics = function (d, b) {
43
+ extendStatics = Object.setPrototypeOf ||
44
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
45
+ function (d, b) { for (var p in b)
46
+ if (Object.prototype.hasOwnProperty.call(b, p))
47
+ d[p] = b[p]; };
48
+ return extendStatics(d, b);
49
+ };
50
+ function __extends(d, b) {
51
+ if (typeof b !== "function" && b !== null)
52
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
53
+ extendStatics(d, b);
54
+ function __() { this.constructor = d; }
55
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
56
+ }
57
+ var __assign = function () {
58
+ __assign = Object.assign || function __assign(t) {
59
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
60
+ s = arguments[i];
61
+ for (var p in s)
62
+ if (Object.prototype.hasOwnProperty.call(s, p))
63
+ t[p] = s[p];
64
+ }
65
+ return t;
66
+ };
67
+ return __assign.apply(this, arguments);
68
+ };
69
+ function __rest(s, e) {
70
+ var t = {};
71
+ for (var p in s)
72
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
73
+ t[p] = s[p];
74
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
75
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
76
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
77
+ t[p[i]] = s[p[i]];
78
+ }
79
+ return t;
80
+ }
81
+ function __decorate(decorators, target, key, desc) {
82
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
83
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
84
+ r = Reflect.decorate(decorators, target, key, desc);
85
+ else
86
+ for (var i = decorators.length - 1; i >= 0; i--)
87
+ if (d = decorators[i])
88
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
89
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
90
+ }
91
+ function __param(paramIndex, decorator) {
92
+ return function (target, key) { decorator(target, key, paramIndex); };
93
+ }
94
+ function __metadata(metadataKey, metadataValue) {
95
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
96
+ return Reflect.metadata(metadataKey, metadataValue);
97
+ }
98
+ function __awaiter(thisArg, _arguments, P, generator) {
99
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
100
+ return new (P || (P = Promise))(function (resolve, reject) {
101
+ function fulfilled(value) { try {
102
+ step(generator.next(value));
103
+ }
104
+ catch (e) {
105
+ reject(e);
106
+ } }
107
+ function rejected(value) { try {
108
+ step(generator["throw"](value));
109
+ }
110
+ catch (e) {
111
+ reject(e);
112
+ } }
113
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
114
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
115
+ });
116
+ }
117
+ function __generator(thisArg, body) {
118
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
119
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
120
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
121
+ function verb(n) { return function (v) { return step([n, v]); }; }
122
+ function step(op) {
123
+ if (f)
124
+ throw new TypeError("Generator is already executing.");
125
+ while (_)
126
+ try {
127
+ 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)
128
+ return t;
129
+ if (y = 0, t)
130
+ op = [op[0] & 2, t.value];
131
+ switch (op[0]) {
132
+ case 0:
133
+ case 1:
134
+ t = op;
135
+ break;
136
+ case 4:
137
+ _.label++;
138
+ return { value: op[1], done: false };
139
+ case 5:
140
+ _.label++;
141
+ y = op[1];
142
+ op = [0];
143
+ continue;
144
+ case 7:
145
+ op = _.ops.pop();
146
+ _.trys.pop();
147
+ continue;
148
+ default:
149
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
150
+ _ = 0;
151
+ continue;
152
+ }
153
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
154
+ _.label = op[1];
155
+ break;
156
+ }
157
+ if (op[0] === 6 && _.label < t[1]) {
158
+ _.label = t[1];
159
+ t = op;
160
+ break;
161
+ }
162
+ if (t && _.label < t[2]) {
163
+ _.label = t[2];
164
+ _.ops.push(op);
165
+ break;
166
+ }
167
+ if (t[2])
168
+ _.ops.pop();
169
+ _.trys.pop();
170
+ continue;
171
+ }
172
+ op = body.call(thisArg, _);
173
+ }
174
+ catch (e) {
175
+ op = [6, e];
176
+ y = 0;
177
+ }
178
+ finally {
179
+ f = t = 0;
180
+ }
181
+ if (op[0] & 5)
182
+ throw op[1];
183
+ return { value: op[0] ? op[1] : void 0, done: true };
184
+ }
185
+ }
186
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
187
+ if (k2 === undefined)
188
+ k2 = k;
189
+ Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
190
+ }) : (function (o, m, k, k2) {
191
+ if (k2 === undefined)
192
+ k2 = k;
193
+ o[k2] = m[k];
194
+ });
195
+ function __exportStar(m, o) {
196
+ for (var p in m)
197
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
198
+ __createBinding(o, m, p);
199
+ }
200
+ function __values(o) {
201
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
202
+ if (m)
203
+ return m.call(o);
204
+ if (o && typeof o.length === "number")
205
+ return {
206
+ next: function () {
207
+ if (o && i >= o.length)
208
+ o = void 0;
209
+ return { value: o && o[i++], done: !o };
210
+ }
211
+ };
212
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
213
+ }
214
+ function __read(o, n) {
215
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
216
+ if (!m)
217
+ return o;
218
+ var i = m.call(o), r, ar = [], e;
219
+ try {
220
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
221
+ ar.push(r.value);
222
+ }
223
+ catch (error) {
224
+ e = { error: error };
225
+ }
226
+ finally {
227
+ try {
228
+ if (r && !r.done && (m = i["return"]))
229
+ m.call(i);
230
+ }
231
+ finally {
232
+ if (e)
233
+ throw e.error;
234
+ }
235
+ }
236
+ return ar;
237
+ }
238
+ /** @deprecated */
239
+ function __spread() {
240
+ for (var ar = [], i = 0; i < arguments.length; i++)
241
+ ar = ar.concat(__read(arguments[i]));
242
+ return ar;
243
+ }
244
+ /** @deprecated */
245
+ function __spreadArrays() {
246
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
247
+ s += arguments[i].length;
248
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
249
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
250
+ r[k] = a[j];
251
+ return r;
252
+ }
253
+ function __spreadArray(to, from, pack) {
254
+ if (pack || arguments.length === 2)
255
+ for (var i = 0, l = from.length, ar; i < l; i++) {
256
+ if (ar || !(i in from)) {
257
+ if (!ar)
258
+ ar = Array.prototype.slice.call(from, 0, i);
259
+ ar[i] = from[i];
260
+ }
261
+ }
262
+ return to.concat(ar || from);
263
+ }
264
+ function __await(v) {
265
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
266
+ }
267
+ function __asyncGenerator(thisArg, _arguments, generator) {
268
+ if (!Symbol.asyncIterator)
269
+ throw new TypeError("Symbol.asyncIterator is not defined.");
270
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
271
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
272
+ function verb(n) { if (g[n])
273
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
274
+ function resume(n, v) { try {
275
+ step(g[n](v));
276
+ }
277
+ catch (e) {
278
+ settle(q[0][3], e);
279
+ } }
280
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
281
+ function fulfill(value) { resume("next", value); }
282
+ function reject(value) { resume("throw", value); }
283
+ function settle(f, v) { if (f(v), q.shift(), q.length)
284
+ resume(q[0][0], q[0][1]); }
285
+ }
286
+ function __asyncDelegator(o) {
287
+ var i, p;
288
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
289
+ 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; }
290
+ }
291
+ function __asyncValues(o) {
292
+ if (!Symbol.asyncIterator)
293
+ throw new TypeError("Symbol.asyncIterator is not defined.");
294
+ var m = o[Symbol.asyncIterator], i;
295
+ 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);
296
+ 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); }); }; }
297
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
298
+ }
299
+ function __makeTemplateObject(cooked, raw) {
300
+ if (Object.defineProperty) {
301
+ Object.defineProperty(cooked, "raw", { value: raw });
302
+ }
303
+ else {
304
+ cooked.raw = raw;
305
+ }
306
+ return cooked;
307
+ }
308
+ ;
309
+ var __setModuleDefault = Object.create ? (function (o, v) {
310
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
311
+ }) : function (o, v) {
312
+ o["default"] = v;
313
+ };
314
+ function __importStar(mod) {
315
+ if (mod && mod.__esModule)
316
+ return mod;
317
+ var result = {};
318
+ if (mod != null)
319
+ for (var k in mod)
320
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
321
+ __createBinding(result, mod, k);
322
+ __setModuleDefault(result, mod);
323
+ return result;
324
+ }
325
+ function __importDefault(mod) {
326
+ return (mod && mod.__esModule) ? mod : { default: mod };
327
+ }
328
+ function __classPrivateFieldGet(receiver, state, kind, f) {
329
+ if (kind === "a" && !f)
330
+ throw new TypeError("Private accessor was defined without a getter");
331
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
332
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
333
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
334
+ }
335
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
336
+ if (kind === "m")
337
+ throw new TypeError("Private method is not writable");
338
+ if (kind === "a" && !f)
339
+ throw new TypeError("Private accessor was defined without a setter");
340
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
341
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
342
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
343
+ }
490
344
 
491
- var TuiThemeNightComponent = /** @class */ (function (_super) {
492
- __extends(TuiThemeNightComponent, _super);
493
- function TuiThemeNightComponent() {
494
- return _super !== null && _super.apply(this, arguments) || this;
495
- }
496
- return TuiThemeNightComponent;
497
- }(cdk.AbstractTuiThemeSwitcher));
498
- TuiThemeNightComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiThemeNightComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
499
- TuiThemeNightComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiThemeNightComponent, selector: "tui-theme-night", usesInheritance: true, ngImport: i0__namespace, template: '', isInline: true, styles: [":root{--tui-base-01: #222;--tui-base-02: #333;--tui-base-03: #808080;--tui-base-04: #959595;--tui-base-05: #b0b0b0;--tui-base-06: #d7d7d7;--tui-base-07: #ededed;--tui-base-08: #f6f6f6;--tui-base-09: #fff;--tui-focus: rgba(51, 51, 51, .64);--tui-secondary: rgba(255, 255, 255, .16);--tui-secondary-hover: rgba(255, 255, 255, .24);--tui-secondary-active: rgba(255, 255, 255, .4);--tui-clear: rgba(255, 255, 255, .16);--tui-clear-disabled: rgba(255, 255, 255, .08);--tui-clear-hover: rgba(255, 255, 255, .24);--tui-clear-active: rgba(255, 255, 255, .4);--tui-error-fill: #ff8c67;--tui-error-bg: rgba(244, 87, 37, .32);--tui-error-bg-hover: rgba(244, 87, 37, .4);--tui-success-fill: #4ac99b;--tui-success-bg: rgba(74, 201, 155, .32);--tui-success-bg-hover: rgba(74, 201, 155, .4);--tui-warning-fill: #ffc700;--tui-warning-bg: rgba(255, 199, 0, .32);--tui-warning-bg-hover: rgba(255, 199, 0, .4);--tui-info-fill: #70b6f6;--tui-info-bg: rgba(112, 182, 246, .32);--tui-info-bg-hover: rgba(112, 182, 246, .4);--tui-neutral-fill: #959ba4;--tui-neutral-bg: rgba(149, 155, 164, .32);--tui-neutral-bg-hover: rgba(149, 155, 164, .48);--tui-text-01: #ffffff;--tui-text-02: rgba(255, 255, 255, .72);--tui-text-03: rgba(255, 255, 255, .6);--tui-link: #6788ff;--tui-link-hover: #526ed3;--tui-positive: #44c596;--tui-positive-hover: #3aa981;--tui-negative: #ff8c67;--tui-negative-hover: #bb593a;--tui-autofill: var(--tui-autofill-night);--tui-elevation-01: #222;--tui-elevation-02: #222;--tui-shadow: 0 .25rem 1.5rem rgba(0, 0, 0, .12);--tui-shadow-hover: 0 .75rem 2.25rem rgba(0, 0, 0, .2);--tui-shadow-dropdown: 0 1.5rem 1rem rgba(0, 0, 0, .03), 0 .75rem .75rem rgba(0, 0, 0, .04), 0 .25rem .375rem rgba(0, 0, 0, .05);--tui-shadow-modal: 0 1.125rem 1.875rem rgba(0, 0, 0, .48);--tui-shadow-sidebar: .25rem 0 1.5rem rgba(0, 0, 0, .12);--tui-shadow-navigation: 0 .125rem 1rem rgba(0, 0, 0, .08);--tui-shadow-sheet: 0 -1rem 1.75rem rgba(0, 0, 0, .24)}tui-notification{--tui-base-01: #000}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
500
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiThemeNightComponent, decorators: [{
501
- type: i0.Component,
502
- args: [{
503
- selector: 'tui-theme-night',
504
- template: '',
505
- styleUrls: ['./theme-night.style.less'],
506
- encapsulation: i0.ViewEncapsulation.None,
507
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
508
- }]
509
- }] });
345
+ var TuiThemeNightComponent = /** @class */ (function (_super) {
346
+ __extends(TuiThemeNightComponent, _super);
347
+ function TuiThemeNightComponent() {
348
+ return _super !== null && _super.apply(this, arguments) || this;
349
+ }
350
+ return TuiThemeNightComponent;
351
+ }(cdk.AbstractTuiThemeSwitcher));
352
+ TuiThemeNightComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiThemeNightComponent, deps: null, target: i0__namespace.ɵɵFactoryTarget.Component });
353
+ TuiThemeNightComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiThemeNightComponent, selector: "tui-theme-night", usesInheritance: true, ngImport: i0__namespace, template: '', isInline: true, styles: [":root{--tui-base-01: #222;--tui-base-02: #333;--tui-base-03: #808080;--tui-base-04: #959595;--tui-base-05: #b0b0b0;--tui-base-06: #d7d7d7;--tui-base-07: #ededed;--tui-base-08: #f6f6f6;--tui-base-09: #fff;--tui-focus: rgba(51, 51, 51, .64);--tui-secondary: rgba(255, 255, 255, .16);--tui-secondary-hover: rgba(255, 255, 255, .24);--tui-secondary-active: rgba(255, 255, 255, .4);--tui-clear: rgba(255, 255, 255, .16);--tui-clear-disabled: rgba(255, 255, 255, .08);--tui-clear-hover: rgba(255, 255, 255, .24);--tui-clear-active: rgba(255, 255, 255, .4);--tui-error-fill: #ff8c67;--tui-error-bg: rgba(244, 87, 37, .32);--tui-error-bg-hover: rgba(244, 87, 37, .4);--tui-success-fill: #4ac99b;--tui-success-bg: rgba(74, 201, 155, .32);--tui-success-bg-hover: rgba(74, 201, 155, .4);--tui-warning-fill: #ffc700;--tui-warning-bg: rgba(255, 199, 0, .32);--tui-warning-bg-hover: rgba(255, 199, 0, .4);--tui-info-fill: #70b6f6;--tui-info-bg: rgba(112, 182, 246, .32);--tui-info-bg-hover: rgba(112, 182, 246, .4);--tui-neutral-fill: #959ba4;--tui-neutral-bg: rgba(149, 155, 164, .32);--tui-neutral-bg-hover: rgba(149, 155, 164, .48);--tui-text-01: #ffffff;--tui-text-02: rgba(255, 255, 255, .72);--tui-text-03: rgba(255, 255, 255, .6);--tui-link: #6788ff;--tui-link-hover: #526ed3;--tui-positive: #44c596;--tui-positive-hover: #3aa981;--tui-negative: #ff8c67;--tui-negative-hover: #bb593a;--tui-autofill: var(--tui-autofill-night);--tui-elevation-01: #222;--tui-elevation-02: #222;--tui-shadow: 0 .25rem 1.5rem rgba(0, 0, 0, .12);--tui-shadow-hover: 0 .75rem 2.25rem rgba(0, 0, 0, .2);--tui-shadow-dropdown: 0 1.5rem 1rem rgba(0, 0, 0, .03), 0 .75rem .75rem rgba(0, 0, 0, .04), 0 .25rem .375rem rgba(0, 0, 0, .05);--tui-shadow-modal: 0 1.125rem 1.875rem rgba(0, 0, 0, .48);--tui-shadow-sidebar: .25rem 0 1.5rem rgba(0, 0, 0, .12);--tui-shadow-navigation: 0 .125rem 1rem rgba(0, 0, 0, .08);--tui-shadow-sheet: 0 -1rem 1.75rem rgba(0, 0, 0, .24)}tui-notification{--tui-base-01: #000}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
354
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiThemeNightComponent, decorators: [{
355
+ type: i0.Component,
356
+ args: [{
357
+ selector: 'tui-theme-night',
358
+ template: '',
359
+ styleUrls: ['./theme-night.style.less'],
360
+ encapsulation: i0.ViewEncapsulation.None,
361
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
362
+ }]
363
+ }] });
510
364
 
511
- var TuiThemeNightModule = /** @class */ (function () {
512
- function TuiThemeNightModule() {
513
- }
514
- return TuiThemeNightModule;
515
- }());
516
- TuiThemeNightModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiThemeNightModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
517
- TuiThemeNightModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiThemeNightModule, declarations: [TuiThemeNightComponent], exports: [TuiThemeNightComponent] });
518
- TuiThemeNightModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiThemeNightModule });
519
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiThemeNightModule, decorators: [{
520
- type: i0.NgModule,
521
- args: [{
522
- declarations: [TuiThemeNightComponent],
523
- exports: [TuiThemeNightComponent],
524
- }]
525
- }] });
365
+ var TuiThemeNightModule = /** @class */ (function () {
366
+ function TuiThemeNightModule() {
367
+ }
368
+ return TuiThemeNightModule;
369
+ }());
370
+ TuiThemeNightModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiThemeNightModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
371
+ TuiThemeNightModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiThemeNightModule, declarations: [TuiThemeNightComponent], exports: [TuiThemeNightComponent] });
372
+ TuiThemeNightModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiThemeNightModule });
373
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiThemeNightModule, decorators: [{
374
+ type: i0.NgModule,
375
+ args: [{
376
+ declarations: [TuiThemeNightComponent],
377
+ exports: [TuiThemeNightComponent],
378
+ }]
379
+ }] });
526
380
 
527
- /**
528
- * Generated bundle index. Do not edit.
529
- */
381
+ /**
382
+ * Generated bundle index. Do not edit.
383
+ */
530
384
 
531
- exports.TuiThemeNightComponent = TuiThemeNightComponent;
532
- exports.TuiThemeNightModule = TuiThemeNightModule;
385
+ exports.TuiThemeNightComponent = TuiThemeNightComponent;
386
+ exports.TuiThemeNightModule = TuiThemeNightModule;
533
387
 
534
- Object.defineProperty(exports, '__esModule', { value: true });
388
+ Object.defineProperty(exports, '__esModule', { value: true });
535
389
 
536
390
  }));
537
391
  //# sourceMappingURL=taiga-ui-core-components-theme-night.umd.js.map