@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.js
CHANGED
|
@@ -6167,9 +6167,11 @@ const setRootAriaHidden = (hidden = false) => {
|
|
|
6167
6167
|
}
|
|
6168
6168
|
if (hidden) {
|
|
6169
6169
|
viewContainer.setAttribute('aria-hidden', 'true');
|
|
6170
|
+
viewContainer.setAttribute('inert', '');
|
|
6170
6171
|
}
|
|
6171
6172
|
else {
|
|
6172
6173
|
viewContainer.removeAttribute('aria-hidden');
|
|
6174
|
+
viewContainer.removeAttribute('inert');
|
|
6173
6175
|
}
|
|
6174
6176
|
};
|
|
6175
6177
|
const present = async (overlay, name, iosEnterAnimation, mdEnterAnimation, opts) => {
|
|
@@ -6188,8 +6190,6 @@ const present = async (overlay, name, iosEnterAnimation, mdEnterAnimation, opts)
|
|
|
6188
6190
|
setRootAriaHidden(true);
|
|
6189
6191
|
document.body.classList.add(BACKDROP_NO_SCROLL);
|
|
6190
6192
|
}
|
|
6191
|
-
hideUnderlyingOverlaysFromScreenReaders(overlay.el);
|
|
6192
|
-
hideAnimatingOverlayFromScreenReaders(overlay.el);
|
|
6193
6193
|
overlay.presented = true;
|
|
6194
6194
|
overlay.willPresent.emit();
|
|
6195
6195
|
(_a = overlay.willPresentShorthand) === null || _a === void 0 ? void 0 : _a.emit();
|
|
@@ -6315,12 +6315,6 @@ const dismiss = async (overlay, data, role, name, iosLeaveAnimation, mdLeaveAnim
|
|
|
6315
6315
|
}
|
|
6316
6316
|
overlay.presented = false;
|
|
6317
6317
|
try {
|
|
6318
|
-
/**
|
|
6319
|
-
* There is no need to show the overlay to screen readers during
|
|
6320
|
-
* the dismiss animation. This is because the overlay will be removed
|
|
6321
|
-
* from the DOM after the animation is complete.
|
|
6322
|
-
*/
|
|
6323
|
-
hideAnimatingOverlayFromScreenReaders(overlay.el);
|
|
6324
6318
|
// Overlay contents should not be clickable during dismiss
|
|
6325
6319
|
overlay.el.style.setProperty('pointer-events', 'none');
|
|
6326
6320
|
overlay.willDismiss.emit({ data, role });
|
|
@@ -6359,7 +6353,6 @@ const dismiss = async (overlay, data, role, name, iosLeaveAnimation, mdLeaveAnim
|
|
|
6359
6353
|
printIonError(`[${overlay.el.tagName.toLowerCase()}] - `, err);
|
|
6360
6354
|
}
|
|
6361
6355
|
overlay.el.remove();
|
|
6362
|
-
revealOverlaysToScreenReaders();
|
|
6363
6356
|
return true;
|
|
6364
6357
|
};
|
|
6365
6358
|
const getAppRoot = (doc) => {
|
|
@@ -6555,93 +6548,6 @@ const createTriggerController = () => {
|
|
|
6555
6548
|
removeClickListener,
|
|
6556
6549
|
};
|
|
6557
6550
|
};
|
|
6558
|
-
/**
|
|
6559
|
-
* The overlay that is being animated also needs to hide from screen
|
|
6560
|
-
* readers during its animation. This ensures that assistive technologies
|
|
6561
|
-
* like TalkBack do not announce or interact with the content until the
|
|
6562
|
-
* animation is complete, avoiding confusion for users.
|
|
6563
|
-
*
|
|
6564
|
-
* When the overlay is presented on an Android device, TalkBack's focus rings
|
|
6565
|
-
* may appear in the wrong position due to the transition (specifically
|
|
6566
|
-
* `transform` styles). This occurs because the focus rings are initially
|
|
6567
|
-
* displayed at the starting position of the elements before the transition
|
|
6568
|
-
* begins. This workaround ensures the focus rings do not appear in the
|
|
6569
|
-
* incorrect location.
|
|
6570
|
-
*
|
|
6571
|
-
* If this solution is applied to iOS devices, then it leads to a bug where
|
|
6572
|
-
* the overlays cannot be accessed by screen readers. This is due to
|
|
6573
|
-
* VoiceOver not being able to update the accessibility tree when the
|
|
6574
|
-
* `aria-hidden` is removed.
|
|
6575
|
-
*
|
|
6576
|
-
* @param overlay - The overlay that is being animated.
|
|
6577
|
-
*/
|
|
6578
|
-
const hideAnimatingOverlayFromScreenReaders = (overlay) => {
|
|
6579
|
-
if (doc === undefined)
|
|
6580
|
-
return;
|
|
6581
|
-
if (isPlatform('android')) {
|
|
6582
|
-
/**
|
|
6583
|
-
* Once the animation is complete, this attribute will be removed.
|
|
6584
|
-
* This is done at the end of the `present` method.
|
|
6585
|
-
*/
|
|
6586
|
-
overlay.setAttribute('aria-hidden', 'true');
|
|
6587
|
-
}
|
|
6588
|
-
};
|
|
6589
|
-
/**
|
|
6590
|
-
* Ensure that underlying overlays have aria-hidden if necessary so that screen readers
|
|
6591
|
-
* cannot move focus to these elements. Note that we cannot rely on focus/focusin/focusout
|
|
6592
|
-
* events here because those events do not fire when the screen readers moves to a non-focusable
|
|
6593
|
-
* element such as text.
|
|
6594
|
-
* Without this logic screen readers would be able to move focus outside of the top focus-trapped overlay.
|
|
6595
|
-
*
|
|
6596
|
-
* @param newTopMostOverlay - The overlay that is being presented. Since the overlay has not been
|
|
6597
|
-
* fully presented yet at the time this function is called it will not be included in the getPresentedOverlays result.
|
|
6598
|
-
*/
|
|
6599
|
-
const hideUnderlyingOverlaysFromScreenReaders = (newTopMostOverlay) => {
|
|
6600
|
-
var _a;
|
|
6601
|
-
if (doc === undefined)
|
|
6602
|
-
return;
|
|
6603
|
-
const overlays = getPresentedOverlays(doc);
|
|
6604
|
-
for (let i = overlays.length - 1; i >= 0; i--) {
|
|
6605
|
-
const presentedOverlay = overlays[i];
|
|
6606
|
-
const nextPresentedOverlay = (_a = overlays[i + 1]) !== null && _a !== void 0 ? _a : newTopMostOverlay;
|
|
6607
|
-
/**
|
|
6608
|
-
* If next overlay has aria-hidden then all remaining overlays will have it too.
|
|
6609
|
-
* Or, if the next overlay is a Toast that does not have aria-hidden then current overlay
|
|
6610
|
-
* should not have aria-hidden either so focus can remain in the current overlay.
|
|
6611
|
-
*/
|
|
6612
|
-
if (nextPresentedOverlay.hasAttribute('aria-hidden') || nextPresentedOverlay.tagName !== 'ION-TOAST') {
|
|
6613
|
-
presentedOverlay.setAttribute('aria-hidden', 'true');
|
|
6614
|
-
}
|
|
6615
|
-
}
|
|
6616
|
-
};
|
|
6617
|
-
/**
|
|
6618
|
-
* When dismissing an overlay we need to reveal the new top-most overlay to screen readers.
|
|
6619
|
-
* If the top-most overlay is a Toast we potentially need to reveal more overlays since
|
|
6620
|
-
* focus is never automatically moved to the Toast.
|
|
6621
|
-
*/
|
|
6622
|
-
const revealOverlaysToScreenReaders = () => {
|
|
6623
|
-
if (doc === undefined)
|
|
6624
|
-
return;
|
|
6625
|
-
const overlays = getPresentedOverlays(doc);
|
|
6626
|
-
for (let i = overlays.length - 1; i >= 0; i--) {
|
|
6627
|
-
const currentOverlay = overlays[i];
|
|
6628
|
-
/**
|
|
6629
|
-
* If the current we are looking at is a Toast then we can remove aria-hidden.
|
|
6630
|
-
* However, we potentially need to keep looking at the overlay stack because there
|
|
6631
|
-
* could be more Toasts underneath. Additionally, we need to unhide the closest non-Toast
|
|
6632
|
-
* overlay too so focus can move there since focus is never automatically moved to the Toast.
|
|
6633
|
-
*/
|
|
6634
|
-
currentOverlay.removeAttribute('aria-hidden');
|
|
6635
|
-
/**
|
|
6636
|
-
* If we found a non-Toast element then we can just remove aria-hidden and stop searching entirely
|
|
6637
|
-
* since this overlay should always receive focus. As a result, all underlying overlays should still
|
|
6638
|
-
* be hidden from screen readers.
|
|
6639
|
-
*/
|
|
6640
|
-
if (currentOverlay.tagName !== 'ION-TOAST') {
|
|
6641
|
-
break;
|
|
6642
|
-
}
|
|
6643
|
-
}
|
|
6644
|
-
};
|
|
6645
6551
|
const FOCUS_TRAP_DISABLE_CLASS = 'ion-disable-focus-trap';
|
|
6646
6552
|
|
|
6647
6553
|
const hostContext = (selector, el) => {
|
|
@@ -13531,7 +13437,7 @@ class Datetime {
|
|
|
13531
13437
|
const renderArray = forcePresentation === 'time-date'
|
|
13532
13438
|
? [this.renderTimePickerColumns(forcePresentation), this.renderDatePickerColumns(forcePresentation)]
|
|
13533
13439
|
: [this.renderDatePickerColumns(forcePresentation), this.renderTimePickerColumns(forcePresentation)];
|
|
13534
|
-
return hAsync("ion-picker",
|
|
13440
|
+
return hAsync("ion-picker", { class: FOCUS_TRAP_DISABLE_CLASS }, renderArray);
|
|
13535
13441
|
}
|
|
13536
13442
|
renderDatePickerColumns(forcePresentation) {
|
|
13537
13443
|
return forcePresentation === 'date-time' || forcePresentation === 'time-date'
|
|
@@ -14088,7 +13994,7 @@ class Datetime {
|
|
|
14088
13994
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
14089
13995
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
14090
13996
|
renderHiddenInput(true, el, name, formatValue(value), disabled);
|
|
14091
|
-
return (hAsync(Host, { key: '
|
|
13997
|
+
return (hAsync(Host, { key: '57492534800ea059a7c2bbd9f0059cc0b75ae8d2', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses$1(color, {
|
|
14092
13998
|
[mode]: true,
|
|
14093
13999
|
['datetime-readonly']: readonly,
|
|
14094
14000
|
['datetime-disabled']: disabled,
|
|
@@ -14098,7 +14004,7 @@ class Datetime {
|
|
|
14098
14004
|
[`datetime-size-${size}`]: true,
|
|
14099
14005
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
14100
14006
|
[`datetime-grid`]: isGridStyle,
|
|
14101
|
-
})) }, hAsync("div", { key: '
|
|
14007
|
+
})) }, hAsync("div", { key: '97dac5e5195635ac0bc5fb472b9d09e5c3c6bbc3', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(mode)));
|
|
14102
14008
|
}
|
|
14103
14009
|
get el() { return getElement(this); }
|
|
14104
14010
|
static get watchers() { return {
|
|
@@ -18203,11 +18109,11 @@ class ItemDivider {
|
|
|
18203
18109
|
}
|
|
18204
18110
|
render() {
|
|
18205
18111
|
const mode = getIonMode$1(this);
|
|
18206
|
-
return (hAsync(Host, { key: '
|
|
18112
|
+
return (hAsync(Host, { key: '1523095ce4af3f2611512ff0948ead659959ee4a', class: createColorClasses$1(this.color, {
|
|
18207
18113
|
[mode]: true,
|
|
18208
18114
|
'item-divider-sticky': this.sticky,
|
|
18209
18115
|
item: true,
|
|
18210
|
-
}) }, hAsync("slot", { key: '
|
|
18116
|
+
}) }, 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" }))));
|
|
18211
18117
|
}
|
|
18212
18118
|
get el() { return getElement(this); }
|
|
18213
18119
|
static get style() { return {
|
|
@@ -18237,7 +18143,7 @@ class ItemGroup {
|
|
|
18237
18143
|
}
|
|
18238
18144
|
render() {
|
|
18239
18145
|
const mode = getIonMode$1(this);
|
|
18240
|
-
return (hAsync(Host, { key: '
|
|
18146
|
+
return (hAsync(Host, { key: 'e49dc8f99247d2431d7c6db01b6e021a0f5b1c37', role: "group", class: {
|
|
18241
18147
|
[mode]: true,
|
|
18242
18148
|
// Used internally for styling
|
|
18243
18149
|
[`item-group-${mode}`]: true,
|
|
@@ -18307,12 +18213,12 @@ class ItemOption {
|
|
|
18307
18213
|
href: this.href,
|
|
18308
18214
|
target: this.target,
|
|
18309
18215
|
};
|
|
18310
|
-
return (hAsync(Host, { key: '
|
|
18216
|
+
return (hAsync(Host, { key: '189a0040b97163b2336bf216baa71d584c5923a8', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
18311
18217
|
[mode]: true,
|
|
18312
18218
|
'item-option-disabled': disabled,
|
|
18313
18219
|
'item-option-expandable': expandable,
|
|
18314
18220
|
'ion-activatable': true,
|
|
18315
|
-
}) }, hAsync(TagType, Object.assign({ key: '
|
|
18221
|
+
}) }, 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' }))));
|
|
18316
18222
|
}
|
|
18317
18223
|
get el() { return getElement(this); }
|
|
18318
18224
|
static get style() { return {
|
|
@@ -18361,7 +18267,7 @@ class ItemOptions {
|
|
|
18361
18267
|
render() {
|
|
18362
18268
|
const mode = getIonMode$1(this);
|
|
18363
18269
|
const isEnd = isEndSide(this.side);
|
|
18364
|
-
return (hAsync(Host, { key: '
|
|
18270
|
+
return (hAsync(Host, { key: '05a22a505e043c2715e3805e5e26ab4668940af0', class: {
|
|
18365
18271
|
[mode]: true,
|
|
18366
18272
|
// Used internally for styling
|
|
18367
18273
|
[`item-options-${mode}`]: true,
|
|
@@ -18826,7 +18732,7 @@ class ItemSliding {
|
|
|
18826
18732
|
}
|
|
18827
18733
|
render() {
|
|
18828
18734
|
const mode = getIonMode$1(this);
|
|
18829
|
-
return (hAsync(Host, { key: '
|
|
18735
|
+
return (hAsync(Host, { key: 'd812322c9fb5da4ee16e99dc38bfb24cb4590d03', class: {
|
|
18830
18736
|
[mode]: true,
|
|
18831
18737
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
18832
18738
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -18931,13 +18837,13 @@ class Label {
|
|
|
18931
18837
|
render() {
|
|
18932
18838
|
const position = this.position;
|
|
18933
18839
|
const mode = getIonMode$1(this);
|
|
18934
|
-
return (hAsync(Host, { key: '
|
|
18840
|
+
return (hAsync(Host, { key: 'd6fba1a97189acc8ddfd64a2f009954a3e46e188', class: createColorClasses$1(this.color, {
|
|
18935
18841
|
[mode]: true,
|
|
18936
18842
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
18937
18843
|
[`label-${position}`]: position !== undefined,
|
|
18938
18844
|
[`label-no-animate`]: this.noAnimate,
|
|
18939
18845
|
'label-rtl': document.dir === 'rtl',
|
|
18940
|
-
}) }, hAsync("slot", { key: '
|
|
18846
|
+
}) }, hAsync("slot", { key: 'ce0ab50b5700398fdf50f36d02b7ad287eb71481' })));
|
|
18941
18847
|
}
|
|
18942
18848
|
get el() { return getElement(this); }
|
|
18943
18849
|
static get watchers() { return {
|
|
@@ -19035,10 +18941,10 @@ class ListHeader {
|
|
|
19035
18941
|
render() {
|
|
19036
18942
|
const { lines } = this;
|
|
19037
18943
|
const mode = getIonMode$1(this);
|
|
19038
|
-
return (hAsync(Host, { key: '
|
|
18944
|
+
return (hAsync(Host, { key: 'd9bc827ad8cc77231efddc2435831a7fc080f77d', class: createColorClasses$1(this.color, {
|
|
19039
18945
|
[mode]: true,
|
|
19040
18946
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
19041
|
-
}) }, hAsync("div", { key: '
|
|
18947
|
+
}) }, hAsync("div", { key: '02dd9698304a7b2997ea1487e2f308bebea2b44c', class: "list-header-inner" }, hAsync("slot", { key: '01d63a572c003286ae467a1ab23631e37e695042' }))));
|
|
19042
18948
|
}
|
|
19043
18949
|
static get style() { return {
|
|
19044
18950
|
ios: listHeaderIosCss,
|
|
@@ -19323,9 +19229,9 @@ class Loading {
|
|
|
19323
19229
|
* Otherwise, don't set aria-labelledby.
|
|
19324
19230
|
*/
|
|
19325
19231
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
19326
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
19232
|
+
return (hAsync(Host, Object.assign({ key: '4497183ce220242abe19ae15f328f9a92ccafbbc', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
19327
19233
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
19328
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: '
|
|
19234
|
+
}, 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" })));
|
|
19329
19235
|
}
|
|
19330
19236
|
get el() { return getElement(this); }
|
|
19331
19237
|
static get watchers() { return {
|
|
@@ -20371,14 +20277,14 @@ class Menu {
|
|
|
20371
20277
|
* the ionBackButton listener in the menu controller
|
|
20372
20278
|
* will handle closing the menu when Escape is pressed.
|
|
20373
20279
|
*/
|
|
20374
|
-
return (hAsync(Host, { key: '
|
|
20280
|
+
return (hAsync(Host, { key: 'a5c75aa40a34530b56ee3b98d706a5ac5ae300de', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
20375
20281
|
[mode]: true,
|
|
20376
20282
|
[`menu-type-${type}`]: true,
|
|
20377
20283
|
'menu-enabled': !disabled,
|
|
20378
20284
|
[`menu-side-${side}`]: true,
|
|
20379
20285
|
'menu-pane-visible': isPaneVisible,
|
|
20380
20286
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
20381
|
-
} }, hAsync("div", { key: '
|
|
20287
|
+
} }, 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" })));
|
|
20382
20288
|
}
|
|
20383
20289
|
get el() { return getElement(this); }
|
|
20384
20290
|
static get watchers() { return {
|
|
@@ -20486,7 +20392,7 @@ class MenuButton {
|
|
|
20486
20392
|
type: this.type,
|
|
20487
20393
|
};
|
|
20488
20394
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
20489
|
-
return (hAsync(Host, { key: '
|
|
20395
|
+
return (hAsync(Host, { key: '9f0f0e50d39a6872508220c58e64bb2092a0d7ef', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses$1(color, {
|
|
20490
20396
|
[mode]: true,
|
|
20491
20397
|
button: true, // ion-buttons target .button
|
|
20492
20398
|
'menu-button-hidden': hidden,
|
|
@@ -20495,7 +20401,7 @@ class MenuButton {
|
|
|
20495
20401
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
20496
20402
|
'ion-activatable': true,
|
|
20497
20403
|
'ion-focusable': true,
|
|
20498
|
-
}) }, hAsync("button", Object.assign({ key: '
|
|
20404
|
+
}) }, 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" }))));
|
|
20499
20405
|
}
|
|
20500
20406
|
get el() { return getElement(this); }
|
|
20501
20407
|
static get style() { return {
|
|
@@ -20548,10 +20454,10 @@ class MenuToggle {
|
|
|
20548
20454
|
render() {
|
|
20549
20455
|
const mode = getIonMode$1(this);
|
|
20550
20456
|
const hidden = this.autoHide && !this.visible;
|
|
20551
|
-
return (hAsync(Host, { key: '
|
|
20457
|
+
return (hAsync(Host, { key: 'cd567114769a30bd3871ed5d15bf42aed39956e1', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
20552
20458
|
[mode]: true,
|
|
20553
20459
|
'menu-toggle-hidden': hidden,
|
|
20554
|
-
} }, hAsync("slot", { key: '
|
|
20460
|
+
} }, hAsync("slot", { key: '773d4cff95ca75f23578b1e1dca53c9933f28a33' })));
|
|
20555
20461
|
}
|
|
20556
20462
|
static get style() { return menuToggleCss; }
|
|
20557
20463
|
static get cmpMeta() { return {
|
|
@@ -23216,20 +23122,20 @@ class Modal {
|
|
|
23216
23122
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
23217
23123
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
23218
23124
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
23219
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
23125
|
+
return (hAsync(Host, Object.assign({ key: '9e9a7bd591eb17a225a00b4fa2e379e94601d17f', "no-router": true,
|
|
23220
23126
|
// Allow the modal to be navigable when the handle is focusable
|
|
23221
23127
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
23222
23128
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
23223
|
-
}, 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: '
|
|
23129
|
+
}, 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',
|
|
23224
23130
|
/*
|
|
23225
23131
|
role and aria-modal must be used on the
|
|
23226
23132
|
same element. They must also be set inside the
|
|
23227
23133
|
shadow DOM otherwise ion-button will not be highlighted
|
|
23228
23134
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
23229
23135
|
*/
|
|
23230
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: '
|
|
23136
|
+
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",
|
|
23231
23137
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
23232
|
-
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: '
|
|
23138
|
+
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 }))));
|
|
23233
23139
|
}
|
|
23234
23140
|
get el() { return getElement(this); }
|
|
23235
23141
|
static get watchers() { return {
|
|
@@ -24176,7 +24082,7 @@ class Nav {
|
|
|
24176
24082
|
}
|
|
24177
24083
|
}
|
|
24178
24084
|
render() {
|
|
24179
|
-
return hAsync("slot", { key: '
|
|
24085
|
+
return hAsync("slot", { key: '8067c9835d255daec61f33dba200fd3a6ff839a0' });
|
|
24180
24086
|
}
|
|
24181
24087
|
get el() { return getElement(this); }
|
|
24182
24088
|
static get watchers() { return {
|
|
@@ -24249,7 +24155,7 @@ class NavLink {
|
|
|
24249
24155
|
};
|
|
24250
24156
|
}
|
|
24251
24157
|
render() {
|
|
24252
|
-
return hAsync(Host, { key: '
|
|
24158
|
+
return hAsync(Host, { key: '6dbb1ad4f351e9215375aac11ab9b53762e07a08', onClick: this.onClick });
|
|
24253
24159
|
}
|
|
24254
24160
|
get el() { return getElement(this); }
|
|
24255
24161
|
static get cmpMeta() { return {
|
|
@@ -24280,9 +24186,9 @@ class Note {
|
|
|
24280
24186
|
}
|
|
24281
24187
|
render() {
|
|
24282
24188
|
const mode = getIonMode$1(this);
|
|
24283
|
-
return (hAsync(Host, { key: '
|
|
24189
|
+
return (hAsync(Host, { key: '0ec2ef7367d867fd7588611953f696eecdf3221e', class: createColorClasses$1(this.color, {
|
|
24284
24190
|
[mode]: true,
|
|
24285
|
-
}) }, hAsync("slot", { key: '
|
|
24191
|
+
}) }, hAsync("slot", { key: 'a200b94ddffb29cf6dabe6e984220930ea7efdef' })));
|
|
24286
24192
|
}
|
|
24287
24193
|
static get style() { return {
|
|
24288
24194
|
ios: noteIosCss,
|
|
@@ -25042,11 +24948,11 @@ class Picker {
|
|
|
25042
24948
|
render() {
|
|
25043
24949
|
const { htmlAttributes } = this;
|
|
25044
24950
|
const mode = getIonMode$1(this);
|
|
25045
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
24951
|
+
return (hAsync(Host, Object.assign({ key: 'b95440747eb80cba23ae676d399d5e5816722c58', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
25046
24952
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
25047
24953
|
}, class: Object.assign({ [mode]: true,
|
|
25048
24954
|
// Used internally for styling
|
|
25049
|
-
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: '
|
|
24955
|
+
[`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" })));
|
|
25050
24956
|
}
|
|
25051
24957
|
get el() { return getElement(this); }
|
|
25052
24958
|
static get watchers() { return {
|
|
@@ -25504,23 +25410,6 @@ class PickerColumn {
|
|
|
25504
25410
|
var _a;
|
|
25505
25411
|
return el ? (_a = el.getAttribute('aria-label')) !== null && _a !== void 0 ? _a : el.innerText : '';
|
|
25506
25412
|
};
|
|
25507
|
-
/**
|
|
25508
|
-
* Render an element that overlays the column. This element is for assistive
|
|
25509
|
-
* tech to allow users to navigate the column up/down. This element should receive
|
|
25510
|
-
* focus as it listens for synthesized keyboard events as required by the
|
|
25511
|
-
* slider role: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/slider_role
|
|
25512
|
-
*/
|
|
25513
|
-
this.renderAssistiveFocusable = () => {
|
|
25514
|
-
const { activeItem } = this;
|
|
25515
|
-
const valueText = this.getOptionValueText(activeItem);
|
|
25516
|
-
/**
|
|
25517
|
-
* When using the picker, the valuetext provides important context that valuenow
|
|
25518
|
-
* does not. Additionally, using non-zero valuemin/valuemax values can cause
|
|
25519
|
-
* WebKit to incorrectly announce numeric valuetext values (such as a year
|
|
25520
|
-
* like "2024") as percentages: https://bugs.webkit.org/show_bug.cgi?id=273126
|
|
25521
|
-
*/
|
|
25522
|
-
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) }));
|
|
25523
|
-
};
|
|
25524
25413
|
}
|
|
25525
25414
|
ariaLabelChanged(newValue) {
|
|
25526
25415
|
this.ariaLabel = newValue;
|
|
@@ -25661,33 +25550,14 @@ class PickerColumn {
|
|
|
25661
25550
|
render() {
|
|
25662
25551
|
const { color, disabled, isActive, numericInput } = this;
|
|
25663
25552
|
const mode = getIonMode$1(this);
|
|
25664
|
-
return (hAsync(Host, { key: '
|
|
25553
|
+
return (hAsync(Host, { key: 'db903fd415f8a2d91994dececca481c1af8ba6a9', class: createColorClasses$1(color, {
|
|
25665
25554
|
[mode]: true,
|
|
25666
25555
|
['picker-column-active']: isActive,
|
|
25667
25556
|
['picker-column-numeric-input']: numericInput,
|
|
25668
25557
|
['picker-column-disabled']: disabled,
|
|
25669
|
-
}) },
|
|
25558
|
+
}) }, hAsync("slot", { key: '02ce9e1dd7df91afcd50b06416552bcffb5dec98', name: "prefix" }), hAsync("div", { key: '6dfd7d2429bec19244a6b1afb4448121963a031b', class: "picker-opts", ref: (el) => {
|
|
25670
25559
|
this.scrollEl = el;
|
|
25671
|
-
},
|
|
25672
|
-
/**
|
|
25673
|
-
* When an element has an overlay scroll style and
|
|
25674
|
-
* a fixed height, Firefox will focus the scrollable
|
|
25675
|
-
* container if the content exceeds the container's
|
|
25676
|
-
* dimensions.
|
|
25677
|
-
*
|
|
25678
|
-
* This causes keyboard navigation to focus to this
|
|
25679
|
-
* element instead of going to the next element in
|
|
25680
|
-
* the tab order.
|
|
25681
|
-
*
|
|
25682
|
-
* The desired behavior is for the user to be able to
|
|
25683
|
-
* focus the assistive focusable element and tab to
|
|
25684
|
-
* the next element in the tab order. Instead of tabbing
|
|
25685
|
-
* to this element.
|
|
25686
|
-
*
|
|
25687
|
-
* To prevent this, we set the tabIndex to -1. This
|
|
25688
|
-
* will match the behavior of the other browsers.
|
|
25689
|
-
*/
|
|
25690
|
-
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" })));
|
|
25560
|
+
}, 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" })));
|
|
25691
25561
|
}
|
|
25692
25562
|
get el() { return getElement(this); }
|
|
25693
25563
|
static get watchers() { return {
|
|
@@ -26051,9 +25921,9 @@ class PickerColumnCmp {
|
|
|
26051
25921
|
render() {
|
|
26052
25922
|
const col = this.col;
|
|
26053
25923
|
const mode = getIonMode$1(this);
|
|
26054
|
-
return (hAsync(Host, { key: '
|
|
25924
|
+
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: {
|
|
26055
25925
|
'max-width': this.col.columnWidth,
|
|
26056
|
-
} }, col.prefix && (hAsync("div", { key: '
|
|
25926
|
+
} }, 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))));
|
|
26057
25927
|
}
|
|
26058
25928
|
get el() { return getElement(this); }
|
|
26059
25929
|
static get watchers() { return {
|
|
@@ -26079,9 +25949,9 @@ const DECELERATION_FRICTION = 0.97;
|
|
|
26079
25949
|
const MAX_PICKER_SPEED = 90;
|
|
26080
25950
|
const TRANSITION_DURATION = 150;
|
|
26081
25951
|
|
|
26082
|
-
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}";
|
|
25952
|
+
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}";
|
|
26083
25953
|
|
|
26084
|
-
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)}";
|
|
25954
|
+
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)}";
|
|
26085
25955
|
|
|
26086
25956
|
class PickerColumnOption {
|
|
26087
25957
|
constructor(hostRef) {
|
|
@@ -26170,10 +26040,10 @@ class PickerColumnOption {
|
|
|
26170
26040
|
render() {
|
|
26171
26041
|
const { color, disabled, ariaLabel } = this;
|
|
26172
26042
|
const mode = getIonMode$1(this);
|
|
26173
|
-
return (hAsync(Host, { key: '
|
|
26043
|
+
return (hAsync(Host, { key: 'f816729941aabcb31ddfdce3ffe2e2139030d715', class: createColorClasses$1(color, {
|
|
26174
26044
|
[mode]: true,
|
|
26175
26045
|
['option-disabled']: disabled,
|
|
26176
|
-
}) }, hAsync("
|
|
26046
|
+
}) }, hAsync("div", { key: 'd942de84fd14d7dc06b1e5cf4f7920d1dc3c6371', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, hAsync("slot", { key: 'b0df5717b42209e649097209a01476e1a66f5c5c' }))));
|
|
26177
26047
|
}
|
|
26178
26048
|
get el() { return getElement(this); }
|
|
26179
26049
|
static get watchers() { return {
|
|
@@ -27580,9 +27450,9 @@ class Popover {
|
|
|
27580
27450
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
27581
27451
|
const desktop = isPlatform('desktop');
|
|
27582
27452
|
const enableArrow = arrow && !parentPopover;
|
|
27583
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
27453
|
+
return (hAsync(Host, Object.assign({ key: '16866c02534968c982cf4730d2936d03a5107c8b', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
27584
27454
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
27585
|
-
}, 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: '
|
|
27455
|
+
}, 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' })))));
|
|
27586
27456
|
}
|
|
27587
27457
|
get el() { return getElement(this); }
|
|
27588
27458
|
static get watchers() { return {
|
|
@@ -27687,7 +27557,7 @@ class ProgressBar {
|
|
|
27687
27557
|
const mode = getIonMode$1(this);
|
|
27688
27558
|
// If the progress is displayed as a solid bar.
|
|
27689
27559
|
const progressSolid = buffer === 1;
|
|
27690
|
-
return (hAsync(Host, { key: '
|
|
27560
|
+
return (hAsync(Host, { key: 'dc69693b5d2dcb2b6e4296d7cb85bc27507f3fa6', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses$1(color, {
|
|
27691
27561
|
[mode]: true,
|
|
27692
27562
|
[`progress-bar-${type}`]: true,
|
|
27693
27563
|
'progress-paused': paused,
|
|
@@ -27872,7 +27742,7 @@ class Radio {
|
|
|
27872
27742
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
27873
27743
|
const mode = getIonMode$1(this);
|
|
27874
27744
|
const inItem = hostContext('ion-item', el);
|
|
27875
|
-
return (hAsync(Host, { key: '
|
|
27745
|
+
return (hAsync(Host, { key: '3353b28172b7f837d4b38964169b5b5f4ba02788', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses$1(color, {
|
|
27876
27746
|
[mode]: true,
|
|
27877
27747
|
'in-item': inItem,
|
|
27878
27748
|
'radio-checked': checked,
|
|
@@ -27883,10 +27753,10 @@ class Radio {
|
|
|
27883
27753
|
// Focus and active styling should not apply when the radio is in an item
|
|
27884
27754
|
'ion-activatable': !inItem,
|
|
27885
27755
|
'ion-focusable': !inItem,
|
|
27886
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, hAsync("label", { key: '
|
|
27756
|
+
}), 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: {
|
|
27887
27757
|
'label-text-wrapper': true,
|
|
27888
27758
|
'label-text-wrapper-hidden': !hasLabel,
|
|
27889
|
-
}, part: "label" }, hAsync("slot", { key: '
|
|
27759
|
+
}, part: "label" }, hAsync("slot", { key: '10b157162cd283d624153c747679609cf0bbf11e' })), hAsync("div", { key: '4c45cca95cb105cd6df1025a26e3c045272184a0', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
27890
27760
|
}
|
|
27891
27761
|
get el() { return getElement(this); }
|
|
27892
27762
|
static get watchers() { return {
|
|
@@ -28109,7 +27979,7 @@ class RadioGroup {
|
|
|
28109
27979
|
const { label, labelId, el, name, value } = this;
|
|
28110
27980
|
const mode = getIonMode$1(this);
|
|
28111
27981
|
renderHiddenInput(true, el, name, value, false);
|
|
28112
|
-
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: '
|
|
27982
|
+
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' }))));
|
|
28113
27983
|
}
|
|
28114
27984
|
get el() { return getElement(this); }
|
|
28115
27985
|
static get watchers() { return {
|
|
@@ -28867,7 +28737,7 @@ class Range {
|
|
|
28867
28737
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
28868
28738
|
const mode = getIonMode$1(this);
|
|
28869
28739
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
28870
|
-
return (hAsync(Host, { key: '
|
|
28740
|
+
return (hAsync(Host, { key: 'ef7b01f80515bcaeb2983934ad7f10a6bd5d13ec', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses$1(this.color, {
|
|
28871
28741
|
[mode]: true,
|
|
28872
28742
|
'in-item': inItem,
|
|
28873
28743
|
'range-disabled': disabled,
|
|
@@ -28876,10 +28746,10 @@ class Range {
|
|
|
28876
28746
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
28877
28747
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
28878
28748
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
28879
|
-
}) }, hAsync("label", { key: '
|
|
28749
|
+
}) }, hAsync("label", { key: 'fd8aa90a9d52be9da024b907e68858dae424449d', class: "range-wrapper", id: "range-label" }, hAsync("div", { key: '2172b4f329c22017dd23475c80aac25ba6e753eb', class: {
|
|
28880
28750
|
'label-text-wrapper': true,
|
|
28881
28751
|
'label-text-wrapper-hidden': !hasLabel,
|
|
28882
|
-
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '
|
|
28752
|
+
}, 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" })))));
|
|
28883
28753
|
}
|
|
28884
28754
|
get el() { return getElement(this); }
|
|
28885
28755
|
static get watchers() { return {
|
|
@@ -29332,14 +29202,6 @@ class Refresher {
|
|
|
29332
29202
|
this.beginRefresh();
|
|
29333
29203
|
this.didRefresh = true;
|
|
29334
29204
|
hapticImpact({ style: ImpactStyle.Light });
|
|
29335
|
-
/**
|
|
29336
|
-
* Clear focus from any active element to prevent scroll jumps
|
|
29337
|
-
* when the refresh completes
|
|
29338
|
-
*/
|
|
29339
|
-
const activeElement = document.activeElement;
|
|
29340
|
-
if ((activeElement === null || activeElement === void 0 ? void 0 : activeElement.blur) !== undefined) {
|
|
29341
|
-
activeElement.blur();
|
|
29342
|
-
}
|
|
29343
29205
|
/**
|
|
29344
29206
|
* Translate the content element otherwise when pointer is removed
|
|
29345
29207
|
* from screen the scroll content will bounce back over the refresher
|
|
@@ -29755,15 +29617,6 @@ class Refresher {
|
|
|
29755
29617
|
this.state = 8 /* RefresherState.Refreshing */;
|
|
29756
29618
|
// place the content in a hangout position while it thinks
|
|
29757
29619
|
this.setCss(this.pullMin, this.snapbackDuration, true, '');
|
|
29758
|
-
/**
|
|
29759
|
-
* Clear focus from any active element to prevent the browser
|
|
29760
|
-
* from restoring focus and causing scroll jumps after refresh.
|
|
29761
|
-
* This ensures the view stays at the top after refresh completes.
|
|
29762
|
-
*/
|
|
29763
|
-
const activeElement = document.activeElement;
|
|
29764
|
-
if ((activeElement === null || activeElement === void 0 ? void 0 : activeElement.blur) !== undefined) {
|
|
29765
|
-
activeElement.blur();
|
|
29766
|
-
}
|
|
29767
29620
|
// emit "refresh" because it was pulled down far enough
|
|
29768
29621
|
// and they let go to begin refreshing
|
|
29769
29622
|
this.ionRefresh.emit({
|
|
@@ -29846,7 +29699,7 @@ class Refresher {
|
|
|
29846
29699
|
}
|
|
29847
29700
|
render() {
|
|
29848
29701
|
const mode = getIonMode$1(this);
|
|
29849
|
-
return (hAsync(Host, { key: '
|
|
29702
|
+
return (hAsync(Host, { key: '8c7a5cc32da02a9cbeaa954258148683f60a6d1b', slot: "fixed", class: {
|
|
29850
29703
|
[mode]: true,
|
|
29851
29704
|
// Used internally for styling
|
|
29852
29705
|
[`refresher-${mode}`]: true,
|
|
@@ -30070,7 +29923,7 @@ class RefresherContent {
|
|
|
30070
29923
|
const pullingIcon = this.pullingIcon;
|
|
30071
29924
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
30072
29925
|
const mode = getIonMode$1(this);
|
|
30073
|
-
return (hAsync(Host, { key: '
|
|
29926
|
+
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())));
|
|
30074
29927
|
}
|
|
30075
29928
|
get el() { return getElement(this); }
|
|
30076
29929
|
static get cmpMeta() { return {
|
|
@@ -30111,7 +29964,7 @@ class Reorder {
|
|
|
30111
29964
|
render() {
|
|
30112
29965
|
const mode = getIonMode$1(this);
|
|
30113
29966
|
const reorderIcon = mode === 'ios' ? reorderThreeOutline : reorderTwoSharp;
|
|
30114
|
-
return (hAsync(Host, { key: '
|
|
29967
|
+
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" }))));
|
|
30115
29968
|
}
|
|
30116
29969
|
get el() { return getElement(this); }
|
|
30117
29970
|
static get style() { return {
|
|
@@ -30382,7 +30235,7 @@ class ReorderGroup {
|
|
|
30382
30235
|
}
|
|
30383
30236
|
render() {
|
|
30384
30237
|
const mode = getIonMode$1(this);
|
|
30385
|
-
return (hAsync(Host, { key: '
|
|
30238
|
+
return (hAsync(Host, { key: 'b9641f3061d67fbfe68317b901ec33267046e073', class: {
|
|
30386
30239
|
[mode]: true,
|
|
30387
30240
|
'reorder-enabled': !this.disabled,
|
|
30388
30241
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -30498,7 +30351,7 @@ class RippleEffect {
|
|
|
30498
30351
|
}
|
|
30499
30352
|
render() {
|
|
30500
30353
|
const mode = getIonMode$1(this);
|
|
30501
|
-
return (hAsync(Host, { key: '
|
|
30354
|
+
return (hAsync(Host, { key: 'ae9d3b1ed6773a9b9bb2267129f7e9af23b6c9fc', role: "presentation", class: {
|
|
30502
30355
|
[mode]: true,
|
|
30503
30356
|
unbounded: this.unbounded,
|
|
30504
30357
|
} }));
|
|
@@ -31457,10 +31310,10 @@ class RouterLink {
|
|
|
31457
31310
|
rel: this.rel,
|
|
31458
31311
|
target: this.target,
|
|
31459
31312
|
};
|
|
31460
|
-
return (hAsync(Host, { key: '
|
|
31313
|
+
return (hAsync(Host, { key: 'd7f2affcde45c5fbb6cb46cd1c30008ee92a68c5', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
31461
31314
|
[mode]: true,
|
|
31462
31315
|
'ion-activatable': true,
|
|
31463
|
-
}) }, hAsync("a", Object.assign({ key: '
|
|
31316
|
+
}) }, hAsync("a", Object.assign({ key: 'babafae85ca5c6429958d383feff0493ff8cf33e' }, attrs), hAsync("slot", { key: '50314e9555bbf6dffa0c50c3f763009dee59b10b' }))));
|
|
31464
31317
|
}
|
|
31465
31318
|
static get style() { return routerLinkCss; }
|
|
31466
31319
|
static get cmpMeta() { return {
|
|
@@ -31657,7 +31510,7 @@ class RouterOutlet {
|
|
|
31657
31510
|
return true;
|
|
31658
31511
|
}
|
|
31659
31512
|
render() {
|
|
31660
|
-
return hAsync("slot", { key: '
|
|
31513
|
+
return hAsync("slot", { key: '84b50f1155b0d780dff802ee13223287259fd525' });
|
|
31661
31514
|
}
|
|
31662
31515
|
get el() { return getElement(this); }
|
|
31663
31516
|
static get watchers() { return {
|
|
@@ -31690,7 +31543,7 @@ class Row {
|
|
|
31690
31543
|
registerInstance(this, hostRef);
|
|
31691
31544
|
}
|
|
31692
31545
|
render() {
|
|
31693
|
-
return (hAsync(Host, { key: '
|
|
31546
|
+
return (hAsync(Host, { key: '65592a79621bd8f75f9566db3e8c05a4b8fc6048', class: getIonMode$1(this) }, hAsync("slot", { key: '56f09784db7a0299c9ce76dfcede185b295251ff' })));
|
|
31694
31547
|
}
|
|
31695
31548
|
static get style() { return rowCss; }
|
|
31696
31549
|
static get cmpMeta() { return {
|
|
@@ -32131,8 +31984,8 @@ class Searchbar {
|
|
|
32131
31984
|
const clearIcon = this.clearIcon || (mode === 'ios' ? closeCircle : closeSharp);
|
|
32132
31985
|
const searchIcon = this.searchIcon || (mode === 'ios' ? searchOutline : searchSharp);
|
|
32133
31986
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
32134
|
-
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '
|
|
32135
|
-
return (hAsync(Host, { key: '
|
|
31987
|
+
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))));
|
|
31988
|
+
return (hAsync(Host, { key: '074aa60e051bfb3225e87d44bbb6346c59c73574', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses$1(this.color, {
|
|
32136
31989
|
[mode]: true,
|
|
32137
31990
|
'searchbar-animated': animated,
|
|
32138
31991
|
'searchbar-disabled': this.disabled,
|
|
@@ -32142,14 +31995,14 @@ class Searchbar {
|
|
|
32142
31995
|
'searchbar-has-focus': this.focused,
|
|
32143
31996
|
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
32144
31997
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
32145
|
-
}) }, hAsync("div", { key: '
|
|
31998
|
+
}) }, 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) => {
|
|
32146
31999
|
/**
|
|
32147
32000
|
* This prevents mobile browsers from
|
|
32148
32001
|
* blurring the input when the clear
|
|
32149
32002
|
* button is activated.
|
|
32150
32003
|
*/
|
|
32151
32004
|
ev.preventDefault();
|
|
32152
|
-
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: '
|
|
32005
|
+
}, 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));
|
|
32153
32006
|
}
|
|
32154
32007
|
get el() { return getElement(this); }
|
|
32155
32008
|
static get watchers() { return {
|
|
@@ -32744,14 +32597,14 @@ class Segment {
|
|
|
32744
32597
|
}
|
|
32745
32598
|
render() {
|
|
32746
32599
|
const mode = getIonMode$1(this);
|
|
32747
|
-
return (hAsync(Host, { key: '
|
|
32600
|
+
return (hAsync(Host, { key: 'e67ed512739cf2cfe657b0c44ebc3dfb1e9fbb79', role: "tablist", onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
32748
32601
|
[mode]: true,
|
|
32749
32602
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
32750
32603
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
32751
32604
|
'segment-activated': this.activated,
|
|
32752
32605
|
'segment-disabled': this.disabled,
|
|
32753
32606
|
'segment-scrollable': this.scrollable,
|
|
32754
|
-
}) }, hAsync("slot", { key: '
|
|
32607
|
+
}) }, hAsync("slot", { key: '804d8acfcb9abfeeee38244b015fbc5c36330b9e', onSlotchange: this.onSlottedItemsChange })));
|
|
32755
32608
|
}
|
|
32756
32609
|
get el() { return getElement(this); }
|
|
32757
32610
|
static get watchers() { return {
|
|
@@ -32891,7 +32744,7 @@ class SegmentButton {
|
|
|
32891
32744
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
32892
32745
|
const mode = getIonMode$1(this);
|
|
32893
32746
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
32894
|
-
return (hAsync(Host, { key: '
|
|
32747
|
+
return (hAsync(Host, { key: '26cb7ee90455bcaa6416125802d7e5729fa05b5b', class: {
|
|
32895
32748
|
[mode]: true,
|
|
32896
32749
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
32897
32750
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -32907,7 +32760,7 @@ class SegmentButton {
|
|
|
32907
32760
|
'ion-activatable': true,
|
|
32908
32761
|
'ion-activatable-instant': true,
|
|
32909
32762
|
'ion-focusable': true,
|
|
32910
|
-
} }, hAsync("button", Object.assign({ key: '
|
|
32763
|
+
} }, 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" }))));
|
|
32911
32764
|
}
|
|
32912
32765
|
get el() { return getElement(this); }
|
|
32913
32766
|
static get watchers() { return {
|
|
@@ -32942,7 +32795,7 @@ class SegmentContent {
|
|
|
32942
32795
|
registerInstance(this, hostRef);
|
|
32943
32796
|
}
|
|
32944
32797
|
render() {
|
|
32945
|
-
return (hAsync(Host, { key: '
|
|
32798
|
+
return (hAsync(Host, { key: 'db6876f2aee7afa1ea8bc147337670faa68fae1c' }, hAsync("slot", { key: 'bc05714a973a5655668679033f5809a1da6db8cc' })));
|
|
32946
32799
|
}
|
|
32947
32800
|
static get style() { return segmentContentCss; }
|
|
32948
32801
|
static get cmpMeta() { return {
|
|
@@ -33055,10 +32908,10 @@ class SegmentView {
|
|
|
33055
32908
|
}
|
|
33056
32909
|
render() {
|
|
33057
32910
|
const { disabled, isManualScroll } = this;
|
|
33058
|
-
return (hAsync(Host, { key: '
|
|
32911
|
+
return (hAsync(Host, { key: '754a374e89fd4dd682eb00497e717242a6f83357', class: {
|
|
33059
32912
|
'segment-view-disabled': disabled,
|
|
33060
32913
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
33061
|
-
} }, hAsync("slot", { key: '
|
|
32914
|
+
} }, hAsync("slot", { key: '77366044eb61f0d4bba305bd6f0ef8fd1e25194b' })));
|
|
33062
32915
|
}
|
|
33063
32916
|
get el() { return getElement(this); }
|
|
33064
32917
|
static get style() { return {
|
|
@@ -33808,7 +33661,7 @@ class Select {
|
|
|
33808
33661
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
33809
33662
|
*/
|
|
33810
33663
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
33811
|
-
return (hAsync(Host, { key: '
|
|
33664
|
+
return (hAsync(Host, { key: 'c03fb65e8fc9f9aab295e07b282377d57d910519', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
33812
33665
|
[mode]: true,
|
|
33813
33666
|
'in-item': inItem,
|
|
33814
33667
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -33826,7 +33679,7 @@ class Select {
|
|
|
33826
33679
|
[`select-justify-${justify}`]: justifyEnabled,
|
|
33827
33680
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
33828
33681
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
33829
|
-
}) }, hAsync("label", { key: '
|
|
33682
|
+
}) }, 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()));
|
|
33830
33683
|
}
|
|
33831
33684
|
get el() { return getElement(this); }
|
|
33832
33685
|
static get watchers() { return {
|
|
@@ -33985,7 +33838,7 @@ class SelectModal {
|
|
|
33985
33838
|
} }, option.text))));
|
|
33986
33839
|
}
|
|
33987
33840
|
render() {
|
|
33988
|
-
return (hAsync(Host, { key: '
|
|
33841
|
+
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()))));
|
|
33989
33842
|
}
|
|
33990
33843
|
get el() { return getElement(this); }
|
|
33991
33844
|
static get style() { return {
|
|
@@ -34019,7 +33872,7 @@ class SelectOption {
|
|
|
34019
33872
|
this.disabled = false;
|
|
34020
33873
|
}
|
|
34021
33874
|
render() {
|
|
34022
|
-
return hAsync(Host, { key: '
|
|
33875
|
+
return hAsync(Host, { key: '3a70eea9fa03a9acba582180761d18347c72acee', role: "option", id: this.inputId, class: getIonMode$1(this) });
|
|
34023
33876
|
}
|
|
34024
33877
|
get el() { return getElement(this); }
|
|
34025
33878
|
static get style() { return selectOptionCss; }
|
|
@@ -34136,7 +33989,7 @@ class SelectPopover {
|
|
|
34136
33989
|
render() {
|
|
34137
33990
|
const { header, message, options, subHeader } = this;
|
|
34138
33991
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
34139
|
-
return (hAsync(Host, { key: '
|
|
33992
|
+
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))));
|
|
34140
33993
|
}
|
|
34141
33994
|
get el() { return getElement(this); }
|
|
34142
33995
|
static get style() { return {
|
|
@@ -34186,11 +34039,11 @@ class SkeletonText {
|
|
|
34186
34039
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
34187
34040
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
34188
34041
|
const mode = getIonMode$1(this);
|
|
34189
|
-
return (hAsync(Host, { key: '
|
|
34042
|
+
return (hAsync(Host, { key: 'd86ef7392507cdbf48dfd3a71f02d7a83eda4aae', class: {
|
|
34190
34043
|
[mode]: true,
|
|
34191
34044
|
'skeleton-text-animated': animated,
|
|
34192
34045
|
'in-media': inMedia,
|
|
34193
|
-
} }, hAsync("span", { key: '
|
|
34046
|
+
} }, hAsync("span", { key: '8e8b5a232a6396d2bba691b05f9de4da44b2965c' }, "\u00A0")));
|
|
34194
34047
|
}
|
|
34195
34048
|
get el() { return getElement(this); }
|
|
34196
34049
|
static get style() { return skeletonTextCss; }
|
|
@@ -34242,7 +34095,7 @@ class Spinner {
|
|
|
34242
34095
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
34243
34096
|
}
|
|
34244
34097
|
}
|
|
34245
|
-
return (hAsync(Host, { key: '
|
|
34098
|
+
return (hAsync(Host, { key: 'a33d6421fcc885995fbc7a348516525f68ca496c', class: createColorClasses$1(self.color, {
|
|
34246
34099
|
[mode]: true,
|
|
34247
34100
|
[`spinner-${spinnerName}`]: true,
|
|
34248
34101
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -34341,12 +34194,12 @@ class SplitPane {
|
|
|
34341
34194
|
}
|
|
34342
34195
|
render() {
|
|
34343
34196
|
const mode = getIonMode$1(this);
|
|
34344
|
-
return (hAsync(Host, { key: '
|
|
34197
|
+
return (hAsync(Host, { key: 'd5e30df12f1f1f855da4c66f98076b9dce762c59', class: {
|
|
34345
34198
|
[mode]: true,
|
|
34346
34199
|
// Used internally for styling
|
|
34347
34200
|
[`split-pane-${mode}`]: true,
|
|
34348
34201
|
'split-pane-visible': this.visible,
|
|
34349
|
-
} }, hAsync("slot", { key: '
|
|
34202
|
+
} }, hAsync("slot", { key: '3e30d7cf3bc1cf434e16876a0cb2a36377b8e00f' })));
|
|
34350
34203
|
}
|
|
34351
34204
|
get el() { return getElement(this); }
|
|
34352
34205
|
static get watchers() { return {
|
|
@@ -34412,10 +34265,10 @@ class Tab {
|
|
|
34412
34265
|
}
|
|
34413
34266
|
render() {
|
|
34414
34267
|
const { tab, active, component } = this;
|
|
34415
|
-
return (hAsync(Host, { key: '
|
|
34268
|
+
return (hAsync(Host, { key: 'dbad8fe9f1566277d14647626308eaf1601ab01f', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
34416
34269
|
'ion-page': component === undefined,
|
|
34417
34270
|
'tab-hidden': !active,
|
|
34418
|
-
} }, hAsync("slot", { key: '
|
|
34271
|
+
} }, hAsync("slot", { key: '3be64f4e7161f6769aaf8e4dcb5293fcaa09af45' })));
|
|
34419
34272
|
}
|
|
34420
34273
|
get el() { return getElement(this); }
|
|
34421
34274
|
static get watchers() { return {
|
|
@@ -34494,11 +34347,11 @@ class TabBar {
|
|
|
34494
34347
|
const { color, translucent, keyboardVisible } = this;
|
|
34495
34348
|
const mode = getIonMode$1(this);
|
|
34496
34349
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
34497
|
-
return (hAsync(Host, { key: '
|
|
34350
|
+
return (hAsync(Host, { key: '275dc6c1b30f6928ce9039b2f445208bb3500ddc', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses$1(color, {
|
|
34498
34351
|
[mode]: true,
|
|
34499
34352
|
'tab-bar-translucent': translucent,
|
|
34500
34353
|
'tab-bar-hidden': shouldHide,
|
|
34501
|
-
}) }, hAsync("slot", { key: '
|
|
34354
|
+
}) }, hAsync("slot", { key: 'ceac20128d75c6a4a0f445f2df8deb8cc71fc4da' })));
|
|
34502
34355
|
}
|
|
34503
34356
|
get el() { return getElement(this); }
|
|
34504
34357
|
static get watchers() { return {
|
|
@@ -34594,7 +34447,7 @@ class TabButton {
|
|
|
34594
34447
|
rel,
|
|
34595
34448
|
target,
|
|
34596
34449
|
};
|
|
34597
|
-
return (hAsync(Host, { key: '
|
|
34450
|
+
return (hAsync(Host, { key: 'ce9d29ced0c781d6b2fa62cd5feb801c11fc42e8', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
34598
34451
|
[mode]: true,
|
|
34599
34452
|
'tab-selected': selected,
|
|
34600
34453
|
'tab-disabled': disabled,
|
|
@@ -34606,7 +34459,7 @@ class TabButton {
|
|
|
34606
34459
|
'ion-activatable': true,
|
|
34607
34460
|
'ion-selectable': true,
|
|
34608
34461
|
'ion-focusable': true,
|
|
34609
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
34462
|
+
} }, 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" }))));
|
|
34610
34463
|
}
|
|
34611
34464
|
get el() { return getElement(this); }
|
|
34612
34465
|
static get style() { return {
|
|
@@ -34798,7 +34651,7 @@ class Tabs {
|
|
|
34798
34651
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
34799
34652
|
}
|
|
34800
34653
|
render() {
|
|
34801
|
-
return (hAsync(Host, { key: '
|
|
34654
|
+
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" })));
|
|
34802
34655
|
}
|
|
34803
34656
|
get el() { return getElement(this); }
|
|
34804
34657
|
static get style() { return tabsCss; }
|
|
@@ -34838,9 +34691,9 @@ class Text {
|
|
|
34838
34691
|
}
|
|
34839
34692
|
render() {
|
|
34840
34693
|
const mode = getIonMode$1(this);
|
|
34841
|
-
return (hAsync(Host, { key: '
|
|
34694
|
+
return (hAsync(Host, { key: '361035eae7b92dc109794348d39bad2f596eb6be', class: createColorClasses$1(this.color, {
|
|
34842
34695
|
[mode]: true,
|
|
34843
|
-
}) }, hAsync("slot", { key: '
|
|
34696
|
+
}) }, hAsync("slot", { key: 'c7b8835cf485ba9ecd73298f0529276ce1ea0852' })));
|
|
34844
34697
|
}
|
|
34845
34698
|
static get style() { return textCss; }
|
|
34846
34699
|
static get cmpMeta() { return {
|
|
@@ -35290,7 +35143,7 @@ class Textarea {
|
|
|
35290
35143
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
35291
35144
|
*/
|
|
35292
35145
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
35293
|
-
return (hAsync(Host, { key: '
|
|
35146
|
+
return (hAsync(Host, { key: 'd9f2ede0107987fc42c99e310cd2336bad5a5755', class: createColorClasses$1(this.color, {
|
|
35294
35147
|
[mode]: true,
|
|
35295
35148
|
'has-value': hasValue,
|
|
35296
35149
|
'has-focus': hasFocus,
|
|
@@ -35299,7 +35152,7 @@ class Textarea {
|
|
|
35299
35152
|
[`textarea-shape-${shape}`]: shape !== undefined,
|
|
35300
35153
|
[`textarea-label-placement-${labelPlacement}`]: true,
|
|
35301
35154
|
'textarea-disabled': disabled,
|
|
35302
|
-
}) }, hAsync("label", { key: '
|
|
35155
|
+
}) }, 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()));
|
|
35303
35156
|
}
|
|
35304
35157
|
get el() { return getElement(this); }
|
|
35305
35158
|
static get watchers() { return {
|
|
@@ -35361,7 +35214,7 @@ class Thumbnail {
|
|
|
35361
35214
|
registerInstance(this, hostRef);
|
|
35362
35215
|
}
|
|
35363
35216
|
render() {
|
|
35364
|
-
return (hAsync(Host, { key: '
|
|
35217
|
+
return (hAsync(Host, { key: '70ada828e8cf541ab3b47f94b7e56ce34114ef88', class: getIonMode$1(this) }, hAsync("slot", { key: 'c43e105669d2bae123619b616f3af8ca2f722d61' })));
|
|
35365
35218
|
}
|
|
35366
35219
|
static get style() { return thumbnailCss; }
|
|
35367
35220
|
static get cmpMeta() { return {
|
|
@@ -36219,9 +36072,9 @@ class Toast {
|
|
|
36219
36072
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
36220
36073
|
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);
|
|
36221
36074
|
}
|
|
36222
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
36075
|
+
return (hAsync(Host, Object.assign({ key: 'd1ecd90c87700aad4685e230cdd430aa286b8791', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
36223
36076
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
36224
|
-
}, 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: '
|
|
36077
|
+
}, 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')))));
|
|
36225
36078
|
}
|
|
36226
36079
|
get el() { return getElement(this); }
|
|
36227
36080
|
static get watchers() { return {
|
|
@@ -36523,7 +36376,7 @@ class Toggle {
|
|
|
36523
36376
|
const value = this.getValue();
|
|
36524
36377
|
const rtl = isRTL$1(el) ? 'rtl' : 'ltr';
|
|
36525
36378
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
36526
|
-
return (hAsync(Host, { key: '
|
|
36379
|
+
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, {
|
|
36527
36380
|
[mode]: true,
|
|
36528
36381
|
'in-item': hostContext('ion-item', el),
|
|
36529
36382
|
'toggle-activated': activated,
|
|
@@ -36533,10 +36386,10 @@ class Toggle {
|
|
|
36533
36386
|
[`toggle-alignment-${alignment}`]: alignment !== undefined,
|
|
36534
36387
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
36535
36388
|
[`toggle-${rtl}`]: true,
|
|
36536
|
-
}) }, hAsync("label", { key: '
|
|
36389
|
+
}) }, 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: {
|
|
36537
36390
|
'label-text-wrapper': true,
|
|
36538
36391
|
'label-text-wrapper-hidden': !hasLabel,
|
|
36539
|
-
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '
|
|
36392
|
+
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: 'd88e1e3dcdd8293f6b61f237cd7a0511dcbce300' }), this.renderHintText()), hAsync("div", { key: '0e924225f5f0caf3c88738acb6c557bd8c1b68f6', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
36540
36393
|
}
|
|
36541
36394
|
get el() { return getElement(this); }
|
|
36542
36395
|
static get watchers() { return {
|
|
@@ -36644,10 +36497,10 @@ class Toolbar {
|
|
|
36644
36497
|
this.childrenStyles.forEach((value) => {
|
|
36645
36498
|
Object.assign(childStyles, value);
|
|
36646
36499
|
});
|
|
36647
|
-
return (hAsync(Host, { key: '
|
|
36500
|
+
return (hAsync(Host, { key: 'f6c4f669a6a61c5eac4cbb5ea0aa97c48ae5bd46', class: Object.assign(Object.assign({}, childStyles), createColorClasses$1(this.color, {
|
|
36648
36501
|
[mode]: true,
|
|
36649
36502
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
36650
|
-
})) }, hAsync("div", { key: '
|
|
36503
|
+
})) }, 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" }))));
|
|
36651
36504
|
}
|
|
36652
36505
|
get el() { return getElement(this); }
|
|
36653
36506
|
static get style() { return {
|
|
@@ -36693,11 +36546,11 @@ class ToolbarTitle {
|
|
|
36693
36546
|
render() {
|
|
36694
36547
|
const mode = getIonMode$1(this);
|
|
36695
36548
|
const size = this.getSize();
|
|
36696
|
-
return (hAsync(Host, { key: '
|
|
36549
|
+
return (hAsync(Host, { key: 'e599c0bf1b0817df3fa8360bdcd6d787f751c371', class: createColorClasses$1(this.color, {
|
|
36697
36550
|
[mode]: true,
|
|
36698
36551
|
[`title-${size}`]: true,
|
|
36699
36552
|
'title-rtl': document.dir === 'rtl',
|
|
36700
|
-
}) }, hAsync("div", { key: '
|
|
36553
|
+
}) }, hAsync("div", { key: '6e7eee9047d6759876bb31d7305b76efc7c4338c', class: "toolbar-title" }, hAsync("slot", { key: 'bf790eb4c83dd0af4f2fd1f85ab4af5819f46ff4' }))));
|
|
36701
36554
|
}
|
|
36702
36555
|
get el() { return getElement(this); }
|
|
36703
36556
|
static get watchers() { return {
|