@taiga-ui/experimental 3.70.0 → 3.71.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-directives-block-details.umd.js +95 -0
- package/bundles/taiga-ui-experimental-directives-block-details.umd.js.map +1 -0
- package/bundles/taiga-ui-experimental-directives-comment.umd.js +101 -0
- package/bundles/taiga-ui-experimental-directives-comment.umd.js.map +1 -0
- package/bundles/taiga-ui-experimental-directives-skeleton.umd.js +456 -0
- package/bundles/taiga-ui-experimental-directives-skeleton.umd.js.map +1 -0
- package/bundles/taiga-ui-experimental-directives.umd.js +22 -4
- package/bundles/taiga-ui-experimental-directives.umd.js.map +1 -1
- package/directives/block-details/block-details.component.d.ts +5 -0
- package/directives/block-details/block-details.directive.d.ts +7 -0
- package/directives/block-details/block-details.module.d.ts +8 -0
- package/directives/block-details/index.d.ts +3 -0
- package/directives/block-details/package.json +10 -0
- package/directives/block-details/taiga-ui-experimental-directives-block-details.d.ts +5 -0
- package/directives/comment/comment.component.d.ts +5 -0
- package/directives/comment/comment.directive.d.ts +9 -0
- package/directives/comment/comment.module.d.ts +8 -0
- package/directives/comment/index.d.ts +3 -0
- package/directives/comment/package.json +10 -0
- package/directives/comment/taiga-ui-experimental-directives-comment.d.ts +5 -0
- package/directives/index.d.ts +3 -0
- package/directives/skeleton/index.d.ts +3 -0
- package/directives/skeleton/package.json +10 -0
- package/directives/skeleton/skeleton.component.d.ts +5 -0
- package/directives/skeleton/skeleton.directive.d.ts +15 -0
- package/directives/skeleton/skeleton.module.d.ts +8 -0
- package/directives/skeleton/taiga-ui-experimental-directives-skeleton.d.ts +5 -0
- package/esm2015/directives/block-details/block-details.component.js +19 -0
- package/esm2015/directives/block-details/block-details.directive.js +22 -0
- package/esm2015/directives/block-details/block-details.module.js +17 -0
- package/esm2015/directives/block-details/index.js +4 -0
- package/esm2015/directives/block-details/taiga-ui-experimental-directives-block-details.js +5 -0
- package/esm2015/directives/comment/comment.component.js +19 -0
- package/esm2015/directives/comment/comment.directive.js +28 -0
- package/esm2015/directives/comment/comment.module.js +17 -0
- package/esm2015/directives/comment/index.js +4 -0
- package/esm2015/directives/comment/taiga-ui-experimental-directives-comment.js +5 -0
- package/esm2015/directives/index.js +4 -1
- package/esm2015/directives/skeleton/index.js +4 -0
- package/esm2015/directives/skeleton/skeleton.component.js +19 -0
- package/esm2015/directives/skeleton/skeleton.directive.js +66 -0
- package/esm2015/directives/skeleton/skeleton.module.js +17 -0
- package/esm2015/directives/skeleton/taiga-ui-experimental-directives-skeleton.js +5 -0
- package/fesm2015/taiga-ui-experimental-directives-block-details.js +58 -0
- package/fesm2015/taiga-ui-experimental-directives-block-details.js.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-comment.js +64 -0
- package/fesm2015/taiga-ui-experimental-directives-comment.js.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives-skeleton.js +102 -0
- package/fesm2015/taiga-ui-experimental-directives-skeleton.js.map +1 -0
- package/fesm2015/taiga-ui-experimental-directives.js +3 -0
- package/fesm2015/taiga-ui-experimental-directives.js.map +1 -1
- package/package.json +5 -5
|
@@ -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/block-details', ['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["block-details"] = {}), 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 TuiBlockDetailsComponent = /** @class */ (function () {
|
|
29
|
+
function TuiBlockDetailsComponent() {
|
|
30
|
+
}
|
|
31
|
+
return TuiBlockDetailsComponent;
|
|
32
|
+
}());
|
|
33
|
+
TuiBlockDetailsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiBlockDetailsComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
34
|
+
TuiBlockDetailsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiBlockDetailsComponent, selector: "ng-component", host: { classAttribute: "tui-block-details-styles" }, ngImport: i0__namespace, template: '', isInline: true, styles: ["[tuiBlockDetails]{display:flex;flex-direction:column;align-items:center;font:var(--tui-font-heading-3);min-height:2rem}[tuiBlockDetails] [tuiTitle]{text-align:center;font:var(--tui-font-text-l);grid-gap:0;gap:0}[tuiBlockDetails] [tuiSubtitle]{font:var(--tui-font-text-m);color:var(--tui-text-02);margin-top:.25rem}:host-context(tui-root._mobile) [tuiBlockDetails] [tuiSubtitle]{font:var(--tui-font-text-s)}[tuiBlockDetails] [tuiComment]{margin-top:1.0625rem}[tuiBlockDetails] [tuiAccessory]{display:flex;flex-gap:.5rem;margin-top:1.25rem}[tuiBlockDetails] [tuiAccessories],[tuiBlockDetails] tui-badge:only-of-type{margin-top:1.25rem}[tuiBlockDetails] [tuiAccessories]{display:flex;grid-gap:.5rem;gap:.5rem}[tuiBlockDetails] tui-avatar,[tuiBlockDetails] [tuiTitle]{margin-bottom:1rem}\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: TuiBlockDetailsComponent, decorators: [{
|
|
36
|
+
type: i0.Component,
|
|
37
|
+
args: [{
|
|
38
|
+
template: '',
|
|
39
|
+
styleUrls: ['./block-details.style.less'],
|
|
40
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
41
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
42
|
+
host: {
|
|
43
|
+
class: 'tui-block-details-styles',
|
|
44
|
+
},
|
|
45
|
+
}]
|
|
46
|
+
}] });
|
|
47
|
+
|
|
48
|
+
var TuiBlockDetailsDirective = /** @class */ (function () {
|
|
49
|
+
function TuiBlockDetailsDirective(directiveStyles) {
|
|
50
|
+
directiveStyles.addComponent(TuiBlockDetailsComponent);
|
|
51
|
+
}
|
|
52
|
+
return TuiBlockDetailsDirective;
|
|
53
|
+
}());
|
|
54
|
+
TuiBlockDetailsDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiBlockDetailsDirective, deps: [{ token: i1.TuiDirectiveStylesService }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
55
|
+
TuiBlockDetailsDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiBlockDetailsDirective, selector: "[tuiBlockDetails]", ngImport: i0__namespace });
|
|
56
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiBlockDetailsDirective, decorators: [{
|
|
57
|
+
type: i0.Directive,
|
|
58
|
+
args: [{
|
|
59
|
+
selector: '[tuiBlockDetails]',
|
|
60
|
+
}]
|
|
61
|
+
}], ctorParameters: function () {
|
|
62
|
+
return [{ type: i1__namespace.TuiDirectiveStylesService, decorators: [{
|
|
63
|
+
type: i0.Inject,
|
|
64
|
+
args: [i1.TuiDirectiveStylesService]
|
|
65
|
+
}] }];
|
|
66
|
+
} });
|
|
67
|
+
|
|
68
|
+
var TuiBlockDetailsModule = /** @class */ (function () {
|
|
69
|
+
function TuiBlockDetailsModule() {
|
|
70
|
+
}
|
|
71
|
+
return TuiBlockDetailsModule;
|
|
72
|
+
}());
|
|
73
|
+
TuiBlockDetailsModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiBlockDetailsModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
74
|
+
TuiBlockDetailsModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiBlockDetailsModule, declarations: [TuiBlockDetailsDirective, TuiBlockDetailsComponent], exports: [TuiBlockDetailsDirective] });
|
|
75
|
+
TuiBlockDetailsModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiBlockDetailsModule });
|
|
76
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiBlockDetailsModule, decorators: [{
|
|
77
|
+
type: i0.NgModule,
|
|
78
|
+
args: [{
|
|
79
|
+
declarations: [TuiBlockDetailsDirective, TuiBlockDetailsComponent],
|
|
80
|
+
exports: [TuiBlockDetailsDirective],
|
|
81
|
+
}]
|
|
82
|
+
}] });
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Generated bundle index. Do not edit.
|
|
86
|
+
*/
|
|
87
|
+
|
|
88
|
+
exports.TuiBlockDetailsComponent = TuiBlockDetailsComponent;
|
|
89
|
+
exports.TuiBlockDetailsDirective = TuiBlockDetailsDirective;
|
|
90
|
+
exports.TuiBlockDetailsModule = TuiBlockDetailsModule;
|
|
91
|
+
|
|
92
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
93
|
+
|
|
94
|
+
}));
|
|
95
|
+
//# sourceMappingURL=taiga-ui-experimental-directives-block-details.umd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taiga-ui-experimental-directives-block-details.umd.js","sources":["../../../projects/experimental/directives/block-details/block-details.component.ts","../../../projects/experimental/directives/block-details/block-details.directive.ts","../../../projects/experimental/directives/block-details/block-details.module.ts","../../../projects/experimental/directives/block-details/taiga-ui-experimental-directives-block-details.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\n\n@Component({\n template: '',\n styleUrls: ['./block-details.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-block-details-styles',\n },\n})\nexport class TuiBlockDetailsComponent {}\n","import {Directive, Inject} from '@angular/core';\nimport {TuiDirectiveStylesService} from '@taiga-ui/cdk';\n\nimport {TuiBlockDetailsComponent} from './block-details.component';\n\n@Directive({\n selector: '[tuiBlockDetails]',\n})\nexport class TuiBlockDetailsDirective {\n constructor(\n @Inject(TuiDirectiveStylesService) directiveStyles: TuiDirectiveStylesService,\n ) {\n directiveStyles.addComponent(TuiBlockDetailsComponent);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiBlockDetailsComponent} from './block-details.component';\nimport {TuiBlockDetailsDirective} from './block-details.directive';\n\n@NgModule({\n declarations: [TuiBlockDetailsDirective, TuiBlockDetailsComponent],\n exports: [TuiBlockDetailsDirective],\n})\nexport class TuiBlockDetailsModule {}\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,wBAAA,kBAAA,YAAA;QAAA,IAAA,SAAA,wBAAA,GAAA;;;;oJAAa,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAAA,aAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;QAAxB,wBAAA,CAAA,IAAA,GAAAA,aAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,wBAAwB,qHARvB,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,mxBAAA,CAAA,EAAA,eAAA,EAAAA,aAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAAA,aAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA;0HAQH,wBAAwB,EAAA,UAAA,EAAA,CAAA;0BATpCC,YAAS;QAAC,YAAA,IAAA,EAAA,CAAA;QACP,oBAAA,QAAQ,EAAE,EAAE;4BACZ,SAAS,EAAE,CAAC,4BAA4B,CAAC;4BACzC,aAAa,EAAEC,oBAAiB,CAAC,IAAI;4BACrC,eAAe,EAAEC,0BAAuB,CAAC,MAAM;QAC/C,oBAAA,IAAI,EAAE;QACF,wBAAA,KAAK,EAAE,0BAA0B;QACpC,qBAAA;yBACJ,CAAA;;;ACFD,YAAA,wBAAA,kBAAA,YAAA;QACI,IAAA,SAAA,wBAAA,CACuC,eAA0C,EAAA;QAE7E,QAAA,eAAe,CAAC,YAAY,CAAC,wBAAwB,CAAC,CAAC;aAC1D;;;QALQ,wBAAA,CAAA,IAAA,GAAAH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
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/comment', ['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.comment = {}), 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 TuiCommentComponent = /** @class */ (function () {
|
|
29
|
+
function TuiCommentComponent() {
|
|
30
|
+
}
|
|
31
|
+
return TuiCommentComponent;
|
|
32
|
+
}());
|
|
33
|
+
TuiCommentComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiCommentComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
34
|
+
TuiCommentComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiCommentComponent, selector: "ng-component", host: { classAttribute: "tui-comment-styles" }, ngImport: i0__namespace, template: '', isInline: true, styles: ["[tuiComment]{position:relative;display:inline-flex;font:var(--tui-font-text-m);color:var(--tui-text-01-night);padding:.5rem .75rem;border-radius:1rem;line-height:1rem;background:var(--tui-accent);align-items:center;justify-content:center}[tuiComment]:before{content:\"\";position:absolute;bottom:100%;left:50%;width:1.5625rem;height:.5625rem;background:inherit;transform:translate(-50%);-webkit-mask:url(\"data:image/svg+xml,%3Csvg width='25' height='9' viewBox='0 0 25 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.23309 6.67813L7.56191 3.83178C9.4546 1.5185 10.4009 0.361853 11.5998 0.10488C12.0834 0.00123882 12.5834 0.00123882 13.0669 0.10488C14.2658 0.361853 15.2121 1.5185 17.1048 3.83178L19.4337 6.67813C20.636 8.14771 22.4346 9 24.3334 9H0.333374C2.23217 9 4.0307 8.14772 5.23309 6.67813Z' fill='black'/%3E%3C/svg%3E%0A\") no-repeat;mask:url(\"data:image/svg+xml,%3Csvg width='25' height='9' viewBox='0 0 25 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.23309 6.67813L7.56191 3.83178C9.4546 1.5185 10.4009 0.361853 11.5998 0.10488C12.0834 0.00123882 12.5834 0.00123882 13.0669 0.10488C14.2658 0.361853 15.2121 1.5185 17.1048 3.83178L19.4337 6.67813C20.636 8.14771 22.4346 9 24.3334 9H0.333374C2.23217 9 4.0307 8.14772 5.23309 6.67813Z' fill='black'/%3E%3C/svg%3E%0A\") no-repeat}[tuiComment][data-direction=bottom]:before{top:100%;bottom:auto;transform:translate(-50%) rotate(180deg)}[tuiComment][data-direction=left]:before{left:auto;top:50%;right:100%;transform:translate(.785rem,-50%) rotate(-90deg)}[tuiComment][data-direction=right]:before{top:50%;left:100%;transform:translate(-.785rem,-50%) rotate(90deg)}\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: TuiCommentComponent, decorators: [{
|
|
36
|
+
type: i0.Component,
|
|
37
|
+
args: [{
|
|
38
|
+
template: '',
|
|
39
|
+
styleUrls: ['./comment.style.less'],
|
|
40
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
41
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
42
|
+
host: {
|
|
43
|
+
class: 'tui-comment-styles',
|
|
44
|
+
},
|
|
45
|
+
}]
|
|
46
|
+
}] });
|
|
47
|
+
|
|
48
|
+
var TuiCommentDirective = /** @class */ (function () {
|
|
49
|
+
function TuiCommentDirective(directiveStyles) {
|
|
50
|
+
this.tuiComment = 'top';
|
|
51
|
+
directiveStyles.addComponent(TuiCommentComponent);
|
|
52
|
+
}
|
|
53
|
+
return TuiCommentDirective;
|
|
54
|
+
}());
|
|
55
|
+
TuiCommentDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiCommentDirective, deps: [{ token: i1.TuiDirectiveStylesService }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
56
|
+
TuiCommentDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiCommentDirective, selector: "[tuiComment]", inputs: { tuiComment: "tuiComment" }, host: { properties: { "attr.data-direction": "tuiComment" } }, ngImport: i0__namespace });
|
|
57
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiCommentDirective, decorators: [{
|
|
58
|
+
type: i0.Directive,
|
|
59
|
+
args: [{
|
|
60
|
+
selector: '[tuiComment]',
|
|
61
|
+
host: {
|
|
62
|
+
'[attr.data-direction]': 'tuiComment',
|
|
63
|
+
},
|
|
64
|
+
}]
|
|
65
|
+
}], ctorParameters: function () {
|
|
66
|
+
return [{ type: i1__namespace.TuiDirectiveStylesService, decorators: [{
|
|
67
|
+
type: i0.Inject,
|
|
68
|
+
args: [i1.TuiDirectiveStylesService]
|
|
69
|
+
}] }];
|
|
70
|
+
}, propDecorators: { tuiComment: [{
|
|
71
|
+
type: i0.Input
|
|
72
|
+
}] } });
|
|
73
|
+
|
|
74
|
+
var TuiCommentModule = /** @class */ (function () {
|
|
75
|
+
function TuiCommentModule() {
|
|
76
|
+
}
|
|
77
|
+
return TuiCommentModule;
|
|
78
|
+
}());
|
|
79
|
+
TuiCommentModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiCommentModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
80
|
+
TuiCommentModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiCommentModule, declarations: [TuiCommentDirective, TuiCommentComponent], exports: [TuiCommentDirective] });
|
|
81
|
+
TuiCommentModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiCommentModule });
|
|
82
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiCommentModule, decorators: [{
|
|
83
|
+
type: i0.NgModule,
|
|
84
|
+
args: [{
|
|
85
|
+
declarations: [TuiCommentDirective, TuiCommentComponent],
|
|
86
|
+
exports: [TuiCommentDirective],
|
|
87
|
+
}]
|
|
88
|
+
}] });
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Generated bundle index. Do not edit.
|
|
92
|
+
*/
|
|
93
|
+
|
|
94
|
+
exports.TuiCommentComponent = TuiCommentComponent;
|
|
95
|
+
exports.TuiCommentDirective = TuiCommentDirective;
|
|
96
|
+
exports.TuiCommentModule = TuiCommentModule;
|
|
97
|
+
|
|
98
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
99
|
+
|
|
100
|
+
}));
|
|
101
|
+
//# sourceMappingURL=taiga-ui-experimental-directives-comment.umd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taiga-ui-experimental-directives-comment.umd.js","sources":["../../../projects/experimental/directives/comment/comment.component.ts","../../../projects/experimental/directives/comment/comment.directive.ts","../../../projects/experimental/directives/comment/comment.module.ts","../../../projects/experimental/directives/comment/taiga-ui-experimental-directives-comment.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\n\n@Component({\n template: '',\n styleUrls: ['./comment.style.less'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-comment-styles',\n },\n})\nexport class TuiCommentComponent {}\n","import {Directive, Inject, Input} from '@angular/core';\nimport {TuiDirectiveStylesService} from '@taiga-ui/cdk';\nimport {TuiHorizontalDirection, TuiVerticalDirection} from '@taiga-ui/core';\n\nimport {TuiCommentComponent} from './comment.component';\n\n@Directive({\n selector: '[tuiComment]',\n host: {\n '[attr.data-direction]': 'tuiComment',\n },\n})\nexport class TuiCommentDirective {\n @Input()\n tuiComment: TuiHorizontalDirection | TuiVerticalDirection | '' = 'top';\n\n constructor(\n @Inject(TuiDirectiveStylesService) directiveStyles: TuiDirectiveStylesService,\n ) {\n directiveStyles.addComponent(TuiCommentComponent);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiCommentComponent} from './comment.component';\nimport {TuiCommentDirective} from './comment.directive';\n\n@NgModule({\n declarations: [TuiCommentDirective, TuiCommentComponent],\n exports: [TuiCommentDirective],\n})\nexport class TuiCommentModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i0","Component","ViewEnc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