@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.mjs
CHANGED
|
@@ -13433,6 +13433,28 @@ class Datetime {
|
|
|
13433
13433
|
destroyKeyboardMO();
|
|
13434
13434
|
}
|
|
13435
13435
|
};
|
|
13436
|
+
/**
|
|
13437
|
+
* TODO(FW-6931): Remove this fallback upon solving the root cause
|
|
13438
|
+
* Fallback to ensure the datetime becomes ready even if
|
|
13439
|
+
* IntersectionObserver never reports it as intersecting.
|
|
13440
|
+
*
|
|
13441
|
+
* This is primarily used in environments where the observer
|
|
13442
|
+
* might not fire as expected, such as when running under
|
|
13443
|
+
* synthetic tests that stub IntersectionObserver.
|
|
13444
|
+
*/
|
|
13445
|
+
this.ensureReadyIfVisible = () => {
|
|
13446
|
+
if (this.el.classList.contains('datetime-ready')) {
|
|
13447
|
+
return;
|
|
13448
|
+
}
|
|
13449
|
+
const rect = this.el.getBoundingClientRect();
|
|
13450
|
+
if (rect.width === 0 || rect.height === 0) {
|
|
13451
|
+
return;
|
|
13452
|
+
}
|
|
13453
|
+
this.initializeListeners();
|
|
13454
|
+
writeTask(() => {
|
|
13455
|
+
this.el.classList.add('datetime-ready');
|
|
13456
|
+
});
|
|
13457
|
+
};
|
|
13436
13458
|
this.processValue = (value) => {
|
|
13437
13459
|
const hasValue = value !== null && value !== undefined && value !== '' && (!Array.isArray(value) || value.length > 0);
|
|
13438
13460
|
const valueToProcess = hasValue ? parseDate(value) : this.defaultParts;
|
|
@@ -13710,95 +13732,84 @@ class Datetime {
|
|
|
13710
13732
|
this.clearFocusVisible();
|
|
13711
13733
|
this.clearFocusVisible = undefined;
|
|
13712
13734
|
}
|
|
13713
|
-
if (this.resizeObserver) {
|
|
13714
|
-
this.resizeObserver.disconnect();
|
|
13715
|
-
this.resizeObserver = undefined;
|
|
13716
|
-
}
|
|
13717
|
-
if (this.destroyOverlayListeners) {
|
|
13718
|
-
this.destroyOverlayListeners();
|
|
13719
|
-
this.destroyOverlayListeners = undefined;
|
|
13720
|
-
}
|
|
13721
13735
|
}
|
|
13722
13736
|
initializeListeners() {
|
|
13723
13737
|
this.initializeCalendarListener();
|
|
13724
13738
|
this.initializeKeyboardListeners();
|
|
13725
13739
|
}
|
|
13726
13740
|
componentDidLoad() {
|
|
13727
|
-
const { el } = this;
|
|
13741
|
+
const { el, intersectionTrackerRef } = this;
|
|
13728
13742
|
/**
|
|
13729
13743
|
* If a scrollable element is hidden using `display: none`,
|
|
13730
13744
|
* it will not have a scroll height meaning we cannot scroll elements
|
|
13731
13745
|
* into view. As a result, we will need to wait for the datetime to become
|
|
13732
13746
|
* visible if used inside of a modal or a popover otherwise the scrollable
|
|
13733
13747
|
* areas will not have the correct values snapped into place.
|
|
13734
|
-
*
|
|
13735
|
-
* We use ResizeObserver to detect when the element transitions between
|
|
13736
|
-
* having dimensions (visible) and zero dimensions (hidden). This is more
|
|
13737
|
-
* reliable than IntersectionObserver for detecting visibility changes,
|
|
13738
|
-
* especially when the element is inside a modal or popover.
|
|
13739
13748
|
*/
|
|
13740
|
-
const
|
|
13741
|
-
|
|
13749
|
+
const visibleCallback = (entries) => {
|
|
13750
|
+
const ev = entries[0];
|
|
13751
|
+
if (!ev.isIntersecting) {
|
|
13742
13752
|
return;
|
|
13743
13753
|
}
|
|
13744
13754
|
this.initializeListeners();
|
|
13755
|
+
/**
|
|
13756
|
+
* TODO FW-2793: Datetime needs a frame to ensure that it
|
|
13757
|
+
* can properly scroll contents into view. As a result
|
|
13758
|
+
* we hide the scrollable content until after that frame
|
|
13759
|
+
* so users do not see the content quickly shifting. The downside
|
|
13760
|
+
* is that the content will pop into view a frame after. Maybe there
|
|
13761
|
+
* is a better way to handle this?
|
|
13762
|
+
*/
|
|
13745
13763
|
writeTask(() => {
|
|
13746
|
-
el.classList.add('datetime-ready');
|
|
13747
|
-
});
|
|
13748
|
-
};
|
|
13749
|
-
const markHidden = () => {
|
|
13750
|
-
this.destroyInteractionListeners();
|
|
13751
|
-
this.showMonthAndYear = false;
|
|
13752
|
-
writeTask(() => {
|
|
13753
|
-
el.classList.remove('datetime-ready');
|
|
13764
|
+
this.el.classList.add('datetime-ready');
|
|
13754
13765
|
});
|
|
13755
13766
|
};
|
|
13767
|
+
const visibleIO = new IntersectionObserver(visibleCallback, { threshold: 0.01, root: el });
|
|
13756
13768
|
/**
|
|
13757
|
-
*
|
|
13758
|
-
*
|
|
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
|
-
* Use raf to avoid a race condition between the component loading and
|
|
13788
|
-
* its display animation starting (such as when shown in a modal).
|
|
13789
|
-
*/
|
|
13790
|
-
raf(() => { var _a; return (_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.observe(el); });
|
|
13791
|
-
}
|
|
13792
|
-
else {
|
|
13769
|
+
* Use raf to avoid a race condition between the component loading and
|
|
13770
|
+
* its display animation starting (such as when shown in a modal). This
|
|
13771
|
+
* could cause the datetime to start at a visibility of 0, erroneously
|
|
13772
|
+
* triggering the `hiddenIO` observer below.
|
|
13773
|
+
*/
|
|
13774
|
+
raf(() => visibleIO === null || visibleIO === void 0 ? void 0 : visibleIO.observe(intersectionTrackerRef));
|
|
13775
|
+
/**
|
|
13776
|
+
* TODO(FW-6931): Remove this fallback upon solving the root cause
|
|
13777
|
+
* Fallback: If IntersectionObserver never reports that the
|
|
13778
|
+
* datetime is visible but the host clearly has layout, ensure
|
|
13779
|
+
* we still initialize listeners and mark the component as ready.
|
|
13780
|
+
*
|
|
13781
|
+
* We schedule this after everything has had a chance to run.
|
|
13782
|
+
*/
|
|
13783
|
+
setTimeout(() => {
|
|
13784
|
+
this.ensureReadyIfVisible();
|
|
13785
|
+
}, 100);
|
|
13786
|
+
/**
|
|
13787
|
+
* We need to clean up listeners when the datetime is hidden
|
|
13788
|
+
* in a popover/modal so that we can properly scroll containers
|
|
13789
|
+
* back into view if they are re-presented. When the datetime is hidden
|
|
13790
|
+
* the scroll areas have scroll widths/heights of 0px, so any snapping
|
|
13791
|
+
* we did originally has been lost.
|
|
13792
|
+
*/
|
|
13793
|
+
const hiddenCallback = (entries) => {
|
|
13794
|
+
const ev = entries[0];
|
|
13795
|
+
if (ev.isIntersecting) {
|
|
13796
|
+
return;
|
|
13797
|
+
}
|
|
13798
|
+
this.destroyInteractionListeners();
|
|
13793
13799
|
/**
|
|
13794
|
-
*
|
|
13795
|
-
*
|
|
13796
|
-
*
|
|
13800
|
+
* When datetime is hidden, we need to make sure that
|
|
13801
|
+
* the month/year picker is closed. Otherwise,
|
|
13802
|
+
* it will be open when the datetime re-appears
|
|
13803
|
+
* and the scroll area of the calendar grid will be 0.
|
|
13804
|
+
* As a result, the wrong month will be shown.
|
|
13797
13805
|
*/
|
|
13806
|
+
this.showMonthAndYear = false;
|
|
13798
13807
|
writeTask(() => {
|
|
13799
|
-
el.classList.
|
|
13808
|
+
this.el.classList.remove('datetime-ready');
|
|
13800
13809
|
});
|
|
13801
|
-
}
|
|
13810
|
+
};
|
|
13811
|
+
const hiddenIO = new IntersectionObserver(hiddenCallback, { threshold: 0, root: el });
|
|
13812
|
+
raf(() => hiddenIO === null || hiddenIO === void 0 ? void 0 : hiddenIO.observe(intersectionTrackerRef));
|
|
13802
13813
|
/**
|
|
13803
13814
|
* Datetime uses Ionic components that emit
|
|
13804
13815
|
* ionFocus and ionBlur. These events are
|
|
@@ -14527,7 +14538,7 @@ class Datetime {
|
|
|
14527
14538
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
14528
14539
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
14529
14540
|
renderHiddenInput(true, el, name, formatValue(value), disabled);
|
|
14530
|
-
return (hAsync(Host, { key: '
|
|
14541
|
+
return (hAsync(Host, { key: 'efdbc0922670a841bc667ceac392cdc1dedffd01', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses$1(color, {
|
|
14531
14542
|
[mode]: true,
|
|
14532
14543
|
['datetime-readonly']: readonly,
|
|
14533
14544
|
['datetime-disabled']: disabled,
|
|
@@ -14537,7 +14548,7 @@ class Datetime {
|
|
|
14537
14548
|
[`datetime-size-${size}`]: true,
|
|
14538
14549
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
14539
14550
|
[`datetime-grid`]: isGridStyle,
|
|
14540
|
-
})) }, this.renderDatetime(mode)));
|
|
14551
|
+
})) }, hAsync("div", { key: '3f8bb75fcb0baff55182ef3aa1b535eacc58d81f', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(mode)));
|
|
14541
14552
|
}
|
|
14542
14553
|
get el() { return getElement(this); }
|
|
14543
14554
|
static get watchers() { return {
|
|
@@ -14948,11 +14959,11 @@ class DatetimeButton {
|
|
|
14948
14959
|
render() {
|
|
14949
14960
|
const { color, dateText, timeText, selectedButton, datetimeActive, disabled } = this;
|
|
14950
14961
|
const mode = getIonMode$1(this);
|
|
14951
|
-
return (hAsync(Host, { key: '
|
|
14962
|
+
return (hAsync(Host, { key: '11d037e6ab061e5116842970760b04850b42f2c7', class: createColorClasses$1(color, {
|
|
14952
14963
|
[mode]: true,
|
|
14953
14964
|
[`${selectedButton}-active`]: datetimeActive,
|
|
14954
14965
|
['datetime-button-disabled']: disabled,
|
|
14955
|
-
}) }, dateText && (hAsync("button", { key: '
|
|
14966
|
+
}) }, 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' })))));
|
|
14956
14967
|
}
|
|
14957
14968
|
get el() { return getElement(this); }
|
|
14958
14969
|
static get style() { return {
|
|
@@ -15032,12 +15043,12 @@ class Fab {
|
|
|
15032
15043
|
render() {
|
|
15033
15044
|
const { horizontal, vertical, edge } = this;
|
|
15034
15045
|
const mode = getIonMode$1(this);
|
|
15035
|
-
return (hAsync(Host, { key: '
|
|
15046
|
+
return (hAsync(Host, { key: '8a310806d0e748d7ebb0ed3d9a2652038e0f2960', class: {
|
|
15036
15047
|
[mode]: true,
|
|
15037
15048
|
[`fab-horizontal-${horizontal}`]: horizontal !== undefined,
|
|
15038
15049
|
[`fab-vertical-${vertical}`]: vertical !== undefined,
|
|
15039
15050
|
'fab-edge': edge,
|
|
15040
|
-
} }, hAsync("slot", { key: '
|
|
15051
|
+
} }, hAsync("slot", { key: '9394ef6d6e5b0410fa6ba212171f687fb178ce2d' })));
|
|
15041
15052
|
}
|
|
15042
15053
|
get el() { return getElement(this); }
|
|
15043
15054
|
static get watchers() { return {
|
|
@@ -15144,7 +15155,7 @@ class FabButton {
|
|
|
15144
15155
|
rel: this.rel,
|
|
15145
15156
|
target: this.target,
|
|
15146
15157
|
};
|
|
15147
|
-
return (hAsync(Host, { key: '
|
|
15158
|
+
return (hAsync(Host, { key: '4eee204d20b0e2ffed49a88f6cb3e04b6697965c', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses$1(color, {
|
|
15148
15159
|
[mode]: true,
|
|
15149
15160
|
'fab-button-in-list': inList,
|
|
15150
15161
|
'fab-button-translucent-in-list': inList && translucent,
|
|
@@ -15155,7 +15166,7 @@ class FabButton {
|
|
|
15155
15166
|
'ion-activatable': true,
|
|
15156
15167
|
'ion-focusable': true,
|
|
15157
15168
|
[`fab-button-${size}`]: size !== undefined,
|
|
15158
|
-
}) }, hAsync(TagType, Object.assign({ key: '
|
|
15169
|
+
}) }, 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' }))));
|
|
15159
15170
|
}
|
|
15160
15171
|
get el() { return getElement(this); }
|
|
15161
15172
|
static get style() { return {
|
|
@@ -15211,11 +15222,11 @@ class FabList {
|
|
|
15211
15222
|
}
|
|
15212
15223
|
render() {
|
|
15213
15224
|
const mode = getIonMode$1(this);
|
|
15214
|
-
return (hAsync(Host, { key: '
|
|
15225
|
+
return (hAsync(Host, { key: '64b33366447f66c7f979cfac56307fbb1a6fac1c', class: {
|
|
15215
15226
|
[mode]: true,
|
|
15216
15227
|
'fab-list-active': this.activated,
|
|
15217
15228
|
[`fab-list-side-${this.side}`]: true,
|
|
15218
|
-
} }, hAsync("slot", { key: '
|
|
15229
|
+
} }, hAsync("slot", { key: 'd9f474f7f20fd7e813db358fddc720534ca05bb6' })));
|
|
15219
15230
|
}
|
|
15220
15231
|
get el() { return getElement(this); }
|
|
15221
15232
|
static get watchers() { return {
|
|
@@ -15672,7 +15683,7 @@ class Footer {
|
|
|
15672
15683
|
const mode = getIonMode$1(this);
|
|
15673
15684
|
const tabs = this.el.closest('ion-tabs');
|
|
15674
15685
|
const tabBar = tabs === null || tabs === void 0 ? void 0 : tabs.querySelector(':scope > ion-tab-bar');
|
|
15675
|
-
return (hAsync(Host, { key: '
|
|
15686
|
+
return (hAsync(Host, { key: 'ddc228f1a1e7fa4f707dccf74db2490ca3241137', role: "contentinfo", class: {
|
|
15676
15687
|
[mode]: true,
|
|
15677
15688
|
// Used internally for styling
|
|
15678
15689
|
[`footer-${mode}`]: true,
|
|
@@ -15680,7 +15691,7 @@ class Footer {
|
|
|
15680
15691
|
[`footer-translucent-${mode}`]: translucent,
|
|
15681
15692
|
['footer-toolbar-padding']: !this.keyboardVisible && (!tabBar || tabBar.slot !== 'bottom'),
|
|
15682
15693
|
[`footer-collapse-${collapse}`]: collapse !== undefined,
|
|
15683
|
-
} }, mode === 'ios' && translucent && hAsync("div", { key: '
|
|
15694
|
+
} }, mode === 'ios' && translucent && hAsync("div", { key: 'e16ed4963ff94e06de77eb8038201820af73937c', class: "footer-background" }), hAsync("slot", { key: 'f186934febf85d37133d9351a96c1a64b0a4b203' })));
|
|
15684
15695
|
}
|
|
15685
15696
|
get el() { return getElement(this); }
|
|
15686
15697
|
static get style() { return {
|
|
@@ -15713,10 +15724,10 @@ class Grid {
|
|
|
15713
15724
|
}
|
|
15714
15725
|
render() {
|
|
15715
15726
|
const mode = getIonMode$1(this);
|
|
15716
|
-
return (hAsync(Host, { key: '
|
|
15727
|
+
return (hAsync(Host, { key: '617127ecfabf9bf615bef1dda1be3fed5a065949', class: {
|
|
15717
15728
|
[mode]: true,
|
|
15718
15729
|
'grid-fixed': this.fixed,
|
|
15719
|
-
} }, hAsync("slot", { key: '
|
|
15730
|
+
} }, hAsync("slot", { key: 'c781fff853b093d8f44bdb7943bbc4f17c903803' })));
|
|
15720
15731
|
}
|
|
15721
15732
|
static get style() { return gridCss; }
|
|
15722
15733
|
static get cmpMeta() { return {
|
|
@@ -16109,14 +16120,14 @@ class Header {
|
|
|
16109
16120
|
const isCondensed = collapse === 'condense';
|
|
16110
16121
|
// banner role must be at top level, so remove role if inside a menu
|
|
16111
16122
|
const roleType = getRoleType(hostContext('ion-menu', this.el), isCondensed, mode);
|
|
16112
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
16123
|
+
return (hAsync(Host, Object.assign({ key: '863c4568cd7b8c0ec55109f193bbbaed68a1346e', role: roleType, class: {
|
|
16113
16124
|
[mode]: true,
|
|
16114
16125
|
// Used internally for styling
|
|
16115
16126
|
[`header-${mode}`]: true,
|
|
16116
16127
|
[`header-translucent`]: this.translucent,
|
|
16117
16128
|
[`header-collapse-${collapse}`]: true,
|
|
16118
16129
|
[`header-translucent-${mode}`]: this.translucent,
|
|
16119
|
-
} }, inheritedAttributes), mode === 'ios' && translucent && hAsync("div", { key: '
|
|
16130
|
+
} }, inheritedAttributes), mode === 'ios' && translucent && hAsync("div", { key: '25c3bdce328b0b35607d154c8b8374679313d881', class: "header-background" }), hAsync("slot", { key: 'b44fab0a9be7920b9650da26117c783e751e1702' })));
|
|
16120
16131
|
}
|
|
16121
16132
|
get el() { return getElement(this); }
|
|
16122
16133
|
static get style() { return {
|
|
@@ -16442,7 +16453,7 @@ class Img {
|
|
|
16442
16453
|
render() {
|
|
16443
16454
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
16444
16455
|
const { draggable } = inheritedAttributes;
|
|
16445
|
-
return (hAsync(Host, { key: '
|
|
16456
|
+
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) })));
|
|
16446
16457
|
}
|
|
16447
16458
|
get el() { return getElement(this); }
|
|
16448
16459
|
static get watchers() { return {
|
|
@@ -16670,7 +16681,7 @@ class InfiniteScroll {
|
|
|
16670
16681
|
render() {
|
|
16671
16682
|
const mode = getIonMode$1(this);
|
|
16672
16683
|
const disabled = this.disabled;
|
|
16673
|
-
return (hAsync(Host, { key: '
|
|
16684
|
+
return (hAsync(Host, { key: 'e844956795f69be33396ce4480aa7a54ad01b28c', class: {
|
|
16674
16685
|
[mode]: true,
|
|
16675
16686
|
'infinite-scroll-loading': this.isLoading,
|
|
16676
16687
|
'infinite-scroll-enabled': !disabled,
|
|
@@ -16722,11 +16733,11 @@ class InfiniteScrollContent {
|
|
|
16722
16733
|
}
|
|
16723
16734
|
render() {
|
|
16724
16735
|
const mode = getIonMode$1(this);
|
|
16725
|
-
return (hAsync(Host, { key: '
|
|
16736
|
+
return (hAsync(Host, { key: '7c16060dcfe2a0b0fb3e2f8f4c449589a76f1baa', class: {
|
|
16726
16737
|
[mode]: true,
|
|
16727
16738
|
// Used internally for styling
|
|
16728
16739
|
[`infinite-scroll-content-${mode}`]: true,
|
|
16729
|
-
} }, hAsync("div", { key: '
|
|
16740
|
+
} }, 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())));
|
|
16730
16741
|
}
|
|
16731
16742
|
static get style() { return {
|
|
16732
16743
|
ios: infiniteScrollContentIosCss,
|
|
@@ -17369,7 +17380,7 @@ class Input {
|
|
|
17369
17380
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
17370
17381
|
*/
|
|
17371
17382
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
17372
|
-
return (hAsync(Host, { key: '
|
|
17383
|
+
return (hAsync(Host, { key: '97b5308021064d9e7434ef2d3d96f27045c1b0c4', class: createColorClasses$1(this.color, {
|
|
17373
17384
|
[mode]: true,
|
|
17374
17385
|
'has-value': hasValue,
|
|
17375
17386
|
'has-focus': hasFocus,
|
|
@@ -17380,14 +17391,14 @@ class Input {
|
|
|
17380
17391
|
'in-item': inItem,
|
|
17381
17392
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
17382
17393
|
'input-disabled': disabled,
|
|
17383
|
-
}) }, hAsync("label", { key: '
|
|
17394
|
+
}) }, 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) => {
|
|
17384
17395
|
/**
|
|
17385
17396
|
* This prevents mobile browsers from
|
|
17386
17397
|
* blurring the input when the clear
|
|
17387
17398
|
* button is activated.
|
|
17388
17399
|
*/
|
|
17389
17400
|
ev.preventDefault();
|
|
17390
|
-
}, onClick: this.clearTextInput }, hAsync("ion-icon", { key: '
|
|
17401
|
+
}, 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()));
|
|
17391
17402
|
}
|
|
17392
17403
|
get el() { return getElement(this); }
|
|
17393
17404
|
static get watchers() { return {
|
|
@@ -18058,7 +18069,7 @@ class InputOTP {
|
|
|
18058
18069
|
const tabbableIndex = this.getTabbableIndex();
|
|
18059
18070
|
const pattern = this.getPattern();
|
|
18060
18071
|
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()) !== '';
|
|
18061
|
-
return (hAsync(Host, { key: '
|
|
18072
|
+
return (hAsync(Host, { key: 'f15a29fb17b681ef55885ca36d3d5f899cbaca83', class: createColorClasses$1(color, {
|
|
18062
18073
|
[mode]: true,
|
|
18063
18074
|
'has-focus': hasFocus,
|
|
18064
18075
|
[`input-otp-size-${size}`]: true,
|
|
@@ -18066,10 +18077,10 @@ class InputOTP {
|
|
|
18066
18077
|
[`input-otp-fill-${fill}`]: true,
|
|
18067
18078
|
'input-otp-disabled': disabled,
|
|
18068
18079
|
'input-otp-readonly': readonly,
|
|
18069
|
-
}) }, hAsync("div", Object.assign({ key: '
|
|
18080
|
+
}) }, 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: {
|
|
18070
18081
|
'input-otp-description': true,
|
|
18071
18082
|
'input-otp-description-hidden': !hasDescription,
|
|
18072
|
-
} }, hAsync("slot", { key: '
|
|
18083
|
+
} }, hAsync("slot", { key: '11baa2624926a08274508afe0833d9237a8dc35c' }))));
|
|
18073
18084
|
}
|
|
18074
18085
|
get el() { return getElement(this); }
|
|
18075
18086
|
static get watchers() { return {
|
|
@@ -18169,16 +18180,16 @@ class InputPasswordToggle {
|
|
|
18169
18180
|
const showPasswordIcon = (_a = this.showIcon) !== null && _a !== void 0 ? _a : eye;
|
|
18170
18181
|
const hidePasswordIcon = (_b = this.hideIcon) !== null && _b !== void 0 ? _b : eyeOff;
|
|
18171
18182
|
const isPasswordVisible = type === 'text';
|
|
18172
|
-
return (hAsync(Host, { key: '
|
|
18183
|
+
return (hAsync(Host, { key: '91bc55664d496fe457518bd112865dd7811d0c17', class: createColorClasses$1(color, {
|
|
18173
18184
|
[mode]: true,
|
|
18174
|
-
}) }, hAsync("ion-button", { key: '
|
|
18185
|
+
}) }, 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) => {
|
|
18175
18186
|
/**
|
|
18176
18187
|
* This prevents mobile browsers from
|
|
18177
18188
|
* blurring the input when the password toggle
|
|
18178
18189
|
* button is activated.
|
|
18179
18190
|
*/
|
|
18180
18191
|
ev.preventDefault();
|
|
18181
|
-
}, onClick: this.togglePasswordVisibility }, hAsync("ion-icon", { key: '
|
|
18192
|
+
}, onClick: this.togglePasswordVisibility }, hAsync("ion-icon", { key: '5c8b121153f148f92aa7cba0447673a4f6f3ad1e', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? hidePasswordIcon : showPasswordIcon }))));
|
|
18182
18193
|
}
|
|
18183
18194
|
get el() { return getElement(this); }
|
|
18184
18195
|
static get watchers() { return {
|
|
@@ -18509,11 +18520,11 @@ class ItemDivider {
|
|
|
18509
18520
|
}
|
|
18510
18521
|
render() {
|
|
18511
18522
|
const mode = getIonMode$1(this);
|
|
18512
|
-
return (hAsync(Host, { key: '
|
|
18523
|
+
return (hAsync(Host, { key: '1523095ce4af3f2611512ff0948ead659959ee4a', class: createColorClasses$1(this.color, {
|
|
18513
18524
|
[mode]: true,
|
|
18514
18525
|
'item-divider-sticky': this.sticky,
|
|
18515
18526
|
item: true,
|
|
18516
|
-
}) }, hAsync("slot", { key: '
|
|
18527
|
+
}) }, 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" }))));
|
|
18517
18528
|
}
|
|
18518
18529
|
get el() { return getElement(this); }
|
|
18519
18530
|
static get style() { return {
|
|
@@ -18543,7 +18554,7 @@ class ItemGroup {
|
|
|
18543
18554
|
}
|
|
18544
18555
|
render() {
|
|
18545
18556
|
const mode = getIonMode$1(this);
|
|
18546
|
-
return (hAsync(Host, { key: '
|
|
18557
|
+
return (hAsync(Host, { key: 'e49dc8f99247d2431d7c6db01b6e021a0f5b1c37', role: "group", class: {
|
|
18547
18558
|
[mode]: true,
|
|
18548
18559
|
// Used internally for styling
|
|
18549
18560
|
[`item-group-${mode}`]: true,
|
|
@@ -18613,12 +18624,12 @@ class ItemOption {
|
|
|
18613
18624
|
href: this.href,
|
|
18614
18625
|
target: this.target,
|
|
18615
18626
|
};
|
|
18616
|
-
return (hAsync(Host, { key: '
|
|
18627
|
+
return (hAsync(Host, { key: '189a0040b97163b2336bf216baa71d584c5923a8', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
18617
18628
|
[mode]: true,
|
|
18618
18629
|
'item-option-disabled': disabled,
|
|
18619
18630
|
'item-option-expandable': expandable,
|
|
18620
18631
|
'ion-activatable': true,
|
|
18621
|
-
}) }, hAsync(TagType, Object.assign({ key: '
|
|
18632
|
+
}) }, 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' }))));
|
|
18622
18633
|
}
|
|
18623
18634
|
get el() { return getElement(this); }
|
|
18624
18635
|
static get style() { return {
|
|
@@ -18667,7 +18678,7 @@ class ItemOptions {
|
|
|
18667
18678
|
render() {
|
|
18668
18679
|
const mode = getIonMode$1(this);
|
|
18669
18680
|
const isEnd = isEndSide(this.side);
|
|
18670
|
-
return (hAsync(Host, { key: '
|
|
18681
|
+
return (hAsync(Host, { key: '05a22a505e043c2715e3805e5e26ab4668940af0', class: {
|
|
18671
18682
|
[mode]: true,
|
|
18672
18683
|
// Used internally for styling
|
|
18673
18684
|
[`item-options-${mode}`]: true,
|
|
@@ -19132,7 +19143,7 @@ class ItemSliding {
|
|
|
19132
19143
|
}
|
|
19133
19144
|
render() {
|
|
19134
19145
|
const mode = getIonMode$1(this);
|
|
19135
|
-
return (hAsync(Host, { key: '
|
|
19146
|
+
return (hAsync(Host, { key: 'd812322c9fb5da4ee16e99dc38bfb24cb4590d03', class: {
|
|
19136
19147
|
[mode]: true,
|
|
19137
19148
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
19138
19149
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -19237,13 +19248,13 @@ class Label {
|
|
|
19237
19248
|
render() {
|
|
19238
19249
|
const position = this.position;
|
|
19239
19250
|
const mode = getIonMode$1(this);
|
|
19240
|
-
return (hAsync(Host, { key: '
|
|
19251
|
+
return (hAsync(Host, { key: 'd6fba1a97189acc8ddfd64a2f009954a3e46e188', class: createColorClasses$1(this.color, {
|
|
19241
19252
|
[mode]: true,
|
|
19242
19253
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
19243
19254
|
[`label-${position}`]: position !== undefined,
|
|
19244
19255
|
[`label-no-animate`]: this.noAnimate,
|
|
19245
19256
|
'label-rtl': document.dir === 'rtl',
|
|
19246
|
-
}) }, hAsync("slot", { key: '
|
|
19257
|
+
}) }, hAsync("slot", { key: 'ce0ab50b5700398fdf50f36d02b7ad287eb71481' })));
|
|
19247
19258
|
}
|
|
19248
19259
|
get el() { return getElement(this); }
|
|
19249
19260
|
static get watchers() { return {
|
|
@@ -19299,7 +19310,7 @@ class List {
|
|
|
19299
19310
|
render() {
|
|
19300
19311
|
const mode = getIonMode$1(this);
|
|
19301
19312
|
const { lines, inset } = this;
|
|
19302
|
-
return (hAsync(Host, { key: '
|
|
19313
|
+
return (hAsync(Host, { key: '7f9943751542d2cbd49a4ad3f28e16d9949f70d4', role: "list", class: {
|
|
19303
19314
|
[mode]: true,
|
|
19304
19315
|
// Used internally for styling
|
|
19305
19316
|
[`list-${mode}`]: true,
|
|
@@ -19341,10 +19352,10 @@ class ListHeader {
|
|
|
19341
19352
|
render() {
|
|
19342
19353
|
const { lines } = this;
|
|
19343
19354
|
const mode = getIonMode$1(this);
|
|
19344
|
-
return (hAsync(Host, { key: '
|
|
19355
|
+
return (hAsync(Host, { key: 'd9bc827ad8cc77231efddc2435831a7fc080f77d', class: createColorClasses$1(this.color, {
|
|
19345
19356
|
[mode]: true,
|
|
19346
19357
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
19347
|
-
}) }, hAsync("div", { key: '
|
|
19358
|
+
}) }, hAsync("div", { key: '02dd9698304a7b2997ea1487e2f308bebea2b44c', class: "list-header-inner" }, hAsync("slot", { key: '01d63a572c003286ae467a1ab23631e37e695042' }))));
|
|
19348
19359
|
}
|
|
19349
19360
|
static get style() { return {
|
|
19350
19361
|
ios: listHeaderIosCss,
|
|
@@ -19629,9 +19640,9 @@ class Loading {
|
|
|
19629
19640
|
* Otherwise, don't set aria-labelledby.
|
|
19630
19641
|
*/
|
|
19631
19642
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
19632
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
19643
|
+
return (hAsync(Host, Object.assign({ key: '4497183ce220242abe19ae15f328f9a92ccafbbc', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
19633
19644
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
19634
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: '
|
|
19645
|
+
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: '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" })));
|
|
19635
19646
|
}
|
|
19636
19647
|
get el() { return getElement(this); }
|
|
19637
19648
|
static get watchers() { return {
|
|
@@ -20680,14 +20691,14 @@ class Menu {
|
|
|
20680
20691
|
* the ionBackButton listener in the menu controller
|
|
20681
20692
|
* will handle closing the menu when Escape is pressed.
|
|
20682
20693
|
*/
|
|
20683
|
-
return (hAsync(Host, { key: '
|
|
20694
|
+
return (hAsync(Host, { key: '70a427f3414a476414c3386efe6c8723fd37eccf', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
20684
20695
|
[mode]: true,
|
|
20685
20696
|
[`menu-type-${type}`]: true,
|
|
20686
20697
|
'menu-enabled': !disabled,
|
|
20687
20698
|
[`menu-side-${side}`]: true,
|
|
20688
20699
|
'menu-pane-visible': isPaneVisible,
|
|
20689
20700
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
20690
|
-
} }, hAsync("div", { key: '
|
|
20701
|
+
} }, 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" })));
|
|
20691
20702
|
}
|
|
20692
20703
|
get el() { return getElement(this); }
|
|
20693
20704
|
static get watchers() { return {
|
|
@@ -20795,7 +20806,7 @@ class MenuButton {
|
|
|
20795
20806
|
type: this.type,
|
|
20796
20807
|
};
|
|
20797
20808
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
20798
|
-
return (hAsync(Host, { key: '
|
|
20809
|
+
return (hAsync(Host, { key: '9f0f0e50d39a6872508220c58e64bb2092a0d7ef', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses$1(color, {
|
|
20799
20810
|
[mode]: true,
|
|
20800
20811
|
button: true, // ion-buttons target .button
|
|
20801
20812
|
'menu-button-hidden': hidden,
|
|
@@ -20804,7 +20815,7 @@ class MenuButton {
|
|
|
20804
20815
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
20805
20816
|
'ion-activatable': true,
|
|
20806
20817
|
'ion-focusable': true,
|
|
20807
|
-
}) }, hAsync("button", Object.assign({ key: '
|
|
20818
|
+
}) }, 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" }))));
|
|
20808
20819
|
}
|
|
20809
20820
|
get el() { return getElement(this); }
|
|
20810
20821
|
static get style() { return {
|
|
@@ -20857,10 +20868,10 @@ class MenuToggle {
|
|
|
20857
20868
|
render() {
|
|
20858
20869
|
const mode = getIonMode$1(this);
|
|
20859
20870
|
const hidden = this.autoHide && !this.visible;
|
|
20860
|
-
return (hAsync(Host, { key: '
|
|
20871
|
+
return (hAsync(Host, { key: 'cd567114769a30bd3871ed5d15bf42aed39956e1', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
20861
20872
|
[mode]: true,
|
|
20862
20873
|
'menu-toggle-hidden': hidden,
|
|
20863
|
-
} }, hAsync("slot", { key: '
|
|
20874
|
+
} }, hAsync("slot", { key: '773d4cff95ca75f23578b1e1dca53c9933f28a33' })));
|
|
20864
20875
|
}
|
|
20865
20876
|
static get style() { return menuToggleCss; }
|
|
20866
20877
|
static get cmpMeta() { return {
|
|
@@ -23697,20 +23708,20 @@ class Modal {
|
|
|
23697
23708
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
23698
23709
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
23699
23710
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
23700
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
23711
|
+
return (hAsync(Host, Object.assign({ key: '9a75095a13de0cfc96f1fa69fd92777d25da8daa', "no-router": true,
|
|
23701
23712
|
// Allow the modal to be navigable when the handle is focusable
|
|
23702
23713
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
23703
23714
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
23704
|
-
}, 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: '
|
|
23715
|
+
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }), hAsync("ion-backdrop", { key: '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',
|
|
23705
23716
|
/*
|
|
23706
23717
|
role and aria-modal must be used on the
|
|
23707
23718
|
same element. They must also be set inside the
|
|
23708
23719
|
shadow DOM otherwise ion-button will not be highlighted
|
|
23709
23720
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
23710
23721
|
*/
|
|
23711
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: '
|
|
23722
|
+
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",
|
|
23712
23723
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
23713
|
-
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: '
|
|
23724
|
+
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", ref: (el) => (this.dragHandleEl = el) })), hAsync("slot", { key: 'fccbd64518b6fa22f9e874deb6b4ba55d8d89c3b', onSlotchange: this.onSlotChange }))));
|
|
23714
23725
|
}
|
|
23715
23726
|
get el() { return getElement(this); }
|
|
23716
23727
|
static get watchers() { return {
|
|
@@ -24658,7 +24669,7 @@ class Nav {
|
|
|
24658
24669
|
}
|
|
24659
24670
|
}
|
|
24660
24671
|
render() {
|
|
24661
|
-
return hAsync("slot", { key: '
|
|
24672
|
+
return hAsync("slot", { key: '8067c9835d255daec61f33dba200fd3a6ff839a0' });
|
|
24662
24673
|
}
|
|
24663
24674
|
get el() { return getElement(this); }
|
|
24664
24675
|
static get watchers() { return {
|
|
@@ -24731,7 +24742,7 @@ class NavLink {
|
|
|
24731
24742
|
};
|
|
24732
24743
|
}
|
|
24733
24744
|
render() {
|
|
24734
|
-
return hAsync(Host, { key: '
|
|
24745
|
+
return hAsync(Host, { key: '6dbb1ad4f351e9215375aac11ab9b53762e07a08', onClick: this.onClick });
|
|
24735
24746
|
}
|
|
24736
24747
|
get el() { return getElement(this); }
|
|
24737
24748
|
static get cmpMeta() { return {
|
|
@@ -24762,9 +24773,9 @@ class Note {
|
|
|
24762
24773
|
}
|
|
24763
24774
|
render() {
|
|
24764
24775
|
const mode = getIonMode$1(this);
|
|
24765
|
-
return (hAsync(Host, { key: '
|
|
24776
|
+
return (hAsync(Host, { key: '0ec2ef7367d867fd7588611953f696eecdf3221e', class: createColorClasses$1(this.color, {
|
|
24766
24777
|
[mode]: true,
|
|
24767
|
-
}) }, hAsync("slot", { key: '
|
|
24778
|
+
}) }, hAsync("slot", { key: 'a200b94ddffb29cf6dabe6e984220930ea7efdef' })));
|
|
24768
24779
|
}
|
|
24769
24780
|
static get style() { return {
|
|
24770
24781
|
ios: noteIosCss,
|
|
@@ -25236,7 +25247,7 @@ let Picker$1 = class Picker {
|
|
|
25236
25247
|
this.emitInputModeChange();
|
|
25237
25248
|
}
|
|
25238
25249
|
render() {
|
|
25239
|
-
return (hAsync(Host, { key: '
|
|
25250
|
+
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) => {
|
|
25240
25251
|
var _a;
|
|
25241
25252
|
/**
|
|
25242
25253
|
* The "Enter" key represents
|
|
@@ -25251,7 +25262,7 @@ let Picker$1 = class Picker {
|
|
|
25251
25262
|
if (ev.key === 'Enter') {
|
|
25252
25263
|
(_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.blur();
|
|
25253
25264
|
}
|
|
25254
|
-
}, ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), hAsync("div", { key: '
|
|
25265
|
+
}, 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' })));
|
|
25255
25266
|
}
|
|
25256
25267
|
get el() { return getElement(this); }
|
|
25257
25268
|
static get style() { return {
|
|
@@ -25524,11 +25535,11 @@ class Picker {
|
|
|
25524
25535
|
render() {
|
|
25525
25536
|
const { htmlAttributes } = this;
|
|
25526
25537
|
const mode = getIonMode$1(this);
|
|
25527
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
25538
|
+
return (hAsync(Host, Object.assign({ key: 'b95440747eb80cba23ae676d399d5e5816722c58', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
25528
25539
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
25529
25540
|
}, class: Object.assign({ [mode]: true,
|
|
25530
25541
|
// Used internally for styling
|
|
25531
|
-
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: '
|
|
25542
|
+
[`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" })));
|
|
25532
25543
|
}
|
|
25533
25544
|
get el() { return getElement(this); }
|
|
25534
25545
|
static get watchers() { return {
|
|
@@ -26126,14 +26137,14 @@ class PickerColumn {
|
|
|
26126
26137
|
render() {
|
|
26127
26138
|
const { color, disabled, isActive, numericInput } = this;
|
|
26128
26139
|
const mode = getIonMode$1(this);
|
|
26129
|
-
return (hAsync(Host, { key: '
|
|
26140
|
+
return (hAsync(Host, { key: 'db903fd415f8a2d91994dececca481c1af8ba6a9', class: createColorClasses$1(color, {
|
|
26130
26141
|
[mode]: true,
|
|
26131
26142
|
['picker-column-active']: isActive,
|
|
26132
26143
|
['picker-column-numeric-input']: numericInput,
|
|
26133
26144
|
['picker-column-disabled']: disabled,
|
|
26134
|
-
}) }, hAsync("slot", { key: '
|
|
26145
|
+
}) }, hAsync("slot", { key: '02ce9e1dd7df91afcd50b06416552bcffb5dec98', name: "prefix" }), hAsync("div", { key: '6dfd7d2429bec19244a6b1afb4448121963a031b', class: "picker-opts", ref: (el) => {
|
|
26135
26146
|
this.scrollEl = el;
|
|
26136
|
-
}, 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: '
|
|
26147
|
+
}, role: "slider", tabindex: this.disabled ? undefined : 0, "aria-label": this.ariaLabel, "aria-valuemin": 0, "aria-valuemax": 0, "aria-valuenow": 0, "aria-valuetext": this.getOptionValueText(this.activeItem), "aria-orientation": "vertical", onKeyDown: (ev) => this.onKeyDown(ev) }, hAsync("div", { key: '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" })));
|
|
26137
26148
|
}
|
|
26138
26149
|
get el() { return getElement(this); }
|
|
26139
26150
|
static get watchers() { return {
|
|
@@ -26497,9 +26508,9 @@ class PickerColumnCmp {
|
|
|
26497
26508
|
render() {
|
|
26498
26509
|
const col = this.col;
|
|
26499
26510
|
const mode = getIonMode$1(this);
|
|
26500
|
-
return (hAsync(Host, { key: '
|
|
26511
|
+
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: {
|
|
26501
26512
|
'max-width': this.col.columnWidth,
|
|
26502
|
-
} }, col.prefix && (hAsync("div", { key: '
|
|
26513
|
+
} }, 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))));
|
|
26503
26514
|
}
|
|
26504
26515
|
get el() { return getElement(this); }
|
|
26505
26516
|
static get watchers() { return {
|
|
@@ -26616,10 +26627,10 @@ class PickerColumnOption {
|
|
|
26616
26627
|
render() {
|
|
26617
26628
|
const { color, disabled, ariaLabel } = this;
|
|
26618
26629
|
const mode = getIonMode$1(this);
|
|
26619
|
-
return (hAsync(Host, { key: '
|
|
26630
|
+
return (hAsync(Host, { key: 'f816729941aabcb31ddfdce3ffe2e2139030d715', class: createColorClasses$1(color, {
|
|
26620
26631
|
[mode]: true,
|
|
26621
26632
|
['option-disabled']: disabled,
|
|
26622
|
-
}) }, hAsync("div", { key: '
|
|
26633
|
+
}) }, hAsync("div", { key: 'd942de84fd14d7dc06b1e5cf4f7920d1dc3c6371', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, hAsync("slot", { key: 'b0df5717b42209e649097209a01476e1a66f5c5c' }))));
|
|
26623
26634
|
}
|
|
26624
26635
|
get el() { return getElement(this); }
|
|
26625
26636
|
static get watchers() { return {
|
|
@@ -28060,9 +28071,9 @@ class Popover {
|
|
|
28060
28071
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
28061
28072
|
const desktop = isPlatform('desktop');
|
|
28062
28073
|
const enableArrow = arrow && !parentPopover;
|
|
28063
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
28074
|
+
return (hAsync(Host, Object.assign({ key: '42863f748c93f709d433931d969230137b37d42d', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
28064
28075
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
28065
|
-
}, 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: '
|
|
28076
|
+
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && hAsync("ion-backdrop", { key: '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' })))));
|
|
28066
28077
|
}
|
|
28067
28078
|
get el() { return getElement(this); }
|
|
28068
28079
|
static get watchers() { return {
|
|
@@ -28167,7 +28178,7 @@ class ProgressBar {
|
|
|
28167
28178
|
const mode = getIonMode$1(this);
|
|
28168
28179
|
// If the progress is displayed as a solid bar.
|
|
28169
28180
|
const progressSolid = buffer === 1;
|
|
28170
|
-
return (hAsync(Host, { key: '
|
|
28181
|
+
return (hAsync(Host, { key: 'dc69693b5d2dcb2b6e4296d7cb85bc27507f3fa6', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses$1(color, {
|
|
28171
28182
|
[mode]: true,
|
|
28172
28183
|
[`progress-bar-${type}`]: true,
|
|
28173
28184
|
'progress-paused': paused,
|
|
@@ -28352,7 +28363,7 @@ class Radio {
|
|
|
28352
28363
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
28353
28364
|
const mode = getIonMode$1(this);
|
|
28354
28365
|
const inItem = hostContext('ion-item', el);
|
|
28355
|
-
return (hAsync(Host, { key: '
|
|
28366
|
+
return (hAsync(Host, { key: '3353b28172b7f837d4b38964169b5b5f4ba02788', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses$1(color, {
|
|
28356
28367
|
[mode]: true,
|
|
28357
28368
|
'in-item': inItem,
|
|
28358
28369
|
'radio-checked': checked,
|
|
@@ -28363,10 +28374,10 @@ class Radio {
|
|
|
28363
28374
|
// Focus and active styling should not apply when the radio is in an item
|
|
28364
28375
|
'ion-activatable': !inItem,
|
|
28365
28376
|
'ion-focusable': !inItem,
|
|
28366
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, hAsync("label", { key: '
|
|
28377
|
+
}), 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: {
|
|
28367
28378
|
'label-text-wrapper': true,
|
|
28368
28379
|
'label-text-wrapper-hidden': !hasLabel,
|
|
28369
|
-
}, part: "label" }, hAsync("slot", { key: '
|
|
28380
|
+
}, part: "label" }, hAsync("slot", { key: '10b157162cd283d624153c747679609cf0bbf11e' })), hAsync("div", { key: '4c45cca95cb105cd6df1025a26e3c045272184a0', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
28370
28381
|
}
|
|
28371
28382
|
get el() { return getElement(this); }
|
|
28372
28383
|
static get watchers() { return {
|
|
@@ -28605,7 +28616,7 @@ class RadioGroup {
|
|
|
28605
28616
|
const { label, labelId, el, name, value } = this;
|
|
28606
28617
|
const mode = getIonMode$1(this);
|
|
28607
28618
|
renderHiddenInput(true, el, name, value, false);
|
|
28608
|
-
return (hAsync(Host, { key: '
|
|
28619
|
+
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' }))));
|
|
28609
28620
|
}
|
|
28610
28621
|
get el() { return getElement(this); }
|
|
28611
28622
|
static get watchers() { return {
|
|
@@ -29365,7 +29376,7 @@ class Range {
|
|
|
29365
29376
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
29366
29377
|
const mode = getIonMode$1(this);
|
|
29367
29378
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
29368
|
-
return (hAsync(Host, { key: '
|
|
29379
|
+
return (hAsync(Host, { key: 'ef7b01f80515bcaeb2983934ad7f10a6bd5d13ec', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses$1(this.color, {
|
|
29369
29380
|
[mode]: true,
|
|
29370
29381
|
'in-item': inItem,
|
|
29371
29382
|
'range-disabled': disabled,
|
|
@@ -29374,10 +29385,10 @@ class Range {
|
|
|
29374
29385
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
29375
29386
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
29376
29387
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
29377
|
-
}) }, hAsync("label", { key: '
|
|
29388
|
+
}) }, hAsync("label", { key: 'fd8aa90a9d52be9da024b907e68858dae424449d', class: "range-wrapper", id: "range-label" }, hAsync("div", { key: '2172b4f329c22017dd23475c80aac25ba6e753eb', class: {
|
|
29378
29389
|
'label-text-wrapper': true,
|
|
29379
29390
|
'label-text-wrapper-hidden': !hasLabel,
|
|
29380
|
-
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '
|
|
29391
|
+
}, 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" })))));
|
|
29381
29392
|
}
|
|
29382
29393
|
get el() { return getElement(this); }
|
|
29383
29394
|
static get watchers() { return {
|
|
@@ -30344,7 +30355,7 @@ class Refresher {
|
|
|
30344
30355
|
}
|
|
30345
30356
|
render() {
|
|
30346
30357
|
const mode = getIonMode$1(this);
|
|
30347
|
-
return (hAsync(Host, { key: '
|
|
30358
|
+
return (hAsync(Host, { key: '2d1bd880877b698604542ab2d602d38b9504d975', slot: "fixed", class: {
|
|
30348
30359
|
[mode]: true,
|
|
30349
30360
|
// Used internally for styling
|
|
30350
30361
|
[`refresher-${mode}`]: true,
|
|
@@ -30568,7 +30579,7 @@ class RefresherContent {
|
|
|
30568
30579
|
const pullingIcon = this.pullingIcon;
|
|
30569
30580
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
30570
30581
|
const mode = getIonMode$1(this);
|
|
30571
|
-
return (hAsync(Host, { key: '
|
|
30582
|
+
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())));
|
|
30572
30583
|
}
|
|
30573
30584
|
get el() { return getElement(this); }
|
|
30574
30585
|
static get cmpMeta() { return {
|
|
@@ -30609,7 +30620,7 @@ class Reorder {
|
|
|
30609
30620
|
render() {
|
|
30610
30621
|
const mode = getIonMode$1(this);
|
|
30611
30622
|
const reorderIcon = mode === 'ios' ? reorderThreeOutline : reorderTwoSharp;
|
|
30612
|
-
return (hAsync(Host, { key: '
|
|
30623
|
+
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" }))));
|
|
30613
30624
|
}
|
|
30614
30625
|
get el() { return getElement(this); }
|
|
30615
30626
|
static get style() { return {
|
|
@@ -30880,7 +30891,7 @@ class ReorderGroup {
|
|
|
30880
30891
|
}
|
|
30881
30892
|
render() {
|
|
30882
30893
|
const mode = getIonMode$1(this);
|
|
30883
|
-
return (hAsync(Host, { key: '
|
|
30894
|
+
return (hAsync(Host, { key: 'b9641f3061d67fbfe68317b901ec33267046e073', class: {
|
|
30884
30895
|
[mode]: true,
|
|
30885
30896
|
'reorder-enabled': !this.disabled,
|
|
30886
30897
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -30996,7 +31007,7 @@ class RippleEffect {
|
|
|
30996
31007
|
}
|
|
30997
31008
|
render() {
|
|
30998
31009
|
const mode = getIonMode$1(this);
|
|
30999
|
-
return (hAsync(Host, { key: '
|
|
31010
|
+
return (hAsync(Host, { key: 'ae9d3b1ed6773a9b9bb2267129f7e9af23b6c9fc', role: "presentation", class: {
|
|
31000
31011
|
[mode]: true,
|
|
31001
31012
|
unbounded: this.unbounded,
|
|
31002
31013
|
} }));
|
|
@@ -31955,10 +31966,10 @@ class RouterLink {
|
|
|
31955
31966
|
rel: this.rel,
|
|
31956
31967
|
target: this.target,
|
|
31957
31968
|
};
|
|
31958
|
-
return (hAsync(Host, { key: '
|
|
31969
|
+
return (hAsync(Host, { key: 'd7f2affcde45c5fbb6cb46cd1c30008ee92a68c5', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
31959
31970
|
[mode]: true,
|
|
31960
31971
|
'ion-activatable': true,
|
|
31961
|
-
}) }, hAsync("a", Object.assign({ key: '
|
|
31972
|
+
}) }, hAsync("a", Object.assign({ key: 'babafae85ca5c6429958d383feff0493ff8cf33e' }, attrs), hAsync("slot", { key: '50314e9555bbf6dffa0c50c3f763009dee59b10b' }))));
|
|
31962
31973
|
}
|
|
31963
31974
|
static get style() { return routerLinkCss; }
|
|
31964
31975
|
static get cmpMeta() { return {
|
|
@@ -32155,7 +32166,7 @@ class RouterOutlet {
|
|
|
32155
32166
|
return true;
|
|
32156
32167
|
}
|
|
32157
32168
|
render() {
|
|
32158
|
-
return hAsync("slot", { key: '
|
|
32169
|
+
return hAsync("slot", { key: '84b50f1155b0d780dff802ee13223287259fd525' });
|
|
32159
32170
|
}
|
|
32160
32171
|
get el() { return getElement(this); }
|
|
32161
32172
|
static get watchers() { return {
|
|
@@ -32188,7 +32199,7 @@ class Row {
|
|
|
32188
32199
|
registerInstance(this, hostRef);
|
|
32189
32200
|
}
|
|
32190
32201
|
render() {
|
|
32191
|
-
return (hAsync(Host, { key: '
|
|
32202
|
+
return (hAsync(Host, { key: '65592a79621bd8f75f9566db3e8c05a4b8fc6048', class: getIonMode$1(this) }, hAsync("slot", { key: '56f09784db7a0299c9ce76dfcede185b295251ff' })));
|
|
32192
32203
|
}
|
|
32193
32204
|
static get style() { return rowCss; }
|
|
32194
32205
|
static get cmpMeta() { return {
|
|
@@ -32629,8 +32640,8 @@ class Searchbar {
|
|
|
32629
32640
|
const clearIcon = this.clearIcon || (mode === 'ios' ? closeCircle : closeSharp);
|
|
32630
32641
|
const searchIcon = this.searchIcon || (mode === 'ios' ? searchOutline : searchSharp);
|
|
32631
32642
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
32632
|
-
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '
|
|
32633
|
-
return (hAsync(Host, { key: '
|
|
32643
|
+
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))));
|
|
32644
|
+
return (hAsync(Host, { key: '074aa60e051bfb3225e87d44bbb6346c59c73574', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses$1(this.color, {
|
|
32634
32645
|
[mode]: true,
|
|
32635
32646
|
'searchbar-animated': animated,
|
|
32636
32647
|
'searchbar-disabled': this.disabled,
|
|
@@ -32640,14 +32651,14 @@ class Searchbar {
|
|
|
32640
32651
|
'searchbar-has-focus': this.focused,
|
|
32641
32652
|
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
32642
32653
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
32643
|
-
}) }, hAsync("div", { key: '
|
|
32654
|
+
}) }, 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) => {
|
|
32644
32655
|
/**
|
|
32645
32656
|
* This prevents mobile browsers from
|
|
32646
32657
|
* blurring the input when the clear
|
|
32647
32658
|
* button is activated.
|
|
32648
32659
|
*/
|
|
32649
32660
|
ev.preventDefault();
|
|
32650
|
-
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: '
|
|
32661
|
+
}, 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));
|
|
32651
32662
|
}
|
|
32652
32663
|
get el() { return getElement(this); }
|
|
32653
32664
|
static get watchers() { return {
|
|
@@ -33242,14 +33253,14 @@ class Segment {
|
|
|
33242
33253
|
}
|
|
33243
33254
|
render() {
|
|
33244
33255
|
const mode = getIonMode$1(this);
|
|
33245
|
-
return (hAsync(Host, { key: '
|
|
33256
|
+
return (hAsync(Host, { key: 'e67ed512739cf2cfe657b0c44ebc3dfb1e9fbb79', role: "tablist", onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
33246
33257
|
[mode]: true,
|
|
33247
33258
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
33248
33259
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
33249
33260
|
'segment-activated': this.activated,
|
|
33250
33261
|
'segment-disabled': this.disabled,
|
|
33251
33262
|
'segment-scrollable': this.scrollable,
|
|
33252
|
-
}) }, hAsync("slot", { key: '
|
|
33263
|
+
}) }, hAsync("slot", { key: '804d8acfcb9abfeeee38244b015fbc5c36330b9e', onSlotchange: this.onSlottedItemsChange })));
|
|
33253
33264
|
}
|
|
33254
33265
|
get el() { return getElement(this); }
|
|
33255
33266
|
static get watchers() { return {
|
|
@@ -33389,7 +33400,7 @@ class SegmentButton {
|
|
|
33389
33400
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
33390
33401
|
const mode = getIonMode$1(this);
|
|
33391
33402
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
33392
|
-
return (hAsync(Host, { key: '
|
|
33403
|
+
return (hAsync(Host, { key: '26cb7ee90455bcaa6416125802d7e5729fa05b5b', class: {
|
|
33393
33404
|
[mode]: true,
|
|
33394
33405
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
33395
33406
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -33405,7 +33416,7 @@ class SegmentButton {
|
|
|
33405
33416
|
'ion-activatable': true,
|
|
33406
33417
|
'ion-activatable-instant': true,
|
|
33407
33418
|
'ion-focusable': true,
|
|
33408
|
-
} }, hAsync("button", Object.assign({ key: '
|
|
33419
|
+
} }, 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" }))));
|
|
33409
33420
|
}
|
|
33410
33421
|
get el() { return getElement(this); }
|
|
33411
33422
|
static get watchers() { return {
|
|
@@ -33440,7 +33451,7 @@ class SegmentContent {
|
|
|
33440
33451
|
registerInstance(this, hostRef);
|
|
33441
33452
|
}
|
|
33442
33453
|
render() {
|
|
33443
|
-
return (hAsync(Host, { key: '
|
|
33454
|
+
return (hAsync(Host, { key: 'db6876f2aee7afa1ea8bc147337670faa68fae1c' }, hAsync("slot", { key: 'bc05714a973a5655668679033f5809a1da6db8cc' })));
|
|
33444
33455
|
}
|
|
33445
33456
|
static get style() { return segmentContentCss; }
|
|
33446
33457
|
static get cmpMeta() { return {
|
|
@@ -33555,10 +33566,10 @@ class SegmentView {
|
|
|
33555
33566
|
}
|
|
33556
33567
|
render() {
|
|
33557
33568
|
const { disabled, isManualScroll } = this;
|
|
33558
|
-
return (hAsync(Host, { key: '
|
|
33569
|
+
return (hAsync(Host, { key: 'e180b67bb3143a5f4611fb358c037be6fc782a8f', class: {
|
|
33559
33570
|
'segment-view-disabled': disabled,
|
|
33560
33571
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
33561
|
-
} }, hAsync("slot", { key: '
|
|
33572
|
+
} }, hAsync("slot", { key: '41c11d6a7406a10f5c64a2e73abfc072afd8fc73' })));
|
|
33562
33573
|
}
|
|
33563
33574
|
get el() { return getElement(this); }
|
|
33564
33575
|
static get style() { return {
|
|
@@ -34325,7 +34336,7 @@ class Select {
|
|
|
34325
34336
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
34326
34337
|
*/
|
|
34327
34338
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
34328
|
-
return (hAsync(Host, { key: '
|
|
34339
|
+
return (hAsync(Host, { key: 'd8026835993d0e6dce747098f741a06ae4e4f54d', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
34329
34340
|
[mode]: true,
|
|
34330
34341
|
'in-item': inItem,
|
|
34331
34342
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -34343,7 +34354,7 @@ class Select {
|
|
|
34343
34354
|
[`select-justify-${justify}`]: justifyEnabled,
|
|
34344
34355
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
34345
34356
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
34346
|
-
}) }, hAsync("label", { key: '
|
|
34357
|
+
}) }, 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()));
|
|
34347
34358
|
}
|
|
34348
34359
|
get el() { return getElement(this); }
|
|
34349
34360
|
static get watchers() { return {
|
|
@@ -34504,7 +34515,7 @@ class SelectModal {
|
|
|
34504
34515
|
} }, option.text))));
|
|
34505
34516
|
}
|
|
34506
34517
|
render() {
|
|
34507
|
-
return (hAsync(Host, { key: '
|
|
34518
|
+
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()))));
|
|
34508
34519
|
}
|
|
34509
34520
|
get el() { return getElement(this); }
|
|
34510
34521
|
static get style() { return {
|
|
@@ -34538,7 +34549,7 @@ class SelectOption {
|
|
|
34538
34549
|
this.disabled = false;
|
|
34539
34550
|
}
|
|
34540
34551
|
render() {
|
|
34541
|
-
return hAsync(Host, { key: '
|
|
34552
|
+
return hAsync(Host, { key: '3a70eea9fa03a9acba582180761d18347c72acee', role: "option", id: this.inputId, class: getIonMode$1(this) });
|
|
34542
34553
|
}
|
|
34543
34554
|
get el() { return getElement(this); }
|
|
34544
34555
|
static get style() { return selectOptionCss; }
|
|
@@ -34655,7 +34666,7 @@ class SelectPopover {
|
|
|
34655
34666
|
render() {
|
|
34656
34667
|
const { header, message, options, subHeader } = this;
|
|
34657
34668
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
34658
|
-
return (hAsync(Host, { key: '
|
|
34669
|
+
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))));
|
|
34659
34670
|
}
|
|
34660
34671
|
get el() { return getElement(this); }
|
|
34661
34672
|
static get style() { return {
|
|
@@ -34705,11 +34716,11 @@ class SkeletonText {
|
|
|
34705
34716
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
34706
34717
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
34707
34718
|
const mode = getIonMode$1(this);
|
|
34708
|
-
return (hAsync(Host, { key: '
|
|
34719
|
+
return (hAsync(Host, { key: 'd86ef7392507cdbf48dfd3a71f02d7a83eda4aae', class: {
|
|
34709
34720
|
[mode]: true,
|
|
34710
34721
|
'skeleton-text-animated': animated,
|
|
34711
34722
|
'in-media': inMedia,
|
|
34712
|
-
} }, hAsync("span", { key: '
|
|
34723
|
+
} }, hAsync("span", { key: '8e8b5a232a6396d2bba691b05f9de4da44b2965c' }, "\u00A0")));
|
|
34713
34724
|
}
|
|
34714
34725
|
get el() { return getElement(this); }
|
|
34715
34726
|
static get style() { return skeletonTextCss; }
|
|
@@ -34761,7 +34772,7 @@ class Spinner {
|
|
|
34761
34772
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
34762
34773
|
}
|
|
34763
34774
|
}
|
|
34764
|
-
return (hAsync(Host, { key: '
|
|
34775
|
+
return (hAsync(Host, { key: 'a33d6421fcc885995fbc7a348516525f68ca496c', class: createColorClasses$1(self.color, {
|
|
34765
34776
|
[mode]: true,
|
|
34766
34777
|
[`spinner-${spinnerName}`]: true,
|
|
34767
34778
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -34860,12 +34871,12 @@ class SplitPane {
|
|
|
34860
34871
|
}
|
|
34861
34872
|
render() {
|
|
34862
34873
|
const mode = getIonMode$1(this);
|
|
34863
|
-
return (hAsync(Host, { key: '
|
|
34874
|
+
return (hAsync(Host, { key: 'd5e30df12f1f1f855da4c66f98076b9dce762c59', class: {
|
|
34864
34875
|
[mode]: true,
|
|
34865
34876
|
// Used internally for styling
|
|
34866
34877
|
[`split-pane-${mode}`]: true,
|
|
34867
34878
|
'split-pane-visible': this.visible,
|
|
34868
|
-
} }, hAsync("slot", { key: '
|
|
34879
|
+
} }, hAsync("slot", { key: '3e30d7cf3bc1cf434e16876a0cb2a36377b8e00f' })));
|
|
34869
34880
|
}
|
|
34870
34881
|
get el() { return getElement(this); }
|
|
34871
34882
|
static get watchers() { return {
|
|
@@ -34931,10 +34942,10 @@ class Tab {
|
|
|
34931
34942
|
}
|
|
34932
34943
|
render() {
|
|
34933
34944
|
const { tab, active, component } = this;
|
|
34934
|
-
return (hAsync(Host, { key: '
|
|
34945
|
+
return (hAsync(Host, { key: 'dbad8fe9f1566277d14647626308eaf1601ab01f', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
34935
34946
|
'ion-page': component === undefined,
|
|
34936
34947
|
'tab-hidden': !active,
|
|
34937
|
-
} }, hAsync("slot", { key: '
|
|
34948
|
+
} }, hAsync("slot", { key: '3be64f4e7161f6769aaf8e4dcb5293fcaa09af45' })));
|
|
34938
34949
|
}
|
|
34939
34950
|
get el() { return getElement(this); }
|
|
34940
34951
|
static get watchers() { return {
|
|
@@ -35026,11 +35037,11 @@ class TabBar {
|
|
|
35026
35037
|
const { color, translucent, keyboardVisible } = this;
|
|
35027
35038
|
const mode = getIonMode$1(this);
|
|
35028
35039
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
35029
|
-
return (hAsync(Host, { key: '
|
|
35040
|
+
return (hAsync(Host, { key: '388ec37ce308035bab78d6c9a016bb616e9517a9', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses$1(color, {
|
|
35030
35041
|
[mode]: true,
|
|
35031
35042
|
'tab-bar-translucent': translucent,
|
|
35032
35043
|
'tab-bar-hidden': shouldHide,
|
|
35033
|
-
}) }, hAsync("slot", { key: '
|
|
35044
|
+
}) }, hAsync("slot", { key: 'ce10ade2b86725e24f3254516483eeedd8ecb16a' })));
|
|
35034
35045
|
}
|
|
35035
35046
|
get el() { return getElement(this); }
|
|
35036
35047
|
static get watchers() { return {
|
|
@@ -35126,7 +35137,7 @@ class TabButton {
|
|
|
35126
35137
|
rel,
|
|
35127
35138
|
target,
|
|
35128
35139
|
};
|
|
35129
|
-
return (hAsync(Host, { key: '
|
|
35140
|
+
return (hAsync(Host, { key: 'ce9d29ced0c781d6b2fa62cd5feb801c11fc42e8', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
35130
35141
|
[mode]: true,
|
|
35131
35142
|
'tab-selected': selected,
|
|
35132
35143
|
'tab-disabled': disabled,
|
|
@@ -35138,7 +35149,7 @@ class TabButton {
|
|
|
35138
35149
|
'ion-activatable': true,
|
|
35139
35150
|
'ion-selectable': true,
|
|
35140
35151
|
'ion-focusable': true,
|
|
35141
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
35152
|
+
} }, 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" }))));
|
|
35142
35153
|
}
|
|
35143
35154
|
get el() { return getElement(this); }
|
|
35144
35155
|
static get style() { return {
|
|
@@ -35329,7 +35340,7 @@ class Tabs {
|
|
|
35329
35340
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
35330
35341
|
}
|
|
35331
35342
|
render() {
|
|
35332
|
-
return (hAsync(Host, { key: '
|
|
35343
|
+
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" })));
|
|
35333
35344
|
}
|
|
35334
35345
|
get el() { return getElement(this); }
|
|
35335
35346
|
static get style() { return tabsCss; }
|
|
@@ -35369,9 +35380,9 @@ class Text {
|
|
|
35369
35380
|
}
|
|
35370
35381
|
render() {
|
|
35371
35382
|
const mode = getIonMode$1(this);
|
|
35372
|
-
return (hAsync(Host, { key: '
|
|
35383
|
+
return (hAsync(Host, { key: '361035eae7b92dc109794348d39bad2f596eb6be', class: createColorClasses$1(this.color, {
|
|
35373
35384
|
[mode]: true,
|
|
35374
|
-
}) }, hAsync("slot", { key: '
|
|
35385
|
+
}) }, hAsync("slot", { key: 'c7b8835cf485ba9ecd73298f0529276ce1ea0852' })));
|
|
35375
35386
|
}
|
|
35376
35387
|
static get style() { return textCss; }
|
|
35377
35388
|
static get cmpMeta() { return {
|
|
@@ -35832,7 +35843,7 @@ class Textarea {
|
|
|
35832
35843
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
35833
35844
|
*/
|
|
35834
35845
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
35835
|
-
return (hAsync(Host, { key: '
|
|
35846
|
+
return (hAsync(Host, { key: 'a70a62d7aae3831a50acd74f60b930925ada1326', class: createColorClasses$1(this.color, {
|
|
35836
35847
|
[mode]: true,
|
|
35837
35848
|
'has-value': hasValue,
|
|
35838
35849
|
'has-focus': hasFocus,
|
|
@@ -35841,7 +35852,7 @@ class Textarea {
|
|
|
35841
35852
|
[`textarea-shape-${shape}`]: shape !== undefined,
|
|
35842
35853
|
[`textarea-label-placement-${labelPlacement}`]: true,
|
|
35843
35854
|
'textarea-disabled': disabled,
|
|
35844
|
-
}) }, hAsync("label", { key: '
|
|
35855
|
+
}) }, 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()));
|
|
35845
35856
|
}
|
|
35846
35857
|
get el() { return getElement(this); }
|
|
35847
35858
|
static get watchers() { return {
|
|
@@ -35904,7 +35915,7 @@ class Thumbnail {
|
|
|
35904
35915
|
registerInstance(this, hostRef);
|
|
35905
35916
|
}
|
|
35906
35917
|
render() {
|
|
35907
|
-
return (hAsync(Host, { key: '
|
|
35918
|
+
return (hAsync(Host, { key: '70ada828e8cf541ab3b47f94b7e56ce34114ef88', class: getIonMode$1(this) }, hAsync("slot", { key: 'c43e105669d2bae123619b616f3af8ca2f722d61' })));
|
|
35908
35919
|
}
|
|
35909
35920
|
static get style() { return thumbnailCss; }
|
|
35910
35921
|
static get cmpMeta() { return {
|
|
@@ -36762,9 +36773,9 @@ class Toast {
|
|
|
36762
36773
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
36763
36774
|
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);
|
|
36764
36775
|
}
|
|
36765
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
36776
|
+
return (hAsync(Host, Object.assign({ key: 'd1ecd90c87700aad4685e230cdd430aa286b8791', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
36766
36777
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
36767
|
-
}, 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: '
|
|
36778
|
+
}, class: createColorClasses$1(this.color, Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), hAsync("div", { key: '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')))));
|
|
36768
36779
|
}
|
|
36769
36780
|
get el() { return getElement(this); }
|
|
36770
36781
|
static get watchers() { return {
|
|
@@ -37076,7 +37087,7 @@ class Toggle {
|
|
|
37076
37087
|
const value = this.getValue();
|
|
37077
37088
|
const rtl = isRTL$1(el) ? 'rtl' : 'ltr';
|
|
37078
37089
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
37079
|
-
return (hAsync(Host, { key: '
|
|
37090
|
+
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, {
|
|
37080
37091
|
[mode]: true,
|
|
37081
37092
|
'in-item': hostContext('ion-item', el),
|
|
37082
37093
|
'toggle-activated': activated,
|
|
@@ -37086,10 +37097,10 @@ class Toggle {
|
|
|
37086
37097
|
[`toggle-alignment-${alignment}`]: alignment !== undefined,
|
|
37087
37098
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
37088
37099
|
[`toggle-${rtl}`]: true,
|
|
37089
|
-
}) }, hAsync("label", { key: '
|
|
37100
|
+
}) }, 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: {
|
|
37090
37101
|
'label-text-wrapper': true,
|
|
37091
37102
|
'label-text-wrapper-hidden': !hasLabel,
|
|
37092
|
-
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '
|
|
37103
|
+
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '7b162b7dd27199cca2a4c995276a18b9f8e44aaf' }), this.renderHintText()), hAsync("div", { key: 'd13c34bd42fca01cc73ddb4ea7e471b33a282a3e', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
37093
37104
|
}
|
|
37094
37105
|
get el() { return getElement(this); }
|
|
37095
37106
|
static get watchers() { return {
|
|
@@ -37199,10 +37210,10 @@ class Toolbar {
|
|
|
37199
37210
|
this.childrenStyles.forEach((value) => {
|
|
37200
37211
|
Object.assign(childStyles, value);
|
|
37201
37212
|
});
|
|
37202
|
-
return (hAsync(Host, { key: '
|
|
37213
|
+
return (hAsync(Host, { key: 'f6c4f669a6a61c5eac4cbb5ea0aa97c48ae5bd46', class: Object.assign(Object.assign({}, childStyles), createColorClasses$1(this.color, {
|
|
37203
37214
|
[mode]: true,
|
|
37204
37215
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
37205
|
-
})) }, hAsync("div", { key: '
|
|
37216
|
+
})) }, 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" }))));
|
|
37206
37217
|
}
|
|
37207
37218
|
get el() { return getElement(this); }
|
|
37208
37219
|
static get style() { return {
|
|
@@ -37248,11 +37259,11 @@ class ToolbarTitle {
|
|
|
37248
37259
|
render() {
|
|
37249
37260
|
const mode = getIonMode$1(this);
|
|
37250
37261
|
const size = this.getSize();
|
|
37251
|
-
return (hAsync(Host, { key: '
|
|
37262
|
+
return (hAsync(Host, { key: 'e599c0bf1b0817df3fa8360bdcd6d787f751c371', class: createColorClasses$1(this.color, {
|
|
37252
37263
|
[mode]: true,
|
|
37253
37264
|
[`title-${size}`]: true,
|
|
37254
37265
|
'title-rtl': document.dir === 'rtl',
|
|
37255
|
-
}) }, hAsync("div", { key: '
|
|
37266
|
+
}) }, hAsync("div", { key: '6e7eee9047d6759876bb31d7305b76efc7c4338c', class: "toolbar-title" }, hAsync("slot", { key: 'bf790eb4c83dd0af4f2fd1f85ab4af5819f46ff4' }))));
|
|
37256
37267
|
}
|
|
37257
37268
|
get el() { return getElement(this); }
|
|
37258
37269
|
static get watchers() { return {
|