@taiga-ui/addon-mobile 4.51.0 → 4.52.0-canary.1ea42f6

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 (121) hide show
  1. package/components/mobile-calendar-dropdown/mobile-calendar-dropdown.component.d.ts +1 -1
  2. package/directives/ripple/ripple.directive.d.ts +1 -1
  3. package/fesm2022/taiga-ui-addon-mobile-components-bottom-sheet.mjs +7 -8
  4. package/fesm2022/taiga-ui-addon-mobile-components-bottom-sheet.mjs.map +1 -1
  5. package/fesm2022/taiga-ui-addon-mobile-components-mobile-calendar-dropdown.mjs +23 -27
  6. package/fesm2022/taiga-ui-addon-mobile-components-mobile-calendar-dropdown.mjs.map +1 -1
  7. package/fesm2022/taiga-ui-addon-mobile-components-mobile-calendar-sheet.mjs +6 -7
  8. package/fesm2022/taiga-ui-addon-mobile-components-mobile-calendar-sheet.mjs.map +1 -1
  9. package/fesm2022/taiga-ui-addon-mobile-components-mobile-calendar.mjs +8 -10
  10. package/fesm2022/taiga-ui-addon-mobile-components-mobile-calendar.mjs.map +1 -1
  11. package/fesm2022/taiga-ui-addon-mobile-components-mobile-dialog.mjs +9 -10
  12. package/fesm2022/taiga-ui-addon-mobile-components-mobile-dialog.mjs.map +1 -1
  13. package/fesm2022/taiga-ui-addon-mobile-components-pull-to-refresh.mjs +20 -20
  14. package/fesm2022/taiga-ui-addon-mobile-components-pull-to-refresh.mjs.map +1 -1
  15. package/fesm2022/taiga-ui-addon-mobile-components-sheet-dialog.mjs +16 -17
  16. package/fesm2022/taiga-ui-addon-mobile-components-sheet-dialog.mjs.map +1 -1
  17. package/fesm2022/taiga-ui-addon-mobile-components-swipe-action.mjs +9 -9
  18. package/fesm2022/taiga-ui-addon-mobile-components-swipe-action.mjs.map +1 -1
  19. package/fesm2022/taiga-ui-addon-mobile-components-tab-bar.mjs +13 -14
  20. package/fesm2022/taiga-ui-addon-mobile-components-tab-bar.mjs.map +1 -1
  21. package/fesm2022/taiga-ui-addon-mobile-directives-dropdown-mobile.mjs +13 -13
  22. package/fesm2022/taiga-ui-addon-mobile-directives-dropdown-mobile.mjs.map +1 -1
  23. package/fesm2022/taiga-ui-addon-mobile-directives-elastic-sticky.mjs +8 -8
  24. package/fesm2022/taiga-ui-addon-mobile-directives-elastic-sticky.mjs.map +1 -1
  25. package/fesm2022/taiga-ui-addon-mobile-directives-responsive-dialog.mjs +6 -6
  26. package/fesm2022/taiga-ui-addon-mobile-directives-responsive-dialog.mjs.map +1 -1
  27. package/fesm2022/taiga-ui-addon-mobile-directives-ripple.mjs +18 -39
  28. package/fesm2022/taiga-ui-addon-mobile-directives-ripple.mjs.map +1 -1
  29. package/fesm2022/taiga-ui-addon-mobile-directives-sidebar.mjs +8 -8
  30. package/fesm2022/taiga-ui-addon-mobile-directives-sidebar.mjs.map +1 -1
  31. package/fesm2022/taiga-ui-addon-mobile-directives-touchable.mjs +5 -5
  32. package/fesm2022/taiga-ui-addon-mobile-directives-touchable.mjs.map +1 -1
  33. package/fesm2022/taiga-ui-addon-mobile-services.mjs +5 -5
  34. package/fesm2022/taiga-ui-addon-mobile-services.mjs.map +1 -1
  35. package/package.json +12 -50
  36. package/styles/android/checkbox.less +2 -3
  37. package/styles/android/switch.less +0 -2
  38. package/styles/common/badge.less +2 -2
  39. package/styles/common/button.less +4 -0
  40. package/styles/common/chip.less +15 -0
  41. package/styles/common/notification-middle.less +9 -0
  42. package/styles/common/toast.less +21 -0
  43. package/styles/ios/checkbox.less +2 -4
  44. package/styles/ios/switch.less +1 -2
  45. package/styles/taiga-ui-mobile.less +9 -0
  46. package/esm2022/components/bottom-sheet/bottom-sheet.component.mjs +0 -49
  47. package/esm2022/components/bottom-sheet/index.mjs +0 -2
  48. package/esm2022/components/bottom-sheet/taiga-ui-addon-mobile-components-bottom-sheet.mjs +0 -5
  49. package/esm2022/components/index.mjs +0 -10
  50. package/esm2022/components/mobile-calendar/index.mjs +0 -5
  51. package/esm2022/components/mobile-calendar/mobile-calendar.component.mjs +0 -308
  52. package/esm2022/components/mobile-calendar/mobile-calendar.const.mjs +0 -35
  53. package/esm2022/components/mobile-calendar/mobile-calendar.providers.mjs +0 -27
  54. package/esm2022/components/mobile-calendar/mobile-calendar.strategy.mjs +0 -126
  55. package/esm2022/components/mobile-calendar/taiga-ui-addon-mobile-components-mobile-calendar.mjs +0 -5
  56. package/esm2022/components/mobile-calendar-dropdown/index.mjs +0 -3
  57. package/esm2022/components/mobile-calendar-dropdown/mobile-calendar-dropdown.component.mjs +0 -117
  58. package/esm2022/components/mobile-calendar-dropdown/mobile-calendar-dropdown.directive.mjs +0 -53
  59. package/esm2022/components/mobile-calendar-dropdown/taiga-ui-addon-mobile-components-mobile-calendar-dropdown.mjs +0 -5
  60. package/esm2022/components/mobile-calendar-sheet/index.mjs +0 -2
  61. package/esm2022/components/mobile-calendar-sheet/mobile-calendar-sheet.component.mjs +0 -25
  62. package/esm2022/components/mobile-calendar-sheet/taiga-ui-addon-mobile-components-mobile-calendar-sheet.mjs +0 -5
  63. package/esm2022/components/mobile-dialog/index.mjs +0 -4
  64. package/esm2022/components/mobile-dialog/mobile-dialog.component.mjs +0 -26
  65. package/esm2022/components/mobile-dialog/mobile-dialog.options.mjs +0 -17
  66. package/esm2022/components/mobile-dialog/mobile-dialog.service.mjs +0 -22
  67. package/esm2022/components/mobile-dialog/taiga-ui-addon-mobile-components-mobile-dialog.mjs +0 -5
  68. package/esm2022/components/pull-to-refresh/index.mjs +0 -6
  69. package/esm2022/components/pull-to-refresh/loader-android/loader-android.component.mjs +0 -46
  70. package/esm2022/components/pull-to-refresh/loader-ios/loader-ios.component.mjs +0 -39
  71. package/esm2022/components/pull-to-refresh/pull-to-refresh.component.mjs +0 -51
  72. package/esm2022/components/pull-to-refresh/pull-to-refresh.providers.mjs +0 -24
  73. package/esm2022/components/pull-to-refresh/pull-to-refresh.service.mjs +0 -37
  74. package/esm2022/components/pull-to-refresh/taiga-ui-addon-mobile-components-pull-to-refresh.mjs +0 -5
  75. package/esm2022/components/sheet-dialog/index.mjs +0 -5
  76. package/esm2022/components/sheet-dialog/sheet-dialog.component.mjs +0 -80
  77. package/esm2022/components/sheet-dialog/sheet-dialog.directive.mjs +0 -21
  78. package/esm2022/components/sheet-dialog/sheet-dialog.options.mjs +0 -24
  79. package/esm2022/components/sheet-dialog/sheet-dialog.service.mjs +0 -38
  80. package/esm2022/components/sheet-dialog/taiga-ui-addon-mobile-components-sheet-dialog.mjs +0 -5
  81. package/esm2022/components/swipe-action/index.mjs +0 -3
  82. package/esm2022/components/swipe-action/swipe-actions-auto-close.directive.mjs +0 -34
  83. package/esm2022/components/swipe-action/swipe-actions.component.mjs +0 -23
  84. package/esm2022/components/swipe-action/taiga-ui-addon-mobile-components-swipe-action.mjs +0 -5
  85. package/esm2022/components/tab-bar/index.mjs +0 -5
  86. package/esm2022/components/tab-bar/tab-bar-item.component.mjs +0 -26
  87. package/esm2022/components/tab-bar/tab-bar-item.directive.mjs +0 -27
  88. package/esm2022/components/tab-bar/tab-bar.component.mjs +0 -46
  89. package/esm2022/components/tab-bar/tab-bar.mjs +0 -9
  90. package/esm2022/components/tab-bar/taiga-ui-addon-mobile-components-tab-bar.mjs +0 -5
  91. package/esm2022/components/taiga-ui-addon-mobile-components.mjs +0 -5
  92. package/esm2022/directives/dropdown-mobile/dropdown-mobile.component.mjs +0 -98
  93. package/esm2022/directives/dropdown-mobile/dropdown-mobile.directive.mjs +0 -54
  94. package/esm2022/directives/dropdown-mobile/index.mjs +0 -3
  95. package/esm2022/directives/dropdown-mobile/taiga-ui-addon-mobile-directives-dropdown-mobile.mjs +0 -5
  96. package/esm2022/directives/elastic-sticky/elastic-sticky.directive.mjs +0 -23
  97. package/esm2022/directives/elastic-sticky/elastic-sticky.service.mjs +0 -53
  98. package/esm2022/directives/elastic-sticky/index.mjs +0 -3
  99. package/esm2022/directives/elastic-sticky/taiga-ui-addon-mobile-directives-elastic-sticky.mjs +0 -5
  100. package/esm2022/directives/index.mjs +0 -7
  101. package/esm2022/directives/responsive-dialog/index.mjs +0 -3
  102. package/esm2022/directives/responsive-dialog/responsive-dialog.directive.mjs +0 -21
  103. package/esm2022/directives/responsive-dialog/responsive-dialog.service.mjs +0 -34
  104. package/esm2022/directives/responsive-dialog/taiga-ui-addon-mobile-directives-responsive-dialog.mjs +0 -5
  105. package/esm2022/directives/ripple/index.mjs +0 -2
  106. package/esm2022/directives/ripple/ripple.directive.mjs +0 -98
  107. package/esm2022/directives/ripple/taiga-ui-addon-mobile-directives-ripple.mjs +0 -5
  108. package/esm2022/directives/sidebar/index.mjs +0 -4
  109. package/esm2022/directives/sidebar/sidebar.component.mjs +0 -45
  110. package/esm2022/directives/sidebar/sidebar.directive.mjs +0 -64
  111. package/esm2022/directives/sidebar/sidebar.mjs +0 -7
  112. package/esm2022/directives/sidebar/taiga-ui-addon-mobile-directives-sidebar.mjs +0 -5
  113. package/esm2022/directives/taiga-ui-addon-mobile-directives.mjs +0 -5
  114. package/esm2022/directives/touchable/index.mjs +0 -2
  115. package/esm2022/directives/touchable/taiga-ui-addon-mobile-directives-touchable.mjs +0 -5
  116. package/esm2022/directives/touchable/touchable.directive.mjs +0 -71
  117. package/esm2022/index.mjs +0 -4
  118. package/esm2022/services/index.mjs +0 -2
  119. package/esm2022/services/keyboard.service.mjs +0 -53
  120. package/esm2022/services/taiga-ui-addon-mobile-services.mjs +0 -5
  121. package/esm2022/taiga-ui-addon-mobile.mjs +0 -5
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-addon-mobile-directives-sidebar.mjs","sources":["../../../projects/addon-mobile/directives/sidebar/sidebar.directive.ts","../../../projects/addon-mobile/directives/sidebar/sidebar.component.ts","../../../projects/addon-mobile/directives/sidebar/sidebar.template.html","../../../projects/addon-mobile/directives/sidebar/sidebar.ts","../../../projects/addon-mobile/directives/sidebar/taiga-ui-addon-mobile-directives-sidebar.ts"],"sourcesContent":["import {\n type ComponentRef,\n Directive,\n inject,\n INJECTOR,\n Input,\n type OnDestroy,\n TemplateRef,\n} from '@angular/core';\nimport {TuiPopupService} from '@taiga-ui/core/directives/popup';\nimport {type TuiHorizontalDirection} from '@taiga-ui/core/types';\nimport {PolymorpheusComponent, PolymorpheusTemplate} from '@taiga-ui/polymorpheus';\n\nimport {TuiSidebarComponent} from './sidebar.component';\n\n/**\n * @deprecated use {@link TuiDrawer} instead\n */\n@Directive({\n standalone: true,\n selector: '[tuiSidebar]',\n})\nexport class TuiSidebarDirective<T = Record<string, unknown>>\n extends PolymorpheusTemplate<T>\n implements OnDestroy\n{\n private readonly injector = inject(INJECTOR);\n private readonly service = inject(TuiPopupService);\n\n private readonly component = new PolymorpheusComponent(\n TuiSidebarComponent,\n this.injector,\n );\n\n private sidebarRef: ComponentRef<TuiSidebarComponent> | null = null;\n\n @Input('tuiSidebarDirection')\n public direction: TuiHorizontalDirection = 'left';\n\n @Input('tuiSidebarAutoWidth')\n public autoWidth = false;\n\n public readonly content = inject(TemplateRef<T>);\n\n @Input()\n public set tuiSidebar(open: boolean) {\n if (open) {\n this.show();\n } else {\n this.hide();\n }\n }\n\n public ngOnDestroy(): void {\n this.hide();\n }\n\n private show(): void {\n if (this.sidebarRef !== null) {\n return;\n }\n\n this.sidebarRef = this.service.add(this.component);\n this.sidebarRef.changeDetectorRef.detectChanges();\n }\n\n private hide(): void {\n if (this.sidebarRef === null) {\n return;\n }\n\n this.service.remove(this.sidebarRef);\n this.sidebarRef = null;\n }\n}\n","import {type AnimationOptions} from '@angular/animations';\nimport {ChangeDetectionStrategy, Component, type DoCheck, inject} from '@angular/core';\nimport {TuiActiveZone} from '@taiga-ui/cdk/directives/active-zone';\nimport {tuiSlideIn} from '@taiga-ui/core/animations';\nimport {TUI_ANIMATIONS_SPEED} from '@taiga-ui/core/tokens';\nimport {type TuiHorizontalDirection} from '@taiga-ui/core/types';\nimport {tuiToAnimationOptions} from '@taiga-ui/core/utils/miscellaneous';\nimport {type PolymorpheusContent, PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\n\nimport {TuiSidebarDirective} from './sidebar.directive';\n\n/**\n * @deprecated use {@link TuiDrawer} instead\n */\n@Component({\n standalone: true,\n selector: 'aside[tuiSidebar]',\n imports: [PolymorpheusOutlet, TuiActiveZone],\n templateUrl: './sidebar.template.html',\n styleUrls: ['./sidebar.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n animations: [tuiSlideIn],\n host: {\n '[class]': '\"t-\" + direction',\n '[@tuiSlideIn]': 'animation',\n },\n})\nexport class TuiSidebarComponent implements DoCheck {\n private readonly directive = inject(TuiSidebarDirective);\n private readonly options = tuiToAnimationOptions(inject(TUI_ANIMATIONS_SPEED));\n private readonly left = {...this.options, value: 'left'};\n private readonly right = {...this.options, value: 'right'};\n\n public ngDoCheck(): void {\n this.directive.check();\n }\n\n protected get animation(): AnimationOptions {\n return this.direction === 'left' ? this.left : this.right;\n }\n\n protected get direction(): TuiHorizontalDirection {\n return this.directive.direction;\n }\n\n protected get content(): PolymorpheusContent {\n return this.directive.content;\n }\n\n protected get autoWidth(): boolean {\n return this.directive.autoWidth;\n }\n}\n","<div\n tuiActiveZone\n class=\"t-wrapper\"\n [class.t-wrapper_auto-width]=\"autoWidth\"\n>\n <ng-container *polymorpheusOutlet=\"content as text\">\n {{ text }}\n </ng-container>\n</div>\n","import {TuiSidebarComponent} from './sidebar.component';\nimport {TuiSidebarDirective} from './sidebar.directive';\n\n/**\n * @deprecated use {@link TuiDrawer} instead\n */\nexport const TuiSidebar = [TuiSidebarComponent, TuiSidebarDirective] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAeA;;AAEG;AACH,MAIa,mBACT,SAAQ,oBAAuB,CAAA;AALnC,IAAA,WAAA,GAAA;;AAQqB,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;AAC5B,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,eAAe,CAAC,CAAC;QAElC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A,eAAe,EAAE,WAAW;AAC/B,qBAAA,EAAA,QAAA,EAAA,oNAAA,EAAA,MAAA,EAAA,CAAA,yrBAAA,CAAA,EAAA,CAAA;;;AEtBL;;AAEG;MACU,UAAU,GAAG,CAAC,mBAAmB,EAAE,mBAAmB;;ACNnE;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-addon-mobile-directives-sidebar.mjs","sources":["../../../projects/addon-mobile/directives/sidebar/sidebar.directive.ts","../../../projects/addon-mobile/directives/sidebar/sidebar.component.ts","../../../projects/addon-mobile/directives/sidebar/sidebar.template.html","../../../projects/addon-mobile/directives/sidebar/sidebar.ts","../../../projects/addon-mobile/directives/sidebar/taiga-ui-addon-mobile-directives-sidebar.ts"],"sourcesContent":["import {\n type ComponentRef,\n Directive,\n inject,\n INJECTOR,\n Input,\n type OnDestroy,\n TemplateRef,\n} from '@angular/core';\nimport {TuiPopupService} from '@taiga-ui/core/directives/popup';\nimport {type TuiHorizontalDirection} from '@taiga-ui/core/types';\nimport {PolymorpheusComponent, PolymorpheusTemplate} from '@taiga-ui/polymorpheus';\n\nimport {TuiSidebarComponent} from './sidebar.component';\n\n/**\n * @deprecated use {@link TuiDrawer} instead\n */\n@Directive({\n standalone: true,\n selector: '[tuiSidebar]',\n})\nexport class TuiSidebarDirective<T = Record<string, unknown>>\n extends PolymorpheusTemplate<T>\n implements OnDestroy\n{\n private readonly injector = inject(INJECTOR);\n private readonly service = inject(TuiPopupService);\n\n private readonly component = new PolymorpheusComponent(\n TuiSidebarComponent,\n this.injector,\n );\n\n private sidebarRef: ComponentRef<TuiSidebarComponent> | null = null;\n\n @Input('tuiSidebarDirection')\n public direction: TuiHorizontalDirection = 'left';\n\n @Input('tuiSidebarAutoWidth')\n public autoWidth = false;\n\n public readonly content = inject(TemplateRef<T>);\n\n @Input()\n public set tuiSidebar(open: boolean) {\n if (open) {\n this.show();\n } else {\n this.hide();\n }\n }\n\n public ngOnDestroy(): void {\n this.hide();\n }\n\n private show(): void {\n if (this.sidebarRef !== null) {\n return;\n }\n\n this.sidebarRef = this.service.add(this.component);\n this.sidebarRef.changeDetectorRef.detectChanges();\n }\n\n private hide(): void {\n if (this.sidebarRef === null) {\n return;\n }\n\n this.service.remove(this.sidebarRef);\n this.sidebarRef = null;\n }\n}\n","import {type AnimationOptions} from '@angular/animations';\nimport {ChangeDetectionStrategy, Component, type DoCheck, inject} from '@angular/core';\nimport {TuiActiveZone} from '@taiga-ui/cdk/directives/active-zone';\nimport {tuiSlideIn} from '@taiga-ui/core/animations';\nimport {TUI_ANIMATIONS_SPEED} from '@taiga-ui/core/tokens';\nimport {type TuiHorizontalDirection} from '@taiga-ui/core/types';\nimport {tuiToAnimationOptions} from '@taiga-ui/core/utils/miscellaneous';\nimport {type PolymorpheusContent, PolymorpheusOutlet} from '@taiga-ui/polymorpheus';\n\nimport {TuiSidebarDirective} from './sidebar.directive';\n\n/**\n * @deprecated use {@link TuiDrawer} instead\n */\n@Component({\n selector: 'aside[tuiSidebar]',\n imports: [PolymorpheusOutlet, TuiActiveZone],\n templateUrl: './sidebar.template.html',\n styleUrls: ['./sidebar.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n animations: [tuiSlideIn],\n host: {\n '[class]': '\"t-\" + direction',\n '[@tuiSlideIn]': 'animation',\n },\n})\nexport class TuiSidebarComponent implements DoCheck {\n private readonly directive = inject(TuiSidebarDirective);\n private readonly options = tuiToAnimationOptions(inject(TUI_ANIMATIONS_SPEED));\n private readonly left = {...this.options, value: 'left'};\n private readonly right = {...this.options, value: 'right'};\n\n public ngDoCheck(): void {\n this.directive.check();\n }\n\n protected get animation(): AnimationOptions {\n return this.direction === 'left' ? this.left : this.right;\n }\n\n protected get direction(): TuiHorizontalDirection {\n return this.directive.direction;\n }\n\n protected get content(): PolymorpheusContent {\n return this.directive.content;\n }\n\n protected get autoWidth(): boolean {\n return this.directive.autoWidth;\n }\n}\n","<div\n tuiActiveZone\n class=\"t-wrapper\"\n [class.t-wrapper_auto-width]=\"autoWidth\"\n>\n <ng-container *polymorpheusOutlet=\"content as text\">\n {{ text }}\n </ng-container>\n</div>\n","import {TuiSidebarComponent} from './sidebar.component';\nimport {TuiSidebarDirective} from './sidebar.directive';\n\n/**\n * @deprecated use {@link TuiDrawer} instead\n */\nexport const TuiSidebar = [TuiSidebarComponent, TuiSidebarDirective] as const;\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAeA;;AAEG;AAKG,MAAO,mBACT,SAAQ,oBAAuB,CAAA;AALnC,IAAA,WAAA,GAAA;;AAQqB,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAC3B,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,eAAe,CAAC;QAEjC,IAAS,CAAA,SAAA,GAAG,IAAI,qBAAqB,CAClD,mBAAmB,EACnB,IAAI,CAAC,QAAQ,CAChB;QAEO,IAAU,CAAA,UAAA,GAA6C,IAAI;QAG5D,IAAS,CAAA,SAAA,GAA2B,MAAM;QAG1C,IAAS,CAAA,SAAA,GAAG,KAAK;AAER,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,EAAC,WAAc,EAAC;AAgCnD;IA9BG,IACW,UAAU,CAAC,IAAa,EAAA;QAC/B,IAAI,IAAI,EAAE;YACN,IAAI,CAAC,IAAI,EAAE;;aACR;YACH,IAAI,CAAC,IAAI,EAAE;;;IAIZ,WAAW,GAAA;QACd,IAAI,CAAC,IAAI,EAAE;;IAGP,IAAI,GAAA;AACR,QAAA,IAAI,IAAI,CAAC,UAAU,KAAK,IAAI,EAAE;YAC1B;;AAGJ,QAAA,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC;AAClD,QAAA,IAAI,CAAC,UAAU,CAAC,iBAAiB,CAAC,aAAa,EAAE;;IAG7C,IAAI,GAAA;AACR,QAAA,IAAI,IAAI,CAAC,UAA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EAAA,mBAAmB,EACpB,OAAA,EAAA,CAAC,kBAAkB,EAAE,aAAa,CAAC,EAAA,eAAA,EAG3B,uBAAuB,CAAC,MAAM,EAAA,UAAA,EACnC,CAAC,UAAU,CAAC,EAClB,IAAA,EAAA;AACF,wBAAA,SAAS,EAAE,kBAAkB;AAC7B,wBAAA,eAAe,EAAE,WAAW;AAC/B,qBAAA,EAAA,QAAA,EAAA,oNAAA,EAAA,MAAA,EAAA,CAAA,yrBAAA,CAAA,EAAA;;;AErBL;;AAEG;MACU,UAAU,GAAG,CAAC,mBAAmB,EAAE,mBAAmB;;ACNnE;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, Directive, Input } from '@angular/core';
2
+ import { inject, Input, Directive } from '@angular/core';
3
3
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
4
4
  import { tuiTypedFromEvent } from '@taiga-ui/cdk/observables';
5
5
  import { TUI_IS_IOS } from '@taiga-ui/cdk/tokens';
@@ -56,16 +56,16 @@ class TuiTouchable {
56
56
  }
57
57
  this.el.style.setProperty(this.style, STYLE[this.style]);
58
58
  }
59
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTouchable, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
60
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiTouchable, isStandalone: true, selector: "[tuiTouchable]", inputs: { tuiTouchable: "tuiTouchable" }, ngImport: i0 }); }
59
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTouchable, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
60
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiTouchable, isStandalone: true, selector: "[tuiTouchable]", inputs: { tuiTouchable: "tuiTouchable" }, ngImport: i0 }); }
61
61
  }
