@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.
- package/bundles/taiga-ui-experimental-components-avatar.umd.js +19 -15
- package/bundles/taiga-ui-experimental-components-avatar.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-badge.umd.js +117 -96
- package/bundles/taiga-ui-experimental-components-badge.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-badged-content.umd.js +1 -1
- package/bundles/taiga-ui-experimental-components-badged-content.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-button.umd.js +30 -23
- package/bundles/taiga-ui-experimental-components-button.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-checkbox.umd.js +9 -14
- package/bundles/taiga-ui-experimental-components-checkbox.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-icon.umd.js +23 -43
- package/bundles/taiga-ui-experimental-components-icon.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-components-toggle.umd.js +14 -30
- package/bundles/taiga-ui-experimental-components-toggle.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-directives-appearance.umd.js +82 -0
- package/bundles/taiga-ui-experimental-directives-appearance.umd.js.map +1 -0
- package/bundles/taiga-ui-experimental-directives-button-vertical.umd.js +95 -0
- package/bundles/taiga-ui-experimental-directives-button-vertical.umd.js.map +1 -0
- package/bundles/taiga-ui-experimental-directives-card.umd.js +89 -88
- package/bundles/taiga-ui-experimental-directives-card.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-directives-cell.umd.js +1 -1
- package/bundles/taiga-ui-experimental-directives-progress-segmented.umd.js +1 -1
- package/bundles/taiga-ui-experimental-directives-progress-segmented.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-directives-sensitive.umd.js +3 -3
- package/bundles/taiga-ui-experimental-directives-sensitive.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-directives-surface.umd.js +6 -5
- package/bundles/taiga-ui-experimental-directives-surface.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-directives.umd.js +16 -4
- package/bundles/taiga-ui-experimental-directives.umd.js.map +1 -1
- package/bundles/taiga-ui-experimental-tokens.umd.js +31 -0
- package/bundles/taiga-ui-experimental-tokens.umd.js.map +1 -0
- package/bundles/taiga-ui-experimental.umd.js +10 -4
- package/bundles/taiga-ui-experimental.umd.js.map +1 -1
- package/components/avatar/avatar.component.d.ts +5 -4
- package/components/avatar/avatar.module.d.ts +2 -2
- package/components/badge/badge.component.d.ts +1 -11
- package/components/badge/badge.directive.d.ts +13 -0
- package/components/badge/badge.module.d.ts +2 -1
- package/components/badge/badge.options.d.ts +2 -3
- package/components/badge/index.d.ts +1 -0
- package/components/button/button.component.d.ts +1 -3
- package/components/button/button.directive.d.ts +6 -3
- package/components/checkbox/checkbox.component.d.ts +5 -6
- package/components/icon/icon.component.d.ts +5 -1
- package/components/icon/icon.module.d.ts +1 -2
- package/components/icon/index.d.ts +0 -1
- package/components/toggle/toggle.component.d.ts +5 -10
- package/directives/appearance/appearance.directive.d.ts +9 -0
- package/directives/appearance/appearance.module.d.ts +7 -0
- package/directives/appearance/index.d.ts +2 -0
- package/directives/appearance/package.json +10 -0
- package/directives/appearance/taiga-ui-experimental-directives-appearance.d.ts +5 -0
- package/directives/button-vertical/button-vertical.component.d.ts +5 -0
- package/directives/button-vertical/button-vertical.directive.d.ts +7 -0
- package/directives/button-vertical/button-vertical.module.d.ts +8 -0
- package/directives/button-vertical/index.d.ts +3 -0
- package/directives/button-vertical/package.json +10 -0
- package/directives/button-vertical/taiga-ui-experimental-directives-button-vertical.d.ts +5 -0
- package/directives/card/card.component.d.ts +5 -0
- package/directives/card/card.directive.d.ts +0 -4
- package/directives/card/card.module.d.ts +3 -2
- package/directives/card/index.d.ts +1 -0
- package/directives/index.d.ts +2 -0
- package/directives/sensitive/sensitive.module.d.ts +2 -1
- package/esm2015/components/avatar/avatar.component.js +17 -12
- package/esm2015/components/avatar/avatar.module.js +5 -5
- package/esm2015/components/badge/badge.component.js +8 -36
- package/esm2015/components/badge/badge.directive.js +47 -0
- package/esm2015/components/badge/badge.module.js +5 -4
- package/esm2015/components/badge/badge.options.js +2 -2
- package/esm2015/components/badge/index.js +2 -1
- package/esm2015/components/badged-content/badged-content.component.js +1 -1
- package/esm2015/components/button/button.component.js +3 -10
- package/esm2015/components/button/button.directive.js +22 -7
- package/esm2015/components/checkbox/checkbox.component.js +9 -13
- package/esm2015/components/icon/icon.component.js +19 -7
- package/esm2015/components/icon/icon.module.js +4 -5
- package/esm2015/components/icon/index.js +1 -2
- package/esm2015/components/toggle/toggle.component.js +13 -29
- package/esm2015/directives/appearance/appearance.directive.js +30 -0
- package/esm2015/directives/appearance/appearance.module.js +16 -0
- package/esm2015/directives/appearance/index.js +3 -0
- package/esm2015/directives/appearance/taiga-ui-experimental-directives-appearance.js +5 -0
- package/esm2015/directives/button-vertical/button-vertical.component.js +19 -0
- package/esm2015/directives/button-vertical/button-vertical.directive.js +22 -0
- package/esm2015/directives/button-vertical/button-vertical.module.js +17 -0
- package/esm2015/directives/button-vertical/index.js +4 -0
- package/esm2015/directives/button-vertical/taiga-ui-experimental-directives-button-vertical.js +5 -0
- package/esm2015/directives/card/card.component.js +19 -0
- package/esm2015/directives/card/card.directive.js +3 -18
- package/esm2015/directives/card/card.module.js +3 -2
- package/esm2015/directives/card/index.js +2 -1
- package/esm2015/directives/cell/cell.component.js +1 -1
- package/esm2015/directives/index.js +3 -1
- package/esm2015/directives/progress-segmented/progress-segmented.component.js +1 -1
- package/esm2015/directives/sensitive/sensitive.component.js +1 -1
- package/esm2015/directives/sensitive/sensitive.module.js +4 -3
- package/esm2015/directives/surface/surface.component.js +1 -1
- package/esm2015/directives/surface/surface.directive.js +7 -6
- package/esm2015/index.js +2 -1
- package/esm2015/tokens/icon-resolver.js +15 -0
- package/esm2015/tokens/index.js +2 -0
- package/esm2015/tokens/taiga-ui-experimental-tokens.js +5 -0
- package/fesm2015/taiga-ui-experimental-components-avatar.js +20 -15
- package/fesm2015/taiga-ui-experimental-components-avatar.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-badge.js +41 -25
- package/fesm2015/taiga-ui-experimental-components-badge.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-badged-content.js +1 -1
- package/fesm2015/taiga-ui-experimental-components-badged-content.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-button.js +25 -17
- package/fesm2015/taiga-ui-experimental-components-button.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-checkbox.js +8 -12
- package/fesm2015/taiga-ui-experimental-components-checkbox.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-icon.js +21 -37
- package/fesm2015/taiga-ui-experimental-components-icon.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-components-toggle.js +12 -28
- package/fesm2015/taiga-ui-experimental-components-toggle.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-directives-appearance.js +50 -0
- package/fesm2015/taiga-ui-experimental-directives-appearance.js.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-button-vertical.js +58 -0
- package/fesm2015/taiga-ui-experimental-directives-button-vertical.js.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-card.js +1 -0
- package/fesm2015/taiga-ui-experimental-directives-card.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-directives-cell.js +1 -1
- package/fesm2015/taiga-ui-experimental-directives-progress-segmented.js +1 -1
- package/fesm2015/taiga-ui-experimental-directives-progress-segmented.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-directives-sensitive.js +3 -3
- package/fesm2015/taiga-ui-experimental-directives-sensitive.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-directives-surface.js +7 -6
- package/fesm2015/taiga-ui-experimental-directives-surface.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-directives.js +2 -0
- package/fesm2015/taiga-ui-experimental-directives.js.map +1 -1
- package/fesm2015/taiga-ui-experimental-tokens.js +22 -0
- package/fesm2015/taiga-ui-experimental-tokens.js.map +1 -0
- package/fesm2015/taiga-ui-experimental.js +1 -0
- package/fesm2015/taiga-ui-experimental.js.map +1 -1
- package/index.d.ts +1 -0
- package/package.json +5 -5
- package/tokens/icon-resolver.d.ts +4 -0
- package/tokens/index.d.ts +1 -0
- package/tokens/package.json +10 -0
- package/tokens/taiga-ui-experimental-tokens.d.ts +5 -0
- package/components/icon/icon.pipe.d.ts +0 -12
- 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/
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@taiga-ui/experimental/components/toggle', ['exports', '@angular/core', '@angular/forms', '@taiga-ui/cdk', '@taiga-ui/
|
|
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.
|
|
5
|
-
})(this, (function (exports, i0,
|
|
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(
|
|
41
|
-
this.
|
|
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,
|
|
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
|
-
|
|
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:
|
|
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: {
|
|
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
|
-
|
|
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: [
|
|
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.
|
|
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: [
|
|
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 {
|
|
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,E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AA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;wIAAf,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 TuiAppearanceModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i0","Directive","Input","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,QAAA,sBAAA,kBAAA,YAAA;IATA,IAAA,SAAA,sBAAA,GAAA;IAWI,QAAA,IAAa,CAAA,aAAA,GAAG,EAAE,CAAC;IAGnB,QAAA,IAAkB,CAAA,kBAAA,GAAgC,IAAI,CAAC;IAGvD,QAAA,IAAkB,CAAA,kBAAA,GAAmB,IAAI,CAAC;SAC7C;;;8IATY,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAAA,aAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;uHAAtB,sBAAsB,EAAA,QAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,EAAA,aAAA,EAAA,eAAA,EAAA,kBAAA,EAAA,oBAAA,EAAA,kBAA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|
|
|
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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A;0BAJnCO,WAAQ;QAAC,YAAA,IAAA,EAAA,CAAA;QACN,oBAAA,YAAY,EAAE,CAAC,0BAA0B,EAAE,0BAA0B,CAAC;4BACtE,OAAO,EAAE,CAAC,0BAA0B,CAAC;yBACxC,CAAA;;;QCRD;;QAEG;;;;;;;;;;;;"}
|
|
@@ -1,102 +1,103 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
26
|
-
|
|
25
|
+
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
|
+
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
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
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
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
|
+
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 });
|
|
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
|
-
|
|
93
|
-
|
|
92
|
+
/**
|
|
93
|
+
* Generated bundle index. Do not edit.
|
|
94
|
+
*/
|
|
94
95
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
exports.TuiCardComponent = TuiCardComponent;
|
|
97
|
+
exports.TuiCardDirective = TuiCardDirective;
|
|
98
|
+
exports.TuiCardModule = TuiCardModule;
|
|
98
99
|
|
|
99
|
-
|
|
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 {
|
|
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,CAAA;0BAT5BC,YAAS;QAAC,YAAA,IAAA,EAAA,CAAA;QACP,oBAAA,QAAQ,EAAE,EAAE;4BACZ,SAAS,EAAE,CAAC,oBAAoB,CAAC;4BACjC,aAAa,EAAEC,oBAAiB,CAAC,IAAI;4BACrC,eAAe,EAAEC,0BAAuB,CAAC,MAAM;QAC/C,oBAAA,IAAI,EAAE;QACF,wBAAA,KAAK,EAAE,UAAU;QACpB,qBAAA;yBACJ,CAAA;;;ACGD,YAAA,gBAAA,kBAAA,YAAA;QAII,IAAA,SAAA,gBAAA,CACuC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