@ionic/core 8.8.7-dev.11779385275.161a641b → 8.8.7-dev.11779400352.127ba526
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ion-action-sheet.js +1 -1
- package/components/ion-alert.js +1 -1
- package/components/ion-back-button.js +1 -1
- package/components/ion-button.js +1 -1
- package/components/ion-card.js +1 -1
- package/components/ion-chip.js +1 -1
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +1 -1
- package/components/ion-fab-button.js +1 -1
- package/components/ion-gallery-item.d.ts +11 -0
- package/components/ion-gallery-item.js +4 -0
- package/components/ion-gallery.js +1 -1
- package/components/ion-grid.js +1 -1
- package/components/ion-header.js +1 -1
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +1 -1
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-otp.js +1 -1
- package/components/ion-input-password-toggle.js +1 -1
- package/components/ion-input.js +1 -1
- package/components/ion-item-divider.js +1 -1
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +1 -1
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-item.js +1 -1
- package/components/ion-label.js +1 -1
- package/components/ion-list-header.js +1 -1
- package/components/ion-list.js +1 -1
- package/components/ion-loading.js +1 -1
- package/components/ion-menu-button.js +1 -1
- package/components/ion-menu-toggle.js +1 -1
- package/components/ion-menu.js +1 -1
- package/components/ion-modal.js +1 -1
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +1 -1
- package/components/ion-picker-column-option.js +1 -1
- package/components/ion-picker-legacy-column.js +1 -1
- package/components/ion-picker-legacy.js +1 -1
- package/components/ion-popover.js +1 -1
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-radio-group.js +1 -1
- package/components/ion-radio.js +1 -1
- package/components/ion-range.js +1 -1
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-ripple-effect.js +1 -1
- package/components/ion-router-link.js +1 -1
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +1 -1
- package/components/ion-segment-button.js +1 -1
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +1 -1
- package/components/ion-segment.js +1 -1
- package/components/ion-select-modal.js +1 -1
- package/components/ion-select-option.js +1 -1
- package/components/ion-select-popover.js +1 -1
- package/components/ion-select.js +1 -1
- package/components/ion-skeleton-text.js +1 -1
- package/components/ion-spinner.js +1 -1
- package/components/ion-split-pane.js +1 -1
- package/components/ion-tab-bar.js +1 -1
- package/components/ion-tab-button.js +1 -1
- package/components/ion-tab.js +1 -1
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +1 -1
- package/components/ion-textarea.js +1 -1
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +1 -1
- package/components/ion-toast.js +1 -1
- package/components/ion-toggle.js +1 -1
- package/components/ion-toolbar.js +1 -1
- package/components/{p-BLCuPAtN.js → p-6_r-Odtt.js} +1 -1
- package/components/{p-BFbsici0.js → p-B-oPDoNQ.js} +1 -1
- package/components/{p-IMXp2Inn.js → p-BLHs-wsh.js} +1 -1
- package/components/{p-DXUyXgVL.js → p-BdmDSErh.js} +1 -1
- package/components/{p-CN-WzkJE.js → p-BhkRbo3L.js} +1 -1
- package/components/{p-C8ktKu9j.js → p-C-Vjb84N.js} +1 -1
- package/components/p-C4dDZdpz.js +4 -0
- package/components/{p-DH_9VCbD.js → p-C75do9pU.js} +1 -1
- package/components/{p-BRWWcnBq.js → p-CSf_VKpz.js} +1 -1
- package/components/{p-Di5rHO3q.js → p-CieebRr6.js} +1 -1
- package/components/{p-DTtRWhIZ.js → p-Ct1_qpJ-.js} +1 -1
- package/components/{p-BXcCGjEc.js → p-CvljGih0.js} +1 -1
- package/components/{p-B2rpt1JV.js → p-D42P_qbe.js} +1 -1
- package/components/{p-BqImG3uk.js → p-DZOqbnq2.js} +1 -1
- package/components/{p-Dmuy6xyk.js → p-Ddl4_R29.js} +1 -1
- package/components/{p-CIoAIKEr.js → p-J7srYGKf.js} +1 -1
- package/components/{p-B71c6yUH.js → p-KF2RUDHO.js} +1 -1
- package/components/{p-TR4ubkPu.js → p-lEYPO4ZC.js} +1 -1
- package/components/{p-CoFqDNc5.js → p-n94Bzx6_.js} +1 -1
- package/components/{p-DAv9P_LE.js → p-vGxjPSKT.js} +1 -1
- package/dist/cjs/ion-app_8.cjs.entry.js +7 -7
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-datetime_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-gallery-item.cjs.entry.js +72 -0
- package/dist/cjs/ion-gallery.cjs.entry.js +41 -13
- package/dist/cjs/ion-img.cjs.entry.js +2 -2
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-otp.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ion-input.cjs.entry.js +4 -4
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +12 -12
- package/dist/cjs/ion-loading.cjs.entry.js +2 -2
- package/dist/cjs/ion-menu_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-modal.cjs.entry.js +4 -4
- package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +2 -2
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-reorder_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +4 -4
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-select-modal.cjs.entry.js +1 -1
- package/dist/cjs/ion-select_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +3 -3
- package/dist/cjs/ion-toast.cjs.entry.js +2 -2
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/gallery/gallery.css +0 -24
- package/dist/collection/components/gallery/gallery.js +40 -12
- package/dist/collection/components/gallery/test/utils.js +13 -13
- package/dist/collection/components/gallery-item/gallery-item.css +87 -0
- package/dist/collection/components/gallery-item/gallery-item.js +87 -0
- package/dist/collection/components/grid/grid.js +2 -2
- package/dist/collection/components/header/header.js +2 -2
- package/dist/collection/components/img/img.js +2 -2
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
- package/dist/collection/components/input/input.js +4 -4
- package/dist/collection/components/input-otp/input-otp.js +3 -3
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +3 -3
- package/dist/collection/components/item-divider/item-divider.js +2 -2
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.js +2 -2
- package/dist/collection/components/item-options/item-options.js +1 -1
- package/dist/collection/components/item-sliding/item-sliding.js +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list-header/list-header.js +2 -2
- package/dist/collection/components/loading/loading.js +2 -2
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu-button/menu-button.js +2 -2
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/modal.js +4 -4
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
- package/dist/collection/components/picker-legacy/picker.js +2 -2
- package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio/radio.js +3 -3
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- package/dist/collection/components/range/range.js +3 -3
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +2 -2
- package/dist/collection/components/reorder/reorder.js +2 -2
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-outlet/router-outlet.js +1 -1
- package/dist/collection/components/row/row.js +2 -2
- package/dist/collection/components/searchbar/searchbar.js +4 -4
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment-button/segment-button.js +2 -2
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.js +2 -2
- package/dist/collection/components/select/select.js +3 -3
- package/dist/collection/components/select-modal/select-modal.js +1 -1
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +2 -2
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/textarea.js +3 -3
- package/dist/collection/components/thumbnail/thumbnail.js +2 -2
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/docs.json +85 -1
- package/dist/esm/ion-app_8.entry.js +7 -7
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +4 -4
- package/dist/esm/ion-datetime_3.entry.js +4 -4
- package/dist/esm/ion-gallery-item.entry.js +70 -0
- package/dist/esm/ion-gallery.entry.js +41 -13
- package/dist/esm/ion-img.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll_2.entry.js +3 -3
- package/dist/esm/ion-input-otp.entry.js +3 -3
- package/dist/esm/ion-input-password-toggle.entry.js +3 -3
- package/dist/esm/ion-input.entry.js +4 -4
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +12 -12
- package/dist/esm/ion-loading.entry.js +2 -2
- package/dist/esm/ion-menu_3.entry.js +6 -6
- package/dist/esm/ion-modal.entry.js +4 -4
- package/dist/esm/ion-nav_2.entry.js +2 -2
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +2 -2
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +5 -5
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher_2.entry.js +3 -3
- package/dist/esm/ion-reorder_2.entry.js +3 -3
- package/dist/esm/ion-ripple-effect.entry.js +1 -1
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +4 -4
- package/dist/esm/ion-segment-content.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +4 -4
- package/dist/esm/ion-select-modal.entry.js +1 -1
- package/dist/esm/ion-select_3.entry.js +6 -6
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +4 -4
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +3 -3
- package/dist/esm/ion-toast.entry.js +2 -2
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/html.html-data.json +42 -0
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-76307d10.entry.js → p-02a1a45c.entry.js} +1 -1
- package/dist/ionic/{p-bd71a4a7.entry.js → p-0c3bf0a7.entry.js} +1 -1
- package/dist/ionic/{p-90e653e3.entry.js → p-0ef2fcda.entry.js} +1 -1
- package/dist/ionic/p-1ab01507.entry.js +4 -0
- package/dist/ionic/p-21ca5788.entry.js +4 -0
- package/dist/ionic/p-229c8fb5.entry.js +4 -0
- package/dist/ionic/p-2981a0bd.entry.js +4 -0
- package/dist/ionic/{p-e18d3fdb.entry.js → p-2a66b899.entry.js} +1 -1
- package/dist/ionic/{p-a9fb086b.entry.js → p-2c252788.entry.js} +1 -1
- package/dist/ionic/p-2d5a2511.entry.js +4 -0
- package/dist/ionic/{p-2f0073af.entry.js → p-3d939d55.entry.js} +1 -1
- package/dist/ionic/{p-d4ed5710.entry.js → p-3fd97ea9.entry.js} +1 -1
- package/dist/ionic/{p-2ad79c23.entry.js → p-455ac83a.entry.js} +1 -1
- package/dist/ionic/{p-5274f999.entry.js → p-503219b5.entry.js} +1 -1
- package/dist/ionic/{p-7d5057c4.entry.js → p-5b164421.entry.js} +1 -1
- package/dist/ionic/{p-3f79f594.entry.js → p-636aa79b.entry.js} +1 -1
- package/dist/ionic/{p-ae667493.entry.js → p-65159e09.entry.js} +1 -1
- package/dist/ionic/{p-00c0bd38.entry.js → p-6911beb3.entry.js} +1 -1
- package/dist/ionic/{p-fad05840.entry.js → p-6ec1e450.entry.js} +1 -1
- package/dist/ionic/p-76de7898.entry.js +4 -0
- package/dist/ionic/{p-1c2c1869.entry.js → p-7761b69d.entry.js} +1 -1
- package/dist/ionic/{p-48026d15.entry.js → p-8291455b.entry.js} +1 -1
- package/dist/ionic/{p-b653f4c2.entry.js → p-83c0eb9b.entry.js} +1 -1
- package/dist/ionic/{p-d6299c37.entry.js → p-874945f3.entry.js} +1 -1
- package/dist/ionic/{p-b3c9f19c.entry.js → p-92427c9d.entry.js} +1 -1
- package/dist/ionic/{p-71b6014c.entry.js → p-9f914d43.entry.js} +1 -1
- package/dist/ionic/{p-1709b0aa.entry.js → p-b8f7e970.entry.js} +1 -1
- package/dist/ionic/{p-83c693c4.entry.js → p-bb2d2635.entry.js} +1 -1
- package/dist/ionic/{p-1c4de46b.entry.js → p-bd3ae730.entry.js} +1 -1
- package/dist/ionic/{p-586d4270.entry.js → p-c1d6501a.entry.js} +1 -1
- package/dist/ionic/{p-50cd2d57.entry.js → p-c55a5578.entry.js} +1 -1
- package/dist/ionic/{p-72491468.entry.js → p-cecceb9f.entry.js} +1 -1
- package/dist/ionic/{p-9d789053.entry.js → p-d604defc.entry.js} +1 -1
- package/dist/ionic/{p-35b144f5.entry.js → p-dd1e95c5.entry.js} +1 -1
- package/dist/ionic/{p-7054a1b9.entry.js → p-e342b205.entry.js} +1 -1
- package/dist/ionic/{p-15e3e8f5.entry.js → p-e5976b28.entry.js} +1 -1
- package/dist/ionic/{p-b2fe6c1c.entry.js → p-e73a7fe2.entry.js} +1 -1
- package/dist/ionic/{p-50b61fab.entry.js → p-fc01563c.entry.js} +1 -1
- package/dist/ionic/{p-8537b2fb.entry.js → p-fdf0e290.entry.js} +1 -1
- package/dist/ionic/{p-c10fa162.entry.js → p-fe073307.entry.js} +1 -1
- package/dist/types/components/gallery/gallery.d.ts +8 -3
- package/dist/types/components/gallery/test/utils.d.ts +1 -1
- package/dist/types/components/gallery-item/gallery-item.d.ts +25 -0
- package/dist/types/components.d.ts +29 -0
- package/hydrate/index.js +243 -135
- package/hydrate/index.mjs +243 -135
- package/package.json +1 -1
- package/components/p-B6zr9RZN.js +0 -4
- package/dist/ionic/p-0f3b4262.entry.js +0 -4
- package/dist/ionic/p-1e1c8d61.entry.js +0 -4
- package/dist/ionic/p-2aa7567e.entry.js +0 -4
- package/dist/ionic/p-4079cee3.entry.js +0 -4
- package/dist/ionic/p-bf972309.entry.js +0 -4
package/hydrate/index.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.
|
|
@@ -18745,12 +18746,12 @@ const BREAKPOINT_ORDER = ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'];
|
|
|
18745
18746
|
class Gallery {
|
|
18746
18747
|
constructor(hostRef) {
|
|
18747
18748
|
registerInstance(this, hostRef);
|
|
18748
|
-
this.itemWrapperSelector = '[data-gallery-group]';
|
|
18749
18749
|
// Keep track of whether we've warned about invalid columns, invalid gap,
|
|
18750
18750
|
// and unused order properties to avoid duplicate warnings on screen resize.
|
|
18751
18751
|
this.hasWarnedInvalidColumns = false;
|
|
18752
18752
|
this.hasWarnedInvalidGap = false;
|
|
18753
18753
|
this.hasWarnedUnusedOrder = false;
|
|
18754
|
+
this.hasWarnedInvalidItems = false;
|
|
18754
18755
|
/**
|
|
18755
18756
|
* The visual layout of the gallery. When `uniform`, rows take up the height
|
|
18756
18757
|
* of the tallest item and are spaced evenly across the gallery. Additionally,
|
|
@@ -19003,6 +19004,16 @@ class Gallery {
|
|
|
19003
19004
|
printIonWarning(`[ion-gallery] - "order" has no effect when "layout" is "uniform". Set "layout" to "masonry" for "order" to apply.`, this.el);
|
|
19004
19005
|
this.hasWarnedUnusedOrder = true;
|
|
19005
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
|
+
}
|
|
19006
19017
|
/**
|
|
19007
19018
|
* Resolve the active columns value for the current width. Falls back to
|
|
19008
19019
|
* the default responsive columns when the provided prop is invalid.
|
|
@@ -19065,20 +19076,37 @@ class Gallery {
|
|
|
19065
19076
|
}
|
|
19066
19077
|
/**
|
|
19067
19078
|
* Return all gallery items that can be grid items with inline placement styles.
|
|
19068
|
-
* Direct children
|
|
19069
|
-
*
|
|
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.
|
|
19070
19082
|
*/
|
|
19071
19083
|
getItems() {
|
|
19072
|
-
const
|
|
19084
|
+
const directChildren = Array.from(this.el.children).filter((child) => this.isGalleryItemElement(child));
|
|
19073
19085
|
const flattenedItems = [];
|
|
19074
|
-
|
|
19075
|
-
|
|
19076
|
-
|
|
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();
|
|
19077
19104
|
return;
|
|
19078
19105
|
}
|
|
19079
|
-
|
|
19080
|
-
|
|
19081
|
-
|
|
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));
|
|
19082
19110
|
});
|
|
19083
19111
|
return flattenedItems;
|
|
19084
19112
|
}
|
|
@@ -19193,11 +19221,11 @@ class Gallery {
|
|
|
19193
19221
|
const { layout } = this;
|
|
19194
19222
|
const order = this.getOrder();
|
|
19195
19223
|
const theme = getIonTheme(this);
|
|
19196
|
-
return (hAsync(Host, { key: '
|
|
19224
|
+
return (hAsync(Host, { key: '0b6ef176032845b3df3b2335be90cb6ce5d791cc', class: {
|
|
19197
19225
|
[theme]: true,
|
|
19198
19226
|
[`gallery-layout-${layout}`]: true,
|
|
19199
19227
|
[`gallery-order-${order}`]: layout === 'masonry' && order !== undefined,
|
|
19200
|
-
} }, hAsync("slot", { key: '
|
|
19228
|
+
} }, hAsync("slot", { key: '247df9bb58b6899da7db60cdd475ccff0872673e', onSlotchange: this.onSlotChange })));
|
|
19201
19229
|
}
|
|
19202
19230
|
get el() { return getElement(this); }
|
|
19203
19231
|
static get watchers() { return {
|
|
@@ -19230,6 +19258,85 @@ class Gallery {
|
|
|
19230
19258
|
}; }
|
|
19231
19259
|
}
|
|
19232
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
|
+
|
|
19233
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}`;
|
|
19234
19341
|
|
|
19235
19342
|
/**
|
|
@@ -19246,10 +19353,10 @@ class Grid {
|
|
|
19246
19353
|
}
|
|
19247
19354
|
render() {
|
|
19248
19355
|
const theme = getIonTheme(this);
|
|
19249
|
-
return (hAsync(Host, { key: '
|
|
19356
|
+
return (hAsync(Host, { key: 'e3320fc2fc5391d26898cc119505cd3be30dd48b', class: {
|
|
19250
19357
|
[theme]: true,
|
|
19251
19358
|
'grid-fixed': this.fixed,
|
|
19252
|
-
} }, hAsync("slot", { key: '
|
|
19359
|
+
} }, hAsync("slot", { key: '2000e6b336c294aadf4585269c301d734d2fe478' })));
|
|
19253
19360
|
}
|
|
19254
19361
|
static get style() { return gridCss(); }
|
|
19255
19362
|
static get cmpMeta() { return {
|
|
@@ -19651,7 +19758,7 @@ class Header {
|
|
|
19651
19758
|
const isCondensed = collapse === 'condense';
|
|
19652
19759
|
// banner role must be at top level, so remove role if inside a menu
|
|
19653
19760
|
const roleType = getRoleType(hostContext('ion-menu', this.el), isCondensed, theme);
|
|
19654
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
19761
|
+
return (hAsync(Host, Object.assign({ key: '3395dedfd5165ba6e9f3ad1a25f0bb5b3678704a', role: roleType, class: {
|
|
19655
19762
|
[theme]: true,
|
|
19656
19763
|
// Used internally for styling
|
|
19657
19764
|
[`header-${theme}`]: true,
|
|
@@ -19659,7 +19766,7 @@ class Header {
|
|
|
19659
19766
|
[`header-collapse-${collapse}`]: true,
|
|
19660
19767
|
[`header-translucent-${theme}`]: this.translucent,
|
|
19661
19768
|
['header-divider']: divider,
|
|
19662
|
-
} }, inheritedAttributes), theme !== 'md' && translucent && hAsync("div", { key: '
|
|
19769
|
+
} }, inheritedAttributes), theme !== 'md' && translucent && hAsync("div", { key: 'cafeb88b6e73d64b264514ea46590fd3477b3052', class: "header-background" }), hAsync("slot", { key: 'ad681aaf866d7e7a5e5e731c0b5d6f5cc9fe94d2' })));
|
|
19663
19770
|
}
|
|
19664
19771
|
get el() { return getElement(this); }
|
|
19665
19772
|
static get style() { return {
|
|
@@ -20010,9 +20117,9 @@ class Img {
|
|
|
20010
20117
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
20011
20118
|
const { draggable } = inheritedAttributes;
|
|
20012
20119
|
const theme = getIonTheme(this);
|
|
20013
|
-
return (hAsync(Host, { key: '
|
|
20120
|
+
return (hAsync(Host, { key: 'ba84621055567b2a35387709d9d89b97ad853274', class: {
|
|
20014
20121
|
[theme]: true,
|
|
20015
|
-
} }, hAsync("img", { key: '
|
|
20122
|
+
} }, hAsync("img", { key: '9d6118bbf69e2cccbb0603802c03b9a0d101e2c3', decoding: "async", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: "image", draggable: isDraggable(draggable) })));
|
|
20016
20123
|
}
|
|
20017
20124
|
get el() { return getElement(this); }
|
|
20018
20125
|
static get watchers() { return {
|
|
@@ -20317,7 +20424,7 @@ class InfiniteScroll {
|
|
|
20317
20424
|
render() {
|
|
20318
20425
|
const theme = getIonTheme(this);
|
|
20319
20426
|
const disabled = this.disabled;
|
|
20320
|
-
return (hAsync(Host, { key: '
|
|
20427
|
+
return (hAsync(Host, { key: 'e3a3cde079dfd6f07e565eb462765df757cbb128', class: {
|
|
20321
20428
|
[theme]: true,
|
|
20322
20429
|
'infinite-scroll-loading': this.isLoading,
|
|
20323
20430
|
'infinite-scroll-enabled': !disabled,
|
|
@@ -20380,11 +20487,11 @@ class InfiniteScrollContent {
|
|
|
20380
20487
|
}
|
|
20381
20488
|
render() {
|
|
20382
20489
|
const theme = getIonTheme(this);
|
|
20383
|
-
return (hAsync(Host, { key: '
|
|
20490
|
+
return (hAsync(Host, { key: '263a27297159ced042f7552a1e14b8c6aba62fa8', class: {
|
|
20384
20491
|
[theme]: true,
|
|
20385
20492
|
// Used internally for styling
|
|
20386
20493
|
[`infinite-scroll-content-${theme}`]: true,
|
|
20387
|
-
} }, 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())));
|
|
20388
20495
|
}
|
|
20389
20496
|
static get style() { return {
|
|
20390
20497
|
ionic: ionicInfiniteScrollContentMdCss(),
|
|
@@ -21132,7 +21239,7 @@ class Input {
|
|
|
21132
21239
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
21133
21240
|
*/
|
|
21134
21241
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
21135
|
-
return (hAsync(Host, { key: '
|
|
21242
|
+
return (hAsync(Host, { key: '3da29d837b5abe22de740ac96c8142422fce537a', class: createColorClasses$1(this.color, {
|
|
21136
21243
|
[theme]: true,
|
|
21137
21244
|
'has-value': hasValue,
|
|
21138
21245
|
'has-focus': hasFocus,
|
|
@@ -21145,7 +21252,7 @@ class Input {
|
|
|
21145
21252
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
21146
21253
|
'input-disabled': disabled,
|
|
21147
21254
|
'input-readonly': readonly,
|
|
21148
|
-
}) }, 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 },
|
|
21149
21256
|
/**
|
|
21150
21257
|
* For the ionic theme, we render the outline container here
|
|
21151
21258
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -21155,14 +21262,14 @@ class Input {
|
|
|
21155
21262
|
* <label> element, ensuring that clicking the label text
|
|
21156
21263
|
* focuses the input.
|
|
21157
21264
|
*/
|
|
21158
|
-
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) => {
|
|
21159
21266
|
/**
|
|
21160
21267
|
* This prevents mobile browsers from
|
|
21161
21268
|
* blurring the input when the clear
|
|
21162
21269
|
* button is activated.
|
|
21163
21270
|
*/
|
|
21164
21271
|
ev.preventDefault();
|
|
21165
|
-
}, 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()));
|
|
21166
21273
|
}
|
|
21167
21274
|
get el() { return getElement(this); }
|
|
21168
21275
|
static get watchers() { return {
|
|
@@ -21927,7 +22034,7 @@ class InputOTP {
|
|
|
21927
22034
|
const tabbableIndex = this.getTabbableIndex();
|
|
21928
22035
|
const pattern = this.getPattern();
|
|
21929
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()) !== '';
|
|
21930
|
-
return (hAsync(Host, { key: '
|
|
22037
|
+
return (hAsync(Host, { key: 'f39e98cd24cbf50f7db4e891dda9499f6def7986', class: createColorClasses$1(color, {
|
|
21931
22038
|
[mode]: true,
|
|
21932
22039
|
'has-focus': hasFocus,
|
|
21933
22040
|
[`input-otp-size-${size}`]: true,
|
|
@@ -21935,10 +22042,10 @@ class InputOTP {
|
|
|
21935
22042
|
[`input-otp-fill-${fill}`]: true,
|
|
21936
22043
|
'input-otp-disabled': disabled,
|
|
21937
22044
|
'input-otp-readonly': readonly,
|
|
21938
|
-
}) }, 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: {
|
|
21939
22046
|
'input-otp-description': true,
|
|
21940
22047
|
'input-otp-description-hidden': !hasDescription,
|
|
21941
|
-
}, part: "description" }, hAsync("slot", { key: '
|
|
22048
|
+
}, part: "description" }, hAsync("slot", { key: '15c7c8549c1788748e1ae31bd227a7f918cb5eca' }))));
|
|
21942
22049
|
}
|
|
21943
22050
|
static get formAssociated() { return true; }
|
|
21944
22051
|
get el() { return getElement(this); }
|
|
@@ -22086,16 +22193,16 @@ class InputPasswordToggle {
|
|
|
22086
22193
|
const { color, inputPasswordHideIcon, inputPasswordShowIcon, type } = this;
|
|
22087
22194
|
const mode = getIonMode$1(this);
|
|
22088
22195
|
const isPasswordVisible = type === 'text';
|
|
22089
|
-
return (hAsync(Host, { key: '
|
|
22196
|
+
return (hAsync(Host, { key: 'f11e3bf4d3255e003aec504e6dd3ee1e0caaf767', class: createColorClasses$1(color, {
|
|
22090
22197
|
[mode]: true,
|
|
22091
|
-
}) }, 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) => {
|
|
22092
22199
|
/**
|
|
22093
22200
|
* This prevents mobile browsers from
|
|
22094
22201
|
* blurring the input when the password toggle
|
|
22095
22202
|
* button is activated.
|
|
22096
22203
|
*/
|
|
22097
22204
|
ev.preventDefault();
|
|
22098
|
-
}, 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 }))));
|
|
22099
22206
|
}
|
|
22100
22207
|
get el() { return getElement(this); }
|
|
22101
22208
|
static get watchers() { return {
|
|
@@ -22470,11 +22577,11 @@ class ItemDivider {
|
|
|
22470
22577
|
}
|
|
22471
22578
|
render() {
|
|
22472
22579
|
const theme = getIonTheme(this);
|
|
22473
|
-
return (hAsync(Host, { key: '
|
|
22580
|
+
return (hAsync(Host, { key: 'dc73f348b5376faa40ba4bc6bba3d5c9e5ec5ab2', class: createColorClasses$1(this.color, {
|
|
22474
22581
|
[theme]: true,
|
|
22475
22582
|
'item-divider-sticky': this.sticky,
|
|
22476
22583
|
item: true,
|
|
22477
|
-
}) }, 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" }))));
|
|
22478
22585
|
}
|
|
22479
22586
|
get el() { return getElement(this); }
|
|
22480
22587
|
static get style() { return {
|
|
@@ -22511,7 +22618,7 @@ class ItemGroup {
|
|
|
22511
22618
|
}
|
|
22512
22619
|
render() {
|
|
22513
22620
|
const theme = getIonTheme(this);
|
|
22514
|
-
return (hAsync(Host, { key: '
|
|
22621
|
+
return (hAsync(Host, { key: '017c8f7cd0258e1864423337ddd1b1cb522f64ed', role: "group", class: {
|
|
22515
22622
|
[theme]: true,
|
|
22516
22623
|
// Used internally for styling
|
|
22517
22624
|
[`item-group-${theme}`]: true,
|
|
@@ -22607,14 +22714,14 @@ class ItemOption {
|
|
|
22607
22714
|
href: this.href,
|
|
22608
22715
|
target: this.target,
|
|
22609
22716
|
};
|
|
22610
|
-
return (hAsync(Host, { key: '
|
|
22717
|
+
return (hAsync(Host, { key: '8f1bad23fd3ccbb9d54d57765e6731cd2ee07306', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
22611
22718
|
[theme]: true,
|
|
22612
22719
|
[`item-option-${shape}`]: shape !== undefined,
|
|
22613
22720
|
[`item-option-${hue}`]: hue !== undefined,
|
|
22614
22721
|
'item-option-disabled': disabled,
|
|
22615
22722
|
'item-option-expandable': expandable,
|
|
22616
22723
|
'ion-activatable': true,
|
|
22617
|
-
}) }, 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' }))));
|
|
22618
22725
|
}
|
|
22619
22726
|
get el() { return getElement(this); }
|
|
22620
22727
|
static get style() { return {
|
|
@@ -22672,7 +22779,7 @@ class ItemOptions {
|
|
|
22672
22779
|
render() {
|
|
22673
22780
|
const theme = getIonTheme(this);
|
|
22674
22781
|
const isEnd = isEndSide(this.side);
|
|
22675
|
-
return (hAsync(Host, { key: '
|
|
22782
|
+
return (hAsync(Host, { key: 'ed05ceebf2cda943ac9efea2f91b71f7e8fc55e8', class: {
|
|
22676
22783
|
[theme]: true,
|
|
22677
22784
|
// Used internally for styling
|
|
22678
22785
|
[`item-options-${theme}`]: true,
|
|
@@ -23524,7 +23631,7 @@ class ItemSliding {
|
|
|
23524
23631
|
}
|
|
23525
23632
|
render() {
|
|
23526
23633
|
const theme = getIonTheme(this);
|
|
23527
|
-
return (hAsync(Host, { key: '
|
|
23634
|
+
return (hAsync(Host, { key: '47de8c8a9721f9223b42d6722a9ad32f378818aa', class: {
|
|
23528
23635
|
[theme]: true,
|
|
23529
23636
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
23530
23637
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -23643,13 +23750,13 @@ class Label {
|
|
|
23643
23750
|
render() {
|
|
23644
23751
|
const position = this.position;
|
|
23645
23752
|
const theme = getIonTheme(this);
|
|
23646
|
-
return (hAsync(Host, { key: '
|
|
23753
|
+
return (hAsync(Host, { key: 'b1f261db441bcb0a325a5b3e21da17764a56f17c', class: createColorClasses$1(this.color, {
|
|
23647
23754
|
[theme]: true,
|
|
23648
23755
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
23649
23756
|
[`label-${position}`]: position !== undefined,
|
|
23650
23757
|
[`label-no-animate`]: this.noAnimate,
|
|
23651
23758
|
'label-rtl': document.dir === 'rtl',
|
|
23652
|
-
}) }, hAsync("slot", { key: '
|
|
23759
|
+
}) }, hAsync("slot", { key: '490444c8c0d4cf72eae3f8abfb7ed7ecc30bb213' })));
|
|
23653
23760
|
}
|
|
23654
23761
|
get el() { return getElement(this); }
|
|
23655
23762
|
static get watchers() { return {
|
|
@@ -23729,7 +23836,7 @@ class List {
|
|
|
23729
23836
|
const theme = getIonTheme(this);
|
|
23730
23837
|
const shape = this.getShape();
|
|
23731
23838
|
const { lines, inset } = this;
|
|
23732
|
-
return (hAsync(Host, { key: '
|
|
23839
|
+
return (hAsync(Host, { key: '9be30ff6e75e020c0db7054800cb874efef26bd8', role: "list", class: {
|
|
23733
23840
|
[theme]: true,
|
|
23734
23841
|
// Used internally for styling
|
|
23735
23842
|
[`list-${theme}`]: true,
|
|
@@ -23779,10 +23886,10 @@ class ListHeader {
|
|
|
23779
23886
|
render() {
|
|
23780
23887
|
const { lines } = this;
|
|
23781
23888
|
const theme = getIonTheme(this);
|
|
23782
|
-
return (hAsync(Host, { key: '
|
|
23889
|
+
return (hAsync(Host, { key: '7a1632a069317285210f4aeae50a6f2ef6955c56', class: createColorClasses$1(this.color, {
|
|
23783
23890
|
[theme]: true,
|
|
23784
23891
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
23785
|
-
}) }, hAsync("div", { key: '
|
|
23892
|
+
}) }, hAsync("div", { key: 'a9a9463f209023da222f38a78126d5aaeb2f03b9', class: "list-header-inner", part: "inner" }, hAsync("slot", { key: 'e3c6ec1b588392d347844d59d338abc339e80634' }))));
|
|
23786
23893
|
}
|
|
23787
23894
|
static get style() { return {
|
|
23788
23895
|
ionic: listHeaderIonicCss(),
|
|
@@ -24071,9 +24178,9 @@ class Loading {
|
|
|
24071
24178
|
* Otherwise, don't set aria-labelledby.
|
|
24072
24179
|
*/
|
|
24073
24180
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
24074
|
-
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: {
|
|
24075
24182
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
24076
|
-
}, 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" })));
|
|
24077
24184
|
}
|
|
24078
24185
|
get el() { return getElement(this); }
|
|
24079
24186
|
static get watchers() { return {
|
|
@@ -25134,14 +25241,14 @@ class Menu {
|
|
|
25134
25241
|
* the ionBackButton listener in the menu controller
|
|
25135
25242
|
* will handle closing the menu when Escape is pressed.
|
|
25136
25243
|
*/
|
|
25137
|
-
return (hAsync(Host, { key: '
|
|
25244
|
+
return (hAsync(Host, { key: '76e15d710fbbbd2e64795224decc3673fd160db0', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
25138
25245
|
[theme]: true,
|
|
25139
25246
|
[`menu-type-${type}`]: true,
|
|
25140
25247
|
'menu-enabled': !disabled,
|
|
25141
25248
|
[`menu-side-${side}`]: true,
|
|
25142
25249
|
'menu-pane-visible': isPaneVisible,
|
|
25143
25250
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
25144
|
-
} }, 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" })));
|
|
25145
25252
|
}
|
|
25146
25253
|
get el() { return getElement(this); }
|
|
25147
25254
|
static get watchers() { return {
|
|
@@ -25275,7 +25382,7 @@ class MenuButton {
|
|
|
25275
25382
|
type: this.type,
|
|
25276
25383
|
};
|
|
25277
25384
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
25278
|
-
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, {
|
|
25279
25386
|
[theme]: true,
|
|
25280
25387
|
button: true, // ion-buttons target .button
|
|
25281
25388
|
'menu-button-hidden': hidden,
|
|
@@ -25284,7 +25391,7 @@ class MenuButton {
|
|
|
25284
25391
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
25285
25392
|
'ion-activatable': true,
|
|
25286
25393
|
'ion-focusable': true,
|
|
25287
|
-
}) }, 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" }))));
|
|
25288
25395
|
}
|
|
25289
25396
|
get el() { return getElement(this); }
|
|
25290
25397
|
static get style() { return {
|
|
@@ -25341,10 +25448,10 @@ class MenuToggle {
|
|
|
25341
25448
|
render() {
|
|
25342
25449
|
const theme = getIonTheme(this);
|
|
25343
25450
|
const hidden = this.autoHide && !this.visible;
|
|
25344
|
-
return (hAsync(Host, { key: '
|
|
25451
|
+
return (hAsync(Host, { key: '9ef631d9ae370a8740e691d281863203bfdddc38', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
25345
25452
|
[theme]: true,
|
|
25346
25453
|
'menu-toggle-hidden': hidden,
|
|
25347
|
-
} }, hAsync("slot", { key: '
|
|
25454
|
+
} }, hAsync("slot", { key: 'f8d9dfc562ed625ae47ec771ef6b2ea04bc463f4' })));
|
|
25348
25455
|
}
|
|
25349
25456
|
static get style() { return menuToggleCss(); }
|
|
25350
25457
|
static get cmpMeta() { return {
|
|
@@ -28847,20 +28954,20 @@ class Modal {
|
|
|
28847
28954
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
28848
28955
|
const shape = this.getShape();
|
|
28849
28956
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
28850
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
28957
|
+
return (hAsync(Host, Object.assign({ key: '9e6dc8544831a6bda7e4e9387a49cb334ab9bc39', "no-router": true,
|
|
28851
28958
|
// Allow the modal to be navigable when the handle is focusable
|
|
28852
28959
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
28853
28960
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
28854
|
-
}, 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',
|
|
28855
28962
|
/*
|
|
28856
28963
|
role and aria-modal must be used on the
|
|
28857
28964
|
same element. They must also be set inside the
|
|
28858
28965
|
shadow DOM otherwise ion-button will not be highlighted
|
|
28859
28966
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
28860
28967
|
*/
|
|
28861
|
-
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",
|
|
28862
28969
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
28863
|
-
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 }))));
|
|
28864
28971
|
}
|
|
28865
28972
|
get el() { return getElement(this); }
|
|
28866
28973
|
static get watchers() { return {
|
|
@@ -29820,7 +29927,7 @@ class Nav {
|
|
|
29820
29927
|
}
|
|
29821
29928
|
}
|
|
29822
29929
|
render() {
|
|
29823
|
-
return hAsync("slot", { key: '
|
|
29930
|
+
return hAsync("slot", { key: '3dfe9c2a5f3ea75cb6d82b76b240733105cddfad' });
|
|
29824
29931
|
}
|
|
29825
29932
|
get el() { return getElement(this); }
|
|
29826
29933
|
static get watchers() { return {
|
|
@@ -29901,7 +30008,7 @@ class NavLink {
|
|
|
29901
30008
|
};
|
|
29902
30009
|
}
|
|
29903
30010
|
render() {
|
|
29904
|
-
return hAsync(Host, { key: '
|
|
30011
|
+
return hAsync(Host, { key: '476bfb5bb6fba4f422ec40315fc3ef466d01f757', onClick: this.onClick });
|
|
29905
30012
|
}
|
|
29906
30013
|
get el() { return getElement(this); }
|
|
29907
30014
|
static get cmpMeta() { return {
|
|
@@ -29935,9 +30042,9 @@ class Note {
|
|
|
29935
30042
|
}
|
|
29936
30043
|
render() {
|
|
29937
30044
|
const theme = getIonTheme(this);
|
|
29938
|
-
return (hAsync(Host, { key: '
|
|
30045
|
+
return (hAsync(Host, { key: '376ae1c66c19d1bdd74a2371c0639ed9e49648b5', class: createColorClasses$1(this.color, {
|
|
29939
30046
|
[theme]: true,
|
|
29940
|
-
}) }, hAsync("slot", { key: '
|
|
30047
|
+
}) }, hAsync("slot", { key: 'f8168cd88bb21c5e5a2b03c29539729fb38a19fd' })));
|
|
29941
30048
|
}
|
|
29942
30049
|
static get style() { return {
|
|
29943
30050
|
ionic: ionicNoteMdCss(),
|
|
@@ -30703,11 +30810,11 @@ class Picker {
|
|
|
30703
30810
|
render() {
|
|
30704
30811
|
const { htmlAttributes } = this;
|
|
30705
30812
|
const theme = getIonTheme(this);
|
|
30706
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
30813
|
+
return (hAsync(Host, Object.assign({ key: '681ad6d20efa16f1d6c6f9a7d03caec2b17ff36e', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
30707
30814
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
30708
30815
|
}, class: Object.assign({ [theme]: true,
|
|
30709
30816
|
// Used internally for styling
|
|
30710
|
-
[`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" })));
|
|
30711
30818
|
}
|
|
30712
30819
|
get el() { return getElement(this); }
|
|
30713
30820
|
static get watchers() { return {
|
|
@@ -31685,9 +31792,9 @@ class PickerColumnCmp {
|
|
|
31685
31792
|
render() {
|
|
31686
31793
|
const col = this.col;
|
|
31687
31794
|
const theme = getIonTheme(this);
|
|
31688
|
-
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: {
|
|
31689
31796
|
'max-width': this.col.columnWidth,
|
|
31690
|
-
} }, 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))));
|
|
31691
31798
|
}
|
|
31692
31799
|
get el() { return getElement(this); }
|
|
31693
31800
|
static get watchers() { return {
|
|
@@ -31812,10 +31919,10 @@ class PickerColumnOption {
|
|
|
31812
31919
|
render() {
|
|
31813
31920
|
const { color, disabled, ariaLabel } = this;
|
|
31814
31921
|
const theme = getIonTheme(this);
|
|
31815
|
-
return (hAsync(Host, { key: '
|
|
31922
|
+
return (hAsync(Host, { key: 'fe9553e3157d35f5c28a3f2457715bd598ec1e00', class: createColorClasses$1(color, {
|
|
31816
31923
|
[theme]: true,
|
|
31817
31924
|
['option-disabled']: disabled,
|
|
31818
|
-
}) }, 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' }))));
|
|
31819
31926
|
}
|
|
31820
31927
|
get el() { return getElement(this); }
|
|
31821
31928
|
static get watchers() { return {
|
|
@@ -33384,9 +33491,9 @@ class Popover {
|
|
|
33384
33491
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
33385
33492
|
const desktop = isPlatform('desktop');
|
|
33386
33493
|
const enableArrow = arrow && !parentPopover;
|
|
33387
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
33494
|
+
return (hAsync(Host, Object.assign({ key: '3319e6ea7524a30478985c014634403aceedab6f', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
33388
33495
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
33389
|
-
}, 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' })))));
|
|
33390
33497
|
}
|
|
33391
33498
|
get el() { return getElement(this); }
|
|
33392
33499
|
static get watchers() { return {
|
|
@@ -33514,7 +33621,7 @@ class ProgressBar {
|
|
|
33514
33621
|
const shape = this.getShape();
|
|
33515
33622
|
// If the progress is displayed as a solid bar.
|
|
33516
33623
|
const progressSolid = buffer === 1;
|
|
33517
|
-
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, {
|
|
33518
33625
|
[theme]: true,
|
|
33519
33626
|
[`progress-bar-${type}`]: true,
|
|
33520
33627
|
'progress-paused': paused,
|
|
@@ -33707,7 +33814,7 @@ class Radio {
|
|
|
33707
33814
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
33708
33815
|
const theme = getIonTheme(this);
|
|
33709
33816
|
const inItem = hostContext('ion-item', el);
|
|
33710
|
-
return (hAsync(Host, { key: '
|
|
33817
|
+
return (hAsync(Host, { key: 'e9591254a3823435617732dcf415ea4bb5fa4d62', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses$1(color, {
|
|
33711
33818
|
[theme]: true,
|
|
33712
33819
|
'in-item': inItem,
|
|
33713
33820
|
'radio-checked': checked,
|
|
@@ -33718,10 +33825,10 @@ class Radio {
|
|
|
33718
33825
|
// Focus and active styling should not apply when the radio is in an item
|
|
33719
33826
|
'ion-activatable': !inItem,
|
|
33720
33827
|
'ion-focusable': !inItem,
|
|
33721
|
-
}), 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: {
|
|
33722
33829
|
'label-text-wrapper': true,
|
|
33723
33830
|
'label-text-wrapper-hidden': !hasLabel,
|
|
33724
|
-
}, part: "label" }, hAsync("slot", { key: '
|
|
33831
|
+
}, part: "label" }, hAsync("slot", { key: 'a77d60be10ece9c80bab6e5c2a24533eede95362' })), hAsync("div", { key: 'e687dc6686b0748a1a3337cd87a01c01315c0f22', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
33725
33832
|
}
|
|
33726
33833
|
get el() { return getElement(this); }
|
|
33727
33834
|
static get watchers() { return {
|
|
@@ -33991,10 +34098,10 @@ class RadioGroup {
|
|
|
33991
34098
|
const { label, labelId, el, name, value } = this;
|
|
33992
34099
|
const theme = getIonTheme(this);
|
|
33993
34100
|
renderHiddenInput(true, el, name, value, false);
|
|
33994
|
-
return (hAsync(Host, { key: '
|
|
34101
|
+
return (hAsync(Host, { key: '8a57b258087569c2fb13ddaa6e83e06822c05a4d', class: {
|
|
33995
34102
|
[theme]: true,
|
|
33996
34103
|
'in-list': hostContext('ion-list', el),
|
|
33997
|
-
}, 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' })));
|
|
33998
34105
|
}
|
|
33999
34106
|
get el() { return getElement(this); }
|
|
34000
34107
|
static get watchers() { return {
|
|
@@ -34844,7 +34951,7 @@ class Range {
|
|
|
34844
34951
|
const valueAtMin = dualKnobs ? this.valA === min || this.valB === min : this.valA === min;
|
|
34845
34952
|
const valueAtMax = dualKnobs ? this.valA === max || this.valB === max : this.valA === max;
|
|
34846
34953
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
34847
|
-
return (hAsync(Host, { key: '
|
|
34954
|
+
return (hAsync(Host, { key: '0f39669a81cfb08a3aca6998b95bda68f5076306', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses$1(this.color, {
|
|
34848
34955
|
[theme]: true,
|
|
34849
34956
|
'in-item': inItem,
|
|
34850
34957
|
'range-disabled': disabled,
|
|
@@ -34858,10 +34965,10 @@ class Range {
|
|
|
34858
34965
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
34859
34966
|
'range-value-min': valueAtMin,
|
|
34860
34967
|
'range-value-max': valueAtMax,
|
|
34861
|
-
}) }, hAsync("label", { key: '
|
|
34968
|
+
}) }, hAsync("label", { key: 'c1615da8ac01fccb650a8d1eb6b6b69562634e2f', class: "range-wrapper", id: "range-label" }, hAsync("div", { key: 'ba530e76d0253f457b04bbd8403d9a02ac859cfe', class: {
|
|
34862
34969
|
'label-text-wrapper': true,
|
|
34863
34970
|
'label-text-wrapper-hidden': !hasLabel,
|
|
34864
|
-
}, 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" })))));
|
|
34865
34972
|
}
|
|
34866
34973
|
get el() { return getElement(this); }
|
|
34867
34974
|
static get watchers() { return {
|
|
@@ -35936,7 +36043,7 @@ class Refresher {
|
|
|
35936
36043
|
}
|
|
35937
36044
|
render() {
|
|
35938
36045
|
const theme = getIonTheme(this);
|
|
35939
|
-
return (hAsync(Host, { key: '
|
|
36046
|
+
return (hAsync(Host, { key: '5761384ab0eb88600ad036b6fdbebf8e5150e6b8', slot: "fixed", class: {
|
|
35940
36047
|
[theme]: true,
|
|
35941
36048
|
// Used internally for styling
|
|
35942
36049
|
[`refresher-${theme}`]: true,
|
|
@@ -36175,9 +36282,9 @@ class RefresherContent {
|
|
|
36175
36282
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
36176
36283
|
const theme = getIonTheme(this);
|
|
36177
36284
|
const arrowIcon = theme === 'ionic' ? caretLeftFillSvg : caretBackSharp;
|
|
36178
|
-
return (hAsync(Host, { key: '
|
|
36285
|
+
return (hAsync(Host, { key: '3d2d138e485b3b2beae47b9ea4e140f0b9647434', class: {
|
|
36179
36286
|
[theme]: true,
|
|
36180
|
-
} }, 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())));
|
|
36181
36288
|
}
|
|
36182
36289
|
get el() { return getElement(this); }
|
|
36183
36290
|
static get style() { return {
|
|
@@ -36246,9 +36353,9 @@ class Reorder {
|
|
|
36246
36353
|
render() {
|
|
36247
36354
|
const { reorderHandleIcon } = this;
|
|
36248
36355
|
const theme = getIonTheme(this);
|
|
36249
|
-
return (hAsync(Host, { key: '
|
|
36356
|
+
return (hAsync(Host, { key: 'bc0b4cd34db6dfe794ab66a785d406bfc02236c5', class: {
|
|
36250
36357
|
[theme]: true,
|
|
36251
|
-
} }, 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" }))));
|
|
36252
36359
|
}
|
|
36253
36360
|
get el() { return getElement(this); }
|
|
36254
36361
|
static get style() { return {
|
|
@@ -36524,7 +36631,7 @@ class ReorderGroup {
|
|
|
36524
36631
|
}
|
|
36525
36632
|
render() {
|
|
36526
36633
|
const theme = getIonTheme(this);
|
|
36527
|
-
return (hAsync(Host, { key: '
|
|
36634
|
+
return (hAsync(Host, { key: 'c095e5428be9f446f245d37a12653978bb2bc2b6', class: {
|
|
36528
36635
|
[theme]: true,
|
|
36529
36636
|
'reorder-enabled': !this.disabled,
|
|
36530
36637
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -36650,7 +36757,7 @@ class RippleEffect {
|
|
|
36650
36757
|
}
|
|
36651
36758
|
render() {
|
|
36652
36759
|
const theme = getIonTheme(this);
|
|
36653
|
-
return (hAsync(Host, { key: '
|
|
36760
|
+
return (hAsync(Host, { key: '51fe7517d41c643bd4e746f366f513c42dac17dc', role: "presentation", class: {
|
|
36654
36761
|
[theme]: true,
|
|
36655
36762
|
unbounded: this.unbounded,
|
|
36656
36763
|
} }));
|
|
@@ -37635,10 +37742,10 @@ class RouterLink {
|
|
|
37635
37742
|
rel: this.rel,
|
|
37636
37743
|
target: this.target,
|
|
37637
37744
|
};
|
|
37638
|
-
return (hAsync(Host, { key: '
|
|
37745
|
+
return (hAsync(Host, { key: '84efbafddc586ee3f616d4e1a13118c04d9b2753', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
37639
37746
|
[theme]: true,
|
|
37640
37747
|
'ion-activatable': true,
|
|
37641
|
-
}) }, hAsync("a", Object.assign({ key: '
|
|
37748
|
+
}) }, hAsync("a", Object.assign({ key: 'e8c7cda4c00ec45548ea52b632bc4adb07f9460c' }, attrs), hAsync("slot", { key: '133bf1203a3e218e3868b4cfda00bb753ecea946' }))));
|
|
37642
37749
|
}
|
|
37643
37750
|
static get style() { return routerLinkCss(); }
|
|
37644
37751
|
static get cmpMeta() { return {
|
|
@@ -37838,7 +37945,7 @@ class RouterOutlet {
|
|
|
37838
37945
|
return true;
|
|
37839
37946
|
}
|
|
37840
37947
|
render() {
|
|
37841
|
-
return hAsync("slot", { key: '
|
|
37948
|
+
return hAsync("slot", { key: '56e3d06ed939755796058e30ef19fbc7f7cb490d' });
|
|
37842
37949
|
}
|
|
37843
37950
|
get el() { return getElement(this); }
|
|
37844
37951
|
static get watchers() { return {
|
|
@@ -37878,9 +37985,9 @@ class Row {
|
|
|
37878
37985
|
}
|
|
37879
37986
|
render() {
|
|
37880
37987
|
const theme = getIonTheme(this);
|
|
37881
|
-
return (hAsync(Host, { key: '
|
|
37988
|
+
return (hAsync(Host, { key: '3a3c40062d2d0487c61dedbb172215b87bb425b1', class: {
|
|
37882
37989
|
[theme]: true,
|
|
37883
|
-
} }, hAsync("slot", { key: '
|
|
37990
|
+
} }, hAsync("slot", { key: '164f457f6f7853ed8f7279d20bc6ede6cf9d3e5c' })));
|
|
37884
37991
|
}
|
|
37885
37992
|
static get style() { return rowCss(); }
|
|
37886
37993
|
static get cmpMeta() { return {
|
|
@@ -38439,8 +38546,8 @@ class Searchbar {
|
|
|
38439
38546
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
38440
38547
|
const shape = this.getShape();
|
|
38441
38548
|
const size = this.getSize();
|
|
38442
|
-
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '
|
|
38443
|
-
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, {
|
|
38444
38551
|
[theme]: true,
|
|
38445
38552
|
'searchbar-animated': animated,
|
|
38446
38553
|
'searchbar-disabled': this.disabled,
|
|
@@ -38454,14 +38561,14 @@ class Searchbar {
|
|
|
38454
38561
|
[`searchbar-shape-${shape}`]: shape !== undefined,
|
|
38455
38562
|
[`searchbar-size-${size}`]: size !== undefined,
|
|
38456
38563
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
38457
|
-
}) }, 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) => {
|
|
38458
38565
|
/**
|
|
38459
38566
|
* This prevents mobile browsers from
|
|
38460
38567
|
* blurring the input when the clear
|
|
38461
38568
|
* button is activated.
|
|
38462
38569
|
*/
|
|
38463
38570
|
ev.preventDefault();
|
|
38464
|
-
}, 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));
|
|
38465
38572
|
}
|
|
38466
38573
|
get el() { return getElement(this); }
|
|
38467
38574
|
static get watchers() { return {
|
|
@@ -39076,14 +39183,14 @@ class Segment {
|
|
|
39076
39183
|
}
|
|
39077
39184
|
render() {
|
|
39078
39185
|
const theme = getIonTheme(this);
|
|
39079
|
-
return (hAsync(Host, { key: '
|
|
39186
|
+
return (hAsync(Host, { key: '65c576c0bb9ff0602793f75321d676a34b306b3b', role: "tablist", onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
39080
39187
|
[theme]: true,
|
|
39081
39188
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
39082
39189
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
39083
39190
|
'segment-activated': this.activated,
|
|
39084
39191
|
'segment-disabled': this.disabled,
|
|
39085
39192
|
'segment-scrollable': this.scrollable,
|
|
39086
|
-
}) }, hAsync("slot", { key: '
|
|
39193
|
+
}) }, hAsync("slot", { key: '210750a65ccada549bccf026871477ee2b7bdc69', onSlotchange: this.onSlottedItemsChange })));
|
|
39087
39194
|
}
|
|
39088
39195
|
get el() { return getElement(this); }
|
|
39089
39196
|
static get watchers() { return {
|
|
@@ -39235,7 +39342,7 @@ class SegmentButton {
|
|
|
39235
39342
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
39236
39343
|
const theme = getIonTheme(this);
|
|
39237
39344
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
39238
|
-
return (hAsync(Host, { key: '
|
|
39345
|
+
return (hAsync(Host, { key: 'da5c8352e5e0f3a01211edbc39c5043cadc5b06f', class: {
|
|
39239
39346
|
[theme]: true,
|
|
39240
39347
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
39241
39348
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -39251,7 +39358,7 @@ class SegmentButton {
|
|
|
39251
39358
|
'ion-activatable': true,
|
|
39252
39359
|
'ion-activatable-instant': true,
|
|
39253
39360
|
'ion-focusable': true,
|
|
39254
|
-
} }, 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" }))));
|
|
39255
39362
|
}
|
|
39256
39363
|
get el() { return getElement(this); }
|
|
39257
39364
|
static get watchers() { return {
|
|
@@ -39289,7 +39396,7 @@ class SegmentContent {
|
|
|
39289
39396
|
registerInstance(this, hostRef);
|
|
39290
39397
|
}
|
|
39291
39398
|
render() {
|
|
39292
|
-
return (hAsync(Host, { key: '
|
|
39399
|
+
return (hAsync(Host, { key: '2f43cadcbcb1a9423b30e7abc169ff923a8c431f' }, hAsync("slot", { key: 'c3a6d3e9c336f5124cdec9f37ef516324558073c' })));
|
|
39293
39400
|
}
|
|
39294
39401
|
static get style() { return segmentContentCss(); }
|
|
39295
39402
|
static get cmpMeta() { return {
|
|
@@ -39417,11 +39524,11 @@ class SegmentView {
|
|
|
39417
39524
|
}
|
|
39418
39525
|
render() {
|
|
39419
39526
|
const { disabled, isManualScroll, swipeGesture } = this;
|
|
39420
|
-
return (hAsync(Host, { key: '
|
|
39527
|
+
return (hAsync(Host, { key: '8d1aa594c5674bca376ee3e9b18b60b0925dd875', class: {
|
|
39421
39528
|
'segment-view-disabled': disabled,
|
|
39422
39529
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
39423
39530
|
'segment-view-swipe-disabled': swipeGesture === false,
|
|
39424
|
-
} }, hAsync("slot", { key: '
|
|
39531
|
+
} }, hAsync("slot", { key: '6375fa794ae615b74a70968718aadefa0a9fc1d6' })));
|
|
39425
39532
|
}
|
|
39426
39533
|
get el() { return getElement(this); }
|
|
39427
39534
|
static get style() { return {
|
|
@@ -40357,7 +40464,7 @@ class Select {
|
|
|
40357
40464
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
40358
40465
|
*/
|
|
40359
40466
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
40360
|
-
return (hAsync(Host, { key: '
|
|
40467
|
+
return (hAsync(Host, { key: 'c8fc8ffc5e66fa0deef9556f365d8d95ff652b5d', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
40361
40468
|
[theme]: true,
|
|
40362
40469
|
'in-item': inItem,
|
|
40363
40470
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -40376,7 +40483,7 @@ class Select {
|
|
|
40376
40483
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
40377
40484
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
40378
40485
|
[`select-size-${size}`]: size !== undefined,
|
|
40379
|
-
}) }, 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" },
|
|
40380
40487
|
/**
|
|
40381
40488
|
* For the ionic theme, we render the outline container here
|
|
40382
40489
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -40386,7 +40493,7 @@ class Select {
|
|
|
40386
40493
|
* <label> element, ensuring that clicking the label text
|
|
40387
40494
|
* focuses the select.
|
|
40388
40495
|
*/
|
|
40389
|
-
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()));
|
|
40390
40497
|
}
|
|
40391
40498
|
get el() { return getElement(this); }
|
|
40392
40499
|
static get watchers() { return {
|
|
@@ -40778,7 +40885,7 @@ class SelectModal {
|
|
|
40778
40885
|
});
|
|
40779
40886
|
}
|
|
40780
40887
|
render() {
|
|
40781
|
-
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()))));
|
|
40782
40889
|
}
|
|
40783
40890
|
get el() { return getElement(this); }
|
|
40784
40891
|
static get style() { return {
|
|
@@ -40823,7 +40930,7 @@ class SelectOption {
|
|
|
40823
40930
|
}
|
|
40824
40931
|
render() {
|
|
40825
40932
|
const theme = getIonTheme(this);
|
|
40826
|
-
return (hAsync(Host, { key: '
|
|
40933
|
+
return (hAsync(Host, { key: 'd7baa96e166b66c8f14c97e56674db4dfec2152c', class: {
|
|
40827
40934
|
[theme]: true,
|
|
40828
40935
|
}, role: "option", id: this.inputId }));
|
|
40829
40936
|
}
|
|
@@ -40992,9 +41099,9 @@ class SelectPopover {
|
|
|
40992
41099
|
const { header, message, options, subHeader } = this;
|
|
40993
41100
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
40994
41101
|
const theme = getIonTheme(this);
|
|
40995
|
-
return (hAsync(Host, { key: '
|
|
41102
|
+
return (hAsync(Host, { key: '47062077a192fb05f662f30c68e9c12323a69e47', class: {
|
|
40996
41103
|
[theme]: true,
|
|
40997
|
-
} }, 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))));
|
|
40998
41105
|
}
|
|
40999
41106
|
get el() { return getElement(this); }
|
|
41000
41107
|
static get style() { return {
|
|
@@ -41049,11 +41156,11 @@ class SkeletonText {
|
|
|
41049
41156
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
41050
41157
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
41051
41158
|
const theme = getIonTheme(this);
|
|
41052
|
-
return (hAsync(Host, { key: '
|
|
41159
|
+
return (hAsync(Host, { key: '370451ee8963b776079f5df365f7bbd70a53b270', class: {
|
|
41053
41160
|
[theme]: true,
|
|
41054
41161
|
'skeleton-text-animated': animated,
|
|
41055
41162
|
'in-media': inMedia,
|
|
41056
|
-
} }, hAsync("span", { key: '
|
|
41163
|
+
} }, hAsync("span", { key: '2b861b4ec86cbd61927ab7b81b13517c99dc94c7' }, "\u00A0")));
|
|
41057
41164
|
}
|
|
41058
41165
|
get el() { return getElement(this); }
|
|
41059
41166
|
static get style() { return skeletonTextCss(); }
|
|
@@ -41126,7 +41233,7 @@ class Spinner {
|
|
|
41126
41233
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
41127
41234
|
}
|
|
41128
41235
|
}
|
|
41129
|
-
return (hAsync(Host, { key: '
|
|
41236
|
+
return (hAsync(Host, { key: 'b6559d1626b56a1c63580862263a15798f7d3f71', class: createColorClasses$1(self.color, {
|
|
41130
41237
|
[theme]: true,
|
|
41131
41238
|
[`spinner-${spinnerName}`]: true,
|
|
41132
41239
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -41238,12 +41345,12 @@ class SplitPane {
|
|
|
41238
41345
|
}
|
|
41239
41346
|
render() {
|
|
41240
41347
|
const theme = getIonTheme(this);
|
|
41241
|
-
return (hAsync(Host, { key: '
|
|
41348
|
+
return (hAsync(Host, { key: 'b933156f8f9d8ce418ff0d39526967f9653d6639', class: {
|
|
41242
41349
|
[theme]: true,
|
|
41243
41350
|
// Used internally for styling
|
|
41244
41351
|
[`split-pane-${theme}`]: true,
|
|
41245
41352
|
'split-pane-visible': this.visible,
|
|
41246
|
-
} }, hAsync("slot", { key: '
|
|
41353
|
+
} }, hAsync("slot", { key: '3ec0a11e5506386747dc972ccb094359ca975bae' })));
|
|
41247
41354
|
}
|
|
41248
41355
|
get el() { return getElement(this); }
|
|
41249
41356
|
static get watchers() { return {
|
|
@@ -41320,10 +41427,10 @@ class Tab {
|
|
|
41320
41427
|
}
|
|
41321
41428
|
render() {
|
|
41322
41429
|
const { tab, active, component } = this;
|
|
41323
|
-
return (hAsync(Host, { key: '
|
|
41430
|
+
return (hAsync(Host, { key: '8b978f848d43898feafa7daa3e3d9819be833038', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
41324
41431
|
'ion-page': component === undefined,
|
|
41325
41432
|
'tab-hidden': !active,
|
|
41326
|
-
} }, hAsync("slot", { key: '
|
|
41433
|
+
} }, hAsync("slot", { key: '96a92d86cecc8c9ef4f11d310f7f87bb99ce4e50' })));
|
|
41327
41434
|
}
|
|
41328
41435
|
get el() { return getElement(this); }
|
|
41329
41436
|
static get watchers() { return {
|
|
@@ -41530,7 +41637,7 @@ class TabBar {
|
|
|
41530
41637
|
const theme = getIonTheme(this);
|
|
41531
41638
|
const shape = this.getShape();
|
|
41532
41639
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
41533
|
-
return (hAsync(Host, { key: '
|
|
41640
|
+
return (hAsync(Host, { key: '16cd11a815d777a7517150b49b57a204c83c3c37', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses$1(color, {
|
|
41534
41641
|
[theme]: true,
|
|
41535
41642
|
'tab-bar-translucent': translucent,
|
|
41536
41643
|
'tab-bar-hidden': shouldHide,
|
|
@@ -41538,7 +41645,7 @@ class TabBar {
|
|
|
41538
41645
|
'tab-bar-scroll-hidden': scrollHidden,
|
|
41539
41646
|
[`tab-bar-${expand}`]: true,
|
|
41540
41647
|
[`tab-bar-${shape}`]: shape !== undefined,
|
|
41541
|
-
}) }, hAsync("slot", { key: '
|
|
41648
|
+
}) }, hAsync("slot", { key: 'dfdff308f24b3addaf18528a8d869b3fc64306d1' })));
|
|
41542
41649
|
}
|
|
41543
41650
|
get el() { return getElement(this); }
|
|
41544
41651
|
static get watchers() { return {
|
|
@@ -41666,7 +41773,7 @@ class TabButton {
|
|
|
41666
41773
|
rel,
|
|
41667
41774
|
target,
|
|
41668
41775
|
};
|
|
41669
|
-
return (hAsync(Host, { key: '
|
|
41776
|
+
return (hAsync(Host, { key: 'e4d3aaefcdc42677f7818c51ec1ec0a9cbcf8bcf', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
41670
41777
|
[theme]: true,
|
|
41671
41778
|
'tab-selected': selected,
|
|
41672
41779
|
'tab-disabled': disabled,
|
|
@@ -41679,7 +41786,7 @@ class TabButton {
|
|
|
41679
41786
|
'ion-selectable': true,
|
|
41680
41787
|
[`tab-button-shape-${shape}`]: shape !== undefined,
|
|
41681
41788
|
'ion-focusable': true,
|
|
41682
|
-
} }, 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" }))));
|
|
41683
41790
|
}
|
|
41684
41791
|
get el() { return getElement(this); }
|
|
41685
41792
|
static get style() { return {
|
|
@@ -41875,7 +41982,7 @@ class Tabs {
|
|
|
41875
41982
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
41876
41983
|
}
|
|
41877
41984
|
render() {
|
|
41878
|
-
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" })));
|
|
41879
41986
|
}
|
|
41880
41987
|
get el() { return getElement(this); }
|
|
41881
41988
|
static get style() { return tabsCss(); }
|
|
@@ -41916,9 +42023,9 @@ class Text {
|
|
|
41916
42023
|
}
|
|
41917
42024
|
render() {
|
|
41918
42025
|
const theme = getIonTheme(this);
|
|
41919
|
-
return (hAsync(Host, { key: '
|
|
42026
|
+
return (hAsync(Host, { key: '8fc5565ce579f8e2a9eddbaa7c93264291080bce', class: createColorClasses$1(this.color, {
|
|
41920
42027
|
[theme]: true,
|
|
41921
|
-
}) }, hAsync("slot", { key: '
|
|
42028
|
+
}) }, hAsync("slot", { key: '5be1d661ee3a6f1f9d9428b59e830672faf475b1' })));
|
|
41922
42029
|
}
|
|
41923
42030
|
static get style() { return textCss(); }
|
|
41924
42031
|
static get cmpMeta() { return {
|
|
@@ -42482,7 +42589,7 @@ class Textarea {
|
|
|
42482
42589
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
42483
42590
|
*/
|
|
42484
42591
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
42485
|
-
return (hAsync(Host, { key: '
|
|
42592
|
+
return (hAsync(Host, { key: 'a67ef5f3107776dcd8490bdd2af4a373ae422899', class: createColorClasses$1(this.color, {
|
|
42486
42593
|
[theme]: true,
|
|
42487
42594
|
'has-value': hasValue,
|
|
42488
42595
|
'has-focus': hasFocus,
|
|
@@ -42494,7 +42601,7 @@ class Textarea {
|
|
|
42494
42601
|
'in-item': inItem,
|
|
42495
42602
|
'textarea-disabled': disabled,
|
|
42496
42603
|
'textarea-readonly': readonly,
|
|
42497
|
-
}) }, 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" },
|
|
42498
42605
|
/**
|
|
42499
42606
|
* For the ionic theme, we render the outline container here
|
|
42500
42607
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -42504,7 +42611,7 @@ class Textarea {
|
|
|
42504
42611
|
* <label> element, ensuring that clicking the label text
|
|
42505
42612
|
* focuses the textarea.
|
|
42506
42613
|
*/
|
|
42507
|
-
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()));
|
|
42508
42615
|
}
|
|
42509
42616
|
static get delegatesFocus() { return true; }
|
|
42510
42617
|
static get formAssociated() { return true; }
|
|
@@ -42588,9 +42695,9 @@ class Thumbnail {
|
|
|
42588
42695
|
}
|
|
42589
42696
|
render() {
|
|
42590
42697
|
const theme = getIonTheme(this);
|
|
42591
|
-
return (hAsync(Host, { key: '
|
|
42698
|
+
return (hAsync(Host, { key: 'fdf9d92949a1e8cf6faded77ffed084f74fc040b', class: {
|
|
42592
42699
|
[theme]: true,
|
|
42593
|
-
} }, hAsync("slot", { key: '
|
|
42700
|
+
} }, hAsync("slot", { key: 'e1b1439c035d9a9503efd1c1a04aed9f4e8e0af7' })));
|
|
42594
42701
|
}
|
|
42595
42702
|
static get style() { return thumbnailCss(); }
|
|
42596
42703
|
static get cmpMeta() { return {
|
|
@@ -43474,9 +43581,9 @@ class Toast {
|
|
|
43474
43581
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
43475
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);
|
|
43476
43583
|
}
|
|
43477
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
43584
|
+
return (hAsync(Host, Object.assign({ key: 'f0d62f099dd68f8f541110a60695c2a083c6a4d5', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
43478
43585
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
43479
|
-
}, 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')))));
|
|
43480
43587
|
}
|
|
43481
43588
|
get el() { return getElement(this); }
|
|
43482
43589
|
static get watchers() { return {
|
|
@@ -43852,7 +43959,7 @@ class Toggle {
|
|
|
43852
43959
|
const rtl = isRTL$1(el) ? 'rtl' : 'ltr';
|
|
43853
43960
|
const isIonicTheme = theme === 'ionic';
|
|
43854
43961
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
43855
|
-
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, {
|
|
43856
43963
|
[theme]: true,
|
|
43857
43964
|
'in-item': hostContext('ion-item', el),
|
|
43858
43965
|
'toggle-activated': activated,
|
|
@@ -43864,10 +43971,10 @@ class Toggle {
|
|
|
43864
43971
|
[`toggle-${rtl}`]: true,
|
|
43865
43972
|
'ion-activatable': isIonicTheme,
|
|
43866
43973
|
'ion-focusable': isIonicTheme,
|
|
43867
|
-
}) }, 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: {
|
|
43868
43975
|
'label-text-wrapper': true,
|
|
43869
43976
|
'label-text-wrapper-hidden': !hasLabel,
|
|
43870
|
-
}, 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()))));
|
|
43871
43978
|
}
|
|
43872
43979
|
get el() { return getElement(this); }
|
|
43873
43980
|
static get watchers() { return {
|
|
@@ -44159,11 +44266,11 @@ class Toolbar {
|
|
|
44159
44266
|
Object.assign(childStyles, style);
|
|
44160
44267
|
});
|
|
44161
44268
|
const titlePlacement = this.getTitlePlacement();
|
|
44162
|
-
return (hAsync(Host, { key: '
|
|
44269
|
+
return (hAsync(Host, { key: 'bcb621674157410d7eaeb006779bdd677346587e', class: Object.assign(Object.assign({}, createColorClasses$1(this.color, {
|
|
44163
44270
|
[theme]: true,
|
|
44164
44271
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
44165
44272
|
[`toolbar-title-placement-${titlePlacement}`]: true,
|
|
44166
|
-
})), 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 }))));
|
|
44167
44274
|
}
|
|
44168
44275
|
get el() { return getElement(this); }
|
|
44169
44276
|
static get watchers() { return {
|
|
@@ -44222,11 +44329,11 @@ class ToolbarTitle {
|
|
|
44222
44329
|
render() {
|
|
44223
44330
|
const theme = getIonTheme(this);
|
|
44224
44331
|
const size = this.getSize();
|
|
44225
|
-
return (hAsync(Host, { key: '
|
|
44332
|
+
return (hAsync(Host, { key: 'd64e86bed418cba707d4a26c9274f18ed06c0e9e', class: createColorClasses$1(this.color, {
|
|
44226
44333
|
[theme]: true,
|
|
44227
44334
|
[`title-${size}`]: true,
|
|
44228
44335
|
'title-rtl': document.dir === 'rtl',
|
|
44229
|
-
}) }, hAsync("div", { key: '
|
|
44336
|
+
}) }, hAsync("div", { key: '386a71e974cde0bfbf5b655d69ed5f718de8ce48', class: "toolbar-title" }, hAsync("slot", { key: '8aa804c9e1b11574a42268805d3117a085e699b4' }))));
|
|
44230
44337
|
}
|
|
44231
44338
|
get el() { return getElement(this); }
|
|
44232
44339
|
static get watchers() { return {
|
|
@@ -44283,6 +44390,7 @@ registerComponents([
|
|
|
44283
44390
|
FabList,
|
|
44284
44391
|
Footer,
|
|
44285
44392
|
Gallery,
|
|
44393
|
+
GalleryItem,
|
|
44286
44394
|
Grid,
|
|
44287
44395
|
Header,
|
|
44288
44396
|
Icon,
|