@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.js
CHANGED
|
@@ -13435,28 +13435,6 @@ class Datetime {
|
|
|
13435
13435
|
destroyKeyboardMO();
|
|
13436
13436
|
}
|
|
13437
13437
|
};
|
|
13438
|
-
/**
|
|
13439
|
-
* TODO(FW-6931): Remove this fallback upon solving the root cause
|
|
13440
|
-
* Fallback to ensure the datetime becomes ready even if
|
|
13441
|
-
* IntersectionObserver never reports it as intersecting.
|
|
13442
|
-
*
|
|
13443
|
-
* This is primarily used in environments where the observer
|
|
13444
|
-
* might not fire as expected, such as when running under
|
|
13445
|
-
* synthetic tests that stub IntersectionObserver.
|
|
13446
|
-
*/
|
|
13447
|
-
this.ensureReadyIfVisible = () => {
|
|
13448
|
-
if (this.el.classList.contains('datetime-ready')) {
|
|
13449
|
-
return;
|
|
13450
|
-
}
|
|
13451
|
-
const rect = this.el.getBoundingClientRect();
|
|
13452
|
-
if (rect.width === 0 || rect.height === 0) {
|
|
13453
|
-
return;
|
|
13454
|
-
}
|
|
13455
|
-
this.initializeListeners();
|
|
13456
|
-
writeTask(() => {
|
|
13457
|
-
this.el.classList.add('datetime-ready');
|
|
13458
|
-
});
|
|
13459
|
-
};
|
|
13460
13438
|
this.processValue = (value) => {
|
|
13461
13439
|
const hasValue = value !== null && value !== undefined && value !== '' && (!Array.isArray(value) || value.length > 0);
|
|
13462
13440
|
const valueToProcess = hasValue ? parseDate(value) : this.defaultParts;
|
|
@@ -13734,84 +13712,70 @@ class Datetime {
|
|
|
13734
13712
|
this.clearFocusVisible();
|
|
13735
13713
|
this.clearFocusVisible = undefined;
|
|
13736
13714
|
}
|
|
13715
|
+
if (this.resizeObserver) {
|
|
13716
|
+
this.resizeObserver.disconnect();
|
|
13717
|
+
this.resizeObserver = undefined;
|
|
13718
|
+
}
|
|
13737
13719
|
}
|
|
13738
13720
|
initializeListeners() {
|
|
13739
13721
|
this.initializeCalendarListener();
|
|
13740
13722
|
this.initializeKeyboardListeners();
|
|
13741
13723
|
}
|
|
13742
13724
|
componentDidLoad() {
|
|
13743
|
-
const { el
|
|
13725
|
+
const { el } = this;
|
|
13744
13726
|
/**
|
|
13745
13727
|
* If a scrollable element is hidden using `display: none`,
|
|
13746
13728
|
* it will not have a scroll height meaning we cannot scroll elements
|
|
13747
13729
|
* into view. As a result, we will need to wait for the datetime to become
|
|
13748
13730
|
* visible if used inside of a modal or a popover otherwise the scrollable
|
|
13749
13731
|
* areas will not have the correct values snapped into place.
|
|
13750
|
-
|
|
13751
|
-
|
|
13752
|
-
|
|
13753
|
-
|
|
13754
|
-
|
|
13732
|
+
*
|
|
13733
|
+
* We use ResizeObserver to detect when the element transitions
|
|
13734
|
+
* between having dimensions (visible) and zero dimensions (hidden). This
|
|
13735
|
+
* is more reliable than IntersectionObserver for detecting visibility
|
|
13736
|
+
* changes, especially when the element is inside a modal or popover.
|
|
13737
|
+
*/
|
|
13738
|
+
this.resizeObserver = new ResizeObserver((entries) => {
|
|
13739
|
+
const entry = entries[0];
|
|
13740
|
+
const { width, height } = entry.contentRect;
|
|
13741
|
+
const isVisible = width > 0 && height > 0;
|
|
13742
|
+
const isReady = el.classList.contains('datetime-ready');
|
|
13743
|
+
if (isVisible && !isReady) {
|
|
13744
|
+
this.initializeListeners();
|
|
13745
|
+
/**
|
|
13746
|
+
* TODO FW-2793: Datetime needs a frame to ensure that it
|
|
13747
|
+
* can properly scroll contents into view. As a result
|
|
13748
|
+
* we hide the scrollable content until after that frame
|
|
13749
|
+
* so users do not see the content quickly shifting. The downside
|
|
13750
|
+
* is that the content will pop into view a frame after. Maybe there
|
|
13751
|
+
* is a better way to handle this?
|
|
13752
|
+
*/
|
|
13753
|
+
writeTask(() => {
|
|
13754
|
+
el.classList.add('datetime-ready');
|
|
13755
|
+
});
|
|
13755
13756
|
}
|
|
13756
|
-
|
|
13757
|
-
|
|
13758
|
-
|
|
13759
|
-
|
|
13760
|
-
|
|
13761
|
-
|
|
13762
|
-
|
|
13763
|
-
|
|
13764
|
-
|
|
13765
|
-
|
|
13766
|
-
|
|
13767
|
-
|
|
13768
|
-
|
|
13769
|
-
|
|
13757
|
+
else if (!isVisible && isReady) {
|
|
13758
|
+
/**
|
|
13759
|
+
* Clean up listeners when hidden so we can properly
|
|
13760
|
+
* reinitialize scroll positions on re-presentation.
|
|
13761
|
+
*/
|
|
13762
|
+
this.destroyInteractionListeners();
|
|
13763
|
+
/**
|
|
13764
|
+
* Close month/year picker when hidden, otherwise
|
|
13765
|
+
* it will be open when re-presented with a 0-height
|
|
13766
|
+
* scroll area, showing the wrong month.
|
|
13767
|
+
*/
|
|
13768
|
+
this.showMonthAndYear = false;
|
|
13769
|
+
writeTask(() => {
|
|
13770
|
+
el.classList.remove('datetime-ready');
|
|
13771
|
+
});
|
|
13772
|
+
}
|
|
13773
|
+
});
|
|
13770
13774
|
/**
|
|
13771
13775
|
* Use raf to avoid a race condition between the component loading and
|
|
13772
|
-
* its display animation starting (such as when shown in a modal).
|
|
13773
|
-
* could cause the datetime to start at a visibility of 0, erroneously
|
|
13774
|
-
* triggering the `hiddenIO` observer below.
|
|
13775
|
-
*/
|
|
13776
|
-
raf(() => visibleIO === null || visibleIO === void 0 ? void 0 : visibleIO.observe(intersectionTrackerRef));
|
|
13777
|
-
/**
|
|
13778
|
-
* TODO(FW-6931): Remove this fallback upon solving the root cause
|
|
13779
|
-
* Fallback: If IntersectionObserver never reports that the
|
|
13780
|
-
* datetime is visible but the host clearly has layout, ensure
|
|
13781
|
-
* we still initialize listeners and mark the component as ready.
|
|
13782
|
-
*
|
|
13783
|
-
* We schedule this after everything has had a chance to run.
|
|
13776
|
+
* its display animation starting (such as when shown in a modal).
|
|
13784
13777
|
*/
|
|
13785
|
-
|
|
13786
|
-
this.ensureReadyIfVisible();
|
|
13787
|
-
}, 100);
|
|
13788
|
-
/**
|
|
13789
|
-
* We need to clean up listeners when the datetime is hidden
|
|
13790
|
-
* in a popover/modal so that we can properly scroll containers
|
|
13791
|
-
* back into view if they are re-presented. When the datetime is hidden
|
|
13792
|
-
* the scroll areas have scroll widths/heights of 0px, so any snapping
|
|
13793
|
-
* we did originally has been lost.
|
|
13794
|
-
*/
|
|
13795
|
-
const hiddenCallback = (entries) => {
|
|
13796
|
-
const ev = entries[0];
|
|
13797
|
-
if (ev.isIntersecting) {
|
|
13798
|
-
return;
|
|
13799
|
-
}
|
|
13800
|
-
this.destroyInteractionListeners();
|
|
13801
|
-
/**
|
|
13802
|
-
* When datetime is hidden, we need to make sure that
|
|
13803
|
-
* the month/year picker is closed. Otherwise,
|
|
13804
|
-
* it will be open when the datetime re-appears
|
|
13805
|
-
* and the scroll area of the calendar grid will be 0.
|
|
13806
|
-
* As a result, the wrong month will be shown.
|
|
13807
|
-
*/
|
|
13808
|
-
this.showMonthAndYear = false;
|
|
13809
|
-
writeTask(() => {
|
|
13810
|
-
this.el.classList.remove('datetime-ready');
|
|
13811
|
-
});
|
|
13812
|
-
};
|
|
13813
|
-
const hiddenIO = new IntersectionObserver(hiddenCallback, { threshold: 0, root: el });
|
|
13814
|
-
raf(() => hiddenIO === null || hiddenIO === void 0 ? void 0 : hiddenIO.observe(intersectionTrackerRef));
|
|
13778
|
+
raf(() => { var _a; return (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.observe(el); });
|
|
13815
13779
|
/**
|
|
13816
13780
|
* Datetime uses Ionic components that emit
|
|
13817
13781
|
* ionFocus and ionBlur. These events are
|
|
@@ -14540,7 +14504,7 @@ class Datetime {
|
|
|
14540
14504
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
14541
14505
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
14542
14506
|
renderHiddenInput(true, el, name, formatValue(value), disabled);
|
|
14543
|
-
return (hAsync(Host, { key: '
|
|
14507
|
+
return (hAsync(Host, { key: 'f4d2e6577c288bdbd814760ab70cccfd91815f06', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses$1(color, {
|
|
14544
14508
|
[mode]: true,
|
|
14545
14509
|
['datetime-readonly']: readonly,
|
|
14546
14510
|
['datetime-disabled']: disabled,
|
|
@@ -14550,7 +14514,7 @@ class Datetime {
|
|
|
14550
14514
|
[`datetime-size-${size}`]: true,
|
|
14551
14515
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
14552
14516
|
[`datetime-grid`]: isGridStyle,
|
|
14553
|
-
})) },
|
|
14517
|
+
})) }, this.renderDatetime(mode)));
|
|
14554
14518
|
}
|
|
14555
14519
|
get el() { return getElement(this); }
|
|
14556
14520
|
static get watchers() { return {
|
|
@@ -14961,11 +14925,11 @@ class DatetimeButton {
|
|
|
14961
14925
|
render() {
|
|
14962
14926
|
const { color, dateText, timeText, selectedButton, datetimeActive, disabled } = this;
|
|
14963
14927
|
const mode = getIonMode$1(this);
|
|
14964
|
-
return (hAsync(Host, { key: '
|
|
14928
|
+
return (hAsync(Host, { key: '0cad13e702cd8f76b10364d44993495d1aac40fb', class: createColorClasses$1(color, {
|
|
14965
14929
|
[mode]: true,
|
|
14966
14930
|
[`${selectedButton}-active`]: datetimeActive,
|
|
14967
14931
|
['datetime-button-disabled']: disabled,
|
|
14968
|
-
}) }, dateText && (hAsync("button", { key: '
|
|
14932
|
+
}) }, 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' })))));
|
|
14969
14933
|
}
|
|
14970
14934
|
get el() { return getElement(this); }
|
|
14971
14935
|
static get style() { return {
|
|
@@ -15045,12 +15009,12 @@ class Fab {
|
|
|
15045
15009
|
render() {
|
|
15046
15010
|
const { horizontal, vertical, edge } = this;
|
|
15047
15011
|
const mode = getIonMode$1(this);
|
|
15048
|
-
return (hAsync(Host, { key: '
|
|
15012
|
+
return (hAsync(Host, { key: 'cb44cf6486b0a6439b99da87c065b0b52e2514f4', class: {
|
|
15049
15013
|
[mode]: true,
|
|
15050
15014
|
[`fab-horizontal-${horizontal}`]: horizontal !== undefined,
|
|
15051
15015
|
[`fab-vertical-${vertical}`]: vertical !== undefined,
|
|
15052
15016
|
'fab-edge': edge,
|
|
15053
|
-
} }, hAsync("slot", { key: '
|
|
15017
|
+
} }, hAsync("slot", { key: '1ed484c7ecb10cd81fbca9a4f5c4049bf82f9f8a' })));
|
|
15054
15018
|
}
|
|
15055
15019
|
get el() { return getElement(this); }
|
|
15056
15020
|
static get watchers() { return {
|
|
@@ -15157,7 +15121,7 @@ class FabButton {
|
|
|
15157
15121
|
rel: this.rel,
|
|
15158
15122
|
target: this.target,
|
|
15159
15123
|
};
|
|
15160
|
-
return (hAsync(Host, { key: '
|
|
15124
|
+
return (hAsync(Host, { key: 'eb347f7d6749c40637540d84778eb8d1b667a947', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses$1(color, {
|
|
15161
15125
|
[mode]: true,
|
|
15162
15126
|
'fab-button-in-list': inList,
|
|
15163
15127
|
'fab-button-translucent-in-list': inList && translucent,
|
|
@@ -15168,7 +15132,7 @@ class FabButton {
|
|
|
15168
15132
|
'ion-activatable': true,
|
|
15169
15133
|
'ion-focusable': true,
|
|
15170
15134
|
[`fab-button-${size}`]: size !== undefined,
|
|
15171
|
-
}) }, hAsync(TagType, Object.assign({ key: '
|
|
15135
|
+
}) }, 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' }))));
|
|
15172
15136
|
}
|
|
15173
15137
|
get el() { return getElement(this); }
|
|
15174
15138
|
static get style() { return {
|
|
@@ -15224,11 +15188,11 @@ class FabList {
|
|
|
15224
15188
|
}
|
|
15225
15189
|
render() {
|
|
15226
15190
|
const mode = getIonMode$1(this);
|
|
15227
|
-
return (hAsync(Host, { key: '
|
|
15191
|
+
return (hAsync(Host, { key: 'fa1d195b9950654ba0e984bf61d981c977d05275', class: {
|
|
15228
15192
|
[mode]: true,
|
|
15229
15193
|
'fab-list-active': this.activated,
|
|
15230
15194
|
[`fab-list-side-${this.side}`]: true,
|
|
15231
|
-
} }, hAsync("slot", { key: '
|
|
15195
|
+
} }, hAsync("slot", { key: '2ec738c66c05112e1e2521155d6adfc36d2fd1db' })));
|
|
15232
15196
|
}
|
|
15233
15197
|
get el() { return getElement(this); }
|
|
15234
15198
|
static get watchers() { return {
|
|
@@ -15685,7 +15649,7 @@ class Footer {
|
|
|
15685
15649
|
const mode = getIonMode$1(this);
|
|
15686
15650
|
const tabs = this.el.closest('ion-tabs');
|
|
15687
15651
|
const tabBar = tabs === null || tabs === void 0 ? void 0 : tabs.querySelector(':scope > ion-tab-bar');
|
|
15688
|
-
return (hAsync(Host, { key: '
|
|
15652
|
+
return (hAsync(Host, { key: '5da19dc38ba73e1ddfd1bef3ebd485105d77c751', role: "contentinfo", class: {
|
|
15689
15653
|
[mode]: true,
|
|
15690
15654
|
// Used internally for styling
|
|
15691
15655
|
[`footer-${mode}`]: true,
|
|
@@ -15693,7 +15657,7 @@ class Footer {
|
|
|
15693
15657
|
[`footer-translucent-${mode}`]: translucent,
|
|
15694
15658
|
['footer-toolbar-padding']: !this.keyboardVisible && (!tabBar || tabBar.slot !== 'bottom'),
|
|
15695
15659
|
[`footer-collapse-${collapse}`]: collapse !== undefined,
|
|
15696
|
-
} }, mode === 'ios' && translucent && hAsync("div", { key: '
|
|
15660
|
+
} }, mode === 'ios' && translucent && hAsync("div", { key: 'fafad08090a33d8c4e8a5b63d61929dcb89aab47', class: "footer-background" }), hAsync("slot", { key: 'e0a443d346afa55e4317c0bc1263fdbe3c619559' })));
|
|
15697
15661
|
}
|
|
15698
15662
|
get el() { return getElement(this); }
|
|
15699
15663
|
static get style() { return {
|
|
@@ -15726,10 +15690,10 @@ class Grid {
|
|
|
15726
15690
|
}
|
|
15727
15691
|
render() {
|
|
15728
15692
|
const mode = getIonMode$1(this);
|
|
15729
|
-
return (hAsync(Host, { key: '
|
|
15693
|
+
return (hAsync(Host, { key: '930ce78b02f8360fbca08a35d364d2c09128c6c8', class: {
|
|
15730
15694
|
[mode]: true,
|
|
15731
15695
|
'grid-fixed': this.fixed,
|
|
15732
|
-
} }, hAsync("slot", { key: '
|
|
15696
|
+
} }, hAsync("slot", { key: 'c47bf7ef2197f5ebc42d3e2c55044276fb0db393' })));
|
|
15733
15697
|
}
|
|
15734
15698
|
static get style() { return gridCss; }
|
|
15735
15699
|
static get cmpMeta() { return {
|
|
@@ -16122,14 +16086,14 @@ class Header {
|
|
|
16122
16086
|
const isCondensed = collapse === 'condense';
|
|
16123
16087
|
// banner role must be at top level, so remove role if inside a menu
|
|
16124
16088
|
const roleType = getRoleType(hostContext('ion-menu', this.el), isCondensed, mode);
|
|
16125
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
16089
|
+
return (hAsync(Host, Object.assign({ key: '42fb0d8aa663bef7b1a21e026ea45e932b965794', role: roleType, class: {
|
|
16126
16090
|
[mode]: true,
|
|
16127
16091
|
// Used internally for styling
|
|
16128
16092
|
[`header-${mode}`]: true,
|
|
16129
16093
|
[`header-translucent`]: this.translucent,
|
|
16130
16094
|
[`header-collapse-${collapse}`]: true,
|
|
16131
16095
|
[`header-translucent-${mode}`]: this.translucent,
|
|
16132
|
-
} }, inheritedAttributes), mode === 'ios' && translucent && hAsync("div", { key: '
|
|
16096
|
+
} }, inheritedAttributes), mode === 'ios' && translucent && hAsync("div", { key: '31fac480feb43bf4adcc97529d88f1fa8034ce98', class: "header-background" }), hAsync("slot", { key: '8fb8d10312836c3de63ba3fccf9ec1a08ca5b9d1' })));
|
|
16133
16097
|
}
|
|
16134
16098
|
get el() { return getElement(this); }
|
|
16135
16099
|
static get style() { return {
|
|
@@ -16455,7 +16419,7 @@ class Img {
|
|
|
16455
16419
|
render() {
|
|
16456
16420
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
16457
16421
|
const { draggable } = inheritedAttributes;
|
|
16458
|
-
return (hAsync(Host, { key: '
|
|
16422
|
+
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) })));
|
|
16459
16423
|
}
|
|
16460
16424
|
get el() { return getElement(this); }
|
|
16461
16425
|
static get watchers() { return {
|
|
@@ -16683,7 +16647,7 @@ class InfiniteScroll {
|
|
|
16683
16647
|
render() {
|
|
16684
16648
|
const mode = getIonMode$1(this);
|
|
16685
16649
|
const disabled = this.disabled;
|
|
16686
|
-
return (hAsync(Host, { key: '
|
|
16650
|
+
return (hAsync(Host, { key: '1444429a86950c449953cbf578436cc8cabf40ec', class: {
|
|
16687
16651
|
[mode]: true,
|
|
16688
16652
|
'infinite-scroll-loading': this.isLoading,
|
|
16689
16653
|
'infinite-scroll-enabled': !disabled,
|
|
@@ -16735,11 +16699,11 @@ class InfiniteScrollContent {
|
|
|
16735
16699
|
}
|
|
16736
16700
|
render() {
|
|
16737
16701
|
const mode = getIonMode$1(this);
|
|
16738
|
-
return (hAsync(Host, { key: '
|
|
16702
|
+
return (hAsync(Host, { key: '060278bf9cb0321e182352f9613be4ebbb028259', class: {
|
|
16739
16703
|
[mode]: true,
|
|
16740
16704
|
// Used internally for styling
|
|
16741
16705
|
[`infinite-scroll-content-${mode}`]: true,
|
|
16742
|
-
} }, hAsync("div", { key: '
|
|
16706
|
+
} }, 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())));
|
|
16743
16707
|
}
|
|
16744
16708
|
static get style() { return {
|
|
16745
16709
|
ios: infiniteScrollContentIosCss,
|
|
@@ -17382,7 +17346,7 @@ class Input {
|
|
|
17382
17346
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
17383
17347
|
*/
|
|
17384
17348
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
17385
|
-
return (hAsync(Host, { key: '
|
|
17349
|
+
return (hAsync(Host, { key: '81b44a68138ec7a9f1d4a27549d0c32283dea50d', class: createColorClasses$1(this.color, {
|
|
17386
17350
|
[mode]: true,
|
|
17387
17351
|
'has-value': hasValue,
|
|
17388
17352
|
'has-focus': hasFocus,
|
|
@@ -17393,14 +17357,14 @@ class Input {
|
|
|
17393
17357
|
'in-item': inItem,
|
|
17394
17358
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
17395
17359
|
'input-disabled': disabled,
|
|
17396
|
-
}) }, hAsync("label", { key: '
|
|
17360
|
+
}) }, 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) => {
|
|
17397
17361
|
/**
|
|
17398
17362
|
* This prevents mobile browsers from
|
|
17399
17363
|
* blurring the input when the clear
|
|
17400
17364
|
* button is activated.
|
|
17401
17365
|
*/
|
|
17402
17366
|
ev.preventDefault();
|
|
17403
|
-
}, onClick: this.clearTextInput }, hAsync("ion-icon", { key: '
|
|
17367
|
+
}, 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()));
|
|
17404
17368
|
}
|
|
17405
17369
|
get el() { return getElement(this); }
|
|
17406
17370
|
static get watchers() { return {
|
|
@@ -18071,7 +18035,7 @@ class InputOTP {
|
|
|
18071
18035
|
const tabbableIndex = this.getTabbableIndex();
|
|
18072
18036
|
const pattern = this.getPattern();
|
|
18073
18037
|
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()) !== '';
|
|
18074
|
-
return (hAsync(Host, { key: '
|
|
18038
|
+
return (hAsync(Host, { key: '76126aeef5a333d3ce86149d1ce21da6c7834898', class: createColorClasses$1(color, {
|
|
18075
18039
|
[mode]: true,
|
|
18076
18040
|
'has-focus': hasFocus,
|
|
18077
18041
|
[`input-otp-size-${size}`]: true,
|
|
@@ -18079,10 +18043,10 @@ class InputOTP {
|
|
|
18079
18043
|
[`input-otp-fill-${fill}`]: true,
|
|
18080
18044
|
'input-otp-disabled': disabled,
|
|
18081
18045
|
'input-otp-readonly': readonly,
|
|
18082
|
-
}) }, hAsync("div", Object.assign({ key: '
|
|
18046
|
+
}) }, 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: {
|
|
18083
18047
|
'input-otp-description': true,
|
|
18084
18048
|
'input-otp-description-hidden': !hasDescription,
|
|
18085
|
-
} }, hAsync("slot", { key: '
|
|
18049
|
+
} }, hAsync("slot", { key: '63a4b07ef5e3174cc75cdaed59305cdaebcfd1ad' }))));
|
|
18086
18050
|
}
|
|
18087
18051
|
get el() { return getElement(this); }
|
|
18088
18052
|
static get watchers() { return {
|
|
@@ -18182,16 +18146,16 @@ class InputPasswordToggle {
|
|
|
18182
18146
|
const showPasswordIcon = (_a = this.showIcon) !== null && _a !== void 0 ? _a : eye;
|
|
18183
18147
|
const hidePasswordIcon = (_b = this.hideIcon) !== null && _b !== void 0 ? _b : eyeOff;
|
|
18184
18148
|
const isPasswordVisible = type === 'text';
|
|
18185
|
-
return (hAsync(Host, { key: '
|
|
18149
|
+
return (hAsync(Host, { key: '07e26969f77ad361e358efe33a3b3728d9669017', class: createColorClasses$1(color, {
|
|
18186
18150
|
[mode]: true,
|
|
18187
|
-
}) }, hAsync("ion-button", { key: '
|
|
18151
|
+
}) }, 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) => {
|
|
18188
18152
|
/**
|
|
18189
18153
|
* This prevents mobile browsers from
|
|
18190
18154
|
* blurring the input when the password toggle
|
|
18191
18155
|
* button is activated.
|
|
18192
18156
|
*/
|
|
18193
18157
|
ev.preventDefault();
|
|
18194
|
-
}, onClick: this.togglePasswordVisibility }, hAsync("ion-icon", { key: '
|
|
18158
|
+
}, onClick: this.togglePasswordVisibility }, hAsync("ion-icon", { key: 'd7b1f55b77b71bf2c147f3bde83de1e9083f70ba', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? hidePasswordIcon : showPasswordIcon }))));
|
|
18195
18159
|
}
|
|
18196
18160
|
get el() { return getElement(this); }
|
|
18197
18161
|
static get watchers() { return {
|
|
@@ -18522,11 +18486,11 @@ class ItemDivider {
|
|
|
18522
18486
|
}
|
|
18523
18487
|
render() {
|
|
18524
18488
|
const mode = getIonMode$1(this);
|
|
18525
|
-
return (hAsync(Host, { key: '
|
|
18489
|
+
return (hAsync(Host, { key: 'ee8b2c8d5e415c0d8badf84fa7670932da4e809e', class: createColorClasses$1(this.color, {
|
|
18526
18490
|
[mode]: true,
|
|
18527
18491
|
'item-divider-sticky': this.sticky,
|
|
18528
18492
|
item: true,
|
|
18529
|
-
}) }, hAsync("slot", { key: '
|
|
18493
|
+
}) }, 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" }))));
|
|
18530
18494
|
}
|
|
18531
18495
|
get el() { return getElement(this); }
|
|
18532
18496
|
static get style() { return {
|
|
@@ -18556,7 +18520,7 @@ class ItemGroup {
|
|
|
18556
18520
|
}
|
|
18557
18521
|
render() {
|
|
18558
18522
|
const mode = getIonMode$1(this);
|
|
18559
|
-
return (hAsync(Host, { key: '
|
|
18523
|
+
return (hAsync(Host, { key: 'f1743af1d075682f63fae3802c5c5bf050507563', role: "group", class: {
|
|
18560
18524
|
[mode]: true,
|
|
18561
18525
|
// Used internally for styling
|
|
18562
18526
|
[`item-group-${mode}`]: true,
|
|
@@ -18626,12 +18590,12 @@ class ItemOption {
|
|
|
18626
18590
|
href: this.href,
|
|
18627
18591
|
target: this.target,
|
|
18628
18592
|
};
|
|
18629
|
-
return (hAsync(Host, { key: '
|
|
18593
|
+
return (hAsync(Host, { key: '058310ac361612c16f2ef70c74279ba7c24128c5', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
18630
18594
|
[mode]: true,
|
|
18631
18595
|
'item-option-disabled': disabled,
|
|
18632
18596
|
'item-option-expandable': expandable,
|
|
18633
18597
|
'ion-activatable': true,
|
|
18634
|
-
}) }, hAsync(TagType, Object.assign({ key: '
|
|
18598
|
+
}) }, 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' }))));
|
|
18635
18599
|
}
|
|
18636
18600
|
get el() { return getElement(this); }
|
|
18637
18601
|
static get style() { return {
|
|
@@ -18680,7 +18644,7 @@ class ItemOptions {
|
|
|
18680
18644
|
render() {
|
|
18681
18645
|
const mode = getIonMode$1(this);
|
|
18682
18646
|
const isEnd = isEndSide(this.side);
|
|
18683
|
-
return (hAsync(Host, { key: '
|
|
18647
|
+
return (hAsync(Host, { key: '7b4b93984182222c64c7a2a22a18e52ac19e3049', class: {
|
|
18684
18648
|
[mode]: true,
|
|
18685
18649
|
// Used internally for styling
|
|
18686
18650
|
[`item-options-${mode}`]: true,
|
|
@@ -19145,7 +19109,7 @@ class ItemSliding {
|
|
|
19145
19109
|
}
|
|
19146
19110
|
render() {
|
|
19147
19111
|
const mode = getIonMode$1(this);
|
|
19148
|
-
return (hAsync(Host, { key: '
|
|
19112
|
+
return (hAsync(Host, { key: '8fd81d74701402294a48b79c56d6eceadafd4881', class: {
|
|
19149
19113
|
[mode]: true,
|
|
19150
19114
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
19151
19115
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -19250,13 +19214,13 @@ class Label {
|
|
|
19250
19214
|
render() {
|
|
19251
19215
|
const position = this.position;
|
|
19252
19216
|
const mode = getIonMode$1(this);
|
|
19253
|
-
return (hAsync(Host, { key: '
|
|
19217
|
+
return (hAsync(Host, { key: '684ddfa719e34d743489ff05a0df067829257c73', class: createColorClasses$1(this.color, {
|
|
19254
19218
|
[mode]: true,
|
|
19255
19219
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
19256
19220
|
[`label-${position}`]: position !== undefined,
|
|
19257
19221
|
[`label-no-animate`]: this.noAnimate,
|
|
19258
19222
|
'label-rtl': document.dir === 'rtl',
|
|
19259
|
-
}) }, hAsync("slot", { key: '
|
|
19223
|
+
}) }, hAsync("slot", { key: '4aace3e2b36250e832c44f63bea21116d77220fb' })));
|
|
19260
19224
|
}
|
|
19261
19225
|
get el() { return getElement(this); }
|
|
19262
19226
|
static get watchers() { return {
|
|
@@ -19312,7 +19276,7 @@ class List {
|
|
|
19312
19276
|
render() {
|
|
19313
19277
|
const mode = getIonMode$1(this);
|
|
19314
19278
|
const { lines, inset } = this;
|
|
19315
|
-
return (hAsync(Host, { key: '
|
|
19279
|
+
return (hAsync(Host, { key: '76580117b59d26e355e89f49b385fa8db05026a2', role: "list", class: {
|
|
19316
19280
|
[mode]: true,
|
|
19317
19281
|
// Used internally for styling
|
|
19318
19282
|
[`list-${mode}`]: true,
|
|
@@ -19354,10 +19318,10 @@ class ListHeader {
|
|
|
19354
19318
|
render() {
|
|
19355
19319
|
const { lines } = this;
|
|
19356
19320
|
const mode = getIonMode$1(this);
|
|
19357
|
-
return (hAsync(Host, { key: '
|
|
19321
|
+
return (hAsync(Host, { key: '2e529021279761b2b2889885437f619b0e8f71c4', class: createColorClasses$1(this.color, {
|
|
19358
19322
|
[mode]: true,
|
|
19359
19323
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
19360
|
-
}) }, hAsync("div", { key: '
|
|
19324
|
+
}) }, hAsync("div", { key: '9a6a11b0db015df79374f6489a40b959bc80b3e4', class: "list-header-inner" }, hAsync("slot", { key: 'ef347fc6afb47850797e2e4d1aeefcd6a318f789' }))));
|
|
19361
19325
|
}
|
|
19362
19326
|
static get style() { return {
|
|
19363
19327
|
ios: listHeaderIosCss,
|
|
@@ -19642,9 +19606,9 @@ class Loading {
|
|
|
19642
19606
|
* Otherwise, don't set aria-labelledby.
|
|
19643
19607
|
*/
|
|
19644
19608
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
19645
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
19609
|
+
return (hAsync(Host, Object.assign({ key: 'f86ddbc600cb5c396b7de38fb5f49625388c3c3f', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
19646
19610
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
19647
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: '
|
|
19611
|
+
}, 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" })));
|
|
19648
19612
|
}
|
|
19649
19613
|
get el() { return getElement(this); }
|
|
19650
19614
|
static get watchers() { return {
|
|
@@ -20693,14 +20657,14 @@ class Menu {
|
|
|
20693
20657
|
* the ionBackButton listener in the menu controller
|
|
20694
20658
|
* will handle closing the menu when Escape is pressed.
|
|
20695
20659
|
*/
|
|
20696
|
-
return (hAsync(Host, { key: '
|
|
20660
|
+
return (hAsync(Host, { key: '29ef73894e2795e4ce23e59888ffb87faf4dd543', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
20697
20661
|
[mode]: true,
|
|
20698
20662
|
[`menu-type-${type}`]: true,
|
|
20699
20663
|
'menu-enabled': !disabled,
|
|
20700
20664
|
[`menu-side-${side}`]: true,
|
|
20701
20665
|
'menu-pane-visible': isPaneVisible,
|
|
20702
20666
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
20703
|
-
} }, hAsync("div", { key: '
|
|
20667
|
+
} }, 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" })));
|
|
20704
20668
|
}
|
|
20705
20669
|
get el() { return getElement(this); }
|
|
20706
20670
|
static get watchers() { return {
|
|
@@ -20808,7 +20772,7 @@ class MenuButton {
|
|
|
20808
20772
|
type: this.type,
|
|
20809
20773
|
};
|
|
20810
20774
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
20811
|
-
return (hAsync(Host, { key: '
|
|
20775
|
+
return (hAsync(Host, { key: 'dcade732e366f0687d92cb9ce4065b78b0b41d24', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses$1(color, {
|
|
20812
20776
|
[mode]: true,
|
|
20813
20777
|
button: true, // ion-buttons target .button
|
|
20814
20778
|
'menu-button-hidden': hidden,
|
|
@@ -20817,7 +20781,7 @@ class MenuButton {
|
|
|
20817
20781
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
20818
20782
|
'ion-activatable': true,
|
|
20819
20783
|
'ion-focusable': true,
|
|
20820
|
-
}) }, hAsync("button", Object.assign({ key: '
|
|
20784
|
+
}) }, 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" }))));
|
|
20821
20785
|
}
|
|
20822
20786
|
get el() { return getElement(this); }
|
|
20823
20787
|
static get style() { return {
|
|
@@ -20870,10 +20834,10 @@ class MenuToggle {
|
|
|
20870
20834
|
render() {
|
|
20871
20835
|
const mode = getIonMode$1(this);
|
|
20872
20836
|
const hidden = this.autoHide && !this.visible;
|
|
20873
|
-
return (hAsync(Host, { key: '
|
|
20837
|
+
return (hAsync(Host, { key: '55135952f3a42cb5d21916dfb7b169d894b381e3', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
20874
20838
|
[mode]: true,
|
|
20875
20839
|
'menu-toggle-hidden': hidden,
|
|
20876
|
-
} }, hAsync("slot", { key: '
|
|
20840
|
+
} }, hAsync("slot", { key: 'e8ecb59a6ec075b07e2a1b8fcdf7df3dd9975a03' })));
|
|
20877
20841
|
}
|
|
20878
20842
|
static get style() { return menuToggleCss; }
|
|
20879
20843
|
static get cmpMeta() { return {
|
|
@@ -23710,20 +23674,20 @@ class Modal {
|
|
|
23710
23674
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
23711
23675
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
23712
23676
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
23713
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
23677
|
+
return (hAsync(Host, Object.assign({ key: '09af3299b0bd1daa5004fceed6d4246ebae57088', "no-router": true,
|
|
23714
23678
|
// Allow the modal to be navigable when the handle is focusable
|
|
23715
23679
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
23716
23680
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
23717
|
-
}, 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: '
|
|
23681
|
+
}, 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',
|
|
23718
23682
|
/*
|
|
23719
23683
|
role and aria-modal must be used on the
|
|
23720
23684
|
same element. They must also be set inside the
|
|
23721
23685
|
shadow DOM otherwise ion-button will not be highlighted
|
|
23722
23686
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
23723
23687
|
*/
|
|
23724
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: '
|
|
23688
|
+
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",
|
|
23725
23689
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
23726
|
-
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: '
|
|
23690
|
+
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 }))));
|
|
23727
23691
|
}
|
|
23728
23692
|
get el() { return getElement(this); }
|
|
23729
23693
|
static get watchers() { return {
|
|
@@ -24671,7 +24635,7 @@ class Nav {
|
|
|
24671
24635
|
}
|
|
24672
24636
|
}
|
|
24673
24637
|
render() {
|
|
24674
|
-
return hAsync("slot", { key: '
|
|
24638
|
+
return hAsync("slot", { key: 'a549286b51b1bb23c9ef51f71148452228d0ab14' });
|
|
24675
24639
|
}
|
|
24676
24640
|
get el() { return getElement(this); }
|
|
24677
24641
|
static get watchers() { return {
|
|
@@ -24744,7 +24708,7 @@ class NavLink {
|
|
|
24744
24708
|
};
|
|
24745
24709
|
}
|
|
24746
24710
|
render() {
|
|
24747
|
-
return hAsync(Host, { key: '
|
|
24711
|
+
return hAsync(Host, { key: 'd4d80feb51c0d92b0bedf6952c892f9df3002046', onClick: this.onClick });
|
|
24748
24712
|
}
|
|
24749
24713
|
get el() { return getElement(this); }
|
|
24750
24714
|
static get cmpMeta() { return {
|
|
@@ -24775,9 +24739,9 @@ class Note {
|
|
|
24775
24739
|
}
|
|
24776
24740
|
render() {
|
|
24777
24741
|
const mode = getIonMode$1(this);
|
|
24778
|
-
return (hAsync(Host, { key: '
|
|
24742
|
+
return (hAsync(Host, { key: 'b86a6acc9274df6528d224d4c11ab826a0f84dbc', class: createColorClasses$1(this.color, {
|
|
24779
24743
|
[mode]: true,
|
|
24780
|
-
}) }, hAsync("slot", { key: '
|
|
24744
|
+
}) }, hAsync("slot", { key: '5de76567ed7713827cd277a42db102faf34190c8' })));
|
|
24781
24745
|
}
|
|
24782
24746
|
static get style() { return {
|
|
24783
24747
|
ios: noteIosCss,
|
|
@@ -25249,7 +25213,7 @@ let Picker$1 = class Picker {
|
|
|
25249
25213
|
this.emitInputModeChange();
|
|
25250
25214
|
}
|
|
25251
25215
|
render() {
|
|
25252
|
-
return (hAsync(Host, { key: '
|
|
25216
|
+
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) => {
|
|
25253
25217
|
var _a;
|
|
25254
25218
|
/**
|
|
25255
25219
|
* The "Enter" key represents
|
|
@@ -25264,7 +25228,7 @@ let Picker$1 = class Picker {
|
|
|
25264
25228
|
if (ev.key === 'Enter') {
|
|
25265
25229
|
(_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.blur();
|
|
25266
25230
|
}
|
|
25267
|
-
}, ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), hAsync("div", { key: '
|
|
25231
|
+
}, 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' })));
|
|
25268
25232
|
}
|
|
25269
25233
|
get el() { return getElement(this); }
|
|
25270
25234
|
static get style() { return {
|
|
@@ -25537,11 +25501,11 @@ class Picker {
|
|
|
25537
25501
|
render() {
|
|
25538
25502
|
const { htmlAttributes } = this;
|
|
25539
25503
|
const mode = getIonMode$1(this);
|
|
25540
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
25504
|
+
return (hAsync(Host, Object.assign({ key: '80f66d33780d8a1352d24be9cb63a0cc03d01ab5', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
25541
25505
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
25542
25506
|
}, class: Object.assign({ [mode]: true,
|
|
25543
25507
|
// Used internally for styling
|
|
25544
|
-
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: '
|
|
25508
|
+
[`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" })));
|
|
25545
25509
|
}
|
|
25546
25510
|
get el() { return getElement(this); }
|
|
25547
25511
|
static get watchers() { return {
|
|
@@ -26139,14 +26103,14 @@ class PickerColumn {
|
|
|
26139
26103
|
render() {
|
|
26140
26104
|
const { color, disabled, isActive, numericInput } = this;
|
|
26141
26105
|
const mode = getIonMode$1(this);
|
|
26142
|
-
return (hAsync(Host, { key: '
|
|
26106
|
+
return (hAsync(Host, { key: 'fc7176e47e8d8776060197343b4c15c09f312528', class: createColorClasses$1(color, {
|
|
26143
26107
|
[mode]: true,
|
|
26144
26108
|
['picker-column-active']: isActive,
|
|
26145
26109
|
['picker-column-numeric-input']: numericInput,
|
|
26146
26110
|
['picker-column-disabled']: disabled,
|
|
26147
|
-
}) }, hAsync("slot", { key: '
|
|
26111
|
+
}) }, hAsync("slot", { key: 'fce09abdcc48afa64fd5f869b1614f9e564b6759', name: "prefix" }), hAsync("div", { key: 'fbadc7cfa4965238a1ce5d47cb3bb258fa0214a1', class: "picker-opts", ref: (el) => {
|
|
26148
26112
|
this.scrollEl = el;
|
|
26149
|
-
}, 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: '
|
|
26113
|
+
}, 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" })));
|
|
26150
26114
|
}
|
|
26151
26115
|
get el() { return getElement(this); }
|
|
26152
26116
|
static get watchers() { return {
|
|
@@ -26510,9 +26474,9 @@ class PickerColumnCmp {
|
|
|
26510
26474
|
render() {
|
|
26511
26475
|
const col = this.col;
|
|
26512
26476
|
const mode = getIonMode$1(this);
|
|
26513
|
-
return (hAsync(Host, { key: '
|
|
26477
|
+
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: {
|
|
26514
26478
|
'max-width': this.col.columnWidth,
|
|
26515
|
-
} }, col.prefix && (hAsync("div", { key: '
|
|
26479
|
+
} }, 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))));
|
|
26516
26480
|
}
|
|
26517
26481
|
get el() { return getElement(this); }
|
|
26518
26482
|
static get watchers() { return {
|
|
@@ -26629,10 +26593,10 @@ class PickerColumnOption {
|
|
|
26629
26593
|
render() {
|
|
26630
26594
|
const { color, disabled, ariaLabel } = this;
|
|
26631
26595
|
const mode = getIonMode$1(this);
|
|
26632
|
-
return (hAsync(Host, { key: '
|
|
26596
|
+
return (hAsync(Host, { key: 'c45a1c14a351bf57d7113671164852349be5aa8a', class: createColorClasses$1(color, {
|
|
26633
26597
|
[mode]: true,
|
|
26634
26598
|
['option-disabled']: disabled,
|
|
26635
|
-
}) }, hAsync("div", { key: '
|
|
26599
|
+
}) }, hAsync("div", { key: '824930b658c6e3fb493ac4c6c2451d38c6bc4829', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, hAsync("slot", { key: '019df4dcf46e629bdbebcd46ed3ab29669feab27' }))));
|
|
26636
26600
|
}
|
|
26637
26601
|
get el() { return getElement(this); }
|
|
26638
26602
|
static get watchers() { return {
|
|
@@ -28073,9 +28037,9 @@ class Popover {
|
|
|
28073
28037
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
28074
28038
|
const desktop = isPlatform('desktop');
|
|
28075
28039
|
const enableArrow = arrow && !parentPopover;
|
|
28076
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
28040
|
+
return (hAsync(Host, Object.assign({ key: '2edd8333c630efbce59071f8a383e4326e928dbc', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
28077
28041
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
28078
|
-
}, 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: '
|
|
28042
|
+
}, 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' })))));
|
|
28079
28043
|
}
|
|
28080
28044
|
get el() { return getElement(this); }
|
|
28081
28045
|
static get watchers() { return {
|
|
@@ -28180,7 +28144,7 @@ class ProgressBar {
|
|
|
28180
28144
|
const mode = getIonMode$1(this);
|
|
28181
28145
|
// If the progress is displayed as a solid bar.
|
|
28182
28146
|
const progressSolid = buffer === 1;
|
|
28183
|
-
return (hAsync(Host, { key: '
|
|
28147
|
+
return (hAsync(Host, { key: 'c859e48f3d24a458239e36d925e5dc003ed07c6b', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses$1(color, {
|
|
28184
28148
|
[mode]: true,
|
|
28185
28149
|
[`progress-bar-${type}`]: true,
|
|
28186
28150
|
'progress-paused': paused,
|
|
@@ -28365,7 +28329,7 @@ class Radio {
|
|
|
28365
28329
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
28366
28330
|
const mode = getIonMode$1(this);
|
|
28367
28331
|
const inItem = hostContext('ion-item', el);
|
|
28368
|
-
return (hAsync(Host, { key: '
|
|
28332
|
+
return (hAsync(Host, { key: 'af5dc59ed528150872e907ed1036e3e2decba939', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses$1(color, {
|
|
28369
28333
|
[mode]: true,
|
|
28370
28334
|
'in-item': inItem,
|
|
28371
28335
|
'radio-checked': checked,
|
|
@@ -28376,10 +28340,10 @@ class Radio {
|
|
|
28376
28340
|
// Focus and active styling should not apply when the radio is in an item
|
|
28377
28341
|
'ion-activatable': !inItem,
|
|
28378
28342
|
'ion-focusable': !inItem,
|
|
28379
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, hAsync("label", { key: '
|
|
28343
|
+
}), 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: {
|
|
28380
28344
|
'label-text-wrapper': true,
|
|
28381
28345
|
'label-text-wrapper-hidden': !hasLabel,
|
|
28382
|
-
}, part: "label" }, hAsync("slot", { key: '
|
|
28346
|
+
}, part: "label" }, hAsync("slot", { key: '0a4613d29aa783d1882cf889377f7e4fd4fea51d' })), hAsync("div", { key: '191faea79dc4cd8befc4b873f5bd9f5af8ca2acc', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
28383
28347
|
}
|
|
28384
28348
|
get el() { return getElement(this); }
|
|
28385
28349
|
static get watchers() { return {
|
|
@@ -28618,7 +28582,7 @@ class RadioGroup {
|
|
|
28618
28582
|
const { label, labelId, el, name, value } = this;
|
|
28619
28583
|
const mode = getIonMode$1(this);
|
|
28620
28584
|
renderHiddenInput(true, el, name, value, false);
|
|
28621
|
-
return (hAsync(Host, { key: '
|
|
28585
|
+
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' }))));
|
|
28622
28586
|
}
|
|
28623
28587
|
get el() { return getElement(this); }
|
|
28624
28588
|
static get watchers() { return {
|
|
@@ -29378,7 +29342,7 @@ class Range {
|
|
|
29378
29342
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
29379
29343
|
const mode = getIonMode$1(this);
|
|
29380
29344
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
29381
|
-
return (hAsync(Host, { key: '
|
|
29345
|
+
return (hAsync(Host, { key: 'affcac4709096a48a5b4c1864b209b6352f6b078', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses$1(this.color, {
|
|
29382
29346
|
[mode]: true,
|
|
29383
29347
|
'in-item': inItem,
|
|
29384
29348
|
'range-disabled': disabled,
|
|
@@ -29387,10 +29351,10 @@ class Range {
|
|
|
29387
29351
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
29388
29352
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
29389
29353
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
29390
|
-
}) }, hAsync("label", { key: '
|
|
29354
|
+
}) }, hAsync("label", { key: 'c7cf95fa831d10b17c137995d0a9e0cf84006a76', class: "range-wrapper", id: "range-label" }, hAsync("div", { key: '5b8479c7939ae0f94a042c3aafd64316e4577d30', class: {
|
|
29391
29355
|
'label-text-wrapper': true,
|
|
29392
29356
|
'label-text-wrapper-hidden': !hasLabel,
|
|
29393
|
-
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '
|
|
29357
|
+
}, 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" })))));
|
|
29394
29358
|
}
|
|
29395
29359
|
get el() { return getElement(this); }
|
|
29396
29360
|
static get watchers() { return {
|
|
@@ -30357,7 +30321,7 @@ class Refresher {
|
|
|
30357
30321
|
}
|
|
30358
30322
|
render() {
|
|
30359
30323
|
const mode = getIonMode$1(this);
|
|
30360
|
-
return (hAsync(Host, { key: '
|
|
30324
|
+
return (hAsync(Host, { key: '06d61cc53260ce146dd6906cc96597e9baaa17cf', slot: "fixed", class: {
|
|
30361
30325
|
[mode]: true,
|
|
30362
30326
|
// Used internally for styling
|
|
30363
30327
|
[`refresher-${mode}`]: true,
|
|
@@ -30581,7 +30545,7 @@ class RefresherContent {
|
|
|
30581
30545
|
const pullingIcon = this.pullingIcon;
|
|
30582
30546
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
30583
30547
|
const mode = getIonMode$1(this);
|
|
30584
|
-
return (hAsync(Host, { key: '
|
|
30548
|
+
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())));
|
|
30585
30549
|
}
|
|
30586
30550
|
get el() { return getElement(this); }
|
|
30587
30551
|
static get cmpMeta() { return {
|
|
@@ -30622,7 +30586,7 @@ class Reorder {
|
|
|
30622
30586
|
render() {
|
|
30623
30587
|
const mode = getIonMode$1(this);
|
|
30624
30588
|
const reorderIcon = mode === 'ios' ? reorderThreeOutline : reorderTwoSharp;
|
|
30625
|
-
return (hAsync(Host, { key: '
|
|
30589
|
+
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" }))));
|
|
30626
30590
|
}
|
|
30627
30591
|
get el() { return getElement(this); }
|
|
30628
30592
|
static get style() { return {
|
|
@@ -30893,7 +30857,7 @@ class ReorderGroup {
|
|
|
30893
30857
|
}
|
|
30894
30858
|
render() {
|
|
30895
30859
|
const mode = getIonMode$1(this);
|
|
30896
|
-
return (hAsync(Host, { key: '
|
|
30860
|
+
return (hAsync(Host, { key: '9527bbdedaab63d31f562c874a7332ea60c4b47b', class: {
|
|
30897
30861
|
[mode]: true,
|
|
30898
30862
|
'reorder-enabled': !this.disabled,
|
|
30899
30863
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -31009,7 +30973,7 @@ class RippleEffect {
|
|
|
31009
30973
|
}
|
|
31010
30974
|
render() {
|
|
31011
30975
|
const mode = getIonMode$1(this);
|
|
31012
|
-
return (hAsync(Host, { key: '
|
|
30976
|
+
return (hAsync(Host, { key: '3b59cbb44741569a7350f9638b4392add673b6f1', role: "presentation", class: {
|
|
31013
30977
|
[mode]: true,
|
|
31014
30978
|
unbounded: this.unbounded,
|
|
31015
30979
|
} }));
|
|
@@ -31968,10 +31932,10 @@ class RouterLink {
|
|
|
31968
31932
|
rel: this.rel,
|
|
31969
31933
|
target: this.target,
|
|
31970
31934
|
};
|
|
31971
|
-
return (hAsync(Host, { key: '
|
|
31935
|
+
return (hAsync(Host, { key: '8372835161d507c7b821b7536c55f912eb6ce704', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
31972
31936
|
[mode]: true,
|
|
31973
31937
|
'ion-activatable': true,
|
|
31974
|
-
}) }, hAsync("a", Object.assign({ key: '
|
|
31938
|
+
}) }, hAsync("a", Object.assign({ key: '315966e14a17760f3f64197e8315200039787897' }, attrs), hAsync("slot", { key: '95fc1697b884225e85e647dddcaa8f4af8b9a979' }))));
|
|
31975
31939
|
}
|
|
31976
31940
|
static get style() { return routerLinkCss; }
|
|
31977
31941
|
static get cmpMeta() { return {
|
|
@@ -32168,7 +32132,7 @@ class RouterOutlet {
|
|
|
32168
32132
|
return true;
|
|
32169
32133
|
}
|
|
32170
32134
|
render() {
|
|
32171
|
-
return hAsync("slot", { key: '
|
|
32135
|
+
return hAsync("slot", { key: '386c41745b61daba161cf75063da97fe29ba36cb' });
|
|
32172
32136
|
}
|
|
32173
32137
|
get el() { return getElement(this); }
|
|
32174
32138
|
static get watchers() { return {
|
|
@@ -32201,7 +32165,7 @@ class Row {
|
|
|
32201
32165
|
registerInstance(this, hostRef);
|
|
32202
32166
|
}
|
|
32203
32167
|
render() {
|
|
32204
|
-
return (hAsync(Host, { key: '
|
|
32168
|
+
return (hAsync(Host, { key: '8ba906a8cbea060a79ed658c9bf34906f0c11d38', class: getIonMode$1(this) }, hAsync("slot", { key: 'd1009176f45b588fa52c7d9eb336f3c6d3214bb8' })));
|
|
32205
32169
|
}
|
|
32206
32170
|
static get style() { return rowCss; }
|
|
32207
32171
|
static get cmpMeta() { return {
|
|
@@ -32642,8 +32606,8 @@ class Searchbar {
|
|
|
32642
32606
|
const clearIcon = this.clearIcon || (mode === 'ios' ? closeCircle : closeSharp);
|
|
32643
32607
|
const searchIcon = this.searchIcon || (mode === 'ios' ? searchOutline : searchSharp);
|
|
32644
32608
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
32645
|
-
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '
|
|
32646
|
-
return (hAsync(Host, { key: '
|
|
32609
|
+
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))));
|
|
32610
|
+
return (hAsync(Host, { key: 'bcc5b33a2859903ba11bfc5c611c6a2aaa71d06b', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses$1(this.color, {
|
|
32647
32611
|
[mode]: true,
|
|
32648
32612
|
'searchbar-animated': animated,
|
|
32649
32613
|
'searchbar-disabled': this.disabled,
|
|
@@ -32653,14 +32617,14 @@ class Searchbar {
|
|
|
32653
32617
|
'searchbar-has-focus': this.focused,
|
|
32654
32618
|
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
32655
32619
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
32656
|
-
}) }, hAsync("div", { key: '
|
|
32620
|
+
}) }, 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) => {
|
|
32657
32621
|
/**
|
|
32658
32622
|
* This prevents mobile browsers from
|
|
32659
32623
|
* blurring the input when the clear
|
|
32660
32624
|
* button is activated.
|
|
32661
32625
|
*/
|
|
32662
32626
|
ev.preventDefault();
|
|
32663
|
-
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: '
|
|
32627
|
+
}, 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));
|
|
32664
32628
|
}
|
|
32665
32629
|
get el() { return getElement(this); }
|
|
32666
32630
|
static get watchers() { return {
|
|
@@ -33255,14 +33219,14 @@ class Segment {
|
|
|
33255
33219
|
}
|
|
33256
33220
|
render() {
|
|
33257
33221
|
const mode = getIonMode$1(this);
|
|
33258
|
-
return (hAsync(Host, { key: '
|
|
33222
|
+
return (hAsync(Host, { key: '725cc37b25c539fa5e3ae8d90530ae33ededc3de', role: "tablist", onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
33259
33223
|
[mode]: true,
|
|
33260
33224
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
33261
33225
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
33262
33226
|
'segment-activated': this.activated,
|
|
33263
33227
|
'segment-disabled': this.disabled,
|
|
33264
33228
|
'segment-scrollable': this.scrollable,
|
|
33265
|
-
}) }, hAsync("slot", { key: '
|
|
33229
|
+
}) }, hAsync("slot", { key: 'c51cf7ea50325866a9367d214e12bc3754870335', onSlotchange: this.onSlottedItemsChange })));
|
|
33266
33230
|
}
|
|
33267
33231
|
get el() { return getElement(this); }
|
|
33268
33232
|
static get watchers() { return {
|
|
@@ -33402,7 +33366,7 @@ class SegmentButton {
|
|
|
33402
33366
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
33403
33367
|
const mode = getIonMode$1(this);
|
|
33404
33368
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
33405
|
-
return (hAsync(Host, { key: '
|
|
33369
|
+
return (hAsync(Host, { key: 'f69e2a24198a7c57543dbe66902da039a6569c64', class: {
|
|
33406
33370
|
[mode]: true,
|
|
33407
33371
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
33408
33372
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -33418,7 +33382,7 @@ class SegmentButton {
|
|
|
33418
33382
|
'ion-activatable': true,
|
|
33419
33383
|
'ion-activatable-instant': true,
|
|
33420
33384
|
'ion-focusable': true,
|
|
33421
|
-
} }, hAsync("button", Object.assign({ key: '
|
|
33385
|
+
} }, 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" }))));
|
|
33422
33386
|
}
|
|
33423
33387
|
get el() { return getElement(this); }
|
|
33424
33388
|
static get watchers() { return {
|
|
@@ -33453,7 +33417,7 @@ class SegmentContent {
|
|
|
33453
33417
|
registerInstance(this, hostRef);
|
|
33454
33418
|
}
|
|
33455
33419
|
render() {
|
|
33456
|
-
return (hAsync(Host, { key: '
|
|
33420
|
+
return (hAsync(Host, { key: '665f41a854621f898eaf7ba9a49e77cc9326501e' }, hAsync("slot", { key: '635aa57fbf6167dcd36fe8dc5dfc1c313637ac04' })));
|
|
33457
33421
|
}
|
|
33458
33422
|
static get style() { return segmentContentCss; }
|
|
33459
33423
|
static get cmpMeta() { return {
|
|
@@ -33568,10 +33532,10 @@ class SegmentView {
|
|
|
33568
33532
|
}
|
|
33569
33533
|
render() {
|
|
33570
33534
|
const { disabled, isManualScroll } = this;
|
|
33571
|
-
return (hAsync(Host, { key: '
|
|
33535
|
+
return (hAsync(Host, { key: '1c9bfce83967a93d63c225031a5cd688509d8fc8', class: {
|
|
33572
33536
|
'segment-view-disabled': disabled,
|
|
33573
33537
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
33574
|
-
} }, hAsync("slot", { key: '
|
|
33538
|
+
} }, hAsync("slot", { key: '19fee034e76fffbdb5f622cb514037c00f9d55d5' })));
|
|
33575
33539
|
}
|
|
33576
33540
|
get el() { return getElement(this); }
|
|
33577
33541
|
static get style() { return {
|
|
@@ -34338,7 +34302,7 @@ class Select {
|
|
|
34338
34302
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
34339
34303
|
*/
|
|
34340
34304
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
34341
|
-
return (hAsync(Host, { key: '
|
|
34305
|
+
return (hAsync(Host, { key: '9f0a833ebc3df27a42146b07bcbb181c05f5e5c4', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
34342
34306
|
[mode]: true,
|
|
34343
34307
|
'in-item': inItem,
|
|
34344
34308
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -34356,7 +34320,7 @@ class Select {
|
|
|
34356
34320
|
[`select-justify-${justify}`]: justifyEnabled,
|
|
34357
34321
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
34358
34322
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
34359
|
-
}) }, hAsync("label", { key: '
|
|
34323
|
+
}) }, 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()));
|
|
34360
34324
|
}
|
|
34361
34325
|
get el() { return getElement(this); }
|
|
34362
34326
|
static get watchers() { return {
|
|
@@ -34517,7 +34481,7 @@ class SelectModal {
|
|
|
34517
34481
|
} }, option.text))));
|
|
34518
34482
|
}
|
|
34519
34483
|
render() {
|
|
34520
|
-
return (hAsync(Host, { key: '
|
|
34484
|
+
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()))));
|
|
34521
34485
|
}
|
|
34522
34486
|
get el() { return getElement(this); }
|
|
34523
34487
|
static get style() { return {
|
|
@@ -34551,7 +34515,7 @@ class SelectOption {
|
|
|
34551
34515
|
this.disabled = false;
|
|
34552
34516
|
}
|
|
34553
34517
|
render() {
|
|
34554
|
-
return hAsync(Host, { key: '
|
|
34518
|
+
return hAsync(Host, { key: '824730b6c1e4f15b716e91b05840e890af5f1577', role: "option", id: this.inputId, class: getIonMode$1(this) });
|
|
34555
34519
|
}
|
|
34556
34520
|
get el() { return getElement(this); }
|
|
34557
34521
|
static get style() { return selectOptionCss; }
|
|
@@ -34668,7 +34632,7 @@ class SelectPopover {
|
|
|
34668
34632
|
render() {
|
|
34669
34633
|
const { header, message, options, subHeader } = this;
|
|
34670
34634
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
34671
|
-
return (hAsync(Host, { key: '
|
|
34635
|
+
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))));
|
|
34672
34636
|
}
|
|
34673
34637
|
get el() { return getElement(this); }
|
|
34674
34638
|
static get style() { return {
|
|
@@ -34718,11 +34682,11 @@ class SkeletonText {
|
|
|
34718
34682
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
34719
34683
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
34720
34684
|
const mode = getIonMode$1(this);
|
|
34721
|
-
return (hAsync(Host, { key: '
|
|
34685
|
+
return (hAsync(Host, { key: 'cb8da9aba121811b9a4ffdae60ed88105897cb3c', class: {
|
|
34722
34686
|
[mode]: true,
|
|
34723
34687
|
'skeleton-text-animated': animated,
|
|
34724
34688
|
'in-media': inMedia,
|
|
34725
|
-
} }, hAsync("span", { key: '
|
|
34689
|
+
} }, hAsync("span", { key: '5379deee3c76d46d615be0cba14b4f60129ffa25' }, "\u00A0")));
|
|
34726
34690
|
}
|
|
34727
34691
|
get el() { return getElement(this); }
|
|
34728
34692
|
static get style() { return skeletonTextCss; }
|
|
@@ -34774,7 +34738,7 @@ class Spinner {
|
|
|
34774
34738
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
34775
34739
|
}
|
|
34776
34740
|
}
|
|
34777
|
-
return (hAsync(Host, { key: '
|
|
34741
|
+
return (hAsync(Host, { key: 'dd1954e557fa14b943e761474e29e4316ba53938', class: createColorClasses$1(self.color, {
|
|
34778
34742
|
[mode]: true,
|
|
34779
34743
|
[`spinner-${spinnerName}`]: true,
|
|
34780
34744
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -34873,12 +34837,12 @@ class SplitPane {
|
|
|
34873
34837
|
}
|
|
34874
34838
|
render() {
|
|
34875
34839
|
const mode = getIonMode$1(this);
|
|
34876
|
-
return (hAsync(Host, { key: '
|
|
34840
|
+
return (hAsync(Host, { key: '05c88c009fbe2e223fd261760a2b49da1653ff62', class: {
|
|
34877
34841
|
[mode]: true,
|
|
34878
34842
|
// Used internally for styling
|
|
34879
34843
|
[`split-pane-${mode}`]: true,
|
|
34880
34844
|
'split-pane-visible': this.visible,
|
|
34881
|
-
} }, hAsync("slot", { key: '
|
|
34845
|
+
} }, hAsync("slot", { key: 'b35865082661253c4468520d79234fa5dab5bd35' })));
|
|
34882
34846
|
}
|
|
34883
34847
|
get el() { return getElement(this); }
|
|
34884
34848
|
static get watchers() { return {
|
|
@@ -34944,10 +34908,10 @@ class Tab {
|
|
|
34944
34908
|
}
|
|
34945
34909
|
render() {
|
|
34946
34910
|
const { tab, active, component } = this;
|
|
34947
|
-
return (hAsync(Host, { key: '
|
|
34911
|
+
return (hAsync(Host, { key: 'fbd837bad7a0632336d46a597ace23673b153e48', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
34948
34912
|
'ion-page': component === undefined,
|
|
34949
34913
|
'tab-hidden': !active,
|
|
34950
|
-
} }, hAsync("slot", { key: '
|
|
34914
|
+
} }, hAsync("slot", { key: '35c218169fda826c9c1337558e0278d0c7f5f26a' })));
|
|
34951
34915
|
}
|
|
34952
34916
|
get el() { return getElement(this); }
|
|
34953
34917
|
static get watchers() { return {
|
|
@@ -35039,11 +35003,11 @@ class TabBar {
|
|
|
35039
35003
|
const { color, translucent, keyboardVisible } = this;
|
|
35040
35004
|
const mode = getIonMode$1(this);
|
|
35041
35005
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
35042
|
-
return (hAsync(Host, { key: '
|
|
35006
|
+
return (hAsync(Host, { key: '47ddafd51bb665679dfdef0588df97ec63dce5ca', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses$1(color, {
|
|
35043
35007
|
[mode]: true,
|
|
35044
35008
|
'tab-bar-translucent': translucent,
|
|
35045
35009
|
'tab-bar-hidden': shouldHide,
|
|
35046
|
-
}) }, hAsync("slot", { key: '
|
|
35010
|
+
}) }, hAsync("slot", { key: 'a4fc2dc72518023db6b7d17fb689e2841e833252' })));
|
|
35047
35011
|
}
|
|
35048
35012
|
get el() { return getElement(this); }
|
|
35049
35013
|
static get watchers() { return {
|
|
@@ -35139,7 +35103,7 @@ class TabButton {
|
|
|
35139
35103
|
rel,
|
|
35140
35104
|
target,
|
|
35141
35105
|
};
|
|
35142
|
-
return (hAsync(Host, { key: '
|
|
35106
|
+
return (hAsync(Host, { key: '638b93ef40701ec3aefb89b1579eb91aaf6d4f8a', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
35143
35107
|
[mode]: true,
|
|
35144
35108
|
'tab-selected': selected,
|
|
35145
35109
|
'tab-disabled': disabled,
|
|
@@ -35151,7 +35115,7 @@ class TabButton {
|
|
|
35151
35115
|
'ion-activatable': true,
|
|
35152
35116
|
'ion-selectable': true,
|
|
35153
35117
|
'ion-focusable': true,
|
|
35154
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
35118
|
+
} }, 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" }))));
|
|
35155
35119
|
}
|
|
35156
35120
|
get el() { return getElement(this); }
|
|
35157
35121
|
static get style() { return {
|
|
@@ -35342,7 +35306,7 @@ class Tabs {
|
|
|
35342
35306
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
35343
35307
|
}
|
|
35344
35308
|
render() {
|
|
35345
|
-
return (hAsync(Host, { key: '
|
|
35309
|
+
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" })));
|
|
35346
35310
|
}
|
|
35347
35311
|
get el() { return getElement(this); }
|
|
35348
35312
|
static get style() { return tabsCss; }
|
|
@@ -35382,9 +35346,9 @@ class Text {
|
|
|
35382
35346
|
}
|
|
35383
35347
|
render() {
|
|
35384
35348
|
const mode = getIonMode$1(this);
|
|
35385
|
-
return (hAsync(Host, { key: '
|
|
35349
|
+
return (hAsync(Host, { key: 'bfaa49d35f43b8036725ae8a322c716fc6e43bdf', class: createColorClasses$1(this.color, {
|
|
35386
35350
|
[mode]: true,
|
|
35387
|
-
}) }, hAsync("slot", { key: '
|
|
35351
|
+
}) }, hAsync("slot", { key: 'c04880cd1935b42cbe60f58fd523b4d8a96072dc' })));
|
|
35388
35352
|
}
|
|
35389
35353
|
static get style() { return textCss; }
|
|
35390
35354
|
static get cmpMeta() { return {
|
|
@@ -35845,7 +35809,7 @@ class Textarea {
|
|
|
35845
35809
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
35846
35810
|
*/
|
|
35847
35811
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
35848
|
-
return (hAsync(Host, { key: '
|
|
35812
|
+
return (hAsync(Host, { key: '2c9de566803dd007cee3639ddd04accb68663b32', class: createColorClasses$1(this.color, {
|
|
35849
35813
|
[mode]: true,
|
|
35850
35814
|
'has-value': hasValue,
|
|
35851
35815
|
'has-focus': hasFocus,
|
|
@@ -35854,7 +35818,7 @@ class Textarea {
|
|
|
35854
35818
|
[`textarea-shape-${shape}`]: shape !== undefined,
|
|
35855
35819
|
[`textarea-label-placement-${labelPlacement}`]: true,
|
|
35856
35820
|
'textarea-disabled': disabled,
|
|
35857
|
-
}) }, hAsync("label", { key: '
|
|
35821
|
+
}) }, 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()));
|
|
35858
35822
|
}
|
|
35859
35823
|
get el() { return getElement(this); }
|
|
35860
35824
|
static get watchers() { return {
|
|
@@ -35917,7 +35881,7 @@ class Thumbnail {
|
|
|
35917
35881
|
registerInstance(this, hostRef);
|
|
35918
35882
|
}
|
|
35919
35883
|
render() {
|
|
35920
|
-
return (hAsync(Host, { key: '
|
|
35884
|
+
return (hAsync(Host, { key: 'b250e01664238f1dca8f9757b15bc3d5d9387ffa', class: getIonMode$1(this) }, hAsync("slot", { key: '72cb568bccabc983c5186a7596ef6c6d4ebf5ad9' })));
|
|
35921
35885
|
}
|
|
35922
35886
|
static get style() { return thumbnailCss; }
|
|
35923
35887
|
static get cmpMeta() { return {
|
|
@@ -36775,9 +36739,9 @@ class Toast {
|
|
|
36775
36739
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
36776
36740
|
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);
|
|
36777
36741
|
}
|
|
36778
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
36742
|
+
return (hAsync(Host, Object.assign({ key: '4a303f9ebb69614e9dca677d9d80a4a275de0d85', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
36779
36743
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
36780
|
-
}, 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: '
|
|
36744
|
+
}, 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')))));
|
|
36781
36745
|
}
|
|
36782
36746
|
get el() { return getElement(this); }
|
|
36783
36747
|
static get watchers() { return {
|
|
@@ -37089,7 +37053,7 @@ class Toggle {
|
|
|
37089
37053
|
const value = this.getValue();
|
|
37090
37054
|
const rtl = isRTL$1(el) ? 'rtl' : 'ltr';
|
|
37091
37055
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
37092
|
-
return (hAsync(Host, { key: '
|
|
37056
|
+
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, {
|
|
37093
37057
|
[mode]: true,
|
|
37094
37058
|
'in-item': hostContext('ion-item', el),
|
|
37095
37059
|
'toggle-activated': activated,
|
|
@@ -37099,10 +37063,10 @@ class Toggle {
|
|
|
37099
37063
|
[`toggle-alignment-${alignment}`]: alignment !== undefined,
|
|
37100
37064
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
37101
37065
|
[`toggle-${rtl}`]: true,
|
|
37102
|
-
}) }, hAsync("label", { key: '
|
|
37066
|
+
}) }, 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: {
|
|
37103
37067
|
'label-text-wrapper': true,
|
|
37104
37068
|
'label-text-wrapper-hidden': !hasLabel,
|
|
37105
|
-
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '
|
|
37069
|
+
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '006dd3558264d69ab020c07005b348adc4ecdd5b' }), this.renderHintText()), hAsync("div", { key: 'dd4e52de31caabee41ec1bc58efecd1e213368c9', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
37106
37070
|
}
|
|
37107
37071
|
get el() { return getElement(this); }
|
|
37108
37072
|
static get watchers() { return {
|
|
@@ -37212,10 +37176,10 @@ class Toolbar {
|
|
|
37212
37176
|
this.childrenStyles.forEach((value) => {
|
|
37213
37177
|
Object.assign(childStyles, value);
|
|
37214
37178
|
});
|
|
37215
|
-
return (hAsync(Host, { key: '
|
|
37179
|
+
return (hAsync(Host, { key: 'b849db2863778dee6c5a251bffa1b3a657aeb036', class: Object.assign(Object.assign({}, childStyles), createColorClasses$1(this.color, {
|
|
37216
37180
|
[mode]: true,
|
|
37217
37181
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
37218
|
-
})) }, hAsync("div", { key: '
|
|
37182
|
+
})) }, 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" }))));
|
|
37219
37183
|
}
|
|
37220
37184
|
get el() { return getElement(this); }
|
|
37221
37185
|
static get style() { return {
|
|
@@ -37261,11 +37225,11 @@ class ToolbarTitle {
|
|
|
37261
37225
|
render() {
|
|
37262
37226
|
const mode = getIonMode$1(this);
|
|
37263
37227
|
const size = this.getSize();
|
|
37264
|
-
return (hAsync(Host, { key: '
|
|
37228
|
+
return (hAsync(Host, { key: '44e63f8439df64c470692904427b417e19406476', class: createColorClasses$1(this.color, {
|
|
37265
37229
|
[mode]: true,
|
|
37266
37230
|
[`title-${size}`]: true,
|
|
37267
37231
|
'title-rtl': document.dir === 'rtl',
|
|
37268
|
-
}) }, hAsync("div", { key: '
|
|
37232
|
+
}) }, hAsync("div", { key: '784cf60a0db16045391891cc8fad0c7dbeba4039', class: "toolbar-title" }, hAsync("slot", { key: '0c720a50479ba257e8756337aeb9b0ab7516a227' }))));
|
|
37269
37233
|
}
|
|
37270
37234
|
get el() { return getElement(this); }
|
|
37271
37235
|
static get watchers() { return {
|