@taiga-ui/addon-mobile 3.14.0 → 3.15.0-dev.main-978eec3

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 (79) hide show
  1. package/bundles/taiga-ui-addon-mobile-components-mobile-calendar-dialog.umd.js +3 -3
  2. package/bundles/taiga-ui-addon-mobile-components-mobile-calendar-dialog.umd.js.map +1 -1
  3. package/bundles/taiga-ui-addon-mobile-components-mobile-calendar.umd.js +20 -20
  4. package/bundles/taiga-ui-addon-mobile-components-mobile-calendar.umd.js.map +1 -1
  5. package/bundles/taiga-ui-addon-mobile-components-mobile-dialog.umd.js +4 -4
  6. package/bundles/taiga-ui-addon-mobile-components-mobile-dialog.umd.js.map +1 -1
  7. package/bundles/taiga-ui-addon-mobile-components-pull-to-refresh.umd.js +9 -9
  8. package/bundles/taiga-ui-addon-mobile-components-pull-to-refresh.umd.js.map +1 -1
  9. package/bundles/taiga-ui-addon-mobile-components-sheet.umd.js +47 -47
  10. package/bundles/taiga-ui-addon-mobile-components-sheet.umd.js.map +1 -1
  11. package/bundles/taiga-ui-addon-mobile-components-theme-android.umd.js +4 -4
  12. package/bundles/taiga-ui-addon-mobile-components-theme-android.umd.js.map +1 -1
  13. package/bundles/taiga-ui-addon-mobile-components-theme-ios.umd.js +4 -4
  14. package/bundles/taiga-ui-addon-mobile-components-theme-ios.umd.js.map +1 -1
  15. package/bundles/taiga-ui-addon-mobile-directives-elastic-sticky.umd.js +2 -2
  16. package/bundles/taiga-ui-addon-mobile-directives-elastic-sticky.umd.js.map +1 -1
  17. package/bundles/taiga-ui-addon-mobile-directives-mobile-tabs.umd.js +7 -7
  18. package/bundles/taiga-ui-addon-mobile-directives-mobile-tabs.umd.js.map +1 -1
  19. package/bundles/taiga-ui-addon-mobile-directives-ripple.umd.js +9 -9
  20. package/bundles/taiga-ui-addon-mobile-directives-ripple.umd.js.map +1 -1
  21. package/bundles/taiga-ui-addon-mobile-directives-sidebar.umd.js +12 -12
  22. package/bundles/taiga-ui-addon-mobile-directives-sidebar.umd.js.map +1 -1
  23. package/bundles/taiga-ui-addon-mobile-directives-touchable.umd.js +15 -15
  24. package/bundles/taiga-ui-addon-mobile-directives-touchable.umd.js.map +1 -1
  25. package/bundles/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.umd.js +4 -4
  26. package/bundles/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.umd.js.map +1 -1
  27. package/esm2015/components/mobile-calendar/mobile-calendar.component.js +21 -21
  28. package/esm2015/components/mobile-calendar-dialog/mobile-calendar-dialog.component.js +4 -4
  29. package/esm2015/components/mobile-dialog/mobile-dialog.component.js +5 -5
  30. package/esm2015/components/pull-to-refresh/loader-android/loader-android.component.js +5 -5
  31. package/esm2015/components/pull-to-refresh/loader-ios/loader-ios.component.js +3 -3
  32. package/esm2015/components/pull-to-refresh/pull-to-refresh.component.js +4 -4
  33. package/esm2015/components/sheet/components/sheet/sheet.component.js +15 -15
  34. package/esm2015/components/sheet/components/sheet-bar/sheet-bar.component.js +4 -4
  35. package/esm2015/components/sheet/components/sheet-heading/sheet-heading.component.js +6 -6
  36. package/esm2015/components/sheet/components/sheets-host/sheets-host.component.js +4 -4
  37. package/esm2015/components/sheet/directives/sheet-close/sheet-close.directive.js +2 -2
  38. package/esm2015/components/sheet/directives/sheet-stop/sheet-stop.directive.js +5 -5
  39. package/esm2015/components/sheet/directives/sheet-top/sheet-top.directive.js +9 -9
  40. package/esm2015/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.js +8 -8
  41. package/esm2015/components/sheet/sheet.directive.js +3 -3
  42. package/esm2015/components/theme-android/theme-android.component.js +5 -5
  43. package/esm2015/components/theme-ios/theme-ios.component.js +5 -5
  44. package/esm2015/directives/elastic-sticky/elastic-sticky.directive.js +3 -3
  45. package/esm2015/directives/mobile-tabs/mobile-tabs.component.js +4 -4
  46. package/esm2015/directives/mobile-tabs/mobile-tabs.directive.js +5 -5
  47. package/esm2015/directives/ripple/ripple-styles.component.js +4 -4
  48. package/esm2015/directives/ripple/ripple.directive.js +7 -7
  49. package/esm2015/directives/sidebar/sidebar.component.js +9 -9
  50. package/esm2015/directives/sidebar/sidebar.directive.js +5 -5
  51. package/esm2015/directives/touchable/touchable.directive.js +15 -15
  52. package/esm2015/internal/primitive-calendar-mobile/primitive-calendar-mobile.component.js +5 -5
  53. package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar-dialog.js +3 -3
  54. package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar-dialog.js.map +1 -1
  55. package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar.js +20 -20
  56. package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar.js.map +1 -1
  57. package/fesm2015/taiga-ui-addon-mobile-components-mobile-dialog.js +4 -4
  58. package/fesm2015/taiga-ui-addon-mobile-components-mobile-dialog.js.map +1 -1
  59. package/fesm2015/taiga-ui-addon-mobile-components-pull-to-refresh.js +9 -9
  60. package/fesm2015/taiga-ui-addon-mobile-components-pull-to-refresh.js.map +1 -1
  61. package/fesm2015/taiga-ui-addon-mobile-components-sheet.js +47 -47
  62. package/fesm2015/taiga-ui-addon-mobile-components-sheet.js.map +1 -1
  63. package/fesm2015/taiga-ui-addon-mobile-components-theme-android.js +4 -4
  64. package/fesm2015/taiga-ui-addon-mobile-components-theme-android.js.map +1 -1
  65. package/fesm2015/taiga-ui-addon-mobile-components-theme-ios.js +4 -4
  66. package/fesm2015/taiga-ui-addon-mobile-components-theme-ios.js.map +1 -1
  67. package/fesm2015/taiga-ui-addon-mobile-directives-elastic-sticky.js +2 -2
  68. package/fesm2015/taiga-ui-addon-mobile-directives-elastic-sticky.js.map +1 -1
  69. package/fesm2015/taiga-ui-addon-mobile-directives-mobile-tabs.js +7 -7
  70. package/fesm2015/taiga-ui-addon-mobile-directives-mobile-tabs.js.map +1 -1
  71. package/fesm2015/taiga-ui-addon-mobile-directives-ripple.js +9 -9
  72. package/fesm2015/taiga-ui-addon-mobile-directives-ripple.js.map +1 -1
  73. package/fesm2015/taiga-ui-addon-mobile-directives-sidebar.js +12 -12
  74. package/fesm2015/taiga-ui-addon-mobile-directives-sidebar.js.map +1 -1
  75. package/fesm2015/taiga-ui-addon-mobile-directives-touchable.js +14 -14
  76. package/fesm2015/taiga-ui-addon-mobile-directives-touchable.js.map +1 -1
  77. package/fesm2015/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js +4 -4
  78. package/fesm2015/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js.map +1 -1
  79. package/package.json +5 -5
