@ionic/core 8.7.13-dev.11765558154.1273081d → 8.7.13-dev.11765569652.136c6b13
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 +77 -66
- 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 +81 -70
- 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 +77 -66
- 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 +81 -70
- 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-cc2a9936.entry.js → p-020af078.entry.js} +1 -1
- package/dist/ionic/{p-01e27965.entry.js → p-074839fc.entry.js} +1 -1
- package/dist/ionic/{p-67f46577.entry.js → p-0abeb0fc.entry.js} +1 -1
- package/dist/ionic/{p-59a5cdf5.entry.js → p-0bf76d0f.entry.js} +1 -1
- package/dist/ionic/{p-530fcd71.entry.js → p-0dfa5a37.entry.js} +1 -1
- package/dist/ionic/{p-85ee4a92.entry.js → p-11518b31.entry.js} +1 -1
- package/dist/ionic/{p-363d1209.entry.js → p-1647c46c.entry.js} +1 -1
- package/dist/ionic/{p-6f37536a.entry.js → p-2a939845.entry.js} +1 -1
- package/dist/ionic/{p-221a3d8c.entry.js → p-316c0420.entry.js} +1 -1
- package/dist/ionic/{p-a4a9f5ae.entry.js → p-31f7095f.entry.js} +1 -1
- package/dist/ionic/{p-fbb00634.entry.js → p-370e4237.entry.js} +1 -1
- package/dist/ionic/{p-2668188b.entry.js → p-3a6caca9.entry.js} +1 -1
- package/dist/ionic/{p-64841854.entry.js → p-40c261a3.entry.js} +1 -1
- package/dist/ionic/{p-ee8ecd40.entry.js → p-46d74291.entry.js} +1 -1
- package/dist/ionic/p-4b658a7c.entry.js +4 -0
- package/dist/ionic/p-4e41ea20.entry.js +4 -0
- package/dist/ionic/p-51a60e0f.entry.js +4 -0
- package/dist/ionic/p-576e0965.entry.js +4 -0
- package/dist/ionic/{p-e036eb2f.entry.js → p-6241ce47.entry.js} +1 -1
- package/dist/ionic/{p-c175d792.entry.js → p-639dd543.entry.js} +1 -1
- package/dist/ionic/{p-d655735d.entry.js → p-6444c606.entry.js} +1 -1
- package/dist/ionic/{p-65db57d7.entry.js → p-675b1a31.entry.js} +1 -1
- package/dist/ionic/{p-82d5bb3d.entry.js → p-6d070558.entry.js} +1 -1
- package/dist/ionic/{p-e64b550c.entry.js → p-7268efa5.entry.js} +1 -1
- package/dist/ionic/{p-20f135b4.entry.js → p-72c38b88.entry.js} +1 -1
- package/dist/ionic/{p-b8551510.entry.js → p-86f53961.entry.js} +1 -1
- package/dist/ionic/p-94de5cfa.entry.js +4 -0
- package/dist/ionic/{p-e48f026f.entry.js → p-9575b654.entry.js} +1 -1
- package/dist/ionic/{p-30333874.entry.js → p-a127bee2.entry.js} +1 -1
- package/dist/ionic/{p-3b0b7a05.entry.js → p-a8ed848b.entry.js} +1 -1
- package/dist/ionic/{p-bccc9207.entry.js → p-ac4eb91d.entry.js} +1 -1
- package/dist/ionic/{p-dbc82f0e.entry.js → p-b57c6d3e.entry.js} +1 -1
- package/dist/ionic/{p-b30c3430.entry.js → p-c19f63d0.entry.js} +1 -1
- package/dist/ionic/{p-f097a9e5.entry.js → p-c85a2127.entry.js} +1 -1
- package/dist/ionic/{p-69c6fe52.entry.js → p-cc45bcbc.entry.js} +1 -1
- package/dist/ionic/{p-75ebaa15.entry.js → p-cebb0328.entry.js} +1 -1
- package/dist/ionic/{p-bce86e56.entry.js → p-d126e8d3.entry.js} +1 -1
- package/dist/ionic/{p-2bd1ea35.entry.js → p-d3014190.entry.js} +1 -1
- package/dist/ionic/{p-652318c3.entry.js → p-dbbe606a.entry.js} +1 -1
- package/dist/ionic/{p-0852af24.entry.js → p-ea509e3c.entry.js} +1 -1
- package/dist/ionic/{p-fc14f34a.entry.js → p-ec654c42.entry.js} +1 -1
- package/dist/ionic/{p-fb0271ae.entry.js → p-f8f22cc0.entry.js} +1 -1
- package/dist/types/components/datetime/datetime.d.ts +11 -2
- package/hydrate/index.js +205 -194
- package/hydrate/index.mjs +205 -194
- package/package.json +5 -5
- package/dist/ionic/p-0ca0fe9c.entry.js +0 -4
- package/dist/ionic/p-43c5249f.entry.js +0 -4
- package/dist/ionic/p-7f98e710.entry.js +0 -4
- package/dist/ionic/p-8611adcf.entry.js +0 -4
- package/dist/ionic/p-ce8dad03.entry.js +0 -4
package/hydrate/index.js
CHANGED
|
@@ -13435,6 +13435,28 @@ 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
|
+
};
|
|
13438
13460
|
this.processValue = (value) => {
|
|
13439
13461
|
const hasValue = value !== null && value !== undefined && value !== '' && (!Array.isArray(value) || value.length > 0);
|
|
13440
13462
|
const valueToProcess = hasValue ? parseDate(value) : this.defaultParts;
|
|
@@ -13712,95 +13734,84 @@ class Datetime {
|
|
|
13712
13734
|
this.clearFocusVisible();
|
|
13713
13735
|
this.clearFocusVisible = undefined;
|
|
13714
13736
|
}
|
|
13715
|
-
if (this.resizeObserver) {
|
|
13716
|
-
this.resizeObserver.disconnect();
|
|
13717
|
-
this.resizeObserver = undefined;
|
|
13718
|
-
}
|
|
13719
|
-
if (this.destroyOverlayListeners) {
|
|
13720
|
-
this.destroyOverlayListeners();
|
|
13721
|
-
this.destroyOverlayListeners = undefined;
|
|
13722
|
-
}
|
|
13723
13737
|
}
|
|
13724
13738
|
initializeListeners() {
|
|
13725
13739
|
this.initializeCalendarListener();
|
|
13726
13740
|
this.initializeKeyboardListeners();
|
|
13727
13741
|
}
|
|
13728
13742
|
componentDidLoad() {
|
|
13729
|
-
const { el } = this;
|
|
13743
|
+
const { el, intersectionTrackerRef } = this;
|
|
13730
13744
|
/**
|
|
13731
13745
|
* If a scrollable element is hidden using `display: none`,
|
|
13732
13746
|
* it will not have a scroll height meaning we cannot scroll elements
|
|
13733
13747
|
* into view. As a result, we will need to wait for the datetime to become
|
|
13734
13748
|
* visible if used inside of a modal or a popover otherwise the scrollable
|
|
13735
13749
|
* areas will not have the correct values snapped into place.
|
|
13736
|
-
*
|
|
13737
|
-
* We use ResizeObserver to detect when the element transitions between
|
|
13738
|
-
* having dimensions (visible) and zero dimensions (hidden). This is more
|
|
13739
|
-
* reliable than IntersectionObserver for detecting visibility changes,
|
|
13740
|
-
* especially when the element is inside a modal or popover.
|
|
13741
13750
|
*/
|
|
13742
|
-
const
|
|
13743
|
-
|
|
13751
|
+
const visibleCallback = (entries) => {
|
|
13752
|
+
const ev = entries[0];
|
|
13753
|
+
if (!ev.isIntersecting) {
|
|
13744
13754
|
return;
|
|
13745
13755
|
}
|
|
13746
13756
|
this.initializeListeners();
|
|
13757
|
+
/**
|
|
13758
|
+
* TODO FW-2793: Datetime needs a frame to ensure that it
|
|
13759
|
+
* can properly scroll contents into view. As a result
|
|
13760
|
+
* we hide the scrollable content until after that frame
|
|
13761
|
+
* so users do not see the content quickly shifting. The downside
|
|
13762
|
+
* is that the content will pop into view a frame after. Maybe there
|
|
13763
|
+
* is a better way to handle this?
|
|
13764
|
+
*/
|
|
13747
13765
|
writeTask(() => {
|
|
13748
|
-
el.classList.add('datetime-ready');
|
|
13749
|
-
});
|
|
13750
|
-
};
|
|
13751
|
-
const markHidden = () => {
|
|
13752
|
-
this.destroyInteractionListeners();
|
|
13753
|
-
this.showMonthAndYear = false;
|
|
13754
|
-
writeTask(() => {
|
|
13755
|
-
el.classList.remove('datetime-ready');
|
|
13766
|
+
this.el.classList.add('datetime-ready');
|
|
13756
13767
|
});
|
|
13757
13768
|
};
|
|
13769
|
+
const visibleIO = new IntersectionObserver(visibleCallback, { threshold: 0.01, root: el });
|
|
13758
13770
|
/**
|
|
13759
|
-
*
|
|
13760
|
-
*
|
|
13761
|
-
*
|
|
13762
|
-
*
|
|
13763
|
-
*/
|
|
13764
|
-
|
|
13765
|
-
|
|
13766
|
-
|
|
13767
|
-
|
|
13768
|
-
|
|
13769
|
-
|
|
13770
|
-
|
|
13771
|
-
|
|
13772
|
-
|
|
13773
|
-
|
|
13774
|
-
|
|
13775
|
-
|
|
13776
|
-
|
|
13777
|
-
|
|
13778
|
-
|
|
13779
|
-
|
|
13780
|
-
|
|
13781
|
-
|
|
13782
|
-
|
|
13783
|
-
|
|
13784
|
-
|
|
13785
|
-
|
|
13786
|
-
|
|
13787
|
-
}
|
|
13788
|
-
|
|
13789
|
-
* Use raf to avoid a race condition between the component loading and
|
|
13790
|
-
* its display animation starting (such as when shown in a modal).
|
|
13791
|
-
*/
|
|
13792
|
-
raf(() => { var _a; return (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.observe(el); });
|
|
13793
|
-
}
|
|
13794
|
-
else {
|
|
13771
|
+
* Use raf to avoid a race condition between the component loading and
|
|
13772
|
+
* its display animation starting (such as when shown in a modal). This
|
|
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.
|
|
13784
|
+
*/
|
|
13785
|
+
setTimeout(() => {
|
|
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();
|
|
13795
13801
|
/**
|
|
13796
|
-
*
|
|
13797
|
-
*
|
|
13798
|
-
*
|
|
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.
|
|
13799
13807
|
*/
|
|
13808
|
+
this.showMonthAndYear = false;
|
|
13800
13809
|
writeTask(() => {
|
|
13801
|
-
el.classList.
|
|
13810
|
+
this.el.classList.remove('datetime-ready');
|
|
13802
13811
|
});
|
|
13803
|
-
}
|
|
13812
|
+
};
|
|
13813
|
+
const hiddenIO = new IntersectionObserver(hiddenCallback, { threshold: 0, root: el });
|
|
13814
|
+
raf(() => hiddenIO === null || hiddenIO === void 0 ? void 0 : hiddenIO.observe(intersectionTrackerRef));
|
|
13804
13815
|
/**
|
|
13805
13816
|
* Datetime uses Ionic components that emit
|
|
13806
13817
|
* ionFocus and ionBlur. These events are
|
|
@@ -14529,7 +14540,7 @@ class Datetime {
|
|
|
14529
14540
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
14530
14541
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
14531
14542
|
renderHiddenInput(true, el, name, formatValue(value), disabled);
|
|
14532
|
-
return (hAsync(Host, { key: '
|
|
14543
|
+
return (hAsync(Host, { key: 'efdbc0922670a841bc667ceac392cdc1dedffd01', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses$1(color, {
|
|
14533
14544
|
[mode]: true,
|
|
14534
14545
|
['datetime-readonly']: readonly,
|
|
14535
14546
|
['datetime-disabled']: disabled,
|
|
@@ -14539,7 +14550,7 @@ class Datetime {
|
|
|
14539
14550
|
[`datetime-size-${size}`]: true,
|
|
14540
14551
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
14541
14552
|
[`datetime-grid`]: isGridStyle,
|
|
14542
|
-
})) }, this.renderDatetime(mode)));
|
|
14553
|
+
})) }, hAsync("div", { key: '3f8bb75fcb0baff55182ef3aa1b535eacc58d81f', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(mode)));
|
|
14543
14554
|
}
|
|
14544
14555
|
get el() { return getElement(this); }
|
|
14545
14556
|
static get watchers() { return {
|
|
@@ -14950,11 +14961,11 @@ class DatetimeButton {
|
|
|
14950
14961
|
render() {
|
|
14951
14962
|
const { color, dateText, timeText, selectedButton, datetimeActive, disabled } = this;
|
|
14952
14963
|
const mode = getIonMode$1(this);
|
|
14953
|
-
return (hAsync(Host, { key: '
|
|
14964
|
+
return (hAsync(Host, { key: '11d037e6ab061e5116842970760b04850b42f2c7', class: createColorClasses$1(color, {
|
|
14954
14965
|
[mode]: true,
|
|
14955
14966
|
[`${selectedButton}-active`]: datetimeActive,
|
|
14956
14967
|
['datetime-button-disabled']: disabled,
|
|
14957
|
-
}) }, dateText && (hAsync("button", { key: '
|
|
14968
|
+
}) }, dateText && (hAsync("button", { key: '08ecb62da0fcbf7466a1f2403276712a3ff17fbc', 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: '1c04853d4d23c0f1a594602bde44511c98355644', name: "date-target" }, dateText), mode === 'md' && hAsync("ion-ripple-effect", { key: '5fc566cd4bc885bcf983ce99e3dc65d7f485bf9b' }))), timeText && (hAsync("button", { key: 'c9c5c34ac338badf8659da22bea5829d62c51169', 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: '147a9d2069dbf737f6fc64787823d6d5af5aa653', name: "time-target" }, timeText), mode === 'md' && hAsync("ion-ripple-effect", { key: '70a5e25b75ed90ac6bba003468435f67aa9d8f0a' })))));
|
|
14958
14969
|
}
|
|
14959
14970
|
get el() { return getElement(this); }
|
|
14960
14971
|
static get style() { return {
|
|
@@ -15034,12 +15045,12 @@ class Fab {
|
|
|
15034
15045
|
render() {
|
|
15035
15046
|
const { horizontal, vertical, edge } = this;
|
|
15036
15047
|
const mode = getIonMode$1(this);
|
|
15037
|
-
return (hAsync(Host, { key: '
|
|
15048
|
+
return (hAsync(Host, { key: '8a310806d0e748d7ebb0ed3d9a2652038e0f2960', class: {
|
|
15038
15049
|
[mode]: true,
|
|
15039
15050
|
[`fab-horizontal-${horizontal}`]: horizontal !== undefined,
|
|
15040
15051
|
[`fab-vertical-${vertical}`]: vertical !== undefined,
|
|
15041
15052
|
'fab-edge': edge,
|
|
15042
|
-
} }, hAsync("slot", { key: '
|
|
15053
|
+
} }, hAsync("slot", { key: '9394ef6d6e5b0410fa6ba212171f687fb178ce2d' })));
|
|
15043
15054
|
}
|
|
15044
15055
|
get el() { return getElement(this); }
|
|
15045
15056
|
static get watchers() { return {
|
|
@@ -15146,7 +15157,7 @@ class FabButton {
|
|
|
15146
15157
|
rel: this.rel,
|
|
15147
15158
|
target: this.target,
|
|
15148
15159
|
};
|
|
15149
|
-
return (hAsync(Host, { key: '
|
|
15160
|
+
return (hAsync(Host, { key: '4eee204d20b0e2ffed49a88f6cb3e04b6697965c', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses$1(color, {
|
|
15150
15161
|
[mode]: true,
|
|
15151
15162
|
'fab-button-in-list': inList,
|
|
15152
15163
|
'fab-button-translucent-in-list': inList && translucent,
|
|
@@ -15157,7 +15168,7 @@ class FabButton {
|
|
|
15157
15168
|
'ion-activatable': true,
|
|
15158
15169
|
'ion-focusable': true,
|
|
15159
15170
|
[`fab-button-${size}`]: size !== undefined,
|
|
15160
|
-
}) }, hAsync(TagType, Object.assign({ key: '
|
|
15171
|
+
}) }, hAsync(TagType, Object.assign({ key: '914561622c0c6bd41453e828a7d8a39f924875ac' }, 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: '2c8090742a64c62a79243667027a195cca9d5912', "aria-hidden": "true", icon: this.closeIcon, part: "close-icon", class: "close-icon", lazy: false }), hAsync("span", { key: 'c3e55291e4c4d306d34a4b95dd2e727e87bdf39c', class: "button-inner" }, hAsync("slot", { key: 'f8e57f71d8f8878d9746cfece82f57f19ef9e988' })), mode === 'md' && hAsync("ion-ripple-effect", { key: 'a5e94fa0bb9836072300617245ed0c1b4887bac6' }))));
|
|
15161
15172
|
}
|
|
15162
15173
|
get el() { return getElement(this); }
|
|
15163
15174
|
static get style() { return {
|
|
@@ -15213,11 +15224,11 @@ class FabList {
|
|
|
15213
15224
|
}
|
|
15214
15225
|
render() {
|
|
15215
15226
|
const mode = getIonMode$1(this);
|
|
15216
|
-
return (hAsync(Host, { key: '
|
|
15227
|
+
return (hAsync(Host, { key: '64b33366447f66c7f979cfac56307fbb1a6fac1c', class: {
|
|
15217
15228
|
[mode]: true,
|
|
15218
15229
|
'fab-list-active': this.activated,
|
|
15219
15230
|
[`fab-list-side-${this.side}`]: true,
|
|
15220
|
-
} }, hAsync("slot", { key: '
|
|
15231
|
+
} }, hAsync("slot", { key: 'd9f474f7f20fd7e813db358fddc720534ca05bb6' })));
|
|
15221
15232
|
}
|
|
15222
15233
|
get el() { return getElement(this); }
|
|
15223
15234
|
static get watchers() { return {
|
|
@@ -15674,7 +15685,7 @@ class Footer {
|
|
|
15674
15685
|
const mode = getIonMode$1(this);
|
|
15675
15686
|
const tabs = this.el.closest('ion-tabs');
|
|
15676
15687
|
const tabBar = tabs === null || tabs === void 0 ? void 0 : tabs.querySelector(':scope > ion-tab-bar');
|
|
15677
|
-
return (hAsync(Host, { key: '
|
|
15688
|
+
return (hAsync(Host, { key: 'ddc228f1a1e7fa4f707dccf74db2490ca3241137', role: "contentinfo", class: {
|
|
15678
15689
|
[mode]: true,
|
|
15679
15690
|
// Used internally for styling
|
|
15680
15691
|
[`footer-${mode}`]: true,
|
|
@@ -15682,7 +15693,7 @@ class Footer {
|
|
|
15682
15693
|
[`footer-translucent-${mode}`]: translucent,
|
|
15683
15694
|
['footer-toolbar-padding']: !this.keyboardVisible && (!tabBar || tabBar.slot !== 'bottom'),
|
|
15684
15695
|
[`footer-collapse-${collapse}`]: collapse !== undefined,
|
|
15685
|
-
} }, mode === 'ios' && translucent && hAsync("div", { key: '
|
|
15696
|
+
} }, mode === 'ios' && translucent && hAsync("div", { key: 'e16ed4963ff94e06de77eb8038201820af73937c', class: "footer-background" }), hAsync("slot", { key: 'f186934febf85d37133d9351a96c1a64b0a4b203' })));
|
|
15686
15697
|
}
|
|
15687
15698
|
get el() { return getElement(this); }
|
|
15688
15699
|
static get style() { return {
|
|
@@ -15715,10 +15726,10 @@ class Grid {
|
|
|
15715
15726
|
}
|
|
15716
15727
|
render() {
|
|
15717
15728
|
const mode = getIonMode$1(this);
|
|
15718
|
-
return (hAsync(Host, { key: '
|
|
15729
|
+
return (hAsync(Host, { key: '617127ecfabf9bf615bef1dda1be3fed5a065949', class: {
|
|
15719
15730
|
[mode]: true,
|
|
15720
15731
|
'grid-fixed': this.fixed,
|
|
15721
|
-
} }, hAsync("slot", { key: '
|
|
15732
|
+
} }, hAsync("slot", { key: 'c781fff853b093d8f44bdb7943bbc4f17c903803' })));
|
|
15722
15733
|
}
|
|
15723
15734
|
static get style() { return gridCss; }
|
|
15724
15735
|
static get cmpMeta() { return {
|
|
@@ -16111,14 +16122,14 @@ class Header {
|
|
|
16111
16122
|
const isCondensed = collapse === 'condense';
|
|
16112
16123
|
// banner role must be at top level, so remove role if inside a menu
|
|
16113
16124
|
const roleType = getRoleType(hostContext('ion-menu', this.el), isCondensed, mode);
|
|
16114
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
16125
|
+
return (hAsync(Host, Object.assign({ key: '863c4568cd7b8c0ec55109f193bbbaed68a1346e', role: roleType, class: {
|
|
16115
16126
|
[mode]: true,
|
|
16116
16127
|
// Used internally for styling
|
|
16117
16128
|
[`header-${mode}`]: true,
|
|
16118
16129
|
[`header-translucent`]: this.translucent,
|
|
16119
16130
|
[`header-collapse-${collapse}`]: true,
|
|
16120
16131
|
[`header-translucent-${mode}`]: this.translucent,
|
|
16121
|
-
} }, inheritedAttributes), mode === 'ios' && translucent && hAsync("div", { key: '
|
|
16132
|
+
} }, inheritedAttributes), mode === 'ios' && translucent && hAsync("div", { key: '25c3bdce328b0b35607d154c8b8374679313d881', class: "header-background" }), hAsync("slot", { key: 'b44fab0a9be7920b9650da26117c783e751e1702' })));
|
|
16122
16133
|
}
|
|
16123
16134
|
get el() { return getElement(this); }
|
|
16124
16135
|
static get style() { return {
|
|
@@ -16444,7 +16455,7 @@ class Img {
|
|
|
16444
16455
|
render() {
|
|
16445
16456
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
16446
16457
|
const { draggable } = inheritedAttributes;
|
|
16447
|
-
return (hAsync(Host, { key: '
|
|
16458
|
+
return (hAsync(Host, { key: 'da600442894427dee1974a28e545613afac69fca', class: getIonMode$1(this) }, hAsync("img", { key: '16df0c7069af86c0fa7ce5af598bc0f63b4eb71a', decoding: "async", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: "image", draggable: isDraggable(draggable) })));
|
|
16448
16459
|
}
|
|
16449
16460
|
get el() { return getElement(this); }
|
|
16450
16461
|
static get watchers() { return {
|
|
@@ -16672,7 +16683,7 @@ class InfiniteScroll {
|
|
|
16672
16683
|
render() {
|
|
16673
16684
|
const mode = getIonMode$1(this);
|
|
16674
16685
|
const disabled = this.disabled;
|
|
16675
|
-
return (hAsync(Host, { key: '
|
|
16686
|
+
return (hAsync(Host, { key: 'e844956795f69be33396ce4480aa7a54ad01b28c', class: {
|
|
16676
16687
|
[mode]: true,
|
|
16677
16688
|
'infinite-scroll-loading': this.isLoading,
|
|
16678
16689
|
'infinite-scroll-enabled': !disabled,
|
|
@@ -16724,11 +16735,11 @@ class InfiniteScrollContent {
|
|
|
16724
16735
|
}
|
|
16725
16736
|
render() {
|
|
16726
16737
|
const mode = getIonMode$1(this);
|
|
16727
|
-
return (hAsync(Host, { key: '
|
|
16738
|
+
return (hAsync(Host, { key: '7c16060dcfe2a0b0fb3e2f8f4c449589a76f1baa', class: {
|
|
16728
16739
|
[mode]: true,
|
|
16729
16740
|
// Used internally for styling
|
|
16730
16741
|
[`infinite-scroll-content-${mode}`]: true,
|
|
16731
|
-
} }, hAsync("div", { key: '
|
|
16742
|
+
} }, hAsync("div", { key: 'a94f4d8746e053dc718f97520bd7e48cb316443a', class: "infinite-loading" }, this.loadingSpinner && (hAsync("div", { key: '10143d5d2a50a2a2bc5de1cee8e7ab51263bcf23', class: "infinite-loading-spinner" }, hAsync("ion-spinner", { key: '8846e88191690d9c61a0b462889ed56fbfed8b0d', name: this.loadingSpinner }))), this.loadingText !== undefined && this.renderLoadingText())));
|
|
16732
16743
|
}
|
|
16733
16744
|
static get style() { return {
|
|
16734
16745
|
ios: infiniteScrollContentIosCss,
|
|
@@ -17371,7 +17382,7 @@ class Input {
|
|
|
17371
17382
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
17372
17383
|
*/
|
|
17373
17384
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
17374
|
-
return (hAsync(Host, { key: '
|
|
17385
|
+
return (hAsync(Host, { key: '97b5308021064d9e7434ef2d3d96f27045c1b0c4', class: createColorClasses$1(this.color, {
|
|
17375
17386
|
[mode]: true,
|
|
17376
17387
|
'has-value': hasValue,
|
|
17377
17388
|
'has-focus': hasFocus,
|
|
@@ -17382,14 +17393,14 @@ class Input {
|
|
|
17382
17393
|
'in-item': inItem,
|
|
17383
17394
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
17384
17395
|
'input-disabled': disabled,
|
|
17385
|
-
}) }, hAsync("label", { key: '
|
|
17396
|
+
}) }, hAsync("label", { key: '353f68726ce180299bd9adc81e5ff7d26a48f54f', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), hAsync("div", { key: '2034b4bad04fc157f3298a1805819216b6f439d0', class: "native-wrapper", onClick: this.onLabelClick }, hAsync("slot", { key: '96bb5e30176b2bd76dfb75bfbf6c1c3d4403f4bb', name: "start" }), hAsync("input", Object.assign({ key: '1a1d75b0e414a95c89d5a760757c33548d234aca', 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: '95f3df17b7691d9a2e7dcd4a51f16a94aa3ca36f', "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (ev) => {
|
|
17386
17397
|
/**
|
|
17387
17398
|
* This prevents mobile browsers from
|
|
17388
17399
|
* blurring the input when the clear
|
|
17389
17400
|
* button is activated.
|
|
17390
17401
|
*/
|
|
17391
17402
|
ev.preventDefault();
|
|
17392
|
-
}, onClick: this.clearTextInput }, hAsync("ion-icon", { key: '
|
|
17403
|
+
}, onClick: this.clearTextInput }, hAsync("ion-icon", { key: '16b0af75eed50c8115fb5597f73b5fbf71c2530e', "aria-hidden": "true", icon: clearIconData }))), hAsync("slot", { key: 'c48da0f8ddb3764ac43efa705bb4a6bb2d9cc2fd', name: "end" })), shouldRenderHighlight && hAsync("div", { key: 'f15238481fc20de56ca7ecb6e350b3c024cc755e', class: "input-highlight" })), this.renderBottomContent()));
|
|
17393
17404
|
}
|
|
17394
17405
|
get el() { return getElement(this); }
|
|
17395
17406
|
static get watchers() { return {
|
|
@@ -18060,7 +18071,7 @@ class InputOTP {
|
|
|
18060
18071
|
const tabbableIndex = this.getTabbableIndex();
|
|
18061
18072
|
const pattern = this.getPattern();
|
|
18062
18073
|
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()) !== '';
|
|
18063
|
-
return (hAsync(Host, { key: '
|
|
18074
|
+
return (hAsync(Host, { key: 'f15a29fb17b681ef55885ca36d3d5f899cbaca83', class: createColorClasses$1(color, {
|
|
18064
18075
|
[mode]: true,
|
|
18065
18076
|
'has-focus': hasFocus,
|
|
18066
18077
|
[`input-otp-size-${size}`]: true,
|
|
@@ -18068,10 +18079,10 @@ class InputOTP {
|
|
|
18068
18079
|
[`input-otp-fill-${fill}`]: true,
|
|
18069
18080
|
'input-otp-disabled': disabled,
|
|
18070
18081
|
'input-otp-readonly': readonly,
|
|
18071
|
-
}) }, hAsync("div", Object.assign({ key: '
|
|
18082
|
+
}) }, hAsync("div", Object.assign({ key: 'd7e1d4edd8aafcf2ed4313301287282e90fc7e82', 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: '3724a3159d02860971879a906092f9965f5a7c47', class: {
|
|
18072
18083
|
'input-otp-description': true,
|
|
18073
18084
|
'input-otp-description-hidden': !hasDescription,
|
|
18074
|
-
} }, hAsync("slot", { key: '
|
|
18085
|
+
} }, hAsync("slot", { key: '11baa2624926a08274508afe0833d9237a8dc35c' }))));
|
|
18075
18086
|
}
|
|
18076
18087
|
get el() { return getElement(this); }
|
|
18077
18088
|
static get watchers() { return {
|
|
@@ -18171,16 +18182,16 @@ class InputPasswordToggle {
|
|
|
18171
18182
|
const showPasswordIcon = (_a = this.showIcon) !== null && _a !== void 0 ? _a : eye;
|
|
18172
18183
|
const hidePasswordIcon = (_b = this.hideIcon) !== null && _b !== void 0 ? _b : eyeOff;
|
|
18173
18184
|
const isPasswordVisible = type === 'text';
|
|
18174
|
-
return (hAsync(Host, { key: '
|
|
18185
|
+
return (hAsync(Host, { key: '91bc55664d496fe457518bd112865dd7811d0c17', class: createColorClasses$1(color, {
|
|
18175
18186
|
[mode]: true,
|
|
18176
|
-
}) }, hAsync("ion-button", { key: '
|
|
18187
|
+
}) }, hAsync("ion-button", { key: 'f3e436422110c9cb4d5c0b83500255b24ab4cdef', 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) => {
|
|
18177
18188
|
/**
|
|
18178
18189
|
* This prevents mobile browsers from
|
|
18179
18190
|
* blurring the input when the password toggle
|
|
18180
18191
|
* button is activated.
|
|
18181
18192
|
*/
|
|
18182
18193
|
ev.preventDefault();
|
|
18183
|
-
}, onClick: this.togglePasswordVisibility }, hAsync("ion-icon", { key: '
|
|
18194
|
+
}, onClick: this.togglePasswordVisibility }, hAsync("ion-icon", { key: '5c8b121153f148f92aa7cba0447673a4f6f3ad1e', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? hidePasswordIcon : showPasswordIcon }))));
|
|
18184
18195
|
}
|
|
18185
18196
|
get el() { return getElement(this); }
|
|
18186
18197
|
static get watchers() { return {
|
|
@@ -18511,11 +18522,11 @@ class ItemDivider {
|
|
|
18511
18522
|
}
|
|
18512
18523
|
render() {
|
|
18513
18524
|
const mode = getIonMode$1(this);
|
|
18514
|
-
return (hAsync(Host, { key: '
|
|
18525
|
+
return (hAsync(Host, { key: '1523095ce4af3f2611512ff0948ead659959ee4a', class: createColorClasses$1(this.color, {
|
|
18515
18526
|
[mode]: true,
|
|
18516
18527
|
'item-divider-sticky': this.sticky,
|
|
18517
18528
|
item: true,
|
|
18518
|
-
}) }, hAsync("slot", { key: '
|
|
18529
|
+
}) }, hAsync("slot", { key: '39105d888e115416c3a3fe588da44b4c61f4e5fe', name: "start" }), hAsync("div", { key: '67e16f1056bd39187f3629c1bb383b7abbda829b', class: "item-divider-inner" }, hAsync("div", { key: 'b3a218fdcc7b9aeab6e0155340152d39fa0b6329', class: "item-divider-wrapper" }, hAsync("slot", { key: '69d8587533b387869d34b075d02f61396858fc90' })), hAsync("slot", { key: 'b91c654699b3b26d0012ea0c719c4a07d1fcfbaa', name: "end" }))));
|
|
18519
18530
|
}
|
|
18520
18531
|
get el() { return getElement(this); }
|
|
18521
18532
|
static get style() { return {
|
|
@@ -18545,7 +18556,7 @@ class ItemGroup {
|
|
|
18545
18556
|
}
|
|
18546
18557
|
render() {
|
|
18547
18558
|
const mode = getIonMode$1(this);
|
|
18548
|
-
return (hAsync(Host, { key: '
|
|
18559
|
+
return (hAsync(Host, { key: 'e49dc8f99247d2431d7c6db01b6e021a0f5b1c37', role: "group", class: {
|
|
18549
18560
|
[mode]: true,
|
|
18550
18561
|
// Used internally for styling
|
|
18551
18562
|
[`item-group-${mode}`]: true,
|
|
@@ -18615,12 +18626,12 @@ class ItemOption {
|
|
|
18615
18626
|
href: this.href,
|
|
18616
18627
|
target: this.target,
|
|
18617
18628
|
};
|
|
18618
|
-
return (hAsync(Host, { key: '
|
|
18629
|
+
return (hAsync(Host, { key: '189a0040b97163b2336bf216baa71d584c5923a8', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
18619
18630
|
[mode]: true,
|
|
18620
18631
|
'item-option-disabled': disabled,
|
|
18621
18632
|
'item-option-expandable': expandable,
|
|
18622
18633
|
'ion-activatable': true,
|
|
18623
|
-
}) }, hAsync(TagType, Object.assign({ key: '
|
|
18634
|
+
}) }, hAsync(TagType, Object.assign({ key: '5a7140eb99da5ec82fe2ea3ea134513130763399' }, attrs, { class: "button-native", part: "native", disabled: disabled }), hAsync("span", { key: '9b8577e612706b43e575c9a20f2f9d35c0d1bcb1', class: "button-inner" }, hAsync("slot", { key: '9acb82f04e4822bfaa363cc2c4d29d5c0fec0ad6', name: "top" }), hAsync("div", { key: '66f5fb4fdd0c39f205574c602c793dcf109c7a17', class: "horizontal-wrapper" }, hAsync("slot", { key: '3761a32bca7c6c41b7eb394045497cfde181a62a', name: "start" }), hAsync("slot", { key: 'a96a568955cf6962883dc6771726d3d07462da00', name: "icon-only" }), hAsync("slot", { key: 'af5dfe5eb41456b9359bafe3615b576617ed7b57' }), hAsync("slot", { key: '00426958066ab7b949ff966fabad5cf8a0b54079', name: "end" })), hAsync("slot", { key: 'ae66c8bd536a9f27865f49240980d7b4b831b229', name: "bottom" })), mode === 'md' && hAsync("ion-ripple-effect", { key: '30df6c935ef8a3f28a6bc1f3bb162ca4f80aaf26' }))));
|
|
18624
18635
|
}
|
|
18625
18636
|
get el() { return getElement(this); }
|
|
18626
18637
|
static get style() { return {
|
|
@@ -18669,7 +18680,7 @@ class ItemOptions {
|
|
|
18669
18680
|
render() {
|
|
18670
18681
|
const mode = getIonMode$1(this);
|
|
18671
18682
|
const isEnd = isEndSide(this.side);
|
|
18672
|
-
return (hAsync(Host, { key: '
|
|
18683
|
+
return (hAsync(Host, { key: '05a22a505e043c2715e3805e5e26ab4668940af0', class: {
|
|
18673
18684
|
[mode]: true,
|
|
18674
18685
|
// Used internally for styling
|
|
18675
18686
|
[`item-options-${mode}`]: true,
|
|
@@ -19134,7 +19145,7 @@ class ItemSliding {
|
|
|
19134
19145
|
}
|
|
19135
19146
|
render() {
|
|
19136
19147
|
const mode = getIonMode$1(this);
|
|
19137
|
-
return (hAsync(Host, { key: '
|
|
19148
|
+
return (hAsync(Host, { key: 'd812322c9fb5da4ee16e99dc38bfb24cb4590d03', class: {
|
|
19138
19149
|
[mode]: true,
|
|
19139
19150
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
19140
19151
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -19239,13 +19250,13 @@ class Label {
|
|
|
19239
19250
|
render() {
|
|
19240
19251
|
const position = this.position;
|
|
19241
19252
|
const mode = getIonMode$1(this);
|
|
19242
|
-
return (hAsync(Host, { key: '
|
|
19253
|
+
return (hAsync(Host, { key: 'd6fba1a97189acc8ddfd64a2f009954a3e46e188', class: createColorClasses$1(this.color, {
|
|
19243
19254
|
[mode]: true,
|
|
19244
19255
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
19245
19256
|
[`label-${position}`]: position !== undefined,
|
|
19246
19257
|
[`label-no-animate`]: this.noAnimate,
|
|
19247
19258
|
'label-rtl': document.dir === 'rtl',
|
|
19248
|
-
}) }, hAsync("slot", { key: '
|
|
19259
|
+
}) }, hAsync("slot", { key: 'ce0ab50b5700398fdf50f36d02b7ad287eb71481' })));
|
|
19249
19260
|
}
|
|
19250
19261
|
get el() { return getElement(this); }
|
|
19251
19262
|
static get watchers() { return {
|
|
@@ -19301,7 +19312,7 @@ class List {
|
|
|
19301
19312
|
render() {
|
|
19302
19313
|
const mode = getIonMode$1(this);
|
|
19303
19314
|
const { lines, inset } = this;
|
|
19304
|
-
return (hAsync(Host, { key: '
|
|
19315
|
+
return (hAsync(Host, { key: '7f9943751542d2cbd49a4ad3f28e16d9949f70d4', role: "list", class: {
|
|
19305
19316
|
[mode]: true,
|
|
19306
19317
|
// Used internally for styling
|
|
19307
19318
|
[`list-${mode}`]: true,
|
|
@@ -19343,10 +19354,10 @@ class ListHeader {
|
|
|
19343
19354
|
render() {
|
|
19344
19355
|
const { lines } = this;
|
|
19345
19356
|
const mode = getIonMode$1(this);
|
|
19346
|
-
return (hAsync(Host, { key: '
|
|
19357
|
+
return (hAsync(Host, { key: 'd9bc827ad8cc77231efddc2435831a7fc080f77d', class: createColorClasses$1(this.color, {
|
|
19347
19358
|
[mode]: true,
|
|
19348
19359
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
19349
|
-
}) }, hAsync("div", { key: '
|
|
19360
|
+
}) }, hAsync("div", { key: '02dd9698304a7b2997ea1487e2f308bebea2b44c', class: "list-header-inner" }, hAsync("slot", { key: '01d63a572c003286ae467a1ab23631e37e695042' }))));
|
|
19350
19361
|
}
|
|
19351
19362
|
static get style() { return {
|
|
19352
19363
|
ios: listHeaderIosCss,
|
|
@@ -19631,9 +19642,9 @@ class Loading {
|
|
|
19631
19642
|
* Otherwise, don't set aria-labelledby.
|
|
19632
19643
|
*/
|
|
19633
19644
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
19634
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
19645
|
+
return (hAsync(Host, Object.assign({ key: '4497183ce220242abe19ae15f328f9a92ccafbbc', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
19635
19646
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
19636
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: '
|
|
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: '231dec84e424a2dc358ce95b84d6035cf43e4dea', visible: this.showBackdrop, tappable: this.backdropDismiss }), hAsync("div", { key: 'c9af29b6e6bb49a217396a5c874bbfb8835a926c', tabindex: "0", "aria-hidden": "true" }), hAsync("div", { key: 'a8659863743cdeccbe1ba810eaabfd3ebfcb86f3', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (hAsync("div", { key: '3b346f39bc71691bd8686556a1e142198a7b12fa', class: "loading-spinner" }, hAsync("ion-spinner", { key: '8dc2bf1556e5138e262827f1516c59ecd09f3520', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), hAsync("div", { key: '054164c0dbae9a0e0973dd3c8e28f5b771820310', tabindex: "0", "aria-hidden": "true" })));
|
|
19637
19648
|
}
|
|
19638
19649
|
get el() { return getElement(this); }
|
|
19639
19650
|
static get watchers() { return {
|
|
@@ -20682,14 +20693,14 @@ class Menu {
|
|
|
20682
20693
|
* the ionBackButton listener in the menu controller
|
|
20683
20694
|
* will handle closing the menu when Escape is pressed.
|
|
20684
20695
|
*/
|
|
20685
|
-
return (hAsync(Host, { key: '
|
|
20696
|
+
return (hAsync(Host, { key: '70a427f3414a476414c3386efe6c8723fd37eccf', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
20686
20697
|
[mode]: true,
|
|
20687
20698
|
[`menu-type-${type}`]: true,
|
|
20688
20699
|
'menu-enabled': !disabled,
|
|
20689
20700
|
[`menu-side-${side}`]: true,
|
|
20690
20701
|
'menu-pane-visible': isPaneVisible,
|
|
20691
20702
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
20692
|
-
} }, hAsync("div", { key: '
|
|
20703
|
+
} }, hAsync("div", { key: '83af04e5a47d5a92caafaf06088a7114ae61984b', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, hAsync("slot", { key: '7b35048642864bd0f30de9f6b61c949c1b601692' })), hAsync("ion-backdrop", { key: '347af516c7970d80dd11c6d1ed61e9a040ceb5fb', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
20693
20704
|
}
|
|
20694
20705
|
get el() { return getElement(this); }
|
|
20695
20706
|
static get watchers() { return {
|
|
@@ -20797,7 +20808,7 @@ class MenuButton {
|
|
|
20797
20808
|
type: this.type,
|
|
20798
20809
|
};
|
|
20799
20810
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
20800
|
-
return (hAsync(Host, { key: '
|
|
20811
|
+
return (hAsync(Host, { key: '9f0f0e50d39a6872508220c58e64bb2092a0d7ef', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses$1(color, {
|
|
20801
20812
|
[mode]: true,
|
|
20802
20813
|
button: true, // ion-buttons target .button
|
|
20803
20814
|
'menu-button-hidden': hidden,
|
|
@@ -20806,7 +20817,7 @@ class MenuButton {
|
|
|
20806
20817
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
20807
20818
|
'ion-activatable': true,
|
|
20808
20819
|
'ion-focusable': true,
|
|
20809
|
-
}) }, hAsync("button", Object.assign({ key: '
|
|
20820
|
+
}) }, hAsync("button", Object.assign({ key: 'ffebf7083d23501839970059ef8e411b571de197' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), hAsync("span", { key: 'cab0c1c763b3ce33ef11dba1d230f66126e59424', class: "button-inner" }, hAsync("slot", { key: 'ccfd2be8479b75b5c63e97e1ca7dfe203e9b36ee' }, hAsync("ion-icon", { key: 'ac254fe7f327b08f1ae3fcea89d5cf0e83c9a96c', part: "icon", icon: menuIcon, mode: mode, lazy: false, "aria-hidden": "true" }))), mode === 'md' && hAsync("ion-ripple-effect", { key: 'f0f17c4ca96e3eed3c1727ee00578d40af8f0115', type: "unbounded" }))));
|
|
20810
20821
|
}
|
|
20811
20822
|
get el() { return getElement(this); }
|
|
20812
20823
|
static get style() { return {
|
|
@@ -20859,10 +20870,10 @@ class MenuToggle {
|
|
|
20859
20870
|
render() {
|
|
20860
20871
|
const mode = getIonMode$1(this);
|
|
20861
20872
|
const hidden = this.autoHide && !this.visible;
|
|
20862
|
-
return (hAsync(Host, { key: '
|
|
20873
|
+
return (hAsync(Host, { key: 'cd567114769a30bd3871ed5d15bf42aed39956e1', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
20863
20874
|
[mode]: true,
|
|
20864
20875
|
'menu-toggle-hidden': hidden,
|
|
20865
|
-
} }, hAsync("slot", { key: '
|
|
20876
|
+
} }, hAsync("slot", { key: '773d4cff95ca75f23578b1e1dca53c9933f28a33' })));
|
|
20866
20877
|
}
|
|
20867
20878
|
static get style() { return menuToggleCss; }
|
|
20868
20879
|
static get cmpMeta() { return {
|
|
@@ -23699,20 +23710,20 @@ class Modal {
|
|
|
23699
23710
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
23700
23711
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
23701
23712
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
23702
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
23713
|
+
return (hAsync(Host, Object.assign({ key: '9a75095a13de0cfc96f1fa69fd92777d25da8daa', "no-router": true,
|
|
23703
23714
|
// Allow the modal to be navigable when the handle is focusable
|
|
23704
23715
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
23705
23716
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
23706
|
-
}, 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: '
|
|
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: 'd02612d8063ef20f59f173ff47795f71cdaaf63e', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && hAsync("div", { key: '708761b70a93e34c08faae079569f444c7416a4c', class: "modal-shadow" }), hAsync("div", Object.assign({ key: 'a72226ff1a98229f9bfd9207b98fc57e02baa430',
|
|
23707
23718
|
/*
|
|
23708
23719
|
role and aria-modal must be used on the
|
|
23709
23720
|
same element. They must also be set inside the
|
|
23710
23721
|
shadow DOM otherwise ion-button will not be highlighted
|
|
23711
23722
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
23712
23723
|
*/
|
|
23713
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: '
|
|
23724
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: '0547f32323882660221385d84d492929caa77c6b', class: "modal-handle",
|
|
23714
23725
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
23715
|
-
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: '
|
|
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: 'fccbd64518b6fa22f9e874deb6b4ba55d8d89c3b', onSlotchange: this.onSlotChange }))));
|
|
23716
23727
|
}
|
|
23717
23728
|
get el() { return getElement(this); }
|
|
23718
23729
|
static get watchers() { return {
|
|
@@ -24660,7 +24671,7 @@ class Nav {
|
|
|
24660
24671
|
}
|
|
24661
24672
|
}
|
|
24662
24673
|
render() {
|
|
24663
|
-
return hAsync("slot", { key: '
|
|
24674
|
+
return hAsync("slot", { key: '8067c9835d255daec61f33dba200fd3a6ff839a0' });
|
|
24664
24675
|
}
|
|
24665
24676
|
get el() { return getElement(this); }
|
|
24666
24677
|
static get watchers() { return {
|
|
@@ -24733,7 +24744,7 @@ class NavLink {
|
|
|
24733
24744
|
};
|
|
24734
24745
|
}
|
|
24735
24746
|
render() {
|
|
24736
|
-
return hAsync(Host, { key: '
|
|
24747
|
+
return hAsync(Host, { key: '6dbb1ad4f351e9215375aac11ab9b53762e07a08', onClick: this.onClick });
|
|
24737
24748
|
}
|
|
24738
24749
|
get el() { return getElement(this); }
|
|
24739
24750
|
static get cmpMeta() { return {
|
|
@@ -24764,9 +24775,9 @@ class Note {
|
|
|
24764
24775
|
}
|
|
24765
24776
|
render() {
|
|
24766
24777
|
const mode = getIonMode$1(this);
|
|
24767
|
-
return (hAsync(Host, { key: '
|
|
24778
|
+
return (hAsync(Host, { key: '0ec2ef7367d867fd7588611953f696eecdf3221e', class: createColorClasses$1(this.color, {
|
|
24768
24779
|
[mode]: true,
|
|
24769
|
-
}) }, hAsync("slot", { key: '
|
|
24780
|
+
}) }, hAsync("slot", { key: 'a200b94ddffb29cf6dabe6e984220930ea7efdef' })));
|
|
24770
24781
|
}
|
|
24771
24782
|
static get style() { return {
|
|
24772
24783
|
ios: noteIosCss,
|
|
@@ -25238,7 +25249,7 @@ let Picker$1 = class Picker {
|
|
|
25238
25249
|
this.emitInputModeChange();
|
|
25239
25250
|
}
|
|
25240
25251
|
render() {
|
|
25241
|
-
return (hAsync(Host, { key: '
|
|
25252
|
+
return (hAsync(Host, { key: '28f81e4ed44a633178561757c5199c2c98f94b74', onPointerDown: (ev) => this.onPointerDown(ev), onClick: () => this.onClick() }, hAsync("input", { key: 'abb3d1ad25ef63856af7804111175a4d50008bc0', "aria-hidden": "true", tabindex: -1, inputmode: "numeric", type: "number", onKeyDown: (ev) => {
|
|
25242
25253
|
var _a;
|
|
25243
25254
|
/**
|
|
25244
25255
|
* The "Enter" key represents
|
|
@@ -25253,7 +25264,7 @@ let Picker$1 = class Picker {
|
|
|
25253
25264
|
if (ev.key === 'Enter') {
|
|
25254
25265
|
(_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.blur();
|
|
25255
25266
|
}
|
|
25256
|
-
}, ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), hAsync("div", { key: '
|
|
25267
|
+
}, ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), hAsync("div", { key: '334a5abdc02e6b127c57177f626d7e4ff5526183', class: "picker-before" }), hAsync("div", { key: 'ffd6271931129e88fc7c820e919d684899e420c5', class: "picker-after" }), hAsync("div", { key: '78d1d95fd09e04f154ea59f24a1cece72c47ed7b', class: "picker-highlight", ref: (el) => (this.highlightEl = el) }), hAsync("slot", { key: '0bd5b9f875d3c71f6cbbde2054baeb1b0a2e8cd5' })));
|
|
25257
25268
|
}
|
|
25258
25269
|
get el() { return getElement(this); }
|
|
25259
25270
|
static get style() { return {
|
|
@@ -25526,11 +25537,11 @@ class Picker {
|
|
|
25526
25537
|
render() {
|
|
25527
25538
|
const { htmlAttributes } = this;
|
|
25528
25539
|
const mode = getIonMode$1(this);
|
|
25529
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
25540
|
+
return (hAsync(Host, Object.assign({ key: 'b95440747eb80cba23ae676d399d5e5816722c58', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
25530
25541
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
25531
25542
|
}, class: Object.assign({ [mode]: true,
|
|
25532
25543
|
// Used internally for styling
|
|
25533
|
-
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: '
|
|
25544
|
+
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: '169d1c83ef40e7fcb134219a585298b403a70b0f', visible: this.showBackdrop, tappable: this.backdropDismiss }), hAsync("div", { key: '98518e5f5cea2dfb8dfa63d9545e9ae3a5765023', tabindex: "0", "aria-hidden": "true" }), hAsync("div", { key: '151755ab8eb23f9adafbfe201349398f5a69dee7', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, hAsync("div", { key: '5dcf93b2f4fe8f4fce7c7aec8f85ef45a03ef470', class: "picker-toolbar" }, this.buttons.map((b) => (hAsync("div", { class: buttonWrapperClass(b) }, hAsync("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass$1(b) }, b.text))))), hAsync("div", { key: 'fd5d66708edd38adc5a4d2fad7298969398a05e3', class: "picker-columns" }, hAsync("div", { key: '1b5830fd6cef1016af7736792c514965d6cb38a8', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => hAsync("ion-picker-legacy-column", { col: c })), hAsync("div", { key: 'c6edeca7afd69e13c9c66ba36f261974fd0f8f78', class: "picker-below-highlight" }))), hAsync("div", { key: 'e2a4b24710e30579b14b82dbfd3761b2187797b5', tabindex: "0", "aria-hidden": "true" })));
|
|
25534
25545
|
}
|
|
25535
25546
|
get el() { return getElement(this); }
|
|
25536
25547
|
static get watchers() { return {
|
|
@@ -26128,14 +26139,14 @@ class PickerColumn {
|
|
|
26128
26139
|
render() {
|
|
26129
26140
|
const { color, disabled, isActive, numericInput } = this;
|
|
26130
26141
|
const mode = getIonMode$1(this);
|
|
26131
|
-
return (hAsync(Host, { key: '
|
|
26142
|
+
return (hAsync(Host, { key: 'db903fd415f8a2d91994dececca481c1af8ba6a9', class: createColorClasses$1(color, {
|
|
26132
26143
|
[mode]: true,
|
|
26133
26144
|
['picker-column-active']: isActive,
|
|
26134
26145
|
['picker-column-numeric-input']: numericInput,
|
|
26135
26146
|
['picker-column-disabled']: disabled,
|
|
26136
|
-
}) }, hAsync("slot", { key: '
|
|
26147
|
+
}) }, hAsync("slot", { key: '02ce9e1dd7df91afcd50b06416552bcffb5dec98', name: "prefix" }), hAsync("div", { key: '6dfd7d2429bec19244a6b1afb4448121963a031b', class: "picker-opts", ref: (el) => {
|
|
26137
26148
|
this.scrollEl = el;
|
|
26138
|
-
}, 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: '
|
|
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: 'e30ce0b9cefbfe4d4441fa33acf595da31855c3f', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("div", { key: '8be2bd293c12c6ba720d9b31d0d561a96f42e97d', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("div", { key: '8afdcddddabbf646fbb55cb0ba4448309a2c1dd9', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("slot", { key: '6aa0dacc34d6848575ad5b122b9046982308ca43' }), hAsync("div", { key: '92ec8a357414c1b779b11d1dd18fb87a7ee63982', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("div", { key: 'b89457cb74b5907c25594ff6720ac54ca537e933', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("div", { key: '5bbc92e6bc24de08e39873bf08c5b668373ac0f8', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0")), hAsync("slot", { key: 'd7bf2b519214f0f3576a4ca79844ad97827dd97f', name: "suffix" })));
|
|
26139
26150
|
}
|
|
26140
26151
|
get el() { return getElement(this); }
|
|
26141
26152
|
static get watchers() { return {
|
|
@@ -26499,9 +26510,9 @@ class PickerColumnCmp {
|
|
|
26499
26510
|
render() {
|
|
26500
26511
|
const col = this.col;
|
|
26501
26512
|
const mode = getIonMode$1(this);
|
|
26502
|
-
return (hAsync(Host, { key: '
|
|
26513
|
+
return (hAsync(Host, { key: 'ed32d108dd94f0302fb453c31a3497ebae65ec37', class: Object.assign({ [mode]: true, 'picker-col': true, 'picker-opts-left': this.col.align === 'left', 'picker-opts-right': this.col.align === 'right' }, getClassMap(col.cssClass)), style: {
|
|
26503
26514
|
'max-width': this.col.columnWidth,
|
|
26504
|
-
} }, col.prefix && (hAsync("div", { key: '
|
|
26515
|
+
} }, col.prefix && (hAsync("div", { key: '9f0634890e66fd4ae74f826d1eea3431de121393', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), hAsync("div", { key: '337e996e5be91af16446085fe22436f213b771eb', class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: (el) => (this.optsEl = el) }, col.options.map((o, index) => (hAsync("button", { "aria-label": o.ariaLabel, class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index }, o.text)))), col.suffix && (hAsync("div", { key: 'd69a132599d78d9e5107f12228978cfce4e43098', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
26505
26516
|
}
|
|
26506
26517
|
get el() { return getElement(this); }
|
|
26507
26518
|
static get watchers() { return {
|
|
@@ -26618,10 +26629,10 @@ class PickerColumnOption {
|
|
|
26618
26629
|
render() {
|
|
26619
26630
|
const { color, disabled, ariaLabel } = this;
|
|
26620
26631
|
const mode = getIonMode$1(this);
|
|
26621
|
-
return (hAsync(Host, { key: '
|
|
26632
|
+
return (hAsync(Host, { key: 'f816729941aabcb31ddfdce3ffe2e2139030d715', class: createColorClasses$1(color, {
|
|
26622
26633
|
[mode]: true,
|
|
26623
26634
|
['option-disabled']: disabled,
|
|
26624
|
-
}) }, hAsync("div", { key: '
|
|
26635
|
+
}) }, hAsync("div", { key: 'd942de84fd14d7dc06b1e5cf4f7920d1dc3c6371', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, hAsync("slot", { key: 'b0df5717b42209e649097209a01476e1a66f5c5c' }))));
|
|
26625
26636
|
}
|
|
26626
26637
|
get el() { return getElement(this); }
|
|
26627
26638
|
static get watchers() { return {
|
|
@@ -28062,9 +28073,9 @@ class Popover {
|
|
|
28062
28073
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
28063
28074
|
const desktop = isPlatform('desktop');
|
|
28064
28075
|
const enableArrow = arrow && !parentPopover;
|
|
28065
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
28076
|
+
return (hAsync(Host, Object.assign({ key: '42863f748c93f709d433931d969230137b37d42d', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
28066
28077
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
28067
|
-
}, 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: '
|
|
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: '22b6d82178b52158b76ab3fd9a7dd738fd6e4bbf', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), hAsync("div", { key: 'b76335c64e992a964ed3fb91d17a992c3474b4cd', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && hAsync("div", { key: '018c846c32e7ff7fa010528e6b37a17e5f03c84c', class: "popover-arrow", part: "arrow" }), hAsync("div", { key: '350c468c80052da3a07768bceab98fe159c35a43', class: "popover-content", part: "content" }, hAsync("slot", { key: '686443c17ac9873d33905c1cdb67e6d6da675282' })))));
|
|
28068
28079
|
}
|
|
28069
28080
|
get el() { return getElement(this); }
|
|
28070
28081
|
static get watchers() { return {
|
|
@@ -28169,7 +28180,7 @@ class ProgressBar {
|
|
|
28169
28180
|
const mode = getIonMode$1(this);
|
|
28170
28181
|
// If the progress is displayed as a solid bar.
|
|
28171
28182
|
const progressSolid = buffer === 1;
|
|
28172
|
-
return (hAsync(Host, { key: '
|
|
28183
|
+
return (hAsync(Host, { key: 'dc69693b5d2dcb2b6e4296d7cb85bc27507f3fa6', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses$1(color, {
|
|
28173
28184
|
[mode]: true,
|
|
28174
28185
|
[`progress-bar-${type}`]: true,
|
|
28175
28186
|
'progress-paused': paused,
|
|
@@ -28354,7 +28365,7 @@ class Radio {
|
|
|
28354
28365
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
28355
28366
|
const mode = getIonMode$1(this);
|
|
28356
28367
|
const inItem = hostContext('ion-item', el);
|
|
28357
|
-
return (hAsync(Host, { key: '
|
|
28368
|
+
return (hAsync(Host, { key: '3353b28172b7f837d4b38964169b5b5f4ba02788', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses$1(color, {
|
|
28358
28369
|
[mode]: true,
|
|
28359
28370
|
'in-item': inItem,
|
|
28360
28371
|
'radio-checked': checked,
|
|
@@ -28365,10 +28376,10 @@ class Radio {
|
|
|
28365
28376
|
// Focus and active styling should not apply when the radio is in an item
|
|
28366
28377
|
'ion-activatable': !inItem,
|
|
28367
28378
|
'ion-focusable': !inItem,
|
|
28368
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, hAsync("label", { key: '
|
|
28379
|
+
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, hAsync("label", { key: '418a0a48366ff900e97da123abf665bbbda87fb7', class: "radio-wrapper" }, hAsync("div", { key: '6e5acdd8c8f5d0ad26632a65396afef8094153d1', class: {
|
|
28369
28380
|
'label-text-wrapper': true,
|
|
28370
28381
|
'label-text-wrapper-hidden': !hasLabel,
|
|
28371
|
-
}, part: "label" }, hAsync("slot", { key: '
|
|
28382
|
+
}, part: "label" }, hAsync("slot", { key: '10b157162cd283d624153c747679609cf0bbf11e' })), hAsync("div", { key: '4c45cca95cb105cd6df1025a26e3c045272184a0', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
28372
28383
|
}
|
|
28373
28384
|
get el() { return getElement(this); }
|
|
28374
28385
|
static get watchers() { return {
|
|
@@ -28607,7 +28618,7 @@ class RadioGroup {
|
|
|
28607
28618
|
const { label, labelId, el, name, value } = this;
|
|
28608
28619
|
const mode = getIonMode$1(this);
|
|
28609
28620
|
renderHiddenInput(true, el, name, value, false);
|
|
28610
|
-
return (hAsync(Host, { key: '
|
|
28621
|
+
return (hAsync(Host, { key: 'db593b3ed511e9395e3c7bfd91b787328692cd6d', role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick, class: mode }, this.renderHintText(), hAsync("div", { key: '85045b45a0100a45f3b9a35d1c5a25ec63d525c4', class: "radio-group-wrapper" }, hAsync("slot", { key: '53dacb87ce62398e78771fb2efaf839ab922d946' }))));
|
|
28611
28622
|
}
|
|
28612
28623
|
get el() { return getElement(this); }
|
|
28613
28624
|
static get watchers() { return {
|
|
@@ -29367,7 +29378,7 @@ class Range {
|
|
|
29367
29378
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
29368
29379
|
const mode = getIonMode$1(this);
|
|
29369
29380
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
29370
|
-
return (hAsync(Host, { key: '
|
|
29381
|
+
return (hAsync(Host, { key: 'ef7b01f80515bcaeb2983934ad7f10a6bd5d13ec', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses$1(this.color, {
|
|
29371
29382
|
[mode]: true,
|
|
29372
29383
|
'in-item': inItem,
|
|
29373
29384
|
'range-disabled': disabled,
|
|
@@ -29376,10 +29387,10 @@ class Range {
|
|
|
29376
29387
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
29377
29388
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
29378
29389
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
29379
|
-
}) }, hAsync("label", { key: '
|
|
29390
|
+
}) }, hAsync("label", { key: 'fd8aa90a9d52be9da024b907e68858dae424449d', class: "range-wrapper", id: "range-label" }, hAsync("div", { key: '2172b4f329c22017dd23475c80aac25ba6e753eb', class: {
|
|
29380
29391
|
'label-text-wrapper': true,
|
|
29381
29392
|
'label-text-wrapper-hidden': !hasLabel,
|
|
29382
|
-
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '
|
|
29393
|
+
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '3c318bf2ea0576646d4c010bf44573fd0f483186', class: "native-wrapper" }, hAsync("slot", { key: '6586fd6fc96271e73f8a86c202d1913ad1a26f96', name: "start" }), this.renderRangeSlider(), hAsync("slot", { key: '74ac0bc2d2cb66ef708bb729f88b6ecbc1b2155d', name: "end" })))));
|
|
29383
29394
|
}
|
|
29384
29395
|
get el() { return getElement(this); }
|
|
29385
29396
|
static get watchers() { return {
|
|
@@ -30346,7 +30357,7 @@ class Refresher {
|
|
|
30346
30357
|
}
|
|
30347
30358
|
render() {
|
|
30348
30359
|
const mode = getIonMode$1(this);
|
|
30349
|
-
return (hAsync(Host, { key: '
|
|
30360
|
+
return (hAsync(Host, { key: '2d1bd880877b698604542ab2d602d38b9504d975', slot: "fixed", class: {
|
|
30350
30361
|
[mode]: true,
|
|
30351
30362
|
// Used internally for styling
|
|
30352
30363
|
[`refresher-${mode}`]: true,
|
|
@@ -30570,7 +30581,7 @@ class RefresherContent {
|
|
|
30570
30581
|
const pullingIcon = this.pullingIcon;
|
|
30571
30582
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
30572
30583
|
const mode = getIonMode$1(this);
|
|
30573
|
-
return (hAsync(Host, { key: '
|
|
30584
|
+
return (hAsync(Host, { key: 'e235f8a9a84070ece2e2066ced234a64663bfa1d', class: mode }, hAsync("div", { key: '9121691818ddaa35801a5f442e144ac27686cf19', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (hAsync("div", { key: 'c8d65d740f1575041bd3b752c789077927397fe4', class: "refresher-pulling-icon" }, hAsync("div", { key: '309dd904977eaa788b09ea95b7fa4996a73bec5b', class: "spinner-arrow-container" }, hAsync("ion-spinner", { key: 'a2a1480f67775d56ca7822e76be1e9f983bca2f9', name: this.pullingIcon, paused: true }), mode === 'md' && this.pullingIcon === 'circular' && (hAsync("div", { key: '811d7e06d324bf4b6a18a31427a43e5177f3ae3a', class: "arrow-container" }, hAsync("ion-icon", { key: '86cc48e2e8dc054ff6ff1299094da35b524be63d', icon: caretBackSharp, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (hAsync("div", { key: '464ae097dbc95c18a2dd7dfd03f8489153dab719', class: "refresher-pulling-icon" }, hAsync("ion-icon", { key: 'ed6875978b9035add562caa743a68353743d978f', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), hAsync("div", { key: 'aff891924e44354543fec484e5cde1ca92e69904', class: "refresher-refreshing" }, this.refreshingSpinner && (hAsync("div", { key: '842d7ac4ff10a1058775493d62f31cbdcd34f7a0', class: "refresher-refreshing-icon" }, hAsync("ion-spinner", { key: '8c3e6195501e7e78d5cde1e3ad1fef90fd4a953f', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
30574
30585
|
}
|
|
30575
30586
|
get el() { return getElement(this); }
|
|
30576
30587
|
static get cmpMeta() { return {
|
|
@@ -30611,7 +30622,7 @@ class Reorder {
|
|
|
30611
30622
|
render() {
|
|
30612
30623
|
const mode = getIonMode$1(this);
|
|
30613
30624
|
const reorderIcon = mode === 'ios' ? reorderThreeOutline : reorderTwoSharp;
|
|
30614
|
-
return (hAsync(Host, { key: '
|
|
30625
|
+
return (hAsync(Host, { key: 'e6807bb349725682e99e791ac65e729a360d64e8', class: mode }, hAsync("slot", { key: '1c691cdbffa6427ba08dc12184c69559ed5d5506' }, hAsync("ion-icon", { key: '8b4150302cdca475379582b2251737b5e74079b1', icon: reorderIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
30615
30626
|
}
|
|
30616
30627
|
get el() { return getElement(this); }
|
|
30617
30628
|
static get style() { return {
|
|
@@ -30882,7 +30893,7 @@ class ReorderGroup {
|
|
|
30882
30893
|
}
|
|
30883
30894
|
render() {
|
|
30884
30895
|
const mode = getIonMode$1(this);
|
|
30885
|
-
return (hAsync(Host, { key: '
|
|
30896
|
+
return (hAsync(Host, { key: 'b9641f3061d67fbfe68317b901ec33267046e073', class: {
|
|
30886
30897
|
[mode]: true,
|
|
30887
30898
|
'reorder-enabled': !this.disabled,
|
|
30888
30899
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -30998,7 +31009,7 @@ class RippleEffect {
|
|
|
30998
31009
|
}
|
|
30999
31010
|
render() {
|
|
31000
31011
|
const mode = getIonMode$1(this);
|
|
31001
|
-
return (hAsync(Host, { key: '
|
|
31012
|
+
return (hAsync(Host, { key: 'ae9d3b1ed6773a9b9bb2267129f7e9af23b6c9fc', role: "presentation", class: {
|
|
31002
31013
|
[mode]: true,
|
|
31003
31014
|
unbounded: this.unbounded,
|
|
31004
31015
|
} }));
|
|
@@ -31957,10 +31968,10 @@ class RouterLink {
|
|
|
31957
31968
|
rel: this.rel,
|
|
31958
31969
|
target: this.target,
|
|
31959
31970
|
};
|
|
31960
|
-
return (hAsync(Host, { key: '
|
|
31971
|
+
return (hAsync(Host, { key: 'd7f2affcde45c5fbb6cb46cd1c30008ee92a68c5', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
31961
31972
|
[mode]: true,
|
|
31962
31973
|
'ion-activatable': true,
|
|
31963
|
-
}) }, hAsync("a", Object.assign({ key: '
|
|
31974
|
+
}) }, hAsync("a", Object.assign({ key: 'babafae85ca5c6429958d383feff0493ff8cf33e' }, attrs), hAsync("slot", { key: '50314e9555bbf6dffa0c50c3f763009dee59b10b' }))));
|
|
31964
31975
|
}
|
|
31965
31976
|
static get style() { return routerLinkCss; }
|
|
31966
31977
|
static get cmpMeta() { return {
|
|
@@ -32157,7 +32168,7 @@ class RouterOutlet {
|
|
|
32157
32168
|
return true;
|
|
32158
32169
|
}
|
|
32159
32170
|
render() {
|
|
32160
|
-
return hAsync("slot", { key: '
|
|
32171
|
+
return hAsync("slot", { key: '84b50f1155b0d780dff802ee13223287259fd525' });
|
|
32161
32172
|
}
|
|
32162
32173
|
get el() { return getElement(this); }
|
|
32163
32174
|
static get watchers() { return {
|
|
@@ -32190,7 +32201,7 @@ class Row {
|
|
|
32190
32201
|
registerInstance(this, hostRef);
|
|
32191
32202
|
}
|
|
32192
32203
|
render() {
|
|
32193
|
-
return (hAsync(Host, { key: '
|
|
32204
|
+
return (hAsync(Host, { key: '65592a79621bd8f75f9566db3e8c05a4b8fc6048', class: getIonMode$1(this) }, hAsync("slot", { key: '56f09784db7a0299c9ce76dfcede185b295251ff' })));
|
|
32194
32205
|
}
|
|
32195
32206
|
static get style() { return rowCss; }
|
|
32196
32207
|
static get cmpMeta() { return {
|
|
@@ -32631,8 +32642,8 @@ class Searchbar {
|
|
|
32631
32642
|
const clearIcon = this.clearIcon || (mode === 'ios' ? closeCircle : closeSharp);
|
|
32632
32643
|
const searchIcon = this.searchIcon || (mode === 'ios' ? searchOutline : searchSharp);
|
|
32633
32644
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
32634
|
-
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '
|
|
32635
|
-
return (hAsync(Host, { key: '
|
|
32645
|
+
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '19e18775856db87daeb4b9e3d7bca0461915a0df', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: mode === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, hAsync("div", { key: 'b3bbdcc033f3bd3441d619e4a252cef0dad4d07e', "aria-hidden": "true" }, mode === 'md' ? (hAsync("ion-icon", { "aria-hidden": "true", mode: mode, icon: this.cancelButtonIcon, lazy: false })) : (cancelButtonText))));
|
|
32646
|
+
return (hAsync(Host, { key: '074aa60e051bfb3225e87d44bbb6346c59c73574', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses$1(this.color, {
|
|
32636
32647
|
[mode]: true,
|
|
32637
32648
|
'searchbar-animated': animated,
|
|
32638
32649
|
'searchbar-disabled': this.disabled,
|
|
@@ -32642,14 +32653,14 @@ class Searchbar {
|
|
|
32642
32653
|
'searchbar-has-focus': this.focused,
|
|
32643
32654
|
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
32644
32655
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
32645
|
-
}) }, hAsync("div", { key: '
|
|
32656
|
+
}) }, hAsync("div", { key: '54f58a79fe36e85d9295157303f1be89c98bbdaf', class: "searchbar-input-container" }, hAsync("input", Object.assign({ key: 'f991a37fcf54d26b7ad10d89084764e03d97b9de', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), mode === 'md' && cancelButton, hAsync("ion-icon", { key: '8b44dd90a3292c5cf872ef16a8520675f5673494', "aria-hidden": "true", mode: mode, icon: searchIcon, lazy: false, class: "searchbar-search-icon" }), hAsync("button", { key: '79d9cfed8f01268044f82811a35d323a12dca749', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
32646
32657
|
/**
|
|
32647
32658
|
* This prevents mobile browsers from
|
|
32648
32659
|
* blurring the input when the clear
|
|
32649
32660
|
* button is activated.
|
|
32650
32661
|
*/
|
|
32651
32662
|
ev.preventDefault();
|
|
32652
|
-
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: '
|
|
32663
|
+
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: 'aa3b9fa8a61f853236783ac7bcd0b113ea65ece2', "aria-hidden": "true", mode: mode, icon: clearIcon, lazy: false, class: "searchbar-clear-icon" }))), mode === 'ios' && cancelButton));
|
|
32653
32664
|
}
|
|
32654
32665
|
get el() { return getElement(this); }
|
|
32655
32666
|
static get watchers() { return {
|
|
@@ -33244,14 +33255,14 @@ class Segment {
|
|
|
33244
33255
|
}
|
|
33245
33256
|
render() {
|
|
33246
33257
|
const mode = getIonMode$1(this);
|
|
33247
|
-
return (hAsync(Host, { key: '
|
|
33258
|
+
return (hAsync(Host, { key: 'e67ed512739cf2cfe657b0c44ebc3dfb1e9fbb79', role: "tablist", onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
33248
33259
|
[mode]: true,
|
|
33249
33260
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
33250
33261
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
33251
33262
|
'segment-activated': this.activated,
|
|
33252
33263
|
'segment-disabled': this.disabled,
|
|
33253
33264
|
'segment-scrollable': this.scrollable,
|
|
33254
|
-
}) }, hAsync("slot", { key: '
|
|
33265
|
+
}) }, hAsync("slot", { key: '804d8acfcb9abfeeee38244b015fbc5c36330b9e', onSlotchange: this.onSlottedItemsChange })));
|
|
33255
33266
|
}
|
|
33256
33267
|
get el() { return getElement(this); }
|
|
33257
33268
|
static get watchers() { return {
|
|
@@ -33391,7 +33402,7 @@ class SegmentButton {
|
|
|
33391
33402
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
33392
33403
|
const mode = getIonMode$1(this);
|
|
33393
33404
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
33394
|
-
return (hAsync(Host, { key: '
|
|
33405
|
+
return (hAsync(Host, { key: '26cb7ee90455bcaa6416125802d7e5729fa05b5b', class: {
|
|
33395
33406
|
[mode]: true,
|
|
33396
33407
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
33397
33408
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -33407,7 +33418,7 @@ class SegmentButton {
|
|
|
33407
33418
|
'ion-activatable': true,
|
|
33408
33419
|
'ion-activatable-instant': true,
|
|
33409
33420
|
'ion-focusable': true,
|
|
33410
|
-
} }, hAsync("button", Object.assign({ key: '
|
|
33421
|
+
} }, hAsync("button", Object.assign({ key: '75add37f11c107d1e2cfdb154e08004e9579e863', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), hAsync("span", { key: '8e720d2a3e304903685bf09d226a64e944d78a22', class: "button-inner" }, hAsync("slot", { key: 'c8e7b3ebf8f03042a1001155643b585283c73c65' })), mode === 'md' && hAsync("ion-ripple-effect", { key: '3586ac317b8d82c92b0ccfbfae42f8778612321b' })), hAsync("div", { key: '9cf93957da9e8dc333c8b05327bb903385b1c5f4', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, hAsync("div", { key: 'd3b6f0b3860ec6896b46703f64ed1cc8c75612e3', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
33411
33422
|
}
|
|
33412
33423
|
get el() { return getElement(this); }
|
|
33413
33424
|
static get watchers() { return {
|
|
@@ -33442,7 +33453,7 @@ class SegmentContent {
|
|
|
33442
33453
|
registerInstance(this, hostRef);
|
|
33443
33454
|
}
|
|
33444
33455
|
render() {
|
|
33445
|
-
return (hAsync(Host, { key: '
|
|
33456
|
+
return (hAsync(Host, { key: 'db6876f2aee7afa1ea8bc147337670faa68fae1c' }, hAsync("slot", { key: 'bc05714a973a5655668679033f5809a1da6db8cc' })));
|
|
33446
33457
|
}
|
|
33447
33458
|
static get style() { return segmentContentCss; }
|
|
33448
33459
|
static get cmpMeta() { return {
|
|
@@ -33557,10 +33568,10 @@ class SegmentView {
|
|
|
33557
33568
|
}
|
|
33558
33569
|
render() {
|
|
33559
33570
|
const { disabled, isManualScroll } = this;
|
|
33560
|
-
return (hAsync(Host, { key: '
|
|
33571
|
+
return (hAsync(Host, { key: 'e180b67bb3143a5f4611fb358c037be6fc782a8f', class: {
|
|
33561
33572
|
'segment-view-disabled': disabled,
|
|
33562
33573
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
33563
|
-
} }, hAsync("slot", { key: '
|
|
33574
|
+
} }, hAsync("slot", { key: '41c11d6a7406a10f5c64a2e73abfc072afd8fc73' })));
|
|
33564
33575
|
}
|
|
33565
33576
|
get el() { return getElement(this); }
|
|
33566
33577
|
static get style() { return {
|
|
@@ -34327,7 +34338,7 @@ class Select {
|
|
|
34327
34338
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
34328
34339
|
*/
|
|
34329
34340
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
34330
|
-
return (hAsync(Host, { key: '
|
|
34341
|
+
return (hAsync(Host, { key: 'd8026835993d0e6dce747098f741a06ae4e4f54d', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
34331
34342
|
[mode]: true,
|
|
34332
34343
|
'in-item': inItem,
|
|
34333
34344
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -34345,7 +34356,7 @@ class Select {
|
|
|
34345
34356
|
[`select-justify-${justify}`]: justifyEnabled,
|
|
34346
34357
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
34347
34358
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
34348
|
-
}) }, hAsync("label", { key: '
|
|
34359
|
+
}) }, hAsync("label", { key: 'fcfb40209d6d07d49c7fdca4884b31abf6ac2567', class: "select-wrapper", id: "select-label", onClick: this.onLabelClick }, this.renderLabelContainer(), hAsync("div", { key: 'f191664f2290c3890bde1156157c83a6ff17dbe2', class: "select-wrapper-inner" }, hAsync("slot", { key: '317a28d1115b4214f291e228ce0fe6fc782e57d5', name: "start" }), hAsync("div", { key: 'db68e18abd5ca3a1023d7c7b58bf89893ae18073', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), hAsync("slot", { key: '4274e042267c2234a198b0f65c89477898d08130', name: "end" }), !hasFloatingOrStackedLabel && this.renderSelectIcon()), hasFloatingOrStackedLabel && this.renderSelectIcon(), shouldRenderHighlight && hAsync("div", { key: '2e2eb1ee2b2791e0683d9afb186fde6e938ca59c', class: "select-highlight" })), this.renderBottomContent()));
|
|
34349
34360
|
}
|
|
34350
34361
|
get el() { return getElement(this); }
|
|
34351
34362
|
static get watchers() { return {
|
|
@@ -34506,7 +34517,7 @@ class SelectModal {
|
|
|
34506
34517
|
} }, option.text))));
|
|
34507
34518
|
}
|
|
34508
34519
|
render() {
|
|
34509
|
-
return (hAsync(Host, { key: '
|
|
34520
|
+
return (hAsync(Host, { key: 'b6c0dec240b2e41985b15fdf4e5a6d3a145c1567', class: getIonMode$1(this) }, hAsync("ion-header", { key: 'cd177e85ee0f62a60a3a708342d6ab6eb19a44dc' }, hAsync("ion-toolbar", { key: 'aee8222a5a4daa540ad202b2e4cac1ef93d9558c' }, this.header !== undefined && hAsync("ion-title", { key: '5f8fecc764d97bf840d3d4cfddeeccd118ab4436' }, this.header), hAsync("ion-buttons", { key: '919033950d7c2b0101f96a9c9698219de9f568ea', slot: "end" }, hAsync("ion-button", { key: '34b571cab6dced4bde555a077a21e91800829931', onClick: () => this.closeModal() }, "Close")))), hAsync("ion-content", { key: '3c9153d26ba7a5a03d3b20fcd628d0c3031661a7' }, hAsync("ion-list", { key: 'e00b222c071bc97c82ad1bba4db95a8a5c43ed6d' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
|
|
34510
34521
|
}
|
|
34511
34522
|
get el() { return getElement(this); }
|
|
34512
34523
|
static get style() { return {
|
|
@@ -34540,7 +34551,7 @@ class SelectOption {
|
|
|
34540
34551
|
this.disabled = false;
|
|
34541
34552
|
}
|
|
34542
34553
|
render() {
|
|
34543
|
-
return hAsync(Host, { key: '
|
|
34554
|
+
return hAsync(Host, { key: '3a70eea9fa03a9acba582180761d18347c72acee', role: "option", id: this.inputId, class: getIonMode$1(this) });
|
|
34544
34555
|
}
|
|
34545
34556
|
get el() { return getElement(this); }
|
|
34546
34557
|
static get style() { return selectOptionCss; }
|
|
@@ -34657,7 +34668,7 @@ class SelectPopover {
|
|
|
34657
34668
|
render() {
|
|
34658
34669
|
const { header, message, options, subHeader } = this;
|
|
34659
34670
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
34660
|
-
return (hAsync(Host, { key: '
|
|
34671
|
+
return (hAsync(Host, { key: 'ab931b49b59283825bd2afa3f7f995b0e6e05bef', class: getIonMode$1(this) }, hAsync("ion-list", { key: '3bd12b67832607596b912a73d5b3ae9b954b244d' }, header !== undefined && hAsync("ion-list-header", { key: '97da930246edf7423a039c030d40e3ff7a5148a3' }, header), hasSubHeaderOrMessage && (hAsync("ion-item", { key: 'c579df6ea8fac07bb0c59d34c69b149656863224' }, hAsync("ion-label", { key: 'af699c5f465710ccb13b8cf8e7be66f0e8acfad1', class: "ion-text-wrap" }, subHeader !== undefined && hAsync("h3", { key: 'df9a936d42064b134e843c7229f314a2a3ec7e80' }, subHeader), message !== undefined && hAsync("p", { key: '9c3ddad378df00f106afa94e9928cf68c17124dd' }, message)))), this.renderOptions(options))));
|
|
34661
34672
|
}
|
|
34662
34673
|
get el() { return getElement(this); }
|
|
34663
34674
|
static get style() { return {
|
|
@@ -34707,11 +34718,11 @@ class SkeletonText {
|
|
|
34707
34718
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
34708
34719
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
34709
34720
|
const mode = getIonMode$1(this);
|
|
34710
|
-
return (hAsync(Host, { key: '
|
|
34721
|
+
return (hAsync(Host, { key: 'd86ef7392507cdbf48dfd3a71f02d7a83eda4aae', class: {
|
|
34711
34722
|
[mode]: true,
|
|
34712
34723
|
'skeleton-text-animated': animated,
|
|
34713
34724
|
'in-media': inMedia,
|
|
34714
|
-
} }, hAsync("span", { key: '
|
|
34725
|
+
} }, hAsync("span", { key: '8e8b5a232a6396d2bba691b05f9de4da44b2965c' }, "\u00A0")));
|
|
34715
34726
|
}
|
|
34716
34727
|
get el() { return getElement(this); }
|
|
34717
34728
|
static get style() { return skeletonTextCss; }
|
|
@@ -34763,7 +34774,7 @@ class Spinner {
|
|
|
34763
34774
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
34764
34775
|
}
|
|
34765
34776
|
}
|
|
34766
|
-
return (hAsync(Host, { key: '
|
|
34777
|
+
return (hAsync(Host, { key: 'a33d6421fcc885995fbc7a348516525f68ca496c', class: createColorClasses$1(self.color, {
|
|
34767
34778
|
[mode]: true,
|
|
34768
34779
|
[`spinner-${spinnerName}`]: true,
|
|
34769
34780
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -34862,12 +34873,12 @@ class SplitPane {
|
|
|
34862
34873
|
}
|
|
34863
34874
|
render() {
|
|
34864
34875
|
const mode = getIonMode$1(this);
|
|
34865
|
-
return (hAsync(Host, { key: '
|
|
34876
|
+
return (hAsync(Host, { key: 'd5e30df12f1f1f855da4c66f98076b9dce762c59', class: {
|
|
34866
34877
|
[mode]: true,
|
|
34867
34878
|
// Used internally for styling
|
|
34868
34879
|
[`split-pane-${mode}`]: true,
|
|
34869
34880
|
'split-pane-visible': this.visible,
|
|
34870
|
-
} }, hAsync("slot", { key: '
|
|
34881
|
+
} }, hAsync("slot", { key: '3e30d7cf3bc1cf434e16876a0cb2a36377b8e00f' })));
|
|
34871
34882
|
}
|
|
34872
34883
|
get el() { return getElement(this); }
|
|
34873
34884
|
static get watchers() { return {
|
|
@@ -34933,10 +34944,10 @@ class Tab {
|
|
|
34933
34944
|
}
|
|
34934
34945
|
render() {
|
|
34935
34946
|
const { tab, active, component } = this;
|
|
34936
|
-
return (hAsync(Host, { key: '
|
|
34947
|
+
return (hAsync(Host, { key: 'dbad8fe9f1566277d14647626308eaf1601ab01f', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
34937
34948
|
'ion-page': component === undefined,
|
|
34938
34949
|
'tab-hidden': !active,
|
|
34939
|
-
} }, hAsync("slot", { key: '
|
|
34950
|
+
} }, hAsync("slot", { key: '3be64f4e7161f6769aaf8e4dcb5293fcaa09af45' })));
|
|
34940
34951
|
}
|
|
34941
34952
|
get el() { return getElement(this); }
|
|
34942
34953
|
static get watchers() { return {
|
|
@@ -35028,11 +35039,11 @@ class TabBar {
|
|
|
35028
35039
|
const { color, translucent, keyboardVisible } = this;
|
|
35029
35040
|
const mode = getIonMode$1(this);
|
|
35030
35041
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
35031
|
-
return (hAsync(Host, { key: '
|
|
35042
|
+
return (hAsync(Host, { key: '388ec37ce308035bab78d6c9a016bb616e9517a9', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses$1(color, {
|
|
35032
35043
|
[mode]: true,
|
|
35033
35044
|
'tab-bar-translucent': translucent,
|
|
35034
35045
|
'tab-bar-hidden': shouldHide,
|
|
35035
|
-
}) }, hAsync("slot", { key: '
|
|
35046
|
+
}) }, hAsync("slot", { key: 'ce10ade2b86725e24f3254516483eeedd8ecb16a' })));
|
|
35036
35047
|
}
|
|
35037
35048
|
get el() { return getElement(this); }
|
|
35038
35049
|
static get watchers() { return {
|
|
@@ -35128,7 +35139,7 @@ class TabButton {
|
|
|
35128
35139
|
rel,
|
|
35129
35140
|
target,
|
|
35130
35141
|
};
|
|
35131
|
-
return (hAsync(Host, { key: '
|
|
35142
|
+
return (hAsync(Host, { key: 'ce9d29ced0c781d6b2fa62cd5feb801c11fc42e8', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
35132
35143
|
[mode]: true,
|
|
35133
35144
|
'tab-selected': selected,
|
|
35134
35145
|
'tab-disabled': disabled,
|
|
@@ -35140,7 +35151,7 @@ class TabButton {
|
|
|
35140
35151
|
'ion-activatable': true,
|
|
35141
35152
|
'ion-selectable': true,
|
|
35142
35153
|
'ion-focusable': true,
|
|
35143
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
35154
|
+
} }, hAsync("a", Object.assign({ key: '01cb0ed2e77c5c1a8abd48da1bb07ac1b305d0b6' }, attrs, { class: "button-native", part: "native", role: "tab", "aria-selected": selected ? 'true' : null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? '-1' : undefined }, inheritedAttributes), hAsync("span", { key: 'd0240c05f42217cfb186b86ff8a0c9cd70b9c8df', class: "button-inner" }, hAsync("slot", { key: '0a20b84925037dbaa8bb4a495b813d3f7c2e58ac' })), mode === 'md' && hAsync("ion-ripple-effect", { key: '4c92c27178cdac89d69cffef8d2c39c3644914e8', type: "unbounded" }))));
|
|
35144
35155
|
}
|
|
35145
35156
|
get el() { return getElement(this); }
|
|
35146
35157
|
static get style() { return {
|
|
@@ -35331,7 +35342,7 @@ class Tabs {
|
|
|
35331
35342
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
35332
35343
|
}
|
|
35333
35344
|
render() {
|
|
35334
|
-
return (hAsync(Host, { key: '
|
|
35345
|
+
return (hAsync(Host, { key: '7b4b302f2942d8d131f6fc24e817989a8be08867', onIonTabButtonClick: this.onTabClicked }, hAsync("slot", { key: '2c51cf14c0f17a8ddf2d879858c984cdf8fd3147', name: "top" }), hAsync("div", { key: '7e9d6055092d41bd9bc80ae15965f77e216feb84', class: "tabs-inner" }, hAsync("slot", { key: 'c308a787e37ff7f6653531d70deca597a7602d26' })), hAsync("slot", { key: 'd5f5e693710c853570811602f859cf3e88272684', name: "bottom" })));
|
|
35335
35346
|
}
|
|
35336
35347
|
get el() { return getElement(this); }
|
|
35337
35348
|
static get style() { return tabsCss; }
|
|
@@ -35371,9 +35382,9 @@ class Text {
|
|
|
35371
35382
|
}
|
|
35372
35383
|
render() {
|
|
35373
35384
|
const mode = getIonMode$1(this);
|
|
35374
|
-
return (hAsync(Host, { key: '
|
|
35385
|
+
return (hAsync(Host, { key: '361035eae7b92dc109794348d39bad2f596eb6be', class: createColorClasses$1(this.color, {
|
|
35375
35386
|
[mode]: true,
|
|
35376
|
-
}) }, hAsync("slot", { key: '
|
|
35387
|
+
}) }, hAsync("slot", { key: 'c7b8835cf485ba9ecd73298f0529276ce1ea0852' })));
|
|
35377
35388
|
}
|
|
35378
35389
|
static get style() { return textCss; }
|
|
35379
35390
|
static get cmpMeta() { return {
|
|
@@ -35834,7 +35845,7 @@ class Textarea {
|
|
|
35834
35845
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
35835
35846
|
*/
|
|
35836
35847
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
35837
|
-
return (hAsync(Host, { key: '
|
|
35848
|
+
return (hAsync(Host, { key: 'a70a62d7aae3831a50acd74f60b930925ada1326', class: createColorClasses$1(this.color, {
|
|
35838
35849
|
[mode]: true,
|
|
35839
35850
|
'has-value': hasValue,
|
|
35840
35851
|
'has-focus': hasFocus,
|
|
@@ -35843,7 +35854,7 @@ class Textarea {
|
|
|
35843
35854
|
[`textarea-shape-${shape}`]: shape !== undefined,
|
|
35844
35855
|
[`textarea-label-placement-${labelPlacement}`]: true,
|
|
35845
35856
|
'textarea-disabled': disabled,
|
|
35846
|
-
}) }, hAsync("label", { key: '
|
|
35857
|
+
}) }, hAsync("label", { key: '8a2dd59a60f7469df84018eb0ede3a9ec3862703', class: "textarea-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), hAsync("div", { key: '1bfc368236e3da7a225a45118c27fbfc1fe5fa46', class: "textarea-wrapper-inner" }, hAsync("div", { key: '215cbb2635ff52e31a8973376989b85e7245d40f', class: "start-slot-wrapper" }, hAsync("slot", { key: '9f6b461cdee9d629deb695d2bea054ece2f32305', name: "start" })), hAsync("div", { key: 'c1af35a2d5bc452bebe0b22a26d15ff52b4e9fc8', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el) }, hAsync("textarea", Object.assign({ key: '69a69b3cf0932baafbe37e6e846f1a571608d3f2', 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: 'c053ea8b865d0e29763aed2e4939cc9c9e374c15', class: "end-slot-wrapper" }, hAsync("slot", { key: '930aa641833b0df54b9ea10368fc2f46d5f491f6', name: "end" }))), shouldRenderHighlight && hAsync("div", { key: '8d12597d15f5f429d80e8272ea99e64ed924e482', class: "textarea-highlight" })), this.renderBottomContent()));
|
|
35847
35858
|
}
|
|
35848
35859
|
get el() { return getElement(this); }
|
|
35849
35860
|
static get watchers() { return {
|
|
@@ -35906,7 +35917,7 @@ class Thumbnail {
|
|
|
35906
35917
|
registerInstance(this, hostRef);
|
|
35907
35918
|
}
|
|
35908
35919
|
render() {
|
|
35909
|
-
return (hAsync(Host, { key: '
|
|
35920
|
+
return (hAsync(Host, { key: '70ada828e8cf541ab3b47f94b7e56ce34114ef88', class: getIonMode$1(this) }, hAsync("slot", { key: 'c43e105669d2bae123619b616f3af8ca2f722d61' })));
|
|
35910
35921
|
}
|
|
35911
35922
|
static get style() { return thumbnailCss; }
|
|
35912
35923
|
static get cmpMeta() { return {
|
|
@@ -36764,9 +36775,9 @@ class Toast {
|
|
|
36764
36775
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
36765
36776
|
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);
|
|
36766
36777
|
}
|
|
36767
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
36778
|
+
return (hAsync(Host, Object.assign({ key: 'd1ecd90c87700aad4685e230cdd430aa286b8791', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
36768
36779
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
36769
|
-
}, 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: '
|
|
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: '4bfc863417324de69e222054d5cf9c452038b41e', class: wrapperClass }, hAsync("div", { key: '3417940afec0392e81b7d54c7cb00f3ab6c30d47', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (hAsync("ion-icon", { key: '6bf878fbc85c01e1e5faa9d97d46255a6511a952', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), hAsync("div", { key: '54b500348a9c37660c3aff37436d9188e4374947', class: "toast-content", role: "status", "aria-atomic": "true", "aria-live": "polite" }, !revealContentToScreenReader && header !== undefined && this.renderHeader('oldHeader', 'true'), !revealContentToScreenReader && message !== undefined && this.renderToastMessage('oldMessage', 'true'), revealContentToScreenReader && header !== undefined && this.renderHeader('header'), revealContentToScreenReader && message !== undefined && this.renderToastMessage('header')), this.renderButtons(endButtons, 'end')))));
|
|
36770
36781
|
}
|
|
36771
36782
|
get el() { return getElement(this); }
|
|
36772
36783
|
static get watchers() { return {
|
|
@@ -37078,7 +37089,7 @@ class Toggle {
|
|
|
37078
37089
|
const value = this.getValue();
|
|
37079
37090
|
const rtl = isRTL$1(el) ? 'rtl' : 'ltr';
|
|
37080
37091
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
37081
|
-
return (hAsync(Host, { key: '
|
|
37092
|
+
return (hAsync(Host, { key: 'f569148edd89ee041a4719ffc4733c16b05229bd', 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, {
|
|
37082
37093
|
[mode]: true,
|
|
37083
37094
|
'in-item': hostContext('ion-item', el),
|
|
37084
37095
|
'toggle-activated': activated,
|
|
@@ -37088,10 +37099,10 @@ class Toggle {
|
|
|
37088
37099
|
[`toggle-alignment-${alignment}`]: alignment !== undefined,
|
|
37089
37100
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
37090
37101
|
[`toggle-${rtl}`]: true,
|
|
37091
|
-
}) }, hAsync("label", { key: '
|
|
37102
|
+
}) }, hAsync("label", { key: '3027f2ac4be6de422a14486d847fbee77f615db1', class: "toggle-wrapper", htmlFor: inputId }, hAsync("input", Object.assign({ key: '4b0304c9e879e432b80184b4e5de37d55c11b436', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, required: required }, inheritedAttributes)), hAsync("div", { key: '8ef265ec942e7f01ff31cbb202ed146c6bf94e02', class: {
|
|
37092
37103
|
'label-text-wrapper': true,
|
|
37093
37104
|
'label-text-wrapper-hidden': !hasLabel,
|
|
37094
|
-
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '
|
|
37105
|
+
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '7b162b7dd27199cca2a4c995276a18b9f8e44aaf' }), this.renderHintText()), hAsync("div", { key: 'd13c34bd42fca01cc73ddb4ea7e471b33a282a3e', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
37095
37106
|
}
|
|
37096
37107
|
get el() { return getElement(this); }
|
|
37097
37108
|
static get watchers() { return {
|
|
@@ -37201,10 +37212,10 @@ class Toolbar {
|
|
|
37201
37212
|
this.childrenStyles.forEach((value) => {
|
|
37202
37213
|
Object.assign(childStyles, value);
|
|
37203
37214
|
});
|
|
37204
|
-
return (hAsync(Host, { key: '
|
|
37215
|
+
return (hAsync(Host, { key: 'f6c4f669a6a61c5eac4cbb5ea0aa97c48ae5bd46', class: Object.assign(Object.assign({}, childStyles), createColorClasses$1(this.color, {
|
|
37205
37216
|
[mode]: true,
|
|
37206
37217
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
37207
|
-
})) }, hAsync("div", { key: '
|
|
37218
|
+
})) }, hAsync("div", { key: '9c81742ffa02de9ba7417025b077d05e67305074', class: "toolbar-background", part: "background" }), hAsync("div", { key: '5fc96d166fa47894a062e41541a9beee38078a36', class: "toolbar-container", part: "container" }, hAsync("slot", { key: 'b62c0d9d59a70176bdbf769aec6090d7a166853b', name: "start" }), hAsync("slot", { key: 'd01d3cc2c50e5aaa49c345b209fe8dbdf3d48131', name: "secondary" }), hAsync("div", { key: '3aaa3a2810aedd38c37eb616158ec7b9638528fc', class: "toolbar-content", part: "content" }, hAsync("slot", { key: '357246690f8d5e1cc3ca369611d4845a79edf610' })), hAsync("slot", { key: '06ed3cca4f7ebff4a54cd877dad3cc925ccf9f75', name: "primary" }), hAsync("slot", { key: 'e453d43d14a26b0d72f41e1b81a554bab8ece811', name: "end" }))));
|
|
37208
37219
|
}
|
|
37209
37220
|
get el() { return getElement(this); }
|
|
37210
37221
|
static get style() { return {
|
|
@@ -37250,11 +37261,11 @@ class ToolbarTitle {
|
|
|
37250
37261
|
render() {
|
|
37251
37262
|
const mode = getIonMode$1(this);
|
|
37252
37263
|
const size = this.getSize();
|
|
37253
|
-
return (hAsync(Host, { key: '
|
|
37264
|
+
return (hAsync(Host, { key: 'e599c0bf1b0817df3fa8360bdcd6d787f751c371', class: createColorClasses$1(this.color, {
|
|
37254
37265
|
[mode]: true,
|
|
37255
37266
|
[`title-${size}`]: true,
|
|
37256
37267
|
'title-rtl': document.dir === 'rtl',
|
|
37257
|
-
}) }, hAsync("div", { key: '
|
|
37268
|
+
}) }, hAsync("div", { key: '6e7eee9047d6759876bb31d7305b76efc7c4338c', class: "toolbar-title" }, hAsync("slot", { key: 'bf790eb4c83dd0af4f2fd1f85ab4af5819f46ff4' }))));
|
|
37258
37269
|
}
|
|
37259
37270
|
get el() { return getElement(this); }
|
|
37260
37271
|
static get watchers() { return {
|