@ionic/core 7.5.5 → 7.5.6-dev.11700068172.15ce9b35
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/backdrop.js +0 -12
- package/components/gesture-controller.js +1 -1
- package/components/ion-content.js +1 -1
- package/components/overlays.js +5 -1
- package/dist/cjs/{button-active-af897e0e.js → button-active-cd07b55b.js} +1 -1
- package/dist/cjs/{gesture-controller-b46721be.js → gesture-controller-d6a3f907.js} +1 -0
- package/dist/cjs/{index-0ee995e4.js → index-0f8b33f8.js} +1 -1
- package/dist/cjs/index.cjs.js +3 -3
- package/dist/cjs/ion-action-sheet.cjs.entry.js +4 -4
- package/dist/cjs/ion-alert.cjs.entry.js +4 -4
- package/dist/cjs/ion-app_8.cjs.entry.js +2 -2
- package/dist/cjs/ion-backdrop.cjs.entry.js +0 -12
- package/dist/cjs/ion-datetime_3.cjs.entry.js +3 -2
- package/dist/cjs/ion-item-option_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-loading.cjs.entry.js +2 -1
- package/dist/cjs/ion-menu_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-modal.cjs.entry.js +3 -3
- package/dist/cjs/ion-nav_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-popover.cjs.entry.js +2 -1
- package/dist/cjs/ion-range.cjs.entry.js +1 -1
- package/dist/cjs/ion-refresher_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-reorder_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-select_3.cjs.entry.js +2 -1
- package/dist/cjs/ion-toast.cjs.entry.js +2 -1
- package/dist/cjs/ion-toggle.cjs.entry.js +1 -1
- package/dist/cjs/{overlays-2ffc5f27.js → overlays-bd057fe9.js} +5 -1
- package/dist/cjs/{swipe-back-d0412fb6.js → swipe-back-a6dc6e5d.js} +2 -2
- package/dist/collection/components/backdrop/backdrop.js +0 -12
- package/dist/collection/components/content/content.css +0 -4
- package/dist/collection/utils/gesture/gesture-controller.js +1 -1
- package/dist/collection/utils/overlays.js +5 -1
- package/dist/docs.json +1 -1
- package/dist/esm/{button-active-ce5cba4c.js → button-active-5b0516e7.js} +1 -1
- package/dist/esm/{gesture-controller-0fa396c4.js → gesture-controller-3723db7c.js} +1 -1
- package/dist/esm/{index-ff313b19.js → index-32cbee52.js} +2 -2
- package/dist/esm/index.js +3 -3
- package/dist/esm/ion-action-sheet.entry.js +4 -4
- package/dist/esm/ion-alert.entry.js +4 -4
- package/dist/esm/ion-app_8.entry.js +2 -2
- package/dist/esm/ion-backdrop.entry.js +0 -12
- package/dist/esm/ion-datetime_3.entry.js +3 -2
- package/dist/esm/ion-item-option_3.entry.js +1 -1
- package/dist/esm/ion-loading.entry.js +2 -1
- package/dist/esm/ion-menu_3.entry.js +3 -3
- package/dist/esm/ion-modal.entry.js +3 -3
- package/dist/esm/ion-nav_2.entry.js +1 -1
- package/dist/esm/ion-popover.entry.js +2 -1
- package/dist/esm/ion-range.entry.js +1 -1
- package/dist/esm/ion-refresher_2.entry.js +3 -3
- package/dist/esm/ion-reorder_2.entry.js +1 -1
- package/dist/esm/ion-segment_2.entry.js +1 -1
- package/dist/esm/ion-select_3.entry.js +2 -1
- package/dist/esm/ion-toast.entry.js +2 -1
- package/dist/esm/ion-toggle.entry.js +1 -1
- package/dist/esm/{overlays-6c9feb7e.js → overlays-ff6032c5.js} +5 -1
- package/dist/esm/{swipe-back-0f3bfc8e.js → swipe-back-cc4c2bcb.js} +2 -2
- package/dist/esm-es5/{button-active-ce5cba4c.js → button-active-5b0516e7.js} +1 -1
- package/dist/esm-es5/{gesture-controller-0fa396c4.js → gesture-controller-3723db7c.js} +1 -1
- package/dist/esm-es5/{index-ff313b19.js → index-32cbee52.js} +1 -1
- package/dist/esm-es5/index.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-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.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-popover.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-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.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/overlays-ff6032c5.js +4 -0
- package/dist/esm-es5/swipe-back-cc4c2bcb.js +4 -0
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-f3c82f74.system.entry.js → p-06e6d235.system.entry.js} +2 -2
- package/dist/ionic/p-0c244faf.entry.js +4 -0
- package/dist/ionic/p-0d69f9ba.system.entry.js +4 -0
- package/dist/ionic/{p-e0b06b65.js → p-100ef961.js} +1 -1
- package/dist/ionic/p-1478e926.entry.js +4 -0
- package/dist/ionic/p-16999b3c.system.entry.js +4 -0
- package/dist/ionic/{p-4fa201a7.entry.js → p-1c768684.entry.js} +1 -1
- package/dist/ionic/{p-34d2de14.system.entry.js → p-22813b28.system.entry.js} +1 -1
- package/dist/ionic/p-22dab144.entry.js +4 -0
- package/dist/ionic/p-2ad38423.system.entry.js +4 -0
- package/dist/ionic/{p-7176cea3.entry.js → p-2ba9414e.entry.js} +1 -1
- package/dist/ionic/{p-fa8d4788.system.js → p-2e1794df.system.js} +1 -1
- package/dist/ionic/{p-e627ed84.js → p-302091ab.js} +1 -1
- package/dist/ionic/p-39d2dfb7.system.js +4 -0
- package/dist/ionic/{p-4518e4c0.system.entry.js → p-39e6b75d.system.entry.js} +1 -1
- package/dist/ionic/p-3b9f68e8.system.entry.js +4 -0
- package/dist/ionic/{p-67ed452a.system.entry.js → p-3f88eab8.system.entry.js} +1 -1
- package/dist/ionic/p-40903d34.system.js +1 -1
- package/dist/ionic/p-44718ac2.entry.js +4 -0
- package/dist/ionic/{p-0dc0d9b5.entry.js → p-477a182e.entry.js} +1 -1
- package/dist/ionic/{p-3de79805.entry.js → p-56224549.entry.js} +1 -1
- package/dist/ionic/{p-ca5219df.entry.js → p-5ca3c897.entry.js} +1 -1
- package/dist/ionic/{p-965677f1.entry.js → p-5ce11143.entry.js} +1 -1
- package/dist/ionic/{p-09d142b3.system.js → p-5e8196d7.system.js} +1 -1
- package/dist/ionic/{p-9e852ff1.system.js → p-6500b298.system.js} +1 -1
- package/dist/ionic/p-69c23212.entry.js +4 -0
- package/dist/ionic/p-8257f8bd.entry.js +4 -0
- package/dist/ionic/{p-b2a74a72.entry.js → p-835e0346.entry.js} +1 -1
- package/dist/ionic/{p-39044fe6.system.entry.js → p-878c7aa5.system.entry.js} +1 -1
- package/dist/ionic/p-89f13082.system.entry.js +4 -0
- package/dist/ionic/{p-f37b4b79.entry.js → p-939d903b.entry.js} +1 -1
- package/dist/ionic/p-992d3bad.entry.js +4 -0
- package/dist/ionic/{p-1cb5f2f8.system.entry.js → p-99f3f7b8.system.entry.js} +1 -1
- package/dist/ionic/p-9c967a65.system.entry.js +4 -0
- package/dist/ionic/{p-6e23777e.system.entry.js → p-a4cda7a8.system.entry.js} +1 -1
- package/dist/ionic/{p-8b1be026.js → p-a7e2ac5c.js} +1 -1
- package/dist/ionic/{p-6d812360.system.entry.js → p-aa4d7f18.system.entry.js} +1 -1
- package/dist/ionic/{p-bed722c4.system.entry.js → p-b3e79338.system.entry.js} +1 -1
- package/dist/ionic/{p-73411c1b.entry.js → p-b99c615f.entry.js} +1 -1
- package/dist/ionic/p-bde283b8.js +4 -0
- package/dist/ionic/{p-377c636c.system.entry.js → p-c0c39ac0.system.entry.js} +1 -1
- package/dist/ionic/{p-db5043df.system.entry.js → p-c31fc05f.system.entry.js} +1 -1
- package/dist/ionic/{p-a936d224.system.js → p-c7fd81ba.system.js} +1 -1
- package/dist/ionic/{p-8e1bded3.entry.js → p-cf87db65.entry.js} +1 -1
- package/dist/ionic/p-dc565ca3.js +4 -0
- package/dist/ionic/p-e13c4ff0.system.entry.js +4 -0
- package/dist/ionic/p-e88ed07f.system.js +4 -0
- package/dist/ionic/{p-3ce8c3e3.entry.js → p-ee800093.entry.js} +1 -1
- package/dist/types/components/backdrop/backdrop.d.ts +0 -3
- package/dist/types/components/menu/menu.d.ts +1 -1
- package/dist/types/utils/gesture/gesture-controller.d.ts +1 -0
- package/hydrate/index.js +5 -13
- package/package.json +1 -1
- package/dist/esm-es5/overlays-6c9feb7e.js +0 -4
- package/dist/esm-es5/swipe-back-0f3bfc8e.js +0 -4
- package/dist/ionic/p-0d8e9393.entry.js +0 -4
- package/dist/ionic/p-18e01b30.system.entry.js +0 -4
- package/dist/ionic/p-1e5165db.system.entry.js +0 -4
- package/dist/ionic/p-63d519fb.entry.js +0 -4
- package/dist/ionic/p-64296b15.entry.js +0 -4
- package/dist/ionic/p-800ef057.js +0 -4
- package/dist/ionic/p-8dbdb163.system.js +0 -4
- package/dist/ionic/p-97e31c0a.system.js +0 -4
- package/dist/ionic/p-a5c1e6ce.entry.js +0 -4
- package/dist/ionic/p-a9c3699b.system.entry.js +0 -4
- package/dist/ionic/p-b17b7c3c.system.entry.js +0 -4
- package/dist/ionic/p-b203659a.system.entry.js +0 -4
- package/dist/ionic/p-b91fe549.entry.js +0 -4
- package/dist/ionic/p-c919498d.entry.js +0 -4
- package/dist/ionic/p-cf425ec5.system.entry.js +0 -4
- package/dist/ionic/p-ddfc4ef4.system.entry.js +0 -4
- package/dist/ionic/p-e6b240a0.js +0 -4
- package/dist/ionic/p-f54ddd19.entry.js +0 -4
package/components/backdrop.js
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
5
|
-
import { G as GESTURE_CONTROLLER } from './gesture-controller.js';
|
|
6
5
|
import { b as getIonMode } from './ionic-global.js';
|
|
7
6
|
|
|
8
7
|
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)}";
|
|
@@ -15,21 +14,10 @@ const Backdrop = /*@__PURE__*/ proxyCustomElement(class Backdrop extends HTMLEle
|
|
|
15
14
|
this.__registerHost();
|
|
16
15
|
this.__attachShadow();
|
|
17
16
|
this.ionBackdropTap = createEvent(this, "ionBackdropTap", 7);
|
|
18
|
-
this.blocker = GESTURE_CONTROLLER.createBlocker({
|
|
19
|
-
disableScroll: true,
|
|
20
|
-
});
|
|
21
17
|
this.visible = true;
|
|
22
18
|
this.tappable = true;
|
|
23
19
|
this.stopPropagation = true;
|
|
24
20
|
}
|
|
25
|
-
connectedCallback() {
|
|
26
|
-
if (this.stopPropagation) {
|
|
27
|
-
this.blocker.block();
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
disconnectedCallback() {
|
|
31
|
-
this.blocker.unblock();
|
|
32
|
-
}
|
|
33
21
|
onMouseDown(ev) {
|
|
34
22
|
this.emitTap(ev);
|
|
35
23
|
}
|
|
@@ -7,7 +7,7 @@ import { b as getIonMode, a as isPlatform } from './ionic-global.js';
|
|
|
7
7
|
import { i as isRTL } from './dir.js';
|
|
8
8
|
import { c as createColorClasses, h as hostContext } from './theme.js';
|
|
9
9
|
|
|
10
|
-
const contentCss = ":host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}
|
|
10
|
+
const contentCss = ":host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}#background-content{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}.inner-scroll{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);-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:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom));position:absolute;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;-ms-touch-action:pan-x pan-y pinch-zoom;touch-action:pan-x pan-y pinch-zoom}.scroll-y,.scroll-x{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}.scroll-y{overflow-y:var(--overflow);overscroll-behavior-y:contain}.scroll-x{overflow-x:var(--overflow);overscroll-behavior-x:contain}.overscroll::before,.overscroll::after{position:absolute;width:1px;height:1px;content:\"\"}.overscroll::before{bottom:-1px}.overscroll::after{top:-1px}:host(.content-sizing){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:0;contain:none}:host(.content-sizing) .inner-scroll{position:relative;top:0;bottom:0;margin-top:calc(var(--offset-top) * -1);margin-bottom:calc(var(--offset-bottom) * -1)}.transition-effect{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}:host(.content-ltr) .transition-effect{left:-100%;}:host(.content-rtl) .transition-effect{right:-100%;}.transition-cover{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}.transition-shadow{display:block;position:absolute;width:100%;height:100%;-webkit-box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03);box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03)}:host(.content-ltr) .transition-shadow{right:0;}:host(.content-rtl) .transition-shadow{left:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}::slotted([slot=fixed]){position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}";
|
|
11
11
|
|
|
12
12
|
const Content = /*@__PURE__*/ proxyCustomElement(class Content extends HTMLElement {
|
|
13
13
|
constructor() {
|
package/components/overlays.js
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import { d as doc } from './index5.js';
|
|
5
5
|
import { b as getIonMode, c as config } from './ionic-global.js';
|
|
6
6
|
import { C as CoreDelegate } from './framework-delegate.js';
|
|
7
|
+
import { B as BACKDROP_NO_SCROLL } from './gesture-controller.js';
|
|
7
8
|
import { OVERLAY_BACK_BUTTON_PRIORITY } from './hardware-back-button.js';
|
|
8
9
|
import { c as componentOnReady, f as focusElement, a as addEventListener, b as removeEventListener, g as getElementRoot } from './helpers.js';
|
|
9
10
|
import { p as printIonWarning } from './index6.js';
|
|
@@ -389,6 +390,7 @@ const present = async (overlay, name, iosEnterAnimation, mdEnterAnimation, opts)
|
|
|
389
390
|
return;
|
|
390
391
|
}
|
|
391
392
|
setRootAriaHidden(true);
|
|
393
|
+
document.body.classList.add(BACKDROP_NO_SCROLL);
|
|
392
394
|
overlay.presented = true;
|
|
393
395
|
overlay.willPresent.emit();
|
|
394
396
|
(_a = overlay.willPresentShorthand) === null || _a === void 0 ? void 0 : _a.emit();
|
|
@@ -451,12 +453,14 @@ const dismiss = async (overlay, data, role, name, iosLeaveAnimation, mdLeaveAnim
|
|
|
451
453
|
if (!overlay.presented) {
|
|
452
454
|
return false;
|
|
453
455
|
}
|
|
456
|
+
const lastOverlay = doc !== undefined && getPresentedOverlays(doc).length === 1;
|
|
454
457
|
/**
|
|
455
458
|
* If this is the last visible overlay then
|
|
456
459
|
* we want to re-add the root to the accessibility tree.
|
|
457
460
|
*/
|
|
458
|
-
if (
|
|
461
|
+
if (lastOverlay) {
|
|
459
462
|
setRootAriaHidden(false);
|
|
463
|
+
document.body.classList.remove(BACKDROP_NO_SCROLL);
|
|
460
464
|
}
|
|
461
465
|
overlay.presented = false;
|
|
462
466
|
try {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
const index$1 = require('./index-c2940dc1.js');
|
|
7
7
|
const haptic = require('./haptic-678abc9f.js');
|
|
8
|
-
const index = require('./index-
|
|
8
|
+
const index = require('./index-0f8b33f8.js');
|
|
9
9
|
|
|
10
10
|
const createButtonActiveGesture = (el, isButton) => {
|
|
11
11
|
let currentTouchedButton;
|
package/dist/cjs/index.cjs.js
CHANGED
|
@@ -10,16 +10,16 @@ const index = require('./index-573877f3.js');
|
|
|
10
10
|
const ios_transition = require('./ios.transition-ac909bc8.js');
|
|
11
11
|
const md_transition = require('./md.transition-907af519.js');
|
|
12
12
|
const cubicBezier = require('./cubic-bezier-6b9222ad.js');
|
|
13
|
-
const index$1 = require('./index-
|
|
13
|
+
const index$1 = require('./index-0f8b33f8.js');
|
|
14
14
|
const ionicGlobal = require('./ionic-global-ea2901a3.js');
|
|
15
15
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
16
16
|
const config = require('./config-d5882735.js');
|
|
17
17
|
const theme = require('./theme-fbc56b3b.js');
|
|
18
18
|
const index$2 = require('./index-d7561763.js');
|
|
19
|
-
const overlays = require('./overlays-
|
|
19
|
+
const overlays = require('./overlays-bd057fe9.js');
|
|
20
20
|
require('./index-306a7476.js');
|
|
21
21
|
require('./index-c2940dc1.js');
|
|
22
|
-
require('./gesture-controller-
|
|
22
|
+
require('./gesture-controller-d6a3f907.js');
|
|
23
23
|
require('./index-cc7dfb7c.js');
|
|
24
24
|
require('./hardware-back-button-b67c8e75.js');
|
|
25
25
|
require('./framework-delegate-c0873a6f.js');
|
|
@@ -6,18 +6,18 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-c2940dc1.js');
|
|
9
|
-
const buttonActive = require('./button-active-
|
|
9
|
+
const buttonActive = require('./button-active-cd07b55b.js');
|
|
10
10
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
11
11
|
const lockController = require('./lock-controller-4ae2eb59.js');
|
|
12
|
-
const overlays = require('./overlays-
|
|
12
|
+
const overlays = require('./overlays-bd057fe9.js');
|
|
13
13
|
const theme = require('./theme-fbc56b3b.js');
|
|
14
14
|
const ionicGlobal = require('./ionic-global-ea2901a3.js');
|
|
15
15
|
const animation = require('./animation-1083855c.js');
|
|
16
16
|
require('./haptic-678abc9f.js');
|
|
17
17
|
require('./capacitor-2ffba62a.js');
|
|
18
18
|
require('./index-306a7476.js');
|
|
19
|
-
require('./index-
|
|
20
|
-
require('./gesture-controller-
|
|
19
|
+
require('./index-0f8b33f8.js');
|
|
20
|
+
require('./gesture-controller-d6a3f907.js');
|
|
21
21
|
require('./framework-delegate-c0873a6f.js');
|
|
22
22
|
require('./hardware-back-button-b67c8e75.js');
|
|
23
23
|
require('./index-cc7dfb7c.js');
|
|
@@ -7,18 +7,18 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
7
7
|
|
|
8
8
|
const index = require('./index-c2940dc1.js');
|
|
9
9
|
const config = require('./config-d5882735.js');
|
|
10
|
-
const buttonActive = require('./button-active-
|
|
10
|
+
const buttonActive = require('./button-active-cd07b55b.js');
|
|
11
11
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
12
12
|
const lockController = require('./lock-controller-4ae2eb59.js');
|
|
13
|
-
const overlays = require('./overlays-
|
|
13
|
+
const overlays = require('./overlays-bd057fe9.js');
|
|
14
14
|
const theme = require('./theme-fbc56b3b.js');
|
|
15
15
|
const ionicGlobal = require('./ionic-global-ea2901a3.js');
|
|
16
16
|
const animation = require('./animation-1083855c.js');
|
|
17
17
|
require('./haptic-678abc9f.js');
|
|
18
18
|
require('./capacitor-2ffba62a.js');
|
|
19
19
|
require('./index-306a7476.js');
|
|
20
|
-
require('./index-
|
|
21
|
-
require('./gesture-controller-
|
|
20
|
+
require('./index-0f8b33f8.js');
|
|
21
|
+
require('./gesture-controller-d6a3f907.js');
|
|
22
22
|
require('./framework-delegate-c0873a6f.js');
|
|
23
23
|
require('./hardware-back-button-b67c8e75.js');
|
|
24
24
|
require('./index-cc7dfb7c.js');
|
|
@@ -135,7 +135,7 @@ Buttons.style = {
|
|
|
135
135
|
md: buttonsMdCss
|
|
136
136
|
};
|
|
137
137
|
|
|
138
|
-
const contentCss = ":host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}
|
|
138
|
+
const contentCss = ":host{--background:var(--ion-background-color, #fff);--color:var(--ion-text-color, #000);--padding-top:0px;--padding-bottom:0px;--padding-start:0px;--padding-end:0px;--keyboard-offset:0px;--offset-top:0px;--offset-bottom:0px;--overflow:auto;display:block;position:relative;-ms-flex:1;flex:1;width:100%;height:100%;margin:0 !important;padding:0 !important;font-family:var(--ion-font-family, inherit);contain:size style}:host(.ion-color) .inner-scroll{background:var(--ion-color-base);color:var(--ion-color-contrast)}#background-content{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);position:absolute;background:var(--background)}.inner-scroll{left:0px;right:0px;top:calc(var(--offset-top) * -1);bottom:calc(var(--offset-bottom) * -1);-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:calc(var(--padding-top) + var(--offset-top));padding-bottom:calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom));position:absolute;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;-ms-touch-action:pan-x pan-y pinch-zoom;touch-action:pan-x pan-y pinch-zoom}.scroll-y,.scroll-x{-webkit-overflow-scrolling:touch;z-index:0;will-change:scroll-position}.scroll-y{overflow-y:var(--overflow);overscroll-behavior-y:contain}.scroll-x{overflow-x:var(--overflow);overscroll-behavior-x:contain}.overscroll::before,.overscroll::after{position:absolute;width:1px;height:1px;content:\"\"}.overscroll::before{bottom:-1px}.overscroll::after{top:-1px}:host(.content-sizing){display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;min-height:0;contain:none}:host(.content-sizing) .inner-scroll{position:relative;top:0;bottom:0;margin-top:calc(var(--offset-top) * -1);margin-bottom:calc(var(--offset-bottom) * -1)}.transition-effect{display:none;position:absolute;width:100%;height:100vh;opacity:0;pointer-events:none}:host(.content-ltr) .transition-effect{left:-100%;}:host(.content-rtl) .transition-effect{right:-100%;}.transition-cover{position:absolute;right:0;width:100%;height:100%;background:black;opacity:0.1}.transition-shadow{display:block;position:absolute;width:100%;height:100%;-webkit-box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03);box-shadow:inset -9px 0 9px 0 rgba(0, 0, 100, 0.03)}:host(.content-ltr) .transition-shadow{right:0;}:host(.content-rtl) .transition-shadow{left:0;-webkit-transform:scaleX(-1);transform:scaleX(-1)}::slotted([slot=fixed]){position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0)}";
|
|
139
139
|
|
|
140
140
|
const Content = class {
|
|
141
141
|
constructor(hostRef) {
|
|
@@ -1014,7 +1014,7 @@ const RouterOutlet = class {
|
|
|
1014
1014
|
this.swipeHandler.onStart();
|
|
1015
1015
|
}
|
|
1016
1016
|
};
|
|
1017
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./swipe-back-
|
|
1017
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./swipe-back-a6dc6e5d.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) => {
|
|
1018
1018
|
if (this.ani) {
|
|
1019
1019
|
this.ani.onFinish(() => {
|
|
1020
1020
|
this.gestureOrAnimationInProgress = false;
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
7
7
|
|
|
8
8
|
const index = require('./index-c2940dc1.js');
|
|
9
|
-
const gestureController = require('./gesture-controller-b46721be.js');
|
|
10
9
|
const ionicGlobal = require('./ionic-global-ea2901a3.js');
|
|
11
10
|
|
|
12
11
|
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)}";
|
|
@@ -17,21 +16,10 @@ const Backdrop = class {
|
|
|
17
16
|
constructor(hostRef) {
|
|
18
17
|
index.registerInstance(this, hostRef);
|
|
19
18
|
this.ionBackdropTap = index.createEvent(this, "ionBackdropTap", 7);
|
|
20
|
-
this.blocker = gestureController.GESTURE_CONTROLLER.createBlocker({
|
|
21
|
-
disableScroll: true,
|
|
22
|
-
});
|
|
23
19
|
this.visible = true;
|
|
24
20
|
this.tappable = true;
|
|
25
21
|
this.stopPropagation = true;
|
|
26
22
|
}
|
|
27
|
-
connectedCallback() {
|
|
28
|
-
if (this.stopPropagation) {
|
|
29
|
-
this.blocker.block();
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
disconnectedCallback() {
|
|
33
|
-
this.blocker.unblock();
|
|
34
|
-
}
|
|
35
23
|
onMouseDown(ev) {
|
|
36
24
|
this.emitTap(ev);
|
|
37
25
|
}
|
|
@@ -15,11 +15,12 @@ const index$2 = require('./index-09471526.js');
|
|
|
15
15
|
const ionicGlobal = require('./ionic-global-ea2901a3.js');
|
|
16
16
|
const data = require('./data-c8d21093.js');
|
|
17
17
|
const lockController = require('./lock-controller-4ae2eb59.js');
|
|
18
|
-
const overlays = require('./overlays-
|
|
18
|
+
const overlays = require('./overlays-bd057fe9.js');
|
|
19
19
|
const animation = require('./animation-1083855c.js');
|
|
20
20
|
const haptic = require('./haptic-678abc9f.js');
|
|
21
21
|
require('./index-306a7476.js');
|
|
22
22
|
require('./framework-delegate-c0873a6f.js');
|
|
23
|
+
require('./gesture-controller-d6a3f907.js');
|
|
23
24
|
require('./hardware-back-button-b67c8e75.js');
|
|
24
25
|
require('./capacitor-2ffba62a.js');
|
|
25
26
|
|
|
@@ -2012,7 +2013,7 @@ const PickerColumnCmp = class {
|
|
|
2012
2013
|
}
|
|
2013
2014
|
this.rotateFactor = pickerRotateFactor;
|
|
2014
2015
|
this.scaleFactor = pickerScaleFactor;
|
|
2015
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./index-
|
|
2016
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./index-0f8b33f8.js'); })).createGesture({
|
|
2016
2017
|
el: this.el,
|
|
2017
2018
|
gestureName: 'picker-swipe',
|
|
2018
2019
|
gesturePriority: 100,
|
|
@@ -143,7 +143,7 @@ const ItemSliding = class {
|
|
|
143
143
|
await this.updateOptions();
|
|
144
144
|
});
|
|
145
145
|
await this.updateOptions();
|
|
146
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./index-
|
|
146
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./index-0f8b33f8.js'); })).createGesture({
|
|
147
147
|
el,
|
|
148
148
|
gestureName: 'item-swipe',
|
|
149
149
|
gesturePriority: 100,
|
|
@@ -9,12 +9,13 @@ const index = require('./index-c2940dc1.js');
|
|
|
9
9
|
const config = require('./config-d5882735.js');
|
|
10
10
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
11
11
|
const lockController = require('./lock-controller-4ae2eb59.js');
|
|
12
|
-
const overlays = require('./overlays-
|
|
12
|
+
const overlays = require('./overlays-bd057fe9.js');
|
|
13
13
|
const theme = require('./theme-fbc56b3b.js');
|
|
14
14
|
const ionicGlobal = require('./ionic-global-ea2901a3.js');
|
|
15
15
|
const animation = require('./animation-1083855c.js');
|
|
16
16
|
require('./index-306a7476.js');
|
|
17
17
|
require('./framework-delegate-c0873a6f.js');
|
|
18
|
+
require('./gesture-controller-d6a3f907.js');
|
|
18
19
|
require('./hardware-back-button-b67c8e75.js');
|
|
19
20
|
require('./index-cc7dfb7c.js');
|
|
20
21
|
|
|
@@ -7,10 +7,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
7
7
|
|
|
8
8
|
const index = require('./index-c2940dc1.js');
|
|
9
9
|
const cubicBezier = require('./cubic-bezier-6b9222ad.js');
|
|
10
|
-
const gestureController = require('./gesture-controller-
|
|
10
|
+
const gestureController = require('./gesture-controller-d6a3f907.js');
|
|
11
11
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
12
12
|
const index$1 = require('./index-d7561763.js');
|
|
13
|
-
const overlays = require('./overlays-
|
|
13
|
+
const overlays = require('./overlays-bd057fe9.js');
|
|
14
14
|
const ionicGlobal = require('./ionic-global-ea2901a3.js');
|
|
15
15
|
const theme = require('./theme-fbc56b3b.js');
|
|
16
16
|
const index$2 = require('./index-09471526.js');
|
|
@@ -133,7 +133,7 @@ const Menu = class {
|
|
|
133
133
|
// register this menu with the app's menu controller
|
|
134
134
|
index$1.menuController._register(this);
|
|
135
135
|
this.menuChanged();
|
|
136
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./index-
|
|
136
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./index-0f8b33f8.js'); })).createGesture({
|
|
137
137
|
el: document,
|
|
138
138
|
gestureName: 'menu-swipe',
|
|
139
139
|
gesturePriority: 30,
|
|
@@ -12,18 +12,18 @@ const helpers = require('./helpers-ea4ccbcb.js');
|
|
|
12
12
|
const lockController = require('./lock-controller-4ae2eb59.js');
|
|
13
13
|
const index$4 = require('./index-cc7dfb7c.js');
|
|
14
14
|
const capacitor = require('./capacitor-2ffba62a.js');
|
|
15
|
-
const overlays = require('./overlays-
|
|
15
|
+
const overlays = require('./overlays-bd057fe9.js');
|
|
16
16
|
const theme = require('./theme-fbc56b3b.js');
|
|
17
17
|
const index$5 = require('./index-573877f3.js');
|
|
18
18
|
const ionicGlobal = require('./ionic-global-ea2901a3.js');
|
|
19
19
|
const keyboard = require('./keyboard-38f2bb7b.js');
|
|
20
20
|
const animation = require('./animation-1083855c.js');
|
|
21
21
|
const cubicBezier = require('./cubic-bezier-6b9222ad.js');
|
|
22
|
-
const index$1 = require('./index-
|
|
22
|
+
const index$1 = require('./index-0f8b33f8.js');
|
|
23
23
|
const index = require('./index-306a7476.js');
|
|
24
|
+
require('./gesture-controller-d6a3f907.js');
|
|
24
25
|
require('./hardware-back-button-b67c8e75.js');
|
|
25
26
|
require('./keyboard-fd7db491.js');
|
|
26
|
-
require('./gesture-controller-b46721be.js');
|
|
27
27
|
|
|
28
28
|
var Style;
|
|
29
29
|
(function (Style) {
|
|
@@ -135,7 +135,7 @@ const Nav = class {
|
|
|
135
135
|
// We want to set this flag before any watch callbacks are manually called
|
|
136
136
|
this.didLoad = true;
|
|
137
137
|
this.rootChanged();
|
|
138
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./swipe-back-
|
|
138
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./swipe-back-a6dc6e5d.js'); })).createSwipeBackGesture(this.el, this.canStart.bind(this), this.onStart.bind(this), this.onMove.bind(this), this.onEnd.bind(this));
|
|
139
139
|
this.swipeGestureChanged();
|
|
140
140
|
}
|
|
141
141
|
connectedCallback() {
|
|
@@ -10,12 +10,13 @@ const frameworkDelegate = require('./framework-delegate-c0873a6f.js');
|
|
|
10
10
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
11
11
|
const lockController = require('./lock-controller-4ae2eb59.js');
|
|
12
12
|
const index$1 = require('./index-cc7dfb7c.js');
|
|
13
|
-
const overlays = require('./overlays-
|
|
13
|
+
const overlays = require('./overlays-bd057fe9.js');
|
|
14
14
|
const ionicGlobal = require('./ionic-global-ea2901a3.js');
|
|
15
15
|
const theme = require('./theme-fbc56b3b.js');
|
|
16
16
|
const index$2 = require('./index-573877f3.js');
|
|
17
17
|
const animation = require('./animation-1083855c.js');
|
|
18
18
|
require('./index-306a7476.js');
|
|
19
|
+
require('./gesture-controller-d6a3f907.js');
|
|
19
20
|
require('./hardware-back-button-b67c8e75.js');
|
|
20
21
|
|
|
21
22
|
/**
|
|
@@ -96,7 +96,7 @@ const Range = class {
|
|
|
96
96
|
this.setupGesture = async () => {
|
|
97
97
|
const rangeSlider = this.rangeSlider;
|
|
98
98
|
if (rangeSlider) {
|
|
99
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./index-
|
|
99
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./index-0f8b33f8.js'); })).createGesture({
|
|
100
100
|
el: rangeSlider,
|
|
101
101
|
gestureName: 'range',
|
|
102
102
|
gesturePriority: 100,
|
|
@@ -334,7 +334,7 @@ const Refresher = class {
|
|
|
334
334
|
});
|
|
335
335
|
};
|
|
336
336
|
this.scrollEl.addEventListener('scroll', this.scrollListenerCallback);
|
|
337
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./index-
|
|
337
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./index-0f8b33f8.js'); })).createGesture({
|
|
338
338
|
el: this.scrollEl,
|
|
339
339
|
gestureName: 'refresher',
|
|
340
340
|
gesturePriority: 31,
|
|
@@ -386,7 +386,7 @@ const Refresher = class {
|
|
|
386
386
|
refreshingCircle.style.setProperty('animation-delay', '-655ms');
|
|
387
387
|
});
|
|
388
388
|
}
|
|
389
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./index-
|
|
389
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./index-0f8b33f8.js'); })).createGesture({
|
|
390
390
|
el: this.scrollEl,
|
|
391
391
|
gestureName: 'refresher',
|
|
392
392
|
gesturePriority: 31,
|
|
@@ -512,7 +512,7 @@ const Refresher = class {
|
|
|
512
512
|
this.setupNativeRefresher(contentEl);
|
|
513
513
|
}
|
|
514
514
|
else {
|
|
515
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./index-
|
|
515
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./index-0f8b33f8.js'); })).createGesture({
|
|
516
516
|
el: contentEl,
|
|
517
517
|
gestureName: 'refresher',
|
|
518
518
|
gesturePriority: 31,
|
|
@@ -70,7 +70,7 @@ const ReorderGroup = class {
|
|
|
70
70
|
if (contentEl) {
|
|
71
71
|
this.scrollEl = await index$2.getScrollElement(contentEl);
|
|
72
72
|
}
|
|
73
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./index-
|
|
73
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./index-0f8b33f8.js'); })).createGesture({
|
|
74
74
|
el: this.el,
|
|
75
75
|
gestureName: 'reorder',
|
|
76
76
|
gesturePriority: 110,
|
|
@@ -124,7 +124,7 @@ const Segment = class {
|
|
|
124
124
|
*/
|
|
125
125
|
this.scrollActiveButtonIntoView(false);
|
|
126
126
|
});
|
|
127
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./index-
|
|
127
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./index-0f8b33f8.js'); })).createGesture({
|
|
128
128
|
el: this.el,
|
|
129
129
|
gestureName: 'segment',
|
|
130
130
|
gesturePriority: 100,
|
|
@@ -10,7 +10,7 @@ const formController = require('./form-controller-9343050c.js');
|
|
|
10
10
|
const notchController = require('./notch-controller-f4f6af5d.js');
|
|
11
11
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
12
12
|
const index$1 = require('./index-cc7dfb7c.js');
|
|
13
|
-
const overlays = require('./overlays-
|
|
13
|
+
const overlays = require('./overlays-bd057fe9.js');
|
|
14
14
|
const dir = require('./dir-f1e0ca26.js');
|
|
15
15
|
const theme = require('./theme-fbc56b3b.js');
|
|
16
16
|
const watchOptions = require('./watch-options-53bbb124.js');
|
|
@@ -18,6 +18,7 @@ const index$2 = require('./index-09471526.js');
|
|
|
18
18
|
const ionicGlobal = require('./ionic-global-ea2901a3.js');
|
|
19
19
|
require('./index-306a7476.js');
|
|
20
20
|
require('./framework-delegate-c0873a6f.js');
|
|
21
|
+
require('./gesture-controller-d6a3f907.js');
|
|
21
22
|
require('./hardware-back-button-b67c8e75.js');
|
|
22
23
|
|
|
23
24
|
const selectIosCss = ":host{--padding-top:0px;--padding-end:0px;--padding-bottom:0px;--padding-start:0px;--placeholder-color:currentColor;--placeholder-opacity:0.6;--background:transparent;--border-style:solid;--highlight-color-focused:var(--ion-color-primary, #3880ff);--highlight-color-valid:var(--ion-color-success, #2dd36f);--highlight-color-invalid:var(--ion-color-danger, #eb445a);--highlight-color:var(--highlight-color-focused);display:block;position:relative;font-family:var(--ion-font-family, inherit);white-space:nowrap;cursor:pointer;z-index:2}:host(:not(.legacy-select)){width:100%;min-height:44px}:host(.select-label-placement-floating),:host(.select-label-placement-stacked){min-height:56px}:host(.ion-color){--highlight-color-focused:var(--ion-color-base)}:host(.legacy-select){-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);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;overflow:hidden}:host(.in-item.legacy-select){position:static;max-width:45%}:host(.select-disabled){pointer-events:none}:host(.ion-focused) button{border:2px solid #5e9ed6}:host([slot=start]:not(.legacy-select)),:host([slot=end]:not(.legacy-select)){width:auto}.select-placeholder{color:var(--placeholder-color);opacity:var(--placeholder-opacity)}:host(.legacy-select) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-select) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-select) label{left:0}:host-context([dir=rtl]):host(.legacy-select) label,:host-context([dir=rtl]).legacy-select label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-select:dir(rtl)) label{left:unset;right:unset;right:0}}}:host(.legacy-select) label::-moz-focus-inner{border:0}button{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.select-icon{-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0;position:relative}:host(.in-item-color) .select-icon{color:inherit}:host(.select-label-placement-stacked) .select-icon,:host(.select-label-placement-floating) .select-icon{position:absolute;height:100%}:host(.select-ltr.select-label-placement-stacked) .select-icon,:host(.select-ltr.select-label-placement-floating) .select-icon{right:var(--padding-end, 0)}:host(.select-rtl.select-label-placement-stacked) .select-icon,:host(.select-rtl.select-label-placement-floating) .select-icon{left:var(--padding-start, 0)}.select-text{-ms-flex:1;flex:1;min-width:16px;font-size:inherit;text-overflow:ellipsis;white-space:inherit;overflow:hidden}.select-wrapper{-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);border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;min-height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;background:var(--background);line-height:normal;cursor:inherit;-webkit-box-sizing:border-box;box-sizing:border-box}.select-wrapper .select-placeholder{-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1)}:host(.ion-touched.ion-invalid){--highlight-color:var(--highlight-color-invalid)}:host(.ion-valid){--highlight-color:var(--highlight-color-valid)}.label-text-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;max-width:200px;-webkit-transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:color 150ms cubic-bezier(0.4, 0, 0.2, 1), transform 150ms cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 150ms cubic-bezier(0.4, 0, 0.2, 1);pointer-events:none}.label-text,::slotted([slot=label]){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden,.select-outline-notch-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-webkit-transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);transition:opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden}:host(.select-justify-space-between) .select-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.select-justify-start) .select-wrapper{-ms-flex-pack:start;justify-content:start}:host(.select-justify-end) .select-wrapper{-ms-flex-pack:end;justify-content:end}:host(.select-label-placement-start) .select-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.select-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-end) .select-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}:host(.select-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:0;margin-bottom:0}:host(.select-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.select-label-placement-stacked) .select-wrapper,:host(.select-label-placement-floating) .select-wrapper{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:start}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-label-placement-floating) .label-text-wrapper{max-width:100%}:host(.select-ltr.select-label-placement-stacked) .label-text-wrapper,:host(.select-ltr.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host(.select-rtl.select-label-placement-stacked) .label-text-wrapper,:host(.select-rtl.select-label-placement-floating) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{margin-left:0;margin-right:0;margin-top:1px;margin-bottom:0;-ms-flex-positive:1;flex-grow:1;width:100%}:host(.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(100%) scale(1);transform:translateY(100%) scale(1)}:host(.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:0}:host(.select-expanded.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.ion-focused.select-label-placement-floating) .native-wrapper .select-placeholder,:host(.has-value.select-label-placement-floating) .native-wrapper .select-placeholder{opacity:1}:host(.select-label-placement-stacked) .label-text-wrapper,:host(.select-expanded.select-label-placement-floating) .label-text-wrapper,:host(.ion-focused.select-label-placement-floating) .label-text-wrapper,:host(.has-value.select-label-placement-floating) .label-text-wrapper{-webkit-transform:translateY(50%) scale(0.75);transform:translateY(50%) scale(0.75);max-width:calc(100% / 0.75)}:host(.legacy-select){--padding-top:10px;--padding-end:8px;--padding-bottom:10px;--padding-start:16px}.select-icon{width:1.125rem;height:1.125rem;color:var(--ion-color-step-650, #595959)}:host(.select-label-placement-stacked) .native-wrapper,:host(.select-label-placement-floating) .native-wrapper{width:calc(100% - 1.125rem - 4px)}:host(.select-disabled){opacity:0.3}";
|
|
@@ -10,12 +10,13 @@ const config = require('./config-d5882735.js');
|
|
|
10
10
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
11
11
|
const lockController = require('./lock-controller-4ae2eb59.js');
|
|
12
12
|
const index$1 = require('./index-cc7dfb7c.js');
|
|
13
|
-
const overlays = require('./overlays-
|
|
13
|
+
const overlays = require('./overlays-bd057fe9.js');
|
|
14
14
|
const theme = require('./theme-fbc56b3b.js');
|
|
15
15
|
const ionicGlobal = require('./ionic-global-ea2901a3.js');
|
|
16
16
|
const animation = require('./animation-1083855c.js');
|
|
17
17
|
const index = require('./index-306a7476.js');
|
|
18
18
|
require('./framework-delegate-c0873a6f.js');
|
|
19
|
+
require('./gesture-controller-d6a3f907.js');
|
|
19
20
|
require('./hardware-back-button-b67c8e75.js');
|
|
20
21
|
|
|
21
22
|
/**
|
|
@@ -37,7 +37,7 @@ const Toggle = class {
|
|
|
37
37
|
this.setupGesture = async () => {
|
|
38
38
|
const { toggleTrack } = this;
|
|
39
39
|
if (toggleTrack) {
|
|
40
|
-
this.gesture = (await Promise.resolve().then(function () { return require('./index-
|
|
40
|
+
this.gesture = (await Promise.resolve().then(function () { return require('./index-0f8b33f8.js'); })).createGesture({
|
|
41
41
|
el: toggleTrack,
|
|
42
42
|
gestureName: 'toggle',
|
|
43
43
|
gesturePriority: 100,
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
const index = require('./index-306a7476.js');
|
|
7
7
|
const ionicGlobal = require('./ionic-global-ea2901a3.js');
|
|
8
8
|
const frameworkDelegate = require('./framework-delegate-c0873a6f.js');
|
|
9
|
+
const gestureController = require('./gesture-controller-d6a3f907.js');
|
|
9
10
|
const hardwareBackButton = require('./hardware-back-button-b67c8e75.js');
|
|
10
11
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
11
12
|
const index$1 = require('./index-cc7dfb7c.js');
|
|
@@ -391,6 +392,7 @@ const present = async (overlay, name, iosEnterAnimation, mdEnterAnimation, opts)
|
|
|
391
392
|
return;
|
|
392
393
|
}
|
|
393
394
|
setRootAriaHidden(true);
|
|
395
|
+
document.body.classList.add(gestureController.BACKDROP_NO_SCROLL);
|
|
394
396
|
overlay.presented = true;
|
|
395
397
|
overlay.willPresent.emit();
|
|
396
398
|
(_a = overlay.willPresentShorthand) === null || _a === void 0 ? void 0 : _a.emit();
|
|
@@ -453,12 +455,14 @@ const dismiss = async (overlay, data, role, name, iosLeaveAnimation, mdLeaveAnim
|
|
|
453
455
|
if (!overlay.presented) {
|
|
454
456
|
return false;
|
|
455
457
|
}
|
|
458
|
+
const lastOverlay = index.doc !== undefined && getPresentedOverlays(index.doc).length === 1;
|
|
456
459
|
/**
|
|
457
460
|
* If this is the last visible overlay then
|
|
458
461
|
* we want to re-add the root to the accessibility tree.
|
|
459
462
|
*/
|
|
460
|
-
if (
|
|
463
|
+
if (lastOverlay) {
|
|
461
464
|
setRootAriaHidden(false);
|
|
465
|
+
document.body.classList.remove(gestureController.BACKDROP_NO_SCROLL);
|
|
462
466
|
}
|
|
463
467
|
overlay.presented = false;
|
|
464
468
|
try {
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
const helpers = require('./helpers-ea4ccbcb.js');
|
|
7
7
|
const dir = require('./dir-f1e0ca26.js');
|
|
8
|
-
const index = require('./index-
|
|
9
|
-
require('./gesture-controller-
|
|
8
|
+
const index = require('./index-0f8b33f8.js');
|
|
9
|
+
require('./gesture-controller-d6a3f907.js');
|
|
10
10
|
|
|
11
11
|
const createSwipeBackGesture = (el, canStartHandler, onStartHandler, onMoveHandler, onEndHandler) => {
|
|
12
12
|
const win = el.ownerDocument.defaultView;
|
|
@@ -2,25 +2,13 @@
|
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
4
|
import { Host, h } from "@stencil/core";
|
|
5
|
-
import { GESTURE_CONTROLLER } from "../../utils/gesture/index";
|
|
6
5
|
import { getIonMode } from "../../global/ionic-global";
|
|
7
6
|
export class Backdrop {
|
|
8
7
|
constructor() {
|
|
9
|
-
this.blocker = GESTURE_CONTROLLER.createBlocker({
|
|
10
|
-
disableScroll: true,
|
|
11
|
-
});
|
|
12
8
|
this.visible = true;
|
|
13
9
|
this.tappable = true;
|
|
14
10
|
this.stopPropagation = true;
|
|
15
11
|
}
|
|
16
|
-
connectedCallback() {
|
|
17
|
-
if (this.stopPropagation) {
|
|
18
|
-
this.blocker.block();
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
disconnectedCallback() {
|
|
22
|
-
this.blocker.unblock();
|
|
23
|
-
}
|
|
24
12
|
onMouseDown(ev) {
|
|
25
13
|
this.emitTap(ev);
|
|
26
14
|
}
|
|
@@ -5,6 +5,7 @@ import { doc } from "./browser/index";
|
|
|
5
5
|
import { config } from "../global/config";
|
|
6
6
|
import { getIonMode } from "../global/ionic-global";
|
|
7
7
|
import { CoreDelegate } from "./framework-delegate";
|
|
8
|
+
import { BACKDROP_NO_SCROLL } from "./gesture/gesture-controller";
|
|
8
9
|
import { OVERLAY_BACK_BUTTON_PRIORITY } from "./hardware-back-button";
|
|
9
10
|
import { addEventListener, componentOnReady, focusElement, getElementRoot, removeEventListener } from "./helpers";
|
|
10
11
|
import { printIonWarning } from "./logging";
|
|
@@ -389,6 +390,7 @@ export const present = async (overlay, name, iosEnterAnimation, mdEnterAnimation
|
|
|
389
390
|
return;
|
|
390
391
|
}
|
|
391
392
|
setRootAriaHidden(true);
|
|
393
|
+
document.body.classList.add(BACKDROP_NO_SCROLL);
|
|
392
394
|
overlay.presented = true;
|
|
393
395
|
overlay.willPresent.emit();
|
|
394
396
|
(_a = overlay.willPresentShorthand) === null || _a === void 0 ? void 0 : _a.emit();
|
|
@@ -451,12 +453,14 @@ export const dismiss = async (overlay, data, role, name, iosLeaveAnimation, mdLe
|
|
|
451
453
|
if (!overlay.presented) {
|
|
452
454
|
return false;
|
|
453
455
|
}
|
|
456
|
+
const lastOverlay = doc !== undefined && getPresentedOverlays(doc).length === 1;
|
|
454
457
|
/**
|
|
455
458
|
* If this is the last visible overlay then
|
|
456
459
|
* we want to re-add the root to the accessibility tree.
|
|
457
460
|
*/
|
|
458
|
-
if (
|
|
461
|
+
if (lastOverlay) {
|
|
459
462
|
setRootAriaHidden(false);
|
|
463
|
+
document.body.classList.remove(BACKDROP_NO_SCROLL);
|
|
460
464
|
}
|
|
461
465
|
overlay.presented = false;
|
|
462
466
|
try {
|
package/dist/docs.json
CHANGED