62
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTouchable, decorators: [{
62
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTouchable, decorators: [{
63
63
  type: Directive,
64
64
  args: [{
65
65
  standalone: true,
66
66
  selector: '[tuiTouchable]',
67
67
  }]
68
- }], ctorParameters: function () { return []; }, propDecorators: { tuiTouchable: [{
68
+ }], ctorParameters: () => [], propDecorators: { tuiTouchable: [{
69
69
  type: Input
70
70
  }] } });
71
71
 
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-addon-mobile-directives-touchable.mjs","sources":["../../../projects/addon-mobile/directives/touchable/touchable.directive.ts","../../../projects/addon-mobile/directives/touchable/taiga-ui-addon-mobile-directives-touchable.ts"],"sourcesContent":["import {Directive, inject, Input} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {tuiTypedFromEvent} from '@taiga-ui/cdk/observables';\nimport {TUI_IS_IOS} from '@taiga-ui/cdk/tokens';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {filter, map, race, switchMap, take, tap} from 'rxjs';\n\nconst STYLE = {\n transform: 'scale(0.95)',\n opacity: '0.6',\n background: 'rgba(146, 153, 162, 0.12)',\n} as const;\n\nexport function tuiFindTouchIndex(touches: TouchList, id: number): number {\n for (let i = 0; i < touches.length; i++) {\n if (touches[i]?.identifier === id) {\n return i;\n }\n }\n\n return -1;\n}\n\n@Directive({\n standalone: true,\n selector: '[tuiTouchable]',\n})\nexport class TuiTouchable {\n private readonly isIOS = inject(TUI_IS_IOS);\n private readonly el = tuiInjectElement();\n\n @Input()\n public tuiTouchable: '' | 'background' | 'opacity' | 'transform' = '';\n\n constructor() {\n if (!this.isIOS) {\n return;\n }\n\n tuiTypedFromEvent(this.el, 'touchstart', {passive: true})\n .pipe(\n tap(() => this.onTouchStart()),\n map(({touches}) => touches[touches.length - 1]?.identifier),\n switchMap((identifier) =>\n race(\n tuiTypedFromEvent(this.el, 'touchmove', {passive: true}).pipe(\n filter(({touches}) =>\n this.hasTouchLeft(this.el, touches, identifier ?? 0),\n ),\n ),\n tuiTypedFromEvent(this.el, 'touchend'),\n ).pipe(take(1)),\n ),\n takeUntilDestroyed(),\n )\n .subscribe(() => {\n this.el.style.removeProperty('transform');\n this.el.style.removeProperty('opacity');\n this.el.style.removeProperty('background');\n });\n }\n\n protected get style(): 'background' | 'opacity' | 'transform' {\n return this.tuiTouchable || 'transform';\n }\n\n private hasTouchLeft(\n element: HTMLElement,\n touches: TouchList,\n identifier: number,\n ): boolean {\n const {ownerDocument} = element;\n const id = tuiFindTouchIndex(touches, identifier);\n\n if (!ownerDocument || id === -1) {\n return true;\n }\n\n const {clientX = 0, clientY = 0} = touches[id] ?? {};\n\n return !element.contains(ownerDocument.elementFromPoint(clientX, clientY));\n }\n\n private onTouchStart(): void {\n if (this.style !== 'transform') {\n this.el.style.removeProperty('transition');\n } else {\n this.el.style.setProperty('transition', 'transform 0.2s');\n }\n\n this.el.style.setProperty(this.style, STYLE[this.style]);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAOA,MAAM,KAAK,GAAG;AACV,IAAA,SAAS,EAAE,aAAa;AACxB,IAAA,OAAO,EAAE,KAAK;AACd,IAAA,UAAU,EAAE,2BAA2B;CACjC,CAAC;AAEK,SAAA,iBAAiB,CAAC,OAAkB,EAAE,EAAU,EAAA;AAC5D,IAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QACrC,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE,UAAU,KAAK,EAAE,EAAE;AAC/B,YAAA,OAAO,CAAC,CAAC;AACZ,SAAA;AACJ,KAAA;IAED,OAAO,CAAC,CAAC,CAAC;AACd,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,gBAAA,EAAA,MAAA,EAAA,EAAA,YAAA,EAAA,cAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAAZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBAJxB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,gBAAgB;AAC7B,iBAAA,CAAA;0EAMU,YAAY,EAAA,CAAA;sBADlB,KAAK;;;AC/BV;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-addon-mobile-directives-touchable.mjs","sources":["../../../projects/addon-mobile/directives/touchable/touchable.directive.ts","../../../projects/addon-mobile/directives/touchable/taiga-ui-addon-mobile-directives-touchable.ts"],"sourcesContent":["import {Directive, inject, Input} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {tuiTypedFromEvent} from '@taiga-ui/cdk/observables';\nimport {TUI_IS_IOS} from '@taiga-ui/cdk/tokens';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {filter, map, race, switchMap, take, tap} from 'rxjs';\n\nconst STYLE = {\n transform: 'scale(0.95)',\n opacity: '0.6',\n background: 'rgba(146, 153, 162, 0.12)',\n} as const;\n\nexport function tuiFindTouchIndex(touches: TouchList, id: number): number {\n for (let i = 0; i < touches.length; i++) {\n if (touches[i]?.identifier === id) {\n return i;\n }\n }\n\n return -1;\n}\n\n@Directive({\n standalone: true,\n selector: '[tuiTouchable]',\n})\nexport class TuiTouchable {\n private readonly isIOS = inject(TUI_IS_IOS);\n private readonly el = tuiInjectElement();\n\n @Input()\n public tuiTouchable: '' | 'background' | 'opacity' | 'transform' = '';\n\n constructor() {\n if (!this.isIOS) {\n return;\n }\n\n tuiTypedFromEvent(this.el, 'touchstart', {passive: true})\n .pipe(\n tap(() => this.onTouchStart()),\n map(({touches}) => touches[touches.length - 1]?.identifier),\n switchMap((identifier) =>\n race(\n tuiTypedFromEvent(this.el, 'touchmove', {passive: true}).pipe(\n filter(({touches}) =>\n this.hasTouchLeft(this.el, touches, identifier ?? 0),\n ),\n ),\n tuiTypedFromEvent(this.el, 'touchend'),\n ).pipe(take(1)),\n ),\n takeUntilDestroyed(),\n )\n .subscribe(() => {\n this.el.style.removeProperty('transform');\n this.el.style.removeProperty('opacity');\n this.el.style.removeProperty('background');\n });\n }\n\n protected get style(): 'background' | 'opacity' | 'transform' {\n return this.tuiTouchable || 'transform';\n }\n\n private hasTouchLeft(\n element: HTMLElement,\n touches: TouchList,\n identifier: number,\n ): boolean {\n const {ownerDocument} = element;\n const id = tuiFindTouchIndex(touches, identifier);\n\n if (!ownerDocument || id === -1) {\n return true;\n }\n\n const {clientX = 0, clientY = 0} = touches[id] ?? {};\n\n return !element.contains(ownerDocument.elementFromPoint(clientX, clientY));\n }\n\n private onTouchStart(): void {\n if (this.style !== 'transform') {\n this.el.style.removeProperty('transition');\n } else {\n this.el.style.setProperty('transition', 'transform 0.2s');\n }\n\n this.el.style.setProperty(this.style, STYLE[this.style]);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAOA,MAAM,KAAK,GAAG;AACV,IAAA,SAAS,EAAE,aAAa;AACxB,IAAA,OAAO,EAAE,KAAK;AACd,IAAA,UAAU,EAAE,2BAA2B;CACjC;AAEM,SAAA,iBAAiB,CAAC,OAAkB,EAAE,EAAU,EAAA;AAC5D,IAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QACrC,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE,UAAU,KAAK,EAAE,EAAE;AAC/B,YAAA,OAAO,CAAC;;;IAIhB,OAAO,CAAC,CAAC;AACb;MAMa,YAAY,CAAA;AAOrB,IAAA,WAAA,GAAA;AANiB,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,UAAU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ADlB;;;AC/BL;;AAEG;;;;"}
@@ -1,7 +1,7 @@
1
1
  import { DOCUMENT } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
3
  import { inject, Injectable } from '@angular/core';
4
- import { tuiGetNativeFocused } from '@taiga-ui/cdk/utils/focus';
4
+ import { tuiGetFocused } from '@taiga-ui/cdk/utils/focus';
5
5
  import { merge, fromEvent, filter } from 'rxjs';
6
6
 
7
7
  class TuiKeyboardService {
@@ -25,7 +25,7 @@ class TuiKeyboardService {
25
25
  }
26
26
  }
27
27
  hide() {
28
- const focused = tuiGetNativeFocused(this.doc);
28
+ const focused = tuiGetFocused(this.doc);
29
29
  if (focused?.inputMode === undefined || this.element) {
30
30
  return;
31
31
  }
@@ -41,10 +41,10 @@ class TuiKeyboardService {
41
41
  this.element.inputMode = this.inputMode;
42
42
  this.element = undefined;
43
43
  }
44
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiKeyboardService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
45
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiKeyboardService, providedIn: 'root' }); }
44
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiKeyboardService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
45
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiKeyboardService, providedIn: 'root' }); }
46
46
  }
