@taiga-ui/addon-mobile 2.59.1 → 3.0.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/taiga-ui-addon-mobile-components-mobile-calendar-dialog.umd.js +69 -283
- package/bundles/taiga-ui-addon-mobile-components-mobile-calendar-dialog.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-components-mobile-calendar.umd.js +534 -406
- package/bundles/taiga-ui-addon-mobile-components-mobile-calendar.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-components-mobile-dialog.umd.js +402 -293
- package/bundles/taiga-ui-addon-mobile-components-mobile-dialog.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-components-pull-to-refresh.umd.js +450 -337
- package/bundles/taiga-ui-addon-mobile-components-pull-to-refresh.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-components-sheet.umd.js +875 -698
- package/bundles/taiga-ui-addon-mobile-components-sheet.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-components-theme-android.umd.js +374 -266
- package/bundles/taiga-ui-addon-mobile-components-theme-android.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-components-theme-ios.umd.js +374 -266
- package/bundles/taiga-ui-addon-mobile-components-theme-ios.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-components.umd.js +17 -31
- package/bundles/taiga-ui-addon-mobile-components.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-const.umd.js +9 -254
- package/bundles/taiga-ui-addon-mobile-const.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-directives-elastic-sticky.umd.js +419 -308
- package/bundles/taiga-ui-addon-mobile-directives-elastic-sticky.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-directives-mobile-tabs.umd.js +118 -325
- package/bundles/taiga-ui-addon-mobile-directives-mobile-tabs.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-directives-ripple.umd.js +121 -338
- package/bundles/taiga-ui-addon-mobile-directives-ripple.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-directives-sidebar.umd.js +434 -319
- package/bundles/taiga-ui-addon-mobile-directives-sidebar.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-directives-touchable.umd.js +403 -287
- package/bundles/taiga-ui-addon-mobile-directives-touchable.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-directives.umd.js +13 -23
- package/bundles/taiga-ui-addon-mobile-directives.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-interfaces.umd.js +2 -2
- package/bundles/taiga-ui-addon-mobile-interfaces.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.umd.js +405 -283
- package/bundles/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-internal.umd.js +5 -7
- package/bundles/taiga-ui-addon-mobile-internal.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-tokens.umd.js +7 -3
- package/bundles/taiga-ui-addon-mobile-tokens.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-types.umd.js +2 -2
- package/bundles/taiga-ui-addon-mobile-types.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-utils.umd.js +8 -10
- package/bundles/taiga-ui-addon-mobile-utils.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile.umd.js +24 -30
- package/bundles/taiga-ui-addon-mobile.umd.js.map +1 -1
- package/components/mobile-calendar/mobile-calendar.component.d.ts +21 -2
- package/components/mobile-calendar/mobile-calendar.module.d.ts +12 -0
- package/components/mobile-calendar/mobile-calendar.providers.d.ts +1 -2
- package/components/mobile-calendar/package.json +2 -5
- package/components/mobile-calendar/taiga-ui-addon-mobile-components-mobile-calendar.d.ts +1 -0
- package/components/mobile-calendar-dialog/mobile-calendar-dialog.component.d.ts +3 -0
- package/components/mobile-calendar-dialog/mobile-calendar-dialog.module.d.ts +6 -2
- package/components/mobile-calendar-dialog/package.json +2 -5
- package/components/mobile-calendar-dialog/taiga-ui-addon-mobile-components-mobile-calendar-dialog.d.ts +1 -0
- package/components/mobile-dialog/mobile-dialog.component.d.ts +3 -0
- package/components/mobile-dialog/mobile-dialog.module.d.ts +9 -0
- package/components/mobile-dialog/mobile-dialog.service.d.ts +4 -1
- package/components/mobile-dialog/package.json +2 -5
- package/components/mobile-dialog/taiga-ui-addon-mobile-components-mobile-dialog.d.ts +1 -0
- package/components/package.json +2 -5
- package/components/pull-to-refresh/loader-android/loader-android.component.d.ts +3 -0
- package/components/pull-to-refresh/loader-ios/loader-ios.component.d.ts +3 -0
- package/components/pull-to-refresh/package.json +2 -5
- package/components/pull-to-refresh/pull-to-refresh.component.d.ts +3 -0
- package/components/pull-to-refresh/pull-to-refresh.module.d.ts +10 -0
- package/components/pull-to-refresh/pull-to-refresh.providers.d.ts +1 -2
- package/components/pull-to-refresh/taiga-ui-addon-mobile-components-pull-to-refresh.d.ts +1 -0
- package/components/sheet/components/sheet/sheet.component.d.ts +5 -2
- package/components/sheet/components/sheet/sheet.providers.d.ts +1 -8
- package/components/sheet/components/sheet-bar/sheet-bar.component.d.ts +5 -2
- package/components/sheet/components/sheet-heading/sheet-heading.component.d.ts +3 -0
- package/components/sheet/components/sheets-host/sheets-host.component.d.ts +3 -0
- package/components/sheet/directives/sheet-close/sheet-close.directive.d.ts +3 -0
- package/components/sheet/directives/sheet-stop/sheet-stop.directive.d.ts +3 -0
- package/components/sheet/directives/sheet-top/sheet-top.directive.d.ts +5 -2
- package/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.d.ts +3 -0
- package/components/sheet/package.json +2 -5
- package/components/sheet/sheet-options.d.ts +1 -1
- package/components/sheet/sheet-tokens.d.ts +5 -0
- package/components/sheet/sheet.d.ts +4 -0
- package/components/sheet/sheet.directive.d.ts +3 -0
- package/components/sheet/sheet.module.d.ts +17 -0
- package/components/sheet/sheet.service.d.ts +3 -0
- package/components/sheet/taiga-ui-addon-mobile-components-sheet.d.ts +1 -0
- package/components/taiga-ui-addon-mobile-components.d.ts +1 -0
- package/components/theme-android/package.json +2 -5
- package/components/theme-android/taiga-ui-addon-mobile-components-theme-android.d.ts +1 -0
- package/components/theme-android/theme-android.component.d.ts +3 -0
- package/components/theme-android/theme-android.module.d.ts +5 -0
- package/components/theme-ios/package.json +2 -5
- package/components/theme-ios/taiga-ui-addon-mobile-components-theme-ios.d.ts +1 -0
- package/components/theme-ios/theme-ios.component.d.ts +3 -0
- package/components/theme-ios/theme-ios.module.d.ts +5 -0
- package/const/package.json +2 -5
- package/const/taiga-ui-addon-mobile-const.d.ts +1 -0
- package/directives/elastic-sticky/elastic-sticky.directive.d.ts +3 -0
- package/directives/elastic-sticky/elastic-sticky.module.d.ts +5 -0
- package/directives/elastic-sticky/elastic-sticky.service.d.ts +3 -0
- package/directives/elastic-sticky/package.json +2 -5
- package/directives/elastic-sticky/taiga-ui-addon-mobile-directives-elastic-sticky.d.ts +1 -0
- package/directives/mobile-tabs/mobile-tabs.component.d.ts +3 -0
- package/directives/mobile-tabs/mobile-tabs.directive.d.ts +3 -0
- package/directives/mobile-tabs/mobile-tabs.module.d.ts +6 -0
- package/directives/mobile-tabs/package.json +2 -5
- package/directives/mobile-tabs/taiga-ui-addon-mobile-directives-mobile-tabs.d.ts +1 -0
- package/directives/package.json +2 -5
- package/directives/ripple/package.json +2 -5
- package/directives/ripple/ripple-styles.component.d.ts +3 -0
- package/directives/ripple/ripple.directive.d.ts +3 -0
- package/directives/ripple/ripple.module.d.ts +6 -0
- package/directives/ripple/ripple.providers.d.ts +1 -3
- package/directives/ripple/taiga-ui-addon-mobile-directives-ripple.d.ts +1 -1
- package/directives/sidebar/package.json +2 -5
- package/directives/sidebar/sidebar.component.d.ts +3 -0
- package/directives/sidebar/sidebar.directive.d.ts +7 -4
- package/directives/sidebar/sidebar.module.d.ts +8 -0
- package/directives/sidebar/taiga-ui-addon-mobile-directives-sidebar.d.ts +1 -0
- package/directives/taiga-ui-addon-mobile-directives.d.ts +1 -0
- package/directives/touchable/package.json +2 -5
- package/directives/touchable/taiga-ui-addon-mobile-directives-touchable.d.ts +1 -0
- package/directives/touchable/touchable.directive.d.ts +6 -3
- package/directives/touchable/touchable.module.d.ts +5 -0
- package/esm2015/components/index.js +1 -1
- package/esm2015/components/mobile-calendar/index.js +1 -1
- package/esm2015/components/mobile-calendar/mobile-calendar.component.js +78 -59
- package/esm2015/components/mobile-calendar/mobile-calendar.const.js +1 -1
- package/esm2015/components/mobile-calendar/mobile-calendar.module.js +34 -13
- package/esm2015/components/mobile-calendar/mobile-calendar.providers.js +7 -9
- package/esm2015/components/mobile-calendar/mobile-calendar.strategy.js +1 -1
- package/esm2015/components/mobile-calendar/taiga-ui-addon-mobile-components-mobile-calendar.js +1 -1
- package/esm2015/components/mobile-calendar-dialog/index.js +1 -1
- package/esm2015/components/mobile-calendar-dialog/mobile-calendar-dialog.component.js +19 -17
- package/esm2015/components/mobile-calendar-dialog/mobile-calendar-dialog.module.js +27 -21
- package/esm2015/components/mobile-calendar-dialog/taiga-ui-addon-mobile-components-mobile-calendar-dialog.js +1 -1
- package/esm2015/components/mobile-dialog/index.js +2 -1
- package/esm2015/components/mobile-dialog/mobile-dialog-options.js +2 -1
- package/esm2015/components/mobile-dialog/mobile-dialog.component.js +28 -23
- package/esm2015/components/mobile-dialog/mobile-dialog.module.js +17 -21
- package/esm2015/components/mobile-dialog/mobile-dialog.service.js +11 -12
- package/esm2015/components/mobile-dialog/taiga-ui-addon-mobile-components-mobile-dialog.js +1 -1
- package/esm2015/components/pull-to-refresh/index.js +1 -1
- package/esm2015/components/pull-to-refresh/loader-android/loader-android.component.js +21 -19
- package/esm2015/components/pull-to-refresh/loader-ios/loader-ios.component.js +19 -16
- package/esm2015/components/pull-to-refresh/pull-to-refresh.component.js +31 -24
- package/esm2015/components/pull-to-refresh/pull-to-refresh.module.js +21 -16
- package/esm2015/components/pull-to-refresh/pull-to-refresh.providers.js +15 -14
- package/esm2015/components/pull-to-refresh/taiga-ui-addon-mobile-components-pull-to-refresh.js +1 -1
- package/esm2015/components/sheet/components/sheet/sheet.component.js +66 -57
- package/esm2015/components/sheet/components/sheet/sheet.providers.js +17 -21
- package/esm2015/components/sheet/components/sheet-bar/sheet-bar.component.js +31 -28
- package/esm2015/components/sheet/components/sheet-heading/sheet-heading.component.js +29 -23
- package/esm2015/components/sheet/components/sheets-host/sheets-host.component.js +33 -24
- package/esm2015/components/sheet/directives/sheet-close/sheet-close.directive.js +38 -32
- package/esm2015/components/sheet/directives/sheet-stop/sheet-stop.directive.js +30 -25
- package/esm2015/components/sheet/directives/sheet-top/sheet-top.directive.js +38 -34
- package/esm2015/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.js +40 -39
- package/esm2015/components/sheet/index.js +2 -1
- package/esm2015/components/sheet/ios.hacks.js +7 -7
- package/esm2015/components/sheet/sheet-options.js +3 -4
- package/esm2015/components/sheet/sheet-tokens.js +5 -0
- package/esm2015/components/sheet/sheet.directive.js +30 -23
- package/esm2015/components/sheet/sheet.js +2 -1
- package/esm2015/components/sheet/sheet.module.js +55 -29
- package/esm2015/components/sheet/sheet.service.js +14 -16
- package/esm2015/components/sheet/taiga-ui-addon-mobile-components-sheet.js +1 -1
- package/esm2015/components/taiga-ui-addon-mobile-components.js +1 -1
- package/esm2015/components/theme-android/index.js +1 -1
- package/esm2015/components/theme-android/taiga-ui-addon-mobile-components-theme-android.js +1 -1
- package/esm2015/components/theme-android/theme-android.component.js +16 -15
- package/esm2015/components/theme-android/theme-android.module.js +14 -11
- package/esm2015/components/theme-ios/index.js +1 -1
- package/esm2015/components/theme-ios/taiga-ui-addon-mobile-components-theme-ios.js +1 -1
- package/esm2015/components/theme-ios/theme-ios.component.js +16 -15
- package/esm2015/components/theme-ios/theme-ios.module.js +14 -11
- package/esm2015/const/index.js +1 -1
- package/esm2015/const/mobile-alert-options.js +1 -1
- package/esm2015/const/taiga-ui-addon-mobile-const.js +1 -1
- package/esm2015/directives/elastic-sticky/elastic-sticky.directive.js +20 -19
- package/esm2015/directives/elastic-sticky/elastic-sticky.module.js +14 -11
- package/esm2015/directives/elastic-sticky/elastic-sticky.service.js +32 -29
- package/esm2015/directives/elastic-sticky/index.js +1 -1
- package/esm2015/directives/elastic-sticky/taiga-ui-addon-mobile-directives-elastic-sticky.js +1 -1
- package/esm2015/directives/index.js +1 -1
- package/esm2015/directives/mobile-tabs/index.js +1 -1
- package/esm2015/directives/mobile-tabs/mobile-tabs.component.js +14 -12
- package/esm2015/directives/mobile-tabs/mobile-tabs.directive.js +36 -28
- package/esm2015/directives/mobile-tabs/mobile-tabs.module.js +15 -12
- package/esm2015/directives/mobile-tabs/taiga-ui-addon-mobile-directives-mobile-tabs.js +1 -1
- package/esm2015/directives/ripple/index.js +1 -1
- package/esm2015/directives/ripple/ripple-styles.component.js +14 -12
- package/esm2015/directives/ripple/ripple.directive.js +40 -33
- package/esm2015/directives/ripple/ripple.module.js +15 -12
- package/esm2015/directives/ripple/ripple.providers.js +29 -33
- package/esm2015/directives/ripple/taiga-ui-addon-mobile-directives-ripple.js +1 -2
- package/esm2015/directives/sidebar/index.js +1 -1
- package/esm2015/directives/sidebar/sidebar.component.js +31 -27
- package/esm2015/directives/sidebar/sidebar.directive.js +39 -38
- package/esm2015/directives/sidebar/sidebar.module.js +16 -13
- package/esm2015/directives/sidebar/taiga-ui-addon-mobile-directives-sidebar.js +1 -1
- package/esm2015/directives/taiga-ui-addon-mobile-directives.js +1 -1
- package/esm2015/directives/touchable/index.js +1 -1
- package/esm2015/directives/touchable/taiga-ui-addon-mobile-directives-touchable.js +1 -1
- package/esm2015/directives/touchable/touchable.directive.js +39 -29
- package/esm2015/directives/touchable/touchable.module.js +14 -11
- package/esm2015/index.js +3 -2
- package/esm2015/interfaces/index.js +2 -1
- package/esm2015/interfaces/mobile-alert-data.js +2 -1
- package/esm2015/interfaces/taiga-ui-addon-mobile-interfaces.js +2 -1
- package/esm2015/internal/index.js +1 -1
- package/esm2015/internal/primitive-calendar-mobile/index.js +1 -1
- package/esm2015/internal/primitive-calendar-mobile/primitive-calendar-mobile.component.js +28 -24
- package/esm2015/internal/primitive-calendar-mobile/primitive-calendar-mobile.module.js +24 -13
- package/esm2015/internal/primitive-calendar-mobile/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js +1 -1
- package/esm2015/internal/taiga-ui-addon-mobile-internal.js +1 -1
- package/esm2015/taiga-ui-addon-mobile.js +1 -1
- package/esm2015/tokens/index.js +1 -1
- package/esm2015/tokens/loaded.js +1 -1
- package/esm2015/tokens/taiga-ui-addon-mobile-tokens.js +1 -1
- package/esm2015/types/index.js +2 -1
- package/esm2015/types/taiga-ui-addon-mobile-types.js +2 -1
- package/esm2015/types/touch-mode.js +2 -1
- package/esm2015/utils/find-touch-index.js +2 -7
- package/esm2015/utils/index.js +1 -1
- package/esm2015/utils/taiga-ui-addon-mobile-utils.js +1 -1
- package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar-dialog.js +45 -35
- package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar-dialog.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar.js +117 -77
- package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-components-mobile-dialog.js +54 -50
- package/fesm2015/taiga-ui-addon-mobile-components-mobile-dialog.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-components-pull-to-refresh.js +97 -80
- package/fesm2015/taiga-ui-addon-mobile-components-pull-to-refresh.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-components-sheet.js +437 -370
- package/fesm2015/taiga-ui-addon-mobile-components-sheet.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-components-theme-android.js +27 -21
- package/fesm2015/taiga-ui-addon-mobile-components-theme-android.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-components-theme-ios.js +27 -21
- package/fesm2015/taiga-ui-addon-mobile-components-theme-ios.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-components.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-const.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-directives-elastic-sticky.js +61 -52
- package/fesm2015/taiga-ui-addon-mobile-directives-elastic-sticky.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-directives-mobile-tabs.js +61 -45
- package/fesm2015/taiga-ui-addon-mobile-directives-mobile-tabs.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-directives-ripple.js +93 -82
- package/fesm2015/taiga-ui-addon-mobile-directives-ripple.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-directives-sidebar.js +79 -70
- package/fesm2015/taiga-ui-addon-mobile-directives-sidebar.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-directives-touchable.js +51 -36
- package/fesm2015/taiga-ui-addon-mobile-directives-touchable.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-directives.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-interfaces.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js +50 -33
- package/fesm2015/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-internal.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-tokens.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-types.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-utils.js +2 -7
- package/fesm2015/taiga-ui-addon-mobile-utils.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile.js +2 -1
- package/fesm2015/taiga-ui-addon-mobile.js.map +1 -1
- package/index.d.ts +0 -1
- package/interfaces/package.json +2 -5
- package/interfaces/taiga-ui-addon-mobile-interfaces.d.ts +1 -0
- package/internal/package.json +2 -5
- package/internal/primitive-calendar-mobile/package.json +2 -5
- package/internal/primitive-calendar-mobile/primitive-calendar-mobile.component.d.ts +3 -1
- package/internal/primitive-calendar-mobile/primitive-calendar-mobile.module.d.ts +8 -0
- package/internal/primitive-calendar-mobile/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.d.ts +1 -0
- package/internal/taiga-ui-addon-mobile-internal.d.ts +1 -0
- package/package.json +12 -15
- package/taiga-ui-addon-mobile.d.ts +1 -0
- package/tokens/package.json +2 -5
- package/tokens/taiga-ui-addon-mobile-tokens.d.ts +1 -0
- package/types/package.json +2 -5
- package/types/taiga-ui-addon-mobile-types.d.ts +1 -0
- package/types/touch-mode.d.ts +1 -1
- package/utils/find-touch-index.d.ts +1 -5
- package/utils/package.json +2 -5
- package/utils/taiga-ui-addon-mobile-utils.d.ts +1 -0
- package/bundles/taiga-ui-addon-mobile-components-mobile-calendar-dialog.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-mobile-components-mobile-calendar-dialog.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-components-mobile-calendar.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-mobile-components-mobile-calendar.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-components-mobile-dialog.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-mobile-components-mobile-dialog.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-components-pull-to-refresh.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-mobile-components-pull-to-refresh.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-components-sheet.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-mobile-components-sheet.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-components-theme-android.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-mobile-components-theme-android.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-components-theme-ios.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-mobile-components-theme-ios.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-components.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-mobile-components.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-const.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-mobile-const.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-directives-elastic-sticky.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-mobile-directives-elastic-sticky.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-directives-mobile-tabs.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-mobile-directives-mobile-tabs.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-directives-ripple.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-mobile-directives-ripple.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-directives-sidebar.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-mobile-directives-sidebar.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-directives-touchable.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-mobile-directives-touchable.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-directives.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-mobile-directives.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-enums.umd.js +0 -20
- package/bundles/taiga-ui-addon-mobile-enums.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-enums.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-mobile-enums.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-interfaces.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-mobile-interfaces.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-internal.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-mobile-internal.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-tokens.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-mobile-tokens.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-types.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-mobile-types.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-utils.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-mobile-utils.umd.min.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile.umd.min.js +0 -2
- package/bundles/taiga-ui-addon-mobile.umd.min.js.map +0 -1
- package/components/mobile-calendar/taiga-ui-addon-mobile-components-mobile-calendar.metadata.json +0 -1
- package/components/mobile-calendar-dialog/taiga-ui-addon-mobile-components-mobile-calendar-dialog.metadata.json +0 -1
- package/components/mobile-dialog/taiga-ui-addon-mobile-components-mobile-dialog.metadata.json +0 -1
- package/components/pull-to-refresh/taiga-ui-addon-mobile-components-pull-to-refresh.metadata.json +0 -1
- package/components/sheet/taiga-ui-addon-mobile-components-sheet.metadata.json +0 -1
- package/components/taiga-ui-addon-mobile-components.metadata.json +0 -1
- package/components/theme-android/taiga-ui-addon-mobile-components-theme-android.metadata.json +0 -1
- package/components/theme-ios/taiga-ui-addon-mobile-components-theme-ios.metadata.json +0 -1
- package/const/taiga-ui-addon-mobile-const.metadata.json +0 -1
- package/directives/elastic-sticky/taiga-ui-addon-mobile-directives-elastic-sticky.metadata.json +0 -1
- package/directives/mobile-tabs/taiga-ui-addon-mobile-directives-mobile-tabs.metadata.json +0 -1
- package/directives/ripple/taiga-ui-addon-mobile-directives-ripple.metadata.json +0 -1
- package/directives/sidebar/taiga-ui-addon-mobile-directives-sidebar.metadata.json +0 -1
- package/directives/taiga-ui-addon-mobile-directives.metadata.json +0 -1
- package/directives/touchable/taiga-ui-addon-mobile-directives-touchable.metadata.json +0 -1
- package/enums/index.d.ts +0 -1
- package/enums/package.json +0 -13
- package/enums/taiga-ui-addon-mobile-enums.d.ts +0 -4
- package/enums/taiga-ui-addon-mobile-enums.metadata.json +0 -1
- package/enums/touch-mode.d.ts +0 -8
- package/esm2015/enums/index.js +0 -2
- package/esm2015/enums/taiga-ui-addon-mobile-enums.js +0 -5
- package/esm2015/enums/touch-mode.js +0 -10
- package/esm5/components/index.js +0 -8
- package/esm5/components/mobile-calendar/index.js +0 -6
- package/esm5/components/mobile-calendar/mobile-calendar.component.js +0 -295
- package/esm5/components/mobile-calendar/mobile-calendar.const.js +0 -25
- package/esm5/components/mobile-calendar/mobile-calendar.module.js +0 -34
- package/esm5/components/mobile-calendar/mobile-calendar.providers.js +0 -31
- package/esm5/components/mobile-calendar/mobile-calendar.strategy.js +0 -134
- package/esm5/components/mobile-calendar/taiga-ui-addon-mobile-components-mobile-calendar.js +0 -5
- package/esm5/components/mobile-calendar-dialog/index.js +0 -3
- package/esm5/components/mobile-calendar-dialog/mobile-calendar-dialog.component.js +0 -57
- package/esm5/components/mobile-calendar-dialog/mobile-calendar-dialog.module.js +0 -28
- package/esm5/components/mobile-calendar-dialog/taiga-ui-addon-mobile-components-mobile-calendar-dialog.js +0 -5
- package/esm5/components/mobile-dialog/index.js +0 -4
- package/esm5/components/mobile-dialog/mobile-dialog-options.js +0 -1
- package/esm5/components/mobile-dialog/mobile-dialog.component.js +0 -34
- package/esm5/components/mobile-dialog/mobile-dialog.module.js +0 -31
- package/esm5/components/mobile-dialog/mobile-dialog.service.js +0 -34
- package/esm5/components/mobile-dialog/taiga-ui-addon-mobile-components-mobile-dialog.js +0 -5
- package/esm5/components/pull-to-refresh/index.js +0 -6
- package/esm5/components/pull-to-refresh/loader-android/loader-android.component.js +0 -43
- package/esm5/components/pull-to-refresh/loader-ios/loader-ios.component.js +0 -41
- package/esm5/components/pull-to-refresh/pull-to-refresh.component.js +0 -56
- package/esm5/components/pull-to-refresh/pull-to-refresh.module.js +0 -26
- package/esm5/components/pull-to-refresh/pull-to-refresh.providers.js +0 -32
- package/esm5/components/pull-to-refresh/taiga-ui-addon-mobile-components-pull-to-refresh.js +0 -5
- package/esm5/components/sheet/components/sheet/sheet.component.js +0 -150
- package/esm5/components/sheet/components/sheet/sheet.providers.js +0 -42
- package/esm5/components/sheet/components/sheet-bar/sheet-bar.component.js +0 -43
- package/esm5/components/sheet/components/sheet-heading/sheet-heading.component.js +0 -40
- package/esm5/components/sheet/components/sheets-host/sheets-host.component.js +0 -40
- package/esm5/components/sheet/directives/sheet-close/sheet-close.directive.js +0 -56
- package/esm5/components/sheet/directives/sheet-stop/sheet-stop.directive.js +0 -46
- package/esm5/components/sheet/directives/sheet-top/sheet-top.directive.js +0 -56
- package/esm5/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.js +0 -93
- package/esm5/components/sheet/index.js +0 -15
- package/esm5/components/sheet/ios.hacks.js +0 -42
- package/esm5/components/sheet/sheet-options.js +0 -16
- package/esm5/components/sheet/sheet.directive.js +0 -58
- package/esm5/components/sheet/sheet.js +0 -1
- package/esm5/components/sheet/sheet.module.js +0 -52
- package/esm5/components/sheet/sheet.service.js +0 -42
- package/esm5/components/sheet/taiga-ui-addon-mobile-components-sheet.js +0 -5
- package/esm5/components/taiga-ui-addon-mobile-components.js +0 -5
- package/esm5/components/theme-android/index.js +0 -3
- package/esm5/components/theme-android/taiga-ui-addon-mobile-components-theme-android.js +0 -5
- package/esm5/components/theme-android/theme-android.component.js +0 -22
- package/esm5/components/theme-android/theme-android.module.js +0 -16
- package/esm5/components/theme-ios/index.js +0 -3
- package/esm5/components/theme-ios/taiga-ui-addon-mobile-components-theme-ios.js +0 -5
- package/esm5/components/theme-ios/theme-ios.component.js +0 -22
- package/esm5/components/theme-ios/theme-ios.module.js +0 -16
- package/esm5/const/index.js +0 -2
- package/esm5/const/mobile-alert-options.js +0 -8
- package/esm5/const/taiga-ui-addon-mobile-const.js +0 -5
- package/esm5/directives/elastic-sticky/elastic-sticky.directive.js +0 -26
- package/esm5/directives/elastic-sticky/elastic-sticky.module.js +0 -16
- package/esm5/directives/elastic-sticky/elastic-sticky.service.js +0 -58
- package/esm5/directives/elastic-sticky/index.js +0 -4
- package/esm5/directives/elastic-sticky/taiga-ui-addon-mobile-directives-elastic-sticky.js +0 -5
- package/esm5/directives/index.js +0 -6
- package/esm5/directives/mobile-tabs/index.js +0 -4
- package/esm5/directives/mobile-tabs/mobile-tabs.component.js +0 -16
- package/esm5/directives/mobile-tabs/mobile-tabs.directive.js +0 -51
- package/esm5/directives/mobile-tabs/mobile-tabs.module.js +0 -18
- package/esm5/directives/mobile-tabs/taiga-ui-addon-mobile-directives-mobile-tabs.js +0 -5
- package/esm5/directives/ripple/index.js +0 -4
- package/esm5/directives/ripple/ripple-styles.component.js +0 -16
- package/esm5/directives/ripple/ripple.directive.js +0 -63
- package/esm5/directives/ripple/ripple.module.js +0 -18
- package/esm5/directives/ripple/ripple.providers.js +0 -54
- package/esm5/directives/ripple/taiga-ui-addon-mobile-directives-ripple.js +0 -6
- package/esm5/directives/sidebar/index.js +0 -4
- package/esm5/directives/sidebar/sidebar.component.js +0 -75
- package/esm5/directives/sidebar/sidebar.directive.js +0 -78
- package/esm5/directives/sidebar/sidebar.module.js +0 -21
- package/esm5/directives/sidebar/taiga-ui-addon-mobile-directives-sidebar.js +0 -5
- package/esm5/directives/taiga-ui-addon-mobile-directives.js +0 -5
- package/esm5/directives/touchable/index.js +0 -3
- package/esm5/directives/touchable/taiga-ui-addon-mobile-directives-touchable.js +0 -5
- package/esm5/directives/touchable/touchable.directive.js +0 -90
- package/esm5/directives/touchable/touchable.module.js +0 -16
- package/esm5/enums/index.js +0 -2
- package/esm5/enums/taiga-ui-addon-mobile-enums.js +0 -5
- package/esm5/enums/touch-mode.js +0 -10
- package/esm5/index.js +0 -7
- package/esm5/interfaces/index.js +0 -1
- package/esm5/interfaces/mobile-alert-data.js +0 -1
- package/esm5/interfaces/taiga-ui-addon-mobile-interfaces.js +0 -4
- package/esm5/internal/index.js +0 -2
- package/esm5/internal/primitive-calendar-mobile/index.js +0 -3
- package/esm5/internal/primitive-calendar-mobile/primitive-calendar-mobile.component.js +0 -37
- package/esm5/internal/primitive-calendar-mobile/primitive-calendar-mobile.module.js +0 -28
- package/esm5/internal/primitive-calendar-mobile/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js +0 -5
- package/esm5/internal/taiga-ui-addon-mobile-internal.js +0 -5
- package/esm5/taiga-ui-addon-mobile.js +0 -5
- package/esm5/tokens/index.js +0 -2
- package/esm5/tokens/loaded.js +0 -6
- package/esm5/tokens/taiga-ui-addon-mobile-tokens.js +0 -5
- package/esm5/types/index.js +0 -1
- package/esm5/types/taiga-ui-addon-mobile-types.js +0 -4
- package/esm5/types/touch-mode.js +0 -1
- package/esm5/utils/find-touch-index.js +0 -15
- package/esm5/utils/index.js +0 -2
- package/esm5/utils/taiga-ui-addon-mobile-utils.js +0 -5
- package/fesm2015/taiga-ui-addon-mobile-enums.js +0 -16
- package/fesm2015/taiga-ui-addon-mobile-enums.js.map +0 -1
- package/fesm5/taiga-ui-addon-mobile-components-mobile-calendar-dialog.js +0 -87
- package/fesm5/taiga-ui-addon-mobile-components-mobile-calendar-dialog.js.map +0 -1
- package/fesm5/taiga-ui-addon-mobile-components-mobile-calendar.js +0 -502
- package/fesm5/taiga-ui-addon-mobile-components-mobile-calendar.js.map +0 -1
- package/fesm5/taiga-ui-addon-mobile-components-mobile-dialog.js +0 -91
- package/fesm5/taiga-ui-addon-mobile-components-mobile-dialog.js.map +0 -1
- package/fesm5/taiga-ui-addon-mobile-components-pull-to-refresh.js +0 -185
- package/fesm5/taiga-ui-addon-mobile-components-pull-to-refresh.js.map +0 -1
- package/fesm5/taiga-ui-addon-mobile-components-sheet.js +0 -680
- package/fesm5/taiga-ui-addon-mobile-components-sheet.js.map +0 -1
- package/fesm5/taiga-ui-addon-mobile-components-theme-android.js +0 -40
- package/fesm5/taiga-ui-addon-mobile-components-theme-android.js.map +0 -1
- package/fesm5/taiga-ui-addon-mobile-components-theme-ios.js +0 -40
- package/fesm5/taiga-ui-addon-mobile-components-theme-ios.js.map +0 -1
- package/fesm5/taiga-ui-addon-mobile-components.js +0 -12
- package/fesm5/taiga-ui-addon-mobile-components.js.map +0 -1
- package/fesm5/taiga-ui-addon-mobile-const.js +0 -15
- package/fesm5/taiga-ui-addon-mobile-const.js.map +0 -1
- package/fesm5/taiga-ui-addon-mobile-directives-elastic-sticky.js +0 -97
- package/fesm5/taiga-ui-addon-mobile-directives-elastic-sticky.js.map +0 -1
- package/fesm5/taiga-ui-addon-mobile-directives-mobile-tabs.js +0 -82
- package/fesm5/taiga-ui-addon-mobile-directives-mobile-tabs.js.map +0 -1
- package/fesm5/taiga-ui-addon-mobile-directives-ripple.js +0 -143
- package/fesm5/taiga-ui-addon-mobile-directives-ripple.js.map +0 -1
- package/fesm5/taiga-ui-addon-mobile-directives-sidebar.js +0 -168
- package/fesm5/taiga-ui-addon-mobile-directives-sidebar.js.map +0 -1
- package/fesm5/taiga-ui-addon-mobile-directives-touchable.js +0 -108
- package/fesm5/taiga-ui-addon-mobile-directives-touchable.js.map +0 -1
- package/fesm5/taiga-ui-addon-mobile-directives.js +0 -10
- package/fesm5/taiga-ui-addon-mobile-directives.js.map +0 -1
- package/fesm5/taiga-ui-addon-mobile-enums.js +0 -16
- package/fesm5/taiga-ui-addon-mobile-enums.js.map +0 -1
- package/fesm5/taiga-ui-addon-mobile-interfaces.js +0 -4
- package/fesm5/taiga-ui-addon-mobile-interfaces.js.map +0 -1
- package/fesm5/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js +0 -65
- package/fesm5/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js.map +0 -1
- package/fesm5/taiga-ui-addon-mobile-internal.js +0 -6
- package/fesm5/taiga-ui-addon-mobile-internal.js.map +0 -1
- package/fesm5/taiga-ui-addon-mobile-tokens.js +0 -13
- package/fesm5/taiga-ui-addon-mobile-tokens.js.map +0 -1
- package/fesm5/taiga-ui-addon-mobile-types.js +0 -4
- package/fesm5/taiga-ui-addon-mobile-types.js.map +0 -1
- package/fesm5/taiga-ui-addon-mobile-utils.js +0 -21
- package/fesm5/taiga-ui-addon-mobile-utils.js.map +0 -1
- package/fesm5/taiga-ui-addon-mobile.js +0 -11
- package/fesm5/taiga-ui-addon-mobile.js.map +0 -1
- package/interfaces/taiga-ui-addon-mobile-interfaces.metadata.json +0 -1
- package/internal/primitive-calendar-mobile/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.metadata.json +0 -1
- package/internal/taiga-ui-addon-mobile-internal.metadata.json +0 -1
- package/taiga-ui-addon-mobile.metadata.json +0 -1
- package/tokens/taiga-ui-addon-mobile-tokens.metadata.json +0 -1
- package/types/taiga-ui-addon-mobile-types.metadata.json +0 -1
- package/utils/taiga-ui-addon-mobile-utils.metadata.json +0 -1
|
@@ -1,320 +1,92 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@taiga-ui/cdk'), require('rxjs'), require('rxjs/operators')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define('@taiga-ui/addon-mobile/directives/ripple', ['exports', '@angular/core', '@taiga-ui/cdk', 'rxjs', 'rxjs/operators'], factory) :
|
|
4
|
-
(global = global || self, factory((global[
|
|
5
|
-
}(this, (function (exports,
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["taiga-ui"] = global["taiga-ui"] || {}, global["taiga-ui"]["addon-mobile"] = global["taiga-ui"]["addon-mobile"] || {}, global["taiga-ui"]["addon-mobile"].directives = global["taiga-ui"]["addon-mobile"].directives || {}, global["taiga-ui"]["addon-mobile"].directives.ripple = {}), global.ng.core, global.i1, global.rxjs, global.rxjs.operators));
|
|
5
|
+
})(this, (function (exports, i0, i1, i2, operators) { 'use strict';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
var extendStatics = function(d, b) {
|
|
24
|
-
extendStatics = Object.setPrototypeOf ||
|
|
25
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
26
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
27
|
-
return extendStatics(d, b);
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
function __extends(d, b) {
|
|
31
|
-
if (typeof b !== "function" && b !== null)
|
|
32
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
33
|
-
extendStatics(d, b);
|
|
34
|
-
function __() { this.constructor = d; }
|
|
35
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
var __assign = function() {
|
|
39
|
-
__assign = Object.assign || function __assign(t) {
|
|
40
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
41
|
-
s = arguments[i];
|
|
42
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
43
|
-
}
|
|
44
|
-
return t;
|
|
45
|
-
};
|
|
46
|
-
return __assign.apply(this, arguments);
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
function __rest(s, e) {
|
|
50
|
-
var t = {};
|
|
51
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
52
|
-
t[p] = s[p];
|
|
53
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
54
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
55
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
56
|
-
t[p[i]] = s[p[i]];
|
|
57
|
-
}
|
|
58
|
-
return t;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
function __decorate(decorators, target, key, desc) {
|
|
62
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
63
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
64
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
65
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
function __param(paramIndex, decorator) {
|
|
69
|
-
return function (target, key) { decorator(target, key, paramIndex); }
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
function __metadata(metadataKey, metadataValue) {
|
|
73
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
|
77
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
78
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
79
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
80
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
81
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
82
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
83
|
-
});
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
function __generator(thisArg, body) {
|
|
87
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
88
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
89
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
90
|
-
function step(op) {
|
|
91
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
92
|
-
while (_) try {
|
|
93
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
94
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
95
|
-
switch (op[0]) {
|
|
96
|
-
case 0: case 1: t = op; break;
|
|
97
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
98
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
99
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
100
|
-
default:
|
|
101
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
102
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
103
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
104
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
105
|
-
if (t[2]) _.ops.pop();
|
|
106
|
-
_.trys.pop(); continue;
|
|
107
|
-
}
|
|
108
|
-
op = body.call(thisArg, _);
|
|
109
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
110
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
var __createBinding = Object.create ? (function(o, m, k, k2) {
|
|
115
|
-
if (k2 === undefined) k2 = k;
|
|
116
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
117
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
118
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
119
|
-
}
|
|
120
|
-
Object.defineProperty(o, k2, desc);
|
|
121
|
-
}) : (function(o, m, k, k2) {
|
|
122
|
-
if (k2 === undefined) k2 = k;
|
|
123
|
-
o[k2] = m[k];
|
|
124
|
-
});
|
|
125
|
-
|
|
126
|
-
function __exportStar(m, o) {
|
|
127
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
function __values(o) {
|
|
131
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
132
|
-
if (m) return m.call(o);
|
|
133
|
-
if (o && typeof o.length === "number") return {
|
|
134
|
-
next: function () {
|
|
135
|
-
if (o && i >= o.length) o = void 0;
|
|
136
|
-
return { value: o && o[i++], done: !o };
|
|
137
|
-
}
|
|
138
|
-
};
|
|
139
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
function __read(o, n) {
|
|
143
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
144
|
-
if (!m) return o;
|
|
145
|
-
var i = m.call(o), r, ar = [], e;
|
|
146
|
-
try {
|
|
147
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
148
|
-
}
|
|
149
|
-
catch (error) { e = { error: error }; }
|
|
150
|
-
finally {
|
|
151
|
-
try {
|
|
152
|
-
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
153
|
-
}
|
|
154
|
-
finally { if (e) throw e.error; }
|
|
155
|
-
}
|
|
156
|
-
return ar;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
/** @deprecated */
|
|
160
|
-
function __spread() {
|
|
161
|
-
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
162
|
-
ar = ar.concat(__read(arguments[i]));
|
|
163
|
-
return ar;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
/** @deprecated */
|
|
167
|
-
function __spreadArrays() {
|
|
168
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;
|
|
169
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
170
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
171
|
-
r[k] = a[j];
|
|
172
|
-
return r;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
function __spreadArray(to, from, pack) {
|
|
176
|
-
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
177
|
-
if (ar || !(i in from)) {
|
|
178
|
-
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
179
|
-
ar[i] = from[i];
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
function __await(v) {
|
|
186
|
-
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
190
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
191
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
192
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
193
|
-
function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
194
|
-
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
|
|
195
|
-
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
196
|
-
function fulfill(value) { resume("next", value); }
|
|
197
|
-
function reject(value) { resume("throw", value); }
|
|
198
|
-
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
function __asyncDelegator(o) {
|
|
202
|
-
var i, p;
|
|
203
|
-
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
204
|
-
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
function __asyncValues(o) {
|
|
208
|
-
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
209
|
-
var m = o[Symbol.asyncIterator], i;
|
|
210
|
-
return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
|
|
211
|
-
function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
|
|
212
|
-
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
function __makeTemplateObject(cooked, raw) {
|
|
216
|
-
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
|
|
217
|
-
return cooked;
|
|
218
|
-
};
|
|
219
|
-
|
|
220
|
-
var __setModuleDefault = Object.create ? (function(o, v) {
|
|
221
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
222
|
-
}) : function(o, v) {
|
|
223
|
-
o["default"] = v;
|
|
224
|
-
};
|
|
225
|
-
|
|
226
|
-
function __importStar(mod) {
|
|
227
|
-
if (mod && mod.__esModule) return mod;
|
|
228
|
-
var result = {};
|
|
229
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
230
|
-
__setModuleDefault(result, mod);
|
|
231
|
-
return result;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
function __importDefault(mod) {
|
|
235
|
-
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
239
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
240
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
241
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
245
|
-
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
246
|
-
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
247
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
248
|
-
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
function __classPrivateFieldIn(state, receiver) {
|
|
252
|
-
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
|
|
253
|
-
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
7
|
+
function _interopNamespace(e) {
|
|
8
|
+
if (e && e.__esModule) return e;
|
|
9
|
+
var n = Object.create(null);
|
|
10
|
+
if (e) {
|
|
11
|
+
Object.keys(e).forEach(function (k) {
|
|
12
|
+
if (k !== 'default') {
|
|
13
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return e[k]; }
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
n["default"] = e;
|
|
22
|
+
return Object.freeze(n);
|
|
254
23
|
}
|
|
255
24
|
|
|
25
|
+
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
|
+
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
27
|
+
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
28
|
+
|
|
256
29
|
var RIPPLE_ON = "tuiRippleOn";
|
|
257
30
|
var RIPPLE_OFF = "tuiRippleOff";
|
|
258
|
-
var TUI_RIPPLE_START = new
|
|
259
|
-
var TUI_RIPPLE_END = new
|
|
31
|
+
var TUI_RIPPLE_START = new i0.InjectionToken("Stream of ripple elements to add");
|
|
32
|
+
var TUI_RIPPLE_END = new i0.InjectionToken("Stream of ripple elements to remove");
|
|
260
33
|
var TUI_RIPPLE_PROVIDERS = [
|
|
261
|
-
|
|
34
|
+
i1.TuiDestroyService,
|
|
262
35
|
{
|
|
263
36
|
provide: TUI_RIPPLE_START,
|
|
264
|
-
deps: [
|
|
265
|
-
useFactory:
|
|
37
|
+
deps: [i1.TUI_TOUCH_SUPPORTED, i1.TUI_IS_IOS, i0.ElementRef, i0.Renderer2],
|
|
38
|
+
useFactory: function (touchSupported, isIOS, _a, renderer) {
|
|
39
|
+
var nativeElement = _a.nativeElement;
|
|
40
|
+
return isIOS || !touchSupported
|
|
41
|
+
? i2.EMPTY
|
|
42
|
+
: i1.tuiTypedFromEvent(nativeElement, "touchstart").pipe(operators.map(function (_a) {
|
|
43
|
+
var touches = _a.touches;
|
|
44
|
+
var _b = touches[touches.length - 1], clientX = _b.clientX, clientY = _b.clientY;
|
|
45
|
+
var _c = nativeElement.getBoundingClientRect(), width = _c.width, height = _c.height, top = _c.top, left = _c.left;
|
|
46
|
+
var radius = Math.sqrt(width * width + height * height);
|
|
47
|
+
var dimension = radius * 2;
|
|
48
|
+
var x = clientX - left - radius;
|
|
49
|
+
var y = clientY - top - radius;
|
|
50
|
+
var ripple = renderer.createElement("div");
|
|
51
|
+
renderer.addClass(ripple, "tui-ripple");
|
|
52
|
+
renderer.setAttribute(ripple, "style", "\n width: " + dimension + "px;\n height: " + dimension + "px;\n left: " + x + "px;\n top: " + y + "px;\n animation-name: " + RIPPLE_ON + ";\n ");
|
|
53
|
+
return ripple;
|
|
54
|
+
}));
|
|
55
|
+
},
|
|
266
56
|
},
|
|
267
57
|
{
|
|
268
58
|
provide: TUI_RIPPLE_END,
|
|
269
|
-
deps: [
|
|
270
|
-
useFactory:
|
|
59
|
+
deps: [i1.TUI_TOUCH_SUPPORTED, i1.TUI_IS_IOS, i0.ElementRef, i1.TuiDestroyService],
|
|
60
|
+
useFactory: function (touchSupported, isIOS, _a, destroy$) {
|
|
61
|
+
var nativeElement = _a.nativeElement;
|
|
62
|
+
return isIOS || !touchSupported
|
|
63
|
+
? i2.EMPTY
|
|
64
|
+
: i1.tuiTypedFromEvent(nativeElement, "animationend").pipe(operators.filter(function (_a) {
|
|
65
|
+
var animationName = _a.animationName;
|
|
66
|
+
return animationName === RIPPLE_OFF;
|
|
67
|
+
}), operators.map(function (_a) {
|
|
68
|
+
var target = _a.target;
|
|
69
|
+
return target;
|
|
70
|
+
}), operators.filter(i1.tuiIsPresent), operators.takeUntil(destroy$));
|
|
71
|
+
},
|
|
271
72
|
},
|
|
272
73
|
];
|
|
273
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
274
|
-
function rippleStartFactory(touchSupported, isIOS, _a, renderer) {
|
|
275
|
-
var nativeElement = _a.nativeElement;
|
|
276
|
-
return isIOS || !touchSupported
|
|
277
|
-
? rxjs.EMPTY
|
|
278
|
-
: cdk.typedFromEvent(nativeElement, "touchstart").pipe(operators.map(function (_a) {
|
|
279
|
-
var touches = _a.touches;
|
|
280
|
-
var _b = touches[touches.length - 1], clientX = _b.clientX, clientY = _b.clientY;
|
|
281
|
-
var _c = nativeElement.getBoundingClientRect(), width = _c.width, height = _c.height, top = _c.top, left = _c.left;
|
|
282
|
-
var radius = Math.sqrt(width * width + height * height);
|
|
283
|
-
var dimension = radius * 2;
|
|
284
|
-
var x = clientX - left - radius;
|
|
285
|
-
var y = clientY - top - radius;
|
|
286
|
-
var ripple = renderer.createElement("div");
|
|
287
|
-
renderer.addClass(ripple, "tui-ripple");
|
|
288
|
-
renderer.setAttribute(ripple, "style", "\n width: " + dimension + "px;\n height: " + dimension + "px;\n left: " + x + "px;\n top: " + y + "px;\n animation-name: " + RIPPLE_ON + ";\n ");
|
|
289
|
-
return ripple;
|
|
290
|
-
}));
|
|
291
|
-
}
|
|
292
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
293
|
-
function rippleEndFactory(touchSupported, isIOS, _a, destroy$) {
|
|
294
|
-
var nativeElement = _a.nativeElement;
|
|
295
|
-
return isIOS || !touchSupported
|
|
296
|
-
? rxjs.EMPTY
|
|
297
|
-
: cdk.typedFromEvent(nativeElement, "animationend").pipe(operators.filter(function (_a) {
|
|
298
|
-
var animationName = _a.animationName;
|
|
299
|
-
return animationName === RIPPLE_OFF;
|
|
300
|
-
}), operators.map(function (_a) {
|
|
301
|
-
var target = _a.target;
|
|
302
|
-
return target;
|
|
303
|
-
}), operators.filter(cdk.isPresent), operators.takeUntil(destroy$));
|
|
304
|
-
}
|
|
305
74
|
|
|
306
75
|
var TuiRippleStylesComponent = /** @class */ (function () {
|
|
307
76
|
function TuiRippleStylesComponent() {
|
|
308
77
|
}
|
|
309
|
-
TuiRippleStylesComponent = __decorate([
|
|
310
|
-
core.Component({
|
|
311
|
-
template: "",
|
|
312
|
-
encapsulation: core.ViewEncapsulation.None,
|
|
313
|
-
styles: ["@-webkit-keyframes tuiRippleOn{from{transform:scale(0);opacity:.12}to{transform:none;opacity:.12}}@keyframes tuiRippleOn{from{transform:scale(0);opacity:.12}to{transform:none;opacity:.12}}@-webkit-keyframes tuiRippleOff{from{transform:none;opacity:.12}to{transform:none;opacity:0}}@keyframes tuiRippleOff{from{transform:none;opacity:.12}to{transform:none;opacity:0}}[tuiRipple]{position:relative;overflow:hidden}.tui-ripple{position:absolute;z-index:100;border-radius:100%;background:currentColor;transform:scale(0);-webkit-animation-duration:450ms;animation-duration:450ms;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;pointer-events:none}"]
|
|
314
|
-
})
|
|
315
|
-
], TuiRippleStylesComponent);
|
|
316
78
|
return TuiRippleStylesComponent;
|
|
317
79
|
}());
|
|
80
|
+
TuiRippleStylesComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiRippleStylesComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
81
|
+
TuiRippleStylesComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiRippleStylesComponent, selector: "ng-component", ngImport: i0__namespace, template: "", isInline: true, styles: ["@-webkit-keyframes tuiRippleOn{0%{transform:scale(0);opacity:.12}to{transform:none;opacity:.12}}@keyframes tuiRippleOn{0%{transform:scale(0);opacity:.12}to{transform:none;opacity:.12}}@-webkit-keyframes tuiRippleOff{0%{transform:none;opacity:.12}to{transform:none;opacity:0}}@keyframes tuiRippleOff{0%{transform:none;opacity:.12}to{transform:none;opacity:0}}*[tuiRipple]{position:relative;overflow:hidden}.tui-ripple{position:absolute;z-index:100;border-radius:100%;background:currentColor;transform:scale(0);-webkit-animation-duration:.45s;animation-duration:.45s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards;pointer-events:none}\n"], encapsulation: i0__namespace.ViewEncapsulation.None });
|
|
82
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiRippleStylesComponent, decorators: [{
|
|
83
|
+
type: i0.Component,
|
|
84
|
+
args: [{
|
|
85
|
+
template: "",
|
|
86
|
+
styleUrls: ["./ripple.style.less"],
|
|
87
|
+
encapsulation: i0.ViewEncapsulation.None,
|
|
88
|
+
}]
|
|
89
|
+
}] });
|
|
318
90
|
|
|
319
91
|
var TOUCH_MOVE_DELAY = 100;
|
|
320
92
|
var TuiRippleDirective = /** @class */ (function () {
|
|
@@ -322,67 +94,81 @@
|
|
|
322
94
|
var _this = this;
|
|
323
95
|
var nativeElement = _a.nativeElement;
|
|
324
96
|
directiveStyles.addComponent(TuiRippleStylesComponent);
|
|
325
|
-
var touchEnd$ =
|
|
326
|
-
var touchMove$ =
|
|
97
|
+
var touchEnd$ = i1.tuiTypedFromEvent(nativeElement, "touchend");
|
|
98
|
+
var touchMove$ = i1.tuiTypedFromEvent(nativeElement, "touchmove");
|
|
327
99
|
end$.subscribe(function (element) {
|
|
328
100
|
renderer.removeChild(nativeElement, element);
|
|
329
101
|
});
|
|
330
102
|
start$
|
|
331
103
|
.pipe(operators.mergeMap(function (ripple) {
|
|
332
|
-
var animationEndOn$ =
|
|
333
|
-
return
|
|
104
|
+
var animationEndOn$ = i1.tuiTypedFromEvent(ripple, "animationend");
|
|
105
|
+
return i2.race(i2.timer(TOUCH_MOVE_DELAY).pipe(operators.mapTo(false)), touchEnd$.pipe(operators.mapTo(true))).pipe(operators.take(1),
|
|
334
106
|
// eslint-disable-next-line rxjs/no-unsafe-takeuntil
|
|
335
107
|
operators.takeUntil(touchMove$), operators.tap(function () {
|
|
336
108
|
renderer.setStyle(ripple, "background", _this.tuiRipple || null);
|
|
337
109
|
renderer.appendChild(nativeElement, ripple);
|
|
338
|
-
}), operators.switchMap(function (isTap) {
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
: rxjs.race(touchEnd$.pipe(operators.switchMapTo(animationEndOn$)), animationEndOn$.pipe(operators.switchMapTo(touchEnd$)));
|
|
342
|
-
}), operators.mapTo(ripple));
|
|
110
|
+
}), operators.switchMap(function (isTap) { return isTap
|
|
111
|
+
? animationEndOn$
|
|
112
|
+
: i2.race(touchEnd$.pipe(operators.switchMapTo(animationEndOn$)), animationEndOn$.pipe(operators.switchMapTo(touchEnd$))); }), operators.mapTo(ripple));
|
|
343
113
|
}), operators.takeUntil(destroy$))
|
|
344
114
|
.subscribe(function (element) {
|
|
345
115
|
renderer.setStyle(element, "animationName", RIPPLE_OFF);
|
|
346
116
|
});
|
|
347
117
|
}
|
|
348
|
-
TuiRippleDirective.ctorParameters = function () { return [
|
|
349
|
-
{ type: core.ElementRef, decorators: [{ type: core.Inject, args: [core.ElementRef,] }] },
|
|
350
|
-
{ type: cdk.TuiDirectiveStylesService, decorators: [{ type: core.Inject, args: [cdk.TuiDirectiveStylesService,] }] },
|
|
351
|
-
{ type: core.Renderer2, decorators: [{ type: core.Inject, args: [core.Renderer2,] }] },
|
|
352
|
-
{ type: cdk.TuiDestroyService, decorators: [{ type: core.Inject, args: [cdk.TuiDestroyService,] }] },
|
|
353
|
-
{ type: rxjs.Observable, decorators: [{ type: core.Inject, args: [TUI_RIPPLE_START,] }] },
|
|
354
|
-
{ type: rxjs.Observable, decorators: [{ type: core.Inject, args: [TUI_RIPPLE_END,] }] }
|
|
355
|
-
]; };
|
|
356
|
-
__decorate([
|
|
357
|
-
core.Input()
|
|
358
|
-
], TuiRippleDirective.prototype, "tuiRipple", void 0);
|
|
359
|
-
TuiRippleDirective = __decorate([
|
|
360
|
-
core.Directive({
|
|
361
|
-
selector: "[tuiRipple]",
|
|
362
|
-
providers: TUI_RIPPLE_PROVIDERS,
|
|
363
|
-
}),
|
|
364
|
-
__param(0, core.Inject(core.ElementRef)),
|
|
365
|
-
__param(1, core.Inject(cdk.TuiDirectiveStylesService)),
|
|
366
|
-
__param(2, core.Inject(core.Renderer2)),
|
|
367
|
-
__param(3, core.Inject(cdk.TuiDestroyService)),
|
|
368
|
-
__param(4, core.Inject(TUI_RIPPLE_START)),
|
|
369
|
-
__param(5, core.Inject(TUI_RIPPLE_END))
|
|
370
|
-
], TuiRippleDirective);
|
|
371
118
|
return TuiRippleDirective;
|
|
372
119
|
}());
|
|
120
|
+
TuiRippleDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiRippleDirective, deps: [{ token: i0.ElementRef }, { token: i1.TuiDirectiveStylesService }, { token: i0.Renderer2 }, { token: i1.TuiDestroyService }, { token: TUI_RIPPLE_START }, { token: TUI_RIPPLE_END }], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
121
|
+
TuiRippleDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiRippleDirective, selector: "[tuiRipple]", inputs: { tuiRipple: "tuiRipple" }, providers: TUI_RIPPLE_PROVIDERS, ngImport: i0__namespace });
|
|
122
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiRippleDirective, decorators: [{
|
|
123
|
+
type: i0.Directive,
|
|
124
|
+
args: [{
|
|
125
|
+
selector: "[tuiRipple]",
|
|
126
|
+
providers: TUI_RIPPLE_PROVIDERS,
|
|
127
|
+
}]
|
|
128
|
+
}], ctorParameters: function () {
|
|
129
|
+
return [{ type: i0__namespace.ElementRef, decorators: [{
|
|
130
|
+
type: i0.Inject,
|
|
131
|
+
args: [i0.ElementRef]
|
|
132
|
+
}] }, { type: i1__namespace.TuiDirectiveStylesService, decorators: [{
|
|
133
|
+
type: i0.Inject,
|
|
134
|
+
args: [i1.TuiDirectiveStylesService]
|
|
135
|
+
}] }, { type: i0__namespace.Renderer2, decorators: [{
|
|
136
|
+
type: i0.Inject,
|
|
137
|
+
args: [i0.Renderer2]
|
|
138
|
+
}] }, { type: i1__namespace.TuiDestroyService, decorators: [{
|
|
139
|
+
type: i0.Inject,
|
|
140
|
+
args: [i1.TuiDestroyService]
|
|
141
|
+
}] }, { type: i2__namespace.Observable, decorators: [{
|
|
142
|
+
type: i0.Inject,
|
|
143
|
+
args: [TUI_RIPPLE_START]
|
|
144
|
+
}] }, { type: i2__namespace.Observable, decorators: [{
|
|
145
|
+
type: i0.Inject,
|
|
146
|
+
args: [TUI_RIPPLE_END]
|
|
147
|
+
}] }];
|
|
148
|
+
}, propDecorators: { tuiRipple: [{
|
|
149
|
+
type: i0.Input
|
|
150
|
+
}] } });
|
|
373
151
|
|
|
374
152
|
var TuiRippleModule = /** @class */ (function () {
|
|
375
153
|
function TuiRippleModule() {
|
|
376
154
|
}
|
|
377
|
-
TuiRippleModule = __decorate([
|
|
378
|
-
core.NgModule({
|
|
379
|
-
declarations: [TuiRippleDirective, TuiRippleStylesComponent],
|
|
380
|
-
exports: [TuiRippleDirective],
|
|
381
|
-
entryComponents: [TuiRippleStylesComponent],
|
|
382
|
-
})
|
|
383
|
-
], TuiRippleModule);
|
|
384
155
|
return TuiRippleModule;
|
|
385
156
|
}());
|
|
157
|
+
TuiRippleModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiRippleModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
158
|
+
TuiRippleModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiRippleModule, declarations: [TuiRippleDirective, TuiRippleStylesComponent], exports: [TuiRippleDirective] });
|
|
159
|
+
TuiRippleModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiRippleModule });
|
|
160
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiRippleModule, decorators: [{
|
|
161
|
+
type: i0.NgModule,
|
|
162
|
+
args: [{
|
|
163
|
+
declarations: [TuiRippleDirective, TuiRippleStylesComponent],
|
|
164
|
+
exports: [TuiRippleDirective],
|
|
165
|
+
entryComponents: [TuiRippleStylesComponent],
|
|
166
|
+
}]
|
|
167
|
+
}] });
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Generated bundle index. Do not edit.
|
|
171
|
+
*/
|
|
386
172
|
|
|
387
173
|
exports.RIPPLE_OFF = RIPPLE_OFF;
|
|
388
174
|
exports.RIPPLE_ON = RIPPLE_ON;
|
|
@@ -391,11 +177,8 @@
|
|
|
391
177
|
exports.TUI_RIPPLE_START = TUI_RIPPLE_START;
|
|
392
178
|
exports.TuiRippleDirective = TuiRippleDirective;
|
|
393
179
|
exports.TuiRippleModule = TuiRippleModule;
|
|
394
|
-
exports.rippleEndFactory = rippleEndFactory;
|
|
395
|
-
exports.rippleStartFactory = rippleStartFactory;
|
|
396
|
-
exports.ɵa = TuiRippleStylesComponent;
|
|
397
180
|
|
|
398
181
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
399
182
|
|
|
400
|
-
}))
|
|
183
|
+
}));
|
|
401
184
|
//# sourceMappingURL=taiga-ui-addon-mobile-directives-ripple.umd.js.map
|