@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.mjs
CHANGED
|
@@ -18571,11 +18571,11 @@ class ItemDivider {
|
|
|
18571
18571
|
}
|
|
18572
18572
|
render() {
|
|
18573
18573
|
const mode = getIonMode$1(this);
|
|
18574
|
-
return (hAsync(Host, { key: '
|
|
18574
|
+
return (hAsync(Host, { key: 'ee8b2c8d5e415c0d8badf84fa7670932da4e809e', class: createColorClasses$1(this.color, {
|
|
18575
18575
|
[mode]: true,
|
|
18576
18576
|
'item-divider-sticky': this.sticky,
|
|
18577
18577
|
item: true,
|
|
18578
|
-
}) }, hAsync("slot", { key: '
|
|
18578
|
+
}) }, 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" }))));
|
|
18579
18579
|
}
|
|
18580
18580
|
get el() { return getElement(this); }
|
|
18581
18581
|
static get style() { return {
|
|
@@ -18605,7 +18605,7 @@ class ItemGroup {
|
|
|
18605
18605
|
}
|
|
18606
18606
|
render() {
|
|
18607
18607
|
const mode = getIonMode$1(this);
|
|
18608
|
-
return (hAsync(Host, { key: '
|
|
18608
|
+
return (hAsync(Host, { key: 'f1743af1d075682f63fae3802c5c5bf050507563', role: "group", class: {
|
|
18609
18609
|
[mode]: true,
|
|
18610
18610
|
// Used internally for styling
|
|
18611
18611
|
[`item-group-${mode}`]: true,
|
|
@@ -18675,12 +18675,12 @@ class ItemOption {
|
|
|
18675
18675
|
href: this.href,
|
|
18676
18676
|
target: this.target,
|
|
18677
18677
|
};
|
|
18678
|
-
return (hAsync(Host, { key: '
|
|
18678
|
+
return (hAsync(Host, { key: '058310ac361612c16f2ef70c74279ba7c24128c5', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
18679
18679
|
[mode]: true,
|
|
18680
18680
|
'item-option-disabled': disabled,
|
|
18681
18681
|
'item-option-expandable': expandable,
|
|
18682
18682
|
'ion-activatable': true,
|
|
18683
|
-
}) }, hAsync(TagType, Object.assign({ key: '
|
|
18683
|
+
}) }, 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' }))));
|
|
18684
18684
|
}
|
|
18685
18685
|
get el() { return getElement(this); }
|
|
18686
18686
|
static get style() { return {
|
|
@@ -18729,7 +18729,7 @@ class ItemOptions {
|
|
|
18729
18729
|
render() {
|
|
18730
18730
|
const mode = getIonMode$1(this);
|
|
18731
18731
|
const isEnd = isEndSide(this.side);
|
|
18732
|
-
return (hAsync(Host, { key: '
|
|
18732
|
+
return (hAsync(Host, { key: '7b4b93984182222c64c7a2a22a18e52ac19e3049', class: {
|
|
18733
18733
|
[mode]: true,
|
|
18734
18734
|
// Used internally for styling
|
|
18735
18735
|
[`item-options-${mode}`]: true,
|
|
@@ -19194,7 +19194,7 @@ class ItemSliding {
|
|
|
19194
19194
|
}
|
|
19195
19195
|
render() {
|
|
19196
19196
|
const mode = getIonMode$1(this);
|
|
19197
|
-
return (hAsync(Host, { key: '
|
|
19197
|
+
return (hAsync(Host, { key: '8fd81d74701402294a48b79c56d6eceadafd4881', class: {
|
|
19198
19198
|
[mode]: true,
|
|
19199
19199
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
19200
19200
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -19299,13 +19299,13 @@ class Label {
|
|
|
19299
19299
|
render() {
|
|
19300
19300
|
const position = this.position;
|
|
19301
19301
|
const mode = getIonMode$1(this);
|
|
19302
|
-
return (hAsync(Host, { key: '
|
|
19302
|
+
return (hAsync(Host, { key: '684ddfa719e34d743489ff05a0df067829257c73', class: createColorClasses$1(this.color, {
|
|
19303
19303
|
[mode]: true,
|
|
19304
19304
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
19305
19305
|
[`label-${position}`]: position !== undefined,
|
|
19306
19306
|
[`label-no-animate`]: this.noAnimate,
|
|
19307
19307
|
'label-rtl': document.dir === 'rtl',
|
|
19308
|
-
}) }, hAsync("slot", { key: '
|
|
19308
|
+
}) }, hAsync("slot", { key: '4aace3e2b36250e832c44f63bea21116d77220fb' })));
|
|
19309
19309
|
}
|
|
19310
19310
|
get el() { return getElement(this); }
|
|
19311
19311
|
static get watchers() { return {
|
|
@@ -19403,10 +19403,10 @@ class ListHeader {
|
|
|
19403
19403
|
render() {
|
|
19404
19404
|
const { lines } = this;
|
|
19405
19405
|
const mode = getIonMode$1(this);
|
|
19406
|
-
return (hAsync(Host, { key: '
|
|
19406
|
+
return (hAsync(Host, { key: '2e529021279761b2b2889885437f619b0e8f71c4', class: createColorClasses$1(this.color, {
|
|
19407
19407
|
[mode]: true,
|
|
19408
19408
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
19409
|
-
}) }, hAsync("div", { key: '
|
|
19409
|
+
}) }, hAsync("div", { key: '9a6a11b0db015df79374f6489a40b959bc80b3e4', class: "list-header-inner" }, hAsync("slot", { key: 'ef347fc6afb47850797e2e4d1aeefcd6a318f789' }))));
|
|
19410
19410
|
}
|
|
19411
19411
|
static get style() { return {
|
|
19412
19412
|
ios: listHeaderIosCss,
|
|
@@ -19691,9 +19691,9 @@ class Loading {
|
|
|
19691
19691
|
* Otherwise, don't set aria-labelledby.
|
|
19692
19692
|
*/
|
|
19693
19693
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
19694
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
19694
|
+
return (hAsync(Host, Object.assign({ key: 'f86ddbc600cb5c396b7de38fb5f49625388c3c3f', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
19695
19695
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
19696
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: '
|
|
19696
|
+
}, 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" })));
|
|
19697
19697
|
}
|
|
19698
19698
|
get el() { return getElement(this); }
|
|
19699
19699
|
static get watchers() { return {
|
|
@@ -20742,14 +20742,14 @@ class Menu {
|
|
|
20742
20742
|
* the ionBackButton listener in the menu controller
|
|
20743
20743
|
* will handle closing the menu when Escape is pressed.
|
|
20744
20744
|
*/
|
|
20745
|
-
return (hAsync(Host, { key: '
|
|
20745
|
+
return (hAsync(Host, { key: '29ef73894e2795e4ce23e59888ffb87faf4dd543', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
20746
20746
|
[mode]: true,
|
|
20747
20747
|
[`menu-type-${type}`]: true,
|
|
20748
20748
|
'menu-enabled': !disabled,
|
|
20749
20749
|
[`menu-side-${side}`]: true,
|
|
20750
20750
|
'menu-pane-visible': isPaneVisible,
|
|
20751
20751
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
20752
|
-
} }, hAsync("div", { key: '
|
|
20752
|
+
} }, 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" })));
|
|
20753
20753
|
}
|
|
20754
20754
|
get el() { return getElement(this); }
|
|
20755
20755
|
static get watchers() { return {
|
|
@@ -20857,7 +20857,7 @@ class MenuButton {
|
|
|
20857
20857
|
type: this.type,
|
|
20858
20858
|
};
|
|
20859
20859
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
20860
|
-
return (hAsync(Host, { key: '
|
|
20860
|
+
return (hAsync(Host, { key: 'dcade732e366f0687d92cb9ce4065b78b0b41d24', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses$1(color, {
|
|
20861
20861
|
[mode]: true,
|
|
20862
20862
|
button: true, // ion-buttons target .button
|
|
20863
20863
|
'menu-button-hidden': hidden,
|
|
@@ -20866,7 +20866,7 @@ class MenuButton {
|
|
|
20866
20866
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
20867
20867
|
'ion-activatable': true,
|
|
20868
20868
|
'ion-focusable': true,
|
|
20869
|
-
}) }, hAsync("button", Object.assign({ key: '
|
|
20869
|
+
}) }, 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" }))));
|
|
20870
20870
|
}
|
|
20871
20871
|
get el() { return getElement(this); }
|
|
20872
20872
|
static get style() { return {
|
|
@@ -20919,10 +20919,10 @@ class MenuToggle {
|
|
|
20919
20919
|
render() {
|
|
20920
20920
|
const mode = getIonMode$1(this);
|
|
20921
20921
|
const hidden = this.autoHide && !this.visible;
|
|
20922
|
-
return (hAsync(Host, { key: '
|
|
20922
|
+
return (hAsync(Host, { key: '55135952f3a42cb5d21916dfb7b169d894b381e3', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
20923
20923
|
[mode]: true,
|
|
20924
20924
|
'menu-toggle-hidden': hidden,
|
|
20925
|
-
} }, hAsync("slot", { key: '
|
|
20925
|
+
} }, hAsync("slot", { key: 'e8ecb59a6ec075b07e2a1b8fcdf7df3dd9975a03' })));
|
|
20926
20926
|
}
|
|
20927
20927
|
static get style() { return menuToggleCss; }
|
|
20928
20928
|
static get cmpMeta() { return {
|
|
@@ -21579,7 +21579,7 @@ const calculateSpringStep = (t) => {
|
|
|
21579
21579
|
const SwipeToCloseDefaults = {
|
|
21580
21580
|
MIN_PRESENTING_SCALE: 0.915,
|
|
21581
21581
|
};
|
|
21582
|
-
const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss
|
|
21582
|
+
const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss) => {
|
|
21583
21583
|
/**
|
|
21584
21584
|
* The step value at which a card modal
|
|
21585
21585
|
* is eligible for dismissing via gesture.
|
|
@@ -21736,8 +21736,6 @@ const createSwipeToCloseGesture = (el, animation, statusBarStyle, onDismiss, onG
|
|
|
21736
21736
|
const processedStep = isAttemptingDismissWithCanDismiss ? calculateSpringStep(step / maxStep) : step;
|
|
21737
21737
|
const clampedStep = clamp(0.0001, processedStep, maxStep);
|
|
21738
21738
|
animation.progressStep(clampedStep);
|
|
21739
|
-
// Notify modal of position change for safe-area updates
|
|
21740
|
-
onGestureMove === null || onGestureMove === void 0 ? void 0 : onGestureMove();
|
|
21741
21739
|
/**
|
|
21742
21740
|
* When swiping down half way, the status bar style
|
|
21743
21741
|
* should be reset to its default value.
|
|
@@ -22281,7 +22279,7 @@ const mdLeaveAnimation$2 = (baseEl, opts) => {
|
|
|
22281
22279
|
return baseAnimation;
|
|
22282
22280
|
};
|
|
22283
22281
|
|
|
22284
|
-
const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, backdropBreakpoint, animation, breakpoints = [], expandToScroll, getCurrentBreakpoint, onDismiss, onBreakpointChange
|
|
22282
|
+
const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, backdropBreakpoint, animation, breakpoints = [], expandToScroll, getCurrentBreakpoint, onDismiss, onBreakpointChange) => {
|
|
22285
22283
|
// Defaults for the sheet swipe animation
|
|
22286
22284
|
const defaultBackdrop = [
|
|
22287
22285
|
{ offset: 0, opacity: 'var(--backdrop-opacity)' },
|
|
@@ -22612,8 +22610,6 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
22612
22610
|
: step;
|
|
22613
22611
|
offset = clamp(0.0001, processedStep, maxStep);
|
|
22614
22612
|
animation.progressStep(offset);
|
|
22615
|
-
// Notify modal of position change for safe-area updates
|
|
22616
|
-
onGestureMove === null || onGestureMove === void 0 ? void 0 : onGestureMove();
|
|
22617
22613
|
};
|
|
22618
22614
|
const onEnd = (detail) => {
|
|
22619
22615
|
/**
|
|
@@ -22808,9 +22804,9 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
22808
22804
|
};
|
|
22809
22805
|
};
|
|
22810
22806
|
|
|
22811
|
-
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}";
|
|
22807
|
+
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}";
|
|
22812
22808
|
|
|
22813
|
-
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}";
|
|
22809
|
+
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}";
|
|
22814
22810
|
|
|
22815
22811
|
// TODO(FW-2832): types
|
|
22816
22812
|
/**
|
|
@@ -22843,10 +22839,6 @@ class Modal {
|
|
|
22843
22839
|
this.inline = false;
|
|
22844
22840
|
// Whether or not modal is being dismissed via gesture
|
|
22845
22841
|
this.gestureAnimationDismissing = false;
|
|
22846
|
-
// Whether to skip coordinate-based safe-area detection (for fullscreen phone modals)
|
|
22847
|
-
this.skipSafeAreaCoordinateDetection = false;
|
|
22848
|
-
// Track previous safe-area state to avoid redundant DOM writes
|
|
22849
|
-
this.prevSafeAreaState = { top: false, bottom: false, left: false, right: false };
|
|
22850
22842
|
this.presented = false;
|
|
22851
22843
|
/** @internal */
|
|
22852
22844
|
this.hasController = false;
|
|
@@ -23037,10 +23029,7 @@ class Modal {
|
|
|
23037
23029
|
}
|
|
23038
23030
|
}
|
|
23039
23031
|
onWindowResize() {
|
|
23040
|
-
//
|
|
23041
|
-
this.cachedSafeAreas = undefined;
|
|
23042
|
-
this.updateSafeAreaOverrides();
|
|
23043
|
-
// Only handle view transition for iOS card modals when no custom animations are provided
|
|
23032
|
+
// Only handle resize for iOS card modals when no custom animations are provided
|
|
23044
23033
|
if (getIonMode$1(this) !== 'ios' || !this.presentingElement || this.enterAnimation || this.leaveAnimation) {
|
|
23045
23034
|
return;
|
|
23046
23035
|
}
|
|
@@ -23063,8 +23052,6 @@ class Modal {
|
|
|
23063
23052
|
this.triggerController.removeClickListener();
|
|
23064
23053
|
this.cleanupViewTransitionListener();
|
|
23065
23054
|
this.cleanupParentRemovalObserver();
|
|
23066
|
-
// Reset safe-area state to handle removal without dismiss (e.g., framework unmount)
|
|
23067
|
-
this.resetSafeAreaState();
|
|
23068
23055
|
}
|
|
23069
23056
|
componentWillLoad() {
|
|
23070
23057
|
var _a;
|
|
@@ -23224,8 +23211,6 @@ class Modal {
|
|
|
23224
23211
|
else if (!this.keepContentsMounted) {
|
|
23225
23212
|
await waitForMount();
|
|
23226
23213
|
}
|
|
23227
|
-
// Predict safe-area needs based on modal configuration to avoid visual snap
|
|
23228
|
-
this.setInitialSafeAreaOverrides(presentingElement);
|
|
23229
23214
|
writeTask(() => this.el.classList.add('show-modal'));
|
|
23230
23215
|
const hasCardModal = presentingElement !== undefined;
|
|
23231
23216
|
/**
|
|
@@ -23287,8 +23272,6 @@ class Modal {
|
|
|
23287
23272
|
else if (hasCardModal) {
|
|
23288
23273
|
this.initSwipeToClose();
|
|
23289
23274
|
}
|
|
23290
|
-
// Now that animation is complete, update safe-area based on actual position
|
|
23291
|
-
this.updateSafeAreaOverrides();
|
|
23292
23275
|
// Initialize view transition listener for iOS card modals
|
|
23293
23276
|
this.initViewTransitionListener();
|
|
23294
23277
|
// Initialize parent removal observer
|
|
@@ -23340,7 +23323,7 @@ class Modal {
|
|
|
23340
23323
|
await this.dismiss(undefined, GESTURE);
|
|
23341
23324
|
this.gestureAnimationDismissing = false;
|
|
23342
23325
|
});
|
|
23343
|
-
}
|
|
23326
|
+
});
|
|
23344
23327
|
this.gesture.enable(true);
|
|
23345
23328
|
}
|
|
23346
23329
|
initSheetGesture() {
|
|
@@ -23361,8 +23344,7 @@ class Modal {
|
|
|
23361
23344
|
this.currentBreakpoint = breakpoint;
|
|
23362
23345
|
this.ionBreakpointDidChange.emit({ breakpoint });
|
|
23363
23346
|
}
|
|
23364
|
-
|
|
23365
|
-
}, () => this.updateSafeAreaOverrides());
|
|
23347
|
+
});
|
|
23366
23348
|
this.gesture = gesture;
|
|
23367
23349
|
this.moveSheetToBreakpoint = moveSheetToBreakpoint;
|
|
23368
23350
|
this.gesture.enable(true);
|
|
@@ -23440,194 +23422,6 @@ class Modal {
|
|
|
23440
23422
|
// Clear the cached reference
|
|
23441
23423
|
this.cachedPageParent = undefined;
|
|
23442
23424
|
}
|
|
23443
|
-
/**
|
|
23444
|
-
* Sets initial safe-area overrides based on modal configuration before
|
|
23445
|
-
* the modal becomes visible. This predicts whether the modal will touch
|
|
23446
|
-
* screen edges to avoid a visual snap after animation completes.
|
|
23447
|
-
*/
|
|
23448
|
-
setInitialSafeAreaOverrides(presentingElement) {
|
|
23449
|
-
const style = this.el.style;
|
|
23450
|
-
const mode = getIonMode$1(this);
|
|
23451
|
-
const isSheetModal = this.breakpoints !== undefined && this.initialBreakpoint !== undefined;
|
|
23452
|
-
// Card modals only exist in iOS mode - in MD mode, presentingElement is ignored
|
|
23453
|
-
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
23454
|
-
const isTablet = window.innerWidth >= 768;
|
|
23455
|
-
// Sheet modals always touch bottom edge, never top/left/right
|
|
23456
|
-
if (isSheetModal) {
|
|
23457
|
-
style.setProperty('--ion-safe-area-top', '0px');
|
|
23458
|
-
style.setProperty('--ion-safe-area-left', '0px');
|
|
23459
|
-
style.setProperty('--ion-safe-area-right', '0px');
|
|
23460
|
-
return;
|
|
23461
|
-
}
|
|
23462
|
-
// Card modals have rounded top corners
|
|
23463
|
-
if (isCardModal) {
|
|
23464
|
-
style.setProperty('--ion-safe-area-top', '0px');
|
|
23465
|
-
if (isTablet) {
|
|
23466
|
-
// On tablets, card modals are inset from all edges
|
|
23467
|
-
this.zeroAllSafeAreas();
|
|
23468
|
-
}
|
|
23469
|
-
else {
|
|
23470
|
-
// On phones, card modals still extend to the bottom edge
|
|
23471
|
-
style.setProperty('--ion-safe-area-left', '0px');
|
|
23472
|
-
style.setProperty('--ion-safe-area-right', '0px');
|
|
23473
|
-
this.applyFullscreenSafeArea();
|
|
23474
|
-
}
|
|
23475
|
-
return;
|
|
23476
|
-
}
|
|
23477
|
-
// Check if modal is fullscreen via CSS custom properties
|
|
23478
|
-
// This applies to both phone and tablet sizes - custom modals may have
|
|
23479
|
-
// non-fullscreen dimensions even on phones (e.g., --height: 70%)
|
|
23480
|
-
const computedStyle = getComputedStyle(this.el);
|
|
23481
|
-
const width = computedStyle.getPropertyValue('--width').trim();
|
|
23482
|
-
const height = computedStyle.getPropertyValue('--height').trim();
|
|
23483
|
-
const isFullscreen = width === '100%' && height === '100%';
|
|
23484
|
-
if (isFullscreen) {
|
|
23485
|
-
this.applyFullscreenSafeArea();
|
|
23486
|
-
}
|
|
23487
|
-
else if (isTablet) {
|
|
23488
|
-
// Centered dialog on tablet doesn't touch edges
|
|
23489
|
-
this.zeroAllSafeAreas();
|
|
23490
|
-
}
|
|
23491
|
-
else ;
|
|
23492
|
-
}
|
|
23493
|
-
/**
|
|
23494
|
-
* Applies safe-area handling for fullscreen modals.
|
|
23495
|
-
* Adds wrapper padding when no footer is present to prevent
|
|
23496
|
-
* content from overlapping system navigation areas.
|
|
23497
|
-
*/
|
|
23498
|
-
applyFullscreenSafeArea() {
|
|
23499
|
-
this.skipSafeAreaCoordinateDetection = true;
|
|
23500
|
-
this.updateFooterPadding();
|
|
23501
|
-
// Watch for dynamic footer additions/removals (e.g., async data loading)
|
|
23502
|
-
// Use subtree:true to support wrapped footers in framework components
|
|
23503
|
-
// (e.g., <my-footer><ion-footer>...</ion-footer></my-footer>)
|
|
23504
|
-
if (!this.footerObserver && win$1 !== undefined && 'MutationObserver' in win$1) {
|
|
23505
|
-
this.footerObserver = new MutationObserver(() => this.updateFooterPadding());
|
|
23506
|
-
this.footerObserver.observe(this.el, { childList: true, subtree: true });
|
|
23507
|
-
}
|
|
23508
|
-
}
|
|
23509
|
-
/**
|
|
23510
|
-
* Updates wrapper and shadow padding based on footer presence.
|
|
23511
|
-
* Called initially and when footer is dynamically added/removed.
|
|
23512
|
-
* Both elements must be styled identically to prevent visual mismatches.
|
|
23513
|
-
*/
|
|
23514
|
-
updateFooterPadding() {
|
|
23515
|
-
if (!this.wrapperEl)
|
|
23516
|
-
return;
|
|
23517
|
-
const hasFooter = this.el.querySelector('ion-footer') !== null;
|
|
23518
|
-
// Apply to both wrapper and shadow to keep them in sync
|
|
23519
|
-
const elements = [this.wrapperEl, this.shadowEl].filter(Boolean);
|
|
23520
|
-
if (hasFooter) {
|
|
23521
|
-
elements.forEach((el) => {
|
|
23522
|
-
el.style.removeProperty('padding-bottom');
|
|
23523
|
-
el.style.removeProperty('box-sizing');
|
|
23524
|
-
});
|
|
23525
|
-
}
|
|
23526
|
-
else {
|
|
23527
|
-
elements.forEach((el) => {
|
|
23528
|
-
el.style.setProperty('padding-bottom', 'var(--ion-safe-area-bottom, 0px)');
|
|
23529
|
-
el.style.setProperty('box-sizing', 'border-box');
|
|
23530
|
-
});
|
|
23531
|
-
}
|
|
23532
|
-
}
|
|
23533
|
-
/**
|
|
23534
|
-
* Sets all safe-area CSS variables to 0px for modals that
|
|
23535
|
-
* don't touch screen edges.
|
|
23536
|
-
*/
|
|
23537
|
-
zeroAllSafeAreas() {
|
|
23538
|
-
const style = this.el.style;
|
|
23539
|
-
style.setProperty('--ion-safe-area-top', '0px');
|
|
23540
|
-
style.setProperty('--ion-safe-area-bottom', '0px');
|
|
23541
|
-
style.setProperty('--ion-safe-area-left', '0px');
|
|
23542
|
-
style.setProperty('--ion-safe-area-right', '0px');
|
|
23543
|
-
}
|
|
23544
|
-
/**
|
|
23545
|
-
* Resets all safe-area related state and styles.
|
|
23546
|
-
* Called during dismiss and disconnectedCallback to ensure clean state
|
|
23547
|
-
* for re-presentation of inline modals.
|
|
23548
|
-
*/
|
|
23549
|
-
resetSafeAreaState() {
|
|
23550
|
-
var _a;
|
|
23551
|
-
this.skipSafeAreaCoordinateDetection = false;
|
|
23552
|
-
this.cachedSafeAreas = undefined;
|
|
23553
|
-
this.prevSafeAreaState = { top: false, bottom: false, left: false, right: false };
|
|
23554
|
-
(_a = this.footerObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
23555
|
-
this.footerObserver = undefined;
|
|
23556
|
-
// Clear wrapper and shadow styles that may have been set for safe-area handling
|
|
23557
|
-
[this.wrapperEl, this.shadowEl].forEach((el) => {
|
|
23558
|
-
if (el) {
|
|
23559
|
-
el.style.removeProperty('padding-bottom');
|
|
23560
|
-
el.style.removeProperty('box-sizing');
|
|
23561
|
-
}
|
|
23562
|
-
});
|
|
23563
|
-
// Clear safe-area CSS variable overrides
|
|
23564
|
-
const style = this.el.style;
|
|
23565
|
-
style.removeProperty('--ion-safe-area-top');
|
|
23566
|
-
style.removeProperty('--ion-safe-area-bottom');
|
|
23567
|
-
style.removeProperty('--ion-safe-area-left');
|
|
23568
|
-
style.removeProperty('--ion-safe-area-right');
|
|
23569
|
-
}
|
|
23570
|
-
/**
|
|
23571
|
-
* Gets the root safe-area values from the document element.
|
|
23572
|
-
* Uses cached values during gestures to avoid getComputedStyle calls.
|
|
23573
|
-
*/
|
|
23574
|
-
getSafeAreaValues() {
|
|
23575
|
-
if (!this.cachedSafeAreas) {
|
|
23576
|
-
const rootStyle = getComputedStyle(document.documentElement);
|
|
23577
|
-
this.cachedSafeAreas = {
|
|
23578
|
-
top: parseFloat(rootStyle.getPropertyValue('--ion-safe-area-top')) || 0,
|
|
23579
|
-
bottom: parseFloat(rootStyle.getPropertyValue('--ion-safe-area-bottom')) || 0,
|
|
23580
|
-
left: parseFloat(rootStyle.getPropertyValue('--ion-safe-area-left')) || 0,
|
|
23581
|
-
right: parseFloat(rootStyle.getPropertyValue('--ion-safe-area-right')) || 0,
|
|
23582
|
-
};
|
|
23583
|
-
}
|
|
23584
|
-
return this.cachedSafeAreas;
|
|
23585
|
-
}
|
|
23586
|
-
/**
|
|
23587
|
-
* Updates safe-area CSS variable overrides based on whether the modal
|
|
23588
|
-
* extends into each safe-area region. Called after animation
|
|
23589
|
-
* and during gestures to handle dynamic position changes.
|
|
23590
|
-
*
|
|
23591
|
-
* Optimized to avoid redundant DOM writes by tracking previous state.
|
|
23592
|
-
*/
|
|
23593
|
-
updateSafeAreaOverrides() {
|
|
23594
|
-
if (this.skipSafeAreaCoordinateDetection) {
|
|
23595
|
-
return;
|
|
23596
|
-
}
|
|
23597
|
-
const wrapper = this.wrapperEl;
|
|
23598
|
-
if (!wrapper) {
|
|
23599
|
-
return;
|
|
23600
|
-
}
|
|
23601
|
-
const rect = wrapper.getBoundingClientRect();
|
|
23602
|
-
const safeAreas = this.getSafeAreaValues();
|
|
23603
|
-
const extendsIntoTop = rect.top < safeAreas.top;
|
|
23604
|
-
const extendsIntoBottom = rect.bottom > window.innerHeight - safeAreas.bottom;
|
|
23605
|
-
const extendsIntoLeft = rect.left < safeAreas.left;
|
|
23606
|
-
const extendsIntoRight = rect.right > window.innerWidth - safeAreas.right;
|
|
23607
|
-
// Only update DOM when state actually changes
|
|
23608
|
-
const prev = this.prevSafeAreaState;
|
|
23609
|
-
const style = this.el.style;
|
|
23610
|
-
if (extendsIntoTop !== prev.top) {
|
|
23611
|
-
extendsIntoTop ? style.removeProperty('--ion-safe-area-top') : style.setProperty('--ion-safe-area-top', '0px');
|
|
23612
|
-
prev.top = extendsIntoTop;
|
|
23613
|
-
}
|
|
23614
|
-
if (extendsIntoBottom !== prev.bottom) {
|
|
23615
|
-
extendsIntoBottom
|
|
23616
|
-
? style.removeProperty('--ion-safe-area-bottom')
|
|
23617
|
-
: style.setProperty('--ion-safe-area-bottom', '0px');
|
|
23618
|
-
prev.bottom = extendsIntoBottom;
|
|
23619
|
-
}
|
|
23620
|
-
if (extendsIntoLeft !== prev.left) {
|
|
23621
|
-
extendsIntoLeft ? style.removeProperty('--ion-safe-area-left') : style.setProperty('--ion-safe-area-left', '0px');
|
|
23622
|
-
prev.left = extendsIntoLeft;
|
|
23623
|
-
}
|
|
23624
|
-
if (extendsIntoRight !== prev.right) {
|
|
23625
|
-
extendsIntoRight
|
|
23626
|
-
? style.removeProperty('--ion-safe-area-right')
|
|
23627
|
-
: style.setProperty('--ion-safe-area-right', '0px');
|
|
23628
|
-
prev.right = extendsIntoRight;
|
|
23629
|
-
}
|
|
23630
|
-
}
|
|
23631
23425
|
sheetOnDismiss() {
|
|
23632
23426
|
/**
|
|
23633
23427
|
* While the gesture animation is finishing
|
|
@@ -23720,8 +23514,6 @@ class Modal {
|
|
|
23720
23514
|
}
|
|
23721
23515
|
this.currentBreakpoint = undefined;
|
|
23722
23516
|
this.animation = undefined;
|
|
23723
|
-
// Reset safe-area state for potential re-presentation
|
|
23724
|
-
this.resetSafeAreaState();
|
|
23725
23517
|
unlock();
|
|
23726
23518
|
return dismissed;
|
|
23727
23519
|
}
|
|
@@ -23971,20 +23763,20 @@ class Modal {
|
|
|
23971
23763
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
23972
23764
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
23973
23765
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
23974
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
23766
|
+
return (hAsync(Host, Object.assign({ key: '978ba9cc81464b2d9b4caaf36285d5f7bf7e568d', "no-router": true,
|
|
23975
23767
|
// Allow the modal to be navigable when the handle is focusable
|
|
23976
23768
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
23977
23769
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
23978
|
-
}, 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: '
|
|
23770
|
+
}, 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',
|
|
23979
23771
|
/*
|
|
23980
23772
|
role and aria-modal must be used on the
|
|
23981
23773
|
same element. They must also be set inside the
|
|
23982
23774
|
shadow DOM otherwise ion-button will not be highlighted
|
|
23983
23775
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
23984
23776
|
*/
|
|
23985
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: '
|
|
23777
|
+
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",
|
|
23986
23778
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
23987
|
-
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: '
|
|
23779
|
+
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 }))));
|
|
23988
23780
|
}
|
|
23989
23781
|
get el() { return getElement(this); }
|
|
23990
23782
|
static get watchers() { return {
|
|
@@ -24932,7 +24724,7 @@ class Nav {
|
|
|
24932
24724
|
}
|
|
24933
24725
|
}
|
|
24934
24726
|
render() {
|
|
24935
|
-
return hAsync("slot", { key: '
|
|
24727
|
+
return hAsync("slot", { key: 'a549286b51b1bb23c9ef51f71148452228d0ab14' });
|
|
24936
24728
|
}
|
|
24937
24729
|
get el() { return getElement(this); }
|
|
24938
24730
|
static get watchers() { return {
|
|
@@ -25005,7 +24797,7 @@ class NavLink {
|
|
|
25005
24797
|
};
|
|
25006
24798
|
}
|
|
25007
24799
|
render() {
|
|
25008
|
-
return hAsync(Host, { key: '
|
|
24800
|
+
return hAsync(Host, { key: 'd4d80feb51c0d92b0bedf6952c892f9df3002046', onClick: this.onClick });
|
|
25009
24801
|
}
|
|
25010
24802
|
get el() { return getElement(this); }
|
|
25011
24803
|
static get cmpMeta() { return {
|
|
@@ -25036,9 +24828,9 @@ class Note {
|
|
|
25036
24828
|
}
|
|
25037
24829
|
render() {
|
|
25038
24830
|
const mode = getIonMode$1(this);
|
|
25039
|
-
return (hAsync(Host, { key: '
|
|
24831
|
+
return (hAsync(Host, { key: 'b86a6acc9274df6528d224d4c11ab826a0f84dbc', class: createColorClasses$1(this.color, {
|
|
25040
24832
|
[mode]: true,
|
|
25041
|
-
}) }, hAsync("slot", { key: '
|
|
24833
|
+
}) }, hAsync("slot", { key: '5de76567ed7713827cd277a42db102faf34190c8' })));
|
|
25042
24834
|
}
|
|
25043
24835
|
static get style() { return {
|
|
25044
24836
|
ios: noteIosCss,
|
|
@@ -25798,11 +25590,11 @@ class Picker {
|
|
|
25798
25590
|
render() {
|
|
25799
25591
|
const { htmlAttributes } = this;
|
|
25800
25592
|
const mode = getIonMode$1(this);
|
|
25801
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
25593
|
+
return (hAsync(Host, Object.assign({ key: '80f66d33780d8a1352d24be9cb63a0cc03d01ab5', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
25802
25594
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
25803
25595
|
}, class: Object.assign({ [mode]: true,
|
|
25804
25596
|
// Used internally for styling
|
|
25805
|
-
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: '
|
|
25597
|
+
[`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" })));
|
|
25806
25598
|
}
|
|
25807
25599
|
get el() { return getElement(this); }
|
|
25808
25600
|
static get watchers() { return {
|
|
@@ -26771,9 +26563,9 @@ class PickerColumnCmp {
|
|
|
26771
26563
|
render() {
|
|
26772
26564
|
const col = this.col;
|
|
26773
26565
|
const mode = getIonMode$1(this);
|
|
26774
|
-
return (hAsync(Host, { key: '
|
|
26566
|
+
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: {
|
|
26775
26567
|
'max-width': this.col.columnWidth,
|
|
26776
|
-
} }, col.prefix && (hAsync("div", { key: '
|
|
26568
|
+
} }, 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))));
|
|
26777
26569
|
}
|
|
26778
26570
|
get el() { return getElement(this); }
|
|
26779
26571
|
static get watchers() { return {
|
|
@@ -26890,10 +26682,10 @@ class PickerColumnOption {
|
|
|
26890
26682
|
render() {
|
|
26891
26683
|
const { color, disabled, ariaLabel } = this;
|
|
26892
26684
|
const mode = getIonMode$1(this);
|
|
26893
|
-
return (hAsync(Host, { key: '
|
|
26685
|
+
return (hAsync(Host, { key: 'c45a1c14a351bf57d7113671164852349be5aa8a', class: createColorClasses$1(color, {
|
|
26894
26686
|
[mode]: true,
|
|
26895
26687
|
['option-disabled']: disabled,
|
|
26896
|
-
}) }, hAsync("div", { key: '
|
|
26688
|
+
}) }, hAsync("div", { key: '824930b658c6e3fb493ac4c6c2451d38c6bc4829', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, hAsync("slot", { key: '019df4dcf46e629bdbebcd46ed3ab29669feab27' }))));
|
|
26897
26689
|
}
|
|
26898
26690
|
get el() { return getElement(this); }
|
|
26899
26691
|
static get watchers() { return {
|
|
@@ -27562,8 +27354,6 @@ const calculateWindowAdjustment = (side, coordTop, coordLeft, bodyPadding, bodyW
|
|
|
27562
27354
|
let bottom;
|
|
27563
27355
|
let originX = contentOriginX;
|
|
27564
27356
|
let originY = contentOriginY;
|
|
27565
|
-
let checkSafeAreaTop = false;
|
|
27566
|
-
let checkSafeAreaBottom = false;
|
|
27567
27357
|
let checkSafeAreaLeft = false;
|
|
27568
27358
|
let checkSafeAreaRight = false;
|
|
27569
27359
|
const triggerTop = triggerCoordinates
|
|
@@ -27608,18 +27398,10 @@ const calculateWindowAdjustment = (side, coordTop, coordLeft, bodyPadding, bodyW
|
|
|
27608
27398
|
* We chose 12 here so that the popover position looks a bit nicer as
|
|
27609
27399
|
* it is not right up against the edge of the screen.
|
|
27610
27400
|
*/
|
|
27611
|
-
top = Math.max(
|
|
27401
|
+
top = Math.max(12, triggerTop - contentHeight - triggerHeight - (arrowHeight - 1));
|
|
27612
27402
|
arrowTop = top + contentHeight;
|
|
27613
27403
|
originY = 'bottom';
|
|
27614
27404
|
addPopoverBottomClass = true;
|
|
27615
|
-
/**
|
|
27616
|
-
* If the popover is positioned near the top edge, account for safe area.
|
|
27617
|
-
* This ensures the popover doesn't overlap with status bars or notches.
|
|
27618
|
-
*/
|
|
27619
|
-
if (top <= bodyPadding + safeAreaMargin) {
|
|
27620
|
-
checkSafeAreaTop = true;
|
|
27621
|
-
top = bodyPadding;
|
|
27622
|
-
}
|
|
27623
27405
|
/**
|
|
27624
27406
|
* If not enough room for popover to appear
|
|
27625
27407
|
* above trigger, then cut it off.
|
|
@@ -27627,35 +27409,14 @@ const calculateWindowAdjustment = (side, coordTop, coordLeft, bodyPadding, bodyW
|
|
|
27627
27409
|
}
|
|
27628
27410
|
else {
|
|
27629
27411
|
bottom = bodyPadding;
|
|
27630
|
-
/**
|
|
27631
|
-
* When the popover is pinned to the bottom, account for safe area.
|
|
27632
|
-
* This ensures the popover doesn't overlap with home indicators
|
|
27633
|
-
* or navigation bars (e.g., Android API 36+ edge-to-edge).
|
|
27634
|
-
*/
|
|
27635
|
-
checkSafeAreaBottom = true;
|
|
27636
27412
|
}
|
|
27637
27413
|
}
|
|
27638
|
-
/**
|
|
27639
|
-
* Final check: If the popover extends into any safe-area region,
|
|
27640
|
-
* ensure the corresponding flag is set regardless of side.
|
|
27641
|
-
* This handles cases where a side-positioned popover (left/right)
|
|
27642
|
-
* still needs bottom safe-area padding because it extends into that region.
|
|
27643
|
-
*/
|
|
27644
|
-
const popoverBottom = bottom !== undefined ? bodyHeight - bottom : top + contentHeight;
|
|
27645
|
-
if (popoverBottom + safeAreaMargin > bodyHeight) {
|
|
27646
|
-
checkSafeAreaBottom = true;
|
|
27647
|
-
}
|
|
27648
|
-
if (top < safeAreaMargin) {
|
|
27649
|
-
checkSafeAreaTop = true;
|
|
27650
|
-
}
|
|
27651
27414
|
return {
|
|
27652
27415
|
top,
|
|
27653
27416
|
left,
|
|
27654
27417
|
bottom,
|
|
27655
27418
|
originX,
|
|
27656
27419
|
originY,
|
|
27657
|
-
checkSafeAreaTop,
|
|
27658
|
-
checkSafeAreaBottom,
|
|
27659
27420
|
checkSafeAreaLeft,
|
|
27660
27421
|
checkSafeAreaRight,
|
|
27661
27422
|
arrowTop,
|
|
@@ -27716,7 +27477,7 @@ const iosEnterAnimation$1 = (baseEl, opts) => {
|
|
|
27716
27477
|
const results = getPopoverPosition(isRTL, contentWidth, contentHeight, arrowWidth, arrowHeight, reference, side, align, defaultPosition, trigger, ev);
|
|
27717
27478
|
const padding = size === 'cover' ? 0 : POPOVER_IOS_BODY_PADDING;
|
|
27718
27479
|
const margin = size === 'cover' ? 0 : 25;
|
|
27719
|
-
const { originX, originY, top, left, bottom,
|
|
27480
|
+
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);
|
|
27720
27481
|
const baseAnimation = createAnimation();
|
|
27721
27482
|
const backdropAnimation = createAnimation();
|
|
27722
27483
|
const contentAnimation = createAnimation();
|
|
@@ -27746,35 +27507,19 @@ const iosEnterAnimation$1 = (baseEl, opts) => {
|
|
|
27746
27507
|
if (addPopoverBottomClass) {
|
|
27747
27508
|
baseEl.classList.add('popover-bottom');
|
|
27748
27509
|
}
|
|
27749
|
-
|
|
27750
|
-
|
|
27751
|
-
|
|
27752
|
-
* safe-area inset to ensure the popover doesn't overlap with system UI
|
|
27753
|
-
* (status bars, home indicators, navigation bars on Android API 36+, etc.)
|
|
27754
|
-
*/
|
|
27755
|
-
const safeAreaTop = ' + var(--ion-safe-area-top, 0)';
|
|
27756
|
-
const safeAreaBottom = ' + var(--ion-safe-area-bottom, 0)';
|
|
27510
|
+
if (bottom !== undefined) {
|
|
27511
|
+
contentEl.style.setProperty('bottom', `${bottom}px`);
|
|
27512
|
+
}
|
|
27757
27513
|
const safeAreaLeft = ' + var(--ion-safe-area-left, 0)';
|
|
27758
27514
|
const safeAreaRight = ' - var(--ion-safe-area-right, 0)';
|
|
27759
|
-
let topValue = `${top}px`;
|
|
27760
|
-
let bottomValue = bottom !== undefined ? `${bottom}px` : undefined;
|
|
27761
27515
|
let leftValue = `${left}px`;
|
|
27762
|
-
if (checkSafeAreaTop) {
|
|
27763
|
-
topValue = `${top}px${safeAreaTop}`;
|
|
27764
|
-
}
|
|
27765
|
-
if (checkSafeAreaBottom && bottomValue !== undefined) {
|
|
27766
|
-
bottomValue = `${bottom}px${safeAreaBottom}`;
|
|
27767
|
-
}
|
|
27768
27516
|
if (checkSafeAreaLeft) {
|
|
27769
27517
|
leftValue = `${left}px${safeAreaLeft}`;
|
|
27770
27518
|
}
|
|
27771
27519
|
if (checkSafeAreaRight) {
|
|
27772
27520
|
leftValue = `${left}px${safeAreaRight}`;
|
|
27773
27521
|
}
|
|
27774
|
-
|
|
27775
|
-
contentEl.style.setProperty('bottom', `calc(${bottomValue})`);
|
|
27776
|
-
}
|
|
27777
|
-
contentEl.style.setProperty('top', `calc(${topValue} + var(--offset-y, 0))`);
|
|
27522
|
+
contentEl.style.setProperty('top', `calc(${top}px + var(--offset-y, 0))`);
|
|
27778
27523
|
contentEl.style.setProperty('left', `calc(${leftValue} + var(--offset-x, 0))`);
|
|
27779
27524
|
contentEl.style.setProperty('transform-origin', `${originY} ${originX}`);
|
|
27780
27525
|
if (arrowEl !== null) {
|
|
@@ -27850,32 +27595,7 @@ const mdEnterAnimation$1 = (baseEl, opts) => {
|
|
|
27850
27595
|
};
|
|
27851
27596
|
const results = getPopoverPosition(isRTL, contentWidth, contentHeight, 0, 0, reference, side, align, defaultPosition, trigger, ev);
|
|
27852
27597
|
const padding = size === 'cover' ? 0 : POPOVER_MD_BODY_PADDING;
|
|
27853
|
-
const { originX, originY, top, left, bottom
|
|
27854
|
-
/**
|
|
27855
|
-
* Safe area CSS variable adjustments.
|
|
27856
|
-
* When the popover is positioned near an edge, we add the corresponding
|
|
27857
|
-
* safe-area inset to ensure the popover doesn't overlap with system UI
|
|
27858
|
-
* (status bars, home indicators, navigation bars on Android API 36+, etc.)
|
|
27859
|
-
*/
|
|
27860
|
-
const safeAreaTop = ' + var(--ion-safe-area-top, 0)';
|
|
27861
|
-
const safeAreaBottom = ' + var(--ion-safe-area-bottom, 0)';
|
|
27862
|
-
const safeAreaLeft = ' + var(--ion-safe-area-left, 0)';
|
|
27863
|
-
const safeAreaRight = ' - var(--ion-safe-area-right, 0)';
|
|
27864
|
-
let topValue = `${top}px`;
|
|
27865
|
-
let bottomValue = bottom !== undefined ? `${bottom}px` : undefined;
|
|
27866
|
-
let leftValue = `${left}px`;
|
|
27867
|
-
if (checkSafeAreaTop) {
|
|
27868
|
-
topValue = `${top}px${safeAreaTop}`;
|
|
27869
|
-
}
|
|
27870
|
-
if (checkSafeAreaBottom && bottomValue !== undefined) {
|
|
27871
|
-
bottomValue = `${bottom}px${safeAreaBottom}`;
|
|
27872
|
-
}
|
|
27873
|
-
if (checkSafeAreaLeft) {
|
|
27874
|
-
leftValue = `${left}px${safeAreaLeft}`;
|
|
27875
|
-
}
|
|
27876
|
-
if (checkSafeAreaRight) {
|
|
27877
|
-
leftValue = `${left}px${safeAreaRight}`;
|
|
27878
|
-
}
|
|
27598
|
+
const { originX, originY, top, left, bottom } = calculateWindowAdjustment(side, results.top, results.left, padding, bodyWidth, bodyHeight, contentWidth, contentHeight, 0, results.originX, results.originY, results.referenceCoordinates);
|
|
27879
27599
|
const baseAnimation = createAnimation();
|
|
27880
27600
|
const backdropAnimation = createAnimation();
|
|
27881
27601
|
const wrapperAnimation = createAnimation();
|
|
@@ -27892,13 +27612,13 @@ const mdEnterAnimation$1 = (baseEl, opts) => {
|
|
|
27892
27612
|
contentAnimation
|
|
27893
27613
|
.addElement(contentEl)
|
|
27894
27614
|
.beforeStyles({
|
|
27895
|
-
top: `calc(${
|
|
27896
|
-
left: `calc(${
|
|
27615
|
+
top: `calc(${top}px + var(--offset-y, 0px))`,
|
|
27616
|
+
left: `calc(${left}px + var(--offset-x, 0px))`,
|
|
27897
27617
|
'transform-origin': `${originY} ${originX}`,
|
|
27898
27618
|
})
|
|
27899
27619
|
.beforeAddWrite(() => {
|
|
27900
|
-
if (
|
|
27901
|
-
contentEl.style.setProperty('bottom',
|
|
27620
|
+
if (bottom !== undefined) {
|
|
27621
|
+
contentEl.style.setProperty('bottom', `${bottom}px`);
|
|
27902
27622
|
}
|
|
27903
27623
|
})
|
|
27904
27624
|
.fromTo('transform', 'scale(0.8)', 'scale(1)');
|
|
@@ -28406,9 +28126,9 @@ class Popover {
|
|
|
28406
28126
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
28407
28127
|
const desktop = isPlatform('desktop');
|
|
28408
28128
|
const enableArrow = arrow && !parentPopover;
|
|
28409
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
28129
|
+
return (hAsync(Host, Object.assign({ key: '2edd8333c630efbce59071f8a383e4326e928dbc', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
28410
28130
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
28411
|
-
}, 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: '
|
|
28131
|
+
}, 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' })))));
|
|
28412
28132
|
}
|
|
28413
28133
|
get el() { return getElement(this); }
|
|
28414
28134
|
static get watchers() { return {
|
|
@@ -28513,7 +28233,7 @@ class ProgressBar {
|
|
|
28513
28233
|
const mode = getIonMode$1(this);
|
|
28514
28234
|
// If the progress is displayed as a solid bar.
|
|
28515
28235
|
const progressSolid = buffer === 1;
|
|
28516
|
-
return (hAsync(Host, { key: '
|
|
28236
|
+
return (hAsync(Host, { key: 'c859e48f3d24a458239e36d925e5dc003ed07c6b', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses$1(color, {
|
|
28517
28237
|
[mode]: true,
|
|
28518
28238
|
[`progress-bar-${type}`]: true,
|
|
28519
28239
|
'progress-paused': paused,
|
|
@@ -28698,7 +28418,7 @@ class Radio {
|
|
|
28698
28418
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
28699
28419
|
const mode = getIonMode$1(this);
|
|
28700
28420
|
const inItem = hostContext('ion-item', el);
|
|
28701
|
-
return (hAsync(Host, { key: '
|
|
28421
|
+
return (hAsync(Host, { key: 'af5dc59ed528150872e907ed1036e3e2decba939', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses$1(color, {
|
|
28702
28422
|
[mode]: true,
|
|
28703
28423
|
'in-item': inItem,
|
|
28704
28424
|
'radio-checked': checked,
|
|
@@ -28709,10 +28429,10 @@ class Radio {
|
|
|
28709
28429
|
// Focus and active styling should not apply when the radio is in an item
|
|
28710
28430
|
'ion-activatable': !inItem,
|
|
28711
28431
|
'ion-focusable': !inItem,
|
|
28712
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, hAsync("label", { key: '
|
|
28432
|
+
}), 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: {
|
|
28713
28433
|
'label-text-wrapper': true,
|
|
28714
28434
|
'label-text-wrapper-hidden': !hasLabel,
|
|
28715
|
-
}, part: "label" }, hAsync("slot", { key: '
|
|
28435
|
+
}, part: "label" }, hAsync("slot", { key: '0a4613d29aa783d1882cf889377f7e4fd4fea51d' })), hAsync("div", { key: '191faea79dc4cd8befc4b873f5bd9f5af8ca2acc', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
28716
28436
|
}
|
|
28717
28437
|
get el() { return getElement(this); }
|
|
28718
28438
|
static get watchers() { return {
|
|
@@ -28951,7 +28671,7 @@ class RadioGroup {
|
|
|
28951
28671
|
const { label, labelId, el, name, value } = this;
|
|
28952
28672
|
const mode = getIonMode$1(this);
|
|
28953
28673
|
renderHiddenInput(true, el, name, value, false);
|
|
28954
|
-
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("
|
|
28674
|
+
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' })));
|
|
28955
28675
|
}
|
|
28956
28676
|
get el() { return getElement(this); }
|
|
28957
28677
|
static get watchers() { return {
|
|
@@ -29711,7 +29431,7 @@ class Range {
|
|
|
29711
29431
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
29712
29432
|
const mode = getIonMode$1(this);
|
|
29713
29433
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
29714
|
-
return (hAsync(Host, { key: '
|
|
29434
|
+
return (hAsync(Host, { key: 'affcac4709096a48a5b4c1864b209b6352f6b078', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses$1(this.color, {
|
|
29715
29435
|
[mode]: true,
|
|
29716
29436
|
'in-item': inItem,
|
|
29717
29437
|
'range-disabled': disabled,
|
|
@@ -29720,10 +29440,10 @@ class Range {
|
|
|
29720
29440
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
29721
29441
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
29722
29442
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
29723
|
-
}) }, hAsync("label", { key: '
|
|
29443
|
+
}) }, hAsync("label", { key: 'c7cf95fa831d10b17c137995d0a9e0cf84006a76', class: "range-wrapper", id: "range-label" }, hAsync("div", { key: '5b8479c7939ae0f94a042c3aafd64316e4577d30', class: {
|
|
29724
29444
|
'label-text-wrapper': true,
|
|
29725
29445
|
'label-text-wrapper-hidden': !hasLabel,
|
|
29726
|
-
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '
|
|
29446
|
+
}, 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" })))));
|
|
29727
29447
|
}
|
|
29728
29448
|
get el() { return getElement(this); }
|
|
29729
29449
|
static get watchers() { return {
|
|
@@ -30690,7 +30410,7 @@ class Refresher {
|
|
|
30690
30410
|
}
|
|
30691
30411
|
render() {
|
|
30692
30412
|
const mode = getIonMode$1(this);
|
|
30693
|
-
return (hAsync(Host, { key: '
|
|
30413
|
+
return (hAsync(Host, { key: '06d61cc53260ce146dd6906cc96597e9baaa17cf', slot: "fixed", class: {
|
|
30694
30414
|
[mode]: true,
|
|
30695
30415
|
// Used internally for styling
|
|
30696
30416
|
[`refresher-${mode}`]: true,
|
|
@@ -30914,7 +30634,7 @@ class RefresherContent {
|
|
|
30914
30634
|
const pullingIcon = this.pullingIcon;
|
|
30915
30635
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
30916
30636
|
const mode = getIonMode$1(this);
|
|
30917
|
-
return (hAsync(Host, { key: '
|
|
30637
|
+
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())));
|
|
30918
30638
|
}
|
|
30919
30639
|
get el() { return getElement(this); }
|
|
30920
30640
|
static get cmpMeta() { return {
|
|
@@ -30955,7 +30675,7 @@ class Reorder {
|
|
|
30955
30675
|
render() {
|
|
30956
30676
|
const mode = getIonMode$1(this);
|
|
30957
30677
|
const reorderIcon = mode === 'ios' ? reorderThreeOutline : reorderTwoSharp;
|
|
30958
|
-
return (hAsync(Host, { key: '
|
|
30678
|
+
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" }))));
|
|
30959
30679
|
}
|
|
30960
30680
|
get el() { return getElement(this); }
|
|
30961
30681
|
static get style() { return {
|
|
@@ -31226,7 +30946,7 @@ class ReorderGroup {
|
|
|
31226
30946
|
}
|
|
31227
30947
|
render() {
|
|
31228
30948
|
const mode = getIonMode$1(this);
|
|
31229
|
-
return (hAsync(Host, { key: '
|
|
30949
|
+
return (hAsync(Host, { key: '9527bbdedaab63d31f562c874a7332ea60c4b47b', class: {
|
|
31230
30950
|
[mode]: true,
|
|
31231
30951
|
'reorder-enabled': !this.disabled,
|
|
31232
30952
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -31342,7 +31062,7 @@ class RippleEffect {
|
|
|
31342
31062
|
}
|
|
31343
31063
|
render() {
|
|
31344
31064
|
const mode = getIonMode$1(this);
|
|
31345
|
-
return (hAsync(Host, { key: '
|
|
31065
|
+
return (hAsync(Host, { key: '3b59cbb44741569a7350f9638b4392add673b6f1', role: "presentation", class: {
|
|
31346
31066
|
[mode]: true,
|
|
31347
31067
|
unbounded: this.unbounded,
|
|
31348
31068
|
} }));
|
|
@@ -32301,10 +32021,10 @@ class RouterLink {
|
|
|
32301
32021
|
rel: this.rel,
|
|
32302
32022
|
target: this.target,
|
|
32303
32023
|
};
|
|
32304
|
-
return (hAsync(Host, { key: '
|
|
32024
|
+
return (hAsync(Host, { key: '8372835161d507c7b821b7536c55f912eb6ce704', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
32305
32025
|
[mode]: true,
|
|
32306
32026
|
'ion-activatable': true,
|
|
32307
|
-
}) }, hAsync("a", Object.assign({ key: '
|
|
32027
|
+
}) }, hAsync("a", Object.assign({ key: '315966e14a17760f3f64197e8315200039787897' }, attrs), hAsync("slot", { key: '95fc1697b884225e85e647dddcaa8f4af8b9a979' }))));
|
|
32308
32028
|
}
|
|
32309
32029
|
static get style() { return routerLinkCss; }
|
|
32310
32030
|
static get cmpMeta() { return {
|
|
@@ -32501,7 +32221,7 @@ class RouterOutlet {
|
|
|
32501
32221
|
return true;
|
|
32502
32222
|
}
|
|
32503
32223
|
render() {
|
|
32504
|
-
return hAsync("slot", { key: '
|
|
32224
|
+
return hAsync("slot", { key: '386c41745b61daba161cf75063da97fe29ba36cb' });
|
|
32505
32225
|
}
|
|
32506
32226
|
get el() { return getElement(this); }
|
|
32507
32227
|
static get watchers() { return {
|
|
@@ -32534,7 +32254,7 @@ class Row {
|
|
|
32534
32254
|
registerInstance(this, hostRef);
|
|
32535
32255
|
}
|
|
32536
32256
|
render() {
|
|
32537
|
-
return (hAsync(Host, { key: '
|
|
32257
|
+
return (hAsync(Host, { key: '8ba906a8cbea060a79ed658c9bf34906f0c11d38', class: getIonMode$1(this) }, hAsync("slot", { key: 'd1009176f45b588fa52c7d9eb336f3c6d3214bb8' })));
|
|
32538
32258
|
}
|
|
32539
32259
|
static get style() { return rowCss; }
|
|
32540
32260
|
static get cmpMeta() { return {
|
|
@@ -32975,8 +32695,8 @@ class Searchbar {
|
|
|
32975
32695
|
const clearIcon = this.clearIcon || (mode === 'ios' ? closeCircle : closeSharp);
|
|
32976
32696
|
const searchIcon = this.searchIcon || (mode === 'ios' ? searchOutline : searchSharp);
|
|
32977
32697
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
32978
|
-
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '
|
|
32979
|
-
return (hAsync(Host, { key: '
|
|
32698
|
+
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))));
|
|
32699
|
+
return (hAsync(Host, { key: 'bcc5b33a2859903ba11bfc5c611c6a2aaa71d06b', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses$1(this.color, {
|
|
32980
32700
|
[mode]: true,
|
|
32981
32701
|
'searchbar-animated': animated,
|
|
32982
32702
|
'searchbar-disabled': this.disabled,
|
|
@@ -32986,14 +32706,14 @@ class Searchbar {
|
|
|
32986
32706
|
'searchbar-has-focus': this.focused,
|
|
32987
32707
|
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
32988
32708
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
32989
|
-
}) }, hAsync("div", { key: '
|
|
32709
|
+
}) }, 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) => {
|
|
32990
32710
|
/**
|
|
32991
32711
|
* This prevents mobile browsers from
|
|
32992
32712
|
* blurring the input when the clear
|
|
32993
32713
|
* button is activated.
|
|
32994
32714
|
*/
|
|
32995
32715
|
ev.preventDefault();
|
|
32996
|
-
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: '
|
|
32716
|
+
}, 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));
|
|
32997
32717
|
}
|
|
32998
32718
|
get el() { return getElement(this); }
|
|
32999
32719
|
static get watchers() { return {
|
|
@@ -33588,14 +33308,14 @@ class Segment {
|
|
|
33588
33308
|
}
|
|
33589
33309
|
render() {
|
|
33590
33310
|
const mode = getIonMode$1(this);
|
|
33591
|
-
return (hAsync(Host, { key: '
|
|
33311
|
+
return (hAsync(Host, { key: '725cc37b25c539fa5e3ae8d90530ae33ededc3de', role: "tablist", onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
33592
33312
|
[mode]: true,
|
|
33593
33313
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
33594
33314
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
33595
33315
|
'segment-activated': this.activated,
|
|
33596
33316
|
'segment-disabled': this.disabled,
|
|
33597
33317
|
'segment-scrollable': this.scrollable,
|
|
33598
|
-
}) }, hAsync("slot", { key: '
|
|
33318
|
+
}) }, hAsync("slot", { key: 'c51cf7ea50325866a9367d214e12bc3754870335', onSlotchange: this.onSlottedItemsChange })));
|
|
33599
33319
|
}
|
|
33600
33320
|
get el() { return getElement(this); }
|
|
33601
33321
|
static get watchers() { return {
|
|
@@ -33735,7 +33455,7 @@ class SegmentButton {
|
|
|
33735
33455
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
33736
33456
|
const mode = getIonMode$1(this);
|
|
33737
33457
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
33738
|
-
return (hAsync(Host, { key: '
|
|
33458
|
+
return (hAsync(Host, { key: 'f69e2a24198a7c57543dbe66902da039a6569c64', class: {
|
|
33739
33459
|
[mode]: true,
|
|
33740
33460
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
33741
33461
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -33751,7 +33471,7 @@ class SegmentButton {
|
|
|
33751
33471
|
'ion-activatable': true,
|
|
33752
33472
|
'ion-activatable-instant': true,
|
|
33753
33473
|
'ion-focusable': true,
|
|
33754
|
-
} }, hAsync("button", Object.assign({ key: '
|
|
33474
|
+
} }, 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" }))));
|
|
33755
33475
|
}
|
|
33756
33476
|
get el() { return getElement(this); }
|
|
33757
33477
|
static get watchers() { return {
|
|
@@ -33786,7 +33506,7 @@ class SegmentContent {
|
|
|
33786
33506
|
registerInstance(this, hostRef);
|
|
33787
33507
|
}
|
|
33788
33508
|
render() {
|
|
33789
|
-
return (hAsync(Host, { key: '
|
|
33509
|
+
return (hAsync(Host, { key: '665f41a854621f898eaf7ba9a49e77cc9326501e' }, hAsync("slot", { key: '635aa57fbf6167dcd36fe8dc5dfc1c313637ac04' })));
|
|
33790
33510
|
}
|
|
33791
33511
|
static get style() { return segmentContentCss; }
|
|
33792
33512
|
static get cmpMeta() { return {
|
|
@@ -33901,10 +33621,10 @@ class SegmentView {
|
|
|
33901
33621
|
}
|
|
33902
33622
|
render() {
|
|
33903
33623
|
const { disabled, isManualScroll } = this;
|
|
33904
|
-
return (hAsync(Host, { key: '
|
|
33624
|
+
return (hAsync(Host, { key: '1c9bfce83967a93d63c225031a5cd688509d8fc8', class: {
|
|
33905
33625
|
'segment-view-disabled': disabled,
|
|
33906
33626
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
33907
|
-
} }, hAsync("slot", { key: '
|
|
33627
|
+
} }, hAsync("slot", { key: '19fee034e76fffbdb5f622cb514037c00f9d55d5' })));
|
|
33908
33628
|
}
|
|
33909
33629
|
get el() { return getElement(this); }
|
|
33910
33630
|
static get style() { return {
|
|
@@ -34671,7 +34391,7 @@ class Select {
|
|
|
34671
34391
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
34672
34392
|
*/
|
|
34673
34393
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
34674
|
-
return (hAsync(Host, { key: '
|
|
34394
|
+
return (hAsync(Host, { key: '9f0a833ebc3df27a42146b07bcbb181c05f5e5c4', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
34675
34395
|
[mode]: true,
|
|
34676
34396
|
'in-item': inItem,
|
|
34677
34397
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -34689,7 +34409,7 @@ class Select {
|
|
|
34689
34409
|
[`select-justify-${justify}`]: justifyEnabled,
|
|
34690
34410
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
34691
34411
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
34692
|
-
}) }, hAsync("label", { key: '
|
|
34412
|
+
}) }, 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()));
|
|
34693
34413
|
}
|
|
34694
34414
|
get el() { return getElement(this); }
|
|
34695
34415
|
static get watchers() { return {
|
|
@@ -34850,7 +34570,7 @@ class SelectModal {
|
|
|
34850
34570
|
} }, option.text))));
|
|
34851
34571
|
}
|
|
34852
34572
|
render() {
|
|
34853
|
-
return (hAsync(Host, { key: '
|
|
34573
|
+
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()))));
|
|
34854
34574
|
}
|
|
34855
34575
|
get el() { return getElement(this); }
|
|
34856
34576
|
static get style() { return {
|
|
@@ -34884,7 +34604,7 @@ class SelectOption {
|
|
|
34884
34604
|
this.disabled = false;
|
|
34885
34605
|
}
|
|
34886
34606
|
render() {
|
|
34887
|
-
return hAsync(Host, { key: '
|
|
34607
|
+
return hAsync(Host, { key: '824730b6c1e4f15b716e91b05840e890af5f1577', role: "option", id: this.inputId, class: getIonMode$1(this) });
|
|
34888
34608
|
}
|
|
34889
34609
|
get el() { return getElement(this); }
|
|
34890
34610
|
static get style() { return selectOptionCss; }
|
|
@@ -35001,7 +34721,7 @@ class SelectPopover {
|
|
|
35001
34721
|
render() {
|
|
35002
34722
|
const { header, message, options, subHeader } = this;
|
|
35003
34723
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
35004
|
-
return (hAsync(Host, { key: '
|
|
34724
|
+
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))));
|
|
35005
34725
|
}
|
|
35006
34726
|
get el() { return getElement(this); }
|
|
35007
34727
|
static get style() { return {
|
|
@@ -35051,11 +34771,11 @@ class SkeletonText {
|
|
|
35051
34771
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
35052
34772
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
35053
34773
|
const mode = getIonMode$1(this);
|
|
35054
|
-
return (hAsync(Host, { key: '
|
|
34774
|
+
return (hAsync(Host, { key: 'cb8da9aba121811b9a4ffdae60ed88105897cb3c', class: {
|
|
35055
34775
|
[mode]: true,
|
|
35056
34776
|
'skeleton-text-animated': animated,
|
|
35057
34777
|
'in-media': inMedia,
|
|
35058
|
-
} }, hAsync("span", { key: '
|
|
34778
|
+
} }, hAsync("span", { key: '5379deee3c76d46d615be0cba14b4f60129ffa25' }, "\u00A0")));
|
|
35059
34779
|
}
|
|
35060
34780
|
get el() { return getElement(this); }
|
|
35061
34781
|
static get style() { return skeletonTextCss; }
|
|
@@ -35107,7 +34827,7 @@ class Spinner {
|
|
|
35107
34827
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
35108
34828
|
}
|
|
35109
34829
|
}
|
|
35110
|
-
return (hAsync(Host, { key: '
|
|
34830
|
+
return (hAsync(Host, { key: 'dd1954e557fa14b943e761474e29e4316ba53938', class: createColorClasses$1(self.color, {
|
|
35111
34831
|
[mode]: true,
|
|
35112
34832
|
[`spinner-${spinnerName}`]: true,
|
|
35113
34833
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -35206,12 +34926,12 @@ class SplitPane {
|
|
|
35206
34926
|
}
|
|
35207
34927
|
render() {
|
|
35208
34928
|
const mode = getIonMode$1(this);
|
|
35209
|
-
return (hAsync(Host, { key: '
|
|
34929
|
+
return (hAsync(Host, { key: '05c88c009fbe2e223fd261760a2b49da1653ff62', class: {
|
|
35210
34930
|
[mode]: true,
|
|
35211
34931
|
// Used internally for styling
|
|
35212
34932
|
[`split-pane-${mode}`]: true,
|
|
35213
34933
|
'split-pane-visible': this.visible,
|
|
35214
|
-
} }, hAsync("slot", { key: '
|
|
34934
|
+
} }, hAsync("slot", { key: 'b35865082661253c4468520d79234fa5dab5bd35' })));
|
|
35215
34935
|
}
|
|
35216
34936
|
get el() { return getElement(this); }
|
|
35217
34937
|
static get watchers() { return {
|
|
@@ -35277,10 +34997,10 @@ class Tab {
|
|
|
35277
34997
|
}
|
|
35278
34998
|
render() {
|
|
35279
34999
|
const { tab, active, component } = this;
|
|
35280
|
-
return (hAsync(Host, { key: '
|
|
35000
|
+
return (hAsync(Host, { key: 'fbd837bad7a0632336d46a597ace23673b153e48', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
35281
35001
|
'ion-page': component === undefined,
|
|
35282
35002
|
'tab-hidden': !active,
|
|
35283
|
-
} }, hAsync("slot", { key: '
|
|
35003
|
+
} }, hAsync("slot", { key: '35c218169fda826c9c1337558e0278d0c7f5f26a' })));
|
|
35284
35004
|
}
|
|
35285
35005
|
get el() { return getElement(this); }
|
|
35286
35006
|
static get watchers() { return {
|
|
@@ -35392,11 +35112,11 @@ class TabBar {
|
|
|
35392
35112
|
const { color, translucent, keyboardVisible } = this;
|
|
35393
35113
|
const mode = getIonMode$1(this);
|
|
35394
35114
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
35395
|
-
return (hAsync(Host, { key: '
|
|
35115
|
+
return (hAsync(Host, { key: '24e164eaf81a0bec9237b561465618f10990806c', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses$1(color, {
|
|
35396
35116
|
[mode]: true,
|
|
35397
35117
|
'tab-bar-translucent': translucent,
|
|
35398
35118
|
'tab-bar-hidden': shouldHide,
|
|
35399
|
-
}) }, hAsync("slot", { key: '
|
|
35119
|
+
}) }, hAsync("slot", { key: '0ca29a2d97a7c38bbf43f8d79e271b874b4d9be8' })));
|
|
35400
35120
|
}
|
|
35401
35121
|
get el() { return getElement(this); }
|
|
35402
35122
|
static get watchers() { return {
|
|
@@ -35492,7 +35212,7 @@ class TabButton {
|
|
|
35492
35212
|
rel,
|
|
35493
35213
|
target,
|
|
35494
35214
|
};
|
|
35495
|
-
return (hAsync(Host, { key: '
|
|
35215
|
+
return (hAsync(Host, { key: '638b93ef40701ec3aefb89b1579eb91aaf6d4f8a', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
35496
35216
|
[mode]: true,
|
|
35497
35217
|
'tab-selected': selected,
|
|
35498
35218
|
'tab-disabled': disabled,
|
|
@@ -35504,7 +35224,7 @@ class TabButton {
|
|
|
35504
35224
|
'ion-activatable': true,
|
|
35505
35225
|
'ion-selectable': true,
|
|
35506
35226
|
'ion-focusable': true,
|
|
35507
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
35227
|
+
} }, 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" }))));
|
|
35508
35228
|
}
|
|
35509
35229
|
get el() { return getElement(this); }
|
|
35510
35230
|
static get style() { return {
|
|
@@ -35695,7 +35415,7 @@ class Tabs {
|
|
|
35695
35415
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
35696
35416
|
}
|
|
35697
35417
|
render() {
|
|
35698
|
-
return (hAsync(Host, { key: '
|
|
35418
|
+
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" })));
|
|
35699
35419
|
}
|
|
35700
35420
|
get el() { return getElement(this); }
|
|
35701
35421
|
static get style() { return tabsCss; }
|
|
@@ -35735,9 +35455,9 @@ class Text {
|
|
|
35735
35455
|
}
|
|
35736
35456
|
render() {
|
|
35737
35457
|
const mode = getIonMode$1(this);
|
|
35738
|
-
return (hAsync(Host, { key: '
|
|
35458
|
+
return (hAsync(Host, { key: 'bfaa49d35f43b8036725ae8a322c716fc6e43bdf', class: createColorClasses$1(this.color, {
|
|
35739
35459
|
[mode]: true,
|
|
35740
|
-
}) }, hAsync("slot", { key: '
|
|
35460
|
+
}) }, hAsync("slot", { key: 'c04880cd1935b42cbe60f58fd523b4d8a96072dc' })));
|
|
35741
35461
|
}
|
|
35742
35462
|
static get style() { return textCss; }
|
|
35743
35463
|
static get cmpMeta() { return {
|
|
@@ -36198,7 +35918,7 @@ class Textarea {
|
|
|
36198
35918
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
36199
35919
|
*/
|
|
36200
35920
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
36201
|
-
return (hAsync(Host, { key: '
|
|
35921
|
+
return (hAsync(Host, { key: '2c9de566803dd007cee3639ddd04accb68663b32', class: createColorClasses$1(this.color, {
|
|
36202
35922
|
[mode]: true,
|
|
36203
35923
|
'has-value': hasValue,
|
|
36204
35924
|
'has-focus': hasFocus,
|
|
@@ -36207,7 +35927,7 @@ class Textarea {
|
|
|
36207
35927
|
[`textarea-shape-${shape}`]: shape !== undefined,
|
|
36208
35928
|
[`textarea-label-placement-${labelPlacement}`]: true,
|
|
36209
35929
|
'textarea-disabled': disabled,
|
|
36210
|
-
}) }, hAsync("label", { key: '
|
|
35930
|
+
}) }, 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()));
|
|
36211
35931
|
}
|
|
36212
35932
|
get el() { return getElement(this); }
|
|
36213
35933
|
static get watchers() { return {
|
|
@@ -36270,7 +35990,7 @@ class Thumbnail {
|
|
|
36270
35990
|
registerInstance(this, hostRef);
|
|
36271
35991
|
}
|
|
36272
35992
|
render() {
|
|
36273
|
-
return (hAsync(Host, { key: '
|
|
35993
|
+
return (hAsync(Host, { key: 'b250e01664238f1dca8f9757b15bc3d5d9387ffa', class: getIonMode$1(this) }, hAsync("slot", { key: '72cb568bccabc983c5186a7596ef6c6d4ebf5ad9' })));
|
|
36274
35994
|
}
|
|
36275
35995
|
static get style() { return thumbnailCss; }
|
|
36276
35996
|
static get cmpMeta() { return {
|
|
@@ -37128,9 +36848,9 @@ class Toast {
|
|
|
37128
36848
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
37129
36849
|
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);
|
|
37130
36850
|
}
|
|
37131
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
36851
|
+
return (hAsync(Host, Object.assign({ key: '4a303f9ebb69614e9dca677d9d80a4a275de0d85', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
37132
36852
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
37133
|
-
}, 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: '
|
|
36853
|
+
}, 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')))));
|
|
37134
36854
|
}
|
|
37135
36855
|
get el() { return getElement(this); }
|
|
37136
36856
|
static get watchers() { return {
|
|
@@ -37442,7 +37162,7 @@ class Toggle {
|
|
|
37442
37162
|
const value = this.getValue();
|
|
37443
37163
|
const rtl = isRTL$1(el) ? 'rtl' : 'ltr';
|
|
37444
37164
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
37445
|
-
return (hAsync(Host, { key: '
|
|
37165
|
+
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, {
|
|
37446
37166
|
[mode]: true,
|
|
37447
37167
|
'in-item': hostContext('ion-item', el),
|
|
37448
37168
|
'toggle-activated': activated,
|
|
@@ -37452,10 +37172,10 @@ class Toggle {
|
|
|
37452
37172
|
[`toggle-alignment-${alignment}`]: alignment !== undefined,
|
|
37453
37173
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
37454
37174
|
[`toggle-${rtl}`]: true,
|
|
37455
|
-
}) }, hAsync("label", { key: '
|
|
37175
|
+
}) }, 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: {
|
|
37456
37176
|
'label-text-wrapper': true,
|
|
37457
37177
|
'label-text-wrapper-hidden': !hasLabel,
|
|
37458
|
-
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '
|
|
37178
|
+
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '006dd3558264d69ab020c07005b348adc4ecdd5b' }), this.renderHintText()), hAsync("div", { key: 'dd4e52de31caabee41ec1bc58efecd1e213368c9', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
37459
37179
|
}
|
|
37460
37180
|
get el() { return getElement(this); }
|
|
37461
37181
|
static get watchers() { return {
|
|
@@ -37565,10 +37285,10 @@ class Toolbar {
|
|
|
37565
37285
|
this.childrenStyles.forEach((value) => {
|
|
37566
37286
|
Object.assign(childStyles, value);
|
|
37567
37287
|
});
|
|
37568
|
-
return (hAsync(Host, { key: '
|
|
37288
|
+
return (hAsync(Host, { key: 'b849db2863778dee6c5a251bffa1b3a657aeb036', class: Object.assign(Object.assign({}, childStyles), createColorClasses$1(this.color, {
|
|
37569
37289
|
[mode]: true,
|
|
37570
37290
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
37571
|
-
})) }, hAsync("div", { key: '
|
|
37291
|
+
})) }, 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" }))));
|
|
37572
37292
|
}
|
|
37573
37293
|
get el() { return getElement(this); }
|
|
37574
37294
|
static get style() { return {
|
|
@@ -37614,11 +37334,11 @@ class ToolbarTitle {
|
|
|
37614
37334
|
render() {
|
|
37615
37335
|
const mode = getIonMode$1(this);
|
|
37616
37336
|
const size = this.getSize();
|
|
37617
|
-
return (hAsync(Host, { key: '
|
|
37337
|
+
return (hAsync(Host, { key: '44e63f8439df64c470692904427b417e19406476', class: createColorClasses$1(this.color, {
|
|
37618
37338
|
[mode]: true,
|
|
37619
37339
|
[`title-${size}`]: true,
|
|
37620
37340
|
'title-rtl': document.dir === 'rtl',
|
|
37621
|
-
}) }, hAsync("div", { key: '
|
|
37341
|
+
}) }, hAsync("div", { key: '784cf60a0db16045391891cc8fad0c7dbeba4039', class: "toolbar-title" }, hAsync("slot", { key: '0c720a50479ba257e8756337aeb9b0ab7516a227' }))));
|
|
37622
37342
|
}
|
|
37623
37343
|
get el() { return getElement(this); }
|
|
37624
37344
|
static get watchers() { return {
|