@ionic/core 8.7.18-dev.11769790854.11895f8f → 8.7.18-dev.11770238549.14c2a85f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ion-item-divider.js +2 -2
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +2 -2
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-loading.js +2 -2
- package/components/ion-menu-button.js +2 -2
- package/components/ion-menu-toggle.js +2 -2
- package/components/ion-menu.js +2 -2
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +2 -2
- package/components/ion-picker-legacy.js +2 -2
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-range.js +3 -3
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-router-link.js +2 -2
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +4 -4
- package/components/ion-segment-button.js +2 -2
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +2 -2
- package/components/ion-segment.js +2 -2
- package/components/ion-select-option.js +1 -1
- package/components/ion-select.js +2 -2
- package/components/ion-skeleton-text.js +2 -2
- package/components/ion-split-pane.js +2 -2
- package/components/ion-tab-bar.js +2 -2
- package/components/ion-tab-button.js +2 -2
- package/components/ion-tab.js +2 -2
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +2 -2
- package/components/ion-textarea.js +2 -2
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-toast.js +2 -2
- package/components/ion-toggle.js +3 -3
- package/components/label.js +2 -2
- package/components/list-header.js +2 -2
- package/components/modal.js +12 -220
- package/components/picker-column-option.js +2 -2
- package/components/picker-column2.js +2 -2
- package/components/popover.js +13 -85
- package/components/radio-group.js +1 -1
- package/components/radio.js +3 -3
- package/components/ripple-effect.js +1 -1
- package/components/select-modal.js +1 -1
- package/components/select-popover.js +1 -1
- package/components/spinner.js +1 -1
- package/components/title.js +2 -2
- package/components/toolbar.js +2 -2
- package/dist/cjs/ion-app_8.cjs.entry.js +5 -5
- package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-col_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-datetime_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +11 -11
- package/dist/cjs/ion-loading.cjs.entry.js +2 -2
- package/dist/cjs/ion-menu_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-modal.cjs.entry.js +12 -220
- package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +13 -85
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +4 -4
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-select-modal.cjs.entry.js +1 -1
- package/dist/cjs/ion-select_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
- 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 +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +2 -2
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/collection/components/item-divider/item-divider.js +2 -2
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.js +2 -2
- package/dist/collection/components/item-options/item-options.js +1 -1
- package/dist/collection/components/item-sliding/item-sliding.js +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/list-header/list-header.js +2 -2
- package/dist/collection/components/loading/loading.js +2 -2
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu-button/menu-button.js +2 -2
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/gestures/sheet.js +1 -3
- package/dist/collection/components/modal/gestures/swipe-to-close.js +1 -3
- package/dist/collection/components/modal/modal.ios.css +4 -0
- package/dist/collection/components/modal/modal.js +7 -215
- package/dist/collection/components/modal/modal.md.css +4 -0
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
- package/dist/collection/components/picker-legacy/picker.js +2 -2
- package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
- package/dist/collection/components/popover/animations/ios.enter.js +5 -21
- package/dist/collection/components/popover/animations/md.enter.js +5 -30
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/popover/utils.js +1 -32
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio/radio.js +3 -3
- package/dist/collection/components/radio-group/radio-group.js +1 -1
- package/dist/collection/components/range/range.js +3 -3
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +1 -1
- package/dist/collection/components/reorder/reorder.js +1 -1
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-outlet/router-outlet.js +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +4 -4
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment-button/segment-button.js +2 -2
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.js +2 -2
- package/dist/collection/components/select/select.js +2 -2
- package/dist/collection/components/select-modal/select-modal.js +1 -1
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +1 -1
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/thumbnail/thumbnail.js +1 -1
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/docs.json +1 -1
- package/dist/esm/ion-app_8.entry.js +5 -5
- package/dist/esm/ion-avatar_3.entry.js +1 -1
- package/dist/esm/ion-col_3.entry.js +1 -1
- package/dist/esm/ion-datetime_3.entry.js +4 -4
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +11 -11
- package/dist/esm/ion-loading.entry.js +2 -2
- package/dist/esm/ion-menu_3.entry.js +6 -6
- package/dist/esm/ion-modal.entry.js +12 -220
- package/dist/esm/ion-nav_2.entry.js +2 -2
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +13 -85
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +4 -4
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher_2.entry.js +2 -2
- package/dist/esm/ion-reorder_2.entry.js +2 -2
- package/dist/esm/ion-ripple-effect.entry.js +1 -1
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +4 -4
- package/dist/esm/ion-segment-content.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +4 -4
- package/dist/esm/ion-select-modal.entry.js +1 -1
- package/dist/esm/ion-select_3.entry.js +4 -4
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +4 -4
- 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 +2 -2
- package/dist/esm/ion-toast.entry.js +2 -2
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-074839fc.entry.js → p-01e27965.entry.js} +1 -1
- package/dist/ionic/p-0ca0fe9c.entry.js +4 -0
- package/dist/ionic/{p-316c0420.entry.js → p-221a3d8c.entry.js} +1 -1
- package/dist/ionic/{p-3a6caca9.entry.js → p-2668188b.entry.js} +1 -1
- package/dist/ionic/{p-d3014190.entry.js → p-2bd1ea35.entry.js} +1 -1
- package/dist/ionic/{p-a127bee2.entry.js → p-30333874.entry.js} +1 -1
- package/dist/ionic/{p-0e8c8a10.entry.js → p-31db96da.entry.js} +1 -1
- package/dist/ionic/{p-1647c46c.entry.js → p-363d1209.entry.js} +1 -1
- package/dist/ionic/p-3ec563c1.entry.js +4 -0
- package/dist/ionic/{p-c19af093.entry.js → p-42db6404.entry.js} +1 -1
- package/dist/ionic/{p-db82892c.entry.js → p-46a38cfd.entry.js} +1 -1
- package/dist/ionic/{p-eb024a5b.entry.js → p-4eec1a5e.entry.js} +1 -1
- package/dist/ionic/{p-0dfa5a37.entry.js → p-530fcd71.entry.js} +1 -1
- package/dist/ionic/{p-72c38b88.entry.js → p-5c8f7253.entry.js} +1 -1
- package/dist/ionic/{p-172a579f.entry.js → p-5d6fb6e3.entry.js} +1 -1
- package/dist/ionic/{p-dbbe606a.entry.js → p-652318c3.entry.js} +1 -1
- package/dist/ionic/{p-2a939845.entry.js → p-6f37536a.entry.js} +1 -1
- package/dist/ionic/{p-4e41ea20.entry.js → p-72af946b.entry.js} +1 -1
- package/dist/ionic/p-7f98e710.entry.js +4 -0
- package/dist/ionic/{p-6d070558.entry.js → p-82d5bb3d.entry.js} +1 -1
- package/dist/ionic/p-906bb44d.entry.js +4 -0
- package/dist/ionic/{p-2dbb90cb.entry.js → p-97eb0812.entry.js} +1 -1
- package/dist/ionic/{p-31f7095f.entry.js → p-a4a9f5ae.entry.js} +1 -1
- package/dist/ionic/{p-86f53961.entry.js → p-b8551510.entry.js} +1 -1
- package/dist/ionic/p-bc293244.entry.js +4 -0
- package/dist/ionic/{p-d126e8d3.entry.js → p-bce86e56.entry.js} +1 -1
- package/dist/ionic/{p-02d76786.entry.js → p-be263062.entry.js} +1 -1
- package/dist/ionic/{p-639dd543.entry.js → p-c175d792.entry.js} +1 -1
- package/dist/ionic/{p-020af078.entry.js → p-cc2a9936.entry.js} +1 -1
- package/dist/ionic/{p-1ccd6829.entry.js → p-e338f669.entry.js} +1 -1
- package/dist/ionic/{p-6241ce47.entry.js → p-eaf3f5ff.entry.js} +1 -1
- package/dist/ionic/{p-f8f22cc0.entry.js → p-fb0271ae.entry.js} +1 -1
- package/dist/ionic/{p-370e4237.entry.js → p-fbb00634.entry.js} +1 -1
- package/dist/types/components/modal/gestures/sheet.d.ts +1 -1
- package/dist/types/components/modal/gestures/swipe-to-close.d.ts +1 -1
- package/dist/types/components/modal/modal.d.ts +0 -47
- package/dist/types/components/popover/utils.d.ts +0 -2
- package/hydrate/index.js +112 -392
- package/hydrate/index.mjs +112 -392
- package/package.json +2 -4
- package/dist/ionic/p-51a60e0f.entry.js +0 -4
- package/dist/ionic/p-94de5cfa.entry.js +0 -4
- package/dist/ionic/p-dd1aef77.entry.js +0 -4
- package/dist/ionic/p-ec9ca3fe.entry.js +0 -4
- package/dist/ionic/p-ef4256eb.entry.js +0 -4
package/hydrate/index.js
CHANGED
|
@@ -18573,11 +18573,11 @@ class ItemDivider {
|
|
|
18573
18573
|
}
|
|
18574
18574
|
render() {
|
|
18575
18575
|
const mode = getIonMode$1(this);
|
|
18576
|
-
return (hAsync(Host, { key: '
|
|
18576
|
+
return (hAsync(Host, { key: 'ee8b2c8d5e415c0d8badf84fa7670932da4e809e', class: createColorClasses$1(this.color, {
|
|
18577
18577
|
[mode]: true,
|
|
18578
18578
|
'item-divider-sticky': this.sticky,
|
|
18579
18579
|
item: true,
|
|
18580
|
-
}) }, hAsync("slot", { key: '
|
|
18580
|
+
}) }, hAsync("slot", { key: 'a1b7bbb1a008b0a56887f130d166931033801746', name: "start" }), hAsync("div", { key: '9d572da46ab616bdf881098e96aa6796a249507f', class: "item-divider-inner" }, hAsync("div", { key: 'a57a2c17093b74b9e4f8fd2778230a440b293aa1', class: "item-divider-wrapper" }, hAsync("slot", { key: 'ef15ebf58f3acd4b4d1b7c51144e26c3759dba49' })), hAsync("slot", { key: '1787c2400534301fe72b8ec213d0ce1e8f75b65a', name: "end" }))));
|
|
18581
18581
|
}
|
|
18582
18582
|
get el() { return getElement(this); }
|
|
18583
18583
|
static get style() { return {
|
|
@@ -18607,7 +18607,7 @@ class ItemGroup {
|
|
|
18607
18607
|
}
|
|
18608
18608
|
render() {
|
|
18609
18609
|
const mode = getIonMode$1(this);
|
|
18610
|
-
return (hAsync(Host, { key: '
|
|
18610
|
+
return (hAsync(Host, { key: 'f1743af1d075682f63fae3802c5c5bf050507563', role: "group", class: {
|
|
18611
18611
|
[mode]: true,
|
|
18612
18612
|
// Used internally for styling
|
|
18613
18613
|
[`item-group-${mode}`]: true,
|
|
@@ -18677,12 +18677,12 @@ class ItemOption {
|
|
|
18677
18677
|
href: this.href,
|
|
18678
18678
|
target: this.target,
|
|
18679
18679
|
};
|
|
18680
|
-
return (hAsync(Host, { key: '
|
|
18680
|
+
return (hAsync(Host, { key: '058310ac361612c16f2ef70c74279ba7c24128c5', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
18681
18681
|
[mode]: true,
|
|
18682
18682
|
'item-option-disabled': disabled,
|
|
18683
18683
|
'item-option-expandable': expandable,
|
|
18684
18684
|
'ion-activatable': true,
|
|
18685
|
-
}) }, hAsync(TagType, Object.assign({ key: '
|
|
18685
|
+
}) }, hAsync(TagType, Object.assign({ key: '045052656ab652bec065d421950fe9ea00dc1141' }, attrs, { class: "button-native", part: "native", disabled: disabled }), hAsync("span", { key: '988b9166c0dda3c822a99ceace4c105339b2465b', class: "button-inner" }, hAsync("slot", { key: '8050b870ada6b09283f8acbcbb6d2bd1c76508b3', name: "top" }), hAsync("div", { key: 'a206e7b09e660c878ce3c5b61d018e8cdd89dc55', class: "horizontal-wrapper" }, hAsync("slot", { key: '394e5e4ce14cd19b5d5eafca29bb9f971f5f0741', name: "start" }), hAsync("slot", { key: 'dd4c3a1bee7622df40a3d8f2a298045b772f1600', name: "icon-only" }), hAsync("slot", { key: '318f3ec97b722c5e7df1a78b1e0439f919d0aacc' }), hAsync("slot", { key: 'fff6a9a602cf7bd698528982f91742a2d36ea245', name: "end" })), hAsync("slot", { key: '26b4bb155701d8080b486dbad7bb9a6d2e35182c', name: "bottom" })), mode === 'md' && hAsync("ion-ripple-effect", { key: '152b74643bf0f5725c39bfdbb940f0f32ec83d58' }))));
|
|
18686
18686
|
}
|
|
18687
18687
|
get el() { return getElement(this); }
|
|
18688
18688
|
static get style() { return {
|
|
@@ -18731,7 +18731,7 @@ class ItemOptions {
|
|
|
18731
18731
|
render() {
|
|
18732
18732
|
const mode = getIonMode$1(this);
|
|
18733
18733
|
const isEnd = isEndSide(this.side);
|
|
18734
|
-
return (hAsync(Host, { key: '
|
|
18734
|
+
return (hAsync(Host, { key: '7b4b93984182222c64c7a2a22a18e52ac19e3049', class: {
|
|
18735
18735
|
[mode]: true,
|
|
18736
18736
|
// Used internally for styling
|
|
18737
18737
|
[`item-options-${mode}`]: true,
|
|
@@ -19196,7 +19196,7 @@ class ItemSliding {
|
|
|
19196
19196
|
}
|
|
19197
19197
|
render() {
|
|
19198
19198
|
const mode = getIonMode$1(this);
|
|
19199
|
-
return (hAsync(Host, { key: '
|
|
19199
|
+
return (hAsync(Host, { key: '8fd81d74701402294a48b79c56d6eceadafd4881', class: {
|
|
19200
19200
|
[mode]: true,
|
|
19201
19201
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
19202
19202
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -19301,13 +19301,13 @@ class Label {
|
|
|
19301
19301
|
render() {
|
|
19302
19302
|
const position = this.position;
|
|
19303
19303
|
const mode = getIonMode$1(this);
|
|
19304
|
-
return (hAsync(Host, { key: '
|
|
19304
|
+
return (hAsync(Host, { key: '684ddfa719e34d743489ff05a0df067829257c73', class: createColorClasses$1(this.color, {
|
|
19305
19305
|
[mode]: true,
|
|
19306
19306
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
19307
19307
|
[`label-${position}`]: position !== undefined,
|
|
19308
19308
|
[`label-no-animate`]: this.noAnimate,
|
|
19309
19309
|
'label-rtl': document.dir === 'rtl',
|
|
19310
|
-
}) }, hAsync("slot", { key: '
|
|
19310
|
+
}) }, hAsync("slot", { key: '4aace3e2b36250e832c44f63bea21116d77220fb' })));
|
|
19311
19311
|
}
|
|
19312
19312
|
get el() { return getElement(this); }
|
|
19313
19313
|
static get watchers() { return {
|
|
@@ -19405,10 +19405,10 @@ class ListHeader {
|
|
|
19405
19405
|
render() {
|
|
19406
19406
|
const { lines } = this;
|
|
19407
19407
|
const mode = getIonMode$1(this);
|
|
19408
|
-
return (hAsync(Host, { key: '
|
|
19408
|
+
return (hAsync(Host, { key: '2e529021279761b2b2889885437f619b0e8f71c4', class: createColorClasses$1(this.color, {
|
|
19409
19409
|
[mode]: true,
|
|
19410
19410
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
19411
|
-
}) }, hAsync("div", { key: '
|
|
19411
|
+
}) }, hAsync("div", { key: '9a6a11b0db015df79374f6489a40b959bc80b3e4', class: "list-header-inner" }, hAsync("slot", { key: 'ef347fc6afb47850797e2e4d1aeefcd6a318f789' }))));
|
|
19412
19412
|
}
|
|
19413
19413
|
static get style() { return {
|
|
19414
19414
|
ios: listHeaderIosCss,
|
|
@@ -19693,9 +19693,9 @@ class Loading {
|
|
|
19693
19693
|
* Otherwise, don't set aria-labelledby.
|
|
19694
19694
|
*/
|
|
19695
19695
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
19696
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
19696
|
+
return (hAsync(Host, Object.assign({ key: 'f86ddbc600cb5c396b7de38fb5f49625388c3c3f', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
19697
19697
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
19698
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: '
|
|
19698
|
+
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: 'b53727aaddc37ef3c685fcc150c6d5193290a847', visible: this.showBackdrop, tappable: this.backdropDismiss }), hAsync("div", { key: '4c61bede8e0a4e47daa6f1f9d0f364ef6aec0bc3', tabindex: "0", "aria-hidden": "true" }), hAsync("div", { key: '84e51ceb07118f1eaeb757df28801c255496931b', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (hAsync("div", { key: 'fc97f1912e0fc558b7c309a5bc084415f5f620b2', class: "loading-spinner" }, hAsync("ion-spinner", { key: '6e186d856cd3f10f22c3e317ef00f31b4216459c', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), hAsync("div", { key: 'dcbe9d9a619daa1c08174e73827bdabeb59dde92', tabindex: "0", "aria-hidden": "true" })));
|
|
19699
19699
|
}
|
|
19700
19700
|
get el() { return getElement(this); }
|
|
19701
19701
|
static get watchers() { return {
|
|
@@ -20744,14 +20744,14 @@ class Menu {
|
|
|
20744
20744
|
* the ionBackButton listener in the menu controller
|
|
20745
20745
|
* will handle closing the menu when Escape is pressed.
|
|
20746
20746
|
*/
|
|
20747
|
-
return (hAsync(Host, { key: '
|
|
20747
|
+
return (hAsync(Host, { key: '29ef73894e2795e4ce23e59888ffb87faf4dd543', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
20748
20748
|
[mode]: true,
|
|
20749
20749
|
[`menu-type-${type}`]: true,
|
|
20750
20750
|
'menu-enabled': !disabled,
|
|
20751
20751
|
[`menu-side-${side}`]: true,
|
|
20752
20752
|
'menu-pane-visible': isPaneVisible,
|
|
20753
20753
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
20754
|
-
} }, hAsync("div", { key: '
|
|
20754
|
+
} }, hAsync("div", { key: '22e44f7bd602ee0c96550f0dfc22ac81c0033ad6', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, hAsync("slot", { key: '7bbef92fe03bb3ce4d3981eb8535aab449aab2fc' })), hAsync("ion-backdrop", { key: '9ab8d5b61563e16b212c71c03869d4fc23a0400b', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
20755
20755
|
}
|
|
20756
20756
|
get el() { return getElement(this); }
|
|
20757
20757
|
static get watchers() { return {
|
|
@@ -20859,7 +20859,7 @@ class MenuButton {
|
|
|
20859
20859
|
type: this.type,
|
|
20860
20860
|
};
|
|
20861
20861
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
20862
|
-
return (hAsync(Host, { key: '
|
|
20862
|
+
return (hAsync(Host, { key: 'dcade732e366f0687d92cb9ce4065b78b0b41d24', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses$1(color, {
|
|
20863
20863
|
[mode]: true,
|
|
20864
20864
|
button: true, // ion-buttons target .button
|
|
20865
20865
|
'menu-button-hidden': hidden,
|
|
@@ -20868,7 +20868,7 @@ class MenuButton {
|
|
|
20868
20868
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
20869
20869
|
'ion-activatable': true,
|
|
20870
20870
|
'ion-focusable': true,
|
|
20871
|
-
}) }, hAsync("button", Object.assign({ key: '
|
|
20871
|
+
}) }, hAsync("button", Object.assign({ key: '7c4a449e239679376f38471d95fd602f9caec5f6' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), hAsync("span", { key: '8bb5bf453280a66109198c970b678ad800c7a8cf', class: "button-inner" }, hAsync("slot", { key: '7f78b1e7a0695f2bd600d13ca81f50dd8b965726' }, hAsync("ion-icon", { key: '9f67f5bb06b1f03a6e5df9ecbe23ebf69fb40756', part: "icon", icon: menuIcon, mode: mode, lazy: false, "aria-hidden": "true" }))), mode === 'md' && hAsync("ion-ripple-effect", { key: '10be7145c614144e94c3cc0b92dc5ee4e1587fe6', type: "unbounded" }))));
|
|
20872
20872
|
}
|
|
20873
20873
|
get el() { return getElement(this); }
|
|
20874
20874
|
static get style() { return {
|
|
@@ -20921,10 +20921,10 @@ class MenuToggle {
|
|
|
20921
20921
|
render() {
|
|
20922
20922
|
const mode = getIonMode$1(this);
|
|
20923
20923
|
const hidden = this.autoHide && !this.visible;
|
|
20924
|
-
return (hAsync(Host, { key: '
|
|
20924
|
+
return (hAsync(Host, { key: '55135952f3a42cb5d21916dfb7b169d894b381e3', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
20925
20925
|
[mode]: true,
|
|
20926
20926
|
'menu-toggle-hidden': hidden,
|
|
20927
|
-
} }, hAsync("slot", { key: '
|
|
20927
|
+
} }, hAsync("slot", { key: 'e8ecb59a6ec075b07e2a1b8fcdf7df3dd9975a03' })));
|
|
20928
20928
|
}
|
|
20929
20929
|
static get style() { return menuToggleCss; }
|
|
20930
20930
|
static get cmpMeta() { return {
|
|
@@ -21581,7 +21581,7 @@ const calculateSpringStep = (t) => {
|
|
|
21581
21581
|
const SwipeToCloseDefaults = {
|
|
21582
21582
|
MIN_PRESENTING_SCALE: 0.915,
|
|
21583
21583
|
};
|
|
21584
|
-
const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss
|
|
21584
|
+
const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss) => {
|
|
21585
21585
|
/**
|
|
21586
21586
|
* The step value at which a card modal
|
|
21587
21587
|
* is eligible for dismissing via gesture.
|
|
@@ -21738,8 +21738,6 @@ const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss, onG
|
|
|
21738
21738
|
const processedStep = isAttemptingDismissWithCanDismiss ? calculateSpringStep(step / maxStep) : step;
|
|
21739
21739
|
const clampedStep = clamp(0.0001, processedStep, maxStep);
|
|
21740
21740
|
animation.progressStep(clampedStep);
|
|
21741
|
-
// Notify modal of position change for safe-area updates
|
|
21742
|
-
onGestureMove === null || onGestureMove === void 0 ? void 0 : onGestureMove();
|
|
21743
21741
|
/**
|
|
21744
21742
|
* When swiping down half way, the status bar style
|
|
21745
21743
|
* should be reset to its default value.
|
|
@@ -22283,7 +22281,7 @@ const mdLeaveAnimation$2 = (baseEl, opts) => {
|
|
|
22283
22281
|
return baseAnimation;
|
|
22284
22282
|
};
|
|
22285
22283
|
|
|
22286
|
-
const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, backdropBreakpoint, animation, breakpoints = [], expandToScroll, getCurrentBreakpoint, onDismiss, onBreakpointChange
|
|
22284
|
+
const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, backdropBreakpoint, animation, breakpoints = [], expandToScroll, getCurrentBreakpoint, onDismiss, onBreakpointChange) => {
|
|
22287
22285
|
// Defaults for the sheet swipe animation
|
|
22288
22286
|
const defaultBackdrop = [
|
|
22289
22287
|
{ offset: 0, opacity: 'var(--backdrop-opacity)' },
|
|
@@ -22614,8 +22612,6 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
22614
22612
|
: step;
|
|
22615
22613
|
offset = clamp(0.0001, processedStep, maxStep);
|
|
22616
22614
|
animation.progressStep(offset);
|
|
22617
|
-
// Notify modal of position change for safe-area updates
|
|
22618
|
-
onGestureMove === null || onGestureMove === void 0 ? void 0 : onGestureMove();
|
|
22619
22615
|
};
|
|
22620
22616
|
const onEnd = (detail) => {
|
|
22621
22617
|
/**
|
|
@@ -22810,9 +22806,9 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
22810
22806
|
};
|
|
22811
22807
|
};
|
|
22812
22808
|
|
|
22813
|
-
const modalIosCss = ":host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:\"\"}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}:host(.modal-card){--backdrop-opacity:0;--width:100%;-ms-flex-align:end;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{-webkit-box-shadow:none;box-shadow:none}:host(.modal-card) .modal-shadow{-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}";
|
|
22809
|
+
const modalIosCss = ":host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:\"\"}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}:host(.modal-card){--backdrop-opacity:0;--width:100%;-ms-flex-align:end;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{-webkit-box-shadow:none;box-shadow:none}:host(.modal-card) .modal-shadow{-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}";
|
|
22814
22810
|
|
|
22815
|
-
const modalMdCss = ":host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:\"\"}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{-webkit-transform:translate3d(0, 40px, 0);transform:translate3d(0, 40px, 0);opacity:0.01}";
|
|
22811
|
+
const modalMdCss = ":host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-radius:0;--border-width:0;--border-style:none;--border-color:transparent;--background:var(--ion-background-color, #fff);--box-shadow:none;--backdrop-opacity:0;left:0;right:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;color:var(--ion-text-color, #000);contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{left:0px;right:0px;top:5px;border-radius:8px;-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;width:36px;height:5px;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be));cursor:pointer;z-index:11}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;position:absolute;width:36px;height:5px;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:\"\"}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.32)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:2px;--box-shadow:0 28px 48px rgba(0, 0, 0, 0.4)}}.modal-wrapper{-webkit-transform:translate3d(0, 40px, 0);transform:translate3d(0, 40px, 0);opacity:0.01}";
|
|
22816
22812
|
|
|
22817
22813
|
// TODO(FW-2832): types
|
|
22818
22814
|
/**
|
|
@@ -22845,10 +22841,6 @@ class Modal {
|
|
|
22845
22841
|
this.inline = false;
|
|
22846
22842
|
// Whether or not modal is being dismissed via gesture
|
|
22847
22843
|
this.gestureAnimationDismissing = false;
|
|
22848
|
-
// Whether to skip coordinate-based safe-area detection (for fullscreen phone modals)
|
|
22849
|
-
this.skipSafeAreaCoordinateDetection = false;
|
|
22850
|
-
// Track previous safe-area state to avoid redundant DOM writes
|
|
22851
|
-
this.prevSafeAreaState = { top: false, bottom: false, left: false, right: false };
|
|
22852
22844
|
this.presented = false;
|
|
22853
22845
|
/** @internal */
|
|
22854
22846
|
this.hasController = false;
|
|
@@ -23039,10 +23031,7 @@ class Modal {
|
|
|
23039
23031
|
}
|
|
23040
23032
|
}
|
|
23041
23033
|
onWindowResize() {
|
|
23042
|
-
//
|
|
23043
|
-
this.cachedSafeAreas = undefined;
|
|
23044
|
-
this.updateSafeAreaOverrides();
|
|
23045
|
-
// Only handle view transition for iOS card modals when no custom animations are provided
|
|
23034
|
+
// Only handle resize for iOS card modals when no custom animations are provided
|
|
23046
23035
|
if (getIonMode$1(this) !== 'ios' || !this.presentingElement || this.enterAnimation || this.leaveAnimation) {
|
|
23047
23036
|
return;
|
|
23048
23037
|
}
|
|
@@ -23065,8 +23054,6 @@ class Modal {
|
|
|
23065
23054
|
this.triggerController.removeClickListener();
|
|
23066
23055
|
this.cleanupViewTransitionListener();
|
|
23067
23056
|
this.cleanupParentRemovalObserver();
|
|
23068
|
-
// Reset safe-area state to handle removal without dismiss (e.g., framework unmount)
|
|
23069
|
-
this.resetSafeAreaState();
|
|
23070
23057
|
}
|
|
23071
23058
|
componentWillLoad() {
|
|
23072
23059
|
var _a;
|
|
@@ -23226,8 +23213,6 @@ class Modal {
|
|
|
23226
23213
|
else if (!this.keepContentsMounted) {
|
|
23227
23214
|
await waitForMount();
|
|
23228
23215
|
}
|
|
23229
|
-
// Predict safe-area needs based on modal configuration to avoid visual snap
|
|
23230
|
-
this.setInitialSafeAreaOverrides(presentingElement);
|
|
23231
23216
|
writeTask(() => this.el.classList.add('show-modal'));
|
|
23232
23217
|
const hasCardModal = presentingElement !== undefined;
|
|
23233
23218
|
/**
|
|
@@ -23289,8 +23274,6 @@ class Modal {
|
|
|
23289
23274
|
else if (hasCardModal) {
|
|
23290
23275
|
this.initSwipeToClose();
|
|
23291
23276
|
}
|
|
23292
|
-
// Now that animation is complete, update safe-area based on actual position
|
|
23293
|
-
this.updateSafeAreaOverrides();
|
|
23294
23277
|
// Initialize view transition listener for iOS card modals
|
|
23295
23278
|
this.initViewTransitionListener();
|
|
23296
23279
|
// Initialize parent removal observer
|
|
@@ -23342,7 +23325,7 @@ class Modal {
|
|
|
23342
23325
|
await this.dismiss(undefined, GESTURE);
|
|
23343
23326
|
this.gestureAnimationDismissing = false;
|
|
23344
23327
|
});
|
|
23345
|
-
}
|
|
23328
|
+
});
|
|
23346
23329
|
this.gesture.enable(true);
|
|
23347
23330
|
}
|
|
23348
23331
|
initSheetGesture() {
|
|
@@ -23363,8 +23346,7 @@ class Modal {
|
|
|
23363
23346
|
this.currentBreakpoint = breakpoint;
|
|
23364
23347
|
this.ionBreakpointDidChange.emit({ breakpoint });
|
|
23365
23348
|
}
|
|
23366
|
-
|
|
23367
|
-
}, () => this.updateSafeAreaOverrides());
|
|
23349
|
+
});
|
|
23368
23350
|
this.gesture = gesture;
|
|
23369
23351
|
this.moveSheetToBreakpoint = moveSheetToBreakpoint;
|
|
23370
23352
|
this.gesture.enable(true);
|
|
@@ -23442,194 +23424,6 @@ class Modal {
|
|
|
23442
23424
|
// Clear the cached reference
|
|
23443
23425
|
this.cachedPageParent = undefined;
|
|
23444
23426
|
}
|
|
23445
|
-
/**
|
|
23446
|
-
* Sets initial safe-area overrides based on modal configuration before
|
|
23447
|
-
* the modal becomes visible. This predicts whether the modal will touch
|
|
23448
|
-
* screen edges to avoid a visual snap after animation completes.
|
|
23449
|
-
*/
|
|
23450
|
-
setInitialSafeAreaOverrides(presentingElement) {
|
|
23451
|
-
const style = this.el.style;
|
|
23452
|
-
const mode = getIonMode$1(this);
|
|
23453
|
-
const isSheetModal = this.breakpoints !== undefined && this.initialBreakpoint !== undefined;
|
|
23454
|
-
// Card modals only exist in iOS mode - in MD mode, presentingElement is ignored
|
|
23455
|
-
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
23456
|
-
const isTablet = window.innerWidth >= 768;
|
|
23457
|
-
// Sheet modals always touch bottom edge, never top/left/right
|
|
23458
|
-
if (isSheetModal) {
|
|
23459
|
-
style.setProperty('--ion-safe-area-top', '0px');
|
|
23460
|
-
style.setProperty('--ion-safe-area-left', '0px');
|
|
23461
|
-
style.setProperty('--ion-safe-area-right', '0px');
|
|
23462
|
-
return;
|
|
23463
|
-
}
|
|
23464
|
-
// Card modals have rounded top corners
|
|
23465
|
-
if (isCardModal) {
|
|
23466
|
-
style.setProperty('--ion-safe-area-top', '0px');
|
|
23467
|
-
if (isTablet) {
|
|
23468
|
-
// On tablets, card modals are inset from all edges
|
|
23469
|
-
this.zeroAllSafeAreas();
|
|
23470
|
-
}
|
|
23471
|
-
else {
|
|
23472
|
-
// On phones, card modals still extend to the bottom edge
|
|
23473
|
-
style.setProperty('--ion-safe-area-left', '0px');
|
|
23474
|
-
style.setProperty('--ion-safe-area-right', '0px');
|
|
23475
|
-
this.applyFullscreenSafeArea();
|
|
23476
|
-
}
|
|
23477
|
-
return;
|
|
23478
|
-
}
|
|
23479
|
-
// Check if modal is fullscreen via CSS custom properties
|
|
23480
|
-
// This applies to both phone and tablet sizes - custom modals may have
|
|
23481
|
-
// non-fullscreen dimensions even on phones (e.g., --height: 70%)
|
|
23482
|
-
const computedStyle = getComputedStyle(this.el);
|
|
23483
|
-
const width = computedStyle.getPropertyValue('--width').trim();
|
|
23484
|
-
const height = computedStyle.getPropertyValue('--height').trim();
|
|
23485
|
-
const isFullscreen = width === '100%' && height === '100%';
|
|
23486
|
-
if (isFullscreen) {
|
|
23487
|
-
this.applyFullscreenSafeArea();
|
|
23488
|
-
}
|
|
23489
|
-
else if (isTablet) {
|
|
23490
|
-
// Centered dialog on tablet doesn't touch edges
|
|
23491
|
-
this.zeroAllSafeAreas();
|
|
23492
|
-
}
|
|
23493
|
-
else ;
|
|
23494
|
-
}
|
|
23495
|
-
/**
|
|
23496
|
-
* Applies safe-area handling for fullscreen modals.
|
|
23497
|
-
* Adds wrapper padding when no footer is present to prevent
|
|
23498
|
-
* content from overlapping system navigation areas.
|
|
23499
|
-
*/
|
|
23500
|
-
applyFullscreenSafeArea() {
|
|
23501
|
-
this.skipSafeAreaCoordinateDetection = true;
|
|
23502
|
-
this.updateFooterPadding();
|
|
23503
|
-
// Watch for dynamic footer additions/removals (e.g., async data loading)
|
|
23504
|
-
// Use subtree:true to support wrapped footers in framework components
|
|
23505
|
-
// (e.g., <my-footer><ion-footer>...</ion-footer></my-footer>)
|
|
23506
|
-
if (!this.footerObserver && win$1 !== undefined && 'MutationObserver' in win$1) {
|
|
23507
|
-
this.footerObserver = new MutationObserver(() => this.updateFooterPadding());
|
|
23508
|
-
this.footerObserver.observe(this.el, { childList: true, subtree: true });
|
|
23509
|
-
}
|
|
23510
|
-
}
|
|
23511
|
-
/**
|
|
23512
|
-
* Updates wrapper and shadow padding based on footer presence.
|
|
23513
|
-
* Called initially and when footer is dynamically added/removed.
|
|
23514
|
-
* Both elements must be styled identically to prevent visual mismatches.
|
|
23515
|
-
*/
|
|
23516
|
-
updateFooterPadding() {
|
|
23517
|
-
if (!this.wrapperEl)
|
|
23518
|
-
return;
|
|
23519
|
-
const hasFooter = this.el.querySelector('ion-footer') !== null;
|
|
23520
|
-
// Apply to both wrapper and shadow to keep them in sync
|
|
23521
|
-
const elements = [this.wrapperEl, this.shadowEl].filter(Boolean);
|
|
23522
|
-
if (hasFooter) {
|
|
23523
|
-
elements.forEach((el) => {
|
|
23524
|
-
el.style.removeProperty('padding-bottom');
|
|
23525
|
-
el.style.removeProperty('box-sizing');
|
|
23526
|
-
});
|
|
23527
|
-
}
|
|
23528
|
-
else {
|
|
23529
|
-
elements.forEach((el) => {
|
|
23530
|
-
el.style.setProperty('padding-bottom', 'var(--ion-safe-area-bottom, 0px)');
|
|
23531
|
-
el.style.setProperty('box-sizing', 'border-box');
|
|
23532
|
-
});
|
|
23533
|
-
}
|
|
23534
|
-
}
|
|
23535
|
-
/**
|
|
23536
|
-
* Sets all safe-area CSS variables to 0px for modals that
|
|
23537
|
-
* don't touch screen edges.
|
|
23538
|
-
*/
|
|
23539
|
-
zeroAllSafeAreas() {
|
|
23540
|
-
const style = this.el.style;
|
|
23541
|
-
style.setProperty('--ion-safe-area-top', '0px');
|
|
23542
|
-
style.setProperty('--ion-safe-area-bottom', '0px');
|
|
23543
|
-
style.setProperty('--ion-safe-area-left', '0px');
|
|
23544
|
-
style.setProperty('--ion-safe-area-right', '0px');
|
|
23545
|
-
}
|
|
23546
|
-
/**
|
|
23547
|
-
* Resets all safe-area related state and styles.
|
|
23548
|
-
* Called during dismiss and disconnectedCallback to ensure clean state
|
|
23549
|
-
* for re-presentation of inline modals.
|
|
23550
|
-
*/
|
|
23551
|
-
resetSafeAreaState() {
|
|
23552
|
-
var _a;
|
|
23553
|
-
this.skipSafeAreaCoordinateDetection = false;
|
|
23554
|
-
this.cachedSafeAreas = undefined;
|
|
23555
|
-
this.prevSafeAreaState = { top: false, bottom: false, left: false, right: false };
|
|
23556
|
-
(_a = this.footerObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
23557
|
-
this.footerObserver = undefined;
|
|
23558
|
-
// Clear wrapper and shadow styles that may have been set for safe-area handling
|
|
23559
|
-
[this.wrapperEl, this.shadowEl].forEach((el) => {
|
|
23560
|
-
if (el) {
|
|
23561
|
-
el.style.removeProperty('padding-bottom');
|
|
23562
|
-
el.style.removeProperty('box-sizing');
|
|
23563
|
-
}
|
|
23564
|
-
});
|
|
23565
|
-
// Clear safe-area CSS variable overrides
|
|
23566
|
-
const style = this.el.style;
|
|
23567
|
-
style.removeProperty('--ion-safe-area-top');
|
|
23568
|
-
style.removeProperty('--ion-safe-area-bottom');
|
|
23569
|
-
style.removeProperty('--ion-safe-area-left');
|
|
23570
|
-
style.removeProperty('--ion-safe-area-right');
|
|
23571
|
-
}
|
|
23572
|
-
/**
|
|
23573
|
-
* Gets the root safe-area values from the document element.
|
|
23574
|
-
* Uses cached values during gestures to avoid getComputedStyle calls.
|
|
23575
|
-
*/
|
|
23576
|
-
getSafeAreaValues() {
|
|
23577
|
-
if (!this.cachedSafeAreas) {
|
|
23578
|
-
const rootStyle = getComputedStyle(document.documentElement);
|
|
23579
|
-
this.cachedSafeAreas = {
|
|
23580
|
-
top: parseFloat(rootStyle.getPropertyValue('--ion-safe-area-top')) || 0,
|
|
23581
|
-
bottom: parseFloat(rootStyle.getPropertyValue('--ion-safe-area-bottom')) || 0,
|
|
23582
|
-
left: parseFloat(rootStyle.getPropertyValue('--ion-safe-area-left')) || 0,
|
|
23583
|
-
right: parseFloat(rootStyle.getPropertyValue('--ion-safe-area-right')) || 0,
|
|
23584
|
-
};
|
|
23585
|
-
}
|
|
23586
|
-
return this.cachedSafeAreas;
|
|
23587
|
-
}
|
|
23588
|
-
/**
|
|
23589
|
-
* Updates safe-area CSS variable overrides based on whether the modal
|
|
23590
|
-
* extends into each safe-area region. Called after animation
|
|
23591
|
-
* and during gestures to handle dynamic position changes.
|
|
23592
|
-
*
|
|
23593
|
-
* Optimized to avoid redundant DOM writes by tracking previous state.
|
|
23594
|
-
*/
|
|
23595
|
-
updateSafeAreaOverrides() {
|
|
23596
|
-
if (this.skipSafeAreaCoordinateDetection) {
|
|
23597
|
-
return;
|
|
23598
|
-
}
|
|
23599
|
-
const wrapper = this.wrapperEl;
|
|
23600
|
-
if (!wrapper) {
|
|
23601
|
-
return;
|
|
23602
|
-
}
|
|
23603
|
-
const rect = wrapper.getBoundingClientRect();
|
|
23604
|
-
const safeAreas = this.getSafeAreaValues();
|
|
23605
|
-
const extendsIntoTop = rect.top < safeAreas.top;
|
|
23606
|
-
const extendsIntoBottom = rect.bottom > window.innerHeight - safeAreas.bottom;
|
|
23607
|
-
const extendsIntoLeft = rect.left < safeAreas.left;
|
|
23608
|
-
const extendsIntoRight = rect.right > window.innerWidth - safeAreas.right;
|
|
23609
|
-
// Only update DOM when state actually changes
|
|
23610
|
-
const prev = this.prevSafeAreaState;
|
|
23611
|
-
const style = this.el.style;
|
|
23612
|
-
if (extendsIntoTop !== prev.top) {
|
|
23613
|
-
extendsIntoTop ? style.removeProperty('--ion-safe-area-top') : style.setProperty('--ion-safe-area-top', '0px');
|
|
23614
|
-
prev.top = extendsIntoTop;
|
|
23615
|
-
}
|
|
23616
|
-
if (extendsIntoBottom !== prev.bottom) {
|
|
23617
|
-
extendsIntoBottom
|
|
23618
|
-
? style.removeProperty('--ion-safe-area-bottom')
|
|
23619
|
-
: style.setProperty('--ion-safe-area-bottom', '0px');
|
|
23620
|
-
prev.bottom = extendsIntoBottom;
|
|
23621
|
-
}
|
|
23622
|
-
if (extendsIntoLeft !== prev.left) {
|
|
23623
|
-
extendsIntoLeft ? style.removeProperty('--ion-safe-area-left') : style.setProperty('--ion-safe-area-left', '0px');
|
|
23624
|
-
prev.left = extendsIntoLeft;
|
|
23625
|
-
}
|
|
23626
|
-
if (extendsIntoRight !== prev.right) {
|
|
23627
|
-
extendsIntoRight
|
|
23628
|
-
? style.removeProperty('--ion-safe-area-right')
|
|
23629
|
-
: style.setProperty('--ion-safe-area-right', '0px');
|
|
23630
|
-
prev.right = extendsIntoRight;
|
|
23631
|
-
}
|
|
23632
|
-
}
|
|
23633
23427
|
sheetOnDismiss() {
|
|
23634
23428
|
/**
|
|
23635
23429
|
* While the gesture animation is finishing
|
|
@@ -23722,8 +23516,6 @@ class Modal {
|
|
|
23722
23516
|
}
|
|
23723
23517
|
this.currentBreakpoint = undefined;
|
|
23724
23518
|
this.animation = undefined;
|
|
23725
|
-
// Reset safe-area state for potential re-presentation
|
|
23726
|
-
this.resetSafeAreaState();
|
|
23727
23519
|
unlock();
|
|
23728
23520
|
return dismissed;
|
|
23729
23521
|
}
|
|
@@ -23973,20 +23765,20 @@ class Modal {
|
|
|
23973
23765
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
23974
23766
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
23975
23767
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
23976
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
23768
|
+
return (hAsync(Host, Object.assign({ key: '978ba9cc81464b2d9b4caaf36285d5f7bf7e568d', "no-router": true,
|
|
23977
23769
|
// Allow the modal to be navigable when the handle is focusable
|
|
23978
23770
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
23979
23771
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
23980
|
-
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }), hAsync("ion-backdrop", { key: '
|
|
23772
|
+
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }), hAsync("ion-backdrop", { key: '9f95566d8e0c06bb9607f514484848c250f35f1f', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && hAsync("div", { key: '91ff26d4f3ab4367f3a2940f51c6a5a3d4c972c3', class: "modal-shadow" }), hAsync("div", Object.assign({ key: '064b2dba13854505a4eb1f5e54296ac79cb7a2bd',
|
|
23981
23773
|
/*
|
|
23982
23774
|
role and aria-modal must be used on the
|
|
23983
23775
|
same element. They must also be set inside the
|
|
23984
23776
|
shadow DOM otherwise ion-button will not be highlighted
|
|
23985
23777
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
23986
23778
|
*/
|
|
23987
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: '
|
|
23779
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: 'b579b08b114022032d078a527111456ceefc7b35', class: "modal-handle",
|
|
23988
23780
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
23989
|
-
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", ref: (el) => (this.dragHandleEl = el) })), hAsync("slot", { key: '
|
|
23781
|
+
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", ref: (el) => (this.dragHandleEl = el) })), hAsync("slot", { key: 'dacea58475b72d9c0209934ff31f3be6b9ac8c85', onSlotchange: this.onSlotChange }))));
|
|
23990
23782
|
}
|
|
23991
23783
|
get el() { return getElement(this); }
|
|
23992
23784
|
static get watchers() { return {
|
|
@@ -24934,7 +24726,7 @@ class Nav {
|
|
|
24934
24726
|
}
|
|
24935
24727
|
}
|
|
24936
24728
|
render() {
|
|
24937
|
-
return hAsync("slot", { key: '
|
|
24729
|
+
return hAsync("slot", { key: 'a549286b51b1bb23c9ef51f71148452228d0ab14' });
|
|
24938
24730
|
}
|
|
24939
24731
|
get el() { return getElement(this); }
|
|
24940
24732
|
static get watchers() { return {
|
|
@@ -25007,7 +24799,7 @@ class NavLink {
|
|
|
25007
24799
|
};
|
|
25008
24800
|
}
|
|
25009
24801
|
render() {
|
|
25010
|
-
return hAsync(Host, { key: '
|
|
24802
|
+
return hAsync(Host, { key: 'd4d80feb51c0d92b0bedf6952c892f9df3002046', onClick: this.onClick });
|
|
25011
24803
|
}
|
|
25012
24804
|
get el() { return getElement(this); }
|
|
25013
24805
|
static get cmpMeta() { return {
|
|
@@ -25038,9 +24830,9 @@ class Note {
|
|
|
25038
24830
|
}
|
|
25039
24831
|
render() {
|
|
25040
24832
|
const mode = getIonMode$1(this);
|
|
25041
|
-
return (hAsync(Host, { key: '
|
|
24833
|
+
return (hAsync(Host, { key: 'b86a6acc9274df6528d224d4c11ab826a0f84dbc', class: createColorClasses$1(this.color, {
|
|
25042
24834
|
[mode]: true,
|
|
25043
|
-
}) }, hAsync("slot", { key: '
|
|
24835
|
+
}) }, hAsync("slot", { key: '5de76567ed7713827cd277a42db102faf34190c8' })));
|
|
25044
24836
|
}
|
|
25045
24837
|
static get style() { return {
|
|
25046
24838
|
ios: noteIosCss,
|
|
@@ -25800,11 +25592,11 @@ class Picker {
|
|
|
25800
25592
|
render() {
|
|
25801
25593
|
const { htmlAttributes } = this;
|
|
25802
25594
|
const mode = getIonMode$1(this);
|
|
25803
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
25595
|
+
return (hAsync(Host, Object.assign({ key: '80f66d33780d8a1352d24be9cb63a0cc03d01ab5', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
25804
25596
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
25805
25597
|
}, class: Object.assign({ [mode]: true,
|
|
25806
25598
|
// Used internally for styling
|
|
25807
|
-
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: '
|
|
25599
|
+
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: '97fb8e10ba08b197610cb8c0cdea61103883d55f', visible: this.showBackdrop, tappable: this.backdropDismiss }), hAsync("div", { key: 'b3969cb6fbf7153623d14e3ca1493d3370efb211', tabindex: "0", "aria-hidden": "true" }), hAsync("div", { key: '299268483c3727e698d9135bfdf40349a7050ac1', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, hAsync("div", { key: '95394de3ef691899b7dbf416f56fd3e86bbdce3f', class: "picker-toolbar" }, this.buttons.map((b) => (hAsync("div", { class: buttonWrapperClass(b) }, hAsync("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass$1(b) }, b.text))))), hAsync("div", { key: '05f18bb8d00dc0e22f691b7e41f90f729a6c66d7', class: "picker-columns" }, hAsync("div", { key: '4a8fdf224effc0af67fd413e2e6aca8a78d1cf43', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => hAsync("ion-picker-legacy-column", { col: c })), hAsync("div", { key: 'e50a31db45e3f39e9d0fed36a21be9257eec09bf', class: "picker-below-highlight" }))), hAsync("div", { key: '5a78cb2176ac807ea0c195c6b76cd0e8eef9d4c0', tabindex: "0", "aria-hidden": "true" })));
|
|
25808
25600
|
}
|
|
25809
25601
|
get el() { return getElement(this); }
|
|
25810
25602
|
static get watchers() { return {
|
|
@@ -26773,9 +26565,9 @@ class PickerColumnCmp {
|
|
|
26773
26565
|
render() {
|
|
26774
26566
|
const col = this.col;
|
|
26775
26567
|
const mode = getIonMode$1(this);
|
|
26776
|
-
return (hAsync(Host, { key: '
|
|
26568
|
+
return (hAsync(Host, { key: '86125e95f18837dfd021db01777d72a1562d8ee3', class: Object.assign({ [mode]: true, 'picker-col': true, 'picker-opts-left': this.col.align === 'left', 'picker-opts-right': this.col.align === 'right' }, getClassMap(col.cssClass)), style: {
|
|
26777
26569
|
'max-width': this.col.columnWidth,
|
|
26778
|
-
} }, col.prefix && (hAsync("div", { key: '
|
|
26570
|
+
} }, col.prefix && (hAsync("div", { key: 'b0f3d39e0bd128781066ffefb7a1e40d12a9e76d', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), hAsync("div", { key: '0b106ac4d56916eaaa7f09d1b68348b3754b7bba', class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: (el) => (this.optsEl = el) }, col.options.map((o, index) => (hAsync("button", { "aria-label": o.ariaLabel, class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index }, o.text)))), col.suffix && (hAsync("div", { key: '00ff2f9dbb4561787e5a5223327c6a2a33f8362e', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
26779
26571
|
}
|
|
26780
26572
|
get el() { return getElement(this); }
|
|
26781
26573
|
static get watchers() { return {
|
|
@@ -26892,10 +26684,10 @@ class PickerColumnOption {
|
|
|
26892
26684
|
render() {
|
|
26893
26685
|
const { color, disabled, ariaLabel } = this;
|
|
26894
26686
|
const mode = getIonMode$1(this);
|
|
26895
|
-
return (hAsync(Host, { key: '
|
|
26687
|
+
return (hAsync(Host, { key: 'c45a1c14a351bf57d7113671164852349be5aa8a', class: createColorClasses$1(color, {
|
|
26896
26688
|
[mode]: true,
|
|
26897
26689
|
['option-disabled']: disabled,
|
|
26898
|
-
}) }, hAsync("div", { key: '
|
|
26690
|
+
}) }, hAsync("div", { key: '824930b658c6e3fb493ac4c6c2451d38c6bc4829', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, hAsync("slot", { key: '019df4dcf46e629bdbebcd46ed3ab29669feab27' }))));
|
|
26899
26691
|
}
|
|
26900
26692
|
get el() { return getElement(this); }
|
|
26901
26693
|
static get watchers() { return {
|
|
@@ -27564,8 +27356,6 @@ const calculateWindowAdjustment = (side, coordTop, coordLeft, bodyPadding, bodyW
|
|
|
27564
27356
|
let bottom;
|
|
27565
27357
|
let originX = contentOriginX;
|
|
27566
27358
|
let originY = contentOriginY;
|
|
27567
|
-
let checkSafeAreaTop = false;
|
|
27568
|
-
let checkSafeAreaBottom = false;
|
|
27569
27359
|
let checkSafeAreaLeft = false;
|
|
27570
27360
|
let checkSafeAreaRight = false;
|
|
27571
27361
|
const triggerTop = triggerCoordinates
|
|
@@ -27610,18 +27400,10 @@ const calculateWindowAdjustment = (side, coordTop, coordLeft, bodyPadding, bodyW
|
|
|
27610
27400
|
* We chose 12 here so that the popover position looks a bit nicer as
|
|
27611
27401
|
* it is not right up against the edge of the screen.
|
|
27612
27402
|
*/
|
|
27613
|
-
top = Math.max(
|
|
27403
|
+
top = Math.max(12, triggerTop - contentHeight - triggerHeight - (arrowHeight - 1));
|
|
27614
27404
|
arrowTop = top + contentHeight;
|
|
27615
27405
|
originY = 'bottom';
|
|
27616
27406
|
addPopoverBottomClass = true;
|
|
27617
|
-
/**
|
|
27618
|
-
* If the popover is positioned near the top edge, account for safe area.
|
|
27619
|
-
* This ensures the popover doesn't overlap with status bars or notches.
|
|
27620
|
-
*/
|
|
27621
|
-
if (top <= bodyPadding + safeAreaMargin) {
|
|
27622
|
-
checkSafeAreaTop = true;
|
|
27623
|
-
top = bodyPadding;
|
|
27624
|
-
}
|
|
27625
27407
|
/**
|
|
27626
27408
|
* If not enough room for popover to appear
|
|
27627
27409
|
* above trigger, then cut it off.
|
|
@@ -27629,35 +27411,14 @@ const calculateWindowAdjustment = (side, coordTop, coordLeft, bodyPadding, bodyW
|
|
|
27629
27411
|
}
|
|
27630
27412
|
else {
|
|
27631
27413
|
bottom = bodyPadding;
|
|
27632
|
-
/**
|
|
27633
|
-
* When the popover is pinned to the bottom, account for safe area.
|
|
27634
|
-
* This ensures the popover doesn't overlap with home indicators
|
|
27635
|
-
* or navigation bars (e.g., Android API 36+ edge-to-edge).
|
|
27636
|
-
*/
|
|
27637
|
-
checkSafeAreaBottom = true;
|
|
27638
27414
|
}
|
|
27639
27415
|
}
|
|
27640
|
-
/**
|
|
27641
|
-
* Final check: If the popover extends into any safe-area region,
|
|
27642
|
-
* ensure the corresponding flag is set regardless of side.
|
|
27643
|
-
* This handles cases where a side-positioned popover (left/right)
|
|
27644
|
-
* still needs bottom safe-area padding because it extends into that region.
|
|
27645
|
-
*/
|
|
27646
|
-
const popoverBottom = bottom !== undefined ? bodyHeight - bottom : top + contentHeight;
|
|
27647
|
-
if (popoverBottom + safeAreaMargin > bodyHeight) {
|
|
27648
|
-
checkSafeAreaBottom = true;
|
|
27649
|
-
}
|
|
27650
|
-
if (top < safeAreaMargin) {
|
|
27651
|
-
checkSafeAreaTop = true;
|
|
27652
|
-
}
|
|
27653
27416
|
return {
|
|
27654
27417
|
top,
|
|
27655
27418
|
left,
|
|
27656
27419
|
bottom,
|
|
27657
27420
|
originX,
|
|
27658
27421
|
originY,
|
|
27659
|
-
checkSafeAreaTop,
|
|
27660
|
-
checkSafeAreaBottom,
|
|
27661
27422
|
checkSafeAreaLeft,
|
|
27662
27423
|
checkSafeAreaRight,
|
|
27663
27424
|
arrowTop,
|
|
@@ -27718,7 +27479,7 @@ const iosEnterAnimation$1 = (baseEl, opts) => {
|
|
|
27718
27479
|
const results = getPopoverPosition(isRTL, contentWidth, contentHeight, arrowWidth, arrowHeight, reference, side, align, defaultPosition, trigger, ev);
|
|
27719
27480
|
const padding = size === 'cover' ? 0 : POPOVER_IOS_BODY_PADDING;
|
|
27720
27481
|
const margin = size === 'cover' ? 0 : 25;
|
|
27721
|
-
const { originX, originY, top, left, bottom,
|
|
27482
|
+
const { originX, originY, top, left, bottom, checkSafeAreaLeft, checkSafeAreaRight, arrowTop, arrowLeft, addPopoverBottomClass, } = calculateWindowAdjustment(side, results.top, results.left, padding, bodyWidth, bodyHeight, contentWidth, contentHeight, margin, results.originX, results.originY, results.referenceCoordinates, results.arrowTop, results.arrowLeft, arrowHeight);
|
|
27722
27483
|
const baseAnimation = createAnimation();
|
|
27723
27484
|
const backdropAnimation = createAnimation();
|
|
27724
27485
|
const contentAnimation = createAnimation();
|
|
@@ -27748,35 +27509,19 @@ const iosEnterAnimation$1 = (baseEl, opts) => {
|
|
|
27748
27509
|
if (addPopoverBottomClass) {
|
|
27749
27510
|
baseEl.classList.add('popover-bottom');
|
|
27750
27511
|
}
|
|
27751
|
-
|
|
27752
|
-
|
|
27753
|
-
|
|
27754
|
-
* safe-area inset to ensure the popover doesn't overlap with system UI
|
|
27755
|
-
* (status bars, home indicators, navigation bars on Android API 36+, etc.)
|
|
27756
|
-
*/
|
|
27757
|
-
const safeAreaTop = ' + var(--ion-safe-area-top, 0)';
|
|
27758
|
-
const safeAreaBottom = ' + var(--ion-safe-area-bottom, 0)';
|
|
27512
|
+
if (bottom !== undefined) {
|
|
27513
|
+
contentEl.style.setProperty('bottom', `${bottom}px`);
|
|
27514
|
+
}
|
|
27759
27515
|
const safeAreaLeft = ' + var(--ion-safe-area-left, 0)';
|
|
27760
27516
|
const safeAreaRight = ' - var(--ion-safe-area-right, 0)';
|
|
27761
|
-
let topValue = `${top}px`;
|
|
27762
|
-
let bottomValue = bottom !== undefined ? `${bottom}px` : undefined;
|
|
27763
27517
|
let leftValue = `${left}px`;
|
|
27764
|
-
if (checkSafeAreaTop) {
|
|
27765
|
-
topValue = `${top}px${safeAreaTop}`;
|
|
27766
|
-
}
|
|
27767
|
-
if (checkSafeAreaBottom && bottomValue !== undefined) {
|
|
27768
|
-
bottomValue = `${bottom}px${safeAreaBottom}`;
|
|
27769
|
-
}
|
|
27770
27518
|
if (checkSafeAreaLeft) {
|
|
27771
27519
|
leftValue = `${left}px${safeAreaLeft}`;
|
|
27772
27520
|
}
|
|
27773
27521
|
if (checkSafeAreaRight) {
|
|
27774
27522
|
leftValue = `${left}px${safeAreaRight}`;
|
|
27775
27523
|
}
|
|
27776
|
-
|
|
27777
|
-
contentEl.style.setProperty('bottom', `calc(${bottomValue})`);
|
|
27778
|
-
}
|
|
27779
|
-
contentEl.style.setProperty('top', `calc(${topValue} + var(--offset-y, 0))`);
|
|
27524
|
+
contentEl.style.setProperty('top', `calc(${top}px + var(--offset-y, 0))`);
|
|
27780
27525
|
contentEl.style.setProperty('left', `calc(${leftValue} + var(--offset-x, 0))`);
|
|
27781
27526
|
contentEl.style.setProperty('transform-origin', `${originY} ${originX}`);
|
|
27782
27527
|
if (arrowEl !== null) {
|
|
@@ -27852,32 +27597,7 @@ const mdEnterAnimation$1 = (baseEl, opts) => {
|
|
|
27852
27597
|
};
|
|
27853
27598
|
const results = getPopoverPosition(isRTL, contentWidth, contentHeight, 0, 0, reference, side, align, defaultPosition, trigger, ev);
|
|
27854
27599
|
const padding = size === 'cover' ? 0 : POPOVER_MD_BODY_PADDING;
|
|
27855
|
-
const { originX, originY, top, left, bottom
|
|
27856
|
-
/**
|
|
27857
|
-
* Safe area CSS variable adjustments.
|
|
27858
|
-
* When the popover is positioned near an edge, we add the corresponding
|
|
27859
|
-
* safe-area inset to ensure the popover doesn't overlap with system UI
|
|
27860
|
-
* (status bars, home indicators, navigation bars on Android API 36+, etc.)
|
|
27861
|
-
*/
|
|
27862
|
-
const safeAreaTop = ' + var(--ion-safe-area-top, 0)';
|
|
27863
|
-
const safeAreaBottom = ' + var(--ion-safe-area-bottom, 0)';
|
|
27864
|
-
const safeAreaLeft = ' + var(--ion-safe-area-left, 0)';
|
|
27865
|
-
const safeAreaRight = ' - var(--ion-safe-area-right, 0)';
|
|
27866
|
-
let topValue = `${top}px`;
|
|
27867
|
-
let bottomValue = bottom !== undefined ? `${bottom}px` : undefined;
|
|
27868
|
-
let leftValue = `${left}px`;
|
|
27869
|
-
if (checkSafeAreaTop) {
|
|
27870
|
-
topValue = `${top}px${safeAreaTop}`;
|
|
27871
|
-
}
|
|
27872
|
-
if (checkSafeAreaBottom && bottomValue !== undefined) {
|
|
27873
|
-
bottomValue = `${bottom}px${safeAreaBottom}`;
|
|
27874
|
-
}
|
|
27875
|
-
if (checkSafeAreaLeft) {
|
|
27876
|
-
leftValue = `${left}px${safeAreaLeft}`;
|
|
27877
|
-
}
|
|
27878
|
-
if (checkSafeAreaRight) {
|
|
27879
|
-
leftValue = `${left}px${safeAreaRight}`;
|
|
27880
|
-
}
|
|
27600
|
+
const { originX, originY, top, left, bottom } = calculateWindowAdjustment(side, results.top, results.left, padding, bodyWidth, bodyHeight, contentWidth, contentHeight, 0, results.originX, results.originY, results.referenceCoordinates);
|
|
27881
27601
|
const baseAnimation = createAnimation();
|
|
27882
27602
|
const backdropAnimation = createAnimation();
|
|
27883
27603
|
const wrapperAnimation = createAnimation();
|
|
@@ -27894,13 +27614,13 @@ const mdEnterAnimation$1 = (baseEl, opts) => {
|
|
|
27894
27614
|
contentAnimation
|
|
27895
27615
|
.addElement(contentEl)
|
|
27896
27616
|
.beforeStyles({
|
|
27897
|
-
top: `calc(${
|
|
27898
|
-
left: `calc(${
|
|
27617
|
+
top: `calc(${top}px + var(--offset-y, 0px))`,
|
|
27618
|
+
left: `calc(${left}px + var(--offset-x, 0px))`,
|
|
27899
27619
|
'transform-origin': `${originY} ${originX}`,
|
|
27900
27620
|
})
|
|
27901
27621
|
.beforeAddWrite(() => {
|
|
27902
|
-
if (
|
|
27903
|
-
contentEl.style.setProperty('bottom',
|
|
27622
|
+
if (bottom !== undefined) {
|
|
27623
|
+
contentEl.style.setProperty('bottom', `${bottom}px`);
|
|
27904
27624
|
}
|
|
27905
27625
|
})
|
|
27906
27626
|
.fromTo('transform', 'scale(0.8)', 'scale(1)');
|
|
@@ -28408,9 +28128,9 @@ class Popover {
|
|
|
28408
28128
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
28409
28129
|
const desktop = isPlatform('desktop');
|
|
28410
28130
|
const enableArrow = arrow && !parentPopover;
|
|
28411
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
28131
|
+
return (hAsync(Host, Object.assign({ key: '2edd8333c630efbce59071f8a383e4326e928dbc', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
28412
28132
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
28413
|
-
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && hAsync("ion-backdrop", { key: '
|
|
28133
|
+
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && hAsync("ion-backdrop", { key: 'aac4e68b08197534375e8ea3f8c9ea0c10ab2af4', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), hAsync("div", { key: 'b7f4ebf57d4148b32856b0075d286f454be8de5d', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && hAsync("div", { key: '607d94c28d73e8e957175a7c0f6e8a99ec4dcd53', class: "popover-arrow", part: "arrow" }), hAsync("div", { key: '4366a5a5de550c09895e923f345583508e1ec30c', class: "popover-content", part: "content" }, hAsync("slot", { key: 'eb7886fbc99c15b667b7d825d24f1c12d9380f03' })))));
|
|
28414
28134
|
}
|
|
28415
28135
|
get el() { return getElement(this); }
|
|
28416
28136
|
static get watchers() { return {
|
|
@@ -28515,7 +28235,7 @@ class ProgressBar {
|
|
|
28515
28235
|
const mode = getIonMode$1(this);
|
|
28516
28236
|
// If the progress is displayed as a solid bar.
|
|
28517
28237
|
const progressSolid = buffer === 1;
|
|
28518
|
-
return (hAsync(Host, { key: '
|
|
28238
|
+
return (hAsync(Host, { key: 'c859e48f3d24a458239e36d925e5dc003ed07c6b', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses$1(color, {
|
|
28519
28239
|
[mode]: true,
|
|
28520
28240
|
[`progress-bar-${type}`]: true,
|
|
28521
28241
|
'progress-paused': paused,
|
|
@@ -28700,7 +28420,7 @@ class Radio {
|
|
|
28700
28420
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
28701
28421
|
const mode = getIonMode$1(this);
|
|
28702
28422
|
const inItem = hostContext('ion-item', el);
|
|
28703
|
-
return (hAsync(Host, { key: '
|
|
28423
|
+
return (hAsync(Host, { key: 'af5dc59ed528150872e907ed1036e3e2decba939', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses$1(color, {
|
|
28704
28424
|
[mode]: true,
|
|
28705
28425
|
'in-item': inItem,
|
|
28706
28426
|
'radio-checked': checked,
|
|
@@ -28711,10 +28431,10 @@ class Radio {
|
|
|
28711
28431
|
// Focus and active styling should not apply when the radio is in an item
|
|
28712
28432
|
'ion-activatable': !inItem,
|
|
28713
28433
|
'ion-focusable': !inItem,
|
|
28714
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, hAsync("label", { key: '
|
|
28434
|
+
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, hAsync("label", { key: '1312aba3259a87fe23a6911cdfa477e309469c8b', class: "radio-wrapper" }, hAsync("div", { key: 'b342aa27e240a300836d2a135658d346b95daf09', class: {
|
|
28715
28435
|
'label-text-wrapper': true,
|
|
28716
28436
|
'label-text-wrapper-hidden': !hasLabel,
|
|
28717
|
-
}, part: "label" }, hAsync("slot", { key: '
|
|
28437
|
+
}, part: "label" }, hAsync("slot", { key: '0a4613d29aa783d1882cf889377f7e4fd4fea51d' })), hAsync("div", { key: '191faea79dc4cd8befc4b873f5bd9f5af8ca2acc', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
28718
28438
|
}
|
|
28719
28439
|
get el() { return getElement(this); }
|
|
28720
28440
|
static get watchers() { return {
|
|
@@ -28953,7 +28673,7 @@ class RadioGroup {
|
|
|
28953
28673
|
const { label, labelId, el, name, value } = this;
|
|
28954
28674
|
const mode = getIonMode$1(this);
|
|
28955
28675
|
renderHiddenInput(true, el, name, value, false);
|
|
28956
|
-
return (hAsync(Host, { key: 'db593b3ed511e9395e3c7bfd91b787328692cd6d', role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick, class: mode }, this.renderHintText(), hAsync("
|
|
28676
|
+
return (hAsync(Host, { key: 'db593b3ed511e9395e3c7bfd91b787328692cd6d', role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick, class: mode }, this.renderHintText(), hAsync("slot", { key: 'd683b01c1ba34fe843c4b320bce4661a117472a5' })));
|
|
28957
28677
|
}
|
|
28958
28678
|
get el() { return getElement(this); }
|
|
28959
28679
|
static get watchers() { return {
|
|
@@ -29713,7 +29433,7 @@ class Range {
|
|
|
29713
29433
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
29714
29434
|
const mode = getIonMode$1(this);
|
|
29715
29435
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
29716
|
-
return (hAsync(Host, { key: '
|
|
29436
|
+
return (hAsync(Host, { key: 'affcac4709096a48a5b4c1864b209b6352f6b078', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses$1(this.color, {
|
|
29717
29437
|
[mode]: true,
|
|
29718
29438
|
'in-item': inItem,
|
|
29719
29439
|
'range-disabled': disabled,
|
|
@@ -29722,10 +29442,10 @@ class Range {
|
|
|
29722
29442
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
29723
29443
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
29724
29444
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
29725
|
-
}) }, hAsync("label", { key: '
|
|
29445
|
+
}) }, hAsync("label", { key: 'c7cf95fa831d10b17c137995d0a9e0cf84006a76', class: "range-wrapper", id: "range-label" }, hAsync("div", { key: '5b8479c7939ae0f94a042c3aafd64316e4577d30', class: {
|
|
29726
29446
|
'label-text-wrapper': true,
|
|
29727
29447
|
'label-text-wrapper-hidden': !hasLabel,
|
|
29728
|
-
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '
|
|
29448
|
+
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '3c275d822b29a8008e044722e8b6bdabd3ecfad7', class: "native-wrapper" }, hAsync("slot", { key: '03c849d0aa708914984ad57ca292bc5fc66ecad5', name: "start" }), this.renderRangeSlider(), hAsync("slot", { key: '10ca7b8152cac00b45d8fa98ad91410f59fd176a', name: "end" })))));
|
|
29729
29449
|
}
|
|
29730
29450
|
get el() { return getElement(this); }
|
|
29731
29451
|
static get watchers() { return {
|
|
@@ -30692,7 +30412,7 @@ class Refresher {
|
|
|
30692
30412
|
}
|
|
30693
30413
|
render() {
|
|
30694
30414
|
const mode = getIonMode$1(this);
|
|
30695
|
-
return (hAsync(Host, { key: '
|
|
30415
|
+
return (hAsync(Host, { key: '06d61cc53260ce146dd6906cc96597e9baaa17cf', slot: "fixed", class: {
|
|
30696
30416
|
[mode]: true,
|
|
30697
30417
|
// Used internally for styling
|
|
30698
30418
|
[`refresher-${mode}`]: true,
|
|
@@ -30916,7 +30636,7 @@ class RefresherContent {
|
|
|
30916
30636
|
const pullingIcon = this.pullingIcon;
|
|
30917
30637
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
30918
30638
|
const mode = getIonMode$1(this);
|
|
30919
|
-
return (hAsync(Host, { key: '
|
|
30639
|
+
return (hAsync(Host, { key: '4add42b9fdfded359d1b054d04c2c6ff48e028c8', class: mode }, hAsync("div", { key: '45d4e4e0adfed7f96dd1849767aa2cde947de044', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (hAsync("div", { key: '6bd6c8ef5bf6e10699eec3bd8646431bfe1077a0', class: "refresher-pulling-icon" }, hAsync("div", { key: '852d20414da53352c8e58bc627e0fda38eff97cb', class: "spinner-arrow-container" }, hAsync("ion-spinner", { key: '0dde3578a80cc4b77a07c4d1db1af80c7eb10c27', name: this.pullingIcon, paused: true }), mode === 'md' && this.pullingIcon === 'circular' && (hAsync("div", { key: 'c71dbfcf416a19c30fed38f722ebf0358c2181dd', class: "arrow-container" }, hAsync("ion-icon", { key: 'fa7c2cf624e7a9c41964e66cabc88c594da6d1fd', icon: caretBackSharp, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (hAsync("div", { key: '3dd68c9968b421c379d1c4349ba619ee0a189c6d', class: "refresher-pulling-icon" }, hAsync("ion-icon", { key: 'f83bceceae4fa8245f91939fb6db589a595e975b', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), hAsync("div", { key: '98e22ceb0f7883e871f815f6199f5cb313e2e086', class: "refresher-refreshing" }, this.refreshingSpinner && (hAsync("div", { key: 'faabe8a9b61c02a00994ef978bb82b9ba4537214', class: "refresher-refreshing-icon" }, hAsync("ion-spinner", { key: '029a0c073ee1a07f01211e12ba2abc985cf21ed7', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
30920
30640
|
}
|
|
30921
30641
|
get el() { return getElement(this); }
|
|
30922
30642
|
static get cmpMeta() { return {
|
|
@@ -30957,7 +30677,7 @@ class Reorder {
|
|
|
30957
30677
|
render() {
|
|
30958
30678
|
const mode = getIonMode$1(this);
|
|
30959
30679
|
const reorderIcon = mode === 'ios' ? reorderThreeOutline : reorderTwoSharp;
|
|
30960
|
-
return (hAsync(Host, { key: '
|
|
30680
|
+
return (hAsync(Host, { key: 'b869db61ca6393cf1476f2111a66b387b567c6d1', class: mode }, hAsync("slot", { key: 'a78edd1776835282b8b5c841377018f36c83296c' }, hAsync("ion-icon", { key: '7fb067c47bbb9a7258e5063f028282cc097d0f94', icon: reorderIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
30961
30681
|
}
|
|
30962
30682
|
get el() { return getElement(this); }
|
|
30963
30683
|
static get style() { return {
|
|
@@ -31228,7 +30948,7 @@ class ReorderGroup {
|
|
|
31228
30948
|
}
|
|
31229
30949
|
render() {
|
|
31230
30950
|
const mode = getIonMode$1(this);
|
|
31231
|
-
return (hAsync(Host, { key: '
|
|
30951
|
+
return (hAsync(Host, { key: '9527bbdedaab63d31f562c874a7332ea60c4b47b', class: {
|
|
31232
30952
|
[mode]: true,
|
|
31233
30953
|
'reorder-enabled': !this.disabled,
|
|
31234
30954
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -31344,7 +31064,7 @@ class RippleEffect {
|
|
|
31344
31064
|
}
|
|
31345
31065
|
render() {
|
|
31346
31066
|
const mode = getIonMode$1(this);
|
|
31347
|
-
return (hAsync(Host, { key: '
|
|
31067
|
+
return (hAsync(Host, { key: '3b59cbb44741569a7350f9638b4392add673b6f1', role: "presentation", class: {
|
|
31348
31068
|
[mode]: true,
|
|
31349
31069
|
unbounded: this.unbounded,
|
|
31350
31070
|
} }));
|
|
@@ -32303,10 +32023,10 @@ class RouterLink {
|
|
|
32303
32023
|
rel: this.rel,
|
|
32304
32024
|
target: this.target,
|
|
32305
32025
|
};
|
|
32306
|
-
return (hAsync(Host, { key: '
|
|
32026
|
+
return (hAsync(Host, { key: '8372835161d507c7b821b7536c55f912eb6ce704', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
32307
32027
|
[mode]: true,
|
|
32308
32028
|
'ion-activatable': true,
|
|
32309
|
-
}) }, hAsync("a", Object.assign({ key: '
|
|
32029
|
+
}) }, hAsync("a", Object.assign({ key: '315966e14a17760f3f64197e8315200039787897' }, attrs), hAsync("slot", { key: '95fc1697b884225e85e647dddcaa8f4af8b9a979' }))));
|
|
32310
32030
|
}
|
|
32311
32031
|
static get style() { return routerLinkCss; }
|
|
32312
32032
|
static get cmpMeta() { return {
|
|
@@ -32503,7 +32223,7 @@ class RouterOutlet {
|
|
|
32503
32223
|
return true;
|
|
32504
32224
|
}
|
|
32505
32225
|
render() {
|
|
32506
|
-
return hAsync("slot", { key: '
|
|
32226
|
+
return hAsync("slot", { key: '386c41745b61daba161cf75063da97fe29ba36cb' });
|
|
32507
32227
|
}
|
|
32508
32228
|
get el() { return getElement(this); }
|
|
32509
32229
|
static get watchers() { return {
|
|
@@ -32536,7 +32256,7 @@ class Row {
|
|
|
32536
32256
|
registerInstance(this, hostRef);
|
|
32537
32257
|
}
|
|
32538
32258
|
render() {
|
|
32539
|
-
return (hAsync(Host, { key: '
|
|
32259
|
+
return (hAsync(Host, { key: '8ba906a8cbea060a79ed658c9bf34906f0c11d38', class: getIonMode$1(this) }, hAsync("slot", { key: 'd1009176f45b588fa52c7d9eb336f3c6d3214bb8' })));
|
|
32540
32260
|
}
|
|
32541
32261
|
static get style() { return rowCss; }
|
|
32542
32262
|
static get cmpMeta() { return {
|
|
@@ -32977,8 +32697,8 @@ class Searchbar {
|
|
|
32977
32697
|
const clearIcon = this.clearIcon || (mode === 'ios' ? closeCircle : closeSharp);
|
|
32978
32698
|
const searchIcon = this.searchIcon || (mode === 'ios' ? searchOutline : searchSharp);
|
|
32979
32699
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
32980
|
-
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '
|
|
32981
|
-
return (hAsync(Host, { key: '
|
|
32700
|
+
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: 'bf574336a561a5bf66c771fb606a9b19adbecb68', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: mode === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, hAsync("div", { key: '747ad4368bda5044198259d5bc8f7be9e472e5af', "aria-hidden": "true" }, mode === 'md' ? (hAsync("ion-icon", { "aria-hidden": "true", mode: mode, icon: this.cancelButtonIcon, lazy: false })) : (cancelButtonText))));
|
|
32701
|
+
return (hAsync(Host, { key: 'bcc5b33a2859903ba11bfc5c611c6a2aaa71d06b', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses$1(this.color, {
|
|
32982
32702
|
[mode]: true,
|
|
32983
32703
|
'searchbar-animated': animated,
|
|
32984
32704
|
'searchbar-disabled': this.disabled,
|
|
@@ -32988,14 +32708,14 @@ class Searchbar {
|
|
|
32988
32708
|
'searchbar-has-focus': this.focused,
|
|
32989
32709
|
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
32990
32710
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
32991
|
-
}) }, hAsync("div", { key: '
|
|
32711
|
+
}) }, hAsync("div", { key: 'ac0dbf5ddd9c4eb6d714f45c62c44ba3d0bf034d', class: "searchbar-input-container" }, hAsync("input", Object.assign({ key: '4b9fdac1b0d5a7a68bf61a6beb00f166434d3e84', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), mode === 'md' && cancelButton, hAsync("ion-icon", { key: '32a889c48b3960560a3873061b4ac5a8a5ce532f', "aria-hidden": "true", mode: mode, icon: searchIcon, lazy: false, class: "searchbar-search-icon" }), hAsync("button", { key: '71222df691ef0b95008e619f755224d069ee9388', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
32992
32712
|
/**
|
|
32993
32713
|
* This prevents mobile browsers from
|
|
32994
32714
|
* blurring the input when the clear
|
|
32995
32715
|
* button is activated.
|
|
32996
32716
|
*/
|
|
32997
32717
|
ev.preventDefault();
|
|
32998
|
-
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: '
|
|
32718
|
+
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: 'f1c8c0bd8fbb655085875731d3ece387dbe2967e', "aria-hidden": "true", mode: mode, icon: clearIcon, lazy: false, class: "searchbar-clear-icon" }))), mode === 'ios' && cancelButton));
|
|
32999
32719
|
}
|
|
33000
32720
|
get el() { return getElement(this); }
|
|
33001
32721
|
static get watchers() { return {
|
|
@@ -33590,14 +33310,14 @@ class Segment {
|
|
|
33590
33310
|
}
|
|
33591
33311
|
render() {
|
|
33592
33312
|
const mode = getIonMode$1(this);
|
|
33593
|
-
return (hAsync(Host, { key: '
|
|
33313
|
+
return (hAsync(Host, { key: '725cc37b25c539fa5e3ae8d90530ae33ededc3de', role: "tablist", onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
33594
33314
|
[mode]: true,
|
|
33595
33315
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
33596
33316
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
33597
33317
|
'segment-activated': this.activated,
|
|
33598
33318
|
'segment-disabled': this.disabled,
|
|
33599
33319
|
'segment-scrollable': this.scrollable,
|
|
33600
|
-
}) }, hAsync("slot", { key: '
|
|
33320
|
+
}) }, hAsync("slot", { key: 'c51cf7ea50325866a9367d214e12bc3754870335', onSlotchange: this.onSlottedItemsChange })));
|
|
33601
33321
|
}
|
|
33602
33322
|
get el() { return getElement(this); }
|
|
33603
33323
|
static get watchers() { return {
|
|
@@ -33737,7 +33457,7 @@ class SegmentButton {
|
|
|
33737
33457
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
33738
33458
|
const mode = getIonMode$1(this);
|
|
33739
33459
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
33740
|
-
return (hAsync(Host, { key: '
|
|
33460
|
+
return (hAsync(Host, { key: 'f69e2a24198a7c57543dbe66902da039a6569c64', class: {
|
|
33741
33461
|
[mode]: true,
|
|
33742
33462
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
33743
33463
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -33753,7 +33473,7 @@ class SegmentButton {
|
|
|
33753
33473
|
'ion-activatable': true,
|
|
33754
33474
|
'ion-activatable-instant': true,
|
|
33755
33475
|
'ion-focusable': true,
|
|
33756
|
-
} }, hAsync("button", Object.assign({ key: '
|
|
33476
|
+
} }, hAsync("button", Object.assign({ key: '0a6fea3a374074af19f7ece0ba3a7cf1e269ab6d', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), hAsync("span", { key: '991018a38c59a6f3d76b2e952e5569c874d2c13e', class: "button-inner" }, hAsync("slot", { key: '23c547c80108025027b913c7fcbec189286627a3' })), mode === 'md' && hAsync("ion-ripple-effect", { key: '7faa9d06ab6aa7346d16b0b6808979759a79650c' })), hAsync("div", { key: '0d61badf2c227dc38e20185b2b2bb590a5efa434', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, hAsync("div", { key: 'a84035752b78491c344179d1e61d109fb4bd1cf1', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
33757
33477
|
}
|
|
33758
33478
|
get el() { return getElement(this); }
|
|
33759
33479
|
static get watchers() { return {
|
|
@@ -33788,7 +33508,7 @@ class SegmentContent {
|
|
|
33788
33508
|
registerInstance(this, hostRef);
|
|
33789
33509
|
}
|
|
33790
33510
|
render() {
|
|
33791
|
-
return (hAsync(Host, { key: '
|
|
33511
|
+
return (hAsync(Host, { key: '665f41a854621f898eaf7ba9a49e77cc9326501e' }, hAsync("slot", { key: '635aa57fbf6167dcd36fe8dc5dfc1c313637ac04' })));
|
|
33792
33512
|
}
|
|
33793
33513
|
static get style() { return segmentContentCss; }
|
|
33794
33514
|
static get cmpMeta() { return {
|
|
@@ -33903,10 +33623,10 @@ class SegmentView {
|
|
|
33903
33623
|
}
|
|
33904
33624
|
render() {
|
|
33905
33625
|
const { disabled, isManualScroll } = this;
|
|
33906
|
-
return (hAsync(Host, { key: '
|
|
33626
|
+
return (hAsync(Host, { key: '1c9bfce83967a93d63c225031a5cd688509d8fc8', class: {
|
|
33907
33627
|
'segment-view-disabled': disabled,
|
|
33908
33628
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
33909
|
-
} }, hAsync("slot", { key: '
|
|
33629
|
+
} }, hAsync("slot", { key: '19fee034e76fffbdb5f622cb514037c00f9d55d5' })));
|
|
33910
33630
|
}
|
|
33911
33631
|
get el() { return getElement(this); }
|
|
33912
33632
|
static get style() { return {
|
|
@@ -34673,7 +34393,7 @@ class Select {
|
|
|
34673
34393
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
34674
34394
|
*/
|
|
34675
34395
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
34676
|
-
return (hAsync(Host, { key: '
|
|
34396
|
+
return (hAsync(Host, { key: '9f0a833ebc3df27a42146b07bcbb181c05f5e5c4', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
34677
34397
|
[mode]: true,
|
|
34678
34398
|
'in-item': inItem,
|
|
34679
34399
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -34691,7 +34411,7 @@ class Select {
|
|
|
34691
34411
|
[`select-justify-${justify}`]: justifyEnabled,
|
|
34692
34412
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
34693
34413
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
34694
|
-
}) }, hAsync("label", { key: '
|
|
34414
|
+
}) }, hAsync("label", { key: '4b32396d8557c0d1cba13440a11e66b8eb7b13a9', class: "select-wrapper", id: "select-label", onClick: this.onLabelClick }, this.renderLabelContainer(), hAsync("div", { key: 'd226cc8e30cd5202c235476cfa1632fc40bc609f', class: "select-wrapper-inner" }, hAsync("slot", { key: 'df813ff3b7de518c70ea4fedd25bcb965607026d', name: "start" }), hAsync("div", { key: '4a4e9348a136c598b7b08f80ecdcca268afec2d5', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), hAsync("slot", { key: 'f168d8b42a1e193ad27d09e5f1553b231f0332e5', name: "end" }), !hasFloatingOrStackedLabel && this.renderSelectIcon()), hasFloatingOrStackedLabel && this.renderSelectIcon(), shouldRenderHighlight && hAsync("div", { key: 'ec3deede22dd403cb16a08f532ae4809cf86a3e7', class: "select-highlight" })), this.renderBottomContent()));
|
|
34695
34415
|
}
|
|
34696
34416
|
get el() { return getElement(this); }
|
|
34697
34417
|
static get watchers() { return {
|
|
@@ -34852,7 +34572,7 @@ class SelectModal {
|
|
|
34852
34572
|
} }, option.text))));
|
|
34853
34573
|
}
|
|
34854
34574
|
render() {
|
|
34855
|
-
return (hAsync(Host, { key: '
|
|
34575
|
+
return (hAsync(Host, { key: '5bffdb106e6f628dae2e2aeb9ee8008b5c547b3a', class: getIonMode$1(this) }, hAsync("ion-header", { key: '4de1c33b0504372f8a0a26123e4e086080ee1ecb' }, hAsync("ion-toolbar", { key: '5d55a67d1db4352c260e9e0457d5dac6110b6598' }, this.header !== undefined && hAsync("ion-title", { key: '4f07fe8a9af8c9bd0852af2a9b95517d16356e50' }, this.header), hAsync("ion-buttons", { key: 'ca676a34f7cd3dd6b465b0d803434c2e2c8536c5', slot: "end" }, hAsync("ion-button", { key: '801ed63a357c7c9d354668851db65e5c1b0e1abe', onClick: () => this.closeModal() }, "Close")))), hAsync("ion-content", { key: 'f3c239ec9d84b8ed7413ea9db6efa18e29aca285' }, hAsync("ion-list", { key: '40c157e9abe477171a39ae7e6e1cd4ed08735cb4' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
|
|
34856
34576
|
}
|
|
34857
34577
|
get el() { return getElement(this); }
|
|
34858
34578
|
static get style() { return {
|
|
@@ -34886,7 +34606,7 @@ class SelectOption {
|
|
|
34886
34606
|
this.disabled = false;
|
|
34887
34607
|
}
|
|
34888
34608
|
render() {
|
|
34889
|
-
return hAsync(Host, { key: '
|
|
34609
|
+
return hAsync(Host, { key: '824730b6c1e4f15b716e91b05840e890af5f1577', role: "option", id: this.inputId, class: getIonMode$1(this) });
|
|
34890
34610
|
}
|
|
34891
34611
|
get el() { return getElement(this); }
|
|
34892
34612
|
static get style() { return selectOptionCss; }
|
|
@@ -35003,7 +34723,7 @@ class SelectPopover {
|
|
|
35003
34723
|
render() {
|
|
35004
34724
|
const { header, message, options, subHeader } = this;
|
|
35005
34725
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
35006
|
-
return (hAsync(Host, { key: '
|
|
34726
|
+
return (hAsync(Host, { key: '0c9845a40d3fc392b0a7d64e2a6ed27d94bb7634', class: getIonMode$1(this) }, hAsync("ion-list", { key: '84a30f6661b0f8c00e6fa199658ed2adbcf27358' }, header !== undefined && hAsync("ion-list-header", { key: '13f5f56bbfbc06751fa516291a2da72629b60ece' }, header), hasSubHeaderOrMessage && (hAsync("ion-item", { key: '3d39d18e720e798bbde334e79e6832091c7dfb81' }, hAsync("ion-label", { key: 'd3051b0d140120b44bf5e79572f6f287e7cfb03a', class: "ion-text-wrap" }, subHeader !== undefined && hAsync("h3", { key: 'b16805956f3316f8ec703c123b76f717488e8637' }, subHeader), message !== undefined && hAsync("p", { key: '2215ac4ab4146a14e75a79192e319a8016286b5f' }, message)))), this.renderOptions(options))));
|
|
35007
34727
|
}
|
|
35008
34728
|
get el() { return getElement(this); }
|
|
35009
34729
|
static get style() { return {
|
|
@@ -35053,11 +34773,11 @@ class SkeletonText {
|
|
|
35053
34773
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
35054
34774
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
35055
34775
|
const mode = getIonMode$1(this);
|
|
35056
|
-
return (hAsync(Host, { key: '
|
|
34776
|
+
return (hAsync(Host, { key: 'cb8da9aba121811b9a4ffdae60ed88105897cb3c', class: {
|
|
35057
34777
|
[mode]: true,
|
|
35058
34778
|
'skeleton-text-animated': animated,
|
|
35059
34779
|
'in-media': inMedia,
|
|
35060
|
-
} }, hAsync("span", { key: '
|
|
34780
|
+
} }, hAsync("span", { key: '5379deee3c76d46d615be0cba14b4f60129ffa25' }, "\u00A0")));
|
|
35061
34781
|
}
|
|
35062
34782
|
get el() { return getElement(this); }
|
|
35063
34783
|
static get style() { return skeletonTextCss; }
|
|
@@ -35109,7 +34829,7 @@ class Spinner {
|
|
|
35109
34829
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
35110
34830
|
}
|
|
35111
34831
|
}
|
|
35112
|
-
return (hAsync(Host, { key: '
|
|
34832
|
+
return (hAsync(Host, { key: 'dd1954e557fa14b943e761474e29e4316ba53938', class: createColorClasses$1(self.color, {
|
|
35113
34833
|
[mode]: true,
|
|
35114
34834
|
[`spinner-${spinnerName}`]: true,
|
|
35115
34835
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -35208,12 +34928,12 @@ class SplitPane {
|
|
|
35208
34928
|
}
|
|
35209
34929
|
render() {
|
|
35210
34930
|
const mode = getIonMode$1(this);
|
|
35211
|
-
return (hAsync(Host, { key: '
|
|
34931
|
+
return (hAsync(Host, { key: '05c88c009fbe2e223fd261760a2b49da1653ff62', class: {
|
|
35212
34932
|
[mode]: true,
|
|
35213
34933
|
// Used internally for styling
|
|
35214
34934
|
[`split-pane-${mode}`]: true,
|
|
35215
34935
|
'split-pane-visible': this.visible,
|
|
35216
|
-
} }, hAsync("slot", { key: '
|
|
34936
|
+
} }, hAsync("slot", { key: 'b35865082661253c4468520d79234fa5dab5bd35' })));
|
|
35217
34937
|
}
|
|
35218
34938
|
get el() { return getElement(this); }
|
|
35219
34939
|
static get watchers() { return {
|
|
@@ -35279,10 +34999,10 @@ class Tab {
|
|
|
35279
34999
|
}
|
|
35280
35000
|
render() {
|
|
35281
35001
|
const { tab, active, component } = this;
|
|
35282
|
-
return (hAsync(Host, { key: '
|
|
35002
|
+
return (hAsync(Host, { key: 'fbd837bad7a0632336d46a597ace23673b153e48', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
35283
35003
|
'ion-page': component === undefined,
|
|
35284
35004
|
'tab-hidden': !active,
|
|
35285
|
-
} }, hAsync("slot", { key: '
|
|
35005
|
+
} }, hAsync("slot", { key: '35c218169fda826c9c1337558e0278d0c7f5f26a' })));
|
|
35286
35006
|
}
|
|
35287
35007
|
get el() { return getElement(this); }
|
|
35288
35008
|
static get watchers() { return {
|
|
@@ -35394,11 +35114,11 @@ class TabBar {
|
|
|
35394
35114
|
const { color, translucent, keyboardVisible } = this;
|
|
35395
35115
|
const mode = getIonMode$1(this);
|
|
35396
35116
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
35397
|
-
return (hAsync(Host, { key: '
|
|
35117
|
+
return (hAsync(Host, { key: '24e164eaf81a0bec9237b561465618f10990806c', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses$1(color, {
|
|
35398
35118
|
[mode]: true,
|
|
35399
35119
|
'tab-bar-translucent': translucent,
|
|
35400
35120
|
'tab-bar-hidden': shouldHide,
|
|
35401
|
-
}) }, hAsync("slot", { key: '
|
|
35121
|
+
}) }, hAsync("slot", { key: '0ca29a2d97a7c38bbf43f8d79e271b874b4d9be8' })));
|
|
35402
35122
|
}
|
|
35403
35123
|
get el() { return getElement(this); }
|
|
35404
35124
|
static get watchers() { return {
|
|
@@ -35494,7 +35214,7 @@ class TabButton {
|
|
|
35494
35214
|
rel,
|
|
35495
35215
|
target,
|
|
35496
35216
|
};
|
|
35497
|
-
return (hAsync(Host, { key: '
|
|
35217
|
+
return (hAsync(Host, { key: '638b93ef40701ec3aefb89b1579eb91aaf6d4f8a', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
35498
35218
|
[mode]: true,
|
|
35499
35219
|
'tab-selected': selected,
|
|
35500
35220
|
'tab-disabled': disabled,
|
|
@@ -35506,7 +35226,7 @@ class TabButton {
|
|
|
35506
35226
|
'ion-activatable': true,
|
|
35507
35227
|
'ion-selectable': true,
|
|
35508
35228
|
'ion-focusable': true,
|
|
35509
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
35229
|
+
} }, hAsync("a", Object.assign({ key: 'c053d32fbcdad8d5e4a409956b47164d7a080c6b' }, attrs, { class: "button-native", part: "native", role: "tab", "aria-selected": selected ? 'true' : null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? '-1' : undefined }, inheritedAttributes), hAsync("span", { key: 'b3b460d33ec978a46b069442280d31b23bc8e794', class: "button-inner" }, hAsync("slot", { key: '87b3928475c941263261101b8fae27c6370d4671' })), mode === 'md' && hAsync("ion-ripple-effect", { key: '6532e5b4546aebe4becaebe1c93ce0e6aedaffe7', type: "unbounded" }))));
|
|
35510
35230
|
}
|
|
35511
35231
|
get el() { return getElement(this); }
|
|
35512
35232
|
static get style() { return {
|
|
@@ -35697,7 +35417,7 @@ class Tabs {
|
|
|
35697
35417
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
35698
35418
|
}
|
|
35699
35419
|
render() {
|
|
35700
|
-
return (hAsync(Host, { key: '
|
|
35420
|
+
return (hAsync(Host, { key: 'c7131135b31aa312dc0207602561e1c0f4ac3e53', onIonTabButtonClick: this.onTabClicked }, hAsync("slot", { key: '6c46e91c0389bbcea1f15f35cf3ea513a74ac545', name: "top" }), hAsync("div", { key: '4f1b649d8bb60b61402b97359de204979c5eda52', class: "tabs-inner" }, hAsync("slot", { key: '8d1ef4952be4fb33567376e1083ea4da697fcae0' })), hAsync("slot", { key: '260b8da8031494e9cb4635b3d22c49a433042db1', name: "bottom" })));
|
|
35701
35421
|
}
|
|
35702
35422
|
get el() { return getElement(this); }
|
|
35703
35423
|
static get style() { return tabsCss; }
|
|
@@ -35737,9 +35457,9 @@ class Text {
|
|
|
35737
35457
|
}
|
|
35738
35458
|
render() {
|
|
35739
35459
|
const mode = getIonMode$1(this);
|
|
35740
|
-
return (hAsync(Host, { key: '
|
|
35460
|
+
return (hAsync(Host, { key: 'bfaa49d35f43b8036725ae8a322c716fc6e43bdf', class: createColorClasses$1(this.color, {
|
|
35741
35461
|
[mode]: true,
|
|
35742
|
-
}) }, hAsync("slot", { key: '
|
|
35462
|
+
}) }, hAsync("slot", { key: 'c04880cd1935b42cbe60f58fd523b4d8a96072dc' })));
|
|
35743
35463
|
}
|
|
35744
35464
|
static get style() { return textCss; }
|
|
35745
35465
|
static get cmpMeta() { return {
|
|
@@ -36200,7 +35920,7 @@ class Textarea {
|
|
|
36200
35920
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
36201
35921
|
*/
|
|
36202
35922
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
36203
|
-
return (hAsync(Host, { key: '
|
|
35923
|
+
return (hAsync(Host, { key: '2c9de566803dd007cee3639ddd04accb68663b32', class: createColorClasses$1(this.color, {
|
|
36204
35924
|
[mode]: true,
|
|
36205
35925
|
'has-value': hasValue,
|
|
36206
35926
|
'has-focus': hasFocus,
|
|
@@ -36209,7 +35929,7 @@ class Textarea {
|
|
|
36209
35929
|
[`textarea-shape-${shape}`]: shape !== undefined,
|
|
36210
35930
|
[`textarea-label-placement-${labelPlacement}`]: true,
|
|
36211
35931
|
'textarea-disabled': disabled,
|
|
36212
|
-
}) }, hAsync("label", { key: '
|
|
35932
|
+
}) }, hAsync("label", { key: 'a0602b57fae26f148729b19c296de31b4923ad44', class: "textarea-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), hAsync("div", { key: '4ff96c999ba015c6c94be888da76d2dbd33020d7', class: "textarea-wrapper-inner" }, hAsync("div", { key: '8827db21d38d6c0bc2949f183b976eca692210be', class: "start-slot-wrapper" }, hAsync("slot", { key: 'e90b69e2b427a51f9a6ec201053e55b914ef5b9d', name: "start" })), hAsync("div", { key: '22de2b64734d6a677939ff372df9de13b58923e6', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el) }, hAsync("textarea", Object.assign({ key: '0e125c47ae292bea21484824746dbee922e728b0', class: "native-textarea", ref: (el) => (this.nativeInput = el), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, minLength: this.minlength, maxLength: this.maxlength, name: this.name, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown, "aria-describedby": this.getHintTextID(), "aria-invalid": this.isInvalid ? 'true' : undefined }, this.inheritedAttributes), value)), hAsync("div", { key: '52d8f9048596cd598a99b74e3d0b322890d8513d', class: "end-slot-wrapper" }, hAsync("slot", { key: 'd9c8a7c33c47533dfe2eb8b12006c7f38d3cd11b', name: "end" }))), shouldRenderHighlight && hAsync("div", { key: 'aaf672b846a35f0aeb0b3ec172dc808eb871eb5a', class: "textarea-highlight" })), this.renderBottomContent()));
|
|
36213
35933
|
}
|
|
36214
35934
|
get el() { return getElement(this); }
|
|
36215
35935
|
static get watchers() { return {
|
|
@@ -36272,7 +35992,7 @@ class Thumbnail {
|
|
|
36272
35992
|
registerInstance(this, hostRef);
|
|
36273
35993
|
}
|
|
36274
35994
|
render() {
|
|
36275
|
-
return (hAsync(Host, { key: '
|
|
35995
|
+
return (hAsync(Host, { key: 'b250e01664238f1dca8f9757b15bc3d5d9387ffa', class: getIonMode$1(this) }, hAsync("slot", { key: '72cb568bccabc983c5186a7596ef6c6d4ebf5ad9' })));
|
|
36276
35996
|
}
|
|
36277
35997
|
static get style() { return thumbnailCss; }
|
|
36278
35998
|
static get cmpMeta() { return {
|
|
@@ -37130,9 +36850,9 @@ class Toast {
|
|
|
37130
36850
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
37131
36851
|
printIonWarning('[ion-toast] - This toast is using start and end buttons with the stacked toast layout. We recommend following the best practice of using either start or end buttons with the stacked toast layout.', el);
|
|
37132
36852
|
}
|
|
37133
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
36853
|
+
return (hAsync(Host, Object.assign({ key: '4a303f9ebb69614e9dca677d9d80a4a275de0d85', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
37134
36854
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
37135
|
-
}, class: createColorClasses$1(this.color, Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), hAsync("div", { key: '
|
|
36855
|
+
}, class: createColorClasses$1(this.color, Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), hAsync("div", { key: '4f58fcbba8dce9834eab743fc91715935216f3d0', class: wrapperClass }, hAsync("div", { key: 'bbc7b73b186432bd4be8247c5de2ce3b2551fb0a', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (hAsync("ion-icon", { key: '0b953478eb739ceb864373416183bfbf5ce2f9f1', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), hAsync("div", { key: '7a63497d1c0440256218426194851a969b042ca6', class: "toast-content", role: "status", "aria-atomic": "true", "aria-live": "polite" }, !revealContentToScreenReader && header !== undefined && this.renderHeader('oldHeader', 'true'), !revealContentToScreenReader && message !== undefined && this.renderToastMessage('oldMessage', 'true'), revealContentToScreenReader && header !== undefined && this.renderHeader('header'), revealContentToScreenReader && message !== undefined && this.renderToastMessage('header')), this.renderButtons(endButtons, 'end')))));
|
|
37136
36856
|
}
|
|
37137
36857
|
get el() { return getElement(this); }
|
|
37138
36858
|
static get watchers() { return {
|
|
@@ -37444,7 +37164,7 @@ class Toggle {
|
|
|
37444
37164
|
const value = this.getValue();
|
|
37445
37165
|
const rtl = isRTL$1(el) ? 'rtl' : 'ltr';
|
|
37446
37166
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
37447
|
-
return (hAsync(Host, { key: '
|
|
37167
|
+
return (hAsync(Host, { key: '736e1dcfca34fd41f6f0632652e7f86d6996a232', role: "switch", "aria-checked": `${checked}`, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick, "aria-labelledby": hasLabel ? inputLabelId : null, "aria-label": inheritedAttributes['aria-label'] || null, "aria-disabled": disabled ? 'true' : null, "aria-required": required ? 'true' : undefined, tabindex: disabled ? undefined : 0, onKeyDown: this.onKeyDown, onFocus: this.onFocus, onBlur: this.onBlur, class: createColorClasses$1(color, {
|
|
37448
37168
|
[mode]: true,
|
|
37449
37169
|
'in-item': hostContext('ion-item', el),
|
|
37450
37170
|
'toggle-activated': activated,
|
|
@@ -37454,10 +37174,10 @@ class Toggle {
|
|
|
37454
37174
|
[`toggle-alignment-${alignment}`]: alignment !== undefined,
|
|
37455
37175
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
37456
37176
|
[`toggle-${rtl}`]: true,
|
|
37457
|
-
}) }, hAsync("label", { key: '
|
|
37177
|
+
}) }, hAsync("label", { key: 'e697739fd3964c1c6c23331cf7e38a9841c46a6a', class: "toggle-wrapper", htmlFor: inputId }, hAsync("input", Object.assign({ key: '3d500b8c1bc879591249d183c1abb3f5f26aff6b', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, required: required }, inheritedAttributes)), hAsync("div", { key: 'e38f3fe0e66b4ca434fd81514f5ef771c2960841', class: {
|
|
37458
37178
|
'label-text-wrapper': true,
|
|
37459
37179
|
'label-text-wrapper-hidden': !hasLabel,
|
|
37460
|
-
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '
|
|
37180
|
+
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '006dd3558264d69ab020c07005b348adc4ecdd5b' }), this.renderHintText()), hAsync("div", { key: 'dd4e52de31caabee41ec1bc58efecd1e213368c9', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
37461
37181
|
}
|
|
37462
37182
|
get el() { return getElement(this); }
|
|
37463
37183
|
static get watchers() { return {
|
|
@@ -37567,10 +37287,10 @@ class Toolbar {
|
|
|
37567
37287
|
this.childrenStyles.forEach((value) => {
|
|
37568
37288
|
Object.assign(childStyles, value);
|
|
37569
37289
|
});
|
|
37570
|
-
return (hAsync(Host, { key: '
|
|
37290
|
+
return (hAsync(Host, { key: 'b849db2863778dee6c5a251bffa1b3a657aeb036', class: Object.assign(Object.assign({}, childStyles), createColorClasses$1(this.color, {
|
|
37571
37291
|
[mode]: true,
|
|
37572
37292
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
37573
|
-
})) }, hAsync("div", { key: '
|
|
37293
|
+
})) }, hAsync("div", { key: '67f5bba9c4f527c3f35bfe1313a2b85741f9b246', class: "toolbar-background", part: "background" }), hAsync("div", { key: '085e8c68f056e5b0deb9d1606431fbeb45dae8e5', class: "toolbar-container", part: "container" }, hAsync("slot", { key: '15227c79c3baf883fd8c43fdb7e1313453933c79', name: "start" }), hAsync("slot", { key: '0b8a7f7e685aa31c80d9bc03446ccc3a9d07e0e8', name: "secondary" }), hAsync("div", { key: '57e4628c1fa89df79dd80456259db961bb691404', class: "toolbar-content", part: "content" }, hAsync("slot", { key: '82c2f6e1acf8d96db259bd8baf295881801edbd5' })), hAsync("slot", { key: 'b2d4afb15214199f206c0a5e08b581e4c9c2f58a', name: "primary" }), hAsync("slot", { key: 'bfb909a0c472f8834046c2ea23bef2f562167ad3', name: "end" }))));
|
|
37574
37294
|
}
|
|
37575
37295
|
get el() { return getElement(this); }
|
|
37576
37296
|
static get style() { return {
|
|
@@ -37616,11 +37336,11 @@ class ToolbarTitle {
|
|
|
37616
37336
|
render() {
|
|
37617
37337
|
const mode = getIonMode$1(this);
|
|
37618
37338
|
const size = this.getSize();
|
|
37619
|
-
return (hAsync(Host, { key: '
|
|
37339
|
+
return (hAsync(Host, { key: '44e63f8439df64c470692904427b417e19406476', class: createColorClasses$1(this.color, {
|
|
37620
37340
|
[mode]: true,
|
|
37621
37341
|
[`title-${size}`]: true,
|
|
37622
37342
|
'title-rtl': document.dir === 'rtl',
|
|
37623
|
-
}) }, hAsync("div", { key: '
|
|
37343
|
+
}) }, hAsync("div", { key: '784cf60a0db16045391891cc8fad0c7dbeba4039', class: "toolbar-title" }, hAsync("slot", { key: '0c720a50479ba257e8756337aeb9b0ab7516a227' }))));
|
|
37624
37344
|
}
|
|
37625
37345
|
get el() { return getElement(this); }
|
|
37626
37346
|
static get watchers() { return {
|