@ionic/core 8.8.7-dev.11779385275.161a641b → 8.8.7-dev.11779400352.127ba526
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ion-action-sheet.js +1 -1
- package/components/ion-alert.js +1 -1
- package/components/ion-back-button.js +1 -1
- package/components/ion-button.js +1 -1
- package/components/ion-card.js +1 -1
- package/components/ion-chip.js +1 -1
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +1 -1
- package/components/ion-fab-button.js +1 -1
- package/components/ion-gallery-item.d.ts +11 -0
- package/components/ion-gallery-item.js +4 -0
- package/components/ion-gallery.js +1 -1
- package/components/ion-grid.js +1 -1
- package/components/ion-header.js +1 -1
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +1 -1
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-otp.js +1 -1
- package/components/ion-input-password-toggle.js +1 -1
- package/components/ion-input.js +1 -1
- package/components/ion-item-divider.js +1 -1
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +1 -1
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-item.js +1 -1
- package/components/ion-label.js +1 -1
- package/components/ion-list-header.js +1 -1
- package/components/ion-list.js +1 -1
- package/components/ion-loading.js +1 -1
- package/components/ion-menu-button.js +1 -1
- package/components/ion-menu-toggle.js +1 -1
- package/components/ion-menu.js +1 -1
- package/components/ion-modal.js +1 -1
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +1 -1
- package/components/ion-picker-column-option.js +1 -1
- package/components/ion-picker-legacy-column.js +1 -1
- package/components/ion-picker-legacy.js +1 -1
- package/components/ion-popover.js +1 -1
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-radio-group.js +1 -1
- package/components/ion-radio.js +1 -1
- package/components/ion-range.js +1 -1
- 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-ripple-effect.js +1 -1
- package/components/ion-router-link.js +1 -1
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +1 -1
- package/components/ion-segment-button.js +1 -1
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +1 -1
- package/components/ion-segment.js +1 -1
- package/components/ion-select-modal.js +1 -1
- package/components/ion-select-option.js +1 -1
- package/components/ion-select-popover.js +1 -1
- package/components/ion-select.js +1 -1
- package/components/ion-skeleton-text.js +1 -1
- package/components/ion-spinner.js +1 -1
- package/components/ion-split-pane.js +1 -1
- package/components/ion-tab-bar.js +1 -1
- package/components/ion-tab-button.js +1 -1
- package/components/ion-tab.js +1 -1
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +1 -1
- package/components/ion-textarea.js +1 -1
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +1 -1
- package/components/ion-toast.js +1 -1
- package/components/ion-toggle.js +1 -1
- package/components/ion-toolbar.js +1 -1
- package/components/{p-BLCuPAtN.js → p-6_r-Odtt.js} +1 -1
- package/components/{p-BFbsici0.js → p-B-oPDoNQ.js} +1 -1
- package/components/{p-IMXp2Inn.js → p-BLHs-wsh.js} +1 -1
- package/components/{p-DXUyXgVL.js → p-BdmDSErh.js} +1 -1
- package/components/{p-CN-WzkJE.js → p-BhkRbo3L.js} +1 -1
- package/components/{p-C8ktKu9j.js → p-C-Vjb84N.js} +1 -1
- package/components/p-C4dDZdpz.js +4 -0
- package/components/{p-DH_9VCbD.js → p-C75do9pU.js} +1 -1
- package/components/{p-BRWWcnBq.js → p-CSf_VKpz.js} +1 -1
- package/components/{p-Di5rHO3q.js → p-CieebRr6.js} +1 -1
- package/components/{p-DTtRWhIZ.js → p-Ct1_qpJ-.js} +1 -1
- package/components/{p-BXcCGjEc.js → p-CvljGih0.js} +1 -1
- package/components/{p-B2rpt1JV.js → p-D42P_qbe.js} +1 -1
- package/components/{p-BqImG3uk.js → p-DZOqbnq2.js} +1 -1
- package/components/{p-Dmuy6xyk.js → p-Ddl4_R29.js} +1 -1
- package/components/{p-CIoAIKEr.js → p-J7srYGKf.js} +1 -1
- package/components/{p-B71c6yUH.js → p-KF2RUDHO.js} +1 -1
- package/components/{p-TR4ubkPu.js → p-lEYPO4ZC.js} +1 -1
- package/components/{p-CoFqDNc5.js → p-n94Bzx6_.js} +1 -1
- package/components/{p-DAv9P_LE.js → p-vGxjPSKT.js} +1 -1
- package/dist/cjs/ion-app_8.cjs.entry.js +7 -7
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-datetime_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-gallery-item.cjs.entry.js +72 -0
- package/dist/cjs/ion-gallery.cjs.entry.js +41 -13
- package/dist/cjs/ion-img.cjs.entry.js +2 -2
- 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 +4 -4
- 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-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 +5 -5
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-reorder_2.cjs.entry.js +3 -3
- 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 +6 -6
- 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 +3 -3
- package/dist/cjs/ion-toast.cjs.entry.js +2 -2
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/gallery/gallery.css +0 -24
- package/dist/collection/components/gallery/gallery.js +40 -12
- package/dist/collection/components/gallery/test/utils.js +13 -13
- package/dist/collection/components/gallery-item/gallery-item.css +87 -0
- package/dist/collection/components/gallery-item/gallery-item.js +87 -0
- 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 +2 -2
- 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 +4 -4
- 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-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 +2 -2
- 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 +2 -2
- package/dist/collection/components/reorder/reorder.js +2 -2
- 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 +2 -2
- 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 +3 -3
- 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 +2 -2
- 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 +3 -3
- package/dist/collection/components/thumbnail/thumbnail.js +2 -2
- 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 +85 -1
- package/dist/esm/ion-app_8.entry.js +7 -7
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +4 -4
- package/dist/esm/ion-datetime_3.entry.js +4 -4
- package/dist/esm/ion-gallery-item.entry.js +70 -0
- package/dist/esm/ion-gallery.entry.js +41 -13
- package/dist/esm/ion-img.entry.js +2 -2
- 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 +4 -4
- 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-popover.entry.js +2 -2
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +5 -5
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher_2.entry.js +3 -3
- package/dist/esm/ion-reorder_2.entry.js +3 -3
- 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 +6 -6
- 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 +3 -3
- package/dist/esm/ion-toast.entry.js +2 -2
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/html.html-data.json +42 -0
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-76307d10.entry.js → p-02a1a45c.entry.js} +1 -1
- package/dist/ionic/{p-bd71a4a7.entry.js → p-0c3bf0a7.entry.js} +1 -1
- package/dist/ionic/{p-90e653e3.entry.js → p-0ef2fcda.entry.js} +1 -1
- package/dist/ionic/p-1ab01507.entry.js +4 -0
- package/dist/ionic/p-21ca5788.entry.js +4 -0
- package/dist/ionic/p-229c8fb5.entry.js +4 -0
- package/dist/ionic/p-2981a0bd.entry.js +4 -0
- package/dist/ionic/{p-e18d3fdb.entry.js → p-2a66b899.entry.js} +1 -1
- package/dist/ionic/{p-a9fb086b.entry.js → p-2c252788.entry.js} +1 -1
- package/dist/ionic/p-2d5a2511.entry.js +4 -0
- package/dist/ionic/{p-2f0073af.entry.js → p-3d939d55.entry.js} +1 -1
- package/dist/ionic/{p-d4ed5710.entry.js → p-3fd97ea9.entry.js} +1 -1
- package/dist/ionic/{p-2ad79c23.entry.js → p-455ac83a.entry.js} +1 -1
- package/dist/ionic/{p-5274f999.entry.js → p-503219b5.entry.js} +1 -1
- package/dist/ionic/{p-7d5057c4.entry.js → p-5b164421.entry.js} +1 -1
- package/dist/ionic/{p-3f79f594.entry.js → p-636aa79b.entry.js} +1 -1
- package/dist/ionic/{p-ae667493.entry.js → p-65159e09.entry.js} +1 -1
- package/dist/ionic/{p-00c0bd38.entry.js → p-6911beb3.entry.js} +1 -1
- package/dist/ionic/{p-fad05840.entry.js → p-6ec1e450.entry.js} +1 -1
- package/dist/ionic/p-76de7898.entry.js +4 -0
- package/dist/ionic/{p-1c2c1869.entry.js → p-7761b69d.entry.js} +1 -1
- package/dist/ionic/{p-48026d15.entry.js → p-8291455b.entry.js} +1 -1
- package/dist/ionic/{p-b653f4c2.entry.js → p-83c0eb9b.entry.js} +1 -1
- package/dist/ionic/{p-d6299c37.entry.js → p-874945f3.entry.js} +1 -1
- package/dist/ionic/{p-b3c9f19c.entry.js → p-92427c9d.entry.js} +1 -1
- package/dist/ionic/{p-71b6014c.entry.js → p-9f914d43.entry.js} +1 -1
- package/dist/ionic/{p-1709b0aa.entry.js → p-b8f7e970.entry.js} +1 -1
- package/dist/ionic/{p-83c693c4.entry.js → p-bb2d2635.entry.js} +1 -1
- package/dist/ionic/{p-1c4de46b.entry.js → p-bd3ae730.entry.js} +1 -1
- package/dist/ionic/{p-586d4270.entry.js → p-c1d6501a.entry.js} +1 -1
- package/dist/ionic/{p-50cd2d57.entry.js → p-c55a5578.entry.js} +1 -1
- package/dist/ionic/{p-72491468.entry.js → p-cecceb9f.entry.js} +1 -1
- package/dist/ionic/{p-9d789053.entry.js → p-d604defc.entry.js} +1 -1
- package/dist/ionic/{p-35b144f5.entry.js → p-dd1e95c5.entry.js} +1 -1
- package/dist/ionic/{p-7054a1b9.entry.js → p-e342b205.entry.js} +1 -1
- package/dist/ionic/{p-15e3e8f5.entry.js → p-e5976b28.entry.js} +1 -1
- package/dist/ionic/{p-b2fe6c1c.entry.js → p-e73a7fe2.entry.js} +1 -1
- package/dist/ionic/{p-50b61fab.entry.js → p-fc01563c.entry.js} +1 -1
- package/dist/ionic/{p-8537b2fb.entry.js → p-fdf0e290.entry.js} +1 -1
- package/dist/ionic/{p-c10fa162.entry.js → p-fe073307.entry.js} +1 -1
- package/dist/types/components/gallery/gallery.d.ts +8 -3
- package/dist/types/components/gallery/test/utils.d.ts +1 -1
- package/dist/types/components/gallery-item/gallery-item.d.ts +25 -0
- package/dist/types/components.d.ts +29 -0
- package/hydrate/index.js +243 -135
- package/hydrate/index.mjs +243 -135
- package/package.json +1 -1
- package/components/p-B6zr9RZN.js +0 -4
- package/dist/ionic/p-0f3b4262.entry.js +0 -4
- package/dist/ionic/p-1e1c8d61.entry.js +0 -4
- package/dist/ionic/p-2aa7567e.entry.js +0 -4
- package/dist/ionic/p-4079cee3.entry.js +0 -4
- package/dist/ionic/p-bf972309.entry.js +0 -4
package/hydrate/index.js
CHANGED
|
@@ -18726,7 +18726,7 @@ const DEFAULT_COLUMNS = {
|
|
|
18726
18726
|
};
|
|
18727
18727
|
const DEFAULT_GAP = '16px';
|
|
18728
18728
|
|
|
18729
|
-
const galleryCss = () => `:host{display:grid;grid-template-columns:repeat(var(--internal-gallery-columns, 2), minmax(0, 1fr))}:host(.gallery-layout-uniform){gap:var(--internal-gallery-gap, 16px)}:host(.gallery-layout-
|
|
18729
|
+
const galleryCss = () => `:host{display:grid;grid-template-columns:repeat(var(--internal-gallery-columns, 2), minmax(0, 1fr))}:host(.gallery-layout-uniform){gap:var(--internal-gallery-gap, 16px)}:host(.gallery-layout-masonry){-ms-flex-align:start;align-items:start;-webkit-column-gap:var(--internal-gallery-gap, 16px);-moz-column-gap:var(--internal-gallery-gap, 16px);column-gap:var(--internal-gallery-gap, 16px);row-gap:0;grid-auto-rows:2px}`;
|
|
18730
18730
|
|
|
18731
18731
|
// TODO(FW-7285): Replace with global breakpoints
|
|
18732
18732
|
const BREAKPOINTS = {
|
|
@@ -18738,6 +18738,7 @@ const BREAKPOINTS = {
|
|
|
18738
18738
|
xxl: 1400,
|
|
18739
18739
|
};
|
|
18740
18740
|
const BREAKPOINT_ORDER = ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'];
|
|
18741
|
+
const GALLERY_ITEM_SELECTOR = 'ion-gallery-item';
|
|
18741
18742
|
/**
|
|
18742
18743
|
* @virtualProp {"ios" | "md"} mode - The mode determines the platform behaviors of the component.
|
|
18743
18744
|
* @virtualProp {"ios" | "md" | "ionic"} theme - The theme determines the visual appearance of the component.
|
|
@@ -18747,12 +18748,12 @@ const BREAKPOINT_ORDER = ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'];
|
|
|
18747
18748
|
class Gallery {
|
|
18748
18749
|
constructor(hostRef) {
|
|
18749
18750
|
registerInstance(this, hostRef);
|
|
18750
|
-
this.itemWrapperSelector = '[data-gallery-group]';
|
|
18751
18751
|
// Keep track of whether we've warned about invalid columns, invalid gap,
|
|
18752
18752
|
// and unused order properties to avoid duplicate warnings on screen resize.
|
|
18753
18753
|
this.hasWarnedInvalidColumns = false;
|
|
18754
18754
|
this.hasWarnedInvalidGap = false;
|
|
18755
18755
|
this.hasWarnedUnusedOrder = false;
|
|
18756
|
+
this.hasWarnedInvalidItems = false;
|
|
18756
18757
|
/**
|
|
18757
18758
|
* The visual layout of the gallery. When `uniform`, rows take up the height
|
|
18758
18759
|
* of the tallest item and are spaced evenly across the gallery. Additionally,
|
|
@@ -19005,6 +19006,16 @@ class Gallery {
|
|
|
19005
19006
|
printIonWarning(`[ion-gallery] - "order" has no effect when "layout" is "uniform". Set "layout" to "masonry" for "order" to apply.`, this.el);
|
|
19006
19007
|
this.hasWarnedUnusedOrder = true;
|
|
19007
19008
|
}
|
|
19009
|
+
/**
|
|
19010
|
+
* Warn when gallery content is missing required `ion-gallery-item` components.
|
|
19011
|
+
*/
|
|
19012
|
+
warnInvalidItems() {
|
|
19013
|
+
if (this.hasWarnedInvalidItems) {
|
|
19014
|
+
return;
|
|
19015
|
+
}
|
|
19016
|
+
printIonWarning('[ion-gallery] - Gallery items must be wrapped in "ion-gallery-item" components. Non-item direct children are ignored unless they contain nested "ion-gallery-item" elements.', this.el);
|
|
19017
|
+
this.hasWarnedInvalidItems = true;
|
|
19018
|
+
}
|
|
19008
19019
|
/**
|
|
19009
19020
|
* Resolve the active columns value for the current width. Falls back to
|
|
19010
19021
|
* the default responsive columns when the provided prop is invalid.
|
|
@@ -19067,20 +19078,37 @@ class Gallery {
|
|
|
19067
19078
|
}
|
|
19068
19079
|
/**
|
|
19069
19080
|
* Return all gallery items that can be grid items with inline placement styles.
|
|
19070
|
-
* Direct children
|
|
19071
|
-
*
|
|
19081
|
+
* Direct children that are not `ion-gallery-item` are treated as wrapper
|
|
19082
|
+
* containers and flattened to nested `ion-gallery-item` children. Direct
|
|
19083
|
+
* children without nested `ion-gallery-item` components are ignored.
|
|
19072
19084
|
*/
|
|
19073
19085
|
getItems() {
|
|
19074
|
-
const
|
|
19086
|
+
const directChildren = Array.from(this.el.children).filter((child) => this.isGalleryItemElement(child));
|
|
19075
19087
|
const flattenedItems = [];
|
|
19076
|
-
|
|
19077
|
-
|
|
19078
|
-
|
|
19088
|
+
// Expand an <ion-gallery-item> component into the actual gallery items
|
|
19089
|
+
// that should be used for grid placement.
|
|
19090
|
+
const pushWrappedItems = (galleryItemEl) => {
|
|
19091
|
+
const galleryItems = Array.from(galleryItemEl.children).filter((child) => this.isGalleryItemElement(child));
|
|
19092
|
+
flattenedItems.push(...galleryItems);
|
|
19093
|
+
};
|
|
19094
|
+
directChildren.forEach((directChildEl) => {
|
|
19095
|
+
// Standard path: <ion-gallery-item> is a direct child of <ion-gallery>.
|
|
19096
|
+
if (directChildEl.matches(GALLERY_ITEM_SELECTOR)) {
|
|
19097
|
+
pushWrappedItems(directChildEl);
|
|
19098
|
+
return;
|
|
19099
|
+
}
|
|
19100
|
+
// Compatibility path: a non-gallery-item direct child (e.g. wrapper <div>)
|
|
19101
|
+
// may contain nested <ion-gallery-item> components.
|
|
19102
|
+
const nestedGalleryItems = Array.from(directChildEl.querySelectorAll(GALLERY_ITEM_SELECTOR)).filter((child) => this.isGalleryItemElement(child));
|
|
19103
|
+
// Invalid children path: no <ion-gallery-item> components found.
|
|
19104
|
+
if (nestedGalleryItems.length === 0) {
|
|
19105
|
+
this.warnInvalidItems();
|
|
19079
19106
|
return;
|
|
19080
19107
|
}
|
|
19081
|
-
|
|
19082
|
-
|
|
19083
|
-
|
|
19108
|
+
// Flatten gallery-item containers so nested <ion-gallery-item> children can
|
|
19109
|
+
// become the effective gallery items.
|
|
19110
|
+
directChildEl.style.display = 'contents';
|
|
19111
|
+
nestedGalleryItems.forEach((nestedGalleryItem) => pushWrappedItems(nestedGalleryItem));
|
|
19084
19112
|
});
|
|
19085
19113
|
return flattenedItems;
|
|
19086
19114
|
}
|
|
@@ -19195,11 +19223,11 @@ class Gallery {
|
|
|
19195
19223
|
const { layout } = this;
|
|
19196
19224
|
const order = this.getOrder();
|
|
19197
19225
|
const theme = getIonTheme(this);
|
|
19198
|
-
return (hAsync(Host, { key: '
|
|
19226
|
+
return (hAsync(Host, { key: '0b6ef176032845b3df3b2335be90cb6ce5d791cc', class: {
|
|
19199
19227
|
[theme]: true,
|
|
19200
19228
|
[`gallery-layout-${layout}`]: true,
|
|
19201
19229
|
[`gallery-order-${order}`]: layout === 'masonry' && order !== undefined,
|
|
19202
|
-
} }, hAsync("slot", { key: '
|
|
19230
|
+
} }, hAsync("slot", { key: '247df9bb58b6899da7db60cdd475ccff0872673e', onSlotchange: this.onSlotChange })));
|
|
19203
19231
|
}
|
|
19204
19232
|
get el() { return getElement(this); }
|
|
19205
19233
|
static get watchers() { return {
|
|
@@ -19232,6 +19260,85 @@ class Gallery {
|
|
|
19232
19260
|
}; }
|
|
19233
19261
|
}
|
|
19234
19262
|
|
|
19263
|
+
const galleryItemCss = () => `:host{display:contents}:host(.in-gallery-layout-uniform) ::slotted(*){aspect-ratio:1/1}:host(.in-gallery-layout-masonry){min-height:unset;margin-bottom:var(--internal-gallery-gap, 16px)}::slotted(*){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%}::slotted(img){display:block;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center}`;
|
|
19264
|
+
|
|
19265
|
+
/**
|
|
19266
|
+
* @virtualProp {"ios" | "md"} mode - The mode determines the platform behaviors of the component.
|
|
19267
|
+
* @virtualProp {"ios" | "md" | "ionic"} theme - The theme determines the visual appearance of the component.
|
|
19268
|
+
*
|
|
19269
|
+
* @slot - Wrap elements that should be grouped in an `ion-gallery`.
|
|
19270
|
+
*/
|
|
19271
|
+
class GalleryItem {
|
|
19272
|
+
constructor(hostRef) {
|
|
19273
|
+
registerInstance(this, hostRef);
|
|
19274
|
+
this.hasWarnedInvalidParent = false;
|
|
19275
|
+
this.onSlotChange = () => {
|
|
19276
|
+
this.warnInvalidParent();
|
|
19277
|
+
};
|
|
19278
|
+
}
|
|
19279
|
+
componentWillLoad() {
|
|
19280
|
+
var _a;
|
|
19281
|
+
this.galleryEl = (_a = this.el.closest('ion-gallery')) !== null && _a !== void 0 ? _a : undefined;
|
|
19282
|
+
this.syncLayoutClasses();
|
|
19283
|
+
}
|
|
19284
|
+
componentDidLoad() {
|
|
19285
|
+
this.watchGalleryLayoutClasses();
|
|
19286
|
+
this.warnInvalidParent();
|
|
19287
|
+
}
|
|
19288
|
+
disconnectedCallback() {
|
|
19289
|
+
var _a;
|
|
19290
|
+
(_a = this.galleryClassObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
19291
|
+
this.galleryClassObserver = undefined;
|
|
19292
|
+
this.galleryEl = undefined;
|
|
19293
|
+
}
|
|
19294
|
+
warnInvalidParent() {
|
|
19295
|
+
if (this.hasWarnedInvalidParent || this.galleryEl !== undefined) {
|
|
19296
|
+
return;
|
|
19297
|
+
}
|
|
19298
|
+
printIonWarning('[ion-gallery-item] - This component should be used as a child of an "ion-gallery" component.', this.el);
|
|
19299
|
+
this.hasWarnedInvalidParent = true;
|
|
19300
|
+
}
|
|
19301
|
+
watchGalleryLayoutClasses() {
|
|
19302
|
+
var _a;
|
|
19303
|
+
const galleryEl = this.galleryEl;
|
|
19304
|
+
if (galleryEl === undefined) {
|
|
19305
|
+
return;
|
|
19306
|
+
}
|
|
19307
|
+
(_a = this.galleryClassObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
19308
|
+
this.galleryClassObserver = new MutationObserver(() => this.syncLayoutClasses());
|
|
19309
|
+
this.galleryClassObserver.observe(galleryEl, {
|
|
19310
|
+
attributes: true,
|
|
19311
|
+
attributeFilter: ['class'],
|
|
19312
|
+
});
|
|
19313
|
+
}
|
|
19314
|
+
syncLayoutClasses() {
|
|
19315
|
+
var _a;
|
|
19316
|
+
const layout = (_a = this.galleryEl) === null || _a === void 0 ? void 0 : _a.layout;
|
|
19317
|
+
this.galleryLayout = layout === 'masonry' || layout === 'uniform' ? layout : undefined;
|
|
19318
|
+
}
|
|
19319
|
+
render() {
|
|
19320
|
+
const { galleryLayout } = this;
|
|
19321
|
+
const theme = getIonTheme(this);
|
|
19322
|
+
return (hAsync(Host, { key: 'dbd9b9e005aa151981296e6487532e221f3f24e3', class: {
|
|
19323
|
+
[theme]: true,
|
|
19324
|
+
'in-gallery-layout-uniform': galleryLayout === 'uniform',
|
|
19325
|
+
'in-gallery-layout-masonry': galleryLayout === 'masonry',
|
|
19326
|
+
} }, hAsync("slot", { key: '98af83e345389763cf23d5e705f1c8773836418f', onSlotchange: this.onSlotChange })));
|
|
19327
|
+
}
|
|
19328
|
+
get el() { return getElement(this); }
|
|
19329
|
+
static get style() { return galleryItemCss(); }
|
|
19330
|
+
static get cmpMeta() { return {
|
|
19331
|
+
"$flags$": 265,
|
|
19332
|
+
"$tagName$": "ion-gallery-item",
|
|
19333
|
+
"$members$": {
|
|
19334
|
+
"galleryLayout": [32]
|
|
19335
|
+
},
|
|
19336
|
+
"$listeners$": undefined,
|
|
19337
|
+
"$lazyBundleId$": "-",
|
|
19338
|
+
"$attrsToReflect$": []
|
|
19339
|
+
}; }
|
|
19340
|
+
}
|
|
19341
|
+
|
|
19235
19342
|
const gridCss = () => `:host{-webkit-padding-start:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;display:block;-ms-flex:1;flex:1}@media (min-width: 576px){:host{-webkit-padding-start:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px))}}@media (min-width: 768px){:host{-webkit-padding-start:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px))}}@media (min-width: 992px){:host{-webkit-padding-start:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px))}}@media (min-width: 1200px){:host{-webkit-padding-start:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px))}}:host(.grid-fixed){width:var(--ion-grid-width-xs, var(--ion-grid-width, 100%));max-width:100%}@media (min-width: 576px){:host(.grid-fixed){width:var(--ion-grid-width-sm, var(--ion-grid-width, 540px))}}@media (min-width: 768px){:host(.grid-fixed){width:var(--ion-grid-width-md, var(--ion-grid-width, 720px))}}@media (min-width: 992px){:host(.grid-fixed){width:var(--ion-grid-width-lg, var(--ion-grid-width, 960px))}}@media (min-width: 1200px){:host(.grid-fixed){width:var(--ion-grid-width-xl, var(--ion-grid-width, 1140px))}}:host(.ion-no-padding){--ion-grid-column-padding:0;--ion-grid-column-padding-xs:0;--ion-grid-column-padding-sm:0;--ion-grid-column-padding-md:0;--ion-grid-column-padding-lg:0;--ion-grid-column-padding-xl:0}`;
|
|
19236
19343
|
|
|
19237
19344
|
/**
|
|
@@ -19248,10 +19355,10 @@ class Grid {
|
|
|
19248
19355
|
}
|
|
19249
19356
|
render() {
|
|
19250
19357
|
const theme = getIonTheme(this);
|
|
19251
|
-
return (hAsync(Host, { key: '
|
|
19358
|
+
return (hAsync(Host, { key: 'e3320fc2fc5391d26898cc119505cd3be30dd48b', class: {
|
|
19252
19359
|
[theme]: true,
|
|
19253
19360
|
'grid-fixed': this.fixed,
|
|
19254
|
-
} }, hAsync("slot", { key: '
|
|
19361
|
+
} }, hAsync("slot", { key: '2000e6b336c294aadf4585269c301d734d2fe478' })));
|
|
19255
19362
|
}
|
|
19256
19363
|
static get style() { return gridCss(); }
|
|
19257
19364
|
static get cmpMeta() { return {
|
|
@@ -19653,7 +19760,7 @@ class Header {
|
|
|
19653
19760
|
const isCondensed = collapse === 'condense';
|
|
19654
19761
|
// banner role must be at top level, so remove role if inside a menu
|
|
19655
19762
|
const roleType = getRoleType(hostContext('ion-menu', this.el), isCondensed, theme);
|
|
19656
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
19763
|
+
return (hAsync(Host, Object.assign({ key: '3395dedfd5165ba6e9f3ad1a25f0bb5b3678704a', role: roleType, class: {
|
|
19657
19764
|
[theme]: true,
|
|
19658
19765
|
// Used internally for styling
|
|
19659
19766
|
[`header-${theme}`]: true,
|
|
@@ -19661,7 +19768,7 @@ class Header {
|
|
|
19661
19768
|
[`header-collapse-${collapse}`]: true,
|
|
19662
19769
|
[`header-translucent-${theme}`]: this.translucent,
|
|
19663
19770
|
['header-divider']: divider,
|
|
19664
|
-
} }, inheritedAttributes), theme !== 'md' && translucent && hAsync("div", { key: '
|
|
19771
|
+
} }, inheritedAttributes), theme !== 'md' && translucent && hAsync("div", { key: 'cafeb88b6e73d64b264514ea46590fd3477b3052', class: "header-background" }), hAsync("slot", { key: 'ad681aaf866d7e7a5e5e731c0b5d6f5cc9fe94d2' })));
|
|
19665
19772
|
}
|
|
19666
19773
|
get el() { return getElement(this); }
|
|
19667
19774
|
static get style() { return {
|
|
@@ -20012,9 +20119,9 @@ class Img {
|
|
|
20012
20119
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
20013
20120
|
const { draggable } = inheritedAttributes;
|
|
20014
20121
|
const theme = getIonTheme(this);
|
|
20015
|
-
return (hAsync(Host, { key: '
|
|
20122
|
+
return (hAsync(Host, { key: 'ba84621055567b2a35387709d9d89b97ad853274', class: {
|
|
20016
20123
|
[theme]: true,
|
|
20017
|
-
} }, hAsync("img", { key: '
|
|
20124
|
+
} }, hAsync("img", { key: '9d6118bbf69e2cccbb0603802c03b9a0d101e2c3', decoding: "async", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: "image", draggable: isDraggable(draggable) })));
|
|
20018
20125
|
}
|
|
20019
20126
|
get el() { return getElement(this); }
|
|
20020
20127
|
static get watchers() { return {
|
|
@@ -20319,7 +20426,7 @@ class InfiniteScroll {
|
|
|
20319
20426
|
render() {
|
|
20320
20427
|
const theme = getIonTheme(this);
|
|
20321
20428
|
const disabled = this.disabled;
|
|
20322
|
-
return (hAsync(Host, { key: '
|
|
20429
|
+
return (hAsync(Host, { key: 'e3a3cde079dfd6f07e565eb462765df757cbb128', class: {
|
|
20323
20430
|
[theme]: true,
|
|
20324
20431
|
'infinite-scroll-loading': this.isLoading,
|
|
20325
20432
|
'infinite-scroll-enabled': !disabled,
|
|
@@ -20382,11 +20489,11 @@ class InfiniteScrollContent {
|
|
|
20382
20489
|
}
|
|
20383
20490
|
render() {
|
|
20384
20491
|
const theme = getIonTheme(this);
|
|
20385
|
-
return (hAsync(Host, { key: '
|
|
20492
|
+
return (hAsync(Host, { key: '263a27297159ced042f7552a1e14b8c6aba62fa8', class: {
|
|
20386
20493
|
[theme]: true,
|
|
20387
20494
|
// Used internally for styling
|
|
20388
20495
|
[`infinite-scroll-content-${theme}`]: true,
|
|
20389
|
-
} }, hAsync("div", { key: '
|
|
20496
|
+
} }, hAsync("div", { key: 'ee38d3c52df9dc5de186406b3087f20917a17252', class: "infinite-loading" }, this.loadingSpinner && (hAsync("div", { key: 'e2348727f79a26f52f42641d4334a0ba9d4aa03e', class: "infinite-loading-spinner" }, hAsync("ion-spinner", { key: '41be6f2747f3af5f46c8738e2ef56083ecd95e99', name: this.loadingSpinner }))), this.loadingText !== undefined && this.renderLoadingText())));
|
|
20390
20497
|
}
|
|
20391
20498
|
static get style() { return {
|
|
20392
20499
|
ionic: ionicInfiniteScrollContentMdCss(),
|
|
@@ -21134,7 +21241,7 @@ class Input {
|
|
|
21134
21241
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
21135
21242
|
*/
|
|
21136
21243
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
21137
|
-
return (hAsync(Host, { key: '
|
|
21244
|
+
return (hAsync(Host, { key: '3da29d837b5abe22de740ac96c8142422fce537a', class: createColorClasses$1(this.color, {
|
|
21138
21245
|
[theme]: true,
|
|
21139
21246
|
'has-value': hasValue,
|
|
21140
21247
|
'has-focus': hasFocus,
|
|
@@ -21147,7 +21254,7 @@ class Input {
|
|
|
21147
21254
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
21148
21255
|
'input-disabled': disabled,
|
|
21149
21256
|
'input-readonly': readonly,
|
|
21150
|
-
}) }, hAsync("label", { key: '
|
|
21257
|
+
}) }, hAsync("label", { key: '142a8230382a05938887e9c0790832218ac37697', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), hAsync("div", { key: '953f247ea2f40545e01e0346549d9b7aa344b720', class: "native-wrapper", onClick: this.onLabelClick },
|
|
21151
21258
|
/**
|
|
21152
21259
|
* For the ionic theme, we render the outline container here
|
|
21153
21260
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -21157,14 +21264,14 @@ class Input {
|
|
|
21157
21264
|
* <label> element, ensuring that clicking the label text
|
|
21158
21265
|
* focuses the input.
|
|
21159
21266
|
*/
|
|
21160
|
-
theme === 'ionic' && hAsync("div", { key: '
|
|
21267
|
+
theme === 'ionic' && hAsync("div", { key: 'fd09b37c6a798900c5074e7cbe2e790ea050c29d', class: "input-outline" }), hAsync("slot", { key: '3eef4c4748104d8722f3254a04ff88e2b70c560e', name: "start" }), hAsync("input", Object.assign({ key: '012a3fa52e19422d7fbc227845e9771c7d8fbe4a', 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, "aria-labelledby": this.getLabelledById() }, this.inheritedAttributes)), clearInput && !readonly && !disabled && (hAsync("button", { key: 'b115494d9611aea57a976d3102026f3d9b430bfb', "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (ev) => {
|
|
21161
21268
|
/**
|
|
21162
21269
|
* This prevents mobile browsers from
|
|
21163
21270
|
* blurring the input when the clear
|
|
21164
21271
|
* button is activated.
|
|
21165
21272
|
*/
|
|
21166
21273
|
ev.preventDefault();
|
|
21167
|
-
}, onClick: this.clearTextInput }, hAsync("ion-icon", { key: '
|
|
21274
|
+
}, onClick: this.clearTextInput }, hAsync("ion-icon", { key: 'a259afa47a9914b2e0656364bed40644fa2c87c4', "aria-hidden": "true", icon: inputClearIcon }))), hAsync("slot", { key: 'beec86eb500f6b335149c8734afc7c3945a10219', name: "end" })), shouldRenderHighlight && hAsync("div", { key: '77a25d118934f369e09edbc2ffa6f90e3e760338', class: "input-highlight" })), this.renderBottomContent()));
|
|
21168
21275
|
}
|
|
21169
21276
|
get el() { return getElement(this); }
|
|
21170
21277
|
static get watchers() { return {
|
|
@@ -21929,7 +22036,7 @@ class InputOTP {
|
|
|
21929
22036
|
const tabbableIndex = this.getTabbableIndex();
|
|
21930
22037
|
const pattern = this.getPattern();
|
|
21931
22038
|
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()) !== '';
|
|
21932
|
-
return (hAsync(Host, { key: '
|
|
22039
|
+
return (hAsync(Host, { key: 'f39e98cd24cbf50f7db4e891dda9499f6def7986', class: createColorClasses$1(color, {
|
|
21933
22040
|
[mode]: true,
|
|
21934
22041
|
'has-focus': hasFocus,
|
|
21935
22042
|
[`input-otp-size-${size}`]: true,
|
|
@@ -21937,10 +22044,10 @@ class InputOTP {
|
|
|
21937
22044
|
[`input-otp-fill-${fill}`]: true,
|
|
21938
22045
|
'input-otp-disabled': disabled,
|
|
21939
22046
|
'input-otp-readonly': readonly,
|
|
21940
|
-
}) }, hAsync("div", Object.assign({ key: '
|
|
22047
|
+
}) }, hAsync("div", Object.assign({ key: '624adcd552947708162003353b331cd92df062ef', role: "group", "aria-label": "One-time password input", class: "input-otp-group", part: "group" }, inheritedAttributes), Array.from({ length }).map((_, index) => (hAsync(Fragment, null, hAsync("div", { class: "native-wrapper", part: "container" }, hAsync("input", { class: "native-input", part: "native", 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", part: "separator" }))))), hAsync("div", { key: 'c518d83ab0236a3ebbe631582ce6f1c2edfbcd29', class: {
|
|
21941
22048
|
'input-otp-description': true,
|
|
21942
22049
|
'input-otp-description-hidden': !hasDescription,
|
|
21943
|
-
}, part: "description" }, hAsync("slot", { key: '
|
|
22050
|
+
}, part: "description" }, hAsync("slot", { key: '15c7c8549c1788748e1ae31bd227a7f918cb5eca' }))));
|
|
21944
22051
|
}
|
|
21945
22052
|
static get formAssociated() { return true; }
|
|
21946
22053
|
get el() { return getElement(this); }
|
|
@@ -22088,16 +22195,16 @@ class InputPasswordToggle {
|
|
|
22088
22195
|
const { color, inputPasswordHideIcon, inputPasswordShowIcon, type } = this;
|
|
22089
22196
|
const mode = getIonMode$1(this);
|
|
22090
22197
|
const isPasswordVisible = type === 'text';
|
|
22091
|
-
return (hAsync(Host, { key: '
|
|
22198
|
+
return (hAsync(Host, { key: 'f11e3bf4d3255e003aec504e6dd3ee1e0caaf767', class: createColorClasses$1(color, {
|
|
22092
22199
|
[mode]: true,
|
|
22093
|
-
}) }, hAsync("ion-button", { key: '
|
|
22200
|
+
}) }, hAsync("ion-button", { key: '5bba43f7755857fd9347612bb906c389b60386b4', mode: mode, color: color, fill: "clear", shape: "round", "aria-label": isPasswordVisible ? 'Hide password' : 'Show password', "aria-pressed": isPasswordVisible ? 'true' : 'false', type: "button", onPointerDown: (ev) => {
|
|
22094
22201
|
/**
|
|
22095
22202
|
* This prevents mobile browsers from
|
|
22096
22203
|
* blurring the input when the password toggle
|
|
22097
22204
|
* button is activated.
|
|
22098
22205
|
*/
|
|
22099
22206
|
ev.preventDefault();
|
|
22100
|
-
}, onClick: this.togglePasswordVisibility }, hAsync("ion-icon", { key: '
|
|
22207
|
+
}, onClick: this.togglePasswordVisibility }, hAsync("ion-icon", { key: 'c0eb0e4e2f3e9553bfd519ff655064c9f62af406', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? inputPasswordHideIcon : inputPasswordShowIcon }))));
|
|
22101
22208
|
}
|
|
22102
22209
|
get el() { return getElement(this); }
|
|
22103
22210
|
static get watchers() { return {
|
|
@@ -22472,11 +22579,11 @@ class ItemDivider {
|
|
|
22472
22579
|
}
|
|
22473
22580
|
render() {
|
|
22474
22581
|
const theme = getIonTheme(this);
|
|
22475
|
-
return (hAsync(Host, { key: '
|
|
22582
|
+
return (hAsync(Host, { key: 'dc73f348b5376faa40ba4bc6bba3d5c9e5ec5ab2', class: createColorClasses$1(this.color, {
|
|
22476
22583
|
[theme]: true,
|
|
22477
22584
|
'item-divider-sticky': this.sticky,
|
|
22478
22585
|
item: true,
|
|
22479
|
-
}) }, hAsync("slot", { key: '
|
|
22586
|
+
}) }, hAsync("slot", { key: '0f535b2cf91f2ec042aa59a89498cfa0e4d541a0', name: "start" }), hAsync("div", { key: '867c8c1a1bd273a5f5018f77785f11d58152e8b9', class: "item-divider-inner", part: "inner" }, hAsync("div", { key: 'c32b2a5658d27cf5d8cd8ffbfa476c02755e1afd', class: "item-divider-wrapper", part: "container" }, hAsync("slot", { key: 'f8b0fea29a910cd2e36301586532be3a8348c31e' })), hAsync("slot", { key: '418750f630c851cf04b6a278c1666c6cf33c113c', name: "end" }))));
|
|
22480
22587
|
}
|
|
22481
22588
|
get el() { return getElement(this); }
|
|
22482
22589
|
static get style() { return {
|
|
@@ -22513,7 +22620,7 @@ class ItemGroup {
|
|
|
22513
22620
|
}
|
|
22514
22621
|
render() {
|
|
22515
22622
|
const theme = getIonTheme(this);
|
|
22516
|
-
return (hAsync(Host, { key: '
|
|
22623
|
+
return (hAsync(Host, { key: '017c8f7cd0258e1864423337ddd1b1cb522f64ed', role: "group", class: {
|
|
22517
22624
|
[theme]: true,
|
|
22518
22625
|
// Used internally for styling
|
|
22519
22626
|
[`item-group-${theme}`]: true,
|
|
@@ -22609,14 +22716,14 @@ class ItemOption {
|
|
|
22609
22716
|
href: this.href,
|
|
22610
22717
|
target: this.target,
|
|
22611
22718
|
};
|
|
22612
|
-
return (hAsync(Host, { key: '
|
|
22719
|
+
return (hAsync(Host, { key: '8f1bad23fd3ccbb9d54d57765e6731cd2ee07306', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
22613
22720
|
[theme]: true,
|
|
22614
22721
|
[`item-option-${shape}`]: shape !== undefined,
|
|
22615
22722
|
[`item-option-${hue}`]: hue !== undefined,
|
|
22616
22723
|
'item-option-disabled': disabled,
|
|
22617
22724
|
'item-option-expandable': expandable,
|
|
22618
22725
|
'ion-activatable': true,
|
|
22619
|
-
}) }, hAsync(TagType, Object.assign({ key: '
|
|
22726
|
+
}) }, hAsync(TagType, Object.assign({ key: '2baf904e356a87ed463ee5f517e0e95f90b2ef30' }, attrs, { class: "button-native", part: "native", disabled: disabled }), hAsync("span", { key: '49b627f72dffd1b150ccd808b1b1f63bbe78e2de', class: "button-inner", part: "inner" }, hAsync("slot", { key: 'cdb52f76f1d7e5df411215f17eb76ad25e36241a', name: "top" }), hAsync("div", { key: '864204667c6e3ba6f989b24e96c131b67e55d408', class: "horizontal-wrapper", part: "container" }, hAsync("slot", { key: '474f4aab708842bb7ef74cb6f1fbe601ceff82cf', name: "start" }), hAsync("slot", { key: '2bd726c5ba3ee079a623f1f6229d1ac2afd3e291', name: "icon-only" }), hAsync("slot", { key: '2d1a673c447ebf82c92f944ec9e83a5b38698307' }), hAsync("slot", { key: '8d0f9337cd84c725190cffd25d74044075e85ab0', name: "end" })), hAsync("slot", { key: 'a674039b26d9cbb886e88ea721bbc210484aba9f', name: "bottom" })), theme === 'md' && hAsync("ion-ripple-effect", { key: '3e45bf18b7992943c47ece47e9358f4da0b8e865' }))));
|
|
22620
22727
|
}
|
|
22621
22728
|
get el() { return getElement(this); }
|
|
22622
22729
|
static get style() { return {
|
|
@@ -22674,7 +22781,7 @@ class ItemOptions {
|
|
|
22674
22781
|
render() {
|
|
22675
22782
|
const theme = getIonTheme(this);
|
|
22676
22783
|
const isEnd = isEndSide(this.side);
|
|
22677
|
-
return (hAsync(Host, { key: '
|
|
22784
|
+
return (hAsync(Host, { key: 'ed05ceebf2cda943ac9efea2f91b71f7e8fc55e8', class: {
|
|
22678
22785
|
[theme]: true,
|
|
22679
22786
|
// Used internally for styling
|
|
22680
22787
|
[`item-options-${theme}`]: true,
|
|
@@ -23526,7 +23633,7 @@ class ItemSliding {
|
|
|
23526
23633
|
}
|
|
23527
23634
|
render() {
|
|
23528
23635
|
const theme = getIonTheme(this);
|
|
23529
|
-
return (hAsync(Host, { key: '
|
|
23636
|
+
return (hAsync(Host, { key: '47de8c8a9721f9223b42d6722a9ad32f378818aa', class: {
|
|
23530
23637
|
[theme]: true,
|
|
23531
23638
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
23532
23639
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -23645,13 +23752,13 @@ class Label {
|
|
|
23645
23752
|
render() {
|
|
23646
23753
|
const position = this.position;
|
|
23647
23754
|
const theme = getIonTheme(this);
|
|
23648
|
-
return (hAsync(Host, { key: '
|
|
23755
|
+
return (hAsync(Host, { key: 'b1f261db441bcb0a325a5b3e21da17764a56f17c', class: createColorClasses$1(this.color, {
|
|
23649
23756
|
[theme]: true,
|
|
23650
23757
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
23651
23758
|
[`label-${position}`]: position !== undefined,
|
|
23652
23759
|
[`label-no-animate`]: this.noAnimate,
|
|
23653
23760
|
'label-rtl': document.dir === 'rtl',
|
|
23654
|
-
}) }, hAsync("slot", { key: '
|
|
23761
|
+
}) }, hAsync("slot", { key: '490444c8c0d4cf72eae3f8abfb7ed7ecc30bb213' })));
|
|
23655
23762
|
}
|
|
23656
23763
|
get el() { return getElement(this); }
|
|
23657
23764
|
static get watchers() { return {
|
|
@@ -23731,7 +23838,7 @@ class List {
|
|
|
23731
23838
|
const theme = getIonTheme(this);
|
|
23732
23839
|
const shape = this.getShape();
|
|
23733
23840
|
const { lines, inset } = this;
|
|
23734
|
-
return (hAsync(Host, { key: '
|
|
23841
|
+
return (hAsync(Host, { key: '9be30ff6e75e020c0db7054800cb874efef26bd8', role: "list", class: {
|
|
23735
23842
|
[theme]: true,
|
|
23736
23843
|
// Used internally for styling
|
|
23737
23844
|
[`list-${theme}`]: true,
|
|
@@ -23781,10 +23888,10 @@ class ListHeader {
|
|
|
23781
23888
|
render() {
|
|
23782
23889
|
const { lines } = this;
|
|
23783
23890
|
const theme = getIonTheme(this);
|
|
23784
|
-
return (hAsync(Host, { key: '
|
|
23891
|
+
return (hAsync(Host, { key: '7a1632a069317285210f4aeae50a6f2ef6955c56', class: createColorClasses$1(this.color, {
|
|
23785
23892
|
[theme]: true,
|
|
23786
23893
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
23787
|
-
}) }, hAsync("div", { key: '
|
|
23894
|
+
}) }, hAsync("div", { key: 'a9a9463f209023da222f38a78126d5aaeb2f03b9', class: "list-header-inner", part: "inner" }, hAsync("slot", { key: 'e3c6ec1b588392d347844d59d338abc339e80634' }))));
|
|
23788
23895
|
}
|
|
23789
23896
|
static get style() { return {
|
|
23790
23897
|
ionic: listHeaderIonicCss(),
|
|
@@ -24073,9 +24180,9 @@ class Loading {
|
|
|
24073
24180
|
* Otherwise, don't set aria-labelledby.
|
|
24074
24181
|
*/
|
|
24075
24182
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
24076
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
24183
|
+
return (hAsync(Host, Object.assign({ key: '2ffae36b20a7d7f3a752a062d90062583e31d053', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
24077
24184
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
24078
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: '
|
|
24185
|
+
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: 'a6d8cac2c34a0905ec67a2c64be7ec12cc84f168', visible: this.showBackdrop, tappable: this.backdropDismiss }), hAsync("div", { key: 'cd011d86f20869096a8546f098fb5edad44033a1', tabindex: "0", "aria-hidden": "true" }), hAsync("div", { key: '70298be2139d6004e0f8fc5a85c5d05f1efdc347', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (hAsync("div", { key: '32aef90695d91e0a82696abbce96ba29cb1a2608', class: "loading-spinner" }, hAsync("ion-spinner", { key: '7ae69c27be273cf3e83230dae043168df27ac27e', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), hAsync("div", { key: 'f13a01b31516c3fe85dd3a623962290c03e7412f', tabindex: "0", "aria-hidden": "true" })));
|
|
24079
24186
|
}
|
|
24080
24187
|
get el() { return getElement(this); }
|
|
24081
24188
|
static get watchers() { return {
|
|
@@ -25136,14 +25243,14 @@ class Menu {
|
|
|
25136
25243
|
* the ionBackButton listener in the menu controller
|
|
25137
25244
|
* will handle closing the menu when Escape is pressed.
|
|
25138
25245
|
*/
|
|
25139
|
-
return (hAsync(Host, { key: '
|
|
25246
|
+
return (hAsync(Host, { key: '76e15d710fbbbd2e64795224decc3673fd160db0', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
25140
25247
|
[theme]: true,
|
|
25141
25248
|
[`menu-type-${type}`]: true,
|
|
25142
25249
|
'menu-enabled': !disabled,
|
|
25143
25250
|
[`menu-side-${side}`]: true,
|
|
25144
25251
|
'menu-pane-visible': isPaneVisible,
|
|
25145
25252
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
25146
|
-
} }, hAsync("div", { key: '
|
|
25253
|
+
} }, hAsync("div", { key: 'cc0a0773caff97aefa98015bf3e36631173d2b4f', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, hAsync("slot", { key: '0b90d1248bdf3bedafda7913189635c8d010abb6' })), hAsync("ion-backdrop", { key: '4fb7013bc61161e6e336541ed25605219410f749', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
25147
25254
|
}
|
|
25148
25255
|
get el() { return getElement(this); }
|
|
25149
25256
|
static get watchers() { return {
|
|
@@ -25277,7 +25384,7 @@ class MenuButton {
|
|
|
25277
25384
|
type: this.type,
|
|
25278
25385
|
};
|
|
25279
25386
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
25280
|
-
return (hAsync(Host, { key: '
|
|
25387
|
+
return (hAsync(Host, { key: '341ca3bfac81ce4432eef5d2fd738becd1dfb07e', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses$1(color, {
|
|
25281
25388
|
[theme]: true,
|
|
25282
25389
|
button: true, // ion-buttons target .button
|
|
25283
25390
|
'menu-button-hidden': hidden,
|
|
@@ -25286,7 +25393,7 @@ class MenuButton {
|
|
|
25286
25393
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
25287
25394
|
'ion-activatable': true,
|
|
25288
25395
|
'ion-focusable': true,
|
|
25289
|
-
}) }, hAsync("button", Object.assign({ key: '
|
|
25396
|
+
}) }, hAsync("button", Object.assign({ key: '6e6229df2fc1f2d18294a5fbf7fe71e7dd47666a' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), hAsync("span", { key: '0216acbf67d7aa5edc52328f7ded4cb98bc8a237', class: "button-inner" }, hAsync("slot", { key: '5c2cdae42add9a25d3e6323048fcbc6b5fc9b32e' }, hAsync("ion-icon", { key: '5b38c283957cd2f1ad659427dec612fc84fc054f', part: "icon", icon: menuIcon, lazy: false, "aria-hidden": "true" }))), theme === 'md' && hAsync("ion-ripple-effect", { key: 'adabe4ffa1d66fe36d55294d774db9c4bba1ad76', type: "unbounded" }))));
|
|
25290
25397
|
}
|
|
25291
25398
|
get el() { return getElement(this); }
|
|
25292
25399
|
static get style() { return {
|
|
@@ -25343,10 +25450,10 @@ class MenuToggle {
|
|
|
25343
25450
|
render() {
|
|
25344
25451
|
const theme = getIonTheme(this);
|
|
25345
25452
|
const hidden = this.autoHide && !this.visible;
|
|
25346
|
-
return (hAsync(Host, { key: '
|
|
25453
|
+
return (hAsync(Host, { key: '9ef631d9ae370a8740e691d281863203bfdddc38', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
25347
25454
|
[theme]: true,
|
|
25348
25455
|
'menu-toggle-hidden': hidden,
|
|
25349
|
-
} }, hAsync("slot", { key: '
|
|
25456
|
+
} }, hAsync("slot", { key: 'f8d9dfc562ed625ae47ec771ef6b2ea04bc463f4' })));
|
|
25350
25457
|
}
|
|
25351
25458
|
static get style() { return menuToggleCss(); }
|
|
25352
25459
|
static get cmpMeta() { return {
|
|
@@ -28849,20 +28956,20 @@ class Modal {
|
|
|
28849
28956
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
28850
28957
|
const shape = this.getShape();
|
|
28851
28958
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
28852
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
28959
|
+
return (hAsync(Host, Object.assign({ key: '9e6dc8544831a6bda7e4e9387a49cb334ab9bc39', "no-router": true,
|
|
28853
28960
|
// Allow the modal to be navigable when the handle is focusable
|
|
28854
28961
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
28855
28962
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
28856
|
-
}, class: Object.assign({ [theme]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-${shape}`]: shape !== undefined, [`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: '
|
|
28963
|
+
}, class: Object.assign({ [theme]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-${shape}`]: shape !== undefined, [`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: '48b7eda91552d9a4eb86b66fc7485ec143a1d860', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), theme === 'ios' && hAsync("div", { key: 'b9778a9547bb3ebf7c0dbfa5b7e48a784f63a5e7', class: "modal-shadow" }), hAsync("div", Object.assign({ key: '6751ac7c77292bf0f7dabe20eb586a9e9bb620d4',
|
|
28857
28964
|
/*
|
|
28858
28965
|
role and aria-modal must be used on the
|
|
28859
28966
|
same element. They must also be set inside the
|
|
28860
28967
|
shadow DOM otherwise ion-button will not be highlighted
|
|
28861
28968
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
28862
28969
|
*/
|
|
28863
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: '
|
|
28970
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: 'ff7cb419f32b2ec0ffd7fd30d16b9ad1b1a1cc6e', class: "modal-handle",
|
|
28864
28971
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
28865
|
-
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: '
|
|
28972
|
+
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: '3102f585f5bc22b449964faeec0e56fb5b1ee4ca', onSlotchange: this.onSlotChange }))));
|
|
28866
28973
|
}
|
|
28867
28974
|
get el() { return getElement(this); }
|
|
28868
28975
|
static get watchers() { return {
|
|
@@ -29822,7 +29929,7 @@ class Nav {
|
|
|
29822
29929
|
}
|
|
29823
29930
|
}
|
|
29824
29931
|
render() {
|
|
29825
|
-
return hAsync("slot", { key: '
|
|
29932
|
+
return hAsync("slot", { key: '3dfe9c2a5f3ea75cb6d82b76b240733105cddfad' });
|
|
29826
29933
|
}
|
|
29827
29934
|
get el() { return getElement(this); }
|
|
29828
29935
|
static get watchers() { return {
|
|
@@ -29903,7 +30010,7 @@ class NavLink {
|
|
|
29903
30010
|
};
|
|
29904
30011
|
}
|
|
29905
30012
|
render() {
|
|
29906
|
-
return hAsync(Host, { key: '
|
|
30013
|
+
return hAsync(Host, { key: '476bfb5bb6fba4f422ec40315fc3ef466d01f757', onClick: this.onClick });
|
|
29907
30014
|
}
|
|
29908
30015
|
get el() { return getElement(this); }
|
|
29909
30016
|
static get cmpMeta() { return {
|
|
@@ -29937,9 +30044,9 @@ class Note {
|
|
|
29937
30044
|
}
|
|
29938
30045
|
render() {
|
|
29939
30046
|
const theme = getIonTheme(this);
|
|
29940
|
-
return (hAsync(Host, { key: '
|
|
30047
|
+
return (hAsync(Host, { key: '376ae1c66c19d1bdd74a2371c0639ed9e49648b5', class: createColorClasses$1(this.color, {
|
|
29941
30048
|
[theme]: true,
|
|
29942
|
-
}) }, hAsync("slot", { key: '
|
|
30049
|
+
}) }, hAsync("slot", { key: 'f8168cd88bb21c5e5a2b03c29539729fb38a19fd' })));
|
|
29943
30050
|
}
|
|
29944
30051
|
static get style() { return {
|
|
29945
30052
|
ionic: ionicNoteMdCss(),
|
|
@@ -30705,11 +30812,11 @@ class Picker {
|
|
|
30705
30812
|
render() {
|
|
30706
30813
|
const { htmlAttributes } = this;
|
|
30707
30814
|
const theme = getIonTheme(this);
|
|
30708
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
30815
|
+
return (hAsync(Host, Object.assign({ key: '681ad6d20efa16f1d6c6f9a7d03caec2b17ff36e', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
30709
30816
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
30710
30817
|
}, class: Object.assign({ [theme]: true,
|
|
30711
30818
|
// Used internally for styling
|
|
30712
|
-
[`picker-${theme}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: '
|
|
30819
|
+
[`picker-${theme}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: '6dc71805810955048479c2a6eddce2303161cb8f', visible: this.showBackdrop, tappable: this.backdropDismiss }), hAsync("div", { key: '0e61724c261c9d69ba23d3cb9064018942755033', tabindex: "0", "aria-hidden": "true" }), hAsync("div", { key: 'a6ca79c9a5fce42b5aad6808802535c723f27fb9', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, hAsync("div", { key: '7651cbe9d723bba032788d85711e0f7c1dc32c21', 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: 'd6b83aded670bc74515c337c038503e396ab42cc', class: "picker-columns" }, hAsync("div", { key: '1dfef6ed386d7b327dc19397cc9f01c3938fbab9', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => hAsync("ion-picker-legacy-column", { col: c })), hAsync("div", { key: 'ec8b2f4de073a245f8917a494a681adf5d1f94f6', class: "picker-below-highlight" }))), hAsync("div", { key: '8557ce93083feefa5deb6097270d756424f89ab2', tabindex: "0", "aria-hidden": "true" })));
|
|
30713
30820
|
}
|
|
30714
30821
|
get el() { return getElement(this); }
|
|
30715
30822
|
static get watchers() { return {
|
|
@@ -31687,9 +31794,9 @@ class PickerColumnCmp {
|
|
|
31687
31794
|
render() {
|
|
31688
31795
|
const col = this.col;
|
|
31689
31796
|
const theme = getIonTheme(this);
|
|
31690
|
-
return (hAsync(Host, { key: '
|
|
31797
|
+
return (hAsync(Host, { key: 'aed1c1a702e03765d704f6f563fe26df58e68bbf', class: Object.assign({ [theme]: true, 'picker-col': true, 'picker-opts-left': this.col.align === 'left', 'picker-opts-right': this.col.align === 'right' }, getClassMap(col.cssClass)), style: {
|
|
31691
31798
|
'max-width': this.col.columnWidth,
|
|
31692
|
-
} }, col.prefix && (hAsync("div", { key: '
|
|
31799
|
+
} }, col.prefix && (hAsync("div", { key: 'a6fae778eec5d57dba4b36b3e448c5c12fe0688b', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), hAsync("div", { key: '1b77354fe5eeeeb4db94fab035a9ef5e45d695ac', 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: '105286ef7ba6eac0796f5af7d6f1daef7107444a', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
31693
31800
|
}
|
|
31694
31801
|
get el() { return getElement(this); }
|
|
31695
31802
|
static get watchers() { return {
|
|
@@ -31814,10 +31921,10 @@ class PickerColumnOption {
|
|
|
31814
31921
|
render() {
|
|
31815
31922
|
const { color, disabled, ariaLabel } = this;
|
|
31816
31923
|
const theme = getIonTheme(this);
|
|
31817
|
-
return (hAsync(Host, { key: '
|
|
31924
|
+
return (hAsync(Host, { key: 'fe9553e3157d35f5c28a3f2457715bd598ec1e00', class: createColorClasses$1(color, {
|
|
31818
31925
|
[theme]: true,
|
|
31819
31926
|
['option-disabled']: disabled,
|
|
31820
|
-
}) }, hAsync("div", { key: '
|
|
31927
|
+
}) }, hAsync("div", { key: '9bc334f020012537144972b5a8a1aed7c35ccec5', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, hAsync("slot", { key: 'bd076e43c98ad920486230684c7f63e7e0b187f8' }))));
|
|
31821
31928
|
}
|
|
31822
31929
|
get el() { return getElement(this); }
|
|
31823
31930
|
static get watchers() { return {
|
|
@@ -33386,9 +33493,9 @@ class Popover {
|
|
|
33386
33493
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
33387
33494
|
const desktop = isPlatform('desktop');
|
|
33388
33495
|
const enableArrow = arrow && !parentPopover;
|
|
33389
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
33496
|
+
return (hAsync(Host, Object.assign({ key: '3319e6ea7524a30478985c014634403aceedab6f', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
33390
33497
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
33391
|
-
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: 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: '
|
|
33498
|
+
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: 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: '45265b1f8e5e6e822b3c8d4992039975c472b10b', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), hAsync("div", { key: '8707fb5c5b9523fd786c4e4d02d41dfb386be187', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && hAsync("div", { key: '17bd682e56939ba10ab4b2ab3c9e916087a7e19a', class: "popover-arrow", part: "arrow" }), hAsync("div", { key: '02f1bd119d2ffecd2f2541969111fc6e156db9d3', class: "popover-content", part: "content" }, hAsync("slot", { key: 'dec29181eee87f28f731d6a0ba1ef3c81867d527' })))));
|
|
33392
33499
|
}
|
|
33393
33500
|
get el() { return getElement(this); }
|
|
33394
33501
|
static get watchers() { return {
|
|
@@ -33516,7 +33623,7 @@ class ProgressBar {
|
|
|
33516
33623
|
const shape = this.getShape();
|
|
33517
33624
|
// If the progress is displayed as a solid bar.
|
|
33518
33625
|
const progressSolid = buffer === 1;
|
|
33519
|
-
return (hAsync(Host, { key: '
|
|
33626
|
+
return (hAsync(Host, { key: '1cf02806b28a0d7b070e6f3616ea8f4c8ae4990a', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses$1(color, {
|
|
33520
33627
|
[theme]: true,
|
|
33521
33628
|
[`progress-bar-${type}`]: true,
|
|
33522
33629
|
'progress-paused': paused,
|
|
@@ -33709,7 +33816,7 @@ class Radio {
|
|
|
33709
33816
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
33710
33817
|
const theme = getIonTheme(this);
|
|
33711
33818
|
const inItem = hostContext('ion-item', el);
|
|
33712
|
-
return (hAsync(Host, { key: '
|
|
33819
|
+
return (hAsync(Host, { key: 'e9591254a3823435617732dcf415ea4bb5fa4d62', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses$1(color, {
|
|
33713
33820
|
[theme]: true,
|
|
33714
33821
|
'in-item': inItem,
|
|
33715
33822
|
'radio-checked': checked,
|
|
@@ -33720,10 +33827,10 @@ class Radio {
|
|
|
33720
33827
|
// Focus and active styling should not apply when the radio is in an item
|
|
33721
33828
|
'ion-activatable': !inItem,
|
|
33722
33829
|
'ion-focusable': !inItem,
|
|
33723
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, hAsync("label", { key: '
|
|
33830
|
+
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, hAsync("label", { key: '798691948e77bdba972f45eb668bb6d38c1920b3', class: "radio-wrapper" }, hAsync("div", { key: '054d373156983bb22b3216b2a0f8d5a6ecd0aa08', class: {
|
|
33724
33831
|
'label-text-wrapper': true,
|
|
33725
33832
|
'label-text-wrapper-hidden': !hasLabel,
|
|
33726
|
-
}, part: "label" }, hAsync("slot", { key: '
|
|
33833
|
+
}, part: "label" }, hAsync("slot", { key: 'a77d60be10ece9c80bab6e5c2a24533eede95362' })), hAsync("div", { key: 'e687dc6686b0748a1a3337cd87a01c01315c0f22', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
33727
33834
|
}
|
|
33728
33835
|
get el() { return getElement(this); }
|
|
33729
33836
|
static get watchers() { return {
|
|
@@ -33993,10 +34100,10 @@ class RadioGroup {
|
|
|
33993
34100
|
const { label, labelId, el, name, value } = this;
|
|
33994
34101
|
const theme = getIonTheme(this);
|
|
33995
34102
|
renderHiddenInput(true, el, name, value, false);
|
|
33996
|
-
return (hAsync(Host, { key: '
|
|
34103
|
+
return (hAsync(Host, { key: '8a57b258087569c2fb13ddaa6e83e06822c05a4d', class: {
|
|
33997
34104
|
[theme]: true,
|
|
33998
34105
|
'in-list': hostContext('ion-list', el),
|
|
33999
|
-
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick }, this.renderHintText(), hAsync("slot", { key: '
|
|
34106
|
+
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick }, this.renderHintText(), hAsync("slot", { key: '83d8e8febe7f368dfb6caa40eeafda8bf7d5ecef' })));
|
|
34000
34107
|
}
|
|
34001
34108
|
get el() { return getElement(this); }
|
|
34002
34109
|
static get watchers() { return {
|
|
@@ -34846,7 +34953,7 @@ class Range {
|
|
|
34846
34953
|
const valueAtMin = dualKnobs ? this.valA === min || this.valB === min : this.valA === min;
|
|
34847
34954
|
const valueAtMax = dualKnobs ? this.valA === max || this.valB === max : this.valA === max;
|
|
34848
34955
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
34849
|
-
return (hAsync(Host, { key: '
|
|
34956
|
+
return (hAsync(Host, { key: '0f39669a81cfb08a3aca6998b95bda68f5076306', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses$1(this.color, {
|
|
34850
34957
|
[theme]: true,
|
|
34851
34958
|
'in-item': inItem,
|
|
34852
34959
|
'range-disabled': disabled,
|
|
@@ -34860,10 +34967,10 @@ class Range {
|
|
|
34860
34967
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
34861
34968
|
'range-value-min': valueAtMin,
|
|
34862
34969
|
'range-value-max': valueAtMax,
|
|
34863
|
-
}) }, hAsync("label", { key: '
|
|
34970
|
+
}) }, hAsync("label", { key: 'c1615da8ac01fccb650a8d1eb6b6b69562634e2f', class: "range-wrapper", id: "range-label" }, hAsync("div", { key: 'ba530e76d0253f457b04bbd8403d9a02ac859cfe', class: {
|
|
34864
34971
|
'label-text-wrapper': true,
|
|
34865
34972
|
'label-text-wrapper-hidden': !hasLabel,
|
|
34866
|
-
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '
|
|
34973
|
+
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '253bfb6e4add9852054f08194f07d32430832f1f', class: "native-wrapper" }, hAsync("slot", { key: '160ee66c73ab6e982c6efddb0107fbbcd42de962', name: "start" }), this.renderRangeSlider(), hAsync("slot", { key: '486102e34a85d900aa6a6d909b27a98da947bbe2', name: "end" })))));
|
|
34867
34974
|
}
|
|
34868
34975
|
get el() { return getElement(this); }
|
|
34869
34976
|
static get watchers() { return {
|
|
@@ -35938,7 +36045,7 @@ class Refresher {
|
|
|
35938
36045
|
}
|
|
35939
36046
|
render() {
|
|
35940
36047
|
const theme = getIonTheme(this);
|
|
35941
|
-
return (hAsync(Host, { key: '
|
|
36048
|
+
return (hAsync(Host, { key: '5761384ab0eb88600ad036b6fdbebf8e5150e6b8', slot: "fixed", class: {
|
|
35942
36049
|
[theme]: true,
|
|
35943
36050
|
// Used internally for styling
|
|
35944
36051
|
[`refresher-${theme}`]: true,
|
|
@@ -36177,9 +36284,9 @@ class RefresherContent {
|
|
|
36177
36284
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
36178
36285
|
const theme = getIonTheme(this);
|
|
36179
36286
|
const arrowIcon = theme === 'ionic' ? caretLeftFillSvg : caretBackSharp;
|
|
36180
|
-
return (hAsync(Host, { key: '
|
|
36287
|
+
return (hAsync(Host, { key: '3d2d138e485b3b2beae47b9ea4e140f0b9647434', class: {
|
|
36181
36288
|
[theme]: true,
|
|
36182
|
-
} }, hAsync("div", { key: '
|
|
36289
|
+
} }, hAsync("div", { key: 'd0c950b65a37a75b795503574a980cdb61f674e1', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (hAsync("div", { key: '8c6e27b2fb134c21fb7e8864433802a95ba0f328', class: "refresher-pulling-icon" }, hAsync("div", { key: '0a947b7779502780f2c835f8686f3a06e21a9194', class: "spinner-arrow-container" }, hAsync("ion-spinner", { key: '59c129077809add46b7fe6dcf5fc0edbb1cc94d5', name: this.pullingIcon, paused: true }), (theme === 'md' || theme === 'ionic') && this.pullingIcon === 'circular' && (hAsync("div", { key: 'a28750ed07d9337febbceb5550683eb1c302858c', class: "arrow-container" }, hAsync("ion-icon", { key: 'e14e3b9f9ad51ce3a138a191a848078bd423fa9b', icon: arrowIcon, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (hAsync("div", { key: '22c4c80ef1e340a8ec9ca718849b412a09507967', class: "refresher-pulling-icon" }, hAsync("ion-icon", { key: '6506d0dd30bf639a23cda57c6d1c2a9c29e42ed6', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), hAsync("div", { key: 'a54967c5f539ed182106b1c5fa7b499de84c049a', class: "refresher-refreshing" }, this.refreshingSpinner && (hAsync("div", { key: '2e425f66d780e90474b8ebf7473b9f7c98f30c81', class: "refresher-refreshing-icon" }, hAsync("ion-spinner", { key: '286b9b9cce1cb4450ffa5577f0b76044877722ce', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
36183
36290
|
}
|
|
36184
36291
|
get el() { return getElement(this); }
|
|
36185
36292
|
static get style() { return {
|
|
@@ -36248,9 +36355,9 @@ class Reorder {
|
|
|
36248
36355
|
render() {
|
|
36249
36356
|
const { reorderHandleIcon } = this;
|
|
36250
36357
|
const theme = getIonTheme(this);
|
|
36251
|
-
return (hAsync(Host, { key: '
|
|
36358
|
+
return (hAsync(Host, { key: 'bc0b4cd34db6dfe794ab66a785d406bfc02236c5', class: {
|
|
36252
36359
|
[theme]: true,
|
|
36253
|
-
} }, hAsync("slot", { key: '
|
|
36360
|
+
} }, hAsync("slot", { key: '28672768be8598b7cb47b7b2837b77afbc2c2e14' }, hAsync("ion-icon", { key: '03b6620768da18a6f8cb0c55e94b85a53cbab66a', icon: reorderHandleIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
36254
36361
|
}
|
|
36255
36362
|
get el() { return getElement(this); }
|
|
36256
36363
|
static get style() { return {
|
|
@@ -36526,7 +36633,7 @@ class ReorderGroup {
|
|
|
36526
36633
|
}
|
|
36527
36634
|
render() {
|
|
36528
36635
|
const theme = getIonTheme(this);
|
|
36529
|
-
return (hAsync(Host, { key: '
|
|
36636
|
+
return (hAsync(Host, { key: 'c095e5428be9f446f245d37a12653978bb2bc2b6', class: {
|
|
36530
36637
|
[theme]: true,
|
|
36531
36638
|
'reorder-enabled': !this.disabled,
|
|
36532
36639
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -36652,7 +36759,7 @@ class RippleEffect {
|
|
|
36652
36759
|
}
|
|
36653
36760
|
render() {
|
|
36654
36761
|
const theme = getIonTheme(this);
|
|
36655
|
-
return (hAsync(Host, { key: '
|
|
36762
|
+
return (hAsync(Host, { key: '51fe7517d41c643bd4e746f366f513c42dac17dc', role: "presentation", class: {
|
|
36656
36763
|
[theme]: true,
|
|
36657
36764
|
unbounded: this.unbounded,
|
|
36658
36765
|
} }));
|
|
@@ -37637,10 +37744,10 @@ class RouterLink {
|
|
|
37637
37744
|
rel: this.rel,
|
|
37638
37745
|
target: this.target,
|
|
37639
37746
|
};
|
|
37640
|
-
return (hAsync(Host, { key: '
|
|
37747
|
+
return (hAsync(Host, { key: '84efbafddc586ee3f616d4e1a13118c04d9b2753', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
37641
37748
|
[theme]: true,
|
|
37642
37749
|
'ion-activatable': true,
|
|
37643
|
-
}) }, hAsync("a", Object.assign({ key: '
|
|
37750
|
+
}) }, hAsync("a", Object.assign({ key: 'e8c7cda4c00ec45548ea52b632bc4adb07f9460c' }, attrs), hAsync("slot", { key: '133bf1203a3e218e3868b4cfda00bb753ecea946' }))));
|
|
37644
37751
|
}
|
|
37645
37752
|
static get style() { return routerLinkCss(); }
|
|
37646
37753
|
static get cmpMeta() { return {
|
|
@@ -37840,7 +37947,7 @@ class RouterOutlet {
|
|
|
37840
37947
|
return true;
|
|
37841
37948
|
}
|
|
37842
37949
|
render() {
|
|
37843
|
-
return hAsync("slot", { key: '
|
|
37950
|
+
return hAsync("slot", { key: '56e3d06ed939755796058e30ef19fbc7f7cb490d' });
|
|
37844
37951
|
}
|
|
37845
37952
|
get el() { return getElement(this); }
|
|
37846
37953
|
static get watchers() { return {
|
|
@@ -37880,9 +37987,9 @@ class Row {
|
|
|
37880
37987
|
}
|
|
37881
37988
|
render() {
|
|
37882
37989
|
const theme = getIonTheme(this);
|
|
37883
|
-
return (hAsync(Host, { key: '
|
|
37990
|
+
return (hAsync(Host, { key: '3a3c40062d2d0487c61dedbb172215b87bb425b1', class: {
|
|
37884
37991
|
[theme]: true,
|
|
37885
|
-
} }, hAsync("slot", { key: '
|
|
37992
|
+
} }, hAsync("slot", { key: '164f457f6f7853ed8f7279d20bc6ede6cf9d3e5c' })));
|
|
37886
37993
|
}
|
|
37887
37994
|
static get style() { return rowCss(); }
|
|
37888
37995
|
static get cmpMeta() { return {
|
|
@@ -38441,8 +38548,8 @@ class Searchbar {
|
|
|
38441
38548
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
38442
38549
|
const shape = this.getShape();
|
|
38443
38550
|
const size = this.getSize();
|
|
38444
|
-
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '
|
|
38445
|
-
return (hAsync(Host, { key: '
|
|
38551
|
+
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '21affee126970b3de80d4af9c7659875dd9a07aa', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: theme === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, hAsync("div", { key: '62f81458b16cd51dd8cc5c309c42eeceda52e6fc', "aria-hidden": "true" }, theme === 'md' || theme === 'ionic' ? (hAsync("ion-icon", { "aria-hidden": "true", icon: searchbarCancelIcon, lazy: false })) : (cancelButtonText))));
|
|
38552
|
+
return (hAsync(Host, { key: '287a9c6ec7e54f621759224922003b5ce6c0fb25', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses$1(this.color, {
|
|
38446
38553
|
[theme]: true,
|
|
38447
38554
|
'searchbar-animated': animated,
|
|
38448
38555
|
'searchbar-disabled': this.disabled,
|
|
@@ -38456,14 +38563,14 @@ class Searchbar {
|
|
|
38456
38563
|
[`searchbar-shape-${shape}`]: shape !== undefined,
|
|
38457
38564
|
[`searchbar-size-${size}`]: size !== undefined,
|
|
38458
38565
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
38459
|
-
}) }, hAsync("div", { key: '
|
|
38566
|
+
}) }, hAsync("div", { key: 'a2e1d71d90435b78fe7f9adb70740f4dda599a8a', class: "searchbar-input-container" }, hAsync("input", Object.assign({ key: 'd3b5506f488229f6e3a348b39c52b49e8c86b43d', "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)), (theme === 'md' || theme === 'ionic') && cancelButton, this.shouldShowSearchIcon() && (hAsync("ion-icon", { key: '2b52b78ad65b26e9d4f890b4dc8e8ec494b8ccb8', "aria-hidden": "true", icon: searchbarSearchIcon, lazy: false, class: "searchbar-search-icon" })), this.shouldShowClearButton() && (hAsync("button", { key: 'cd59304ab31763bd0d06393d6cf65459a5cd857b', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
38460
38567
|
/**
|
|
38461
38568
|
* This prevents mobile browsers from
|
|
38462
38569
|
* blurring the input when the clear
|
|
38463
38570
|
* button is activated.
|
|
38464
38571
|
*/
|
|
38465
38572
|
ev.preventDefault();
|
|
38466
|
-
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: '
|
|
38573
|
+
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: '6a9be85be51de19f84a852c43f93c46fb92c8d1a', "aria-hidden": "true", icon: searchbarClearIcon, lazy: false, class: "searchbar-clear-icon" })))), theme === 'ios' && cancelButton));
|
|
38467
38574
|
}
|
|
38468
38575
|
get el() { return getElement(this); }
|
|
38469
38576
|
static get watchers() { return {
|
|
@@ -39078,14 +39185,14 @@ class Segment {
|
|
|
39078
39185
|
}
|
|
39079
39186
|
render() {
|
|
39080
39187
|
const theme = getIonTheme(this);
|
|
39081
|
-
return (hAsync(Host, { key: '
|
|
39188
|
+
return (hAsync(Host, { key: '65c576c0bb9ff0602793f75321d676a34b306b3b', role: "tablist", onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
39082
39189
|
[theme]: true,
|
|
39083
39190
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
39084
39191
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
39085
39192
|
'segment-activated': this.activated,
|
|
39086
39193
|
'segment-disabled': this.disabled,
|
|
39087
39194
|
'segment-scrollable': this.scrollable,
|
|
39088
|
-
}) }, hAsync("slot", { key: '
|
|
39195
|
+
}) }, hAsync("slot", { key: '210750a65ccada549bccf026871477ee2b7bdc69', onSlotchange: this.onSlottedItemsChange })));
|
|
39089
39196
|
}
|
|
39090
39197
|
get el() { return getElement(this); }
|
|
39091
39198
|
static get watchers() { return {
|
|
@@ -39237,7 +39344,7 @@ class SegmentButton {
|
|
|
39237
39344
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
39238
39345
|
const theme = getIonTheme(this);
|
|
39239
39346
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
39240
|
-
return (hAsync(Host, { key: '
|
|
39347
|
+
return (hAsync(Host, { key: 'da5c8352e5e0f3a01211edbc39c5043cadc5b06f', class: {
|
|
39241
39348
|
[theme]: true,
|
|
39242
39349
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
39243
39350
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -39253,7 +39360,7 @@ class SegmentButton {
|
|
|
39253
39360
|
'ion-activatable': true,
|
|
39254
39361
|
'ion-activatable-instant': true,
|
|
39255
39362
|
'ion-focusable': true,
|
|
39256
|
-
} }, hAsync("button", Object.assign({ key: '
|
|
39363
|
+
} }, hAsync("button", Object.assign({ key: 'cfd963a166ebfeba590d6538069b26a107306583', "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: '845b729e96ba5b594d441ca41c73e2c33a4f5817', class: "button-inner" }, hAsync("slot", { key: 'f38369982dd602c32dbbc6aca2fae6dbb53faa8a' })), theme === 'md' && hAsync("ion-ripple-effect", { key: 'b1b15b731688dd02806409c9c3eda5519a958239' })), hAsync("div", { key: 'fff597d493a85be8005ef3b9eb4f2a93c2a7a4d0', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, hAsync("div", { key: 'f06b53d0ef9d08354f562ac6d3469998257dd688', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
39257
39364
|
}
|
|
39258
39365
|
get el() { return getElement(this); }
|
|
39259
39366
|
static get watchers() { return {
|
|
@@ -39291,7 +39398,7 @@ class SegmentContent {
|
|
|
39291
39398
|
registerInstance(this, hostRef);
|
|
39292
39399
|
}
|
|
39293
39400
|
render() {
|
|
39294
|
-
return (hAsync(Host, { key: '
|
|
39401
|
+
return (hAsync(Host, { key: '2f43cadcbcb1a9423b30e7abc169ff923a8c431f' }, hAsync("slot", { key: 'c3a6d3e9c336f5124cdec9f37ef516324558073c' })));
|
|
39295
39402
|
}
|
|
39296
39403
|
static get style() { return segmentContentCss(); }
|
|
39297
39404
|
static get cmpMeta() { return {
|
|
@@ -39419,11 +39526,11 @@ class SegmentView {
|
|
|
39419
39526
|
}
|
|
39420
39527
|
render() {
|
|
39421
39528
|
const { disabled, isManualScroll, swipeGesture } = this;
|
|
39422
|
-
return (hAsync(Host, { key: '
|
|
39529
|
+
return (hAsync(Host, { key: '8d1aa594c5674bca376ee3e9b18b60b0925dd875', class: {
|
|
39423
39530
|
'segment-view-disabled': disabled,
|
|
39424
39531
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
39425
39532
|
'segment-view-swipe-disabled': swipeGesture === false,
|
|
39426
|
-
} }, hAsync("slot", { key: '
|
|
39533
|
+
} }, hAsync("slot", { key: '6375fa794ae615b74a70968718aadefa0a9fc1d6' })));
|
|
39427
39534
|
}
|
|
39428
39535
|
get el() { return getElement(this); }
|
|
39429
39536
|
static get style() { return {
|
|
@@ -40359,7 +40466,7 @@ class Select {
|
|
|
40359
40466
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
40360
40467
|
*/
|
|
40361
40468
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
40362
|
-
return (hAsync(Host, { key: '
|
|
40469
|
+
return (hAsync(Host, { key: 'c8fc8ffc5e66fa0deef9556f365d8d95ff652b5d', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
40363
40470
|
[theme]: true,
|
|
40364
40471
|
'in-item': inItem,
|
|
40365
40472
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -40378,7 +40485,7 @@ class Select {
|
|
|
40378
40485
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
40379
40486
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
40380
40487
|
[`select-size-${size}`]: size !== undefined,
|
|
40381
|
-
}) }, hAsync("label", { key: '
|
|
40488
|
+
}) }, hAsync("label", { key: 'dd1b83a6bfadcce8e8a9559e529c86d86a5c142d', class: "select-wrapper", id: "select-label", onClick: this.onLabelClick, part: "wrapper" }, this.renderLabelContainer(), hAsync("div", { key: 'c7ae6112920eb9260be01ef4a723549a71e6e275', class: "select-wrapper-inner", part: "inner" },
|
|
40382
40489
|
/**
|
|
40383
40490
|
* For the ionic theme, we render the outline container here
|
|
40384
40491
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -40388,7 +40495,7 @@ class Select {
|
|
|
40388
40495
|
* <label> element, ensuring that clicking the label text
|
|
40389
40496
|
* focuses the select.
|
|
40390
40497
|
*/
|
|
40391
|
-
theme === 'ionic' && fill === 'outline' && hAsync("div", { key: '
|
|
40498
|
+
theme === 'ionic' && fill === 'outline' && hAsync("div", { key: 'da07a6cea39e13cc62de7104ef4c06ac8b3c8fe1', class: "select-outline" }), hAsync("slot", { key: '35c4261e4eb3f5d91e8fe61e02cfe3d93a2c6763', name: "start" }), hAsync("div", { key: 'e70c2896f0c7ad908811f5eb19abde9a432d086e', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), hAsync("slot", { key: 'ddb79446bfc9dc97714c0395570d67ce6a5aa1bf', name: "end" }), shouldRenderInnerIcon && this.renderSelectIcon()), shouldRenderOuterIcon && this.renderSelectIcon(), shouldRenderHighlight && hAsync("div", { key: '297abbcf88af9911c6ecbbb27e2f37846f213bdb', class: "select-highlight" })), this.renderBottomContent()));
|
|
40392
40499
|
}
|
|
40393
40500
|
get el() { return getElement(this); }
|
|
40394
40501
|
static get watchers() { return {
|
|
@@ -40780,7 +40887,7 @@ class SelectModal {
|
|
|
40780
40887
|
});
|
|
40781
40888
|
}
|
|
40782
40889
|
render() {
|
|
40783
|
-
return (hAsync(Host, { key: '
|
|
40890
|
+
return (hAsync(Host, { key: '6f1c1c0ad2dad8d4c1defc41a37e9cb4219facef', class: Object.assign({ [getIonMode$1(this)]: true }, this.getModalContextClasses()) }, hAsync("ion-header", { key: 'e917416fdfb8785511abac755f9cd23e24bc2c70' }, hAsync("ion-toolbar", { key: '7ce8116cdd882958f1c6d0abd9f6ddad60d4232b' }, this.header !== undefined && hAsync("ion-title", { key: 'aa2be148b57b756ca1abdc4b29c26861494e9341' }, this.header), hAsync("ion-buttons", { key: '7a9671f9426a5b9eb0fef1d4b446d2db98332f89', slot: "end" }, hAsync("ion-button", { key: 'c5c1511bed6e3361aa740de9bcab4c7445887518', "aria-label": this.cancelIcon ? this.cancelText : undefined, onClick: () => this.closeModal() }, this.cancelIcon ? (hAsync("ion-icon", { "aria-hidden": "true", slot: "icon-only", icon: this.cancelButtonIcon })) : (this.cancelText))))), hAsync("ion-content", { key: 'ddabe1b04a9f65e741935e387c06ee8f749b38e1' }, hAsync("ion-list", { key: 'cb801aecd27444fb7bb9e3bf06e5934dfd1a9606' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
|
|
40784
40891
|
}
|
|
40785
40892
|
get el() { return getElement(this); }
|
|
40786
40893
|
static get style() { return {
|
|
@@ -40825,7 +40932,7 @@ class SelectOption {
|
|
|
40825
40932
|
}
|
|
40826
40933
|
render() {
|
|
40827
40934
|
const theme = getIonTheme(this);
|
|
40828
|
-
return (hAsync(Host, { key: '
|
|
40935
|
+
return (hAsync(Host, { key: 'd7baa96e166b66c8f14c97e56674db4dfec2152c', class: {
|
|
40829
40936
|
[theme]: true,
|
|
40830
40937
|
}, role: "option", id: this.inputId }));
|
|
40831
40938
|
}
|
|
@@ -40994,9 +41101,9 @@ class SelectPopover {
|
|
|
40994
41101
|
const { header, message, options, subHeader } = this;
|
|
40995
41102
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
40996
41103
|
const theme = getIonTheme(this);
|
|
40997
|
-
return (hAsync(Host, { key: '
|
|
41104
|
+
return (hAsync(Host, { key: '47062077a192fb05f662f30c68e9c12323a69e47', class: {
|
|
40998
41105
|
[theme]: true,
|
|
40999
|
-
} }, hAsync("ion-list", { key: '
|
|
41106
|
+
} }, hAsync("ion-list", { key: '50caf4e5f70d1d7b57256f115c589d90d9cea627' }, header !== undefined && hAsync("ion-list-header", { key: '3401a27174b687632836f086f1a367214021358c' }, header), hasSubHeaderOrMessage && (hAsync("ion-item", { key: '7271f08cd8bae5383bb502d9411d60a5458e18f6' }, hAsync("ion-label", { key: 'e22c6c54f725e3fc630eed38a71afd4bb474b357', class: "ion-text-wrap" }, subHeader !== undefined && hAsync("h3", { key: 'c0ca32ef8100d6aaa3aa2279ed1216bdb6a60b89' }, subHeader), message !== undefined && hAsync("p", { key: '8e2e0b248a05f5483e62db8d608310078040767c' }, message)))), this.renderOptions(options))));
|
|
41000
41107
|
}
|
|
41001
41108
|
get el() { return getElement(this); }
|
|
41002
41109
|
static get style() { return {
|
|
@@ -41051,11 +41158,11 @@ class SkeletonText {
|
|
|
41051
41158
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
41052
41159
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
41053
41160
|
const theme = getIonTheme(this);
|
|
41054
|
-
return (hAsync(Host, { key: '
|
|
41161
|
+
return (hAsync(Host, { key: '370451ee8963b776079f5df365f7bbd70a53b270', class: {
|
|
41055
41162
|
[theme]: true,
|
|
41056
41163
|
'skeleton-text-animated': animated,
|
|
41057
41164
|
'in-media': inMedia,
|
|
41058
|
-
} }, hAsync("span", { key: '
|
|
41165
|
+
} }, hAsync("span", { key: '2b861b4ec86cbd61927ab7b81b13517c99dc94c7' }, "\u00A0")));
|
|
41059
41166
|
}
|
|
41060
41167
|
get el() { return getElement(this); }
|
|
41061
41168
|
static get style() { return skeletonTextCss(); }
|
|
@@ -41128,7 +41235,7 @@ class Spinner {
|
|
|
41128
41235
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
41129
41236
|
}
|
|
41130
41237
|
}
|
|
41131
|
-
return (hAsync(Host, { key: '
|
|
41238
|
+
return (hAsync(Host, { key: 'b6559d1626b56a1c63580862263a15798f7d3f71', class: createColorClasses$1(self.color, {
|
|
41132
41239
|
[theme]: true,
|
|
41133
41240
|
[`spinner-${spinnerName}`]: true,
|
|
41134
41241
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -41240,12 +41347,12 @@ class SplitPane {
|
|
|
41240
41347
|
}
|
|
41241
41348
|
render() {
|
|
41242
41349
|
const theme = getIonTheme(this);
|
|
41243
|
-
return (hAsync(Host, { key: '
|
|
41350
|
+
return (hAsync(Host, { key: 'b933156f8f9d8ce418ff0d39526967f9653d6639', class: {
|
|
41244
41351
|
[theme]: true,
|
|
41245
41352
|
// Used internally for styling
|
|
41246
41353
|
[`split-pane-${theme}`]: true,
|
|
41247
41354
|
'split-pane-visible': this.visible,
|
|
41248
|
-
} }, hAsync("slot", { key: '
|
|
41355
|
+
} }, hAsync("slot", { key: '3ec0a11e5506386747dc972ccb094359ca975bae' })));
|
|
41249
41356
|
}
|
|
41250
41357
|
get el() { return getElement(this); }
|
|
41251
41358
|
static get watchers() { return {
|
|
@@ -41322,10 +41429,10 @@ class Tab {
|
|
|
41322
41429
|
}
|
|
41323
41430
|
render() {
|
|
41324
41431
|
const { tab, active, component } = this;
|
|
41325
|
-
return (hAsync(Host, { key: '
|
|
41432
|
+
return (hAsync(Host, { key: '8b978f848d43898feafa7daa3e3d9819be833038', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
41326
41433
|
'ion-page': component === undefined,
|
|
41327
41434
|
'tab-hidden': !active,
|
|
41328
|
-
} }, hAsync("slot", { key: '
|
|
41435
|
+
} }, hAsync("slot", { key: '96a92d86cecc8c9ef4f11d310f7f87bb99ce4e50' })));
|
|
41329
41436
|
}
|
|
41330
41437
|
get el() { return getElement(this); }
|
|
41331
41438
|
static get watchers() { return {
|
|
@@ -41532,7 +41639,7 @@ class TabBar {
|
|
|
41532
41639
|
const theme = getIonTheme(this);
|
|
41533
41640
|
const shape = this.getShape();
|
|
41534
41641
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
41535
|
-
return (hAsync(Host, { key: '
|
|
41642
|
+
return (hAsync(Host, { key: '16cd11a815d777a7517150b49b57a204c83c3c37', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses$1(color, {
|
|
41536
41643
|
[theme]: true,
|
|
41537
41644
|
'tab-bar-translucent': translucent,
|
|
41538
41645
|
'tab-bar-hidden': shouldHide,
|
|
@@ -41540,7 +41647,7 @@ class TabBar {
|
|
|
41540
41647
|
'tab-bar-scroll-hidden': scrollHidden,
|
|
41541
41648
|
[`tab-bar-${expand}`]: true,
|
|
41542
41649
|
[`tab-bar-${shape}`]: shape !== undefined,
|
|
41543
|
-
}) }, hAsync("slot", { key: '
|
|
41650
|
+
}) }, hAsync("slot", { key: 'dfdff308f24b3addaf18528a8d869b3fc64306d1' })));
|
|
41544
41651
|
}
|
|
41545
41652
|
get el() { return getElement(this); }
|
|
41546
41653
|
static get watchers() { return {
|
|
@@ -41668,7 +41775,7 @@ class TabButton {
|
|
|
41668
41775
|
rel,
|
|
41669
41776
|
target,
|
|
41670
41777
|
};
|
|
41671
|
-
return (hAsync(Host, { key: '
|
|
41778
|
+
return (hAsync(Host, { key: 'e4d3aaefcdc42677f7818c51ec1ec0a9cbcf8bcf', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
41672
41779
|
[theme]: true,
|
|
41673
41780
|
'tab-selected': selected,
|
|
41674
41781
|
'tab-disabled': disabled,
|
|
@@ -41681,7 +41788,7 @@ class TabButton {
|
|
|
41681
41788
|
'ion-selectable': true,
|
|
41682
41789
|
[`tab-button-shape-${shape}`]: shape !== undefined,
|
|
41683
41790
|
'ion-focusable': true,
|
|
41684
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
41791
|
+
} }, hAsync("a", Object.assign({ key: '1412d080294dd2602696c5657c71553ef35036d3' }, 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: '5daebf815b9b4f8016ce5b4b9d05148c1957a46c', class: "button-inner" }, hAsync("slot", { key: 'e1cbabb911936d21d5b1a4f87d236b962beacbab' })), theme === 'md' && hAsync("ion-ripple-effect", { key: 'd4544a7fb87b8559aaf9d2f0aa4d440201ebdb71', type: "unbounded" }))));
|
|
41685
41792
|
}
|
|
41686
41793
|
get el() { return getElement(this); }
|
|
41687
41794
|
static get style() { return {
|
|
@@ -41877,7 +41984,7 @@ class Tabs {
|
|
|
41877
41984
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
41878
41985
|
}
|
|
41879
41986
|
render() {
|
|
41880
|
-
return (hAsync(Host, { key: '
|
|
41987
|
+
return (hAsync(Host, { key: 'b8c5c75469cb1f1829a217a02555a7da8556454a', onIonTabButtonClick: this.onTabClicked }, hAsync("slot", { key: '50b74e3df8ea0e991e096c7438a65fee0ca0f6b5', name: "top" }), hAsync("div", { key: 'ca8d4329381c4b40882bbd31b4f15264cfa2c220', class: "tabs-inner" }, hAsync("slot", { key: '816ffd6d997530e3b100480c9a8e4a51fa51e59c' })), hAsync("slot", { key: '280bdf5ec61789823c7772287d60a26229fe78fa', name: "bottom" })));
|
|
41881
41988
|
}
|
|
41882
41989
|
get el() { return getElement(this); }
|
|
41883
41990
|
static get style() { return tabsCss(); }
|
|
@@ -41918,9 +42025,9 @@ class Text {
|
|
|
41918
42025
|
}
|
|
41919
42026
|
render() {
|
|
41920
42027
|
const theme = getIonTheme(this);
|
|
41921
|
-
return (hAsync(Host, { key: '
|
|
42028
|
+
return (hAsync(Host, { key: '8fc5565ce579f8e2a9eddbaa7c93264291080bce', class: createColorClasses$1(this.color, {
|
|
41922
42029
|
[theme]: true,
|
|
41923
|
-
}) }, hAsync("slot", { key: '
|
|
42030
|
+
}) }, hAsync("slot", { key: '5be1d661ee3a6f1f9d9428b59e830672faf475b1' })));
|
|
41924
42031
|
}
|
|
41925
42032
|
static get style() { return textCss(); }
|
|
41926
42033
|
static get cmpMeta() { return {
|
|
@@ -42484,7 +42591,7 @@ class Textarea {
|
|
|
42484
42591
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
42485
42592
|
*/
|
|
42486
42593
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
42487
|
-
return (hAsync(Host, { key: '
|
|
42594
|
+
return (hAsync(Host, { key: 'a67ef5f3107776dcd8490bdd2af4a373ae422899', class: createColorClasses$1(this.color, {
|
|
42488
42595
|
[theme]: true,
|
|
42489
42596
|
'has-value': hasValue,
|
|
42490
42597
|
'has-focus': hasFocus,
|
|
@@ -42496,7 +42603,7 @@ class Textarea {
|
|
|
42496
42603
|
'in-item': inItem,
|
|
42497
42604
|
'textarea-disabled': disabled,
|
|
42498
42605
|
'textarea-readonly': readonly,
|
|
42499
|
-
}) }, hAsync("label", { key: '
|
|
42606
|
+
}) }, hAsync("label", { key: '7a8605454eb66d87a4b49ffd28e609a633eae09c', class: "textarea-wrapper", htmlFor: inputId, onClick: this.onLabelClick, part: "wrapper" }, this.renderLabelContainer(), hAsync("div", { key: '8b24d96089d11f659dbd5adfcbf317ec34742333', class: "textarea-wrapper-inner" },
|
|
42500
42607
|
/**
|
|
42501
42608
|
* For the ionic theme, we render the outline container here
|
|
42502
42609
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -42506,7 +42613,7 @@ class Textarea {
|
|
|
42506
42613
|
* <label> element, ensuring that clicking the label text
|
|
42507
42614
|
* focuses the textarea.
|
|
42508
42615
|
*/
|
|
42509
|
-
theme === 'ionic' && fill === 'outline' && hAsync("div", { key: '
|
|
42616
|
+
theme === 'ionic' && fill === 'outline' && hAsync("div", { key: '91a7ea7b6f6fccc473b9e058281e5437c00a9b5d', class: "textarea-outline" }), hAsync("div", { key: 'ba641e63d5aaf2ddb291c875f57181d1c93a2b26', class: "start-slot-wrapper" }, hAsync("slot", { key: '351684d41a2b080541a29e0d9e90dd50747b52dc', name: "start" })), hAsync("div", { key: '5c0793742ff6cc327582c3d78d85c28fa8238a40', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el), part: "container" }, hAsync("textarea", Object.assign({ key: '9cf5c908e3fcd54af07c351dcf0bb91c853f1349', class: "native-textarea", part: "native", 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: 'e47ffe0bf8e460a7cb205ed35a1107b44687116d', class: "end-slot-wrapper" }, hAsync("slot", { key: '57d035b5f1db373b8488b129c8d3552eb8e630ac', name: "end" }))), shouldRenderHighlight && hAsync("div", { key: '1259ad761b68aea69a1ae8b61a6bbdee6c071b7b', class: "textarea-highlight" })), this.renderBottomContent()));
|
|
42510
42617
|
}
|
|
42511
42618
|
static get delegatesFocus() { return true; }
|
|
42512
42619
|
static get formAssociated() { return true; }
|
|
@@ -42590,9 +42697,9 @@ class Thumbnail {
|
|
|
42590
42697
|
}
|
|
42591
42698
|
render() {
|
|
42592
42699
|
const theme = getIonTheme(this);
|
|
42593
|
-
return (hAsync(Host, { key: '
|
|
42700
|
+
return (hAsync(Host, { key: 'fdf9d92949a1e8cf6faded77ffed084f74fc040b', class: {
|
|
42594
42701
|
[theme]: true,
|
|
42595
|
-
} }, hAsync("slot", { key: '
|
|
42702
|
+
} }, hAsync("slot", { key: 'e1b1439c035d9a9503efd1c1a04aed9f4e8e0af7' })));
|
|
42596
42703
|
}
|
|
42597
42704
|
static get style() { return thumbnailCss(); }
|
|
42598
42705
|
static get cmpMeta() { return {
|
|
@@ -43476,9 +43583,9 @@ class Toast {
|
|
|
43476
43583
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
43477
43584
|
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);
|
|
43478
43585
|
}
|
|
43479
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
43586
|
+
return (hAsync(Host, Object.assign({ key: 'f0d62f099dd68f8f541110a60695c2a083c6a4d5', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
43480
43587
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
43481
|
-
}, class: createColorClasses$1(this.color, Object.assign(Object.assign({ [mode]: true, [theme]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent, [`toast-shape-${shape}`]: shape !== undefined, [`toast-hue-${hue}`]: hue !== undefined })), onIonToastWillDismiss: this.dispatchCancelHandler }), hAsync("div", { key: '
|
|
43588
|
+
}, class: createColorClasses$1(this.color, Object.assign(Object.assign({ [mode]: true, [theme]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent, [`toast-shape-${shape}`]: shape !== undefined, [`toast-hue-${hue}`]: hue !== undefined })), onIonToastWillDismiss: this.dispatchCancelHandler }), hAsync("div", { key: '054ba519f93892a000832990097b265887272da4', class: wrapperClass, part: "wrapper" }, hAsync("div", { key: '45fa83c1711ab98e81b8b00e0af3af436eaa5264', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (hAsync("ion-icon", { key: 'eb4143899be5259e3d933461bc4ca593c8b9dd9b', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), hAsync("div", { key: 'bae8a899abb9bcd4895df45def79bfe3d704e6e4', class: "toast-content", part: "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')))));
|
|
43482
43589
|
}
|
|
43483
43590
|
get el() { return getElement(this); }
|
|
43484
43591
|
static get watchers() { return {
|
|
@@ -43854,7 +43961,7 @@ class Toggle {
|
|
|
43854
43961
|
const rtl = isRTL$1(el) ? 'rtl' : 'ltr';
|
|
43855
43962
|
const isIonicTheme = theme === 'ionic';
|
|
43856
43963
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
43857
|
-
return (hAsync(Host, { key: '
|
|
43964
|
+
return (hAsync(Host, { key: '9e042d48d2416028c4f76fbb38fa2b26ee7512ef', 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, {
|
|
43858
43965
|
[theme]: true,
|
|
43859
43966
|
'in-item': hostContext('ion-item', el),
|
|
43860
43967
|
'toggle-activated': activated,
|
|
@@ -43866,10 +43973,10 @@ class Toggle {
|
|
|
43866
43973
|
[`toggle-${rtl}`]: true,
|
|
43867
43974
|
'ion-activatable': isIonicTheme,
|
|
43868
43975
|
'ion-focusable': isIonicTheme,
|
|
43869
|
-
}) }, hAsync("label", { key: '
|
|
43976
|
+
}) }, hAsync("label", { key: 'f13b94af8f0b862b8390172107e75ef670fff34f', class: "toggle-wrapper", htmlFor: inputId }, hAsync("input", Object.assign({ key: 'e6c82e4fc9fcc77ed52408a04188d5696521de0c', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, required: required }, inheritedAttributes)), hAsync("div", { key: '5f32f194da4f83792cccaa536a211b558c5eac1c', class: {
|
|
43870
43977
|
'label-text-wrapper': true,
|
|
43871
43978
|
'label-text-wrapper-hidden': !hasLabel,
|
|
43872
|
-
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '
|
|
43979
|
+
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: 'c86e28aca1011a3d5a453b92ddc8b6d1ab049f0b' }), this.renderHintText()), hAsync("div", { key: '80390009e2a3d1ad699e1b698df725449c8fab53', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
43873
43980
|
}
|
|
43874
43981
|
get el() { return getElement(this); }
|
|
43875
43982
|
static get watchers() { return {
|
|
@@ -44161,11 +44268,11 @@ class Toolbar {
|
|
|
44161
44268
|
Object.assign(childStyles, style);
|
|
44162
44269
|
});
|
|
44163
44270
|
const titlePlacement = this.getTitlePlacement();
|
|
44164
|
-
return (hAsync(Host, { key: '
|
|
44271
|
+
return (hAsync(Host, { key: 'bcb621674157410d7eaeb006779bdd677346587e', class: Object.assign(Object.assign({}, createColorClasses$1(this.color, {
|
|
44165
44272
|
[theme]: true,
|
|
44166
44273
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
44167
44274
|
[`toolbar-title-placement-${titlePlacement}`]: true,
|
|
44168
|
-
})), childStyles) }, hAsync("div", { key: '
|
|
44275
|
+
})), childStyles) }, hAsync("div", { key: '0d31a98b2571b9a0ae142fbdfd83e2ebdcd8e069', class: "toolbar-background", part: "background" }), hAsync("div", { key: 'de938534c487c6cb4060dac44b40c2d872130f50', class: "toolbar-container", part: "container" }, hAsync("slot", { key: 'a337150d353e439eae67c31ff86e383ed51f3d8f', name: "start", onSlotchange: () => this.updateSlotClasses }), hAsync("slot", { key: '02effd3ce0cdad5ec5645fa58ccb329321449190', name: "secondary", onSlotchange: () => this.updateSlotClasses }), hAsync("div", { key: '3e22f5feda2aea02117bdea2fe8a4b8905ba82f6', class: "toolbar-content", part: "content" }, hAsync("slot", { key: 'ebf828643ff05a8bf662a54715d21d0859168d31' })), hAsync("slot", { key: 'a6940648dfe25a7aa8792a1bd9267437274f333c', name: "primary", onSlotchange: () => this.updateSlotClasses }), hAsync("slot", { key: 'afb1d61aa0e430fcf483ba482af64762474e06fe', name: "end", onSlotchange: () => this.updateSlotClasses }))));
|
|
44169
44276
|
}
|
|
44170
44277
|
get el() { return getElement(this); }
|
|
44171
44278
|
static get watchers() { return {
|
|
@@ -44224,11 +44331,11 @@ class ToolbarTitle {
|
|
|
44224
44331
|
render() {
|
|
44225
44332
|
const theme = getIonTheme(this);
|
|
44226
44333
|
const size = this.getSize();
|
|
44227
|
-
return (hAsync(Host, { key: '
|
|
44334
|
+
return (hAsync(Host, { key: 'd64e86bed418cba707d4a26c9274f18ed06c0e9e', class: createColorClasses$1(this.color, {
|
|
44228
44335
|
[theme]: true,
|
|
44229
44336
|
[`title-${size}`]: true,
|
|
44230
44337
|
'title-rtl': document.dir === 'rtl',
|
|
44231
|
-
}) }, hAsync("div", { key: '
|
|
44338
|
+
}) }, hAsync("div", { key: '386a71e974cde0bfbf5b655d69ed5f718de8ce48', class: "toolbar-title" }, hAsync("slot", { key: '8aa804c9e1b11574a42268805d3117a085e699b4' }))));
|
|
44232
44339
|
}
|
|
44233
44340
|
get el() { return getElement(this); }
|
|
44234
44341
|
static get watchers() { return {
|
|
@@ -44285,6 +44392,7 @@ registerComponents([
|
|
|
44285
44392
|
FabList,
|
|
44286
44393
|
Footer,
|
|
44287
44394
|
Gallery,
|
|
44395
|
+
GalleryItem,
|
|
44288
44396
|
Grid,
|
|
44289
44397
|
Header,
|
|
44290
44398
|
Icon,
|