@taiga-ui/experimental 3.54.0 → 3.55.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 (144) hide show
  1. package/bundles/taiga-ui-experimental-components-avatar.umd.js +19 -15
  2. package/bundles/taiga-ui-experimental-components-avatar.umd.js.map +1 -1
  3. package/bundles/taiga-ui-experimental-components-badge.umd.js +117 -96
  4. package/bundles/taiga-ui-experimental-components-badge.umd.js.map +1 -1
  5. package/bundles/taiga-ui-experimental-components-badged-content.umd.js +1 -1
  6. package/bundles/taiga-ui-experimental-components-badged-content.umd.js.map +1 -1
  7. package/bundles/taiga-ui-experimental-components-button.umd.js +30 -23
  8. package/bundles/taiga-ui-experimental-components-button.umd.js.map +1 -1
  9. package/bundles/taiga-ui-experimental-components-checkbox.umd.js +9 -14
  10. package/bundles/taiga-ui-experimental-components-checkbox.umd.js.map +1 -1
  11. package/bundles/taiga-ui-experimental-components-icon.umd.js +23 -43
  12. package/bundles/taiga-ui-experimental-components-icon.umd.js.map +1 -1
  13. package/bundles/taiga-ui-experimental-components-toggle.umd.js +14 -30
  14. package/bundles/taiga-ui-experimental-components-toggle.umd.js.map +1 -1
  15. package/bundles/taiga-ui-experimental-directives-appearance.umd.js +82 -0
  16. package/bundles/taiga-ui-experimental-directives-appearance.umd.js.map +1 -0
  17. package/bundles/taiga-ui-experimental-directives-button-vertical.umd.js +95 -0
  18. package/bundles/taiga-ui-experimental-directives-button-vertical.umd.js.map +1 -0
  19. package/bundles/taiga-ui-experimental-directives-card.umd.js +89 -88
  20. package/bundles/taiga-ui-experimental-directives-card.umd.js.map +1 -1
  21. package/bundles/taiga-ui-experimental-directives-cell.umd.js +1 -1
  22. package/bundles/taiga-ui-experimental-directives-progress-segmented.umd.js +1 -1
  23. package/bundles/taiga-ui-experimental-directives-progress-segmented.umd.js.map +1 -1
  24. package/bundles/taiga-ui-experimental-directives-sensitive.umd.js +3 -3
  25. package/bundles/taiga-ui-experimental-directives-sensitive.umd.js.map +1 -1
  26. package/bundles/taiga-ui-experimental-directives-surface.umd.js +6 -5
  27. package/bundles/taiga-ui-experimental-directives-surface.umd.js.map +1 -1
  28. package/bundles/taiga-ui-experimental-directives.umd.js +16 -4
  29. package/bundles/taiga-ui-experimental-directives.umd.js.map +1 -1
  30. package/bundles/taiga-ui-experimental-tokens.umd.js +31 -0
  31. package/bundles/taiga-ui-experimental-tokens.umd.js.map +1 -0
  32. package/bundles/taiga-ui-experimental.umd.js +10 -4
  33. package/bundles/taiga-ui-experimental.umd.js.map +1 -1
  34. package/components/avatar/avatar.component.d.ts +5 -4
  35. package/components/avatar/avatar.module.d.ts +2 -2
  36. package/components/badge/badge.component.d.ts +1 -11
  37. package/components/badge/badge.directive.d.ts +13 -0
  38. package/components/badge/badge.module.d.ts +2 -1
  39. package/components/badge/badge.options.d.ts +2 -3
  40. package/components/badge/index.d.ts +1 -0
  41. package/components/button/button.component.d.ts +1 -3
  42. package/components/button/button.directive.d.ts +6 -3
  43. package/components/checkbox/checkbox.component.d.ts +5 -6
  44. package/components/icon/icon.component.d.ts +5 -1
  45. package/components/icon/icon.module.d.ts +1 -2
  46. package/components/icon/index.d.ts +0 -1
  47. package/components/toggle/toggle.component.d.ts +5 -10
  48. package/directives/appearance/appearance.directive.d.ts +9 -0
  49. package/directives/appearance/appearance.module.d.ts +7 -0
  50. package/directives/appearance/index.d.ts +2 -0
  51. package/directives/appearance/package.json +10 -0
  52. package/directives/appearance/taiga-ui-experimental-directives-appearance.d.ts +5 -0
  53. package/directives/button-vertical/button-vertical.component.d.ts +5 -0
  54. package/directives/button-vertical/button-vertical.directive.d.ts +7 -0
  55. package/directives/button-vertical/button-vertical.module.d.ts +8 -0
  56. package/directives/button-vertical/index.d.ts +3 -0
  57. package/directives/button-vertical/package.json +10 -0
  58. package/directives/button-vertical/taiga-ui-experimental-directives-button-vertical.d.ts +5 -0
  59. package/directives/card/card.component.d.ts +5 -0
  60. package/directives/card/card.directive.d.ts +0 -4
  61. package/directives/card/card.module.d.ts +3 -2
  62. package/directives/card/index.d.ts +1 -0
  63. package/directives/index.d.ts +2 -0
  64. package/directives/sensitive/sensitive.module.d.ts +2 -1
  65. package/esm2015/components/avatar/avatar.component.js +17 -12
  66. package/esm2015/components/avatar/avatar.module.js +5 -5
  67. package/esm2015/components/badge/badge.component.js +8 -36
  68. package/esm2015/components/badge/badge.directive.js +47 -0
  69. package/esm2015/components/badge/badge.module.js +5 -4
  70. package/esm2015/components/badge/badge.options.js +2 -2
  71. package/esm2015/components/badge/index.js +2 -1
  72. package/esm2015/components/badged-content/badged-content.component.js +1 -1
  73. package/esm2015/components/button/button.component.js +3 -10
  74. package/esm2015/components/button/button.directive.js +22 -7
  75. package/esm2015/components/checkbox/checkbox.component.js +9 -13
  76. package/esm2015/components/icon/icon.component.js +19 -7
  77. package/esm2015/components/icon/icon.module.js +4 -5
  78. package/esm2015/components/icon/index.js +1 -2
  79. package/esm2015/components/toggle/toggle.component.js +13 -29
  80. package/esm2015/directives/appearance/appearance.directive.js +30 -0
  81. package/esm2015/directives/appearance/appearance.module.js +16 -0
  82. package/esm2015/directives/appearance/index.js +3 -0
  83. package/esm2015/directives/appearance/taiga-ui-experimental-directives-appearance.js +5 -0
  84. package/esm2015/directives/button-vertical/button-vertical.component.js +19 -0
  85. package/esm2015/directives/button-vertical/button-vertical.directive.js +22 -0
  86. package/esm2015/directives/button-vertical/button-vertical.module.js +17 -0
  87. package/esm2015/directives/button-vertical/index.js +4 -0
  88. package/esm2015/directives/button-vertical/taiga-ui-experimental-directives-button-vertical.js +5 -0
  89. package/esm2015/directives/card/card.component.js +19 -0
  90. package/esm2015/directives/card/card.directive.js +3 -18
  91. package/esm2015/directives/card/card.module.js +3 -2
  92. package/esm2015/directives/card/index.js +2 -1
  93. package/esm2015/directives/cell/cell.component.js +1 -1
  94. package/esm2015/directives/index.js +3 -1
  95. package/esm2015/directives/progress-segmented/progress-segmented.component.js +1 -1
  96. package/esm2015/directives/sensitive/sensitive.component.js +1 -1
  97. package/esm2015/directives/sensitive/sensitive.module.js +4 -3
  98. package/esm2015/directives/surface/surface.component.js +1 -1
  99. package/esm2015/directives/surface/surface.directive.js +7 -6
  100. package/esm2015/index.js +2 -1
  101. package/esm2015/tokens/icon-resolver.js +15 -0
  102. package/esm2015/tokens/index.js +2 -0
  103. package/esm2015/tokens/taiga-ui-experimental-tokens.js +5 -0
  104. package/fesm2015/taiga-ui-experimental-components-avatar.js +20 -15
  105. package/fesm2015/taiga-ui-experimental-components-avatar.js.map +1 -1
  106. package/fesm2015/taiga-ui-experimental-components-badge.js +41 -25
  107. package/fesm2015/taiga-ui-experimental-components-badge.js.map +1 -1
  108. package/fesm2015/taiga-ui-experimental-components-badged-content.js +1 -1
  109. package/fesm2015/taiga-ui-experimental-components-badged-content.js.map +1 -1
  110. package/fesm2015/taiga-ui-experimental-components-button.js +25 -17
  111. package/fesm2015/taiga-ui-experimental-components-button.js.map +1 -1
  112. package/fesm2015/taiga-ui-experimental-components-checkbox.js +8 -12
  113. package/fesm2015/taiga-ui-experimental-components-checkbox.js.map +1 -1
  114. package/fesm2015/taiga-ui-experimental-components-icon.js +21 -37
  115. package/fesm2015/taiga-ui-experimental-components-icon.js.map +1 -1
  116. package/fesm2015/taiga-ui-experimental-components-toggle.js +12 -28
  117. package/fesm2015/taiga-ui-experimental-components-toggle.js.map +1 -1
  118. package/fesm2015/taiga-ui-experimental-directives-appearance.js +50 -0
  119. package/fesm2015/taiga-ui-experimental-directives-appearance.js.map +1 -0
  120. package/fesm2015/taiga-ui-experimental-directives-button-vertical.js +58 -0
  121. package/fesm2015/taiga-ui-experimental-directives-button-vertical.js.map +1 -0
  122. package/fesm2015/taiga-ui-experimental-directives-card.js +1 -0
  123. package/fesm2015/taiga-ui-experimental-directives-card.js.map +1 -1
  124. package/fesm2015/taiga-ui-experimental-directives-cell.js +1 -1
  125. package/fesm2015/taiga-ui-experimental-directives-progress-segmented.js +1 -1
  126. package/fesm2015/taiga-ui-experimental-directives-progress-segmented.js.map +1 -1
  127. package/fesm2015/taiga-ui-experimental-directives-sensitive.js +3 -3
  128. package/fesm2015/taiga-ui-experimental-directives-sensitive.js.map +1 -1
  129. package/fesm2015/taiga-ui-experimental-directives-surface.js +7 -6
  130. package/fesm2015/taiga-ui-experimental-directives-surface.js.map +1 -1
  131. package/fesm2015/taiga-ui-experimental-directives.js +2 -0
  132. package/fesm2015/taiga-ui-experimental-directives.js.map +1 -1
  133. package/fesm2015/taiga-ui-experimental-tokens.js +22 -0
  134. package/fesm2015/taiga-ui-experimental-tokens.js.map +1 -0
  135. package/fesm2015/taiga-ui-experimental.js +1 -0
  136. package/fesm2015/taiga-ui-experimental.js.map +1 -1
  137. package/index.d.ts +1 -0
  138. package/package.json +5 -5
  139. package/tokens/icon-resolver.d.ts +4 -0
  140. package/tokens/index.d.ts +1 -0
  141. package/tokens/package.json +10 -0
  142. package/tokens/taiga-ui-experimental-tokens.d.ts +5 -0
  143. package/components/icon/icon.pipe.d.ts +0 -12
  144. package/esm2015/components/icon/icon.pipe.js +0 -30
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('@taiga-ui/cdk'), require('@taiga-ui/core'), require('rxjs')) :
3
- typeof define === 'function' && define.amd ? define('@taiga-ui/experimental/components/toggle', ['exports', '@angular/core', '@angular/forms', '@taiga-ui/cdk', '@taiga-ui/core', 'rxjs'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].experimental = global["taiga-ui"].experimental || {}, global["taiga-ui"].experimental.components = global["taiga-ui"].experimental.components || {}, global["taiga-ui"].experimental.components.toggle = {}), global.ng.core, global.ng.forms, global.cdk, global.core, global.rxjs));
5
- })(this, (function (exports, i0, i2, cdk, core, i1) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('@taiga-ui/cdk'), require('@taiga-ui/experimental/tokens')) :
3
+ typeof define === 'function' && define.amd ? define('@taiga-ui/experimental/components/toggle', ['exports', '@angular/core', '@angular/forms', '@taiga-ui/cdk', '@taiga-ui/experimental/tokens'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].experimental = global["taiga-ui"].experimental || {}, global["taiga-ui"].experimental.components = global["taiga-ui"].experimental.components || {}, global["taiga-ui"].experimental.components.toggle = {}), global.ng.core, global.ng.forms, global.cdk, global["taiga-ui"].experimental.tokens));
5
+ })(this, (function (exports, i0, i1, cdk, tokens) { 'use strict';
6
6
 
7
7
  function _interopNamespace(e) {
8
8
  if (e && e.__esModule) return e;
@@ -23,7 +23,6 @@
23
23
  }
24
24
 
25
25
  var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
- var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
27
26
  var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
28
27
 
29
28
  var TUI_TOGGLE_DEFAULT_OPTIONS = {
@@ -37,30 +36,26 @@
37
36
  }
38
37
 
39
38
  var TuiToggleComponent = /** @class */ (function () {
40
- function TuiToggleComponent(baseHref, svg, options, mode$, platform, control) {
41
- this.baseHref = baseHref;
42
- this.svg = svg;
39
+ function TuiToggleComponent(resolver, options, control) {
40
+ this.resolver = resolver;
43
41
  this.options = options;
44
- this.mode$ = mode$;
45
- this.platform = platform;
46
42
  this.control = control;
47
43
  this.size = this.options.size;
48
44
  this.showIcons = this.options.showIcons;
49
45
  }
50
46
  Object.defineProperty(TuiToggleComponent.prototype, "icon", {
51
47
  get: function () {
52
- var _a = this, options = _a.options, svg = _a.svg, baseHref = _a.baseHref, size = _a.size;
48
+ var _a = this, options = _a.options, resolver = _a.resolver, size = _a.size;
53
49
  var icon = cdk.tuiIsString(options.icon) ? options.icon : options.icon(size);
54
- var mask = icon.includes('/') ? icon : svg.path(icon, baseHref);
55
- return "url(" + mask + ")";
50
+ return "url(" + resolver(icon) + ")";
56
51
  },
57
52
  enumerable: false,
58
53
  configurable: true
59
54
  });
60
55
  return TuiToggleComponent;
61
56
  }());
62
- TuiToggleComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiToggleComponent, deps: [{ token: cdk.TUI_BASE_HREF }, { token: core.TUI_SVG_OPTIONS }, { token: TUI_TOGGLE_OPTIONS }, { token: core.TUI_MODE }, { token: cdk.TUI_PLATFORM }, { token: i2.NgControl, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
63
- TuiToggleComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiToggleComponent, selector: "input[type=\"checkbox\"][tuiToggle]", inputs: { size: "size", showIcons: "showIcons" }, host: { listeners: { "$.data-mode.attr": "mode$" }, properties: { "disabled": "!control || control.disabled", "attr.data-size": "size", "attr.data-platform": "platform", "class._invalid": "control?.invalid && control?.touched", "class._readonly": "!control", "class._icons": "showIcons", "style.--t-mask": "this.icon" } }, providers: [core.MODE_PROVIDER], ngImport: i0__namespace, template: '', isInline: true, styles: [":host{transition-property:background,box-shadow;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;margin:0;outline:none}:host:disabled{pointer-events:none}:host:disabled:not(._readonly){opacity:var(--tui-disabled-opacity)}:host:focus-visible{box-shadow:inset 0 0 0 .125rem var(--tui-focus)!important}:host[data-platform=ios]{height:1.9375rem;width:3.1875rem;border-radius:2rem;color:var(--tui-text-01-night);background:var(--tui-base-04)}:host[data-platform=ios]:after{transition-property:transform,width;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";display:block;width:1.9375rem;height:1.9375rem;border-radius:2rem;background:currentColor;transform:scale(.871);box-shadow:0 .25rem .125rem #0000000f,0 .25rem .5rem #00000026}:host[data-platform=ios]:active:after{width:2.3rem}:host[data-platform=ios]:checked{background:var(--tui-accent)}:host[data-platform=ios]:checked:after{transform:scale(.871) translate(1.44rem)}:host[data-platform=ios]:checked:active:after{transform:scale(.871) translate(1.0775rem)}:host[data-platform=ios]._invalid{background:var(--tui-error-bg)}:host[data-platform=ios]._invalid:checked{background:var(--tui-error-fill)}:host[data-platform=android]{transition-property:color,opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;height:1.25rem;width:2.5rem;color:var(--tui-base-05);background:transparent}:host[data-platform=android]:before{content:\"\";display:block;height:100%;border:.1875rem solid transparent;box-sizing:border-box;border-radius:2rem;background:currentColor;background-clip:content-box;opacity:.5}:host[data-platform=android]:after{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";position:absolute;top:0;left:0;width:1.25rem;height:1.25rem;border-radius:100%;background:#ececec;box-shadow:0 .0625rem .0625rem #0000003d,0 0 .0625rem #0000001f,inset 0 .0625rem #ffffff1f}:host[data-platform=android]:checked{color:var(--tui-accent)}:host[data-platform=android]:checked:after{background:currentColor;transform:translate(1.25rem)}:host[data-platform=android]._invalid{color:var(--tui-error-fill)}:host[data-platform=android]._invalid:not(:checked){opacity:.4}:host[data-platform=android]._invalid:after{background:var(--tui-error-fill)}:host[data-platform=web]{width:3rem;height:1.5rem;border-radius:2rem;color:var(--tui-primary-text);overflow:hidden}:host[data-platform=web]:checked{background:var(--tui-primary)}:host[data-platform=web]:checked:hover{background:var(--tui-primary-hover)}:host[data-platform=web]:checked:active{background:var(--tui-primary-active)}:host[data-platform=web]:not(:checked){background:var(--tui-secondary)}:host[data-platform=web]:not(:checked):hover{background:var(--tui-secondary-hover)}:host[data-platform=web]:not(:checked):active{background:var(--tui-secondary-active)}:host[data-platform=web]:not(:checked)[data-mode=onDark]{background:var(--tui-clear-inverse)}:host[data-platform=web]:not(:checked)[data-mode=onDark]:hover{background:var(--tui-clear-inverse-hover)}:host[data-platform=web]:not(:checked)[data-mode=onDark]:active{background:var(--tui-clear-inverse-hover)}:host[data-platform=web]:before,:host[data-platform=web]:after{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";position:absolute;height:100%;width:1.5rem}:host[data-platform=web]:before{display:none;background:currentColor;-webkit-mask:var(--t-mask) no-repeat center;mask:var(--t-mask) no-repeat center;transform:translate(-1.5rem)}:host[data-platform=web]:after{right:0;border-radius:100%;transform:scale(.5);box-shadow:-3rem 0 0 .25rem var(--tui-text-01-night)}:host[data-platform=web]:checked:before{transform:none}:host[data-platform=web]:checked:after{transform:scale(.5) translate(3rem)}:host[data-platform=web][data-size=s]{height:1rem;width:2rem}:host[data-platform=web][data-size=s]:before{width:1rem;transform:translate(-1rem) scale(.875)}:host[data-platform=web][data-size=s]:after{width:1rem;box-shadow:-2rem 0 0 .25rem var(--tui-text-01-night)}:host[data-platform=web][data-size=s]:checked:before{transform:scale(.875)}:host[data-platform=web][data-size=s]:checked:after{transform:scale(.5) translate(2rem)}:host[data-platform=web]._invalid{background:var(--tui-error-bg)}:host[data-platform=web]._invalid:hover,:host[data-platform=web]._invalid:active{background:var(--tui-error-bg-hover)}:host[data-platform=web]._invalid:checked{background:var(--tui-error-fill)}:host[data-platform=web]._invalid[data-mode=onDark]{background:var(--tui-error-bg-night)}:host[data-platform=web]._invalid[data-mode=onDark]:hover,:host[data-platform=web]._invalid[data-mode=onDark]:active{background:var(--tui-error-bg-night-hover)}:host[data-platform=web]._invalid[data-mode=onDark]:checked{background:var(--tui-error-fill-night)}:host[data-platform=web]._icons:before{display:block}:host[data-platform=web]._icons:after{box-shadow:inset 0 0 0 .25rem var(--tui-clear-active),-3rem 0 0 .25rem var(--tui-text-01-night)}:host[data-platform=web]._icons[data-size=s]:after{box-shadow:inset 0 0 0 .125rem var(--tui-clear-active),-2rem 0 0 .25rem var(--tui-text-01-night)}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
57
+ TuiToggleComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiToggleComponent, deps: [{ token: tokens.TUI_ICON_RESOLVER }, { token: TUI_TOGGLE_OPTIONS }, { token: i1.NgControl, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Component });
58
+ TuiToggleComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiToggleComponent, selector: "input[type=\"checkbox\"][tuiToggle]", inputs: { size: "size", showIcons: "showIcons" }, host: { attributes: { "tuiAppearance": "" }, properties: { "disabled": "!control || control.disabled", "attr.data-size": "size", "class._invalid": "control?.invalid && control?.touched", "class._readonly": "!control", "class._icons": "showIcons", "style.--t-mask": "this.icon" } }, ngImport: i0__namespace, template: '', isInline: true, styles: [":host{transition-property:background,box-shadow;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;width:3rem;height:1.5rem;border-radius:2rem;color:var(--tui-primary-text);overflow:hidden;cursor:pointer;margin:0;background:var(--tui-secondary)}:host[data-size=s]{height:1rem;width:2rem}:host[data-size=s]:before{width:1rem;transform:translate(-1rem);-webkit-mask-size:.75rem;mask-size:.75rem}:host[data-size=s]:after{width:1rem;box-shadow:-2rem 0 0 .25rem var(--tui-text-01-night)}:host[data-size=s]:checked:after{transform:scale(.5) translate(2rem)}:host:hover{background:var(--tui-secondary-hover)}:host:active{background:var(--tui-secondary-active)}:host:checked{background:var(--tui-primary)}:host:checked:hover{background:var(--tui-primary-hover)}:host:checked:active{background:var(--tui-primary-active)}:host:checked:before{transform:none}:host:checked:after{transform:scale(.5) translate(3rem)}:host:disabled._readonly{opacity:1}:host:before,:host:after{transition-property:transform;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;content:\"\";position:absolute;height:100%;width:1.5rem}:host:before{display:none;background:currentColor;-webkit-mask:var(--t-mask) no-repeat center;mask:var(--t-mask) no-repeat center;-webkit-mask-size:1rem;mask-size:1rem;transform:translate(-1.5rem)}:host:after{right:0;border-radius:100%;transform:scale(.5);box-shadow:-3rem 0 0 .25rem var(--tui-text-01-night)}:host._icons:before{display:block}:host._icons:after{box-shadow:inset 0 0 0 .25rem var(--tui-clear-active),-3rem 0 0 .25rem var(--tui-text-01-night)}:host._icons[data-size=s]:after{box-shadow:inset 0 0 0 .125rem var(--tui-clear-active),-2rem 0 0 .25rem var(--tui-text-01-night)}:host._invalid{background:var(--tui-error-bg)}:host._invalid:hover,:host._invalid:active{background:var(--tui-error-bg-hover)}:host._invalid:checked{background:var(--tui-error-fill)}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
64
59
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiToggleComponent, decorators: [{
65
60
  type: i0.Component,
66
61
  args: [{
@@ -68,12 +63,10 @@
68
63
  template: '',
69
64
  styleUrls: ['./toggle.style.less'],
70
65
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
71
- providers: [core.MODE_PROVIDER],
72
66
  host: {
73
- '($.data-mode.attr)': 'mode$',
67
+ tuiAppearance: '',
74
68
  '[disabled]': '!control || control.disabled',
75
69
  '[attr.data-size]': 'size',
76
- '[attr.data-platform]': 'platform',
77
70
  '[class._invalid]': 'control?.invalid && control?.touched',
78
71
  '[class._readonly]': '!control',
79
72
  '[class._icons]': 'showIcons',
@@ -82,24 +75,15 @@
82
75
  }], ctorParameters: function () {
83
76
  return [{ type: undefined, decorators: [{
84
77
  type: i0.Inject,
85
- args: [cdk.TUI_BASE_HREF]
86
- }] }, { type: undefined, decorators: [{
87
- type: i0.Inject,
88
- args: [core.TUI_SVG_OPTIONS]
78
+ args: [tokens.TUI_ICON_RESOLVER]
89
79
  }] }, { type: undefined, decorators: [{
90
80
  type: i0.Inject,
91
81
  args: [TUI_TOGGLE_OPTIONS]
92
- }] }, { type: i1__namespace.Observable, decorators: [{
93
- type: i0.Inject,
94
- args: [core.TUI_MODE]
95
- }] }, { type: undefined, decorators: [{
96
- type: i0.Inject,
97
- args: [cdk.TUI_PLATFORM]
98
- }] }, { type: i2__namespace.NgControl, decorators: [{
82
+ }] }, { type: i1__namespace.NgControl, decorators: [{
99
83
  type: i0.Optional
100
84
  }, {
101
85
  type: i0.Inject,
102
- args: [i2.NgControl]
86
+ args: [i1.NgControl]
103
87
  }] }];
104
88
  }, propDecorators: { size: [{
105
89
  type: i0.Input
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-experimental-components-toggle.umd.js","sources":["../../../projects/experimental/components/toggle/toggle.options.ts","../../../projects/experimental/components/toggle/toggle.component.ts","../../../projects/experimental/components/toggle/toggle.module.ts","../../../projects/experimental/components/toggle/taiga-ui-experimental-components-toggle.ts"],"sourcesContent":["import {Provider} from '@angular/core';\nimport {tuiCreateToken, TuiMapper, tuiProvideOptions} from '@taiga-ui/cdk';\nimport {TuiSizeS} from '@taiga-ui/core';\n\nexport interface TuiToggleOptions {\n readonly showIcons: boolean;\n readonly size: TuiSizeS;\n readonly icon: TuiMapper<TuiSizeS, string> | string;\n}\n\nexport const TUI_TOGGLE_DEFAULT_OPTIONS: TuiToggleOptions = {\n showIcons: true,\n size: `m`,\n icon: `tuiIconCheck`,\n};\n\nexport const TUI_TOGGLE_OPTIONS = tuiCreateToken(TUI_TOGGLE_DEFAULT_OPTIONS);\n\nexport function tuiToggleOptionsProvider(options: Partial<TuiToggleOptions>): Provider {\n return tuiProvideOptions(TUI_TOGGLE_OPTIONS, options, TUI_TOGGLE_DEFAULT_OPTIONS);\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n Inject,\n Input,\n Optional,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {TUI_BASE_HREF, TUI_PLATFORM, tuiIsString, TuiPlatform} from '@taiga-ui/cdk';\nimport {\n MODE_PROVIDER,\n TUI_MODE,\n TUI_SVG_OPTIONS,\n TuiBrightness,\n TuiSvgOptions,\n} from '@taiga-ui/core';\nimport {Observable} from 'rxjs';\n\nimport {TUI_TOGGLE_OPTIONS, TuiToggleOptions} from './toggle.options';\n\n@Component({\n selector: 'input[type=\"checkbox\"][tuiToggle]',\n template: '',\n styleUrls: ['./toggle.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [MODE_PROVIDER],\n host: {\n '($.data-mode.attr)': 'mode$',\n '[disabled]': '!control || control.disabled',\n '[attr.data-size]': 'size',\n '[attr.data-platform]': 'platform',\n '[class._invalid]': 'control?.invalid && control?.touched',\n '[class._readonly]': '!control',\n '[class._icons]': 'showIcons',\n },\n})\nexport class TuiToggleComponent {\n @Input()\n size = this.options.size;\n\n @Input()\n showIcons = this.options.showIcons;\n\n constructor(\n @Inject(TUI_BASE_HREF) private readonly baseHref: string,\n @Inject(TUI_SVG_OPTIONS) private readonly svg: TuiSvgOptions,\n @Inject(TUI_TOGGLE_OPTIONS) private readonly options: TuiToggleOptions,\n @Inject(TUI_MODE) readonly mode$: Observable<TuiBrightness | null>,\n @Inject(TUI_PLATFORM) readonly platform: TuiPlatform,\n @Optional() @Inject(NgControl) readonly control: NgControl | null,\n ) {}\n\n @HostBinding('style.--t-mask')\n get icon(): string {\n const {options, svg, baseHref, size} = this;\n const icon = tuiIsString(options.icon) ? options.icon : options.icon(size);\n const mask = icon.includes('/') ? icon : svg.path(icon, baseHref);\n\n return `url(${mask})`;\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiToggleComponent} from './toggle.component';\n\n@NgModule({\n declarations: [TuiToggleComponent],\n exports: [TuiToggleComponent],\n})\nexport class TuiToggleModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["tuiCreateToken","tuiProvideOptions","tuiIsString","TUI_BASE_HREF","TUI_SVG_OPTIONS","TUI_MODE","TUI_PLATFORM","NgControl","i0","MODE_PROVIDER","Component","ChangeDetectionStrategy","Inject","Optional","Input","HostBinding","NgModule"],"mappings":";;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AA,YAAA,EAAA,CAHT,kBAAkB,CAAA,EAAA,OAAA,EAAA,CACvB,kBAAkB,CAAA,EAAA,CAAA,CAAA;wIAEnB,eAAe,EAAA,CAAA,CAAA;sHAAf,eAAe,EAAA,UAAA,EAAA,CAAA;sBAJ3BQ,WAAQ;IAAC,YAAA,IAAA,EAAA,CAAA;wBACN,YAAY,EAAE,CAAC,kBAAkB,CAAC;wBAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;qBAChC,CAAA;;;ICPD;;IAEG;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-experimental-components-toggle.umd.js","sources":["../../../projects/experimental/components/toggle/toggle.options.ts","../../../projects/experimental/components/toggle/toggle.component.ts","../../../projects/experimental/components/toggle/toggle.module.ts","../../../projects/experimental/components/toggle/taiga-ui-experimental-components-toggle.ts"],"sourcesContent":["import {Provider} from '@angular/core';\nimport {tuiCreateToken, TuiMapper, tuiProvideOptions} from '@taiga-ui/cdk';\nimport {TuiSizeS} from '@taiga-ui/core';\n\nexport interface TuiToggleOptions {\n readonly showIcons: boolean;\n readonly size: TuiSizeS;\n readonly icon: TuiMapper<TuiSizeS, string> | string;\n}\n\nexport const TUI_TOGGLE_DEFAULT_OPTIONS: TuiToggleOptions = {\n showIcons: true,\n size: `m`,\n icon: `tuiIconCheck`,\n};\n\nexport const TUI_TOGGLE_OPTIONS = tuiCreateToken(TUI_TOGGLE_DEFAULT_OPTIONS);\n\nexport function tuiToggleOptionsProvider(options: Partial<TuiToggleOptions>): Provider {\n return tuiProvideOptions(TUI_TOGGLE_OPTIONS, options, TUI_TOGGLE_DEFAULT_OPTIONS);\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n Inject,\n Input,\n Optional,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {tuiIsString, TuiStringHandler} from '@taiga-ui/cdk';\nimport {TUI_ICON_RESOLVER} from '@taiga-ui/experimental/tokens';\n\nimport {TUI_TOGGLE_OPTIONS, TuiToggleOptions} from './toggle.options';\n\n@Component({\n selector: 'input[type=\"checkbox\"][tuiToggle]',\n template: '',\n styleUrls: ['./toggle.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n tuiAppearance: '', // Apply base appearance\n '[disabled]': '!control || control.disabled',\n '[attr.data-size]': 'size',\n '[class._invalid]': 'control?.invalid && control?.touched',\n '[class._readonly]': '!control',\n '[class._icons]': 'showIcons',\n },\n})\nexport class TuiToggleComponent {\n @Input()\n size = this.options.size;\n\n @Input()\n showIcons = this.options.showIcons;\n\n constructor(\n @Inject(TUI_ICON_RESOLVER) private readonly resolver: TuiStringHandler<string>,\n @Inject(TUI_TOGGLE_OPTIONS) private readonly options: TuiToggleOptions,\n @Optional() @Inject(NgControl) readonly control: NgControl | null,\n ) {}\n\n @HostBinding('style.--t-mask')\n get icon(): string {\n const {options, resolver, size} = this;\n const icon = tuiIsString(options.icon) ? options.icon : options.icon(size);\n\n return `url(${resolver(icon)})`;\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiToggleComponent} from './toggle.component';\n\n@NgModule({\n declarations: [TuiToggleComponent],\n exports: [TuiToggleComponent],\n})\nexport class TuiToggleModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["tuiCreateToken","tuiProvideOptions","tuiIsString","i0","TUI_ICON_RESOLVER","NgControl","Component","ChangeDetectionStrategy","Inject","Optional","Input","HostBinding","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAUa,QAAA,0BAA0B,GAAqB;IACxD,IAAA,SAAS,EAAE,IAAI;IACf,IAAA,IAAI,EAAE,GAAG;IACT,IAAA,IAAI,EAAE,cAAc;MACtB;QAEW,kBAAkB,GAAGA,kBAAc,CAAC,0BAA0B,EAAE;IAEvE,SAAU,wBAAwB,CAAC,OAAkC,EAAA;QACvE,OAAOC,qBAAiB,CAAC,kBAAkB,EAAE,OAAO,EAAE,0BAA0B,CAAC,CAAC;IACtF;;AC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eAAe,EAAA,YAAA,EAAA,CAHT,kBAAkB,CAAA,EAAA,OAAA,EAAA,CACvB,kBAAkB,CAAA,EAAA,CAAA,CAAA;wIAEnB,eAAe,EAAA,CAAA,CAAA;sHAAf,eAAe,EAAA,UAAA,EAAA,CAAA;sBAJ3BS,WAAQ;IAAC,YAAA,IAAA,EAAA,CAAA;wBACN,YAAY,EAAE,CAAC,kBAAkB,CAAC;wBAClC,OAAO,EAAE,CAAC,kBAAkB,CAAC;qBAChC,CAAA;;;ICPD;;IAEG;;;;;;;;;;;;;;"}
@@ -0,0 +1,82 @@
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core')) :
3
+ typeof define === 'function' && define.amd ? define('@taiga-ui/experimental/directives/appearance', ['exports', '@angular/core'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].experimental = global["taiga-ui"].experimental || {}, global["taiga-ui"].experimental.directives = global["taiga-ui"].experimental.directives || {}, global["taiga-ui"].experimental.directives.appearance = {}), global.ng.core));
5
+ })(this, (function (exports, i0) { '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
+
27
+ var TuiAppearanceDirective = /** @class */ (function () {
28
+ function TuiAppearanceDirective() {
29
+ this.tuiAppearance = '';
30
+ this.tuiAppearanceState = null;
31
+ this.tuiAppearanceFocus = null;
32
+ }
33
+ return TuiAppearanceDirective;
34
+ }());
35
+ TuiAppearanceDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAppearanceDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
36
+ TuiAppearanceDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiAppearanceDirective, selector: "[tuiAppearance]", inputs: { tuiAppearance: "tuiAppearance", tuiAppearanceState: "tuiAppearanceState", tuiAppearanceFocus: "tuiAppearanceFocus" }, host: { attributes: { "tuiAppearance": "" }, properties: { "attr.data-appearance": "tuiAppearance", "attr.data-state": "tuiAppearanceState", "attr.data-focus": "tuiAppearanceFocus" } }, ngImport: i0__namespace });
37
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAppearanceDirective, decorators: [{
38
+ type: i0.Directive,
39
+ args: [{
40
+ selector: '[tuiAppearance]',
41
+ host: {
42
+ tuiAppearance: '',
43
+ '[attr.data-appearance]': 'tuiAppearance',
44
+ '[attr.data-state]': 'tuiAppearanceState',
45
+ '[attr.data-focus]': 'tuiAppearanceFocus',
46
+ },
47
+ }]
48
+ }], propDecorators: { tuiAppearance: [{
49
+ type: i0.Input
50
+ }], tuiAppearanceState: [{
51
+ type: i0.Input
52
+ }], tuiAppearanceFocus: [{
53
+ type: i0.Input
54
+ }] } });
55
+
56
+ var TuiAppearanceModule = /** @class */ (function () {
57
+ function TuiAppearanceModule() {
58
+ }
59
+ return TuiAppearanceModule;
60
+ }());
61
+ TuiAppearanceModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAppearanceModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
62
+ TuiAppearanceModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAppearanceModule, declarations: [TuiAppearanceDirective], exports: [TuiAppearanceDirective] });
63
+ TuiAppearanceModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAppearanceModule });
64
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAppearanceModule, decorators: [{
65
+ type: i0.NgModule,
66
+ args: [{
67
+ declarations: [TuiAppearanceDirective],
68
+ exports: [TuiAppearanceDirective],
69
+ }]
70
+ }] });
71
+
72
+ /**
73
+ * Generated bundle index. Do not edit.
74
+ */
75
+
76
+ exports.TuiAppearanceDirective = TuiAppearanceDirective;
77
+ exports.TuiAppearanceModule = TuiAppearanceModule;
78
+
79
+ Object.defineProperty(exports, '__esModule', { value: true });
80
+
81
+ }));
82
+ //# sourceMappingURL=taiga-ui-experimental-directives-appearance.umd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-experimental-directives-appearance.umd.js","sources":["../../../projects/experimental/directives/appearance/appearance.directive.ts","../../../projects/experimental/directives/appearance/appearance.module.ts","../../../projects/experimental/directives/appearance/taiga-ui-experimental-directives-appearance.ts"],"sourcesContent":["import {Directive, Input} from '@angular/core';\nimport {TuiInteractiveStateT} from '@taiga-ui/core';\n\n@Directive({\n selector: '[tuiAppearance]',\n host: {\n tuiAppearance: '',\n '[attr.data-appearance]': 'tuiAppearance',\n '[attr.data-state]': 'tuiAppearanceState',\n '[attr.data-focus]': 'tuiAppearanceFocus',\n },\n})\nexport class TuiAppearanceDirective {\n @Input()\n tuiAppearance = '';\n\n @Input()\n tuiAppearanceState: TuiInteractiveStateT | null = null;\n\n @Input()\n tuiAppearanceFocus: boolean | null = null;\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiAppearanceDirective} from './appearance.directive';\n\n@NgModule({\n declarations: [TuiAppearanceDirective],\n exports: [TuiAppearanceDirective],\n})\nexport class TuiAppear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BA,QAAK;;;ACXV,QAAA,mBAAA,kBAAA,YAAA;IAAA,IAAA,SAAA,mBAAA,GAAA;;;;2IAAa,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAAF,aAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;4IAAnB,mBAAmB,EAAA,YAAA,EAAA,CAHb,sBAAsB,CAAA,EAAA,OAAA,EAAA,CAC3B,sBAAsB,CAAA,EAAA,CAAA,CAAA;4IAEvB,mBAAmB,EAAA,CAAA,CAAA;sHAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;sBAJ/BG,WAAQ;IAAC,YAAA,IAAA,EAAA,CAAA;wBACN,YAAY,EAAE,CAAC,sBAAsB,CAAC;wBACtC,OAAO,EAAE,CAAC,sBAAsB,CAAC;qBACpC,CAAA;;;ICPD;;IAEG;;;;;;;;;;;"}
@@ -0,0 +1,95 @@
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/experimental/directives/button-vertical', ['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"].experimental = global["taiga-ui"].experimental || {}, global["taiga-ui"].experimental.directives = global["taiga-ui"].experimental.directives || {}, global["taiga-ui"].experimental.directives["button-vertical"] = {}), global.ng.core, global.i1));
5
+ })(this, (function (exports, i0, i1) { '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
+
28
+ var TuiButtonVerticalComponent = /** @class */ (function () {
29
+ function TuiButtonVerticalComponent() {
30
+ }
31
+ return TuiButtonVerticalComponent;
32
+ }());
33
+ TuiButtonVerticalComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiButtonVerticalComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
34
+ TuiButtonVerticalComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiButtonVerticalComponent, selector: "ng-component", host: { classAttribute: "tui-button-vertical-styles" }, ngImport: i0__namespace, template: '', isInline: true, styles: ["[tuiButton][tuiButtonVertical]{flex-direction:column;height:auto;padding:.75rem;grid-gap:.5rem;gap:.5rem;min-width:5rem;text-indent:unset;white-space:pre-wrap;font:var(--tui-font-text-s-2);--t-line-height: 1rem}[tuiButton][tuiButtonVertical][data-platform=web]{grid-gap:.375rem;gap:.375rem}[tuiButton][tuiButtonVertical]>*{max-height:calc(var(--t-line-height) * 2)}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
35
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiButtonVerticalComponent, decorators: [{
36
+ type: i0.Component,
37
+ args: [{
38
+ template: '',
39
+ styleUrls: ['./button-vertical.style.less'],
40
+ encapsulation: i0.ViewEncapsulation.None,
41
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
42
+ host: {
43
+ class: 'tui-button-vertical-styles',
44
+ },
45
+ }]
46
+ }] });
47
+
48
+ var TuiButtonVerticalDirective = /** @class */ (function () {
49
+ function TuiButtonVerticalDirective(directiveStyles) {
50
+ directiveStyles.addComponent(TuiButtonVerticalComponent);
51
+ }
52
+ return TuiButtonVerticalDirective;
53
+ }());
54
+ TuiButtonVerticalDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiButtonVerticalDirective, deps: [{ token: i1.TuiDirectiveStylesService }], target: i0__namespace.ɵɵFactoryTarget.Directive });
55
+ TuiButtonVerticalDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiButtonVerticalDirective, selector: "[tuiButtonVertical]", ngImport: i0__namespace });
56
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiButtonVerticalDirective, decorators: [{
57
+ type: i0.Directive,
58
+ args: [{
59
+ selector: '[tuiButtonVertical]',
60
+ }]
61
+ }], ctorParameters: function () {
62
+ return [{ type: i1__namespace.TuiDirectiveStylesService, decorators: [{
63
+ type: i0.Inject,
64
+ args: [i1.TuiDirectiveStylesService]
65
+ }] }];
66
+ } });
67
+
68
+ var TuiButtonVerticalModule = /** @class */ (function () {
69
+ function TuiButtonVerticalModule() {
70
+ }
71
+ return TuiButtonVerticalModule;
72
+ }());
73
+ TuiButtonVerticalModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiButtonVerticalModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
74
+ TuiButtonVerticalModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiButtonVerticalModule, declarations: [TuiButtonVerticalDirective, TuiButtonVerticalComponent], exports: [TuiButtonVerticalDirective] });
75
+ TuiButtonVerticalModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiButtonVerticalModule });
76
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiButtonVerticalModule, decorators: [{
77
+ type: i0.NgModule,
78
+ args: [{
79
+ declarations: [TuiButtonVerticalDirective, TuiButtonVerticalComponent],
80
+ exports: [TuiButtonVerticalDirective],
81
+ }]
82
+ }] });
83
+
84
+ /**
85
+ * Generated bundle index. Do not edit.
86
+ */
87
+
88
+ exports.TuiButtonVerticalComponent = TuiButtonVerticalComponent;
89
+ exports.TuiButtonVerticalDirective = TuiButtonVerticalDirective;
90
+ exports.TuiButtonVerticalModule = TuiButtonVerticalModule;
91
+
92
+ Object.defineProperty(exports, '__esModule', { value: true });
93
+
94
+ }));
95
+ //# sourceMappingURL=taiga-ui-experimental-directives-button-vertical.umd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-experimental-directives-button-vertical.umd.js","sources":["../../../projects/experimental/directives/button-vertical/button-vertical.component.ts","../../../projects/experimental/directives/button-vertical/button-vertical.directive.ts","../../../projects/experimental/directives/button-vertical/button-vertical.module.ts","../../../projects/experimental/directives/button-vertical/taiga-ui-experimental-directives-button-vertical.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\n\n@Component({\n template: '',\n styleUrls: ['./button-vertical.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-button-vertical-styles',\n },\n})\nexport class TuiButtonVerticalComponent {}\n","import {Directive, Inject} from '@angular/core';\nimport {TuiDirectiveStylesService} from '@taiga-ui/cdk';\n\nimport {TuiButtonVerticalComponent} from './button-vertical.component';\n\n@Directive({\n selector: '[tuiButtonVertical]',\n})\nexport class TuiButtonVerticalDirective {\n constructor(\n @Inject(TuiDirectiveStylesService) directiveStyles: TuiDirectiveStylesService,\n ) {\n directiveStyles.addComponent(TuiButtonVerticalComponent);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiButtonVerticalComponent} from './button-vertical.component';\nimport {TuiButtonVerticalDirective} from './button-vertical.directive';\n\n@NgModule({\n declarations: [TuiButtonVerticalDirective, TuiButtonVerticalComponent],\n exports: [TuiButtonVerticalDirective],\n})\nexport class TuiButtonVerticalModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i0","Component","ViewEncapsulation","ChangeDetectionStrategy","TuiDirectiveStylesService","Directive","Inject","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,YAAA,0BAAA,kBAAA,YAAA;QAAA,IAAA,SAAA,0BAAA,GAAA;;;;sJAAa,0BAA0B,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAAA,aAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;QAA1B,0BAAA,CAAA,IAAA,GAAAA,aAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,0BAA0B,uHARzB,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,iXAAA,CAAA,EAAA,eAAA,EAAAA,aAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAAA,aAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;0HAQH,0BAA0B,EAAA,UAAA,EAAA,CAAA;0BATtCC,YAAS;QAAC,YAAA,IAAA,EAAA,CAAA;QACP,oBAAA,QAAQ,EAAE,EAAE;4BACZ,SAAS,EAAE,CAAC,8BAA8B,CAAC;4BAC3C,aAAa,EAAEC,oBAAiB,CAAC,IAAI;4BACrC,eAAe,EAAEC,0BAAuB,CAAC,MAAM;QAC/C,oBAAA,IAAI,EAAE;QACF,wBAAA,KAAK,EAAE,4BAA4B;QACtC,qBAAA;yBACJ,CAAA;;;ACFD,YAAA,0BAAA,kBAAA,YAAA;QACI,IAAA,SAAA,0BAAA,CACuC,e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0B,CAAC;yBACxC,CAAA;;;QCRD;;QAEG;;;;;;;;;;;;"}
@@ -1,102 +1,103 @@
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/experimental/directives/card', ['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"].experimental = global["taiga-ui"].experimental || {}, global["taiga-ui"].experimental.directives = global["taiga-ui"].experimental.directives || {}, global["taiga-ui"].experimental.directives.card = {}), global.ng.core, global.i1));
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/experimental/directives/card', ['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"].experimental = global["taiga-ui"].experimental || {}, global["taiga-ui"].experimental.directives = global["taiga-ui"].experimental.directives || {}, global["taiga-ui"].experimental.directives.card = {}), global.ng.core, global.i1));
5
5
  })(this, (function (exports, i0, i1) { '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);
26
- var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
25
+ var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
26
+ var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
27
27
 
28
- var TuiCardComponent = /** @class */ (function () {
29
- function TuiCardComponent() {
30
- }
31
- return TuiCardComponent;
32
- }());
33
- TuiCardComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiCardComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
34
- TuiCardComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiCardComponent, selector: "ng-component", host: { classAttribute: "tui-card" }, ngImport: i0__namespace, template: '', isInline: true, styles: ["[tuiCard]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:none;font-size:inherit;line-height:inherit;display:flex;align-items:flex-start;justify-content:space-between;background:var(--tui-base-02);border-radius:.75rem;box-sizing:border-box;padding:.75rem;grid-gap:.75rem;gap:.75rem;flex-direction:column;text-decoration:none;width:var(--t-size);height:var(--t-size)}[tuiCard][data-size=m]{--t-size: 8.75rem}[tuiCard] [tuiTitle]{font-weight:bold}[tuiCard] [tuiSubtitle]{color:var(--tui-text-01)}[tuiCard] [tuiTitle],[tuiCard] [tuiSubtitle]{max-width:100%}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
35
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiCardComponent, decorators: [{
36
- type: i0.Component,
37
- args: [{
38
- template: '',
39
- styleUrls: ['./card.styles.less'],
40
- encapsulation: i0.ViewEncapsulation.None,
41
- changeDetection: i0.ChangeDetectionStrategy.OnPush,
42
- host: {
43
- class: 'tui-card',
44
- },
45
- }]
46
- }] });
47
- var TuiCardDirective = /** @class */ (function () {
48
- function TuiCardDirective(directiveStyles) {
49
- this.size = 'm';
50
- directiveStyles.addComponent(TuiCardComponent);
51
- }
52
- return TuiCardDirective;
53
- }());
54
- TuiCardDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiCardDirective, deps: [{ token: i1.TuiDirectiveStylesService }], target: i0__namespace.ɵɵFactoryTarget.Directive });
55
- TuiCardDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiCardDirective, selector: "[tuiCard]", inputs: { size: ["tuiCard", "size"] }, host: { attributes: { "tuiCard": "" }, properties: { "attr.data-size": "size || \"m\"" } }, ngImport: i0__namespace });
56
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiCardDirective, decorators: [{
57
- type: i0.Directive,
58
- args: [{
59
- selector: '[tuiCard]',
60
- host: {
61
- tuiCard: '',
62
- '[attr.data-size]': 'size || "m"',
63
- },
64
- }]
65
- }], ctorParameters: function () {
66
- return [{ type: i1__namespace.TuiDirectiveStylesService, decorators: [{
67
- type: i0.Inject,
68
- args: [i1.TuiDirectiveStylesService]
69
- }] }];
70
- }, propDecorators: { size: [{
71
- type: i0.Input,
72
- args: ['tuiCard']
73
- }] } });
28
+ var TuiCardComponent = /** @class */ (function () {
29
+ function TuiCardComponent() {
30
+ }
31
+ return TuiCardComponent;
32
+ }());
33
+ TuiCardComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiCardComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
34
+ TuiCardComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiCardComponent, selector: "ng-component", host: { classAttribute: "tui-card" }, ngImport: i0__namespace, template: '', isInline: true, styles: ["[tuiCard]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:none;font-size:inherit;line-height:inherit;display:flex;align-items:flex-start;justify-content:space-between;background:var(--tui-base-02);border-radius:.75rem;box-sizing:border-box;padding:.75rem;grid-gap:.75rem;gap:.75rem;flex-direction:column;text-decoration:none;width:var(--t-size);height:var(--t-size)}[tuiCard][data-size=m]{--t-size: 8.75rem}[tuiCard] [tuiTitle]{font-weight:bold}[tuiCard] [tuiSubtitle]{color:var(--tui-text-01)}[tuiCard] [tuiTitle],[tuiCard] [tuiSubtitle]{max-width:100%}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush, encapsulation: i0__namespace.ViewEncapsulation.None });
35
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiCardComponent, decorators: [{
36
+ type: i0.Component,
37
+ args: [{
38
+ template: '',
39
+ styleUrls: ['./card.styles.less'],
40
+ encapsulation: i0.ViewEncapsulation.None,
41
+ changeDetection: i0.ChangeDetectionStrategy.OnPush,
42
+ host: {
43
+ class: 'tui-card',
44
+ },
45
+ }]
46
+ }] });
74
47
 
