@taiga-ui/addon-mobile 3.58.0 → 3.59.0-canary.10da730
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 +33 -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 +301 -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/mobile-calendar.providers.mjs +29 -0
- package/esm2020/components/mobile-calendar/mobile-calendar.strategy.mjs +125 -0
- 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/esm2020/components/pull-to-refresh/pull-to-refresh.component.mjs +69 -0
- 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 +53 -0
- package/esm2020/components/sheet/components/sheet/sheet.component.mjs +121 -0
- package/esm2020/components/sheet/components/sheet/sheet.providers.mjs +30 -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/esm2020/components/sheet/directives/sheet-close/sheet-close.directive.mjs +55 -0
- package/esm2020/components/sheet/directives/sheet-stop/sheet-stop.directive.mjs +47 -0
- package/esm2020/components/sheet/directives/sheet-top/sheet-top.directive.mjs +54 -0
- package/esm2020/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.mjs +78 -0
- package/esm2020/components/sheet/ios.hacks.mjs +28 -0
- package/esm2020/components/sheet/sheet-options.mjs +21 -0
- package/esm2020/components/sheet/sheet.directive.mjs +48 -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/esm2020/components/tab-bar/tab-bar-item.directive.mjs +44 -0
- 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/esm2020/directives/elastic-sticky/elastic-sticky.service.mjs +40 -0
- 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/esm2020/directives/ripple/ripple.directive.mjs +66 -0
- package/{esm2015/directives/ripple/ripple.module.js → esm2020/directives/ripple/ripple.module.mjs} +4 -4
- package/esm2020/directives/ripple/ripple.providers.mjs +42 -0
- 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 +82 -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 +103 -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 +539 -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 +257 -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 +687 -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 +85 -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 +136 -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 +104 -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} +19 -34
- 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} +36 -51
- 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} +25 -42
- 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} +86 -108
- 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} +19 -30
- 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} +12 -13
- 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} +14 -21
- 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} +10 -11
- 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/styles/android/checkbox.less +16 -12
- package/styles/android/radio.less +5 -3
- package/styles/android/toggle.less +3 -4
- package/styles/ios/checkbox.less +15 -7
- package/styles/ios/toggle.less +8 -11
- 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/mobile-calendar.providers.js +0 -30
- package/esm2015/components/mobile-calendar/mobile-calendar.strategy.js +0 -126
- 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.component.js +0 -75
- 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/sheet/sheet.providers.js +0 -31
- package/esm2015/components/sheet/components/sheets-host/sheets-host.component.js +0 -68
- package/esm2015/components/sheet/directives/sheet-close/sheet-close.directive.js +0 -56
- package/esm2015/components/sheet/directives/sheet-stop/sheet-stop.directive.js +0 -47
- package/esm2015/components/sheet/directives/sheet-top/sheet-top.directive.js +0 -54
- package/esm2015/components/sheet/directives/sheet-wrapper/sheet-wrapper.directive.js +0 -81
- package/esm2015/components/sheet/ios.hacks.js +0 -29
- 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-item.directive.js +0 -44
- 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/elastic-sticky/elastic-sticky.service.js +0 -41
- package/esm2015/directives/mobile-tabs/mobile-tabs.component.js +0 -19
- package/esm2015/directives/ripple/ripple.directive.js +0 -67
- package/esm2015/directives/ripple/ripple.providers.js +0 -43
- 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/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/index.js → esm2020/components/sheet/index.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/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
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@ng-web-apis/mutation-observer'), require('@taiga-ui/cdk'), require('rxjs'), require('rxjs/operators'), require('@taiga-ui/core'), require('@angular/common')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@taiga-ui/addon-mobile/components/app-bar', ['exports', '@angular/core', '@ng-web-apis/mutation-observer', '@taiga-ui/cdk', 'rxjs', 'rxjs/operators', '@taiga-ui/core', '@angular/common'], 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["app-bar"] = {}), global.ng.core, global.mutationObserver, global.cdk, global.rxjs, global.rxjs.operators, global.core, global.ng.common));
|
|
5
|
-
})(this, (function (exports, i0, mutationObserver, cdk, i2, operators, core, i1) { 'use strict';
|
|
6
|
-
|
|
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 i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
|
-
var i2__namespace = /*#__PURE__*/_interopNamespace(i2);
|
|
27
|
-
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
28
|
-
|
|
29
|
-
var TUI_APP_BAR_PROVIDERS = [
|
|
30
|
-
cdk.TuiDestroyService,
|
|
31
|
-
cdk.TuiResizeService,
|
|
32
|
-
mutationObserver.MutationObserverService,
|
|
33
|
-
{
|
|
34
|
-
provide: mutationObserver.MUTATION_OBSERVER_INIT,
|
|
35
|
-
useValue: {
|
|
36
|
-
characterData: true,
|
|
37
|
-
childList: true,
|
|
38
|
-
subtree: true,
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
core.tuiButtonOptionsProvider({
|
|
42
|
-
size: "m",
|
|
43
|
-
appearance: "",
|
|
44
|
-
}),
|
|
45
|
-
];
|
|
46
|
-
|
|
47
|
-
var TuiAppBarComponent = /** @class */ (function () {
|
|
48
|
-
function TuiAppBarComponent(resize$, mutation$) {
|
|
49
|
-
var _this = this;
|
|
50
|
-
this.resize$ = resize$;
|
|
51
|
-
this.mutation$ = mutation$;
|
|
52
|
-
this.side = cdk.EMPTY_QUERY;
|
|
53
|
-
this.width$ = i2.merge(this.resize$, this.mutation$).pipe(operators.map(function () {
|
|
54
|
-
var _a, _b;
|
|
55
|
-
return 2 *
|
|
56
|
-
Math.max((_a = _this.side.first) === null || _a === void 0 ? void 0 : _a.nativeElement.clientWidth, (_b = _this.side.last) === null || _b === void 0 ? void 0 : _b.nativeElement.clientWidth);
|
|
57
|
-
}));
|
|
58
|
-
}
|
|
59
|
-
return TuiAppBarComponent;
|
|
60
|
-
}());
|
|
61
|
-
TuiAppBarComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAppBarComponent, deps: [{ token: cdk.TuiResizeService }, { token: mutationObserver.MutationObserverService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
62
|
-
TuiAppBarComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiAppBarComponent, selector: "tui-app-bar", providers: TUI_APP_BAR_PROVIDERS, viewQueries: [{ propertyName: "side", predicate: ["side"], descendants: true }], ngImport: i0__namespace, template: "<div\n #side\n class=\"t-left\"\n>\n <ng-content select=\"[tuiSlot='left']\"></ng-content>\n</div>\n<div\n class=\"t-content\"\n [style.--sides.px]=\"width$ | async\"\n>\n <ng-content></ng-content>\n</div>\n<div\n #side\n class=\"t-right\"\n>\n <ng-content select=\"[tuiSlot='right']\"></ng-content>\n</div>\n", styles: [":host{--tui-padding: .625rem;position:relative;display:flex;height:3rem;align-items:center;justify-content:space-between;border:solid transparent;border-width:0 .375rem;box-sizing:border-box;font:var(--tui-font-text-m);font-weight:bold;color:var(--tui-text-01);background:var(--tui-base-01)}:host ::ng-deep [tuiButton][data-size=m]{font-weight:normal}.t-content{top:50%;left:50%;transform:translate(-50%,-50%);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;position:absolute;max-width:calc(100% - var(--sides, 0px));flex:1;padding:0 .375rem;box-sizing:border-box;text-align:center;color:var(--tui-text-01)}\n"], pipes: { "async": i1__namespace.AsyncPipe }, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
63
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAppBarComponent, decorators: [{
|
|
64
|
-
type: i0.Component,
|
|
65
|
-
args: [{
|
|
66
|
-
selector: 'tui-app-bar',
|
|
67
|
-
templateUrl: './app-bar.template.html',
|
|
68
|
-
styleUrls: ['./app-bar.style.less'],
|
|
69
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
70
|
-
providers: TUI_APP_BAR_PROVIDERS,
|
|
71
|
-
}]
|
|
72
|
-
}], ctorParameters: function () {
|
|
73
|
-
return [{ type: i2__namespace.Observable, decorators: [{
|
|
74
|
-
type: i0.Inject,
|
|
75
|
-
args: [cdk.TuiResizeService]
|
|
76
|
-
}] }, { type: i2__namespace.Observable, decorators: [{
|
|
77
|
-
type: i0.Inject,
|
|
78
|
-
args: [mutationObserver.MutationObserverService]
|
|
79
|
-
}] }];
|
|
80
|
-
}, propDecorators: { side: [{
|
|
81
|
-
type: i0.ViewChildren,
|
|
82
|
-
args: ['side']
|
|
83
|
-
}] } });
|
|
84
|
-
|
|
85
|
-
var TuiAppBarDirective = /** @class */ (function () {
|
|
86
|
-
function TuiAppBarDirective() {
|
|
87
|
-
this.tuiSlot = 'left';
|
|
88
|
-
}
|
|
89
|
-
return TuiAppBarDirective;
|
|
90
|
-
}());
|
|
91
|
-
TuiAppBarDirective.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAppBarDirective, deps: [], target: i0__namespace.ɵɵFactoryTarget.Directive });
|
|
92
|
-
TuiAppBarDirective.ɵdir = i0__namespace.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiAppBarDirective, selector: "[tuiSlot]", inputs: { tuiSlot: "tuiSlot" }, ngImport: i0__namespace });
|
|
93
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAppBarDirective, decorators: [{
|
|
94
|
-
type: i0.Directive,
|
|
95
|
-
args: [{
|
|
96
|
-
selector: '[tuiSlot]',
|
|
97
|
-
}]
|
|
98
|
-
}], propDecorators: { tuiSlot: [{
|
|
99
|
-
type: i0.Input
|
|
100
|
-
}] } });
|
|
101
|
-
|
|
102
|
-
var TuiAppBarBackComponent = /** @class */ (function () {
|
|
103
|
-
function TuiAppBarBackComponent() {
|
|
104
|
-
}
|
|
105
|
-
return TuiAppBarBackComponent;
|
|
106
|
-
}());
|
|
107
|
-
TuiAppBarBackComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAppBarBackComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
108
|
-
TuiAppBarBackComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiAppBarBackComponent, selector: "button[tuiAppBarBack], a[tuiAppBarBack]", ngImport: i0__namespace, template: "<svg\n height=\"24\"\n viewBox=\"0 0 24 24\"\n width=\"24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n>\n <path\n d=\"M7.44025 12L14.9826 4.43872C15.5391 3.88083 15.5391 2.97631 14.9826 2.41842C14.4261 1.86053 13.5239 1.86053 12.9674 2.41842L4.41737 10.9898C3.86088 11.5477 3.86088 12.4523 4.41737 13.0102L12.9674 21.5816C13.5239 22.1395 14.4261 22.1395 14.9826 21.5816C15.5391 21.0237 15.5391 20.1192 14.9826 19.5613L7.44025 12Z\"\n fill=\"currentColor\"\n />\n</svg>\n<ng-content></ng-content>\n", styles: [":host{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:none;font-size:inherit;line-height:inherit;text-decoration:none;display:flex;align-items:center;padding:0 .625rem 0 .125rem}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
109
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAppBarBackComponent, decorators: [{
|
|
110
|
-
type: i0.Component,
|
|
111
|
-
args: [{
|
|
112
|
-
selector: 'button[tuiAppBarBack], a[tuiAppBarBack]',
|
|
113
|
-
templateUrl: './app-bar-back.template.html',
|
|
114
|
-
styleUrls: ['./app-bar-back.style.less'],
|
|
115
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
116
|
-
}]
|
|
117
|
-
}] });
|
|
118
|
-
|
|
119
|
-
var TuiAppBarModule = /** @class */ (function () {
|
|
120
|
-
function TuiAppBarModule() {
|
|
121
|
-
}
|
|
122
|
-
return TuiAppBarModule;
|
|
123
|
-
}());
|
|
124
|
-
TuiAppBarModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAppBarModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
125
|
-
TuiAppBarModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAppBarModule, declarations: [TuiAppBarComponent, TuiAppBarDirective, TuiAppBarBackComponent], imports: [i1.CommonModule, core.TuiSvgModule], exports: [TuiAppBarComponent, TuiAppBarDirective, TuiAppBarBackComponent] });
|
|
126
|
-
TuiAppBarModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAppBarModule, imports: [[i1.CommonModule, core.TuiSvgModule]] });
|
|
127
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiAppBarModule, decorators: [{
|
|
128
|
-
type: i0.NgModule,
|
|
129
|
-
args: [{
|
|
130
|
-
imports: [i1.CommonModule, core.TuiSvgModule],
|
|
131
|
-
declarations: [TuiAppBarComponent, TuiAppBarDirective, TuiAppBarBackComponent],
|
|
132
|
-
exports: [TuiAppBarComponent, TuiAppBarDirective, TuiAppBarBackComponent],
|
|
133
|
-
}]
|
|
134
|
-
}] });
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* Generated bundle index. Do not edit.
|
|
138
|
-
*/
|
|
139
|
-
|
|
140
|
-
exports.TUI_APP_BAR_PROVIDERS = TUI_APP_BAR_PROVIDERS;
|
|
141
|
-
exports.TuiAppBarBackComponent = TuiAppBarBackComponent;
|
|
142
|
-
exports.TuiAppBarComponent = TuiAppBarComponent;
|
|
143
|
-
exports.TuiAppBarDirective = TuiAppBarDirective;
|
|
144
|
-
exports.TuiAppBarModule = TuiAppBarModule;
|
|
145
|
-
|
|
146
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
147
|
-
|
|
148
|
-
}));
|
|
149
|
-
//# sourceMappingURL=taiga-ui-addon-mobile-components-app-bar.umd.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-addon-mobile-components-app-bar.umd.js","sources":["../../../projects/addon-mobile/components/app-bar/app-bar.providers.ts","../../../projects/addon-mobile/components/app-bar/app-bar.component.ts","../../../projects/addon-mobile/components/app-bar/app-bar.template.html","../../../projects/addon-mobile/components/app-bar/app-bar.directive.ts","../../../projects/addon-mobile/components/app-bar/app-bar-back.component.ts","../../../projects/addon-mobile/components/app-bar/app-bar-back.template.html","../../../projects/addon-mobile/components/app-bar/app-bar.module.ts","../../../projects/addon-mobile/components/app-bar/taiga-ui-addon-mobile-components-app-bar.ts"],"sourcesContent":["import {Provider} from '@angular/core';\nimport {\n MUTATION_OBSERVER_INIT,\n MutationObserverService,\n} from '@ng-web-apis/mutation-observer';\nimport {TuiDestroyService, TuiResizeService} from '@taiga-ui/cdk';\nimport {tuiButtonOptionsProvider} from '@taiga-ui/core';\n\nexport const TUI_APP_BAR_PROVIDERS: Provider[] = [\n TuiDestroyService,\n TuiResizeService,\n MutationObserverService,\n {\n provide: MUTATION_OBSERVER_INIT,\n useValue: {\n characterData: true,\n childList: true,\n subtree: true,\n },\n },\n tuiButtonOptionsProvider({\n size: `m`,\n appearance: ``,\n }),\n];\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n Inject,\n QueryList,\n ViewChildren,\n} from '@angular/core';\nimport {MutationObserverService} from '@ng-web-apis/mutation-observer';\nimport {EMPTY_QUERY, TuiResizeService} from '@taiga-ui/cdk';\nimport {merge, Observable} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\nimport {TUI_APP_BAR_PROVIDERS} from './app-bar.providers';\n\n@Component({\n selector: 'tui-app-bar',\n templateUrl: './app-bar.template.html',\n styleUrls: ['./app-bar.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: TUI_APP_BAR_PROVIDERS,\n})\nexport class TuiAppBarComponent {\n @ViewChildren('side')\n private readonly side: QueryList<ElementRef<HTMLElement>> = EMPTY_QUERY;\n\n readonly width$ = merge(this.resize$, this.mutation$).pipe(\n map(\n () =>\n 2 *\n Math.max(\n this.side.first?.nativeElement.clientWidth,\n this.side.last?.nativeElement.clientWidth,\n ),\n ),\n );\n\n constructor(\n @Inject(TuiResizeService) private readonly resize$: Observable<unknown>,\n @Inject(MutationObserverService) private readonly mutation$: Observable<unknown>,\n ) {}\n}\n","<div\n #side\n class=\"t-left\"\n>\n <ng-content select=\"[tuiSlot='left']\"></ng-content>\n</div>\n<div\n class=\"t-content\"\n [style.--sides.px]=\"width$ | async\"\n>\n <ng-content></ng-content>\n</div>\n<div\n #side\n class=\"t-right\"\n>\n <ng-content select=\"[tuiSlot='right']\"></ng-content>\n</div>\n","import {Directive, Input} from '@angular/core';\n\n@Directive({\n selector: '[tuiSlot]',\n})\nexport class TuiAppBarDirective {\n @Input()\n tuiSlot: string | 'left' | 'right' = 'left';\n}\n","import {ChangeDetectionStrategy, Component} from '@angular/core';\n\n@Component({\n selector: 'button[tuiAppBarBack], a[tuiAppBarBack]',\n templateUrl: './app-bar-back.template.html',\n styleUrls: ['./app-bar-back.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiAppBarBackComponent {}\n","<svg\n height=\"24\"\n viewBox=\"0 0 24 24\"\n width=\"24\"\n xmlns=\"http://www.w3.org/2000/svg\"\n>\n <path\n d=\"M7.44025 12L14.9826 4.43872C15.5391 3.88083 15.5391 2.97631 14.9826 2.41842C14.4261 1.86053 13.5239 1.86053 12.9674 2.41842L4.41737 10.9898C3.86088 11.5477 3.86088 12.4523 4.41737 13.0102L12.9674 21.5816C13.5239 22.1395 14.4261 22.1395 14.9826 21.5816C15.5391 21.0237 15.5391 20.1192 14.9826 19.5613L7.44025 12Z\"\n fill=\"currentColor\"\n />\n</svg>\n<ng-content></ng-content>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiSvgModule} from '@taiga-ui/core';\n\nimport {TuiAppBarComponent} from './app-bar.component';\nimport {TuiAppBarDirective} from './app-bar.directive';\nimport {TuiAppBarBackComponent} from './app-bar-back.component';\n\n@NgModule({\n imports: [CommonModule, TuiSvgModule],\n declarations: [TuiAppBarComponent, TuiAppBarDirective, TuiAppBarBackComponent],\n exports: [TuiAppBarComponent, TuiAppBarDirective, TuiAppBarBackComponent],\n})\nexport class TuiAppBarModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["TuiDestroyService","TuiResizeService","MutationObserverService","MUTATION_OBSERVER_INIT","tuiButtonOptionsProvider","EMPTY_QUERY","merge","map","i0","i1","Component","ChangeDetectionStrategy","Inject","ViewChildren","Directive","Input","CommonModule","TuiSvgModule","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQa,QAAA,qBAAqB,GAAe;QAC7CA,qBAAiB;QACjBC,oBAAgB;QAChBC,wCAAuB;IACvB,IAAA;IACI,QAAA,OAAO,EAAEC,uCAAsB;IAC/B,QAAA,QAAQ,EAAE;IACN,YAAA,aAAa,EAAE,IAAI;IACnB,YAAA,SAAS,EAAE,IAAI;IACf,YAAA,OAAO,EAAE,IAAI;IAChB,SAAA;IACJ,KAAA;IACD,IAAAC,6BAAwB,CAAC;IACrB,QAAA,IAAI,EAAE,GAAG;IACT,QAAA,UAAU,EAAE,EAAE;SACjB,CAAC;;;ACDN,QAAA,kBAAA,kBAAA,YAAA;QAeI,SAC+C,kBAAA,CAAA,OAA4B,EACrB,SAA8B,EAAA;YAFpF,IAGI,KAAA,GAAA,IAAA,CAAA;IAF2C,QAAA,IAAO,CAAA,OAAA,GAAP,OAAO,CAAqB;IACrB,QAAA,IAAS,CAAA,SAAA,GAAT,SAAS,CAAqB;IAfnE,QAAA,IAAI,CAAA,IAAA,GAAuCC,eAAW,CAAC;IAE/D,QAAA,IAAA,CAAA,MAAM,GAAGC,QAAK,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,IAAI,CACtDC,aAAG,CACC,YAAA;;IACI,YAAA,OAAA,CAAC;IACD,gBAAA,IAAI,CAAC,GAAG,CACJ,CAAA,EAAA,GAAA,KAAI,CAAC,IAAI,CAAC,KAAK,MAAA,IAAA,IAAA,EAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAE,aAAa,CAAC,WAAW,EAC1C,CAAA,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AA,eAAA,GAAA;;;;uIAAa,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAAH,aAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;IAAf,eAAA,CAAA,IAAA,GAAAA,aAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAAA,aAAA,EAAA,IAAA,EAAA,eAAe,EAHT,YAAA,EAAA,CAAA,kBAAkB,EAAE,kBAAkB,EAAE,sBAAsB,CAAA,EAAA,OAAA,EAAA,CADnEQ,eAAY,EAAEC,iBAAY,CAE1B,EAAA,OAAA,EAAA,CAAA,kBAAkB,EAAE,kBAAkB,EAAE,sBAAsB,CAAA,EAAA,CAAA,CAAA;IAE/D,eAAA,CAAA,IAAA,GAAAT,aAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAAA,aAAA,EAAA,IAAA,EAAA,eAAe,EAJf,OAAA,EAAA,CAAA,CAACQ,eAAY,EAAEC,iBAAY,CAAC,CAAA,EAAA,CAAA,CAAA;sHAI5B,eAAe,EAAA,UAAA,EAAA,CAAA;sBAL3BC,WAAQ;IAAC,YAAA,IAAA,EAAA,CAAA;IACN,oBAAA,OAAO,EAAE,CAACF,eAAY,EAAEC,iBAAY,CAAC;IACrC,oBAAA,YAAY,EAAE,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,sBAAsB,CAAC;IAC9E,oBAAA,OAAO,EAAE,CAAC,kBAAkB,EAAE,kBAAkB,EAAE,sBAAsB,CAAC;qBAC5E,CAAA;;;ICZD;;IAEG;;;;;;;;;;;;;;"}
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@taiga-ui/cdk'), require('@tinkoff/ng-polymorpheus'), require('@taiga-ui/addon-mobile/components/mobile-calendar'), require('@taiga-ui/kit')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@taiga-ui/addon-mobile/components/mobile-calendar-dialog', ['exports', '@angular/core', '@taiga-ui/cdk', '@tinkoff/ng-polymorpheus', '@taiga-ui/addon-mobile/components/mobile-calendar', '@taiga-ui/kit'], 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-dialog"] = {}), global.ng.core, global.cdk, global.ngPolymorpheus, global["taiga-ui"]["addon-mobile"].components["mobile-calendar"], global.kit));
|
|
5
|
-
})(this, (function (exports, i0, cdk, ngPolymorpheus, i1, kit) { 'use strict';
|
|
6
|
-
|
|
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 i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
26
|
-
var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
|
|
27
|
-
|
|
28
|
-
var TuiMobileCalendarDialogComponent = /** @class */ (function () {
|
|
29
|
-
function TuiMobileCalendarDialogComponent(context) {
|
|
30
|
-
this.context = context;
|
|
31
|
-
}
|
|
32
|
-
Object.defineProperty(TuiMobileCalendarDialogComponent.prototype, "single", {
|
|
33
|
-
get: function () {
|
|
34
|
-
var _a;
|
|
35
|
-
return ((_a = this.context.data) === null || _a === void 0 ? void 0 : _a.single) === true;
|
|
36
|
-
},
|
|
37
|
-
enumerable: false,
|
|
38
|
-
configurable: true
|
|
39
|
-
});
|
|
40
|
-
Object.defineProperty(TuiMobileCalendarDialogComponent.prototype, "multi", {
|
|
41
|
-
get: function () {
|
|
42
|
-
var _a;
|
|
43
|
-
return ((_a = this.context.data) === null || _a === void 0 ? void 0 : _a.multi) === true;
|
|
44
|
-
},
|
|
45
|
-
enumerable: false,
|
|
46
|
-
configurable: true
|
|
47
|
-
});
|
|
48
|
-
Object.defineProperty(TuiMobileCalendarDialogComponent.prototype, "min", {
|
|
49
|
-
get: function () {
|
|
50
|
-
var _a;
|
|
51
|
-
return ((_a = this.context.data) === null || _a === void 0 ? void 0 : _a.min) || cdk.TUI_FIRST_DAY;
|
|
52
|
-
},
|
|
53
|
-
enumerable: false,
|
|
54
|
-
configurable: true
|
|
55
|
-
});
|
|
56
|
-
Object.defineProperty(TuiMobileCalendarDialogComponent.prototype, "max", {
|
|
57
|
-
get: function () {
|
|
58
|
-
var _a;
|
|
59
|
-
return ((_a = this.context.data) === null || _a === void 0 ? void 0 : _a.max) || cdk.TUI_LAST_DAY;
|
|
60
|
-
},
|
|
61
|
-
enumerable: false,
|
|
62
|
-
configurable: true
|
|
63
|
-
});
|
|
64
|
-
Object.defineProperty(TuiMobileCalendarDialogComponent.prototype, "disabledItemHandler", {
|
|
65
|
-
get: function () {
|
|
66
|
-
var _a;
|
|
67
|
-
return ((_a = this.context.data) === null || _a === void 0 ? void 0 : _a.disabledItemHandler) || cdk.ALWAYS_FALSE_HANDLER;
|
|
68
|
-
},
|
|
69
|
-
enumerable: false,
|
|
70
|
-
configurable: true
|
|
71
|
-
});
|
|
72
|
-
return TuiMobileCalendarDialogComponent;
|
|
73
|
-
}());
|
|
74
|
-
TuiMobileCalendarDialogComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiMobileCalendarDialogComponent, deps: [{ token: ngPolymorpheus.POLYMORPHEUS_CONTEXT }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
75
|
-
TuiMobileCalendarDialogComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiMobileCalendarDialogComponent, selector: "tui-mobile-calendar-dialog", ngImport: i0__namespace, template: "<tui-mobile-calendar\n [disabledItemHandler]=\"disabledItemHandler\"\n [max]=\"max\"\n [min]=\"min\"\n [multi]=\"multi\"\n [single]=\"single\"\n (cancel)=\"context.$implicit.complete()\"\n (confirm)=\"context.completeWith($event)\"\n></tui-mobile-calendar>\n", styles: [":host{display:block;height:100vh;margin:-1.5rem -1.5rem -2rem}\n"], components: [{ type: i1__namespace.TuiMobileCalendarComponent, selector: "tui-mobile-calendar", inputs: ["single", "multi", "min", "max", "disabledItemHandler"], outputs: ["cancel", "confirm"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
76
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiMobileCalendarDialogComponent, decorators: [{
|
|
77
|
-
type: i0.Component,
|
|
78
|
-
args: [{
|
|
79
|
-
selector: 'tui-mobile-calendar-dialog',
|
|
80
|
-
templateUrl: './mobile-calendar-dialog.template.html',
|
|
81
|
-
styleUrls: ['./mobile-calendar-dialog.style.less'],
|
|
82
|
-
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
83
|
-
}]
|
|
84
|
-
}], ctorParameters: function () {
|
|
85
|
-
return [{ type: undefined, decorators: [{
|
|
86
|
-
type: i0.Inject,
|
|
87
|
-
args: [ngPolymorpheus.POLYMORPHEUS_CONTEXT]
|
|
88
|
-
}] }];
|
|
89
|
-
} });
|
|
90
|
-
|
|
91
|
-
var TuiMobileCalendarDialogModule = /** @class */ (function () {
|
|
92
|
-
function TuiMobileCalendarDialogModule() {
|
|
93
|
-
}
|
|
94
|
-
return TuiMobileCalendarDialogModule;
|
|
95
|
-
}());
|
|
96
|
-
TuiMobileCalendarDialogModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiMobileCalendarDialogModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
97
|
-
TuiMobileCalendarDialogModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiMobileCalendarDialogModule, declarations: [TuiMobileCalendarDialogComponent], imports: [i1.TuiMobileCalendarModule], exports: [TuiMobileCalendarDialogComponent] });
|
|
98
|
-
TuiMobileCalendarDialogModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiMobileCalendarDialogModule, providers: [
|
|
99
|
-
{
|
|
100
|
-
provide: kit.TUI_MOBILE_CALENDAR,
|
|
101
|
-
useValue: TuiMobileCalendarDialogComponent,
|
|
102
|
-
},
|
|
103
|
-
], imports: [[i1.TuiMobileCalendarModule]] });
|
|
104
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TuiMobileCalendarDialogModule, decorators: [{
|
|
105
|
-
type: i0.NgModule,
|
|
106
|
-
args: [{
|
|
107
|
-
imports: [i1.TuiMobileCalendarModule],
|
|
108
|
-
declarations: [TuiMobileCalendarDialogComponent],
|
|
109
|
-
providers: [
|
|
110
|
-
{
|
|
111
|
-
provide: kit.TUI_MOBILE_CALENDAR,
|
|
112
|
-
useValue: TuiMobileCalendarDialogComponent,
|
|
113
|
-
},
|
|
114
|
-
],
|
|
115
|
-
exports: [TuiMobileCalendarDialogComponent],
|
|
116
|
-
}]
|
|
117
|
-
}] });
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* Generated bundle index. Do not edit.
|
|
121
|
-
*/
|
|
122
|
-
|
|
123
|
-
exports.TuiMobileCalendarDialogComponent = TuiMobileCalendarDialogComponent;
|
|
124
|
-
exports.TuiMobileCalendarDialogModule = TuiMobileCalendarDialogModule;
|
|
125
|
-
|
|
126
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
127
|
-
|
|
128
|
-
}));
|
|
129
|
-
//# sourceMappingURL=taiga-ui-addon-mobile-components-mobile-calendar-dialog.umd.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taiga-ui-addon-mobile-components-mobile-calendar-dialog.umd.js","sources":["../../../projects/addon-mobile/components/mobile-calendar-dialog/mobile-calendar-dialog.component.ts","../../../projects/addon-mobile/components/mobile-calendar-dialog/mobile-calendar-dialog.template.html","../../../projects/addon-mobile/components/mobile-calendar-dialog/mobile-calendar-dialog.module.ts","../../../projects/addon-mobile/components/mobile-calendar-dialog/taiga-ui-addon-mobile-components-mobile-calendar-dialog.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, Inject} from '@angular/core';\nimport {\n ALWAYS_FALSE_HANDLER,\n TUI_FIRST_DAY,\n TUI_LAST_DAY,\n TuiBooleanHandler,\n TuiDay,\n TuiDayRange,\n} from '@taiga-ui/cdk';\nimport {TuiDialogContext} from '@taiga-ui/core';\nimport {TuiMobileCalendarData} from '@taiga-ui/kit';\nimport {POLYMORPHEUS_CONTEXT} from '@tinkoff/ng-polymorpheus';\n\n@Component({\n selector: 'tui-mobile-calendar-dialog',\n templateUrl: './mobile-calendar-dialog.template.html',\n styleUrls: ['./mobile-calendar-dialog.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiMobileCalendarDialogComponent {\n constructor(\n @Inject(POLYMORPHEUS_CONTEXT)\n readonly context: TuiDialogContext<\n TuiDay | TuiDayRange | readonly TuiDay[],\n TuiMobileCalendarData | undefined\n >,\n ) {}\n\n get single(): boolean {\n return this.context.data?.single === true;\n }\n\n get multi(): boolean {\n return this.context.data?.multi === true;\n }\n\n get min(): TuiDay {\n return this.context.data?.min || TUI_FIRST_DAY;\n }\n\n get max(): TuiDay {\n return this.context.data?.max || TUI_LAST_DAY;\n }\n\n get disabledItemHandler(): TuiBooleanHandler<TuiDay> {\n return this.context.data?.disabledItemHandler || ALWAYS_FALSE_HANDLER;\n }\n}\n","<tui-mobile-calendar\n [disabledItemHandler]=\"disabledItemHandler\"\n [max]=\"max\"\n [min]=\"min\"\n [multi]=\"multi\"\n [single]=\"single\"\n (cancel)=\"context.$implicit.complete()\"\n (confirm)=\"context.completeWith($event)\"\n></tui-mobile-calendar>\n","import {NgModule} from '@angular/core';\nimport {TuiMobileCalendarModule} from '@taiga-ui/addon-mobile/components/mobile-calendar';\nimport {TUI_MOBILE_CALENDAR} from '@taiga-ui/kit';\n\nimport {TuiMobileCalendarDialogComponent} from './mobile-calendar-dialog.component';\n\n@NgModule({\n imports: [TuiMobileCalendarModule],\n declarations: [TuiMobileCalendarDialogComponent],\n providers: [\n {\n provide: TUI_MOBILE_CALENDAR,\n useValue: TuiMobileCalendarDialogComponent,\n },\n ],\n exports: [TuiMobileCalendarDialogComponent],\n})\nexport class TuiMobileCalendarDialogModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["TUI_FIRST_DAY","TUI_LAST_DAY","ALWAYS_FALSE_HANDLER","i0","POLYMORPHEUS_CONTEXT","i1","Component","ChangeDetectionStrategy","Inject","TuiMobileCalendarModule","TUI_MOBILE_CALENDAR","NgModule"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAmBA,QAAA,gCAAA,kBAAA,YAAA;IACI,IAAA,SAAA,gCAAA,CAEa,OAGR,EAAA;IAHQ,QAAA,IAAO,CAAA,OAAA,GAAP,OAAO,CAGf;SACD;IAEJ,IAAA,MAAA,CAAA,cAAA,CAA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