@ionic/core 8.8.7-dev.11779221548.1d38f927 → 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 +57 -8
- 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 +56 -7
- 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 +57 -8
- 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 +10 -2
- 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 +259 -130
- package/hydrate/index.mjs +259 -130
- package/package.json +1 -1
- package/components/p-B6zr9RZN.js +0 -4
- package/dist/ionic/p-06bd033b.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.
|
|
@@ -18752,6 +18753,7 @@ class Gallery {
|
|
|
18752
18753
|
this.hasWarnedInvalidColumns = false;
|
|
18753
18754
|
this.hasWarnedInvalidGap = false;
|
|
18754
18755
|
this.hasWarnedUnusedOrder = false;
|
|
18756
|
+
this.hasWarnedInvalidItems = false;
|
|
18755
18757
|
/**
|
|
18756
18758
|
* The visual layout of the gallery. When `uniform`, rows take up the height
|
|
18757
18759
|
* of the tallest item and are spaced evenly across the gallery. Additionally,
|
|
@@ -18801,8 +18803,9 @@ class Gallery {
|
|
|
18801
18803
|
const styles = getComputedStyle(this.el);
|
|
18802
18804
|
const rowHeight = parseFloat(styles.getPropertyValue('grid-auto-rows')) || 0;
|
|
18803
18805
|
const rowGap = parseFloat(styles.getPropertyValue('row-gap')) || parseFloat(styles.getPropertyValue('gap')) || 0;
|
|
18806
|
+
const itemGap = parseFloat(styles.getPropertyValue('column-gap')) || parseFloat(styles.getPropertyValue('gap')) || 0;
|
|
18804
18807
|
const items = this.getItems();
|
|
18805
|
-
this.layoutMasonry(items, rowHeight, rowGap, columns);
|
|
18808
|
+
this.layoutMasonry(items, rowHeight, rowGap, itemGap, columns);
|
|
18806
18809
|
};
|
|
18807
18810
|
}
|
|
18808
18811
|
onColumnsOrGapChanged() {
|
|
@@ -19003,6 +19006,16 @@ class Gallery {
|
|
|
19003
19006
|
printIonWarning(`[ion-gallery] - "order" has no effect when "layout" is "uniform". Set "layout" to "masonry" for "order" to apply.`, this.el);
|
|
19004
19007
|
this.hasWarnedUnusedOrder = true;
|
|
19005
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
|
+
}
|
|
19006
19019
|
/**
|
|
19007
19020
|
* Resolve the active columns value for the current width. Falls back to
|
|
19008
19021
|
* the default responsive columns when the provided prop is invalid.
|
|
@@ -19059,12 +19072,45 @@ class Gallery {
|
|
|
19059
19072
|
const gap = this.getGapForWidth(width);
|
|
19060
19073
|
this.el.style.setProperty('--internal-gallery-gap', `${gap}`);
|
|
19061
19074
|
}
|
|
19075
|
+
isGalleryItemElement(element) {
|
|
19076
|
+
var _a;
|
|
19077
|
+
return typeof ((_a = element.style) === null || _a === void 0 ? void 0 : _a.setProperty) === 'function';
|
|
19078
|
+
}
|
|
19062
19079
|
/**
|
|
19063
|
-
* Return all
|
|
19064
|
-
*
|
|
19080
|
+
* Return all gallery items that can be grid items with inline placement styles.
|
|
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.
|
|
19065
19084
|
*/
|
|
19066
19085
|
getItems() {
|
|
19067
|
-
|
|
19086
|
+
const directChildren = Array.from(this.el.children).filter((child) => this.isGalleryItemElement(child));
|
|
19087
|
+
const flattenedItems = [];
|
|
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();
|
|
19106
|
+
return;
|
|
19107
|
+
}
|
|
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));
|
|
19112
|
+
});
|
|
19113
|
+
return flattenedItems;
|
|
19068
19114
|
}
|
|
19069
19115
|
/**
|
|
19070
19116
|
* Clear the item styles for the given item element.
|
|
@@ -19121,11 +19167,14 @@ class Gallery {
|
|
|
19121
19167
|
/**
|
|
19122
19168
|
* Apply masonry placement by assigning each item a column and row span.
|
|
19123
19169
|
*/
|
|
19124
|
-
layoutMasonry(items, rowHeight, rowGap, columns) {
|
|
19170
|
+
layoutMasonry(items, rowHeight, rowGap, itemGap, columns) {
|
|
19125
19171
|
const columnHeights = new Array(columns).fill(0);
|
|
19126
19172
|
const lastItemsByColumn = new Array(columns).fill(undefined);
|
|
19127
19173
|
items.forEach((itemEl, i) => {
|
|
19128
19174
|
itemEl.style.marginBottom = '';
|
|
19175
|
+
if (itemEl.parentElement !== this.el) {
|
|
19176
|
+
itemEl.style.marginBottom = `${itemGap}px`;
|
|
19177
|
+
}
|
|
19129
19178
|
const span = this.calculateRowSpan(itemEl, rowHeight, rowGap);
|
|
19130
19179
|
if (span === undefined) {
|
|
19131
19180
|
this.clearItemStyles(itemEl);
|
|
@@ -19174,11 +19223,11 @@ class Gallery {
|
|
|
19174
19223
|
const { layout } = this;
|
|
19175
19224
|
const order = this.getOrder();
|
|
19176
19225
|
const theme = getIonTheme(this);
|
|
19177
|
-
return (hAsync(Host, { key: '
|
|
19226
|
+
return (hAsync(Host, { key: '0b6ef176032845b3df3b2335be90cb6ce5d791cc', class: {
|
|
19178
19227
|
[theme]: true,
|
|
19179
19228
|
[`gallery-layout-${layout}`]: true,
|
|
19180
19229
|
[`gallery-order-${order}`]: layout === 'masonry' && order !== undefined,
|
|
19181
|
-
} }, hAsync("slot", { key: '
|
|
19230
|
+
} }, hAsync("slot", { key: '247df9bb58b6899da7db60cdd475ccff0872673e', onSlotchange: this.onSlotChange })));
|
|
19182
19231
|
}
|
|
19183
19232
|
get el() { return getElement(this); }
|
|
19184
19233
|
static get watchers() { return {
|
|
@@ -19211,6 +19260,85 @@ class Gallery {
|
|
|
19211
19260
|
}; }
|
|
19212
19261
|
}
|
|
19213
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
|
+
|
|
19214
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}`;
|
|
19215
19343
|
|
|
19216
19344
|
/**
|
|
@@ -19227,10 +19355,10 @@ class Grid {
|
|
|
19227
19355
|
}
|
|
19228
19356
|
render() {
|
|
19229
19357
|
const theme = getIonTheme(this);
|
|
19230
|
-
return (hAsync(Host, { key: '
|
|
19358
|
+
return (hAsync(Host, { key: 'e3320fc2fc5391d26898cc119505cd3be30dd48b', class: {
|
|
19231
19359
|
[theme]: true,
|
|
19232
19360
|
'grid-fixed': this.fixed,
|
|
19233
|
-
} }, hAsync("slot", { key: '
|
|
19361
|
+
} }, hAsync("slot", { key: '2000e6b336c294aadf4585269c301d734d2fe478' })));
|
|
19234
19362
|
}
|
|
19235
19363
|
static get style() { return gridCss(); }
|
|
19236
19364
|
static get cmpMeta() { return {
|
|
@@ -19632,7 +19760,7 @@ class Header {
|
|
|
19632
19760
|
const isCondensed = collapse === 'condense';
|
|
19633
19761
|
// banner role must be at top level, so remove role if inside a menu
|
|
19634
19762
|
const roleType = getRoleType(hostContext('ion-menu', this.el), isCondensed, theme);
|
|
19635
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
19763
|
+
return (hAsync(Host, Object.assign({ key: '3395dedfd5165ba6e9f3ad1a25f0bb5b3678704a', role: roleType, class: {
|
|
19636
19764
|
[theme]: true,
|
|
19637
19765
|
// Used internally for styling
|
|
19638
19766
|
[`header-${theme}`]: true,
|
|
@@ -19640,7 +19768,7 @@ class Header {
|
|
|
19640
19768
|
[`header-collapse-${collapse}`]: true,
|
|
19641
19769
|
[`header-translucent-${theme}`]: this.translucent,
|
|
19642
19770
|
['header-divider']: divider,
|
|
19643
|
-
} }, inheritedAttributes), theme !== 'md' && translucent && hAsync("div", { key: '
|
|
19771
|
+
} }, inheritedAttributes), theme !== 'md' && translucent && hAsync("div", { key: 'cafeb88b6e73d64b264514ea46590fd3477b3052', class: "header-background" }), hAsync("slot", { key: 'ad681aaf866d7e7a5e5e731c0b5d6f5cc9fe94d2' })));
|
|
19644
19772
|
}
|
|
19645
19773
|
get el() { return getElement(this); }
|
|
19646
19774
|
static get style() { return {
|
|
@@ -19991,9 +20119,9 @@ class Img {
|
|
|
19991
20119
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
19992
20120
|
const { draggable } = inheritedAttributes;
|
|
19993
20121
|
const theme = getIonTheme(this);
|
|
19994
|
-
return (hAsync(Host, { key: '
|
|
20122
|
+
return (hAsync(Host, { key: 'ba84621055567b2a35387709d9d89b97ad853274', class: {
|
|
19995
20123
|
[theme]: true,
|
|
19996
|
-
} }, hAsync("img", { key: '
|
|
20124
|
+
} }, hAsync("img", { key: '9d6118bbf69e2cccbb0603802c03b9a0d101e2c3', decoding: "async", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: "image", draggable: isDraggable(draggable) })));
|
|
19997
20125
|
}
|
|
19998
20126
|
get el() { return getElement(this); }
|
|
19999
20127
|
static get watchers() { return {
|
|
@@ -20298,7 +20426,7 @@ class InfiniteScroll {
|
|
|
20298
20426
|
render() {
|
|
20299
20427
|
const theme = getIonTheme(this);
|
|
20300
20428
|
const disabled = this.disabled;
|
|
20301
|
-
return (hAsync(Host, { key: '
|
|
20429
|
+
return (hAsync(Host, { key: 'e3a3cde079dfd6f07e565eb462765df757cbb128', class: {
|
|
20302
20430
|
[theme]: true,
|
|
20303
20431
|
'infinite-scroll-loading': this.isLoading,
|
|
20304
20432
|
'infinite-scroll-enabled': !disabled,
|
|
@@ -20361,11 +20489,11 @@ class InfiniteScrollContent {
|
|
|
20361
20489
|
}
|
|
20362
20490
|
render() {
|
|
20363
20491
|
const theme = getIonTheme(this);
|
|
20364
|
-
return (hAsync(Host, { key: '
|
|
20492
|
+
return (hAsync(Host, { key: '263a27297159ced042f7552a1e14b8c6aba62fa8', class: {
|
|
20365
20493
|
[theme]: true,
|
|
20366
20494
|
// Used internally for styling
|
|
20367
20495
|
[`infinite-scroll-content-${theme}`]: true,
|
|
20368
|
-
} }, 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())));
|
|
20369
20497
|
}
|
|
20370
20498
|
static get style() { return {
|
|
20371
20499
|
ionic: ionicInfiniteScrollContentMdCss(),
|
|
@@ -21113,7 +21241,7 @@ class Input {
|
|
|
21113
21241
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
21114
21242
|
*/
|
|
21115
21243
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
21116
|
-
return (hAsync(Host, { key: '
|
|
21244
|
+
return (hAsync(Host, { key: '3da29d837b5abe22de740ac96c8142422fce537a', class: createColorClasses$1(this.color, {
|
|
21117
21245
|
[theme]: true,
|
|
21118
21246
|
'has-value': hasValue,
|
|
21119
21247
|
'has-focus': hasFocus,
|
|
@@ -21126,7 +21254,7 @@ class Input {
|
|
|
21126
21254
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
21127
21255
|
'input-disabled': disabled,
|
|
21128
21256
|
'input-readonly': readonly,
|
|
21129
|
-
}) }, 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 },
|
|
21130
21258
|
/**
|
|
21131
21259
|
* For the ionic theme, we render the outline container here
|
|
21132
21260
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -21136,14 +21264,14 @@ class Input {
|
|
|
21136
21264
|
* <label> element, ensuring that clicking the label text
|
|
21137
21265
|
* focuses the input.
|
|
21138
21266
|
*/
|
|
21139
|
-
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) => {
|
|
21140
21268
|
/**
|
|
21141
21269
|
* This prevents mobile browsers from
|
|
21142
21270
|
* blurring the input when the clear
|
|
21143
21271
|
* button is activated.
|
|
21144
21272
|
*/
|
|
21145
21273
|
ev.preventDefault();
|
|
21146
|
-
}, 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()));
|
|
21147
21275
|
}
|
|
21148
21276
|
get el() { return getElement(this); }
|
|
21149
21277
|
static get watchers() { return {
|
|
@@ -21908,7 +22036,7 @@ class InputOTP {
|
|
|
21908
22036
|
const tabbableIndex = this.getTabbableIndex();
|
|
21909
22037
|
const pattern = this.getPattern();
|
|
21910
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()) !== '';
|
|
21911
|
-
return (hAsync(Host, { key: '
|
|
22039
|
+
return (hAsync(Host, { key: 'f39e98cd24cbf50f7db4e891dda9499f6def7986', class: createColorClasses$1(color, {
|
|
21912
22040
|
[mode]: true,
|
|
21913
22041
|
'has-focus': hasFocus,
|
|
21914
22042
|
[`input-otp-size-${size}`]: true,
|
|
@@ -21916,10 +22044,10 @@ class InputOTP {
|
|
|
21916
22044
|
[`input-otp-fill-${fill}`]: true,
|
|
21917
22045
|
'input-otp-disabled': disabled,
|
|
21918
22046
|
'input-otp-readonly': readonly,
|
|
21919
|
-
}) }, 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: {
|
|
21920
22048
|
'input-otp-description': true,
|
|
21921
22049
|
'input-otp-description-hidden': !hasDescription,
|
|
21922
|
-
}, part: "description" }, hAsync("slot", { key: '
|
|
22050
|
+
}, part: "description" }, hAsync("slot", { key: '15c7c8549c1788748e1ae31bd227a7f918cb5eca' }))));
|
|
21923
22051
|
}
|
|
21924
22052
|
static get formAssociated() { return true; }
|
|
21925
22053
|
get el() { return getElement(this); }
|
|
@@ -22067,16 +22195,16 @@ class InputPasswordToggle {
|
|
|
22067
22195
|
const { color, inputPasswordHideIcon, inputPasswordShowIcon, type } = this;
|
|
22068
22196
|
const mode = getIonMode$1(this);
|
|
22069
22197
|
const isPasswordVisible = type === 'text';
|
|
22070
|
-
return (hAsync(Host, { key: '
|
|
22198
|
+
return (hAsync(Host, { key: 'f11e3bf4d3255e003aec504e6dd3ee1e0caaf767', class: createColorClasses$1(color, {
|
|
22071
22199
|
[mode]: true,
|
|
22072
|
-
}) }, 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) => {
|
|
22073
22201
|
/**
|
|
22074
22202
|
* This prevents mobile browsers from
|
|
22075
22203
|
* blurring the input when the password toggle
|
|
22076
22204
|
* button is activated.
|
|
22077
22205
|
*/
|
|
22078
22206
|
ev.preventDefault();
|
|
22079
|
-
}, 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 }))));
|
|
22080
22208
|
}
|
|
22081
22209
|
get el() { return getElement(this); }
|
|
22082
22210
|
static get watchers() { return {
|
|
@@ -22451,11 +22579,11 @@ class ItemDivider {
|
|
|
22451
22579
|
}
|
|
22452
22580
|
render() {
|
|
22453
22581
|
const theme = getIonTheme(this);
|
|
22454
|
-
return (hAsync(Host, { key: '
|
|
22582
|
+
return (hAsync(Host, { key: 'dc73f348b5376faa40ba4bc6bba3d5c9e5ec5ab2', class: createColorClasses$1(this.color, {
|
|
22455
22583
|
[theme]: true,
|
|
22456
22584
|
'item-divider-sticky': this.sticky,
|
|
22457
22585
|
item: true,
|
|
22458
|
-
}) }, 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" }))));
|
|
22459
22587
|
}
|
|
22460
22588
|
get el() { return getElement(this); }
|
|
22461
22589
|
static get style() { return {
|
|
@@ -22492,7 +22620,7 @@ class ItemGroup {
|
|
|
22492
22620
|
}
|
|
22493
22621
|
render() {
|
|
22494
22622
|
const theme = getIonTheme(this);
|
|
22495
|
-
return (hAsync(Host, { key: '
|
|
22623
|
+
return (hAsync(Host, { key: '017c8f7cd0258e1864423337ddd1b1cb522f64ed', role: "group", class: {
|
|
22496
22624
|
[theme]: true,
|
|
22497
22625
|
// Used internally for styling
|
|
22498
22626
|
[`item-group-${theme}`]: true,
|
|
@@ -22588,14 +22716,14 @@ class ItemOption {
|
|
|
22588
22716
|
href: this.href,
|
|
22589
22717
|
target: this.target,
|
|
22590
22718
|
};
|
|
22591
|
-
return (hAsync(Host, { key: '
|
|
22719
|
+
return (hAsync(Host, { key: '8f1bad23fd3ccbb9d54d57765e6731cd2ee07306', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
22592
22720
|
[theme]: true,
|
|
22593
22721
|
[`item-option-${shape}`]: shape !== undefined,
|
|
22594
22722
|
[`item-option-${hue}`]: hue !== undefined,
|
|
22595
22723
|
'item-option-disabled': disabled,
|
|
22596
22724
|
'item-option-expandable': expandable,
|
|
22597
22725
|
'ion-activatable': true,
|
|
22598
|
-
}) }, 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' }))));
|
|
22599
22727
|
}
|
|
22600
22728
|
get el() { return getElement(this); }
|
|
22601
22729
|
static get style() { return {
|
|
@@ -22653,7 +22781,7 @@ class ItemOptions {
|
|
|
22653
22781
|
render() {
|
|
22654
22782
|
const theme = getIonTheme(this);
|
|
22655
22783
|
const isEnd = isEndSide(this.side);
|
|
22656
|
-
return (hAsync(Host, { key: '
|
|
22784
|
+
return (hAsync(Host, { key: 'ed05ceebf2cda943ac9efea2f91b71f7e8fc55e8', class: {
|
|
22657
22785
|
[theme]: true,
|
|
22658
22786
|
// Used internally for styling
|
|
22659
22787
|
[`item-options-${theme}`]: true,
|
|
@@ -23505,7 +23633,7 @@ class ItemSliding {
|
|
|
23505
23633
|
}
|
|
23506
23634
|
render() {
|
|
23507
23635
|
const theme = getIonTheme(this);
|
|
23508
|
-
return (hAsync(Host, { key: '
|
|
23636
|
+
return (hAsync(Host, { key: '47de8c8a9721f9223b42d6722a9ad32f378818aa', class: {
|
|
23509
23637
|
[theme]: true,
|
|
23510
23638
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
23511
23639
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -23624,13 +23752,13 @@ class Label {
|
|
|
23624
23752
|
render() {
|
|
23625
23753
|
const position = this.position;
|
|
23626
23754
|
const theme = getIonTheme(this);
|
|
23627
|
-
return (hAsync(Host, { key: '
|
|
23755
|
+
return (hAsync(Host, { key: 'b1f261db441bcb0a325a5b3e21da17764a56f17c', class: createColorClasses$1(this.color, {
|
|
23628
23756
|
[theme]: true,
|
|
23629
23757
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
23630
23758
|
[`label-${position}`]: position !== undefined,
|
|
23631
23759
|
[`label-no-animate`]: this.noAnimate,
|
|
23632
23760
|
'label-rtl': document.dir === 'rtl',
|
|
23633
|
-
}) }, hAsync("slot", { key: '
|
|
23761
|
+
}) }, hAsync("slot", { key: '490444c8c0d4cf72eae3f8abfb7ed7ecc30bb213' })));
|
|
23634
23762
|
}
|
|
23635
23763
|
get el() { return getElement(this); }
|
|
23636
23764
|
static get watchers() { return {
|
|
@@ -23710,7 +23838,7 @@ class List {
|
|
|
23710
23838
|
const theme = getIonTheme(this);
|
|
23711
23839
|
const shape = this.getShape();
|
|
23712
23840
|
const { lines, inset } = this;
|
|
23713
|
-
return (hAsync(Host, { key: '
|
|
23841
|
+
return (hAsync(Host, { key: '9be30ff6e75e020c0db7054800cb874efef26bd8', role: "list", class: {
|
|
23714
23842
|
[theme]: true,
|
|
23715
23843
|
// Used internally for styling
|
|
23716
23844
|
[`list-${theme}`]: true,
|
|
@@ -23760,10 +23888,10 @@ class ListHeader {
|
|
|
23760
23888
|
render() {
|
|
23761
23889
|
const { lines } = this;
|
|
23762
23890
|
const theme = getIonTheme(this);
|
|
23763
|
-
return (hAsync(Host, { key: '
|
|
23891
|
+
return (hAsync(Host, { key: '7a1632a069317285210f4aeae50a6f2ef6955c56', class: createColorClasses$1(this.color, {
|
|
23764
23892
|
[theme]: true,
|
|
23765
23893
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
23766
|
-
}) }, hAsync("div", { key: '
|
|
23894
|
+
}) }, hAsync("div", { key: 'a9a9463f209023da222f38a78126d5aaeb2f03b9', class: "list-header-inner", part: "inner" }, hAsync("slot", { key: 'e3c6ec1b588392d347844d59d338abc339e80634' }))));
|
|
23767
23895
|
}
|
|
23768
23896
|
static get style() { return {
|
|
23769
23897
|
ionic: listHeaderIonicCss(),
|
|
@@ -24052,9 +24180,9 @@ class Loading {
|
|
|
24052
24180
|
* Otherwise, don't set aria-labelledby.
|
|
24053
24181
|
*/
|
|
24054
24182
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
24055
|
-
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: {
|
|
24056
24184
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
24057
|
-
}, 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" })));
|
|
24058
24186
|
}
|
|
24059
24187
|
get el() { return getElement(this); }
|
|
24060
24188
|
static get watchers() { return {
|
|
@@ -25115,14 +25243,14 @@ class Menu {
|
|
|
25115
25243
|
* the ionBackButton listener in the menu controller
|
|
25116
25244
|
* will handle closing the menu when Escape is pressed.
|
|
25117
25245
|
*/
|
|
25118
|
-
return (hAsync(Host, { key: '
|
|
25246
|
+
return (hAsync(Host, { key: '76e15d710fbbbd2e64795224decc3673fd160db0', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
25119
25247
|
[theme]: true,
|
|
25120
25248
|
[`menu-type-${type}`]: true,
|
|
25121
25249
|
'menu-enabled': !disabled,
|
|
25122
25250
|
[`menu-side-${side}`]: true,
|
|
25123
25251
|
'menu-pane-visible': isPaneVisible,
|
|
25124
25252
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
25125
|
-
} }, 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" })));
|
|
25126
25254
|
}
|
|
25127
25255
|
get el() { return getElement(this); }
|
|
25128
25256
|
static get watchers() { return {
|
|
@@ -25256,7 +25384,7 @@ class MenuButton {
|
|
|
25256
25384
|
type: this.type,
|
|
25257
25385
|
};
|
|
25258
25386
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
25259
|
-
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, {
|
|
25260
25388
|
[theme]: true,
|
|
25261
25389
|
button: true, // ion-buttons target .button
|
|
25262
25390
|
'menu-button-hidden': hidden,
|
|
@@ -25265,7 +25393,7 @@ class MenuButton {
|
|
|
25265
25393
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
25266
25394
|
'ion-activatable': true,
|
|
25267
25395
|
'ion-focusable': true,
|
|
25268
|
-
}) }, 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" }))));
|
|
25269
25397
|
}
|
|
25270
25398
|
get el() { return getElement(this); }
|
|
25271
25399
|
static get style() { return {
|
|
@@ -25322,10 +25450,10 @@ class MenuToggle {
|
|
|
25322
25450
|
render() {
|
|
25323
25451
|
const theme = getIonTheme(this);
|
|
25324
25452
|
const hidden = this.autoHide && !this.visible;
|
|
25325
|
-
return (hAsync(Host, { key: '
|
|
25453
|
+
return (hAsync(Host, { key: '9ef631d9ae370a8740e691d281863203bfdddc38', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
25326
25454
|
[theme]: true,
|
|
25327
25455
|
'menu-toggle-hidden': hidden,
|
|
25328
|
-
} }, hAsync("slot", { key: '
|
|
25456
|
+
} }, hAsync("slot", { key: 'f8d9dfc562ed625ae47ec771ef6b2ea04bc463f4' })));
|
|
25329
25457
|
}
|
|
25330
25458
|
static get style() { return menuToggleCss(); }
|
|
25331
25459
|
static get cmpMeta() { return {
|
|
@@ -28828,20 +28956,20 @@ class Modal {
|
|
|
28828
28956
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
28829
28957
|
const shape = this.getShape();
|
|
28830
28958
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
28831
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
28959
|
+
return (hAsync(Host, Object.assign({ key: '9e6dc8544831a6bda7e4e9387a49cb334ab9bc39', "no-router": true,
|
|
28832
28960
|
// Allow the modal to be navigable when the handle is focusable
|
|
28833
28961
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
28834
28962
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
28835
|
-
}, 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',
|
|
28836
28964
|
/*
|
|
28837
28965
|
role and aria-modal must be used on the
|
|
28838
28966
|
same element. They must also be set inside the
|
|
28839
28967
|
shadow DOM otherwise ion-button will not be highlighted
|
|
28840
28968
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
28841
28969
|
*/
|
|
28842
|
-
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",
|
|
28843
28971
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
28844
|
-
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 }))));
|
|
28845
28973
|
}
|
|
28846
28974
|
get el() { return getElement(this); }
|
|
28847
28975
|
static get watchers() { return {
|
|
@@ -29801,7 +29929,7 @@ class Nav {
|
|
|
29801
29929
|
}
|
|
29802
29930
|
}
|
|
29803
29931
|
render() {
|
|
29804
|
-
return hAsync("slot", { key: '
|
|
29932
|
+
return hAsync("slot", { key: '3dfe9c2a5f3ea75cb6d82b76b240733105cddfad' });
|
|
29805
29933
|
}
|
|
29806
29934
|
get el() { return getElement(this); }
|
|
29807
29935
|
static get watchers() { return {
|
|
@@ -29882,7 +30010,7 @@ class NavLink {
|
|
|
29882
30010
|
};
|
|
29883
30011
|
}
|
|
29884
30012
|
render() {
|
|
29885
|
-
return hAsync(Host, { key: '
|
|
30013
|
+
return hAsync(Host, { key: '476bfb5bb6fba4f422ec40315fc3ef466d01f757', onClick: this.onClick });
|
|
29886
30014
|
}
|
|
29887
30015
|
get el() { return getElement(this); }
|
|
29888
30016
|
static get cmpMeta() { return {
|
|
@@ -29916,9 +30044,9 @@ class Note {
|
|
|
29916
30044
|
}
|
|
29917
30045
|
render() {
|
|
29918
30046
|
const theme = getIonTheme(this);
|
|
29919
|
-
return (hAsync(Host, { key: '
|
|
30047
|
+
return (hAsync(Host, { key: '376ae1c66c19d1bdd74a2371c0639ed9e49648b5', class: createColorClasses$1(this.color, {
|
|
29920
30048
|
[theme]: true,
|
|
29921
|
-
}) }, hAsync("slot", { key: '
|
|
30049
|
+
}) }, hAsync("slot", { key: 'f8168cd88bb21c5e5a2b03c29539729fb38a19fd' })));
|
|
29922
30050
|
}
|
|
29923
30051
|
static get style() { return {
|
|
29924
30052
|
ionic: ionicNoteMdCss(),
|
|
@@ -30684,11 +30812,11 @@ class Picker {
|
|
|
30684
30812
|
render() {
|
|
30685
30813
|
const { htmlAttributes } = this;
|
|
30686
30814
|
const theme = getIonTheme(this);
|
|
30687
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
30815
|
+
return (hAsync(Host, Object.assign({ key: '681ad6d20efa16f1d6c6f9a7d03caec2b17ff36e', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
30688
30816
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
30689
30817
|
}, class: Object.assign({ [theme]: true,
|
|
30690
30818
|
// Used internally for styling
|
|
30691
|
-
[`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" })));
|
|
30692
30820
|
}
|
|
30693
30821
|
get el() { return getElement(this); }
|
|
30694
30822
|
static get watchers() { return {
|
|
@@ -31666,9 +31794,9 @@ class PickerColumnCmp {
|
|
|
31666
31794
|
render() {
|
|
31667
31795
|
const col = this.col;
|
|
31668
31796
|
const theme = getIonTheme(this);
|
|
31669
|
-
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: {
|
|
31670
31798
|
'max-width': this.col.columnWidth,
|
|
31671
|
-
} }, 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))));
|
|
31672
31800
|
}
|
|
31673
31801
|
get el() { return getElement(this); }
|
|
31674
31802
|
static get watchers() { return {
|
|
@@ -31793,10 +31921,10 @@ class PickerColumnOption {
|
|
|
31793
31921
|
render() {
|
|
31794
31922
|
const { color, disabled, ariaLabel } = this;
|
|
31795
31923
|
const theme = getIonTheme(this);
|
|
31796
|
-
return (hAsync(Host, { key: '
|
|
31924
|
+
return (hAsync(Host, { key: 'fe9553e3157d35f5c28a3f2457715bd598ec1e00', class: createColorClasses$1(color, {
|
|
31797
31925
|
[theme]: true,
|
|
31798
31926
|
['option-disabled']: disabled,
|
|
31799
|
-
}) }, 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' }))));
|
|
31800
31928
|
}
|
|
31801
31929
|
get el() { return getElement(this); }
|
|
31802
31930
|
static get watchers() { return {
|
|
@@ -33365,9 +33493,9 @@ class Popover {
|
|
|
33365
33493
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
33366
33494
|
const desktop = isPlatform('desktop');
|
|
33367
33495
|
const enableArrow = arrow && !parentPopover;
|
|
33368
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
33496
|
+
return (hAsync(Host, Object.assign({ key: '3319e6ea7524a30478985c014634403aceedab6f', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
33369
33497
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
33370
|
-
}, 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' })))));
|
|
33371
33499
|
}
|
|
33372
33500
|
get el() { return getElement(this); }
|
|
33373
33501
|
static get watchers() { return {
|
|
@@ -33495,7 +33623,7 @@ class ProgressBar {
|
|
|
33495
33623
|
const shape = this.getShape();
|
|
33496
33624
|
// If the progress is displayed as a solid bar.
|
|
33497
33625
|
const progressSolid = buffer === 1;
|
|
33498
|
-
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, {
|
|
33499
33627
|
[theme]: true,
|
|
33500
33628
|
[`progress-bar-${type}`]: true,
|
|
33501
33629
|
'progress-paused': paused,
|
|
@@ -33688,7 +33816,7 @@ class Radio {
|
|
|
33688
33816
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
33689
33817
|
const theme = getIonTheme(this);
|
|
33690
33818
|
const inItem = hostContext('ion-item', el);
|
|
33691
|
-
return (hAsync(Host, { key: '
|
|
33819
|
+
return (hAsync(Host, { key: 'e9591254a3823435617732dcf415ea4bb5fa4d62', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses$1(color, {
|
|
33692
33820
|
[theme]: true,
|
|
33693
33821
|
'in-item': inItem,
|
|
33694
33822
|
'radio-checked': checked,
|
|
@@ -33699,10 +33827,10 @@ class Radio {
|
|
|
33699
33827
|
// Focus and active styling should not apply when the radio is in an item
|
|
33700
33828
|
'ion-activatable': !inItem,
|
|
33701
33829
|
'ion-focusable': !inItem,
|
|
33702
|
-
}), 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: {
|
|
33703
33831
|
'label-text-wrapper': true,
|
|
33704
33832
|
'label-text-wrapper-hidden': !hasLabel,
|
|
33705
|
-
}, part: "label" }, hAsync("slot", { key: '
|
|
33833
|
+
}, part: "label" }, hAsync("slot", { key: 'a77d60be10ece9c80bab6e5c2a24533eede95362' })), hAsync("div", { key: 'e687dc6686b0748a1a3337cd87a01c01315c0f22', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
33706
33834
|
}
|
|
33707
33835
|
get el() { return getElement(this); }
|
|
33708
33836
|
static get watchers() { return {
|
|
@@ -33972,10 +34100,10 @@ class RadioGroup {
|
|
|
33972
34100
|
const { label, labelId, el, name, value } = this;
|
|
33973
34101
|
const theme = getIonTheme(this);
|
|
33974
34102
|
renderHiddenInput(true, el, name, value, false);
|
|
33975
|
-
return (hAsync(Host, { key: '
|
|
34103
|
+
return (hAsync(Host, { key: '8a57b258087569c2fb13ddaa6e83e06822c05a4d', class: {
|
|
33976
34104
|
[theme]: true,
|
|
33977
34105
|
'in-list': hostContext('ion-list', el),
|
|
33978
|
-
}, 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' })));
|
|
33979
34107
|
}
|
|
33980
34108
|
get el() { return getElement(this); }
|
|
33981
34109
|
static get watchers() { return {
|
|
@@ -34825,7 +34953,7 @@ class Range {
|
|
|
34825
34953
|
const valueAtMin = dualKnobs ? this.valA === min || this.valB === min : this.valA === min;
|
|
34826
34954
|
const valueAtMax = dualKnobs ? this.valA === max || this.valB === max : this.valA === max;
|
|
34827
34955
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
34828
|
-
return (hAsync(Host, { key: '
|
|
34956
|
+
return (hAsync(Host, { key: '0f39669a81cfb08a3aca6998b95bda68f5076306', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses$1(this.color, {
|
|
34829
34957
|
[theme]: true,
|
|
34830
34958
|
'in-item': inItem,
|
|
34831
34959
|
'range-disabled': disabled,
|
|
@@ -34839,10 +34967,10 @@ class Range {
|
|
|
34839
34967
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
34840
34968
|
'range-value-min': valueAtMin,
|
|
34841
34969
|
'range-value-max': valueAtMax,
|
|
34842
|
-
}) }, hAsync("label", { key: '
|
|
34970
|
+
}) }, hAsync("label", { key: 'c1615da8ac01fccb650a8d1eb6b6b69562634e2f', class: "range-wrapper", id: "range-label" }, hAsync("div", { key: 'ba530e76d0253f457b04bbd8403d9a02ac859cfe', class: {
|
|
34843
34971
|
'label-text-wrapper': true,
|
|
34844
34972
|
'label-text-wrapper-hidden': !hasLabel,
|
|
34845
|
-
}, 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" })))));
|
|
34846
34974
|
}
|
|
34847
34975
|
get el() { return getElement(this); }
|
|
34848
34976
|
static get watchers() { return {
|
|
@@ -35917,7 +36045,7 @@ class Refresher {
|
|
|
35917
36045
|
}
|
|
35918
36046
|
render() {
|
|
35919
36047
|
const theme = getIonTheme(this);
|
|
35920
|
-
return (hAsync(Host, { key: '
|
|
36048
|
+
return (hAsync(Host, { key: '5761384ab0eb88600ad036b6fdbebf8e5150e6b8', slot: "fixed", class: {
|
|
35921
36049
|
[theme]: true,
|
|
35922
36050
|
// Used internally for styling
|
|
35923
36051
|
[`refresher-${theme}`]: true,
|
|
@@ -36156,9 +36284,9 @@ class RefresherContent {
|
|
|
36156
36284
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
36157
36285
|
const theme = getIonTheme(this);
|
|
36158
36286
|
const arrowIcon = theme === 'ionic' ? caretLeftFillSvg : caretBackSharp;
|
|
36159
|
-
return (hAsync(Host, { key: '
|
|
36287
|
+
return (hAsync(Host, { key: '3d2d138e485b3b2beae47b9ea4e140f0b9647434', class: {
|
|
36160
36288
|
[theme]: true,
|
|
36161
|
-
} }, 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())));
|
|
36162
36290
|
}
|
|
36163
36291
|
get el() { return getElement(this); }
|
|
36164
36292
|
static get style() { return {
|
|
@@ -36227,9 +36355,9 @@ class Reorder {
|
|
|
36227
36355
|
render() {
|
|
36228
36356
|
const { reorderHandleIcon } = this;
|
|
36229
36357
|
const theme = getIonTheme(this);
|
|
36230
|
-
return (hAsync(Host, { key: '
|
|
36358
|
+
return (hAsync(Host, { key: 'bc0b4cd34db6dfe794ab66a785d406bfc02236c5', class: {
|
|
36231
36359
|
[theme]: true,
|
|
36232
|
-
} }, 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" }))));
|
|
36233
36361
|
}
|
|
36234
36362
|
get el() { return getElement(this); }
|
|
36235
36363
|
static get style() { return {
|
|
@@ -36505,7 +36633,7 @@ class ReorderGroup {
|
|
|
36505
36633
|
}
|
|
36506
36634
|
render() {
|
|
36507
36635
|
const theme = getIonTheme(this);
|
|
36508
|
-
return (hAsync(Host, { key: '
|
|
36636
|
+
return (hAsync(Host, { key: 'c095e5428be9f446f245d37a12653978bb2bc2b6', class: {
|
|
36509
36637
|
[theme]: true,
|
|
36510
36638
|
'reorder-enabled': !this.disabled,
|
|
36511
36639
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -36631,7 +36759,7 @@ class RippleEffect {
|
|
|
36631
36759
|
}
|
|
36632
36760
|
render() {
|
|
36633
36761
|
const theme = getIonTheme(this);
|
|
36634
|
-
return (hAsync(Host, { key: '
|
|
36762
|
+
return (hAsync(Host, { key: '51fe7517d41c643bd4e746f366f513c42dac17dc', role: "presentation", class: {
|
|
36635
36763
|
[theme]: true,
|
|
36636
36764
|
unbounded: this.unbounded,
|
|
36637
36765
|
} }));
|
|
@@ -37616,10 +37744,10 @@ class RouterLink {
|
|
|
37616
37744
|
rel: this.rel,
|
|
37617
37745
|
target: this.target,
|
|
37618
37746
|
};
|
|
37619
|
-
return (hAsync(Host, { key: '
|
|
37747
|
+
return (hAsync(Host, { key: '84efbafddc586ee3f616d4e1a13118c04d9b2753', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
37620
37748
|
[theme]: true,
|
|
37621
37749
|
'ion-activatable': true,
|
|
37622
|
-
}) }, hAsync("a", Object.assign({ key: '
|
|
37750
|
+
}) }, hAsync("a", Object.assign({ key: 'e8c7cda4c00ec45548ea52b632bc4adb07f9460c' }, attrs), hAsync("slot", { key: '133bf1203a3e218e3868b4cfda00bb753ecea946' }))));
|
|
37623
37751
|
}
|
|
37624
37752
|
static get style() { return routerLinkCss(); }
|
|
37625
37753
|
static get cmpMeta() { return {
|
|
@@ -37819,7 +37947,7 @@ class RouterOutlet {
|
|
|
37819
37947
|
return true;
|
|
37820
37948
|
}
|
|
37821
37949
|
render() {
|
|
37822
|
-
return hAsync("slot", { key: '
|
|
37950
|
+
return hAsync("slot", { key: '56e3d06ed939755796058e30ef19fbc7f7cb490d' });
|
|
37823
37951
|
}
|
|
37824
37952
|
get el() { return getElement(this); }
|
|
37825
37953
|
static get watchers() { return {
|
|
@@ -37859,9 +37987,9 @@ class Row {
|
|
|
37859
37987
|
}
|
|
37860
37988
|
render() {
|
|
37861
37989
|
const theme = getIonTheme(this);
|
|
37862
|
-
return (hAsync(Host, { key: '
|
|
37990
|
+
return (hAsync(Host, { key: '3a3c40062d2d0487c61dedbb172215b87bb425b1', class: {
|
|
37863
37991
|
[theme]: true,
|
|
37864
|
-
} }, hAsync("slot", { key: '
|
|
37992
|
+
} }, hAsync("slot", { key: '164f457f6f7853ed8f7279d20bc6ede6cf9d3e5c' })));
|
|
37865
37993
|
}
|
|
37866
37994
|
static get style() { return rowCss(); }
|
|
37867
37995
|
static get cmpMeta() { return {
|
|
@@ -38420,8 +38548,8 @@ class Searchbar {
|
|
|
38420
38548
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
38421
38549
|
const shape = this.getShape();
|
|
38422
38550
|
const size = this.getSize();
|
|
38423
|
-
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '
|
|
38424
|
-
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, {
|
|
38425
38553
|
[theme]: true,
|
|
38426
38554
|
'searchbar-animated': animated,
|
|
38427
38555
|
'searchbar-disabled': this.disabled,
|
|
@@ -38435,14 +38563,14 @@ class Searchbar {
|
|
|
38435
38563
|
[`searchbar-shape-${shape}`]: shape !== undefined,
|
|
38436
38564
|
[`searchbar-size-${size}`]: size !== undefined,
|
|
38437
38565
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
38438
|
-
}) }, 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) => {
|
|
38439
38567
|
/**
|
|
38440
38568
|
* This prevents mobile browsers from
|
|
38441
38569
|
* blurring the input when the clear
|
|
38442
38570
|
* button is activated.
|
|
38443
38571
|
*/
|
|
38444
38572
|
ev.preventDefault();
|
|
38445
|
-
}, 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));
|
|
38446
38574
|
}
|
|
38447
38575
|
get el() { return getElement(this); }
|
|
38448
38576
|
static get watchers() { return {
|
|
@@ -39057,14 +39185,14 @@ class Segment {
|
|
|
39057
39185
|
}
|
|
39058
39186
|
render() {
|
|
39059
39187
|
const theme = getIonTheme(this);
|
|
39060
|
-
return (hAsync(Host, { key: '
|
|
39188
|
+
return (hAsync(Host, { key: '65c576c0bb9ff0602793f75321d676a34b306b3b', role: "tablist", onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
39061
39189
|
[theme]: true,
|
|
39062
39190
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
39063
39191
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
39064
39192
|
'segment-activated': this.activated,
|
|
39065
39193
|
'segment-disabled': this.disabled,
|
|
39066
39194
|
'segment-scrollable': this.scrollable,
|
|
39067
|
-
}) }, hAsync("slot", { key: '
|
|
39195
|
+
}) }, hAsync("slot", { key: '210750a65ccada549bccf026871477ee2b7bdc69', onSlotchange: this.onSlottedItemsChange })));
|
|
39068
39196
|
}
|
|
39069
39197
|
get el() { return getElement(this); }
|
|
39070
39198
|
static get watchers() { return {
|
|
@@ -39216,7 +39344,7 @@ class SegmentButton {
|
|
|
39216
39344
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
39217
39345
|
const theme = getIonTheme(this);
|
|
39218
39346
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
39219
|
-
return (hAsync(Host, { key: '
|
|
39347
|
+
return (hAsync(Host, { key: 'da5c8352e5e0f3a01211edbc39c5043cadc5b06f', class: {
|
|
39220
39348
|
[theme]: true,
|
|
39221
39349
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
39222
39350
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -39232,7 +39360,7 @@ class SegmentButton {
|
|
|
39232
39360
|
'ion-activatable': true,
|
|
39233
39361
|
'ion-activatable-instant': true,
|
|
39234
39362
|
'ion-focusable': true,
|
|
39235
|
-
} }, 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" }))));
|
|
39236
39364
|
}
|
|
39237
39365
|
get el() { return getElement(this); }
|
|
39238
39366
|
static get watchers() { return {
|
|
@@ -39270,7 +39398,7 @@ class SegmentContent {
|
|
|
39270
39398
|
registerInstance(this, hostRef);
|
|
39271
39399
|
}
|
|
39272
39400
|
render() {
|
|
39273
|
-
return (hAsync(Host, { key: '
|
|
39401
|
+
return (hAsync(Host, { key: '2f43cadcbcb1a9423b30e7abc169ff923a8c431f' }, hAsync("slot", { key: 'c3a6d3e9c336f5124cdec9f37ef516324558073c' })));
|
|
39274
39402
|
}
|
|
39275
39403
|
static get style() { return segmentContentCss(); }
|
|
39276
39404
|
static get cmpMeta() { return {
|
|
@@ -39398,11 +39526,11 @@ class SegmentView {
|
|
|
39398
39526
|
}
|
|
39399
39527
|
render() {
|
|
39400
39528
|
const { disabled, isManualScroll, swipeGesture } = this;
|
|
39401
|
-
return (hAsync(Host, { key: '
|
|
39529
|
+
return (hAsync(Host, { key: '8d1aa594c5674bca376ee3e9b18b60b0925dd875', class: {
|
|
39402
39530
|
'segment-view-disabled': disabled,
|
|
39403
39531
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
39404
39532
|
'segment-view-swipe-disabled': swipeGesture === false,
|
|
39405
|
-
} }, hAsync("slot", { key: '
|
|
39533
|
+
} }, hAsync("slot", { key: '6375fa794ae615b74a70968718aadefa0a9fc1d6' })));
|
|
39406
39534
|
}
|
|
39407
39535
|
get el() { return getElement(this); }
|
|
39408
39536
|
static get style() { return {
|
|
@@ -40338,7 +40466,7 @@ class Select {
|
|
|
40338
40466
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
40339
40467
|
*/
|
|
40340
40468
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
40341
|
-
return (hAsync(Host, { key: '
|
|
40469
|
+
return (hAsync(Host, { key: 'c8fc8ffc5e66fa0deef9556f365d8d95ff652b5d', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
40342
40470
|
[theme]: true,
|
|
40343
40471
|
'in-item': inItem,
|
|
40344
40472
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -40357,7 +40485,7 @@ class Select {
|
|
|
40357
40485
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
40358
40486
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
40359
40487
|
[`select-size-${size}`]: size !== undefined,
|
|
40360
|
-
}) }, 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" },
|
|
40361
40489
|
/**
|
|
40362
40490
|
* For the ionic theme, we render the outline container here
|
|
40363
40491
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -40367,7 +40495,7 @@ class Select {
|
|
|
40367
40495
|
* <label> element, ensuring that clicking the label text
|
|
40368
40496
|
* focuses the select.
|
|
40369
40497
|
*/
|
|
40370
|
-
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()));
|
|
40371
40499
|
}
|
|
40372
40500
|
get el() { return getElement(this); }
|
|
40373
40501
|
static get watchers() { return {
|
|
@@ -40759,7 +40887,7 @@ class SelectModal {
|
|
|
40759
40887
|
});
|
|
40760
40888
|
}
|
|
40761
40889
|
render() {
|
|
40762
|
-
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()))));
|
|
40763
40891
|
}
|
|
40764
40892
|
get el() { return getElement(this); }
|
|
40765
40893
|
static get style() { return {
|
|
@@ -40804,7 +40932,7 @@ class SelectOption {
|
|
|
40804
40932
|
}
|
|
40805
40933
|
render() {
|
|
40806
40934
|
const theme = getIonTheme(this);
|
|
40807
|
-
return (hAsync(Host, { key: '
|
|
40935
|
+
return (hAsync(Host, { key: 'd7baa96e166b66c8f14c97e56674db4dfec2152c', class: {
|
|
40808
40936
|
[theme]: true,
|
|
40809
40937
|
}, role: "option", id: this.inputId }));
|
|
40810
40938
|
}
|
|
@@ -40973,9 +41101,9 @@ class SelectPopover {
|
|
|
40973
41101
|
const { header, message, options, subHeader } = this;
|
|
40974
41102
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
40975
41103
|
const theme = getIonTheme(this);
|
|
40976
|
-
return (hAsync(Host, { key: '
|
|
41104
|
+
return (hAsync(Host, { key: '47062077a192fb05f662f30c68e9c12323a69e47', class: {
|
|
40977
41105
|
[theme]: true,
|
|
40978
|
-
} }, 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))));
|
|
40979
41107
|
}
|
|
40980
41108
|
get el() { return getElement(this); }
|
|
40981
41109
|
static get style() { return {
|
|
@@ -41030,11 +41158,11 @@ class SkeletonText {
|
|
|
41030
41158
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
41031
41159
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
41032
41160
|
const theme = getIonTheme(this);
|
|
41033
|
-
return (hAsync(Host, { key: '
|
|
41161
|
+
return (hAsync(Host, { key: '370451ee8963b776079f5df365f7bbd70a53b270', class: {
|
|
41034
41162
|
[theme]: true,
|
|
41035
41163
|
'skeleton-text-animated': animated,
|
|
41036
41164
|
'in-media': inMedia,
|
|
41037
|
-
} }, hAsync("span", { key: '
|
|
41165
|
+
} }, hAsync("span", { key: '2b861b4ec86cbd61927ab7b81b13517c99dc94c7' }, "\u00A0")));
|
|
41038
41166
|
}
|
|
41039
41167
|
get el() { return getElement(this); }
|
|
41040
41168
|
static get style() { return skeletonTextCss(); }
|
|
@@ -41107,7 +41235,7 @@ class Spinner {
|
|
|
41107
41235
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
41108
41236
|
}
|
|
41109
41237
|
}
|
|
41110
|
-
return (hAsync(Host, { key: '
|
|
41238
|
+
return (hAsync(Host, { key: 'b6559d1626b56a1c63580862263a15798f7d3f71', class: createColorClasses$1(self.color, {
|
|
41111
41239
|
[theme]: true,
|
|
41112
41240
|
[`spinner-${spinnerName}`]: true,
|
|
41113
41241
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -41219,12 +41347,12 @@ class SplitPane {
|
|
|
41219
41347
|
}
|
|
41220
41348
|
render() {
|
|
41221
41349
|
const theme = getIonTheme(this);
|
|
41222
|
-
return (hAsync(Host, { key: '
|
|
41350
|
+
return (hAsync(Host, { key: 'b933156f8f9d8ce418ff0d39526967f9653d6639', class: {
|
|
41223
41351
|
[theme]: true,
|
|
41224
41352
|
// Used internally for styling
|
|
41225
41353
|
[`split-pane-${theme}`]: true,
|
|
41226
41354
|
'split-pane-visible': this.visible,
|
|
41227
|
-
} }, hAsync("slot", { key: '
|
|
41355
|
+
} }, hAsync("slot", { key: '3ec0a11e5506386747dc972ccb094359ca975bae' })));
|
|
41228
41356
|
}
|
|
41229
41357
|
get el() { return getElement(this); }
|
|
41230
41358
|
static get watchers() { return {
|
|
@@ -41301,10 +41429,10 @@ class Tab {
|
|
|
41301
41429
|
}
|
|
41302
41430
|
render() {
|
|
41303
41431
|
const { tab, active, component } = this;
|
|
41304
|
-
return (hAsync(Host, { key: '
|
|
41432
|
+
return (hAsync(Host, { key: '8b978f848d43898feafa7daa3e3d9819be833038', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
41305
41433
|
'ion-page': component === undefined,
|
|
41306
41434
|
'tab-hidden': !active,
|
|
41307
|
-
} }, hAsync("slot", { key: '
|
|
41435
|
+
} }, hAsync("slot", { key: '96a92d86cecc8c9ef4f11d310f7f87bb99ce4e50' })));
|
|
41308
41436
|
}
|
|
41309
41437
|
get el() { return getElement(this); }
|
|
41310
41438
|
static get watchers() { return {
|
|
@@ -41511,7 +41639,7 @@ class TabBar {
|
|
|
41511
41639
|
const theme = getIonTheme(this);
|
|
41512
41640
|
const shape = this.getShape();
|
|
41513
41641
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
41514
|
-
return (hAsync(Host, { key: '
|
|
41642
|
+
return (hAsync(Host, { key: '16cd11a815d777a7517150b49b57a204c83c3c37', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses$1(color, {
|
|
41515
41643
|
[theme]: true,
|
|
41516
41644
|
'tab-bar-translucent': translucent,
|
|
41517
41645
|
'tab-bar-hidden': shouldHide,
|
|
@@ -41519,7 +41647,7 @@ class TabBar {
|
|
|
41519
41647
|
'tab-bar-scroll-hidden': scrollHidden,
|
|
41520
41648
|
[`tab-bar-${expand}`]: true,
|
|
41521
41649
|
[`tab-bar-${shape}`]: shape !== undefined,
|
|
41522
|
-
}) }, hAsync("slot", { key: '
|
|
41650
|
+
}) }, hAsync("slot", { key: 'dfdff308f24b3addaf18528a8d869b3fc64306d1' })));
|
|
41523
41651
|
}
|
|
41524
41652
|
get el() { return getElement(this); }
|
|
41525
41653
|
static get watchers() { return {
|
|
@@ -41647,7 +41775,7 @@ class TabButton {
|
|
|
41647
41775
|
rel,
|
|
41648
41776
|
target,
|
|
41649
41777
|
};
|
|
41650
|
-
return (hAsync(Host, { key: '
|
|
41778
|
+
return (hAsync(Host, { key: 'e4d3aaefcdc42677f7818c51ec1ec0a9cbcf8bcf', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
41651
41779
|
[theme]: true,
|
|
41652
41780
|
'tab-selected': selected,
|
|
41653
41781
|
'tab-disabled': disabled,
|
|
@@ -41660,7 +41788,7 @@ class TabButton {
|
|
|
41660
41788
|
'ion-selectable': true,
|
|
41661
41789
|
[`tab-button-shape-${shape}`]: shape !== undefined,
|
|
41662
41790
|
'ion-focusable': true,
|
|
41663
|
-
} }, 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" }))));
|
|
41664
41792
|
}
|
|
41665
41793
|
get el() { return getElement(this); }
|
|
41666
41794
|
static get style() { return {
|
|
@@ -41856,7 +41984,7 @@ class Tabs {
|
|
|
41856
41984
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
41857
41985
|
}
|
|
41858
41986
|
render() {
|
|
41859
|
-
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" })));
|
|
41860
41988
|
}
|
|
41861
41989
|
get el() { return getElement(this); }
|
|
41862
41990
|
static get style() { return tabsCss(); }
|
|
@@ -41897,9 +42025,9 @@ class Text {
|
|
|
41897
42025
|
}
|
|
41898
42026
|
render() {
|
|
41899
42027
|
const theme = getIonTheme(this);
|
|
41900
|
-
return (hAsync(Host, { key: '
|
|
42028
|
+
return (hAsync(Host, { key: '8fc5565ce579f8e2a9eddbaa7c93264291080bce', class: createColorClasses$1(this.color, {
|
|
41901
42029
|
[theme]: true,
|
|
41902
|
-
}) }, hAsync("slot", { key: '
|
|
42030
|
+
}) }, hAsync("slot", { key: '5be1d661ee3a6f1f9d9428b59e830672faf475b1' })));
|
|
41903
42031
|
}
|
|
41904
42032
|
static get style() { return textCss(); }
|
|
41905
42033
|
static get cmpMeta() { return {
|
|
@@ -42463,7 +42591,7 @@ class Textarea {
|
|
|
42463
42591
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
42464
42592
|
*/
|
|
42465
42593
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
42466
|
-
return (hAsync(Host, { key: '
|
|
42594
|
+
return (hAsync(Host, { key: 'a67ef5f3107776dcd8490bdd2af4a373ae422899', class: createColorClasses$1(this.color, {
|
|
42467
42595
|
[theme]: true,
|
|
42468
42596
|
'has-value': hasValue,
|
|
42469
42597
|
'has-focus': hasFocus,
|
|
@@ -42475,7 +42603,7 @@ class Textarea {
|
|
|
42475
42603
|
'in-item': inItem,
|
|
42476
42604
|
'textarea-disabled': disabled,
|
|
42477
42605
|
'textarea-readonly': readonly,
|
|
42478
|
-
}) }, 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" },
|
|
42479
42607
|
/**
|
|
42480
42608
|
* For the ionic theme, we render the outline container here
|
|
42481
42609
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -42485,7 +42613,7 @@ class Textarea {
|
|
|
42485
42613
|
* <label> element, ensuring that clicking the label text
|
|
42486
42614
|
* focuses the textarea.
|
|
42487
42615
|
*/
|
|
42488
|
-
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()));
|
|
42489
42617
|
}
|
|
42490
42618
|
static get delegatesFocus() { return true; }
|
|
42491
42619
|
static get formAssociated() { return true; }
|
|
@@ -42569,9 +42697,9 @@ class Thumbnail {
|
|
|
42569
42697
|
}
|
|
42570
42698
|
render() {
|
|
42571
42699
|
const theme = getIonTheme(this);
|
|
42572
|
-
return (hAsync(Host, { key: '
|
|
42700
|
+
return (hAsync(Host, { key: 'fdf9d92949a1e8cf6faded77ffed084f74fc040b', class: {
|
|
42573
42701
|
[theme]: true,
|
|
42574
|
-
} }, hAsync("slot", { key: '
|
|
42702
|
+
} }, hAsync("slot", { key: 'e1b1439c035d9a9503efd1c1a04aed9f4e8e0af7' })));
|
|
42575
42703
|
}
|
|
42576
42704
|
static get style() { return thumbnailCss(); }
|
|
42577
42705
|
static get cmpMeta() { return {
|
|
@@ -43455,9 +43583,9 @@ class Toast {
|
|
|
43455
43583
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
43456
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);
|
|
43457
43585
|
}
|
|
43458
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
43586
|
+
return (hAsync(Host, Object.assign({ key: 'f0d62f099dd68f8f541110a60695c2a083c6a4d5', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
43459
43587
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
43460
|
-
}, 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')))));
|
|
43461
43589
|
}
|
|
43462
43590
|
get el() { return getElement(this); }
|
|
43463
43591
|
static get watchers() { return {
|
|
@@ -43833,7 +43961,7 @@ class Toggle {
|
|
|
43833
43961
|
const rtl = isRTL$1(el) ? 'rtl' : 'ltr';
|
|
43834
43962
|
const isIonicTheme = theme === 'ionic';
|
|
43835
43963
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
43836
|
-
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, {
|
|
43837
43965
|
[theme]: true,
|
|
43838
43966
|
'in-item': hostContext('ion-item', el),
|
|
43839
43967
|
'toggle-activated': activated,
|
|
@@ -43845,10 +43973,10 @@ class Toggle {
|
|
|
43845
43973
|
[`toggle-${rtl}`]: true,
|
|
43846
43974
|
'ion-activatable': isIonicTheme,
|
|
43847
43975
|
'ion-focusable': isIonicTheme,
|
|
43848
|
-
}) }, 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: {
|
|
43849
43977
|
'label-text-wrapper': true,
|
|
43850
43978
|
'label-text-wrapper-hidden': !hasLabel,
|
|
43851
|
-
}, 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()))));
|
|
43852
43980
|
}
|
|
43853
43981
|
get el() { return getElement(this); }
|
|
43854
43982
|
static get watchers() { return {
|
|
@@ -44140,11 +44268,11 @@ class Toolbar {
|
|
|
44140
44268
|
Object.assign(childStyles, style);
|
|
44141
44269
|
});
|
|
44142
44270
|
const titlePlacement = this.getTitlePlacement();
|
|
44143
|
-
return (hAsync(Host, { key: '
|
|
44271
|
+
return (hAsync(Host, { key: 'bcb621674157410d7eaeb006779bdd677346587e', class: Object.assign(Object.assign({}, createColorClasses$1(this.color, {
|
|
44144
44272
|
[theme]: true,
|
|
44145
44273
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
44146
44274
|
[`toolbar-title-placement-${titlePlacement}`]: true,
|
|
44147
|
-
})), 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 }))));
|
|
44148
44276
|
}
|
|
44149
44277
|
get el() { return getElement(this); }
|
|
44150
44278
|
static get watchers() { return {
|
|
@@ -44203,11 +44331,11 @@ class ToolbarTitle {
|
|
|
44203
44331
|
render() {
|
|
44204
44332
|
const theme = getIonTheme(this);
|
|
44205
44333
|
const size = this.getSize();
|
|
44206
|
-
return (hAsync(Host, { key: '
|
|
44334
|
+
return (hAsync(Host, { key: 'd64e86bed418cba707d4a26c9274f18ed06c0e9e', class: createColorClasses$1(this.color, {
|
|
44207
44335
|
[theme]: true,
|
|
44208
44336
|
[`title-${size}`]: true,
|
|
44209
44337
|
'title-rtl': document.dir === 'rtl',
|
|
44210
|
-
}) }, hAsync("div", { key: '
|
|
44338
|
+
}) }, hAsync("div", { key: '386a71e974cde0bfbf5b655d69ed5f718de8ce48', class: "toolbar-title" }, hAsync("slot", { key: '8aa804c9e1b11574a42268805d3117a085e699b4' }))));
|
|
44211
44339
|
}
|
|
44212
44340
|
get el() { return getElement(this); }
|
|
44213
44341
|
static get watchers() { return {
|
|
@@ -44264,6 +44392,7 @@ registerComponents([
|
|
|
44264
44392
|
FabList,
|
|
44265
44393
|
Footer,
|
|
44266
44394
|
Gallery,
|
|
44395
|
+
GalleryItem,
|
|
44267
44396
|
Grid,
|
|
44268
44397
|
Header,
|
|
44269
44398
|
Icon,
|