75
- var TuiCardModule = /** @class */ (function () {
76
- function TuiCardModule() {
77
- }
78
- return TuiCardModule;
79
- }());
80
- TuiCardModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiCardModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
81
- TuiCardModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiCardModule, declarations: [TuiCardComponent, TuiCardDirective], exports: [TuiCardDirective] });
82
- TuiCardModuleinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiCardModule });
83
- i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiCardModule, decorators: [{
84
- type: i0.NgModule,
85
- args: [{
86
- declarations: [TuiCardComponent, TuiCardDirective],
87
- exports: [TuiCardDirective],
88
- }]
89
- }] });
48
+ var TuiCardDirective = /** @class */ (function () {
49
+ function TuiCardDirective(directiveStyles) {
50
+ this.size = 'm';
51
+ directiveStyles.addComponent(TuiCardComponent);
52
+ }
53
+ return TuiCardDirective;
54
+ }());
55
+ TuiCardDirectivefac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiCardDirective, deps: [{ token: i1.TuiDirectiveStylesService }], target: i0__namespace.ɵɵFactoryTarget.Directive });
56
+ TuiCardDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiCardDirective, selector: "[tuiCard]", inputs: { size: ["tuiCard", "size"] }, host: { attributes: { "tuiCard": "" }, properties: { "attr.data-size": "size || \"m\"" } }, ngImport: i0__namespace });
57
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiCardDirective, decorators: [{
58
+ type: i0.Directive,
59
+ args: [{
60
+ selector: '[tuiCard]',
61
+ host: {
62
+ tuiCard: '',
63
+ '[attr.data-size]': 'size || "m"',
64
+ },
65
+ }]
66
+ }], ctorParameters: function () {
67
+ return [{ type: i1__namespace.TuiDirectiveStylesService, decorators: [{
68
+ type: i0.Inject,
69
+ args: [i1.TuiDirectiveStylesService]
70
+ }] }];
71
+ }, propDecorators: { size: [{
72
+ type: i0.Input,
73
+ args: ['tuiCard']
74
+ }] } });
75
+
76
+ var TuiCardModule = /** @class */ (function () {
77
+ function TuiCardModule() {
78
+ }
79
+ return TuiCardModule;
80
+ }());
81
+ TuiCardModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiCardModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
82
+ TuiCardModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiCardModule, declarations: [TuiCardComponent, TuiCardDirective], exports: [TuiCardDirective] });
83
+ TuiCardModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiCardModule });
84
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiCardModule, decorators: [{
85
+ type: i0.NgModule,
86
+ args: [{
87
+ declarations: [TuiCardComponent, TuiCardDirective],
88
+ exports: [TuiCardDirective],
89
+ }]
90
+ }] });
90
91
 