@@ -398,8 +398,8 @@
398
398
  var TUI_SHEET_SCROLL = new i0.InjectionToken("[TUI_SHEET_SCROLL]: Current scrollTop of a sheet");
399
399
  var TUI_SHEET_DRAGGED = new i0.InjectionToken("[TUI_SHEET_DRAGGED]: The sheet is being dragged");
400
400
 
401
- var TUI_SHEET_CLOSE = "tui-sheet-close";
402
- var TUI_SHEET_ID = "tui-sheet-id";
401
+ var TUI_SHEET_CLOSE = 'tui-sheet-close';
402
+ var TUI_SHEET_ID = 'tui-sheet-id';
403
403
  var TuiSheetHeadingComponent = /** @class */ (function () {
404
404
  function TuiSheetHeadingComponent(idService, elementRef, closeWord$) {
405
405
  this.idService = idService;
@@ -420,9 +420,9 @@
420
420
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiSheetHeadingComponent, decorators: [{
421
421
  type: i0.Component,
422
422
  args: [{
423
- selector: "[tuiSheetHeading]",
424
- templateUrl: "sheet-heading.template.html",
425
- styleUrls: ["sheet-heading.style.less"],
423
+ selector: '[tuiSheetHeading]',
424
+ templateUrl: 'sheet-heading.template.html',
425
+ styleUrls: ['sheet-heading.style.less'],
426
426
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
427
427
  }]
428
428
  }], ctorParameters: function () {
@@ -489,9 +489,9 @@
489
489
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiSheetBarComponent, decorators: [{
490
490
  type: i0.Component,
491
491
  args: [{
492
- selector: "tui-sheet-bar",
493
- templateUrl: "sheet-bar.template.html",
494
- styleUrls: ["sheet-bar.style.less"],
492
+ selector: 'tui-sheet-bar',
493
+ templateUrl: 'sheet-bar.template.html',
494
+ styleUrls: ['sheet-bar.style.less'],
495
495
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
496
496
  }]
497
497
  }], ctorParameters: function () {
@@ -535,14 +535,14 @@
535
535
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiSheetTopDirective, decorators: [{
536
536
  type: i0.Directive,
537
537
  args: [{
538
- selector: "[tuiSheetTop]",
538
+ selector: '[tuiSheetTop]',
539
539
  host: {
540
- '[$.style.transform]': "transform$",
541
- '($.style.transform)': "transform$",
542
- '[$.class._rounded]': "rounded$",
543
- '($.class._rounded)': "rounded$",
544
- '[$.class._clickthrough]': "clickthrough$",
545
- '($.class._clickthrough)': "clickthrough$",
540
+ '[$.style.transform]': 'transform$',
541
+ '($.style.transform)': 'transform$',
542
+ '[$.class._rounded]': 'rounded$',
543
+ '($.class._rounded)': 'rounded$',
544
+ '[$.class._clickthrough]': 'clickthrough$',
545
+ '($.class._clickthrough)': 'clickthrough$',
546
546
  },
547
547
  }]
548
548
  }], ctorParameters: function () {
@@ -558,7 +558,7 @@
558
558
  }] }];
559
559
  }, propDecorators: { stop: [{
560
560
  type: i0.Input,
561
- args: ["tuiSheetTop"]
561
+ args: ['tuiSheetTop']
562
562
  }] } });
