@taiga-ui/addon-mobile 3.58.0 → 3.59.0-canary.1c24449
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/components/app-bar/app-bar-back.component.d.ts +1 -1
- package/components/app-bar/app-bar.component.d.ts +1 -1
- package/components/app-bar/app-bar.directive.d.ts +1 -1
- package/components/mobile-calendar/mobile-calendar.component.d.ts +1 -1
- package/components/mobile-calendar-dialog/mobile-calendar-dialog.component.d.ts +1 -1
- package/components/mobile-dialog/mobile-dialog.component.d.ts +1 -1
- package/components/mobile-dialog/mobile-dialog.options.d.ts +1 -1
- package/components/pull-to-refresh/loader-android/loader-android.component.d.ts +1 -1
- package/components/pull-to-refresh/loader-ios/loader-ios.component.d.ts +1 -1
- package/components/pull-to-refresh/pull-to-refresh.component.d.ts +1 -1
- package/components/sheet/components/sheet/sheet.component.d.ts +1 -1
- package/components/sheet/components/sheet-bar/sheet-bar.component.d.ts +1 -1
- package/components/sheet/components/sheet-heading/sheet-heading.component.d.ts +1 -1
- package/components/sheet/components/sheets-host/sheets-host.component.d.ts +1 -1
- package/components/sheet/directives/sheet-close/sheet-close.directive.d.ts +1 -1
- package/components/sheet/directives/sheet-stop/sheet-stop.directive.d.ts +1 -1
- package/components/sheet/directives/sheet-top/sheet-top.directive.d.ts +1 -1
- package/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.d.ts +1 -1
- package/components/sheet/sheet.directive.d.ts +1 -1
- package/components/sheet-dialog/sheet-dialog.component.d.ts +1 -1
- package/components/sheet-dialog/sheet-dialog.directive.d.ts +1 -1
- package/components/sheet-dialog/sheet-dialog.options.d.ts +1 -1
- package/components/tab-bar/tab-bar-item.component.d.ts +1 -1
- package/components/tab-bar/tab-bar-item.directive.d.ts +1 -1
- package/components/tab-bar/tab-bar.component.d.ts +1 -1
- package/components/theme-android/theme-android.component.d.ts +1 -1
- package/components/theme-ios/theme-ios.component.d.ts +1 -1
- package/const/mobile-alert-options.d.ts +3 -3
- package/directives/elastic-sticky/elastic-sticky.directive.d.ts +1 -1
- package/directives/mobile-tabs/mobile-tabs.component.d.ts +1 -1
- package/directives/mobile-tabs/mobile-tabs.directive.d.ts +1 -1
- package/directives/ripple/ripple-styles.component.d.ts +1 -1
- package/directives/ripple/ripple.directive.d.ts +1 -1
- package/directives/sidebar/sidebar.component.d.ts +1 -1
- package/directives/sidebar/sidebar.directive.d.ts +1 -1
- package/directives/touchable/touchable.directive.d.ts +1 -1
- package/esm2020/components/app-bar/app-bar-back.component.mjs +11 -0
- package/esm2020/components/app-bar/app-bar.component.mjs +34 -0
- package/{esm2015/components/app-bar/app-bar.directive.js → esm2020/components/app-bar/app-bar.directive.mjs} +3 -3
- package/{esm2015/components/app-bar/app-bar.module.js → esm2020/components/app-bar/app-bar.module.mjs} +5 -5
- package/esm2020/components/mobile-calendar/mobile-calendar.component.mjs +302 -0
- package/{esm2015/components/mobile-calendar/mobile-calendar.module.js → esm2020/components/mobile-calendar/mobile-calendar.module.mjs} +14 -16
- package/esm2020/components/mobile-calendar-dialog/mobile-calendar-dialog.component.mjs +35 -0
- package/{esm2015/components/mobile-calendar-dialog/mobile-calendar-dialog.module.js → esm2020/components/mobile-calendar-dialog/mobile-calendar-dialog.module.mjs} +6 -6
- package/esm2020/components/mobile-dialog/mobile-dialog.component.mjs +32 -0
- package/{esm2015/components/mobile-dialog/mobile-dialog.module.js → esm2020/components/mobile-dialog/mobile-dialog.module.mjs} +5 -5
- package/esm2020/components/mobile-dialog/mobile-dialog.service.mjs +29 -0
- package/esm2020/components/pull-to-refresh/loader-android/loader-android.component.mjs +55 -0
- package/esm2020/components/pull-to-refresh/loader-ios/loader-ios.component.mjs +44 -0
- package/{esm2015/components/pull-to-refresh/pull-to-refresh.component.js → esm2020/components/pull-to-refresh/pull-to-refresh.component.mjs} +7 -13
- package/{esm2015/components/pull-to-refresh/pull-to-refresh.module.js → esm2020/components/pull-to-refresh/pull-to-refresh.module.mjs} +5 -5
- package/esm2020/components/pull-to-refresh/pull-to-refresh.service.mjs +54 -0
- package/esm2020/components/sheet/components/sheet/sheet.component.mjs +121 -0
- package/{esm2015/components/sheet/components/sheet-bar/sheet-bar.component.js → esm2020/components/sheet/components/sheet-bar/sheet-bar.component.mjs} +7 -12
- package/{esm2015/components/sheet/components/sheet-heading/sheet-heading.component.js → esm2020/components/sheet/components/sheet-heading/sheet-heading.component.mjs} +5 -10
- package/esm2020/components/sheet/components/sheets-host/sheets-host.component.mjs +61 -0
- package/{esm2015/components/sheet/directives/sheet-close/sheet-close.directive.js → esm2020/components/sheet/directives/sheet-close/sheet-close.directive.mjs} +5 -5
- package/{esm2015/components/sheet/directives/sheet-stop/sheet-stop.directive.js → esm2020/components/sheet/directives/sheet-stop/sheet-stop.directive.mjs} +3 -3
- package/{esm2015/components/sheet/directives/sheet-top/sheet-top.directive.js → esm2020/components/sheet/directives/sheet-top/sheet-top.directive.mjs} +4 -4
- package/{esm2015/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.js → esm2020/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.mjs} +6 -8
- package/esm2020/components/sheet/sheet-options.mjs +21 -0
- package/esm2020/components/sheet/sheet.directive.mjs +49 -0
- package/{esm2015/components/sheet/sheet.module.js → esm2020/components/sheet/sheet.module.mjs} +10 -12
- package/esm2020/components/sheet/sheet.service.mjs +56 -0
- package/esm2020/components/sheet-dialog/sheet-dialog.component.mjs +132 -0
- package/{esm2015/components/sheet-dialog/sheet-dialog.directive.js → esm2020/components/sheet-dialog/sheet-dialog.directive.mjs} +3 -3
- package/{esm2015/components/sheet-dialog/sheet-dialog.module.js → esm2020/components/sheet-dialog/sheet-dialog.module.mjs} +5 -5
- package/{esm2015/components/sheet-dialog/sheet-dialog.service.js → esm2020/components/sheet-dialog/sheet-dialog.service.mjs} +8 -5
- package/esm2020/components/tab-bar/tab-bar-item.component.mjs +29 -0
- package/{esm2015/components/tab-bar/tab-bar-item.directive.js → esm2020/components/tab-bar/tab-bar-item.directive.mjs} +3 -3
- package/esm2020/components/tab-bar/tab-bar.component.mjs +47 -0
- package/{esm2015/components/tab-bar/tab-bar.module.js → esm2020/components/tab-bar/tab-bar.module.mjs} +5 -5
- package/{esm2015/components/theme-android/theme-android.component.js → esm2020/components/theme-android/theme-android.component.mjs} +5 -11
- package/{esm2015/components/theme-android/theme-android.module.js → esm2020/components/theme-android/theme-android.module.mjs} +4 -4
- package/esm2020/components/theme-ios/theme-ios.component.mjs +12 -0
- package/{esm2015/components/theme-ios/theme-ios.module.js → esm2020/components/theme-ios/theme-ios.module.mjs} +4 -4
- package/esm2020/const/mobile-alert-options.mjs +13 -0
- package/{esm2015/directives/elastic-sticky/elastic-sticky.directive.js → esm2020/directives/elastic-sticky/elastic-sticky.directive.mjs} +3 -3
- package/{esm2015/directives/elastic-sticky/elastic-sticky.module.js → esm2020/directives/elastic-sticky/elastic-sticky.module.mjs} +4 -4
- package/{esm2015/directives/elastic-sticky/elastic-sticky.service.js → esm2020/directives/elastic-sticky/elastic-sticky.service.mjs} +3 -3
- package/esm2020/directives/mobile-tabs/mobile-tabs.component.mjs +13 -0
- package/{esm2015/directives/mobile-tabs/mobile-tabs.directive.js → esm2020/directives/mobile-tabs/mobile-tabs.directive.mjs} +3 -3
- package/{esm2015/directives/mobile-tabs/mobile-tabs.module.js → esm2020/directives/mobile-tabs/mobile-tabs.module.mjs} +4 -4
- package/{esm2015/directives/ripple/ripple-styles.component.js → esm2020/directives/ripple/ripple-styles.component.mjs} +6 -12
- package/{esm2015/directives/ripple/ripple.directive.js → esm2020/directives/ripple/ripple.directive.mjs} +3 -3
- package/{esm2015/directives/ripple/ripple.module.js → esm2020/directives/ripple/ripple.module.mjs} +4 -4
- package/esm2020/directives/sidebar/sidebar.component.mjs +58 -0
- package/esm2020/directives/sidebar/sidebar.directive.mjs +72 -0
- package/{esm2015/directives/sidebar/sidebar.module.js → esm2020/directives/sidebar/sidebar.module.mjs} +5 -5
- package/esm2020/directives/touchable/touchable.directive.mjs +83 -0
- package/{esm2015/directives/touchable/touchable.module.js → esm2020/directives/touchable/touchable.module.mjs} +4 -4
- package/esm2020/internal/primitive-calendar-mobile/primitive-calendar-mobile.component.mjs +34 -0
- package/{esm2015/internal/primitive-calendar-mobile/primitive-calendar-mobile.module.js → esm2020/internal/primitive-calendar-mobile/primitive-calendar-mobile.module.mjs} +8 -10
- package/fesm2015/taiga-ui-addon-mobile-components-app-bar.mjs +104 -0
- package/fesm2015/taiga-ui-addon-mobile-components-app-bar.mjs.map +1 -0
- package/fesm2015/{taiga-ui-addon-mobile-components-mobile-calendar-dialog.js → taiga-ui-addon-mobile-components-mobile-calendar-dialog.mjs} +16 -19
- package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar-dialog.mjs.map +1 -0
- package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar.mjs +540 -0
- package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar.mjs.map +1 -0
- package/fesm2015/taiga-ui-addon-mobile-components-mobile-dialog.mjs +91 -0
- package/fesm2015/taiga-ui-addon-mobile-components-mobile-dialog.mjs.map +1 -0
- package/fesm2015/taiga-ui-addon-mobile-components-pull-to-refresh.mjs +258 -0
- package/fesm2015/taiga-ui-addon-mobile-components-pull-to-refresh.mjs.map +1 -0
- package/fesm2015/taiga-ui-addon-mobile-components-sheet-dialog.mjs +215 -0
- package/fesm2015/taiga-ui-addon-mobile-components-sheet-dialog.mjs.map +1 -0
- package/fesm2015/taiga-ui-addon-mobile-components-sheet.mjs +688 -0
- package/fesm2015/taiga-ui-addon-mobile-components-sheet.mjs.map +1 -0
- package/fesm2015/taiga-ui-addon-mobile-components-tab-bar.mjs +137 -0
- package/fesm2015/taiga-ui-addon-mobile-components-tab-bar.mjs.map +1 -0
- package/fesm2015/{taiga-ui-addon-mobile-components-theme-android.js → taiga-ui-addon-mobile-components-theme-android.mjs} +9 -15
- package/fesm2015/taiga-ui-addon-mobile-components-theme-android.mjs.map +1 -0
- package/fesm2015/{taiga-ui-addon-mobile-components-theme-ios.js → taiga-ui-addon-mobile-components-theme-ios.mjs} +9 -15
- package/fesm2015/taiga-ui-addon-mobile-components-theme-ios.mjs.map +1 -0
- package/fesm2015/{taiga-ui-addon-mobile-components.js → taiga-ui-addon-mobile-components.mjs} +1 -1
- package/fesm2015/taiga-ui-addon-mobile-components.mjs.map +1 -0
- package/fesm2015/{taiga-ui-addon-mobile-const.js → taiga-ui-addon-mobile-const.mjs} +1 -1
- package/fesm2015/taiga-ui-addon-mobile-const.mjs.map +1 -0
- package/fesm2015/taiga-ui-addon-mobile-directives-elastic-sticky.mjs +86 -0
- package/fesm2015/taiga-ui-addon-mobile-directives-elastic-sticky.mjs.map +1 -0
- package/fesm2015/taiga-ui-addon-mobile-directives-mobile-tabs.mjs +87 -0
- package/fesm2015/taiga-ui-addon-mobile-directives-mobile-tabs.mjs.map +1 -0
- package/fesm2015/taiga-ui-addon-mobile-directives-ripple.mjs +137 -0
- package/fesm2015/taiga-ui-addon-mobile-directives-ripple.mjs.map +1 -0
- package/fesm2015/taiga-ui-addon-mobile-directives-sidebar.mjs +143 -0
- package/fesm2015/taiga-ui-addon-mobile-directives-sidebar.mjs.map +1 -0
- package/fesm2015/taiga-ui-addon-mobile-directives-touchable.mjs +105 -0
- package/fesm2015/taiga-ui-addon-mobile-directives-touchable.mjs.map +1 -0
- package/fesm2015/{taiga-ui-addon-mobile-directives.js → taiga-ui-addon-mobile-directives.mjs} +1 -1
- package/fesm2015/taiga-ui-addon-mobile-directives.mjs.map +1 -0
- package/fesm2015/taiga-ui-addon-mobile-interfaces.mjs +4 -0
- package/fesm2015/taiga-ui-addon-mobile-interfaces.mjs.map +1 -0
- package/fesm2015/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.mjs +72 -0
- package/fesm2015/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.mjs.map +1 -0
- package/fesm2015/{taiga-ui-addon-mobile-internal.js → taiga-ui-addon-mobile-internal.mjs} +1 -1
- package/fesm2015/taiga-ui-addon-mobile-internal.mjs.map +1 -0
- package/fesm2015/taiga-ui-addon-mobile-types.mjs +4 -0
- package/fesm2015/taiga-ui-addon-mobile-types.mjs.map +1 -0
- package/fesm2015/{taiga-ui-addon-mobile-utils.js → taiga-ui-addon-mobile-utils.mjs} +1 -1
- package/fesm2015/taiga-ui-addon-mobile-utils.mjs.map +1 -0
- package/fesm2015/{taiga-ui-addon-mobile.js → taiga-ui-addon-mobile.mjs} +1 -1
- package/fesm2015/taiga-ui-addon-mobile.mjs.map +1 -0
- package/{fesm2015/taiga-ui-addon-mobile-components-app-bar.js → fesm2020/taiga-ui-addon-mobile-components-app-bar.mjs} +18 -32
- package/fesm2020/taiga-ui-addon-mobile-components-app-bar.mjs.map +1 -0
- package/fesm2020/taiga-ui-addon-mobile-components-mobile-calendar-dialog.mjs +69 -0
- package/fesm2020/taiga-ui-addon-mobile-components-mobile-calendar-dialog.mjs.map +1 -0
- package/{fesm2015/taiga-ui-addon-mobile-components-mobile-calendar.js → fesm2020/taiga-ui-addon-mobile-components-mobile-calendar.mjs} +35 -49
- package/fesm2020/taiga-ui-addon-mobile-components-mobile-calendar.mjs.map +1 -0
- package/{fesm2015/taiga-ui-addon-mobile-components-mobile-dialog.js → fesm2020/taiga-ui-addon-mobile-components-mobile-dialog.mjs} +22 -25
- package/fesm2020/taiga-ui-addon-mobile-components-mobile-dialog.mjs.map +1 -0
- package/{fesm2015/taiga-ui-addon-mobile-components-pull-to-refresh.js → fesm2020/taiga-ui-addon-mobile-components-pull-to-refresh.mjs} +24 -40
- package/fesm2020/taiga-ui-addon-mobile-components-pull-to-refresh.mjs.map +1 -0
- package/{fesm2015/taiga-ui-addon-mobile-components-sheet-dialog.js → fesm2020/taiga-ui-addon-mobile-components-sheet-dialog.mjs} +25 -31
- package/fesm2020/taiga-ui-addon-mobile-components-sheet-dialog.mjs.map +1 -0
- package/{fesm2015/taiga-ui-addon-mobile-components-sheet.js → fesm2020/taiga-ui-addon-mobile-components-sheet.mjs} +85 -106
- package/fesm2020/taiga-ui-addon-mobile-components-sheet.mjs.map +1 -0
- package/{fesm2015/taiga-ui-addon-mobile-components-tab-bar.js → fesm2020/taiga-ui-addon-mobile-components-tab-bar.mjs} +18 -29
- package/fesm2020/taiga-ui-addon-mobile-components-tab-bar.mjs.map +1 -0
- package/fesm2020/taiga-ui-addon-mobile-components-theme-android.mjs +32 -0
- package/fesm2020/taiga-ui-addon-mobile-components-theme-android.mjs.map +1 -0
- package/fesm2020/taiga-ui-addon-mobile-components-theme-ios.mjs +32 -0
- package/fesm2020/taiga-ui-addon-mobile-components-theme-ios.mjs.map +1 -0
- package/fesm2020/taiga-ui-addon-mobile-components.mjs +15 -0
- package/fesm2020/taiga-ui-addon-mobile-components.mjs.map +1 -0
- package/fesm2020/taiga-ui-addon-mobile-const.mjs +19 -0
- package/fesm2020/taiga-ui-addon-mobile-const.mjs.map +1 -0
- package/{fesm2015/taiga-ui-addon-mobile-directives-elastic-sticky.js → fesm2020/taiga-ui-addon-mobile-directives-elastic-sticky.mjs} +11 -11
- package/fesm2020/taiga-ui-addon-mobile-directives-elastic-sticky.mjs.map +1 -0
- package/fesm2020/taiga-ui-addon-mobile-directives-mobile-tabs.mjs +85 -0
- package/fesm2020/taiga-ui-addon-mobile-directives-mobile-tabs.mjs.map +1 -0
- package/{fesm2015/taiga-ui-addon-mobile-directives-ripple.js → fesm2020/taiga-ui-addon-mobile-directives-ripple.mjs} +13 -19
- package/fesm2020/taiga-ui-addon-mobile-directives-ripple.mjs.map +1 -0
- package/{fesm2015/taiga-ui-addon-mobile-directives-sidebar.js → fesm2020/taiga-ui-addon-mobile-directives-sidebar.mjs} +28 -28
- package/fesm2020/taiga-ui-addon-mobile-directives-sidebar.mjs.map +1 -0
- package/{fesm2015/taiga-ui-addon-mobile-directives-touchable.js → fesm2020/taiga-ui-addon-mobile-directives-touchable.mjs} +9 -9
- package/fesm2020/taiga-ui-addon-mobile-directives-touchable.mjs.map +1 -0
- package/fesm2020/taiga-ui-addon-mobile-directives.mjs +10 -0
- package/fesm2020/taiga-ui-addon-mobile-directives.mjs.map +1 -0
- package/fesm2020/taiga-ui-addon-mobile-interfaces.mjs +4 -0
- package/fesm2020/taiga-ui-addon-mobile-interfaces.mjs.map +1 -0
- package/{fesm2015/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js → fesm2020/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.mjs} +13 -21
- package/fesm2020/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.mjs.map +1 -0
- package/fesm2020/taiga-ui-addon-mobile-internal.mjs +6 -0
- package/fesm2020/taiga-ui-addon-mobile-internal.mjs.map +1 -0
- package/fesm2020/taiga-ui-addon-mobile-types.mjs +4 -0
- package/fesm2020/taiga-ui-addon-mobile-types.mjs.map +1 -0
- package/fesm2020/taiga-ui-addon-mobile-utils.mjs +16 -0
- package/fesm2020/taiga-ui-addon-mobile-utils.mjs.map +1 -0
- package/fesm2020/taiga-ui-addon-mobile.mjs +11 -0
- package/fesm2020/taiga-ui-addon-mobile.mjs.map +1 -0
- package/internal/primitive-calendar-mobile/primitive-calendar-mobile.component.d.ts +1 -1
- package/package.json +229 -32
- package/types/touch-mode.d.ts +1 -1
- package/bundles/taiga-ui-addon-mobile-components-app-bar.umd.js +0 -149
- package/bundles/taiga-ui-addon-mobile-components-app-bar.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-components-mobile-calendar-dialog.umd.js +0 -129
- package/bundles/taiga-ui-addon-mobile-components-mobile-calendar-dialog.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-components-mobile-calendar.umd.js +0 -929
- package/bundles/taiga-ui-addon-mobile-components-mobile-calendar.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-components-mobile-dialog.umd.js +0 -450
- package/bundles/taiga-ui-addon-mobile-components-mobile-dialog.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-components-pull-to-refresh.umd.js +0 -677
- package/bundles/taiga-ui-addon-mobile-components-pull-to-refresh.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-components-sheet-dialog.umd.js +0 -596
- package/bundles/taiga-ui-addon-mobile-components-sheet-dialog.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-components-sheet.umd.js +0 -1153
- package/bundles/taiga-ui-addon-mobile-components-sheet.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-components-tab-bar.umd.js +0 -188
- package/bundles/taiga-ui-addon-mobile-components-tab-bar.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-components-theme-android.umd.js +0 -391
- package/bundles/taiga-ui-addon-mobile-components-theme-android.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-components-theme-ios.umd.js +0 -391
- package/bundles/taiga-ui-addon-mobile-components-theme-ios.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-components.umd.js +0 -75
- package/bundles/taiga-ui-addon-mobile-components.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-const.umd.js +0 -24
- package/bundles/taiga-ui-addon-mobile-const.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-directives-elastic-sticky.umd.js +0 -437
- package/bundles/taiga-ui-addon-mobile-directives-elastic-sticky.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-directives-mobile-tabs.umd.js +0 -131
- package/bundles/taiga-ui-addon-mobile-directives-mobile-tabs.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-directives-ripple.umd.js +0 -195
- package/bundles/taiga-ui-addon-mobile-directives-ripple.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-directives-sidebar.umd.js +0 -524
- package/bundles/taiga-ui-addon-mobile-directives-sidebar.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-directives-touchable.umd.js +0 -144
- package/bundles/taiga-ui-addon-mobile-directives-touchable.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-directives.umd.js +0 -45
- package/bundles/taiga-ui-addon-mobile-directives.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-interfaces.umd.js +0 -11
- package/bundles/taiga-ui-addon-mobile-interfaces.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.umd.js +0 -429
- package/bundles/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-internal.umd.js +0 -21
- package/bundles/taiga-ui-addon-mobile-internal.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-types.umd.js +0 -11
- package/bundles/taiga-ui-addon-mobile-types.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile-utils.umd.js +0 -26
- package/bundles/taiga-ui-addon-mobile-utils.umd.js.map +0 -1
- package/bundles/taiga-ui-addon-mobile.umd.js +0 -51
- package/bundles/taiga-ui-addon-mobile.umd.js.map +0 -1
- package/components/app-bar/package.json +0 -10
- package/components/app-bar/taiga-ui-addon-mobile-components-app-bar.d.ts +0 -5
- package/components/mobile-calendar/package.json +0 -10
- package/components/mobile-calendar/taiga-ui-addon-mobile-components-mobile-calendar.d.ts +0 -5
- package/components/mobile-calendar-dialog/package.json +0 -10
- package/components/mobile-calendar-dialog/taiga-ui-addon-mobile-components-mobile-calendar-dialog.d.ts +0 -5
- package/components/mobile-dialog/package.json +0 -10
- package/components/mobile-dialog/taiga-ui-addon-mobile-components-mobile-dialog.d.ts +0 -5
- package/components/package.json +0 -10
- package/components/pull-to-refresh/package.json +0 -10
- package/components/pull-to-refresh/taiga-ui-addon-mobile-components-pull-to-refresh.d.ts +0 -5
- package/components/sheet/package.json +0 -10
- package/components/sheet/taiga-ui-addon-mobile-components-sheet.d.ts +0 -5
- package/components/sheet-dialog/package.json +0 -10
- package/components/sheet-dialog/taiga-ui-addon-mobile-components-sheet-dialog.d.ts +0 -5
- package/components/tab-bar/package.json +0 -10
- package/components/tab-bar/taiga-ui-addon-mobile-components-tab-bar.d.ts +0 -5
- package/components/taiga-ui-addon-mobile-components.d.ts +0 -5
- package/components/theme-android/package.json +0 -10
- package/components/theme-android/taiga-ui-addon-mobile-components-theme-android.d.ts +0 -5
- package/components/theme-ios/package.json +0 -10
- package/components/theme-ios/taiga-ui-addon-mobile-components-theme-ios.d.ts +0 -5
- package/const/package.json +0 -10
- package/const/taiga-ui-addon-mobile-const.d.ts +0 -5
- package/directives/elastic-sticky/package.json +0 -10
- package/directives/elastic-sticky/taiga-ui-addon-mobile-directives-elastic-sticky.d.ts +0 -5
- package/directives/mobile-tabs/package.json +0 -10
- package/directives/mobile-tabs/taiga-ui-addon-mobile-directives-mobile-tabs.d.ts +0 -5
- package/directives/package.json +0 -10
- package/directives/ripple/package.json +0 -10
- package/directives/ripple/taiga-ui-addon-mobile-directives-ripple.d.ts +0 -5
- package/directives/sidebar/package.json +0 -10
- package/directives/sidebar/taiga-ui-addon-mobile-directives-sidebar.d.ts +0 -5
- package/directives/taiga-ui-addon-mobile-directives.d.ts +0 -5
- package/directives/touchable/package.json +0 -10
- package/directives/touchable/taiga-ui-addon-mobile-directives-touchable.d.ts +0 -5
- package/esm2015/components/app-bar/app-bar-back.component.js +0 -16
- package/esm2015/components/app-bar/app-bar.component.js +0 -43
- package/esm2015/components/mobile-calendar/mobile-calendar.component.js +0 -314
- package/esm2015/components/mobile-calendar-dialog/mobile-calendar-dialog.component.js +0 -45
- package/esm2015/components/mobile-dialog/mobile-dialog.component.js +0 -38
- package/esm2015/components/mobile-dialog/mobile-dialog.service.js +0 -26
- package/esm2015/components/pull-to-refresh/loader-android/loader-android.component.js +0 -60
- package/esm2015/components/pull-to-refresh/loader-ios/loader-ios.component.js +0 -49
- package/esm2015/components/pull-to-refresh/pull-to-refresh.service.js +0 -54
- package/esm2015/components/sheet/components/sheet/sheet.component.js +0 -128
- package/esm2015/components/sheet/components/sheets-host/sheets-host.component.js +0 -68
- package/esm2015/components/sheet/sheet-options.js +0 -19
- package/esm2015/components/sheet/sheet.directive.js +0 -49
- package/esm2015/components/sheet/sheet.service.js +0 -51
- package/esm2015/components/sheet-dialog/sheet-dialog.component.js +0 -141
- package/esm2015/components/tab-bar/tab-bar-item.component.js +0 -35
- package/esm2015/components/tab-bar/tab-bar.component.js +0 -52
- package/esm2015/components/theme-ios/theme-ios.component.js +0 -18
- package/esm2015/const/mobile-alert-options.js +0 -7
- package/esm2015/directives/mobile-tabs/mobile-tabs.component.js +0 -19
- package/esm2015/directives/sidebar/sidebar.component.js +0 -58
- package/esm2015/directives/sidebar/sidebar.directive.js +0 -72
- package/esm2015/directives/touchable/touchable.directive.js +0 -83
- package/esm2015/internal/primitive-calendar-mobile/primitive-calendar-mobile.component.js +0 -40
- package/fesm2015/taiga-ui-addon-mobile-components-app-bar.js.map +0 -1
- package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar-dialog.js.map +0 -1
- package/fesm2015/taiga-ui-addon-mobile-components-mobile-calendar.js.map +0 -1
- package/fesm2015/taiga-ui-addon-mobile-components-mobile-dialog.js.map +0 -1
- package/fesm2015/taiga-ui-addon-mobile-components-pull-to-refresh.js.map +0 -1
- package/fesm2015/taiga-ui-addon-mobile-components-sheet-dialog.js.map +0 -1
- package/fesm2015/taiga-ui-addon-mobile-components-sheet.js.map +0 -1
- package/fesm2015/taiga-ui-addon-mobile-components-tab-bar.js.map +0 -1
- package/fesm2015/taiga-ui-addon-mobile-components-theme-android.js.map +0 -1
- package/fesm2015/taiga-ui-addon-mobile-components-theme-ios.js.map +0 -1
- package/fesm2015/taiga-ui-addon-mobile-components.js.map +0 -1
- package/fesm2015/taiga-ui-addon-mobile-const.js.map +0 -1
- package/fesm2015/taiga-ui-addon-mobile-directives-elastic-sticky.js.map +0 -1
- package/fesm2015/taiga-ui-addon-mobile-directives-mobile-tabs.js +0 -91
- package/fesm2015/taiga-ui-addon-mobile-directives-mobile-tabs.js.map +0 -1
- package/fesm2015/taiga-ui-addon-mobile-directives-ripple.js.map +0 -1
- package/fesm2015/taiga-ui-addon-mobile-directives-sidebar.js.map +0 -1
- package/fesm2015/taiga-ui-addon-mobile-directives-touchable.js.map +0 -1
- package/fesm2015/taiga-ui-addon-mobile-directives.js.map +0 -1
- package/fesm2015/taiga-ui-addon-mobile-interfaces.js +0 -4
- package/fesm2015/taiga-ui-addon-mobile-interfaces.js.map +0 -1
- package/fesm2015/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js.map +0 -1
- package/fesm2015/taiga-ui-addon-mobile-internal.js.map +0 -1
- package/fesm2015/taiga-ui-addon-mobile-types.js +0 -4
- package/fesm2015/taiga-ui-addon-mobile-types.js.map +0 -1
- package/fesm2015/taiga-ui-addon-mobile-utils.js.map +0 -1
- package/fesm2015/taiga-ui-addon-mobile.js.map +0 -1
- package/interfaces/package.json +0 -10
- package/interfaces/taiga-ui-addon-mobile-interfaces.d.ts +0 -5
- package/internal/package.json +0 -10
- package/internal/primitive-calendar-mobile/package.json +0 -10
- package/internal/primitive-calendar-mobile/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.d.ts +0 -5
- package/internal/taiga-ui-addon-mobile-internal.d.ts +0 -5
- package/taiga-ui-addon-mobile.d.ts +0 -5
- package/types/package.json +0 -10
- package/types/taiga-ui-addon-mobile-types.d.ts +0 -5
- package/utils/package.json +0 -10
- package/utils/taiga-ui-addon-mobile-utils.d.ts +0 -5
- /package/{esm2015/components/app-bar/app-bar.providers.js → esm2020/components/app-bar/app-bar.providers.mjs} +0 -0
- /package/{esm2015/components/app-bar/index.js → esm2020/components/app-bar/index.mjs} +0 -0
- /package/{esm2015/components/app-bar/taiga-ui-addon-mobile-components-app-bar.js → esm2020/components/app-bar/taiga-ui-addon-mobile-components-app-bar.mjs} +0 -0
- /package/{esm2015/components/index.js → esm2020/components/index.mjs} +0 -0
- /package/{esm2015/components/mobile-calendar/index.js → esm2020/components/mobile-calendar/index.mjs} +0 -0
- /package/{esm2015/components/mobile-calendar/mobile-calendar.const.js → esm2020/components/mobile-calendar/mobile-calendar.const.mjs} +0 -0
- /package/{esm2015/components/mobile-calendar/mobile-calendar.providers.js → esm2020/components/mobile-calendar/mobile-calendar.providers.mjs} +0 -0
- /package/{esm2015/components/mobile-calendar/mobile-calendar.strategy.js → esm2020/components/mobile-calendar/mobile-calendar.strategy.mjs} +0 -0
- /package/{esm2015/components/mobile-calendar/taiga-ui-addon-mobile-components-mobile-calendar.js → esm2020/components/mobile-calendar/taiga-ui-addon-mobile-components-mobile-calendar.mjs} +0 -0
- /package/{esm2015/components/mobile-calendar-dialog/index.js → esm2020/components/mobile-calendar-dialog/index.mjs} +0 -0
- /package/{esm2015/components/mobile-calendar-dialog/taiga-ui-addon-mobile-components-mobile-calendar-dialog.js → esm2020/components/mobile-calendar-dialog/taiga-ui-addon-mobile-components-mobile-calendar-dialog.mjs} +0 -0
- /package/{esm2015/components/mobile-dialog/index.js → esm2020/components/mobile-dialog/index.mjs} +0 -0
- /package/{esm2015/components/mobile-dialog/mobile-dialog-options.js → esm2020/components/mobile-dialog/mobile-dialog-options.mjs} +0 -0
- /package/{esm2015/components/mobile-dialog/mobile-dialog.options.js → esm2020/components/mobile-dialog/mobile-dialog.options.mjs} +0 -0
- /package/{esm2015/components/mobile-dialog/taiga-ui-addon-mobile-components-mobile-dialog.js → esm2020/components/mobile-dialog/taiga-ui-addon-mobile-components-mobile-dialog.mjs} +0 -0
- /package/{esm2015/components/pull-to-refresh/index.js → esm2020/components/pull-to-refresh/index.mjs} +0 -0
- /package/{esm2015/components/pull-to-refresh/pull-to-refresh.providers.js → esm2020/components/pull-to-refresh/pull-to-refresh.providers.mjs} +0 -0
- /package/{esm2015/components/pull-to-refresh/taiga-ui-addon-mobile-components-pull-to-refresh.js → esm2020/components/pull-to-refresh/taiga-ui-addon-mobile-components-pull-to-refresh.mjs} +0 -0
- /package/{esm2015/components/sheet/components/sheet/sheet.providers.js → esm2020/components/sheet/components/sheet/sheet.providers.mjs} +0 -0
- /package/{esm2015/components/sheet/index.js → esm2020/components/sheet/index.mjs} +0 -0
- /package/{esm2015/components/sheet/ios.hacks.js → esm2020/components/sheet/ios.hacks.mjs} +0 -0
- /package/{esm2015/components/sheet/sheet-tokens.js → esm2020/components/sheet/sheet-tokens.mjs} +0 -0
- /package/{esm2015/components/sheet/sheet.js → esm2020/components/sheet/sheet.mjs} +0 -0
- /package/{esm2015/components/sheet/taiga-ui-addon-mobile-components-sheet.js → esm2020/components/sheet/taiga-ui-addon-mobile-components-sheet.mjs} +0 -0
- /package/{esm2015/components/sheet-dialog/index.js → esm2020/components/sheet-dialog/index.mjs} +0 -0
- /package/{esm2015/components/sheet-dialog/sheet-dialog.options.js → esm2020/components/sheet-dialog/sheet-dialog.options.mjs} +0 -0
- /package/{esm2015/components/sheet-dialog/taiga-ui-addon-mobile-components-sheet-dialog.js → esm2020/components/sheet-dialog/taiga-ui-addon-mobile-components-sheet-dialog.mjs} +0 -0
- /package/{esm2015/components/tab-bar/index.js → esm2020/components/tab-bar/index.mjs} +0 -0
- /package/{esm2015/components/tab-bar/taiga-ui-addon-mobile-components-tab-bar.js → esm2020/components/tab-bar/taiga-ui-addon-mobile-components-tab-bar.mjs} +0 -0
- /package/{esm2015/components/taiga-ui-addon-mobile-components.js → esm2020/components/taiga-ui-addon-mobile-components.mjs} +0 -0
- /package/{esm2015/components/theme-android/index.js → esm2020/components/theme-android/index.mjs} +0 -0
- /package/{esm2015/components/theme-android/taiga-ui-addon-mobile-components-theme-android.js → esm2020/components/theme-android/taiga-ui-addon-mobile-components-theme-android.mjs} +0 -0
- /package/{esm2015/components/theme-ios/index.js → esm2020/components/theme-ios/index.mjs} +0 -0
- /package/{esm2015/components/theme-ios/taiga-ui-addon-mobile-components-theme-ios.js → esm2020/components/theme-ios/taiga-ui-addon-mobile-components-theme-ios.mjs} +0 -0
- /package/{esm2015/const/index.js → esm2020/const/index.mjs} +0 -0
- /package/{esm2015/const/taiga-ui-addon-mobile-const.js → esm2020/const/taiga-ui-addon-mobile-const.mjs} +0 -0
- /package/{esm2015/directives/elastic-sticky/index.js → esm2020/directives/elastic-sticky/index.mjs} +0 -0
- /package/{esm2015/directives/elastic-sticky/taiga-ui-addon-mobile-directives-elastic-sticky.js → esm2020/directives/elastic-sticky/taiga-ui-addon-mobile-directives-elastic-sticky.mjs} +0 -0
- /package/{esm2015/directives/index.js → esm2020/directives/index.mjs} +0 -0
- /package/{esm2015/directives/mobile-tabs/index.js → esm2020/directives/mobile-tabs/index.mjs} +0 -0
- /package/{esm2015/directives/mobile-tabs/taiga-ui-addon-mobile-directives-mobile-tabs.js → esm2020/directives/mobile-tabs/taiga-ui-addon-mobile-directives-mobile-tabs.mjs} +0 -0
- /package/{esm2015/directives/ripple/index.js → esm2020/directives/ripple/index.mjs} +0 -0
- /package/{esm2015/directives/ripple/ripple.providers.js → esm2020/directives/ripple/ripple.providers.mjs} +0 -0
- /package/{esm2015/directives/ripple/taiga-ui-addon-mobile-directives-ripple.js → esm2020/directives/ripple/taiga-ui-addon-mobile-directives-ripple.mjs} +0 -0
- /package/{esm2015/directives/sidebar/index.js → esm2020/directives/sidebar/index.mjs} +0 -0
- /package/{esm2015/directives/sidebar/taiga-ui-addon-mobile-directives-sidebar.js → esm2020/directives/sidebar/taiga-ui-addon-mobile-directives-sidebar.mjs} +0 -0
- /package/{esm2015/directives/taiga-ui-addon-mobile-directives.js → esm2020/directives/taiga-ui-addon-mobile-directives.mjs} +0 -0
- /package/{esm2015/directives/touchable/index.js → esm2020/directives/touchable/index.mjs} +0 -0
- /package/{esm2015/directives/touchable/taiga-ui-addon-mobile-directives-touchable.js → esm2020/directives/touchable/taiga-ui-addon-mobile-directives-touchable.mjs} +0 -0
- /package/{esm2015/index.js → esm2020/index.mjs} +0 -0
- /package/{esm2015/interfaces/index.js → esm2020/interfaces/index.mjs} +0 -0
- /package/{esm2015/interfaces/mobile-alert-data.js → esm2020/interfaces/mobile-alert-data.mjs} +0 -0
- /package/{esm2015/interfaces/taiga-ui-addon-mobile-interfaces.js → esm2020/interfaces/taiga-ui-addon-mobile-interfaces.mjs} +0 -0
- /package/{esm2015/internal/index.js → esm2020/internal/index.mjs} +0 -0
- /package/{esm2015/internal/primitive-calendar-mobile/index.js → esm2020/internal/primitive-calendar-mobile/index.mjs} +0 -0
- /package/{esm2015/internal/primitive-calendar-mobile/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.js → esm2020/internal/primitive-calendar-mobile/taiga-ui-addon-mobile-internal-primitive-calendar-mobile.mjs} +0 -0
- /package/{esm2015/internal/taiga-ui-addon-mobile-internal.js → esm2020/internal/taiga-ui-addon-mobile-internal.mjs} +0 -0
- /package/{esm2015/taiga-ui-addon-mobile.js → esm2020/taiga-ui-addon-mobile.mjs} +0 -0
- /package/{esm2015/types/index.js → esm2020/types/index.mjs} +0 -0
- /package/{esm2015/types/taiga-ui-addon-mobile-types.js → esm2020/types/taiga-ui-addon-mobile-types.mjs} +0 -0
- /package/{esm2015/types/touch-mode.js → esm2020/types/touch-mode.mjs} +0 -0
- /package/{esm2015/utils/find-touch-index.js → esm2020/utils/find-touch-index.mjs} +0 -0
- /package/{esm2015/utils/index.js → esm2020/utils/index.mjs} +0 -0
- /package/{esm2015/utils/taiga-ui-addon-mobile-utils.js → esm2020/utils/taiga-ui-addon-mobile-utils.mjs} +0 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class TuiMobileTabsComponent {
|
|
4
|
+
}
|
|
5
|
+
TuiMobileTabsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiMobileTabsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
+
TuiMobileTabsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiMobileTabsComponent, selector: "ng-component", host: { classAttribute: "tui-mobile-tabs-styles" }, ngImport: i0, template: '', isInline: true, styles: ["tui-tabs[tuiMobileTabs][data-platform=android],[tuiTabs][tuiMobileTabs][data-platform=android],[tuiMobileTabs] tui-tabs[data-platform=android],[tuiMobileTabs] [tuiTabs][data-platform=android]{height:auto}tui-tabs[tuiMobileTabs][data-platform=android] tui-underline,[tuiTabs][tuiMobileTabs][data-platform=android] tui-underline,[tuiMobileTabs] tui-tabs[data-platform=android] tui-underline,[tuiMobileTabs] [tuiTabs][data-platform=android] tui-underline{box-shadow:inset 0 -.1875rem var(--tui-link)}tui-tabs[tuiMobileTabs][data-platform=android] [tuiTab],[tuiTabs][tuiMobileTabs][data-platform=android] [tuiTab],[tuiMobileTabs] tui-tabs[data-platform=android] [tuiTab],[tuiMobileTabs] [tuiTabs][data-platform=android] [tuiTab]{transition-property:opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;height:3rem;flex:1;flex-shrink:0;justify-content:center;text-transform:uppercase;color:var(--tui-base-09);opacity:.5;font-size:.875rem;font-weight:500;letter-spacing:-.008125rem;font-family:-apple-system,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif}tui-tabs[tuiMobileTabs][data-platform=android] [tuiTab]:hover,[tuiTabs][tuiMobileTabs][data-platform=android] [tuiTab]:hover,[tuiMobileTabs] tui-tabs[data-platform=android] [tuiTab]:hover,[tuiMobileTabs] [tuiTabs][data-platform=android] [tuiTab]:hover{box-shadow:none}tui-tabs[tuiMobileTabs][data-platform=android] [tuiTab]._active,[tuiTabs][tuiMobileTabs][data-platform=android] [tuiTab]._active,[tuiMobileTabs] tui-tabs[data-platform=android] [tuiTab]._active,[tuiMobileTabs] [tuiTabs][data-platform=android] [tuiTab]._active{opacity:1;color:var(--tui-base-09)}tui-tabs[tuiMobileTabs][data-platform=ios],[tuiTabs][tuiMobileTabs][data-platform=ios],[tuiMobileTabs] tui-tabs[data-platform=ios],[tuiMobileTabs] [tuiTabs][data-platform=ios]{height:auto;border:2px solid transparent;border-radius:.5625rem;background:var(--tui-clear);box-shadow:none;overflow:visible}tui-tabs[tuiMobileTabs][data-platform=ios] tui-underline,[tuiTabs][tuiMobileTabs][data-platform=ios] tui-underline,[tuiMobileTabs] tui-tabs[data-platform=ios] tui-underline,[tuiMobileTabs] [tuiTabs][data-platform=ios] tui-underline{border-radius:.4375rem;background:var(--tui-base-01);box-shadow:0 .1875rem .0625rem #0000000a,0 .1875rem .5rem #0000001f}tui-tabs[tuiMobileTabs][data-platform=ios] [tuiTab],[tuiTabs][tuiMobileTabs][data-platform=ios] [tuiTab],[tuiMobileTabs] tui-tabs[data-platform=ios] [tuiTab],[tuiMobileTabs] [tuiTabs][data-platform=ios] [tuiTab]{height:1.75rem;flex:1;flex-shrink:0;justify-content:center;color:var(--tui-text-01);opacity:1;font-size:.8125rem;font-weight:600;letter-spacing:-.005rem;font-family:-apple-system,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif}tui-tabs[tuiMobileTabs][data-platform=ios] [tuiTab]:hover,[tuiTabs][tuiMobileTabs][data-platform=ios] [tuiTab]:hover,[tuiMobileTabs] tui-tabs[data-platform=ios] [tuiTab]:hover,[tuiMobileTabs] [tuiTabs][data-platform=ios] [tuiTab]:hover{box-shadow:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
7
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiMobileTabsComponent, decorators: [{
|
|
8
|
+
type: Component,
|
|
9
|
+
args: [{ host: {
|
|
10
|
+
class: 'tui-mobile-tabs-styles',
|
|
11
|
+
}, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: ["tui-tabs[tuiMobileTabs][data-platform=android],[tuiTabs][tuiMobileTabs][data-platform=android],[tuiMobileTabs] tui-tabs[data-platform=android],[tuiMobileTabs] [tuiTabs][data-platform=android]{height:auto}tui-tabs[tuiMobileTabs][data-platform=android] tui-underline,[tuiTabs][tuiMobileTabs][data-platform=android] tui-underline,[tuiMobileTabs] tui-tabs[data-platform=android] tui-underline,[tuiMobileTabs] [tuiTabs][data-platform=android] tui-underline{box-shadow:inset 0 -.1875rem var(--tui-link)}tui-tabs[tuiMobileTabs][data-platform=android] [tuiTab],[tuiTabs][tuiMobileTabs][data-platform=android] [tuiTab],[tuiMobileTabs] tui-tabs[data-platform=android] [tuiTab],[tuiMobileTabs] [tuiTabs][data-platform=android] [tuiTab]{transition-property:opacity;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;height:3rem;flex:1;flex-shrink:0;justify-content:center;text-transform:uppercase;color:var(--tui-base-09);opacity:.5;font-size:.875rem;font-weight:500;letter-spacing:-.008125rem;font-family:-apple-system,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif}tui-tabs[tuiMobileTabs][data-platform=android] [tuiTab]:hover,[tuiTabs][tuiMobileTabs][data-platform=android] [tuiTab]:hover,[tuiMobileTabs] tui-tabs[data-platform=android] [tuiTab]:hover,[tuiMobileTabs] [tuiTabs][data-platform=android] [tuiTab]:hover{box-shadow:none}tui-tabs[tuiMobileTabs][data-platform=android] [tuiTab]._active,[tuiTabs][tuiMobileTabs][data-platform=android] [tuiTab]._active,[tuiMobileTabs] tui-tabs[data-platform=android] [tuiTab]._active,[tuiMobileTabs] [tuiTabs][data-platform=android] [tuiTab]._active{opacity:1;color:var(--tui-base-09)}tui-tabs[tuiMobileTabs][data-platform=ios],[tuiTabs][tuiMobileTabs][data-platform=ios],[tuiMobileTabs] tui-tabs[data-platform=ios],[tuiMobileTabs] [tuiTabs][data-platform=ios]{height:auto;border:2px solid transparent;border-radius:.5625rem;background:var(--tui-clear);box-shadow:none;overflow:visible}tui-tabs[tuiMobileTabs][data-platform=ios] tui-underline,[tuiTabs][tuiMobileTabs][data-platform=ios] tui-underline,[tuiMobileTabs] tui-tabs[data-platform=ios] tui-underline,[tuiMobileTabs] [tuiTabs][data-platform=ios] tui-underline{border-radius:.4375rem;background:var(--tui-base-01);box-shadow:0 .1875rem .0625rem #0000000a,0 .1875rem .5rem #0000001f}tui-tabs[tuiMobileTabs][data-platform=ios] [tuiTab],[tuiTabs][tuiMobileTabs][data-platform=ios] [tuiTab],[tuiMobileTabs] tui-tabs[data-platform=ios] [tuiTab],[tuiMobileTabs] [tuiTabs][data-platform=ios] [tuiTab]{height:1.75rem;flex:1;flex-shrink:0;justify-content:center;color:var(--tui-text-01);opacity:1;font-size:.8125rem;font-weight:600;letter-spacing:-.005rem;font-family:-apple-system,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif}tui-tabs[tuiMobileTabs][data-platform=ios] [tuiTab]:hover,[tuiTabs][tuiMobileTabs][data-platform=ios] [tuiTab]:hover,[tuiMobileTabs] tui-tabs[data-platform=ios] [tuiTab]:hover,[tuiMobileTabs] [tuiTabs][data-platform=ios] [tuiTab]:hover{box-shadow:none}\n"] }]
|
|
12
|
+
}] });
|
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9iaWxlLXRhYnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWRkb24tbW9iaWxlL2RpcmVjdGl2ZXMvbW9iaWxlLXRhYnMvbW9iaWxlLXRhYnMuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsaUJBQWlCLEVBQUMsTUFBTSxlQUFlLENBQUM7O0FBV3BGLE1BQU0sT0FBTyxzQkFBc0I7O29IQUF0QixzQkFBc0I7d0dBQXRCLHNCQUFzQix3R0FMckIsRUFBRTs0RkFLSCxzQkFBc0I7a0JBVGxDLFNBQVM7MkJBQ0E7d0JBQ0YsS0FBSyxFQUFFLHdCQUF3QjtxQkFDbEMsWUFDUyxFQUFFLGlCQUVHLGlCQUFpQixDQUFDLElBQUksbUJBQ3BCLHVCQUF1QixDQUFDLE1BQU0iLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0NoYW5nZURldGVjdGlvblN0cmF0ZWd5LCBDb21wb25lbnQsIFZpZXdFbmNhcHN1bGF0aW9ufSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQENvbXBvbmVudCh7XG4gICAgaG9zdDoge1xuICAgICAgICBjbGFzczogJ3R1aS1tb2JpbGUtdGFicy1zdHlsZXMnLFxuICAgIH0sXG4gICAgdGVtcGxhdGU6ICcnLFxuICAgIHN0eWxlVXJsczogWycuL21vYmlsZS10YWJzLnN0eWxlLmxlc3MnXSxcbiAgICBlbmNhcHN1bGF0aW9uOiBWaWV3RW5jYXBzdWxhdGlvbi5Ob25lLFxuICAgIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxufSlcbmV4cG9ydCBjbGFzcyBUdWlNb2JpbGVUYWJzQ29tcG9uZW50IHt9XG4iXX0=
|
|
@@ -21,14 +21,14 @@ export class TuiMobileTabsDirective {
|
|
|
21
21
|
return null;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
TuiMobileTabsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
25
|
-
TuiMobileTabsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
24
|
+
TuiMobileTabsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiMobileTabsDirective, deps: [{ token: TUI_IS_IOS }, { token: TUI_IS_ANDROID }, { token: TuiDirectiveStylesService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
25
|
+
TuiMobileTabsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TuiMobileTabsDirective, selector: "[tuiMobileTabs]", host: { properties: { "attr.data-platform": "this.platform" } }, providers: [
|
|
26
26
|
{
|
|
27
27
|
provide: TUI_TAB_MARGIN,
|
|
28
28
|
useValue: 0,
|
|
29
29
|
},
|
|
30
30
|
], ngImport: i0 });
|
|
31
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiMobileTabsDirective, decorators: [{
|
|
32
32
|
type: Directive,
|
|
33
33
|
args: [{
|
|
34
34
|
selector: '[tuiMobileTabs]',
|
|
@@ -4,10 +4,10 @@ import { TuiMobileTabsDirective } from './mobile-tabs.directive';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export class TuiMobileTabsModule {
|
|
6
6
|
}
|
|
7
|
-
TuiMobileTabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8
|
-
TuiMobileTabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
9
|
-
TuiMobileTabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7
|
+
TuiMobileTabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiMobileTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
+
TuiMobileTabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiMobileTabsModule, declarations: [TuiMobileTabsDirective, TuiMobileTabsComponent], exports: [TuiMobileTabsDirective, TuiMobileTabsComponent] });
|
|
9
|
+
TuiMobileTabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiMobileTabsModule });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiMobileTabsModule, decorators: [{
|
|
11
11
|
type: NgModule,
|
|
12
12
|
args: [{
|
|
13
13
|
declarations: [TuiMobileTabsDirective, TuiMobileTabsComponent],
|
|
@@ -2,18 +2,12 @@ import { ChangeDetectionStrategy, Component, ViewEncapsulation } from '@angular/
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export class TuiRippleStylesComponent {
|
|
4
4
|
}
|
|
5
|
-
TuiRippleStylesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6
|
-
TuiRippleStylesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5
|
+
TuiRippleStylesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiRippleStylesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
+
TuiRippleStylesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiRippleStylesComponent, selector: "ng-component", host: { classAttribute: "tui-ripple-styles" }, ngImport: i0, template: '', isInline: true, styles: ["@keyframes tuiRippleOn{0%{transform:scale(0);opacity:.12}to{transform:none;opacity:.12}}@keyframes tuiRippleOff{0%{transform:none;opacity:.12}to{transform:none;opacity:0}}*[tuiRipple]{position:relative;overflow:hidden}.tui-ripple{position:absolute;z-index:100;border-radius:100%;background:currentColor;transform:scale(0);animation-duration:.45s;animation-fill-mode:forwards;pointer-events:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
7
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiRippleStylesComponent, decorators: [{
|
|
8
8
|
type: Component,
|
|
9
|
-
args: [{
|
|
10
|
-
host: {
|
|
9
|
+
args: [{ host: {
|
|
11
10
|
class: 'tui-ripple-styles',
|
|
12
|
-
},
|
|
13
|
-
template: '',
|
|
14
|
-
styleUrls: ['./ripple.style.less'],
|
|
15
|
-
encapsulation: ViewEncapsulation.None,
|
|
16
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
17
|
-
}]
|
|
11
|
+
}, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, styles: ["@keyframes tuiRippleOn{0%{transform:scale(0);opacity:.12}to{transform:none;opacity:.12}}@keyframes tuiRippleOff{0%{transform:none;opacity:.12}to{transform:none;opacity:0}}*[tuiRipple]{position:relative;overflow:hidden}.tui-ripple{position:absolute;z-index:100;border-radius:100%;background:currentColor;transform:scale(0);animation-duration:.45s;animation-fill-mode:forwards;pointer-events:none}\n"] }]
|
|
18
12
|
}] });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmlwcGxlLXN0eWxlcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hZGRvbi1tb2JpbGUvZGlyZWN0aXZlcy9yaXBwbGUvcmlwcGxlLXN0eWxlcy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxpQkFBaUIsRUFBQyxNQUFNLGVBQWUsQ0FBQzs7QUFXcEYsTUFBTSxPQUFPLHdCQUF3Qjs7c0hBQXhCLHdCQUF3QjswR0FBeEIsd0JBQXdCLG1HQUx2QixFQUFFOzRGQUtILHdCQUF3QjtrQkFUcEMsU0FBUzsyQkFDQTt3QkFDRixLQUFLLEVBQUUsbUJBQW1CO3FCQUM3QixZQUNTLEVBQUUsaUJBRUcsaUJBQWlCLENBQUMsSUFBSSxtQkFDcEIsdUJBQXVCLENBQUMsTUFBTSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7Q2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3ksIENvbXBvbmVudCwgVmlld0VuY2Fwc3VsYXRpb259IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgICBob3N0OiB7XG4gICAgICAgIGNsYXNzOiAndHVpLXJpcHBsZS1zdHlsZXMnLFxuICAgIH0sXG4gICAgdGVtcGxhdGU6ICcnLFxuICAgIHN0eWxlVXJsczogWycuL3JpcHBsZS5zdHlsZS5sZXNzJ10sXG4gICAgZW5jYXBzdWxhdGlvbjogVmlld0VuY2Fwc3VsYXRpb24uTm9uZSxcbiAgICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcbn0pXG5leHBvcnQgY2xhc3MgVHVpUmlwcGxlU3R5bGVzQ29tcG9uZW50IHt9XG4iXX0=
|
|
@@ -33,9 +33,9 @@ export class TuiRippleDirective {
|
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
|
-
TuiRippleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
37
|
-
TuiRippleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
36
|
+
TuiRippleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiRippleDirective, deps: [{ token: ElementRef }, { token: TuiDirectiveStylesService }, { token: Renderer2 }, { token: TuiDestroyService, self: true }, { token: TUI_RIPPLE_START }, { token: TUI_RIPPLE_END }], target: i0.ɵɵFactoryTarget.Directive });
|
|
37
|
+
TuiRippleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TuiRippleDirective, selector: "[tuiRipple]", inputs: { tuiRipple: "tuiRipple" }, providers: TUI_RIPPLE_PROVIDERS, ngImport: i0 });
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiRippleDirective, decorators: [{
|
|
39
39
|
type: Directive,
|
|
40
40
|
args: [{
|
|
41
41
|
selector: '[tuiRipple]',
|
package/{esm2015/directives/ripple/ripple.module.js → esm2020/directives/ripple/ripple.module.mjs}
RENAMED
|
@@ -4,10 +4,10 @@ import { TuiRippleStylesComponent } from './ripple-styles.component';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export class TuiRippleModule {
|
|
6
6
|
}
|
|
7
|
-
TuiRippleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8
|
-
TuiRippleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
9
|
-
TuiRippleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7
|
+
TuiRippleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiRippleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
+
TuiRippleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiRippleModule, declarations: [TuiRippleDirective, TuiRippleStylesComponent], exports: [TuiRippleDirective] });
|
|
9
|
+
TuiRippleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiRippleModule });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiRippleModule, decorators: [{
|
|
11
11
|
type: NgModule,
|
|
12
12
|
args: [{
|
|
13
13
|
declarations: [TuiRippleDirective, TuiRippleStylesComponent],
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, HostBinding, Inject, } from '@angular/core';
|
|
2
|
+
import { TUI_ANIMATION_OPTIONS, tuiSlideIn, } from '@taiga-ui/core';
|
|
3
|
+
import { TuiSidebarDirective } from './sidebar.directive';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@taiga-ui/cdk";
|
|
6
|
+
import * as i2 from "@tinkoff/ng-polymorpheus";
|
|
7
|
+
import * as i3 from "./sidebar.directive";
|
|
8
|
+
export class TuiSidebarComponent {
|
|
9
|
+
constructor(options, directive) {
|
|
10
|
+
this.options = options;
|
|
11
|
+
this.directive = directive;
|
|
12
|
+
this.left = {
|
|
13
|
+
...this.options,
|
|
14
|
+
value: 'left',
|
|
15
|
+
};
|
|
16
|
+
this.right = {
|
|
17
|
+
...this.options,
|
|
18
|
+
value: 'right',
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
get animation() {
|
|
22
|
+
return this.direction === 'left' ? this.left : this.right;
|
|
23
|
+
}
|
|
24
|
+
get directionHostClass() {
|
|
25
|
+
return `t-${this.directive.direction}`;
|
|
26
|
+
}
|
|
27
|
+
get direction() {
|
|
28
|
+
return this.directive.direction;
|
|
29
|
+
}
|
|
30
|
+
get content() {
|
|
31
|
+
return this.directive.content;
|
|
32
|
+
}
|
|
33
|
+
get autoWidth() {
|
|
34
|
+
return this.directive.autoWidth;
|
|
35
|
+
}
|
|
36
|
+
ngDoCheck() {
|
|
37
|
+
this.directive.check();
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
TuiSidebarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiSidebarComponent, deps: [{ token: TUI_ANIMATION_OPTIONS }, { token: TuiSidebarDirective }], target: i0.ɵɵFactoryTarget.Component });
|
|
41
|
+
TuiSidebarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiSidebarComponent, selector: "aside[tuiSidebar]", host: { properties: { "@tuiSlideIn": "this.animation", "class": "this.directionHostClass" } }, ngImport: i0, template: "<div\n tuiActiveZone\n class=\"t-wrapper\"\n [class.t-wrapper_auto-width]=\"autoWidth\"\n>\n <ng-container *polymorpheusOutlet=\"content as text\">\n {{ text }}\n </ng-container>\n</div>\n", styles: [":host{position:fixed;top:0;left:0;width:100%;height:100%;display:flex}:host:before,:host:after{position:absolute;top:0;left:0;width:100%;content:\"\";height:100%;background:rgba(0,0,0,.38);animation:tuiFadeIn var(--tui-duration)}:host:before{left:-100%;width:200%}:host:after{left:100%}:host.ng-animating:before,:host.ng-animating:after{opacity:0;transition:opacity var(--tui-duration)}:host.t-right{justify-content:flex-end}:host.t-left{justify-content:flex-start}.t-wrapper{position:relative;display:flex;flex-direction:column;background:var(--tui-base-01);box-shadow:0 10rem var(--tui-base-01);width:17.25rem}.t-wrapper_auto-width{width:auto}\n"], dependencies: [{ kind: "directive", type: i1.TuiActiveZoneDirective, selector: "[tuiActiveZone]:not(ng-container), [tuiActiveZoneChange]:not(ng-container), [tuiActiveZoneParent]:not(ng-container)", inputs: ["tuiActiveZoneParent"], outputs: ["tuiActiveZoneChange"], exportAs: ["tuiActiveZone"] }, { kind: "directive", type: i2.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], animations: [tuiSlideIn], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiSidebarComponent, decorators: [{
|
|
43
|
+
type: Component,
|
|
44
|
+
args: [{ selector: 'aside[tuiSidebar]', changeDetection: ChangeDetectionStrategy.OnPush, animations: [tuiSlideIn], template: "<div\n tuiActiveZone\n class=\"t-wrapper\"\n [class.t-wrapper_auto-width]=\"autoWidth\"\n>\n <ng-container *polymorpheusOutlet=\"content as text\">\n {{ text }}\n </ng-container>\n</div>\n", styles: [":host{position:fixed;top:0;left:0;width:100%;height:100%;display:flex}:host:before,:host:after{position:absolute;top:0;left:0;width:100%;content:\"\";height:100%;background:rgba(0,0,0,.38);animation:tuiFadeIn var(--tui-duration)}:host:before{left:-100%;width:200%}:host:after{left:100%}:host.ng-animating:before,:host.ng-animating:after{opacity:0;transition:opacity var(--tui-duration)}:host.t-right{justify-content:flex-end}:host.t-left{justify-content:flex-start}.t-wrapper{position:relative;display:flex;flex-direction:column;background:var(--tui-base-01);box-shadow:0 10rem var(--tui-base-01);width:17.25rem}.t-wrapper_auto-width{width:auto}\n"] }]
|
|
45
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
46
|
+
type: Inject,
|
|
47
|
+
args: [TUI_ANIMATION_OPTIONS]
|
|
48
|
+
}] }, { type: i3.TuiSidebarDirective, decorators: [{
|
|
49
|
+
type: Inject,
|
|
50
|
+
args: [TuiSidebarDirective]
|
|
51
|
+
}] }]; }, propDecorators: { animation: [{
|
|
52
|
+
type: HostBinding,
|
|
53
|
+
args: ['@tuiSlideIn']
|
|
54
|
+
}], directionHostClass: [{
|
|
55
|
+
type: HostBinding,
|
|
56
|
+
args: ['class']
|
|
57
|
+
}] } });
|
|
58
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hZGRvbi1tb2JpbGUvZGlyZWN0aXZlcy9zaWRlYmFyL3NpZGViYXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYWRkb24tbW9iaWxlL2RpcmVjdGl2ZXMvc2lkZWJhci9zaWRlYmFyLnRlbXBsYXRlLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUNILHVCQU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cm4gdGhpcy5kaXJlY3Rpb24gPT09ICdsZWZ0JyA/IHRoaXMubGVmdCA6IHRoaXMucmlnaHQ7XG4gICAgfVxuXG4gICAgQEhvc3RCaW5kaW5nKCdjbGFzcycpXG4gICAgZ2V0IGRpcmVjdGlvbkhvc3RDbGFzcygpOiBzdHJpbmcge1xuICAgICAgICByZXR1cm4gYHQtJHt0aGlzLmRpcmVjdGl2ZS5kaXJlY3Rpb259YDtcbiAgICB9XG5cbiAgICBnZXQgZGlyZWN0aW9uKCk6IFR1aUhvcml6b250YWxEaXJlY3Rpb24ge1xuICAgICAgICByZXR1cm4gdGhpcy5kaXJlY3RpdmUuZGlyZWN0aW9uO1xuICAgIH1cblxuICAgIGdldCBjb250ZW50KCk6IFBvbHltb3JwaGV1c0NvbnRlbnQge1xuICAgICAgICByZXR1cm4gdGhpcy5kaXJlY3RpdmUuY29udGVudDtcbiAgICB9XG5cbiAgICBnZXQgYXV0b1dpZHRoKCk6IGJvb2xlYW4ge1xuICAgICAgICByZXR1cm4gdGhpcy5kaXJlY3RpdmUuYXV0b1dpZHRoO1xuICAgIH1cblxuICAgIG5nRG9DaGVjaygpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5kaXJlY3RpdmUuY2hlY2soKTtcbiAgICB9XG59XG4iLCI8ZGl2XG4gICAgdHVpQWN0aXZlWm9uZVxuICAgIGNsYXNzPVwidC13cmFwcGVyXCJcbiAgICBbY2xhc3MudC13cmFwcGVyX2F1dG8td2lkdGhdPVwiYXV0b1dpZHRoXCJcbj5cbiAgICA8bmctY29udGFpbmVyICpwb2x5bW9ycGhldXNPdXRsZXQ9XCJjb250ZW50IGFzIHRleHRcIj5cbiAgICAgICAge3sgdGV4dCB9fVxuICAgIDwvbmctY29udGFpbmVyPlxuPC9kaXY+XG4iXX0=
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { ChangeDetectorRef, Directive, Inject, Injector, Input, TemplateRef, } from '@angular/core';
|
|
2
|
+
import { TuiDropdownPortalService } from '@taiga-ui/cdk';
|
|
3
|
+
import { PolymorpheusComponent, PolymorpheusTemplate } from '@tinkoff/ng-polymorpheus';
|
|
4
|
+
import { TuiSidebarComponent } from './sidebar.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@taiga-ui/cdk";
|
|
7
|
+
export class TuiSidebarDirective extends PolymorpheusTemplate {
|
|
8
|
+
set tuiSidebar(open) {
|
|
9
|
+
if (open) {
|
|
10
|
+
this.show();
|
|
11
|
+
}
|
|
12
|
+
else {
|
|
13
|
+
this.hide();
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
constructor(content, injector, portalService, cdr) {
|
|
17
|
+
super(content, cdr);
|
|
18
|
+
this.content = content;
|
|
19
|
+
this.injector = injector;
|
|
20
|
+
this.portalService = portalService;
|
|
21
|
+
this.component = new PolymorpheusComponent(TuiSidebarComponent, this.injector);
|
|
22
|
+
this.sidebarRef = null;
|
|
23
|
+
this.direction = 'left';
|
|
24
|
+
this.autoWidth = false;
|
|
25
|
+
}
|
|
26
|
+
ngOnDestroy() {
|
|
27
|
+
this.hide();
|
|
28
|
+
}
|
|
29
|
+
show() {
|
|
30
|
+
if (this.sidebarRef !== null) {
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
this.sidebarRef = this.portalService.add(this.component);
|
|
34
|
+
this.sidebarRef.changeDetectorRef.detectChanges();
|
|
35
|
+
}
|
|
36
|
+
hide() {
|
|
37
|
+
if (this.sidebarRef === null) {
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
this.portalService.remove(this.sidebarRef);
|
|
41
|
+
this.sidebarRef = null;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
TuiSidebarDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiSidebarDirective, deps: [{ token: TemplateRef }, { token: Injector }, { token: TuiDropdownPortalService }, { token: ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
45
|
+
TuiSidebarDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TuiSidebarDirective, selector: "[tuiSidebar]", inputs: { direction: ["tuiSidebarDirection", "direction"], autoWidth: ["tuiSidebarAutoWidth", "autoWidth"], tuiSidebar: "tuiSidebar" }, usesInheritance: true, ngImport: i0 });
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiSidebarDirective, decorators: [{
|
|
47
|
+
type: Directive,
|
|
48
|
+
args: [{
|
|
49
|
+
selector: '[tuiSidebar]',
|
|
50
|
+
}]
|
|
51
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
|
|
52
|
+
type: Inject,
|
|
53
|
+
args: [TemplateRef]
|
|
54
|
+
}] }, { type: i0.Injector, decorators: [{
|
|
55
|
+
type: Inject,
|
|
56
|
+
args: [Injector]
|
|
57
|
+
}] }, { type: i1.TuiDropdownPortalService, decorators: [{
|
|
58
|
+
type: Inject,
|
|
59
|
+
args: [TuiDropdownPortalService]
|
|
60
|
+
}] }, { type: i0.ChangeDetectorRef, decorators: [{
|
|
61
|
+
type: Inject,
|
|
62
|
+
args: [ChangeDetectorRef]
|
|
63
|
+
}] }]; }, propDecorators: { direction: [{
|
|
64
|
+
type: Input,
|
|
65
|
+
args: ['tuiSidebarDirection']
|
|
66
|
+
}], autoWidth: [{
|
|
67
|
+
type: Input,
|
|
68
|
+
args: ['tuiSidebarAutoWidth']
|
|
69
|
+
}], tuiSidebar: [{
|
|
70
|
+
type: Input
|
|
71
|
+
}] } });
|
|
72
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hZGRvbi1tb2JpbGUvZGl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5cbiAgICAgICAgdGhpcy5zaWRlYmFyUmVmID0gdGhpcy5wb3J0YWxTZXJ2aWNlLmFkZCh0aGlzLmNvbXBvbmVudCk7XG4gICAgICAgIHRoaXMuc2lkZWJhclJlZi5jaGFuZ2VEZXRlY3RvclJlZi5kZXRlY3RDaGFuZ2VzKCk7XG4gICAgfVxuXG4gICAgcHJpdmF0ZSBoaWRlKCk6IHZvaWQge1xuICAgICAgICBpZiAodGhpcy5zaWRlYmFyUmVmID09PSBudWxsKSB7XG4gICAgICAgICAgICByZXR1cm47XG4gICAgICAgIH1cblxuICAgICAgICB0aGlzLnBvcnRhbFNlcnZpY2UucmVtb3ZlKHRoaXMuc2lkZWJhclJlZik7XG4gICAgICAgIHRoaXMuc2lkZWJhclJlZiA9IG51bGw7XG4gICAgfVxufVxuIl19
|
|
@@ -6,10 +6,10 @@ import { TuiSidebarDirective } from './sidebar.directive';
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export class TuiSidebarModule {
|
|
8
8
|
}
|
|
9
|
-
TuiSidebarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10
|
-
TuiSidebarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
11
|
-
TuiSidebarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9
|
+
TuiSidebarModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiSidebarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
TuiSidebarModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiSidebarModule, declarations: [TuiSidebarDirective, TuiSidebarComponent], imports: [TuiActiveZoneModule, PolymorpheusModule], exports: [TuiSidebarDirective] });
|
|
11
|
+
TuiSidebarModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiSidebarModule, imports: [TuiActiveZoneModule, PolymorpheusModule] });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiSidebarModule, decorators: [{
|
|
13
13
|
type: NgModule,
|
|
14
14
|
args: [{
|
|
15
15
|
imports: [TuiActiveZoneModule, PolymorpheusModule],
|
|
@@ -17,4 +17,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
17
17
|
exports: [TuiSidebarDirective],
|
|
18
18
|
}]
|
|
19
19
|
}] });
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2lkZWJhci5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hZGRvbi1tb2JpbGUvZGlyZWN0aXZlcy9zaWRlYmFyL3NpZGViYXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkMsT0FBTyxFQUFDLG1CQUFtQixFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ2xELE9BQU8sRUFBQyxrQkFBa0IsRUFBQyxNQUFNLDBCQUEwQixDQUFDO0FBRTVELE9BQU8sRUFBQyxtQkFBbUIsRUFBQyxNQUFNLHFCQUFxQixDQUFDO0FBQ3hELE9BQU8sRUFBQyxtQkFBbUIsRUFBQyxNQUFNLHFCQUFxQixDQUFDOztBQU94RCxNQUFNLE9BQU8sZ0JBQWdCOzs4R0FBaEIsZ0JBQWdCOytHQUFoQixnQkFBZ0IsaUJBSFYsbUJBQW1CLEVB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, Renderer2, Self, } from '@angular/core';
|
|
2
|
+
import { tuiFindTouchIndex } from '@taiga-ui/addon-mobile/utils';
|
|
3
|
+
import { TUI_IS_IOS, TuiDestroyService, tuiTypedFromEvent } from '@taiga-ui/cdk';
|
|
4
|
+
import { TUI_ELEMENT_REF } from '@taiga-ui/core';
|
|
5
|
+
import { race } from 'rxjs';
|
|
6
|
+
import { filter, map, switchMap, take, takeUntil, tap } from 'rxjs/operators';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "@taiga-ui/cdk";
|
|
9
|
+
const STYLE = {
|
|
10
|
+
transform: 'scale(0.95)',
|
|
11
|
+
opacity: '0.6',
|
|
12
|
+
background: 'rgba(146, 153, 162, 0.12)',
|
|
13
|
+
};
|
|
14
|
+
export class TuiTouchableDirective {
|
|
15
|
+
constructor(el, isIos, { nativeElement }, renderer, destroy$) {
|
|
16
|
+
this.tuiTouchable = '';
|
|
17
|
+
if (!isIos) {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const element = el?.nativeElement || nativeElement;
|
|
21
|
+
tuiTypedFromEvent(element, 'touchstart', { passive: true })
|
|
22
|
+
.pipe(tap(() => {
|
|
23
|
+
this.onTouchStart(renderer, element);
|
|
24
|
+
}), map(({ touches }) => touches[touches.length - 1].identifier), switchMap(identifier => race(tuiTypedFromEvent(element, 'touchmove', { passive: true }).pipe(filter(({ touches }) => this.hasTouchLeft(element, touches, identifier))), tuiTypedFromEvent(element, 'touchend')).pipe(take(1))), takeUntil(destroy$))
|
|
25
|
+
.subscribe(() => {
|
|
26
|
+
renderer.removeStyle(element, 'transform');
|
|
27
|
+
renderer.removeStyle(element, 'opacity');
|
|
28
|
+
renderer.removeStyle(element, 'background');
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
get style() {
|
|
32
|
+
return this.tuiTouchable || 'transform';
|
|
33
|
+
}
|
|
34
|
+
hasTouchLeft(element, touches, identifier) {
|
|
35
|
+
const { ownerDocument } = element;
|
|
36
|
+
const id = tuiFindTouchIndex(touches, identifier);
|
|
37
|
+
if (!ownerDocument || id === -1) {
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
const { clientX, clientY } = touches[id];
|
|
41
|
+
return !element.contains(ownerDocument.elementFromPoint(clientX, clientY));
|
|
42
|
+
}
|
|
43
|
+
onTouchStart(renderer, element) {
|
|
44
|
+
if (this.style !== 'transform') {
|
|
45
|
+
renderer.removeStyle(element, 'transition');
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
renderer.setStyle(element, 'transition', 'transform 0.2s');
|
|
49
|
+
}
|
|
50
|
+
renderer.setStyle(element, this.style, STYLE[this.style]);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
TuiTouchableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiTouchableDirective, deps: [{ token: TUI_ELEMENT_REF, optional: true }, { token: TUI_IS_IOS }, { token: ElementRef }, { token: Renderer2 }, { token: TuiDestroyService, self: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
54
|
+
TuiTouchableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TuiTouchableDirective, selector: "[tuiTouchable]", inputs: { tuiTouchable: "tuiTouchable" }, providers: [TuiDestroyService], ngImport: i0 });
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiTouchableDirective, decorators: [{
|
|
56
|
+
type: Directive,
|
|
57
|
+
args: [{
|
|
58
|
+
selector: '[tuiTouchable]',
|
|
59
|
+
providers: [TuiDestroyService],
|
|
60
|
+
}]
|
|
61
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
|
|
62
|
+
type: Optional
|
|
63
|
+
}, {
|
|
64
|
+
type: Inject,
|
|
65
|
+
args: [TUI_ELEMENT_REF]
|
|
66
|
+
}] }, { type: undefined, decorators: [{
|
|
67
|
+
type: Inject,
|
|
68
|
+
args: [TUI_IS_IOS]
|
|
69
|
+
}] }, { type: i0.ElementRef, decorators: [{
|
|
70
|
+
type: Inject,
|
|
71
|
+
args: [ElementRef]
|
|
72
|
+
}] }, { type: i0.Renderer2, decorators: [{
|
|
73
|
+
type: Inject,
|
|
74
|
+
args: [Renderer2]
|
|
75
|
+
}] }, { type: i1.TuiDestroyService, decorators: [{
|
|
76
|
+
type: Self
|
|
77
|
+
}, {
|
|
78
|
+
type: Inject,
|
|
79
|
+
args: [TuiDestroyService]
|
|
80
|
+
}] }]; }, propDecorators: { tuiTouchable: [{
|
|
81
|
+
type: Input
|
|
82
|
+
}] } });
|
|
83
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG91Y2hhYmxlLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FkZG9uLW1vYmlsZS9kaXJlY3RpdmVzL3RvdWNoYWJsZS90b3VjaGFibGUuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCxTQUFTLEVBQ1QsVUFBVSxFQUNWLE1BQU0sRUFDTixLQUFLLEVBQ0wsUUFBUSxFQUNSLFNBQVMsRUFDVCxJQUFJLEdBQ1AsTUFBTSxlQUFlLENBQUM7QUFFdkIsT0FBTyxFQUFDLGlCQUFpQixFQUFDLE1BQU0sOEJBQThCLENBQUM7QUFDL0QsT0FBTyxFQUFDLFVBQVUsRUFBRSxpQkFBaUIsRUFBRSxpQkFBaUIsRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUMvRSxPQUFPLEVBQUMsZUFBZSxFQUFDLE1BQU0sZ0JBQWdCLENBQUM7QUFDL0MsT0FBTyxFQUFDLElBQUksRUFBQyxNQUFNLE1BQU0sQ0FBQztBQUMxQixPQUFP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WZpZXIgPT5cbiAgICAgICAgICAgICAgICAgICAgcmFjZShcbiAgICAgICAgICAgICAgICAgICAgICAgIHR1aVR5cGVkRnJvbUV2ZW50KGVsZW1lbnQsICd0b3VjaG1vdmUnLCB7cGFzc2l2ZTogdHJ1ZX0pLnBpcGUoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgZmlsdGVyKCh7dG91Y2hlc30pID0+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRoaXMuaGFzVG91Y2hMZWZ0KGVsZW1lbnQsIHRvdWNoZXMsIGlkZW50aWZpZXIpLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICksXG4gICAgICAgICAgICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgICAgICAgICAgICAgdHVpVHlwZWRGcm9tRXZlbnQoZWxlbWVudCwgJ3RvdWNoZW5kJyksXG4gICAgICAgICAgICAgICAgICAgICkucGlwZSh0YWtlKDEpKSxcbiAgICAgICAgICAgICAgICApLFxuICAgICAgICAgICAgICAgIHRha2VVbnRpbChkZXN0cm95JCksXG4gICAgICAgICAgICApXG4gICAgICAgICAgICAuc3Vic2NyaWJlKCgpID0+IHtcbiAgICAgICAgICAgICAgICByZW5kZXJlci5yZW1vdmVTdHlsZShlbGVtZW50LCAndHJhbnNmb3JtJyk7XG4gICAgICAgICAgICAgICAgcmVuZGVyZXIucmVtb3ZlU3R5bGUoZWxlbWVudCwgJ29wYWNpdHknKTtcbiAgICAgICAgICAgICAgICByZW5kZXJlci5yZW1vdmVTdHlsZShlbGVtZW50LCAnYmFja2dyb3VuZCcpO1xuICAgICAgICAgICAgfSk7XG4gICAgfVxuXG4gICAgZ2V0IHN0eWxlKCk6IFR1aVRvdWNoTW9kZSB7XG4gICAgICAgIHJldHVybiB0aGlzLnR1aVRvdWNoYWJsZSB8fCAndHJhbnNmb3JtJztcbiAgICB9XG5cbiAgICBwcml2YXRlIGhhc1RvdWNoTGVmdChcbiAgICAgICAgZWxlbWVudDogSFRNTEVsZW1lbnQsXG4gICAgICAgIHRvdWNoZXM6IFRvdWNoTGlzdCxcbiAgICAgICAgaWRlbnRpZmllcjogbnVtYmVyLFxuICAgICk6IGJvb2xlYW4ge1xuICAgICAgICBjb25zdCB7b3duZXJEb2N1bWVudH0gPSBlbGVtZW50O1xuICAgICAgICBjb25zdCBpZCA9IHR1aUZpbmRUb3VjaEluZGV4KHRvdWNoZXMsIGlkZW50aWZpZXIpO1xuXG4gICAgICAgIGlmICghb3duZXJEb2N1bWVudCB8fCBpZCA9PT0gLTEpIHtcbiAgICAgICAgICAgIHJldHVybiB0cnVlO1xuICAgICAgICB9XG5cbiAgICAgICAgY29uc3Qge2NsaWVudFgsIGNsaWVudFl9ID0gdG91Y2hlc1tpZF07XG5cbiAgICAgICAgcmV0dXJuICFlbGVtZW50LmNvbnRhaW5zKG93bmVyRG9jdW1lbnQuZWxlbWVudEZyb21Qb2ludChjbGllbnRYLCBjbGllbnRZKSk7XG4gICAgfVxuXG4gICAgcHJpdmF0ZSBvblRvdWNoU3RhcnQocmVuZGVyZXI6IFJlbmRlcmVyMiwgZWxlbWVudDogSFRNTEVsZW1lbnQpOiB2b2lkIHtcbiAgICAgICAgaWYgKHRoaXMuc3R5bGUgIT09ICd0cmFuc2Zvcm0nKSB7XG4gICAgICAgICAgICByZW5kZXJlci5yZW1vdmVTdHlsZShlbGVtZW50LCAndHJhbnNpdGlvbicpO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgcmVuZGVyZXIuc2V0U3R5bGUoZWxlbWVudCwgJ3RyYW5zaXRpb24nLCAndHJhbnNmb3JtIDAuMnMnKTtcbiAgICAgICAgfVxuXG4gICAgICAgIHJlbmRlcmVyLnNldFN0eWxlKGVsZW1lbnQsIHRoaXMuc3R5bGUsIFNUWUxFW3RoaXMuc3R5bGVdKTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -3,10 +3,10 @@ import { TuiTouchableDirective } from './touchable.directive';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export class TuiTouchableModule {
|
|
5
5
|
}
|
|
6
|
-
TuiTouchableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7
|
-
TuiTouchableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
8
|
-
TuiTouchableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6
|
+
TuiTouchableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiTouchableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7
|
+
TuiTouchableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiTouchableModule, declarations: [TuiTouchableDirective], exports: [TuiTouchableDirective] });
|
|
8
|
+
TuiTouchableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiTouchableModule });
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiTouchableModule, decorators: [{
|
|
10
10
|
type: NgModule,
|
|
11
11
|
args: [{
|
|
12
12
|
declarations: [TuiTouchableDirective],
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Inject } from '@angular/core';
|
|
2
|
+
import { TUI_IS_IOS } from '@taiga-ui/cdk';
|
|
3
|
+
import { TUI_DAY_TYPE_HANDLER, TUI_SHORT_WEEK_DAYS, TuiPrimitiveCalendarComponent, } from '@taiga-ui/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@taiga-ui/cdk";
|
|
6
|
+
import * as i2 from "@taiga-ui/addon-mobile/directives/ripple";
|
|
7
|
+
import * as i3 from "@taiga-ui/core";
|
|
8
|
+
/**
|
|
9
|
+
* @internal
|
|
10
|
+
*/
|
|
11
|
+
export class TuiPrimitiveCalendarMobileComponent extends TuiPrimitiveCalendarComponent {
|
|
12
|
+
constructor(isIOS, unorderedWeekDays$, dayType) {
|
|
13
|
+
super(unorderedWeekDays$, dayType);
|
|
14
|
+
this.isIOS = isIOS;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
TuiPrimitiveCalendarMobileComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiPrimitiveCalendarMobileComponent, deps: [{ token: TUI_IS_IOS }, { token: TUI_SHORT_WEEK_DAYS }, { token: TUI_DAY_TYPE_HANDLER }], target: i0.ɵɵFactoryTarget.Component });
|
|
18
|
+
TuiPrimitiveCalendarMobileComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TuiPrimitiveCalendarMobileComponent, selector: "tui-primitive-calendar-mobile", host: { properties: { "class._ios": "isIOS" } }, usesInheritance: true, ngImport: i0, template: "<ng-container *tuiLet=\"month | tuiCalendarSheet as sheet\">\n <div\n *tuiRepeatTimes=\"let rowIndex of sheet.length\"\n automation-id=\"tui-primitive-calendar-mobile__row\"\n class=\"t-row\"\n >\n <div\n *tuiRepeatTimes=\"let colIndex of sheet[rowIndex].length\"\n automation-id=\"tui-primitive-calendar-mobile__cell\"\n tuiRipple\n class=\"t-cell\"\n [attr.data-range]=\"getItemRange(sheet[rowIndex][colIndex])\"\n [attr.data-state]=\"getItemState(sheet[rowIndex][colIndex])\"\n [class.t-cell_interval]=\"itemIsInterval(sheet[rowIndex][colIndex])\"\n [class.t-cell_today]=\"itemIsToday(sheet[rowIndex][colIndex])\"\n (click)=\"onItemClick(sheet[rowIndex][colIndex])\"\n >\n {{ sheet[rowIndex][colIndex].day }}\n </div>\n </div>\n</ng-container>\n", styles: [":host{display:block;font:var(--tui-font-text-m)}.t-row{position:relative;display:flex;justify-content:space-between;height:2.25rem;isolation:isolate}.t-item{position:relative;flex:1;line-height:2rem;border-radius:var(--tui-radius-m)}.t-item:before,.t-item:after{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;border-radius:var(--tui-radius-m)}.t-item:after{border-radius:.5rem}.t-cell{position:relative;display:flex;align-items:center;justify-content:center;width:2.75rem;text-align:center;outline:none;cursor:pointer;background-clip:content-box;box-sizing:border-box;border:.125rem solid transparent}.t-cell:before{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;border-radius:var(--tui-radius-m)}.t-cell_today:after{position:absolute;left:50%;transform:translate(-50%);content:\"\";bottom:.3125rem;height:.125rem;width:.75rem;border-radius:.375rem;background-color:var(--tui-text-01)}.t-cell_interval:before{background:var(--tui-base-02)}:host._single .t-cell_interval:before{background:var(--tui-secondary-hover)}.t-cell_interval:not(:last-child):before{right:-.25rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell_interval:not([data-range=\"start\"]):not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell_interval:last-child:first-child:before{right:0}.t-cell_interval:first-child>.t-item{border-top-left-radius:var(--tui-radius-m);border-bottom-left-radius:var(--tui-radius-m)}.t-cell_interval:last-child>.t-item{border-top-right-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.t-cell_interval>.t-item{border-radius:0}.t-cell[data-range]:after{background-color:var(--tui-primary-text)}.t-cell[data-range]>.t-item{color:var(--tui-primary-text)}.t-cell[data-range]>.t-item:before,.t-cell[data-range]>.t-item:after{background-color:var(--tui-primary)}.t-cell[data-range][data-state=hover]>.t-item:before,.t-cell[data-range][data-state=hover]>.t-item:after{background-color:var(--tui-primary-hover)}.t-cell[data-range][data-state=active]>.t-item:before,.t-cell[data-range][data-state=active]>.t-item:after{background-color:var(--tui-primary-active)}.t-cell[data-range=end]:before{background:var(--tui-base-02)}:host._single .t-cell[data-range=end]:before{background:var(--tui-secondary-hover)}.t-cell[data-range=end]:not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end]>.t-item:before{left:.625rem;border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end]>.t-item:after{left:-2rem;right:100%;transform:translate(1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=start]>.t-item:before{right:.625rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell[data-range=start]>.t-item:after{left:100%;right:-2rem;transform:translate(-1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=single]>.t-item:after{display:none}.t-cell[data-state=disabled]{pointer-events:none}.t-cell[data-state=disabled]>.t-item{opacity:.36}.t-cell[data-state=hover]:hover:not([data-range])>.t-item{background-color:var(--tui-secondary-hover)}.t-cell[data-state=active]:hover:not([data-range])>.t-item{background-color:var(--tui-secondary-active)}:host{width:20.75rem;max-width:100vw}:host._ios{width:22.625rem}.t-row{height:3rem;justify-content:flex-start}.t-row:first-child{justify-content:flex-end}:host._ios .t-row{height:3.125rem}.t-cell{height:2.75rem;border-radius:100%;margin-right:.25rem}.t-cell:last-child,:host._ios .t-cell:last-child{margin-right:0}.t-cell:before{right:-100vw}.t-cell:first-child:before{left:-100vw}.t-cell_today:after{height:.375rem;width:.375rem;background-color:var(--tui-link)}.t-cell_interval:before{background-color:var(--tui-base-02)}.t-cell_interval:last-child:first-child:before{right:-100vw}.t-cell[data-state=disabled]{opacity:var(--tui-disabled-opacity)}.t-cell[data-range=single],.t-cell[data-range=start],.t-cell[data-range=end]{border-radius:100%;background-color:var(--tui-link);color:var(--tui-accent-text);font-weight:500}.t-cell[data-range=single]:after,.t-cell[data-range=start]:after,.t-cell[data-range=end]:after{background-color:var(--tui-base-01)}:host._ios .t-cell[data-range=single],:host._ios .t-cell[data-range=start],:host._ios .t-cell[data-range=end]{font-weight:600}.t-cell[data-range=start]:before{left:50%;border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end]:not(:first-child):before{left:50%;background:var(--tui-base-01);border-radius:0}.t-cell[data-range=end]:first-child:before{right:50%;background-color:var(--tui-base-02)}:host._ios .t-cell{margin-right:.5625rem}:host._ios .t-cell:before{border-radius:.5rem}@media screen and (max-width: 22.4375rem){.t-cell,:host._ios .t-cell{margin-right:.125rem}.t-cell:last-child,:host._ios .t-cell:last-child{margin-right:0}}\n"], dependencies: [{ kind: "directive", type: i1.TuiRepeatTimesDirective, selector: "[tuiRepeatTimes][tuiRepeatTimesOf]", inputs: ["tuiRepeatTimesOf"] }, { kind: "directive", type: i2.TuiRippleDirective, selector: "[tuiRipple]", inputs: ["tuiRipple"] }, { kind: "directive", type: i1.TuiLetDirective, selector: "[tuiLet]", inputs: ["tuiLet"] }, { kind: "pipe", type: i3.TuiCalendarSheetPipe, name: "tuiCalendarSheet" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiPrimitiveCalendarMobileComponent, decorators: [{
|
|
20
|
+
type: Component,
|
|
21
|
+
args: [{ selector: 'tui-primitive-calendar-mobile', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
22
|
+
'[class._ios]': 'isIOS',
|
|
23
|
+
}, template: "<ng-container *tuiLet=\"month | tuiCalendarSheet as sheet\">\n <div\n *tuiRepeatTimes=\"let rowIndex of sheet.length\"\n automation-id=\"tui-primitive-calendar-mobile__row\"\n class=\"t-row\"\n >\n <div\n *tuiRepeatTimes=\"let colIndex of sheet[rowIndex].length\"\n automation-id=\"tui-primitive-calendar-mobile__cell\"\n tuiRipple\n class=\"t-cell\"\n [attr.data-range]=\"getItemRange(sheet[rowIndex][colIndex])\"\n [attr.data-state]=\"getItemState(sheet[rowIndex][colIndex])\"\n [class.t-cell_interval]=\"itemIsInterval(sheet[rowIndex][colIndex])\"\n [class.t-cell_today]=\"itemIsToday(sheet[rowIndex][colIndex])\"\n (click)=\"onItemClick(sheet[rowIndex][colIndex])\"\n >\n {{ sheet[rowIndex][colIndex].day }}\n </div>\n </div>\n</ng-container>\n", styles: [":host{display:block;font:var(--tui-font-text-m)}.t-row{position:relative;display:flex;justify-content:space-between;height:2.25rem;isolation:isolate}.t-item{position:relative;flex:1;line-height:2rem;border-radius:var(--tui-radius-m)}.t-item:before,.t-item:after{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;border-radius:var(--tui-radius-m)}.t-item:after{border-radius:.5rem}.t-cell{position:relative;display:flex;align-items:center;justify-content:center;width:2.75rem;text-align:center;outline:none;cursor:pointer;background-clip:content-box;box-sizing:border-box;border:.125rem solid transparent}.t-cell:before{content:\"\";position:absolute;top:0;left:0;right:0;bottom:0;z-index:-1;border-radius:var(--tui-radius-m)}.t-cell_today:after{position:absolute;left:50%;transform:translate(-50%);content:\"\";bottom:.3125rem;height:.125rem;width:.75rem;border-radius:.375rem;background-color:var(--tui-text-01)}.t-cell_interval:before{background:var(--tui-base-02)}:host._single .t-cell_interval:before{background:var(--tui-secondary-hover)}.t-cell_interval:not(:last-child):before{right:-.25rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell_interval:not([data-range=\"start\"]):not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell_interval:last-child:first-child:before{right:0}.t-cell_interval:first-child>.t-item{border-top-left-radius:var(--tui-radius-m);border-bottom-left-radius:var(--tui-radius-m)}.t-cell_interval:last-child>.t-item{border-top-right-radius:var(--tui-radius-m);border-bottom-right-radius:var(--tui-radius-m)}.t-cell_interval>.t-item{border-radius:0}.t-cell[data-range]:after{background-color:var(--tui-primary-text)}.t-cell[data-range]>.t-item{color:var(--tui-primary-text)}.t-cell[data-range]>.t-item:before,.t-cell[data-range]>.t-item:after{background-color:var(--tui-primary)}.t-cell[data-range][data-state=hover]>.t-item:before,.t-cell[data-range][data-state=hover]>.t-item:after{background-color:var(--tui-primary-hover)}.t-cell[data-range][data-state=active]>.t-item:before,.t-cell[data-range][data-state=active]>.t-item:after{background-color:var(--tui-primary-active)}.t-cell[data-range=end]:before{background:var(--tui-base-02)}:host._single .t-cell[data-range=end]:before{background:var(--tui-secondary-hover)}.t-cell[data-range=end]:not(:first-child):before{border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end]>.t-item:before{left:.625rem;border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end]>.t-item:after{left:-2rem;right:100%;transform:translate(1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=start]>.t-item:before{right:.625rem;border-top-right-radius:0;border-bottom-right-radius:0}.t-cell[data-range=start]>.t-item:after{left:100%;right:-2rem;transform:translate(-1.6rem) scaleY(.83) scaleX(.5) rotate(45deg)}.t-cell[data-range=single]>.t-item:after{display:none}.t-cell[data-state=disabled]{pointer-events:none}.t-cell[data-state=disabled]>.t-item{opacity:.36}.t-cell[data-state=hover]:hover:not([data-range])>.t-item{background-color:var(--tui-secondary-hover)}.t-cell[data-state=active]:hover:not([data-range])>.t-item{background-color:var(--tui-secondary-active)}:host{width:20.75rem;max-width:100vw}:host._ios{width:22.625rem}.t-row{height:3rem;justify-content:flex-start}.t-row:first-child{justify-content:flex-end}:host._ios .t-row{height:3.125rem}.t-cell{height:2.75rem;border-radius:100%;margin-right:.25rem}.t-cell:last-child,:host._ios .t-cell:last-child{margin-right:0}.t-cell:before{right:-100vw}.t-cell:first-child:before{left:-100vw}.t-cell_today:after{height:.375rem;width:.375rem;background-color:var(--tui-link)}.t-cell_interval:before{background-color:var(--tui-base-02)}.t-cell_interval:last-child:first-child:before{right:-100vw}.t-cell[data-state=disabled]{opacity:var(--tui-disabled-opacity)}.t-cell[data-range=single],.t-cell[data-range=start],.t-cell[data-range=end]{border-radius:100%;background-color:var(--tui-link);color:var(--tui-accent-text);font-weight:500}.t-cell[data-range=single]:after,.t-cell[data-range=start]:after,.t-cell[data-range=end]:after{background-color:var(--tui-base-01)}:host._ios .t-cell[data-range=single],:host._ios .t-cell[data-range=start],:host._ios .t-cell[data-range=end]{font-weight:600}.t-cell[data-range=start]:before{left:50%;border-top-left-radius:0;border-bottom-left-radius:0}.t-cell[data-range=end]:not(:first-child):before{left:50%;background:var(--tui-base-01);border-radius:0}.t-cell[data-range=end]:first-child:before{right:50%;background-color:var(--tui-base-02)}:host._ios .t-cell{margin-right:.5625rem}:host._ios .t-cell:before{border-radius:.5rem}@media screen and (max-width: 22.4375rem){.t-cell,:host._ios .t-cell{margin-right:.125rem}.t-cell:last-child,:host._ios .t-cell:last-child{margin-right:0}}\n"] }]
|
|
24
|
+
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
25
|
+
type: Inject,
|
|
26
|
+
args: [TUI_IS_IOS]
|
|
27
|
+
}] }, { type: undefined, decorators: [{
|
|
28
|
+
type: Inject,
|
|
29
|
+
args: [TUI_SHORT_WEEK_DAYS]
|
|
30
|
+
}] }, { type: undefined, decorators: [{
|
|
31
|
+
type: Inject,
|
|
32
|
+
args: [TUI_DAY_TYPE_HANDLER]
|
|
33
|
+
}] }]; } });
|
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJpbWl0aXZlLWNhbGVuZGFyLW1vYmlsZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hZGRvbi1tb2JpbGUvaW50ZXJuYWwvcHJpbWl0aXZlLWNhbGVuZGFyLW1vYmlsZS9wcmltaXRpdmUtY2FsZW5kYXItbW9iaWxlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FkZG9uLW1vYmlsZS9pbnRlcm5hbC9wcmltaXRpdmUtY2FsZW5kYXItbW9iaWxlL3ByaW1pdGl2ZS1jYWxlbmRhci1tb2JpbGUudGVtcGxhdGUuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsdUJBQXVCLEVB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W5kZXhdKVwiXG4gICAgICAgID5cbiAgICAgICAgICAgIHt7IHNoZWV0W3Jvd0luZGV4XVtjb2xJbmRleF0uZGF5IH19XG4gICAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuPC9uZy1jb250YWluZXI+XG4iXX0=
|
|
@@ -9,18 +9,16 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
*/
|
|
10
10
|
export class TuiPrimitiveCalendarMobileModule {
|
|
11
11
|
}
|
|
12
|
-
TuiPrimitiveCalendarMobileModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13
|
-
TuiPrimitiveCalendarMobileModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
12
|
+
TuiPrimitiveCalendarMobileModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiPrimitiveCalendarMobileModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
13
|
+
TuiPrimitiveCalendarMobileModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TuiPrimitiveCalendarMobileModule, declarations: [TuiPrimitiveCalendarMobileComponent], imports: [TuiRepeatTimesModule,
|
|
14
14
|
TuiCalendarSheetPipeModule,
|
|
15
15
|
TuiRippleModule,
|
|
16
16
|
TuiLetModule], exports: [TuiPrimitiveCalendarMobileComponent] });
|
|
17
|
-
TuiPrimitiveCalendarMobileModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
]] });
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiPrimitiveCalendarMobileModule, decorators: [{
|
|
17
|
+
TuiPrimitiveCalendarMobileModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiPrimitiveCalendarMobileModule, imports: [TuiRepeatTimesModule,
|
|
18
|
+
TuiCalendarSheetPipeModule,
|
|
19
|
+
TuiRippleModule,
|
|
20
|
+
TuiLetModule] });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TuiPrimitiveCalendarMobileModule, decorators: [{
|
|
24
22
|
type: NgModule,
|
|
25
23
|
args: [{
|
|
26
24
|
imports: [
|
|
@@ -33,4 +31,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
33
31
|
exports: [TuiPrimitiveCalendarMobileComponent],
|
|
34
32
|
}]
|
|
35
33
|
}] });
|
|
36
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJpbWl0aXZlLWNhbGVuZGFyLW1vYmlsZS5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hZGRvbi1tb2JpbGUvaW50ZXJuYWwvcHJpbWl0aXZlLWNhbGVuZGFyLW1vYmlsZS9wcmltaXRpdmUtY2FsZW5kYXItbW9iaWxlLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3ZDLE9BQU8sRUFBQyxlQUFlLEVBQUMsTUFBTSwwQ0FBMEMsQ0FBQztBQUN6RSxPQUFPLEVBQUMsWUFBWSxFQUFFLG9CQUFvQixFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ2pFLE9BQU8sRUFBQywwQkFBMEIsRUFBQyxNQUFNLGdCQUFnQixDQUFDO0FBRTFELE9BQU8sRUFBQyxtQ0FBbUMsRUFBQyxNQUFNLHVDQUF1QyxDQ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