@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.mjs
CHANGED
|
@@ -18724,7 +18724,7 @@ const DEFAULT_COLUMNS = {
|
|
|
18724
18724
|
};
|
|
18725
18725
|
const DEFAULT_GAP = '16px';
|
|
18726
18726
|
|
|
18727
|
-
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-
|
|
18727
|
+
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}`;
|
|
18728
18728
|
|
|
18729
18729
|
// TODO(FW-7285): Replace with global breakpoints
|
|
18730
18730
|
const BREAKPOINTS = {
|
|
@@ -18736,6 +18736,7 @@ const BREAKPOINTS = {
|
|
|
18736
18736
|
xxl: 1400,
|
|
18737
18737
|
};
|
|
18738
18738
|
const BREAKPOINT_ORDER = ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'];
|
|
18739
|
+
const GALLERY_ITEM_SELECTOR = 'ion-gallery-item';
|
|
18739
18740
|
/**
|
|
18740
18741
|
* @virtualProp {"ios" | "md"} mode - The mode determines the platform behaviors of the component.
|
|
18741
18742
|
* @virtualProp {"ios" | "md" | "ionic"} theme - The theme determines the visual appearance of the component.
|
|
@@ -18750,6 +18751,7 @@ class Gallery {
|
|
|
18750
18751
|
this.hasWarnedInvalidColumns = false;
|
|
18751
18752
|
this.hasWarnedInvalidGap = false;
|
|
18752
18753
|
this.hasWarnedUnusedOrder = false;
|
|
18754
|
+
this.hasWarnedInvalidItems = false;
|
|
18753
18755
|
/**
|
|
18754
18756
|
* The visual layout of the gallery. When `uniform`, rows take up the height
|
|
18755
18757
|
* of the tallest item and are spaced evenly across the gallery. Additionally,
|
|
@@ -18799,8 +18801,9 @@ class Gallery {
|
|
|
18799
18801
|
const styles = getComputedStyle(this.el);
|
|
18800
18802
|
const rowHeight = parseFloat(styles.getPropertyValue('grid-auto-rows')) || 0;
|
|
18801
18803
|
const rowGap = parseFloat(styles.getPropertyValue('row-gap')) || parseFloat(styles.getPropertyValue('gap')) || 0;
|
|
18804
|
+
const itemGap = parseFloat(styles.getPropertyValue('column-gap')) || parseFloat(styles.getPropertyValue('gap')) || 0;
|
|
18802
18805
|
const items = this.getItems();
|
|
18803
|
-
this.layoutMasonry(items, rowHeight, rowGap, columns);
|
|
18806
|
+
this.layoutMasonry(items, rowHeight, rowGap, itemGap, columns);
|
|
18804
18807
|
};
|
|
18805
18808
|
}
|
|
18806
18809
|
onColumnsOrGapChanged() {
|
|
@@ -19001,6 +19004,16 @@ class Gallery {
|
|
|
19001
19004
|
printIonWarning(`[ion-gallery] - "order" has no effect when "layout" is "uniform". Set "layout" to "masonry" for "order" to apply.`, this.el);
|
|
19002
19005
|
this.hasWarnedUnusedOrder = true;
|
|
19003
19006
|
}
|
|
19007
|
+
/**
|
|
19008
|
+
* Warn when gallery content is missing required `ion-gallery-item` components.
|
|
19009
|
+
*/
|
|
19010
|
+
warnInvalidItems() {
|
|
19011
|
+
if (this.hasWarnedInvalidItems) {
|
|
19012
|
+
return;
|
|
19013
|
+
}
|
|
19014
|
+
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);
|
|
19015
|
+
this.hasWarnedInvalidItems = true;
|
|
19016
|
+
}
|
|
19004
19017
|
/**
|
|
19005
19018
|
* Resolve the active columns value for the current width. Falls back to
|
|
19006
19019
|
* the default responsive columns when the provided prop is invalid.
|
|
@@ -19057,12 +19070,45 @@ class Gallery {
|
|
|
19057
19070
|
const gap = this.getGapForWidth(width);
|
|
19058
19071
|
this.el.style.setProperty('--internal-gallery-gap', `${gap}`);
|
|
19059
19072
|
}
|
|
19073
|
+
isGalleryItemElement(element) {
|
|
19074
|
+
var _a;
|
|
19075
|
+
return typeof ((_a = element.style) === null || _a === void 0 ? void 0 : _a.setProperty) === 'function';
|
|
19076
|
+
}
|
|
19060
19077
|
/**
|
|
19061
|
-
* Return all
|
|
19062
|
-
*
|
|
19078
|
+
* Return all gallery items that can be grid items with inline placement styles.
|
|
19079
|
+
* Direct children that are not `ion-gallery-item` are treated as wrapper
|
|
19080
|
+
* containers and flattened to nested `ion-gallery-item` children. Direct
|
|
19081
|
+
* children without nested `ion-gallery-item` components are ignored.
|
|
19063
19082
|
*/
|
|
19064
19083
|
getItems() {
|
|
19065
|
-
|
|
19084
|
+
const directChildren = Array.from(this.el.children).filter((child) => this.isGalleryItemElement(child));
|
|
19085
|
+
const flattenedItems = [];
|
|
19086
|
+
// Expand an <ion-gallery-item> component into the actual gallery items
|
|
19087
|
+
// that should be used for grid placement.
|
|
19088
|
+
const pushWrappedItems = (galleryItemEl) => {
|
|
19089
|
+
const galleryItems = Array.from(galleryItemEl.children).filter((child) => this.isGalleryItemElement(child));
|
|
19090
|
+
flattenedItems.push(...galleryItems);
|
|
19091
|
+
};
|
|
19092
|
+
directChildren.forEach((directChildEl) => {
|
|
19093
|
+
// Standard path: <ion-gallery-item> is a direct child of <ion-gallery>.
|
|
19094
|
+
if (directChildEl.matches(GALLERY_ITEM_SELECTOR)) {
|
|
19095
|
+
pushWrappedItems(directChildEl);
|
|
19096
|
+
return;
|
|
19097
|
+
}
|
|
19098
|
+
// Compatibility path: a non-gallery-item direct child (e.g. wrapper <div>)
|
|
19099
|
+
// may contain nested <ion-gallery-item> components.
|
|
19100
|
+
const nestedGalleryItems = Array.from(directChildEl.querySelectorAll(GALLERY_ITEM_SELECTOR)).filter((child) => this.isGalleryItemElement(child));
|
|
19101
|
+
// Invalid children path: no <ion-gallery-item> components found.
|
|
19102
|
+
if (nestedGalleryItems.length === 0) {
|
|
19103
|
+
this.warnInvalidItems();
|
|
19104
|
+
return;
|
|
19105
|
+
}
|
|
19106
|
+
// Flatten gallery-item containers so nested <ion-gallery-item> children can
|
|
19107
|
+
// become the effective gallery items.
|
|
19108
|
+
directChildEl.style.display = 'contents';
|
|
19109
|
+
nestedGalleryItems.forEach((nestedGalleryItem) => pushWrappedItems(nestedGalleryItem));
|
|
19110
|
+
});
|
|
19111
|
+
return flattenedItems;
|
|
19066
19112
|
}
|
|
19067
19113
|
/**
|
|
19068
19114
|
* Clear the item styles for the given item element.
|
|
@@ -19119,11 +19165,14 @@ class Gallery {
|
|
|
19119
19165
|
/**
|
|
19120
19166
|
* Apply masonry placement by assigning each item a column and row span.
|
|
19121
19167
|
*/
|
|
19122
|
-
layoutMasonry(items, rowHeight, rowGap, columns) {
|
|
19168
|
+
layoutMasonry(items, rowHeight, rowGap, itemGap, columns) {
|
|
19123
19169
|
const columnHeights = new Array(columns).fill(0);
|
|
19124
19170
|
const lastItemsByColumn = new Array(columns).fill(undefined);
|
|
19125
19171
|
items.forEach((itemEl, i) => {
|
|
19126
19172
|
itemEl.style.marginBottom = '';
|
|
19173
|
+
if (itemEl.parentElement !== this.el) {
|
|
19174
|
+
itemEl.style.marginBottom = `${itemGap}px`;
|
|
19175
|
+
}
|
|
19127
19176
|
const span = this.calculateRowSpan(itemEl, rowHeight, rowGap);
|
|
19128
19177
|
if (span === undefined) {
|
|
19129
19178
|
this.clearItemStyles(itemEl);
|
|
@@ -19172,11 +19221,11 @@ class Gallery {
|
|
|
19172
19221
|
const { layout } = this;
|
|
19173
19222
|
const order = this.getOrder();
|
|
19174
19223
|
const theme = getIonTheme(this);
|
|
19175
|
-
return (hAsync(Host, { key: '
|
|
19224
|
+
return (hAsync(Host, { key: '0b6ef176032845b3df3b2335be90cb6ce5d791cc', class: {
|
|
19176
19225
|
[theme]: true,
|
|
19177
19226
|
[`gallery-layout-${layout}`]: true,
|
|
19178
19227
|
[`gallery-order-${order}`]: layout === 'masonry' && order !== undefined,
|
|
19179
|
-
} }, hAsync("slot", { key: '
|
|
19228
|
+
} }, hAsync("slot", { key: '247df9bb58b6899da7db60cdd475ccff0872673e', onSlotchange: this.onSlotChange })));
|
|
19180
19229
|
}
|
|
19181
19230
|
get el() { return getElement(this); }
|
|
19182
19231
|
static get watchers() { return {
|
|
@@ -19209,6 +19258,85 @@ class Gallery {
|
|
|
19209
19258
|
}; }
|
|
19210
19259
|
}
|
|
19211
19260
|
|
|
19261
|
+
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}`;
|
|
19262
|
+
|
|
19263
|
+
/**
|
|
19264
|
+
* @virtualProp {"ios" | "md"} mode - The mode determines the platform behaviors of the component.
|
|
19265
|
+
* @virtualProp {"ios" | "md" | "ionic"} theme - The theme determines the visual appearance of the component.
|
|
19266
|
+
*
|
|
19267
|
+
* @slot - Wrap elements that should be grouped in an `ion-gallery`.
|
|
19268
|
+
*/
|
|
19269
|
+
class GalleryItem {
|
|
19270
|
+
constructor(hostRef) {
|
|
19271
|
+
registerInstance(this, hostRef);
|
|
19272
|
+
this.hasWarnedInvalidParent = false;
|
|
19273
|
+
this.onSlotChange = () => {
|
|
19274
|
+
this.warnInvalidParent();
|
|
19275
|
+
};
|
|
19276
|
+
}
|
|
19277
|
+
componentWillLoad() {
|
|
19278
|
+
var _a;
|
|
19279
|
+
this.galleryEl = (_a = this.el.closest('ion-gallery')) !== null && _a !== void 0 ? _a : undefined;
|
|
19280
|
+
this.syncLayoutClasses();
|
|
19281
|
+
}
|
|
19282
|
+
componentDidLoad() {
|
|
19283
|
+
this.watchGalleryLayoutClasses();
|
|
19284
|
+
this.warnInvalidParent();
|
|
19285
|
+
}
|
|
19286
|
+
disconnectedCallback() {
|
|
19287
|
+
var _a;
|
|
19288
|
+
(_a = this.galleryClassObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
19289
|
+
this.galleryClassObserver = undefined;
|
|
19290
|
+
this.galleryEl = undefined;
|
|
19291
|
+
}
|
|
19292
|
+
warnInvalidParent() {
|
|
19293
|
+
if (this.hasWarnedInvalidParent || this.galleryEl !== undefined) {
|
|
19294
|
+
return;
|
|
19295
|
+
}
|
|
19296
|
+
printIonWarning('[ion-gallery-item] - This component should be used as a child of an "ion-gallery" component.', this.el);
|
|
19297
|
+
this.hasWarnedInvalidParent = true;
|
|
19298
|
+
}
|
|
19299
|
+
watchGalleryLayoutClasses() {
|
|
19300
|
+
var _a;
|
|
19301
|
+
const galleryEl = this.galleryEl;
|
|
19302
|
+
if (galleryEl === undefined) {
|
|
19303
|
+
return;
|
|
19304
|
+
}
|
|
19305
|
+
(_a = this.galleryClassObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
19306
|
+
this.galleryClassObserver = new MutationObserver(() => this.syncLayoutClasses());
|
|
19307
|
+
this.galleryClassObserver.observe(galleryEl, {
|
|
19308
|
+
attributes: true,
|
|
19309
|
+
attributeFilter: ['class'],
|
|
19310
|
+
});
|
|
19311
|
+
}
|
|
19312
|
+
syncLayoutClasses() {
|
|
19313
|
+
var _a;
|
|
19314
|
+
const layout = (_a = this.galleryEl) === null || _a === void 0 ? void 0 : _a.layout;
|
|
19315
|
+
this.galleryLayout = layout === 'masonry' || layout === 'uniform' ? layout : undefined;
|
|
19316
|
+
}
|
|
19317
|
+
render() {
|
|
19318
|
+
const { galleryLayout } = this;
|
|
19319
|
+
const theme = getIonTheme(this);
|
|
19320
|
+
return (hAsync(Host, { key: 'dbd9b9e005aa151981296e6487532e221f3f24e3', class: {
|
|
19321
|
+
[theme]: true,
|
|
19322
|
+
'in-gallery-layout-uniform': galleryLayout === 'uniform',
|
|
19323
|
+
'in-gallery-layout-masonry': galleryLayout === 'masonry',
|
|
19324
|
+
} }, hAsync("slot", { key: '98af83e345389763cf23d5e705f1c8773836418f', onSlotchange: this.onSlotChange })));
|
|
19325
|
+
}
|
|
19326
|
+
get el() { return getElement(this); }
|
|
19327
|
+
static get style() { return galleryItemCss(); }
|
|
19328
|
+
static get cmpMeta() { return {
|
|
19329
|
+
"$flags$": 265,
|
|
19330
|
+
"$tagName$": "ion-gallery-item",
|
|
19331
|
+
"$members$": {
|
|
19332
|
+
"galleryLayout": [32]
|
|
19333
|
+
},
|
|
19334
|
+
"$listeners$": undefined,
|
|
19335
|
+
"$lazyBundleId$": "-",
|
|
19336
|
+
"$attrsToReflect$": []
|
|
19337
|
+
}; }
|
|
19338
|
+
}
|
|
19339
|
+
|
|
19212
19340
|
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}`;
|
|
19213
19341
|
|
|
19214
19342
|
/**
|
|
@@ -19225,10 +19353,10 @@ class Grid {
|
|
|
19225
19353
|
}
|
|
19226
19354
|
render() {
|
|
19227
19355
|
const theme = getIonTheme(this);
|
|
19228
|
-
return (hAsync(Host, { key: '
|
|
19356
|
+
return (hAsync(Host, { key: 'e3320fc2fc5391d26898cc119505cd3be30dd48b', class: {
|
|
19229
19357
|
[theme]: true,
|
|
19230
19358
|
'grid-fixed': this.fixed,
|
|
19231
|
-
} }, hAsync("slot", { key: '
|
|
19359
|
+
} }, hAsync("slot", { key: '2000e6b336c294aadf4585269c301d734d2fe478' })));
|
|
19232
19360
|
}
|
|
19233
19361
|
static get style() { return gridCss(); }
|
|
19234
19362
|
static get cmpMeta() { return {
|
|
@@ -19630,7 +19758,7 @@ class Header {
|
|
|
19630
19758
|
const isCondensed = collapse === 'condense';
|
|
19631
19759
|
// banner role must be at top level, so remove role if inside a menu
|
|
19632
19760
|
const roleType = getRoleType(hostContext('ion-menu', this.el), isCondensed, theme);
|
|
19633
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
19761
|
+
return (hAsync(Host, Object.assign({ key: '3395dedfd5165ba6e9f3ad1a25f0bb5b3678704a', role: roleType, class: {
|
|
19634
19762
|
[theme]: true,
|
|
19635
19763
|
// Used internally for styling
|
|
19636
19764
|
[`header-${theme}`]: true,
|
|
@@ -19638,7 +19766,7 @@ class Header {
|
|
|
19638
19766
|
[`header-collapse-${collapse}`]: true,
|
|
19639
19767
|
[`header-translucent-${theme}`]: this.translucent,
|
|
19640
19768
|
['header-divider']: divider,
|
|
19641
|
-
} }, inheritedAttributes), theme !== 'md' && translucent && hAsync("div", { key: '
|
|
19769
|
+
} }, inheritedAttributes), theme !== 'md' && translucent && hAsync("div", { key: 'cafeb88b6e73d64b264514ea46590fd3477b3052', class: "header-background" }), hAsync("slot", { key: 'ad681aaf866d7e7a5e5e731c0b5d6f5cc9fe94d2' })));
|
|
19642
19770
|
}
|
|
19643
19771
|
get el() { return getElement(this); }
|
|
19644
19772
|
static get style() { return {
|
|
@@ -19989,9 +20117,9 @@ class Img {
|
|
|
19989
20117
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
19990
20118
|
const { draggable } = inheritedAttributes;
|
|
19991
20119
|
const theme = getIonTheme(this);
|
|
19992
|
-
return (hAsync(Host, { key: '
|
|
20120
|
+
return (hAsync(Host, { key: 'ba84621055567b2a35387709d9d89b97ad853274', class: {
|
|
19993
20121
|
[theme]: true,
|
|
19994
|
-
} }, hAsync("img", { key: '
|
|
20122
|
+
} }, hAsync("img", { key: '9d6118bbf69e2cccbb0603802c03b9a0d101e2c3', decoding: "async", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: "image", draggable: isDraggable(draggable) })));
|
|
19995
20123
|
}
|
|
19996
20124
|
get el() { return getElement(this); }
|
|
19997
20125
|
static get watchers() { return {
|
|
@@ -20296,7 +20424,7 @@ class InfiniteScroll {
|
|
|
20296
20424
|
render() {
|
|
20297
20425
|
const theme = getIonTheme(this);
|
|
20298
20426
|
const disabled = this.disabled;
|
|
20299
|
-
return (hAsync(Host, { key: '
|
|
20427
|
+
return (hAsync(Host, { key: 'e3a3cde079dfd6f07e565eb462765df757cbb128', class: {
|
|
20300
20428
|
[theme]: true,
|
|
20301
20429
|
'infinite-scroll-loading': this.isLoading,
|
|
20302
20430
|
'infinite-scroll-enabled': !disabled,
|
|
@@ -20359,11 +20487,11 @@ class InfiniteScrollContent {
|
|
|
20359
20487
|
}
|
|
20360
20488
|
render() {
|
|
20361
20489
|
const theme = getIonTheme(this);
|
|
20362
|
-
return (hAsync(Host, { key: '
|
|
20490
|
+
return (hAsync(Host, { key: '263a27297159ced042f7552a1e14b8c6aba62fa8', class: {
|
|
20363
20491
|
[theme]: true,
|
|
20364
20492
|
// Used internally for styling
|
|
20365
20493
|
[`infinite-scroll-content-${theme}`]: true,
|
|
20366
|
-
} }, hAsync("div", { key: '
|
|
20494
|
+
} }, 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())));
|
|
20367
20495
|
}
|
|
20368
20496
|
static get style() { return {
|
|
20369
20497
|
ionic: ionicInfiniteScrollContentMdCss(),
|
|
@@ -21111,7 +21239,7 @@ class Input {
|
|
|
21111
21239
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
21112
21240
|
*/
|
|
21113
21241
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
21114
|
-
return (hAsync(Host, { key: '
|
|
21242
|
+
return (hAsync(Host, { key: '3da29d837b5abe22de740ac96c8142422fce537a', class: createColorClasses$1(this.color, {
|
|
21115
21243
|
[theme]: true,
|
|
21116
21244
|
'has-value': hasValue,
|
|
21117
21245
|
'has-focus': hasFocus,
|
|
@@ -21124,7 +21252,7 @@ class Input {
|
|
|
21124
21252
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
21125
21253
|
'input-disabled': disabled,
|
|
21126
21254
|
'input-readonly': readonly,
|
|
21127
|
-
}) }, hAsync("label", { key: '
|
|
21255
|
+
}) }, hAsync("label", { key: '142a8230382a05938887e9c0790832218ac37697', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), hAsync("div", { key: '953f247ea2f40545e01e0346549d9b7aa344b720', class: "native-wrapper", onClick: this.onLabelClick },
|
|
21128
21256
|
/**
|
|
21129
21257
|
* For the ionic theme, we render the outline container here
|
|
21130
21258
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -21134,14 +21262,14 @@ class Input {
|
|
|
21134
21262
|
* <label> element, ensuring that clicking the label text
|
|
21135
21263
|
* focuses the input.
|
|
21136
21264
|
*/
|
|
21137
|
-
theme === 'ionic' && hAsync("div", { key: '
|
|
21265
|
+
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) => {
|
|
21138
21266
|
/**
|
|
21139
21267
|
* This prevents mobile browsers from
|
|
21140
21268
|
* blurring the input when the clear
|
|
21141
21269
|
* button is activated.
|
|
21142
21270
|
*/
|
|
21143
21271
|
ev.preventDefault();
|
|
21144
|
-
}, onClick: this.clearTextInput }, hAsync("ion-icon", { key: '
|
|
21272
|
+
}, 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()));
|
|
21145
21273
|
}
|
|
21146
21274
|
get el() { return getElement(this); }
|
|
21147
21275
|
static get watchers() { return {
|
|
@@ -21906,7 +22034,7 @@ class InputOTP {
|
|
|
21906
22034
|
const tabbableIndex = this.getTabbableIndex();
|
|
21907
22035
|
const pattern = this.getPattern();
|
|
21908
22036
|
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()) !== '';
|
|
21909
|
-
return (hAsync(Host, { key: '
|
|
22037
|
+
return (hAsync(Host, { key: 'f39e98cd24cbf50f7db4e891dda9499f6def7986', class: createColorClasses$1(color, {
|
|
21910
22038
|
[mode]: true,
|
|
21911
22039
|
'has-focus': hasFocus,
|
|
21912
22040
|
[`input-otp-size-${size}`]: true,
|
|
@@ -21914,10 +22042,10 @@ class InputOTP {
|
|
|
21914
22042
|
[`input-otp-fill-${fill}`]: true,
|
|
21915
22043
|
'input-otp-disabled': disabled,
|
|
21916
22044
|
'input-otp-readonly': readonly,
|
|
21917
|
-
}) }, hAsync("div", Object.assign({ key: '
|
|
22045
|
+
}) }, 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: {
|
|
21918
22046
|
'input-otp-description': true,
|
|
21919
22047
|
'input-otp-description-hidden': !hasDescription,
|
|
21920
|
-
}, part: "description" }, hAsync("slot", { key: '
|
|
22048
|
+
}, part: "description" }, hAsync("slot", { key: '15c7c8549c1788748e1ae31bd227a7f918cb5eca' }))));
|
|
21921
22049
|
}
|
|
21922
22050
|
static get formAssociated() { return true; }
|
|
21923
22051
|
get el() { return getElement(this); }
|
|
@@ -22065,16 +22193,16 @@ class InputPasswordToggle {
|
|
|
22065
22193
|
const { color, inputPasswordHideIcon, inputPasswordShowIcon, type } = this;
|
|
22066
22194
|
const mode = getIonMode$1(this);
|
|
22067
22195
|
const isPasswordVisible = type === 'text';
|
|
22068
|
-
return (hAsync(Host, { key: '
|
|
22196
|
+
return (hAsync(Host, { key: 'f11e3bf4d3255e003aec504e6dd3ee1e0caaf767', class: createColorClasses$1(color, {
|
|
22069
22197
|
[mode]: true,
|
|
22070
|
-
}) }, hAsync("ion-button", { key: '
|
|
22198
|
+
}) }, 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) => {
|
|
22071
22199
|
/**
|
|
22072
22200
|
* This prevents mobile browsers from
|
|
22073
22201
|
* blurring the input when the password toggle
|
|
22074
22202
|
* button is activated.
|
|
22075
22203
|
*/
|
|
22076
22204
|
ev.preventDefault();
|
|
22077
|
-
}, onClick: this.togglePasswordVisibility }, hAsync("ion-icon", { key: '
|
|
22205
|
+
}, onClick: this.togglePasswordVisibility }, hAsync("ion-icon", { key: 'c0eb0e4e2f3e9553bfd519ff655064c9f62af406', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? inputPasswordHideIcon : inputPasswordShowIcon }))));
|
|
22078
22206
|
}
|
|
22079
22207
|
get el() { return getElement(this); }
|
|
22080
22208
|
static get watchers() { return {
|
|
@@ -22449,11 +22577,11 @@ class ItemDivider {
|
|
|
22449
22577
|
}
|
|
22450
22578
|
render() {
|
|
22451
22579
|
const theme = getIonTheme(this);
|
|
22452
|
-
return (hAsync(Host, { key: '
|
|
22580
|
+
return (hAsync(Host, { key: 'dc73f348b5376faa40ba4bc6bba3d5c9e5ec5ab2', class: createColorClasses$1(this.color, {
|
|
22453
22581
|
[theme]: true,
|
|
22454
22582
|
'item-divider-sticky': this.sticky,
|
|
22455
22583
|
item: true,
|
|
22456
|
-
}) }, hAsync("slot", { key: '
|
|
22584
|
+
}) }, 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" }))));
|
|
22457
22585
|
}
|
|
22458
22586
|
get el() { return getElement(this); }
|
|
22459
22587
|
static get style() { return {
|
|
@@ -22490,7 +22618,7 @@ class ItemGroup {
|
|
|
22490
22618
|
}
|
|
22491
22619
|
render() {
|
|
22492
22620
|
const theme = getIonTheme(this);
|
|
22493
|
-
return (hAsync(Host, { key: '
|
|
22621
|
+
return (hAsync(Host, { key: '017c8f7cd0258e1864423337ddd1b1cb522f64ed', role: "group", class: {
|
|
22494
22622
|
[theme]: true,
|
|
22495
22623
|
// Used internally for styling
|
|
22496
22624
|
[`item-group-${theme}`]: true,
|
|
@@ -22586,14 +22714,14 @@ class ItemOption {
|
|
|
22586
22714
|
href: this.href,
|
|
22587
22715
|
target: this.target,
|
|
22588
22716
|
};
|
|
22589
|
-
return (hAsync(Host, { key: '
|
|
22717
|
+
return (hAsync(Host, { key: '8f1bad23fd3ccbb9d54d57765e6731cd2ee07306', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
22590
22718
|
[theme]: true,
|
|
22591
22719
|
[`item-option-${shape}`]: shape !== undefined,
|
|
22592
22720
|
[`item-option-${hue}`]: hue !== undefined,
|
|
22593
22721
|
'item-option-disabled': disabled,
|
|
22594
22722
|
'item-option-expandable': expandable,
|
|
22595
22723
|
'ion-activatable': true,
|
|
22596
|
-
}) }, hAsync(TagType, Object.assign({ key: '
|
|
22724
|
+
}) }, 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' }))));
|
|
22597
22725
|
}
|
|
22598
22726
|
get el() { return getElement(this); }
|
|
22599
22727
|
static get style() { return {
|
|
@@ -22651,7 +22779,7 @@ class ItemOptions {
|
|
|
22651
22779
|
render() {
|
|
22652
22780
|
const theme = getIonTheme(this);
|
|
22653
22781
|
const isEnd = isEndSide(this.side);
|
|
22654
|
-
return (hAsync(Host, { key: '
|
|
22782
|
+
return (hAsync(Host, { key: 'ed05ceebf2cda943ac9efea2f91b71f7e8fc55e8', class: {
|
|
22655
22783
|
[theme]: true,
|
|
22656
22784
|
// Used internally for styling
|
|
22657
22785
|
[`item-options-${theme}`]: true,
|
|
@@ -23503,7 +23631,7 @@ class ItemSliding {
|
|
|
23503
23631
|
}
|
|
23504
23632
|
render() {
|
|
23505
23633
|
const theme = getIonTheme(this);
|
|
23506
|
-
return (hAsync(Host, { key: '
|
|
23634
|
+
return (hAsync(Host, { key: '47de8c8a9721f9223b42d6722a9ad32f378818aa', class: {
|
|
23507
23635
|
[theme]: true,
|
|
23508
23636
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
23509
23637
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -23622,13 +23750,13 @@ class Label {
|
|
|
23622
23750
|
render() {
|
|
23623
23751
|
const position = this.position;
|
|
23624
23752
|
const theme = getIonTheme(this);
|
|
23625
|
-
return (hAsync(Host, { key: '
|
|
23753
|
+
return (hAsync(Host, { key: 'b1f261db441bcb0a325a5b3e21da17764a56f17c', class: createColorClasses$1(this.color, {
|
|
23626
23754
|
[theme]: true,
|
|
23627
23755
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
23628
23756
|
[`label-${position}`]: position !== undefined,
|
|
23629
23757
|
[`label-no-animate`]: this.noAnimate,
|
|
23630
23758
|
'label-rtl': document.dir === 'rtl',
|
|
23631
|
-
}) }, hAsync("slot", { key: '
|
|
23759
|
+
}) }, hAsync("slot", { key: '490444c8c0d4cf72eae3f8abfb7ed7ecc30bb213' })));
|
|
23632
23760
|
}
|
|
23633
23761
|
get el() { return getElement(this); }
|
|
23634
23762
|
static get watchers() { return {
|
|
@@ -23708,7 +23836,7 @@ class List {
|
|
|
23708
23836
|
const theme = getIonTheme(this);
|
|
23709
23837
|
const shape = this.getShape();
|
|
23710
23838
|
const { lines, inset } = this;
|
|
23711
|
-
return (hAsync(Host, { key: '
|
|
23839
|
+
return (hAsync(Host, { key: '9be30ff6e75e020c0db7054800cb874efef26bd8', role: "list", class: {
|
|
23712
23840
|
[theme]: true,
|
|
23713
23841
|
// Used internally for styling
|
|
23714
23842
|
[`list-${theme}`]: true,
|
|
@@ -23758,10 +23886,10 @@ class ListHeader {
|
|
|
23758
23886
|
render() {
|
|
23759
23887
|
const { lines } = this;
|
|
23760
23888
|
const theme = getIonTheme(this);
|
|
23761
|
-
return (hAsync(Host, { key: '
|
|
23889
|
+
return (hAsync(Host, { key: '7a1632a069317285210f4aeae50a6f2ef6955c56', class: createColorClasses$1(this.color, {
|
|
23762
23890
|
[theme]: true,
|
|
23763
23891
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
23764
|
-
}) }, hAsync("div", { key: '
|
|
23892
|
+
}) }, hAsync("div", { key: 'a9a9463f209023da222f38a78126d5aaeb2f03b9', class: "list-header-inner", part: "inner" }, hAsync("slot", { key: 'e3c6ec1b588392d347844d59d338abc339e80634' }))));
|
|
23765
23893
|
}
|
|
23766
23894
|
static get style() { return {
|
|
23767
23895
|
ionic: listHeaderIonicCss(),
|
|
@@ -24050,9 +24178,9 @@ class Loading {
|
|
|
24050
24178
|
* Otherwise, don't set aria-labelledby.
|
|
24051
24179
|
*/
|
|
24052
24180
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
24053
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
24181
|
+
return (hAsync(Host, Object.assign({ key: '2ffae36b20a7d7f3a752a062d90062583e31d053', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
24054
24182
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
24055
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: '
|
|
24183
|
+
}, 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" })));
|
|
24056
24184
|
}
|
|
24057
24185
|
get el() { return getElement(this); }
|
|
24058
24186
|
static get watchers() { return {
|
|
@@ -25113,14 +25241,14 @@ class Menu {
|
|
|
25113
25241
|
* the ionBackButton listener in the menu controller
|
|
25114
25242
|
* will handle closing the menu when Escape is pressed.
|
|
25115
25243
|
*/
|
|
25116
|
-
return (hAsync(Host, { key: '
|
|
25244
|
+
return (hAsync(Host, { key: '76e15d710fbbbd2e64795224decc3673fd160db0', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
25117
25245
|
[theme]: true,
|
|
25118
25246
|
[`menu-type-${type}`]: true,
|
|
25119
25247
|
'menu-enabled': !disabled,
|
|
25120
25248
|
[`menu-side-${side}`]: true,
|
|
25121
25249
|
'menu-pane-visible': isPaneVisible,
|
|
25122
25250
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
25123
|
-
} }, hAsync("div", { key: '
|
|
25251
|
+
} }, 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" })));
|
|
25124
25252
|
}
|
|
25125
25253
|
get el() { return getElement(this); }
|
|
25126
25254
|
static get watchers() { return {
|
|
@@ -25254,7 +25382,7 @@ class MenuButton {
|
|
|
25254
25382
|
type: this.type,
|
|
25255
25383
|
};
|
|
25256
25384
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
25257
|
-
return (hAsync(Host, { key: '
|
|
25385
|
+
return (hAsync(Host, { key: '341ca3bfac81ce4432eef5d2fd738becd1dfb07e', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses$1(color, {
|
|
25258
25386
|
[theme]: true,
|
|
25259
25387
|
button: true, // ion-buttons target .button
|
|
25260
25388
|
'menu-button-hidden': hidden,
|
|
@@ -25263,7 +25391,7 @@ class MenuButton {
|
|
|
25263
25391
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
25264
25392
|
'ion-activatable': true,
|
|
25265
25393
|
'ion-focusable': true,
|
|
25266
|
-
}) }, hAsync("button", Object.assign({ key: '
|
|
25394
|
+
}) }, 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" }))));
|
|
25267
25395
|
}
|
|
25268
25396
|
get el() { return getElement(this); }
|
|
25269
25397
|
static get style() { return {
|
|
@@ -25320,10 +25448,10 @@ class MenuToggle {
|
|
|
25320
25448
|
render() {
|
|
25321
25449
|
const theme = getIonTheme(this);
|
|
25322
25450
|
const hidden = this.autoHide && !this.visible;
|
|
25323
|
-
return (hAsync(Host, { key: '
|
|
25451
|
+
return (hAsync(Host, { key: '9ef631d9ae370a8740e691d281863203bfdddc38', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
25324
25452
|
[theme]: true,
|
|
25325
25453
|
'menu-toggle-hidden': hidden,
|
|
25326
|
-
} }, hAsync("slot", { key: '
|
|
25454
|
+
} }, hAsync("slot", { key: 'f8d9dfc562ed625ae47ec771ef6b2ea04bc463f4' })));
|
|
25327
25455
|
}
|
|
25328
25456
|
static get style() { return menuToggleCss(); }
|
|
25329
25457
|
static get cmpMeta() { return {
|
|
@@ -28826,20 +28954,20 @@ class Modal {
|
|
|
28826
28954
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
28827
28955
|
const shape = this.getShape();
|
|
28828
28956
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
28829
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
28957
|
+
return (hAsync(Host, Object.assign({ key: '9e6dc8544831a6bda7e4e9387a49cb334ab9bc39', "no-router": true,
|
|
28830
28958
|
// Allow the modal to be navigable when the handle is focusable
|
|
28831
28959
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
28832
28960
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
28833
|
-
}, 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: '
|
|
28961
|
+
}, 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',
|
|
28834
28962
|
/*
|
|
28835
28963
|
role and aria-modal must be used on the
|
|
28836
28964
|
same element. They must also be set inside the
|
|
28837
28965
|
shadow DOM otherwise ion-button will not be highlighted
|
|
28838
28966
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
28839
28967
|
*/
|
|
28840
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: '
|
|
28968
|
+
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",
|
|
28841
28969
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
28842
|
-
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: '
|
|
28970
|
+
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 }))));
|
|
28843
28971
|
}
|
|
28844
28972
|
get el() { return getElement(this); }
|
|
28845
28973
|
static get watchers() { return {
|
|
@@ -29799,7 +29927,7 @@ class Nav {
|
|
|
29799
29927
|
}
|
|
29800
29928
|
}
|
|
29801
29929
|
render() {
|
|
29802
|
-
return hAsync("slot", { key: '
|
|
29930
|
+
return hAsync("slot", { key: '3dfe9c2a5f3ea75cb6d82b76b240733105cddfad' });
|
|
29803
29931
|
}
|
|
29804
29932
|
get el() { return getElement(this); }
|
|
29805
29933
|
static get watchers() { return {
|
|
@@ -29880,7 +30008,7 @@ class NavLink {
|
|
|
29880
30008
|
};
|
|
29881
30009
|
}
|
|
29882
30010
|
render() {
|
|
29883
|
-
return hAsync(Host, { key: '
|
|
30011
|
+
return hAsync(Host, { key: '476bfb5bb6fba4f422ec40315fc3ef466d01f757', onClick: this.onClick });
|
|
29884
30012
|
}
|
|
29885
30013
|
get el() { return getElement(this); }
|
|
29886
30014
|
static get cmpMeta() { return {
|
|
@@ -29914,9 +30042,9 @@ class Note {
|
|
|
29914
30042
|
}
|
|
29915
30043
|
render() {
|
|
29916
30044
|
const theme = getIonTheme(this);
|
|
29917
|
-
return (hAsync(Host, { key: '
|
|
30045
|
+
return (hAsync(Host, { key: '376ae1c66c19d1bdd74a2371c0639ed9e49648b5', class: createColorClasses$1(this.color, {
|
|
29918
30046
|
[theme]: true,
|
|
29919
|
-
}) }, hAsync("slot", { key: '
|
|
30047
|
+
}) }, hAsync("slot", { key: 'f8168cd88bb21c5e5a2b03c29539729fb38a19fd' })));
|
|
29920
30048
|
}
|
|
29921
30049
|
static get style() { return {
|
|
29922
30050
|
ionic: ionicNoteMdCss(),
|
|
@@ -30682,11 +30810,11 @@ class Picker {
|
|
|
30682
30810
|
render() {
|
|
30683
30811
|
const { htmlAttributes } = this;
|
|
30684
30812
|
const theme = getIonTheme(this);
|
|
30685
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
30813
|
+
return (hAsync(Host, Object.assign({ key: '681ad6d20efa16f1d6c6f9a7d03caec2b17ff36e', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
30686
30814
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
30687
30815
|
}, class: Object.assign({ [theme]: true,
|
|
30688
30816
|
// Used internally for styling
|
|
30689
|
-
[`picker-${theme}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: '
|
|
30817
|
+
[`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" })));
|
|
30690
30818
|
}
|
|
30691
30819
|
get el() { return getElement(this); }
|
|
30692
30820
|
static get watchers() { return {
|
|
@@ -31664,9 +31792,9 @@ class PickerColumnCmp {
|
|
|
31664
31792
|
render() {
|
|
31665
31793
|
const col = this.col;
|
|
31666
31794
|
const theme = getIonTheme(this);
|
|
31667
|
-
return (hAsync(Host, { key: '
|
|
31795
|
+
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: {
|
|
31668
31796
|
'max-width': this.col.columnWidth,
|
|
31669
|
-
} }, col.prefix && (hAsync("div", { key: '
|
|
31797
|
+
} }, 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))));
|
|
31670
31798
|
}
|
|
31671
31799
|
get el() { return getElement(this); }
|
|
31672
31800
|
static get watchers() { return {
|
|
@@ -31791,10 +31919,10 @@ class PickerColumnOption {
|
|
|
31791
31919
|
render() {
|
|
31792
31920
|
const { color, disabled, ariaLabel } = this;
|
|
31793
31921
|
const theme = getIonTheme(this);
|
|
31794
|
-
return (hAsync(Host, { key: '
|
|
31922
|
+
return (hAsync(Host, { key: 'fe9553e3157d35f5c28a3f2457715bd598ec1e00', class: createColorClasses$1(color, {
|
|
31795
31923
|
[theme]: true,
|
|
31796
31924
|
['option-disabled']: disabled,
|
|
31797
|
-
}) }, hAsync("div", { key: '
|
|
31925
|
+
}) }, hAsync("div", { key: '9bc334f020012537144972b5a8a1aed7c35ccec5', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, hAsync("slot", { key: 'bd076e43c98ad920486230684c7f63e7e0b187f8' }))));
|
|
31798
31926
|
}
|
|
31799
31927
|
get el() { return getElement(this); }
|
|
31800
31928
|
static get watchers() { return {
|
|
@@ -33363,9 +33491,9 @@ class Popover {
|
|
|
33363
33491
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
33364
33492
|
const desktop = isPlatform('desktop');
|
|
33365
33493
|
const enableArrow = arrow && !parentPopover;
|
|
33366
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
33494
|
+
return (hAsync(Host, Object.assign({ key: '3319e6ea7524a30478985c014634403aceedab6f', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
33367
33495
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
33368
|
-
}, 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: '
|
|
33496
|
+
}, 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' })))));
|
|
33369
33497
|
}
|
|
33370
33498
|
get el() { return getElement(this); }
|
|
33371
33499
|
static get watchers() { return {
|
|
@@ -33493,7 +33621,7 @@ class ProgressBar {
|
|
|
33493
33621
|
const shape = this.getShape();
|
|
33494
33622
|
// If the progress is displayed as a solid bar.
|
|
33495
33623
|
const progressSolid = buffer === 1;
|
|
33496
|
-
return (hAsync(Host, { key: '
|
|
33624
|
+
return (hAsync(Host, { key: '1cf02806b28a0d7b070e6f3616ea8f4c8ae4990a', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses$1(color, {
|
|
33497
33625
|
[theme]: true,
|
|
33498
33626
|
[`progress-bar-${type}`]: true,
|
|
33499
33627
|
'progress-paused': paused,
|
|
@@ -33686,7 +33814,7 @@ class Radio {
|
|
|
33686
33814
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
33687
33815
|
const theme = getIonTheme(this);
|
|
33688
33816
|
const inItem = hostContext('ion-item', el);
|
|
33689
|
-
return (hAsync(Host, { key: '
|
|
33817
|
+
return (hAsync(Host, { key: 'e9591254a3823435617732dcf415ea4bb5fa4d62', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses$1(color, {
|
|
33690
33818
|
[theme]: true,
|
|
33691
33819
|
'in-item': inItem,
|
|
33692
33820
|
'radio-checked': checked,
|
|
@@ -33697,10 +33825,10 @@ class Radio {
|
|
|
33697
33825
|
// Focus and active styling should not apply when the radio is in an item
|
|
33698
33826
|
'ion-activatable': !inItem,
|
|
33699
33827
|
'ion-focusable': !inItem,
|
|
33700
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, hAsync("label", { key: '
|
|
33828
|
+
}), 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: {
|
|
33701
33829
|
'label-text-wrapper': true,
|
|
33702
33830
|
'label-text-wrapper-hidden': !hasLabel,
|
|
33703
|
-
}, part: "label" }, hAsync("slot", { key: '
|
|
33831
|
+
}, part: "label" }, hAsync("slot", { key: 'a77d60be10ece9c80bab6e5c2a24533eede95362' })), hAsync("div", { key: 'e687dc6686b0748a1a3337cd87a01c01315c0f22', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
33704
33832
|
}
|
|
33705
33833
|
get el() { return getElement(this); }
|
|
33706
33834
|
static get watchers() { return {
|
|
@@ -33970,10 +34098,10 @@ class RadioGroup {
|
|
|
33970
34098
|
const { label, labelId, el, name, value } = this;
|
|
33971
34099
|
const theme = getIonTheme(this);
|
|
33972
34100
|
renderHiddenInput(true, el, name, value, false);
|
|
33973
|
-
return (hAsync(Host, { key: '
|
|
34101
|
+
return (hAsync(Host, { key: '8a57b258087569c2fb13ddaa6e83e06822c05a4d', class: {
|
|
33974
34102
|
[theme]: true,
|
|
33975
34103
|
'in-list': hostContext('ion-list', el),
|
|
33976
|
-
}, 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: '
|
|
34104
|
+
}, 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' })));
|
|
33977
34105
|
}
|
|
33978
34106
|
get el() { return getElement(this); }
|
|
33979
34107
|
static get watchers() { return {
|
|
@@ -34823,7 +34951,7 @@ class Range {
|
|
|
34823
34951
|
const valueAtMin = dualKnobs ? this.valA === min || this.valB === min : this.valA === min;
|
|
34824
34952
|
const valueAtMax = dualKnobs ? this.valA === max || this.valB === max : this.valA === max;
|
|
34825
34953
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
34826
|
-
return (hAsync(Host, { key: '
|
|
34954
|
+
return (hAsync(Host, { key: '0f39669a81cfb08a3aca6998b95bda68f5076306', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses$1(this.color, {
|
|
34827
34955
|
[theme]: true,
|
|
34828
34956
|
'in-item': inItem,
|
|
34829
34957
|
'range-disabled': disabled,
|
|
@@ -34837,10 +34965,10 @@ class Range {
|
|
|
34837
34965
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
34838
34966
|
'range-value-min': valueAtMin,
|
|
34839
34967
|
'range-value-max': valueAtMax,
|
|
34840
|
-
}) }, hAsync("label", { key: '
|
|
34968
|
+
}) }, hAsync("label", { key: 'c1615da8ac01fccb650a8d1eb6b6b69562634e2f', class: "range-wrapper", id: "range-label" }, hAsync("div", { key: 'ba530e76d0253f457b04bbd8403d9a02ac859cfe', class: {
|
|
34841
34969
|
'label-text-wrapper': true,
|
|
34842
34970
|
'label-text-wrapper-hidden': !hasLabel,
|
|
34843
|
-
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '
|
|
34971
|
+
}, 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" })))));
|
|
34844
34972
|
}
|
|
34845
34973
|
get el() { return getElement(this); }
|
|
34846
34974
|
static get watchers() { return {
|
|
@@ -35915,7 +36043,7 @@ class Refresher {
|
|
|
35915
36043
|
}
|
|
35916
36044
|
render() {
|
|
35917
36045
|
const theme = getIonTheme(this);
|
|
35918
|
-
return (hAsync(Host, { key: '
|
|
36046
|
+
return (hAsync(Host, { key: '5761384ab0eb88600ad036b6fdbebf8e5150e6b8', slot: "fixed", class: {
|
|
35919
36047
|
[theme]: true,
|
|
35920
36048
|
// Used internally for styling
|
|
35921
36049
|
[`refresher-${theme}`]: true,
|
|
@@ -36154,9 +36282,9 @@ class RefresherContent {
|
|
|
36154
36282
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
36155
36283
|
const theme = getIonTheme(this);
|
|
36156
36284
|
const arrowIcon = theme === 'ionic' ? caretLeftFillSvg : caretBackSharp;
|
|
36157
|
-
return (hAsync(Host, { key: '
|
|
36285
|
+
return (hAsync(Host, { key: '3d2d138e485b3b2beae47b9ea4e140f0b9647434', class: {
|
|
36158
36286
|
[theme]: true,
|
|
36159
|
-
} }, hAsync("div", { key: '
|
|
36287
|
+
} }, 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())));
|
|
36160
36288
|
}
|
|
36161
36289
|
get el() { return getElement(this); }
|
|
36162
36290
|
static get style() { return {
|
|
@@ -36225,9 +36353,9 @@ class Reorder {
|
|
|
36225
36353
|
render() {
|
|
36226
36354
|
const { reorderHandleIcon } = this;
|
|
36227
36355
|
const theme = getIonTheme(this);
|
|
36228
|
-
return (hAsync(Host, { key: '
|
|
36356
|
+
return (hAsync(Host, { key: 'bc0b4cd34db6dfe794ab66a785d406bfc02236c5', class: {
|
|
36229
36357
|
[theme]: true,
|
|
36230
|
-
} }, hAsync("slot", { key: '
|
|
36358
|
+
} }, hAsync("slot", { key: '28672768be8598b7cb47b7b2837b77afbc2c2e14' }, hAsync("ion-icon", { key: '03b6620768da18a6f8cb0c55e94b85a53cbab66a', icon: reorderHandleIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
36231
36359
|
}
|
|
36232
36360
|
get el() { return getElement(this); }
|
|
36233
36361
|
static get style() { return {
|
|
@@ -36503,7 +36631,7 @@ class ReorderGroup {
|
|
|
36503
36631
|
}
|
|
36504
36632
|
render() {
|
|
36505
36633
|
const theme = getIonTheme(this);
|
|
36506
|
-
return (hAsync(Host, { key: '
|
|
36634
|
+
return (hAsync(Host, { key: 'c095e5428be9f446f245d37a12653978bb2bc2b6', class: {
|
|
36507
36635
|
[theme]: true,
|
|
36508
36636
|
'reorder-enabled': !this.disabled,
|
|
36509
36637
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -36629,7 +36757,7 @@ class RippleEffect {
|
|
|
36629
36757
|
}
|
|
36630
36758
|
render() {
|
|
36631
36759
|
const theme = getIonTheme(this);
|
|
36632
|
-
return (hAsync(Host, { key: '
|
|
36760
|
+
return (hAsync(Host, { key: '51fe7517d41c643bd4e746f366f513c42dac17dc', role: "presentation", class: {
|
|
36633
36761
|
[theme]: true,
|
|
36634
36762
|
unbounded: this.unbounded,
|
|
36635
36763
|
} }));
|
|
@@ -37614,10 +37742,10 @@ class RouterLink {
|
|
|
37614
37742
|
rel: this.rel,
|
|
37615
37743
|
target: this.target,
|
|
37616
37744
|
};
|
|
37617
|
-
return (hAsync(Host, { key: '
|
|
37745
|
+
return (hAsync(Host, { key: '84efbafddc586ee3f616d4e1a13118c04d9b2753', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
37618
37746
|
[theme]: true,
|
|
37619
37747
|
'ion-activatable': true,
|
|
37620
|
-
}) }, hAsync("a", Object.assign({ key: '
|
|
37748
|
+
}) }, hAsync("a", Object.assign({ key: 'e8c7cda4c00ec45548ea52b632bc4adb07f9460c' }, attrs), hAsync("slot", { key: '133bf1203a3e218e3868b4cfda00bb753ecea946' }))));
|
|
37621
37749
|
}
|
|
37622
37750
|
static get style() { return routerLinkCss(); }
|
|
37623
37751
|
static get cmpMeta() { return {
|
|
@@ -37817,7 +37945,7 @@ class RouterOutlet {
|
|
|
37817
37945
|
return true;
|
|
37818
37946
|
}
|
|
37819
37947
|
render() {
|
|
37820
|
-
return hAsync("slot", { key: '
|
|
37948
|
+
return hAsync("slot", { key: '56e3d06ed939755796058e30ef19fbc7f7cb490d' });
|
|
37821
37949
|
}
|
|
37822
37950
|
get el() { return getElement(this); }
|
|
37823
37951
|
static get watchers() { return {
|
|
@@ -37857,9 +37985,9 @@ class Row {
|
|
|
37857
37985
|
}
|
|
37858
37986
|
render() {
|
|
37859
37987
|
const theme = getIonTheme(this);
|
|
37860
|
-
return (hAsync(Host, { key: '
|
|
37988
|
+
return (hAsync(Host, { key: '3a3c40062d2d0487c61dedbb172215b87bb425b1', class: {
|
|
37861
37989
|
[theme]: true,
|
|
37862
|
-
} }, hAsync("slot", { key: '
|
|
37990
|
+
} }, hAsync("slot", { key: '164f457f6f7853ed8f7279d20bc6ede6cf9d3e5c' })));
|
|
37863
37991
|
}
|
|
37864
37992
|
static get style() { return rowCss(); }
|
|
37865
37993
|
static get cmpMeta() { return {
|
|
@@ -38418,8 +38546,8 @@ class Searchbar {
|
|
|
38418
38546
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
38419
38547
|
const shape = this.getShape();
|
|
38420
38548
|
const size = this.getSize();
|
|
38421
|
-
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '
|
|
38422
|
-
return (hAsync(Host, { key: '
|
|
38549
|
+
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))));
|
|
38550
|
+
return (hAsync(Host, { key: '287a9c6ec7e54f621759224922003b5ce6c0fb25', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses$1(this.color, {
|
|
38423
38551
|
[theme]: true,
|
|
38424
38552
|
'searchbar-animated': animated,
|
|
38425
38553
|
'searchbar-disabled': this.disabled,
|
|
@@ -38433,14 +38561,14 @@ class Searchbar {
|
|
|
38433
38561
|
[`searchbar-shape-${shape}`]: shape !== undefined,
|
|
38434
38562
|
[`searchbar-size-${size}`]: size !== undefined,
|
|
38435
38563
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
38436
|
-
}) }, hAsync("div", { key: '
|
|
38564
|
+
}) }, 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) => {
|
|
38437
38565
|
/**
|
|
38438
38566
|
* This prevents mobile browsers from
|
|
38439
38567
|
* blurring the input when the clear
|
|
38440
38568
|
* button is activated.
|
|
38441
38569
|
*/
|
|
38442
38570
|
ev.preventDefault();
|
|
38443
|
-
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: '
|
|
38571
|
+
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: '6a9be85be51de19f84a852c43f93c46fb92c8d1a', "aria-hidden": "true", icon: searchbarClearIcon, lazy: false, class: "searchbar-clear-icon" })))), theme === 'ios' && cancelButton));
|
|
38444
38572
|
}
|
|
38445
38573
|
get el() { return getElement(this); }
|
|
38446
38574
|
static get watchers() { return {
|
|
@@ -39055,14 +39183,14 @@ class Segment {
|
|
|
39055
39183
|
}
|
|
39056
39184
|
render() {
|
|
39057
39185
|
const theme = getIonTheme(this);
|
|
39058
|
-
return (hAsync(Host, { key: '
|
|
39186
|
+
return (hAsync(Host, { key: '65c576c0bb9ff0602793f75321d676a34b306b3b', role: "tablist", onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
39059
39187
|
[theme]: true,
|
|
39060
39188
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
39061
39189
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
39062
39190
|
'segment-activated': this.activated,
|
|
39063
39191
|
'segment-disabled': this.disabled,
|
|
39064
39192
|
'segment-scrollable': this.scrollable,
|
|
39065
|
-
}) }, hAsync("slot", { key: '
|
|
39193
|
+
}) }, hAsync("slot", { key: '210750a65ccada549bccf026871477ee2b7bdc69', onSlotchange: this.onSlottedItemsChange })));
|
|
39066
39194
|
}
|
|
39067
39195
|
get el() { return getElement(this); }
|
|
39068
39196
|
static get watchers() { return {
|
|
@@ -39214,7 +39342,7 @@ class SegmentButton {
|
|
|
39214
39342
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
39215
39343
|
const theme = getIonTheme(this);
|
|
39216
39344
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
39217
|
-
return (hAsync(Host, { key: '
|
|
39345
|
+
return (hAsync(Host, { key: 'da5c8352e5e0f3a01211edbc39c5043cadc5b06f', class: {
|
|
39218
39346
|
[theme]: true,
|
|
39219
39347
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
39220
39348
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -39230,7 +39358,7 @@ class SegmentButton {
|
|
|
39230
39358
|
'ion-activatable': true,
|
|
39231
39359
|
'ion-activatable-instant': true,
|
|
39232
39360
|
'ion-focusable': true,
|
|
39233
|
-
} }, hAsync("button", Object.assign({ key: '
|
|
39361
|
+
} }, 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" }))));
|
|
39234
39362
|
}
|
|
39235
39363
|
get el() { return getElement(this); }
|
|
39236
39364
|
static get watchers() { return {
|
|
@@ -39268,7 +39396,7 @@ class SegmentContent {
|
|
|
39268
39396
|
registerInstance(this, hostRef);
|
|
39269
39397
|
}
|
|
39270
39398
|
render() {
|
|
39271
|
-
return (hAsync(Host, { key: '
|
|
39399
|
+
return (hAsync(Host, { key: '2f43cadcbcb1a9423b30e7abc169ff923a8c431f' }, hAsync("slot", { key: 'c3a6d3e9c336f5124cdec9f37ef516324558073c' })));
|
|
39272
39400
|
}
|
|
39273
39401
|
static get style() { return segmentContentCss(); }
|
|
39274
39402
|
static get cmpMeta() { return {
|
|
@@ -39396,11 +39524,11 @@ class SegmentView {
|
|
|
39396
39524
|
}
|
|
39397
39525
|
render() {
|
|
39398
39526
|
const { disabled, isManualScroll, swipeGesture } = this;
|
|
39399
|
-
return (hAsync(Host, { key: '
|
|
39527
|
+
return (hAsync(Host, { key: '8d1aa594c5674bca376ee3e9b18b60b0925dd875', class: {
|
|
39400
39528
|
'segment-view-disabled': disabled,
|
|
39401
39529
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
39402
39530
|
'segment-view-swipe-disabled': swipeGesture === false,
|
|
39403
|
-
} }, hAsync("slot", { key: '
|
|
39531
|
+
} }, hAsync("slot", { key: '6375fa794ae615b74a70968718aadefa0a9fc1d6' })));
|
|
39404
39532
|
}
|
|
39405
39533
|
get el() { return getElement(this); }
|
|
39406
39534
|
static get style() { return {
|
|
@@ -40336,7 +40464,7 @@ class Select {
|
|
|
40336
40464
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
40337
40465
|
*/
|
|
40338
40466
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
40339
|
-
return (hAsync(Host, { key: '
|
|
40467
|
+
return (hAsync(Host, { key: 'c8fc8ffc5e66fa0deef9556f365d8d95ff652b5d', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
40340
40468
|
[theme]: true,
|
|
40341
40469
|
'in-item': inItem,
|
|
40342
40470
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -40355,7 +40483,7 @@ class Select {
|
|
|
40355
40483
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
40356
40484
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
40357
40485
|
[`select-size-${size}`]: size !== undefined,
|
|
40358
|
-
}) }, hAsync("label", { key: '
|
|
40486
|
+
}) }, 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" },
|
|
40359
40487
|
/**
|
|
40360
40488
|
* For the ionic theme, we render the outline container here
|
|
40361
40489
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -40365,7 +40493,7 @@ class Select {
|
|
|
40365
40493
|
* <label> element, ensuring that clicking the label text
|
|
40366
40494
|
* focuses the select.
|
|
40367
40495
|
*/
|
|
40368
|
-
theme === 'ionic' && fill === 'outline' && hAsync("div", { key: '
|
|
40496
|
+
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()));
|
|
40369
40497
|
}
|
|
40370
40498
|
get el() { return getElement(this); }
|
|
40371
40499
|
static get watchers() { return {
|
|
@@ -40757,7 +40885,7 @@ class SelectModal {
|
|
|
40757
40885
|
});
|
|
40758
40886
|
}
|
|
40759
40887
|
render() {
|
|
40760
|
-
return (hAsync(Host, { key: '
|
|
40888
|
+
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()))));
|
|
40761
40889
|
}
|
|
40762
40890
|
get el() { return getElement(this); }
|
|
40763
40891
|
static get style() { return {
|
|
@@ -40802,7 +40930,7 @@ class SelectOption {
|
|
|
40802
40930
|
}
|
|
40803
40931
|
render() {
|
|
40804
40932
|
const theme = getIonTheme(this);
|
|
40805
|
-
return (hAsync(Host, { key: '
|
|
40933
|
+
return (hAsync(Host, { key: 'd7baa96e166b66c8f14c97e56674db4dfec2152c', class: {
|
|
40806
40934
|
[theme]: true,
|
|
40807
40935
|
}, role: "option", id: this.inputId }));
|
|
40808
40936
|
}
|
|
@@ -40971,9 +41099,9 @@ class SelectPopover {
|
|
|
40971
41099
|
const { header, message, options, subHeader } = this;
|
|
40972
41100
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
40973
41101
|
const theme = getIonTheme(this);
|
|
40974
|
-
return (hAsync(Host, { key: '
|
|
41102
|
+
return (hAsync(Host, { key: '47062077a192fb05f662f30c68e9c12323a69e47', class: {
|
|
40975
41103
|
[theme]: true,
|
|
40976
|
-
} }, hAsync("ion-list", { key: '
|
|
41104
|
+
} }, 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))));
|
|
40977
41105
|
}
|
|
40978
41106
|
get el() { return getElement(this); }
|
|
40979
41107
|
static get style() { return {
|
|
@@ -41028,11 +41156,11 @@ class SkeletonText {
|
|
|
41028
41156
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
41029
41157
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
41030
41158
|
const theme = getIonTheme(this);
|
|
41031
|
-
return (hAsync(Host, { key: '
|
|
41159
|
+
return (hAsync(Host, { key: '370451ee8963b776079f5df365f7bbd70a53b270', class: {
|
|
41032
41160
|
[theme]: true,
|
|
41033
41161
|
'skeleton-text-animated': animated,
|
|
41034
41162
|
'in-media': inMedia,
|
|
41035
|
-
} }, hAsync("span", { key: '
|
|
41163
|
+
} }, hAsync("span", { key: '2b861b4ec86cbd61927ab7b81b13517c99dc94c7' }, "\u00A0")));
|
|
41036
41164
|
}
|
|
41037
41165
|
get el() { return getElement(this); }
|
|
41038
41166
|
static get style() { return skeletonTextCss(); }
|
|
@@ -41105,7 +41233,7 @@ class Spinner {
|
|
|
41105
41233
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
41106
41234
|
}
|
|
41107
41235
|
}
|
|
41108
|
-
return (hAsync(Host, { key: '
|
|
41236
|
+
return (hAsync(Host, { key: 'b6559d1626b56a1c63580862263a15798f7d3f71', class: createColorClasses$1(self.color, {
|
|
41109
41237
|
[theme]: true,
|
|
41110
41238
|
[`spinner-${spinnerName}`]: true,
|
|
41111
41239
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -41217,12 +41345,12 @@ class SplitPane {
|
|
|
41217
41345
|
}
|
|
41218
41346
|
render() {
|
|
41219
41347
|
const theme = getIonTheme(this);
|
|
41220
|
-
return (hAsync(Host, { key: '
|
|
41348
|
+
return (hAsync(Host, { key: 'b933156f8f9d8ce418ff0d39526967f9653d6639', class: {
|
|
41221
41349
|
[theme]: true,
|
|
41222
41350
|
// Used internally for styling
|
|
41223
41351
|
[`split-pane-${theme}`]: true,
|
|
41224
41352
|
'split-pane-visible': this.visible,
|
|
41225
|
-
} }, hAsync("slot", { key: '
|
|
41353
|
+
} }, hAsync("slot", { key: '3ec0a11e5506386747dc972ccb094359ca975bae' })));
|
|
41226
41354
|
}
|
|
41227
41355
|
get el() { return getElement(this); }
|
|
41228
41356
|
static get watchers() { return {
|
|
@@ -41299,10 +41427,10 @@ class Tab {
|
|
|
41299
41427
|
}
|
|
41300
41428
|
render() {
|
|
41301
41429
|
const { tab, active, component } = this;
|
|
41302
|
-
return (hAsync(Host, { key: '
|
|
41430
|
+
return (hAsync(Host, { key: '8b978f848d43898feafa7daa3e3d9819be833038', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
41303
41431
|
'ion-page': component === undefined,
|
|
41304
41432
|
'tab-hidden': !active,
|
|
41305
|
-
} }, hAsync("slot", { key: '
|
|
41433
|
+
} }, hAsync("slot", { key: '96a92d86cecc8c9ef4f11d310f7f87bb99ce4e50' })));
|
|
41306
41434
|
}
|
|
41307
41435
|
get el() { return getElement(this); }
|
|
41308
41436
|
static get watchers() { return {
|
|
@@ -41509,7 +41637,7 @@ class TabBar {
|
|
|
41509
41637
|
const theme = getIonTheme(this);
|
|
41510
41638
|
const shape = this.getShape();
|
|
41511
41639
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
41512
|
-
return (hAsync(Host, { key: '
|
|
41640
|
+
return (hAsync(Host, { key: '16cd11a815d777a7517150b49b57a204c83c3c37', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses$1(color, {
|
|
41513
41641
|
[theme]: true,
|
|
41514
41642
|
'tab-bar-translucent': translucent,
|
|
41515
41643
|
'tab-bar-hidden': shouldHide,
|
|
@@ -41517,7 +41645,7 @@ class TabBar {
|
|
|
41517
41645
|
'tab-bar-scroll-hidden': scrollHidden,
|
|
41518
41646
|
[`tab-bar-${expand}`]: true,
|
|
41519
41647
|
[`tab-bar-${shape}`]: shape !== undefined,
|
|
41520
|
-
}) }, hAsync("slot", { key: '
|
|
41648
|
+
}) }, hAsync("slot", { key: 'dfdff308f24b3addaf18528a8d869b3fc64306d1' })));
|
|
41521
41649
|
}
|
|
41522
41650
|
get el() { return getElement(this); }
|
|
41523
41651
|
static get watchers() { return {
|
|
@@ -41645,7 +41773,7 @@ class TabButton {
|
|
|
41645
41773
|
rel,
|
|
41646
41774
|
target,
|
|
41647
41775
|
};
|
|
41648
|
-
return (hAsync(Host, { key: '
|
|
41776
|
+
return (hAsync(Host, { key: 'e4d3aaefcdc42677f7818c51ec1ec0a9cbcf8bcf', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
41649
41777
|
[theme]: true,
|
|
41650
41778
|
'tab-selected': selected,
|
|
41651
41779
|
'tab-disabled': disabled,
|
|
@@ -41658,7 +41786,7 @@ class TabButton {
|
|
|
41658
41786
|
'ion-selectable': true,
|
|
41659
41787
|
[`tab-button-shape-${shape}`]: shape !== undefined,
|
|
41660
41788
|
'ion-focusable': true,
|
|
41661
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
41789
|
+
} }, 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" }))));
|
|
41662
41790
|
}
|
|
41663
41791
|
get el() { return getElement(this); }
|
|
41664
41792
|
static get style() { return {
|
|
@@ -41854,7 +41982,7 @@ class Tabs {
|
|
|
41854
41982
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
41855
41983
|
}
|
|
41856
41984
|
render() {
|
|
41857
|
-
return (hAsync(Host, { key: '
|
|
41985
|
+
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" })));
|
|
41858
41986
|
}
|
|
41859
41987
|
get el() { return getElement(this); }
|
|
41860
41988
|
static get style() { return tabsCss(); }
|
|
@@ -41895,9 +42023,9 @@ class Text {
|
|
|
41895
42023
|
}
|
|
41896
42024
|
render() {
|
|
41897
42025
|
const theme = getIonTheme(this);
|
|
41898
|
-
return (hAsync(Host, { key: '
|
|
42026
|
+
return (hAsync(Host, { key: '8fc5565ce579f8e2a9eddbaa7c93264291080bce', class: createColorClasses$1(this.color, {
|
|
41899
42027
|
[theme]: true,
|
|
41900
|
-
}) }, hAsync("slot", { key: '
|
|
42028
|
+
}) }, hAsync("slot", { key: '5be1d661ee3a6f1f9d9428b59e830672faf475b1' })));
|
|
41901
42029
|
}
|
|
41902
42030
|
static get style() { return textCss(); }
|
|
41903
42031
|
static get cmpMeta() { return {
|
|
@@ -42461,7 +42589,7 @@ class Textarea {
|
|
|
42461
42589
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
42462
42590
|
*/
|
|
42463
42591
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
42464
|
-
return (hAsync(Host, { key: '
|
|
42592
|
+
return (hAsync(Host, { key: 'a67ef5f3107776dcd8490bdd2af4a373ae422899', class: createColorClasses$1(this.color, {
|
|
42465
42593
|
[theme]: true,
|
|
42466
42594
|
'has-value': hasValue,
|
|
42467
42595
|
'has-focus': hasFocus,
|
|
@@ -42473,7 +42601,7 @@ class Textarea {
|
|
|
42473
42601
|
'in-item': inItem,
|
|
42474
42602
|
'textarea-disabled': disabled,
|
|
42475
42603
|
'textarea-readonly': readonly,
|
|
42476
|
-
}) }, hAsync("label", { key: '
|
|
42604
|
+
}) }, hAsync("label", { key: '7a8605454eb66d87a4b49ffd28e609a633eae09c', class: "textarea-wrapper", htmlFor: inputId, onClick: this.onLabelClick, part: "wrapper" }, this.renderLabelContainer(), hAsync("div", { key: '8b24d96089d11f659dbd5adfcbf317ec34742333', class: "textarea-wrapper-inner" },
|
|
42477
42605
|
/**
|
|
42478
42606
|
* For the ionic theme, we render the outline container here
|
|
42479
42607
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -42483,7 +42611,7 @@ class Textarea {
|
|
|
42483
42611
|
* <label> element, ensuring that clicking the label text
|
|
42484
42612
|
* focuses the textarea.
|
|
42485
42613
|
*/
|
|
42486
|
-
theme === 'ionic' && fill === 'outline' && hAsync("div", { key: '
|
|
42614
|
+
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()));
|
|
42487
42615
|
}
|
|
42488
42616
|
static get delegatesFocus() { return true; }
|
|
42489
42617
|
static get formAssociated() { return true; }
|
|
@@ -42567,9 +42695,9 @@ class Thumbnail {
|
|
|
42567
42695
|
}
|
|
42568
42696
|
render() {
|
|
42569
42697
|
const theme = getIonTheme(this);
|
|
42570
|
-
return (hAsync(Host, { key: '
|
|
42698
|
+
return (hAsync(Host, { key: 'fdf9d92949a1e8cf6faded77ffed084f74fc040b', class: {
|
|
42571
42699
|
[theme]: true,
|
|
42572
|
-
} }, hAsync("slot", { key: '
|
|
42700
|
+
} }, hAsync("slot", { key: 'e1b1439c035d9a9503efd1c1a04aed9f4e8e0af7' })));
|
|
42573
42701
|
}
|
|
42574
42702
|
static get style() { return thumbnailCss(); }
|
|
42575
42703
|
static get cmpMeta() { return {
|
|
@@ -43453,9 +43581,9 @@ class Toast {
|
|
|
43453
43581
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
43454
43582
|
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);
|
|
43455
43583
|
}
|
|
43456
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
43584
|
+
return (hAsync(Host, Object.assign({ key: 'f0d62f099dd68f8f541110a60695c2a083c6a4d5', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
43457
43585
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
43458
|
-
}, 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: '
|
|
43586
|
+
}, 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')))));
|
|
43459
43587
|
}
|
|
43460
43588
|
get el() { return getElement(this); }
|
|
43461
43589
|
static get watchers() { return {
|
|
@@ -43831,7 +43959,7 @@ class Toggle {
|
|
|
43831
43959
|
const rtl = isRTL$1(el) ? 'rtl' : 'ltr';
|
|
43832
43960
|
const isIonicTheme = theme === 'ionic';
|
|
43833
43961
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
43834
|
-
return (hAsync(Host, { key: '
|
|
43962
|
+
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, {
|
|
43835
43963
|
[theme]: true,
|
|
43836
43964
|
'in-item': hostContext('ion-item', el),
|
|
43837
43965
|
'toggle-activated': activated,
|
|
@@ -43843,10 +43971,10 @@ class Toggle {
|
|
|
43843
43971
|
[`toggle-${rtl}`]: true,
|
|
43844
43972
|
'ion-activatable': isIonicTheme,
|
|
43845
43973
|
'ion-focusable': isIonicTheme,
|
|
43846
|
-
}) }, hAsync("label", { key: '
|
|
43974
|
+
}) }, 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: {
|
|
43847
43975
|
'label-text-wrapper': true,
|
|
43848
43976
|
'label-text-wrapper-hidden': !hasLabel,
|
|
43849
|
-
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '
|
|
43977
|
+
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: 'c86e28aca1011a3d5a453b92ddc8b6d1ab049f0b' }), this.renderHintText()), hAsync("div", { key: '80390009e2a3d1ad699e1b698df725449c8fab53', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
43850
43978
|
}
|
|
43851
43979
|
get el() { return getElement(this); }
|
|
43852
43980
|
static get watchers() { return {
|
|
@@ -44138,11 +44266,11 @@ class Toolbar {
|
|
|
44138
44266
|
Object.assign(childStyles, style);
|
|
44139
44267
|
});
|
|
44140
44268
|
const titlePlacement = this.getTitlePlacement();
|
|
44141
|
-
return (hAsync(Host, { key: '
|
|
44269
|
+
return (hAsync(Host, { key: 'bcb621674157410d7eaeb006779bdd677346587e', class: Object.assign(Object.assign({}, createColorClasses$1(this.color, {
|
|
44142
44270
|
[theme]: true,
|
|
44143
44271
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
44144
44272
|
[`toolbar-title-placement-${titlePlacement}`]: true,
|
|
44145
|
-
})), childStyles) }, hAsync("div", { key: '
|
|
44273
|
+
})), 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 }))));
|
|
44146
44274
|
}
|
|
44147
44275
|
get el() { return getElement(this); }
|
|
44148
44276
|
static get watchers() { return {
|
|
@@ -44201,11 +44329,11 @@ class ToolbarTitle {
|
|
|
44201
44329
|
render() {
|
|
44202
44330
|
const theme = getIonTheme(this);
|
|
44203
44331
|
const size = this.getSize();
|
|
44204
|
-
return (hAsync(Host, { key: '
|
|
44332
|
+
return (hAsync(Host, { key: 'd64e86bed418cba707d4a26c9274f18ed06c0e9e', class: createColorClasses$1(this.color, {
|
|
44205
44333
|
[theme]: true,
|
|
44206
44334
|
[`title-${size}`]: true,
|
|
44207
44335
|
'title-rtl': document.dir === 'rtl',
|
|
44208
|
-
}) }, hAsync("div", { key: '
|
|
44336
|
+
}) }, hAsync("div", { key: '386a71e974cde0bfbf5b655d69ed5f718de8ce48', class: "toolbar-title" }, hAsync("slot", { key: '8aa804c9e1b11574a42268805d3117a085e699b4' }))));
|
|
44209
44337
|
}
|
|
44210
44338
|
get el() { return getElement(this); }
|
|
44211
44339
|
static get watchers() { return {
|
|
@@ -44262,6 +44390,7 @@ registerComponents([
|
|
|
44262
44390
|
FabList,
|
|
44263
44391
|
Footer,
|
|
44264
44392
|
Gallery,
|
|
44393
|
+
GalleryItem,
|
|
44265
44394
|
Grid,
|
|
44266
44395
|
Header,
|
|
44267
44396
|
Icon,
|