47
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiKeyboardService, decorators: [{
47
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiKeyboardService, decorators: [{
48
48
  type: Injectable,
49
49
  args: [{
50
50
  providedIn: 'root',
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-addon-mobile-services.mjs","sources":["../../../projects/addon-mobile/services/keyboard.service.ts","../../../projects/addon-mobile/services/taiga-ui-addon-mobile-services.ts"],"sourcesContent":["import {DOCUMENT} from '@angular/common';\nimport {inject, Injectable, type OnDestroy} from '@angular/core';\nimport {tuiGetNativeFocused} from '@taiga-ui/cdk/utils/focus';\nimport {filter, fromEvent, merge} from 'rxjs';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class TuiKeyboardService implements OnDestroy {\n private readonly doc = inject(DOCUMENT);\n private readonly sub = merge(\n fromEvent(this.doc, 'focusout'),\n fromEvent(this.doc, 'mousedown').pipe(\n filter((e) => Object.is(e.target, this.element)),\n ),\n ).subscribe(() => {\n this.show();\n });\n\n private element?: ElementContentEditable;\n private inputMode = '';\n\n public ngOnDestroy(): void {\n this.sub.unsubscribe();\n this.show();\n }\n\n public toggle(): void {\n if (this.element) {\n this.show();\n } else {\n this.hide();\n }\n }\n\n public hide(): void {\n const focused = tuiGetNativeFocused(this.doc) as HTMLInputElement;\n\n if (focused?.inputMode === undefined || this.element) {\n return;\n }\n\n this.element = focused;\n this.inputMode = focused.inputMode;\n focused.inputMode = 'none';\n }\n\n public show(): void {\n if (!this.element) {\n return;\n }\n\n this.element.inputMode = 'none';\n this.element.inputMode = this.inputMode;\n this.element = undefined;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAKA,MAGa,kBAAkB,CAAA;AAH/B,IAAA,WAAA,GAAA;AAIqB,QAAA,IAAA,CAAA,GAAG,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;QACvB,IAAG,CAAA,GAAA,GAAG,KAAK,CACxB,SAAS,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,EAC/B,SAAS,CAAC,IAAI,CAAC,GAAG,EAAE,WAAW,CAAC,CAAC,IAAI,CACjC,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC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,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,cAFf,MAAM,EAAA,CAAA,CAAA,EAAA;;4FAET,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAH9B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,UAAU,EAAE,MAAM;AACrB,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-addon-mobile-services.mjs","sources":["../../../projects/addon-mobile/services/keyboard.service.ts","../../../projects/addon-mobile/services/taiga-ui-addon-mobile-services.ts"],"sourcesContent":["import {DOCUMENT} from '@angular/common';\nimport {inject, Injectable, type OnDestroy} from '@angular/core';\nimport {tuiGetFocused} from '@taiga-ui/cdk/utils/focus';\nimport {filter, fromEvent, merge} from 'rxjs';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class TuiKeyboardService implements OnDestroy {\n private readonly doc = inject(DOCUMENT);\n private readonly sub = merge(\n fromEvent(this.doc, 'focusout'),\n fromEvent(this.doc, 'mousedown').pipe(\n filter((e) => Object.is(e.target, this.element)),\n ),\n ).subscribe(() => {\n this.show();\n });\n\n private element?: ElementContentEditable;\n private inputMode = '';\n\n public ngOnDestroy(): void {\n this.sub.unsubscribe();\n this.show();\n }\n\n public toggle(): void {\n if (this.element) {\n this.show();\n } else {\n this.hide();\n }\n }\n\n public hide(): void {\n const focused = tuiGetFocused(this.doc) as HTMLInputElement;\n\n if (focused?.inputMode === undefined || this.element) {\n return;\n }\n\n this.element = focused;\n this.inputMode = focused.inputMode;\n focused.inputMode = 'none';\n }\n\n public show(): void {\n if (!this.element) {\n return;\n }\n\n this.element.inputMode = 'none';\n this.element.inputMode = this.inputMode;\n this.element = undefined;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],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AACvC,QAAA,IAAI,CAAC,OAAO,GAAG,SAAS;;+GA9CnB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAlB,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,cAFf,MAAM,EAAA,CAAA,CAAA;;4FAET,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAH9B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,UAAU,EAAE,MAAM;AACrB,iBAAA;;;ACPD;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/addon-mobile",
3
- "version": "4.51.0",
3
+ "version": "4.52.0-canary.1ea42f6",
4
4
  "description": "Extension package for Taiga UI that adds support for mobile specific behaviors such as custom data pickers, dropdowns, etc.",
5
5
  "keywords": [
6
6
  "angular",
@@ -17,128 +17,90 @@
17
17
  },
18
18
  ".": {
19
19
  "types": "./index.d.ts",
20
- "esm2022": "./esm2022/taiga-ui-addon-mobile.mjs",
21
- "esm": "./esm2022/taiga-ui-addon-mobile.mjs",
22
20
  "default": "./fesm2022/taiga-ui-addon-mobile.mjs"
23
21
  },
24
22
  "./components": {
25
23
  "types": "./components/index.d.ts",
26
- "esm2022": "./esm2022/components/taiga-ui-addon-mobile-components.mjs",
27
- "esm": "./esm2022/components/taiga-ui-addon-mobile-components.mjs",
28
24
  "default": "./fesm2022/taiga-ui-addon-mobile-components.mjs"
29
25
  },
30
26
  "./directives": {
31
27
  "types": "./directives/index.d.ts",
32
- "esm2022": "./esm2022/directives/taiga-ui-addon-mobile-directives.mjs",
33
- "esm": "./esm2022/directives/taiga-ui-addon-mobile-directives.mjs",
34
28
  "default": "./fesm2022/taiga-ui-addon-mobile-directives.mjs"
35
29
  },
36
30
  "./services": {
37
31
  "types": "./services/index.d.ts",
38
- "esm2022": "./esm2022/services/taiga-ui-addon-mobile-services.mjs",
39
- "esm": "./esm2022/services/taiga-ui-addon-mobile-services.mjs",
40
32
  "default": "./fesm2022/taiga-ui-addon-mobile-services.mjs"
41
33
  },
42
34
  "./components/bottom-sheet": {
43
35
  "types": "./components/bottom-sheet/index.d.ts",
44
- "esm2022": "./esm2022/components/bottom-sheet/taiga-ui-addon-mobile-components-bottom-sheet.mjs",
45
- "esm": "./esm2022/components/bottom-sheet/taiga-ui-addon-mobile-components-bottom-sheet.mjs",
46
36
  "default": "./fesm2022/taiga-ui-addon-mobile-components-bottom-sheet.mjs"
47
37
  },
48
38
  "./components/mobile-calendar": {
49
39
  "types": "./components/mobile-calendar/index.d.ts",
50
- "esm2022": "./esm2022/components/mobile-calendar/taiga-ui-addon-mobile-components-mobile-calendar.mjs",
51
- "esm": "./esm2022/components/mobile-calendar/taiga-ui-addon-mobile-components-mobile-calendar.mjs",
52
40
  "default": "./fesm2022/taiga-ui-addon-mobile-components-mobile-calendar.mjs"
53
41
  },
54
42
  "./components/mobile-calendar-dropdown": {
55
43
  "types": "./components/mobile-calendar-dropdown/index.d.ts",
56
- "esm2022": "./esm2022/components/mobile-calendar-dropdown/taiga-ui-addon-mobile-components-mobile-calendar-dropdown.mjs",
57
- "esm": "./esm2022/components/mobile-calendar-dropdown/taiga-ui-addon-mobile-components-mobile-calendar-dropdown.mjs",
58
44
  "default": "./fesm2022/taiga-ui-addon-mobile-components-mobile-calendar-dropdown.mjs"
59
45
  },
60
46
  "./components/mobile-calendar-sheet": {
61
47
  "types": "./components/mobile-calendar-sheet/index.d.ts",
62
- "esm2022": "./esm2022/components/mobile-calendar-sheet/taiga-ui-addon-mobile-components-mobile-calendar-sheet.mjs",
63
- "esm": "./esm2022/components/mobile-calendar-sheet/taiga-ui-addon-mobile-components-mobile-calendar-sheet.mjs",
64
48
  "default": "./fesm2022/taiga-ui-addon-mobile-components-mobile-calendar-sheet.mjs"
65
49
  },
66
50
  "./components/mobile-dialog": {
67
51
  "types": "./components/mobile-dialog/index.d.ts",
68
- "esm2022": "./esm2022/components/mobile-dialog/taiga-ui-addon-mobile-components-mobile-dialog.mjs",
69
- "esm": "./esm2022/components/mobile-dialog/taiga-ui-addon-mobile-components-mobile-dialog.mjs",
70
52
  "default": "./fesm2022/taiga-ui-addon-mobile-components-mobile-dialog.mjs"
71
53
  },
72
54
  "./components/pull-to-refresh": {
73
55
  "types": "./components/pull-to-refresh/index.d.ts",
74
- "esm2022": "./esm2022/components/pull-to-refresh/taiga-ui-addon-mobile-components-pull-to-refresh.mjs",
75
- "esm": "./esm2022/components/pull-to-refresh/taiga-ui-addon-mobile-components-pull-to-refresh.mjs",
76
56
  "default": "./fesm2022/taiga-ui-addon-mobile-components-pull-to-refresh.mjs"
77
57
  },
78
58
  "./components/sheet-dialog": {
79
59
  "types": "./components/sheet-dialog/index.d.ts",
80
- "esm2022": "./esm2022/components/sheet-dialog/taiga-ui-addon-mobile-components-sheet-dialog.mjs",
81
- "esm": "./esm2022/components/sheet-dialog/taiga-ui-addon-mobile-components-sheet-dialog.mjs",
82
60
  "default": "./fesm2022/taiga-ui-addon-mobile-components-sheet-dialog.mjs"
83
61
  },
84
62
  "./components/swipe-action": {
85
63
  "types": "./components/swipe-action/index.d.ts",
86
- "esm2022": "./esm2022/components/swipe-action/taiga-ui-addon-mobile-components-swipe-action.mjs",
87
- "esm": "./esm2022/components/swipe-action/taiga-ui-addon-mobile-components-swipe-action.mjs",
88
64
  "default": "./fesm2022/taiga-ui-addon-mobile-components-swipe-action.mjs"
89
65
  },
90
66
  "./components/tab-bar": {
91
67
  "types": "./components/tab-bar/index.d.ts",
92
- "esm2022": "./esm2022/components/tab-bar/taiga-ui-addon-mobile-components-tab-bar.mjs",
93
- "esm": "./esm2022/components/tab-bar/taiga-ui-addon-mobile-components-tab-bar.mjs",
94
68
  "default": "./fesm2022/taiga-ui-addon-mobile-components-tab-bar.mjs"
95
69
  },
96
70
  "./directives/dropdown-mobile": {
97
71
  "types": "./directives/dropdown-mobile/index.d.ts",
98
- "esm2022": "./esm2022/directives/dropdown-mobile/taiga-ui-addon-mobile-directives-dropdown-mobile.mjs",
99
- "esm": "./esm2022/directives/dropdown-mobile/taiga-ui-addon-mobile-directives-dropdown-mobile.mjs",
100
72
  "default": "./fesm2022/taiga-ui-addon-mobile-directives-dropdown-mobile.mjs"
101
73
  },
102
74
  "./directives/elastic-sticky": {
103
75
  "types": "./directives/elastic-sticky/index.d.ts",
104
- "esm2022": "./esm2022/directives/elastic-sticky/taiga-ui-addon-mobile-directives-elastic-sticky.mjs",
105
- "esm": "./esm2022/directives/elastic-sticky/taiga-ui-addon-mobile-directives-elastic-sticky.mjs",
106
76
  "default": "./fesm2022/taiga-ui-addon-mobile-directives-elastic-sticky.mjs"
107
77
  },
108
- "./directives/ripple": {
109
- "types": "./directives/ripple/index.d.ts",
110
- "esm2022": "./esm2022/directives/ripple/taiga-ui-addon-mobile-directives-ripple.mjs",
111
- "esm": "./esm2022/directives/ripple/taiga-ui-addon-mobile-directives-ripple.mjs",
112
- "default": "./fesm2022/taiga-ui-addon-mobile-directives-ripple.mjs"
113
- },
114
78
  "./directives/responsive-dialog": {
115
79
  "types": "./directives/responsive-dialog/index.d.ts",
116
- "esm2022": "./esm2022/directives/responsive-dialog/taiga-ui-addon-mobile-directives-responsive-dialog.mjs",
117
- "esm": "./esm2022/directives/responsive-dialog/taiga-ui-addon-mobile-directives-responsive-dialog.mjs",
118
80
  "default": "./fesm2022/taiga-ui-addon-mobile-directives-responsive-dialog.mjs"
119
81
  },
82
+ "./directives/ripple": {
83
+ "types": "./directives/ripple/index.d.ts",
84
+ "default": "./fesm2022/taiga-ui-addon-mobile-directives-ripple.mjs"
85
+ },
120
86
  "./directives/sidebar": {
121
87
  "types": "./directives/sidebar/index.d.ts",
122
- "esm2022": "./esm2022/directives/sidebar/taiga-ui-addon-mobile-directives-sidebar.mjs",
123
- "esm": "./esm2022/directives/sidebar/taiga-ui-addon-mobile-directives-sidebar.mjs",
124
88
  "default": "./fesm2022/taiga-ui-addon-mobile-directives-sidebar.mjs"
125
89
  },
126
90
  "./directives/touchable": {
127
91
  "types": "./directives/touchable/index.d.ts",
128
- "esm2022": "./esm2022/directives/touchable/taiga-ui-addon-mobile-directives-touchable.mjs",
129
- "esm": "./esm2022/directives/touchable/taiga-ui-addon-mobile-directives-touchable.mjs",
130
92
  "default": "./fesm2022/taiga-ui-addon-mobile-directives-touchable.mjs"
131
93
  }
132
94
  },
133
95
  "peerDependencies": {
134
- "@angular/cdk": ">=16.0.0",
135
- "@angular/common": ">=16.0.0",
136
- "@angular/core": ">=16.0.0",
96
+ "@angular/cdk": ">=19.0.0",
97
+ "@angular/common": ">=19.0.0",
98
+ "@angular/core": ">=19.0.0",
137
99
  "@ng-web-apis/common": "^4.12.0",
138
- "@taiga-ui/cdk": "^4.51.0",
139
- "@taiga-ui/core": "^4.51.0",
140
- "@taiga-ui/kit": "^4.51.0",
141
- "@taiga-ui/layout": "^4.51.0",
100
+ "@taiga-ui/cdk": "^4.52.0",
101
+ "@taiga-ui/core": "^4.52.0",
102
+ "@taiga-ui/kit": "^4.52.0",
103
+ "@taiga-ui/layout": "^4.52.0",
142
104
  "@taiga-ui/polymorpheus": "^4.9.0",
143
105
  "rxjs": ">=7.0.0"
144
106
  },
@@ -30,9 +30,8 @@ input[tuiCheckbox] {
30
30
  }
31
31
 
32
32
  &::before {
33
- inline-size: 1rem;
34
- block-size: 1rem;
35
- mask-image: url('data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6 13L1 8.19231L2.4 6.84615L6 10.3077L13.6 3L15 4.34615L6 13Z" fill="black"/></svg>');
33
+ mask: url('data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6 13L1 8.19231L2.4 6.84615L6 10.3077L13.6 3L15 4.34615L6 13Z" fill="black"/></svg>')
34
+ no-repeat center / 1rem;
36
35
  transition:
37
36
  clip-path var(--tui-duration) ease-in-out,
38
37
  mask 0s var(--tui-duration) ease-in-out;
@@ -25,8 +25,6 @@ input[tuiSwitch] {
25
25
  }
26
26
 
27
27
  &::after {
28
- .transition(transform);
29
-
30
28
  content: '';
31
29
  position: absolute;
32
30
  top: 0;
@@ -1,6 +1,6 @@
1
1
  tui-badge,
2
2
  [tuiBadge] {
3
- font-weight: bold;
3
+ font-weight: 600;
4
4
 
5
5
  &[data-size='s'] {
6
6
  font: var(--tui-font-text-xs);
@@ -12,6 +12,6 @@ tui-badge,
12
12
  --t-size: 1.75rem;
13
13
 
14
14
  font: var(--tui-font-text-s);
15
- font-weight: bold;
15
+ font-weight: 600;
16
16
  }
17
17
  }
@@ -15,6 +15,10 @@
15
15
  --t-radius: 1rem;
16
16
  }
17
17
 
18
+ &[data-size='s'] {
19
+ --t-size: 1.875rem;
20
+ }
21
+
18
22
  &[data-size='m'] {
19
23
  --t-radius: 0.75rem;
20
24
  }
@@ -5,10 +5,25 @@ tui-chip,
5
5
  &[data-size='s'] {
6
6
  --t-size: 1.875rem;
7
7
  --t-padding: 0.6875rem;
8
+
9
+ > img,
10
+ [tuiAvatar] {
11
+ margin-inline-start: -0.5rem;
12
+ }
8
13
  }
9
14
 
10
15
  &[data-size='m'] {
11
16
  --t-size: 2rem;
12
17
  --t-padding: 0.875rem;
18
+
19
+ > img,
20
+ [tuiAvatar] {
21
+ margin-inline-start: -0.625rem;
22
+ }
23
+ }
24
+
25
+ > img,
26
+ [tuiAvatar] {
27
+ border-radius: 100%;
13
28
  }
14
29
  }
@@ -0,0 +1,9 @@
1
+ tui-notification-middle {
2
+ min-inline-size: 6.5rem;
3
+ min-block-size: 6.5rem;
4
+ padding: 2rem 1.25rem;
5
+
6
+ ::ng-deep > * {
7
+ min-inline-size: 6.25rem;
8
+ }
9
+ }
@@ -0,0 +1,21 @@
1
+ [tuiToast] {
2
+ min-block-size: 3rem;
3
+ border-radius: 1.5rem;
4
+ font: var(--tui-font-text-m);
5
+
6
+ [tuiButton]:last-child {
7
+ margin: -0.1875rem -0.4375rem -0.1875rem 0;
8
+ }
9
+
10
+ &:has([tuiAvatar]) {
11
+ gap: 1rem;
12
+
13
+ [tuiAvatar] {
14
+ margin: 0 -0.25rem;
15
+ }
16
+
17
+ [tuiButton]:last-child {
18
+ margin-inline-end: 0;
19
+ }
20
+ }
21
+ }
@@ -23,7 +23,7 @@ input[tuiRadio] {
23
23
  &::before {
24
24
  display: block;
25
25
  transform: none;
26
- mask: var(--t-icon) center/100%;
26
+ mask: var(--t-icon) no-repeat center / 1rem;
27
27
  }
28
28
 
29
29
  &:invalid {
@@ -32,11 +32,9 @@ input[tuiRadio] {
32
32
  }
33
33
 
34
34
  &::before {
35
- --t-icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" preserveAspectRatio="xMidYMid meet" height="100%" width="100%"><path d="M12.3368 4.33683C12.7859 3.88772 13.5141 3.88772 13.9632 4.33683C14.4123 4.78593 14.4123 5.51407 13.9632 5.96317L6.96317 12.9632C6.51407 13.4123 5.78593 13.4123 5.33683 12.9632L2.33683 9.96317C1.88772 9.51407 1.88772 8.78593 2.33683 8.33683C2.78593 7.88772 3.51407 7.88772 3.96317 8.33683L6.15 10.5237L12.3368 4.33683Z" fill="black"/></svg>');
35
+ --t-icon: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" height="100%" width="100%"><path d="M12.3368 4.33683C12.7859 3.88772 13.5141 3.88772 13.9632 4.33683C14.4123 4.78593 14.4123 5.51407 13.9632 5.96317L6.96317 12.9632C6.51407 13.4123 5.78593 13.4123 5.33683 12.9632L2.33683 9.96317C1.88772 9.51407 1.88772 8.78593 2.33683 8.33683C2.78593 7.88772 3.51407 7.88772 3.96317 8.33683L6.15 10.5237L12.3368 4.33683Z" fill="black"/></svg>');
36
36
 
37
37
  display: none;
38
- inline-size: 1rem;
39
- block-size: 1rem;
40
38
  }
41
39
 
42
40
  &:not([tuiRadio]):indeterminate::before {
@@ -13,9 +13,8 @@ input[tuiSwitch] {
13
13
  }
14
14
 
15
15
  &::after {
16
- .transition(~'transform, width');
17
-
18
16
  right: auto;
17
+ transition-property: transform, inline-size;
19
18
  inline-size: 1.9375rem;
20
19
  block-size: 1.9375rem;
21
20
  border-radius: 2rem;
@@ -1,3 +1,4 @@
1
+ @import '@taiga-ui/core/styles/taiga-ui-local.less';
1
2
  @import 'common/search.less';
2
3
 
3
4
  [data-platform='android'] {
@@ -22,6 +23,12 @@
22
23
  tui-segmented > .tui-segmented_active:active {
23
24
  opacity: var(--tui-disabled-opacity);
24
25
  }
26
+
27
+ [tuiToast]:active {
28
+ .interactive({
29
+ transform: scale(0.95);
30
+ });
31
+ }
25
32
  }
26
33
 
27
34
  [data-platform='android'],
@@ -37,4 +44,6 @@
37
44
  @import 'common/segmented.less';
38
45
  @import 'common/header.less';
39
46
  @import 'common/message.less';
47
+ @import 'common/notification-middle.less';
48
+ @import 'common/toast.less';
40
49
  }
@@ -1,49 +0,0 @@
1
- import { NgForOf } from '@angular/common';
2
- import { ChangeDetectionStrategy, Component, Input, ViewChild, ViewChildren, } from '@angular/core';
3
- import { EMPTY_QUERY } from '@taiga-ui/cdk/constants';
4
- import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
5
- import { tuiHeaderOptionsProvider } from '@taiga-ui/layout/components/header';
6
- import * as i0 from "@angular/core";
7
- const OPTIONS = {
8
- duration: 20,
9
- easing: 'ease-in',
10
- fill: 'forwards',
11
- };
12
- class TuiBottomSheet {
13
- constructor() {
14
- this.elements = EMPTY_QUERY;
15
- this.el = tuiInjectElement();
16
- this.stops = ['1.5rem'];
17
- }
18
- onScroll() {
19
- const { clientHeight, scrollTop, scrollHeight } = this.el;
20
- const top = this.elements.get(0)?.nativeElement.clientHeight || 0;
21
- const max = this.content?.nativeElement.clientHeight || Infinity;
22
- const height = Math.min(clientHeight, max);
23
- const scrolled = Math.min(scrollTop, height - top);
24
- const transform = `translate3d(0, ${-1 * scrolled}px, 0)`;
25
- this.el.style.setProperty('--t-height', `${scrollHeight}px`);
26
- this.el.animate([{ transform }], OPTIONS);
27
- }
28
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiBottomSheet, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
29
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiBottomSheet, isStandalone: true, selector: "tui-bottom-sheet", inputs: { stops: "stops" }, host: { listeners: { "scroll.zoneless": "onScroll()", "resize": "onScroll()" }, properties: { "style.--t-initial": "stops[0]", "style.scroll-snap-type": "stops.length > 1 ? \"y mandatory\" : null" } }, providers: [tuiHeaderOptionsProvider({ size: 'h5' })], viewQueries: [{ propertyName: "content", first: true, predicate: ["content"], descendants: true }, { propertyName: "elements", predicate: ["stops"], descendants: true }], ngImport: i0, template: "<div\n *ngFor=\"let stop of stops\"\n #stops\n class=\"t-stop\"\n [style.top]=\"stop\"\n></div>\n<div\n #content\n class=\"t-content\"\n (resize)=\"onScroll()\"\n>\n <ng-content />\n</div>\n<div class=\"t-bottom\"></div>\n", styles: [":host{scrollbar-width:none;-ms-overflow-style:none;position:absolute;top:100%;left:0;right:0;display:block;block-size:calc(100% - 1rem);max-inline-size:40rem;margin:calc(-1 * var(--t-initial)) auto 0;background:var(--tui-background-elevation-1);border-top-left-radius:var(--tui-radius-l);border-top-right-radius:var(--tui-radius-l);overflow:auto;box-shadow:0 1rem var(--tui-background-elevation-1),var(--tui-shadow-medium)}:host::-webkit-scrollbar,:host::-webkit-scrollbar-thumb{display:none}:host:before{content:\"\";position:sticky;top:.625rem;left:50%;z-index:1;display:block;inset-inline-start:50%;inline-size:2rem;block-size:.25rem;margin-block-end:-.25rem;transform:translate(calc(-50% * var(--tui-inline)));background:var(--tui-background-elevation-1);box-shadow:0 0 0 20rem var(--tui-background-elevation-1),inset 0 0 0 1rem var(--tui-border-normal);border-radius:1rem;clip-path:polygon(-100vw -1rem,100vw -1rem,100vw calc(100% + .625rem),-100vw calc(100% + .625rem))}:host:after{content:\"\";position:absolute;top:calc(100% - var(--t-initial));inline-size:1rem;block-size:calc(var(--t-height) - 100% + var(--t-initial));scroll-snap-align:start;scroll-snap-stop:always}.t-content{position:sticky;top:0;padding:2.25rem 1rem 1.5rem}.t-bottom{block-size:calc(100% - var(--t-initial))}.t-stop{position:absolute;block-size:var(--t-initial);inline-size:1rem;pointer-events:none;transform:translateY(-100%);scroll-snap-align:start;scroll-snap-stop:always}.t-stop:last-child{scroll-snap-align:none}\n"], dependencies: [{ kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
30
- }
31
- export { TuiBottomSheet };
32
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiBottomSheet, decorators: [{
33
- type: Component,
34
- args: [{ standalone: true, selector: 'tui-bottom-sheet', imports: [NgForOf], changeDetection: ChangeDetectionStrategy.OnPush, providers: [tuiHeaderOptionsProvider({ size: 'h5' })], host: {
35
- '[style.--t-initial]': 'stops[0]',
36
- '[style.scroll-snap-type]': 'stops.length > 1 ? "y mandatory" : null',
37
- '(scroll.zoneless)': 'onScroll()',
38
- '(resize)': 'onScroll()',
39
- }, template: "<div\n *ngFor=\"let stop of stops\"\n #stops\n class=\"t-stop\"\n [style.top]=\"stop\"\n></div>\n<div\n #content\n class=\"t-content\"\n (resize)=\"onScroll()\"\n>\n <ng-content />\n</div>\n<div class=\"t-bottom\"></div>\n", styles: [":host{scrollbar-width:none;-ms-overflow-style:none;position:absolute;top:100%;left:0;right:0;display:block;block-size:calc(100% - 1rem);max-inline-size:40rem;margin:calc(-1 * var(--t-initial)) auto 0;background:var(--tui-background-elevation-1);border-top-left-radius:var(--tui-radius-l);border-top-right-radius:var(--tui-radius-l);overflow:auto;box-shadow:0 1rem var(--tui-background-elevation-1),var(--tui-shadow-medium)}:host::-webkit-scrollbar,:host::-webkit-scrollbar-thumb{display:none}:host:before{content:\"\";position:sticky;top:.625rem;left:50%;z-index:1;display:block;inset-inline-start:50%;inline-size:2rem;block-size:.25rem;margin-block-end:-.25rem;transform:translate(calc(-50% * var(--tui-inline)));background:var(--tui-background-elevation-1);box-shadow:0 0 0 20rem var(--tui-background-elevation-1),inset 0 0 0 1rem var(--tui-border-normal);border-radius:1rem;clip-path:polygon(-100vw -1rem,100vw -1rem,100vw calc(100% + .625rem),-100vw calc(100% + .625rem))}:host:after{content:\"\";position:absolute;top:calc(100% - var(--t-initial));inline-size:1rem;block-size:calc(var(--t-height) - 100% + var(--t-initial));scroll-snap-align:start;scroll-snap-stop:always}.t-content{position:sticky;top:0;padding:2.25rem 1rem 1.5rem}.t-bottom{block-size:calc(100% - var(--t-initial))}.t-stop{position:absolute;block-size:var(--t-initial);inline-size:1rem;pointer-events:none;transform:translateY(-100%);scroll-snap-align:start;scroll-snap-stop:always}.t-stop:last-child{scroll-snap-align:none}\n"] }]
40
- }], propDecorators: { elements: [{
41
- type: ViewChildren,
42
- args: ['stops']
43
- }], content: [{
44
- type: ViewChild,
45
- args: ['content']
46
- }], stops: [{
47
- type: Input
48
- }] } });
49
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm90dG9tLXNoZWV0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FkZG9uLW1vYmlsZS9jb21wb25lbnRzL2JvdHRvbS1zaGVldC9ib3R0b20t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Ww7XG4gICAgICAgIGNvbnN0IHRvcCA9IHRoaXMuZWxlbWVudHMuZ2V0KDApPy5uYXRpdmVFbGVtZW50LmNsaWVudEhlaWdodCB8fCAwO1xuICAgICAgICBjb25zdCBtYXggPSB0aGlzLmNvbnRlbnQ/Lm5hdGl2ZUVsZW1lbnQuY2xpZW50SGVpZ2h0IHx8IEluZmluaXR5O1xuICAgICAgICBjb25zdCBoZWlnaHQgPSBNYXRoLm1pbihjbGllbnRIZWlnaHQsIG1heCk7XG4gICAgICAgIGNvbnN0IHNjcm9sbGVkID0gTWF0aC5taW4oc2Nyb2xsVG9wLCBoZWlnaHQgLSB0b3ApO1xuICAgICAgICBjb25zdCB0cmFuc2Zvcm0gPSBgdHJhbnNsYXRlM2QoMCwgJHstMSAqIHNjcm9sbGVkfXB4LCAwKWA7XG5cbiAgICAgICAgdGhpcy5lbC5zdHlsZS5zZXRQcm9wZXJ0eSgnLS10LWhlaWdodCcsIGAke3Njcm9sbEhlaWdodH1weGApO1xuICAgICAgICB0aGlzLmVsLmFuaW1hdGUoW3t0cmFuc2Zvcm19XSwgT1BUSU9OUyk7XG4gICAgfVxufVxuIiwiPGRpdlxuICAgICpuZ0Zvcj1cImxldCBzdG9wIG9mIHN0b3BzXCJcbiAgICAjc3RvcHNcbiAgICBjbGFzcz1cInQtc3RvcFwiXG4gICAgW3N0eWxlLnRvcF09XCJzdG9wXCJcbj48L2Rpdj5cbjxkaXZcbiAgICAjY29udGVudFxuICAgIGNsYXNzPVwidC1jb250ZW50XCJcbiAgICAocmVzaXplKT1cIm9uU2Nyb2xsKClcIlxuPlxuICAgIDxuZy1jb250ZW50IC8+XG48L2Rpdj5cbjxkaXYgY2xhc3M9XCJ0LWJvdHRvbVwiPjwvZGl2PlxuIl19
@@ -1,2 +0,0 @@
1
- export * from './bottom-sheet.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hZGRvbi1tb2JpbGUvY29tcG9uZW50cy9ib3R0b20tc2hlZXQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYywwQkFBMEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYm90dG9tLXNoZWV0LmNvbXBvbmVudCc7XG4iXX0=
@@ -1,5 +0,0 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './index';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFpZ2EtdWktYWRkb24tbW9iaWxlLWNvbXBvbmVudHMtYm90dG9tLXNoZWV0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWRkb24tbW9iaWxlL2NvbXBvbmVudHMvYm90dG9tLXNoZWV0L3RhaWdhLXVpLWFkZG9uLW1vYmlsZS1jb21wb25lbnRzLWJvdHRvbS1zaGVldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsU0FBUyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2luZGV4JztcbiJdfQ==
@@ -1,10 +0,0 @@
1
- export * from '@taiga-ui/addon-mobile/components/bottom-sheet';
2
- export * from '@taiga-ui/addon-mobile/components/mobile-calendar';
3
- export * from '@taiga-ui/addon-mobile/components/mobile-calendar-dropdown';
4
- export * from '@taiga-ui/addon-mobile/components/mobile-calendar-sheet';
5
- export * from '@taiga-ui/addon-mobile/components/mobile-dialog';
6
- export * from '@taiga-ui/addon-mobile/components/pull-to-refresh';
7
- export * from '@taiga-ui/addon-mobile/components/sheet-dialog';
8
- export * from '@taiga-ui/addon-mobile/components/swipe-action';
9
- export * from '@taiga-ui/addon-mobile/components/tab-bar';
10
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hZGRvbi1tb2JpbGUvY29tcG9uZW50cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGdEQUFnRCxDQUFDO0FBQy9ELGNBQWMsbURBQW1ELENBQUM7QUFDbEUsY0FBYyw0REFBNEQsQ0FBQztBQUMzRSxjQUFjLHlEQUF5RCxDQUFDO0FBQ3hFLGNBQWMsaURBQWlELENBQUM7QUFDaEUsY0FBYyxtREFBbUQsQ0FBQztBQUNsRSxjQUFjLGdEQUFnRCxDQUFDO0FBQy9ELGNBQWMsZ0RBQWdELENBQUM7QUFDL0QsY0FBYywyQ0FBMkMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJ0B0YWlnYS11aS9hZGRvbi1tb2JpbGUvY29tcG9uZW50cy9ib3R0b20tc2hlZXQnO1xuZXhwb3J0ICogZnJvbSAnQHRhaWdhLXVpL2FkZG9uLW1vYmlsZS9jb21wb25lbnRzL21vYmlsZS1jYWxlbmRhcic7XG5leHBvcnQgKiBmcm9tICdAdGFpZ2EtdWkvYWRkb24tbW9iaWxlL2NvbXBvbmVudHMvbW9iaWxlLWNhbGVuZGFyLWRyb3Bkb3duJztcbmV4cG9ydCAqIGZyb20gJ0B0YWlnYS11aS9hZGRvbi1tb2JpbGUvY29tcG9uZW50cy9tb2JpbGUtY2FsZW5kYXItc2hlZXQnO1xuZXhwb3J0ICogZnJvbSAnQHRhaWdhLXVpL2FkZG9uLW1vYmlsZS9jb21wb25lbnRzL21vYmlsZS1kaWFsb2cnO1xuZXhwb3J0ICogZnJvbSAnQHRhaWdhLXVpL2FkZG9uLW1vYmlsZS9jb21wb25lbnRzL3B1bGwtdG8tcmVmcmVzaCc7XG5leHBvcnQgKiBmcm9tICdAdGFpZ2EtdWkvYWRkb24tbW9iaWxlL2NvbXBvbmVudHMvc2hlZXQtZGlhbG9nJztcbmV4cG9ydCAqIGZyb20gJ0B0YWlnYS11aS9hZGRvbi1tb2JpbGUvY29tcG9uZW50cy9zd2lwZS1hY3Rpb24nO1xuZXhwb3J0ICogZnJvbSAnQHRhaWdhLXVpL2FkZG9uLW1vYmlsZS9jb21wb25lbnRzL3RhYi1iYXInO1xuIl19
@@ -1,5 +0,0 @@
1
- export * from './mobile-calendar.component';
2
- export * from './mobile-calendar.const';
3
- export * from './mobile-calendar.providers';
4
- export * from './mobile-calendar.strategy';
5
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hZGRvbi1tb2JpbGUvY29tcG9uZW50cy9tb2JpbGUtY2FsZW5kYXIvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyw2QkFBNkIsQ0FBQztBQUM1QyxjQUFjLHlCQUF5QixDQUFDO0FBQ3hDLGNBQWMsNkJBQTZCLENBQUM7QUFDNUMsY0FBYyw0QkFBNEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbW9iaWxlLWNhbGVuZGFyLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL21vYmlsZS1jYWxlbmRhci5jb25zdCc7XG5leHBvcnQgKiBmcm9tICcuL21vYmlsZS1jYWxlbmRhci5wcm92aWRlcnMnO1xuZXhwb3J0ICogZnJvbSAnLi9tb2JpbGUtY2FsZW5kYXIuc3RyYXRlZ3knO1xuIl19