@taiga-ui/core 2.32.0 → 2.33.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 (191) hide show
  1. package/abstract/abstract-dropdown.d.ts +2 -1
  2. package/abstract/abstract-textfield-host.d.ts +13 -0
  3. package/abstract/index.d.ts +1 -0
  4. package/abstract/taiga-ui-core-abstract.metadata.json +1 -1
  5. package/bundles/taiga-ui-core-abstract.umd.js +63 -0
  6. package/bundles/taiga-ui-core-abstract.umd.js.map +1 -1
  7. package/bundles/taiga-ui-core-abstract.umd.min.js +1 -1
  8. package/bundles/taiga-ui-core-abstract.umd.min.js.map +1 -1
  9. package/bundles/taiga-ui-core-components-dialog.umd.js +1 -1
  10. package/bundles/taiga-ui-core-components-dialog.umd.min.js +1 -1
  11. package/bundles/taiga-ui-core-components-dialog.umd.min.js.map +1 -1
  12. package/bundles/taiga-ui-core-components-dropdown-box.umd.js +1 -1
  13. package/bundles/taiga-ui-core-components-dropdown-box.umd.min.js +1 -1
  14. package/bundles/taiga-ui-core-components-dropdown-box.umd.min.js.map +1 -1
  15. package/bundles/taiga-ui-core-components-label.umd.js +1 -1
  16. package/bundles/taiga-ui-core-components-label.umd.min.js +1 -1
  17. package/bundles/taiga-ui-core-components-label.umd.min.js.map +1 -1
  18. package/bundles/taiga-ui-core-components-loader.umd.js +5 -2
  19. package/bundles/taiga-ui-core-components-loader.umd.js.map +1 -1
  20. package/bundles/taiga-ui-core-components-loader.umd.min.js +1 -1
  21. package/bundles/taiga-ui-core-components-loader.umd.min.js.map +1 -1
  22. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +201 -42
  23. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
  24. package/bundles/taiga-ui-core-components-primitive-textfield.umd.min.js +2 -2
  25. package/bundles/taiga-ui-core-components-primitive-textfield.umd.min.js.map +1 -1
  26. package/bundles/taiga-ui-core-components-theme-night.umd.js +1 -1
  27. package/bundles/taiga-ui-core-components-theme-night.umd.min.js +1 -1
  28. package/bundles/taiga-ui-core-components-theme-night.umd.min.js.map +1 -1
  29. package/bundles/taiga-ui-core-components-tooltip.umd.js +1 -1
  30. package/bundles/taiga-ui-core-components-tooltip.umd.min.js +1 -1
  31. package/bundles/taiga-ui-core-components-tooltip.umd.min.js.map +1 -1
  32. package/bundles/taiga-ui-core-constants.umd.js +1 -1
  33. package/bundles/taiga-ui-core-constants.umd.js.map +1 -1
  34. package/bundles/taiga-ui-core-constants.umd.min.js +1 -1
  35. package/bundles/taiga-ui-core-constants.umd.min.js.map +1 -1
  36. package/bundles/taiga-ui-core-directives-dropdown.umd.js +1 -6
  37. package/bundles/taiga-ui-core-directives-dropdown.umd.js.map +1 -1
  38. package/bundles/taiga-ui-core-directives-dropdown.umd.min.js +2 -2
  39. package/bundles/taiga-ui-core-directives-dropdown.umd.min.js.map +1 -1
  40. package/bundles/taiga-ui-core-directives.umd.js +4 -12
  41. package/bundles/taiga-ui-core-directives.umd.js.map +1 -1
  42. package/bundles/taiga-ui-core-directives.umd.min.js +1 -1
  43. package/bundles/taiga-ui-core-tokens.umd.js +3 -0
  44. package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
  45. package/bundles/taiga-ui-core-tokens.umd.min.js +2 -2
  46. package/bundles/taiga-ui-core-tokens.umd.min.js.map +1 -1
  47. package/bundles/taiga-ui-core-utils-format.umd.js +1 -1
  48. package/bundles/taiga-ui-core-utils-format.umd.js.map +1 -1
  49. package/bundles/taiga-ui-core-utils-format.umd.min.js +1 -1
  50. package/bundles/taiga-ui-core-utils-format.umd.min.js.map +1 -1
  51. package/components/dialog/taiga-ui-core-components-dialog.metadata.json +1 -1
  52. package/components/dropdown-box/taiga-ui-core-components-dropdown-box.metadata.json +1 -1
  53. package/components/label/taiga-ui-core-components-label.metadata.json +1 -1
  54. package/components/loader/loader.directive.d.ts +3 -0
  55. package/components/loader/taiga-ui-core-components-loader.metadata.json +1 -1
  56. package/components/primitive-textfield/index.d.ts +2 -0
  57. package/components/primitive-textfield/primitive-textfield.component.d.ts +12 -8
  58. package/components/primitive-textfield/primitive-textfield.directive.d.ts +8 -0
  59. package/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.metadata.json +1 -1
  60. package/components/primitive-textfield/textfield/textfield.component.d.ts +15 -0
  61. package/components/primitive-textfield/value-decoration/value-decoration.component.d.ts +1 -0
  62. package/components/theme-night/taiga-ui-core-components-theme-night.metadata.json +1 -1
  63. package/components/tooltip/taiga-ui-core-components-tooltip.metadata.json +1 -1
  64. package/constants/taiga-ui-core-constants.metadata.json +1 -1
  65. package/constants/version.d.ts +1 -1
  66. package/directives/dropdown/taiga-ui-core-directives-dropdown.metadata.json +1 -1
  67. package/directives/index.d.ts +0 -1
  68. package/directives/taiga-ui-core-directives.metadata.json +1 -1
  69. package/esm2015/abstract/abstract-dropdown.js +12 -1
  70. package/esm2015/abstract/abstract-textfield-host.js +34 -0
  71. package/esm2015/abstract/index.js +2 -1
  72. package/esm2015/components/dialog/dialog.component.js +1 -1
  73. package/esm2015/components/dropdown-box/dropdown-box.component.js +1 -1
  74. package/esm2015/components/label/label.component.js +1 -1
  75. package/esm2015/components/loader/loader.component.js +1 -1
  76. package/esm2015/components/loader/loader.directive.js +5 -2
  77. package/esm2015/components/primitive-textfield/index.js +3 -1
  78. package/esm2015/components/primitive-textfield/primitive-textfield.component.js +54 -29
  79. package/esm2015/components/primitive-textfield/primitive-textfield.directive.js +40 -0
  80. package/esm2015/components/primitive-textfield/primitive-textfield.module.js +15 -7
  81. package/esm2015/components/primitive-textfield/textfield/textfield.component.js +68 -0
  82. package/esm2015/components/primitive-textfield/value-decoration/value-decoration.component.js +12 -5
  83. package/esm2015/components/theme-night/theme-night.component.js +1 -1
  84. package/esm2015/components/tooltip/tooltip.component.js +1 -1
  85. package/esm2015/constants/version.js +2 -2
  86. package/esm2015/directives/dropdown/dropdown.directive.js +2 -7
  87. package/esm2015/directives/index.js +1 -2
  88. package/esm2015/interfaces/index.js +1 -1
  89. package/esm2015/interfaces/textfield-host.js +1 -0
  90. package/esm2015/tokens/index.js +2 -1
  91. package/esm2015/tokens/textfield-host.js +3 -0
  92. package/esm2015/utils/format/format-number.js +2 -2
  93. package/esm5/abstract/abstract-dropdown.js +12 -1
  94. package/esm5/abstract/abstract-textfield-host.js +55 -0
  95. package/esm5/abstract/index.js +2 -1
  96. package/esm5/components/dialog/dialog.component.js +1 -1
  97. package/esm5/components/dropdown-box/dropdown-box.component.js +1 -1
  98. package/esm5/components/label/label.component.js +1 -1
  99. package/esm5/components/loader/loader.component.js +1 -1
  100. package/esm5/components/loader/loader.directive.js +5 -2
  101. package/esm5/components/primitive-textfield/index.js +3 -1
  102. package/esm5/components/primitive-textfield/primitive-textfield.component.js +58 -33
  103. package/esm5/components/primitive-textfield/primitive-textfield.directive.js +49 -0
  104. package/esm5/components/primitive-textfield/primitive-textfield.module.js +15 -7
  105. package/esm5/components/primitive-textfield/textfield/textfield.component.js +77 -0
  106. package/esm5/components/primitive-textfield/value-decoration/value-decoration.component.js +16 -5
  107. package/esm5/components/theme-night/theme-night.component.js +1 -1
  108. package/esm5/components/tooltip/tooltip.component.js +1 -1
  109. package/esm5/constants/version.js +2 -2
  110. package/esm5/directives/dropdown/dropdown.directive.js +2 -7
  111. package/esm5/directives/index.js +1 -2
  112. package/esm5/interfaces/index.js +1 -1
  113. package/esm5/interfaces/textfield-host.js +1 -0
  114. package/esm5/tokens/index.js +2 -1
  115. package/esm5/tokens/textfield-host.js +3 -0
  116. package/esm5/utils/format/format-number.js +2 -2
  117. package/fesm2015/taiga-ui-core-abstract.js +45 -4
  118. package/fesm2015/taiga-ui-core-abstract.js.map +1 -1
  119. package/fesm2015/taiga-ui-core-components-dialog.js +1 -1
  120. package/fesm2015/taiga-ui-core-components-dropdown-box.js +1 -1
  121. package/fesm2015/taiga-ui-core-components-label.js +1 -1
  122. package/fesm2015/taiga-ui-core-components-loader.js +5 -2
  123. package/fesm2015/taiga-ui-core-components-loader.js.map +1 -1
  124. package/fesm2015/taiga-ui-core-components-primitive-textfield.js +175 -40
  125. package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
  126. package/fesm2015/taiga-ui-core-components-theme-night.js +1 -1
  127. package/fesm2015/taiga-ui-core-components-tooltip.js +1 -1
  128. package/fesm2015/taiga-ui-core-constants.js +1 -1
  129. package/fesm2015/taiga-ui-core-constants.js.map +1 -1
  130. package/fesm2015/taiga-ui-core-directives-dropdown.js +1 -6
  131. package/fesm2015/taiga-ui-core-directives-dropdown.js.map +1 -1
  132. package/fesm2015/taiga-ui-core-directives.js +0 -1
  133. package/fesm2015/taiga-ui-core-directives.js.map +1 -1
  134. package/fesm2015/taiga-ui-core-tokens.js +3 -1
  135. package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
  136. package/fesm2015/taiga-ui-core-utils-format.js +1 -1
  137. package/fesm2015/taiga-ui-core-utils-format.js.map +1 -1
  138. package/fesm5/taiga-ui-core-abstract.js +66 -4
  139. package/fesm5/taiga-ui-core-abstract.js.map +1 -1
  140. package/fesm5/taiga-ui-core-components-dialog.js +1 -1
  141. package/fesm5/taiga-ui-core-components-dropdown-box.js +1 -1
  142. package/fesm5/taiga-ui-core-components-label.js +1 -1
  143. package/fesm5/taiga-ui-core-components-loader.js +5 -2
  144. package/fesm5/taiga-ui-core-components-loader.js.map +1 -1
  145. package/fesm5/taiga-ui-core-components-primitive-textfield.js +201 -44
  146. package/fesm5/taiga-ui-core-components-primitive-textfield.js.map +1 -1
  147. package/fesm5/taiga-ui-core-components-theme-night.js +1 -1
  148. package/fesm5/taiga-ui-core-components-tooltip.js +1 -1
  149. package/fesm5/taiga-ui-core-constants.js +1 -1
  150. package/fesm5/taiga-ui-core-constants.js.map +1 -1
  151. package/fesm5/taiga-ui-core-directives-dropdown.js +1 -6
  152. package/fesm5/taiga-ui-core-directives-dropdown.js.map +1 -1
  153. package/fesm5/taiga-ui-core-directives.js +0 -1
  154. package/fesm5/taiga-ui-core-directives.js.map +1 -1
  155. package/fesm5/taiga-ui-core-tokens.js +3 -1
  156. package/fesm5/taiga-ui-core-tokens.js.map +1 -1
  157. package/fesm5/taiga-ui-core-utils-format.js +1 -1
  158. package/fesm5/taiga-ui-core-utils-format.js.map +1 -1
  159. package/interfaces/index.d.ts +1 -0
  160. package/interfaces/taiga-ui-core-interfaces.metadata.json +1 -1
  161. package/interfaces/textfield-host.d.ts +9 -0
  162. package/package.json +10 -9
  163. package/styles/markup/tui-island.less +1 -0
  164. package/styles/mixins/textfield.less +40 -27
  165. package/styles/mixins/textfield.scss +0 -9
  166. package/styles/theme/variables.less +2 -0
  167. package/tokens/index.d.ts +1 -0
  168. package/tokens/taiga-ui-core-tokens.metadata.json +1 -1
  169. package/tokens/textfield-host.d.ts +3 -0
  170. package/bundles/taiga-ui-core-directives-border.umd.js +0 -291
  171. package/bundles/taiga-ui-core-directives-border.umd.js.map +0 -1
  172. package/bundles/taiga-ui-core-directives-border.umd.min.js +0 -16
  173. package/bundles/taiga-ui-core-directives-border.umd.min.js.map +0 -1
  174. package/directives/border/border.directive.d.ts +0 -9
  175. package/directives/border/border.module.d.ts +0 -2
  176. package/directives/border/index.d.ts +0 -2
  177. package/directives/border/package.json +0 -13
  178. package/directives/border/taiga-ui-core-directives-border.d.ts +0 -4
  179. package/directives/border/taiga-ui-core-directives-border.metadata.json +0 -1
  180. package/esm2015/directives/border/border.directive.js +0 -42
  181. package/esm2015/directives/border/border.module.js +0 -13
  182. package/esm2015/directives/border/index.js +0 -3
  183. package/esm2015/directives/border/taiga-ui-core-directives-border.js +0 -5
  184. package/esm5/directives/border/border.directive.js +0 -51
  185. package/esm5/directives/border/border.module.js +0 -16
  186. package/esm5/directives/border/index.js +0 -3
  187. package/esm5/directives/border/taiga-ui-core-directives-border.js +0 -5
  188. package/fesm2015/taiga-ui-core-directives-border.js +0 -57
  189. package/fesm2015/taiga-ui-core-directives-border.js.map +0 -1
  190. package/fesm5/taiga-ui-core-directives-border.js +0 -69
  191. package/fesm5/taiga-ui-core-directives-border.js.map +0 -1
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktY29yZS1kaXJlY3RpdmVzLWJvcmRlci5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9jb3JlL2RpcmVjdGl2ZXMvYm9yZGVyLyIsInNvdXJjZXMiOlsidGFpZ2EtdWktY29yZS1kaXJlY3RpdmVzLWJvcmRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,51 +0,0 @@
1
- import { __decorate, __param } from "tslib";
2
- import { Directive, HostBinding, Inject, Input } from '@angular/core';
3
- import { CSS } from '@ng-web-apis/common';
4
- var TuiBorderDirective = /** @class */ (function () {
5
- function TuiBorderDirective(css) {
6
- this.css = css;
7
- this.start = 0;
8
- this.end = 0;
9
- this.modern = this.css.supports('border-inline-start-width', '0');
10
- }
11
- Object.defineProperty(TuiBorderDirective.prototype, "oldStart", {
12
- get: function () {
13
- return this.modern ? null : this.start;
14
- },
15
- enumerable: true,
16
- configurable: true
17
- });
18
- Object.defineProperty(TuiBorderDirective.prototype, "oldEnd", {
19
- get: function () {
20
- return this.modern ? null : this.end;
21
- },
22
- enumerable: true,
23
- configurable: true
24
- });
25
- TuiBorderDirective.ctorParameters = function () { return [
26
- { type: undefined, decorators: [{ type: Inject, args: [CSS,] }] }
27
- ]; };
28
- __decorate([
29
- Input('tuiBorderStart'),
30
- HostBinding('style.borderInlineStartWidth.rem')
31
- ], TuiBorderDirective.prototype, "start", void 0);
32
- __decorate([
33
- Input('tuiBorderEnd'),
34
- HostBinding('style.borderInlineEndWidth.rem')
35
- ], TuiBorderDirective.prototype, "end", void 0);
36
- __decorate([
37
- HostBinding('style.borderLeftWidth.rem')
38
- ], TuiBorderDirective.prototype, "oldStart", null);
39
- __decorate([
40
- HostBinding('style.borderRightWidth.rem')
41
- ], TuiBorderDirective.prototype, "oldEnd", null);
42
- TuiBorderDirective = __decorate([
43
- Directive({
44
- selector: '[tuiBorderStart], [tuiBorderEnd]',
45
- }),
46
- __param(0, Inject(CSS))
47
- ], TuiBorderDirective);
48
- return TuiBorderDirective;
49
- }());
50
- export { TuiBorderDirective };
51
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm9yZGVyLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9jb3JlL2RpcmVjdGl2ZXMvYm9yZGVyLyIsInNvdXJjZXMiOlsiYm9yZGVyLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxXQUFXLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUNwRSxPQUFPLEVBQUMsR0FBRyxFQUFDLE1BQU0scUJBQXFCLENBQUM7QUFLeEM7SUFXSSw0QkFBMEMsR0FBUTtRQUFSLFFBQUcsR0FBSCxHQUFHLENBQUs7UUFSbEQsVUFBSyxHQUFHLENBQUMsQ0FBQztRQUlWLFFBQUcsR0FBRyxDQUFDLENBQUM7UUFFQyxXQUFNLEdBQUcsSUFBSSxDQUFDLEdBQUcsQ0FBQyxRQUFRLENBQUMsMkJBQTJCLEVBQUUsR0FBRyxDQUFDLENBQUM7SUFFakIsQ0FBQztJQUd0RCxzQkFBSSx3Q0FBUTthQUFaO1lBQ0ksT0FBTyxJQUFJLENBQUMsTUFBTSxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLElBQUksQ0FBQyxLQUFLLENBQUM7UUFDM0MsQ0FBQzs7O09BQUE7SUFHRCxzQkFBSSxzQ0FBTTthQUFWO1lBQ0ksT0FBTyxJQUFJLENBQUMsTUFBTSxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLElBQUksQ0FBQyxHQUFHLENBQUM7UUFDekMsQ0FBQzs7O09BQUE7O2dEQVZZLE1BQU0sU0FBQyxHQUFHOztJQVJ2QjtRQUZDLEtBQUssQ0FBQyxnQkFBZ0IsQ0FBQztRQUN2QixXQUFXLENBQUMsa0NBQWtDLENBQUM7cURBQ3RDO0lBSVY7UUFGQyxLQUFLLENBQUMsY0FBYyxDQUFDO1FBQ3JCLFdBQVcsQ0FBQyxnQ0FBZ0MsQ0FBQzttREFDdEM7SUFPUjtRQURDLFdBQVcsQ0FBQywyQkFBMkIsQ0FBQztzREFHeEM7SUFHRDtRQURDLFdBQVcsQ0FBQyw0QkFBNEIsQ0FBQztvREFHekM7SUFyQlEsa0JBQWtCO1FBSDlCLFNBQVMsQ0FBQztZQUNQLFFBQVEsRUFBRSxrQ0FBa0M7U0FDL0MsQ0FBQztRQVllLFdBQUEsTUFBTSxDQUFDLEdBQUcsQ0FBQyxDQUFBO09BWGYsa0JBQWtCLENBc0I5QjtJQUFELHlCQUFDO0NBQUEsQUF0QkQsSUFzQkM7U0F0Qlksa0JBQWtCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtEaXJlY3RpdmUsIEhvc3RCaW5kaW5nLCBJbmplY3QsIElucHV0fSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7Q1NTfSBmcm9tICdAbmctd2ViLWFwaXMvY29tbW9uJztcblxuQERpcmVjdGl2ZSh7XG4gICAgc2VsZWN0b3I6ICdbdHVpQm9yZGVyU3RhcnRdLCBbdHVpQm9yZGVyRW5kXScsXG59KVxuZXhwb3J0IGNsYXNzIFR1aUJvcmRlckRpcmVjdGl2ZSB7XG4gICAgQElucHV0KCd0dWlCb3JkZXJTdGFydCcpXG4gICAgQEhvc3RCaW5kaW5nKCdzdHlsZS5ib3JkZXJJbmxpbmVTdGFydFdpZHRoLnJlbScpXG4gICAgc3RhcnQgPSAwO1xuXG4gICAgQElucHV0KCd0dWlCb3JkZXJFbmQnKVxuICAgIEBIb3N0QmluZGluZygnc3R5bGUuYm9yZGVySW5saW5lRW5kV2lkdGgucmVtJylcbiAgICBlbmQgPSAwO1xuXG4gICAgcmVhZG9ubHkgbW9kZXJuID0gdGhpcy5jc3Muc3VwcG9ydHMoJ2JvcmRlci1pbmxpbmUtc3RhcnQtd2lkdGgnLCAnMCcpO1xuXG4gICAgY29uc3RydWN0b3IoQEluamVjdChDU1MpIHByaXZhdGUgcmVhZG9ubHkgY3NzOiBhbnkpIHt9XG5cbiAgICBASG9zdEJpbmRpbmcoJ3N0eWxlLmJvcmRlckxlZnRXaWR0aC5yZW0nKVxuICAgIGdldCBvbGRTdGFydCgpOiBudW1iZXIgfCBudWxsIHtcbiAgICAgICAgcmV0dXJuIHRoaXMubW9kZXJuID8gbnVsbCA6IHRoaXMuc3RhcnQ7XG4gICAgfVxuXG4gICAgQEhvc3RCaW5kaW5nKCdzdHlsZS5ib3JkZXJSaWdodFdpZHRoLnJlbScpXG4gICAgZ2V0IG9sZEVuZCgpOiBudW1iZXIgfCBudWxsIHtcbiAgICAgICAgcmV0dXJuIHRoaXMubW9kZXJuID8gbnVsbCA6IHRoaXMuZW5kO1xuICAgIH1cbn1cbiJdfQ==
@@ -1,16 +0,0 @@
1
- import { __decorate } from "tslib";
2
- import { NgModule } from '@angular/core';
3
- import { TuiBorderDirective } from './border.directive';
4
- var TuiBorderModule = /** @class */ (function () {
5
- function TuiBorderModule() {
6
- }
7
- TuiBorderModule = __decorate([
8
- NgModule({
9
- declarations: [TuiBorderDirective],
10
- exports: [TuiBorderDirective],
11
- })
12
- ], TuiBorderModule);
13
- return TuiBorderModule;
14
- }());
15
- export { TuiBorderModule };
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm9yZGVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9jb3JlL2RpcmVjdGl2ZXMvYm9yZGVyLyIsInNvdXJjZXMiOlsiYm9yZGVyLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUV2QyxPQUFPLEVBQUMsa0JBQWtCLEVBQUMsTUFBTSxvQkFBb0IsQ0FBQztBQU10RDtJQUFBO0lBQThCLENBQUM7SUFBbEIsZUFBZTtRQUozQixRQUFRLENBQUM7WUFDTixZQUFZLEVBQUUsQ0FBQyxrQkFBa0IsQ0FBQztZQUNsQyxPQUFPLEVBQUUsQ0FBQyxrQkFBa0IsQ0FBQztTQUNoQyxDQUFDO09BQ1csZUFBZSxDQUFHO0lBQUQsc0JBQUM7Q0FBQSxBQUEvQixJQUErQjtTQUFsQixlQUFlIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtOZ01vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmltcG9ydCB7VHVpQm9yZGVyRGlyZWN0aXZlfSBmcm9tICcuL2JvcmRlci5kaXJlY3RpdmUnO1xuXG5ATmdNb2R1bGUoe1xuICAgIGRlY2xhcmF0aW9uczogW1R1aUJvcmRlckRpcmVjdGl2ZV0sXG4gICAgZXhwb3J0czogW1R1aUJvcmRlckRpcmVjdGl2ZV0sXG59KVxuZXhwb3J0IGNsYXNzIFR1aUJvcmRlck1vZHVsZSB7fVxuIl19
@@ -1,3 +0,0 @@
1
- export * from './border.directive';
2
- export * from './border.module';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS9kaXJlY3RpdmVzL2JvcmRlci8iLCJzb3VyY2VzIjpbImluZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsb0JBQW9CLENBQUM7QUFDbkMsY0FBYyxpQkFBaUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYm9yZGVyLmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL2JvcmRlci5tb2R1bGUnO1xuIl19
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktY29yZS1kaXJlY3RpdmVzLWJvcmRlci5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0B0YWlnYS11aS9jb3JlL2RpcmVjdGl2ZXMvYm9yZGVyLyIsInNvdXJjZXMiOlsidGFpZ2EtdWktY29yZS1kaXJlY3RpdmVzLWJvcmRlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,57 +0,0 @@
1
- import { __decorate, __param } from 'tslib';
2
- import { Inject, Input, HostBinding, Directive, NgModule } from '@angular/core';
3
- import { CSS } from '@ng-web-apis/common';
4
-
5
- let TuiBorderDirective = class TuiBorderDirective {
6
- constructor(css) {
7
- this.css = css;
8
- this.start = 0;
9
- this.end = 0;
10
- this.modern = this.css.supports('border-inline-start-width', '0');
11
- }
12
- get oldStart() {
13
- return this.modern ? null : this.start;
14
- }
15
- get oldEnd() {
16
- return this.modern ? null : this.end;
17
- }
18
- };
19
- TuiBorderDirective.ctorParameters = () => [
20
- { type: undefined, decorators: [{ type: Inject, args: [CSS,] }] }
21
- ];
22
- __decorate([
23
- Input('tuiBorderStart'),
24
- HostBinding('style.borderInlineStartWidth.rem')
25
- ], TuiBorderDirective.prototype, "start", void 0);
26
- __decorate([
27
- Input('tuiBorderEnd'),
28
- HostBinding('style.borderInlineEndWidth.rem')
29
- ], TuiBorderDirective.prototype, "end", void 0);
30
- __decorate([
31
- HostBinding('style.borderLeftWidth.rem')
32
- ], TuiBorderDirective.prototype, "oldStart", null);
33
- __decorate([
34
- HostBinding('style.borderRightWidth.rem')
35
- ], TuiBorderDirective.prototype, "oldEnd", null);
36
- TuiBorderDirective = __decorate([
37
- Directive({
38
- selector: '[tuiBorderStart], [tuiBorderEnd]',
39
- }),
40
- __param(0, Inject(CSS))
41
- ], TuiBorderDirective);
42
-
43
- let TuiBorderModule = class TuiBorderModule {
44
- };
45
- TuiBorderModule = __decorate([
46
- NgModule({
47
- declarations: [TuiBorderDirective],
48
- exports: [TuiBorderDirective],
49
- })
50
- ], TuiBorderModule);
51
-
52
- /**
53
- * Generated bundle index. Do not edit.
54
- */
55
-
56
- export { TuiBorderDirective, TuiBorderModule };
57
- //# sourceMappingURL=taiga-ui-core-directives-border.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-core-directives-border.js","sources":["ng://@taiga-ui/core/directives/border/border.directive.ts","ng://@taiga-ui/core/directives/border/border.module.ts","ng://@taiga-ui/core/directives/border/taiga-ui-core-directives-border.ts"],"sourcesContent":["import {Directive, HostBinding, Inject, Input} from '@angular/core';\nimport {CSS} from '@ng-web-apis/common';\n\n@Directive({\n selector: '[tuiBorderStart], [tuiBorderEnd]',\n})\nexport class TuiBorderDirective {\n @Input('tuiBorderStart')\n @HostBinding('style.borderInlineStartWidth.rem')\n start = 0;\n\n @Input('tuiBorderEnd')\n @HostBinding('style.borderInlineEndWidth.rem')\n end = 0;\n\n readonly modern = this.css.supports('border-inline-start-width', '0');\n\n constructor(@Inject(CSS) private readonly css: any) {}\n\n @HostBinding('style.borderLeftWidth.rem')\n get oldStart(): number | null {\n return this.modern ? null : this.start;\n }\n\n @HostBinding('style.borderRightWidth.rem')\n get oldEnd(): number | null {\n return this.modern ? null : this.end;\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiBorderDirective} from './border.directive';\n\n@NgModule({\n declarations: [TuiBorderDirective],\n exports: [TuiBorderDirective],\n})\nexport class TuiBorderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;IAMa,kBAAkB,GAA/B,MAAa,kBAAkB;IAW3B,YAA0C,GAAQ;QAAR,QAAG,GAAH,GAAG,CAAK;QARlD,UAAK,GAAG,CAAC,CAAC;QAIV,QAAG,GAAG,CAAC,CAAC;QAEC,WAAM,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,2BAA2B,EAAE,GAAG,CAAC,CAAC;KAEhB;IAGtD,IAAI,QAAQ;QACR,OAAO,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC;KAC1C;IAGD,IAAI,MAAM;QACN,OAAO,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC;KACxC;EACJ;;4CAXgB,MAAM,SAAC,GAAG;;AARvB;IAFC,KAAK,CAAC,gBAAgB,CAAC;IACvB,WAAW,CAAC,kCAAkC,CAAC;iDACtC;AAIV;IAFC,KAAK,CAAC,cAAc,CAAC;IACrB,WAAW,CAAC,gCAAgC,CAAC;+CACtC;AAOR;IADC,WAAW,CAAC,2BAA2B,CAAC;kDAGxC;AAGD;IADC,WAAW,CAAC,4BAA4B,CAAC;gDAGzC;AArBQ,kBAAkB;IAH9B,SAAS,CAAC;QACP,QAAQ,EAAE,kCAAkC;KAC/C,CAAC;IAYe,WAAA,MAAM,CAAC,GAAG,CAAC,CAAA;GAXf,kBAAkB,CAsB9B;;ICpBY,eAAe,GAA5B,MAAa,eAAe;EAAG;AAAlB,eAAe;IAJ3B,QAAQ,CAAC;QACN,YAAY,EAAE,CAAC,kBAAkB,CAAC;QAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;KAChC,CAAC;GACW,eAAe,CAAG;;ACR/B;;;;;;"}
@@ -1,69 +0,0 @@
1
- import { __decorate, __param } from 'tslib';
2
- import { Inject, Input, HostBinding, Directive, NgModule } from '@angular/core';
3
- import { CSS } from '@ng-web-apis/common';
4
-
5
- var TuiBorderDirective = /** @class */ (function () {
6
- function TuiBorderDirective(css) {
7
- this.css = css;
8
- this.start = 0;
9
- this.end = 0;
10
- this.modern = this.css.supports('border-inline-start-width', '0');
11
- }
12
- Object.defineProperty(TuiBorderDirective.prototype, "oldStart", {
13
- get: function () {
14
- return this.modern ? null : this.start;
15
- },
16
- enumerable: true,
17
- configurable: true
18
- });
19
- Object.defineProperty(TuiBorderDirective.prototype, "oldEnd", {
20
- get: function () {
21
- return this.modern ? null : this.end;
22
- },
23
- enumerable: true,
24
- configurable: true
25
- });
26
- TuiBorderDirective.ctorParameters = function () { return [
27
- { type: undefined, decorators: [{ type: Inject, args: [CSS,] }] }
28
- ]; };
29
- __decorate([
30
- Input('tuiBorderStart'),
31
- HostBinding('style.borderInlineStartWidth.rem')
32
- ], TuiBorderDirective.prototype, "start", void 0);
33
- __decorate([
34
- Input('tuiBorderEnd'),
35
- HostBinding('style.borderInlineEndWidth.rem')
36
- ], TuiBorderDirective.prototype, "end", void 0);
37
- __decorate([
38
- HostBinding('style.borderLeftWidth.rem')
39
- ], TuiBorderDirective.prototype, "oldStart", null);
40
- __decorate([
41
- HostBinding('style.borderRightWidth.rem')
42
- ], TuiBorderDirective.prototype, "oldEnd", null);
43
- TuiBorderDirective = __decorate([
44
- Directive({
45
- selector: '[tuiBorderStart], [tuiBorderEnd]',
46
- }),
47
- __param(0, Inject(CSS))
48
- ], TuiBorderDirective);
49
- return TuiBorderDirective;
50
- }());
51
-
52
- var TuiBorderModule = /** @class */ (function () {
53
- function TuiBorderModule() {
54
- }
55
- TuiBorderModule = __decorate([
56
- NgModule({
57
- declarations: [TuiBorderDirective],
58
- exports: [TuiBorderDirective],
59
- })
60
- ], TuiBorderModule);
61
- return TuiBorderModule;
62
- }());
63
-
64
- /**
65
- * Generated bundle index. Do not edit.
66
- */
67
-
68
- export { TuiBorderDirective, TuiBorderModule };
69
- //# sourceMappingURL=taiga-ui-core-directives-border.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-core-directives-border.js","sources":["ng://@taiga-ui/core/directives/border/border.directive.ts","ng://@taiga-ui/core/directives/border/border.module.ts","ng://@taiga-ui/core/directives/border/taiga-ui-core-directives-border.ts"],"sourcesContent":["import {Directive, HostBinding, Inject, Input} from '@angular/core';\nimport {CSS} from '@ng-web-apis/common';\n\n@Directive({\n selector: '[tuiBorderStart], [tuiBorderEnd]',\n})\nexport class TuiBorderDirective {\n @Input('tuiBorderStart')\n @HostBinding('style.borderInlineStartWidth.rem')\n start = 0;\n\n @Input('tuiBorderEnd')\n @HostBinding('style.borderInlineEndWidth.rem')\n end = 0;\n\n readonly modern = this.css.supports('border-inline-start-width', '0');\n\n constructor(@Inject(CSS) private readonly css: any) {}\n\n @HostBinding('style.borderLeftWidth.rem')\n get oldStart(): number | null {\n return this.modern ? null : this.start;\n }\n\n @HostBinding('style.borderRightWidth.rem')\n get oldEnd(): number | null {\n return this.modern ? null : this.end;\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiBorderDirective} from './border.directive';\n\n@NgModule({\n declarations: [TuiBorderDirective],\n exports: [TuiBorderDirective],\n})\nexport class TuiBorderModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;IAiBI,4BAA0C,GAAQ;QAAR,QAAG,GAAH,GAAG,CAAK;QARlD,UAAK,GAAG,CAAC,CAAC;QAIV,QAAG,GAAG,CAAC,CAAC;QAEC,WAAM,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,2BAA2B,EAAE,GAAG,CAAC,CAAC;KAEhB;IAGtD,sBAAI,wCAAQ;aAAZ;YACI,OAAO,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC;SAC1C;;;OAAA;IAGD,sBAAI,sCAAM;aAAV;YACI,OAAO,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC;SACxC;;;OAAA;;gDAVY,MAAM,SAAC,GAAG;;IARvB;QAFC,KAAK,CAAC,gBAAgB,CAAC;QACvB,WAAW,CAAC,kCAAkC,CAAC;qDACtC;IAIV;QAFC,KAAK,CAAC,cAAc,CAAC;QACrB,WAAW,CAAC,gCAAgC,CAAC;mDACtC;IAOR;QADC,WAAW,CAAC,2BAA2B,CAAC;sDAGxC;IAGD;QADC,WAAW,CAAC,4BAA4B,CAAC;oDAGzC;IArBQ,kBAAkB;QAH9B,SAAS,CAAC;YACP,QAAQ,EAAE,kCAAkC;SAC/C,CAAC;QAYe,WAAA,MAAM,CAAC,GAAG,CAAC,CAAA;OAXf,kBAAkB,CAsB9B;IAAD,yBAAC;CAtBD;;;ICEA;KAA+B;IAAlB,eAAe;QAJ3B,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,kBAAkB,CAAC;YAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;SAChC,CAAC;OACW,eAAe,CAAG;IAAD,sBAAC;CAA/B;;ACRA;;;;;;"}