@ionic/core 8.7.10-dev.11762795745.187eb9d6 → 8.7.10-dev.11763406256.1a4bac8c
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/checkbox.js +63 -9
- package/components/ion-input.js +2 -1
- package/components/ion-select.js +7 -6
- package/components/ion-textarea.js +2 -1
- package/components/ion-toggle.js +62 -12
- package/components/notch-controller.js +153 -0
- package/components/radio-group.js +60 -7
- package/components/validity.js +1 -150
- package/dist/cjs/{animation-CMd5EiUJ.js → animation-Bt3H9L1C.js} +1 -1
- package/dist/cjs/{app-globals-YYg3oRxW.js → app-globals-Ciccnk9_.js} +1 -1
- package/dist/cjs/{button-active-C8-Bw602.js → button-active-CMc8cD90.js} +1 -1
- package/dist/cjs/{config-Bg0ubRZh.js → config-C5fsO43a.js} +1 -1
- package/dist/cjs/{data-r5j7Uerm.js → data-JwZKaIQB.js} +1 -1
- package/dist/cjs/{framework-delegate-N9XyoOZB.js → framework-delegate-DMJRBuDi.js} +1 -1
- package/dist/cjs/{hardware-back-button-B840zOI6.js → hardware-back-button-VCK4V3mG.js} +1 -1
- package/dist/cjs/{helpers-D77VXx-r.js → helpers-DrTqNghc.js} +1 -1
- package/dist/cjs/{index-DaKBTHFW.js → index-094mMFB-.js} +4 -4
- package/dist/cjs/{index-Dz0blAIb.js → index-C534ULug.js} +2 -2
- package/dist/cjs/{index-CeUl7ZfZ.js → index-CO6eryBo.js} +2 -2
- package/dist/cjs/{index-ChS3fOIY.js → index-D6Wc6v08.js} +3 -41
- package/dist/cjs/{index-DmOKAifs.js → index-DrMUZJj6.js} +5 -5
- package/dist/cjs/index.cjs.js +12 -12
- package/dist/cjs/{input-shims-DJpaPpDp.js → input-shims-CW0KUFTQ.js} +3 -3
- package/dist/cjs/{input.utils-D0-KClCg.js → input.utils-B_QROI2g.js} +2 -2
- package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-action-sheet.cjs.entry.js +8 -8
- package/dist/cjs/ion-alert.cjs.entry.js +9 -9
- package/dist/cjs/ion-app_8.cjs.entry.js +12 -12
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +3 -3
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-button_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-card_5.cjs.entry.js +3 -3
- package/dist/cjs/ion-checkbox.cjs.entry.js +63 -11
- 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 +4 -4
- package/dist/cjs/ion-datetime_3.cjs.entry.js +8 -8
- package/dist/cjs/ion-fab_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-img.cjs.entry.js +3 -3
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-input-otp.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +2 -2
- package/dist/cjs/ion-input.cjs.entry.js +7 -6
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +3 -3
- package/dist/cjs/ion-loading.cjs.entry.js +8 -8
- package/dist/cjs/ion-menu_3.cjs.entry.js +8 -8
- package/dist/cjs/ion-modal.cjs.entry.js +9 -9
- package/dist/cjs/ion-nav_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker-column.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +8 -8
- package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/ion-radio_2.cjs.entry.js +60 -9
- package/dist/cjs/ion-range.cjs.entry.js +4 -4
- package/dist/cjs/ion-refresher_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-reorder_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +3 -3
- package/dist/cjs/ion-searchbar.cjs.entry.js +3 -3
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-select-modal.cjs.entry.js +6 -6
- package/dist/cjs/ion-select_3.cjs.entry.js +13 -12
- 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 +3 -3
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +7 -6
- package/dist/cjs/ion-toast.cjs.entry.js +8 -8
- package/dist/cjs/ion-toggle.cjs.entry.js +61 -13
- package/dist/cjs/{ionic-global-BxKGYF6d.js → ionic-global-HMVqOFGO.js} +1 -1
- package/dist/cjs/ionic.cjs.js +5 -5
- package/dist/cjs/{ios.transition-C72U2BUB.js → ios.transition-BOt_uW73.js} +4 -4
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-BBB6PEeK.js → md.transition-Dt968VXB.js} +4 -4
- package/dist/cjs/{validity-DkTK5q5l.js → notch-controller-Bzqhjm4f.js} +1 -15
- package/dist/cjs/{overlays-C3__zPvW.js → overlays-DxIZwUXI.js} +5 -5
- package/dist/cjs/{status-tap-f2TiTSXm.js → status-tap-g0sWWkXk.js} +3 -3
- package/dist/cjs/{swipe-back-BpBykMef.js → swipe-back-BIayeNOD.js} +2 -2
- package/dist/cjs/validity-BpS37YFM.js +19 -0
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/checkbox/checkbox.js +67 -9
- package/dist/collection/components/radio-group/radio-group.js +64 -7
- package/dist/collection/components/select/select.js +5 -5
- package/dist/collection/components/toggle/toggle.js +62 -12
- package/dist/docs.json +3 -3
- package/dist/esm/{animation-_TZS1Hjd.js → animation-Dt8bGnA-.js} +1 -1
- package/dist/esm/{app-globals-DuiIATAi.js → app-globals-BDSf8fOA.js} +1 -1
- package/dist/esm/{button-active-B1HZAIwa.js → button-active-L570Swow.js} +1 -1
- package/dist/esm/{config-IKyiwMNW.js → config-mCdtaoPe.js} +1 -1
- package/dist/esm/{data-DjEV-rGl.js → data-DCORV9FH.js} +1 -1
- package/dist/esm/{framework-delegate-DXowJuYM.js → framework-delegate-BYawdMXj.js} +1 -1
- package/dist/esm/{hardware-back-button-D7JE2jw7.js → hardware-back-button-CPLxO-Ev.js} +1 -1
- package/dist/esm/{helpers-Cj5Iql8O.js → helpers-DEn3pfjm.js} +1 -1
- package/dist/esm/{index-jRE1CKuX.js → index-Bs3kT4bc.js} +2 -2
- package/dist/esm/{index-BVGHdIB3.js → index-C8IsBmNU.js} +3 -41
- package/dist/esm/{index-DTld9OWL.js → index-CvDIirVx.js} +5 -5
- package/dist/esm/{index-DhQ7IQpS.js → index-ceb5RaMT.js} +2 -2
- package/dist/esm/{index-6QoOUB2s.js → index-r2D9DEro.js} +4 -4
- package/dist/esm/index.js +12 -12
- package/dist/esm/{input-shims-Z7izSUeO.js → input-shims-DyOpfTg6.js} +3 -3
- package/dist/esm/{input.utils-8PktJRaO.js → input.utils-DrvTa8gz.js} +2 -2
- package/dist/esm/ion-accordion_2.entry.js +3 -3
- package/dist/esm/ion-action-sheet.entry.js +8 -8
- package/dist/esm/ion-alert.entry.js +9 -9
- package/dist/esm/ion-app_8.entry.js +12 -12
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +3 -3
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +3 -3
- package/dist/esm/ion-button_2.entry.js +3 -3
- package/dist/esm/ion-card_5.entry.js +3 -3
- package/dist/esm/ion-checkbox.entry.js +63 -11
- 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 +4 -4
- package/dist/esm/ion-datetime_3.entry.js +8 -8
- package/dist/esm/ion-fab_3.entry.js +3 -3
- package/dist/esm/ion-img.entry.js +3 -3
- package/dist/esm/ion-infinite-scroll_2.entry.js +5 -5
- package/dist/esm/ion-input-otp.entry.js +3 -3
- package/dist/esm/ion-input-password-toggle.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +6 -5
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +3 -3
- package/dist/esm/ion-loading.entry.js +8 -8
- package/dist/esm/ion-menu_3.entry.js +8 -8
- package/dist/esm/ion-modal.entry.js +9 -9
- package/dist/esm/ion-nav_2.entry.js +6 -6
- package/dist/esm/ion-picker-column-option.entry.js +3 -3
- package/dist/esm/ion-picker-column.entry.js +3 -3
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +8 -8
- package/dist/esm/ion-progress-bar.entry.js +3 -3
- package/dist/esm/ion-radio_2.entry.js +60 -9
- package/dist/esm/ion-range.entry.js +4 -4
- package/dist/esm/ion-refresher_2.entry.js +6 -6
- package/dist/esm/ion-reorder_2.entry.js +4 -4
- package/dist/esm/ion-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +3 -3
- package/dist/esm/ion-searchbar.entry.js +3 -3
- package/dist/esm/ion-segment-content.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +1 -1
- package/dist/esm/ion-segment_2.entry.js +3 -3
- package/dist/esm/ion-select-modal.entry.js +6 -6
- package/dist/esm/ion-select_3.entry.js +12 -11
- 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 +3 -3
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +6 -5
- package/dist/esm/ion-toast.entry.js +8 -8
- package/dist/esm/ion-toggle.entry.js +61 -13
- package/dist/esm/{ionic-global-BVrvc8zu.js → ionic-global-CDrldh-5.js} +1 -1
- package/dist/esm/ionic.js +6 -6
- package/dist/esm/{ios.transition-BQB6stOT.js → ios.transition-BDzw0_Hm.js} +4 -4
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-D8M5kwpN.js → md.transition-BzDYi3qq.js} +4 -4
- package/dist/esm/{validity-DvgV3rpm.js → notch-controller-BwelN_JM.js} +2 -15
- package/dist/esm/{overlays-v6rVwLBE.js → overlays-BymNv-BL.js} +5 -5
- package/dist/esm/{status-tap-CbONNX4z.js → status-tap-5DQ7Fc4V.js} +3 -3
- package/dist/esm/{swipe-back-CRKN2lCz.js → swipe-back-BKw2CAHc.js} +2 -2
- package/dist/esm/validity-DJztqcrH.js +17 -0
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-6eb4a13c.entry.js → p-020af078.entry.js} +1 -1
- package/dist/ionic/{p-ef6678ac.entry.js → p-074839fc.entry.js} +1 -1
- package/dist/ionic/{p-63e1a446.entry.js → p-0b80d700.entry.js} +1 -1
- package/dist/ionic/{p-5421f63a.entry.js → p-0dfa5a37.entry.js} +1 -1
- package/dist/ionic/{p-8a558c61.entry.js → p-11518b31.entry.js} +1 -1
- package/dist/ionic/{p-efe6c074.entry.js → p-15193d01.entry.js} +1 -1
- package/dist/ionic/{p-284aa04d.entry.js → p-1647c46c.entry.js} +1 -1
- package/dist/ionic/{p-f9ebf94f.entry.js → p-2a939845.entry.js} +1 -1
- package/dist/ionic/{p-b2df2374.entry.js → p-316c0420.entry.js} +1 -1
- package/dist/ionic/{p-8fbd9efe.entry.js → p-31f7095f.entry.js} +1 -1
- package/dist/ionic/{p-a7443eb9.entry.js → p-370e4237.entry.js} +1 -1
- package/dist/ionic/{p-dfb12224.entry.js → p-3a6caca9.entry.js} +1 -1
- package/dist/ionic/p-40c261a3.entry.js +4 -0
- package/dist/ionic/{p-d91a475c.entry.js → p-43ed1ef5.entry.js} +1 -1
- package/dist/ionic/{p-e35a569d.entry.js → p-46d74291.entry.js} +1 -1
- package/dist/ionic/{p-c27187f3.entry.js → p-49d06882.entry.js} +1 -1
- package/dist/ionic/{p-41d22292.entry.js → p-4c85d268.entry.js} +1 -1
- package/dist/ionic/p-4e41ea20.entry.js +4 -0
- package/dist/ionic/{p-9c852a4f.entry.js → p-4efea47a.entry.js} +1 -1
- package/dist/ionic/{p-1dde6332.entry.js → p-510d86e1.entry.js} +1 -1
- package/dist/ionic/{p-fd52b45e.entry.js → p-51a60e0f.entry.js} +1 -1
- package/dist/ionic/{p-865010e8.entry.js → p-582824c5.entry.js} +1 -1
- package/dist/ionic/{p-d2736c92.entry.js → p-6241ce47.entry.js} +1 -1
- package/dist/ionic/{p-367bde12.entry.js → p-639dd543.entry.js} +1 -1
- package/dist/ionic/{p-d88abc12.entry.js → p-6444c606.entry.js} +1 -1
- package/dist/ionic/{p-d77243f7.entry.js → p-675b1a31.entry.js} +1 -1
- package/dist/ionic/{p-b93b18b5.entry.js → p-6d070558.entry.js} +1 -1
- package/dist/ionic/{p-b160f098.entry.js → p-7268efa5.entry.js} +1 -1
- package/dist/ionic/{p-7e9bb16e.entry.js → p-72c38b88.entry.js} +1 -1
- package/dist/ionic/p-7380261c.entry.js +4 -0
- package/dist/ionic/{p-82a34d91.entry.js → p-79bd78f9.entry.js} +1 -1
- package/dist/ionic/{p-6e853ec9.entry.js → p-7da39a4d.entry.js} +1 -1
- package/dist/ionic/{p-ef395f1a.entry.js → p-83be404e.entry.js} +1 -1
- package/dist/ionic/{p-8b38cf63.entry.js → p-86f53961.entry.js} +1 -1
- package/dist/ionic/{p-9fc36a95.entry.js → p-94de5cfa.entry.js} +1 -1
- package/dist/ionic/{p-73f59b82.entry.js → p-9575b654.entry.js} +1 -1
- package/dist/ionic/{p-5825fc6e.entry.js → p-98fc09eb.entry.js} +1 -1
- package/dist/ionic/{p-vq6cJ1-o.js → p-B0q1YL7N.js} +1 -1
- package/dist/ionic/{p-Cx-H2fLj.js → p-BFvmZNyx.js} +1 -1
- package/dist/ionic/p-BKc55Xev.js +4 -0
- package/dist/ionic/p-BOVrCkpJ.js +4 -0
- package/dist/ionic/{p-DQOaucNd.js → p-BYEqWnSg.js} +1 -1
- package/dist/ionic/p-Bmgaetn_.js +4 -0
- package/dist/ionic/{p-ATCRWepI.js → p-C7hRNDhM.js} +1 -1
- package/dist/ionic/p-C8IsBmNU.js +5 -0
- package/dist/ionic/{p-CXgzLQi6.js → p-CJxh_yLS.js} +1 -1
- package/dist/ionic/{p-Dbxeiy79.js → p-CTfR9YZG.js} +1 -1
- package/dist/ionic/{p-0FumIF4F.js → p-CwgG81ZD.js} +1 -1
- package/dist/ionic/{p-Byj9wS2m.js → p-D-eFFUkA.js} +1 -1
- package/dist/ionic/{p-fOeiRSuK.js → p-D0dMcSkw.js} +1 -1
- package/dist/ionic/{p-DHZ1O_Fh.js → p-D87hU-Ly.js} +1 -1
- package/dist/ionic/p-DCv9sLH2.js +4 -0
- package/dist/ionic/p-DDb5r57F.js +4 -0
- package/dist/ionic/p-DJztqcrH.js +4 -0
- package/dist/ionic/{p-FpOGHUu_.js → p-DNcfiJwE.js} +1 -1
- package/dist/ionic/p-DUt5fQmA.js +4 -0
- package/dist/ionic/{p-Dfqg5sCT.js → p-DZRJwG4S.js} +1 -1
- package/dist/ionic/{p-CK6yPWoW.js → p-DbQ5QkTP.js} +1 -1
- package/dist/ionic/{p-DXIJtcZ4.js → p-Dc45iWE4.js} +1 -1
- package/dist/ionic/{p-Bd8NARl2.js → p-QHYY4sjU.js} +1 -1
- package/dist/ionic/{p-0cad6731.entry.js → p-a127bee2.entry.js} +1 -1
- package/dist/ionic/{p-cc99017f.entry.js → p-a80f1b04.entry.js} +1 -1
- package/dist/ionic/{p-714a21b6.entry.js → p-ac4eb91d.entry.js} +1 -1
- package/dist/ionic/{p-ce6a8874.entry.js → p-b0a7585c.entry.js} +1 -1
- package/dist/ionic/{p-0d15cc40.entry.js → p-b57c6d3e.entry.js} +1 -1
- package/dist/ionic/p-c19f63d0.entry.js +4 -0
- package/dist/ionic/{p-2b85c833.entry.js → p-cc45bcbc.entry.js} +1 -1
- package/dist/ionic/{p-917776ab.entry.js → p-d0a2a1ab.entry.js} +1 -1
- package/dist/ionic/{p-8ecd2576.entry.js → p-d126e8d3.entry.js} +1 -1
- package/dist/ionic/p-d1f54e28.entry.js +4 -0
- package/dist/ionic/p-d3014190.entry.js +4 -0
- package/dist/ionic/{p-1bbee68b.entry.js → p-da7d04cc.entry.js} +1 -1
- package/dist/ionic/{p-eb019f08.entry.js → p-dbbe606a.entry.js} +1 -1
- package/dist/ionic/{p-27098889.entry.js → p-e16b69e1.entry.js} +1 -1
- package/dist/ionic/{p-1fec7f80.entry.js → p-f8f22cc0.entry.js} +1 -1
- package/dist/types/components/checkbox/checkbox.d.ts +9 -1
- package/dist/types/components/header/header.utils.d.ts +1 -2
- package/dist/types/components/radio-group/radio-group.d.ts +9 -1
- package/dist/types/components/select/select.d.ts +2 -2
- package/dist/types/components/toggle/toggle.d.ts +7 -1
- package/dist/types/stencil-public-runtime.d.ts +9 -19
- package/dist/types/utils/forms/validity.d.ts +1 -1
- package/dist/types/utils/gesture/listener.d.ts +1 -2
- package/hydrate/index.js +358 -345
- package/hydrate/index.mjs +358 -345
- package/package.json +3 -3
- package/dist/ionic/p-39d3888f.entry.js +0 -4
- package/dist/ionic/p-5ebd385a.entry.js +0 -4
- package/dist/ionic/p-6c6c38ac.entry.js +0 -4
- package/dist/ionic/p-9d248d04.entry.js +0 -4
- package/dist/ionic/p-BKzjBsgr.js +0 -4
- package/dist/ionic/p-BPCLHFIJ.js +0 -4
- package/dist/ionic/p-BVGHdIB3.js +0 -5
- package/dist/ionic/p-C-hkdhDX.js +0 -4
- package/dist/ionic/p-CEyzsf_w.js +0 -4
- package/dist/ionic/p-Dpv-T50-.js +0 -4
- package/dist/ionic/p-DxJKEmSr.js +0 -4
- package/dist/ionic/p-f0168275.entry.js +0 -4
- package/dist/ionic/p-f2d7c3a6.entry.js +0 -4
package/components/validity.js
CHANGED
|
@@ -1,155 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import { w as win } from './index9.js';
|
|
5
|
-
import { r as raf } from './helpers.js';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* A utility to calculate the size of an outline notch
|
|
9
|
-
* width relative to the content passed. This is used in
|
|
10
|
-
* components such as `ion-select` with `fill="outline"`
|
|
11
|
-
* where we need to pass slotted HTML content. This is not
|
|
12
|
-
* needed when rendering plaintext content because we can
|
|
13
|
-
* render the plaintext again hidden with `opacity: 0` inside
|
|
14
|
-
* of the notch. As a result we can rely on the intrinsic size
|
|
15
|
-
* of the element to correctly compute the notch width. We
|
|
16
|
-
* cannot do this with slotted content because we cannot project
|
|
17
|
-
* it into 2 places at once.
|
|
18
|
-
*
|
|
19
|
-
* @internal
|
|
20
|
-
* @param el: The host element
|
|
21
|
-
* @param getNotchSpacerEl: A function that returns a reference to the notch spacer element inside of the component template.
|
|
22
|
-
* @param getLabelSlot: A function that returns a reference to the slotted content.
|
|
23
|
-
*/
|
|
24
|
-
const createNotchController = (el, getNotchSpacerEl, getLabelSlot) => {
|
|
25
|
-
let notchVisibilityIO;
|
|
26
|
-
const needsExplicitNotchWidth = () => {
|
|
27
|
-
const notchSpacerEl = getNotchSpacerEl();
|
|
28
|
-
if (
|
|
29
|
-
/**
|
|
30
|
-
* If the notch is not being used
|
|
31
|
-
* then we do not need to set the notch width.
|
|
32
|
-
*/
|
|
33
|
-
notchSpacerEl === undefined ||
|
|
34
|
-
/**
|
|
35
|
-
* If either the label property is being
|
|
36
|
-
* used or the label slot is not defined,
|
|
37
|
-
* then we do not need to estimate the notch width.
|
|
38
|
-
*/
|
|
39
|
-
el.label !== undefined ||
|
|
40
|
-
getLabelSlot() === null) {
|
|
41
|
-
return false;
|
|
42
|
-
}
|
|
43
|
-
return true;
|
|
44
|
-
};
|
|
45
|
-
const calculateNotchWidth = () => {
|
|
46
|
-
if (needsExplicitNotchWidth()) {
|
|
47
|
-
/**
|
|
48
|
-
* Run this the frame after
|
|
49
|
-
* the browser has re-painted the host element.
|
|
50
|
-
* Otherwise, the label element may have a width
|
|
51
|
-
* of 0 and the IntersectionObserver will be used.
|
|
52
|
-
*/
|
|
53
|
-
raf(() => {
|
|
54
|
-
setNotchWidth();
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
|
-
/**
|
|
59
|
-
* When using a label prop we can render
|
|
60
|
-
* the label value inside of the notch and
|
|
61
|
-
* let the browser calculate the size of the notch.
|
|
62
|
-
* However, we cannot render the label slot in multiple
|
|
63
|
-
* places so we need to manually calculate the notch dimension
|
|
64
|
-
* based on the size of the slotted content.
|
|
65
|
-
*
|
|
66
|
-
* This function should only be used to set the notch width
|
|
67
|
-
* on slotted label content. The notch width for label prop
|
|
68
|
-
* content is automatically calculated based on the
|
|
69
|
-
* intrinsic size of the label text.
|
|
70
|
-
*/
|
|
71
|
-
const setNotchWidth = () => {
|
|
72
|
-
const notchSpacerEl = getNotchSpacerEl();
|
|
73
|
-
if (notchSpacerEl === undefined) {
|
|
74
|
-
return;
|
|
75
|
-
}
|
|
76
|
-
if (!needsExplicitNotchWidth()) {
|
|
77
|
-
notchSpacerEl.style.removeProperty('width');
|
|
78
|
-
return;
|
|
79
|
-
}
|
|
80
|
-
const width = getLabelSlot().scrollWidth;
|
|
81
|
-
if (
|
|
82
|
-
/**
|
|
83
|
-
* If the computed width of the label is 0
|
|
84
|
-
* and notchSpacerEl's offsetParent is null
|
|
85
|
-
* then that means the element is hidden.
|
|
86
|
-
* As a result, we need to wait for the element
|
|
87
|
-
* to become visible before setting the notch width.
|
|
88
|
-
*
|
|
89
|
-
* We do not check el.offsetParent because
|
|
90
|
-
* that can be null if the host element has
|
|
91
|
-
* position: fixed applied to it.
|
|
92
|
-
* notchSpacerEl does not have position: fixed.
|
|
93
|
-
*/
|
|
94
|
-
width === 0 &&
|
|
95
|
-
notchSpacerEl.offsetParent === null &&
|
|
96
|
-
win !== undefined &&
|
|
97
|
-
'IntersectionObserver' in win) {
|
|
98
|
-
/**
|
|
99
|
-
* If there is an IO already attached
|
|
100
|
-
* then that will update the notch
|
|
101
|
-
* once the element becomes visible.
|
|
102
|
-
* As a result, there is no need to create
|
|
103
|
-
* another one.
|
|
104
|
-
*/
|
|
105
|
-
if (notchVisibilityIO !== undefined) {
|
|
106
|
-
return;
|
|
107
|
-
}
|
|
108
|
-
const io = (notchVisibilityIO = new IntersectionObserver((ev) => {
|
|
109
|
-
/**
|
|
110
|
-
* If the element is visible then we
|
|
111
|
-
* can try setting the notch width again.
|
|
112
|
-
*/
|
|
113
|
-
if (ev[0].intersectionRatio === 1) {
|
|
114
|
-
setNotchWidth();
|
|
115
|
-
io.disconnect();
|
|
116
|
-
notchVisibilityIO = undefined;
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
/**
|
|
120
|
-
* Set the root to be the host element
|
|
121
|
-
* This causes the IO callback
|
|
122
|
-
* to be fired in WebKit as soon as the element
|
|
123
|
-
* is visible. If we used the default root value
|
|
124
|
-
* then WebKit would only fire the IO callback
|
|
125
|
-
* after any animations (such as a modal transition)
|
|
126
|
-
* finished, and there would potentially be a flicker.
|
|
127
|
-
*/
|
|
128
|
-
{ threshold: 0.01, root: el }));
|
|
129
|
-
io.observe(notchSpacerEl);
|
|
130
|
-
return;
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* If the element is visible then we can set the notch width.
|
|
134
|
-
* The notch is only visible when the label is scaled,
|
|
135
|
-
* which is why we multiply the width by 0.75 as this is
|
|
136
|
-
* the same amount the label element is scaled by in the host CSS.
|
|
137
|
-
* (See $form-control-label-stacked-scale in ionic.globals.scss).
|
|
138
|
-
*/
|
|
139
|
-
notchSpacerEl.style.setProperty('width', `${width * 0.75}px`);
|
|
140
|
-
};
|
|
141
|
-
const destroy = () => {
|
|
142
|
-
if (notchVisibilityIO) {
|
|
143
|
-
notchVisibilityIO.disconnect();
|
|
144
|
-
notchVisibilityIO = undefined;
|
|
145
|
-
}
|
|
146
|
-
};
|
|
147
|
-
return {
|
|
148
|
-
calculateNotchWidth,
|
|
149
|
-
destroy,
|
|
150
|
-
};
|
|
151
|
-
};
|
|
152
|
-
|
|
153
4
|
/**
|
|
154
5
|
* Checks if the form element is in an invalid state based on
|
|
155
6
|
* Ionic validation classes.
|
|
@@ -163,4 +14,4 @@ const checkInvalidState = (el) => {
|
|
|
163
14
|
return hasIonTouched && hasIonInvalid;
|
|
164
15
|
};
|
|
165
16
|
|
|
166
|
-
export { checkInvalidState as
|
|
17
|
+
export { checkInvalidState as c };
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var helpers = require('./helpers-
|
|
6
|
+
var index = require('./index-D6Wc6v08.js');
|
|
7
|
+
var helpers = require('./helpers-DrTqNghc.js');
|
|
8
8
|
|
|
9
9
|
const LIFECYCLE_WILL_ENTER = 'ionViewWillEnter';
|
|
10
10
|
const LIFECYCLE_DID_ENTER = 'ionViewDidEnter';
|
|
@@ -120,8 +120,8 @@ const createFocusController = () => {
|
|
|
120
120
|
};
|
|
121
121
|
const LAST_FOCUS = 'ion-last-focus';
|
|
122
122
|
|
|
123
|
-
const iosTransitionAnimation = () => Promise.resolve().then(function () { return require('./ios.transition-
|
|
124
|
-
const mdTransitionAnimation = () => Promise.resolve().then(function () { return require('./md.transition-
|
|
123
|
+
const iosTransitionAnimation = () => Promise.resolve().then(function () { return require('./ios.transition-BOt_uW73.js'); });
|
|
124
|
+
const mdTransitionAnimation = () => Promise.resolve().then(function () { return require('./md.transition-Dt968VXB.js'); });
|
|
125
125
|
const focusController = createFocusController();
|
|
126
126
|
// TODO(FW-2832): types
|
|
127
127
|
/**
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
6
|
var index = require('./index-DkNv4J_i.js');
|
|
7
|
-
var helpers = require('./helpers-
|
|
8
|
-
require('./index-
|
|
7
|
+
var helpers = require('./helpers-DrTqNghc.js');
|
|
8
|
+
require('./index-D6Wc6v08.js');
|
|
9
9
|
|
|
10
10
|
const startTapClick = (config) => {
|
|
11
11
|
if (index.doc === undefined) {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var helpers = require('./helpers-
|
|
7
|
-
var index = require('./index-
|
|
6
|
+
var helpers = require('./helpers-DrTqNghc.js');
|
|
7
|
+
var index = require('./index-D6Wc6v08.js');
|
|
8
8
|
|
|
9
9
|
const ION_CONTENT_TAG_NAME = 'ION-CONTENT';
|
|
10
10
|
const ION_CONTENT_ELEMENT_SELECTOR = 'ion-content';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
6
|
const NAMESPACE = 'ionic';
|
|
7
|
-
const BUILD = /* ionic */ { experimentalSlotFixes: true, hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, shadowDom: true, slotRelocation: true,
|
|
7
|
+
const BUILD = /* ionic */ { experimentalSlotFixes: true, hydratedSelectorName: "hydrated", lazyLoad: true, propChangeCallback: true, shadowDom: true, slotRelocation: true, updatable: true};
|
|
8
8
|
|
|
9
9
|
// TODO(FW-2832): types
|
|
10
10
|
class Config {
|
|
@@ -124,7 +124,7 @@ const printRequiredElementError = (el, ...targetSelectors) => {
|
|
|
124
124
|
};
|
|
125
125
|
|
|
126
126
|
/*
|
|
127
|
-
Stencil Client Platform v4.38.
|
|
127
|
+
Stencil Client Platform v4.38.0 | MIT Licensed | https://stenciljs.com
|
|
128
128
|
*/
|
|
129
129
|
var __defProp = Object.defineProperty;
|
|
130
130
|
var __export = (target, all) => {
|
|
@@ -161,38 +161,6 @@ var NonPrimitiveType = /* @__PURE__ */ ((NonPrimitiveType2) => {
|
|
|
161
161
|
var TYPE_CONSTANT = "type";
|
|
162
162
|
var VALUE_CONSTANT = "value";
|
|
163
163
|
var SERIALIZED_PREFIX = "serialized:";
|
|
164
|
-
var reWireGetterSetter = (instance, hostRef) => {
|
|
165
|
-
var _a;
|
|
166
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
167
|
-
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
168
|
-
members.map(([memberName, [memberFlags]]) => {
|
|
169
|
-
if ((memberFlags & 31 /* Prop */ || memberFlags & 32 /* State */)) {
|
|
170
|
-
const ogValue = instance[memberName];
|
|
171
|
-
const ogDescriptor = getPropertyDescriptor(Object.getPrototypeOf(instance), memberName) || Object.getOwnPropertyDescriptor(instance, memberName);
|
|
172
|
-
if (ogDescriptor) {
|
|
173
|
-
Object.defineProperty(instance, memberName, {
|
|
174
|
-
get() {
|
|
175
|
-
return ogDescriptor.get.call(this);
|
|
176
|
-
},
|
|
177
|
-
set(newValue) {
|
|
178
|
-
ogDescriptor.set.call(this, newValue);
|
|
179
|
-
},
|
|
180
|
-
configurable: true,
|
|
181
|
-
enumerable: true
|
|
182
|
-
});
|
|
183
|
-
}
|
|
184
|
-
instance[memberName] = hostRef.$instanceValues$.has(memberName) ? hostRef.$instanceValues$.get(memberName) : ogValue;
|
|
185
|
-
}
|
|
186
|
-
});
|
|
187
|
-
};
|
|
188
|
-
function getPropertyDescriptor(obj, memberName) {
|
|
189
|
-
while (obj) {
|
|
190
|
-
const desc = Object.getOwnPropertyDescriptor(obj, memberName);
|
|
191
|
-
if (desc == null ? void 0 : desc.get) return desc;
|
|
192
|
-
obj = Object.getPrototypeOf(obj);
|
|
193
|
-
}
|
|
194
|
-
return void 0;
|
|
195
|
-
}
|
|
196
164
|
|
|
197
165
|
// src/client/client-host-ref.ts
|
|
198
166
|
var getHostRef = (ref) => {
|
|
@@ -205,9 +173,6 @@ var registerInstance = (lazyInstance, hostRef) => {
|
|
|
205
173
|
if (!hostRef) return;
|
|
206
174
|
lazyInstance.__stencil__getHostRef = () => hostRef;
|
|
207
175
|
hostRef.$lazyInstance$ = lazyInstance;
|
|
208
|
-
if (hostRef.$cmpMeta$.$flags$ & 512 /* hasModernPropertyDecls */ && (BUILD.state)) {
|
|
209
|
-
reWireGetterSetter(lazyInstance, hostRef);
|
|
210
|
-
}
|
|
211
176
|
};
|
|
212
177
|
var registerHost = (hostElement, cmpMeta) => {
|
|
213
178
|
const hostRef = {
|
|
@@ -2879,11 +2844,8 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
2879
2844
|
}
|
|
2880
2845
|
return;
|
|
2881
2846
|
}
|
|
2882
|
-
const propFlags = members.find(([m]) => m === propName);
|
|
2883
|
-
if (propFlags && propFlags[1][0] & 4 /* Boolean */) {
|
|
2884
|
-
newValue = newValue === null || newValue === "false" ? false : true;
|
|
2885
|
-
}
|
|
2886
2847
|
const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
|
|
2848
|
+
newValue = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
|
|
2887
2849
|
if (newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
2888
2850
|
this[propName] = newValue;
|
|
2889
2851
|
}
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
6
|
var index = require('./index-DkNv4J_i.js');
|
|
7
|
-
var hardwareBackButton = require('./hardware-back-button-
|
|
8
|
-
var index$1 = require('./index-
|
|
9
|
-
var helpers = require('./helpers-
|
|
10
|
-
var ionicGlobal = require('./ionic-global-
|
|
11
|
-
var animation = require('./animation-
|
|
7
|
+
var hardwareBackButton = require('./hardware-back-button-VCK4V3mG.js');
|
|
8
|
+
var index$1 = require('./index-D6Wc6v08.js');
|
|
9
|
+
var helpers = require('./helpers-DrTqNghc.js');
|
|
10
|
+
var ionicGlobal = require('./ionic-global-HMVqOFGO.js');
|
|
11
|
+
var animation = require('./animation-Bt3H9L1C.js');
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* baseAnimation
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -3,23 +3,23 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var animation = require('./animation-
|
|
7
|
-
var index = require('./index-
|
|
8
|
-
var ios_transition = require('./ios.transition-
|
|
9
|
-
var md_transition = require('./md.transition-
|
|
6
|
+
var animation = require('./animation-Bt3H9L1C.js');
|
|
7
|
+
var index = require('./index-094mMFB-.js');
|
|
8
|
+
var ios_transition = require('./ios.transition-BOt_uW73.js');
|
|
9
|
+
var md_transition = require('./md.transition-Dt968VXB.js');
|
|
10
10
|
var cubicBezier = require('./cubic-bezier-DAjy1V-e.js');
|
|
11
11
|
var index$1 = require('./index-CAvQ7Tka.js');
|
|
12
|
-
var ionicGlobal = require('./ionic-global-
|
|
13
|
-
var helpers = require('./helpers-
|
|
14
|
-
var index$2 = require('./index-
|
|
15
|
-
var config = require('./config-
|
|
12
|
+
var ionicGlobal = require('./ionic-global-HMVqOFGO.js');
|
|
13
|
+
var helpers = require('./helpers-DrTqNghc.js');
|
|
14
|
+
var index$2 = require('./index-D6Wc6v08.js');
|
|
15
|
+
var config = require('./config-C5fsO43a.js');
|
|
16
16
|
var theme = require('./theme-CeDs6Hcv.js');
|
|
17
|
-
var index$3 = require('./index-
|
|
18
|
-
var overlays = require('./overlays-
|
|
17
|
+
var index$3 = require('./index-DrMUZJj6.js');
|
|
18
|
+
var overlays = require('./overlays-DxIZwUXI.js');
|
|
19
19
|
require('./index-DkNv4J_i.js');
|
|
20
20
|
require('./gesture-controller-dtqlP_q4.js');
|
|
21
|
-
require('./hardware-back-button-
|
|
22
|
-
require('./framework-delegate-
|
|
21
|
+
require('./hardware-back-button-VCK4V3mG.js');
|
|
22
|
+
require('./framework-delegate-DMJRBuDi.js');
|
|
23
23
|
|
|
24
24
|
const IonicSlides = (opts) => {
|
|
25
25
|
const { swiper, extendParams } = opts;
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
6
|
var index = require('./index-DkNv4J_i.js');
|
|
7
|
-
var index$1 = require('./index-
|
|
8
|
-
var helpers = require('./helpers-
|
|
7
|
+
var index$1 = require('./index-CO6eryBo.js');
|
|
8
|
+
var helpers = require('./helpers-DrTqNghc.js');
|
|
9
9
|
var keyboard = require('./keyboard-UuAS4D_9.js');
|
|
10
|
-
require('./index-
|
|
10
|
+
require('./index-D6Wc6v08.js');
|
|
11
11
|
require('./capacitor-DmA66EwP.js');
|
|
12
12
|
|
|
13
13
|
const cloneMap = new WeakMap();
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
6
|
var index = require('./index-DkNv4J_i.js');
|
|
7
|
-
var helpers = require('./helpers-
|
|
8
|
-
var index$1 = require('./index-
|
|
7
|
+
var helpers = require('./helpers-DrTqNghc.js');
|
|
8
|
+
var index$1 = require('./index-D6Wc6v08.js');
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Used to update a scoped component that uses emulated slots. This fires when
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var helpers = require('./helpers-
|
|
6
|
+
var index = require('./index-D6Wc6v08.js');
|
|
7
|
+
var helpers = require('./helpers-DrTqNghc.js');
|
|
8
8
|
var index$1 = require('./index-DqmRDbxg.js');
|
|
9
|
-
var ionicGlobal = require('./ionic-global-
|
|
9
|
+
var ionicGlobal = require('./ionic-global-HMVqOFGO.js');
|
|
10
10
|
|
|
11
11
|
const accordionIosCss = ":host{display:block;position:relative;width:100%;background-color:var(--ion-background-color, #ffffff);overflow:hidden;z-index:0}:host(.accordion-expanding) ::slotted(ion-item[slot=header]),:host(.accordion-expanded) ::slotted(ion-item[slot=header]){--border-width:0px}:host(.accordion-animated){-webkit-transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:all 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}:host(.accordion-animated) #content{-webkit-transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1);transition:max-height 300ms cubic-bezier(0.25, 0.8, 0.5, 1)}#content{overflow:hidden;will-change:max-height}:host(.accordion-collapsing) #content{max-height:0 !important}:host(.accordion-collapsed) #content{display:none}:host(.accordion-expanding) #content{max-height:0}:host(.accordion-expanding) #content-wrapper{overflow:auto}:host(.accordion-disabled) #header,:host(.accordion-readonly) #header,:host(.accordion-disabled) #content,:host(.accordion-readonly) #content{pointer-events:none}:host(.accordion-disabled) #header,:host(.accordion-disabled) #content{opacity:0.4}@media (prefers-reduced-motion: reduce){:host,#content{-webkit-transition:none !important;transition:none !important}}:host(.accordion-next) ::slotted(ion-item[slot=header]){--border-width:0.55px 0px 0.55px 0px}";
|
|
12
12
|
|
|
@@ -3,21 +3,21 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var buttonActive = require('./button-active-
|
|
8
|
-
var helpers = require('./helpers-
|
|
6
|
+
var index = require('./index-D6Wc6v08.js');
|
|
7
|
+
var buttonActive = require('./button-active-CMc8cD90.js');
|
|
8
|
+
var helpers = require('./helpers-DrTqNghc.js');
|
|
9
9
|
var lockController = require('./lock-controller-aDB9wrEf.js');
|
|
10
|
-
var overlays = require('./overlays-
|
|
10
|
+
var overlays = require('./overlays-DxIZwUXI.js');
|
|
11
11
|
var theme = require('./theme-CeDs6Hcv.js');
|
|
12
|
-
var ionicGlobal = require('./ionic-global-
|
|
13
|
-
var animation = require('./animation-
|
|
12
|
+
var ionicGlobal = require('./ionic-global-HMVqOFGO.js');
|
|
13
|
+
var animation = require('./animation-Bt3H9L1C.js');
|
|
14
14
|
require('./haptic-ClPPQ_PS.js');
|
|
15
15
|
require('./capacitor-DmA66EwP.js');
|
|
16
16
|
require('./index-DkNv4J_i.js');
|
|
17
17
|
require('./index-CAvQ7Tka.js');
|
|
18
18
|
require('./gesture-controller-dtqlP_q4.js');
|
|
19
|
-
require('./hardware-back-button-
|
|
20
|
-
require('./framework-delegate-
|
|
19
|
+
require('./hardware-back-button-VCK4V3mG.js');
|
|
20
|
+
require('./framework-delegate-DMJRBuDi.js');
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* iOS Action Sheet Enter Animation
|
|
@@ -3,22 +3,22 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var config = require('./config-
|
|
8
|
-
var buttonActive = require('./button-active-
|
|
9
|
-
var helpers = require('./helpers-
|
|
6
|
+
var index = require('./index-D6Wc6v08.js');
|
|
7
|
+
var config = require('./config-C5fsO43a.js');
|
|
8
|
+
var buttonActive = require('./button-active-CMc8cD90.js');
|
|
9
|
+
var helpers = require('./helpers-DrTqNghc.js');
|
|
10
10
|
var lockController = require('./lock-controller-aDB9wrEf.js');
|
|
11
|
-
var overlays = require('./overlays-
|
|
11
|
+
var overlays = require('./overlays-DxIZwUXI.js');
|
|
12
12
|
var theme = require('./theme-CeDs6Hcv.js');
|
|
13
|
-
var ionicGlobal = require('./ionic-global-
|
|
14
|
-
var animation = require('./animation-
|
|
13
|
+
var ionicGlobal = require('./ionic-global-HMVqOFGO.js');
|
|
14
|
+
var animation = require('./animation-Bt3H9L1C.js');
|
|
15
15
|
require('./haptic-ClPPQ_PS.js');
|
|
16
16
|
require('./capacitor-DmA66EwP.js');
|
|
17
17
|
require('./index-DkNv4J_i.js');
|
|
18
18
|
require('./index-CAvQ7Tka.js');
|
|
19
19
|
require('./gesture-controller-dtqlP_q4.js');
|
|
20
|
-
require('./hardware-back-button-
|
|
21
|
-
require('./framework-delegate-
|
|
20
|
+
require('./hardware-back-button-VCK4V3mG.js');
|
|
21
|
+
require('./framework-delegate-DMJRBuDi.js');
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* iOS Alert Enter Animation
|
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var hardwareBackButton = require('./hardware-back-button-
|
|
8
|
-
var ionicGlobal = require('./ionic-global-
|
|
9
|
-
var helpers = require('./helpers-
|
|
6
|
+
var index = require('./index-D6Wc6v08.js');
|
|
7
|
+
var hardwareBackButton = require('./hardware-back-button-VCK4V3mG.js');
|
|
8
|
+
var ionicGlobal = require('./ionic-global-HMVqOFGO.js');
|
|
9
|
+
var helpers = require('./helpers-DrTqNghc.js');
|
|
10
10
|
var dir = require('./dir-Cn0z1rJH.js');
|
|
11
11
|
var theme = require('./theme-CeDs6Hcv.js');
|
|
12
|
-
var index$1 = require('./index-
|
|
12
|
+
var index$1 = require('./index-CO6eryBo.js');
|
|
13
13
|
var keyboardController = require('./keyboard-controller-GXBiBRKS.js');
|
|
14
14
|
var cubicBezier = require('./cubic-bezier-DAjy1V-e.js');
|
|
15
|
-
var frameworkDelegate = require('./framework-delegate-
|
|
15
|
+
var frameworkDelegate = require('./framework-delegate-DMJRBuDi.js');
|
|
16
16
|
var lockController = require('./lock-controller-aDB9wrEf.js');
|
|
17
|
-
var index$2 = require('./index-
|
|
17
|
+
var index$2 = require('./index-094mMFB-.js');
|
|
18
18
|
require('./index-DkNv4J_i.js');
|
|
19
19
|
require('./keyboard-UuAS4D_9.js');
|
|
20
20
|
require('./capacitor-DmA66EwP.js');
|
|
@@ -30,10 +30,10 @@ const App = class {
|
|
|
30
30
|
rIC(async () => {
|
|
31
31
|
const isHybrid = ionicGlobal.isPlatform(window, 'hybrid');
|
|
32
32
|
if (!index.config.getBoolean('_testing')) {
|
|
33
|
-
Promise.resolve().then(function () { return require('./index-
|
|
33
|
+
Promise.resolve().then(function () { return require('./index-C534ULug.js'); }).then((module) => module.startTapClick(index.config));
|
|
34
34
|
}
|
|
35
35
|
if (index.config.getBoolean('statusTap', isHybrid)) {
|
|
36
|
-
Promise.resolve().then(function () { return require('./status-tap-
|
|
36
|
+
Promise.resolve().then(function () { return require('./status-tap-g0sWWkXk.js'); }).then((module) => module.startStatusTap());
|
|
37
37
|
}
|
|
38
38
|
if (index.config.getBoolean('inputShims', needInputShims())) {
|
|
39
39
|
/**
|
|
@@ -41,9 +41,9 @@ const App = class {
|
|
|
41
41
|
* platforms proceed into this block.
|
|
42
42
|
*/
|
|
43
43
|
const platform = ionicGlobal.isPlatform(window, 'ios') ? 'ios' : 'android';
|
|
44
|
-
Promise.resolve().then(function () { return require('./input-shims-
|
|
44
|
+
Promise.resolve().then(function () { return require('./input-shims-CW0KUFTQ.js'); }).then((module) => module.startInputShims(index.config, platform));
|
|
45
45
|
}
|
|
46
|
-
const hardwareBackButtonModule = await Promise.resolve().then(function () { return require('./hardware-back-button-
|
|
46
|
+
const hardwareBackButtonModule = await Promise.resolve().then(function () { return require('./hardware-back-button-VCK4V3mG.js'); });
|
|
47
47
|
const supportsHardwareBackButtonEvents = isHybrid || hardwareBackButton.shouldUseCloseWatcher();
|
|
48
48
|
if (index.config.getBoolean('hardwareBackButton', supportsHardwareBackButtonEvents)) {
|
|
49
49
|
hardwareBackButtonModule.startHardwareBackButton();
|
|
@@ -1131,7 +1131,7 @@ const RouterOutlet = class {
|
|
|
1131
1131
|
this.swipeHandler.onStart();
|
|
1132
1132
|
}
|
|
1133
1133
|
};
|
|
1134
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./swipe-back-
|
|
1134
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./swipe-back-BIayeNOD.js'); })).createSwipeBackGesture(this.el, () => !this.gestureOrAnimationInProgress && !!this.swipeHandler && this.swipeHandler.canStart(), () => onStart(), (step) => { var _a; return (_a = this.ani) === null || _a === void 0 ? void 0 : _a.progressStep(step); }, (shouldComplete, step, dur) => {
|
|
1135
1135
|
if (this.ani) {
|
|
1136
1136
|
this.ani.onFinish(() => {
|
|
1137
1137
|
this.gestureOrAnimationInProgress = false;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var ionicGlobal = require('./ionic-global-
|
|
6
|
+
var index = require('./index-D6Wc6v08.js');
|
|
7
|
+
var ionicGlobal = require('./ionic-global-HMVqOFGO.js');
|
|
8
8
|
var theme = require('./theme-CeDs6Hcv.js');
|
|
9
9
|
|
|
10
10
|
const avatarIosCss = ":host{border-radius:var(--border-radius);display:block}::slotted(ion-img),::slotted(img){border-radius:var(--border-radius);width:100%;height:100%;-o-object-fit:cover;object-fit:cover;overflow:hidden}:host{--border-radius:50%;width:48px;height:48px}";
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var helpers = require('./helpers-
|
|
6
|
+
var index = require('./index-D6Wc6v08.js');
|
|
7
|
+
var helpers = require('./helpers-DrTqNghc.js');
|
|
8
8
|
var theme = require('./theme-CeDs6Hcv.js');
|
|
9
9
|
var index$1 = require('./index-DqmRDbxg.js');
|
|
10
|
-
var ionicGlobal = require('./ionic-global-
|
|
10
|
+
var ionicGlobal = require('./ionic-global-HMVqOFGO.js');
|
|
11
11
|
|
|
12
12
|
const backButtonIosCss = ":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, #0054e9);--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}}";
|
|
13
13
|
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*/
|
|
4
4
|
'use strict';
|
|
5
5
|
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var ionicGlobal = require('./ionic-global-
|
|
6
|
+
var index = require('./index-D6Wc6v08.js');
|
|
7
|
+
var ionicGlobal = require('./ionic-global-HMVqOFGO.js');
|
|
8
8
|
|
|
9
9
|
const backdropIosCss = ":host{left:0;right:0;top:0;bottom:0;display:block;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);contain:strict;cursor:pointer;opacity:0.01;-ms-touch-action:none;touch-action:none;z-index:2}:host(.backdrop-hide){background:transparent}:host(.backdrop-no-tappable){cursor:auto}:host{background-color:var(--ion-backdrop-color, #000)}";
|
|
10
10
|
|