@taiga-ui/cdk 3.23.1-dev.main-d8b7500 → 3.23.1-dev.main-14214d9
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-cdk-directives-control.umd.js +82 -0
- package/bundles/taiga-ui-cdk-directives-control.umd.js.map +1 -0
- package/bundles/taiga-ui-cdk-directives-value-changes.umd.js +90 -0
- package/bundles/taiga-ui-cdk-directives-value-changes.umd.js.map +1 -0
- package/bundles/taiga-ui-cdk-directives.umd.js +16 -4
- package/bundles/taiga-ui-cdk-directives.umd.js.map +1 -1
- package/directives/control/control.directive.d.ts +9 -0
- package/directives/control/control.module.d.ts +7 -0
- package/directives/control/index.d.ts +2 -0
- package/directives/control/package.json +10 -0
- package/directives/control/taiga-ui-cdk-directives-control.d.ts +5 -0
- package/directives/index.d.ts +2 -0
- package/directives/value-changes/index.d.ts +2 -0
- package/directives/value-changes/package.json +10 -0
- package/directives/value-changes/taiga-ui-cdk-directives-value-changes.d.ts +5 -0
- package/directives/value-changes/value-changes.directive.d.ts +14 -0
- package/directives/value-changes/value-changes.module.d.ts +7 -0
- package/esm2015/directives/control/control.directive.js +25 -0
- package/esm2015/directives/control/control.module.js +16 -0
- package/esm2015/directives/control/index.js +3 -0
- package/esm2015/directives/control/taiga-ui-cdk-directives-control.js +5 -0
- package/esm2015/directives/index.js +3 -1
- package/esm2015/directives/value-changes/index.js +3 -0
- package/esm2015/directives/value-changes/taiga-ui-cdk-directives-value-changes.js +5 -0
- package/esm2015/directives/value-changes/value-changes.directive.js +39 -0
- package/esm2015/directives/value-changes/value-changes.module.js +16 -0
- package/fesm2015/taiga-ui-cdk-directives-control.js +45 -0
- package/fesm2015/taiga-ui-cdk-directives-control.js.map +1 -0
- package/fesm2015/taiga-ui-cdk-directives-value-changes.js +59 -0
- package/fesm2015/taiga-ui-cdk-directives-value-changes.js.map +1 -0
- package/fesm2015/taiga-ui-cdk-directives.js +2 -0
- package/fesm2015/taiga-ui-cdk-directives.js.map +1 -1
- package/package.json +1 -1
@@ -0,0 +1,82 @@
|
|
1
|
+
(function (global, factory) {
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms')) :
|
3
|
+
typeof define === 'function' && define.amd ? define('@taiga-ui/cdk/directives/control', ['exports', '@angular/core', '@angular/forms'], factory) :
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].cdk = global["taiga-ui"].cdk || {}, global["taiga-ui"].cdk.directives = global["taiga-ui"].cdk.directives || {}, global["taiga-ui"].cdk.directives.control = {}), global.ng.core, global.ng.forms));
|
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 TuiControlDirective = /** @class */ (function () {
|
29
|
+
function TuiControlDirective(ngControl) {
|
30
|
+
this.ngControl = ngControl;
|
31
|
+
}
|
32
|
+
Object.defineProperty(TuiControlDirective.prototype, "control", {
|
33
|
+
get: function () {
|
34
|
+
return this.ngControl.control;
|
35
|
+
},
|
36
|
+
enumerable: false,
|
37
|
+
configurable: true
|
38
|
+
});
|
39
|
+
return TuiControlDirective;
|
40
|
+
}());
|
41
|
+
TuiControlDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiControlDirective, deps: [{ token: i1.NgControl }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
42
|
+
TuiControlDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiControlDirective, selector: "[tuiControl]", exportAs: ["ngControl"], ngImport: i0__namespace });
|
43
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiControlDirective, decorators: [{
|
44
|
+
type: i0.Directive,
|
45
|
+
args: [{
|
46
|
+
selector: '[tuiControl]',
|
47
|
+
exportAs: 'ngControl',
|
48
|
+
}]
|
49
|
+
}], ctorParameters: function () {
|
50
|
+
return [{ type: i1__namespace.NgControl, decorators: [{
|
51
|
+
type: i0.Inject,
|
52
|
+
args: [i1.NgControl]
|
53
|
+
}] }];
|
54
|
+
} });
|
55
|
+
|
56
|
+
var TuiControlModule = /** @class */ (function () {
|
57
|
+
function TuiControlModule() {
|
58
|
+
}
|
59
|
+
return TuiControlModule;
|
60
|
+
}());
|
61
|
+
TuiControlModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiControlModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
62
|
+
TuiControlModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiControlModule, declarations: [TuiControlDirective], exports: [TuiControlDirective] });
|
63
|
+
TuiControlModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiControlModule });
|
64
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiControlModule, decorators: [{
|
65
|
+
type: i0.NgModule,
|
66
|
+
args: [{
|
67
|
+
declarations: [TuiControlDirective],
|
68
|
+
exports: [TuiControlDirective],
|
69
|
+
}]
|
70
|
+
}] });
|
71
|
+
|
72
|
+
/**
|
73
|
+
* Generated bundle index. Do not edit.
|
74
|
+
*/
|
75
|
+
|
76
|
+
exports.TuiControlDirective = TuiControlDirective;
|
77
|
+
exports.TuiControlModule = TuiControlModule;
|
78
|
+
|
79
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
80
|
+
|
81
|
+
}));
|
82
|
+
//# sourceMappingURL=taiga-ui-cdk-directives-control.umd.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"taiga-ui-cdk-directives-control.umd.js","sources":["../../../projects/cdk/directives/control/control.directive.ts","../../../projects/cdk/directives/control/control.module.ts","../../../projects/cdk/directives/control/taiga-ui-cdk-directives-control.ts"],"sourcesContent":["import {Directive, Inject} from '@angular/core';\nimport {AbstractControl, NgControl} from '@angular/forms';\n\n@Directive({\n selector: '[tuiControl]',\n exportAs: 'ngControl',\n})\nexport class TuiControlDirective {\n constructor(@Inject(NgControl) private readonly ngControl: NgControl) {}\n\n get control(): AbstractControl {\n return this.ngControl.control!;\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiControlDirective} from './control.directive';\n\n@NgModule({\n declarations: [TuiControlDirective],\n exports: [TuiControlDirective],\n})\nexport class TuiControlModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i0","NgControl","Directive","Inject","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,QAAA,mBAAA,kBAAA,YAAA;IACI,IAAA,SAAA,mBAAA,CAAgD,SAAoB,EAAA;IAApB,QAAA,IAAS,CAAA,SAAA,GAAT,SAAS,CAAW;SAAI;IAExE,IAAA,MAAA,CAAA,cAAA,CAAI,mBAAO,CAAA,SAAA,EAA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;;;;;;"}
|
@@ -0,0 +1,90 @@
|
|
1
|
+
(function (global, factory) {
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/forms'), require('rxjs'), require('rxjs/operators')) :
|
3
|
+
typeof define === 'function' && define.amd ? define('@taiga-ui/cdk/directives/value-changes', ['exports', '@angular/core', '@angular/forms', 'rxjs', 'rxjs/operators'], factory) :
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].cdk = global["taiga-ui"].cdk || {}, global["taiga-ui"].cdk.directives = global["taiga-ui"].cdk.directives || {}, global["taiga-ui"].cdk.directives["value-changes"] = {}), global.ng.core, global.ng.forms, global.rxjs, global.rxjs.operators));
|
5
|
+
})(this, (function (exports, i0, i1, rxjs, operators) { '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 TuiValueChangesDirective = /** @class */ (function () {
|
29
|
+
function TuiValueChangesDirective(container, control) {
|
30
|
+
this.container = container;
|
31
|
+
this.control = control;
|
32
|
+
this.refresh$ = new rxjs.Subject();
|
33
|
+
this.tuiValueChanges = this.refresh$.pipe(operators.distinctUntilChanged(), operators.switchAll());
|
34
|
+
}
|
35
|
+
TuiValueChangesDirective.prototype.ngDoCheck = function () {
|
36
|
+
var _a, _b;
|
37
|
+
this.refresh$.next(((_a = this.control) === null || _a === void 0 ? void 0 : _a.valueChanges) || ((_b = this.container) === null || _b === void 0 ? void 0 : _b.valueChanges) || rxjs.EMPTY);
|
38
|
+
};
|
39
|
+
return TuiValueChangesDirective;
|
40
|
+
}());
|
41
|
+
TuiValueChangesDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiValueChangesDirective, deps: [{ token: i1.ControlContainer, optional: true }, { token: i1.NgControl, optional: true }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
42
|
+
TuiValueChangesDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiValueChangesDirective, selector: "[tuiValueChanges]", outputs: { tuiValueChanges: "tuiValueChanges" }, ngImport: i0__namespace });
|
43
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiValueChangesDirective, decorators: [{
|
44
|
+
type: i0.Directive,
|
45
|
+
args: [{
|
46
|
+
selector: '[tuiValueChanges]',
|
47
|
+
}]
|
48
|
+
}], ctorParameters: function () {
|
49
|
+
return [{ type: i1__namespace.ControlContainer, decorators: [{
|
50
|
+
type: i0.Optional
|
51
|
+
}, {
|
52
|
+
type: i0.Inject,
|
53
|
+
args: [i1.ControlContainer]
|
54
|
+
}] }, { type: i1__namespace.NgControl, decorators: [{
|
55
|
+
type: i0.Optional
|
56
|
+
}, {
|
57
|
+
type: i0.Inject,
|
58
|
+
args: [i1.NgControl]
|
59
|
+
}] }];
|
60
|
+
}, propDecorators: { tuiValueChanges: [{
|
61
|
+
type: i0.Output
|
62
|
+
}] } });
|
63
|
+
|
64
|
+
var TuiValueChangesModule = /** @class */ (function () {
|
65
|
+
function TuiValueChangesModule() {
|
66
|
+
}
|
67
|
+
return TuiValueChangesModule;
|
68
|
+
}());
|
69
|
+
TuiValueChangesModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiValueChangesModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
70
|
+
TuiValueChangesModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiValueChangesModule, declarations: [TuiValueChangesDirective], exports: [TuiValueChangesDirective] });
|
71
|
+
TuiValueChangesModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiValueChangesModule });
|
72
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiValueChangesModule, decorators: [{
|
73
|
+
type: i0.NgModule,
|
74
|
+
args: [{
|
75
|
+
declarations: [TuiValueChangesDirective],
|
76
|
+
exports: [TuiValueChangesDirective],
|
77
|
+
}]
|
78
|
+
}] });
|
79
|
+
|
80
|
+
/**
|
81
|
+
* Generated bundle index. Do not edit.
|
82
|
+
*/
|
83
|
+
|
84
|
+
exports.TuiValueChangesDirective = TuiValueChangesDirective;
|
85
|
+
exports.TuiValueChangesModule = TuiValueChangesModule;
|
86
|
+
|
87
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
88
|
+
|
89
|
+
}));
|
90
|
+
//# sourceMappingURL=taiga-ui-cdk-directives-value-changes.umd.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"taiga-ui-cdk-directives-value-changes.umd.js","sources":["../../../projects/cdk/directives/value-changes/value-changes.directive.ts","../../../projects/cdk/directives/value-changes/value-changes.module.ts","../../../projects/cdk/directives/value-changes/taiga-ui-cdk-directives-value-changes.ts"],"sourcesContent":["import {Directive, DoCheck, Inject, Optional, Output} from '@angular/core';\nimport {ControlContainer, NgControl} from '@angular/forms';\nimport {EMPTY, Observable, Subject} from 'rxjs';\nimport {distinctUntilChanged, switchAll} from 'rxjs/operators';\n\n@Directive({\n selector: '[tuiValueChanges]',\n})\nexport class TuiValueChangesDirective<T> implements DoCheck {\n private readonly refresh$ = new Subject<Observable<T>>();\n\n @Output()\n readonly tuiValueChanges = this.refresh$.pipe(distinctUntilChanged(), switchAll());\n\n constructor(\n @Optional()\n @Inject(ControlContainer)\n private readonly container: ControlContainer | null,\n @Optional()\n @Inject(NgControl)\n private readonly control: NgControl | null,\n ) {}\n\n ngDoCheck(): void {\n this.refresh$.next(\n this.control?.valueChanges || this.container?.valueChanges || EMPTY,\n );\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiValueChangesDirective} from './value-changes.directive';\n\n@NgModule({\n declarations: [TuiValueChangesDirective],\n exports: [TuiValueChangesDirective],\n})\nexport class TuiValueChangesModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["Subject","distinctUntilChanged","switchAll","EMPTY","ControlContainer","NgControl","i0","Directive","Optional","Inject","Output","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,QAAA,wBAAA,kBAAA,YAAA;QAMI,SAGqB,wBAAA,CAAA,SAAkC,EAGlC,OAAyB,EAAA;IAHzB,QAAA,IAAS,CAAA,SAAA,GAAT,SAAS,CAAyB;IAGlC,QAAA,IAAO,CAAA,OAAA,GAAP,OAAO,CAAkB;IAX7B,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAIA,YAAO,EAAiB,CAAC;IAGhD,QAAA,IAAA,CAAA,eAAe,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAACC,8BAAoB,EAAE,EAAEC,mBAAS,EAAE,CAAC,CAAC;SAS/E;IAEJ,IAAA,wBAAA,CAAA,SAAA,CAAA,SAAS,GAAT,YAAA;;IACI,QAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,CACd,CAAA,CAAA,EAAA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,qBAAqB,EAAA,CAAA,CAAA;sHAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;sBAJjCK,WAAQ;IAAC,YAAA,IAAA,EAAA,CAAA;wBACN,YAAY,EAAE,CAAC,wBAAwB,CAAC;wBACxC,OAAO,EAAE,CAAC,wBAAwB,CAAC;qBACtC,CAAA;;;ICPD;;IAEG;;;;;;;;;;;"}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
(function (global, factory) {
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@taiga-ui/cdk/directives/active-zone'), require('@taiga-ui/cdk/directives/auto-focus'), require('@taiga-ui/cdk/directives/autofilled'), require('@taiga-ui/cdk/directives/checked'), require('@taiga-ui/cdk/directives/copy-processor'), require('@taiga-ui/cdk/directives/drag'), require('@taiga-ui/cdk/directives/droppable'), require('@taiga-ui/cdk/directives/element'), require('@taiga-ui/cdk/directives/focus-trap'), require('@taiga-ui/cdk/directives/focus-visible'), require('@taiga-ui/cdk/directives/focusable'), require('@taiga-ui/cdk/directives/focused'), require('@taiga-ui/cdk/directives/for'), require('@taiga-ui/cdk/directives/for-async'), require('@taiga-ui/cdk/directives/high-dpi'), require('@taiga-ui/cdk/directives/hovered'), require('@taiga-ui/cdk/directives/item'), require('@taiga-ui/cdk/directives/let'), require('@taiga-ui/cdk/directives/media'), require('@taiga-ui/cdk/directives/obscured'), require('@taiga-ui/cdk/directives/overscroll'), require('@taiga-ui/cdk/directives/pan'), require('@taiga-ui/cdk/directives/portal'), require('@taiga-ui/cdk/directives/pressed'), require('@taiga-ui/cdk/directives/prevent-default'), require('@taiga-ui/cdk/directives/repeat-times'), require('@taiga-ui/cdk/directives/resize'), require('@taiga-ui/cdk/directives/resizer'), require('@taiga-ui/cdk/directives/swipe'), require('@taiga-ui/cdk/directives/validator'), require('@taiga-ui/cdk/directives/zoom')) :
|
3
|
-
typeof define === 'function' && define.amd ? define('@taiga-ui/cdk/directives', ['exports', '@taiga-ui/cdk/directives/active-zone', '@taiga-ui/cdk/directives/auto-focus', '@taiga-ui/cdk/directives/autofilled', '@taiga-ui/cdk/directives/checked', '@taiga-ui/cdk/directives/copy-processor', '@taiga-ui/cdk/directives/drag', '@taiga-ui/cdk/directives/droppable', '@taiga-ui/cdk/directives/element', '@taiga-ui/cdk/directives/focus-trap', '@taiga-ui/cdk/directives/focus-visible', '@taiga-ui/cdk/directives/focusable', '@taiga-ui/cdk/directives/focused', '@taiga-ui/cdk/directives/for', '@taiga-ui/cdk/directives/for-async', '@taiga-ui/cdk/directives/high-dpi', '@taiga-ui/cdk/directives/hovered', '@taiga-ui/cdk/directives/item', '@taiga-ui/cdk/directives/let', '@taiga-ui/cdk/directives/media', '@taiga-ui/cdk/directives/obscured', '@taiga-ui/cdk/directives/overscroll', '@taiga-ui/cdk/directives/pan', '@taiga-ui/cdk/directives/portal', '@taiga-ui/cdk/directives/pressed', '@taiga-ui/cdk/directives/prevent-default', '@taiga-ui/cdk/directives/repeat-times', '@taiga-ui/cdk/directives/resize', '@taiga-ui/cdk/directives/resizer', '@taiga-ui/cdk/directives/swipe', '@taiga-ui/cdk/directives/validator', '@taiga-ui/cdk/directives/zoom'], factory) :
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].cdk = global["taiga-ui"].cdk || {}, global["taiga-ui"].cdk.directives = {}), global["taiga-ui"].cdk.directives["active-zone"], global["taiga-ui"].cdk.directives["auto-focus"], global["taiga-ui"].cdk.directives.autofilled, global["taiga-ui"].cdk.directives.checked, global["taiga-ui"].cdk.directives["copy-processor"], global["taiga-ui"].cdk.directives.drag, global["taiga-ui"].cdk.directives.droppable, global["taiga-ui"].cdk.directives.element, global["taiga-ui"].cdk.directives["focus-trap"], global["taiga-ui"].cdk.directives["focus-visible"], global["taiga-ui"].cdk.directives.focusable, global["taiga-ui"].cdk.directives.focused, global["taiga-ui"].cdk.directives["for"], global["taiga-ui"].cdk.directives["for-async"], global["taiga-ui"].cdk.directives["high-dpi"], global["taiga-ui"].cdk.directives.hovered, global["taiga-ui"].cdk.directives.item, global["taiga-ui"].cdk.directives["let"], global["taiga-ui"].cdk.directives.media, global["taiga-ui"].cdk.directives.obscured, global["taiga-ui"].cdk.directives.overscroll, global["taiga-ui"].cdk.directives.pan, global["taiga-ui"].cdk.directives.portal, global["taiga-ui"].cdk.directives.pressed, global["taiga-ui"].cdk.directives["prevent-default"], global["taiga-ui"].cdk.directives["repeat-times"], global["taiga-ui"].cdk.directives.resize, global["taiga-ui"].cdk.directives.resizer, global["taiga-ui"].cdk.directives.swipe, global["taiga-ui"].cdk.directives.validator, global["taiga-ui"].cdk.directives.zoom));
|
5
|
-
})(this, (function (exports, activeZone, autoFocus, autofilled, checked, copyProcessor, drag, droppable, element, focusTrap, focusVisible, focusable, focused, _for, forAsync, highDpi, hovered, item, _let, media, obscured, overscroll, pan, portal, pressed, preventDefault, repeatTimes, resize, resizer, swipe, validator, zoom) { 'use strict';
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@taiga-ui/cdk/directives/active-zone'), require('@taiga-ui/cdk/directives/auto-focus'), require('@taiga-ui/cdk/directives/autofilled'), require('@taiga-ui/cdk/directives/checked'), require('@taiga-ui/cdk/directives/control'), require('@taiga-ui/cdk/directives/copy-processor'), require('@taiga-ui/cdk/directives/drag'), require('@taiga-ui/cdk/directives/droppable'), require('@taiga-ui/cdk/directives/element'), require('@taiga-ui/cdk/directives/focus-trap'), require('@taiga-ui/cdk/directives/focus-visible'), require('@taiga-ui/cdk/directives/focusable'), require('@taiga-ui/cdk/directives/focused'), require('@taiga-ui/cdk/directives/for'), require('@taiga-ui/cdk/directives/for-async'), require('@taiga-ui/cdk/directives/high-dpi'), require('@taiga-ui/cdk/directives/hovered'), require('@taiga-ui/cdk/directives/item'), require('@taiga-ui/cdk/directives/let'), require('@taiga-ui/cdk/directives/media'), require('@taiga-ui/cdk/directives/obscured'), require('@taiga-ui/cdk/directives/overscroll'), require('@taiga-ui/cdk/directives/pan'), require('@taiga-ui/cdk/directives/portal'), require('@taiga-ui/cdk/directives/pressed'), require('@taiga-ui/cdk/directives/prevent-default'), require('@taiga-ui/cdk/directives/repeat-times'), require('@taiga-ui/cdk/directives/resize'), require('@taiga-ui/cdk/directives/resizer'), require('@taiga-ui/cdk/directives/swipe'), require('@taiga-ui/cdk/directives/validator'), require('@taiga-ui/cdk/directives/value-changes'), require('@taiga-ui/cdk/directives/zoom')) :
|
3
|
+
typeof define === 'function' && define.amd ? define('@taiga-ui/cdk/directives', ['exports', '@taiga-ui/cdk/directives/active-zone', '@taiga-ui/cdk/directives/auto-focus', '@taiga-ui/cdk/directives/autofilled', '@taiga-ui/cdk/directives/checked', '@taiga-ui/cdk/directives/control', '@taiga-ui/cdk/directives/copy-processor', '@taiga-ui/cdk/directives/drag', '@taiga-ui/cdk/directives/droppable', '@taiga-ui/cdk/directives/element', '@taiga-ui/cdk/directives/focus-trap', '@taiga-ui/cdk/directives/focus-visible', '@taiga-ui/cdk/directives/focusable', '@taiga-ui/cdk/directives/focused', '@taiga-ui/cdk/directives/for', '@taiga-ui/cdk/directives/for-async', '@taiga-ui/cdk/directives/high-dpi', '@taiga-ui/cdk/directives/hovered', '@taiga-ui/cdk/directives/item', '@taiga-ui/cdk/directives/let', '@taiga-ui/cdk/directives/media', '@taiga-ui/cdk/directives/obscured', '@taiga-ui/cdk/directives/overscroll', '@taiga-ui/cdk/directives/pan', '@taiga-ui/cdk/directives/portal', '@taiga-ui/cdk/directives/pressed', '@taiga-ui/cdk/directives/prevent-default', '@taiga-ui/cdk/directives/repeat-times', '@taiga-ui/cdk/directives/resize', '@taiga-ui/cdk/directives/resizer', '@taiga-ui/cdk/directives/swipe', '@taiga-ui/cdk/directives/validator', '@taiga-ui/cdk/directives/value-changes', '@taiga-ui/cdk/directives/zoom'], factory) :
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"].cdk = global["taiga-ui"].cdk || {}, global["taiga-ui"].cdk.directives = {}), global["taiga-ui"].cdk.directives["active-zone"], global["taiga-ui"].cdk.directives["auto-focus"], global["taiga-ui"].cdk.directives.autofilled, global["taiga-ui"].cdk.directives.checked, global["taiga-ui"].cdk.directives.control, global["taiga-ui"].cdk.directives["copy-processor"], global["taiga-ui"].cdk.directives.drag, global["taiga-ui"].cdk.directives.droppable, global["taiga-ui"].cdk.directives.element, global["taiga-ui"].cdk.directives["focus-trap"], global["taiga-ui"].cdk.directives["focus-visible"], global["taiga-ui"].cdk.directives.focusable, global["taiga-ui"].cdk.directives.focused, global["taiga-ui"].cdk.directives["for"], global["taiga-ui"].cdk.directives["for-async"], global["taiga-ui"].cdk.directives["high-dpi"], global["taiga-ui"].cdk.directives.hovered, global["taiga-ui"].cdk.directives.item, global["taiga-ui"].cdk.directives["let"], global["taiga-ui"].cdk.directives.media, global["taiga-ui"].cdk.directives.obscured, global["taiga-ui"].cdk.directives.overscroll, global["taiga-ui"].cdk.directives.pan, global["taiga-ui"].cdk.directives.portal, global["taiga-ui"].cdk.directives.pressed, global["taiga-ui"].cdk.directives["prevent-default"], global["taiga-ui"].cdk.directives["repeat-times"], global["taiga-ui"].cdk.directives.resize, global["taiga-ui"].cdk.directives.resizer, global["taiga-ui"].cdk.directives.swipe, global["taiga-ui"].cdk.directives.validator, global["taiga-ui"].cdk.directives["value-changes"], global["taiga-ui"].cdk.directives.zoom));
|
5
|
+
})(this, (function (exports, activeZone, autoFocus, autofilled, checked, control, copyProcessor, drag, droppable, element, focusTrap, focusVisible, focusable, focused, _for, forAsync, highDpi, hovered, item, _let, media, obscured, overscroll, pan, portal, pressed, preventDefault, repeatTimes, resize, resizer, swipe, validator, valueChanges, zoom) { 'use strict';
|
6
6
|
|
7
7
|
/**
|
8
8
|
* Generated bundle index. Do not edit.
|
@@ -32,6 +32,12 @@
|
|
32
32
|
get: function () { return checked[k]; }
|
33
33
|
});
|
34
34
|
});
|
35
|
+
Object.keys(control).forEach(function (k) {
|
36
|
+
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
|
37
|
+
enumerable: true,
|
38
|
+
get: function () { return control[k]; }
|
39
|
+
});
|
40
|
+
});
|
35
41
|
Object.keys(copyProcessor).forEach(function (k) {
|
36
42
|
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
|
37
43
|
enumerable: true,
|
@@ -188,6 +194,12 @@
|
|
188
194
|
get: function () { return validator[k]; }
|
189
195
|
});
|
190
196
|
});
|
197
|
+
Object.keys(valueChanges).forEach(function (k) {
|
198
|
+
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
|
199
|
+
enumerable: true,
|
200
|
+
get: function () { return valueChanges[k]; }
|
201
|
+
});
|
202
|
+
});
|
191
203
|
Object.keys(zoom).forEach(function (k) {
|
192
204
|
if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
|
193
205
|
enumerable: true,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"taiga-ui-cdk-directives.umd.js","sources":["../../../projects/cdk/directives/taiga-ui-cdk-directives.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;CAAA;;CAEG
|
1
|
+
{"version":3,"file":"taiga-ui-cdk-directives.umd.js","sources":["../../../projects/cdk/directives/taiga-ui-cdk-directives.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;CAAA;;CAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { AbstractControl, NgControl } from '@angular/forms';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class TuiControlDirective {
|
4
|
+
private readonly ngControl;
|
5
|
+
constructor(ngControl: NgControl);
|
6
|
+
get control(): AbstractControl;
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiControlDirective, never>;
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiControlDirective, "[tuiControl]", ["ngControl"], {}, {}, never>;
|
9
|
+
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./control.directive";
|
3
|
+
export declare class TuiControlModule {
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiControlModule, never>;
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiControlModule, [typeof i1.TuiControlDirective], never, [typeof i1.TuiControlDirective]>;
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiControlModule>;
|
7
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
{
|
2
|
+
"main": "../../bundles/taiga-ui-cdk-directives-control.umd.js",
|
3
|
+
"module": "../../fesm2015/taiga-ui-cdk-directives-control.js",
|
4
|
+
"es2015": "../../fesm2015/taiga-ui-cdk-directives-control.js",
|
5
|
+
"esm2015": "../../esm2015/directives/control/taiga-ui-cdk-directives-control.js",
|
6
|
+
"fesm2015": "../../fesm2015/taiga-ui-cdk-directives-control.js",
|
7
|
+
"typings": "taiga-ui-cdk-directives-control.d.ts",
|
8
|
+
"sideEffects": false,
|
9
|
+
"name": "@taiga-ui/cdk/directives/control"
|
10
|
+
}
|
package/directives/index.d.ts
CHANGED
@@ -2,6 +2,7 @@ export * from '@taiga-ui/cdk/directives/active-zone';
|
|
2
2
|
export * from '@taiga-ui/cdk/directives/auto-focus';
|
3
3
|
export * from '@taiga-ui/cdk/directives/autofilled';
|
4
4
|
export * from '@taiga-ui/cdk/directives/checked';
|
5
|
+
export * from '@taiga-ui/cdk/directives/control';
|
5
6
|
export * from '@taiga-ui/cdk/directives/copy-processor';
|
6
7
|
export * from '@taiga-ui/cdk/directives/drag';
|
7
8
|
export * from '@taiga-ui/cdk/directives/droppable';
|
@@ -28,4 +29,5 @@ export * from '@taiga-ui/cdk/directives/resize';
|
|
28
29
|
export * from '@taiga-ui/cdk/directives/resizer';
|
29
30
|
export * from '@taiga-ui/cdk/directives/swipe';
|
30
31
|
export * from '@taiga-ui/cdk/directives/validator';
|
32
|
+
export * from '@taiga-ui/cdk/directives/value-changes';
|
31
33
|
export * from '@taiga-ui/cdk/directives/zoom';
|
@@ -0,0 +1,10 @@
|
|
1
|
+
{
|
2
|
+
"main": "../../bundles/taiga-ui-cdk-directives-value-changes.umd.js",
|
3
|
+
"module": "../../fesm2015/taiga-ui-cdk-directives-value-changes.js",
|
4
|
+
"es2015": "../../fesm2015/taiga-ui-cdk-directives-value-changes.js",
|
5
|
+
"esm2015": "../../esm2015/directives/value-changes/taiga-ui-cdk-directives-value-changes.js",
|
6
|
+
"fesm2015": "../../fesm2015/taiga-ui-cdk-directives-value-changes.js",
|
7
|
+
"typings": "taiga-ui-cdk-directives-value-changes.d.ts",
|
8
|
+
"sideEffects": false,
|
9
|
+
"name": "@taiga-ui/cdk/directives/value-changes"
|
10
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { DoCheck } from '@angular/core';
|
2
|
+
import { ControlContainer, NgControl } from '@angular/forms';
|
3
|
+
import { Observable } from 'rxjs';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class TuiValueChangesDirective<T> implements DoCheck {
|
6
|
+
private readonly container;
|
7
|
+
private readonly control;
|
8
|
+
private readonly refresh$;
|
9
|
+
readonly tuiValueChanges: Observable<T>;
|
10
|
+
constructor(container: ControlContainer | null, control: NgControl | null);
|
11
|
+
ngDoCheck(): void;
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiValueChangesDirective<any>, [{ optional: true; }, { optional: true; }]>;
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TuiValueChangesDirective<any>, "[tuiValueChanges]", never, {}, { "tuiValueChanges": "tuiValueChanges"; }, never>;
|
14
|
+
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./value-changes.directive";
|
3
|
+
export declare class TuiValueChangesModule {
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TuiValueChangesModule, never>;
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TuiValueChangesModule, [typeof i1.TuiValueChangesDirective], never, [typeof i1.TuiValueChangesDirective]>;
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TuiValueChangesModule>;
|
7
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { Directive, Inject } from '@angular/core';
|
2
|
+
import { NgControl } from '@angular/forms';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
import * as i1 from "@angular/forms";
|
5
|
+
export class TuiControlDirective {
|
6
|
+
constructor(ngControl) {
|
7
|
+
this.ngControl = ngControl;
|
8
|
+
}
|
9
|
+
get control() {
|
10
|
+
return this.ngControl.control;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
TuiControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiControlDirective, deps: [{ token: NgControl }], target: i0.ɵɵFactoryTarget.Directive });
|
14
|
+
TuiControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiControlDirective, selector: "[tuiControl]", exportAs: ["ngControl"], ngImport: i0 });
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiControlDirective, decorators: [{
|
16
|
+
type: Directive,
|
17
|
+
args: [{
|
18
|
+
selector: '[tuiControl]',
|
19
|
+
exportAs: 'ngControl',
|
20
|
+
}]
|
21
|
+
}], ctorParameters: function () { return [{ type: i1.NgControl, decorators: [{
|
22
|
+
type: Inject,
|
23
|
+
args: [NgControl]
|
24
|
+
}] }]; } });
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udHJvbC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jZGsvZGlyZWN0aXZlcy9jb250cm9sL2NvbnRyb2wuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsTUFBTSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ2hELE9BQU8sRUFBa0IsU0FBUyxFQUFDLE1BQU0sZ0JBQWdCLENBQUM7OztBQU0xRCxNQUFNLE9BQU8sbUJBQW1CO0lBQzVCLFlBQWdELFNBQW9CO1FBQXBCLGNBQVMsR0FBVCxTQUFTLENBQVc7SUFBRyxDQUFDO0lBRXhFLElBQUksT0FBTztRQUNQLE9BQU8sSUFBSSxDQUFDLFNBQVMsQ0FBQyxPQUFRLENBQUM7SUFDbkMsQ0FBQzs7aUhBTFEsbUJBQW1CLGtCQUNSLFNBQVM7cUdBRHBCLG1CQUFtQjs0RkFBbkIsbUJBQW1CO2tCQUovQixTQUFTO21CQUFDO29CQUNQLFFBQVEsRUFBRSxjQUFjO29CQUN4QixRQUFRLEVBQUUsV0FBVztpQkFDeEI7OzBCQUVnQixNQUFNOzJCQUFDLFNBQVMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0RpcmVjdGl2ZSwgSW5qZWN0fSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7QWJzdHJhY3RDb250cm9sLCBOZ0NvbnRyb2x9IGZyb20gJ0Bhbmd1bGFyL2Zvcm1zJztcblxuQERpcmVjdGl2ZSh7XG4gICAgc2VsZWN0b3I6ICdbdHVpQ29udHJvbF0nLFxuICAgIGV4cG9ydEFzOiAnbmdDb250cm9sJyxcbn0pXG5leHBvcnQgY2xhc3MgVHVpQ29udHJvbERpcmVjdGl2ZSB7XG4gICAgY29uc3RydWN0b3IoQEluamVjdChOZ0NvbnRyb2wpIHByaXZhdGUgcmVhZG9ubHkgbmdDb250cm9sOiBOZ0NvbnRyb2wpIHt9XG5cbiAgICBnZXQgY29udHJvbCgpOiBBYnN0cmFjdENvbnRyb2wge1xuICAgICAgICByZXR1cm4gdGhpcy5uZ0NvbnRyb2wuY29udHJvbCE7XG4gICAgfVxufVxuIl19
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { TuiControlDirective } from './control.directive';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export class TuiControlModule {
|
5
|
+
}
|
6
|
+
TuiControlModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiControlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
7
|
+
TuiControlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiControlModule, declarations: [TuiControlDirective], exports: [TuiControlDirective] });
|
8
|
+
TuiControlModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiControlModule });
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiControlModule, decorators: [{
|
10
|
+
type: NgModule,
|
11
|
+
args: [{
|
12
|
+
declarations: [TuiControlDirective],
|
13
|
+
exports: [TuiControlDirective],
|
14
|
+
}]
|
15
|
+
}] });
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udHJvbC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jZGsvZGlyZWN0aXZlcy9jb250cm9sL2NvbnRyb2wubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFdkMsT0FBTyxFQUFDLG1CQUFtQixFQUFDLE1BQU0scUJBQXFCLENBQUM7O0FBTXhELE1BQU0sT0FBTyxnQkFBZ0I7OzhHQUFoQixnQkFBZ0I7K0dBQWhCLGdCQUFnQixpQkFIVixtQkFBbUIsYUFDeEIsbUJBQW1COytHQUVwQixnQkFBZ0I7NEZBQWhCLGdCQUFnQjtrQkFKNUIsUUFBUTttQkFBQztvQkFDTixZQUFZLEVBQUUsQ0FBQyxtQkFBbUIsQ0FBQztvQkFDbkMsT0FBTyxFQUFFLENBQUMsbUJBQW1CLENBQUM7aUJBQ2pDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtOZ01vZHVsZX0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmltcG9ydCB7VHVpQ29udHJvbERpcmVjdGl2ZX0gZnJvbSAnLi9jb250cm9sLmRpcmVjdGl2ZSc7XG5cbkBOZ01vZHVsZSh7XG4gICAgZGVjbGFyYXRpb25zOiBbVHVpQ29udHJvbERpcmVjdGl2ZV0sXG4gICAgZXhwb3J0czogW1R1aUNvbnRyb2xEaXJlY3RpdmVdLFxufSlcbmV4cG9ydCBjbGFzcyBUdWlDb250cm9sTW9kdWxlIHt9XG4iXX0=
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export * from './control.directive';
|
2
|
+
export * from './control.module';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jZGsvZGlyZWN0aXZlcy9jb250cm9sL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMscUJBQXFCLENBQUM7QUFDcEMsY0FBYyxrQkFBa0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vY29udHJvbC5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9jb250cm9sLm1vZHVsZSc7XG4iXX0=
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './index';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktY2RrLWRpcmVjdGl2ZXMtY29udHJvbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Nkay9kaXJlY3RpdmVzL2NvbnRyb2wvdGFpZ2EtdWktY2RrLWRpcmVjdGl2ZXMtY29udHJvbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
@@ -2,6 +2,7 @@ export * from '@taiga-ui/cdk/directives/active-zone';
|
|
2
2
|
export * from '@taiga-ui/cdk/directives/auto-focus';
|
3
3
|
export * from '@taiga-ui/cdk/directives/autofilled';
|
4
4
|
export * from '@taiga-ui/cdk/directives/checked';
|
5
|
+
export * from '@taiga-ui/cdk/directives/control';
|
5
6
|
export * from '@taiga-ui/cdk/directives/copy-processor';
|
6
7
|
export * from '@taiga-ui/cdk/directives/drag';
|
7
8
|
export * from '@taiga-ui/cdk/directives/droppable';
|
@@ -28,5 +29,6 @@ export * from '@taiga-ui/cdk/directives/resize';
|
|
28
29
|
export * from '@taiga-ui/cdk/directives/resizer';
|
29
30
|
export * from '@taiga-ui/cdk/directives/swipe';
|
30
31
|
export * from '@taiga-ui/cdk/directives/validator';
|
32
|
+
export * from '@taiga-ui/cdk/directives/value-changes';
|
31
33
|
export * from '@taiga-ui/cdk/directives/zoom';
|
32
|
-
//# sourceMappingURL=data:application/json;base64,
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jZGsvZGlyZWN0aXZlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHNDQUFzQyxDQUFDO0FBQ3JELGNBQWMscUNBQXFDLENBQUM7QUFDcEQsY0FBYyxxQ0FBcUMsQ0FBQztBQUNwRCxjQUFjLGtDQUFrQyxDQUFDO0FBQ2pELGNBQWMsa0NBQWtDLENBQUM7QUFDakQsY0FBYyx5Q0FBeUMsQ0FBQztBQUN4RCxjQUFjLCtCQUErQixDQUFDO0FBQzlDLGNBQWMsb0NBQW9DLENBQUM7QUFDbkQsY0FBYyxrQ0FBa0MsQ0FBQztBQUNqRCxjQUFjLHFDQUFxQyxDQUFDO0FBQ3BELGNBQWMsd0NBQXdDLENBQUM7QUFDdkQsY0FBYyxvQ0FBb0MsQ0FBQztBQUNuRCxjQUFjLGtDQUFrQyxDQUFDO0FBQ2pELGNBQWMsOEJBQThCLENBQUM7QUFDN0MsY0FBYyxvQ0FBb0MsQ0FBQztBQUNuRCxjQUFjLG1DQUFtQyxDQUFDO0FBQ2xELGNBQWMsa0NBQWtDLENBQUM7QUFDakQsY0FBYywrQkFBK0IsQ0FBQzt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ICogZnJvbSAnQHRhaWdhLXVpL2Nkay9kaXJlY3RpdmVzL3BvcnRhbCc7XG5leHBvcnQgKiBmcm9tICdAdGFpZ2EtdWkvY2RrL2RpcmVjdGl2ZXMvcHJlc3NlZCc7XG5leHBvcnQgKiBmcm9tICdAdGFpZ2EtdWkvY2RrL2RpcmVjdGl2ZXMvcHJldmVudC1kZWZhdWx0JztcbmV4cG9ydCAqIGZyb20gJ0B0YWlnYS11aS9jZGsvZGlyZWN0aXZlcy9yZXBlYXQtdGltZXMnO1xuZXhwb3J0ICogZnJvbSAnQHRhaWdhLXVpL2Nkay9kaXJlY3RpdmVzL3Jlc2l6ZSc7XG5leHBvcnQgKiBmcm9tICdAdGFpZ2EtdWkvY2RrL2RpcmVjdGl2ZXMvcmVzaXplcic7XG5leHBvcnQgKiBmcm9tICdAdGFpZ2EtdWkvY2RrL2RpcmVjdGl2ZXMvc3dpcGUnO1xuZXhwb3J0ICogZnJvbSAnQHRhaWdhLXVpL2Nkay9kaXJlY3RpdmVzL3ZhbGlkYXRvcic7XG5leHBvcnQgKiBmcm9tICdAdGFpZ2EtdWkvY2RrL2RpcmVjdGl2ZXMvdmFsdWUtY2hhbmdlcyc7XG5leHBvcnQgKiBmcm9tICdAdGFpZ2EtdWkvY2RrL2RpcmVjdGl2ZXMvem9vbSc7XG4iXX0=
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export * from './value-changes.directive';
|
2
|
+
export * from './value-changes.module';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jZGsvZGlyZWN0aXZlcy92YWx1ZS1jaGFuZ2VzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsMkJBQTJCLENBQUM7QUFDMUMsY0FBYyx3QkFBd0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vdmFsdWUtY2hhbmdlcy5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi92YWx1ZS1jaGFuZ2VzLm1vZHVsZSc7XG4iXX0=
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './index';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktY2RrLWRpcmVjdGl2ZXMtdmFsdWUtY2hhbmdlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Nkay9kaXJlY3RpdmVzL3ZhbHVlLWNoYW5nZXMvdGFpZ2EtdWktY2RrLWRpcmVjdGl2ZXMtdmFsdWUtY2hhbmdlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import { Directive, Inject, Optional, Output } from '@angular/core';
|
2
|
+
import { ControlContainer, NgControl } from '@angular/forms';
|
3
|
+
import { EMPTY, Subject } from 'rxjs';
|
4
|
+
import { distinctUntilChanged, switchAll } from 'rxjs/operators';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
import * as i1 from "@angular/forms";
|
7
|
+
export class TuiValueChangesDirective {
|
8
|
+
constructor(container, control) {
|
9
|
+
this.container = container;
|
10
|
+
this.control = control;
|
11
|
+
this.refresh$ = new Subject();
|
12
|
+
this.tuiValueChanges = this.refresh$.pipe(distinctUntilChanged(), switchAll());
|
13
|
+
}
|
14
|
+
ngDoCheck() {
|
15
|
+
var _a, _b;
|
16
|
+
this.refresh$.next(((_a = this.control) === null || _a === void 0 ? void 0 : _a.valueChanges) || ((_b = this.container) === null || _b === void 0 ? void 0 : _b.valueChanges) || EMPTY);
|
17
|
+
}
|
18
|
+
}
|
19
|
+
TuiValueChangesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiValueChangesDirective, deps: [{ token: ControlContainer, optional: true }, { token: NgControl, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
20
|
+
TuiValueChangesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiValueChangesDirective, selector: "[tuiValueChanges]", outputs: { tuiValueChanges: "tuiValueChanges" }, ngImport: i0 });
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiValueChangesDirective, decorators: [{
|
22
|
+
type: Directive,
|
23
|
+
args: [{
|
24
|
+
selector: '[tuiValueChanges]',
|
25
|
+
}]
|
26
|
+
}], ctorParameters: function () { return [{ type: i1.ControlContainer, decorators: [{
|
27
|
+
type: Optional
|
28
|
+
}, {
|
29
|
+
type: Inject,
|
30
|
+
args: [ControlContainer]
|
31
|
+
}] }, { type: i1.NgControl, decorators: [{
|
32
|
+
type: Optional
|
33
|
+
}, {
|
34
|
+
type: Inject,
|
35
|
+
args: [NgControl]
|
36
|
+
}] }]; }, propDecorators: { tuiValueChanges: [{
|
37
|
+
type: Output
|
38
|
+
}] } });
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFsdWUtY2hhbmdlcy5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jZGsvZGlyZWN0aXZlcy92YWx1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udWxsLFxuICAgICAgICBAT3B0aW9uYWwoKVxuICAgICAgICBASW5qZWN0KE5nQ29udHJvbClcbiAgICAgICAgcHJpdmF0ZSByZWFkb25seSBjb250cm9sOiBOZ0NvbnRyb2wgfCBudWxsLFxuICAgICkge31cblxuICAgIG5nRG9DaGVjaygpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5yZWZyZXNoJC5uZXh0KFxuICAgICAgICAgICAgdGhpcy5jb250cm9sPy52YWx1ZUNoYW5nZXMgfHwgdGhpcy5jb250YWluZXI/LnZhbHVlQ2hhbmdlcyB8fCBFTVBUWSxcbiAgICAgICAgKTtcbiAgICB9XG59XG4iXX0=
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { TuiValueChangesDirective } from './value-changes.directive';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
export class TuiValueChangesModule {
|
5
|
+
}
|
6
|
+
TuiValueChangesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiValueChangesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
7
|
+
TuiValueChangesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiValueChangesModule, declarations: [TuiValueChangesDirective], exports: [TuiValueChangesDirective] });
|
8
|
+
TuiValueChangesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiValueChangesModule });
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiValueChangesModule, decorators: [{
|
10
|
+
type: NgModule,
|
11
|
+
args: [{
|
12
|
+
declarations: [TuiValueChangesDirective],
|
13
|
+
exports: [TuiValueChangesDirective],
|
14
|
+
}]
|
15
|
+
}] });
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJm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
|
+
import * as i1 from '@angular/forms';
|
4
|
+
import { NgControl } from '@angular/forms';
|
5
|
+
|
6
|
+
class TuiControlDirective {
|
7
|
+
constructor(ngControl) {
|
8
|
+
this.ngControl = ngControl;
|
9
|
+
}
|
10
|
+
get control() {
|
11
|
+
return this.ngControl.control;
|
12
|
+
}
|
13
|
+
}
|
14
|
+
TuiControlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiControlDirective, deps: [{ token: NgControl }], target: i0.ɵɵFactoryTarget.Directive });
|
15
|
+
TuiControlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiControlDirective, selector: "[tuiControl]", exportAs: ["ngControl"], ngImport: i0 });
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiControlDirective, decorators: [{
|
17
|
+
type: Directive,
|
18
|
+
args: [{
|
19
|
+
selector: '[tuiControl]',
|
20
|
+
exportAs: 'ngControl',
|
21
|
+
}]
|
22
|
+
}], ctorParameters: function () { return [{ type: i1.NgControl, decorators: [{
|
23
|
+
type: Inject,
|
24
|
+
args: [NgControl]
|
25
|
+
}] }]; } });
|
26
|
+
|
27
|
+
class TuiControlModule {
|
28
|
+
}
|
29
|
+
TuiControlModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiControlModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
30
|
+
TuiControlModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiControlModule, declarations: [TuiControlDirective], exports: [TuiControlDirective] });
|
31
|
+
TuiControlModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiControlModule });
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiControlModule, decorators: [{
|
33
|
+
type: NgModule,
|
34
|
+
args: [{
|
35
|
+
declarations: [TuiControlDirective],
|
36
|
+
exports: [TuiControlDirective],
|
37
|
+
}]
|
38
|
+
}] });
|
39
|
+
|
40
|
+
/**
|
41
|
+
* Generated bundle index. Do not edit.
|
42
|
+
*/
|
43
|
+
|
44
|
+
export { TuiControlDirective, TuiControlModule };
|
45
|
+
//# sourceMappingURL=taiga-ui-cdk-directives-control.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"taiga-ui-cdk-directives-control.js","sources":["../../../projects/cdk/directives/control/control.directive.ts","../../../projects/cdk/directives/control/control.module.ts","../../../projects/cdk/directives/control/taiga-ui-cdk-directives-control.ts"],"sourcesContent":["import {Directive, Inject} from '@angular/core';\nimport {AbstractControl, NgControl} from '@angular/forms';\n\n@Directive({\n selector: '[tuiControl]',\n exportAs: 'ngControl',\n})\nexport class TuiControlDirective {\n constructor(@Inject(NgControl) private readonly ngControl: NgControl) {}\n\n get control(): AbstractControl {\n return this.ngControl.control!;\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiControlDirective} from './control.directive';\n\n@NgModule({\n declarations: [TuiControlDirective],\n exports: [TuiControlDirective],\n})\nexport class TuiControlModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAOa,mBAAmB,CAAA;AAC5B,IAAA,WAAA,CAAgD,SAAoB,EAAA;QAApB,IAAS,CAAA,SAAA,GAAT,SAAS,CAAW;KAAI;AAExE,IAAA,IAAI,OAAO,GAAA;AACP,QAAA,OAAO,IAAI,CAAC,SAAS,CAAC,OAAQ,CAAC;KAClC;;AALQ,mBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,kBACR,SAAS,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;qGADpB,mBAAmB,EAAA,QAAA,EAAA,cAAA,EAAA,QAAA,EAAA,CAAA,WAAA,CAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;4FAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAJ/B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,cAAc;AACxB,oBAAA,QAAQ,EAAE,WAAW;AACxB,iBAAA,CAAA;;0BAEgB,MAAM;2BAAC,SAAS,CAAA;;;MCApB,gBAAgB,CAAA;;8GAAhB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAhB,gBAAgB,EAAA,YAAA,EAAA,CAHV,mBAAmB,CAAA,EAAA,OAAA,EAAA,CACxB,mBAAmB,CAAA,EAAA,CAAA,CAAA;+GAEpB,gBAAgB,EAAA,CAAA,CAAA;4FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,mBAAmB,CAAC;oBACnC,OAAO,EAAE,CAAC,mBAAmB,CAAC;AACjC,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
@@ -0,0 +1,59 @@
|
|
1
|
+
import * as i0 from '@angular/core';
|
2
|
+
import { Directive, Optional, Inject, Output, NgModule } from '@angular/core';
|
3
|
+
import * as i1 from '@angular/forms';
|
4
|
+
import { ControlContainer, NgControl } from '@angular/forms';
|
5
|
+
import { Subject, EMPTY } from 'rxjs';
|
6
|
+
import { distinctUntilChanged, switchAll } from 'rxjs/operators';
|
7
|
+
|
8
|
+
class TuiValueChangesDirective {
|
9
|
+
constructor(container, control) {
|
10
|
+
this.container = container;
|
11
|
+
this.control = control;
|
12
|
+
this.refresh$ = new Subject();
|
13
|
+
this.tuiValueChanges = this.refresh$.pipe(distinctUntilChanged(), switchAll());
|
14
|
+
}
|
15
|
+
ngDoCheck() {
|
16
|
+
var _a, _b;
|
17
|
+
this.refresh$.next(((_a = this.control) === null || _a === void 0 ? void 0 : _a.valueChanges) || ((_b = this.container) === null || _b === void 0 ? void 0 : _b.valueChanges) || EMPTY);
|
18
|
+
}
|
19
|
+
}
|
20
|
+
TuiValueChangesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiValueChangesDirective, deps: [{ token: ControlContainer, optional: true }, { token: NgControl, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
21
|
+
TuiValueChangesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiValueChangesDirective, selector: "[tuiValueChanges]", outputs: { tuiValueChanges: "tuiValueChanges" }, ngImport: i0 });
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiValueChangesDirective, decorators: [{
|
23
|
+
type: Directive,
|
24
|
+
args: [{
|
25
|
+
selector: '[tuiValueChanges]',
|
26
|
+
}]
|
27
|
+
}], ctorParameters: function () { return [{ type: i1.ControlContainer, decorators: [{
|
28
|
+
type: Optional
|
29
|
+
}, {
|
30
|
+
type: Inject,
|
31
|
+
args: [ControlContainer]
|
32
|
+
}] }, { type: i1.NgControl, decorators: [{
|
33
|
+
type: Optional
|
34
|
+
}, {
|
35
|
+
type: Inject,
|
36
|
+
args: [NgControl]
|
37
|
+
}] }]; }, propDecorators: { tuiValueChanges: [{
|
38
|
+
type: Output
|
39
|
+
}] } });
|
40
|
+
|
41
|
+
class TuiValueChangesModule {
|
42
|
+
}
|
43
|
+
TuiValueChangesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiValueChangesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
44
|
+
TuiValueChangesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiValueChangesModule, declarations: [TuiValueChangesDirective], exports: [TuiValueChangesDirective] });
|
45
|
+
TuiValueChangesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiValueChangesModule });
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiValueChangesModule, decorators: [{
|
47
|
+
type: NgModule,
|
48
|
+
args: [{
|
49
|
+
declarations: [TuiValueChangesDirective],
|
50
|
+
exports: [TuiValueChangesDirective],
|
51
|
+
}]
|
52
|
+
}] });
|
53
|
+
|
54
|
+
/**
|
55
|
+
* Generated bundle index. Do not edit.
|
56
|
+
*/
|
57
|
+
|
58
|
+
export { TuiValueChangesDirective, TuiValueChangesModule };
|
59
|
+
//# sourceMappingURL=taiga-ui-cdk-directives-value-changes.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"taiga-ui-cdk-directives-value-changes.js","sources":["../../../projects/cdk/directives/value-changes/value-changes.directive.ts","../../../projects/cdk/directives/value-changes/value-changes.module.ts","../../../projects/cdk/directives/value-changes/taiga-ui-cdk-directives-value-changes.ts"],"sourcesContent":["import {Directive, DoCheck, Inject, Optional, Output} from '@angular/core';\nimport {ControlContainer, NgControl} from '@angular/forms';\nimport {EMPTY, Observable, Subject} from 'rxjs';\nimport {distinctUntilChanged, switchAll} from 'rxjs/operators';\n\n@Directive({\n selector: '[tuiValueChanges]',\n})\nexport class TuiValueChangesDirective<T> implements DoCheck {\n private readonly refresh$ = new Subject<Observable<T>>();\n\n @Output()\n readonly tuiValueChanges = this.refresh$.pipe(distinctUntilChanged(), switchAll());\n\n constructor(\n @Optional()\n @Inject(ControlContainer)\n private readonly container: ControlContainer | null,\n @Optional()\n @Inject(NgControl)\n private readonly control: NgControl | null,\n ) {}\n\n ngDoCheck(): void {\n this.refresh$.next(\n this.control?.valueChanges || this.container?.valueChanges || EMPTY,\n );\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiValueChangesDirective} from './value-changes.directive';\n\n@NgModule({\n declarations: [TuiValueChangesDirective],\n exports: [TuiValueChangesDirective],\n})\nexport class TuiValueChangesModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAQa,wBAAwB,CAAA;IAMjC,WAGqB,CAAA,SAAkC,EAGlC,OAAyB,EAAA;QAHzB,IAAS,CAAA,SAAA,GAAT,SAAS,CAAyB;QAGlC,IAAO,CAAA,OAAA,GAAP,OAAO,CAAkB;AAX7B,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,OAAO,EAAiB,CAAC;AAGhD,QAAA,IAAA,CAAA,eAAe,GAAG,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,SAAS,EAAE,CAAC,CAAC;KAS/E;IAEJ,SAAS,GAAA;;QACL,IAAI,CAAC,QAAQ,CAAC,IAAI,CACd,CAAA,CAAA,EAAA,GAAA,IAAI,CAAC,OAAO,MAAA,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAE,YAAY,MAAI,CAAA,EAAA,GAAA,IAAI,CAAC,SAAS,MAAA,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAE,YAAY,CAAA,IAAI,KAAK,CACtE,CAAC;KACL;;sHAnBQ,wBAAwB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAQrB,gBAAgB,EAAA,QAAA,EAAA,IAAA,EAAA,EAAA,EAAA,KAAA,EAGhB,SAAS,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;0GAXZ,wBAAwB,EAAA,QAAA,EAAA,mBAAA,EAAA,OAAA,EAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;4FAAxB,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBAHpC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,mBAAmB;AAChC,iBAAA,CAAA;;0BAQQ,QAAQ;;0BACR,MAAM;2BAAC,gBAAgB,CAAA;;0BAEvB,QAAQ;;0BACR,MAAM;2BAAC,SAAS,CAAA;4CAPZ,eAAe,EAAA,CAAA;sBADvB,MAAM;;;MCHE,qBAAqB,CAAA;;mHAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;oHAArB,qBAAqB,EAAA,YAAA,EAAA,CAHf,wBAAwB,CAAA,EAAA,OAAA,EAAA,CAC7B,wBAAwB,CAAA,EAAA,CAAA,CAAA;oHAEzB,qBAAqB,EAAA,CAAA,CAAA;4FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAJjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,wBAAwB,CAAC;oBACxC,OAAO,EAAE,CAAC,wBAAwB,CAAC;AACtC,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
|
@@ -2,6 +2,7 @@ export * from '@taiga-ui/cdk/directives/active-zone';
|
|
2
2
|
export * from '@taiga-ui/cdk/directives/auto-focus';
|
3
3
|
export * from '@taiga-ui/cdk/directives/autofilled';
|
4
4
|
export * from '@taiga-ui/cdk/directives/checked';
|
5
|
+
export * from '@taiga-ui/cdk/directives/control';
|
5
6
|
export * from '@taiga-ui/cdk/directives/copy-processor';
|
6
7
|
export * from '@taiga-ui/cdk/directives/drag';
|
7
8
|
export * from '@taiga-ui/cdk/directives/droppable';
|
@@ -28,6 +29,7 @@ export * from '@taiga-ui/cdk/directives/resize';
|
|
28
29
|
export * from '@taiga-ui/cdk/directives/resizer';
|
29
30
|
export * from '@taiga-ui/cdk/directives/swipe';
|
30
31
|
export * from '@taiga-ui/cdk/directives/validator';
|
32
|
+
export * from '@taiga-ui/cdk/directives/value-changes';
|
31
33
|
export * from '@taiga-ui/cdk/directives/zoom';
|
32
34
|
|
33
35
|
/**
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"taiga-ui-cdk-directives.js","sources":["../../../projects/cdk/directives/taiga-ui-cdk-directives.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"taiga-ui-cdk-directives.js","sources":["../../../projects/cdk/directives/taiga-ui-cdk-directives.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AAEG"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@taiga-ui/cdk",
|
3
|
-
"version": "3.23.1-dev.main-
|
3
|
+
"version": "3.23.1-dev.main-14214d9",
|
4
4
|
"description": "Base library for creating Angular components and applications using Taiga UI principles regarding of actual visual appearance",
|
5
5
|
"keywords": [
|
6
6
|
"angular",
|