@ionic/core 8.7.3-dev.11755551681.10d084fd → 8.7.3-dev.11755600455.1e79c35a
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-datetime.js +4 -3
- 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 -18
- 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 +4 -4
- package/components/overlays.js +3 -97
- package/components/picker-column-option.js +4 -4
- package/components/picker-column.js +3 -39
- package/components/picker-column2.js +2 -2
- package/components/popover.js +2 -2
- 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/index.cjs.js +1 -1
- package/dist/cjs/ion-action-sheet.cjs.entry.js +1 -1
- package/dist/cjs/ion-alert.cjs.entry.js +1 -1
- 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 +8 -8
- 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 +3 -3
- package/dist/cjs/ion-menu_3.cjs.entry.js +7 -7
- package/dist/cjs/ion-modal.cjs.entry.js +5 -5
- package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +4 -4
- package/dist/cjs/ion-picker-column.cjs.entry.js +3 -39
- package/dist/cjs/ion-popover.cjs.entry.js +3 -3
- 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 -19
- 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 +2 -2
- package/dist/cjs/ion-select_3.cjs.entry.js +5 -5
- 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 +3 -3
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/cjs/{overlays-CglR7j-u.js → overlays-DUsEBICv.js} +2 -96
- package/dist/collection/components/datetime/datetime.js +4 -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/modal.js +4 -4
- 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/picker-column.js +3 -39
- package/dist/collection/components/picker-column-option/picker-column-option.ios.css +2 -2
- package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
- package/dist/collection/components/picker-column-option/picker-column-option.md.css +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/popover.js +2 -2
- 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 -18
- 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/collection/utils/overlays.js +2 -97
- package/dist/docs.json +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/ion-action-sheet.entry.js +1 -1
- package/dist/esm/ion-alert.entry.js +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 +8 -8
- 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 +3 -3
- package/dist/esm/ion-menu_3.entry.js +7 -7
- package/dist/esm/ion-modal.entry.js +5 -5
- package/dist/esm/ion-nav_2.entry.js +2 -2
- package/dist/esm/ion-picker-column-option.entry.js +4 -4
- package/dist/esm/ion-picker-column.entry.js +3 -39
- package/dist/esm/ion-popover.entry.js +3 -3
- 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 -19
- 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 +2 -2
- package/dist/esm/ion-select_3.entry.js +5 -5
- 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 +3 -3
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/esm/{overlays-ZX_4-t_r.js → overlays-B_dsLNe8.js} +3 -97
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-f267c7dc.entry.js → p-07d8f62a.entry.js} +1 -1
- package/dist/ionic/{p-039c8f8e.entry.js → p-09ed68cf.entry.js} +1 -1
- package/dist/ionic/p-0f396661.entry.js +4 -0
- package/dist/ionic/{p-c32b6c20.entry.js → p-1191a2d9.entry.js} +1 -1
- package/dist/ionic/{p-78aff731.entry.js → p-16116947.entry.js} +1 -1
- package/dist/ionic/{p-12b99129.entry.js → p-1bbd0a23.entry.js} +1 -1
- package/dist/ionic/{p-2e967897.entry.js → p-3624b640.entry.js} +1 -1
- package/dist/ionic/{p-0e45320b.entry.js → p-40d56a51.entry.js} +1 -1
- package/dist/ionic/{p-1e8b1767.entry.js → p-4f2c5845.entry.js} +1 -1
- package/dist/ionic/{p-ee881603.entry.js → p-528af4e6.entry.js} +1 -1
- package/dist/ionic/{p-70e05fd1.entry.js → p-54dec9b1.entry.js} +1 -1
- package/dist/ionic/{p-1cfb0bc4.entry.js → p-57bb1214.entry.js} +1 -1
- package/dist/ionic/{p-165d1309.entry.js → p-6383afc2.entry.js} +1 -1
- package/dist/ionic/{p-82ce0043.entry.js → p-698fb72c.entry.js} +1 -1
- package/dist/ionic/{p-f4e6e570.entry.js → p-7a53f04c.entry.js} +1 -1
- package/dist/ionic/{p-165d8e84.entry.js → p-7b12d853.entry.js} +1 -1
- package/dist/ionic/p-7ed24ba0.entry.js +4 -0
- package/dist/ionic/{p-91d6ccb0.entry.js → p-84236acb.entry.js} +1 -1
- package/dist/ionic/p-8888efe4.entry.js +4 -0
- package/dist/ionic/{p-9cf01220.entry.js → p-8b54aa01.entry.js} +1 -1
- package/dist/ionic/p-8bfe00f3.entry.js +4 -0
- package/dist/ionic/{p-c7d2c21b.entry.js → p-98d0823e.entry.js} +1 -1
- package/dist/ionic/{p-f2884bc2.entry.js → p-9c6fddc6.entry.js} +1 -1
- package/dist/ionic/p-C3MD7jSK.js +4 -0
- package/dist/ionic/p-ac2be9d6.entry.js +4 -0
- package/dist/ionic/p-b292804d.entry.js +4 -0
- package/dist/ionic/{p-f550f186.entry.js → p-c0d58c8e.entry.js} +1 -1
- package/dist/ionic/{p-7922ca30.entry.js → p-c5210d3e.entry.js} +1 -1
- package/dist/ionic/{p-5420fd3e.entry.js → p-cde6d39b.entry.js} +1 -1
- package/dist/ionic/{p-4c79bd85.entry.js → p-d04d66fc.entry.js} +1 -1
- package/dist/ionic/p-d3df6032.entry.js +4 -0
- package/dist/ionic/{p-e8429777.entry.js → p-dbba38cf.entry.js} +1 -1
- package/dist/ionic/p-e6c3214c.entry.js +4 -0
- package/dist/ionic/{p-22351d1b.entry.js → p-e6c465ff.entry.js} +1 -1
- package/dist/ionic/{p-e1310192.entry.js → p-ec76fec4.entry.js} +1 -1
- package/dist/ionic/{p-f868d51c.entry.js → p-f7db572a.entry.js} +1 -1
- package/dist/ionic/{p-0c580145.entry.js → p-f9eb54ee.entry.js} +1 -1
- package/dist/types/components/picker-column/picker-column.d.ts +0 -7
- package/hydrate/index.js +104 -251
- package/hydrate/index.mjs +104 -251
- package/package.json +1 -1
- package/dist/ionic/p-1d5b934a.entry.js +0 -4
- package/dist/ionic/p-332e4eac.entry.js +0 -4
- package/dist/ionic/p-3364562a.entry.js +0 -4
- package/dist/ionic/p-8ca65589.entry.js +0 -4
- package/dist/ionic/p-8de104c4.entry.js +0 -4
- package/dist/ionic/p-CSwZyt05.js +0 -4
- package/dist/ionic/p-c91aa324.entry.js +0 -4
- package/dist/ionic/p-dff5b0b6.entry.js +0 -4
- package/dist/ionic/p-f5da8541.entry.js +0 -4
package/hydrate/index.mjs
CHANGED
|
@@ -6165,9 +6165,11 @@ const setRootAriaHidden = (hidden = false) => {
|
|
|
6165
6165
|
}
|
|
6166
6166
|
if (hidden) {
|
|
6167
6167
|
viewContainer.setAttribute('aria-hidden', 'true');
|
|
6168
|
+
viewContainer.setAttribute('inert', '');
|
|
6168
6169
|
}
|
|
6169
6170
|
else {
|
|
6170
6171
|
viewContainer.removeAttribute('aria-hidden');
|
|
6172
|
+
viewContainer.removeAttribute('inert');
|
|
6171
6173
|
}
|
|
6172
6174
|
};
|
|
6173
6175
|
const present = async (overlay, name, iosEnterAnimation, mdEnterAnimation, opts) => {
|
|
@@ -6186,8 +6188,6 @@ const present = async (overlay, name, iosEnterAnimation, mdEnterAnimation, opts)
|
|
|
6186
6188
|
setRootAriaHidden(true);
|
|
6187
6189
|
document.body.classList.add(BACKDROP_NO_SCROLL);
|
|
6188
6190
|
}
|
|
6189
|
-
hideUnderlyingOverlaysFromScreenReaders(overlay.el);
|
|
6190
|
-
hideAnimatingOverlayFromScreenReaders(overlay.el);
|
|
6191
6191
|
overlay.presented = true;
|
|
6192
6192
|
overlay.willPresent.emit();
|
|
6193
6193
|
(_a = overlay.willPresentShorthand) === null || _a === void 0 ? void 0 : _a.emit();
|
|
@@ -6313,12 +6313,6 @@ const dismiss = async (overlay, data, role, name, iosLeaveAnimation, mdLeaveAnim
|
|
|
6313
6313
|
}
|
|
6314
6314
|
overlay.presented = false;
|
|
6315
6315
|
try {
|
|
6316
|
-
/**
|
|
6317
|
-
* There is no need to show the overlay to screen readers during
|
|
6318
|
-
* the dismiss animation. This is because the overlay will be removed
|
|
6319
|
-
* from the DOM after the animation is complete.
|
|
6320
|
-
*/
|
|
6321
|
-
hideAnimatingOverlayFromScreenReaders(overlay.el);
|
|
6322
6316
|
// Overlay contents should not be clickable during dismiss
|
|
6323
6317
|
overlay.el.style.setProperty('pointer-events', 'none');
|
|
6324
6318
|
overlay.willDismiss.emit({ data, role });
|
|
@@ -6357,7 +6351,6 @@ const dismiss = async (overlay, data, role, name, iosLeaveAnimation, mdLeaveAnim
|
|
|
6357
6351
|
printIonError(`[${overlay.el.tagName.toLowerCase()}] - `, err);
|
|
6358
6352
|
}
|
|
6359
6353
|
overlay.el.remove();
|
|
6360
|
-
revealOverlaysToScreenReaders();
|
|
6361
6354
|
return true;
|
|
6362
6355
|
};
|
|
6363
6356
|
const getAppRoot = (doc) => {
|
|
@@ -6553,93 +6546,6 @@ const createTriggerController = () => {
|
|
|
6553
6546
|
removeClickListener,
|
|
6554
6547
|
};
|
|
6555
6548
|
};
|
|
6556
|
-
/**
|
|
6557
|
-
* The overlay that is being animated also needs to hide from screen
|
|
6558
|
-
* readers during its animation. This ensures that assistive technologies
|
|
6559
|
-
* like TalkBack do not announce or interact with the content until the
|
|
6560
|
-
* animation is complete, avoiding confusion for users.
|
|
6561
|
-
*
|
|
6562
|
-
* When the overlay is presented on an Android device, TalkBack's focus rings
|
|
6563
|
-
* may appear in the wrong position due to the transition (specifically
|
|
6564
|
-
* `transform` styles). This occurs because the focus rings are initially
|
|
6565
|
-
* displayed at the starting position of the elements before the transition
|
|
6566
|
-
* begins. This workaround ensures the focus rings do not appear in the
|
|
6567
|
-
* incorrect location.
|
|
6568
|
-
*
|
|
6569
|
-
* If this solution is applied to iOS devices, then it leads to a bug where
|
|
6570
|
-
* the overlays cannot be accessed by screen readers. This is due to
|
|
6571
|
-
* VoiceOver not being able to update the accessibility tree when the
|
|
6572
|
-
* `aria-hidden` is removed.
|
|
6573
|
-
*
|
|
6574
|
-
* @param overlay - The overlay that is being animated.
|
|
6575
|
-
*/
|
|
6576
|
-
const hideAnimatingOverlayFromScreenReaders = (overlay) => {
|
|
6577
|
-
if (doc === undefined)
|
|
6578
|
-
return;
|
|
6579
|
-
if (isPlatform('android')) {
|
|
6580
|
-
/**
|
|
6581
|
-
* Once the animation is complete, this attribute will be removed.
|
|
6582
|
-
* This is done at the end of the `present` method.
|
|
6583
|
-
*/
|
|
6584
|
-
overlay.setAttribute('aria-hidden', 'true');
|
|
6585
|
-
}
|
|
6586
|
-
};
|
|
6587
|
-
/**
|
|
6588
|
-
* Ensure that underlying overlays have aria-hidden if necessary so that screen readers
|
|
6589
|
-
* cannot move focus to these elements. Note that we cannot rely on focus/focusin/focusout
|
|
6590
|
-
* events here because those events do not fire when the screen readers moves to a non-focusable
|
|
6591
|
-
* element such as text.
|
|
6592
|
-
* Without this logic screen readers would be able to move focus outside of the top focus-trapped overlay.
|
|
6593
|
-
*
|
|
6594
|
-
* @param newTopMostOverlay - The overlay that is being presented. Since the overlay has not been
|
|
6595
|
-
* fully presented yet at the time this function is called it will not be included in the getPresentedOverlays result.
|
|
6596
|
-
*/
|
|
6597
|
-
const hideUnderlyingOverlaysFromScreenReaders = (newTopMostOverlay) => {
|
|
6598
|
-
var _a;
|
|
6599
|
-
if (doc === undefined)
|
|
6600
|
-
return;
|
|
6601
|
-
const overlays = getPresentedOverlays(doc);
|
|
6602
|
-
for (let i = overlays.length - 1; i >= 0; i--) {
|
|
6603
|
-
const presentedOverlay = overlays[i];
|
|
6604
|
-
const nextPresentedOverlay = (_a = overlays[i + 1]) !== null && _a !== void 0 ? _a : newTopMostOverlay;
|
|
6605
|
-
/**
|
|
6606
|
-
* If next overlay has aria-hidden then all remaining overlays will have it too.
|
|
6607
|
-
* Or, if the next overlay is a Toast that does not have aria-hidden then current overlay
|
|
6608
|
-
* should not have aria-hidden either so focus can remain in the current overlay.
|
|
6609
|
-
*/
|
|
6610
|
-
if (nextPresentedOverlay.hasAttribute('aria-hidden') || nextPresentedOverlay.tagName !== 'ION-TOAST') {
|
|
6611
|
-
presentedOverlay.setAttribute('aria-hidden', 'true');
|
|
6612
|
-
}
|
|
6613
|
-
}
|
|
6614
|
-
};
|
|
6615
|
-
/**
|
|
6616
|
-
* When dismissing an overlay we need to reveal the new top-most overlay to screen readers.
|
|
6617
|
-
* If the top-most overlay is a Toast we potentially need to reveal more overlays since
|
|
6618
|
-
* focus is never automatically moved to the Toast.
|
|
6619
|
-
*/
|
|
6620
|
-
const revealOverlaysToScreenReaders = () => {
|
|
6621
|
-
if (doc === undefined)
|
|
6622
|
-
return;
|
|
6623
|
-
const overlays = getPresentedOverlays(doc);
|
|
6624
|
-
for (let i = overlays.length - 1; i >= 0; i--) {
|
|
6625
|
-
const currentOverlay = overlays[i];
|
|
6626
|
-
/**
|
|
6627
|
-
* If the current we are looking at is a Toast then we can remove aria-hidden.
|
|
6628
|
-
* However, we potentially need to keep looking at the overlay stack because there
|
|
6629
|
-
* could be more Toasts underneath. Additionally, we need to unhide the closest non-Toast
|
|
6630
|
-
* overlay too so focus can move there since focus is never automatically moved to the Toast.
|
|
6631
|
-
*/
|
|
6632
|
-
currentOverlay.removeAttribute('aria-hidden');
|
|
6633
|
-
/**
|
|
6634
|
-
* If we found a non-Toast element then we can just remove aria-hidden and stop searching entirely
|
|
6635
|
-
* since this overlay should always receive focus. As a result, all underlying overlays should still
|
|
6636
|
-
* be hidden from screen readers.
|
|
6637
|
-
*/
|
|
6638
|
-
if (currentOverlay.tagName !== 'ION-TOAST') {
|
|
6639
|
-
break;
|
|
6640
|
-
}
|
|
6641
|
-
}
|
|
6642
|
-
};
|
|
6643
6549
|
const FOCUS_TRAP_DISABLE_CLASS = 'ion-disable-focus-trap';
|
|
6644
6550
|
|
|
6645
6551
|
const hostContext = (selector, el) => {
|
|
@@ -13529,7 +13435,7 @@ class Datetime {
|
|
|
13529
13435
|
const renderArray = forcePresentation === 'time-date'
|
|
13530
13436
|
? [this.renderTimePickerColumns(forcePresentation), this.renderDatePickerColumns(forcePresentation)]
|
|
13531
13437
|
: [this.renderDatePickerColumns(forcePresentation), this.renderTimePickerColumns(forcePresentation)];
|
|
13532
|
-
return hAsync("ion-picker",
|
|
13438
|
+
return hAsync("ion-picker", { class: FOCUS_TRAP_DISABLE_CLASS }, renderArray);
|
|
13533
13439
|
}
|
|
13534
13440
|
renderDatePickerColumns(forcePresentation) {
|
|
13535
13441
|
return forcePresentation === 'date-time' || forcePresentation === 'time-date'
|
|
@@ -14086,7 +13992,7 @@ class Datetime {
|
|
|
14086
13992
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
14087
13993
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
14088
13994
|
renderHiddenInput(true, el, name, formatValue(value), disabled);
|
|
14089
|
-
return (hAsync(Host, { key: '
|
|
13995
|
+
return (hAsync(Host, { key: '57492534800ea059a7c2bbd9f0059cc0b75ae8d2', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses$1(color, {
|
|
14090
13996
|
[mode]: true,
|
|
14091
13997
|
['datetime-readonly']: readonly,
|
|
14092
13998
|
['datetime-disabled']: disabled,
|
|
@@ -14096,7 +14002,7 @@ class Datetime {
|
|
|
14096
14002
|
[`datetime-size-${size}`]: true,
|
|
14097
14003
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
14098
14004
|
[`datetime-grid`]: isGridStyle,
|
|
14099
|
-
})) }, hAsync("div", { key: '
|
|
14005
|
+
})) }, hAsync("div", { key: '97dac5e5195635ac0bc5fb472b9d09e5c3c6bbc3', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(mode)));
|
|
14100
14006
|
}
|
|
14101
14007
|
get el() { return getElement(this); }
|
|
14102
14008
|
static get watchers() { return {
|
|
@@ -18201,11 +18107,11 @@ class ItemDivider {
|
|
|
18201
18107
|
}
|
|
18202
18108
|
render() {
|
|
18203
18109
|
const mode = getIonMode$1(this);
|
|
18204
|
-
return (hAsync(Host, { key: '
|
|
18110
|
+
return (hAsync(Host, { key: '1523095ce4af3f2611512ff0948ead659959ee4a', class: createColorClasses$1(this.color, {
|
|
18205
18111
|
[mode]: true,
|
|
18206
18112
|
'item-divider-sticky': this.sticky,
|
|
18207
18113
|
item: true,
|
|
18208
|
-
}) }, hAsync("slot", { key: '
|
|
18114
|
+
}) }, hAsync("slot", { key: '39105d888e115416c3a3fe588da44b4c61f4e5fe', name: "start" }), hAsync("div", { key: '67e16f1056bd39187f3629c1bb383b7abbda829b', class: "item-divider-inner" }, hAsync("div", { key: 'b3a218fdcc7b9aeab6e0155340152d39fa0b6329', class: "item-divider-wrapper" }, hAsync("slot", { key: '69d8587533b387869d34b075d02f61396858fc90' })), hAsync("slot", { key: 'b91c654699b3b26d0012ea0c719c4a07d1fcfbaa', name: "end" }))));
|
|
18209
18115
|
}
|
|
18210
18116
|
get el() { return getElement(this); }
|
|
18211
18117
|
static get style() { return {
|
|
@@ -18235,7 +18141,7 @@ class ItemGroup {
|
|
|
18235
18141
|
}
|
|
18236
18142
|
render() {
|
|
18237
18143
|
const mode = getIonMode$1(this);
|
|
18238
|
-
return (hAsync(Host, { key: '
|
|
18144
|
+
return (hAsync(Host, { key: 'e49dc8f99247d2431d7c6db01b6e021a0f5b1c37', role: "group", class: {
|
|
18239
18145
|
[mode]: true,
|
|
18240
18146
|
// Used internally for styling
|
|
18241
18147
|
[`item-group-${mode}`]: true,
|
|
@@ -18305,12 +18211,12 @@ class ItemOption {
|
|
|
18305
18211
|
href: this.href,
|
|
18306
18212
|
target: this.target,
|
|
18307
18213
|
};
|
|
18308
|
-
return (hAsync(Host, { key: '
|
|
18214
|
+
return (hAsync(Host, { key: '189a0040b97163b2336bf216baa71d584c5923a8', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
18309
18215
|
[mode]: true,
|
|
18310
18216
|
'item-option-disabled': disabled,
|
|
18311
18217
|
'item-option-expandable': expandable,
|
|
18312
18218
|
'ion-activatable': true,
|
|
18313
|
-
}) }, hAsync(TagType, Object.assign({ key: '
|
|
18219
|
+
}) }, hAsync(TagType, Object.assign({ key: '5a7140eb99da5ec82fe2ea3ea134513130763399' }, attrs, { class: "button-native", part: "native", disabled: disabled }), hAsync("span", { key: '9b8577e612706b43e575c9a20f2f9d35c0d1bcb1', class: "button-inner" }, hAsync("slot", { key: '9acb82f04e4822bfaa363cc2c4d29d5c0fec0ad6', name: "top" }), hAsync("div", { key: '66f5fb4fdd0c39f205574c602c793dcf109c7a17', class: "horizontal-wrapper" }, hAsync("slot", { key: '3761a32bca7c6c41b7eb394045497cfde181a62a', name: "start" }), hAsync("slot", { key: 'a96a568955cf6962883dc6771726d3d07462da00', name: "icon-only" }), hAsync("slot", { key: 'af5dfe5eb41456b9359bafe3615b576617ed7b57' }), hAsync("slot", { key: '00426958066ab7b949ff966fabad5cf8a0b54079', name: "end" })), hAsync("slot", { key: 'ae66c8bd536a9f27865f49240980d7b4b831b229', name: "bottom" })), mode === 'md' && hAsync("ion-ripple-effect", { key: '30df6c935ef8a3f28a6bc1f3bb162ca4f80aaf26' }))));
|
|
18314
18220
|
}
|
|
18315
18221
|
get el() { return getElement(this); }
|
|
18316
18222
|
static get style() { return {
|
|
@@ -18359,7 +18265,7 @@ class ItemOptions {
|
|
|
18359
18265
|
render() {
|
|
18360
18266
|
const mode = getIonMode$1(this);
|
|
18361
18267
|
const isEnd = isEndSide(this.side);
|
|
18362
|
-
return (hAsync(Host, { key: '
|
|
18268
|
+
return (hAsync(Host, { key: '05a22a505e043c2715e3805e5e26ab4668940af0', class: {
|
|
18363
18269
|
[mode]: true,
|
|
18364
18270
|
// Used internally for styling
|
|
18365
18271
|
[`item-options-${mode}`]: true,
|
|
@@ -18824,7 +18730,7 @@ class ItemSliding {
|
|
|
18824
18730
|
}
|
|
18825
18731
|
render() {
|
|
18826
18732
|
const mode = getIonMode$1(this);
|
|
18827
|
-
return (hAsync(Host, { key: '
|
|
18733
|
+
return (hAsync(Host, { key: 'd812322c9fb5da4ee16e99dc38bfb24cb4590d03', class: {
|
|
18828
18734
|
[mode]: true,
|
|
18829
18735
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
18830
18736
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -18929,13 +18835,13 @@ class Label {
|
|
|
18929
18835
|
render() {
|
|
18930
18836
|
const position = this.position;
|
|
18931
18837
|
const mode = getIonMode$1(this);
|
|
18932
|
-
return (hAsync(Host, { key: '
|
|
18838
|
+
return (hAsync(Host, { key: 'd6fba1a97189acc8ddfd64a2f009954a3e46e188', class: createColorClasses$1(this.color, {
|
|
18933
18839
|
[mode]: true,
|
|
18934
18840
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
18935
18841
|
[`label-${position}`]: position !== undefined,
|
|
18936
18842
|
[`label-no-animate`]: this.noAnimate,
|
|
18937
18843
|
'label-rtl': document.dir === 'rtl',
|
|
18938
|
-
}) }, hAsync("slot", { key: '
|
|
18844
|
+
}) }, hAsync("slot", { key: 'ce0ab50b5700398fdf50f36d02b7ad287eb71481' })));
|
|
18939
18845
|
}
|
|
18940
18846
|
get el() { return getElement(this); }
|
|
18941
18847
|
static get watchers() { return {
|
|
@@ -19033,10 +18939,10 @@ class ListHeader {
|
|
|
19033
18939
|
render() {
|
|
19034
18940
|
const { lines } = this;
|
|
19035
18941
|
const mode = getIonMode$1(this);
|
|
19036
|
-
return (hAsync(Host, { key: '
|
|
18942
|
+
return (hAsync(Host, { key: 'd9bc827ad8cc77231efddc2435831a7fc080f77d', class: createColorClasses$1(this.color, {
|
|
19037
18943
|
[mode]: true,
|
|
19038
18944
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
19039
|
-
}) }, hAsync("div", { key: '
|
|
18945
|
+
}) }, hAsync("div", { key: '02dd9698304a7b2997ea1487e2f308bebea2b44c', class: "list-header-inner" }, hAsync("slot", { key: '01d63a572c003286ae467a1ab23631e37e695042' }))));
|
|
19040
18946
|
}
|
|
19041
18947
|
static get style() { return {
|
|
19042
18948
|
ios: listHeaderIosCss,
|
|
@@ -19321,9 +19227,9 @@ class Loading {
|
|
|
19321
19227
|
* Otherwise, don't set aria-labelledby.
|
|
19322
19228
|
*/
|
|
19323
19229
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
19324
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
19230
|
+
return (hAsync(Host, Object.assign({ key: '4497183ce220242abe19ae15f328f9a92ccafbbc', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
19325
19231
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
19326
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: '
|
|
19232
|
+
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: '231dec84e424a2dc358ce95b84d6035cf43e4dea', visible: this.showBackdrop, tappable: this.backdropDismiss }), hAsync("div", { key: 'c9af29b6e6bb49a217396a5c874bbfb8835a926c', tabindex: "0", "aria-hidden": "true" }), hAsync("div", { key: 'a8659863743cdeccbe1ba810eaabfd3ebfcb86f3', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (hAsync("div", { key: '3b346f39bc71691bd8686556a1e142198a7b12fa', class: "loading-spinner" }, hAsync("ion-spinner", { key: '8dc2bf1556e5138e262827f1516c59ecd09f3520', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), hAsync("div", { key: '054164c0dbae9a0e0973dd3c8e28f5b771820310', tabindex: "0", "aria-hidden": "true" })));
|
|
19327
19233
|
}
|
|
19328
19234
|
get el() { return getElement(this); }
|
|
19329
19235
|
static get watchers() { return {
|
|
@@ -20369,14 +20275,14 @@ class Menu {
|
|
|
20369
20275
|
* the ionBackButton listener in the menu controller
|
|
20370
20276
|
* will handle closing the menu when Escape is pressed.
|
|
20371
20277
|
*/
|
|
20372
|
-
return (hAsync(Host, { key: '
|
|
20278
|
+
return (hAsync(Host, { key: 'a5c75aa40a34530b56ee3b98d706a5ac5ae300de', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
20373
20279
|
[mode]: true,
|
|
20374
20280
|
[`menu-type-${type}`]: true,
|
|
20375
20281
|
'menu-enabled': !disabled,
|
|
20376
20282
|
[`menu-side-${side}`]: true,
|
|
20377
20283
|
'menu-pane-visible': isPaneVisible,
|
|
20378
20284
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
20379
|
-
} }, hAsync("div", { key: '
|
|
20285
|
+
} }, hAsync("div", { key: '3f5f70acd4d3ed6bb445122f4f01d73db738a75f', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, hAsync("slot", { key: '3161326c9330e7f7441299c428b87a91b31a83e9' })), hAsync("ion-backdrop", { key: '917b50f38489bdf03d0c642af8b4e4e172c7dc4c', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
20380
20286
|
}
|
|
20381
20287
|
get el() { return getElement(this); }
|
|
20382
20288
|
static get watchers() { return {
|
|
@@ -20484,7 +20390,7 @@ class MenuButton {
|
|
|
20484
20390
|
type: this.type,
|
|
20485
20391
|
};
|
|
20486
20392
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
20487
|
-
return (hAsync(Host, { key: '
|
|
20393
|
+
return (hAsync(Host, { key: '9f0f0e50d39a6872508220c58e64bb2092a0d7ef', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses$1(color, {
|
|
20488
20394
|
[mode]: true,
|
|
20489
20395
|
button: true, // ion-buttons target .button
|
|
20490
20396
|
'menu-button-hidden': hidden,
|
|
@@ -20493,7 +20399,7 @@ class MenuButton {
|
|
|
20493
20399
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
20494
20400
|
'ion-activatable': true,
|
|
20495
20401
|
'ion-focusable': true,
|
|
20496
|
-
}) }, hAsync("button", Object.assign({ key: '
|
|
20402
|
+
}) }, hAsync("button", Object.assign({ key: 'ffebf7083d23501839970059ef8e411b571de197' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), hAsync("span", { key: 'cab0c1c763b3ce33ef11dba1d230f66126e59424', class: "button-inner" }, hAsync("slot", { key: 'ccfd2be8479b75b5c63e97e1ca7dfe203e9b36ee' }, hAsync("ion-icon", { key: 'ac254fe7f327b08f1ae3fcea89d5cf0e83c9a96c', part: "icon", icon: menuIcon, mode: mode, lazy: false, "aria-hidden": "true" }))), mode === 'md' && hAsync("ion-ripple-effect", { key: 'f0f17c4ca96e3eed3c1727ee00578d40af8f0115', type: "unbounded" }))));
|
|
20497
20403
|
}
|
|
20498
20404
|
get el() { return getElement(this); }
|
|
20499
20405
|
static get style() { return {
|
|
@@ -20546,10 +20452,10 @@ class MenuToggle {
|
|
|
20546
20452
|
render() {
|
|
20547
20453
|
const mode = getIonMode$1(this);
|
|
20548
20454
|
const hidden = this.autoHide && !this.visible;
|
|
20549
|
-
return (hAsync(Host, { key: '
|
|
20455
|
+
return (hAsync(Host, { key: 'cd567114769a30bd3871ed5d15bf42aed39956e1', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
20550
20456
|
[mode]: true,
|
|
20551
20457
|
'menu-toggle-hidden': hidden,
|
|
20552
|
-
} }, hAsync("slot", { key: '
|
|
20458
|
+
} }, hAsync("slot", { key: '773d4cff95ca75f23578b1e1dca53c9933f28a33' })));
|
|
20553
20459
|
}
|
|
20554
20460
|
static get style() { return menuToggleCss; }
|
|
20555
20461
|
static get cmpMeta() { return {
|
|
@@ -23214,20 +23120,20 @@ class Modal {
|
|
|
23214
23120
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
23215
23121
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
23216
23122
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
23217
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
23123
|
+
return (hAsync(Host, Object.assign({ key: '9e9a7bd591eb17a225a00b4fa2e379e94601d17f', "no-router": true,
|
|
23218
23124
|
// Allow the modal to be navigable when the handle is focusable
|
|
23219
23125
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
23220
23126
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
23221
|
-
}, 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: '
|
|
23127
|
+
}, 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: 'e5eae2c14f830f75e308fcd7f4c10c86fac5b962', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && hAsync("div", { key: 'e268f9cd310c3cf4e051b5b92524ce4fb70d005e', class: "modal-shadow" }), hAsync("div", Object.assign({ key: '9c380f36c18144c153077b15744d1c3346bce63e',
|
|
23222
23128
|
/*
|
|
23223
23129
|
role and aria-modal must be used on the
|
|
23224
23130
|
same element. They must also be set inside the
|
|
23225
23131
|
shadow DOM otherwise ion-button will not be highlighted
|
|
23226
23132
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
23227
23133
|
*/
|
|
23228
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: '
|
|
23134
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: '2d5ee6d5959d97309c306e8ce72eb0f2c19be144', class: "modal-handle",
|
|
23229
23135
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
23230
|
-
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: '
|
|
23136
|
+
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: '5590434c35ea04c42fc006498bc189038e15a298', onSlotchange: this.onSlotChange }))));
|
|
23231
23137
|
}
|
|
23232
23138
|
get el() { return getElement(this); }
|
|
23233
23139
|
static get watchers() { return {
|
|
@@ -24174,7 +24080,7 @@ class Nav {
|
|
|
24174
24080
|
}
|
|
24175
24081
|
}
|
|
24176
24082
|
render() {
|
|
24177
|
-
return hAsync("slot", { key: '
|
|
24083
|
+
return hAsync("slot", { key: '8067c9835d255daec61f33dba200fd3a6ff839a0' });
|
|
24178
24084
|
}
|
|
24179
24085
|
get el() { return getElement(this); }
|
|
24180
24086
|
static get watchers() { return {
|
|
@@ -24247,7 +24153,7 @@ class NavLink {
|
|
|
24247
24153
|
};
|
|
24248
24154
|
}
|
|
24249
24155
|
render() {
|
|
24250
|
-
return hAsync(Host, { key: '
|
|
24156
|
+
return hAsync(Host, { key: '6dbb1ad4f351e9215375aac11ab9b53762e07a08', onClick: this.onClick });
|
|
24251
24157
|
}
|
|
24252
24158
|
get el() { return getElement(this); }
|
|
24253
24159
|
static get cmpMeta() { return {
|
|
@@ -24278,9 +24184,9 @@ class Note {
|
|
|
24278
24184
|
}
|
|
24279
24185
|
render() {
|
|
24280
24186
|
const mode = getIonMode$1(this);
|
|
24281
|
-
return (hAsync(Host, { key: '
|
|
24187
|
+
return (hAsync(Host, { key: '0ec2ef7367d867fd7588611953f696eecdf3221e', class: createColorClasses$1(this.color, {
|
|
24282
24188
|
[mode]: true,
|
|
24283
|
-
}) }, hAsync("slot", { key: '
|
|
24189
|
+
}) }, hAsync("slot", { key: 'a200b94ddffb29cf6dabe6e984220930ea7efdef' })));
|
|
24284
24190
|
}
|
|
24285
24191
|
static get style() { return {
|
|
24286
24192
|
ios: noteIosCss,
|
|
@@ -25040,11 +24946,11 @@ class Picker {
|
|
|
25040
24946
|
render() {
|
|
25041
24947
|
const { htmlAttributes } = this;
|
|
25042
24948
|
const mode = getIonMode$1(this);
|
|
25043
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
24949
|
+
return (hAsync(Host, Object.assign({ key: 'b95440747eb80cba23ae676d399d5e5816722c58', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
25044
24950
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
25045
24951
|
}, class: Object.assign({ [mode]: true,
|
|
25046
24952
|
// Used internally for styling
|
|
25047
|
-
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: '
|
|
24953
|
+
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: '169d1c83ef40e7fcb134219a585298b403a70b0f', visible: this.showBackdrop, tappable: this.backdropDismiss }), hAsync("div", { key: '98518e5f5cea2dfb8dfa63d9545e9ae3a5765023', tabindex: "0", "aria-hidden": "true" }), hAsync("div", { key: '151755ab8eb23f9adafbfe201349398f5a69dee7', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, hAsync("div", { key: '5dcf93b2f4fe8f4fce7c7aec8f85ef45a03ef470', 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: 'fd5d66708edd38adc5a4d2fad7298969398a05e3', class: "picker-columns" }, hAsync("div", { key: '1b5830fd6cef1016af7736792c514965d6cb38a8', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => hAsync("ion-picker-legacy-column", { col: c })), hAsync("div", { key: 'c6edeca7afd69e13c9c66ba36f261974fd0f8f78', class: "picker-below-highlight" }))), hAsync("div", { key: 'e2a4b24710e30579b14b82dbfd3761b2187797b5', tabindex: "0", "aria-hidden": "true" })));
|
|
25048
24954
|
}
|
|
25049
24955
|
get el() { return getElement(this); }
|
|
25050
24956
|
static get watchers() { return {
|
|
@@ -25502,23 +25408,6 @@ class PickerColumn {
|
|
|
25502
25408
|
var _a;
|
|
25503
25409
|
return el ? (_a = el.getAttribute('aria-label')) !== null && _a !== void 0 ? _a : el.innerText : '';
|
|
25504
25410
|
};
|
|
25505
|
-
/**
|
|
25506
|
-
* Render an element that overlays the column. This element is for assistive
|
|
25507
|
-
* tech to allow users to navigate the column up/down. This element should receive
|
|
25508
|
-
* focus as it listens for synthesized keyboard events as required by the
|
|
25509
|
-
* slider role: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/slider_role
|
|
25510
|
-
*/
|
|
25511
|
-
this.renderAssistiveFocusable = () => {
|
|
25512
|
-
const { activeItem } = this;
|
|
25513
|
-
const valueText = this.getOptionValueText(activeItem);
|
|
25514
|
-
/**
|
|
25515
|
-
* When using the picker, the valuetext provides important context that valuenow
|
|
25516
|
-
* does not. Additionally, using non-zero valuemin/valuemax values can cause
|
|
25517
|
-
* WebKit to incorrectly announce numeric valuetext values (such as a year
|
|
25518
|
-
* like "2024") as percentages: https://bugs.webkit.org/show_bug.cgi?id=273126
|
|
25519
|
-
*/
|
|
25520
|
-
return (hAsync("div", { ref: (el) => (this.assistiveFocusable = el), class: "assistive-focusable", role: "slider", tabindex: this.disabled ? undefined : 0, "aria-label": this.ariaLabel, "aria-valuemin": 0, "aria-valuemax": 0, "aria-valuenow": 0, "aria-valuetext": valueText, "aria-orientation": "vertical", onKeyDown: (ev) => this.onKeyDown(ev) }));
|
|
25521
|
-
};
|
|
25522
25411
|
}
|
|
25523
25412
|
ariaLabelChanged(newValue) {
|
|
25524
25413
|
this.ariaLabel = newValue;
|
|
@@ -25659,33 +25548,14 @@ class PickerColumn {
|
|
|
25659
25548
|
render() {
|
|
25660
25549
|
const { color, disabled, isActive, numericInput } = this;
|
|
25661
25550
|
const mode = getIonMode$1(this);
|
|
25662
|
-
return (hAsync(Host, { key: '
|
|
25551
|
+
return (hAsync(Host, { key: 'db903fd415f8a2d91994dececca481c1af8ba6a9', class: createColorClasses$1(color, {
|
|
25663
25552
|
[mode]: true,
|
|
25664
25553
|
['picker-column-active']: isActive,
|
|
25665
25554
|
['picker-column-numeric-input']: numericInput,
|
|
25666
25555
|
['picker-column-disabled']: disabled,
|
|
25667
|
-
}) },
|
|
25556
|
+
}) }, hAsync("slot", { key: '02ce9e1dd7df91afcd50b06416552bcffb5dec98', name: "prefix" }), hAsync("div", { key: '6dfd7d2429bec19244a6b1afb4448121963a031b', class: "picker-opts", ref: (el) => {
|
|
25668
25557
|
this.scrollEl = el;
|
|
25669
|
-
},
|
|
25670
|
-
/**
|
|
25671
|
-
* When an element has an overlay scroll style and
|
|
25672
|
-
* a fixed height, Firefox will focus the scrollable
|
|
25673
|
-
* container if the content exceeds the container's
|
|
25674
|
-
* dimensions.
|
|
25675
|
-
*
|
|
25676
|
-
* This causes keyboard navigation to focus to this
|
|
25677
|
-
* element instead of going to the next element in
|
|
25678
|
-
* the tab order.
|
|
25679
|
-
*
|
|
25680
|
-
* The desired behavior is for the user to be able to
|
|
25681
|
-
* focus the assistive focusable element and tab to
|
|
25682
|
-
* the next element in the tab order. Instead of tabbing
|
|
25683
|
-
* to this element.
|
|
25684
|
-
*
|
|
25685
|
-
* To prevent this, we set the tabIndex to -1. This
|
|
25686
|
-
* will match the behavior of the other browsers.
|
|
25687
|
-
*/
|
|
25688
|
-
tabIndex: -1 }, hAsync("div", { key: '13a9ee686132af32240710730765de4c0003a9e8', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("div", { key: 'dbccba4920833cfcebe9b0fc763458ec3053705a', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("div", { key: '682b43f83a5ea2e46067457f3af118535e111edb', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("slot", { key: 'd27e1e1dc0504b2f4627a29912a05bb91e8e413a' }), hAsync("div", { key: '61c948dbb9cf7469aed3018542bc0954211585ba', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("div", { key: 'cf46c277fbee65e35ff44ce0d53ce12aa9cbf9db', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("div", { key: 'bbc0e2d491d3f836ab849493ade2f7fa6ad9244e', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0")), hAsync("slot", { key: 'd25cbbe14b2914fe7b878d43b4e3f4a8c8177d24', name: "suffix" })));
|
|
25558
|
+
}, role: "slider", tabindex: this.disabled ? undefined : 0, "aria-label": this.ariaLabel, "aria-valuemin": 0, "aria-valuemax": 0, "aria-valuenow": 0, "aria-valuetext": this.getOptionValueText(this.activeItem), "aria-orientation": "vertical", onKeyDown: (ev) => this.onKeyDown(ev) }, hAsync("div", { key: 'e30ce0b9cefbfe4d4441fa33acf595da31855c3f', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("div", { key: '8be2bd293c12c6ba720d9b31d0d561a96f42e97d', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("div", { key: '8afdcddddabbf646fbb55cb0ba4448309a2c1dd9', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("slot", { key: '6aa0dacc34d6848575ad5b122b9046982308ca43' }), hAsync("div", { key: '92ec8a357414c1b779b11d1dd18fb87a7ee63982', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("div", { key: 'b89457cb74b5907c25594ff6720ac54ca537e933', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("div", { key: '5bbc92e6bc24de08e39873bf08c5b668373ac0f8', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0")), hAsync("slot", { key: 'd7bf2b519214f0f3576a4ca79844ad97827dd97f', name: "suffix" })));
|
|
25689
25559
|
}
|
|
25690
25560
|
get el() { return getElement(this); }
|
|
25691
25561
|
static get watchers() { return {
|
|
@@ -26049,9 +25919,9 @@ class PickerColumnCmp {
|
|
|
26049
25919
|
render() {
|
|
26050
25920
|
const col = this.col;
|
|
26051
25921
|
const mode = getIonMode$1(this);
|
|
26052
|
-
return (hAsync(Host, { key: '
|
|
25922
|
+
return (hAsync(Host, { key: 'ed32d108dd94f0302fb453c31a3497ebae65ec37', 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: {
|
|
26053
25923
|
'max-width': this.col.columnWidth,
|
|
26054
|
-
} }, col.prefix && (hAsync("div", { key: '
|
|
25924
|
+
} }, col.prefix && (hAsync("div", { key: '9f0634890e66fd4ae74f826d1eea3431de121393', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), hAsync("div", { key: '337e996e5be91af16446085fe22436f213b771eb', 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: 'd69a132599d78d9e5107f12228978cfce4e43098', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
26055
25925
|
}
|
|
26056
25926
|
get el() { return getElement(this); }
|
|
26057
25927
|
static get watchers() { return {
|
|
@@ -26077,9 +25947,9 @@ const DECELERATION_FRICTION = 0.97;
|
|
|
26077
25947
|
const MAX_PICKER_SPEED = 90;
|
|
26078
25948
|
const TRANSITION_DURATION = 150;
|
|
26079
25949
|
|
|
26080
|
-
const pickerColumnOptionIosCss = "button{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden}:host(.option-disabled){opacity:0.4}:host(.option-disabled) button{cursor:default}";
|
|
25950
|
+
const pickerColumnOptionIosCss = ".picker-column-option-button{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden}:host(.option-disabled){opacity:0.4}:host(.option-disabled) .picker-column-option-button{cursor:default}";
|
|
26081
25951
|
|
|
26082
|
-
const pickerColumnOptionMdCss = "button{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden}:host(.option-disabled){opacity:0.4}:host(.option-disabled) button{cursor:default}:host(.option-active){color:var(--ion-color-base)}";
|
|
25952
|
+
const pickerColumnOptionMdCss = ".picker-column-option-button{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%;height:34px;border:0px;outline:none;background:transparent;color:inherit;font-family:var(--ion-font-family, inherit);font-size:inherit;line-height:34px;text-align:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;overflow:hidden}:host(.option-disabled){opacity:0.4}:host(.option-disabled) .picker-column-option-button{cursor:default}:host(.option-active){color:var(--ion-color-base)}";
|
|
26083
25953
|
|
|
26084
25954
|
class PickerColumnOption {
|
|
26085
25955
|
constructor(hostRef) {
|
|
@@ -26168,10 +26038,10 @@ class PickerColumnOption {
|
|
|
26168
26038
|
render() {
|
|
26169
26039
|
const { color, disabled, ariaLabel } = this;
|
|
26170
26040
|
const mode = getIonMode$1(this);
|
|
26171
|
-
return (hAsync(Host, { key: '
|
|
26041
|
+
return (hAsync(Host, { key: 'f816729941aabcb31ddfdce3ffe2e2139030d715', class: createColorClasses$1(color, {
|
|
26172
26042
|
[mode]: true,
|
|
26173
26043
|
['option-disabled']: disabled,
|
|
26174
|
-
}) }, hAsync("
|
|
26044
|
+
}) }, hAsync("div", { key: 'd942de84fd14d7dc06b1e5cf4f7920d1dc3c6371', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, hAsync("slot", { key: 'b0df5717b42209e649097209a01476e1a66f5c5c' }))));
|
|
26175
26045
|
}
|
|
26176
26046
|
get el() { return getElement(this); }
|
|
26177
26047
|
static get watchers() { return {
|
|
@@ -27578,9 +27448,9 @@ class Popover {
|
|
|
27578
27448
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
27579
27449
|
const desktop = isPlatform('desktop');
|
|
27580
27450
|
const enableArrow = arrow && !parentPopover;
|
|
27581
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
27451
|
+
return (hAsync(Host, Object.assign({ key: '16866c02534968c982cf4730d2936d03a5107c8b', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
27582
27452
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
27583
|
-
}, 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: '
|
|
27453
|
+
}, 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: '0df258601a4d30df3c27aa8234a7d5e056c3ecbb', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), hAsync("div", { key: 'f94e80ed996b957b5cd09b826472b4f60e8fcc78', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && hAsync("div", { key: '185ce22f6386e8444a9cc7b8818dbfc16c463c99', class: "popover-arrow", part: "arrow" }), hAsync("div", { key: '206202b299404e110de5397b229678cca18568d3', class: "popover-content", part: "content" }, hAsync("slot", { key: 'ee543a0b92d6e35a837c0a0e4617c7b0fc4ad0b0' })))));
|
|
27584
27454
|
}
|
|
27585
27455
|
get el() { return getElement(this); }
|
|
27586
27456
|
static get watchers() { return {
|
|
@@ -27685,7 +27555,7 @@ class ProgressBar {
|
|
|
27685
27555
|
const mode = getIonMode$1(this);
|
|
27686
27556
|
// If the progress is displayed as a solid bar.
|
|
27687
27557
|
const progressSolid = buffer === 1;
|
|
27688
|
-
return (hAsync(Host, { key: '
|
|
27558
|
+
return (hAsync(Host, { key: 'dc69693b5d2dcb2b6e4296d7cb85bc27507f3fa6', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses$1(color, {
|
|
27689
27559
|
[mode]: true,
|
|
27690
27560
|
[`progress-bar-${type}`]: true,
|
|
27691
27561
|
'progress-paused': paused,
|
|
@@ -27870,7 +27740,7 @@ class Radio {
|
|
|
27870
27740
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
27871
27741
|
const mode = getIonMode$1(this);
|
|
27872
27742
|
const inItem = hostContext('ion-item', el);
|
|
27873
|
-
return (hAsync(Host, { key: '
|
|
27743
|
+
return (hAsync(Host, { key: '3353b28172b7f837d4b38964169b5b5f4ba02788', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses$1(color, {
|
|
27874
27744
|
[mode]: true,
|
|
27875
27745
|
'in-item': inItem,
|
|
27876
27746
|
'radio-checked': checked,
|
|
@@ -27881,10 +27751,10 @@ class Radio {
|
|
|
27881
27751
|
// Focus and active styling should not apply when the radio is in an item
|
|
27882
27752
|
'ion-activatable': !inItem,
|
|
27883
27753
|
'ion-focusable': !inItem,
|
|
27884
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, hAsync("label", { key: '
|
|
27754
|
+
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, hAsync("label", { key: '418a0a48366ff900e97da123abf665bbbda87fb7', class: "radio-wrapper" }, hAsync("div", { key: '6e5acdd8c8f5d0ad26632a65396afef8094153d1', class: {
|
|
27885
27755
|
'label-text-wrapper': true,
|
|
27886
27756
|
'label-text-wrapper-hidden': !hasLabel,
|
|
27887
|
-
}, part: "label" }, hAsync("slot", { key: '
|
|
27757
|
+
}, part: "label" }, hAsync("slot", { key: '10b157162cd283d624153c747679609cf0bbf11e' })), hAsync("div", { key: '4c45cca95cb105cd6df1025a26e3c045272184a0', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
27888
27758
|
}
|
|
27889
27759
|
get el() { return getElement(this); }
|
|
27890
27760
|
static get watchers() { return {
|
|
@@ -28107,7 +27977,7 @@ class RadioGroup {
|
|
|
28107
27977
|
const { label, labelId, el, name, value } = this;
|
|
28108
27978
|
const mode = getIonMode$1(this);
|
|
28109
27979
|
renderHiddenInput(true, el, name, value, false);
|
|
28110
|
-
return (hAsync(Host, { key: '81b8ebc96b2f383c36717f290d2959cc921ad6e8', role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId, onClick: this.onClick, class: mode }, this.renderHintText(), hAsync("slot", { key: '
|
|
27980
|
+
return (hAsync(Host, { key: '81b8ebc96b2f383c36717f290d2959cc921ad6e8', role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId, onClick: this.onClick, class: mode }, this.renderHintText(), hAsync("div", { key: '45b09efc10776b889a8f372cba80d25a3fc849da', class: "radio-group-wrapper" }, hAsync("slot", { key: '58714934542c2fdd7396de160364f3f06b32e8f8' }))));
|
|
28111
27981
|
}
|
|
28112
27982
|
get el() { return getElement(this); }
|
|
28113
27983
|
static get watchers() { return {
|
|
@@ -28865,7 +28735,7 @@ class Range {
|
|
|
28865
28735
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
28866
28736
|
const mode = getIonMode$1(this);
|
|
28867
28737
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
28868
|
-
return (hAsync(Host, { key: '
|
|
28738
|
+
return (hAsync(Host, { key: 'ef7b01f80515bcaeb2983934ad7f10a6bd5d13ec', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses$1(this.color, {
|
|
28869
28739
|
[mode]: true,
|
|
28870
28740
|
'in-item': inItem,
|
|
28871
28741
|
'range-disabled': disabled,
|
|
@@ -28874,10 +28744,10 @@ class Range {
|
|
|
28874
28744
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
28875
28745
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
28876
28746
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
28877
|
-
}) }, hAsync("label", { key: '
|
|
28747
|
+
}) }, hAsync("label", { key: 'fd8aa90a9d52be9da024b907e68858dae424449d', class: "range-wrapper", id: "range-label" }, hAsync("div", { key: '2172b4f329c22017dd23475c80aac25ba6e753eb', class: {
|
|
28878
28748
|
'label-text-wrapper': true,
|
|
28879
28749
|
'label-text-wrapper-hidden': !hasLabel,
|
|
28880
|
-
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '
|
|
28750
|
+
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '3c318bf2ea0576646d4c010bf44573fd0f483186', class: "native-wrapper" }, hAsync("slot", { key: '6586fd6fc96271e73f8a86c202d1913ad1a26f96', name: "start" }), this.renderRangeSlider(), hAsync("slot", { key: '74ac0bc2d2cb66ef708bb729f88b6ecbc1b2155d', name: "end" })))));
|
|
28881
28751
|
}
|
|
28882
28752
|
get el() { return getElement(this); }
|
|
28883
28753
|
static get watchers() { return {
|
|
@@ -29330,14 +29200,6 @@ class Refresher {
|
|
|
29330
29200
|
this.beginRefresh();
|
|
29331
29201
|
this.didRefresh = true;
|
|
29332
29202
|
hapticImpact({ style: ImpactStyle.Light });
|
|
29333
|
-
/**
|
|
29334
|
-
* Clear focus from any active element to prevent scroll jumps
|
|
29335
|
-
* when the refresh completes
|
|
29336
|
-
*/
|
|
29337
|
-
const activeElement = document.activeElement;
|
|
29338
|
-
if ((activeElement === null || activeElement === void 0 ? void 0 : activeElement.blur) !== undefined) {
|
|
29339
|
-
activeElement.blur();
|
|
29340
|
-
}
|
|
29341
29203
|
/**
|
|
29342
29204
|
* Translate the content element otherwise when pointer is removed
|
|
29343
29205
|
* from screen the scroll content will bounce back over the refresher
|
|
@@ -29753,15 +29615,6 @@ class Refresher {
|
|
|
29753
29615
|
this.state = 8 /* RefresherState.Refreshing */;
|
|
29754
29616
|
// place the content in a hangout position while it thinks
|
|
29755
29617
|
this.setCss(this.pullMin, this.snapbackDuration, true, '');
|
|
29756
|
-
/**
|
|
29757
|
-
* Clear focus from any active element to prevent the browser
|
|
29758
|
-
* from restoring focus and causing scroll jumps after refresh.
|
|
29759
|
-
* This ensures the view stays at the top after refresh completes.
|
|
29760
|
-
*/
|
|
29761
|
-
const activeElement = document.activeElement;
|
|
29762
|
-
if ((activeElement === null || activeElement === void 0 ? void 0 : activeElement.blur) !== undefined) {
|
|
29763
|
-
activeElement.blur();
|
|
29764
|
-
}
|
|
29765
29618
|
// emit "refresh" because it was pulled down far enough
|
|
29766
29619
|
// and they let go to begin refreshing
|
|
29767
29620
|
this.ionRefresh.emit({
|
|
@@ -29844,7 +29697,7 @@ class Refresher {
|
|
|
29844
29697
|
}
|
|
29845
29698
|
render() {
|
|
29846
29699
|
const mode = getIonMode$1(this);
|
|
29847
|
-
return (hAsync(Host, { key: '
|
|
29700
|
+
return (hAsync(Host, { key: '8c7a5cc32da02a9cbeaa954258148683f60a6d1b', slot: "fixed", class: {
|
|
29848
29701
|
[mode]: true,
|
|
29849
29702
|
// Used internally for styling
|
|
29850
29703
|
[`refresher-${mode}`]: true,
|
|
@@ -30068,7 +29921,7 @@ class RefresherContent {
|
|
|
30068
29921
|
const pullingIcon = this.pullingIcon;
|
|
30069
29922
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
30070
29923
|
const mode = getIonMode$1(this);
|
|
30071
|
-
return (hAsync(Host, { key: '
|
|
29924
|
+
return (hAsync(Host, { key: 'e235f8a9a84070ece2e2066ced234a64663bfa1d', class: mode }, hAsync("div", { key: '9121691818ddaa35801a5f442e144ac27686cf19', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (hAsync("div", { key: 'c8d65d740f1575041bd3b752c789077927397fe4', class: "refresher-pulling-icon" }, hAsync("div", { key: '309dd904977eaa788b09ea95b7fa4996a73bec5b', class: "spinner-arrow-container" }, hAsync("ion-spinner", { key: 'a2a1480f67775d56ca7822e76be1e9f983bca2f9', name: this.pullingIcon, paused: true }), mode === 'md' && this.pullingIcon === 'circular' && (hAsync("div", { key: '811d7e06d324bf4b6a18a31427a43e5177f3ae3a', class: "arrow-container" }, hAsync("ion-icon", { key: '86cc48e2e8dc054ff6ff1299094da35b524be63d', icon: caretBackSharp, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (hAsync("div", { key: '464ae097dbc95c18a2dd7dfd03f8489153dab719', class: "refresher-pulling-icon" }, hAsync("ion-icon", { key: 'ed6875978b9035add562caa743a68353743d978f', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), hAsync("div", { key: 'aff891924e44354543fec484e5cde1ca92e69904', class: "refresher-refreshing" }, this.refreshingSpinner && (hAsync("div", { key: '842d7ac4ff10a1058775493d62f31cbdcd34f7a0', class: "refresher-refreshing-icon" }, hAsync("ion-spinner", { key: '8c3e6195501e7e78d5cde1e3ad1fef90fd4a953f', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
30072
29925
|
}
|
|
30073
29926
|
get el() { return getElement(this); }
|
|
30074
29927
|
static get cmpMeta() { return {
|
|
@@ -30109,7 +29962,7 @@ class Reorder {
|
|
|
30109
29962
|
render() {
|
|
30110
29963
|
const mode = getIonMode$1(this);
|
|
30111
29964
|
const reorderIcon = mode === 'ios' ? reorderThreeOutline : reorderTwoSharp;
|
|
30112
|
-
return (hAsync(Host, { key: '
|
|
29965
|
+
return (hAsync(Host, { key: 'e6807bb349725682e99e791ac65e729a360d64e8', class: mode }, hAsync("slot", { key: '1c691cdbffa6427ba08dc12184c69559ed5d5506' }, hAsync("ion-icon", { key: '8b4150302cdca475379582b2251737b5e74079b1', icon: reorderIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
30113
29966
|
}
|
|
30114
29967
|
get el() { return getElement(this); }
|
|
30115
29968
|
static get style() { return {
|
|
@@ -30380,7 +30233,7 @@ class ReorderGroup {
|
|
|
30380
30233
|
}
|
|
30381
30234
|
render() {
|
|
30382
30235
|
const mode = getIonMode$1(this);
|
|
30383
|
-
return (hAsync(Host, { key: '
|
|
30236
|
+
return (hAsync(Host, { key: 'b9641f3061d67fbfe68317b901ec33267046e073', class: {
|
|
30384
30237
|
[mode]: true,
|
|
30385
30238
|
'reorder-enabled': !this.disabled,
|
|
30386
30239
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -30496,7 +30349,7 @@ class RippleEffect {
|
|
|
30496
30349
|
}
|
|
30497
30350
|
render() {
|
|
30498
30351
|
const mode = getIonMode$1(this);
|
|
30499
|
-
return (hAsync(Host, { key: '
|
|
30352
|
+
return (hAsync(Host, { key: 'ae9d3b1ed6773a9b9bb2267129f7e9af23b6c9fc', role: "presentation", class: {
|
|
30500
30353
|
[mode]: true,
|
|
30501
30354
|
unbounded: this.unbounded,
|
|
30502
30355
|
} }));
|
|
@@ -31455,10 +31308,10 @@ class RouterLink {
|
|
|
31455
31308
|
rel: this.rel,
|
|
31456
31309
|
target: this.target,
|
|
31457
31310
|
};
|
|
31458
|
-
return (hAsync(Host, { key: '
|
|
31311
|
+
return (hAsync(Host, { key: 'd7f2affcde45c5fbb6cb46cd1c30008ee92a68c5', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
31459
31312
|
[mode]: true,
|
|
31460
31313
|
'ion-activatable': true,
|
|
31461
|
-
}) }, hAsync("a", Object.assign({ key: '
|
|
31314
|
+
}) }, hAsync("a", Object.assign({ key: 'babafae85ca5c6429958d383feff0493ff8cf33e' }, attrs), hAsync("slot", { key: '50314e9555bbf6dffa0c50c3f763009dee59b10b' }))));
|
|
31462
31315
|
}
|
|
31463
31316
|
static get style() { return routerLinkCss; }
|
|
31464
31317
|
static get cmpMeta() { return {
|
|
@@ -31655,7 +31508,7 @@ class RouterOutlet {
|
|
|
31655
31508
|
return true;
|
|
31656
31509
|
}
|
|
31657
31510
|
render() {
|
|
31658
|
-
return hAsync("slot", { key: '
|
|
31511
|
+
return hAsync("slot", { key: '84b50f1155b0d780dff802ee13223287259fd525' });
|
|
31659
31512
|
}
|
|
31660
31513
|
get el() { return getElement(this); }
|
|
31661
31514
|
static get watchers() { return {
|
|
@@ -31688,7 +31541,7 @@ class Row {
|
|
|
31688
31541
|
registerInstance(this, hostRef);
|
|
31689
31542
|
}
|
|
31690
31543
|
render() {
|
|
31691
|
-
return (hAsync(Host, { key: '
|
|
31544
|
+
return (hAsync(Host, { key: '65592a79621bd8f75f9566db3e8c05a4b8fc6048', class: getIonMode$1(this) }, hAsync("slot", { key: '56f09784db7a0299c9ce76dfcede185b295251ff' })));
|
|
31692
31545
|
}
|
|
31693
31546
|
static get style() { return rowCss; }
|
|
31694
31547
|
static get cmpMeta() { return {
|
|
@@ -32129,8 +31982,8 @@ class Searchbar {
|
|
|
32129
31982
|
const clearIcon = this.clearIcon || (mode === 'ios' ? closeCircle : closeSharp);
|
|
32130
31983
|
const searchIcon = this.searchIcon || (mode === 'ios' ? searchOutline : searchSharp);
|
|
32131
31984
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
32132
|
-
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '
|
|
32133
|
-
return (hAsync(Host, { key: '
|
|
31985
|
+
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '19e18775856db87daeb4b9e3d7bca0461915a0df', "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: 'b3bbdcc033f3bd3441d619e4a252cef0dad4d07e', "aria-hidden": "true" }, mode === 'md' ? (hAsync("ion-icon", { "aria-hidden": "true", mode: mode, icon: this.cancelButtonIcon, lazy: false })) : (cancelButtonText))));
|
|
31986
|
+
return (hAsync(Host, { key: '074aa60e051bfb3225e87d44bbb6346c59c73574', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses$1(this.color, {
|
|
32134
31987
|
[mode]: true,
|
|
32135
31988
|
'searchbar-animated': animated,
|
|
32136
31989
|
'searchbar-disabled': this.disabled,
|
|
@@ -32140,14 +31993,14 @@ class Searchbar {
|
|
|
32140
31993
|
'searchbar-has-focus': this.focused,
|
|
32141
31994
|
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
32142
31995
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
32143
|
-
}) }, hAsync("div", { key: '
|
|
31996
|
+
}) }, hAsync("div", { key: '54f58a79fe36e85d9295157303f1be89c98bbdaf', class: "searchbar-input-container" }, hAsync("input", Object.assign({ key: 'f991a37fcf54d26b7ad10d89084764e03d97b9de', "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: '8b44dd90a3292c5cf872ef16a8520675f5673494', "aria-hidden": "true", mode: mode, icon: searchIcon, lazy: false, class: "searchbar-search-icon" }), hAsync("button", { key: '79d9cfed8f01268044f82811a35d323a12dca749', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
32144
31997
|
/**
|
|
32145
31998
|
* This prevents mobile browsers from
|
|
32146
31999
|
* blurring the input when the clear
|
|
32147
32000
|
* button is activated.
|
|
32148
32001
|
*/
|
|
32149
32002
|
ev.preventDefault();
|
|
32150
|
-
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: '
|
|
32003
|
+
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: 'aa3b9fa8a61f853236783ac7bcd0b113ea65ece2', "aria-hidden": "true", mode: mode, icon: clearIcon, lazy: false, class: "searchbar-clear-icon" }))), mode === 'ios' && cancelButton));
|
|
32151
32004
|
}
|
|
32152
32005
|
get el() { return getElement(this); }
|
|
32153
32006
|
static get watchers() { return {
|
|
@@ -32742,14 +32595,14 @@ class Segment {
|
|
|
32742
32595
|
}
|
|
32743
32596
|
render() {
|
|
32744
32597
|
const mode = getIonMode$1(this);
|
|
32745
|
-
return (hAsync(Host, { key: '
|
|
32598
|
+
return (hAsync(Host, { key: 'e67ed512739cf2cfe657b0c44ebc3dfb1e9fbb79', role: "tablist", onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
32746
32599
|
[mode]: true,
|
|
32747
32600
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
32748
32601
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
32749
32602
|
'segment-activated': this.activated,
|
|
32750
32603
|
'segment-disabled': this.disabled,
|
|
32751
32604
|
'segment-scrollable': this.scrollable,
|
|
32752
|
-
}) }, hAsync("slot", { key: '
|
|
32605
|
+
}) }, hAsync("slot", { key: '804d8acfcb9abfeeee38244b015fbc5c36330b9e', onSlotchange: this.onSlottedItemsChange })));
|
|
32753
32606
|
}
|
|
32754
32607
|
get el() { return getElement(this); }
|
|
32755
32608
|
static get watchers() { return {
|
|
@@ -32889,7 +32742,7 @@ class SegmentButton {
|
|
|
32889
32742
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
32890
32743
|
const mode = getIonMode$1(this);
|
|
32891
32744
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
32892
|
-
return (hAsync(Host, { key: '
|
|
32745
|
+
return (hAsync(Host, { key: '26cb7ee90455bcaa6416125802d7e5729fa05b5b', class: {
|
|
32893
32746
|
[mode]: true,
|
|
32894
32747
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
32895
32748
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -32905,7 +32758,7 @@ class SegmentButton {
|
|
|
32905
32758
|
'ion-activatable': true,
|
|
32906
32759
|
'ion-activatable-instant': true,
|
|
32907
32760
|
'ion-focusable': true,
|
|
32908
|
-
} }, hAsync("button", Object.assign({ key: '
|
|
32761
|
+
} }, hAsync("button", Object.assign({ key: '75add37f11c107d1e2cfdb154e08004e9579e863', "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: '8e720d2a3e304903685bf09d226a64e944d78a22', class: "button-inner" }, hAsync("slot", { key: 'c8e7b3ebf8f03042a1001155643b585283c73c65' })), mode === 'md' && hAsync("ion-ripple-effect", { key: '3586ac317b8d82c92b0ccfbfae42f8778612321b' })), hAsync("div", { key: '9cf93957da9e8dc333c8b05327bb903385b1c5f4', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, hAsync("div", { key: 'd3b6f0b3860ec6896b46703f64ed1cc8c75612e3', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
32909
32762
|
}
|
|
32910
32763
|
get el() { return getElement(this); }
|
|
32911
32764
|
static get watchers() { return {
|
|
@@ -32940,7 +32793,7 @@ class SegmentContent {
|
|
|
32940
32793
|
registerInstance(this, hostRef);
|
|
32941
32794
|
}
|
|
32942
32795
|
render() {
|
|
32943
|
-
return (hAsync(Host, { key: '
|
|
32796
|
+
return (hAsync(Host, { key: 'db6876f2aee7afa1ea8bc147337670faa68fae1c' }, hAsync("slot", { key: 'bc05714a973a5655668679033f5809a1da6db8cc' })));
|
|
32944
32797
|
}
|
|
32945
32798
|
static get style() { return segmentContentCss; }
|
|
32946
32799
|
static get cmpMeta() { return {
|
|
@@ -33053,10 +32906,10 @@ class SegmentView {
|
|
|
33053
32906
|
}
|
|
33054
32907
|
render() {
|
|
33055
32908
|
const { disabled, isManualScroll } = this;
|
|
33056
|
-
return (hAsync(Host, { key: '
|
|
32909
|
+
return (hAsync(Host, { key: '754a374e89fd4dd682eb00497e717242a6f83357', class: {
|
|
33057
32910
|
'segment-view-disabled': disabled,
|
|
33058
32911
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
33059
|
-
} }, hAsync("slot", { key: '
|
|
32912
|
+
} }, hAsync("slot", { key: '77366044eb61f0d4bba305bd6f0ef8fd1e25194b' })));
|
|
33060
32913
|
}
|
|
33061
32914
|
get el() { return getElement(this); }
|
|
33062
32915
|
static get style() { return {
|
|
@@ -33806,7 +33659,7 @@ class Select {
|
|
|
33806
33659
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
33807
33660
|
*/
|
|
33808
33661
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
33809
|
-
return (hAsync(Host, { key: '
|
|
33662
|
+
return (hAsync(Host, { key: 'c03fb65e8fc9f9aab295e07b282377d57d910519', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
33810
33663
|
[mode]: true,
|
|
33811
33664
|
'in-item': inItem,
|
|
33812
33665
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -33824,7 +33677,7 @@ class Select {
|
|
|
33824
33677
|
[`select-justify-${justify}`]: justifyEnabled,
|
|
33825
33678
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
33826
33679
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
33827
|
-
}) }, hAsync("label", { key: '
|
|
33680
|
+
}) }, hAsync("label", { key: '0d0c8ec55269adcac625f2899a547f4e7f3e3741', class: "select-wrapper", id: "select-label", onClick: this.onLabelClick }, this.renderLabelContainer(), hAsync("div", { key: 'f6dfc93c0e23cbe75a2947abde67d842db2dad78', class: "select-wrapper-inner" }, hAsync("slot", { key: '957bfadf9f101f519091419a362d3abdc2be66f6', name: "start" }), hAsync("div", { key: 'ca349202a484e7f2e884533fd330f0b136754f7d', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), hAsync("slot", { key: 'f0e62a6533ff1c8f62bd2d27f60b23385c4fa9ed', name: "end" }), !hasFloatingOrStackedLabel && this.renderSelectIcon()), hasFloatingOrStackedLabel && this.renderSelectIcon(), shouldRenderHighlight && hAsync("div", { key: 'fb840d46bafafb09898ebeebbe8c181906a3d8a2', class: "select-highlight" })), this.renderBottomContent()));
|
|
33828
33681
|
}
|
|
33829
33682
|
get el() { return getElement(this); }
|
|
33830
33683
|
static get watchers() { return {
|
|
@@ -33983,7 +33836,7 @@ class SelectModal {
|
|
|
33983
33836
|
} }, option.text))));
|
|
33984
33837
|
}
|
|
33985
33838
|
render() {
|
|
33986
|
-
return (hAsync(Host, { key: '
|
|
33839
|
+
return (hAsync(Host, { key: 'b6c0dec240b2e41985b15fdf4e5a6d3a145c1567', class: getIonMode$1(this) }, hAsync("ion-header", { key: 'cd177e85ee0f62a60a3a708342d6ab6eb19a44dc' }, hAsync("ion-toolbar", { key: 'aee8222a5a4daa540ad202b2e4cac1ef93d9558c' }, this.header !== undefined && hAsync("ion-title", { key: '5f8fecc764d97bf840d3d4cfddeeccd118ab4436' }, this.header), hAsync("ion-buttons", { key: '919033950d7c2b0101f96a9c9698219de9f568ea', slot: "end" }, hAsync("ion-button", { key: '34b571cab6dced4bde555a077a21e91800829931', onClick: () => this.closeModal() }, "Close")))), hAsync("ion-content", { key: '3c9153d26ba7a5a03d3b20fcd628d0c3031661a7' }, hAsync("ion-list", { key: 'e00b222c071bc97c82ad1bba4db95a8a5c43ed6d' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
|
|
33987
33840
|
}
|
|
33988
33841
|
get el() { return getElement(this); }
|
|
33989
33842
|
static get style() { return {
|
|
@@ -34017,7 +33870,7 @@ class SelectOption {
|
|
|
34017
33870
|
this.disabled = false;
|
|
34018
33871
|
}
|
|
34019
33872
|
render() {
|
|
34020
|
-
return hAsync(Host, { key: '
|
|
33873
|
+
return hAsync(Host, { key: '3a70eea9fa03a9acba582180761d18347c72acee', role: "option", id: this.inputId, class: getIonMode$1(this) });
|
|
34021
33874
|
}
|
|
34022
33875
|
get el() { return getElement(this); }
|
|
34023
33876
|
static get style() { return selectOptionCss; }
|
|
@@ -34134,7 +33987,7 @@ class SelectPopover {
|
|
|
34134
33987
|
render() {
|
|
34135
33988
|
const { header, message, options, subHeader } = this;
|
|
34136
33989
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
34137
|
-
return (hAsync(Host, { key: '
|
|
33990
|
+
return (hAsync(Host, { key: 'ab931b49b59283825bd2afa3f7f995b0e6e05bef', class: getIonMode$1(this) }, hAsync("ion-list", { key: '3bd12b67832607596b912a73d5b3ae9b954b244d' }, header !== undefined && hAsync("ion-list-header", { key: '97da930246edf7423a039c030d40e3ff7a5148a3' }, header), hasSubHeaderOrMessage && (hAsync("ion-item", { key: 'c579df6ea8fac07bb0c59d34c69b149656863224' }, hAsync("ion-label", { key: 'af699c5f465710ccb13b8cf8e7be66f0e8acfad1', class: "ion-text-wrap" }, subHeader !== undefined && hAsync("h3", { key: 'df9a936d42064b134e843c7229f314a2a3ec7e80' }, subHeader), message !== undefined && hAsync("p", { key: '9c3ddad378df00f106afa94e9928cf68c17124dd' }, message)))), this.renderOptions(options))));
|
|
34138
33991
|
}
|
|
34139
33992
|
get el() { return getElement(this); }
|
|
34140
33993
|
static get style() { return {
|
|
@@ -34184,11 +34037,11 @@ class SkeletonText {
|
|
|
34184
34037
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
34185
34038
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
34186
34039
|
const mode = getIonMode$1(this);
|
|
34187
|
-
return (hAsync(Host, { key: '
|
|
34040
|
+
return (hAsync(Host, { key: 'd86ef7392507cdbf48dfd3a71f02d7a83eda4aae', class: {
|
|
34188
34041
|
[mode]: true,
|
|
34189
34042
|
'skeleton-text-animated': animated,
|
|
34190
34043
|
'in-media': inMedia,
|
|
34191
|
-
} }, hAsync("span", { key: '
|
|
34044
|
+
} }, hAsync("span", { key: '8e8b5a232a6396d2bba691b05f9de4da44b2965c' }, "\u00A0")));
|
|
34192
34045
|
}
|
|
34193
34046
|
get el() { return getElement(this); }
|
|
34194
34047
|
static get style() { return skeletonTextCss; }
|
|
@@ -34240,7 +34093,7 @@ class Spinner {
|
|
|
34240
34093
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
34241
34094
|
}
|
|
34242
34095
|
}
|
|
34243
|
-
return (hAsync(Host, { key: '
|
|
34096
|
+
return (hAsync(Host, { key: 'a33d6421fcc885995fbc7a348516525f68ca496c', class: createColorClasses$1(self.color, {
|
|
34244
34097
|
[mode]: true,
|
|
34245
34098
|
[`spinner-${spinnerName}`]: true,
|
|
34246
34099
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -34339,12 +34192,12 @@ class SplitPane {
|
|
|
34339
34192
|
}
|
|
34340
34193
|
render() {
|
|
34341
34194
|
const mode = getIonMode$1(this);
|
|
34342
|
-
return (hAsync(Host, { key: '
|
|
34195
|
+
return (hAsync(Host, { key: 'd5e30df12f1f1f855da4c66f98076b9dce762c59', class: {
|
|
34343
34196
|
[mode]: true,
|
|
34344
34197
|
// Used internally for styling
|
|
34345
34198
|
[`split-pane-${mode}`]: true,
|
|
34346
34199
|
'split-pane-visible': this.visible,
|
|
34347
|
-
} }, hAsync("slot", { key: '
|
|
34200
|
+
} }, hAsync("slot", { key: '3e30d7cf3bc1cf434e16876a0cb2a36377b8e00f' })));
|
|
34348
34201
|
}
|
|
34349
34202
|
get el() { return getElement(this); }
|
|
34350
34203
|
static get watchers() { return {
|
|
@@ -34410,10 +34263,10 @@ class Tab {
|
|
|
34410
34263
|
}
|
|
34411
34264
|
render() {
|
|
34412
34265
|
const { tab, active, component } = this;
|
|
34413
|
-
return (hAsync(Host, { key: '
|
|
34266
|
+
return (hAsync(Host, { key: 'dbad8fe9f1566277d14647626308eaf1601ab01f', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
34414
34267
|
'ion-page': component === undefined,
|
|
34415
34268
|
'tab-hidden': !active,
|
|
34416
|
-
} }, hAsync("slot", { key: '
|
|
34269
|
+
} }, hAsync("slot", { key: '3be64f4e7161f6769aaf8e4dcb5293fcaa09af45' })));
|
|
34417
34270
|
}
|
|
34418
34271
|
get el() { return getElement(this); }
|
|
34419
34272
|
static get watchers() { return {
|
|
@@ -34492,11 +34345,11 @@ class TabBar {
|
|
|
34492
34345
|
const { color, translucent, keyboardVisible } = this;
|
|
34493
34346
|
const mode = getIonMode$1(this);
|
|
34494
34347
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
34495
|
-
return (hAsync(Host, { key: '
|
|
34348
|
+
return (hAsync(Host, { key: '275dc6c1b30f6928ce9039b2f445208bb3500ddc', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses$1(color, {
|
|
34496
34349
|
[mode]: true,
|
|
34497
34350
|
'tab-bar-translucent': translucent,
|
|
34498
34351
|
'tab-bar-hidden': shouldHide,
|
|
34499
|
-
}) }, hAsync("slot", { key: '
|
|
34352
|
+
}) }, hAsync("slot", { key: 'ceac20128d75c6a4a0f445f2df8deb8cc71fc4da' })));
|
|
34500
34353
|
}
|
|
34501
34354
|
get el() { return getElement(this); }
|
|
34502
34355
|
static get watchers() { return {
|
|
@@ -34592,7 +34445,7 @@ class TabButton {
|
|
|
34592
34445
|
rel,
|
|
34593
34446
|
target,
|
|
34594
34447
|
};
|
|
34595
|
-
return (hAsync(Host, { key: '
|
|
34448
|
+
return (hAsync(Host, { key: 'ce9d29ced0c781d6b2fa62cd5feb801c11fc42e8', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
34596
34449
|
[mode]: true,
|
|
34597
34450
|
'tab-selected': selected,
|
|
34598
34451
|
'tab-disabled': disabled,
|
|
@@ -34604,7 +34457,7 @@ class TabButton {
|
|
|
34604
34457
|
'ion-activatable': true,
|
|
34605
34458
|
'ion-selectable': true,
|
|
34606
34459
|
'ion-focusable': true,
|
|
34607
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
34460
|
+
} }, hAsync("a", Object.assign({ key: '01cb0ed2e77c5c1a8abd48da1bb07ac1b305d0b6' }, 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: 'd0240c05f42217cfb186b86ff8a0c9cd70b9c8df', class: "button-inner" }, hAsync("slot", { key: '0a20b84925037dbaa8bb4a495b813d3f7c2e58ac' })), mode === 'md' && hAsync("ion-ripple-effect", { key: '4c92c27178cdac89d69cffef8d2c39c3644914e8', type: "unbounded" }))));
|
|
34608
34461
|
}
|
|
34609
34462
|
get el() { return getElement(this); }
|
|
34610
34463
|
static get style() { return {
|
|
@@ -34796,7 +34649,7 @@ class Tabs {
|
|
|
34796
34649
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
34797
34650
|
}
|
|
34798
34651
|
render() {
|
|
34799
|
-
return (hAsync(Host, { key: '
|
|
34652
|
+
return (hAsync(Host, { key: '6dd1d17cc5a7aff4b910303006b4478080ca97af', onIonTabButtonClick: this.onTabClicked }, hAsync("slot", { key: 'db54a692d1a825498a116f090eb305f7cceceb5a', name: "top" }), hAsync("div", { key: 'e1b7d49ba7032e9071de2029695254e2a8303be9', class: "tabs-inner" }, hAsync("slot", { key: '4c3b58d5292c8c834e7532c51de0861068943d79' })), hAsync("slot", { key: 'dd59c0b9b217dfbfb0fccdbc6896b593278549cc', name: "bottom" })));
|
|
34800
34653
|
}
|
|
34801
34654
|
get el() { return getElement(this); }
|
|
34802
34655
|
static get style() { return tabsCss; }
|
|
@@ -34836,9 +34689,9 @@ class Text {
|
|
|
34836
34689
|
}
|
|
34837
34690
|
render() {
|
|
34838
34691
|
const mode = getIonMode$1(this);
|
|
34839
|
-
return (hAsync(Host, { key: '
|
|
34692
|
+
return (hAsync(Host, { key: '361035eae7b92dc109794348d39bad2f596eb6be', class: createColorClasses$1(this.color, {
|
|
34840
34693
|
[mode]: true,
|
|
34841
|
-
}) }, hAsync("slot", { key: '
|
|
34694
|
+
}) }, hAsync("slot", { key: 'c7b8835cf485ba9ecd73298f0529276ce1ea0852' })));
|
|
34842
34695
|
}
|
|
34843
34696
|
static get style() { return textCss; }
|
|
34844
34697
|
static get cmpMeta() { return {
|
|
@@ -35288,7 +35141,7 @@ class Textarea {
|
|
|
35288
35141
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
35289
35142
|
*/
|
|
35290
35143
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
35291
|
-
return (hAsync(Host, { key: '
|
|
35144
|
+
return (hAsync(Host, { key: 'd9f2ede0107987fc42c99e310cd2336bad5a5755', class: createColorClasses$1(this.color, {
|
|
35292
35145
|
[mode]: true,
|
|
35293
35146
|
'has-value': hasValue,
|
|
35294
35147
|
'has-focus': hasFocus,
|
|
@@ -35297,7 +35150,7 @@ class Textarea {
|
|
|
35297
35150
|
[`textarea-shape-${shape}`]: shape !== undefined,
|
|
35298
35151
|
[`textarea-label-placement-${labelPlacement}`]: true,
|
|
35299
35152
|
'textarea-disabled': disabled,
|
|
35300
|
-
}) }, hAsync("label", { key: '
|
|
35153
|
+
}) }, hAsync("label", { key: '9de598b95237462bb3bccffaefe83afbb43554b8', class: "textarea-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), hAsync("div", { key: 'e33c426c6541d723ccc246bb404c03687726ff83', class: "textarea-wrapper-inner" }, hAsync("div", { key: '521e11af9d54d281b0a2b1c25bcfc6f742c18296', class: "start-slot-wrapper" }, hAsync("slot", { key: '515523f6ca3ce0e5dd08f3275c21a190fb1ca177', name: "start" })), hAsync("div", { key: '916e01e00de8400ae00ef06bc1fb62d8be2eee08', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el) }, hAsync("textarea", Object.assign({ key: '810271e6532d90e27dab1fcb26546113c1ce9cb0', 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.getHintTextID() === this.errorTextId }, this.inheritedAttributes), value)), hAsync("div", { key: '80aca9ea9546dca9d38efd291a6b0be384bb6978', class: "end-slot-wrapper" }, hAsync("slot", { key: '407fab16c66a9f4a542369bfecc0d9afa0065977', name: "end" }))), shouldRenderHighlight && hAsync("div", { key: 'f00523a6698fac8a1996e04303487bef01d10f25', class: "textarea-highlight" })), this.renderBottomContent()));
|
|
35301
35154
|
}
|
|
35302
35155
|
get el() { return getElement(this); }
|
|
35303
35156
|
static get watchers() { return {
|
|
@@ -35359,7 +35212,7 @@ class Thumbnail {
|
|
|
35359
35212
|
registerInstance(this, hostRef);
|
|
35360
35213
|
}
|
|
35361
35214
|
render() {
|
|
35362
|
-
return (hAsync(Host, { key: '
|
|
35215
|
+
return (hAsync(Host, { key: '70ada828e8cf541ab3b47f94b7e56ce34114ef88', class: getIonMode$1(this) }, hAsync("slot", { key: 'c43e105669d2bae123619b616f3af8ca2f722d61' })));
|
|
35363
35216
|
}
|
|
35364
35217
|
static get style() { return thumbnailCss; }
|
|
35365
35218
|
static get cmpMeta() { return {
|
|
@@ -36217,9 +36070,9 @@ class Toast {
|
|
|
36217
36070
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
36218
36071
|
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);
|
|
36219
36072
|
}
|
|
36220
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
36073
|
+
return (hAsync(Host, Object.assign({ key: 'd1ecd90c87700aad4685e230cdd430aa286b8791', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
36221
36074
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
36222
|
-
}, 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: '
|
|
36075
|
+
}, 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: '4bfc863417324de69e222054d5cf9c452038b41e', class: wrapperClass }, hAsync("div", { key: '3417940afec0392e81b7d54c7cb00f3ab6c30d47', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (hAsync("ion-icon", { key: '6bf878fbc85c01e1e5faa9d97d46255a6511a952', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), hAsync("div", { key: '54b500348a9c37660c3aff37436d9188e4374947', 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')))));
|
|
36223
36076
|
}
|
|
36224
36077
|
get el() { return getElement(this); }
|
|
36225
36078
|
static get watchers() { return {
|
|
@@ -36521,7 +36374,7 @@ class Toggle {
|
|
|
36521
36374
|
const value = this.getValue();
|
|
36522
36375
|
const rtl = isRTL$1(el) ? 'rtl' : 'ltr';
|
|
36523
36376
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
36524
|
-
return (hAsync(Host, { key: '
|
|
36377
|
+
return (hAsync(Host, { key: '21037ea2e8326f58c84becadde475f007f931924', role: "switch", "aria-checked": `${checked}`, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === errorTextId, onClick: this.onClick, "aria-labelledby": hasLabel ? inputLabelId : null, "aria-label": inheritedAttributes['aria-label'] || null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? undefined : 0, onKeyDown: this.onKeyDown, class: createColorClasses$1(color, {
|
|
36525
36378
|
[mode]: true,
|
|
36526
36379
|
'in-item': hostContext('ion-item', el),
|
|
36527
36380
|
'toggle-activated': activated,
|
|
@@ -36531,10 +36384,10 @@ class Toggle {
|
|
|
36531
36384
|
[`toggle-alignment-${alignment}`]: alignment !== undefined,
|
|
36532
36385
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
36533
36386
|
[`toggle-${rtl}`]: true,
|
|
36534
|
-
}) }, hAsync("label", { key: '
|
|
36387
|
+
}) }, hAsync("label", { key: '4d153679d118d01286f6633d1c19558a97745ff6', class: "toggle-wrapper", htmlFor: inputId }, hAsync("input", Object.assign({ key: '0dfcd4df15b8d41bec5ff5f8912503afbb7bec53', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl), required: required }, inheritedAttributes)), hAsync("div", { key: 'ffed3a07ba2ab70e5b232e6041bc3b6b34be8331', class: {
|
|
36535
36388
|
'label-text-wrapper': true,
|
|
36536
36389
|
'label-text-wrapper-hidden': !hasLabel,
|
|
36537
|
-
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '
|
|
36390
|
+
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: 'd88e1e3dcdd8293f6b61f237cd7a0511dcbce300' }), this.renderHintText()), hAsync("div", { key: '0e924225f5f0caf3c88738acb6c557bd8c1b68f6', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
36538
36391
|
}
|
|
36539
36392
|
get el() { return getElement(this); }
|
|
36540
36393
|
static get watchers() { return {
|
|
@@ -36642,10 +36495,10 @@ class Toolbar {
|
|
|
36642
36495
|
this.childrenStyles.forEach((value) => {
|
|
36643
36496
|
Object.assign(childStyles, value);
|
|
36644
36497
|
});
|
|
36645
|
-
return (hAsync(Host, { key: '
|
|
36498
|
+
return (hAsync(Host, { key: 'f6c4f669a6a61c5eac4cbb5ea0aa97c48ae5bd46', class: Object.assign(Object.assign({}, childStyles), createColorClasses$1(this.color, {
|
|
36646
36499
|
[mode]: true,
|
|
36647
36500
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
36648
|
-
})) }, hAsync("div", { key: '
|
|
36501
|
+
})) }, hAsync("div", { key: '9c81742ffa02de9ba7417025b077d05e67305074', class: "toolbar-background", part: "background" }), hAsync("div", { key: '5fc96d166fa47894a062e41541a9beee38078a36', class: "toolbar-container", part: "container" }, hAsync("slot", { key: 'b62c0d9d59a70176bdbf769aec6090d7a166853b', name: "start" }), hAsync("slot", { key: 'd01d3cc2c50e5aaa49c345b209fe8dbdf3d48131', name: "secondary" }), hAsync("div", { key: '3aaa3a2810aedd38c37eb616158ec7b9638528fc', class: "toolbar-content", part: "content" }, hAsync("slot", { key: '357246690f8d5e1cc3ca369611d4845a79edf610' })), hAsync("slot", { key: '06ed3cca4f7ebff4a54cd877dad3cc925ccf9f75', name: "primary" }), hAsync("slot", { key: 'e453d43d14a26b0d72f41e1b81a554bab8ece811', name: "end" }))));
|
|
36649
36502
|
}
|
|
36650
36503
|
get el() { return getElement(this); }
|
|
36651
36504
|
static get style() { return {
|
|
@@ -36691,11 +36544,11 @@ class ToolbarTitle {
|
|
|
36691
36544
|
render() {
|
|
36692
36545
|
const mode = getIonMode$1(this);
|
|
36693
36546
|
const size = this.getSize();
|
|
36694
|
-
return (hAsync(Host, { key: '
|
|
36547
|
+
return (hAsync(Host, { key: 'e599c0bf1b0817df3fa8360bdcd6d787f751c371', class: createColorClasses$1(this.color, {
|
|
36695
36548
|
[mode]: true,
|
|
36696
36549
|
[`title-${size}`]: true,
|
|
36697
36550
|
'title-rtl': document.dir === 'rtl',
|
|
36698
|
-
}) }, hAsync("div", { key: '
|
|
36551
|
+
}) }, hAsync("div", { key: '6e7eee9047d6759876bb31d7305b76efc7c4338c', class: "toolbar-title" }, hAsync("slot", { key: 'bf790eb4c83dd0af4f2fd1f85ab4af5819f46ff4' }))));
|
|
36699
36552
|
}
|
|
36700
36553
|
get el() { return getElement(this); }
|
|
36701
36554
|
static get watchers() { return {
|