563
563
 
564
564
  var TuiSheetStopDirective = /** @class */ (function () {
@@ -570,11 +570,11 @@
570
570
  return !above && !dragged;
571
571
  }), operators.filter(Boolean), operators.throttleTime(100), operators.takeUntil(destroy$))
572
572
  .subscribe(function () {
573
- nativeElement.style.overflow = "hidden";
574
- nativeElement.classList.remove("_stuck"); // iOS
573
+ nativeElement.style.overflow = 'hidden';
574
+ nativeElement.classList.remove('_stuck'); // iOS
575
575
  nativeElement.scrollTop = elementRef.nativeElement.offsetTop;
576
576
  setTimeout(function () {
577
- nativeElement.style.overflow = "";
577
+ nativeElement.style.overflow = '';
578
578
  }, 100);
579
579
  });
580
580
  }
@@ -585,7 +585,7 @@
585
585
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiSheetStopDirective, decorators: [{
586
586
  type: i0.Directive,
587
587
  args: [{
588
- selector: "[tuiSheetStop]",
588
+ selector: '[tuiSheetStop]',
589
589
  providers: [i3.TuiDestroyService],
590
590
  }]
591
591
  }], ctorParameters: function () {
@@ -618,7 +618,7 @@
618
618
  this.isIos = isIos;
619
619
  this.moreWord$ = moreWord$;
620
620
  this.stopsRefs = i3.EMPTY_QUERY;
621
- this.id = "";
621
+ this.id = '';
622
622
  this.stuck$ = this.scroll$.pipe(operators.map(function (y) { return Math.floor(y) > _this.contentTop; }));
623
623
  }
624
624
  Object.defineProperty(TuiSheetComponent.prototype, "stops", {
@@ -662,7 +662,7 @@
662
662
  if (this.isIos) {
663
663
  fakeSmoothScroll(nativeElement, top - nativeElement.scrollTop - 16);
664
664
  }
665
- nativeElement.scrollTo({ top: top, behavior: "smooth" });
665
+ nativeElement.scrollTo({ top: top, behavior: 'smooth' });
666
666
  };
667
667
  TuiSheetComponent.prototype.close = function () {
668
668
  if (this.context.closeable) {
@@ -704,19 +704,19 @@
704
704
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiSheetComponent, decorators: [{
705
705
  type: i0.Component,
706
706
  args: [{
707
- selector: "tui-sheet",
708
- templateUrl: "sheet.template.html",
709
- styleUrls: ["sheet.style.less"],
707
+ selector: 'tui-sheet',
708
+ templateUrl: 'sheet.template.html',
709
+ styleUrls: ['sheet.style.less'],
710
710
  providers: TUI_SHEET_PROVIDERS,
711
711
  animations: [i1$1.tuiSlideInTop],
712
712
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
713
713
  host: {
714
- role: "dialog",
715
- '[attr.aria-labelledby]': "id",
716
- '[class._ios]': "isIos",
714
+ role: 'dialog',
715
+ '[attr.aria-labelledby]': 'id',
716
+ '[class._ios]': 'isIos',
717
717
  // '[class._stuck]': 'true', // Initially disable snapping for Firefox
718
- '[$.class._stuck]': "stuck$",
719
- '($.class._stuck)': "stuck$",
718
+ '[$.class._stuck]': 'stuck$',
719
+ '($.class._stuck)': 'stuck$',
720
720
  },
721
721
  }]
722
722
  }], ctorParameters: function () {
@@ -738,18 +738,18 @@
738
738
  }] }];
