@ionic/core 8.7.13-dev.11765486444.14025098 → 8.7.13-dev.11765550444.1d97de23
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/header.js +2 -2
- package/components/ion-datetime-button.js +2 -2
- package/components/ion-datetime.js +49 -85
- package/components/ion-fab-button.js +2 -2
- package/components/ion-fab-list.js +2 -2
- package/components/ion-fab.js +2 -2
- package/components/ion-footer.js +2 -2
- package/components/ion-grid.js +2 -2
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +2 -2
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-otp.js +3 -3
- package/components/ion-input-password-toggle.js +3 -3
- package/components/ion-input.js +3 -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 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-router-link.js +2 -2
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +4 -4
- package/components/ion-segment-button.js +2 -2
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +2 -2
- package/components/ion-segment.js +2 -2
- package/components/ion-select-option.js +1 -1
- package/components/ion-select.js +2 -2
- package/components/ion-skeleton-text.js +2 -2
- package/components/ion-split-pane.js +2 -2
- package/components/ion-tab-bar.js +2 -2
- package/components/ion-tab-button.js +2 -2
- package/components/ion-tab.js +2 -2
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +2 -2
- package/components/ion-textarea.js +2 -2
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-toast.js +2 -2
- package/components/ion-toggle.js +3 -3
- package/components/label.js +2 -2
- package/components/list-header.js +2 -2
- package/components/list.js +1 -1
- package/components/modal.js +4 -4
- package/components/picker-column-option.js +2 -2
- package/components/picker-column.js +3 -3
- package/components/picker-column2.js +2 -2
- package/components/picker.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/ion-app_8.cjs.entry.js +9 -9
- package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-col_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime_3.cjs.entry.js +53 -89
- package/dist/cjs/ion-fab_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-img.cjs.entry.js +1 -1
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-otp.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ion-input.cjs.entry.js +3 -3
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +12 -12
- package/dist/cjs/ion-loading.cjs.entry.js +2 -2
- package/dist/cjs/ion-menu_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-modal.cjs.entry.js +4 -4
- package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +2 -2
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +4 -4
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-select-modal.cjs.entry.js +1 -1
- package/dist/cjs/ion-select_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +2 -2
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/collection/components/datetime/datetime.js +49 -85
- package/dist/collection/components/datetime-button/datetime-button.js +2 -2
- package/dist/collection/components/fab/fab.js +2 -2
- package/dist/collection/components/fab-button/fab-button.js +2 -2
- package/dist/collection/components/fab-list/fab-list.js +2 -2
- package/dist/collection/components/footer/footer.js +2 -2
- package/dist/collection/components/grid/grid.js +2 -2
- package/dist/collection/components/header/header.js +2 -2
- package/dist/collection/components/img/img.js +1 -1
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
- package/dist/collection/components/input/input.js +3 -3
- package/dist/collection/components/input-otp/input-otp.js +3 -3
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +3 -3
- package/dist/collection/components/item-divider/item-divider.js +2 -2
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.js +2 -2
- package/dist/collection/components/item-options/item-options.js +1 -1
- package/dist/collection/components/item-sliding/item-sliding.js +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/list/list.js +1 -1
- 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/picker.js +2 -2
- package/dist/collection/components/picker-column/picker-column.js +3 -3
- package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
- package/dist/collection/components/picker-legacy/picker.js +2 -2
- package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
- package/dist/collection/components/popover/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 -1
- package/dist/collection/components/refresher-content/refresher-content.js +1 -1
- package/dist/collection/components/reorder/reorder.js +1 -1
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-outlet/router-outlet.js +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +4 -4
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment-button/segment-button.js +2 -2
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.js +2 -2
- package/dist/collection/components/select/select.js +2 -2
- package/dist/collection/components/select-modal/select-modal.js +1 -1
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +1 -1
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/thumbnail/thumbnail.js +1 -1
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/docs.json +1 -1
- package/dist/esm/ion-app_8.entry.js +9 -9
- package/dist/esm/ion-avatar_3.entry.js +1 -1
- package/dist/esm/ion-col_3.entry.js +3 -3
- package/dist/esm/ion-datetime-button.entry.js +2 -2
- package/dist/esm/ion-datetime_3.entry.js +53 -89
- package/dist/esm/ion-fab_3.entry.js +6 -6
- package/dist/esm/ion-img.entry.js +1 -1
- package/dist/esm/ion-infinite-scroll_2.entry.js +3 -3
- package/dist/esm/ion-input-otp.entry.js +3 -3
- package/dist/esm/ion-input-password-toggle.entry.js +3 -3
- package/dist/esm/ion-input.entry.js +3 -3
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +12 -12
- package/dist/esm/ion-loading.entry.js +2 -2
- package/dist/esm/ion-menu_3.entry.js +6 -6
- package/dist/esm/ion-modal.entry.js +4 -4
- package/dist/esm/ion-nav_2.entry.js +2 -2
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-picker-column.entry.js +3 -3
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +2 -2
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +4 -4
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher_2.entry.js +2 -2
- package/dist/esm/ion-reorder_2.entry.js +2 -2
- package/dist/esm/ion-ripple-effect.entry.js +1 -1
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +4 -4
- package/dist/esm/ion-segment-content.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +4 -4
- package/dist/esm/ion-select-modal.entry.js +1 -1
- package/dist/esm/ion-select_3.entry.js +4 -4
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +4 -4
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +2 -2
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-074839fc.entry.js → p-01e27965.entry.js} +1 -1
- package/dist/ionic/{p-ea509e3c.entry.js → p-0852af24.entry.js} +1 -1
- package/dist/ionic/p-0ca0fe9c.entry.js +4 -0
- package/dist/ionic/{p-72c38b88.entry.js → p-20f135b4.entry.js} +1 -1
- package/dist/ionic/{p-316c0420.entry.js → p-221a3d8c.entry.js} +1 -1
- package/dist/ionic/{p-3a6caca9.entry.js → p-2668188b.entry.js} +1 -1
- package/dist/ionic/{p-d3014190.entry.js → p-2bd1ea35.entry.js} +1 -1
- package/dist/ionic/{p-a127bee2.entry.js → p-30333874.entry.js} +1 -1
- package/dist/ionic/{p-1647c46c.entry.js → p-363d1209.entry.js} +1 -1
- package/dist/ionic/{p-a8ed848b.entry.js → p-3b0b7a05.entry.js} +1 -1
- package/dist/ionic/p-43c5249f.entry.js +4 -0
- package/dist/ionic/p-4c09dde7.entry.js +4 -0
- package/dist/ionic/{p-0dfa5a37.entry.js → p-530fcd71.entry.js} +1 -1
- package/dist/ionic/{p-0bf76d0f.entry.js → p-59a5cdf5.entry.js} +1 -1
- package/dist/ionic/{p-40c261a3.entry.js → p-64841854.entry.js} +1 -1
- package/dist/ionic/{p-dbbe606a.entry.js → p-652318c3.entry.js} +1 -1
- package/dist/ionic/{p-675b1a31.entry.js → p-65db57d7.entry.js} +1 -1
- package/dist/ionic/{p-0abeb0fc.entry.js → p-67f46577.entry.js} +1 -1
- package/dist/ionic/{p-cc45bcbc.entry.js → p-69c6fe52.entry.js} +1 -1
- package/dist/ionic/{p-2a939845.entry.js → p-6f37536a.entry.js} +1 -1
- package/dist/ionic/{p-cebb0328.entry.js → p-75ebaa15.entry.js} +1 -1
- package/dist/ionic/p-7f98e710.entry.js +4 -0
- package/dist/ionic/{p-6d070558.entry.js → p-82d5bb3d.entry.js} +1 -1
- package/dist/ionic/{p-11518b31.entry.js → p-85ee4a92.entry.js} +1 -1
- package/dist/ionic/{p-31f7095f.entry.js → p-a4a9f5ae.entry.js} +1 -1
- package/dist/ionic/{p-c19f63d0.entry.js → p-b30c3430.entry.js} +1 -1
- package/dist/ionic/{p-86f53961.entry.js → p-b8551510.entry.js} +1 -1
- package/dist/ionic/{p-ac4eb91d.entry.js → p-bccc9207.entry.js} +1 -1
- package/dist/ionic/{p-d126e8d3.entry.js → p-bce86e56.entry.js} +1 -1
- package/dist/ionic/{p-639dd543.entry.js → p-c175d792.entry.js} +1 -1
- package/dist/ionic/{p-020af078.entry.js → p-cc2a9936.entry.js} +1 -1
- package/dist/ionic/p-ce8dad03.entry.js +4 -0
- package/dist/ionic/{p-6444c606.entry.js → p-d655735d.entry.js} +1 -1
- package/dist/ionic/{p-b57c6d3e.entry.js → p-dbc82f0e.entry.js} +1 -1
- package/dist/ionic/{p-6241ce47.entry.js → p-e036eb2f.entry.js} +1 -1
- package/dist/ionic/{p-9575b654.entry.js → p-e48f026f.entry.js} +1 -1
- package/dist/ionic/{p-7268efa5.entry.js → p-e64b550c.entry.js} +1 -1
- package/dist/ionic/{p-46d74291.entry.js → p-ee8ecd40.entry.js} +1 -1
- package/dist/ionic/{p-c85a2127.entry.js → p-f097a9e5.entry.js} +1 -1
- package/dist/ionic/{p-f8f22cc0.entry.js → p-fb0271ae.entry.js} +1 -1
- package/dist/ionic/{p-370e4237.entry.js → p-fbb00634.entry.js} +1 -1
- package/dist/ionic/{p-ec654c42.entry.js → p-fc14f34a.entry.js} +1 -1
- package/dist/types/components/datetime/datetime.d.ts +1 -11
- package/hydrate/index.js +177 -213
- package/hydrate/index.mjs +177 -213
- package/package.json +1 -1
- package/dist/ionic/p-4b658a7c.entry.js +0 -4
- package/dist/ionic/p-4e41ea20.entry.js +0 -4
- package/dist/ionic/p-51a60e0f.entry.js +0 -4
- package/dist/ionic/p-576e0965.entry.js +0 -4
- package/dist/ionic/p-94de5cfa.entry.js +0 -4
package/hydrate/index.mjs
CHANGED
|
@@ -13433,28 +13433,6 @@ class Datetime {
|
|
|
13433
13433
|
destroyKeyboardMO();
|
|
13434
13434
|
}
|
|
13435
13435
|
};
|
|
13436
|
-
/**
|
|
13437
|
-
* TODO(FW-6931): Remove this fallback upon solving the root cause
|
|
13438
|
-
* Fallback to ensure the datetime becomes ready even if
|
|
13439
|
-
* IntersectionObserver never reports it as intersecting.
|
|
13440
|
-
*
|
|
13441
|
-
* This is primarily used in environments where the observer
|
|
13442
|
-
* might not fire as expected, such as when running under
|
|
13443
|
-
* synthetic tests that stub IntersectionObserver.
|
|
13444
|
-
*/
|
|
13445
|
-
this.ensureReadyIfVisible = () => {
|
|
13446
|
-
if (this.el.classList.contains('datetime-ready')) {
|
|
13447
|
-
return;
|
|
13448
|
-
}
|
|
13449
|
-
const rect = this.el.getBoundingClientRect();
|
|
13450
|
-
if (rect.width === 0 || rect.height === 0) {
|
|
13451
|
-
return;
|
|
13452
|
-
}
|
|
13453
|
-
this.initializeListeners();
|
|
13454
|
-
writeTask(() => {
|
|
13455
|
-
this.el.classList.add('datetime-ready');
|
|
13456
|
-
});
|
|
13457
|
-
};
|
|
13458
13436
|
this.processValue = (value) => {
|
|
13459
13437
|
const hasValue = value !== null && value !== undefined && value !== '' && (!Array.isArray(value) || value.length > 0);
|
|
13460
13438
|
const valueToProcess = hasValue ? parseDate(value) : this.defaultParts;
|
|
@@ -13732,84 +13710,70 @@ class Datetime {
|
|
|
13732
13710
|
this.clearFocusVisible();
|
|
13733
13711
|
this.clearFocusVisible = undefined;
|
|
13734
13712
|
}
|
|
13713
|
+
if (this.resizeObserver) {
|
|
13714
|
+
this.resizeObserver.disconnect();
|
|
13715
|
+
this.resizeObserver = undefined;
|
|
13716
|
+
}
|
|
13735
13717
|
}
|
|
13736
13718
|
initializeListeners() {
|
|
13737
13719
|
this.initializeCalendarListener();
|
|
13738
13720
|
this.initializeKeyboardListeners();
|
|
13739
13721
|
}
|
|
13740
13722
|
componentDidLoad() {
|
|
13741
|
-
const { el
|
|
13723
|
+
const { el } = this;
|
|
13742
13724
|
/**
|
|
13743
13725
|
* If a scrollable element is hidden using `display: none`,
|
|
13744
13726
|
* it will not have a scroll height meaning we cannot scroll elements
|
|
13745
13727
|
* into view. As a result, we will need to wait for the datetime to become
|
|
13746
13728
|
* visible if used inside of a modal or a popover otherwise the scrollable
|
|
13747
13729
|
* areas will not have the correct values snapped into place.
|
|
13748
|
-
|
|
13749
|
-
|
|
13750
|
-
|
|
13751
|
-
|
|
13752
|
-
|
|
13730
|
+
*
|
|
13731
|
+
* We use ResizeObserver to detect when the element transitions
|
|
13732
|
+
* between having dimensions (visible) and zero dimensions (hidden). This
|
|
13733
|
+
* is more reliable than IntersectionObserver for detecting visibility
|
|
13734
|
+
* changes, especially when the element is inside a modal or popover.
|
|
13735
|
+
*/
|
|
13736
|
+
this.resizeObserver = new ResizeObserver((entries) => {
|
|
13737
|
+
const entry = entries[0];
|
|
13738
|
+
const { width, height } = entry.contentRect;
|
|
13739
|
+
const isVisible = width > 0 && height > 0;
|
|
13740
|
+
const isReady = el.classList.contains('datetime-ready');
|
|
13741
|
+
if (isVisible && !isReady) {
|
|
13742
|
+
this.initializeListeners();
|
|
13743
|
+
/**
|
|
13744
|
+
* TODO FW-2793: Datetime needs a frame to ensure that it
|
|
13745
|
+
* can properly scroll contents into view. As a result
|
|
13746
|
+
* we hide the scrollable content until after that frame
|
|
13747
|
+
* so users do not see the content quickly shifting. The downside
|
|
13748
|
+
* is that the content will pop into view a frame after. Maybe there
|
|
13749
|
+
* is a better way to handle this?
|
|
13750
|
+
*/
|
|
13751
|
+
writeTask(() => {
|
|
13752
|
+
el.classList.add('datetime-ready');
|
|
13753
|
+
});
|
|
13753
13754
|
}
|
|
13754
|
-
|
|
13755
|
-
|
|
13756
|
-
|
|
13757
|
-
|
|
13758
|
-
|
|
13759
|
-
|
|
13760
|
-
|
|
13761
|
-
|
|
13762
|
-
|
|
13763
|
-
|
|
13764
|
-
|
|
13765
|
-
|
|
13766
|
-
|
|
13767
|
-
|
|
13755
|
+
else if (!isVisible && isReady) {
|
|
13756
|
+
/**
|
|
13757
|
+
* Clean up listeners when hidden so we can properly
|
|
13758
|
+
* reinitialize scroll positions on re-presentation.
|
|
13759
|
+
*/
|
|
13760
|
+
this.destroyInteractionListeners();
|
|
13761
|
+
/**
|
|
13762
|
+
* Close month/year picker when hidden, otherwise
|
|
13763
|
+
* it will be open when re-presented with a 0-height
|
|
13764
|
+
* scroll area, showing the wrong month.
|
|
13765
|
+
*/
|
|
13766
|
+
this.showMonthAndYear = false;
|
|
13767
|
+
writeTask(() => {
|
|
13768
|
+
el.classList.remove('datetime-ready');
|
|
13769
|
+
});
|
|
13770
|
+
}
|
|
13771
|
+
});
|
|
13768
13772
|
/**
|
|
13769
13773
|
* Use raf to avoid a race condition between the component loading and
|
|
13770
|
-
* its display animation starting (such as when shown in a modal).
|
|
13771
|
-
* could cause the datetime to start at a visibility of 0, erroneously
|
|
13772
|
-
* triggering the `hiddenIO` observer below.
|
|
13773
|
-
*/
|
|
13774
|
-
raf(() => visibleIO === null || visibleIO === void 0 ? void 0 : visibleIO.observe(intersectionTrackerRef));
|
|
13775
|
-
/**
|
|
13776
|
-
* TODO(FW-6931): Remove this fallback upon solving the root cause
|
|
13777
|
-
* Fallback: If IntersectionObserver never reports that the
|
|
13778
|
-
* datetime is visible but the host clearly has layout, ensure
|
|
13779
|
-
* we still initialize listeners and mark the component as ready.
|
|
13780
|
-
*
|
|
13781
|
-
* We schedule this after everything has had a chance to run.
|
|
13774
|
+
* its display animation starting (such as when shown in a modal).
|
|
13782
13775
|
*/
|
|
13783
|
-
|
|
13784
|
-
this.ensureReadyIfVisible();
|
|
13785
|
-
}, 100);
|
|
13786
|
-
/**
|
|
13787
|
-
* We need to clean up listeners when the datetime is hidden
|
|
13788
|
-
* in a popover/modal so that we can properly scroll containers
|
|
13789
|
-
* back into view if they are re-presented. When the datetime is hidden
|
|
13790
|
-
* the scroll areas have scroll widths/heights of 0px, so any snapping
|
|
13791
|
-
* we did originally has been lost.
|
|
13792
|
-
*/
|
|
13793
|
-
const hiddenCallback = (entries) => {
|
|
13794
|
-
const ev = entries[0];
|
|
13795
|
-
if (ev.isIntersecting) {
|
|
13796
|
-
return;
|
|
13797
|
-
}
|
|
13798
|
-
this.destroyInteractionListeners();
|
|
13799
|
-
/**
|
|
13800
|
-
* When datetime is hidden, we need to make sure that
|
|
13801
|
-
* the month/year picker is closed. Otherwise,
|
|
13802
|
-
* it will be open when the datetime re-appears
|
|
13803
|
-
* and the scroll area of the calendar grid will be 0.
|
|
13804
|
-
* As a result, the wrong month will be shown.
|
|
13805
|
-
*/
|
|
13806
|
-
this.showMonthAndYear = false;
|
|
13807
|
-
writeTask(() => {
|
|
13808
|
-
this.el.classList.remove('datetime-ready');
|
|
13809
|
-
});
|
|
13810
|
-
};
|
|
13811
|
-
const hiddenIO = new IntersectionObserver(hiddenCallback, { threshold: 0, root: el });
|
|
13812
|
-
raf(() => hiddenIO === null || hiddenIO === void 0 ? void 0 : hiddenIO.observe(intersectionTrackerRef));
|
|
13776
|
+
raf(() => { var _a; return (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.observe(el); });
|
|
13813
13777
|
/**
|
|
13814
13778
|
* Datetime uses Ionic components that emit
|
|
13815
13779
|
* ionFocus and ionBlur. These events are
|
|
@@ -14538,7 +14502,7 @@ class Datetime {
|
|
|
14538
14502
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
14539
14503
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
14540
14504
|
renderHiddenInput(true, el, name, formatValue(value), disabled);
|
|
14541
|
-
return (hAsync(Host, { key: '
|
|
14505
|
+
return (hAsync(Host, { key: 'f4d2e6577c288bdbd814760ab70cccfd91815f06', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses$1(color, {
|
|
14542
14506
|
[mode]: true,
|
|
14543
14507
|
['datetime-readonly']: readonly,
|
|
14544
14508
|
['datetime-disabled']: disabled,
|
|
@@ -14548,7 +14512,7 @@ class Datetime {
|
|
|
14548
14512
|
[`datetime-size-${size}`]: true,
|
|
14549
14513
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
14550
14514
|
[`datetime-grid`]: isGridStyle,
|
|
14551
|
-
})) },
|
|
14515
|
+
})) }, this.renderDatetime(mode)));
|
|
14552
14516
|
}
|
|
14553
14517
|
get el() { return getElement(this); }
|
|
14554
14518
|
static get watchers() { return {
|
|
@@ -14959,11 +14923,11 @@ class DatetimeButton {
|
|
|
14959
14923
|
render() {
|
|
14960
14924
|
const { color, dateText, timeText, selectedButton, datetimeActive, disabled } = this;
|
|
14961
14925
|
const mode = getIonMode$1(this);
|
|
14962
|
-
return (hAsync(Host, { key: '
|
|
14926
|
+
return (hAsync(Host, { key: '0cad13e702cd8f76b10364d44993495d1aac40fb', class: createColorClasses$1(color, {
|
|
14963
14927
|
[mode]: true,
|
|
14964
14928
|
[`${selectedButton}-active`]: datetimeActive,
|
|
14965
14929
|
['datetime-button-disabled']: disabled,
|
|
14966
|
-
}) }, dateText && (hAsync("button", { key: '
|
|
14930
|
+
}) }, dateText && (hAsync("button", { key: '03ceb62c8dd7b4a97eca211d8ad73a4cfa8c2a1a', class: "ion-activatable", id: "date-button", "aria-expanded": datetimeActive ? 'true' : 'false', onClick: this.handleDateClick, disabled: disabled, part: "native", ref: (el) => (this.dateTargetEl = el) }, hAsync("slot", { key: '251c03d7dc30180caf5f2728818ab445b7b99b52', name: "date-target" }, dateText), mode === 'md' && hAsync("ion-ripple-effect", { key: 'ce5fa19ed565fd788c6096aa55d8102ac36a1307' }))), timeText && (hAsync("button", { key: '4833eb0e7b23f7c4faf03c998a58cc80cc714887', class: "ion-activatable", id: "time-button", "aria-expanded": datetimeActive ? 'true' : 'false', onClick: this.handleTimeClick, disabled: disabled, part: "native", ref: (el) => (this.timeTargetEl = el) }, hAsync("slot", { key: '60966f907d725aea78af66dbb57f1d6f212a1ef5', name: "time-target" }, timeText), mode === 'md' && hAsync("ion-ripple-effect", { key: 'c26bd731e8991e2b2b7984a2bd859f36337a038b' })))));
|
|
14967
14931
|
}
|
|
14968
14932
|
get el() { return getElement(this); }
|
|
14969
14933
|
static get style() { return {
|
|
@@ -15043,12 +15007,12 @@ class Fab {
|
|
|
15043
15007
|
render() {
|
|
15044
15008
|
const { horizontal, vertical, edge } = this;
|
|
15045
15009
|
const mode = getIonMode$1(this);
|
|
15046
|
-
return (hAsync(Host, { key: '
|
|
15010
|
+
return (hAsync(Host, { key: 'cb44cf6486b0a6439b99da87c065b0b52e2514f4', class: {
|
|
15047
15011
|
[mode]: true,
|
|
15048
15012
|
[`fab-horizontal-${horizontal}`]: horizontal !== undefined,
|
|
15049
15013
|
[`fab-vertical-${vertical}`]: vertical !== undefined,
|
|
15050
15014
|
'fab-edge': edge,
|
|
15051
|
-
} }, hAsync("slot", { key: '
|
|
15015
|
+
} }, hAsync("slot", { key: '1ed484c7ecb10cd81fbca9a4f5c4049bf82f9f8a' })));
|
|
15052
15016
|
}
|
|
15053
15017
|
get el() { return getElement(this); }
|
|
15054
15018
|
static get watchers() { return {
|
|
@@ -15155,7 +15119,7 @@ class FabButton {
|
|
|
15155
15119
|
rel: this.rel,
|
|
15156
15120
|
target: this.target,
|
|
15157
15121
|
};
|
|
15158
|
-
return (hAsync(Host, { key: '
|
|
15122
|
+
return (hAsync(Host, { key: 'eb347f7d6749c40637540d84778eb8d1b667a947', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses$1(color, {
|
|
15159
15123
|
[mode]: true,
|
|
15160
15124
|
'fab-button-in-list': inList,
|
|
15161
15125
|
'fab-button-translucent-in-list': inList && translucent,
|
|
@@ -15166,7 +15130,7 @@ class FabButton {
|
|
|
15166
15130
|
'ion-activatable': true,
|
|
15167
15131
|
'ion-focusable': true,
|
|
15168
15132
|
[`fab-button-${size}`]: size !== undefined,
|
|
15169
|
-
}) }, hAsync(TagType, Object.assign({ key: '
|
|
15133
|
+
}) }, hAsync(TagType, Object.assign({ key: '83e853c8815f41543c848eb2e05ec2bb1716110a' }, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur, onClick: (ev) => openURL(href, ev, this.routerDirection, this.routerAnimation) }, inheritedAttributes), hAsync("ion-icon", { key: '798deede94de658e4345acf7c2aafe2ab2567b0b', "aria-hidden": "true", icon: this.closeIcon, part: "close-icon", class: "close-icon", lazy: false }), hAsync("span", { key: '99252fde6de1aca73fc240a6da7e29acac9acb18', class: "button-inner" }, hAsync("slot", { key: 'dc73e9b41bf1f0e385e5784f975dfb81e37c8dfb' })), mode === 'md' && hAsync("ion-ripple-effect", { key: '8413e162f44a0350f54dff06cff7aad101de3549' }))));
|
|
15170
15134
|
}
|
|
15171
15135
|
get el() { return getElement(this); }
|
|
15172
15136
|
static get style() { return {
|
|
@@ -15222,11 +15186,11 @@ class FabList {
|
|
|
15222
15186
|
}
|
|
15223
15187
|
render() {
|
|
15224
15188
|
const mode = getIonMode$1(this);
|
|
15225
|
-
return (hAsync(Host, { key: '
|
|
15189
|
+
return (hAsync(Host, { key: 'fa1d195b9950654ba0e984bf61d981c977d05275', class: {
|
|
15226
15190
|
[mode]: true,
|
|
15227
15191
|
'fab-list-active': this.activated,
|
|
15228
15192
|
[`fab-list-side-${this.side}`]: true,
|
|
15229
|
-
} }, hAsync("slot", { key: '
|
|
15193
|
+
} }, hAsync("slot", { key: '2ec738c66c05112e1e2521155d6adfc36d2fd1db' })));
|
|
15230
15194
|
}
|
|
15231
15195
|
get el() { return getElement(this); }
|
|
15232
15196
|
static get watchers() { return {
|
|
@@ -15683,7 +15647,7 @@ class Footer {
|
|
|
15683
15647
|
const mode = getIonMode$1(this);
|
|
15684
15648
|
const tabs = this.el.closest('ion-tabs');
|
|
15685
15649
|
const tabBar = tabs === null || tabs === void 0 ? void 0 : tabs.querySelector(':scope > ion-tab-bar');
|
|
15686
|
-
return (hAsync(Host, { key: '
|
|
15650
|
+
return (hAsync(Host, { key: '5da19dc38ba73e1ddfd1bef3ebd485105d77c751', role: "contentinfo", class: {
|
|
15687
15651
|
[mode]: true,
|
|
15688
15652
|
// Used internally for styling
|
|
15689
15653
|
[`footer-${mode}`]: true,
|
|
@@ -15691,7 +15655,7 @@ class Footer {
|
|
|
15691
15655
|
[`footer-translucent-${mode}`]: translucent,
|
|
15692
15656
|
['footer-toolbar-padding']: !this.keyboardVisible && (!tabBar || tabBar.slot !== 'bottom'),
|
|
15693
15657
|
[`footer-collapse-${collapse}`]: collapse !== undefined,
|
|
15694
|
-
} }, mode === 'ios' && translucent && hAsync("div", { key: '
|
|
15658
|
+
} }, mode === 'ios' && translucent && hAsync("div", { key: 'fafad08090a33d8c4e8a5b63d61929dcb89aab47', class: "footer-background" }), hAsync("slot", { key: 'e0a443d346afa55e4317c0bc1263fdbe3c619559' })));
|
|
15695
15659
|
}
|
|
15696
15660
|
get el() { return getElement(this); }
|
|
15697
15661
|
static get style() { return {
|
|
@@ -15724,10 +15688,10 @@ class Grid {
|
|
|
15724
15688
|
}
|
|
15725
15689
|
render() {
|
|
15726
15690
|
const mode = getIonMode$1(this);
|
|
15727
|
-
return (hAsync(Host, { key: '
|
|
15691
|
+
return (hAsync(Host, { key: '930ce78b02f8360fbca08a35d364d2c09128c6c8', class: {
|
|
15728
15692
|
[mode]: true,
|
|
15729
15693
|
'grid-fixed': this.fixed,
|
|
15730
|
-
} }, hAsync("slot", { key: '
|
|
15694
|
+
} }, hAsync("slot", { key: 'c47bf7ef2197f5ebc42d3e2c55044276fb0db393' })));
|
|
15731
15695
|
}
|
|
15732
15696
|
static get style() { return gridCss; }
|
|
15733
15697
|
static get cmpMeta() { return {
|
|
@@ -16120,14 +16084,14 @@ class Header {
|
|
|
16120
16084
|
const isCondensed = collapse === 'condense';
|
|
16121
16085
|
// banner role must be at top level, so remove role if inside a menu
|
|
16122
16086
|
const roleType = getRoleType(hostContext('ion-menu', this.el), isCondensed, mode);
|
|
16123
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
16087
|
+
return (hAsync(Host, Object.assign({ key: '42fb0d8aa663bef7b1a21e026ea45e932b965794', role: roleType, class: {
|
|
16124
16088
|
[mode]: true,
|
|
16125
16089
|
// Used internally for styling
|
|
16126
16090
|
[`header-${mode}`]: true,
|
|
16127
16091
|
[`header-translucent`]: this.translucent,
|
|
16128
16092
|
[`header-collapse-${collapse}`]: true,
|
|
16129
16093
|
[`header-translucent-${mode}`]: this.translucent,
|
|
16130
|
-
} }, inheritedAttributes), mode === 'ios' && translucent && hAsync("div", { key: '
|
|
16094
|
+
} }, inheritedAttributes), mode === 'ios' && translucent && hAsync("div", { key: '31fac480feb43bf4adcc97529d88f1fa8034ce98', class: "header-background" }), hAsync("slot", { key: '8fb8d10312836c3de63ba3fccf9ec1a08ca5b9d1' })));
|
|
16131
16095
|
}
|
|
16132
16096
|
get el() { return getElement(this); }
|
|
16133
16097
|
static get style() { return {
|
|
@@ -16453,7 +16417,7 @@ class Img {
|
|
|
16453
16417
|
render() {
|
|
16454
16418
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
16455
16419
|
const { draggable } = inheritedAttributes;
|
|
16456
|
-
return (hAsync(Host, { key: '
|
|
16420
|
+
return (hAsync(Host, { key: '14d24d65ec8e5522192ca58035264971b1ab883b', class: getIonMode$1(this) }, hAsync("img", { key: '345ba155a5fdce5e66c397a599b7333d37d9cb1d', decoding: "async", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: "image", draggable: isDraggable(draggable) })));
|
|
16457
16421
|
}
|
|
16458
16422
|
get el() { return getElement(this); }
|
|
16459
16423
|
static get watchers() { return {
|
|
@@ -16681,7 +16645,7 @@ class InfiniteScroll {
|
|
|
16681
16645
|
render() {
|
|
16682
16646
|
const mode = getIonMode$1(this);
|
|
16683
16647
|
const disabled = this.disabled;
|
|
16684
|
-
return (hAsync(Host, { key: '
|
|
16648
|
+
return (hAsync(Host, { key: '1444429a86950c449953cbf578436cc8cabf40ec', class: {
|
|
16685
16649
|
[mode]: true,
|
|
16686
16650
|
'infinite-scroll-loading': this.isLoading,
|
|
16687
16651
|
'infinite-scroll-enabled': !disabled,
|
|
@@ -16733,11 +16697,11 @@ class InfiniteScrollContent {
|
|
|
16733
16697
|
}
|
|
16734
16698
|
render() {
|
|
16735
16699
|
const mode = getIonMode$1(this);
|
|
16736
|
-
return (hAsync(Host, { key: '
|
|
16700
|
+
return (hAsync(Host, { key: '060278bf9cb0321e182352f9613be4ebbb028259', class: {
|
|
16737
16701
|
[mode]: true,
|
|
16738
16702
|
// Used internally for styling
|
|
16739
16703
|
[`infinite-scroll-content-${mode}`]: true,
|
|
16740
|
-
} }, hAsync("div", { key: '
|
|
16704
|
+
} }, hAsync("div", { key: '07d3cada920145f979ad315bd187fb878e0c3da3', class: "infinite-loading" }, this.loadingSpinner && (hAsync("div", { key: '6254f175d7543d09f3dd47cd0589a2809182cd8c', class: "infinite-loading-spinner" }, hAsync("ion-spinner", { key: 'a6a816d1c65b60b786333b209b63492aa716a283', name: this.loadingSpinner }))), this.loadingText !== undefined && this.renderLoadingText())));
|
|
16741
16705
|
}
|
|
16742
16706
|
static get style() { return {
|
|
16743
16707
|
ios: infiniteScrollContentIosCss,
|
|
@@ -17380,7 +17344,7 @@ class Input {
|
|
|
17380
17344
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
17381
17345
|
*/
|
|
17382
17346
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
17383
|
-
return (hAsync(Host, { key: '
|
|
17347
|
+
return (hAsync(Host, { key: '81b44a68138ec7a9f1d4a27549d0c32283dea50d', class: createColorClasses$1(this.color, {
|
|
17384
17348
|
[mode]: true,
|
|
17385
17349
|
'has-value': hasValue,
|
|
17386
17350
|
'has-focus': hasFocus,
|
|
@@ -17391,14 +17355,14 @@ class Input {
|
|
|
17391
17355
|
'in-item': inItem,
|
|
17392
17356
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
17393
17357
|
'input-disabled': disabled,
|
|
17394
|
-
}) }, hAsync("label", { key: '
|
|
17358
|
+
}) }, hAsync("label", { key: '049adad1bdcb64ee416e420b523e222cb9c0d3df', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), hAsync("div", { key: '00414cbb2adcc565d52dd5ba3af0280df3ba2c9c', class: "native-wrapper", onClick: this.onLabelClick }, hAsync("slot", { key: 'a09366b057322372e48daeb5a70619e5603b6972', name: "start" }), hAsync("input", Object.assign({ key: '8bd259fca7c30885df0bef6fa37a3c6516b7533e', class: "native-input", ref: (input) => (this.nativeInput = input), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder || '', readOnly: readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, type: this.type, value: value, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeydown, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd, "aria-describedby": this.getHintTextID(), "aria-invalid": this.isInvalid ? 'true' : undefined }, this.inheritedAttributes)), this.clearInput && !readonly && !disabled && (hAsync("button", { key: '9655b387bf51a371877ab40879c9cdc953a8019f', "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (ev) => {
|
|
17395
17359
|
/**
|
|
17396
17360
|
* This prevents mobile browsers from
|
|
17397
17361
|
* blurring the input when the clear
|
|
17398
17362
|
* button is activated.
|
|
17399
17363
|
*/
|
|
17400
17364
|
ev.preventDefault();
|
|
17401
|
-
}, onClick: this.clearTextInput }, hAsync("ion-icon", { key: '
|
|
17365
|
+
}, onClick: this.clearTextInput }, hAsync("ion-icon", { key: '834670e725e0140069eead8ff6c7a63d87f0aac0', "aria-hidden": "true", icon: clearIconData }))), hAsync("slot", { key: 'e41136ffef6bd8f8fb4c8480bf6dfaa3b61dc286', name: "end" })), shouldRenderHighlight && hAsync("div", { key: '517a556a9748600af6c258c9f668e7b10a798427', class: "input-highlight" })), this.renderBottomContent()));
|
|
17402
17366
|
}
|
|
17403
17367
|
get el() { return getElement(this); }
|
|
17404
17368
|
static get watchers() { return {
|
|
@@ -18069,7 +18033,7 @@ class InputOTP {
|
|
|
18069
18033
|
const tabbableIndex = this.getTabbableIndex();
|
|
18070
18034
|
const pattern = this.getPattern();
|
|
18071
18035
|
const hasDescription = ((_b = (_a = el.querySelector('.input-otp-description')) === null || _a === void 0 ? void 0 : _a.textContent) === null || _b === void 0 ? void 0 : _b.trim()) !== '';
|
|
18072
|
-
return (hAsync(Host, { key: '
|
|
18036
|
+
return (hAsync(Host, { key: '76126aeef5a333d3ce86149d1ce21da6c7834898', class: createColorClasses$1(color, {
|
|
18073
18037
|
[mode]: true,
|
|
18074
18038
|
'has-focus': hasFocus,
|
|
18075
18039
|
[`input-otp-size-${size}`]: true,
|
|
@@ -18077,10 +18041,10 @@ class InputOTP {
|
|
|
18077
18041
|
[`input-otp-fill-${fill}`]: true,
|
|
18078
18042
|
'input-otp-disabled': disabled,
|
|
18079
18043
|
'input-otp-readonly': readonly,
|
|
18080
|
-
}) }, hAsync("div", Object.assign({ key: '
|
|
18044
|
+
}) }, hAsync("div", Object.assign({ key: 'e9aa792de40a0e49075e8881c6a11245807e1051', role: "group", "aria-label": "One-time password input", class: "input-otp-group" }, inheritedAttributes), Array.from({ length }).map((_, index) => (hAsync(Fragment, null, hAsync("div", { class: "native-wrapper" }, hAsync("input", { class: "native-input", id: `${inputId}-${index}`, "aria-label": `Input ${index + 1} of ${length}`, type: "text", autoCapitalize: autocapitalize, inputmode: inputmode, pattern: pattern, disabled: disabled, readOnly: readonly, tabIndex: index === tabbableIndex ? 0 : -1, value: inputValues[index] || '', autocomplete: "one-time-code", ref: (el) => (inputRefs[index] = el), onInput: this.onInput(index), onBlur: this.onBlur, onFocus: this.onFocus(index), onKeyDown: this.onKeyDown(index), onPaste: this.onPaste })), this.showSeparator(index) && hAsync("div", { class: "input-otp-separator" }))))), hAsync("div", { key: '262ead41c9401a2144e9d7b7bd85311e366d09b2', class: {
|
|
18081
18045
|
'input-otp-description': true,
|
|
18082
18046
|
'input-otp-description-hidden': !hasDescription,
|
|
18083
|
-
} }, hAsync("slot", { key: '
|
|
18047
|
+
} }, hAsync("slot", { key: '63a4b07ef5e3174cc75cdaed59305cdaebcfd1ad' }))));
|
|
18084
18048
|
}
|
|
18085
18049
|
get el() { return getElement(this); }
|
|
18086
18050
|
static get watchers() { return {
|
|
@@ -18180,16 +18144,16 @@ class InputPasswordToggle {
|
|
|
18180
18144
|
const showPasswordIcon = (_a = this.showIcon) !== null && _a !== void 0 ? _a : eye;
|
|
18181
18145
|
const hidePasswordIcon = (_b = this.hideIcon) !== null && _b !== void 0 ? _b : eyeOff;
|
|
18182
18146
|
const isPasswordVisible = type === 'text';
|
|
18183
|
-
return (hAsync(Host, { key: '
|
|
18147
|
+
return (hAsync(Host, { key: '07e26969f77ad361e358efe33a3b3728d9669017', class: createColorClasses$1(color, {
|
|
18184
18148
|
[mode]: true,
|
|
18185
|
-
}) }, hAsync("ion-button", { key: '
|
|
18149
|
+
}) }, hAsync("ion-button", { key: '9f21eaea5756844d37930d52d8d3013c9d476b9f', mode: mode, color: color, fill: "clear", shape: "round", "aria-checked": isPasswordVisible ? 'true' : 'false', "aria-label": isPasswordVisible ? 'Hide password' : 'Show password', role: "switch", type: "button", onPointerDown: (ev) => {
|
|
18186
18150
|
/**
|
|
18187
18151
|
* This prevents mobile browsers from
|
|
18188
18152
|
* blurring the input when the password toggle
|
|
18189
18153
|
* button is activated.
|
|
18190
18154
|
*/
|
|
18191
18155
|
ev.preventDefault();
|
|
18192
|
-
}, onClick: this.togglePasswordVisibility }, hAsync("ion-icon", { key: '
|
|
18156
|
+
}, onClick: this.togglePasswordVisibility }, hAsync("ion-icon", { key: 'd7b1f55b77b71bf2c147f3bde83de1e9083f70ba', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? hidePasswordIcon : showPasswordIcon }))));
|
|
18193
18157
|
}
|
|
18194
18158
|
get el() { return getElement(this); }
|
|
18195
18159
|
static get watchers() { return {
|
|
@@ -18520,11 +18484,11 @@ class ItemDivider {
|
|
|
18520
18484
|
}
|
|
18521
18485
|
render() {
|
|
18522
18486
|
const mode = getIonMode$1(this);
|
|
18523
|
-
return (hAsync(Host, { key: '
|
|
18487
|
+
return (hAsync(Host, { key: 'ee8b2c8d5e415c0d8badf84fa7670932da4e809e', class: createColorClasses$1(this.color, {
|
|
18524
18488
|
[mode]: true,
|
|
18525
18489
|
'item-divider-sticky': this.sticky,
|
|
18526
18490
|
item: true,
|
|
18527
|
-
}) }, hAsync("slot", { key: '
|
|
18491
|
+
}) }, hAsync("slot", { key: 'a1b7bbb1a008b0a56887f130d166931033801746', name: "start" }), hAsync("div", { key: '9d572da46ab616bdf881098e96aa6796a249507f', class: "item-divider-inner" }, hAsync("div", { key: 'a57a2c17093b74b9e4f8fd2778230a440b293aa1', class: "item-divider-wrapper" }, hAsync("slot", { key: 'ef15ebf58f3acd4b4d1b7c51144e26c3759dba49' })), hAsync("slot", { key: '1787c2400534301fe72b8ec213d0ce1e8f75b65a', name: "end" }))));
|
|
18528
18492
|
}
|
|
18529
18493
|
get el() { return getElement(this); }
|
|
18530
18494
|
static get style() { return {
|
|
@@ -18554,7 +18518,7 @@ class ItemGroup {
|
|
|
18554
18518
|
}
|
|
18555
18519
|
render() {
|
|
18556
18520
|
const mode = getIonMode$1(this);
|
|
18557
|
-
return (hAsync(Host, { key: '
|
|
18521
|
+
return (hAsync(Host, { key: 'f1743af1d075682f63fae3802c5c5bf050507563', role: "group", class: {
|
|
18558
18522
|
[mode]: true,
|
|
18559
18523
|
// Used internally for styling
|
|
18560
18524
|
[`item-group-${mode}`]: true,
|
|
@@ -18624,12 +18588,12 @@ class ItemOption {
|
|
|
18624
18588
|
href: this.href,
|
|
18625
18589
|
target: this.target,
|
|
18626
18590
|
};
|
|
18627
|
-
return (hAsync(Host, { key: '
|
|
18591
|
+
return (hAsync(Host, { key: '058310ac361612c16f2ef70c74279ba7c24128c5', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
18628
18592
|
[mode]: true,
|
|
18629
18593
|
'item-option-disabled': disabled,
|
|
18630
18594
|
'item-option-expandable': expandable,
|
|
18631
18595
|
'ion-activatable': true,
|
|
18632
|
-
}) }, hAsync(TagType, Object.assign({ key: '
|
|
18596
|
+
}) }, hAsync(TagType, Object.assign({ key: '045052656ab652bec065d421950fe9ea00dc1141' }, attrs, { class: "button-native", part: "native", disabled: disabled }), hAsync("span", { key: '988b9166c0dda3c822a99ceace4c105339b2465b', class: "button-inner" }, hAsync("slot", { key: '8050b870ada6b09283f8acbcbb6d2bd1c76508b3', name: "top" }), hAsync("div", { key: 'a206e7b09e660c878ce3c5b61d018e8cdd89dc55', class: "horizontal-wrapper" }, hAsync("slot", { key: '394e5e4ce14cd19b5d5eafca29bb9f971f5f0741', name: "start" }), hAsync("slot", { key: 'dd4c3a1bee7622df40a3d8f2a298045b772f1600', name: "icon-only" }), hAsync("slot", { key: '318f3ec97b722c5e7df1a78b1e0439f919d0aacc' }), hAsync("slot", { key: 'fff6a9a602cf7bd698528982f91742a2d36ea245', name: "end" })), hAsync("slot", { key: '26b4bb155701d8080b486dbad7bb9a6d2e35182c', name: "bottom" })), mode === 'md' && hAsync("ion-ripple-effect", { key: '152b74643bf0f5725c39bfdbb940f0f32ec83d58' }))));
|
|
18633
18597
|
}
|
|
18634
18598
|
get el() { return getElement(this); }
|
|
18635
18599
|
static get style() { return {
|
|
@@ -18678,7 +18642,7 @@ class ItemOptions {
|
|
|
18678
18642
|
render() {
|
|
18679
18643
|
const mode = getIonMode$1(this);
|
|
18680
18644
|
const isEnd = isEndSide(this.side);
|
|
18681
|
-
return (hAsync(Host, { key: '
|
|
18645
|
+
return (hAsync(Host, { key: '7b4b93984182222c64c7a2a22a18e52ac19e3049', class: {
|
|
18682
18646
|
[mode]: true,
|
|
18683
18647
|
// Used internally for styling
|
|
18684
18648
|
[`item-options-${mode}`]: true,
|
|
@@ -19143,7 +19107,7 @@ class ItemSliding {
|
|
|
19143
19107
|
}
|
|
19144
19108
|
render() {
|
|
19145
19109
|
const mode = getIonMode$1(this);
|
|
19146
|
-
return (hAsync(Host, { key: '
|
|
19110
|
+
return (hAsync(Host, { key: '8fd81d74701402294a48b79c56d6eceadafd4881', class: {
|
|
19147
19111
|
[mode]: true,
|
|
19148
19112
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
19149
19113
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -19248,13 +19212,13 @@ class Label {
|
|
|
19248
19212
|
render() {
|
|
19249
19213
|
const position = this.position;
|
|
19250
19214
|
const mode = getIonMode$1(this);
|
|
19251
|
-
return (hAsync(Host, { key: '
|
|
19215
|
+
return (hAsync(Host, { key: '684ddfa719e34d743489ff05a0df067829257c73', class: createColorClasses$1(this.color, {
|
|
19252
19216
|
[mode]: true,
|
|
19253
19217
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
19254
19218
|
[`label-${position}`]: position !== undefined,
|
|
19255
19219
|
[`label-no-animate`]: this.noAnimate,
|
|
19256
19220
|
'label-rtl': document.dir === 'rtl',
|
|
19257
|
-
}) }, hAsync("slot", { key: '
|
|
19221
|
+
}) }, hAsync("slot", { key: '4aace3e2b36250e832c44f63bea21116d77220fb' })));
|
|
19258
19222
|
}
|
|
19259
19223
|
get el() { return getElement(this); }
|
|
19260
19224
|
static get watchers() { return {
|
|
@@ -19310,7 +19274,7 @@ class List {
|
|
|
19310
19274
|
render() {
|
|
19311
19275
|
const mode = getIonMode$1(this);
|
|
19312
19276
|
const { lines, inset } = this;
|
|
19313
|
-
return (hAsync(Host, { key: '
|
|
19277
|
+
return (hAsync(Host, { key: '76580117b59d26e355e89f49b385fa8db05026a2', role: "list", class: {
|
|
19314
19278
|
[mode]: true,
|
|
19315
19279
|
// Used internally for styling
|
|
19316
19280
|
[`list-${mode}`]: true,
|
|
@@ -19352,10 +19316,10 @@ class ListHeader {
|
|
|
19352
19316
|
render() {
|
|
19353
19317
|
const { lines } = this;
|
|
19354
19318
|
const mode = getIonMode$1(this);
|
|
19355
|
-
return (hAsync(Host, { key: '
|
|
19319
|
+
return (hAsync(Host, { key: '2e529021279761b2b2889885437f619b0e8f71c4', class: createColorClasses$1(this.color, {
|
|
19356
19320
|
[mode]: true,
|
|
19357
19321
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
19358
|
-
}) }, hAsync("div", { key: '
|
|
19322
|
+
}) }, hAsync("div", { key: '9a6a11b0db015df79374f6489a40b959bc80b3e4', class: "list-header-inner" }, hAsync("slot", { key: 'ef347fc6afb47850797e2e4d1aeefcd6a318f789' }))));
|
|
19359
19323
|
}
|
|
19360
19324
|
static get style() { return {
|
|
19361
19325
|
ios: listHeaderIosCss,
|
|
@@ -19640,9 +19604,9 @@ class Loading {
|
|
|
19640
19604
|
* Otherwise, don't set aria-labelledby.
|
|
19641
19605
|
*/
|
|
19642
19606
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
19643
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
19607
|
+
return (hAsync(Host, Object.assign({ key: 'f86ddbc600cb5c396b7de38fb5f49625388c3c3f', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
19644
19608
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
19645
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: '
|
|
19609
|
+
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: 'b53727aaddc37ef3c685fcc150c6d5193290a847', visible: this.showBackdrop, tappable: this.backdropDismiss }), hAsync("div", { key: '4c61bede8e0a4e47daa6f1f9d0f364ef6aec0bc3', tabindex: "0", "aria-hidden": "true" }), hAsync("div", { key: '84e51ceb07118f1eaeb757df28801c255496931b', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (hAsync("div", { key: 'fc97f1912e0fc558b7c309a5bc084415f5f620b2', class: "loading-spinner" }, hAsync("ion-spinner", { key: '6e186d856cd3f10f22c3e317ef00f31b4216459c', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), hAsync("div", { key: 'dcbe9d9a619daa1c08174e73827bdabeb59dde92', tabindex: "0", "aria-hidden": "true" })));
|
|
19646
19610
|
}
|
|
19647
19611
|
get el() { return getElement(this); }
|
|
19648
19612
|
static get watchers() { return {
|
|
@@ -20691,14 +20655,14 @@ class Menu {
|
|
|
20691
20655
|
* the ionBackButton listener in the menu controller
|
|
20692
20656
|
* will handle closing the menu when Escape is pressed.
|
|
20693
20657
|
*/
|
|
20694
|
-
return (hAsync(Host, { key: '
|
|
20658
|
+
return (hAsync(Host, { key: '29ef73894e2795e4ce23e59888ffb87faf4dd543', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
20695
20659
|
[mode]: true,
|
|
20696
20660
|
[`menu-type-${type}`]: true,
|
|
20697
20661
|
'menu-enabled': !disabled,
|
|
20698
20662
|
[`menu-side-${side}`]: true,
|
|
20699
20663
|
'menu-pane-visible': isPaneVisible,
|
|
20700
20664
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
20701
|
-
} }, hAsync("div", { key: '
|
|
20665
|
+
} }, hAsync("div", { key: '22e44f7bd602ee0c96550f0dfc22ac81c0033ad6', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, hAsync("slot", { key: '7bbef92fe03bb3ce4d3981eb8535aab449aab2fc' })), hAsync("ion-backdrop", { key: '9ab8d5b61563e16b212c71c03869d4fc23a0400b', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
20702
20666
|
}
|
|
20703
20667
|
get el() { return getElement(this); }
|
|
20704
20668
|
static get watchers() { return {
|
|
@@ -20806,7 +20770,7 @@ class MenuButton {
|
|
|
20806
20770
|
type: this.type,
|
|
20807
20771
|
};
|
|
20808
20772
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
20809
|
-
return (hAsync(Host, { key: '
|
|
20773
|
+
return (hAsync(Host, { key: 'dcade732e366f0687d92cb9ce4065b78b0b41d24', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses$1(color, {
|
|
20810
20774
|
[mode]: true,
|
|
20811
20775
|
button: true, // ion-buttons target .button
|
|
20812
20776
|
'menu-button-hidden': hidden,
|
|
@@ -20815,7 +20779,7 @@ class MenuButton {
|
|
|
20815
20779
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
20816
20780
|
'ion-activatable': true,
|
|
20817
20781
|
'ion-focusable': true,
|
|
20818
|
-
}) }, hAsync("button", Object.assign({ key: '
|
|
20782
|
+
}) }, hAsync("button", Object.assign({ key: '7c4a449e239679376f38471d95fd602f9caec5f6' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), hAsync("span", { key: '8bb5bf453280a66109198c970b678ad800c7a8cf', class: "button-inner" }, hAsync("slot", { key: '7f78b1e7a0695f2bd600d13ca81f50dd8b965726' }, hAsync("ion-icon", { key: '9f67f5bb06b1f03a6e5df9ecbe23ebf69fb40756', part: "icon", icon: menuIcon, mode: mode, lazy: false, "aria-hidden": "true" }))), mode === 'md' && hAsync("ion-ripple-effect", { key: '10be7145c614144e94c3cc0b92dc5ee4e1587fe6', type: "unbounded" }))));
|
|
20819
20783
|
}
|
|
20820
20784
|
get el() { return getElement(this); }
|
|
20821
20785
|
static get style() { return {
|
|
@@ -20868,10 +20832,10 @@ class MenuToggle {
|
|
|
20868
20832
|
render() {
|
|
20869
20833
|
const mode = getIonMode$1(this);
|
|
20870
20834
|
const hidden = this.autoHide && !this.visible;
|
|
20871
|
-
return (hAsync(Host, { key: '
|
|
20835
|
+
return (hAsync(Host, { key: '55135952f3a42cb5d21916dfb7b169d894b381e3', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
20872
20836
|
[mode]: true,
|
|
20873
20837
|
'menu-toggle-hidden': hidden,
|
|
20874
|
-
} }, hAsync("slot", { key: '
|
|
20838
|
+
} }, hAsync("slot", { key: 'e8ecb59a6ec075b07e2a1b8fcdf7df3dd9975a03' })));
|
|
20875
20839
|
}
|
|
20876
20840
|
static get style() { return menuToggleCss; }
|
|
20877
20841
|
static get cmpMeta() { return {
|
|
@@ -23708,20 +23672,20 @@ class Modal {
|
|
|
23708
23672
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
23709
23673
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
23710
23674
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
23711
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
23675
|
+
return (hAsync(Host, Object.assign({ key: '09af3299b0bd1daa5004fceed6d4246ebae57088', "no-router": true,
|
|
23712
23676
|
// Allow the modal to be navigable when the handle is focusable
|
|
23713
23677
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
23714
23678
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
23715
|
-
}, 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: '
|
|
23679
|
+
}, 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: '472105fd981d02b596d109a396a2ee26cb03df07', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && hAsync("div", { key: '7312e6a55141c2cc8f7e12f9a3172fcb8b0a4fdf', class: "modal-shadow" }), hAsync("div", Object.assign({ key: '5f603333d4f4f73da0b0e93a3ea2ffdcccec079d',
|
|
23716
23680
|
/*
|
|
23717
23681
|
role and aria-modal must be used on the
|
|
23718
23682
|
same element. They must also be set inside the
|
|
23719
23683
|
shadow DOM otherwise ion-button will not be highlighted
|
|
23720
23684
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
23721
23685
|
*/
|
|
23722
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: '
|
|
23686
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: 'c99e0e874713c3bf97a896c52658a04c7dc37826', class: "modal-handle",
|
|
23723
23687
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
23724
|
-
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: '
|
|
23688
|
+
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: '0afbfc8723876be1c70c815e51a711258a454e53', onSlotchange: this.onSlotChange }))));
|
|
23725
23689
|
}
|
|
23726
23690
|
get el() { return getElement(this); }
|
|
23727
23691
|
static get watchers() { return {
|
|
@@ -24669,7 +24633,7 @@ class Nav {
|
|
|
24669
24633
|
}
|
|
24670
24634
|
}
|
|
24671
24635
|
render() {
|
|
24672
|
-
return hAsync("slot", { key: '
|
|
24636
|
+
return hAsync("slot", { key: 'a549286b51b1bb23c9ef51f71148452228d0ab14' });
|
|
24673
24637
|
}
|
|
24674
24638
|
get el() { return getElement(this); }
|
|
24675
24639
|
static get watchers() { return {
|
|
@@ -24742,7 +24706,7 @@ class NavLink {
|
|
|
24742
24706
|
};
|
|
24743
24707
|
}
|
|
24744
24708
|
render() {
|
|
24745
|
-
return hAsync(Host, { key: '
|
|
24709
|
+
return hAsync(Host, { key: 'd4d80feb51c0d92b0bedf6952c892f9df3002046', onClick: this.onClick });
|
|
24746
24710
|
}
|
|
24747
24711
|
get el() { return getElement(this); }
|
|
24748
24712
|
static get cmpMeta() { return {
|
|
@@ -24773,9 +24737,9 @@ class Note {
|
|
|
24773
24737
|
}
|
|
24774
24738
|
render() {
|
|
24775
24739
|
const mode = getIonMode$1(this);
|
|
24776
|
-
return (hAsync(Host, { key: '
|
|
24740
|
+
return (hAsync(Host, { key: 'b86a6acc9274df6528d224d4c11ab826a0f84dbc', class: createColorClasses$1(this.color, {
|
|
24777
24741
|
[mode]: true,
|
|
24778
|
-
}) }, hAsync("slot", { key: '
|
|
24742
|
+
}) }, hAsync("slot", { key: '5de76567ed7713827cd277a42db102faf34190c8' })));
|
|
24779
24743
|
}
|
|
24780
24744
|
static get style() { return {
|
|
24781
24745
|
ios: noteIosCss,
|
|
@@ -25247,7 +25211,7 @@ let Picker$1 = class Picker {
|
|
|
25247
25211
|
this.emitInputModeChange();
|
|
25248
25212
|
}
|
|
25249
25213
|
render() {
|
|
25250
|
-
return (hAsync(Host, { key: '
|
|
25214
|
+
return (hAsync(Host, { key: '2546ff9e4f6bb9f880600903cdfad67be2df014d', onPointerDown: (ev) => this.onPointerDown(ev), onClick: () => this.onClick() }, hAsync("input", { key: '58337ea0f6e3aba819fc48bad7dc0847251f72f1', "aria-hidden": "true", tabindex: -1, inputmode: "numeric", type: "number", onKeyDown: (ev) => {
|
|
25251
25215
|
var _a;
|
|
25252
25216
|
/**
|
|
25253
25217
|
* The "Enter" key represents
|
|
@@ -25262,7 +25226,7 @@ let Picker$1 = class Picker {
|
|
|
25262
25226
|
if (ev.key === 'Enter') {
|
|
25263
25227
|
(_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.blur();
|
|
25264
25228
|
}
|
|
25265
|
-
}, ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), hAsync("div", { key: '
|
|
25229
|
+
}, ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), hAsync("div", { key: '395fa256c886725de0c562d05c9da8ac8defbede', class: "picker-before" }), hAsync("div", { key: '3471738349700fe3e9c7425a455132e2fd6e3224', class: "picker-after" }), hAsync("div", { key: '37557bd2cfb57db4b3b98a2063f5b733c40debb8', class: "picker-highlight", ref: (el) => (this.highlightEl = el) }), hAsync("slot", { key: '2d133fb7e178f95d02dd362a503c86abd3bb8e8d' })));
|
|
25266
25230
|
}
|
|
25267
25231
|
get el() { return getElement(this); }
|
|
25268
25232
|
static get style() { return {
|
|
@@ -25535,11 +25499,11 @@ class Picker {
|
|
|
25535
25499
|
render() {
|
|
25536
25500
|
const { htmlAttributes } = this;
|
|
25537
25501
|
const mode = getIonMode$1(this);
|
|
25538
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
25502
|
+
return (hAsync(Host, Object.assign({ key: '80f66d33780d8a1352d24be9cb63a0cc03d01ab5', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
25539
25503
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
25540
25504
|
}, class: Object.assign({ [mode]: true,
|
|
25541
25505
|
// Used internally for styling
|
|
25542
|
-
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: '
|
|
25506
|
+
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: '97fb8e10ba08b197610cb8c0cdea61103883d55f', visible: this.showBackdrop, tappable: this.backdropDismiss }), hAsync("div", { key: 'b3969cb6fbf7153623d14e3ca1493d3370efb211', tabindex: "0", "aria-hidden": "true" }), hAsync("div", { key: '299268483c3727e698d9135bfdf40349a7050ac1', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, hAsync("div", { key: '95394de3ef691899b7dbf416f56fd3e86bbdce3f', class: "picker-toolbar" }, this.buttons.map((b) => (hAsync("div", { class: buttonWrapperClass(b) }, hAsync("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass$1(b) }, b.text))))), hAsync("div", { key: '05f18bb8d00dc0e22f691b7e41f90f729a6c66d7', class: "picker-columns" }, hAsync("div", { key: '4a8fdf224effc0af67fd413e2e6aca8a78d1cf43', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => hAsync("ion-picker-legacy-column", { col: c })), hAsync("div", { key: 'e50a31db45e3f39e9d0fed36a21be9257eec09bf', class: "picker-below-highlight" }))), hAsync("div", { key: '5a78cb2176ac807ea0c195c6b76cd0e8eef9d4c0', tabindex: "0", "aria-hidden": "true" })));
|
|
25543
25507
|
}
|
|
25544
25508
|
get el() { return getElement(this); }
|
|
25545
25509
|
static get watchers() { return {
|
|
@@ -26137,14 +26101,14 @@ class PickerColumn {
|
|
|
26137
26101
|
render() {
|
|
26138
26102
|
const { color, disabled, isActive, numericInput } = this;
|
|
26139
26103
|
const mode = getIonMode$1(this);
|
|
26140
|
-
return (hAsync(Host, { key: '
|
|
26104
|
+
return (hAsync(Host, { key: 'fc7176e47e8d8776060197343b4c15c09f312528', class: createColorClasses$1(color, {
|
|
26141
26105
|
[mode]: true,
|
|
26142
26106
|
['picker-column-active']: isActive,
|
|
26143
26107
|
['picker-column-numeric-input']: numericInput,
|
|
26144
26108
|
['picker-column-disabled']: disabled,
|
|
26145
|
-
}) }, hAsync("slot", { key: '
|
|
26109
|
+
}) }, hAsync("slot", { key: 'fce09abdcc48afa64fd5f869b1614f9e564b6759', name: "prefix" }), hAsync("div", { key: 'fbadc7cfa4965238a1ce5d47cb3bb258fa0214a1', class: "picker-opts", ref: (el) => {
|
|
26146
26110
|
this.scrollEl = el;
|
|
26147
|
-
}, 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: '
|
|
26111
|
+
}, 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: '9f1ba897db0a0469a77cf12f846cc80fea94f596', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("div", { key: '8265d65d90c512e70c20ca9023502610c0b9fc62', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("div", { key: 'fd0e92a13eeea72f68f43e25ce47b357e5fc431f', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("slot", { key: '63cf74b36e665540c6e2dc038e5581d9e7016983' }), hAsync("div", { key: '48550abba1a52a57b195d7815265e19b3941e5db', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("div", { key: '06a739f9bbf18f4f45d613f88a6d803bda60afd1', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("div", { key: '416effc018a21e72b5a197abc9cc49d05efcda7c', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0")), hAsync("slot", { key: '28fdc95c318b0c76a609e12a9b4e17238ba15f8e', name: "suffix" })));
|
|
26148
26112
|
}
|
|
26149
26113
|
get el() { return getElement(this); }
|
|
26150
26114
|
static get watchers() { return {
|
|
@@ -26508,9 +26472,9 @@ class PickerColumnCmp {
|
|
|
26508
26472
|
render() {
|
|
26509
26473
|
const col = this.col;
|
|
26510
26474
|
const mode = getIonMode$1(this);
|
|
26511
|
-
return (hAsync(Host, { key: '
|
|
26475
|
+
return (hAsync(Host, { key: '86125e95f18837dfd021db01777d72a1562d8ee3', class: Object.assign({ [mode]: true, 'picker-col': true, 'picker-opts-left': this.col.align === 'left', 'picker-opts-right': this.col.align === 'right' }, getClassMap(col.cssClass)), style: {
|
|
26512
26476
|
'max-width': this.col.columnWidth,
|
|
26513
|
-
} }, col.prefix && (hAsync("div", { key: '
|
|
26477
|
+
} }, col.prefix && (hAsync("div", { key: 'b0f3d39e0bd128781066ffefb7a1e40d12a9e76d', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), hAsync("div", { key: '0b106ac4d56916eaaa7f09d1b68348b3754b7bba', class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: (el) => (this.optsEl = el) }, col.options.map((o, index) => (hAsync("button", { "aria-label": o.ariaLabel, class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index }, o.text)))), col.suffix && (hAsync("div", { key: '00ff2f9dbb4561787e5a5223327c6a2a33f8362e', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
26514
26478
|
}
|
|
26515
26479
|
get el() { return getElement(this); }
|
|
26516
26480
|
static get watchers() { return {
|
|
@@ -26627,10 +26591,10 @@ class PickerColumnOption {
|
|
|
26627
26591
|
render() {
|
|
26628
26592
|
const { color, disabled, ariaLabel } = this;
|
|
26629
26593
|
const mode = getIonMode$1(this);
|
|
26630
|
-
return (hAsync(Host, { key: '
|
|
26594
|
+
return (hAsync(Host, { key: 'c45a1c14a351bf57d7113671164852349be5aa8a', class: createColorClasses$1(color, {
|
|
26631
26595
|
[mode]: true,
|
|
26632
26596
|
['option-disabled']: disabled,
|
|
26633
|
-
}) }, hAsync("div", { key: '
|
|
26597
|
+
}) }, hAsync("div", { key: '824930b658c6e3fb493ac4c6c2451d38c6bc4829', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, hAsync("slot", { key: '019df4dcf46e629bdbebcd46ed3ab29669feab27' }))));
|
|
26634
26598
|
}
|
|
26635
26599
|
get el() { return getElement(this); }
|
|
26636
26600
|
static get watchers() { return {
|
|
@@ -28071,9 +28035,9 @@ class Popover {
|
|
|
28071
28035
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
28072
28036
|
const desktop = isPlatform('desktop');
|
|
28073
28037
|
const enableArrow = arrow && !parentPopover;
|
|
28074
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
28038
|
+
return (hAsync(Host, Object.assign({ key: '2edd8333c630efbce59071f8a383e4326e928dbc', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
28075
28039
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
28076
|
-
}, 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: '
|
|
28040
|
+
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && hAsync("ion-backdrop", { key: 'aac4e68b08197534375e8ea3f8c9ea0c10ab2af4', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), hAsync("div", { key: 'b7f4ebf57d4148b32856b0075d286f454be8de5d', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && hAsync("div", { key: '607d94c28d73e8e957175a7c0f6e8a99ec4dcd53', class: "popover-arrow", part: "arrow" }), hAsync("div", { key: '4366a5a5de550c09895e923f345583508e1ec30c', class: "popover-content", part: "content" }, hAsync("slot", { key: 'eb7886fbc99c15b667b7d825d24f1c12d9380f03' })))));
|
|
28077
28041
|
}
|
|
28078
28042
|
get el() { return getElement(this); }
|
|
28079
28043
|
static get watchers() { return {
|
|
@@ -28178,7 +28142,7 @@ class ProgressBar {
|
|
|
28178
28142
|
const mode = getIonMode$1(this);
|
|
28179
28143
|
// If the progress is displayed as a solid bar.
|
|
28180
28144
|
const progressSolid = buffer === 1;
|
|
28181
|
-
return (hAsync(Host, { key: '
|
|
28145
|
+
return (hAsync(Host, { key: 'c859e48f3d24a458239e36d925e5dc003ed07c6b', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses$1(color, {
|
|
28182
28146
|
[mode]: true,
|
|
28183
28147
|
[`progress-bar-${type}`]: true,
|
|
28184
28148
|
'progress-paused': paused,
|
|
@@ -28363,7 +28327,7 @@ class Radio {
|
|
|
28363
28327
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
28364
28328
|
const mode = getIonMode$1(this);
|
|
28365
28329
|
const inItem = hostContext('ion-item', el);
|
|
28366
|
-
return (hAsync(Host, { key: '
|
|
28330
|
+
return (hAsync(Host, { key: 'af5dc59ed528150872e907ed1036e3e2decba939', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses$1(color, {
|
|
28367
28331
|
[mode]: true,
|
|
28368
28332
|
'in-item': inItem,
|
|
28369
28333
|
'radio-checked': checked,
|
|
@@ -28374,10 +28338,10 @@ class Radio {
|
|
|
28374
28338
|
// Focus and active styling should not apply when the radio is in an item
|
|
28375
28339
|
'ion-activatable': !inItem,
|
|
28376
28340
|
'ion-focusable': !inItem,
|
|
28377
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, hAsync("label", { key: '
|
|
28341
|
+
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, hAsync("label", { key: '1312aba3259a87fe23a6911cdfa477e309469c8b', class: "radio-wrapper" }, hAsync("div", { key: 'b342aa27e240a300836d2a135658d346b95daf09', class: {
|
|
28378
28342
|
'label-text-wrapper': true,
|
|
28379
28343
|
'label-text-wrapper-hidden': !hasLabel,
|
|
28380
|
-
}, part: "label" }, hAsync("slot", { key: '
|
|
28344
|
+
}, part: "label" }, hAsync("slot", { key: '0a4613d29aa783d1882cf889377f7e4fd4fea51d' })), hAsync("div", { key: '191faea79dc4cd8befc4b873f5bd9f5af8ca2acc', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
28381
28345
|
}
|
|
28382
28346
|
get el() { return getElement(this); }
|
|
28383
28347
|
static get watchers() { return {
|
|
@@ -28616,7 +28580,7 @@ class RadioGroup {
|
|
|
28616
28580
|
const { label, labelId, el, name, value } = this;
|
|
28617
28581
|
const mode = getIonMode$1(this);
|
|
28618
28582
|
renderHiddenInput(true, el, name, value, false);
|
|
28619
|
-
return (hAsync(Host, { key: '
|
|
28583
|
+
return (hAsync(Host, { key: '9434938f48ea6c7405009704c05b4f01bb1e1293', role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick, class: mode }, this.renderHintText(), hAsync("div", { key: 'ee6796dedb5dc3abaf5129e906145dfcfa90dc99', class: "radio-group-wrapper" }, hAsync("slot", { key: 'e6a44dd32ee0e193fe73244286258b37f1aaa09b' }))));
|
|
28620
28584
|
}
|
|
28621
28585
|
get el() { return getElement(this); }
|
|
28622
28586
|
static get watchers() { return {
|
|
@@ -29376,7 +29340,7 @@ class Range {
|
|
|
29376
29340
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
29377
29341
|
const mode = getIonMode$1(this);
|
|
29378
29342
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
29379
|
-
return (hAsync(Host, { key: '
|
|
29343
|
+
return (hAsync(Host, { key: 'affcac4709096a48a5b4c1864b209b6352f6b078', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses$1(this.color, {
|
|
29380
29344
|
[mode]: true,
|
|
29381
29345
|
'in-item': inItem,
|
|
29382
29346
|
'range-disabled': disabled,
|
|
@@ -29385,10 +29349,10 @@ class Range {
|
|
|
29385
29349
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
29386
29350
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
29387
29351
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
29388
|
-
}) }, hAsync("label", { key: '
|
|
29352
|
+
}) }, hAsync("label", { key: 'c7cf95fa831d10b17c137995d0a9e0cf84006a76', class: "range-wrapper", id: "range-label" }, hAsync("div", { key: '5b8479c7939ae0f94a042c3aafd64316e4577d30', class: {
|
|
29389
29353
|
'label-text-wrapper': true,
|
|
29390
29354
|
'label-text-wrapper-hidden': !hasLabel,
|
|
29391
|
-
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '
|
|
29355
|
+
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '3c275d822b29a8008e044722e8b6bdabd3ecfad7', class: "native-wrapper" }, hAsync("slot", { key: '03c849d0aa708914984ad57ca292bc5fc66ecad5', name: "start" }), this.renderRangeSlider(), hAsync("slot", { key: '10ca7b8152cac00b45d8fa98ad91410f59fd176a', name: "end" })))));
|
|
29392
29356
|
}
|
|
29393
29357
|
get el() { return getElement(this); }
|
|
29394
29358
|
static get watchers() { return {
|
|
@@ -30355,7 +30319,7 @@ class Refresher {
|
|
|
30355
30319
|
}
|
|
30356
30320
|
render() {
|
|
30357
30321
|
const mode = getIonMode$1(this);
|
|
30358
|
-
return (hAsync(Host, { key: '
|
|
30322
|
+
return (hAsync(Host, { key: '06d61cc53260ce146dd6906cc96597e9baaa17cf', slot: "fixed", class: {
|
|
30359
30323
|
[mode]: true,
|
|
30360
30324
|
// Used internally for styling
|
|
30361
30325
|
[`refresher-${mode}`]: true,
|
|
@@ -30579,7 +30543,7 @@ class RefresherContent {
|
|
|
30579
30543
|
const pullingIcon = this.pullingIcon;
|
|
30580
30544
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
30581
30545
|
const mode = getIonMode$1(this);
|
|
30582
|
-
return (hAsync(Host, { key: '
|
|
30546
|
+
return (hAsync(Host, { key: '4add42b9fdfded359d1b054d04c2c6ff48e028c8', class: mode }, hAsync("div", { key: '45d4e4e0adfed7f96dd1849767aa2cde947de044', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (hAsync("div", { key: '6bd6c8ef5bf6e10699eec3bd8646431bfe1077a0', class: "refresher-pulling-icon" }, hAsync("div", { key: '852d20414da53352c8e58bc627e0fda38eff97cb', class: "spinner-arrow-container" }, hAsync("ion-spinner", { key: '0dde3578a80cc4b77a07c4d1db1af80c7eb10c27', name: this.pullingIcon, paused: true }), mode === 'md' && this.pullingIcon === 'circular' && (hAsync("div", { key: 'c71dbfcf416a19c30fed38f722ebf0358c2181dd', class: "arrow-container" }, hAsync("ion-icon", { key: 'fa7c2cf624e7a9c41964e66cabc88c594da6d1fd', icon: caretBackSharp, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (hAsync("div", { key: '3dd68c9968b421c379d1c4349ba619ee0a189c6d', class: "refresher-pulling-icon" }, hAsync("ion-icon", { key: 'f83bceceae4fa8245f91939fb6db589a595e975b', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), hAsync("div", { key: '98e22ceb0f7883e871f815f6199f5cb313e2e086', class: "refresher-refreshing" }, this.refreshingSpinner && (hAsync("div", { key: 'faabe8a9b61c02a00994ef978bb82b9ba4537214', class: "refresher-refreshing-icon" }, hAsync("ion-spinner", { key: '029a0c073ee1a07f01211e12ba2abc985cf21ed7', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
30583
30547
|
}
|
|
30584
30548
|
get el() { return getElement(this); }
|
|
30585
30549
|
static get cmpMeta() { return {
|
|
@@ -30620,7 +30584,7 @@ class Reorder {
|
|
|
30620
30584
|
render() {
|
|
30621
30585
|
const mode = getIonMode$1(this);
|
|
30622
30586
|
const reorderIcon = mode === 'ios' ? reorderThreeOutline : reorderTwoSharp;
|
|
30623
|
-
return (hAsync(Host, { key: '
|
|
30587
|
+
return (hAsync(Host, { key: 'b869db61ca6393cf1476f2111a66b387b567c6d1', class: mode }, hAsync("slot", { key: 'a78edd1776835282b8b5c841377018f36c83296c' }, hAsync("ion-icon", { key: '7fb067c47bbb9a7258e5063f028282cc097d0f94', icon: reorderIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
30624
30588
|
}
|
|
30625
30589
|
get el() { return getElement(this); }
|
|
30626
30590
|
static get style() { return {
|
|
@@ -30891,7 +30855,7 @@ class ReorderGroup {
|
|
|
30891
30855
|
}
|
|
30892
30856
|
render() {
|
|
30893
30857
|
const mode = getIonMode$1(this);
|
|
30894
|
-
return (hAsync(Host, { key: '
|
|
30858
|
+
return (hAsync(Host, { key: '9527bbdedaab63d31f562c874a7332ea60c4b47b', class: {
|
|
30895
30859
|
[mode]: true,
|
|
30896
30860
|
'reorder-enabled': !this.disabled,
|
|
30897
30861
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -31007,7 +30971,7 @@ class RippleEffect {
|
|
|
31007
30971
|
}
|
|
31008
30972
|
render() {
|
|
31009
30973
|
const mode = getIonMode$1(this);
|
|
31010
|
-
return (hAsync(Host, { key: '
|
|
30974
|
+
return (hAsync(Host, { key: '3b59cbb44741569a7350f9638b4392add673b6f1', role: "presentation", class: {
|
|
31011
30975
|
[mode]: true,
|
|
31012
30976
|
unbounded: this.unbounded,
|
|
31013
30977
|
} }));
|
|
@@ -31966,10 +31930,10 @@ class RouterLink {
|
|
|
31966
31930
|
rel: this.rel,
|
|
31967
31931
|
target: this.target,
|
|
31968
31932
|
};
|
|
31969
|
-
return (hAsync(Host, { key: '
|
|
31933
|
+
return (hAsync(Host, { key: '8372835161d507c7b821b7536c55f912eb6ce704', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
31970
31934
|
[mode]: true,
|
|
31971
31935
|
'ion-activatable': true,
|
|
31972
|
-
}) }, hAsync("a", Object.assign({ key: '
|
|
31936
|
+
}) }, hAsync("a", Object.assign({ key: '315966e14a17760f3f64197e8315200039787897' }, attrs), hAsync("slot", { key: '95fc1697b884225e85e647dddcaa8f4af8b9a979' }))));
|
|
31973
31937
|
}
|
|
31974
31938
|
static get style() { return routerLinkCss; }
|
|
31975
31939
|
static get cmpMeta() { return {
|
|
@@ -32166,7 +32130,7 @@ class RouterOutlet {
|
|
|
32166
32130
|
return true;
|
|
32167
32131
|
}
|
|
32168
32132
|
render() {
|
|
32169
|
-
return hAsync("slot", { key: '
|
|
32133
|
+
return hAsync("slot", { key: '386c41745b61daba161cf75063da97fe29ba36cb' });
|
|
32170
32134
|
}
|
|
32171
32135
|
get el() { return getElement(this); }
|
|
32172
32136
|
static get watchers() { return {
|
|
@@ -32199,7 +32163,7 @@ class Row {
|
|
|
32199
32163
|
registerInstance(this, hostRef);
|
|
32200
32164
|
}
|
|
32201
32165
|
render() {
|
|
32202
|
-
return (hAsync(Host, { key: '
|
|
32166
|
+
return (hAsync(Host, { key: '8ba906a8cbea060a79ed658c9bf34906f0c11d38', class: getIonMode$1(this) }, hAsync("slot", { key: 'd1009176f45b588fa52c7d9eb336f3c6d3214bb8' })));
|
|
32203
32167
|
}
|
|
32204
32168
|
static get style() { return rowCss; }
|
|
32205
32169
|
static get cmpMeta() { return {
|
|
@@ -32640,8 +32604,8 @@ class Searchbar {
|
|
|
32640
32604
|
const clearIcon = this.clearIcon || (mode === 'ios' ? closeCircle : closeSharp);
|
|
32641
32605
|
const searchIcon = this.searchIcon || (mode === 'ios' ? searchOutline : searchSharp);
|
|
32642
32606
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
32643
|
-
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '
|
|
32644
|
-
return (hAsync(Host, { key: '
|
|
32607
|
+
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: 'bf574336a561a5bf66c771fb606a9b19adbecb68', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: mode === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, hAsync("div", { key: '747ad4368bda5044198259d5bc8f7be9e472e5af', "aria-hidden": "true" }, mode === 'md' ? (hAsync("ion-icon", { "aria-hidden": "true", mode: mode, icon: this.cancelButtonIcon, lazy: false })) : (cancelButtonText))));
|
|
32608
|
+
return (hAsync(Host, { key: 'bcc5b33a2859903ba11bfc5c611c6a2aaa71d06b', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses$1(this.color, {
|
|
32645
32609
|
[mode]: true,
|
|
32646
32610
|
'searchbar-animated': animated,
|
|
32647
32611
|
'searchbar-disabled': this.disabled,
|
|
@@ -32651,14 +32615,14 @@ class Searchbar {
|
|
|
32651
32615
|
'searchbar-has-focus': this.focused,
|
|
32652
32616
|
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
32653
32617
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
32654
|
-
}) }, hAsync("div", { key: '
|
|
32618
|
+
}) }, hAsync("div", { key: 'ac0dbf5ddd9c4eb6d714f45c62c44ba3d0bf034d', class: "searchbar-input-container" }, hAsync("input", Object.assign({ key: '4b9fdac1b0d5a7a68bf61a6beb00f166434d3e84', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), mode === 'md' && cancelButton, hAsync("ion-icon", { key: '32a889c48b3960560a3873061b4ac5a8a5ce532f', "aria-hidden": "true", mode: mode, icon: searchIcon, lazy: false, class: "searchbar-search-icon" }), hAsync("button", { key: '71222df691ef0b95008e619f755224d069ee9388', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
32655
32619
|
/**
|
|
32656
32620
|
* This prevents mobile browsers from
|
|
32657
32621
|
* blurring the input when the clear
|
|
32658
32622
|
* button is activated.
|
|
32659
32623
|
*/
|
|
32660
32624
|
ev.preventDefault();
|
|
32661
|
-
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: '
|
|
32625
|
+
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: 'f1c8c0bd8fbb655085875731d3ece387dbe2967e', "aria-hidden": "true", mode: mode, icon: clearIcon, lazy: false, class: "searchbar-clear-icon" }))), mode === 'ios' && cancelButton));
|
|
32662
32626
|
}
|
|
32663
32627
|
get el() { return getElement(this); }
|
|
32664
32628
|
static get watchers() { return {
|
|
@@ -33253,14 +33217,14 @@ class Segment {
|
|
|
33253
33217
|
}
|
|
33254
33218
|
render() {
|
|
33255
33219
|
const mode = getIonMode$1(this);
|
|
33256
|
-
return (hAsync(Host, { key: '
|
|
33220
|
+
return (hAsync(Host, { key: '725cc37b25c539fa5e3ae8d90530ae33ededc3de', role: "tablist", onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
33257
33221
|
[mode]: true,
|
|
33258
33222
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
33259
33223
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
33260
33224
|
'segment-activated': this.activated,
|
|
33261
33225
|
'segment-disabled': this.disabled,
|
|
33262
33226
|
'segment-scrollable': this.scrollable,
|
|
33263
|
-
}) }, hAsync("slot", { key: '
|
|
33227
|
+
}) }, hAsync("slot", { key: 'c51cf7ea50325866a9367d214e12bc3754870335', onSlotchange: this.onSlottedItemsChange })));
|
|
33264
33228
|
}
|
|
33265
33229
|
get el() { return getElement(this); }
|
|
33266
33230
|
static get watchers() { return {
|
|
@@ -33400,7 +33364,7 @@ class SegmentButton {
|
|
|
33400
33364
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
33401
33365
|
const mode = getIonMode$1(this);
|
|
33402
33366
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
33403
|
-
return (hAsync(Host, { key: '
|
|
33367
|
+
return (hAsync(Host, { key: 'f69e2a24198a7c57543dbe66902da039a6569c64', class: {
|
|
33404
33368
|
[mode]: true,
|
|
33405
33369
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
33406
33370
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -33416,7 +33380,7 @@ class SegmentButton {
|
|
|
33416
33380
|
'ion-activatable': true,
|
|
33417
33381
|
'ion-activatable-instant': true,
|
|
33418
33382
|
'ion-focusable': true,
|
|
33419
|
-
} }, hAsync("button", Object.assign({ key: '
|
|
33383
|
+
} }, hAsync("button", Object.assign({ key: '0a6fea3a374074af19f7ece0ba3a7cf1e269ab6d', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), hAsync("span", { key: '991018a38c59a6f3d76b2e952e5569c874d2c13e', class: "button-inner" }, hAsync("slot", { key: '23c547c80108025027b913c7fcbec189286627a3' })), mode === 'md' && hAsync("ion-ripple-effect", { key: '7faa9d06ab6aa7346d16b0b6808979759a79650c' })), hAsync("div", { key: '0d61badf2c227dc38e20185b2b2bb590a5efa434', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, hAsync("div", { key: 'a84035752b78491c344179d1e61d109fb4bd1cf1', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
33420
33384
|
}
|
|
33421
33385
|
get el() { return getElement(this); }
|
|
33422
33386
|
static get watchers() { return {
|
|
@@ -33451,7 +33415,7 @@ class SegmentContent {
|
|
|
33451
33415
|
registerInstance(this, hostRef);
|
|
33452
33416
|
}
|
|
33453
33417
|
render() {
|
|
33454
|
-
return (hAsync(Host, { key: '
|
|
33418
|
+
return (hAsync(Host, { key: '665f41a854621f898eaf7ba9a49e77cc9326501e' }, hAsync("slot", { key: '635aa57fbf6167dcd36fe8dc5dfc1c313637ac04' })));
|
|
33455
33419
|
}
|
|
33456
33420
|
static get style() { return segmentContentCss; }
|
|
33457
33421
|
static get cmpMeta() { return {
|
|
@@ -33566,10 +33530,10 @@ class SegmentView {
|
|
|
33566
33530
|
}
|
|
33567
33531
|
render() {
|
|
33568
33532
|
const { disabled, isManualScroll } = this;
|
|
33569
|
-
return (hAsync(Host, { key: '
|
|
33533
|
+
return (hAsync(Host, { key: '1c9bfce83967a93d63c225031a5cd688509d8fc8', class: {
|
|
33570
33534
|
'segment-view-disabled': disabled,
|
|
33571
33535
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
33572
|
-
} }, hAsync("slot", { key: '
|
|
33536
|
+
} }, hAsync("slot", { key: '19fee034e76fffbdb5f622cb514037c00f9d55d5' })));
|
|
33573
33537
|
}
|
|
33574
33538
|
get el() { return getElement(this); }
|
|
33575
33539
|
static get style() { return {
|
|
@@ -34336,7 +34300,7 @@ class Select {
|
|
|
34336
34300
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
34337
34301
|
*/
|
|
34338
34302
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
34339
|
-
return (hAsync(Host, { key: '
|
|
34303
|
+
return (hAsync(Host, { key: '9f0a833ebc3df27a42146b07bcbb181c05f5e5c4', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
34340
34304
|
[mode]: true,
|
|
34341
34305
|
'in-item': inItem,
|
|
34342
34306
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -34354,7 +34318,7 @@ class Select {
|
|
|
34354
34318
|
[`select-justify-${justify}`]: justifyEnabled,
|
|
34355
34319
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
34356
34320
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
34357
|
-
}) }, hAsync("label", { key: '
|
|
34321
|
+
}) }, hAsync("label", { key: '4b32396d8557c0d1cba13440a11e66b8eb7b13a9', class: "select-wrapper", id: "select-label", onClick: this.onLabelClick }, this.renderLabelContainer(), hAsync("div", { key: 'd226cc8e30cd5202c235476cfa1632fc40bc609f', class: "select-wrapper-inner" }, hAsync("slot", { key: 'df813ff3b7de518c70ea4fedd25bcb965607026d', name: "start" }), hAsync("div", { key: '4a4e9348a136c598b7b08f80ecdcca268afec2d5', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), hAsync("slot", { key: 'f168d8b42a1e193ad27d09e5f1553b231f0332e5', name: "end" }), !hasFloatingOrStackedLabel && this.renderSelectIcon()), hasFloatingOrStackedLabel && this.renderSelectIcon(), shouldRenderHighlight && hAsync("div", { key: 'ec3deede22dd403cb16a08f532ae4809cf86a3e7', class: "select-highlight" })), this.renderBottomContent()));
|
|
34358
34322
|
}
|
|
34359
34323
|
get el() { return getElement(this); }
|
|
34360
34324
|
static get watchers() { return {
|
|
@@ -34515,7 +34479,7 @@ class SelectModal {
|
|
|
34515
34479
|
} }, option.text))));
|
|
34516
34480
|
}
|
|
34517
34481
|
render() {
|
|
34518
|
-
return (hAsync(Host, { key: '
|
|
34482
|
+
return (hAsync(Host, { key: '5bffdb106e6f628dae2e2aeb9ee8008b5c547b3a', class: getIonMode$1(this) }, hAsync("ion-header", { key: '4de1c33b0504372f8a0a26123e4e086080ee1ecb' }, hAsync("ion-toolbar", { key: '5d55a67d1db4352c260e9e0457d5dac6110b6598' }, this.header !== undefined && hAsync("ion-title", { key: '4f07fe8a9af8c9bd0852af2a9b95517d16356e50' }, this.header), hAsync("ion-buttons", { key: 'ca676a34f7cd3dd6b465b0d803434c2e2c8536c5', slot: "end" }, hAsync("ion-button", { key: '801ed63a357c7c9d354668851db65e5c1b0e1abe', onClick: () => this.closeModal() }, "Close")))), hAsync("ion-content", { key: 'f3c239ec9d84b8ed7413ea9db6efa18e29aca285' }, hAsync("ion-list", { key: '40c157e9abe477171a39ae7e6e1cd4ed08735cb4' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
|
|
34519
34483
|
}
|
|
34520
34484
|
get el() { return getElement(this); }
|
|
34521
34485
|
static get style() { return {
|
|
@@ -34549,7 +34513,7 @@ class SelectOption {
|
|
|
34549
34513
|
this.disabled = false;
|
|
34550
34514
|
}
|
|
34551
34515
|
render() {
|
|
34552
|
-
return hAsync(Host, { key: '
|
|
34516
|
+
return hAsync(Host, { key: '824730b6c1e4f15b716e91b05840e890af5f1577', role: "option", id: this.inputId, class: getIonMode$1(this) });
|
|
34553
34517
|
}
|
|
34554
34518
|
get el() { return getElement(this); }
|
|
34555
34519
|
static get style() { return selectOptionCss; }
|
|
@@ -34666,7 +34630,7 @@ class SelectPopover {
|
|
|
34666
34630
|
render() {
|
|
34667
34631
|
const { header, message, options, subHeader } = this;
|
|
34668
34632
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
34669
|
-
return (hAsync(Host, { key: '
|
|
34633
|
+
return (hAsync(Host, { key: '0c9845a40d3fc392b0a7d64e2a6ed27d94bb7634', class: getIonMode$1(this) }, hAsync("ion-list", { key: '84a30f6661b0f8c00e6fa199658ed2adbcf27358' }, header !== undefined && hAsync("ion-list-header", { key: '13f5f56bbfbc06751fa516291a2da72629b60ece' }, header), hasSubHeaderOrMessage && (hAsync("ion-item", { key: '3d39d18e720e798bbde334e79e6832091c7dfb81' }, hAsync("ion-label", { key: 'd3051b0d140120b44bf5e79572f6f287e7cfb03a', class: "ion-text-wrap" }, subHeader !== undefined && hAsync("h3", { key: 'b16805956f3316f8ec703c123b76f717488e8637' }, subHeader), message !== undefined && hAsync("p", { key: '2215ac4ab4146a14e75a79192e319a8016286b5f' }, message)))), this.renderOptions(options))));
|
|
34670
34634
|
}
|
|
34671
34635
|
get el() { return getElement(this); }
|
|
34672
34636
|
static get style() { return {
|
|
@@ -34716,11 +34680,11 @@ class SkeletonText {
|
|
|
34716
34680
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
34717
34681
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
34718
34682
|
const mode = getIonMode$1(this);
|
|
34719
|
-
return (hAsync(Host, { key: '
|
|
34683
|
+
return (hAsync(Host, { key: 'cb8da9aba121811b9a4ffdae60ed88105897cb3c', class: {
|
|
34720
34684
|
[mode]: true,
|
|
34721
34685
|
'skeleton-text-animated': animated,
|
|
34722
34686
|
'in-media': inMedia,
|
|
34723
|
-
} }, hAsync("span", { key: '
|
|
34687
|
+
} }, hAsync("span", { key: '5379deee3c76d46d615be0cba14b4f60129ffa25' }, "\u00A0")));
|
|
34724
34688
|
}
|
|
34725
34689
|
get el() { return getElement(this); }
|
|
34726
34690
|
static get style() { return skeletonTextCss; }
|
|
@@ -34772,7 +34736,7 @@ class Spinner {
|
|
|
34772
34736
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
34773
34737
|
}
|
|
34774
34738
|
}
|
|
34775
|
-
return (hAsync(Host, { key: '
|
|
34739
|
+
return (hAsync(Host, { key: 'dd1954e557fa14b943e761474e29e4316ba53938', class: createColorClasses$1(self.color, {
|
|
34776
34740
|
[mode]: true,
|
|
34777
34741
|
[`spinner-${spinnerName}`]: true,
|
|
34778
34742
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -34871,12 +34835,12 @@ class SplitPane {
|
|
|
34871
34835
|
}
|
|
34872
34836
|
render() {
|
|
34873
34837
|
const mode = getIonMode$1(this);
|
|
34874
|
-
return (hAsync(Host, { key: '
|
|
34838
|
+
return (hAsync(Host, { key: '05c88c009fbe2e223fd261760a2b49da1653ff62', class: {
|
|
34875
34839
|
[mode]: true,
|
|
34876
34840
|
// Used internally for styling
|
|
34877
34841
|
[`split-pane-${mode}`]: true,
|
|
34878
34842
|
'split-pane-visible': this.visible,
|
|
34879
|
-
} }, hAsync("slot", { key: '
|
|
34843
|
+
} }, hAsync("slot", { key: 'b35865082661253c4468520d79234fa5dab5bd35' })));
|
|
34880
34844
|
}
|
|
34881
34845
|
get el() { return getElement(this); }
|
|
34882
34846
|
static get watchers() { return {
|
|
@@ -34942,10 +34906,10 @@ class Tab {
|
|
|
34942
34906
|
}
|
|
34943
34907
|
render() {
|
|
34944
34908
|
const { tab, active, component } = this;
|
|
34945
|
-
return (hAsync(Host, { key: '
|
|
34909
|
+
return (hAsync(Host, { key: 'fbd837bad7a0632336d46a597ace23673b153e48', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
34946
34910
|
'ion-page': component === undefined,
|
|
34947
34911
|
'tab-hidden': !active,
|
|
34948
|
-
} }, hAsync("slot", { key: '
|
|
34912
|
+
} }, hAsync("slot", { key: '35c218169fda826c9c1337558e0278d0c7f5f26a' })));
|
|
34949
34913
|
}
|
|
34950
34914
|
get el() { return getElement(this); }
|
|
34951
34915
|
static get watchers() { return {
|
|
@@ -35037,11 +35001,11 @@ class TabBar {
|
|
|
35037
35001
|
const { color, translucent, keyboardVisible } = this;
|
|
35038
35002
|
const mode = getIonMode$1(this);
|
|
35039
35003
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
35040
|
-
return (hAsync(Host, { key: '
|
|
35004
|
+
return (hAsync(Host, { key: '47ddafd51bb665679dfdef0588df97ec63dce5ca', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses$1(color, {
|
|
35041
35005
|
[mode]: true,
|
|
35042
35006
|
'tab-bar-translucent': translucent,
|
|
35043
35007
|
'tab-bar-hidden': shouldHide,
|
|
35044
|
-
}) }, hAsync("slot", { key: '
|
|
35008
|
+
}) }, hAsync("slot", { key: 'a4fc2dc72518023db6b7d17fb689e2841e833252' })));
|
|
35045
35009
|
}
|
|
35046
35010
|
get el() { return getElement(this); }
|
|
35047
35011
|
static get watchers() { return {
|
|
@@ -35137,7 +35101,7 @@ class TabButton {
|
|
|
35137
35101
|
rel,
|
|
35138
35102
|
target,
|
|
35139
35103
|
};
|
|
35140
|
-
return (hAsync(Host, { key: '
|
|
35104
|
+
return (hAsync(Host, { key: '638b93ef40701ec3aefb89b1579eb91aaf6d4f8a', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
35141
35105
|
[mode]: true,
|
|
35142
35106
|
'tab-selected': selected,
|
|
35143
35107
|
'tab-disabled': disabled,
|
|
@@ -35149,7 +35113,7 @@ class TabButton {
|
|
|
35149
35113
|
'ion-activatable': true,
|
|
35150
35114
|
'ion-selectable': true,
|
|
35151
35115
|
'ion-focusable': true,
|
|
35152
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
35116
|
+
} }, hAsync("a", Object.assign({ key: 'c053d32fbcdad8d5e4a409956b47164d7a080c6b' }, attrs, { class: "button-native", part: "native", role: "tab", "aria-selected": selected ? 'true' : null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? '-1' : undefined }, inheritedAttributes), hAsync("span", { key: 'b3b460d33ec978a46b069442280d31b23bc8e794', class: "button-inner" }, hAsync("slot", { key: '87b3928475c941263261101b8fae27c6370d4671' })), mode === 'md' && hAsync("ion-ripple-effect", { key: '6532e5b4546aebe4becaebe1c93ce0e6aedaffe7', type: "unbounded" }))));
|
|
35153
35117
|
}
|
|
35154
35118
|
get el() { return getElement(this); }
|
|
35155
35119
|
static get style() { return {
|
|
@@ -35340,7 +35304,7 @@ class Tabs {
|
|
|
35340
35304
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
35341
35305
|
}
|
|
35342
35306
|
render() {
|
|
35343
|
-
return (hAsync(Host, { key: '
|
|
35307
|
+
return (hAsync(Host, { key: 'c7131135b31aa312dc0207602561e1c0f4ac3e53', onIonTabButtonClick: this.onTabClicked }, hAsync("slot", { key: '6c46e91c0389bbcea1f15f35cf3ea513a74ac545', name: "top" }), hAsync("div", { key: '4f1b649d8bb60b61402b97359de204979c5eda52', class: "tabs-inner" }, hAsync("slot", { key: '8d1ef4952be4fb33567376e1083ea4da697fcae0' })), hAsync("slot", { key: '260b8da8031494e9cb4635b3d22c49a433042db1', name: "bottom" })));
|
|
35344
35308
|
}
|
|
35345
35309
|
get el() { return getElement(this); }
|
|
35346
35310
|
static get style() { return tabsCss; }
|
|
@@ -35380,9 +35344,9 @@ class Text {
|
|
|
35380
35344
|
}
|
|
35381
35345
|
render() {
|
|
35382
35346
|
const mode = getIonMode$1(this);
|
|
35383
|
-
return (hAsync(Host, { key: '
|
|
35347
|
+
return (hAsync(Host, { key: 'bfaa49d35f43b8036725ae8a322c716fc6e43bdf', class: createColorClasses$1(this.color, {
|
|
35384
35348
|
[mode]: true,
|
|
35385
|
-
}) }, hAsync("slot", { key: '
|
|
35349
|
+
}) }, hAsync("slot", { key: 'c04880cd1935b42cbe60f58fd523b4d8a96072dc' })));
|
|
35386
35350
|
}
|
|
35387
35351
|
static get style() { return textCss; }
|
|
35388
35352
|
static get cmpMeta() { return {
|
|
@@ -35843,7 +35807,7 @@ class Textarea {
|
|
|
35843
35807
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
35844
35808
|
*/
|
|
35845
35809
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
35846
|
-
return (hAsync(Host, { key: '
|
|
35810
|
+
return (hAsync(Host, { key: '2c9de566803dd007cee3639ddd04accb68663b32', class: createColorClasses$1(this.color, {
|
|
35847
35811
|
[mode]: true,
|
|
35848
35812
|
'has-value': hasValue,
|
|
35849
35813
|
'has-focus': hasFocus,
|
|
@@ -35852,7 +35816,7 @@ class Textarea {
|
|
|
35852
35816
|
[`textarea-shape-${shape}`]: shape !== undefined,
|
|
35853
35817
|
[`textarea-label-placement-${labelPlacement}`]: true,
|
|
35854
35818
|
'textarea-disabled': disabled,
|
|
35855
|
-
}) }, hAsync("label", { key: '
|
|
35819
|
+
}) }, hAsync("label", { key: 'a0602b57fae26f148729b19c296de31b4923ad44', class: "textarea-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), hAsync("div", { key: '4ff96c999ba015c6c94be888da76d2dbd33020d7', class: "textarea-wrapper-inner" }, hAsync("div", { key: '8827db21d38d6c0bc2949f183b976eca692210be', class: "start-slot-wrapper" }, hAsync("slot", { key: 'e90b69e2b427a51f9a6ec201053e55b914ef5b9d', name: "start" })), hAsync("div", { key: '22de2b64734d6a677939ff372df9de13b58923e6', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el) }, hAsync("textarea", Object.assign({ key: '0e125c47ae292bea21484824746dbee922e728b0', class: "native-textarea", ref: (el) => (this.nativeInput = el), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, minLength: this.minlength, maxLength: this.maxlength, name: this.name, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown, "aria-describedby": this.getHintTextID(), "aria-invalid": this.isInvalid ? 'true' : undefined }, this.inheritedAttributes), value)), hAsync("div", { key: '52d8f9048596cd598a99b74e3d0b322890d8513d', class: "end-slot-wrapper" }, hAsync("slot", { key: 'd9c8a7c33c47533dfe2eb8b12006c7f38d3cd11b', name: "end" }))), shouldRenderHighlight && hAsync("div", { key: 'aaf672b846a35f0aeb0b3ec172dc808eb871eb5a', class: "textarea-highlight" })), this.renderBottomContent()));
|
|
35856
35820
|
}
|
|
35857
35821
|
get el() { return getElement(this); }
|
|
35858
35822
|
static get watchers() { return {
|
|
@@ -35915,7 +35879,7 @@ class Thumbnail {
|
|
|
35915
35879
|
registerInstance(this, hostRef);
|
|
35916
35880
|
}
|
|
35917
35881
|
render() {
|
|
35918
|
-
return (hAsync(Host, { key: '
|
|
35882
|
+
return (hAsync(Host, { key: 'b250e01664238f1dca8f9757b15bc3d5d9387ffa', class: getIonMode$1(this) }, hAsync("slot", { key: '72cb568bccabc983c5186a7596ef6c6d4ebf5ad9' })));
|
|
35919
35883
|
}
|
|
35920
35884
|
static get style() { return thumbnailCss; }
|
|
35921
35885
|
static get cmpMeta() { return {
|
|
@@ -36773,9 +36737,9 @@ class Toast {
|
|
|
36773
36737
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
36774
36738
|
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);
|
|
36775
36739
|
}
|
|
36776
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
36740
|
+
return (hAsync(Host, Object.assign({ key: '4a303f9ebb69614e9dca677d9d80a4a275de0d85', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
36777
36741
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
36778
|
-
}, 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: '
|
|
36742
|
+
}, class: createColorClasses$1(this.color, Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), hAsync("div", { key: '4f58fcbba8dce9834eab743fc91715935216f3d0', class: wrapperClass }, hAsync("div", { key: 'bbc7b73b186432bd4be8247c5de2ce3b2551fb0a', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (hAsync("ion-icon", { key: '0b953478eb739ceb864373416183bfbf5ce2f9f1', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), hAsync("div", { key: '7a63497d1c0440256218426194851a969b042ca6', class: "toast-content", role: "status", "aria-atomic": "true", "aria-live": "polite" }, !revealContentToScreenReader && header !== undefined && this.renderHeader('oldHeader', 'true'), !revealContentToScreenReader && message !== undefined && this.renderToastMessage('oldMessage', 'true'), revealContentToScreenReader && header !== undefined && this.renderHeader('header'), revealContentToScreenReader && message !== undefined && this.renderToastMessage('header')), this.renderButtons(endButtons, 'end')))));
|
|
36779
36743
|
}
|
|
36780
36744
|
get el() { return getElement(this); }
|
|
36781
36745
|
static get watchers() { return {
|
|
@@ -37087,7 +37051,7 @@ class Toggle {
|
|
|
37087
37051
|
const value = this.getValue();
|
|
37088
37052
|
const rtl = isRTL$1(el) ? 'rtl' : 'ltr';
|
|
37089
37053
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
37090
|
-
return (hAsync(Host, { key: '
|
|
37054
|
+
return (hAsync(Host, { key: '736e1dcfca34fd41f6f0632652e7f86d6996a232', role: "switch", "aria-checked": `${checked}`, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick, "aria-labelledby": hasLabel ? inputLabelId : null, "aria-label": inheritedAttributes['aria-label'] || null, "aria-disabled": disabled ? 'true' : null, "aria-required": required ? 'true' : undefined, tabindex: disabled ? undefined : 0, onKeyDown: this.onKeyDown, onFocus: this.onFocus, onBlur: this.onBlur, class: createColorClasses$1(color, {
|
|
37091
37055
|
[mode]: true,
|
|
37092
37056
|
'in-item': hostContext('ion-item', el),
|
|
37093
37057
|
'toggle-activated': activated,
|
|
@@ -37097,10 +37061,10 @@ class Toggle {
|
|
|
37097
37061
|
[`toggle-alignment-${alignment}`]: alignment !== undefined,
|
|
37098
37062
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
37099
37063
|
[`toggle-${rtl}`]: true,
|
|
37100
|
-
}) }, hAsync("label", { key: '
|
|
37064
|
+
}) }, hAsync("label", { key: 'e697739fd3964c1c6c23331cf7e38a9841c46a6a', class: "toggle-wrapper", htmlFor: inputId }, hAsync("input", Object.assign({ key: '3d500b8c1bc879591249d183c1abb3f5f26aff6b', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, required: required }, inheritedAttributes)), hAsync("div", { key: 'e38f3fe0e66b4ca434fd81514f5ef771c2960841', class: {
|
|
37101
37065
|
'label-text-wrapper': true,
|
|
37102
37066
|
'label-text-wrapper-hidden': !hasLabel,
|
|
37103
|
-
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '
|
|
37067
|
+
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '006dd3558264d69ab020c07005b348adc4ecdd5b' }), this.renderHintText()), hAsync("div", { key: 'dd4e52de31caabee41ec1bc58efecd1e213368c9', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
37104
37068
|
}
|
|
37105
37069
|
get el() { return getElement(this); }
|
|
37106
37070
|
static get watchers() { return {
|
|
@@ -37210,10 +37174,10 @@ class Toolbar {
|
|
|
37210
37174
|
this.childrenStyles.forEach((value) => {
|
|
37211
37175
|
Object.assign(childStyles, value);
|
|
37212
37176
|
});
|
|
37213
|
-
return (hAsync(Host, { key: '
|
|
37177
|
+
return (hAsync(Host, { key: 'b849db2863778dee6c5a251bffa1b3a657aeb036', class: Object.assign(Object.assign({}, childStyles), createColorClasses$1(this.color, {
|
|
37214
37178
|
[mode]: true,
|
|
37215
37179
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
37216
|
-
})) }, hAsync("div", { key: '
|
|
37180
|
+
})) }, hAsync("div", { key: '67f5bba9c4f527c3f35bfe1313a2b85741f9b246', class: "toolbar-background", part: "background" }), hAsync("div", { key: '085e8c68f056e5b0deb9d1606431fbeb45dae8e5', class: "toolbar-container", part: "container" }, hAsync("slot", { key: '15227c79c3baf883fd8c43fdb7e1313453933c79', name: "start" }), hAsync("slot", { key: '0b8a7f7e685aa31c80d9bc03446ccc3a9d07e0e8', name: "secondary" }), hAsync("div", { key: '57e4628c1fa89df79dd80456259db961bb691404', class: "toolbar-content", part: "content" }, hAsync("slot", { key: '82c2f6e1acf8d96db259bd8baf295881801edbd5' })), hAsync("slot", { key: 'b2d4afb15214199f206c0a5e08b581e4c9c2f58a', name: "primary" }), hAsync("slot", { key: 'bfb909a0c472f8834046c2ea23bef2f562167ad3', name: "end" }))));
|
|
37217
37181
|
}
|
|
37218
37182
|
get el() { return getElement(this); }
|
|
37219
37183
|
static get style() { return {
|
|
@@ -37259,11 +37223,11 @@ class ToolbarTitle {
|
|
|
37259
37223
|
render() {
|
|
37260
37224
|
const mode = getIonMode$1(this);
|
|
37261
37225
|
const size = this.getSize();
|
|
37262
|
-
return (hAsync(Host, { key: '
|
|
37226
|
+
return (hAsync(Host, { key: '44e63f8439df64c470692904427b417e19406476', class: createColorClasses$1(this.color, {
|
|
37263
37227
|
[mode]: true,
|
|
37264
37228
|
[`title-${size}`]: true,
|
|
37265
37229
|
'title-rtl': document.dir === 'rtl',
|
|
37266
|
-
}) }, hAsync("div", { key: '
|
|
37230
|
+
}) }, hAsync("div", { key: '784cf60a0db16045391891cc8fad0c7dbeba4039', class: "toolbar-title" }, hAsync("slot", { key: '0c720a50479ba257e8756337aeb9b0ab7516a227' }))));
|
|
37267
37231
|
}
|
|
37268
37232
|
get el() { return getElement(this); }
|
|
37269
37233
|
static get watchers() { return {
|