91
- /**
92
- * Generated bundle index. Do not edit.
93
- */
92
+ /**
93
+ * Generated bundle index. Do not edit.
94
+ */
94
95
 
95
- exports.TuiCardComponent = TuiCardComponent;
96
- exports.TuiCardDirective = TuiCardDirective;
97
- exports.TuiCardModule = TuiCardModule;
96
+ exports.TuiCardComponent = TuiCardComponent;
97
+ exports.TuiCardDirective = TuiCardDirective;
98
+ exports.TuiCardModule = TuiCardModule;
98
99
 
99
- Object.defineProperty(exports, '__esModule', { value: true });
100
+ Object.defineProperty(exports, '__esModule', { value: true });
100
101
 
101
102
  }));
102
103
  //# sourceMappingURL=taiga-ui-experimental-directives-card.umd.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-experimental-directives-card.umd.js","sources":["../../../projects/experimental/directives/card/card.directive.ts","../../../projects/experimental/directives/card/card.module.ts","../../../projects/experimental/directives/card/taiga-ui-experimental-directives-card.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n Inject,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {TuiDirectiveStylesService} from '@taiga-ui/cdk';\nimport {TuiSizeL} from '@taiga-ui/core';\n\n@Component({\n template: '',\n styleUrls: ['./card.styles.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-card',\n },\n})\nexport class TuiCardComponent {}\n\n@Directive({\n selector: '[tuiCard]',\n host: {\n tuiCard: '',\n '[attr.data-size]': 'size || \"m\"',\n },\n})\nexport class TuiCardDirective {\n @Input('tuiCard')\n size: TuiSizeL | '' = 'm';\n\n constructor(\n @Inject(TuiDirectiveStylesService) directiveStyles: TuiDirectiveStylesService,\n ) {\n directiveStyles.addComponent(TuiCardComponent);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiCardComponent, TuiCardDirective} from './card.directive';\n\n@NgModule({\n declarations: [TuiCardComponent, TuiCardDirective],\n exports: [TuiCardDirective],\n})\nexport class TuiCardModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i0","Component","ViewEncapsulation","ChangeDetectionStrategy","TuiDirectiveStylesService","Directive","Inject","Input","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAoBA,QAAA,gBAAA,kBAAA,YAAA;IAAA,IAAA,SAAA,gBAAA,GAAA;;;;wIAAa,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAAA,aAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;IAAhB,gBAAA,CAAA,IAAA,GAAAA,aAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gBAAgB,qGARf,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,+kBAAA,CAAA,EAAA,eAAA,EAAAA,aAAA,CAAA,uBAAA,CAAA,MAAA,E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;IACrB,oBAAA,IAAI,EAAE;IACF,wBAAA,OAAO,EAAE,EAAE;IACX,wBAAA,kBAAkB,EAAE,aAAa;IACpC,qBAAA;qBACJ,CAAA;;;kCAMQC,SAAM;mCAACF,4BAAyB,CAAA;;6BAHrC,IAAI,EAAA,CAAA;0BADHG,QAAK;2BAAC,SAAS,CAAA;;;ACtBpB,QAAA,aAAA,kBAAA,YAAA;IAAA,IAAA,SAAA,aAAA,GAAA;;;;qIAAa,aAAa,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAAP,aAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;IAAb,aAAA,CAAA,IAAA,GAAAA,aAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAAA,aAAA,EAAA,IAAA,EAAA,aAAa,EAHP,YAAA,EAAA,CAAA,gBAAgB,EAAE,gBAAgB,aACvC,gBAAgB,CAAA,EAAA,CAAA,CAAA;sIAEjB,aAAa,EAAA,CAAA,CAAA;sHAAb,aAAa,EAAA,UAAA,EAAA,CAAA;sBAJzBQ,WAAQ;IAAC,YAAA,IAAA,EAAA,CAAA;IACN,oBAAA,YAAY,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;wBAClD,OAAO,EAAE,CAAC,gBAAgB,CAAC;qBAC9B,CAAA;;;ICPD;;IAEG;;;;;;;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-experimental-directives-card.umd.js","sources":["../../../projects/experimental/directives/card/card.component.ts","../../../projects/experimental/directives/card/card.directive.ts","../../../projects/experimental/directives/card/card.module.ts","../../../projects/experimental/directives/card/taiga-ui-experimental-directives-card.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\n\n@Component({\n template: '',\n styleUrls: ['./card.styles.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-card',\n },\n})\nexport class TuiCardComponent {}\n","import {Directive, Inject, Input} from '@angular/core';\nimport {TuiDirectiveStylesService} from '@taiga-ui/cdk';\nimport {TuiSizeL} from '@taiga-ui/core';\n\nimport {TuiCardComponent} from './card.component';\n\n@Directive({\n selector: '[tuiCard]',\n host: {\n tuiCard: '',\n '[attr.data-size]': 'size || \"m\"',\n },\n})\nexport class TuiCardDirective {\n @Input('tuiCard')\n size: TuiSizeL | '' = 'm';\n\n constructor(\n @Inject(TuiDirectiveStylesService) directiveStyles: TuiDirectiveStylesService,\n ) {\n directiveStyles.addComponent(TuiCardComponent);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiCardComponent} from './card.component';\nimport {TuiCardDirective} from './card.directive';\n\n@NgModule({\n declarations: [TuiCardComponent, TuiCardDirective],\n exports: [TuiCardDirective],\n})\nexport class TuiCardModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i0","Component","ViewEncapsulation","ChangeDetectionStrategy","TuiDirectiveStylesService","Directive","Inject","Input","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,YAAA,gBAAA,kBAAA,YAAA;QAAA,IAAA,SAAA,gBAAA,GAAA;;;;4IAAa,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAAA,aAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;QAAhB,gBAAA,CAAA,IAAA,GAAAA,aAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,gBAAgB,qGARf,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,+kBAAA,CAAA,EAAA,eAAA,EAAAA,aAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAAA,aAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;0HAQH,gBAAgB,EAAA,UAAA,EAAA,C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