739
739
  }, propDecorators: { sheet: [{
740
740
  type: i0.ViewChild,
741
- args: ["sheet"]
741
+ args: ['sheet']
742
742
  }], content: [{
743
743
  type: i0.ViewChild,
744
- args: ["content"]
744
+ args: ['content']
745
745
  }], stopsRefs: [{
746
746
  type: i0.ViewChildren,
747
- args: ["stops"]
747
+ args: ['stops']
748
748
  }], item: [{
749
749
  type: i0.Input
750
750
  }], context: [], onId: [{
751
751
  type: i0.HostListener,
752
- args: [TUI_SHEET_ID, ["$event.detail"]]
752
+ args: [TUI_SHEET_ID, ['$event.detail']]
753
753
  }], getStops: [] } });
754
754
 
755
755
  var TUI_SHEET_DEFAULT_OPTIONS = {
@@ -860,14 +860,14 @@
860
860
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiSheetWrapperDirective, decorators: [{
861
861
  type: i0.Directive,
862
862
  args: [{
863
- selector: "[tuiSheetWrapper]",
863
+ selector: '[tuiSheetWrapper]',
864
864
  host: {
865
- '[$.class._overlay]': "overlay$",
866
- '($.class._overlay)': "overlay$",
867
- '[$.class._visible]': "visible$",
868
- '($.class._visible)': "visible$",
869
- '[$.style.height.px]': "height$",
870
- '($.style.height.px)': "height$",
865
+ '[$.class._overlay]': 'overlay$',
866
+ '($.class._overlay)': 'overlay$',
867
+ '[$.class._visible]': 'visible$',
868
+ '($.class._visible)': 'visible$',
869
+ '[$.style.height.px]': 'height$',
870
+ '($.style.height.px)': 'height$',
871
871
  },
872
872
  }]
873
873
  }], ctorParameters: function () {
@@ -913,7 +913,7 @@
913
913
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiSheetCloseDirective, decorators: [{
914
914
  type: i0.Directive,
915
915
  args: [{
916
- selector: "tui-sheet[close]",
916
+ selector: 'tui-sheet[close]',
917
917
  }]
918
918
  }], ctorParameters: function () {
919
919
  return [{ type: i0__namespace.NgZone, decorators: [{
@@ -958,9 +958,9 @@
958
958
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiSheetsHostComponent, decorators: [{
959
959
  type: i0.Component,
960
960
  args: [{
961
- selector: "tui-sheets-host",
962
- templateUrl: "sheets-host.template.html",
963
- styleUrls: ["sheets-host.style.less"],
961
+ selector: 'tui-sheets-host',
962
+ templateUrl: 'sheets-host.template.html',
963
+ styleUrls: ['sheets-host.style.less'],
964
964
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
965
965
  animations: [i1$1.tuiSlideInTop, i1$1.tuiFadeIn],
966
966
  }]
@@ -1011,7 +1011,7 @@
1011
1011
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiSheetDirective, decorators: [{
1012
1012
  type: i0.Directive,
1013
1013
  args: [{
1014
- selector: "ng-template[tuiSheet]",
1014
+ selector: 'ng-template[tuiSheet]',
1015
1015
  }]
1016
1016
  }], ctorParameters: function () {
1017
1017
  return [{ type: i0__namespace.ChangeDetectorRef, decorators: [{
@@ -1026,7 +1026,7 @@
1026
1026
  }] }];
1027
1027
  }, propDecorators: { options: [{
1028
1028
  type: i0.Input,
1029
- args: ["tuiSheetOptions"]
1029
+ args: ['tuiSheetOptions']
1030
1030
  }], tuiSheet: [{
1031
1031
  type: i0.Input
1032
1032
  }], tuiSheetChange: [{