@ionic/core 8.8.7-dev.11779221548.1d38f927 → 8.8.7-dev.11779400352.127ba526
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ion-action-sheet.js +1 -1
- package/components/ion-alert.js +1 -1
- package/components/ion-back-button.js +1 -1
- package/components/ion-button.js +1 -1
- package/components/ion-card.js +1 -1
- package/components/ion-chip.js +1 -1
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +1 -1
- package/components/ion-fab-button.js +1 -1
- package/components/ion-gallery-item.d.ts +11 -0
- package/components/ion-gallery-item.js +4 -0
- package/components/ion-gallery.js +1 -1
- package/components/ion-grid.js +1 -1
- package/components/ion-header.js +1 -1
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +1 -1
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-otp.js +1 -1
- package/components/ion-input-password-toggle.js +1 -1
- package/components/ion-input.js +1 -1
- package/components/ion-item-divider.js +1 -1
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +1 -1
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-item.js +1 -1
- package/components/ion-label.js +1 -1
- package/components/ion-list-header.js +1 -1
- package/components/ion-list.js +1 -1
- package/components/ion-loading.js +1 -1
- package/components/ion-menu-button.js +1 -1
- package/components/ion-menu-toggle.js +1 -1
- package/components/ion-menu.js +1 -1
- package/components/ion-modal.js +1 -1
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +1 -1
- package/components/ion-picker-column-option.js +1 -1
- package/components/ion-picker-legacy-column.js +1 -1
- package/components/ion-picker-legacy.js +1 -1
- package/components/ion-popover.js +1 -1
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-radio-group.js +1 -1
- package/components/ion-radio.js +1 -1
- package/components/ion-range.js +1 -1
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-ripple-effect.js +1 -1
- package/components/ion-router-link.js +1 -1
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +1 -1
- package/components/ion-segment-button.js +1 -1
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +1 -1
- package/components/ion-segment.js +1 -1
- package/components/ion-select-modal.js +1 -1
- package/components/ion-select-option.js +1 -1
- package/components/ion-select-popover.js +1 -1
- package/components/ion-select.js +1 -1
- package/components/ion-skeleton-text.js +1 -1
- package/components/ion-spinner.js +1 -1
- package/components/ion-split-pane.js +1 -1
- package/components/ion-tab-bar.js +1 -1
- package/components/ion-tab-button.js +1 -1
- package/components/ion-tab.js +1 -1
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +1 -1
- package/components/ion-textarea.js +1 -1
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +1 -1
- package/components/ion-toast.js +1 -1
- package/components/ion-toggle.js +1 -1
- package/components/ion-toolbar.js +1 -1
- package/components/{p-BLCuPAtN.js → p-6_r-Odtt.js} +1 -1
- package/components/{p-BFbsici0.js → p-B-oPDoNQ.js} +1 -1
- package/components/{p-IMXp2Inn.js → p-BLHs-wsh.js} +1 -1
- package/components/{p-DXUyXgVL.js → p-BdmDSErh.js} +1 -1
- package/components/{p-CN-WzkJE.js → p-BhkRbo3L.js} +1 -1
- package/components/{p-C8ktKu9j.js → p-C-Vjb84N.js} +1 -1
- package/components/p-C4dDZdpz.js +4 -0
- package/components/{p-DH_9VCbD.js → p-C75do9pU.js} +1 -1
- package/components/{p-BRWWcnBq.js → p-CSf_VKpz.js} +1 -1
- package/components/{p-Di5rHO3q.js → p-CieebRr6.js} +1 -1
- package/components/{p-DTtRWhIZ.js → p-Ct1_qpJ-.js} +1 -1
- package/components/{p-BXcCGjEc.js → p-CvljGih0.js} +1 -1
- package/components/{p-B2rpt1JV.js → p-D42P_qbe.js} +1 -1
- package/components/{p-BqImG3uk.js → p-DZOqbnq2.js} +1 -1
- package/components/{p-Dmuy6xyk.js → p-Ddl4_R29.js} +1 -1
- package/components/{p-CIoAIKEr.js → p-J7srYGKf.js} +1 -1
- package/components/{p-B71c6yUH.js → p-KF2RUDHO.js} +1 -1
- package/components/{p-TR4ubkPu.js → p-lEYPO4ZC.js} +1 -1
- package/components/{p-CoFqDNc5.js → p-n94Bzx6_.js} +1 -1
- package/components/{p-DAv9P_LE.js → p-vGxjPSKT.js} +1 -1
- package/dist/cjs/ion-app_8.cjs.entry.js +7 -7
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-datetime_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-gallery-item.cjs.entry.js +72 -0
- package/dist/cjs/ion-gallery.cjs.entry.js +57 -8
- package/dist/cjs/ion-img.cjs.entry.js +2 -2
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-otp.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ion-input.cjs.entry.js +4 -4
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +12 -12
- package/dist/cjs/ion-loading.cjs.entry.js +2 -2
- package/dist/cjs/ion-menu_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-modal.cjs.entry.js +4 -4
- package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +2 -2
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-reorder_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +4 -4
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-select-modal.cjs.entry.js +1 -1
- package/dist/cjs/ion-select_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +3 -3
- package/dist/cjs/ion-toast.cjs.entry.js +2 -2
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/gallery/gallery.css +0 -24
- package/dist/collection/components/gallery/gallery.js +56 -7
- package/dist/collection/components/gallery/test/utils.js +13 -13
- package/dist/collection/components/gallery-item/gallery-item.css +87 -0
- package/dist/collection/components/gallery-item/gallery-item.js +87 -0
- package/dist/collection/components/grid/grid.js +2 -2
- package/dist/collection/components/header/header.js +2 -2
- package/dist/collection/components/img/img.js +2 -2
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
- package/dist/collection/components/input/input.js +4 -4
- package/dist/collection/components/input-otp/input-otp.js +3 -3
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +3 -3
- package/dist/collection/components/item-divider/item-divider.js +2 -2
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.js +2 -2
- package/dist/collection/components/item-options/item-options.js +1 -1
- package/dist/collection/components/item-sliding/item-sliding.js +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list-header/list-header.js +2 -2
- package/dist/collection/components/loading/loading.js +2 -2
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu-button/menu-button.js +2 -2
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/modal.js +4 -4
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
- package/dist/collection/components/picker-legacy/picker.js +2 -2
- package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio/radio.js +3 -3
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- package/dist/collection/components/range/range.js +3 -3
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +2 -2
- package/dist/collection/components/reorder/reorder.js +2 -2
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-outlet/router-outlet.js +1 -1
- package/dist/collection/components/row/row.js +2 -2
- package/dist/collection/components/searchbar/searchbar.js +4 -4
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment-button/segment-button.js +2 -2
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.js +2 -2
- package/dist/collection/components/select/select.js +3 -3
- package/dist/collection/components/select-modal/select-modal.js +1 -1
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +2 -2
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/textarea.js +3 -3
- package/dist/collection/components/thumbnail/thumbnail.js +2 -2
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/docs.json +85 -1
- package/dist/esm/ion-app_8.entry.js +7 -7
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +4 -4
- package/dist/esm/ion-datetime_3.entry.js +4 -4
- package/dist/esm/ion-gallery-item.entry.js +70 -0
- package/dist/esm/ion-gallery.entry.js +57 -8
- package/dist/esm/ion-img.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll_2.entry.js +3 -3
- package/dist/esm/ion-input-otp.entry.js +3 -3
- package/dist/esm/ion-input-password-toggle.entry.js +3 -3
- package/dist/esm/ion-input.entry.js +4 -4
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +12 -12
- package/dist/esm/ion-loading.entry.js +2 -2
- package/dist/esm/ion-menu_3.entry.js +6 -6
- package/dist/esm/ion-modal.entry.js +4 -4
- package/dist/esm/ion-nav_2.entry.js +2 -2
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +2 -2
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +5 -5
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher_2.entry.js +3 -3
- package/dist/esm/ion-reorder_2.entry.js +3 -3
- package/dist/esm/ion-ripple-effect.entry.js +1 -1
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +4 -4
- package/dist/esm/ion-segment-content.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +4 -4
- package/dist/esm/ion-select-modal.entry.js +1 -1
- package/dist/esm/ion-select_3.entry.js +6 -6
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +4 -4
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +3 -3
- package/dist/esm/ion-toast.entry.js +2 -2
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/html.html-data.json +42 -0
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-76307d10.entry.js → p-02a1a45c.entry.js} +1 -1
- package/dist/ionic/{p-bd71a4a7.entry.js → p-0c3bf0a7.entry.js} +1 -1
- package/dist/ionic/{p-90e653e3.entry.js → p-0ef2fcda.entry.js} +1 -1
- package/dist/ionic/p-1ab01507.entry.js +4 -0
- package/dist/ionic/p-21ca5788.entry.js +4 -0
- package/dist/ionic/p-229c8fb5.entry.js +4 -0
- package/dist/ionic/p-2981a0bd.entry.js +4 -0
- package/dist/ionic/{p-e18d3fdb.entry.js → p-2a66b899.entry.js} +1 -1
- package/dist/ionic/{p-a9fb086b.entry.js → p-2c252788.entry.js} +1 -1
- package/dist/ionic/p-2d5a2511.entry.js +4 -0
- package/dist/ionic/{p-2f0073af.entry.js → p-3d939d55.entry.js} +1 -1
- package/dist/ionic/{p-d4ed5710.entry.js → p-3fd97ea9.entry.js} +1 -1
- package/dist/ionic/{p-2ad79c23.entry.js → p-455ac83a.entry.js} +1 -1
- package/dist/ionic/{p-5274f999.entry.js → p-503219b5.entry.js} +1 -1
- package/dist/ionic/{p-7d5057c4.entry.js → p-5b164421.entry.js} +1 -1
- package/dist/ionic/{p-3f79f594.entry.js → p-636aa79b.entry.js} +1 -1
- package/dist/ionic/{p-ae667493.entry.js → p-65159e09.entry.js} +1 -1
- package/dist/ionic/{p-00c0bd38.entry.js → p-6911beb3.entry.js} +1 -1
- package/dist/ionic/{p-fad05840.entry.js → p-6ec1e450.entry.js} +1 -1
- package/dist/ionic/p-76de7898.entry.js +4 -0
- package/dist/ionic/{p-1c2c1869.entry.js → p-7761b69d.entry.js} +1 -1
- package/dist/ionic/{p-48026d15.entry.js → p-8291455b.entry.js} +1 -1
- package/dist/ionic/{p-b653f4c2.entry.js → p-83c0eb9b.entry.js} +1 -1
- package/dist/ionic/{p-d6299c37.entry.js → p-874945f3.entry.js} +1 -1
- package/dist/ionic/{p-b3c9f19c.entry.js → p-92427c9d.entry.js} +1 -1
- package/dist/ionic/{p-71b6014c.entry.js → p-9f914d43.entry.js} +1 -1
- package/dist/ionic/{p-1709b0aa.entry.js → p-b8f7e970.entry.js} +1 -1
- package/dist/ionic/{p-83c693c4.entry.js → p-bb2d2635.entry.js} +1 -1
- package/dist/ionic/{p-1c4de46b.entry.js → p-bd3ae730.entry.js} +1 -1
- package/dist/ionic/{p-586d4270.entry.js → p-c1d6501a.entry.js} +1 -1
- package/dist/ionic/{p-50cd2d57.entry.js → p-c55a5578.entry.js} +1 -1
- package/dist/ionic/{p-72491468.entry.js → p-cecceb9f.entry.js} +1 -1
- package/dist/ionic/{p-9d789053.entry.js → p-d604defc.entry.js} +1 -1
- package/dist/ionic/{p-35b144f5.entry.js → p-dd1e95c5.entry.js} +1 -1
- package/dist/ionic/{p-7054a1b9.entry.js → p-e342b205.entry.js} +1 -1
- package/dist/ionic/{p-15e3e8f5.entry.js → p-e5976b28.entry.js} +1 -1
- package/dist/ionic/{p-b2fe6c1c.entry.js → p-e73a7fe2.entry.js} +1 -1
- package/dist/ionic/{p-50b61fab.entry.js → p-fc01563c.entry.js} +1 -1
- package/dist/ionic/{p-8537b2fb.entry.js → p-fdf0e290.entry.js} +1 -1
- package/dist/ionic/{p-c10fa162.entry.js → p-fe073307.entry.js} +1 -1
- package/dist/types/components/gallery/gallery.d.ts +10 -2
- package/dist/types/components/gallery/test/utils.d.ts +1 -1
- package/dist/types/components/gallery-item/gallery-item.d.ts +25 -0
- package/dist/types/components.d.ts +29 -0
- package/hydrate/index.js +259 -130
- package/hydrate/index.mjs +259 -130
- package/package.json +1 -1
- package/components/p-B6zr9RZN.js +0 -4
- package/dist/ionic/p-06bd033b.entry.js +0 -4
- package/dist/ionic/p-1e1c8d61.entry.js +0 -4
- package/dist/ionic/p-2aa7567e.entry.js +0 -4
- package/dist/ionic/p-4079cee3.entry.js +0 -4
- package/dist/ionic/p-bf972309.entry.js +0 -4
|
@@ -271,7 +271,7 @@ const InfiniteScroll = class {
|
|
|
271
271
|
render() {
|
|
272
272
|
const theme = ionicGlobal.getIonTheme(this);
|
|
273
273
|
const disabled = this.disabled;
|
|
274
|
-
return (index.h(index.Host, { key: '
|
|
274
|
+
return (index.h(index.Host, { key: 'e3a3cde079dfd6f07e565eb462765df757cbb128', class: {
|
|
275
275
|
[theme]: true,
|
|
276
276
|
'infinite-scroll-loading': this.isLoading,
|
|
277
277
|
'infinite-scroll-enabled': !disabled,
|
|
@@ -315,11 +315,11 @@ const InfiniteScrollContent = class {
|
|
|
315
315
|
}
|
|
316
316
|
render() {
|
|
317
317
|
const theme = ionicGlobal.getIonTheme(this);
|
|
318
|
-
return (index.h(index.Host, { key: '
|
|
318
|
+
return (index.h(index.Host, { key: '263a27297159ced042f7552a1e14b8c6aba62fa8', class: {
|
|
319
319
|
[theme]: true,
|
|
320
320
|
// Used internally for styling
|
|
321
321
|
[`infinite-scroll-content-${theme}`]: true,
|
|
322
|
-
} }, index.h("div", { key: '
|
|
322
|
+
} }, index.h("div", { key: 'ee38d3c52df9dc5de186406b3087f20917a17252', class: "infinite-loading" }, this.loadingSpinner && (index.h("div", { key: 'e2348727f79a26f52f42641d4334a0ba9d4aa03e', class: "infinite-loading-spinner" }, index.h("ion-spinner", { key: '41be6f2747f3af5f46c8738e2ef56083ecd95e99', name: this.loadingSpinner }))), this.loadingText !== undefined && this.renderLoadingText())));
|
|
323
323
|
}
|
|
324
324
|
};
|
|
325
325
|
InfiniteScrollContent.style = {
|
|
@@ -692,7 +692,7 @@ const InputOTP = class {
|
|
|
692
692
|
const tabbableIndex = this.getTabbableIndex();
|
|
693
693
|
const pattern = this.getPattern();
|
|
694
694
|
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()) !== '';
|
|
695
|
-
return (index.h(index.Host, { key: '
|
|
695
|
+
return (index.h(index.Host, { key: 'f39e98cd24cbf50f7db4e891dda9499f6def7986', class: theme.createColorClasses(color, {
|
|
696
696
|
[mode]: true,
|
|
697
697
|
'has-focus': hasFocus,
|
|
698
698
|
[`input-otp-size-${size}`]: true,
|
|
@@ -700,10 +700,10 @@ const InputOTP = class {
|
|
|
700
700
|
[`input-otp-fill-${fill}`]: true,
|
|
701
701
|
'input-otp-disabled': disabled,
|
|
702
702
|
'input-otp-readonly': readonly,
|
|
703
|
-
}) }, index.h("div", Object.assign({ key: '
|
|
703
|
+
}) }, index.h("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$1) => (index.h(index.Fragment, null, index.h("div", { class: "native-wrapper", part: "container" }, index.h("input", { class: "native-input", part: "native", id: `${inputId}-${index$1}`, "aria-label": `Input ${index$1 + 1} of ${length}`, type: "text", autoCapitalize: autocapitalize, inputmode: inputmode, pattern: pattern, disabled: disabled, readOnly: readonly, tabIndex: index$1 === tabbableIndex ? 0 : -1, value: inputValues[index$1] || '', autocomplete: "one-time-code", ref: (el) => (inputRefs[index$1] = el), onInput: this.onInput(index$1), onBlur: this.onBlur, onFocus: this.onFocus(index$1), onKeyDown: this.onKeyDown(index$1), onPaste: this.onPaste })), this.showSeparator(index$1) && index.h("div", { class: "input-otp-separator", part: "separator" }))))), index.h("div", { key: 'c518d83ab0236a3ebbe631582ce6f1c2edfbcd29', class: {
|
|
704
704
|
'input-otp-description': true,
|
|
705
705
|
'input-otp-description-hidden': !hasDescription,
|
|
706
|
-
}, part: "description" }, index.h("slot", { key: '
|
|
706
|
+
}, part: "description" }, index.h("slot", { key: '15c7c8549c1788748e1ae31bd227a7f918cb5eca' }))));
|
|
707
707
|
}
|
|
708
708
|
static get formAssociated() { return true; }
|
|
709
709
|
get el() { return index.getElement(this); }
|
|
@@ -101,16 +101,16 @@ const InputPasswordToggle = class {
|
|
|
101
101
|
const { color, inputPasswordHideIcon, inputPasswordShowIcon, type } = this;
|
|
102
102
|
const mode = ionicGlobal.getIonMode(this);
|
|
103
103
|
const isPasswordVisible = type === 'text';
|
|
104
|
-
return (index.h(index.Host, { key: '
|
|
104
|
+
return (index.h(index.Host, { key: 'f11e3bf4d3255e003aec504e6dd3ee1e0caaf767', class: theme.createColorClasses(color, {
|
|
105
105
|
[mode]: true,
|
|
106
|
-
}) }, index.h("ion-button", { key: '
|
|
106
|
+
}) }, index.h("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) => {
|
|
107
107
|
/**
|
|
108
108
|
* This prevents mobile browsers from
|
|
109
109
|
* blurring the input when the password toggle
|
|
110
110
|
* button is activated.
|
|
111
111
|
*/
|
|
112
112
|
ev.preventDefault();
|
|
113
|
-
}, onClick: this.togglePasswordVisibility }, index.h("ion-icon", { key: '
|
|
113
|
+
}, onClick: this.togglePasswordVisibility }, index.h("ion-icon", { key: 'c0eb0e4e2f3e9553bfd519ff655064c9f62af406', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? inputPasswordHideIcon : inputPasswordShowIcon }))));
|
|
114
114
|
}
|
|
115
115
|
get el() { return index.getElement(this); }
|
|
116
116
|
static get watchers() { return {
|
|
@@ -622,7 +622,7 @@ const Input = class {
|
|
|
622
622
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
623
623
|
*/
|
|
624
624
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
625
|
-
return (index.h(index.Host, { key: '
|
|
625
|
+
return (index.h(index.Host, { key: '3da29d837b5abe22de740ac96c8142422fce537a', class: theme.createColorClasses(this.color, {
|
|
626
626
|
[theme$1]: true,
|
|
627
627
|
'has-value': hasValue,
|
|
628
628
|
'has-focus': hasFocus,
|
|
@@ -635,7 +635,7 @@ const Input = class {
|
|
|
635
635
|
'in-item-color': theme.hostContext('ion-item.ion-color', this.el),
|
|
636
636
|
'input-disabled': disabled,
|
|
637
637
|
'input-readonly': readonly,
|
|
638
|
-
}) }, index.h("label", { key: '
|
|
638
|
+
}) }, index.h("label", { key: '142a8230382a05938887e9c0790832218ac37697', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), index.h("div", { key: '953f247ea2f40545e01e0346549d9b7aa344b720', class: "native-wrapper", onClick: this.onLabelClick },
|
|
639
639
|
/**
|
|
640
640
|
* For the ionic theme, we render the outline container here
|
|
641
641
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -645,14 +645,14 @@ const Input = class {
|
|
|
645
645
|
* <label> element, ensuring that clicking the label text
|
|
646
646
|
* focuses the input.
|
|
647
647
|
*/
|
|
648
|
-
theme$1 === 'ionic' && index.h("div", { key: '
|
|
648
|
+
theme$1 === 'ionic' && index.h("div", { key: 'fd09b37c6a798900c5074e7cbe2e790ea050c29d', class: "input-outline" }), index.h("slot", { key: '3eef4c4748104d8722f3254a04ff88e2b70c560e', name: "start" }), index.h("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 && (index.h("button", { key: 'b115494d9611aea57a976d3102026f3d9b430bfb', "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (ev) => {
|
|
649
649
|
/**
|
|
650
650
|
* This prevents mobile browsers from
|
|
651
651
|
* blurring the input when the clear
|
|
652
652
|
* button is activated.
|
|
653
653
|
*/
|
|
654
654
|
ev.preventDefault();
|
|
655
|
-
}, onClick: this.clearTextInput }, index.h("ion-icon", { key: '
|
|
655
|
+
}, onClick: this.clearTextInput }, index.h("ion-icon", { key: 'a259afa47a9914b2e0656364bed40644fa2c87c4', "aria-hidden": "true", icon: inputClearIcon }))), index.h("slot", { key: 'beec86eb500f6b335149c8734afc7c3945a10219', name: "end" })), shouldRenderHighlight && index.h("div", { key: '77a25d118934f369e09edbc2ffa6f90e3e760338', class: "input-highlight" })), this.renderBottomContent()));
|
|
656
656
|
}
|
|
657
657
|
get el() { return index.getElement(this); }
|
|
658
658
|
static get watchers() { return {
|
|
@@ -70,14 +70,14 @@ const ItemOption = class {
|
|
|
70
70
|
href: this.href,
|
|
71
71
|
target: this.target,
|
|
72
72
|
};
|
|
73
|
-
return (index.h(index.Host, { key: '
|
|
73
|
+
return (index.h(index.Host, { key: '8f1bad23fd3ccbb9d54d57765e6731cd2ee07306', onClick: this.onClick, class: theme.createColorClasses(this.color, {
|
|
74
74
|
[theme$1]: true,
|
|
75
75
|
[`item-option-${shape}`]: shape !== undefined,
|
|
76
76
|
[`item-option-${hue}`]: hue !== undefined,
|
|
77
77
|
'item-option-disabled': disabled,
|
|
78
78
|
'item-option-expandable': expandable,
|
|
79
79
|
'ion-activatable': true,
|
|
80
|
-
}) }, index.h(TagType, Object.assign({ key: '
|
|
80
|
+
}) }, index.h(TagType, Object.assign({ key: '2baf904e356a87ed463ee5f517e0e95f90b2ef30' }, attrs, { class: "button-native", part: "native", disabled: disabled }), index.h("span", { key: '49b627f72dffd1b150ccd808b1b1f63bbe78e2de', class: "button-inner", part: "inner" }, index.h("slot", { key: 'cdb52f76f1d7e5df411215f17eb76ad25e36241a', name: "top" }), index.h("div", { key: '864204667c6e3ba6f989b24e96c131b67e55d408', class: "horizontal-wrapper", part: "container" }, index.h("slot", { key: '474f4aab708842bb7ef74cb6f1fbe601ceff82cf', name: "start" }), index.h("slot", { key: '2bd726c5ba3ee079a623f1f6229d1ac2afd3e291', name: "icon-only" }), index.h("slot", { key: '2d1a673c447ebf82c92f944ec9e83a5b38698307' }), index.h("slot", { key: '8d0f9337cd84c725190cffd25d74044075e85ab0', name: "end" })), index.h("slot", { key: 'a674039b26d9cbb886e88ea721bbc210484aba9f', name: "bottom" })), theme$1 === 'md' && index.h("ion-ripple-effect", { key: '3e45bf18b7992943c47ece47e9358f4da0b8e865' }))));
|
|
81
81
|
}
|
|
82
82
|
get el() { return index.getElement(this); }
|
|
83
83
|
};
|
|
@@ -112,7 +112,7 @@ const ItemOptions = class {
|
|
|
112
112
|
render() {
|
|
113
113
|
const theme = ionicGlobal.getIonTheme(this);
|
|
114
114
|
const isEnd = helpers.isEndSide(this.side);
|
|
115
|
-
return (index.h(index.Host, { key: '
|
|
115
|
+
return (index.h(index.Host, { key: 'ed05ceebf2cda943ac9efea2f91b71f7e8fc55e8', class: {
|
|
116
116
|
[theme]: true,
|
|
117
117
|
// Used internally for styling
|
|
118
118
|
[`item-options-${theme}`]: true,
|
|
@@ -906,7 +906,7 @@ const ItemSliding = class {
|
|
|
906
906
|
}
|
|
907
907
|
render() {
|
|
908
908
|
const theme = ionicGlobal.getIonTheme(this);
|
|
909
|
-
return (index.h(index.Host, { key: '
|
|
909
|
+
return (index.h(index.Host, { key: '47de8c8a9721f9223b42d6722a9ad32f378818aa', class: {
|
|
910
910
|
[theme]: true,
|
|
911
911
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
912
912
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -310,11 +310,11 @@ const ItemDivider = class {
|
|
|
310
310
|
}
|
|
311
311
|
render() {
|
|
312
312
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
313
|
-
return (index.h(index.Host, { key: '
|
|
313
|
+
return (index.h(index.Host, { key: 'dc73f348b5376faa40ba4bc6bba3d5c9e5ec5ab2', class: theme.createColorClasses(this.color, {
|
|
314
314
|
[theme$1]: true,
|
|
315
315
|
'item-divider-sticky': this.sticky,
|
|
316
316
|
item: true,
|
|
317
|
-
}) }, index.h("slot", { key: '
|
|
317
|
+
}) }, index.h("slot", { key: '0f535b2cf91f2ec042aa59a89498cfa0e4d541a0', name: "start" }), index.h("div", { key: '867c8c1a1bd273a5f5018f77785f11d58152e8b9', class: "item-divider-inner", part: "inner" }, index.h("div", { key: 'c32b2a5658d27cf5d8cd8ffbfa476c02755e1afd', class: "item-divider-wrapper", part: "container" }, index.h("slot", { key: 'f8b0fea29a910cd2e36301586532be3a8348c31e' })), index.h("slot", { key: '418750f630c851cf04b6a278c1666c6cf33c113c', name: "end" }))));
|
|
318
318
|
}
|
|
319
319
|
get el() { return index.getElement(this); }
|
|
320
320
|
};
|
|
@@ -336,7 +336,7 @@ const ItemGroup = class {
|
|
|
336
336
|
}
|
|
337
337
|
render() {
|
|
338
338
|
const theme = ionicGlobal.getIonTheme(this);
|
|
339
|
-
return (index.h(index.Host, { key: '
|
|
339
|
+
return (index.h(index.Host, { key: '017c8f7cd0258e1864423337ddd1b1cb522f64ed', role: "group", class: {
|
|
340
340
|
[theme]: true,
|
|
341
341
|
// Used internally for styling
|
|
342
342
|
[`item-group-${theme}`]: true,
|
|
@@ -410,13 +410,13 @@ const Label = class {
|
|
|
410
410
|
render() {
|
|
411
411
|
const position = this.position;
|
|
412
412
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
413
|
-
return (index.h(index.Host, { key: '
|
|
413
|
+
return (index.h(index.Host, { key: 'b1f261db441bcb0a325a5b3e21da17764a56f17c', class: theme.createColorClasses(this.color, {
|
|
414
414
|
[theme$1]: true,
|
|
415
415
|
'in-item-color': theme.hostContext('ion-item.ion-color', this.el),
|
|
416
416
|
[`label-${position}`]: position !== undefined,
|
|
417
417
|
[`label-no-animate`]: this.noAnimate,
|
|
418
418
|
'label-rtl': document.dir === 'rtl',
|
|
419
|
-
}) }, index.h("slot", { key: '
|
|
419
|
+
}) }, index.h("slot", { key: '490444c8c0d4cf72eae3f8abfb7ed7ecc30bb213' })));
|
|
420
420
|
}
|
|
421
421
|
get el() { return index.getElement(this); }
|
|
422
422
|
static get watchers() { return {
|
|
@@ -480,7 +480,7 @@ const List = class {
|
|
|
480
480
|
const theme = ionicGlobal.getIonTheme(this);
|
|
481
481
|
const shape = this.getShape();
|
|
482
482
|
const { lines, inset } = this;
|
|
483
|
-
return (index.h(index.Host, { key: '
|
|
483
|
+
return (index.h(index.Host, { key: '9be30ff6e75e020c0db7054800cb874efef26bd8', role: "list", class: {
|
|
484
484
|
[theme]: true,
|
|
485
485
|
// Used internally for styling
|
|
486
486
|
[`list-${theme}`]: true,
|
|
@@ -511,10 +511,10 @@ const ListHeader = class {
|
|
|
511
511
|
render() {
|
|
512
512
|
const { lines } = this;
|
|
513
513
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
514
|
-
return (index.h(index.Host, { key: '
|
|
514
|
+
return (index.h(index.Host, { key: '7a1632a069317285210f4aeae50a6f2ef6955c56', class: theme.createColorClasses(this.color, {
|
|
515
515
|
[theme$1]: true,
|
|
516
516
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
517
|
-
}) }, index.h("div", { key: '
|
|
517
|
+
}) }, index.h("div", { key: 'a9a9463f209023da222f38a78126d5aaeb2f03b9', class: "list-header-inner", part: "inner" }, index.h("slot", { key: 'e3c6ec1b588392d347844d59d338abc339e80634' }))));
|
|
518
518
|
}
|
|
519
519
|
};
|
|
520
520
|
ListHeader.style = {
|
|
@@ -535,9 +535,9 @@ const Note = class {
|
|
|
535
535
|
}
|
|
536
536
|
render() {
|
|
537
537
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
538
|
-
return (index.h(index.Host, { key: '
|
|
538
|
+
return (index.h(index.Host, { key: '376ae1c66c19d1bdd74a2371c0639ed9e49648b5', class: theme.createColorClasses(this.color, {
|
|
539
539
|
[theme$1]: true,
|
|
540
|
-
}) }, index.h("slot", { key: '
|
|
540
|
+
}) }, index.h("slot", { key: 'f8168cd88bb21c5e5a2b03c29539729fb38a19fd' })));
|
|
541
541
|
}
|
|
542
542
|
};
|
|
543
543
|
Note.style = {
|
|
@@ -573,11 +573,11 @@ const SkeletonText = class {
|
|
|
573
573
|
const animated = this.animated && index.config.getBoolean('animated', true);
|
|
574
574
|
const inMedia = theme.hostContext('ion-avatar', this.el) || theme.hostContext('ion-thumbnail', this.el);
|
|
575
575
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
576
|
-
return (index.h(index.Host, { key: '
|
|
576
|
+
return (index.h(index.Host, { key: '370451ee8963b776079f5df365f7bbd70a53b270', class: {
|
|
577
577
|
[theme$1]: true,
|
|
578
578
|
'skeleton-text-animated': animated,
|
|
579
579
|
'in-media': inMedia,
|
|
580
|
-
} }, index.h("span", { key: '
|
|
580
|
+
} }, index.h("span", { key: '2b861b4ec86cbd61927ab7b81b13517c99dc94c7' }, "\u00A0")));
|
|
581
581
|
}
|
|
582
582
|
get el() { return index.getElement(this); }
|
|
583
583
|
};
|
|
@@ -280,9 +280,9 @@ const Loading = class {
|
|
|
280
280
|
* Otherwise, don't set aria-labelledby.
|
|
281
281
|
*/
|
|
282
282
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
283
|
-
return (index.h(index.Host, Object.assign({ key: '
|
|
283
|
+
return (index.h(index.Host, Object.assign({ key: '2ffae36b20a7d7f3a752a062d90062583e31d053', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
284
284
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
285
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, theme.getClassMap(this.cssClass)), { [theme$1]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), index.h("ion-backdrop", { key: '
|
|
285
|
+
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, theme.getClassMap(this.cssClass)), { [theme$1]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), index.h("ion-backdrop", { key: 'a6d8cac2c34a0905ec67a2c64be7ec12cc84f168', visible: this.showBackdrop, tappable: this.backdropDismiss }), index.h("div", { key: 'cd011d86f20869096a8546f098fb5edad44033a1', tabindex: "0", "aria-hidden": "true" }), index.h("div", { key: '70298be2139d6004e0f8fc5a85c5d05f1efdc347', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (index.h("div", { key: '32aef90695d91e0a82696abbce96ba29cb1a2608', class: "loading-spinner" }, index.h("ion-spinner", { key: '7ae69c27be273cf3e83230dae043168df27ac27e', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), index.h("div", { key: 'f13a01b31516c3fe85dd3a623962290c03e7412f', tabindex: "0", "aria-hidden": "true" })));
|
|
286
286
|
}
|
|
287
287
|
get el() { return index.getElement(this); }
|
|
288
288
|
static get watchers() { return {
|
|
@@ -666,14 +666,14 @@ const Menu = class {
|
|
|
666
666
|
* the ionBackButton listener in the menu controller
|
|
667
667
|
* will handle closing the menu when Escape is pressed.
|
|
668
668
|
*/
|
|
669
|
-
return (index.h(index.Host, { key: '
|
|
669
|
+
return (index.h(index.Host, { key: '76e15d710fbbbd2e64795224decc3673fd160db0', onKeyDown: ionicGlobal.shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
670
670
|
[theme$1]: true,
|
|
671
671
|
[`menu-type-${type}`]: true,
|
|
672
672
|
'menu-enabled': !disabled,
|
|
673
673
|
[`menu-side-${side}`]: true,
|
|
674
674
|
'menu-pane-visible': isPaneVisible,
|
|
675
675
|
'split-pane-side': theme.hostContext('ion-split-pane', el),
|
|
676
|
-
} }, index.h("div", { key: '
|
|
676
|
+
} }, index.h("div", { key: 'cc0a0773caff97aefa98015bf3e36631173d2b4f', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, index.h("slot", { key: '0b90d1248bdf3bedafda7913189635c8d010abb6' })), index.h("ion-backdrop", { key: '4fb7013bc61161e6e336541ed25605219410f749', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
677
677
|
}
|
|
678
678
|
get el() { return index.getElement(this); }
|
|
679
679
|
static get watchers() { return {
|
|
@@ -774,7 +774,7 @@ const MenuButton = class {
|
|
|
774
774
|
type: this.type,
|
|
775
775
|
};
|
|
776
776
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
777
|
-
return (index.h(index.Host, { key: '
|
|
777
|
+
return (index.h(index.Host, { key: '341ca3bfac81ce4432eef5d2fd738becd1dfb07e', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: theme.createColorClasses(color, {
|
|
778
778
|
[theme$1]: true,
|
|
779
779
|
button: true, // ion-buttons target .button
|
|
780
780
|
'menu-button-hidden': hidden,
|
|
@@ -783,7 +783,7 @@ const MenuButton = class {
|
|
|
783
783
|
'in-toolbar-color': theme.hostContext('ion-toolbar[color]', this.el),
|
|
784
784
|
'ion-activatable': true,
|
|
785
785
|
'ion-focusable': true,
|
|
786
|
-
}) }, index.h("button", Object.assign({ key: '
|
|
786
|
+
}) }, index.h("button", Object.assign({ key: '6e6229df2fc1f2d18294a5fbf7fe71e7dd47666a' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), index.h("span", { key: '0216acbf67d7aa5edc52328f7ded4cb98bc8a237', class: "button-inner" }, index.h("slot", { key: '5c2cdae42add9a25d3e6323048fcbc6b5fc9b32e' }, index.h("ion-icon", { key: '5b38c283957cd2f1ad659427dec612fc84fc054f', part: "icon", icon: menuIcon, lazy: false, "aria-hidden": "true" }))), theme$1 === 'md' && index.h("ion-ripple-effect", { key: 'adabe4ffa1d66fe36d55294d774db9c4bba1ad76', type: "unbounded" }))));
|
|
787
787
|
}
|
|
788
788
|
get el() { return index.getElement(this); }
|
|
789
789
|
};
|
|
@@ -819,10 +819,10 @@ const MenuToggle = class {
|
|
|
819
819
|
render() {
|
|
820
820
|
const theme = ionicGlobal.getIonTheme(this);
|
|
821
821
|
const hidden = this.autoHide && !this.visible;
|
|
822
|
-
return (index.h(index.Host, { key: '
|
|
822
|
+
return (index.h(index.Host, { key: '9ef631d9ae370a8740e691d281863203bfdddc38', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
823
823
|
[theme]: true,
|
|
824
824
|
'menu-toggle-hidden': hidden,
|
|
825
|
-
} }, index.h("slot", { key: '
|
|
825
|
+
} }, index.h("slot", { key: 'f8d9dfc562ed625ae47ec771ef6b2ea04bc463f4' })));
|
|
826
826
|
}
|
|
827
827
|
};
|
|
828
828
|
MenuToggle.style = menuToggleCss();
|
|
@@ -3083,20 +3083,20 @@ const Modal = class {
|
|
|
3083
3083
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
3084
3084
|
const shape = this.getShape();
|
|
3085
3085
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
3086
|
-
return (index$2.h(index$2.Host, Object.assign({ key: '
|
|
3086
|
+
return (index$2.h(index$2.Host, Object.assign({ key: '9e6dc8544831a6bda7e4e9387a49cb334ab9bc39', "no-router": true,
|
|
3087
3087
|
// Allow the modal to be navigable when the handle is focusable
|
|
3088
3088
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
3089
3089
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
3090
|
-
}, class: Object.assign({ [theme$1]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-${shape}`]: shape !== undefined, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [overlays.FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }), index$2.h("ion-backdrop", { key: '
|
|
3090
|
+
}, class: Object.assign({ [theme$1]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-${shape}`]: shape !== undefined, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [overlays.FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }), index$2.h("ion-backdrop", { key: '48b7eda91552d9a4eb86b66fc7485ec143a1d860', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), theme$1 === 'ios' && index$2.h("div", { key: 'b9778a9547bb3ebf7c0dbfa5b7e48a784f63a5e7', class: "modal-shadow" }), index$2.h("div", Object.assign({ key: '6751ac7c77292bf0f7dabe20eb586a9e9bb620d4',
|
|
3091
3091
|
/*
|
|
3092
3092
|
role and aria-modal must be used on the
|
|
3093
3093
|
same element. They must also be set inside the
|
|
3094
3094
|
shadow DOM otherwise ion-button will not be highlighted
|
|
3095
3095
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
3096
3096
|
*/
|
|
3097
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (index$2.h("button", { key: '
|
|
3097
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (index$2.h("button", { key: 'ff7cb419f32b2ec0ffd7fd30d16b9ad1b1a1cc6e', class: "modal-handle",
|
|
3098
3098
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
3099
|
-
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) })), index$2.h("slot", { key: '
|
|
3099
|
+
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) })), index$2.h("slot", { key: '3102f585f5bc22b449964faeec0e56fb5b1ee4ca', onSlotchange: this.onSlotChange }))));
|
|
3100
3100
|
}
|
|
3101
3101
|
get el() { return index$2.getElement(this); }
|
|
3102
3102
|
static get watchers() { return {
|
|
@@ -900,7 +900,7 @@ const Nav = class {
|
|
|
900
900
|
}
|
|
901
901
|
}
|
|
902
902
|
render() {
|
|
903
|
-
return index.h("slot", { key: '
|
|
903
|
+
return index.h("slot", { key: '3dfe9c2a5f3ea75cb6d82b76b240733105cddfad' });
|
|
904
904
|
}
|
|
905
905
|
get el() { return index.getElement(this); }
|
|
906
906
|
static get watchers() { return {
|
|
@@ -946,7 +946,7 @@ const NavLink = class {
|
|
|
946
946
|
};
|
|
947
947
|
}
|
|
948
948
|
render() {
|
|
949
|
-
return index.h(index.Host, { key: '
|
|
949
|
+
return index.h(index.Host, { key: '476bfb5bb6fba4f422ec40315fc3ef466d01f757', onClick: this.onClick });
|
|
950
950
|
}
|
|
951
951
|
get el() { return index.getElement(this); }
|
|
952
952
|
};
|
|
@@ -102,10 +102,10 @@ const PickerColumnOption = class {
|
|
|
102
102
|
render() {
|
|
103
103
|
const { color, disabled, ariaLabel } = this;
|
|
104
104
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
105
|
-
return (index.h(index.Host, { key: '
|
|
105
|
+
return (index.h(index.Host, { key: 'fe9553e3157d35f5c28a3f2457715bd598ec1e00', class: theme.createColorClasses(color, {
|
|
106
106
|
[theme$1]: true,
|
|
107
107
|
['option-disabled']: disabled,
|
|
108
|
-
}) }, index.h("div", { key: '
|
|
108
|
+
}) }, index.h("div", { key: '9bc334f020012537144972b5a8a1aed7c35ccec5', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, index.h("slot", { key: 'bd076e43c98ad920486230684c7f63e7e0b187f8' }))));
|
|
109
109
|
}
|
|
110
110
|
get el() { return index.getElement(this); }
|
|
111
111
|
static get watchers() { return {
|
|
@@ -1545,9 +1545,9 @@ const Popover = class {
|
|
|
1545
1545
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
1546
1546
|
const desktop = ionicGlobal.isPlatform('desktop');
|
|
1547
1547
|
const enableArrow = arrow && !parentPopover;
|
|
1548
|
-
return (index.h(index.Host, Object.assign({ key: '
|
|
1548
|
+
return (index.h(index.Host, Object.assign({ key: '3319e6ea7524a30478985c014634403aceedab6f', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
1549
1549
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
1550
|
-
}, class: Object.assign(Object.assign({}, theme.getClassMap(this.cssClass)), { [theme$1]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [overlays.FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && index.h("ion-backdrop", { key: '
|
|
1550
|
+
}, class: Object.assign(Object.assign({}, theme.getClassMap(this.cssClass)), { [theme$1]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [overlays.FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && index.h("ion-backdrop", { key: '45265b1f8e5e6e822b3c8d4992039975c472b10b', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), index.h("div", { key: '8707fb5c5b9523fd786c4e4d02d41dfb386be187', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && index.h("div", { key: '17bd682e56939ba10ab4b2ab3c9e916087a7e19a', class: "popover-arrow", part: "arrow" }), index.h("div", { key: '02f1bd119d2ffecd2f2541969111fc6e156db9d3', class: "popover-content", part: "content" }, index.h("slot", { key: 'dec29181eee87f28f731d6a0ba1ef3c81867d527' })))));
|
|
1551
1551
|
}
|
|
1552
1552
|
get el() { return index.getElement(this); }
|
|
1553
1553
|
static get watchers() { return {
|
|
@@ -58,7 +58,7 @@ const ProgressBar = class {
|
|
|
58
58
|
const shape = this.getShape();
|
|
59
59
|
// If the progress is displayed as a solid bar.
|
|
60
60
|
const progressSolid = buffer === 1;
|
|
61
|
-
return (index.h(index.Host, { key: '
|
|
61
|
+
return (index.h(index.Host, { key: '1cf02806b28a0d7b070e6f3616ea8f4c8ae4990a', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: theme.createColorClasses(color, {
|
|
62
62
|
[theme$1]: true,
|
|
63
63
|
[`progress-bar-${type}`]: true,
|
|
64
64
|
'progress-paused': paused,
|
|
@@ -143,7 +143,7 @@ const Radio = class {
|
|
|
143
143
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
144
144
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
145
145
|
const inItem = theme.hostContext('ion-item', el);
|
|
146
|
-
return (index.h(index.Host, { key: '
|
|
146
|
+
return (index.h(index.Host, { key: 'e9591254a3823435617732dcf415ea4bb5fa4d62', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: theme.createColorClasses(color, {
|
|
147
147
|
[theme$1]: true,
|
|
148
148
|
'in-item': inItem,
|
|
149
149
|
'radio-checked': checked,
|
|
@@ -154,10 +154,10 @@ const Radio = class {
|
|
|
154
154
|
// Focus and active styling should not apply when the radio is in an item
|
|
155
155
|
'ion-activatable': !inItem,
|
|
156
156
|
'ion-focusable': !inItem,
|
|
157
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, index.h("label", { key: '
|
|
157
|
+
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, index.h("label", { key: '798691948e77bdba972f45eb668bb6d38c1920b3', class: "radio-wrapper" }, index.h("div", { key: '054d373156983bb22b3216b2a0f8d5a6ecd0aa08', class: {
|
|
158
158
|
'label-text-wrapper': true,
|
|
159
159
|
'label-text-wrapper-hidden': !hasLabel,
|
|
160
|
-
}, part: "label" }, index.h("slot", { key: '
|
|
160
|
+
}, part: "label" }, index.h("slot", { key: 'a77d60be10ece9c80bab6e5c2a24533eede95362' })), index.h("div", { key: 'e687dc6686b0748a1a3337cd87a01c01315c0f22', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
161
161
|
}
|
|
162
162
|
get el() { return index.getElement(this); }
|
|
163
163
|
static get watchers() { return {
|
|
@@ -433,10 +433,10 @@ const RadioGroup = class {
|
|
|
433
433
|
const { label, labelId, el, name, value } = this;
|
|
434
434
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
435
435
|
helpers.renderHiddenInput(true, el, name, value, false);
|
|
436
|
-
return (index.h(index.Host, { key: '
|
|
436
|
+
return (index.h(index.Host, { key: '8a57b258087569c2fb13ddaa6e83e06822c05a4d', class: {
|
|
437
437
|
[theme$1]: true,
|
|
438
438
|
'in-list': theme.hostContext('ion-list', el),
|
|
439
|
-
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick }, this.renderHintText(), index.h("slot", { key: '
|
|
439
|
+
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick }, this.renderHintText(), index.h("slot", { key: '83d8e8febe7f368dfb6caa40eeafda8bf7d5ecef' })));
|
|
440
440
|
}
|
|
441
441
|
get el() { return index.getElement(this); }
|
|
442
442
|
static get watchers() { return {
|
|
@@ -800,7 +800,7 @@ const Range = class {
|
|
|
800
800
|
const valueAtMin = dualKnobs ? this.valA === min || this.valB === min : this.valA === min;
|
|
801
801
|
const valueAtMax = dualKnobs ? this.valA === max || this.valB === max : this.valA === max;
|
|
802
802
|
helpers.renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
803
|
-
return (index.h(index.Host, { key: '
|
|
803
|
+
return (index.h(index.Host, { key: '0f39669a81cfb08a3aca6998b95bda68f5076306', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: theme.createColorClasses(this.color, {
|
|
804
804
|
[theme$1]: true,
|
|
805
805
|
'in-item': inItem,
|
|
806
806
|
'range-disabled': disabled,
|
|
@@ -814,10 +814,10 @@ const Range = class {
|
|
|
814
814
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
815
815
|
'range-value-min': valueAtMin,
|
|
816
816
|
'range-value-max': valueAtMax,
|
|
817
|
-
}) }, index.h("label", { key: '
|
|
817
|
+
}) }, index.h("label", { key: 'c1615da8ac01fccb650a8d1eb6b6b69562634e2f', class: "range-wrapper", id: "range-label" }, index.h("div", { key: 'ba530e76d0253f457b04bbd8403d9a02ac859cfe', class: {
|
|
818
818
|
'label-text-wrapper': true,
|
|
819
819
|
'label-text-wrapper-hidden': !hasLabel,
|
|
820
|
-
}, part: "label" }, label !== undefined ? index.h("div", { class: "label-text" }, label) : index.h("slot", { name: "label" })), index.h("div", { key: '
|
|
820
|
+
}, part: "label" }, label !== undefined ? index.h("div", { class: "label-text" }, label) : index.h("slot", { name: "label" })), index.h("div", { key: '253bfb6e4add9852054f08194f07d32430832f1f', class: "native-wrapper" }, index.h("slot", { key: '160ee66c73ab6e982c6efddb0107fbbcd42de962', name: "start" }), this.renderRangeSlider(), index.h("slot", { key: '486102e34a85d900aa6a6d909b27a98da947bbe2', name: "end" })))));
|
|
821
821
|
}
|
|
822
822
|
get el() { return index.getElement(this); }
|
|
823
823
|
static get watchers() { return {
|
|
@@ -921,7 +921,7 @@ const Refresher = class {
|
|
|
921
921
|
}
|
|
922
922
|
render() {
|
|
923
923
|
const theme = ionicGlobal.getIonTheme(this);
|
|
924
|
-
return (index.h(index.Host, { key: '
|
|
924
|
+
return (index.h(index.Host, { key: '5761384ab0eb88600ad036b6fdbebf8e5150e6b8', slot: "fixed", class: {
|
|
925
925
|
[theme]: true,
|
|
926
926
|
// Used internally for styling
|
|
927
927
|
[`refresher-${theme}`]: true,
|
|
@@ -995,9 +995,9 @@ const RefresherContent = class {
|
|
|
995
995
|
const hasSpinner = pullingIcon != null && spinnerConfigs.SPINNERS[pullingIcon] !== undefined;
|
|
996
996
|
const theme = ionicGlobal.getIonTheme(this);
|
|
997
997
|
const arrowIcon = theme === 'ionic' ? caretLeftFillSvg : index$2.caretBackSharp;
|
|
998
|
-
return (index.h(index.Host, { key: '
|
|
998
|
+
return (index.h(index.Host, { key: '3d2d138e485b3b2beae47b9ea4e140f0b9647434', class: {
|
|
999
999
|
[theme]: true,
|
|
1000
|
-
} }, index.h("div", { key: '
|
|
1000
|
+
} }, index.h("div", { key: 'd0c950b65a37a75b795503574a980cdb61f674e1', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (index.h("div", { key: '8c6e27b2fb134c21fb7e8864433802a95ba0f328', class: "refresher-pulling-icon" }, index.h("div", { key: '0a947b7779502780f2c835f8686f3a06e21a9194', class: "spinner-arrow-container" }, index.h("ion-spinner", { key: '59c129077809add46b7fe6dcf5fc0edbb1cc94d5', name: this.pullingIcon, paused: true }), (theme === 'md' || theme === 'ionic') && this.pullingIcon === 'circular' && (index.h("div", { key: 'a28750ed07d9337febbceb5550683eb1c302858c', class: "arrow-container" }, index.h("ion-icon", { key: 'e14e3b9f9ad51ce3a138a191a848078bd423fa9b', icon: arrowIcon, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (index.h("div", { key: '22c4c80ef1e340a8ec9ca718849b412a09507967', class: "refresher-pulling-icon" }, index.h("ion-icon", { key: '6506d0dd30bf639a23cda57c6d1c2a9c29e42ed6', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), index.h("div", { key: 'a54967c5f539ed182106b1c5fa7b499de84c049a', class: "refresher-refreshing" }, this.refreshingSpinner && (index.h("div", { key: '2e425f66d780e90474b8ebf7473b9f7c98f30c81', class: "refresher-refreshing-icon" }, index.h("ion-spinner", { key: '286b9b9cce1cb4450ffa5577f0b76044877722ce', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
1001
1001
|
}
|
|
1002
1002
|
get el() { return index.getElement(this); }
|
|
1003
1003
|
};
|
|
@@ -53,9 +53,9 @@ const Reorder = class {
|
|
|
53
53
|
render() {
|
|
54
54
|
const { reorderHandleIcon } = this;
|
|
55
55
|
const theme = ionicGlobal.getIonTheme(this);
|
|
56
|
-
return (index.h(index.Host, { key: '
|
|
56
|
+
return (index.h(index.Host, { key: 'bc0b4cd34db6dfe794ab66a785d406bfc02236c5', class: {
|
|
57
57
|
[theme]: true,
|
|
58
|
-
} }, index.h("slot", { key: '
|
|
58
|
+
} }, index.h("slot", { key: '28672768be8598b7cb47b7b2837b77afbc2c2e14' }, index.h("ion-icon", { key: '03b6620768da18a6f8cb0c55e94b85a53cbab66a', icon: reorderHandleIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
59
59
|
}
|
|
60
60
|
get el() { return index.getElement(this); }
|
|
61
61
|
};
|
|
@@ -319,7 +319,7 @@ const ReorderGroup = class {
|
|
|
319
319
|
}
|
|
320
320
|
render() {
|
|
321
321
|
const theme = ionicGlobal.getIonTheme(this);
|
|
322
|
-
return (index.h(index.Host, { key: '
|
|
322
|
+
return (index.h(index.Host, { key: 'c095e5428be9f446f245d37a12653978bb2bc2b6', class: {
|
|
323
323
|
[theme]: true,
|
|
324
324
|
'reorder-enabled': !this.disabled,
|
|
325
325
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -78,7 +78,7 @@ const RippleEffect = class {
|
|
|
78
78
|
}
|
|
79
79
|
render() {
|
|
80
80
|
const theme = ionicGlobal.getIonTheme(this);
|
|
81
|
-
return (index.h(index.Host, { key: '
|
|
81
|
+
return (index.h(index.Host, { key: '51fe7517d41c643bd4e746f366f513c42dac17dc', role: "presentation", class: {
|
|
82
82
|
[theme]: true,
|
|
83
83
|
unbounded: this.unbounded,
|
|
84
84
|
} }));
|
|
@@ -908,10 +908,10 @@ const RouterLink = class {
|
|
|
908
908
|
rel: this.rel,
|
|
909
909
|
target: this.target,
|
|
910
910
|
};
|
|
911
|
-
return (index.h(index.Host, { key: '
|
|
911
|
+
return (index.h(index.Host, { key: '84efbafddc586ee3f616d4e1a13118c04d9b2753', onClick: this.onClick, class: theme.createColorClasses(this.color, {
|
|
912
912
|
[theme$1]: true,
|
|
913
913
|
'ion-activatable': true,
|
|
914
|
-
}) }, index.h("a", Object.assign({ key: '
|
|
914
|
+
}) }, index.h("a", Object.assign({ key: 'e8c7cda4c00ec45548ea52b632bc4adb07f9460c' }, attrs), index.h("slot", { key: '133bf1203a3e218e3868b4cfda00bb753ecea946' }))));
|
|
915
915
|
}
|
|
916
916
|
};
|
|
917
917
|
RouterLink.style = routerLinkCss();
|
|
@@ -557,8 +557,8 @@ const Searchbar = class {
|
|
|
557
557
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
558
558
|
const shape = this.getShape();
|
|
559
559
|
const size = this.getSize();
|
|
560
|
-
const cancelButton = this.showCancelButton !== 'never' && (index.h("button", { key: '
|
|
561
|
-
return (index.h(index.Host, { key: '
|
|
560
|
+
const cancelButton = this.showCancelButton !== 'never' && (index.h("button", { key: '21affee126970b3de80d4af9c7659875dd9a07aa', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: theme$1 === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, index.h("div", { key: '62f81458b16cd51dd8cc5c309c42eeceda52e6fc', "aria-hidden": "true" }, theme$1 === 'md' || theme$1 === 'ionic' ? (index.h("ion-icon", { "aria-hidden": "true", icon: searchbarCancelIcon, lazy: false })) : (cancelButtonText))));
|
|
561
|
+
return (index.h(index.Host, { key: '287a9c6ec7e54f621759224922003b5ce6c0fb25', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: theme.createColorClasses(this.color, {
|
|
562
562
|
[theme$1]: true,
|
|
563
563
|
'searchbar-animated': animated,
|
|
564
564
|
'searchbar-disabled': this.disabled,
|
|
@@ -572,14 +572,14 @@ const Searchbar = class {
|
|
|
572
572
|
[`searchbar-shape-${shape}`]: shape !== undefined,
|
|
573
573
|
[`searchbar-size-${size}`]: size !== undefined,
|
|
574
574
|
'in-toolbar': theme.hostContext('ion-toolbar', this.el),
|
|
575
|
-
}) }, index.h("div", { key: '
|
|
575
|
+
}) }, index.h("div", { key: 'a2e1d71d90435b78fe7f9adb70740f4dda599a8a', class: "searchbar-input-container" }, index.h("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$1 === 'md' || theme$1 === 'ionic') && cancelButton, this.shouldShowSearchIcon() && (index.h("ion-icon", { key: '2b52b78ad65b26e9d4f890b4dc8e8ec494b8ccb8', "aria-hidden": "true", icon: searchbarSearchIcon, lazy: false, class: "searchbar-search-icon" })), this.shouldShowClearButton() && (index.h("button", { key: 'cd59304ab31763bd0d06393d6cf65459a5cd857b', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
576
576
|
/**
|
|
577
577
|
* This prevents mobile browsers from
|
|
578
578
|
* blurring the input when the clear
|
|
579
579
|
* button is activated.
|
|
580
580
|
*/
|
|
581
581
|
ev.preventDefault();
|
|
582
|
-
}, onClick: () => this.onClearInput(true) }, index.h("ion-icon", { key: '
|
|
582
|
+
}, onClick: () => this.onClearInput(true) }, index.h("ion-icon", { key: '6a9be85be51de19f84a852c43f93c46fb92c8d1a', "aria-hidden": "true", icon: searchbarClearIcon, lazy: false, class: "searchbar-clear-icon" })))), theme$1 === 'ios' && cancelButton));
|
|
583
583
|
}
|
|
584
584
|
get el() { return index.getElement(this); }
|
|
585
585
|
static get watchers() { return {
|