@taiga-ui/cdk 2.25.0 → 2.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/bundles/taiga-ui-cdk-directives-item.umd.js +259 -0
  2. package/bundles/taiga-ui-cdk-directives-item.umd.js.map +1 -0
  3. package/bundles/taiga-ui-cdk-directives-item.umd.min.js +16 -0
  4. package/bundles/taiga-ui-cdk-directives-item.umd.min.js.map +1 -0
  5. package/bundles/taiga-ui-cdk-directives-pan.umd.js +5 -5
  6. package/bundles/taiga-ui-cdk-directives-pan.umd.js.map +1 -1
  7. package/bundles/taiga-ui-cdk-directives-pan.umd.min.js +2 -2
  8. package/bundles/taiga-ui-cdk-directives-pan.umd.min.js.map +1 -1
  9. package/bundles/taiga-ui-cdk-directives-swipe.umd.js +5 -5
  10. package/bundles/taiga-ui-cdk-directives-swipe.umd.js.map +1 -1
  11. package/bundles/taiga-ui-cdk-directives-swipe.umd.min.js +2 -2
  12. package/bundles/taiga-ui-cdk-directives-swipe.umd.min.js.map +1 -1
  13. package/bundles/taiga-ui-cdk-directives-zoom.umd.js +5 -5
  14. package/bundles/taiga-ui-cdk-directives-zoom.umd.js.map +1 -1
  15. package/bundles/taiga-ui-cdk-directives-zoom.umd.min.js +2 -2
  16. package/bundles/taiga-ui-cdk-directives-zoom.umd.min.js.map +1 -1
  17. package/bundles/taiga-ui-cdk-directives.umd.js +12 -4
  18. package/bundles/taiga-ui-cdk-directives.umd.js.map +1 -1
  19. package/bundles/taiga-ui-cdk-directives.umd.min.js +1 -1
  20. package/directives/index.d.ts +1 -0
  21. package/directives/item/index.d.ts +2 -0
  22. package/directives/item/item.directive.d.ts +6 -0
  23. package/directives/item/item.module.d.ts +2 -0
  24. package/directives/item/package.json +13 -0
  25. package/directives/item/taiga-ui-cdk-directives-item.d.ts +4 -0
  26. package/directives/item/taiga-ui-cdk-directives-item.metadata.json +1 -0
  27. package/directives/pan/pan.directive.d.ts +3 -3
  28. package/directives/pan/taiga-ui-cdk-directives-pan.metadata.json +1 -1
  29. package/directives/swipe/swipe.directive.d.ts +4 -3
  30. package/directives/swipe/taiga-ui-cdk-directives-swipe.metadata.json +1 -1
  31. package/directives/taiga-ui-cdk-directives.metadata.json +1 -1
  32. package/directives/zoom/taiga-ui-cdk-directives-zoom.metadata.json +1 -1
  33. package/directives/zoom/zoom.directive.d.ts +4 -3
  34. package/esm2015/directives/index.js +2 -1
  35. package/esm2015/directives/item/index.js +3 -0
  36. package/esm2015/directives/item/item.directive.js +15 -0
  37. package/esm2015/directives/item/item.module.js +13 -0
  38. package/esm2015/directives/item/taiga-ui-cdk-directives-item.js +5 -0
  39. package/esm2015/directives/pan/pan.directive.js +3 -2
  40. package/esm2015/directives/swipe/swipe.directive.js +3 -2
  41. package/esm2015/directives/zoom/zoom.directive.js +3 -2
  42. package/esm2015/interfaces/focusable-element-accessor.js +1 -1
  43. package/esm5/directives/index.js +2 -1
  44. package/esm5/directives/item/index.js +3 -0
  45. package/esm5/directives/item/item.directive.js +18 -0
  46. package/esm5/directives/item/item.module.js +16 -0
  47. package/esm5/directives/item/taiga-ui-cdk-directives-item.js +5 -0
  48. package/esm5/directives/pan/pan.directive.js +3 -2
  49. package/esm5/directives/swipe/swipe.directive.js +3 -2
  50. package/esm5/directives/zoom/zoom.directive.js +3 -2
  51. package/esm5/interfaces/focusable-element-accessor.js +1 -1
  52. package/fesm2015/taiga-ui-cdk-directives-item.js +30 -0
  53. package/fesm2015/taiga-ui-cdk-directives-item.js.map +1 -0
  54. package/fesm2015/taiga-ui-cdk-directives-pan.js +2 -1
  55. package/fesm2015/taiga-ui-cdk-directives-pan.js.map +1 -1
  56. package/fesm2015/taiga-ui-cdk-directives-swipe.js +2 -1
  57. package/fesm2015/taiga-ui-cdk-directives-swipe.js.map +1 -1
  58. package/fesm2015/taiga-ui-cdk-directives-zoom.js +2 -1
  59. package/fesm2015/taiga-ui-cdk-directives-zoom.js.map +1 -1
  60. package/fesm2015/taiga-ui-cdk-directives.js +1 -0
  61. package/fesm2015/taiga-ui-cdk-directives.js.map +1 -1
  62. package/fesm5/taiga-ui-cdk-directives-item.js +36 -0
  63. package/fesm5/taiga-ui-cdk-directives-item.js.map +1 -0
  64. package/fesm5/taiga-ui-cdk-directives-pan.js +2 -1
  65. package/fesm5/taiga-ui-cdk-directives-pan.js.map +1 -1
  66. package/fesm5/taiga-ui-cdk-directives-swipe.js +2 -1
  67. package/fesm5/taiga-ui-cdk-directives-swipe.js.map +1 -1
  68. package/fesm5/taiga-ui-cdk-directives-zoom.js +2 -1
  69. package/fesm5/taiga-ui-cdk-directives-zoom.js.map +1 -1
  70. package/fesm5/taiga-ui-cdk-directives.js +1 -0
  71. package/fesm5/taiga-ui-cdk-directives.js.map +1 -1
  72. package/interfaces/focusable-element-accessor.d.ts +2 -0
  73. package/package.json +1 -1
