@taiga-ui/addon-mobile 2.55.0 → 3.0.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +538 -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 +417 -294
- 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 +437 -324
- 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 +878 -688
- 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 -265
- 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 -265
- 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 +10 -255
- package/bundles/taiga-ui-addon-mobile-const.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-directives-elastic-sticky.umd.js +418 -305
- 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 +119 -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 +103 -314
- package/bundles/taiga-ui-addon-mobile-directives-ripple.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-directives-sidebar.umd.js +435 -315
- package/bundles/taiga-ui-addon-mobile-directives-sidebar.umd.js.map +1 -1
- package/bundles/taiga-ui-addon-mobile-directives-touchable.umd.js +414 -298
- 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 -282
- 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 +8 -4
- 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/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/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 -5
- 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/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 +5 -2
- 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 +83 -63
- 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 +2 -2
- package/esm2015/components/mobile-calendar/mobile-calendar.strategy.js +2 -2
- 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 -22
- package/esm2015/components/mobile-dialog/mobile-dialog.module.js +29 -20
- package/esm2015/components/mobile-dialog/mobile-dialog.service.js +13 -14
- 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 +3 -3
- 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 +67 -55
- package/esm2015/components/sheet/components/sheet/sheet.providers.js +10 -10
- package/esm2015/components/sheet/components/sheet-bar/sheet-bar.component.js +29 -26
- package/esm2015/components/sheet/components/sheet-heading/sheet-heading.component.js +31 -25
- package/esm2015/components/sheet/components/sheets-host/sheets-host.component.js +33 -23
- package/esm2015/components/sheet/directives/sheet-close/sheet-close.directive.js +36 -29
- package/esm2015/components/sheet/directives/sheet-stop/sheet-stop.directive.js +33 -28
- package/esm2015/components/sheet/directives/sheet-top/sheet-top.directive.js +36 -31
- package/esm2015/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.js +38 -36
- package/esm2015/components/sheet/index.js +2 -1
- package/esm2015/components/sheet/ios.hacks.js +9 -9
- package/esm2015/components/sheet/sheet-options.js +5 -6
- 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 -14
- 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 -14
- 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 +2 -2
- 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 +29 -24
- 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 +38 -29
- 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 +41 -34
- package/esm2015/directives/ripple/ripple.module.js +15 -12
- package/esm2015/directives/ripple/ripple.providers.js +10 -10
- 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 +34 -29
- package/esm2015/directives/sidebar/sidebar.directive.js +39 -34
- 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 +49 -39
- 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 -23
- 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 +2 -2
- 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 -74
- package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-components-mobile-dialog.js +68 -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 +84 -68
- package/fesm2015/taiga-ui-addon-mobile-components-pull-to-refresh.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-components-sheet.js +444 -366
- package/fesm2015/taiga-ui-addon-mobile-components-sheet.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-components-theme-android.js +27 -20
- package/fesm2015/taiga-ui-addon-mobile-components-theme-android.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-components-theme-ios.js +27 -20
- 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 +1 -1
- package/fesm2015/taiga-ui-addon-mobile-const.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-directives-elastic-sticky.js +58 -47
- package/fesm2015/taiga-ui-addon-mobile-directives-elastic-sticky.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-directives-mobile-tabs.js +63 -46
- package/fesm2015/taiga-ui-addon-mobile-directives-mobile-tabs.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-directives-ripple.js +76 -61
- package/fesm2015/taiga-ui-addon-mobile-directives-ripple.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-directives-sidebar.js +82 -68
- package/fesm2015/taiga-ui-addon-mobile-directives-sidebar.js.map +1 -1
- package/fesm2015/taiga-ui-addon-mobile-directives-touchable.js +61 -46
- 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 -32
- 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 +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 -0
- 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 -68
- 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 -161
- 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,256 +1,362 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core'), require('@taiga-ui/cdk'), require('@taiga-ui/core'), require('@taiga-ui/kit'), require('rxjs'), require('rxjs/operators'), require('@angular/cdk/scrolling'), require('@taiga-ui/addon-mobile/
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@taiga-ui/addon-mobile/components/mobile-calendar', ['exports', '@angular/common', '@angular/core', '@taiga-ui/cdk', '@taiga-ui/core', '@taiga-ui/kit', 'rxjs', 'rxjs/operators', '@angular/cdk/scrolling', '@taiga-ui/addon-mobile/
|
|
4
|
-
(global = global || self, factory((global[
|
|
5
|
-
}(this, (function (exports,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core'), require('@taiga-ui/cdk'), require('@taiga-ui/core'), require('@taiga-ui/kit'), require('rxjs'), require('rxjs/operators'), require('@angular/cdk/scrolling'), require('@taiga-ui/addon-mobile/internal/primitive-calendar-mobile'), require('@taiga-ui/addon-mobile/directives/ripple'), require('@taiga-ui/addon-mobile/directives/touchable')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@taiga-ui/addon-mobile/components/mobile-calendar', ['exports', '@angular/common', '@angular/core', '@taiga-ui/cdk', '@taiga-ui/core', '@taiga-ui/kit', 'rxjs', 'rxjs/operators', '@angular/cdk/scrolling', '@taiga-ui/addon-mobile/internal/primitive-calendar-mobile', '@taiga-ui/addon-mobile/directives/ripple', '@taiga-ui/addon-mobile/directives/touchable'], factory) :
|
|
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"].components = global["taiga-ui"]["addon-mobile"].components || {}, global["taiga-ui"]["addon-mobile"].components["mobile-calendar"] = {}), global.ng.common, global.ng.core, global.i7, global.i1, global.kit, global.rxjs, global.rxjs.operators, global.ng.cdk.scrolling, global["taiga-ui"]["addon-mobile"].internal["primitive-calendar-mobile"], global["taiga-ui"]["addon-mobile"].directives.ripple, global["taiga-ui"]["addon-mobile"].directives.touchable));
|
|
5
|
+
})(this, (function (exports, i6, i0, i7, i1, kit, i8, operators, i2, i3, i4, i5) { 'use strict';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
function
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
if (
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
function
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
return
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
function
|
|
252
|
-
|
|
253
|
-
|
|
7
|
+
function _interopNamespace(e) {
|
|
8
|
+
if (e && e.__esModule) return e;
|
|
9
|
+
var n = Object.create(null);
|
|
10
|
+
if (e) {
|
|
11
|
+
Object.keys(e).forEach(function (k) {
|
|
12
|
+
if (k !== 'default') {
|
|
13
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return e[k]; }
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
n["default"] = e;
|
|
22
|
+
return Object.freeze(n);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
|
|
26
|
+
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
27
|
+
var i7__namespace = /*#__PURE__*/_interopNamespace(i7);
|
|
28
|
+
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
29
|
+
var i8__namespace = /*#__PURE__*/_interopNamespace(i8);
|
|
30
|
+
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
31
|
+
var i3__namespace = /*#__PURE__*/_interopNamespace(i3);
|
|
32
|
+
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
33
|
+
var i5__namespace = /*#__PURE__*/_interopNamespace(i5);
|
|
34
|
+
|
|
35
|
+
/******************************************************************************
|
|
36
|
+
Copyright (c) Microsoft Corporation.
|
|
37
|
+
|
|
38
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
39
|
+
purpose with or without fee is hereby granted.
|
|
40
|
+
|
|
41
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
42
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
43
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
44
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
45
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
46
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
47
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
48
|
+
***************************************************************************** */
|
|
49
|
+
/* global Reflect, Promise */
|
|
50
|
+
var extendStatics = function (d, b) {
|
|
51
|
+
extendStatics = Object.setPrototypeOf ||
|
|
52
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
53
|
+
function (d, b) { for (var p in b)
|
|
54
|
+
if (Object.prototype.hasOwnProperty.call(b, p))
|
|
55
|
+
d[p] = b[p]; };
|
|
56
|
+
return extendStatics(d, b);
|
|
57
|
+
};
|
|
58
|
+
function __extends(d, b) {
|
|
59
|
+
if (typeof b !== "function" && b !== null)
|
|
60
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
61
|
+
extendStatics(d, b);
|
|
62
|
+
function __() { this.constructor = d; }
|
|
63
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
64
|
+
}
|
|
65
|
+
var __assign = function () {
|
|
66
|
+
__assign = Object.assign || function __assign(t) {
|
|
67
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
68
|
+
s = arguments[i];
|
|
69
|
+
for (var p in s)
|
|
70
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
71
|
+
t[p] = s[p];
|
|
72
|
+
}
|
|
73
|
+
return t;
|
|
74
|
+
};
|
|
75
|
+
return __assign.apply(this, arguments);
|
|
76
|
+
};
|
|
77
|
+
function __rest(s, e) {
|
|
78
|
+
var t = {};
|
|
79
|
+
for (var p in s)
|
|
80
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
81
|
+
t[p] = s[p];
|
|
82
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
83
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
84
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
85
|
+
t[p[i]] = s[p[i]];
|
|
86
|
+
}
|
|
87
|
+
return t;
|
|
88
|
+
}
|
|
89
|
+
function __decorate(decorators, target, key, desc) {
|
|
90
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
91
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
92
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
93
|
+
else
|
|
94
|
+
for (var i = decorators.length - 1; i >= 0; i--)
|
|
95
|
+
if (d = decorators[i])
|
|
96
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
97
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
98
|
+
}
|
|
99
|
+
function __param(paramIndex, decorator) {
|
|
100
|
+
return function (target, key) { decorator(target, key, paramIndex); };
|
|
101
|
+
}
|
|
102
|
+
function __metadata(metadataKey, metadataValue) {
|
|
103
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
104
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
105
|
+
}
|
|
106
|
+
function __awaiter(thisArg, _arguments, P, generator) {
|
|
107
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
108
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
109
|
+
function fulfilled(value) { try {
|
|
110
|
+
step(generator.next(value));
|
|
111
|
+
}
|
|
112
|
+
catch (e) {
|
|
113
|
+
reject(e);
|
|
114
|
+
} }
|
|
115
|
+
function rejected(value) { try {
|
|
116
|
+
step(generator["throw"](value));
|
|
117
|
+
}
|
|
118
|
+
catch (e) {
|
|
119
|
+
reject(e);
|
|
120
|
+
} }
|
|
121
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
122
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
function __generator(thisArg, body) {
|
|
126
|
+
var _ = { label: 0, sent: function () { if (t[0] & 1)
|
|
127
|
+
throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
128
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
|
|
129
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
130
|
+
function step(op) {
|
|
131
|
+
if (f)
|
|
132
|
+
throw new TypeError("Generator is already executing.");
|
|
133
|
+
while (_)
|
|
134
|
+
try {
|
|
135
|
+
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)
|
|
136
|
+
return t;
|
|
137
|
+
if (y = 0, t)
|
|
138
|
+
op = [op[0] & 2, t.value];
|
|
139
|
+
switch (op[0]) {
|
|
140
|
+
case 0:
|
|
141
|
+
case 1:
|
|
142
|
+
t = op;
|
|
143
|
+
break;
|
|
144
|
+
case 4:
|
|
145
|
+
_.label++;
|
|
146
|
+
return { value: op[1], done: false };
|
|
147
|
+
case 5:
|
|
148
|
+
_.label++;
|
|
149
|
+
y = op[1];
|
|
150
|
+
op = [0];
|
|
151
|
+
continue;
|
|
152
|
+
case 7:
|
|
153
|
+
op = _.ops.pop();
|
|
154
|
+
_.trys.pop();
|
|
155
|
+
continue;
|
|
156
|
+
default:
|
|
157
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
158
|
+
_ = 0;
|
|
159
|
+
continue;
|
|
160
|
+
}
|
|
161
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
|
|
162
|
+
_.label = op[1];
|
|
163
|
+
break;
|
|
164
|
+
}
|
|
165
|
+
if (op[0] === 6 && _.label < t[1]) {
|
|
166
|
+
_.label = t[1];
|
|
167
|
+
t = op;
|
|
168
|
+
break;
|
|
169
|
+
}
|
|
170
|
+
if (t && _.label < t[2]) {
|
|
171
|
+
_.label = t[2];
|
|
172
|
+
_.ops.push(op);
|
|
173
|
+
break;
|
|
174
|
+
}
|
|
175
|
+
if (t[2])
|
|
176
|
+
_.ops.pop();
|
|
177
|
+
_.trys.pop();
|
|
178
|
+
continue;
|
|
179
|
+
}
|
|
180
|
+
op = body.call(thisArg, _);
|
|
181
|
+
}
|
|
182
|
+
catch (e) {
|
|
183
|
+
op = [6, e];
|
|
184
|
+
y = 0;
|
|
185
|
+
}
|
|
186
|
+
finally {
|
|
187
|
+
f = t = 0;
|
|
188
|
+
}
|
|
189
|
+
if (op[0] & 5)
|
|
190
|
+
throw op[1];
|
|
191
|
+
return { value: op[0] ? op[1] : void 0, done: true };
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
var __createBinding = Object.create ? (function (o, m, k, k2) {
|
|
195
|
+
if (k2 === undefined)
|
|
196
|
+
k2 = k;
|
|
197
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
198
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
199
|
+
desc = { enumerable: true, get: function () { return m[k]; } };
|
|
200
|
+
}
|
|
201
|
+
Object.defineProperty(o, k2, desc);
|
|
202
|
+
}) : (function (o, m, k, k2) {
|
|
203
|
+
if (k2 === undefined)
|
|
204
|
+
k2 = k;
|
|
205
|
+
o[k2] = m[k];
|
|
206
|
+
});
|
|
207
|
+
function __exportStar(m, o) {
|
|
208
|
+
for (var p in m)
|
|
209
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
210
|
+
__createBinding(o, m, p);
|
|
211
|
+
}
|
|
212
|
+
function __values(o) {
|
|
213
|
+
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
214
|
+
if (m)
|
|
215
|
+
return m.call(o);
|
|
216
|
+
if (o && typeof o.length === "number")
|
|
217
|
+
return {
|
|
218
|
+
next: function () {
|
|
219
|
+
if (o && i >= o.length)
|
|
220
|
+
o = void 0;
|
|
221
|
+
return { value: o && o[i++], done: !o };
|
|
222
|
+
}
|
|
223
|
+
};
|
|
224
|
+
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
225
|
+
}
|
|
226
|
+
function __read(o, n) {
|
|
227
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
228
|
+
if (!m)
|
|
229
|
+
return o;
|
|
230
|
+
var i = m.call(o), r, ar = [], e;
|
|
231
|
+
try {
|
|
232
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
233
|
+
ar.push(r.value);
|
|
234
|
+
}
|
|
235
|
+
catch (error) {
|
|
236
|
+
e = { error: error };
|
|
237
|
+
}
|
|
238
|
+
finally {
|
|
239
|
+
try {
|
|
240
|
+
if (r && !r.done && (m = i["return"]))
|
|
241
|
+
m.call(i);
|
|
242
|
+
}
|
|
243
|
+
finally {
|
|
244
|
+
if (e)
|
|
245
|
+
throw e.error;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
return ar;
|
|
249
|
+
}
|
|
250
|
+
/** @deprecated */
|
|
251
|
+
function __spread() {
|
|
252
|
+
for (var ar = [], i = 0; i < arguments.length; i++)
|
|
253
|
+
ar = ar.concat(__read(arguments[i]));
|
|
254
|
+
return ar;
|
|
255
|
+
}
|
|
256
|
+
/** @deprecated */
|
|
257
|
+
function __spreadArrays() {
|
|
258
|
+
for (var s = 0, i = 0, il = arguments.length; i < il; i++)
|
|
259
|
+
s += arguments[i].length;
|
|
260
|
+
for (var r = Array(s), k = 0, i = 0; i < il; i++)
|
|
261
|
+
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
|
|
262
|
+
r[k] = a[j];
|
|
263
|
+
return r;
|
|
264
|
+
}
|
|
265
|
+
function __spreadArray(to, from, pack) {
|
|
266
|
+
if (pack || arguments.length === 2)
|
|
267
|
+
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
268
|
+
if (ar || !(i in from)) {
|
|
269
|
+
if (!ar)
|
|
270
|
+
ar = Array.prototype.slice.call(from, 0, i);
|
|
271
|
+
ar[i] = from[i];
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
275
|
+
}
|
|
276
|
+
function __await(v) {
|
|
277
|
+
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
278
|
+
}
|
|
279
|
+
function __asyncGenerator(thisArg, _arguments, generator) {
|
|
280
|
+
if (!Symbol.asyncIterator)
|
|
281
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
282
|
+
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
283
|
+
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
|
|
284
|
+
function verb(n) { if (g[n])
|
|
285
|
+
i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
|
|
286
|
+
function resume(n, v) { try {
|
|
287
|
+
step(g[n](v));
|
|
288
|
+
}
|
|
289
|
+
catch (e) {
|
|
290
|
+
settle(q[0][3], e);
|
|
291
|
+
} }
|
|
292
|
+
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
|
|
293
|
+
function fulfill(value) { resume("next", value); }
|
|
294
|
+
function reject(value) { resume("throw", value); }
|
|
295
|
+
function settle(f, v) { if (f(v), q.shift(), q.length)
|
|
296
|
+
resume(q[0][0], q[0][1]); }
|
|
297
|
+
}
|
|
298
|
+
function __asyncDelegator(o) {
|
|
299
|
+
var i, p;
|
|
300
|
+
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
|
|
301
|
+
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; }
|
|
302
|
+
}
|
|
303
|
+
function __asyncValues(o) {
|
|
304
|
+
if (!Symbol.asyncIterator)
|
|
305
|
+
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
306
|
+
var m = o[Symbol.asyncIterator], i;
|
|
307
|
+
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);
|
|
308
|
+
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); }); }; }
|
|
309
|
+
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
|
|
310
|
+
}
|
|
311
|
+
function __makeTemplateObject(cooked, raw) {
|
|
312
|
+
if (Object.defineProperty) {
|
|
313
|
+
Object.defineProperty(cooked, "raw", { value: raw });
|
|
314
|
+
}
|
|
315
|
+
else {
|
|
316
|
+
cooked.raw = raw;
|
|
317
|
+
}
|
|
318
|
+
return cooked;
|
|
319
|
+
}
|
|
320
|
+
;
|
|
321
|
+
var __setModuleDefault = Object.create ? (function (o, v) {
|
|
322
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
323
|
+
}) : function (o, v) {
|
|
324
|
+
o["default"] = v;
|
|
325
|
+
};
|
|
326
|
+
function __importStar(mod) {
|
|
327
|
+
if (mod && mod.__esModule)
|
|
328
|
+
return mod;
|
|
329
|
+
var result = {};
|
|
330
|
+
if (mod != null)
|
|
331
|
+
for (var k in mod)
|
|
332
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
|
|
333
|
+
__createBinding(result, mod, k);
|
|
334
|
+
__setModuleDefault(result, mod);
|
|
335
|
+
return result;
|
|
336
|
+
}
|
|
337
|
+
function __importDefault(mod) {
|
|
338
|
+
return (mod && mod.__esModule) ? mod : { default: mod };
|
|
339
|
+
}
|
|
340
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
341
|
+
if (kind === "a" && !f)
|
|
342
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
343
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
344
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
345
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
346
|
+
}
|
|
347
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
348
|
+
if (kind === "m")
|
|
349
|
+
throw new TypeError("Private method is not writable");
|
|
350
|
+
if (kind === "a" && !f)
|
|
351
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
352
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
353
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
354
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
355
|
+
}
|
|
356
|
+
function __classPrivateFieldIn(state, receiver) {
|
|
357
|
+
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
|
|
358
|
+
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
359
|
+
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
254
360
|
}
|
|
255
361
|
|
|
256
362
|
var SCROLL_DEBOUNCE_TIME = 80;
|
|
@@ -266,9 +372,7 @@
|
|
|
266
372
|
var ANDROID_CYCLE = getCycle(ANDROID_LABEL, ANDROID_WEEK);
|
|
267
373
|
var IOS_CYCLE = getCycle(IOS_LABEL, IOS_WEEK);
|
|
268
374
|
function getCycle(label, week) {
|
|
269
|
-
return Array.from({ length: YEARLY_CYCLE }, function (_, i) {
|
|
270
|
-
return Array.from({ length: cdk.MONTHS_IN_YEAR }, function (_, month) { return label + weekCount(i, month) * week; });
|
|
271
|
-
});
|
|
375
|
+
return Array.from({ length: YEARLY_CYCLE }, function (_, i) { return Array.from({ length: i7.MONTHS_IN_YEAR }, function (_, month) { return label + weekCount(i, month) * week; }); });
|
|
272
376
|
}
|
|
273
377
|
function weekCount(year, month) {
|
|
274
378
|
var firstOfMonth = new Date(year + STARTING_YEAR, month, 1);
|
|
@@ -282,17 +386,13 @@
|
|
|
282
386
|
function reduceCycle(cycle, lastYear, lastMonth) {
|
|
283
387
|
if (lastYear === void 0) { lastYear = 28; }
|
|
284
388
|
if (lastMonth === void 0) { lastMonth = 12; }
|
|
285
|
-
return cycle.reduce(function (total, year, yearIndex) {
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
: sum;
|
|
293
|
-
}, 0)
|
|
294
|
-
: total;
|
|
295
|
-
}, 0);
|
|
389
|
+
return cycle.reduce(function (total, year, yearIndex) { return yearIndex <= lastYear
|
|
390
|
+
? total +
|
|
391
|
+
year.reduce(function (sum, month, monthIndex) { return yearIndex < lastYear ||
|
|
392
|
+
(yearIndex === lastYear && monthIndex < lastMonth)
|
|
393
|
+
? sum + month
|
|
394
|
+
: sum; }, 0)
|
|
395
|
+
: total; }, 0);
|
|
296
396
|
}
|
|
297
397
|
/**
|
|
298
398
|
* This scroll strategy is hard wired with styles for iOS and Android.
|
|
@@ -303,14 +403,14 @@
|
|
|
303
403
|
function TuiMobileCalendarStrategy(isIos, scrollService) {
|
|
304
404
|
this.isIos = isIos;
|
|
305
405
|
this.scrollService = scrollService;
|
|
306
|
-
this.index$ = new
|
|
406
|
+
this.index$ = new i8.Subject();
|
|
307
407
|
this.viewport = null;
|
|
308
408
|
}
|
|
309
409
|
Object.defineProperty(TuiMobileCalendarStrategy.prototype, "scrolledIndexChange", {
|
|
310
410
|
get: function () {
|
|
311
411
|
return this.index$.pipe(operators.distinctUntilChanged());
|
|
312
412
|
},
|
|
313
|
-
enumerable:
|
|
413
|
+
enumerable: false,
|
|
314
414
|
configurable: true
|
|
315
415
|
});
|
|
316
416
|
TuiMobileCalendarStrategy.prototype.attach = function (viewport) {
|
|
@@ -337,7 +437,7 @@
|
|
|
337
437
|
return;
|
|
338
438
|
}
|
|
339
439
|
var scrollTop = this.getOffsetForIndex(index);
|
|
340
|
-
if (behavior !==
|
|
440
|
+
if (behavior !== "smooth") {
|
|
341
441
|
this.viewport.scrollToOffset(scrollTop, behavior);
|
|
342
442
|
return;
|
|
343
443
|
}
|
|
@@ -346,8 +446,8 @@
|
|
|
346
446
|
.subscribe();
|
|
347
447
|
};
|
|
348
448
|
TuiMobileCalendarStrategy.prototype.getOffsetForIndex = function (index) {
|
|
349
|
-
var month = index %
|
|
350
|
-
var year = (index - month) /
|
|
449
|
+
var month = index % i7.MONTHS_IN_YEAR;
|
|
450
|
+
var year = (index - month) / i7.MONTHS_IN_YEAR;
|
|
351
451
|
return this.computeHeight(year, month);
|
|
352
452
|
};
|
|
353
453
|
TuiMobileCalendarStrategy.prototype.getIndexForOffset = function (offset) {
|
|
@@ -360,7 +460,7 @@
|
|
|
360
460
|
for (var month = 0; month < cycle[year].length; month++) {
|
|
361
461
|
accumulator += cycle[year][month];
|
|
362
462
|
if (accumulator - cycle[year][month] / 2 > remainder) {
|
|
363
|
-
return Math.max((years + year) *
|
|
463
|
+
return Math.max((years + year) * i7.MONTHS_IN_YEAR + month, 0);
|
|
364
464
|
}
|
|
365
465
|
}
|
|
366
466
|
}
|
|
@@ -399,34 +499,34 @@
|
|
|
399
499
|
viewport.setRenderedContentOffset(this.getOffsetForIndex(newRange.start));
|
|
400
500
|
this.index$.next(firstVisibleIndex);
|
|
401
501
|
};
|
|
402
|
-
__decorate([
|
|
403
|
-
cdk.tuiPure
|
|
404
|
-
], TuiMobileCalendarStrategy.prototype, "scrolledIndexChange", null);
|
|
405
502
|
return TuiMobileCalendarStrategy;
|
|
406
503
|
}());
|
|
504
|
+
__decorate([
|
|
505
|
+
i7.tuiPure
|
|
506
|
+
], TuiMobileCalendarStrategy.prototype, "scrolledIndexChange", null);
|
|
407
507
|
|
|
408
|
-
var TUI_VALUE_STREAM = new
|
|
508
|
+
var TUI_VALUE_STREAM = new i0.InjectionToken("Stream for updating value");
|
|
409
509
|
var TUI_MOBILE_CALENDAR_PROVIDERS = [
|
|
410
|
-
|
|
411
|
-
|
|
510
|
+
i7.TuiDestroyService,
|
|
511
|
+
i7.TuiScrollService,
|
|
412
512
|
{
|
|
413
|
-
provide:
|
|
414
|
-
deps: [
|
|
513
|
+
provide: i2.VIRTUAL_SCROLL_STRATEGY,
|
|
514
|
+
deps: [i7.TUI_IS_IOS, i7.TuiScrollService],
|
|
415
515
|
useClass: TuiMobileCalendarStrategy,
|
|
416
516
|
},
|
|
417
517
|
{
|
|
418
518
|
provide: TUI_VALUE_STREAM,
|
|
419
519
|
deps: [
|
|
420
|
-
[new
|
|
421
|
-
|
|
422
|
-
|
|
520
|
+
[new i0.Optional(), kit.TUI_CALENDAR_DATA_STREAM],
|
|
521
|
+
i7.TuiDestroyService,
|
|
522
|
+
i0.ChangeDetectorRef,
|
|
423
523
|
],
|
|
424
524
|
useFactory: valueStreamFactory,
|
|
425
525
|
},
|
|
426
526
|
];
|
|
427
527
|
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
428
528
|
function valueStreamFactory(value$, destroy$, changeDetectorRef) {
|
|
429
|
-
return (value$ ||
|
|
529
|
+
return (value$ || i8.EMPTY).pipe(i7.watch(changeDetectorRef), operators.takeUntil(destroy$));
|
|
430
530
|
}
|
|
431
531
|
|
|
432
532
|
// @dynamic
|
|
@@ -441,25 +541,21 @@
|
|
|
441
541
|
this.doneWord$ = doneWord$;
|
|
442
542
|
this.weekDays$ = weekDays$;
|
|
443
543
|
this.chooseDayOrRangeTexts$ = chooseDayOrRangeTexts$;
|
|
444
|
-
this.today =
|
|
544
|
+
this.today = i7.TuiDay.currentLocal();
|
|
445
545
|
this.activeYear = this.initialYear;
|
|
446
546
|
this.activeMonth = this.initialMonth;
|
|
447
547
|
this.single = true;
|
|
448
|
-
this.min =
|
|
449
|
-
this.max =
|
|
450
|
-
this.disabledItemHandler =
|
|
451
|
-
this.cancel = new
|
|
452
|
-
this.confirm = new
|
|
548
|
+
this.min = i7.TUI_FIRST_DAY;
|
|
549
|
+
this.max = i7.TUI_LAST_DAY;
|
|
550
|
+
this.disabledItemHandler = i7.ALWAYS_FALSE_HANDLER;
|
|
551
|
+
this.cancel = new i0.EventEmitter();
|
|
552
|
+
this.confirm = new i0.EventEmitter();
|
|
453
553
|
this.value = null;
|
|
454
554
|
this.years = Array.from({ length: RANGE }, function (_, i) { return i + STARTING_YEAR; });
|
|
455
|
-
this.months = Array.from({ length: RANGE * 12 }, function (_, i) {
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
return item.dayBefore(min) ||
|
|
460
|
-
(max !== null && item.dayAfter(max)) ||
|
|
461
|
-
disabledItemHandler(item);
|
|
462
|
-
}; };
|
|
555
|
+
this.months = Array.from({ length: RANGE * 12 }, function (_, i) { return new i7.TuiMonth(Math.floor(i / i7.MONTHS_IN_YEAR) + STARTING_YEAR, i % i7.MONTHS_IN_YEAR); });
|
|
556
|
+
this.disabledItemHandlerMapper = function (disabledItemHandler, min, max) { return function (item) { return item.dayBefore(min) ||
|
|
557
|
+
(max !== null && item.dayAfter(max)) ||
|
|
558
|
+
disabledItemHandler(item); }; };
|
|
463
559
|
valueChanges.pipe(operators.takeUntil(this.destroy$)).subscribe(function (value) {
|
|
464
560
|
_this.value = value;
|
|
465
561
|
});
|
|
@@ -468,7 +564,7 @@
|
|
|
468
564
|
get: function () {
|
|
469
565
|
return this.documentRef.documentElement.clientWidth / YEARS_IN_ROW;
|
|
470
566
|
},
|
|
471
|
-
enumerable:
|
|
567
|
+
enumerable: false,
|
|
472
568
|
configurable: true
|
|
473
569
|
});
|
|
474
570
|
TuiMobileCalendarComponent.prototype.ngAfterViewInit = function () {
|
|
@@ -492,19 +588,19 @@
|
|
|
492
588
|
return;
|
|
493
589
|
}
|
|
494
590
|
if (this.value === null ||
|
|
495
|
-
this.value instanceof
|
|
591
|
+
this.value instanceof i7.TuiDay ||
|
|
496
592
|
!this.value.isSingleDay) {
|
|
497
|
-
this.value = new
|
|
593
|
+
this.value = new i7.TuiDayRange(day, day);
|
|
498
594
|
return;
|
|
499
595
|
}
|
|
500
|
-
this.value =
|
|
596
|
+
this.value = i7.TuiDayRange.sort(this.value.from, day);
|
|
501
597
|
};
|
|
502
598
|
TuiMobileCalendarComponent.prototype.getState = function (index) {
|
|
503
599
|
if (this.isYearActive(index)) {
|
|
504
|
-
return
|
|
600
|
+
return "active";
|
|
505
601
|
}
|
|
506
602
|
if (this.isYearActive(index - 1) || this.isYearActive(index + 1)) {
|
|
507
|
-
return
|
|
603
|
+
return "adjacent";
|
|
508
604
|
}
|
|
509
605
|
return null;
|
|
510
606
|
};
|
|
@@ -528,7 +624,7 @@
|
|
|
528
624
|
}
|
|
529
625
|
this.activeMonth += this.getMonthOffset(year);
|
|
530
626
|
this.activeYear = year;
|
|
531
|
-
this.scrollToActiveYear(
|
|
627
|
+
this.scrollToActiveYear("smooth");
|
|
532
628
|
// Delay is required to run months scroll in the next frame to prevent flicker
|
|
533
629
|
setTimeout(function () {
|
|
534
630
|
_this.scrollToActiveMonth();
|
|
@@ -539,26 +635,26 @@
|
|
|
539
635
|
if (!this.value) {
|
|
540
636
|
return this.today.year;
|
|
541
637
|
}
|
|
542
|
-
if (this.value instanceof
|
|
638
|
+
if (this.value instanceof i7.TuiDay) {
|
|
543
639
|
return this.value.year;
|
|
544
640
|
}
|
|
545
641
|
return this.value.from.year;
|
|
546
642
|
},
|
|
547
|
-
enumerable:
|
|
643
|
+
enumerable: false,
|
|
548
644
|
configurable: true
|
|
549
645
|
});
|
|
550
646
|
Object.defineProperty(TuiMobileCalendarComponent.prototype, "initialMonth", {
|
|
551
647
|
get: function () {
|
|
552
648
|
if (!this.value) {
|
|
553
|
-
return this.today.month + (this.today.year - STARTING_YEAR) *
|
|
649
|
+
return this.today.month + (this.today.year - STARTING_YEAR) * i7.MONTHS_IN_YEAR;
|
|
554
650
|
}
|
|
555
|
-
if (this.value instanceof
|
|
556
|
-
return this.value.month + (this.value.year - STARTING_YEAR) *
|
|
651
|
+
if (this.value instanceof i7.TuiDay) {
|
|
652
|
+
return this.value.month + (this.value.year - STARTING_YEAR) * i7.MONTHS_IN_YEAR;
|
|
557
653
|
}
|
|
558
654
|
return (this.value.from.month +
|
|
559
|
-
(this.value.from.year - STARTING_YEAR) *
|
|
655
|
+
(this.value.from.year - STARTING_YEAR) * i7.MONTHS_IN_YEAR);
|
|
560
656
|
},
|
|
561
|
-
enumerable:
|
|
657
|
+
enumerable: false,
|
|
562
658
|
configurable: true
|
|
563
659
|
});
|
|
564
660
|
TuiMobileCalendarComponent.prototype.getYearsViewportSize = function () {
|
|
@@ -571,7 +667,7 @@
|
|
|
571
667
|
(_b = this.monthsScrollRef) === null || _b === void 0 ? void 0 : _b.checkViewportSize();
|
|
572
668
|
};
|
|
573
669
|
TuiMobileCalendarComponent.prototype.lateInit = function () {
|
|
574
|
-
return this.getYearsViewportSize() > 0 ?
|
|
670
|
+
return this.getYearsViewportSize() > 0 ? i8.identity : operators.delay(200);
|
|
575
671
|
};
|
|
576
672
|
TuiMobileCalendarComponent.prototype.waitScrolledChange = function () {
|
|
577
673
|
var _this = this;
|
|
@@ -591,9 +687,9 @@
|
|
|
591
687
|
if (!yearsScrollRef) {
|
|
592
688
|
return;
|
|
593
689
|
}
|
|
594
|
-
var touchstart$ =
|
|
595
|
-
var touchend$ =
|
|
596
|
-
var click$ =
|
|
690
|
+
var touchstart$ = i7.typedFromEvent(yearsScrollRef.elementRef.nativeElement, "touchstart");
|
|
691
|
+
var touchend$ = i7.typedFromEvent(yearsScrollRef.elementRef.nativeElement, "touchend");
|
|
692
|
+
var click$ = i7.typedFromEvent(yearsScrollRef.elementRef.nativeElement, "click");
|
|
597
693
|
// Refresh activeYear
|
|
598
694
|
yearsScrollRef
|
|
599
695
|
.elementScrolled()
|
|
@@ -601,11 +697,9 @@
|
|
|
601
697
|
// Ignore smooth scroll resulting from click on the exact year
|
|
602
698
|
operators.windowToggle(touchstart$, function () { return click$; }), operators.flatMap(function (x) { return x; }),
|
|
603
699
|
// Delay is required to run months scroll in the next frame to prevent flicker
|
|
604
|
-
operators.delay(0), operators.map(function () {
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
STARTING_YEAR;
|
|
608
|
-
}), operators.filter(function (activeYear) { return activeYear !== _this.activeYear; }), operators.takeUntil(this.destroy$))
|
|
700
|
+
operators.delay(0), operators.map(function () { return Math.round(yearsScrollRef.measureScrollOffset() / _this.yearWidth) +
|
|
701
|
+
Math.floor(YEARS_IN_ROW / 2) +
|
|
702
|
+
STARTING_YEAR; }), operators.filter(function (activeYear) { return activeYear !== _this.activeYear; }), operators.takeUntil(this.destroy$))
|
|
609
703
|
.subscribe(function (activeYear) {
|
|
610
704
|
_this.activeMonth += _this.getMonthOffset(activeYear);
|
|
611
705
|
_this.activeYear = activeYear;
|
|
@@ -613,11 +707,9 @@
|
|
|
613
707
|
});
|
|
614
708
|
// Smooth scroll to activeYear after scrolling is done
|
|
615
709
|
touchstart$
|
|
616
|
-
.pipe(operators.switchMap(function () { return touchend$; }), operators.switchMap(function () {
|
|
617
|
-
return rxjs.race(yearsScrollRef.elementScrolled(), rxjs.timer(SCROLL_DEBOUNCE_TIME)).pipe(operators.debounceTime(SCROLL_DEBOUNCE_TIME * 2), operators.take(1), operators.takeUntil(touchstart$));
|
|
618
|
-
}), operators.takeUntil(this.destroy$))
|
|
710
|
+
.pipe(operators.switchMap(function () { return touchend$; }), operators.switchMap(function () { return i8.race(yearsScrollRef.elementScrolled(), i8.timer(SCROLL_DEBOUNCE_TIME)).pipe(operators.debounceTime(SCROLL_DEBOUNCE_TIME * 2), operators.take(1), operators.takeUntil(touchstart$)); }), operators.takeUntil(this.destroy$))
|
|
619
711
|
.subscribe(function () {
|
|
620
|
-
_this.scrollToActiveYear(
|
|
712
|
+
_this.scrollToActiveYear("smooth");
|
|
621
713
|
});
|
|
622
714
|
};
|
|
623
715
|
TuiMobileCalendarComponent.prototype.initMonthScroll = function () {
|
|
@@ -626,13 +718,13 @@
|
|
|
626
718
|
if (!monthsScrollRef) {
|
|
627
719
|
return;
|
|
628
720
|
}
|
|
629
|
-
var touchstart$ =
|
|
630
|
-
var touchend$ =
|
|
721
|
+
var touchstart$ = i7.typedFromEvent(monthsScrollRef.elementRef.nativeElement, "touchstart", { passive: true });
|
|
722
|
+
var touchend$ = i7.typedFromEvent(monthsScrollRef.elementRef.nativeElement, "touchend");
|
|
631
723
|
// Smooth scroll to the closest month after scrolling is done
|
|
632
724
|
touchstart$
|
|
633
|
-
.pipe(operators.switchMapTo(touchend$), operators.switchMapTo(
|
|
725
|
+
.pipe(operators.switchMapTo(touchend$), operators.switchMapTo(i8.race(monthsScrollRef.elementScrolled(), i8.timer(SCROLL_DEBOUNCE_TIME)).pipe(operators.debounceTime(SCROLL_DEBOUNCE_TIME * 2), operators.take(1), operators.takeUntil(touchstart$))), operators.takeUntil(this.destroy$))
|
|
634
726
|
.subscribe(function () {
|
|
635
|
-
_this.scrollToActiveMonth(
|
|
727
|
+
_this.scrollToActiveMonth("smooth");
|
|
636
728
|
});
|
|
637
729
|
};
|
|
638
730
|
TuiMobileCalendarComponent.prototype.scrollToActiveYear = function (behavior) {
|
|
@@ -647,94 +739,134 @@
|
|
|
647
739
|
return index === this.activeYear;
|
|
648
740
|
};
|
|
649
741
|
TuiMobileCalendarComponent.prototype.monthToYear = function (month) {
|
|
650
|
-
return Math.ceil((month + 1) /
|
|
742
|
+
return Math.ceil((month + 1) / i7.MONTHS_IN_YEAR) + STARTING_YEAR - 1;
|
|
651
743
|
};
|
|
652
744
|
TuiMobileCalendarComponent.prototype.getMonthOffset = function (year) {
|
|
653
|
-
return (year - this.activeYear) *
|
|
745
|
+
return (year - this.activeYear) * i7.MONTHS_IN_YEAR;
|
|
654
746
|
};
|
|
655
|
-
TuiMobileCalendarComponent.ctorParameters = function () { return [
|
|
656
|
-
{ type: Boolean, decorators: [{ type: core.Inject, args: [cdk.TUI_IS_IOS,] }] },
|
|
657
|
-
{ type: Document, decorators: [{ type: core.Inject, args: [common.DOCUMENT,] }] },
|
|
658
|
-
{ type: cdk.TuiDestroyService, decorators: [{ type: core.Inject, args: [cdk.TuiDestroyService,] }] },
|
|
659
|
-
{ type: rxjs.Observable, decorators: [{ type: core.Inject, args: [TUI_VALUE_STREAM,] }] },
|
|
660
|
-
{ type: rxjs.Observable, decorators: [{ type: core.Inject, args: [core$1.TUI_CLOSE_WORD,] }] },
|
|
661
|
-
{ type: rxjs.Observable, decorators: [{ type: core.Inject, args: [kit.TUI_CANCEL_WORD,] }] },
|
|
662
|
-
{ type: rxjs.Observable, decorators: [{ type: core.Inject, args: [kit.TUI_DONE_WORD,] }] },
|
|
663
|
-
{ type: rxjs.Observable, decorators: [{ type: core.Inject, args: [core$1.TUI_ORDERED_SHORT_WEEK_DAYS,] }] },
|
|
664
|
-
{ type: rxjs.Observable, decorators: [{ type: core.Inject, args: [kit.TUI_CHOOSE_DAY_OR_RANGE_TEXTS,] }] }
|
|
665
|
-
]; };
|
|
666
|
-
__decorate([
|
|
667
|
-
core.ViewChild('yearsScrollRef')
|
|
668
|
-
], TuiMobileCalendarComponent.prototype, "yearsScrollRef", void 0);
|
|
669
|
-
__decorate([
|
|
670
|
-
core.ViewChild('monthsScrollRef')
|
|
671
|
-
], TuiMobileCalendarComponent.prototype, "monthsScrollRef", void 0);
|
|
672
|
-
__decorate([
|
|
673
|
-
core.Input(),
|
|
674
|
-
cdk.tuiDefaultProp()
|
|
675
|
-
], TuiMobileCalendarComponent.prototype, "single", void 0);
|
|
676
|
-
__decorate([
|
|
677
|
-
core.Input(),
|
|
678
|
-
cdk.tuiDefaultProp()
|
|
679
|
-
], TuiMobileCalendarComponent.prototype, "min", void 0);
|
|
680
|
-
__decorate([
|
|
681
|
-
core.Input(),
|
|
682
|
-
cdk.tuiDefaultProp()
|
|
683
|
-
], TuiMobileCalendarComponent.prototype, "max", void 0);
|
|
684
|
-
__decorate([
|
|
685
|
-
core.Input(),
|
|
686
|
-
cdk.tuiDefaultProp()
|
|
687
|
-
], TuiMobileCalendarComponent.prototype, "disabledItemHandler", void 0);
|
|
688
|
-
__decorate([
|
|
689
|
-
core.Output()
|
|
690
|
-
], TuiMobileCalendarComponent.prototype, "cancel", void 0);
|
|
691
|
-
__decorate([
|
|
692
|
-
core.Output()
|
|
693
|
-
], TuiMobileCalendarComponent.prototype, "confirm", void 0);
|
|
694
|
-
TuiMobileCalendarComponent = __decorate([
|
|
695
|
-
core.Component({
|
|
696
|
-
selector: 'tui-mobile-calendar',
|
|
697
|
-
template: "<header class=\"t-header\">\n <button\n tuiIconButton\n type=\"button\"\n automation-id=\"tui-mobile-calendar__cancel\"\n icon=\"tuiIconRemoveLarge\"\n shape=\"rounded\"\n appearance=\"\"\n tuiRipple\n class=\"t-close\"\n [title]=\"closeWord$ | async\"\n (click)=\"onClose()\"\n ></button>\n <button\n tuiLink\n tuiTouchable=\"opacity\"\n type=\"button\"\n class=\"t-link t-link_close\"\n (click)=\"onClose()\"\n >\n {{ cancelWord$ | async }}\n </button>\n <h2\n *ngIf=\"chooseDayOrRangeTexts$ | async as texts\"\n automation-id=\"tui-mobile-calendar__label\"\n class=\"t-label\"\n >\n {{ single ? texts[0] : texts[1] }}\n </h2>\n <button\n tuiLink\n tuiTouchable=\"opacity\"\n type=\"button\"\n automation-id=\"tui-mobile-calendar__confirm\"\n class=\"t-link\"\n (click)=\"onConfirm()\"\n >\n {{ doneWord$ | async }}\n </button>\n</header>\n<cdk-virtual-scroll-viewport\n #yearsScrollRef\n orientation=\"horizontal\"\n class=\"t-years\"\n [itemSize]=\"yearWidth\"\n>\n <div class=\"t-years-wrapper\">\n <button\n *cdkVirtualFor=\"let index of years\"\n class=\"t-year\"\n [attr.data-state]=\"getState(index)\"\n (click)=\"setYear(index)\"\n >\n {{ index }}\n </button>\n </div>\n</cdk-virtual-scroll-viewport>\n<div class=\"t-week\">\n <div\n *ngFor=\"let day of weekDays$ | async\"\n class=\"t-day\"\n >\n {{ day }}\n </div>\n</div>\n<cdk-virtual-scroll-viewport\n #monthsScrollRef\n class=\"t-months\"\n (scrolledIndexChange)=\"onMonthChange($event)\"\n>\n <section\n *cdkVirtualFor=\"let month of months; templateCacheSize: 10\"\n class=\"t-month-wrapper\"\n >\n <h2 class=\"t-month\">{{ month | tuiMonth | async }}</h2>\n <tui-primitive-calendar-mobile\n class=\"t-calendar\"\n [month]=\"month\"\n [value]=\"value\"\n [disabledItemHandler]=\"disabledItemHandler | tuiMapper: disabledItemHandlerMapper:min:max\"\n (dayClick)=\"onDayClick($event)\"\n ></tui-primitive-calendar-mobile>\n </section>\n</cdk-virtual-scroll-viewport>\n",
|
|
698
|
-
changeDetection: core.ChangeDetectionStrategy.OnPush,
|
|
699
|
-
providers: TUI_MOBILE_CALENDAR_PROVIDERS,
|
|
700
|
-
host: { '[class._ios]': 'isIOS' },
|
|
701
|
-
styles: [":host{display:block;height:100%;font-family:-apple-system,BlinkMacSystemFont,Roboto,sans-serif;color:var(--tui-text-01);-webkit-tap-highlight-color:transparent}.t-header{position:relative;display:flex;align-items:center;height:3.5rem;padding:0 1rem;border-bottom:.5px solid var(--tui-base-03)}:host._ios .t-header{height:2.75rem;border-bottom:none}.t-close{width:1.5rem;height:1.5rem;margin-right:2rem}:host._ios .t-close{display:none}.t-link{margin-left:auto;flex-shrink:0;font-size:.875rem;line-height:1rem;font-weight:500;text-transform:uppercase;color:var(--tui-link)}.t-link_close{display:none}:host._ios .t-link{min-width:3.75rem;text-align:right;font-size:.9375rem;line-height:1.125rem;font-weight:400;letter-spacing:.018125rem;text-transform:none}:host._ios .t-link_close{display:block;margin:0 auto 0 0;text-align:left}.t-label{position:relative;overflow:hidden;flex-grow:1;margin:0;font-size:1.25rem;line-height:3.5rem;font-weight:500;letter-spacing:-.0125rem;white-space:nowrap}.t-label:after{content:'';position:absolute;top:0;right:0;width:1.875rem;height:100%;background-image:linear-gradient(to right,transparent 0,var(--tui-base-01) 80%,var(--tui-base-01) 100%);pointer-events:none;background-image:linear-gradient(to right,rgba(255,255,255,0) 0,var(--tui-base-01) 80%,var(--tui-base-01) 100%)}:host._ios .t-label{font-size:1.0625rem;font-weight:600;letter-spacing:-.025625rem;text-align:center}:host-context([data-mode=onDark]) .t-label:after{background-image:linear-gradient(to right,rgba(34,34,34,0) 0,var(--tui-base-01) 80%,var(--tui-base-01) 100%)}.t-years{scrollbar-width:none;-ms-overflow-style:none;height:4.0625rem;background-color:var(--tui-base-01);box-shadow:0 .5px var(--tui-base-03)}.t-years::-webkit-scrollbar,.t-years::-webkit-scrollbar-thumb{background:0 0;width:0;height:0}:host._ios .t-years{background-color:transparent}.t-years-wrapper{display:flex;height:4.0625rem}.t-year{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:0 0;line-height:inherit;outline:0;width:20vw;flex-shrink:0;font-size:.9375rem;font-weight:700;letter-spacing:.015625rem;cursor:pointer;opacity:.1;transform:scale(.73);transition:color,opacity,transform .2s}.t-year[data-state=adjacent]{transform:scale(.86);opacity:.3}.t-year[data-state=active]{color:var(--tui-link);opacity:1;transform:scale(1)}.t-week{display:flex;align-items:center;height:1.875rem;width:20.75rem;max-width:100%;margin:0 auto;font-size:.75rem}:host._ios .t-week{width:22.625rem;font-size:.6875rem;font-weight:500;color:var(--tui-text-02)}.t-day{flex:1;text-align:center}.t-months{scrollbar-width:none;-ms-overflow-style:none;height:calc(100% - 9.5rem);box-shadow:0 -1px var(--tui-base-03);overflow-x:hidden}.t-months::-webkit-scrollbar,.t-months::-webkit-scrollbar-thumb{background:0 0;width:0;height:0}:host._ios .t-months{height:calc(100% - 8.75rem)}.t-month-wrapper{margin:.625rem 0 -.625rem}.t-month{height:2.75rem;line-height:2.75rem;padding-left:1rem;font-size:.875rem;font-weight:500;text-transform:uppercase;margin:0 0 1.25rem;box-sizing:border-box;border-bottom:.5px solid var(--tui-base-03)}:host._ios .t-month{height:3.125rem;margin:0;border-bottom:none;text-transform:none;font-size:1.375rem;line-height:3.125rem;letter-spacing:.02rem;font-weight:700}.t-calendar{margin:0 auto;font-family:inherit;font-size:1.125rem;transition:opacity .2s}:host._ios .t-calendar{font-size:1.0625rem}"]
|
|
702
|
-
}),
|
|
703
|
-
__param(0, core.Inject(cdk.TUI_IS_IOS)),
|
|
704
|
-
__param(1, core.Inject(common.DOCUMENT)),
|
|
705
|
-
__param(2, core.Inject(cdk.TuiDestroyService)),
|
|
706
|
-
__param(3, core.Inject(TUI_VALUE_STREAM)),
|
|
707
|
-
__param(4, core.Inject(core$1.TUI_CLOSE_WORD)),
|
|
708
|
-
__param(5, core.Inject(kit.TUI_CANCEL_WORD)),
|
|
709
|
-
__param(6, core.Inject(kit.TUI_DONE_WORD)),
|
|
710
|
-
__param(7, core.Inject(core$1.TUI_ORDERED_SHORT_WEEK_DAYS)),
|
|
711
|
-
__param(8, core.Inject(kit.TUI_CHOOSE_DAY_OR_RANGE_TEXTS))
|
|
712
|
-
], TuiMobileCalendarComponent);
|
|
713
747
|
return TuiMobileCalendarComponent;
|
|
714
748
|
}());
|
|
749
|
+
TuiMobileCalendarComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiMobileCalendarComponent, deps: [{ token: i7.TUI_IS_IOS }, { token: i6.DOCUMENT }, { token: i7.TuiDestroyService }, { token: TUI_VALUE_STREAM }, { token: i1.TUI_CLOSE_WORD }, { token: kit.TUI_CANCEL_WORD }, { token: kit.TUI_DONE_WORD }, { token: i1.TUI_ORDERED_SHORT_WEEK_DAYS }, { token: kit.TUI_CHOOSE_DAY_OR_RANGE_TEXTS }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
750
|
+
TuiMobileCalendarComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiMobileCalendarComponent, selector: "tui-mobile-calendar", inputs: { single: "single", min: "min", max: "max", disabledItemHandler: "disabledItemHandler" }, outputs: { cancel: "cancel", confirm: "confirm" }, host: { properties: { "class._ios": "isIOS" } }, providers: TUI_MOBILE_CALENDAR_PROVIDERS, viewQueries: [{ propertyName: "yearsScrollRef", first: true, predicate: ["yearsScrollRef"], descendants: true }, { propertyName: "monthsScrollRef", first: true, predicate: ["monthsScrollRef"], descendants: true }], ngImport: i0__namespace, template: "<header class=\"t-header\">\n <button\n tuiIconButton\n type=\"button\"\n automation-id=\"tui-mobile-calendar__cancel\"\n icon=\"tuiIconRemoveLarge\"\n shape=\"rounded\"\n appearance=\"\"\n tuiRipple\n class=\"t-close\"\n [title]=\"closeWord$ | async\"\n (click)=\"onClose()\"\n ></button>\n <button\n tuiLink\n tuiTouchable=\"opacity\"\n type=\"button\"\n class=\"t-link t-link_close\"\n (click)=\"onClose()\"\n >\n {{ cancelWord$ | async }}\n </button>\n <h2\n *ngIf=\"chooseDayOrRangeTexts$ | async as texts\"\n automation-id=\"tui-mobile-calendar__label\"\n class=\"t-label\"\n >\n {{ single ? texts[0] : texts[1] }}\n </h2>\n <button\n tuiLink\n tuiTouchable=\"opacity\"\n type=\"button\"\n automation-id=\"tui-mobile-calendar__confirm\"\n class=\"t-link\"\n (click)=\"onConfirm()\"\n >\n {{ doneWord$ | async }}\n </button>\n</header>\n<cdk-virtual-scroll-viewport\n #yearsScrollRef\n orientation=\"horizontal\"\n class=\"t-years\"\n [itemSize]=\"yearWidth\"\n>\n <div class=\"t-years-wrapper\">\n <button\n *cdkVirtualFor=\"let index of years\"\n class=\"t-year\"\n [attr.data-state]=\"getState(index)\"\n (click)=\"setYear(index)\"\n >\n {{ index }}\n </button>\n </div>\n</cdk-virtual-scroll-viewport>\n<div class=\"t-week\">\n <div\n *ngFor=\"let day of weekDays$ | async\"\n class=\"t-day\"\n >\n {{ day }}\n </div>\n</div>\n<cdk-virtual-scroll-viewport\n #monthsScrollRef\n class=\"t-months\"\n (scrolledIndexChange)=\"onMonthChange($event)\"\n>\n <section\n *cdkVirtualFor=\"let month of months; templateCacheSize: 10\"\n class=\"t-month-wrapper\"\n >\n <h2 class=\"t-month\">{{ month | tuiMonth | async }}</h2>\n <tui-primitive-calendar-mobile\n class=\"t-calendar\"\n [month]=\"month\"\n [value]=\"value\"\n [disabledItemHandler]=\"disabledItemHandler | tuiMapper: disabledItemHandlerMapper:min:max\"\n (dayClick)=\"onDayClick($event)\"\n ></tui-primitive-calendar-mobile>\n </section>\n</cdk-virtual-scroll-viewport>\n", styles: [":host{display:block;height:100%;font-family:-apple-system,BlinkMacSystemFont,Roboto,sans-serif;color:var(--tui-text-01);-webkit-tap-highlight-color:transparent}.t-header{position:relative;display:flex;align-items:center;height:3.5rem;padding:0 1rem;border-bottom:.5px solid var(--tui-base-03)}:host._ios .t-header{height:2.75rem;border-bottom:none}.t-close{width:1.5rem;height:1.5rem;margin-right:2rem}:host._ios .t-close{display:none}.t-link{margin-left:auto;flex-shrink:0;font-size:.875rem;line-height:1rem;font-weight:500;text-transform:uppercase;color:var(--tui-link)}.t-link_close{display:none}:host._ios .t-link{min-width:3.75rem;text-align:right;font-size:.9375rem;line-height:1.125rem;font-weight:400;letter-spacing:.018125rem;text-transform:none}:host._ios .t-link_close{display:block;margin:0 auto 0 0;text-align:left}.t-label{position:relative;overflow:hidden;flex-grow:1;margin:0;font-size:1.25rem;line-height:3.5rem;font-weight:500;letter-spacing:-.0125rem;white-space:nowrap}.t-label:after{content:\"\";position:absolute;top:0;right:0;width:1.875rem;height:100%;background-image:linear-gradient(to right,transparent 0%,var(--tui-base-01) 80%,var(--tui-base-01) 100%);pointer-events:none}:host._ios .t-label{font-size:1.0625rem;font-weight:600;letter-spacing:-.025625rem;text-align:center}.t-label:after{background-image:linear-gradient(to right,rgba(255,255,255,0) 0%,var(--tui-base-01) 80%,var(--tui-base-01) 100%)}:host-context([data-mode=\"onDark\"]) .t-label:after{background-image:linear-gradient(to right,rgba(34,34,34,0) 0%,var(--tui-base-01) 80%,var(--tui-base-01) 100%)}.t-years{scrollbar-width:none;-ms-overflow-style:none;height:4.0625rem;background-color:var(--tui-base-01);box-shadow:0 .5px var(--tui-base-03)}.t-years::-webkit-scrollbar,.t-years::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}:host._ios .t-years{background-color:transparent}.t-years-wrapper{display:flex;height:4.0625rem}.t-year{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:0;background:none;font-size:inherit;line-height:inherit;outline:none;width:20vw;flex-shrink:0;font-size:.9375rem;font-weight:700;letter-spacing:.015625rem;cursor:pointer;opacity:.1;transform:scale(.73);transition:color,opacity,transform .2s}.t-year[data-state=adjacent]{transform:scale(.86);opacity:.3}.t-year[data-state=active]{color:var(--tui-link);opacity:1;transform:scale(1)}.t-week{display:flex;align-items:center;height:1.875rem;width:20.75rem;max-width:100%;margin:0 auto;font-size:.75rem}:host._ios .t-week{width:22.625rem;font-size:.6875rem;font-weight:500;color:var(--tui-text-02)}.t-day{flex:1;text-align:center}.t-months{scrollbar-width:none;-ms-overflow-style:none;height:calc(100% - 9.5rem);box-shadow:0 -1px var(--tui-base-03);overflow-x:hidden}.t-months::-webkit-scrollbar,.t-months::-webkit-scrollbar-thumb{background:transparent;width:0;height:0}:host._ios .t-months{height:calc(100% - 8.75rem)}.t-month-wrapper{margin:.625rem 0 -.625rem}.t-month{height:2.75rem;line-height:2.75rem;padding-left:1rem;font-size:.875rem;font-weight:500;text-transform:uppercase;margin:0 0 1.25rem;box-sizing:border-box;border-bottom:.5px solid var(--tui-base-03)}:host._ios .t-month{height:3.125rem;margin:0;border-bottom:none;text-transform:none;font-size:1.375rem;line-height:3.125rem;letter-spacing:.02rem;font-weight:700}.t-calendar{margin:0 auto;font-family:inherit;font-size:1.125rem;transition:opacity .2s}:host._ios .t-calendar{font-size:1.0625rem}\n"], components: [{ type: i1__namespace.TuiButtonComponent, selector: "button[tuiButton], button[tuiIconButton], a[tuiButton], a[tuiIconButton]", inputs: ["appearance", "disabled", "icon", "iconRight", "shape", "showLoader", "size"] }, { type: i1__namespace.TuiLinkComponent, selector: "a[tuiLink], button[tuiLink]", inputs: ["pseudo", "icon", "iconAlign", "iconRotated", "mode"], exportAs: ["tuiLink"] }, { type: i2__namespace.CdkVirtualScrollViewport, selector: "cdk-virtual-scroll-viewport", inputs: ["orientation", "appendOnly"], outputs: ["scrolledIndexChange"] }, { type: i3__namespace.TuiPrimitiveCalendarMobileComponent, selector: "tui-primitive-calendar-mobile" }], directives: [{ type: i4__namespace.TuiRippleDirective, selector: "[tuiRipple]", inputs: ["tuiRipple"] }, { type: i5__namespace.TuiTouchableDirective, selector: "[tuiTouchable]", inputs: ["tuiTouchable"] }, { type: i6__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2__namespace.CdkFixedSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[itemSize]", inputs: ["itemSize", "minBufferPx", "maxBufferPx"] }, { type: i2__namespace.CdkVirtualForOf, selector: "[cdkVirtualFor][cdkVirtualForOf]", inputs: ["cdkVirtualForOf", "cdkVirtualForTrackBy", "cdkVirtualForTemplate", "cdkVirtualForTemplateCacheSize"] }, { type: i6__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], pipes: { "async": i6__namespace.AsyncPipe, "tuiMonth": i1__namespace.TuiMonthPipe, "tuiMapper": i7__namespace.TuiMapperPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
751
|
+
__decorate([
|
|
752
|
+
i7.tuiDefaultProp()
|
|
753
|
+
], TuiMobileCalendarComponent.prototype, "single", void 0);
|
|
754
|
+
__decorate([
|
|
755
|
+
i7.tuiDefaultProp()
|
|
756
|
+
], TuiMobileCalendarComponent.prototype, "min", void 0);
|
|
757
|
+
__decorate([
|
|
758
|
+
i7.tuiDefaultProp()
|
|
759
|
+
], TuiMobileCalendarComponent.prototype, "max", void 0);
|
|
760
|
+
__decorate([
|
|
761
|
+
i7.tuiDefaultProp()
|
|
762
|
+
], TuiMobileCalendarComponent.prototype, "disabledItemHandler", void 0);
|
|
763
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiMobileCalendarComponent, decorators: [{
|
|
764
|
+
type: i0.Component,
|
|
765
|
+
args: [{
|
|
766
|
+
selector: "tui-mobile-calendar",
|
|
767
|
+
templateUrl: "./mobile-calendar.template.html",
|
|
768
|
+
styleUrls: ["./mobile-calendar.style.less"],
|
|
769
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
770
|
+
providers: TUI_MOBILE_CALENDAR_PROVIDERS,
|
|
771
|
+
host: { '[class._ios]': "isIOS" },
|
|
772
|
+
}]
|
|
773
|
+
}], ctorParameters: function () {
|
|
774
|
+
return [{ type: undefined, decorators: [{
|
|
775
|
+
type: i0.Inject,
|
|
776
|
+
args: [i7.TUI_IS_IOS]
|
|
777
|
+
}] }, { type: Document, decorators: [{
|
|
778
|
+
type: i0.Inject,
|
|
779
|
+
args: [i6.DOCUMENT]
|
|
780
|
+
}] }, { type: i7__namespace.TuiDestroyService, decorators: [{
|
|
781
|
+
type: i0.Inject,
|
|
782
|
+
args: [i7.TuiDestroyService]
|
|
783
|
+
}] }, { type: i8__namespace.Observable, decorators: [{
|
|
784
|
+
type: i0.Inject,
|
|
785
|
+
args: [TUI_VALUE_STREAM]
|
|
786
|
+
}] }, { type: i8__namespace.Observable, decorators: [{
|
|
787
|
+
type: i0.Inject,
|
|
788
|
+
args: [i1.TUI_CLOSE_WORD]
|
|
789
|
+
}] }, { type: i8__namespace.Observable, decorators: [{
|
|
790
|
+
type: i0.Inject,
|
|
791
|
+
args: [kit.TUI_CANCEL_WORD]
|
|
792
|
+
}] }, { type: i8__namespace.Observable, decorators: [{
|
|
793
|
+
type: i0.Inject,
|
|
794
|
+
args: [kit.TUI_DONE_WORD]
|
|
795
|
+
}] }, { type: i8__namespace.Observable, decorators: [{
|
|
796
|
+
type: i0.Inject,
|
|
797
|
+
args: [i1.TUI_ORDERED_SHORT_WEEK_DAYS]
|
|
798
|
+
}] }, { type: i8__namespace.Observable, decorators: [{
|
|
799
|
+
type: i0.Inject,
|
|
800
|
+
args: [kit.TUI_CHOOSE_DAY_OR_RANGE_TEXTS]
|
|
801
|
+
}] }];
|
|
802
|
+
}, propDecorators: { yearsScrollRef: [{
|
|
803
|
+
type: i0.ViewChild,
|
|
804
|
+
args: ["yearsScrollRef"]
|
|
805
|
+
}], monthsScrollRef: [{
|
|
806
|
+
type: i0.ViewChild,
|
|
807
|
+
args: ["monthsScrollRef"]
|
|
808
|
+
}], single: [{
|
|
809
|
+
type: i0.Input
|
|
810
|
+
}], min: [{
|
|
811
|
+
type: i0.Input
|
|
812
|
+
}], max: [{
|
|
813
|
+
type: i0.Input
|
|
814
|
+
}], disabledItemHandler: [{
|
|
815
|
+
type: i0.Input
|
|
816
|
+
}], cancel: [{
|
|
817
|
+
type: i0.Output
|
|
818
|
+
}], confirm: [{
|
|
819
|
+
type: i0.Output
|
|
820
|
+
}] } });
|
|
715
821
|
|
|
716
822
|
var TuiMobileCalendarModule = /** @class */ (function () {
|
|
717
823
|
function TuiMobileCalendarModule() {
|
|
718
824
|
}
|
|
719
|
-
TuiMobileCalendarModule = __decorate([
|
|
720
|
-
core.NgModule({
|
|
721
|
-
imports: [
|
|
722
|
-
common.CommonModule,
|
|
723
|
-
scrolling.ScrollingModule,
|
|
724
|
-
touchable.TuiTouchableModule,
|
|
725
|
-
ripple.TuiRippleModule,
|
|
726
|
-
cdk.TuiMapperPipeModule,
|
|
727
|
-
core$1.TuiLinkModule,
|
|
728
|
-
primitiveCalendarMobile.TuiPrimitiveCalendarMobileModule,
|
|
729
|
-
core$1.TuiButtonModule,
|
|
730
|
-
core$1.TuiMonthPipeModule,
|
|
731
|
-
],
|
|
732
|
-
declarations: [TuiMobileCalendarComponent],
|
|
733
|
-
exports: [TuiMobileCalendarComponent],
|
|
734
|
-
})
|
|
735
|
-
], TuiMobileCalendarModule);
|
|
736
825
|
return TuiMobileCalendarModule;
|
|
737
826
|
}());
|
|
827
|
+
TuiMobileCalendarModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiMobileCalendarModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
828
|
+
TuiMobileCalendarModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiMobileCalendarModule, declarations: [TuiMobileCalendarComponent], imports: [i6.CommonModule,
|
|
829
|
+
i2.ScrollingModule,
|
|
830
|
+
i5.TuiTouchableModule,
|
|
831
|
+
i4.TuiRippleModule,
|
|
832
|
+
i7.TuiMapperPipeModule,
|
|
833
|
+
i1.TuiLinkModule,
|
|
834
|
+
i3.TuiPrimitiveCalendarMobileModule,
|
|
835
|
+
i1.TuiButtonModule,
|
|
836
|
+
i1.TuiMonthPipeModule], exports: [TuiMobileCalendarComponent] });
|
|
837
|
+
TuiMobileCalendarModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiMobileCalendarModule, imports: [[
|
|
838
|
+
i6.CommonModule,
|
|
839
|
+
i2.ScrollingModule,
|
|
840
|
+
i5.TuiTouchableModule,
|
|
841
|
+
i4.TuiRippleModule,
|
|
842
|
+
i7.TuiMapperPipeModule,
|
|
843
|
+
i1.TuiLinkModule,
|
|
844
|
+
i3.TuiPrimitiveCalendarMobileModule,
|
|
845
|
+
i1.TuiButtonModule,
|
|
846
|
+
i1.TuiMonthPipeModule,
|
|
847
|
+
]] });
|
|
848
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: TuiMobileCalendarModule, decorators: [{
|
|
849
|
+
type: i0.NgModule,
|
|
850
|
+
args: [{
|
|
851
|
+
imports: [
|
|
852
|
+
i6.CommonModule,
|
|
853
|
+
i2.ScrollingModule,
|
|
854
|
+
i5.TuiTouchableModule,
|
|
855
|
+
i4.TuiRippleModule,
|
|
856
|
+
i7.TuiMapperPipeModule,
|
|
857
|
+
i1.TuiLinkModule,
|
|
858
|
+
i3.TuiPrimitiveCalendarMobileModule,
|
|
859
|
+
i1.TuiButtonModule,
|
|
860
|
+
i1.TuiMonthPipeModule,
|
|
861
|
+
],
|
|
862
|
+
declarations: [TuiMobileCalendarComponent],
|
|
863
|
+
exports: [TuiMobileCalendarComponent],
|
|
864
|
+
}]
|
|
865
|
+
}] });
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* Generated bundle index. Do not edit.
|
|
869
|
+
*/
|
|
738
870
|
|
|
739
871
|
exports.ANDROID_CYCLE = ANDROID_CYCLE;
|
|
740
872
|
exports.ANDROID_LABEL = ANDROID_LABEL;
|
|
@@ -757,5 +889,5 @@
|
|
|
757
889
|
|
|
758
890
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
759
891
|
|
|
760
|
-
}))
|
|
892
|
+
}));
|
|
761
893
|
//# sourceMappingURL=taiga-ui-addon-mobile-components-mobile-calendar.umd.js.map
|