@ionic/core 7.8.4 → 7.8.5-dev.11713279234.1d02271c
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/ion-modal.js +43 -19
- package/components/ios.transition.js +90 -67
- package/dist/cjs/{app-globals-91158c0d.js → app-globals-c5eb104c.js} +1 -1
- package/dist/cjs/{button-active-aff0cd49.js → button-active-181d142e.js} +1 -1
- package/dist/cjs/{hardware-back-button-d76ddd64.js → hardware-back-button-adba3ac7.js} +2 -2
- package/dist/cjs/{index-9d02ee85.js → index-034460de.js} +3 -3
- package/dist/cjs/{index-ea0555d6.js → index-22617dd6.js} +25 -2
- package/dist/cjs/{index-e39d723a.js → index-5c38afe7.js} +2 -2
- package/dist/cjs/index.cjs.js +8 -8
- package/dist/cjs/ion-accordion_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-action-sheet.cjs.entry.js +5 -5
- package/dist/cjs/ion-alert.cjs.entry.js +5 -5
- package/dist/cjs/ion-app_8.cjs.entry.js +6 -6
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-button_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-card_5.cjs.entry.js +2 -2
- package/dist/cjs/ion-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-fab_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-img.cjs.entry.js +2 -2
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-input.cjs.entry.js +2 -2
- package/dist/cjs/ion-item-option_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-item_8.cjs.entry.js +2 -2
- package/dist/cjs/ion-loading.cjs.entry.js +4 -4
- package/dist/cjs/ion-menu_3.cjs.entry.js +5 -5
- package/dist/cjs/ion-modal.cjs.entry.js +48 -24
- package/dist/cjs/ion-nav_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker-column-internal.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-internal.cjs.entry.js +1 -1
- package/dist/cjs/ion-popover.cjs.entry.js +5 -5
- package/dist/cjs/ion-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/ion-radio_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-range.cjs.entry.js +2 -2
- package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-select_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +4 -4
- package/dist/cjs/ion-toggle.cjs.entry.js +2 -2
- package/dist/cjs/{ionic-global-a54cbba1.js → ionic-global-c5503e93.js} +1 -1
- package/dist/cjs/ionic.cjs.js +4 -4
- package/dist/cjs/{ios.transition-259214c9.js → ios.transition-26c5adb2.js} +92 -69
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{md.transition-6eb6de75.js → md.transition-75533d44.js} +2 -2
- package/dist/cjs/{overlays-d2e50d5e.js → overlays-129dfc13.js} +2 -2
- package/dist/cjs/{status-tap-1d7f8e6d.js → status-tap-03d82840.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/modal/gestures/sheet.js +45 -20
- package/dist/collection/utils/transition/ios.transition.js +90 -67
- package/dist/docs.json +2 -2
- package/dist/esm/{app-globals-ffe436be.js → app-globals-318eef52.js} +1 -1
- package/dist/esm/{button-active-365a5048.js → button-active-414be235.js} +1 -1
- package/dist/esm/{hardware-back-button-65a9e284.js → hardware-back-button-6107a37c.js} +2 -2
- package/dist/esm/{index-4feaf001.js → index-68278972.js} +3 -3
- package/dist/esm/{index-7ab328b6.js → index-6e05b96e.js} +2 -2
- package/dist/esm/{index-73fa3fe8.js → index-a1a47f01.js} +25 -2
- package/dist/esm/index.js +8 -8
- package/dist/esm/ion-accordion_2.entry.js +2 -2
- package/dist/esm/ion-action-sheet.entry.js +5 -5
- package/dist/esm/ion-alert.entry.js +5 -5
- package/dist/esm/ion-app_8.entry.js +6 -6
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +2 -2
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +2 -2
- package/dist/esm/ion-button_2.entry.js +2 -2
- package/dist/esm/ion-card_5.entry.js +2 -2
- package/dist/esm/ion-checkbox.entry.js +2 -2
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +2 -2
- package/dist/esm/ion-datetime-button.entry.js +2 -2
- package/dist/esm/ion-datetime_3.entry.js +4 -4
- package/dist/esm/ion-fab_3.entry.js +2 -2
- package/dist/esm/ion-img.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll_2.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +2 -2
- package/dist/esm/ion-item-option_3.entry.js +2 -2
- package/dist/esm/ion-item_8.entry.js +2 -2
- package/dist/esm/ion-loading.entry.js +4 -4
- package/dist/esm/ion-menu_3.entry.js +5 -5
- package/dist/esm/ion-modal.entry.js +48 -24
- package/dist/esm/ion-nav_2.entry.js +3 -3
- package/dist/esm/ion-picker-column-internal.entry.js +2 -2
- package/dist/esm/ion-picker-internal.entry.js +1 -1
- package/dist/esm/ion-popover.entry.js +5 -5
- package/dist/esm/ion-progress-bar.entry.js +2 -2
- package/dist/esm/ion-radio_2.entry.js +2 -2
- package/dist/esm/ion-range.entry.js +2 -2
- package/dist/esm/ion-refresher_2.entry.js +2 -2
- package/dist/esm/ion-reorder_2.entry.js +2 -2
- package/dist/esm/ion-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +2 -2
- package/dist/esm/ion-select_3.entry.js +4 -4
- package/dist/esm/ion-spinner.entry.js +2 -2
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +2 -2
- package/dist/esm/ion-tab_2.entry.js +1 -1
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +4 -4
- package/dist/esm/ion-toggle.entry.js +2 -2
- package/dist/esm/{ionic-global-d89a6ff6.js → ionic-global-94f25d1b.js} +1 -1
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-1e29344b.js → ios.transition-471e5da1.js} +92 -69
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{md.transition-b2a9590f.js → md.transition-12c07448.js} +2 -2
- package/dist/esm/{overlays-ad4b0449.js → overlays-b874c3c3.js} +2 -2
- package/dist/esm/{status-tap-0575d437.js → status-tap-dfea3607.js} +1 -1
- package/dist/esm-es5/app-globals-318eef52.js +4 -0
- package/dist/esm-es5/{button-active-365a5048.js → button-active-414be235.js} +1 -1
- package/dist/esm-es5/{hardware-back-button-65a9e284.js → hardware-back-button-6107a37c.js} +1 -1
- package/dist/esm-es5/{index-4feaf001.js → index-68278972.js} +1 -1
- package/dist/esm-es5/{index-7ab328b6.js → index-6e05b96e.js} +1 -1
- package/dist/esm-es5/index-a1a47f01.js +5 -0
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-internal.entry.js +1 -1
- package/dist/esm-es5/ion-picker-internal.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/{ionic-global-d89a6ff6.js → ionic-global-94f25d1b.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/ios.transition-471e5da1.js +4 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{md.transition-b2a9590f.js → md.transition-12c07448.js} +1 -1
- package/dist/esm-es5/{overlays-ad4b0449.js → overlays-b874c3c3.js} +1 -1
- package/dist/esm-es5/{status-tap-0575d437.js → status-tap-dfea3607.js} +1 -1
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/ionic.js +1 -1
- package/dist/ionic/{p-6f71c22a.system.js → p-0020292d.system.js} +1 -1
- package/dist/ionic/{p-38a6676c.system.entry.js → p-03934b94.system.entry.js} +1 -1
- package/dist/ionic/{p-fc181726.entry.js → p-05fed772.entry.js} +1 -1
- package/dist/ionic/p-0aac3a1c.js +4 -0
- package/dist/ionic/{p-2937c804.js → p-0b743628.js} +1 -1
- package/dist/ionic/{p-af95011e.entry.js → p-125d2908.entry.js} +1 -1
- package/dist/ionic/p-1a244094.js +4 -0
- package/dist/ionic/{p-62fd7981.js → p-1e151efb.js} +1 -1
- package/dist/ionic/{p-d2a8f5fa.system.entry.js → p-21040a67.system.entry.js} +1 -1
- package/dist/ionic/{p-0eefae7b.entry.js → p-23632fd0.entry.js} +1 -1
- package/dist/ionic/p-2433bf5e.system.js +4 -0
- package/dist/ionic/{p-f903eb7d.system.entry.js → p-247e63fd.system.entry.js} +1 -1
- package/dist/ionic/{p-04f8ce80.system.entry.js → p-26a2dee6.system.entry.js} +1 -1
- package/dist/ionic/{p-57120260.system.js → p-280f1fe7.system.js} +1 -1
- package/dist/ionic/{p-abbbeaba.system.entry.js → p-297e4ce7.system.entry.js} +1 -1
- package/dist/ionic/{p-f3633fec.system.entry.js → p-2a072db2.system.entry.js} +1 -1
- package/dist/ionic/{p-32ea2e50.system.entry.js → p-2b3b0b54.system.entry.js} +1 -1
- package/dist/ionic/{p-570dc347.entry.js → p-2b899443.entry.js} +1 -1
- package/dist/ionic/{p-fc72a291.system.entry.js → p-2bb08088.system.entry.js} +1 -1
- package/dist/ionic/{p-46e80228.entry.js → p-2bb106c7.entry.js} +1 -1
- package/dist/ionic/p-2c1408df.system.js +5 -0
- package/dist/ionic/{p-eb1a11f5.system.entry.js → p-2e125dd9.system.entry.js} +1 -1
- package/dist/ionic/p-3420329d.js +4 -0
- package/dist/ionic/{p-3809bcb3.entry.js → p-374838e4.entry.js} +1 -1
- package/dist/ionic/{p-a729bebd.system.entry.js → p-37634767.system.entry.js} +2 -2
- package/dist/ionic/p-37aab7f7.js +4 -0
- package/dist/ionic/{p-1074dc9c.entry.js → p-3c79d175.entry.js} +1 -1
- package/dist/ionic/{p-cd02f6a0.system.entry.js → p-411bb8ab.system.entry.js} +1 -1
- package/dist/ionic/{p-e1d3938b.system.entry.js → p-414c5031.system.entry.js} +1 -1
- package/dist/ionic/{p-8cef747b.system.entry.js → p-43e8c02c.system.entry.js} +1 -1
- package/dist/ionic/{p-fa2c6408.entry.js → p-43f5c725.entry.js} +1 -1
- package/dist/ionic/{p-c433a6e5.system.entry.js → p-4882ea93.system.entry.js} +1 -1
- package/dist/ionic/{p-2ee0f9ea.entry.js → p-4c17462c.entry.js} +1 -1
- package/dist/ionic/{p-bea20d99.entry.js → p-4c180665.entry.js} +1 -1
- package/dist/ionic/{p-1a5e8ef6.entry.js → p-4da978ac.entry.js} +1 -1
- package/dist/ionic/{p-cc7671a8.js → p-4e9552a3.js} +1 -1
- package/dist/ionic/{p-7ba16351.entry.js → p-4f529650.entry.js} +1 -1
- package/dist/ionic/{p-653571b9.entry.js → p-4f9c9520.entry.js} +1 -1
- package/dist/ionic/{p-860b3f85.system.entry.js → p-501fdfc9.system.entry.js} +1 -1
- package/dist/ionic/p-5241515e.entry.js +4 -0
- package/dist/ionic/{p-bc88ef1d.entry.js → p-53f0e4b3.entry.js} +1 -1
- package/dist/ionic/{p-ffd75444.entry.js → p-566a486f.entry.js} +1 -1
- package/dist/ionic/{p-02acfd9b.entry.js → p-56f612c8.entry.js} +1 -1
- package/dist/ionic/{p-ea911adc.entry.js → p-5c5f0e52.entry.js} +1 -1
- package/dist/ionic/{p-e1033126.entry.js → p-5de97589.entry.js} +1 -1
- package/dist/ionic/{p-d984a2c0.system.entry.js → p-606fe277.system.entry.js} +1 -1
- package/dist/ionic/{p-c902b920.entry.js → p-62c92975.entry.js} +1 -1
- package/dist/ionic/{p-ca86ce8b.system.js → p-638865d1.system.js} +1 -1
- package/dist/ionic/{p-b3865ce7.system.entry.js → p-64504c7e.system.entry.js} +1 -1
- package/dist/ionic/{p-088feb27.entry.js → p-69da5865.entry.js} +1 -1
- package/dist/ionic/{p-e0cb34f8.system.entry.js → p-6ac774c4.system.entry.js} +1 -1
- package/dist/ionic/{p-73c93bea.entry.js → p-6ad1136b.entry.js} +1 -1
- package/dist/ionic/{p-c018f9fe.system.entry.js → p-700367a8.system.entry.js} +1 -1
- package/dist/ionic/{p-778a6434.system.entry.js → p-74c2643d.system.entry.js} +1 -1
- package/dist/ionic/{p-69aef109.system.entry.js → p-776f7b9e.system.entry.js} +1 -1
- package/dist/ionic/{p-7227be31.system.entry.js → p-7b54e97a.system.entry.js} +1 -1
- package/dist/ionic/{p-7827a8be.entry.js → p-815c676c.entry.js} +1 -1
- package/dist/ionic/{p-646666ae.system.entry.js → p-81c8fa81.system.entry.js} +1 -1
- package/dist/ionic/{p-ec6ebf53.entry.js → p-8444e4c0.entry.js} +1 -1
- package/dist/ionic/{p-d7a4999f.system.js → p-85ea810f.system.js} +1 -1
- package/dist/ionic/{p-22e338ed.system.js → p-8668ffee.system.js} +1 -1
- package/dist/ionic/{p-d72271fc.system.entry.js → p-8a335b91.system.entry.js} +1 -1
- package/dist/ionic/{p-372821dd.entry.js → p-8e501f6d.entry.js} +1 -1
- package/dist/ionic/{p-e31d0fc8.entry.js → p-91a2236e.entry.js} +1 -1
- package/dist/ionic/{p-efab9748.system.entry.js → p-93f86b06.system.entry.js} +1 -1
- package/dist/ionic/{p-1ebd49bd.entry.js → p-99d8b626.entry.js} +1 -1
- package/dist/ionic/{p-8f0f6730.system.entry.js → p-9bb9bf60.system.entry.js} +1 -1
- package/dist/ionic/{p-94d5c60d.system.entry.js → p-9c59ee42.system.entry.js} +1 -1
- package/dist/ionic/{p-f5f7036b.system.entry.js → p-9d3363aa.system.entry.js} +1 -1
- package/dist/ionic/{p-e8f0395c.entry.js → p-9dcea5cf.entry.js} +1 -1
- package/dist/ionic/{p-f1daa176.entry.js → p-9e66b84e.entry.js} +1 -1
- package/dist/ionic/{p-4bba20da.entry.js → p-9eb085d3.entry.js} +1 -1
- package/dist/ionic/{p-978deeb5.entry.js → p-9fbfbaef.entry.js} +1 -1
- package/dist/ionic/{p-1f8e1929.system.entry.js → p-9fdb1942.system.entry.js} +1 -1
- package/dist/ionic/{p-6bd4492c.system.js → p-a04ecf1a.system.js} +1 -1
- package/dist/ionic/{p-cad68eca.system.entry.js → p-a258956b.system.entry.js} +1 -1
- package/dist/ionic/{p-fa6e566d.entry.js → p-a79c1471.entry.js} +1 -1
- package/dist/ionic/p-a875459d.system.js +4 -0
- package/dist/ionic/{p-859d74d5.entry.js → p-a8c3c9d7.entry.js} +1 -1
- package/dist/ionic/{p-5772a3f2.entry.js → p-a995f103.entry.js} +1 -1
- package/dist/ionic/{p-0a5d04a9.system.entry.js → p-aa0d4e1d.system.entry.js} +1 -1
- package/dist/ionic/{p-5f1f7b4b.entry.js → p-ad60590b.entry.js} +1 -1
- package/dist/ionic/{p-ed009d87.entry.js → p-b3623a7a.entry.js} +1 -1
- package/dist/ionic/{p-901f55f0.entry.js → p-b8f79d94.entry.js} +1 -1
- package/dist/ionic/p-bb5bbcdf.js +4 -0
- package/dist/ionic/{p-a91da641.system.entry.js → p-bb732fc5.system.entry.js} +1 -1
- package/dist/ionic/{p-bbdabfe2.entry.js → p-bba6295f.entry.js} +1 -1
- package/dist/ionic/{p-e070ac08.entry.js → p-be403dff.entry.js} +1 -1
- package/dist/ionic/{p-9e47fa2b.entry.js → p-bf1d7fb7.entry.js} +1 -1
- package/dist/ionic/{p-475d3ec9.system.entry.js → p-c12ba45a.system.entry.js} +1 -1
- package/dist/ionic/{p-f414cdd1.system.entry.js → p-c37c6e02.system.entry.js} +1 -1
- package/dist/ionic/{p-a423cc03.entry.js → p-c52eaf99.entry.js} +1 -1
- package/dist/ionic/{p-9c7d36c2.system.entry.js → p-c89f8a0f.system.entry.js} +1 -1
- package/dist/ionic/{p-09e6390b.system.entry.js → p-ce14e639.system.entry.js} +1 -1
- package/dist/ionic/{p-213ed770.entry.js → p-d42e9dd3.entry.js} +1 -1
- package/dist/ionic/{p-27547811.entry.js → p-d4918a1c.entry.js} +1 -1
- package/dist/ionic/{p-0d6f7a8d.js → p-d68ecea4.js} +1 -1
- package/dist/ionic/{p-a8a7559f.system.entry.js → p-d979d307.system.entry.js} +2 -2
- package/dist/ionic/p-da4e89b0.system.entry.js +4 -0
- package/dist/ionic/{p-347df354.system.entry.js → p-db82f522.system.entry.js} +1 -1
- package/dist/ionic/{p-fb1c7d14.entry.js → p-dbabce3e.entry.js} +1 -1
- package/dist/ionic/{p-5dc045c4.system.entry.js → p-dc93d7a5.system.entry.js} +2 -2
- package/dist/ionic/p-de6623db.system.js +4 -0
- package/dist/ionic/{p-a6f245a3.entry.js → p-dec423a3.entry.js} +1 -1
- package/dist/ionic/{p-3c7a1de4.system.entry.js → p-e06d65b3.system.entry.js} +1 -1
- package/dist/ionic/{p-9377ed64.system.js → p-e34eefb5.system.js} +1 -1
- package/dist/ionic/{p-f0a3c05c.system.js → p-e933e886.system.js} +1 -1
- package/dist/ionic/p-ead0d463.js +5 -0
- package/dist/ionic/{p-4e12129a.system.entry.js → p-ede01836.system.entry.js} +2 -2
- package/dist/ionic/{p-2389b3f9.js → p-efef9f3a.js} +1 -1
- package/dist/ionic/p-f3d07c09.system.entry.js +4 -0
- package/dist/ionic/{p-99d12446.system.entry.js → p-f52f47f6.system.entry.js} +1 -1
- package/dist/ionic/{p-34474b14.system.js → p-f549716b.system.js} +1 -1
- package/dist/ionic/{p-2682335f.entry.js → p-f9d9b0ab.entry.js} +1 -1
- package/dist/ionic/{p-dba4d4d3.system.entry.js → p-fa1bd328.system.entry.js} +1 -1
- package/dist/ionic/{p-e723ba57.system.entry.js → p-febc627c.system.entry.js} +1 -1
- package/hydrate/index.js +152 -98
- package/package.json +1 -1
- package/dist/esm-es5/app-globals-ffe436be.js +0 -4
- package/dist/esm-es5/index-73fa3fe8.js +0 -5
- package/dist/esm-es5/ios.transition-1e29344b.js +0 -4
- package/dist/ionic/p-0c6c8ee3.entry.js +0 -4
- package/dist/ionic/p-332c71da.system.js +0 -5
- package/dist/ionic/p-47bf8d13.js +0 -4
- package/dist/ionic/p-49f4eca2.js +0 -4
- package/dist/ionic/p-5f06ce0e.system.entry.js +0 -4
- package/dist/ionic/p-7a7015a5.system.js +0 -4
- package/dist/ionic/p-7f524a94.system.entry.js +0 -4
- package/dist/ionic/p-ba5911d9.js +0 -4
- package/dist/ionic/p-c96c06b2.js +0 -4
- package/dist/ionic/p-c9efc963.system.js +0 -4
- package/dist/ionic/p-d5539f7e.js +0 -4
- package/dist/ionic/p-f0d5d883.system.js +0 -4
- package/dist/ionic/p-f419feca.js +0 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{r as n,h as o,H as t,f as i}from"./p-f419feca.js";import{i as e}from"./p-1b3ffb2f.js";import{o as a,c as r,h as d}from"./p-47794def.js";import{c as s,a as c}from"./p-831269de.js";import{c as l,b as p}from"./p-2389b3f9.js";const g=class{constructor(o){n(this,o),this.inheritedAttributes={},this.onClick=async n=>{const o=this.el.closest("ion-nav");return n.preventDefault(),o&&await o.canGoBack()?o.pop({animationBuilder:this.routerAnimation,skipIfBusy:!0}):a(this.defaultHref,n,"back",this.routerAnimation)},this.color=void 0,this.defaultHref=void 0,this.disabled=!1,this.icon=void 0,this.text=void 0,this.type="button",this.routerAnimation=void 0}componentWillLoad(){this.inheritedAttributes=e(this.el),void 0===this.defaultHref&&(this.defaultHref=l.get("backButtonDefaultHref"))}get backButtonIcon(){const n=this.icon;return null!=n?n:"ios"===p(this)?l.get("backButtonIcon",s):l.get("backButtonIcon",c)}get backButtonText(){const n="ios"===p(this)?"Back":null;return null!=this.text?this.text:l.get("backButtonText",n)}get hasIconOnly(){return this.backButtonIcon&&!this.backButtonText}get rippleType(){return this.hasIconOnly?"unbounded":"bounded"}render(){const{color:n,defaultHref:i,disabled:e,type:a,hasIconOnly:s,backButtonIcon:c,backButtonText:l,icon:g,inheritedAttributes:b}=this,h=void 0!==i,v=p(this),m=b["aria-label"]||l||"back";return o(t,{key:"175fff2d7a41d2deaaf7b781c5ba2aac9311ebf4",onClick:this.onClick,class:r(n,{[v]:!0,button:!0,"back-button-disabled":e,"back-button-has-icon-only":s,"in-toolbar":d("ion-toolbar",this.el),"in-toolbar-color":d("ion-toolbar[color]",this.el),"ion-activatable":!0,"ion-focusable":!0,"show-back-button":h})},o("button",{key:"59fe30c167ea82e2431e45d46060a01bcb2aea77",type:a,disabled:e,class:"button-native",part:"native","aria-label":m},o("span",{key:"3d704fb7ef001446361e7a09d43763a771b242b9",class:"button-inner"},c&&o("ion-icon",{part:"icon",icon:c,"aria-hidden":"true",lazy:!1,"flip-rtl":void 0===g}),l&&o("span",{part:"text","aria-hidden":"true",class:"button-text"},l)),"md"===v&&o("ion-ripple-effect",{type:this.rippleType})))}get el(){return i(this)}};g.style={ios:':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-hover:transparent;--background-hover-opacity:1;--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #3880ff);--icon-margin-end:1px;--icon-margin-start:-4px;--icon-font-size:1.6em;--min-height:32px;font-size:clamp(17px, 1.0625rem, 21.998px)}.button-native{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:visible;z-index:99}:host(.ion-activated) .button-native{opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}',md:':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--border-radius:4px;--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:0.04;--color:currentColor;--icon-margin-end:0;--icon-margin-start:0;--icon-font-size:1.5rem;--icon-font-weight:normal;--min-height:32px;--min-width:44px;--padding-start:12px;--padding-end:12px;font-size:0.875rem;font-weight:500;text-transform:uppercase}:host(.back-button-has-icon-only){--border-radius:50%;min-width:48px;min-height:48px;aspect-ratio:1/1}.button-native{-webkit-box-shadow:none;box-shadow:none}.button-text{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:0;padding-bottom:0}ion-icon{line-height:0.67;text-align:start}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}'};export{g as ion_back_button}
|
|
4
|
+
import{r as n,h as o,H as t,f as i}from"./p-ead0d463.js";import{i as e}from"./p-1b3ffb2f.js";import{o as a,c as r,h as d}from"./p-47794def.js";import{c as s,a as c}from"./p-831269de.js";import{c as l,b as p}from"./p-efef9f3a.js";const g=class{constructor(o){n(this,o),this.inheritedAttributes={},this.onClick=async n=>{const o=this.el.closest("ion-nav");return n.preventDefault(),o&&await o.canGoBack()?o.pop({animationBuilder:this.routerAnimation,skipIfBusy:!0}):a(this.defaultHref,n,"back",this.routerAnimation)},this.color=void 0,this.defaultHref=void 0,this.disabled=!1,this.icon=void 0,this.text=void 0,this.type="button",this.routerAnimation=void 0}componentWillLoad(){this.inheritedAttributes=e(this.el),void 0===this.defaultHref&&(this.defaultHref=l.get("backButtonDefaultHref"))}get backButtonIcon(){const n=this.icon;return null!=n?n:"ios"===p(this)?l.get("backButtonIcon",s):l.get("backButtonIcon",c)}get backButtonText(){const n="ios"===p(this)?"Back":null;return null!=this.text?this.text:l.get("backButtonText",n)}get hasIconOnly(){return this.backButtonIcon&&!this.backButtonText}get rippleType(){return this.hasIconOnly?"unbounded":"bounded"}render(){const{color:n,defaultHref:i,disabled:e,type:a,hasIconOnly:s,backButtonIcon:c,backButtonText:l,icon:g,inheritedAttributes:b}=this,h=void 0!==i,v=p(this),m=b["aria-label"]||l||"back";return o(t,{key:"175fff2d7a41d2deaaf7b781c5ba2aac9311ebf4",onClick:this.onClick,class:r(n,{[v]:!0,button:!0,"back-button-disabled":e,"back-button-has-icon-only":s,"in-toolbar":d("ion-toolbar",this.el),"in-toolbar-color":d("ion-toolbar[color]",this.el),"ion-activatable":!0,"ion-focusable":!0,"show-back-button":h})},o("button",{key:"59fe30c167ea82e2431e45d46060a01bcb2aea77",type:a,disabled:e,class:"button-native",part:"native","aria-label":m},o("span",{key:"3d704fb7ef001446361e7a09d43763a771b242b9",class:"button-inner"},c&&o("ion-icon",{part:"icon",icon:c,"aria-hidden":"true",lazy:!1,"flip-rtl":void 0===g}),l&&o("span",{part:"text","aria-hidden":"true",class:"button-text"},l)),"md"===v&&o("ion-ripple-effect",{type:this.rippleType})))}get el(){return i(this)}};g.style={ios:':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-hover:transparent;--background-hover-opacity:1;--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #3880ff);--icon-margin-end:1px;--icon-margin-start:-4px;--icon-font-size:1.6em;--min-height:32px;font-size:clamp(17px, 1.0625rem, 21.998px)}.button-native{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:visible;z-index:99}:host(.ion-activated) .button-native{opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}',md:':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--border-radius:4px;--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:0.04;--color:currentColor;--icon-margin-end:0;--icon-margin-start:0;--icon-font-size:1.5rem;--icon-font-weight:normal;--min-height:32px;--min-width:44px;--padding-start:12px;--padding-end:12px;font-size:0.875rem;font-weight:500;text-transform:uppercase}:host(.back-button-has-icon-only){--border-radius:50%;min-width:48px;min-height:48px;aspect-ratio:1/1}.button-native{-webkit-box-shadow:none;box-shadow:none}.button-text{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:0;padding-bottom:0}ion-icon{line-height:0.67;text-align:start}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}'};export{g as ion_back_button}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
System.register(["./p-
|
|
4
|
+
System.register(["./p-2c1408df.system.js","./p-4609d030.system.js","./p-638865d1.system.js","./p-d8d84afa.system.js"],(function(e){"use strict";var r,n,s,t,i,a,o;return{setters:[function(e){r=e.r;n=e.h;s=e.H},function(e){t=e.c},function(e){i=e.c;a=e.b},function(e){o=e.S}],execute:function(){var l=":host{display:inline-block;position:relative;width:28px;height:28px;color:var(--color);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.ion-color){color:var(--ion-color-base)}svg{-webkit-transform-origin:center;transform-origin:center;position:absolute;top:0;left:0;width:100%;height:100%;-webkit-transform:translateZ(0);transform:translateZ(0)}:host-context([dir=rtl]) svg{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}[dir=rtl] svg{-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}@supports selector(:dir(rtl)){svg:dir(rtl){-webkit-transform-origin:calc(100% - center);transform-origin:calc(100% - center)}}:host(.spinner-lines) line,:host(.spinner-lines-small) line{stroke-width:7px}:host(.spinner-lines-sharp) line,:host(.spinner-lines-sharp-small) line{stroke-width:4px}:host(.spinner-lines) line,:host(.spinner-lines-small) line,:host(.spinner-lines-sharp) line,:host(.spinner-lines-sharp-small) line{stroke-linecap:round;stroke:currentColor}:host(.spinner-lines) svg,:host(.spinner-lines-small) svg,:host(.spinner-lines-sharp) svg,:host(.spinner-lines-sharp-small) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite}:host(.spinner-bubbles) svg{-webkit-animation:spinner-scale-out 1s linear infinite;animation:spinner-scale-out 1s linear infinite;fill:currentColor}:host(.spinner-circles) svg{-webkit-animation:spinner-fade-out 1s linear infinite;animation:spinner-fade-out 1s linear infinite;fill:currentColor}:host(.spinner-crescent) circle{fill:transparent;stroke-width:4px;stroke-dasharray:128px;stroke-dashoffset:82px;stroke:currentColor}:host(.spinner-crescent) svg{-webkit-animation:spinner-rotate 1s linear infinite;animation:spinner-rotate 1s linear infinite}:host(.spinner-dots) circle{stroke-width:0;fill:currentColor}:host(.spinner-dots) svg{-webkit-animation:spinner-dots 1s linear infinite;animation:spinner-dots 1s linear infinite}:host(.spinner-circular) svg{-webkit-animation:spinner-circular linear infinite;animation:spinner-circular linear infinite}:host(.spinner-circular) circle{-webkit-animation:spinner-circular-inner ease-in-out infinite;animation:spinner-circular-inner ease-in-out infinite;stroke:currentColor;stroke-dasharray:80px, 200px;stroke-dashoffset:0px;stroke-width:5.6;fill:none}:host(.spinner-paused),:host(.spinner-paused) svg,:host(.spinner-paused) circle{-webkit-animation-play-state:paused;animation-play-state:paused}@-webkit-keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@keyframes spinner-fade-out{0%{opacity:1}100%{opacity:0}}@-webkit-keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@keyframes spinner-scale-out{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1)}100%{-webkit-transform:scale(0, 0);transform:scale(0, 0)}}@-webkit-keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-rotate{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@keyframes spinner-dots{0%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}50%{-webkit-transform:scale(0.4, 0.4);transform:scale(0.4, 0.4);opacity:0.3}100%{-webkit-transform:scale(1, 1);transform:scale(1, 1);opacity:0.9}}@-webkit-keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes spinner-circular{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}@keyframes spinner-circular-inner{0%{stroke-dasharray:1px, 200px;stroke-dashoffset:0px}50%{stroke-dasharray:100px, 200px;stroke-dashoffset:-15px}100%{stroke-dasharray:100px, 200px;stroke-dashoffset:-125px}}";var c=l;var f=e("ion_spinner",function(){function e(e){r(this,e);this.color=undefined;this.duration=undefined;this.name=undefined;this.paused=false}e.prototype.getName=function(){var e=this.name||i.get("spinner");var r=a(this);if(e){return e}return r==="ios"?"lines":"circular"};e.prototype.render=function(){var e;var r;var l=this;var c=a(l);var f=l.getName();var d=(r=o[f])!==null&&r!==void 0?r:o["lines"];var k=typeof l.duration==="number"&&l.duration>10?l.duration:d.dur;var u=[];if(d.circles!==undefined){for(var h=0;h<d.circles;h++){u.push(p(d,k,h,d.circles))}}else if(d.lines!==undefined){for(var h=0;h<d.lines;h++){u.push(m(d,k,h,d.lines))}}return n(s,{key:"cfd0e19ebf41412300d1ba80721c12b4b8d32263",class:t(l.color,(e={},e[c]=true,e["spinner-".concat(f)]=true,e["spinner-paused"]=l.paused||i.getBoolean("_testing"),e)),role:"progressbar",style:d.elmDuration?{animationDuration:k+"ms"}:{}},u)};return e}());var p=function(e,r,s,t){var i=e.fn(r,s,t);i.style["animation-duration"]=r+"ms";return n("svg",{viewBox:i.viewBox||"0 0 64 64",style:i.style},n("circle",{transform:i.transform||"translate(32,32)",cx:i.cx,cy:i.cy,r:i.r,style:e.elmDuration?{animationDuration:r+"ms"}:{}}))};var m=function(e,r,s,t){var i=e.fn(r,s,t);i.style["animation-duration"]=r+"ms";return n("svg",{viewBox:i.viewBox||"0 0 64 64",style:i.style},n("line",{transform:"translate(32,32)",y1:i.y1,y2:i.y2}))};f.style=c}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
var __awaiter=this&&this.__awaiter||function(n,t,o,i){function e(n){return n instanceof o?n:new o((function(t){t(n)}))}return new(o||(o=Promise))((function(o,r){function a(n){try{d(i.next(n))}catch(n){r(n)}}function c(n){try{d(i["throw"](n))}catch(n){r(n)}}function d(n){n.done?o(n.value):e(n.value).then(a,c)}d((i=i.apply(n,t||[])).next())}))};var __generator=this&&this.__generator||function(n,t){var o={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,e,r,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(n){return function(t){return d([n,t])}}function d(c){if(i)throw new TypeError("Generator is already executing.");while(a&&(a=0,c[0]&&(o=0)),o)try{if(i=1,e&&(r=c[0]&2?e["return"]:c[0]?e["throw"]||((r=e["return"])&&r.call(e),0):e.next)&&!(r=r.call(e,c[1])).done)return r;if(e=0,r)c=[c[0]&2,r.value];switch(c[0]){case 0:case 1:r=c;break;case 4:o.label++;return{value:c[1],done:false};case 5:o.label++;e=c[1];c=[0];continue;case 7:c=o.ops.pop();o.trys.pop();continue;default:if(!(r=o.trys,r=r.length>0&&r[r.length-1])&&(c[0]===6||c[0]===2)){o=0;continue}if(c[0]===3&&(!r||c[1]>r[0]&&c[1]<r[3])){o.label=c[1];break}if(c[0]===6&&o.label<r[1]){o.label=r[1];r=c;break}if(r&&o.label<r[2]){o.label=r[2];o.ops.push(c);break}if(r[2])o.ops.pop();o.trys.pop();continue}c=t.call(n,o)}catch(n){c=[6,n];e=0}finally{i=r=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:true}}};
|
|
2
2
|
/*!
|
|
3
3
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/System.register(["./p-332c71da.system.js","./p-5fc8d5ef.system.js","./p-4609d030.system.js","./p-dfb6de03.system.js","./p-ca86ce8b.system.js"],(function(n){"use strict";var t,o,i,e,r,a,c,d,s,l,u,p;return{setters:[function(n){t=n.r;o=n.h;i=n.H;e=n.f},function(n){r=n.i},function(n){a=n.o;c=n.c;d=n.h},function(n){s=n.c;l=n.a},function(n){u=n.c;p=n.b}],execute:function(){var g=':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-hover:transparent;--background-hover-opacity:1;--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #3880ff);--icon-margin-end:1px;--icon-margin-start:-4px;--icon-font-size:1.6em;--min-height:32px;font-size:clamp(17px, 1.0625rem, 21.998px)}.button-native{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:visible;z-index:99}:host(.ion-activated) .button-native{opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}';var h=g;var b=':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--border-radius:4px;--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:0.04;--color:currentColor;--icon-margin-end:0;--icon-margin-start:0;--icon-font-size:1.5rem;--icon-font-weight:normal;--min-height:32px;--min-width:44px;--padding-start:12px;--padding-end:12px;font-size:0.875rem;font-weight:500;text-transform:uppercase}:host(.back-button-has-icon-only){--border-radius:50%;min-width:48px;min-height:48px;aspect-ratio:1/1}.button-native{-webkit-box-shadow:none;box-shadow:none}.button-text{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:0;padding-bottom:0}ion-icon{line-height:0.67;text-align:start}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}';var f=b;var v=n("ion_back_button",function(){function n(n){var o=this;t(this,n);this.inheritedAttributes={};this.onClick=function(n){return __awaiter(o,void 0,void 0,(function(){var t,o;return __generator(this,(function(i){switch(i.label){case 0:t=this.el.closest("ion-nav");n.preventDefault();o=t;if(!o)return[3,2];return[4,t.canGoBack()];case 1:o=i.sent();i.label=2;case 2:if(o){return[2,t.pop({animationBuilder:this.routerAnimation,skipIfBusy:true})]}return[2,a(this.defaultHref,n,"back",this.routerAnimation)]}}))}))};this.color=undefined;this.defaultHref=undefined;this.disabled=false;this.icon=undefined;this.text=undefined;this.type="button";this.routerAnimation=undefined}n.prototype.componentWillLoad=function(){this.inheritedAttributes=r(this.el);if(this.defaultHref===undefined){this.defaultHref=u.get("backButtonDefaultHref")}};Object.defineProperty(n.prototype,"backButtonIcon",{get:function(){var n=this.icon;if(n!=null){return n}if(p(this)==="ios"){return u.get("backButtonIcon",s)}return u.get("backButtonIcon",l)},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"backButtonText",{get:function(){var n=p(this)==="ios"?"Back":null;return this.text!=null?this.text:u.get("backButtonText",n)},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"hasIconOnly",{get:function(){return this.backButtonIcon&&!this.backButtonText},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"rippleType",{get:function(){if(this.hasIconOnly){return"unbounded"}return"bounded"},enumerable:false,configurable:true});n.prototype.render=function(){var n;var t=this,e=t.color,r=t.defaultHref,a=t.disabled,s=t.type,l=t.hasIconOnly,u=t.backButtonIcon,g=t.backButtonText,h=t.icon,b=t.inheritedAttributes;var f=r!==undefined;var v=p(this);var m=b["aria-label"]||g||"back";return o(i,{key:"175fff2d7a41d2deaaf7b781c5ba2aac9311ebf4",onClick:this.onClick,class:c(e,(n={},n[v]=true,n.button=true,n["back-button-disabled"]=a,n["back-button-has-icon-only"]=l,n["in-toolbar"]=d("ion-toolbar",this.el),n["in-toolbar-color"]=d("ion-toolbar[color]",this.el),n["ion-activatable"]=true,n["ion-focusable"]=true,n["show-back-button"]=f,n))},o("button",{key:"59fe30c167ea82e2431e45d46060a01bcb2aea77",type:s,disabled:a,class:"button-native",part:"native","aria-label":m},o("span",{key:"3d704fb7ef001446361e7a09d43763a771b242b9",class:"button-inner"},u&&o("ion-icon",{part:"icon",icon:u,"aria-hidden":"true",lazy:false,"flip-rtl":h===undefined}),g&&o("span",{part:"text","aria-hidden":"true",class:"button-text"},g)),v==="md"&&o("ion-ripple-effect",{type:this.rippleType})))};Object.defineProperty(n.prototype,"el",{get:function(){return e(this)},enumerable:false,configurable:true});return n}());v.style={ios:h,md:f}}}}));
|
|
4
|
+
*/System.register(["./p-2c1408df.system.js","./p-5fc8d5ef.system.js","./p-4609d030.system.js","./p-dfb6de03.system.js","./p-638865d1.system.js"],(function(n){"use strict";var t,o,i,e,r,a,c,d,s,l,u,p;return{setters:[function(n){t=n.r;o=n.h;i=n.H;e=n.f},function(n){r=n.i},function(n){a=n.o;c=n.c;d=n.h},function(n){s=n.c;l=n.a},function(n){u=n.c;p=n.b}],execute:function(){var g=':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-hover:transparent;--background-hover-opacity:1;--background-focused:currentColor;--background-focused-opacity:.1;--border-radius:4px;--color:var(--ion-color-primary, #3880ff);--icon-margin-end:1px;--icon-margin-start:-4px;--icon-font-size:1.6em;--min-height:32px;font-size:clamp(17px, 1.0625rem, 21.998px)}.button-native{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:visible;z-index:99}:host(.ion-activated) .button-native{opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}';var h=g;var b=':host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--border-radius:4px;--background-focused:currentColor;--background-focused-opacity:.12;--background-hover:currentColor;--background-hover-opacity:0.04;--color:currentColor;--icon-margin-end:0;--icon-margin-start:0;--icon-font-size:1.5rem;--icon-font-weight:normal;--min-height:32px;--min-width:44px;--padding-start:12px;--padding-end:12px;font-size:0.875rem;font-weight:500;text-transform:uppercase}:host(.back-button-has-icon-only){--border-radius:50%;min-width:48px;min-height:48px;aspect-ratio:1/1}.button-native{-webkit-box-shadow:none;box-shadow:none}.button-text{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:0;padding-bottom:0}ion-icon{line-height:0.67;text-align:start}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}';var f=b;var v=n("ion_back_button",function(){function n(n){var o=this;t(this,n);this.inheritedAttributes={};this.onClick=function(n){return __awaiter(o,void 0,void 0,(function(){var t,o;return __generator(this,(function(i){switch(i.label){case 0:t=this.el.closest("ion-nav");n.preventDefault();o=t;if(!o)return[3,2];return[4,t.canGoBack()];case 1:o=i.sent();i.label=2;case 2:if(o){return[2,t.pop({animationBuilder:this.routerAnimation,skipIfBusy:true})]}return[2,a(this.defaultHref,n,"back",this.routerAnimation)]}}))}))};this.color=undefined;this.defaultHref=undefined;this.disabled=false;this.icon=undefined;this.text=undefined;this.type="button";this.routerAnimation=undefined}n.prototype.componentWillLoad=function(){this.inheritedAttributes=r(this.el);if(this.defaultHref===undefined){this.defaultHref=u.get("backButtonDefaultHref")}};Object.defineProperty(n.prototype,"backButtonIcon",{get:function(){var n=this.icon;if(n!=null){return n}if(p(this)==="ios"){return u.get("backButtonIcon",s)}return u.get("backButtonIcon",l)},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"backButtonText",{get:function(){var n=p(this)==="ios"?"Back":null;return this.text!=null?this.text:u.get("backButtonText",n)},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"hasIconOnly",{get:function(){return this.backButtonIcon&&!this.backButtonText},enumerable:false,configurable:true});Object.defineProperty(n.prototype,"rippleType",{get:function(){if(this.hasIconOnly){return"unbounded"}return"bounded"},enumerable:false,configurable:true});n.prototype.render=function(){var n;var t=this,e=t.color,r=t.defaultHref,a=t.disabled,s=t.type,l=t.hasIconOnly,u=t.backButtonIcon,g=t.backButtonText,h=t.icon,b=t.inheritedAttributes;var f=r!==undefined;var v=p(this);var m=b["aria-label"]||g||"back";return o(i,{key:"175fff2d7a41d2deaaf7b781c5ba2aac9311ebf4",onClick:this.onClick,class:c(e,(n={},n[v]=true,n.button=true,n["back-button-disabled"]=a,n["back-button-has-icon-only"]=l,n["in-toolbar"]=d("ion-toolbar",this.el),n["in-toolbar-color"]=d("ion-toolbar[color]",this.el),n["ion-activatable"]=true,n["ion-focusable"]=true,n["show-back-button"]=f,n))},o("button",{key:"59fe30c167ea82e2431e45d46060a01bcb2aea77",type:s,disabled:a,class:"button-native",part:"native","aria-label":m},o("span",{key:"3d704fb7ef001446361e7a09d43763a771b242b9",class:"button-inner"},u&&o("ion-icon",{part:"icon",icon:u,"aria-hidden":"true",lazy:false,"flip-rtl":h===undefined}),g&&o("span",{part:"text","aria-hidden":"true",class:"button-text"},g)),v==="md"&&o("ion-ripple-effect",{type:this.rippleType})))};Object.defineProperty(n.prototype,"el",{get:function(){return e(this)},enumerable:false,configurable:true});return n}());v.style={ios:h,md:f}}}}));
|
package/hydrate/index.js
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
/*!
|
|
9
|
-
Stencil Mock Doc v4.14.
|
|
9
|
+
Stencil Mock Doc v4.14.1 | MIT Licensed | https://stenciljs.com
|
|
10
10
|
*/
|
|
11
11
|
const CONTENT_REF_ID = 'r';
|
|
12
12
|
const ORG_LOCATION_ID = 'o';
|
|
@@ -7046,6 +7046,10 @@ function queryNonceMetaTagContent(e) {
|
|
|
7046
7046
|
return null !== (n = null === (o = null === (t = e.head) || void 0 === t ? void 0 : t.querySelector('meta[name="csp-nonce"]')) || void 0 === o ? void 0 : o.getAttribute("content")) && void 0 !== n ? n : void 0;
|
|
7047
7047
|
}
|
|
7048
7048
|
|
|
7049
|
+
function sortedAttrNames(e) {
|
|
7050
|
+
return e.includes("ref") ? [ ...e.filter((e => "ref" !== e)), "ref" ] : e;
|
|
7051
|
+
}
|
|
7052
|
+
|
|
7049
7053
|
function componentOnReady$1() {
|
|
7050
7054
|
return getHostRef(this).$onReadyPromise$;
|
|
7051
7055
|
}
|
|
@@ -7396,8 +7400,8 @@ const createTime = (e, t = "") => {
|
|
|
7396
7400
|
}
|
|
7397
7401
|
}, parseClassListRegex = /\s/, parseClassList = e => e ? e.split(parseClassListRegex) : [], CAPTURE_EVENT_SUFFIX = "Capture", CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$"), updateElement = (e, t, o, n) => {
|
|
7398
7402
|
const s = 11 === t.$elm$.nodeType && t.$elm$.host ? t.$elm$.host : t.$elm$, l = e && e.$attrs$ || EMPTY_OBJ, a = t.$attrs$ || EMPTY_OBJ;
|
|
7399
|
-
for (n
|
|
7400
|
-
for (n
|
|
7403
|
+
for (n of sortedAttrNames(Object.keys(l))) n in a || setAccessor(s, n, l[n], void 0, o, t.$flags$);
|
|
7404
|
+
for (n of sortedAttrNames(Object.keys(a))) setAccessor(s, n, l[n], a[n], o, t.$flags$);
|
|
7401
7405
|
};
|
|
7402
7406
|
|
|
7403
7407
|
let scopeId, contentRef, hostTagName, useNativeShadowDom = !1, checkSlotFallbackVisibility = !1, checkSlotRelocate = !1, isSvgMode = !1;
|
|
@@ -7539,9 +7543,12 @@ const createElm = (e, t, o, n) => {
|
|
|
7539
7543
|
let l = null === (n = t["s-ol"]) || void 0 === n ? void 0 : n.previousSibling;
|
|
7540
7544
|
for (;l; ) {
|
|
7541
7545
|
let n = null !== (s = l["s-nr"]) && void 0 !== s ? s : null;
|
|
7542
|
-
if (n && n["s-sn"] === t["s-sn"] && e === n.parentNode
|
|
7543
|
-
|
|
7544
|
-
|
|
7546
|
+
if (n && n["s-sn"] === t["s-sn"] && e === n.parentNode) {
|
|
7547
|
+
for (n = n.nextSibling; n === t || (null == n ? void 0 : n["s-sr"]); ) n = null == n ? void 0 : n.nextSibling;
|
|
7548
|
+
if (!n || !n["s-nr"]) {
|
|
7549
|
+
o = n;
|
|
7550
|
+
break;
|
|
7551
|
+
}
|
|
7545
7552
|
}
|
|
7546
7553
|
l = l.previousSibling;
|
|
7547
7554
|
}
|
|
@@ -25060,19 +25067,32 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
25060
25067
|
}
|
|
25061
25068
|
const canStart = (detail) => {
|
|
25062
25069
|
/**
|
|
25063
|
-
* If the
|
|
25064
|
-
*
|
|
25065
|
-
*
|
|
25066
|
-
*
|
|
25070
|
+
* If we are swiping on the content, swiping should only be possible if the content
|
|
25071
|
+
* is scrolled all the way to the top so that we do not interfere with scrolling.
|
|
25072
|
+
*
|
|
25073
|
+
* We cannot assume that the `ion-content` target will remain consistent between swipes.
|
|
25074
|
+
* For example, when using ion-nav within a modal it is possible to swipe, push a view,
|
|
25075
|
+
* and then swipe again. The target content will not be the same between swipes.
|
|
25067
25076
|
*/
|
|
25068
|
-
const
|
|
25077
|
+
const contentEl = findClosestIonContent(detail.event.target);
|
|
25069
25078
|
currentBreakpoint = getCurrentBreakpoint();
|
|
25070
|
-
if (currentBreakpoint === 1 &&
|
|
25071
|
-
|
|
25079
|
+
if (currentBreakpoint === 1 && contentEl) {
|
|
25080
|
+
/**
|
|
25081
|
+
* The modal should never swipe to close on the content with a refresher.
|
|
25082
|
+
* Note 1: We cannot solve this by making this gesture have a higher priority than
|
|
25083
|
+
* the refresher gesture as the iOS native refresh gesture uses a scroll listener in
|
|
25084
|
+
* addition to a gesture.
|
|
25085
|
+
*
|
|
25086
|
+
* Note 2: Do not use getScrollElement here because we need this to be a synchronous
|
|
25087
|
+
* operation, and getScrollElement is asynchronous.
|
|
25088
|
+
*/
|
|
25089
|
+
const scrollEl = isIonContent(contentEl) ? getElementRoot(contentEl).querySelector('.inner-scroll') : contentEl;
|
|
25090
|
+
const hasRefresherInContent = !!contentEl.querySelector('ion-refresher');
|
|
25091
|
+
return !hasRefresherInContent && scrollEl.scrollTop === 0;
|
|
25072
25092
|
}
|
|
25073
25093
|
return true;
|
|
25074
25094
|
};
|
|
25075
|
-
const onStart = () => {
|
|
25095
|
+
const onStart = (detail) => {
|
|
25076
25096
|
/**
|
|
25077
25097
|
* If canDismiss is anything other than `true`
|
|
25078
25098
|
* then users should be able to swipe down
|
|
@@ -25087,11 +25107,10 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
25087
25107
|
*/
|
|
25088
25108
|
canDismissBlocksGesture = baseEl.canDismiss !== undefined && baseEl.canDismiss !== true && minBreakpoint === 0;
|
|
25089
25109
|
/**
|
|
25090
|
-
* If
|
|
25091
|
-
*
|
|
25092
|
-
* the sheet will expand and the content will scroll.
|
|
25110
|
+
* If we are pulling down, then it is possible we are pulling on the content.
|
|
25111
|
+
* We do not want scrolling to happen at the same time as the gesture.
|
|
25093
25112
|
*/
|
|
25094
|
-
if (contentEl) {
|
|
25113
|
+
if (detail.deltaY > 0 && contentEl) {
|
|
25095
25114
|
contentEl.scrollY = false;
|
|
25096
25115
|
}
|
|
25097
25116
|
raf(() => {
|
|
@@ -25104,6 +25123,15 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
25104
25123
|
animation.progressStart(true, 1 - currentBreakpoint);
|
|
25105
25124
|
};
|
|
25106
25125
|
const onMove = (detail) => {
|
|
25126
|
+
/**
|
|
25127
|
+
* If we are pulling down, then it is possible we are pulling on the content.
|
|
25128
|
+
* We do not want scrolling to happen at the same time as the gesture.
|
|
25129
|
+
* This accounts for when the user scrolls down, scrolls all the way up, and then
|
|
25130
|
+
* pulls down again such that the modal should start to move.
|
|
25131
|
+
*/
|
|
25132
|
+
if (detail.deltaY > 0 && contentEl) {
|
|
25133
|
+
contentEl.scrollY = false;
|
|
25134
|
+
}
|
|
25107
25135
|
/**
|
|
25108
25136
|
* Given the change in gesture position on the Y axis,
|
|
25109
25137
|
* compute where the offset of the animation should be
|
|
@@ -25206,6 +25234,16 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
25206
25234
|
else if (!shouldRemainOpen) {
|
|
25207
25235
|
onDismiss();
|
|
25208
25236
|
}
|
|
25237
|
+
/**
|
|
25238
|
+
* If the sheet is going to be fully expanded then we should enable
|
|
25239
|
+
* scrolling immediately. The sheet modal animation takes ~500ms to finish
|
|
25240
|
+
* so if we wait until then there is a visible delay for when scrolling is
|
|
25241
|
+
* re-enabled. Native iOS allows for scrolling on the sheet modal as soon
|
|
25242
|
+
* as the gesture is released, so we align with that.
|
|
25243
|
+
*/
|
|
25244
|
+
if (contentEl && snapToBreakpoint === breakpoints[breakpoints.length - 1]) {
|
|
25245
|
+
contentEl.scrollY = true;
|
|
25246
|
+
}
|
|
25209
25247
|
return new Promise((resolve) => {
|
|
25210
25248
|
animation
|
|
25211
25249
|
.onFinish(() => {
|
|
@@ -25224,13 +25262,6 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
25224
25262
|
animation.progressStart(true, 1 - snapToBreakpoint);
|
|
25225
25263
|
currentBreakpoint = snapToBreakpoint;
|
|
25226
25264
|
onBreakpointChange(currentBreakpoint);
|
|
25227
|
-
/**
|
|
25228
|
-
* If the sheet is fully expanded, we can safely
|
|
25229
|
-
* enable scrolling again.
|
|
25230
|
-
*/
|
|
25231
|
-
if (contentEl && currentBreakpoint === breakpoints[breakpoints.length - 1]) {
|
|
25232
|
-
contentEl.scrollY = true;
|
|
25233
|
-
}
|
|
25234
25265
|
/**
|
|
25235
25266
|
* Backdrop should become enabled
|
|
25236
25267
|
* after the backdropBreakpoint value
|
|
@@ -38217,20 +38248,22 @@ const createLargeTitleTransition = (rootAnimation, rtl, backDirection, enteringE
|
|
|
38217
38248
|
const leavingLargeTitleBox = leavingLargeTitle.getBoundingClientRect();
|
|
38218
38249
|
const enteringBackButtonBox = enteringBackButton.getBoundingClientRect();
|
|
38219
38250
|
const enteringBackButtonTextEl = shadow(enteringBackButton).querySelector('.button-text');
|
|
38220
|
-
|
|
38251
|
+
// Text element not rendered if developers pass text="" to the back button
|
|
38252
|
+
const enteringBackButtonTextBox = enteringBackButtonTextEl === null || enteringBackButtonTextEl === void 0 ? void 0 : enteringBackButtonTextEl.getBoundingClientRect();
|
|
38221
38253
|
const leavingLargeTitleTextEl = shadow(leavingLargeTitle).querySelector('.toolbar-title');
|
|
38222
38254
|
const leavingLargeTitleTextBox = leavingLargeTitleTextEl.getBoundingClientRect();
|
|
38223
|
-
animateLargeTitle(rootAnimation, rtl, backDirection, leavingLargeTitle, leavingLargeTitleBox, leavingLargeTitleTextBox, enteringBackButtonTextEl, enteringBackButtonTextBox);
|
|
38255
|
+
animateLargeTitle(rootAnimation, rtl, backDirection, leavingLargeTitle, leavingLargeTitleBox, leavingLargeTitleTextBox, enteringBackButtonBox, enteringBackButtonTextEl, enteringBackButtonTextBox);
|
|
38224
38256
|
animateBackButton(rootAnimation, rtl, backDirection, enteringBackButton, enteringBackButtonBox, enteringBackButtonTextEl, enteringBackButtonTextBox, leavingLargeTitle, leavingLargeTitleTextBox);
|
|
38225
38257
|
}
|
|
38226
38258
|
else if (shouldAnimationBackward) {
|
|
38227
38259
|
const enteringLargeTitleBox = enteringLargeTitle.getBoundingClientRect();
|
|
38228
38260
|
const leavingBackButtonBox = leavingBackButton.getBoundingClientRect();
|
|
38229
38261
|
const leavingBackButtonTextEl = shadow(leavingBackButton).querySelector('.button-text');
|
|
38230
|
-
|
|
38262
|
+
// Text element not rendered if developers pass text="" to the back button
|
|
38263
|
+
const leavingBackButtonTextBox = leavingBackButtonTextEl === null || leavingBackButtonTextEl === void 0 ? void 0 : leavingBackButtonTextEl.getBoundingClientRect();
|
|
38231
38264
|
const enteringLargeTitleTextEl = shadow(enteringLargeTitle).querySelector('.toolbar-title');
|
|
38232
38265
|
const enteringLargeTitleTextBox = enteringLargeTitleTextEl.getBoundingClientRect();
|
|
38233
|
-
animateLargeTitle(rootAnimation, rtl, backDirection, enteringLargeTitle, enteringLargeTitleBox, enteringLargeTitleTextBox, leavingBackButtonTextEl, leavingBackButtonTextBox);
|
|
38266
|
+
animateLargeTitle(rootAnimation, rtl, backDirection, enteringLargeTitle, enteringLargeTitleBox, enteringLargeTitleTextBox, leavingBackButtonBox, leavingBackButtonTextEl, leavingBackButtonTextBox);
|
|
38234
38267
|
animateBackButton(rootAnimation, rtl, backDirection, leavingBackButton, leavingBackButtonBox, leavingBackButtonTextEl, leavingBackButtonTextBox, enteringLargeTitle, enteringLargeTitleTextBox);
|
|
38235
38268
|
}
|
|
38236
38269
|
return {
|
|
@@ -38244,26 +38277,29 @@ const animateBackButton = (rootAnimation, rtl, backDirection, backButtonEl, back
|
|
|
38244
38277
|
const TEXT_ORIGIN_X = rtl ? 'right' : 'left';
|
|
38245
38278
|
const ICON_ORIGIN_X = rtl ? 'left' : 'right';
|
|
38246
38279
|
const CONTAINER_ORIGIN_X = rtl ? 'right' : 'left';
|
|
38247
|
-
|
|
38248
|
-
|
|
38249
|
-
|
|
38250
|
-
* If the texts do not match up then the back button text scale adjusts
|
|
38251
|
-
* to not perfectly match the large title text otherwise the
|
|
38252
|
-
* proportions will be incorrect.
|
|
38253
|
-
* When the texts match we scale both the width and height to account for
|
|
38254
|
-
* font weight differences between the title and back button.
|
|
38255
|
-
*/
|
|
38256
|
-
const doTitleAndButtonTextsMatch = ((_a = backButtonTextEl.textContent) === null || _a === void 0 ? void 0 : _a.trim()) === ((_b = largeTitleEl.textContent) === null || _b === void 0 ? void 0 : _b.trim());
|
|
38257
|
-
const WIDTH_SCALE = largeTitleTextBox.width / backButtonTextBox.width;
|
|
38258
|
-
/**
|
|
38259
|
-
* We subtract an offset to account for slight sizing/padding
|
|
38260
|
-
* differences between the title and the back button.
|
|
38261
|
-
*/
|
|
38262
|
-
const HEIGHT_SCALE = (largeTitleTextBox.height - LARGE_TITLE_SIZE_OFFSET) / backButtonTextBox.height;
|
|
38263
|
-
const TEXT_START_SCALE = doTitleAndButtonTextsMatch
|
|
38264
|
-
? `scale(${WIDTH_SCALE}, ${HEIGHT_SCALE})`
|
|
38265
|
-
: `scale(${HEIGHT_SCALE})`;
|
|
38280
|
+
let WIDTH_SCALE = 1;
|
|
38281
|
+
let HEIGHT_SCALE = 1;
|
|
38282
|
+
let TEXT_START_SCALE = `scale(${HEIGHT_SCALE})`;
|
|
38266
38283
|
const TEXT_END_SCALE = 'scale(1)';
|
|
38284
|
+
if (backButtonTextEl && backButtonTextBox) {
|
|
38285
|
+
/**
|
|
38286
|
+
* When the title and back button texts match then they should overlap during the
|
|
38287
|
+
* page transition. If the texts do not match up then the back button text scale
|
|
38288
|
+
* adjusts to not perfectly match the large title text otherwise the proportions
|
|
38289
|
+
* will be incorrect. When the texts match we scale both the width and height to
|
|
38290
|
+
* account for font weight differences between the title and back button.
|
|
38291
|
+
*/
|
|
38292
|
+
const doTitleAndButtonTextsMatch = ((_a = backButtonTextEl.textContent) === null || _a === void 0 ? void 0 : _a.trim()) === ((_b = largeTitleEl.textContent) === null || _b === void 0 ? void 0 : _b.trim());
|
|
38293
|
+
WIDTH_SCALE = largeTitleTextBox.width / backButtonTextBox.width;
|
|
38294
|
+
/**
|
|
38295
|
+
* Subtract an offset to account for slight sizing/padding differences between the
|
|
38296
|
+
* title and the back button.
|
|
38297
|
+
*/
|
|
38298
|
+
HEIGHT_SCALE = (largeTitleTextBox.height - LARGE_TITLE_SIZE_OFFSET) / backButtonTextBox.height;
|
|
38299
|
+
if (doTitleAndButtonTextsMatch) {
|
|
38300
|
+
TEXT_START_SCALE = `scale(${WIDTH_SCALE}, ${HEIGHT_SCALE})`;
|
|
38301
|
+
}
|
|
38302
|
+
}
|
|
38267
38303
|
const backButtonIconEl = shadow(backButtonEl).querySelector('ion-icon');
|
|
38268
38304
|
const backButtonIconBox = backButtonIconEl.getBoundingClientRect();
|
|
38269
38305
|
/**
|
|
@@ -38360,11 +38396,11 @@ const animateBackButton = (rootAnimation, rtl, backDirection, backButtonEl, back
|
|
|
38360
38396
|
top: '0px',
|
|
38361
38397
|
[CONTAINER_ORIGIN_X]: '0px',
|
|
38362
38398
|
})
|
|
38363
|
-
|
|
38364
|
-
|
|
38365
|
-
|
|
38366
|
-
|
|
38367
|
-
|
|
38399
|
+
/**
|
|
38400
|
+
* The write hooks must be set on this animation as it is guaranteed to run. Other
|
|
38401
|
+
* animations such as the back button text animation will not run if the back button
|
|
38402
|
+
* has no visible text.
|
|
38403
|
+
*/
|
|
38368
38404
|
.beforeAddWrite(() => {
|
|
38369
38405
|
backButtonEl.style.setProperty('display', 'none');
|
|
38370
38406
|
clonedBackButtonEl.style.setProperty(TEXT_ORIGIN_X, BACK_BUTTON_START_OFFSET);
|
|
@@ -38373,6 +38409,11 @@ const animateBackButton = (rootAnimation, rtl, backDirection, backButtonEl, back
|
|
|
38373
38409
|
backButtonEl.style.setProperty('display', '');
|
|
38374
38410
|
clonedBackButtonEl.style.setProperty('display', 'none');
|
|
38375
38411
|
clonedBackButtonEl.style.removeProperty(TEXT_ORIGIN_X);
|
|
38412
|
+
})
|
|
38413
|
+
.keyframes(CONTAINER_KEYFRAMES);
|
|
38414
|
+
enteringBackButtonTextAnimation
|
|
38415
|
+
.beforeStyles({
|
|
38416
|
+
'transform-origin': `${TEXT_ORIGIN_X} top`,
|
|
38376
38417
|
})
|
|
38377
38418
|
.keyframes(TEXT_KEYFRAMES);
|
|
38378
38419
|
enteringBackButtonIconAnimation
|
|
@@ -38386,7 +38427,7 @@ const animateBackButton = (rootAnimation, rtl, backDirection, backButtonEl, back
|
|
|
38386
38427
|
enteringBackButtonAnimation,
|
|
38387
38428
|
]);
|
|
38388
38429
|
};
|
|
38389
|
-
const animateLargeTitle = (rootAnimation, rtl, backDirection, largeTitleEl, largeTitleBox, largeTitleTextBox, backButtonTextEl, backButtonTextBox) => {
|
|
38430
|
+
const animateLargeTitle = (rootAnimation, rtl, backDirection, largeTitleEl, largeTitleBox, largeTitleTextBox, backButtonBox, backButtonTextEl, backButtonTextBox) => {
|
|
38390
38431
|
var _a, _b;
|
|
38391
38432
|
/**
|
|
38392
38433
|
* The horizontal transform origin for the large title
|
|
@@ -38406,52 +38447,65 @@ const animateLargeTitle = (rootAnimation, rtl, backDirection, largeTitleEl, larg
|
|
|
38406
38447
|
* title and the back button due to padding and font weight.
|
|
38407
38448
|
*/
|
|
38408
38449
|
const LARGE_TITLE_TRANSLATION_OFFSET = 8;
|
|
38450
|
+
let END_TRANSLATE_X = rtl
|
|
38451
|
+
? `-${window.innerWidth - backButtonBox.right - LARGE_TITLE_TRANSLATION_OFFSET}px`
|
|
38452
|
+
: `${backButtonBox.x + LARGE_TITLE_TRANSLATION_OFFSET}px`;
|
|
38409
38453
|
/**
|
|
38410
|
-
*
|
|
38411
|
-
|
|
38412
|
-
|
|
38413
|
-
|
|
38414
|
-
*
|
|
38415
|
-
|
|
38416
|
-
*/
|
|
38417
|
-
const END_TRANSLATE_X = rtl
|
|
38418
|
-
? `-${window.innerWidth - backButtonTextBox.right - LARGE_TITLE_TRANSLATION_OFFSET}px`
|
|
38419
|
-
: `${backButtonTextBox.x - LARGE_TITLE_TRANSLATION_OFFSET}px`;
|
|
38420
|
-
/**
|
|
38421
|
-
* The top of the scaled large title
|
|
38422
|
-
* should match with the top of the
|
|
38423
|
-
* back button text element.
|
|
38424
|
-
* We subtract 2px to account for the top padding
|
|
38425
|
-
* on the large title element.
|
|
38426
|
-
*/
|
|
38427
|
-
const LARGE_TITLE_TOP_PADDING = 2;
|
|
38428
|
-
const END_TRANSLATE_Y = `${backButtonTextBox.y - LARGE_TITLE_TOP_PADDING}px`;
|
|
38429
|
-
/**
|
|
38430
|
-
* In the forward direction, the large title should start at its
|
|
38431
|
-
* normal size and then scale down to be (roughly) the size of the
|
|
38432
|
-
* back button on the other view. In the backward direction, the
|
|
38433
|
-
* large title should start at (roughly) the size of the back button
|
|
38434
|
-
* and then scale up to its original size.
|
|
38435
|
-
*
|
|
38436
|
-
* Note that since both elements either fade in
|
|
38437
|
-
* or fade out over the course of the animation, neither element
|
|
38438
|
-
* will be fully visible on top of the other. As a result, the overlap
|
|
38439
|
-
* does not need to be perfect, so approximate values are acceptable here.
|
|
38440
|
-
*/
|
|
38441
|
-
/**
|
|
38442
|
-
* When the title and back button texts match
|
|
38443
|
-
* then they should overlap during the page transition.
|
|
38444
|
-
* If the texts do not match up then the large title text scale adjusts
|
|
38445
|
-
* to not perfectly match the back button text otherwise the
|
|
38446
|
-
* proportions will be incorrect.
|
|
38447
|
-
* When the texts match we scale both the width and height to account for
|
|
38448
|
-
* font weight differences between the title and back button.
|
|
38449
|
-
*/
|
|
38450
|
-
const doTitleAndButtonTextsMatch = ((_a = backButtonTextEl.textContent) === null || _a === void 0 ? void 0 : _a.trim()) === ((_b = largeTitleEl.textContent) === null || _b === void 0 ? void 0 : _b.trim());
|
|
38451
|
-
const WIDTH_SCALE = backButtonTextBox.width / largeTitleTextBox.width;
|
|
38452
|
-
const HEIGHT_SCALE = backButtonTextBox.height / (largeTitleTextBox.height - LARGE_TITLE_SIZE_OFFSET);
|
|
38454
|
+
* How much to scale the large title up/down by.
|
|
38455
|
+
*/
|
|
38456
|
+
let HEIGHT_SCALE = 0.5;
|
|
38457
|
+
/**
|
|
38458
|
+
* The large title always starts full size.
|
|
38459
|
+
*/
|
|
38453
38460
|
const START_SCALE = 'scale(1)';
|
|
38454
|
-
|
|
38461
|
+
/**
|
|
38462
|
+
* By default, we don't worry about having the large title scaled to perfectly
|
|
38463
|
+
* match the back button because we don't know if the back button's text matches
|
|
38464
|
+
* the large title's text.
|
|
38465
|
+
*/
|
|
38466
|
+
let END_SCALE = `scale(${HEIGHT_SCALE})`;
|
|
38467
|
+
// Text element not rendered if developers pass text="" to the back button
|
|
38468
|
+
if (backButtonTextEl && backButtonTextBox) {
|
|
38469
|
+
/**
|
|
38470
|
+
* The scaled title should (roughly) overlap the back button. This ensures that
|
|
38471
|
+
* the back button and title overlap during the animation. Note that since both
|
|
38472
|
+
* elements either fade in or fade out over the course of the animation, neither
|
|
38473
|
+
* element will be fully visible on top of the other. As a result, the overlap
|
|
38474
|
+
* does not need to be perfect, so approximate values are acceptable here.
|
|
38475
|
+
*/
|
|
38476
|
+
END_TRANSLATE_X = rtl
|
|
38477
|
+
? `-${window.innerWidth - backButtonTextBox.right - LARGE_TITLE_TRANSLATION_OFFSET}px`
|
|
38478
|
+
: `${backButtonTextBox.x - LARGE_TITLE_TRANSLATION_OFFSET}px`;
|
|
38479
|
+
/**
|
|
38480
|
+
* In the forward direction, the large title should start at its normal size and
|
|
38481
|
+
* then scale down to be (roughly) the size of the back button on the other view.
|
|
38482
|
+
* In the backward direction, the large title should start at (roughly) the size
|
|
38483
|
+
* of the back button and then scale up to its original size.
|
|
38484
|
+
* Note that since both elements either fade in or fade out over the course of the
|
|
38485
|
+
* animation, neither element will be fully visible on top of the other. As a result,
|
|
38486
|
+
* the overlap does not need to be perfect, so approximate values are acceptable here.
|
|
38487
|
+
*/
|
|
38488
|
+
/**
|
|
38489
|
+
* When the title and back button texts match then they should overlap during the
|
|
38490
|
+
* page transition. If the texts do not match up then the large title text scale
|
|
38491
|
+
* adjusts to not perfectly match the back button text otherwise the proportions
|
|
38492
|
+
* will be incorrect. When the texts match we scale both the width and height to
|
|
38493
|
+
* account for font weight differences between the title and back button.
|
|
38494
|
+
*/
|
|
38495
|
+
const doTitleAndButtonTextsMatch = ((_a = backButtonTextEl.textContent) === null || _a === void 0 ? void 0 : _a.trim()) === ((_b = largeTitleEl.textContent) === null || _b === void 0 ? void 0 : _b.trim());
|
|
38496
|
+
const WIDTH_SCALE = backButtonTextBox.width / largeTitleTextBox.width;
|
|
38497
|
+
HEIGHT_SCALE = backButtonTextBox.height / (largeTitleTextBox.height - LARGE_TITLE_SIZE_OFFSET);
|
|
38498
|
+
if (doTitleAndButtonTextsMatch) {
|
|
38499
|
+
END_SCALE = `scale(${WIDTH_SCALE}, ${HEIGHT_SCALE})`;
|
|
38500
|
+
}
|
|
38501
|
+
}
|
|
38502
|
+
/**
|
|
38503
|
+
* The midpoints of the back button and the title should align such that the back
|
|
38504
|
+
* button and title appear to be centered with each other.
|
|
38505
|
+
*/
|
|
38506
|
+
const backButtonMidPoint = backButtonBox.top + backButtonBox.height / 2;
|
|
38507
|
+
const titleMidPoint = (largeTitleBox.height * HEIGHT_SCALE) / 2;
|
|
38508
|
+
const END_TRANSLATE_Y = `${backButtonMidPoint - titleMidPoint}px`;
|
|
38455
38509
|
const BACKWARDS_KEYFRAMES = [
|
|
38456
38510
|
{ offset: 0, opacity: 0, transform: `translate3d(${END_TRANSLATE_X}, ${END_TRANSLATE_Y}, 0) ${END_SCALE}` },
|
|
38457
38511
|
{ offset: 0.1, opacity: 0 },
|
package/package.json
CHANGED