@@ -1,6 +1,7 @@
1
1
  import { __decorate, __param } from 'tslib';
2
2
  import { Inject, Directive, NgModule } from '@angular/core';
3
3
  import { TuiSwipeService } from '@taiga-ui/cdk/services';
4
+ import { Observable } from 'rxjs';
4
5
 
5
6
  // @dynamic
6
7
  let TuiSwipeDirective = class TuiSwipeDirective {
@@ -9,7 +10,7 @@ let TuiSwipeDirective = class TuiSwipeDirective {
9
10
  }
10
11
  };
11
12
  TuiSwipeDirective.ctorParameters = () => [
12
- { type: TuiSwipeService, decorators: [{ type: Inject, args: [TuiSwipeService,] }] }
13
+ { type: Observable, decorators: [{ type: Inject, args: [TuiSwipeService,] }] }
13
14
  ];
14
15
  TuiSwipeDirective = __decorate([
15
16
  Directive({
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives-swipe.js","sources":["ng://@taiga-ui/cdk/directives/swipe/swipe.directive.ts","ng://@taiga-ui/cdk/directives/swipe/swipe.module.ts","ng://@taiga-ui/cdk/directives/swipe/taiga-ui-cdk-directives-swipe.ts"],"sourcesContent":["import {Directive, Inject} from '@angular/core';\nimport {TuiSwipeService} from '@taiga-ui/cdk/services';\n\n// @dynamic\n@Directive({\n selector: '[tuiSwipe]',\n outputs: ['tuiSwipe'],\n providers: [TuiSwipeService],\n})\nexport class TuiSwipeDirective {\n constructor(@Inject(TuiSwipeService) readonly tuiSwipe: TuiSwipeService) {}\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiSwipeDirective} from './swipe.directive';\n\n/**\n * @experimental\n */\n@NgModule({\n declarations: [TuiSwipeDirective],\n exports: [TuiSwipeDirective],\n})\nexport class TuiSwipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA;IAMa,iBAAiB,GAA9B,MAAa,iBAAiB;IAC1B,YAA8C,QAAyB;QAAzB,aAAQ,GAAR,QAAQ,CAAiB;KAAI;EAC9E;;YAD2D,eAAe,uBAA1D,MAAM,SAAC,eAAe;;AAD1B,iBAAiB;IAL7B,SAAS,CAAC;QACP,QAAQ,EAAE,YAAY;QACtB,OAAO,EAAE,CAAC,UAAU,CAAC;QACrB,SAAS,EAAE,CAAC,eAAe,CAAC;KAC/B,CAAC;IAEe,WAAA,MAAM,CAAC,eAAe,CAAC,CAAA;GAD3B,iBAAiB,CAE7B;;ACPD;;;IAOa,cAAc,GAA3B,MAAa,cAAc;EAAG;AAAjB,cAAc;IAJ1B,QAAQ,CAAC;QACN,YAAY,EAAE,CAAC,iBAAiB,CAAC;QACjC,OAAO,EAAE,CAAC,iBAAiB,CAAC;KAC/B,CAAC;GACW,cAAc,CAAG;;ACX9B;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-directives-swipe.js","sources":["ng://@taiga-ui/cdk/directives/swipe/swipe.directive.ts","ng://@taiga-ui/cdk/directives/swipe/swipe.module.ts","ng://@taiga-ui/cdk/directives/swipe/taiga-ui-cdk-directives-swipe.ts"],"sourcesContent":["import {Directive, Inject} from '@angular/core';\nimport {TuiSwipe} from '@taiga-ui/cdk/interfaces';\nimport {TuiSwipeService} from '@taiga-ui/cdk/services';\nimport {Observable} from 'rxjs';\n\n// @dynamic\n@Directive({\n selector: '[tuiSwipe]',\n outputs: ['tuiSwipe'],\n providers: [TuiSwipeService],\n})\nexport class TuiSwipeDirective {\n constructor(@Inject(TuiSwipeService) readonly tuiSwipe: Observable<TuiSwipe>) {}\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiSwipeDirective} from './swipe.directive';\n\n/**\n * @experimental\n */\n@NgModule({\n declarations: [TuiSwipeDirective],\n exports: [TuiSwipeDirective],\n})\nexport class TuiSwipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAKA;IAMa,iBAAiB,GAA9B,MAAa,iBAAiB;IAC1B,YAA8C,QAA8B;QAA9B,aAAQ,GAAR,QAAQ,CAAsB;KAAI;EACnF;;YAD2D,UAAU,uBAArD,MAAM,SAAC,eAAe;;AAD1B,iBAAiB;IAL7B,SAAS,CAAC;QACP,QAAQ,EAAE,YAAY;QACtB,OAAO,EAAE,CAAC,UAAU,CAAC;QACrB,SAAS,EAAE,CAAC,eAAe,CAAC;KAC/B,CAAC;IAEe,WAAA,MAAM,CAAC,eAAe,CAAC,CAAA;GAD3B,iBAAiB,CAE7B;;ACTD;;;IAOa,cAAc,GAA3B,MAAa,cAAc;EAAG;AAAjB,cAAc;IAJ1B,QAAQ,CAAC;QACN,YAAY,EAAE,CAAC,iBAAiB,CAAC;QACjC,OAAO,EAAE,CAAC,iBAAiB,CAAC;KAC/B,CAAC;GACW,cAAc,CAAG;;ACX9B;;;;;;"}
@@ -1,6 +1,7 @@
1
1
  import { __decorate, __param } from 'tslib';
2
2
  import { Inject, Directive, NgModule } from '@angular/core';
3
3
  import { TuiZoomService } from '@taiga-ui/cdk/services';
4
+ import { Observable } from 'rxjs';
4
5
 
5
6
  // @dynamic
6
7
  let TuiZoomDirective = class TuiZoomDirective {
@@ -9,7 +10,7 @@ let TuiZoomDirective = class TuiZoomDirective {
9
10
  }
10
11
  };
11
12
  TuiZoomDirective.ctorParameters = () => [
12
- { type: TuiZoomService, decorators: [{ type: Inject, args: [TuiZoomService,] }] }
13
+ { type: Observable, decorators: [{ type: Inject, args: [TuiZoomService,] }] }
13
14
  ];
14
15
  TuiZoomDirective = __decorate([
15
16
  Directive({
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives-zoom.js","sources":["ng://@taiga-ui/cdk/directives/zoom/zoom.directive.ts","ng://@taiga-ui/cdk/directives/zoom/zoom.module.ts","ng://@taiga-ui/cdk/directives/zoom/taiga-ui-cdk-directives-zoom.ts"],"sourcesContent":["import {Directive, Inject} from '@angular/core';\nimport {TuiZoomService} from '@taiga-ui/cdk/services';\n\n// @dynamic\n@Directive({\n selector: '[tuiZoom]',\n outputs: ['tuiZoom'],\n providers: [TuiZoomService],\n host: {\n '[style.touch-actions]': '\"none\"',\n },\n})\nexport class TuiZoomDirective {\n constructor(@Inject(TuiZoomService) readonly tuiZoom: TuiZoomService) {}\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiZoomDirective} from './zoom.directive';\n\n/**\n * @experimental\n */\n@NgModule({\n declarations: [TuiZoomDirective],\n exports: [TuiZoomDirective],\n})\nexport class TuiZoomModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA;IASa,gBAAgB,GAA7B,MAAa,gBAAgB;IACzB,YAA6C,OAAuB;QAAvB,YAAO,GAAP,OAAO,CAAgB;KAAI;EAC3E;;YADyD,cAAc,uBAAvD,MAAM,SAAC,cAAc;;AADzB,gBAAgB;IAR5B,SAAS,CAAC;QACP,QAAQ,EAAE,WAAW;QACrB,OAAO,EAAE,CAAC,SAAS,CAAC;QACpB,SAAS,EAAE,CAAC,cAAc,CAAC;QAC3B,IAAI,EAAE;YACF,uBAAuB,EAAE,QAAQ;SACpC;KACJ,CAAC;IAEe,WAAA,MAAM,CAAC,cAAc,CAAC,CAAA;GAD1B,gBAAgB,CAE5B;;ACVD;;;IAOa,aAAa,GAA1B,MAAa,aAAa;EAAG;AAAhB,aAAa;IAJzB,QAAQ,CAAC;QACN,YAAY,EAAE,CAAC,gBAAgB,CAAC;QAChC,OAAO,EAAE,CAAC,gBAAgB,CAAC;KAC9B,CAAC;GACW,aAAa,CAAG;;ACX7B;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-directives-zoom.js","sources":["ng://@taiga-ui/cdk/directives/zoom/zoom.directive.ts","ng://@taiga-ui/cdk/directives/zoom/zoom.module.ts","ng://@taiga-ui/cdk/directives/zoom/taiga-ui-cdk-directives-zoom.ts"],"sourcesContent":["import {Directive, Inject} from '@angular/core';\nimport {TuiZoom} from '@taiga-ui/cdk/interfaces';\nimport {TuiZoomService} from '@taiga-ui/cdk/services';\nimport {Observable} from 'rxjs';\n\n// @dynamic\n@Directive({\n selector: '[tuiZoom]',\n outputs: ['tuiZoom'],\n providers: [TuiZoomService],\n host: {\n '[style.touch-actions]': '\"none\"',\n },\n})\nexport class TuiZoomDirective {\n constructor(@Inject(TuiZoomService) readonly tuiZoom: Observable<TuiZoom>) {}\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiZoomDirective} from './zoom.directive';\n\n/**\n * @experimental\n */\n@NgModule({\n declarations: [TuiZoomDirective],\n exports: [TuiZoomDirective],\n})\nexport class TuiZoomModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAKA;IASa,gBAAgB,GAA7B,MAAa,gBAAgB;IACzB,YAA6C,OAA4B;QAA5B,YAAO,GAAP,OAAO,CAAqB;KAAI;EAChF;;YADyD,UAAU,uBAAnD,MAAM,SAAC,cAAc;;AADzB,gBAAgB;IAR5B,SAAS,CAAC;QACP,QAAQ,EAAE,WAAW;QACrB,OAAO,EAAE,CAAC,SAAS,CAAC;QACpB,SAAS,EAAE,CAAC,cAAc,CAAC;QAC3B,IAAI,EAAE;YACF,uBAAuB,EAAE,QAAQ;SACpC;KACJ,CAAC;IAEe,WAAA,MAAM,CAAC,cAAc,CAAC,CAAA;GAD1B,gBAAgB,CAE5B;;ACZD;;;IAOa,aAAa,GAA1B,MAAa,aAAa;EAAG;AAAhB,aAAa;IAJzB,QAAQ,CAAC;QACN,YAAY,EAAE,CAAC,gBAAgB,CAAC;QAChC,OAAO,EAAE,CAAC,gBAAgB,CAAC;KAC9B,CAAC;GACW,aAAa,CAAG;;ACX7B;;;;;;"}
@@ -13,6 +13,7 @@ export * from '@taiga-ui/cdk/directives/for';
13
13
  export * from '@taiga-ui/cdk/directives/high-dpi';
14
14
  export * from '@taiga-ui/cdk/directives/hovered';
15
15
  export * from '@taiga-ui/cdk/directives/input-mode';
16
+ export * from '@taiga-ui/cdk/directives/item';
16
17
  export * from '@taiga-ui/cdk/directives/let';
17
18
  export * from '@taiga-ui/cdk/directives/media';
18
19
  export * from '@taiga-ui/cdk/directives/obscured';
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives.js","sources":["ng://@taiga-ui/cdk/directives/taiga-ui-cdk-directives.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-directives.js","sources":["ng://@taiga-ui/cdk/directives/taiga-ui-cdk-directives.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;"}
@@ -0,0 +1,36 @@
1
+ import { __decorate } from 'tslib';
2
+ import { Directive, NgModule } from '@angular/core';
3
+
4
+ /**
5
+ * Blank directive to query for {@link TemplateRef}
6
+ * TODO: Migrate everything to this directive
7
+ */
8
+ var TuiItemDirective = /** @class */ (function () {
9
+ function TuiItemDirective() {
10
+ }
11
+ TuiItemDirective = __decorate([
12
+ Directive({
13
+ selector: 'ng-template[tuiItem]',
14
+ })
15
+ ], TuiItemDirective);
16
+ return TuiItemDirective;
17
+ }());
18
+
19
+ var TuiItemModule = /** @class */ (function () {
20
+ function TuiItemModule() {
21
+ }
22
+ TuiItemModule = __decorate([
23
+ NgModule({
24
+ declarations: [TuiItemDirective],
25
+ exports: [TuiItemDirective],
26
+ })
27
+ ], TuiItemModule);
28
+ return TuiItemModule;
29
+ }());
30
+
31
+ /**
32
+ * Generated bundle index. Do not edit.
33
+ */
34
+
35
+ export { TuiItemDirective, TuiItemModule };
36
+ //# sourceMappingURL=taiga-ui-cdk-directives-item.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-cdk-directives-item.js","sources":["ng://@taiga-ui/cdk/directives/item/item.directive.ts","ng://@taiga-ui/cdk/directives/item/item.module.ts","ng://@taiga-ui/cdk/directives/item/taiga-ui-cdk-directives-item.ts"],"sourcesContent":["import {Directive} from '@angular/core';\n\n/**\n * Blank directive to query for {@link TemplateRef}\n * TODO: Migrate everything to this directive\n */\n@Directive({\n selector: 'ng-template[tuiItem]',\n})\nexport class TuiItemDirective {}\n","import {NgModule} from '@angular/core';\n\nimport {TuiItemDirective} from './item.directive';\n\n@NgModule({\n declarations: [TuiItemDirective],\n exports: [TuiItemDirective],\n})\nexport class TuiItemModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAEA;;;;;IAOA;KAAgC;IAAnB,gBAAgB;QAH5B,SAAS,CAAC;YACP,QAAQ,EAAE,sBAAsB;SACnC,CAAC;OACW,gBAAgB,CAAG;IAAD,uBAAC;CAAhC;;;ICDA;KAA6B;IAAhB,aAAa;QAJzB,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,gBAAgB,CAAC;YAChC,OAAO,EAAE,CAAC,gBAAgB,CAAC;SAC9B,CAAC;OACW,aAAa,CAAG;IAAD,oBAAC;CAA7B;;ACRA;;;;;;"}
@@ -1,6 +1,7 @@
1
1
  import { __decorate, __param } from 'tslib';
2
2
  import { Inject, Directive, NgModule } from '@angular/core';
3
3
  import { TuiPanService } from '@taiga-ui/cdk/services';
4
+ import { Observable } from 'rxjs';
4
5
 
5
6
  // @dynamic
6
7
  var TuiPanDirective = /** @class */ (function () {
@@ -8,7 +9,7 @@ var TuiPanDirective = /** @class */ (function () {
8
9
  this.tuiPan = tuiPan;
9
10
  }
10
11
  TuiPanDirective.ctorParameters = function () { return [
11
- { type: TuiPanService, decorators: [{ type: Inject, args: [TuiPanService,] }] }
12
+ { type: Observable, decorators: [{ type: Inject, args: [TuiPanService,] }] }
12
13
  ]; };
13
14
  TuiPanDirective = __decorate([
14
15
  Directive({
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives-pan.js","sources":["ng://@taiga-ui/cdk/directives/pan/pan.directive.ts","ng://@taiga-ui/cdk/directives/pan/pan.module.ts","ng://@taiga-ui/cdk/directives/pan/taiga-ui-cdk-directives-pan.ts"],"sourcesContent":["import {Directive, Inject} from '@angular/core';\nimport {TuiPanService} from '@taiga-ui/cdk/services';\n\n// @dynamic\n@Directive({\n selector: '[tuiPan]',\n outputs: ['tuiPan'],\n providers: [TuiPanService],\n})\nexport class TuiPanDirective {\n constructor(@Inject(TuiPanService) readonly tuiPan: TuiPanService) {}\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiPanDirective} from './pan.directive';\n\n/**\n * @experimental\n */\n@NgModule({\n declarations: [TuiPanDirective],\n exports: [TuiPanDirective],\n})\nexport class TuiPanModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA;;IAOI,yBAA4C,MAAqB;QAArB,WAAM,GAAN,MAAM,CAAe;KAAI;;gBAAjB,aAAa,uBAApD,MAAM,SAAC,aAAa;;IADxB,eAAe;QAL3B,SAAS,CAAC;YACP,QAAQ,EAAE,UAAU;YACpB,OAAO,EAAE,CAAC,QAAQ,CAAC;YACnB,SAAS,EAAE,CAAC,aAAa,CAAC;SAC7B,CAAC;QAEe,WAAA,MAAM,CAAC,aAAa,CAAC,CAAA;OADzB,eAAe,CAE3B;IAAD,sBAAC;CAFD;;ACLA;;;;IAOA;KAA4B;IAAf,YAAY;QAJxB,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,eAAe,CAAC;YAC/B,OAAO,EAAE,CAAC,eAAe,CAAC;SAC7B,CAAC;OACW,YAAY,CAAG;IAAD,mBAAC;CAA5B;;ACXA;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-directives-pan.js","sources":["ng://@taiga-ui/cdk/directives/pan/pan.directive.ts","ng://@taiga-ui/cdk/directives/pan/pan.module.ts","ng://@taiga-ui/cdk/directives/pan/taiga-ui-cdk-directives-pan.ts"],"sourcesContent":["import {Directive, Inject} from '@angular/core';\nimport {TuiPanService} from '@taiga-ui/cdk/services';\nimport {Observable} from 'rxjs';\n\n// @dynamic\n@Directive({\n selector: '[tuiPan]',\n outputs: ['tuiPan'],\n providers: [TuiPanService],\n})\nexport class TuiPanDirective {\n constructor(\n @Inject(TuiPanService) readonly tuiPan: Observable<readonly [number, number]>,\n ) {}\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiPanDirective} from './pan.directive';\n\n/**\n * @experimental\n */\n@NgModule({\n declarations: [TuiPanDirective],\n exports: [TuiPanDirective],\n})\nexport class TuiPanModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAIA;;IAOI,yBACoC,MAA6C;QAA7C,WAAM,GAAN,MAAM,CAAuC;KAC7E;;gBADwC,UAAU,uBAAjD,MAAM,SAAC,aAAa;;IAFhB,eAAe;QAL3B,SAAS,CAAC;YACP,QAAQ,EAAE,UAAU;YACpB,OAAO,EAAE,CAAC,QAAQ,CAAC;YACnB,SAAS,EAAE,CAAC,aAAa,CAAC;SAC7B,CAAC;QAGO,WAAA,MAAM,CAAC,aAAa,CAAC,CAAA;OAFjB,eAAe,CAI3B;IAAD,sBAAC;CAJD;;ACNA;;;;IAOA;KAA4B;IAAf,YAAY;QAJxB,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,eAAe,CAAC;YAC/B,OAAO,EAAE,CAAC,eAAe,CAAC;SAC7B,CAAC;OACW,YAAY,CAAG;IAAD,mBAAC;CAA5B;;ACXA;;;;;;"}
@@ -1,6 +1,7 @@
1
1
  import { __decorate, __param } from 'tslib';
2
2
  import { Inject, Directive, NgModule } from '@angular/core';
3
3
  import { TuiSwipeService } from '@taiga-ui/cdk/services';
4
+ import { Observable } from 'rxjs';
4
5
 
5
6
  // @dynamic
6
7
  var TuiSwipeDirective = /** @class */ (function () {
@@ -8,7 +9,7 @@ var TuiSwipeDirective = /** @class */ (function () {
8
9
  this.tuiSwipe = tuiSwipe;
9
10
  }
10
11
  TuiSwipeDirective.ctorParameters = function () { return [
11
- { type: TuiSwipeService, decorators: [{ type: Inject, args: [TuiSwipeService,] }] }
12
+ { type: Observable, decorators: [{ type: Inject, args: [TuiSwipeService,] }] }
12
13
  ]; };
13
14
  TuiSwipeDirective = __decorate([
14
15
  Directive({
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives-swipe.js","sources":["ng://@taiga-ui/cdk/directives/swipe/swipe.directive.ts","ng://@taiga-ui/cdk/directives/swipe/swipe.module.ts","ng://@taiga-ui/cdk/directives/swipe/taiga-ui-cdk-directives-swipe.ts"],"sourcesContent":["import {Directive, Inject} from '@angular/core';\nimport {TuiSwipeService} from '@taiga-ui/cdk/services';\n\n// @dynamic\n@Directive({\n selector: '[tuiSwipe]',\n outputs: ['tuiSwipe'],\n providers: [TuiSwipeService],\n})\nexport class TuiSwipeDirective {\n constructor(@Inject(TuiSwipeService) readonly tuiSwipe: TuiSwipeService) {}\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiSwipeDirective} from './swipe.directive';\n\n/**\n * @experimental\n */\n@NgModule({\n declarations: [TuiSwipeDirective],\n exports: [TuiSwipeDirective],\n})\nexport class TuiSwipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA;;IAOI,2BAA8C,QAAyB;QAAzB,aAAQ,GAAR,QAAQ,CAAiB;KAAI;;gBAAnB,eAAe,uBAA1D,MAAM,SAAC,eAAe;;IAD1B,iBAAiB;QAL7B,SAAS,CAAC;YACP,QAAQ,EAAE,YAAY;YACtB,OAAO,EAAE,CAAC,UAAU,CAAC;YACrB,SAAS,EAAE,CAAC,eAAe,CAAC;SAC/B,CAAC;QAEe,WAAA,MAAM,CAAC,eAAe,CAAC,CAAA;OAD3B,iBAAiB,CAE7B;IAAD,wBAAC;CAFD;;ACLA;;;;IAOA;KAA8B;IAAjB,cAAc;QAJ1B,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,iBAAiB,CAAC;YACjC,OAAO,EAAE,CAAC,iBAAiB,CAAC;SAC/B,CAAC;OACW,cAAc,CAAG;IAAD,qBAAC;CAA9B;;ACXA;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-directives-swipe.js","sources":["ng://@taiga-ui/cdk/directives/swipe/swipe.directive.ts","ng://@taiga-ui/cdk/directives/swipe/swipe.module.ts","ng://@taiga-ui/cdk/directives/swipe/taiga-ui-cdk-directives-swipe.ts"],"sourcesContent":["import {Directive, Inject} from '@angular/core';\nimport {TuiSwipe} from '@taiga-ui/cdk/interfaces';\nimport {TuiSwipeService} from '@taiga-ui/cdk/services';\nimport {Observable} from 'rxjs';\n\n// @dynamic\n@Directive({\n selector: '[tuiSwipe]',\n outputs: ['tuiSwipe'],\n providers: [TuiSwipeService],\n})\nexport class TuiSwipeDirective {\n constructor(@Inject(TuiSwipeService) readonly tuiSwipe: Observable<TuiSwipe>) {}\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiSwipeDirective} from './swipe.directive';\n\n/**\n * @experimental\n */\n@NgModule({\n declarations: [TuiSwipeDirective],\n exports: [TuiSwipeDirective],\n})\nexport class TuiSwipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAKA;;IAOI,2BAA8C,QAA8B;QAA9B,aAAQ,GAAR,QAAQ,CAAsB;KAAI;;gBAAxB,UAAU,uBAArD,MAAM,SAAC,eAAe;;IAD1B,iBAAiB;QAL7B,SAAS,CAAC;YACP,QAAQ,EAAE,YAAY;YACtB,OAAO,EAAE,CAAC,UAAU,CAAC;YACrB,SAAS,EAAE,CAAC,eAAe,CAAC;SAC/B,CAAC;QAEe,WAAA,MAAM,CAAC,eAAe,CAAC,CAAA;OAD3B,iBAAiB,CAE7B;IAAD,wBAAC;CAFD;;ACPA;;;;IAOA;KAA8B;IAAjB,cAAc;QAJ1B,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,iBAAiB,CAAC;YACjC,OAAO,EAAE,CAAC,iBAAiB,CAAC;SAC/B,CAAC;OACW,cAAc,CAAG;IAAD,qBAAC;CAA9B;;ACXA;;;;;;"}
@@ -1,6 +1,7 @@
1
1
  import { __decorate, __param } from 'tslib';
2
2
  import { Inject, Directive, NgModule } from '@angular/core';
3
3
  import { TuiZoomService } from '@taiga-ui/cdk/services';
4
+ import { Observable } from 'rxjs';
4
5
 
5
6
  // @dynamic
6
7
  var TuiZoomDirective = /** @class */ (function () {
@@ -8,7 +9,7 @@ var TuiZoomDirective = /** @class */ (function () {
8
9
  this.tuiZoom = tuiZoom;
9
10
  }
10
11
  TuiZoomDirective.ctorParameters = function () { return [
11
- { type: TuiZoomService, decorators: [{ type: Inject, args: [TuiZoomService,] }] }
12
+ { type: Observable, decorators: [{ type: Inject, args: [TuiZoomService,] }] }
12
13
  ]; };
13
14
  TuiZoomDirective = __decorate([
14
15
  Directive({
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives-zoom.js","sources":["ng://@taiga-ui/cdk/directives/zoom/zoom.directive.ts","ng://@taiga-ui/cdk/directives/zoom/zoom.module.ts","ng://@taiga-ui/cdk/directives/zoom/taiga-ui-cdk-directives-zoom.ts"],"sourcesContent":["import {Directive, Inject} from '@angular/core';\nimport {TuiZoomService} from '@taiga-ui/cdk/services';\n\n// @dynamic\n@Directive({\n selector: '[tuiZoom]',\n outputs: ['tuiZoom'],\n providers: [TuiZoomService],\n host: {\n '[style.touch-actions]': '\"none\"',\n },\n})\nexport class TuiZoomDirective {\n constructor(@Inject(TuiZoomService) readonly tuiZoom: TuiZoomService) {}\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiZoomDirective} from './zoom.directive';\n\n/**\n * @experimental\n */\n@NgModule({\n declarations: [TuiZoomDirective],\n exports: [TuiZoomDirective],\n})\nexport class TuiZoomModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA;;IAUI,0BAA6C,OAAuB;QAAvB,YAAO,GAAP,OAAO,CAAgB;KAAI;;gBAAlB,cAAc,uBAAvD,MAAM,SAAC,cAAc;;IADzB,gBAAgB;QAR5B,SAAS,CAAC;YACP,QAAQ,EAAE,WAAW;YACrB,OAAO,EAAE,CAAC,SAAS,CAAC;YACpB,SAAS,EAAE,CAAC,cAAc,CAAC;YAC3B,IAAI,EAAE;gBACF,uBAAuB,EAAE,QAAQ;aACpC;SACJ,CAAC;QAEe,WAAA,MAAM,CAAC,cAAc,CAAC,CAAA;OAD1B,gBAAgB,CAE5B;IAAD,uBAAC;CAFD;;ACRA;;;;IAOA;KAA6B;IAAhB,aAAa;QAJzB,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,gBAAgB,CAAC;YAChC,OAAO,EAAE,CAAC,gBAAgB,CAAC;SAC9B,CAAC;OACW,aAAa,CAAG;IAAD,oBAAC;CAA7B;;ACXA;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-directives-zoom.js","sources":["ng://@taiga-ui/cdk/directives/zoom/zoom.directive.ts","ng://@taiga-ui/cdk/directives/zoom/zoom.module.ts","ng://@taiga-ui/cdk/directives/zoom/taiga-ui-cdk-directives-zoom.ts"],"sourcesContent":["import {Directive, Inject} from '@angular/core';\nimport {TuiZoom} from '@taiga-ui/cdk/interfaces';\nimport {TuiZoomService} from '@taiga-ui/cdk/services';\nimport {Observable} from 'rxjs';\n\n// @dynamic\n@Directive({\n selector: '[tuiZoom]',\n outputs: ['tuiZoom'],\n providers: [TuiZoomService],\n host: {\n '[style.touch-actions]': '\"none\"',\n },\n})\nexport class TuiZoomDirective {\n constructor(@Inject(TuiZoomService) readonly tuiZoom: Observable<TuiZoom>) {}\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiZoomDirective} from './zoom.directive';\n\n/**\n * @experimental\n */\n@NgModule({\n declarations: [TuiZoomDirective],\n exports: [TuiZoomDirective],\n})\nexport class TuiZoomModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAKA;;IAUI,0BAA6C,OAA4B;QAA5B,YAAO,GAAP,OAAO,CAAqB;KAAI;;gBAAvB,UAAU,uBAAnD,MAAM,SAAC,cAAc;;IADzB,gBAAgB;QAR5B,SAAS,CAAC;YACP,QAAQ,EAAE,WAAW;YACrB,OAAO,EAAE,CAAC,SAAS,CAAC;YACpB,SAAS,EAAE,CAAC,cAAc,CAAC;YAC3B,IAAI,EAAE;gBACF,uBAAuB,EAAE,QAAQ;aACpC;SACJ,CAAC;QAEe,WAAA,MAAM,CAAC,cAAc,CAAC,CAAA;OAD1B,gBAAgB,CAE5B;IAAD,uBAAC;CAFD;;ACVA;;;;IAOA;KAA6B;IAAhB,aAAa;QAJzB,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,gBAAgB,CAAC;YAChC,OAAO,EAAE,CAAC,gBAAgB,CAAC;SAC9B,CAAC;OACW,aAAa,CAAG;IAAD,oBAAC;CAA7B;;ACXA;;;;;;"}
@@ -13,6 +13,7 @@ export * from '@taiga-ui/cdk/directives/for';
13
13
  export * from '@taiga-ui/cdk/directives/high-dpi';
14
14
  export * from '@taiga-ui/cdk/directives/hovered';
15
15
  export * from '@taiga-ui/cdk/directives/input-mode';
16
+ export * from '@taiga-ui/cdk/directives/item';
16
17
  export * from '@taiga-ui/cdk/directives/let';
17
18
  export * from '@taiga-ui/cdk/directives/media';
18
19
  export * from '@taiga-ui/cdk/directives/obscured';
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives.js","sources":["ng://@taiga-ui/cdk/directives/taiga-ui-cdk-directives.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-directives.js","sources":["ng://@taiga-ui/cdk/directives/taiga-ui-cdk-directives.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;"}
@@ -1,3 +1,4 @@
1
+ import { Observable } from 'rxjs';
1
2
  export interface TuiNativeFocusableElement extends Element, HTMLOrSVGElement {
2
3
  }
3
4
  /**
@@ -6,4 +7,5 @@ export interface TuiNativeFocusableElement extends Element, HTMLOrSVGElement {
6
7
  export interface TuiFocusableElementAccessor {
7
8
  nativeFocusableElement: TuiNativeFocusableElement | null;
8
9
  focused: boolean;
10
+ readonly focusedChange: Observable<boolean>;
9
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/cdk",
3
- "version": "2.25.0",
3
+ "version": "2.26.0",
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",