@ionic/core 8.8.6-dev.11777668103.132817bd → 8.8.6-dev.11777928681.1e4919af
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-col.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-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-Di5rHO3q.js → p-BTYqyHph.js} +1 -1
- package/components/{p-BqImG3uk.js → p-BU8N7ZrK.js} +1 -1
- package/components/{p-BXcCGjEc.js → p-BfHB6wX_.js} +1 -1
- package/components/{p-CIoAIKEr.js → p-BhfW3d9j.js} +1 -1
- package/components/{p-B71c6yUH.js → p-Brxa0j7O.js} +1 -1
- package/components/{p-IMXp2Inn.js → p-BtAlyZ0b.js} +1 -1
- package/components/{p-BCFZKMI6.js → p-ByuCfbYy.js} +1 -1
- package/components/{p-DXUyXgVL.js → p-C-_EGKki.js} +1 -1
- package/components/{p-BFbsici0.js → p-C2cZvGcF.js} +1 -1
- package/components/{p-DTtRWhIZ.js → p-CdYTq34D.js} +1 -1
- package/components/{p-DH_9VCbD.js → p-CeYwuysM.js} +1 -1
- package/components/p-CnOTQxHB.js +4 -0
- package/components/{p-CoFqDNc5.js → p-CnwZE7CW.js} +1 -1
- package/components/{p-BLCuPAtN.js → p-CoarhFWH.js} +1 -1
- package/components/{p-C8ktKu9j.js → p-D5lMX0xt.js} +1 -1
- package/components/{p-TR4ubkPu.js → p-DAeMHNER.js} +1 -1
- package/components/{p-BRWWcnBq.js → p-GnGGIfCd.js} +1 -1
- package/components/{p-DAv9P_LE.js → p-TpZHKDyk.js} +1 -1
- package/components/p-XFUFdPrc.js +4 -0
- package/components/p-tYh73xQe.js +4 -0
- 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 +6 -8
- package/dist/cjs/ion-datetime_3.cjs.entry.js +4 -4
- 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 +5 -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 -3
- 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 +0 -6
- package/dist/collection/components/col/col.js +2 -3
- 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 +5 -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 -3
- 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/collection/utils/media.js +0 -1
- package/dist/docs.json +1 -212
- 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 +6 -8
- package/dist/esm/ion-datetime_3.entry.js +4 -4
- 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 +5 -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 -3
- 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 +0 -70
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-83c693c4.entry.js → p-091a95ea.entry.js} +1 -1
- package/dist/ionic/{p-e3abffbe.entry.js → p-1855fcb6.entry.js} +1 -1
- package/dist/ionic/{p-15e3e8f5.entry.js → p-192e7509.entry.js} +1 -1
- package/dist/ionic/{p-a9fb086b.entry.js → p-1faf270d.entry.js} +1 -1
- package/dist/ionic/{p-d6299c37.entry.js → p-228b6a9c.entry.js} +1 -1
- package/dist/ionic/{p-8537b2fb.entry.js → p-2aa44c65.entry.js} +1 -1
- package/dist/ionic/{p-1c2c1869.entry.js → p-2bf931ae.entry.js} +1 -1
- package/dist/ionic/{p-b3c9f19c.entry.js → p-2effd05d.entry.js} +1 -1
- package/dist/ionic/p-308beb71.entry.js +4 -0
- package/dist/ionic/{p-586d4270.entry.js → p-3093958a.entry.js} +1 -1
- package/dist/ionic/{p-1c4de46b.entry.js → p-3bf01c2c.entry.js} +1 -1
- package/dist/ionic/{p-50b61fab.entry.js → p-4091ad21.entry.js} +1 -1
- package/dist/ionic/{p-e18d3fdb.entry.js → p-4610e447.entry.js} +1 -1
- package/dist/ionic/{p-fad05840.entry.js → p-4c864eb2.entry.js} +1 -1
- package/dist/ionic/{p-bd71a4a7.entry.js → p-4e46439d.entry.js} +1 -1
- package/dist/ionic/{p-5274f999.entry.js → p-50d90690.entry.js} +1 -1
- package/dist/ionic/{p-3f79f594.entry.js → p-59b4f8d0.entry.js} +1 -1
- package/dist/ionic/{p-2f0073af.entry.js → p-5a3fc28e.entry.js} +1 -1
- package/dist/ionic/{p-1709b0aa.entry.js → p-5ac21be2.entry.js} +1 -1
- package/dist/ionic/p-64341e32.entry.js +4 -0
- package/dist/ionic/{p-b653f4c2.entry.js → p-6c8c37c2.entry.js} +1 -1
- package/dist/ionic/p-76d0e7ef.entry.js +4 -0
- package/dist/ionic/{p-05a30032.entry.js → p-79ae0425.entry.js} +1 -1
- package/dist/ionic/{p-c10fa162.entry.js → p-8180abe5.entry.js} +1 -1
- package/dist/ionic/{p-50cd2d57.entry.js → p-8516eb69.entry.js} +1 -1
- package/dist/ionic/{p-00c0bd38.entry.js → p-96549175.entry.js} +1 -1
- package/dist/ionic/{p-9d789053.entry.js → p-98c34fd7.entry.js} +1 -1
- package/dist/ionic/{p-72491468.entry.js → p-9b9b1450.entry.js} +1 -1
- package/dist/ionic/p-ae4ea663.entry.js +4 -0
- package/dist/ionic/{p-d976e777.entry.js → p-b0c54b4c.entry.js} +1 -1
- package/dist/ionic/{p-71b6014c.entry.js → p-b8b20b7e.entry.js} +1 -1
- package/dist/ionic/{p-2ad79c23.entry.js → p-bc5713f7.entry.js} +1 -1
- package/dist/ionic/p-d395b5cb.entry.js +4 -0
- package/dist/ionic/{p-d4ed5710.entry.js → p-d954cd19.entry.js} +1 -1
- package/dist/ionic/{p-ae667493.entry.js → p-e7f216ae.entry.js} +1 -1
- package/dist/ionic/{p-b2fe6c1c.entry.js → p-edb0b0c8.entry.js} +1 -1
- package/dist/ionic/{p-48026d15.entry.js → p-f061fcb7.entry.js} +1 -1
- package/dist/ionic/{p-7d5057c4.entry.js → p-f740c359.entry.js} +1 -1
- package/dist/types/components.d.ts +0 -66
- package/hydrate/index.js +129 -487
- package/hydrate/index.mjs +129 -487
- package/package.json +1 -1
- package/components/ion-gallery.d.ts +0 -11
- package/components/ion-gallery.js +0 -4
- package/components/p-B2rpt1JV.js +0 -4
- package/components/p-B6zr9RZN.js +0 -4
- package/components/p-CN-WzkJE.js +0 -4
- package/dist/cjs/ion-gallery.cjs.entry.js +0 -348
- package/dist/collection/components/gallery/gallery-interface.js +0 -1
- package/dist/collection/components/gallery/gallery.css +0 -103
- package/dist/collection/components/gallery/gallery.js +0 -439
- package/dist/collection/components/gallery/test/utils.js +0 -100
- package/dist/esm/ion-gallery.entry.js +0 -346
- 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-8f127a9c.entry.js +0 -4
- package/dist/ionic/p-bf972309.entry.js +0 -4
- package/dist/ionic/p-cdb5fc03.entry.js +0 -4
- package/dist/types/components/gallery/gallery-interface.d.ts +0 -9
- package/dist/types/components/gallery/gallery.d.ts +0 -125
- package/dist/types/components/gallery/test/utils.d.ts +0 -2
package/hydrate/index.js
CHANGED
|
@@ -13108,7 +13108,6 @@ class Chip {
|
|
|
13108
13108
|
}; }
|
|
13109
13109
|
}
|
|
13110
13110
|
|
|
13111
|
-
// TODO(FW-7285): Replace with global breakpoints
|
|
13112
13111
|
const SIZE_TO_MEDIA = {
|
|
13113
13112
|
xs: '(min-width: 0px)',
|
|
13114
13113
|
sm: '(min-width: 576px)',
|
|
@@ -13132,9 +13131,8 @@ const matchBreakpoint = (breakpoint) => {
|
|
|
13132
13131
|
|
|
13133
13132
|
const colCss = () => `:host{--col-unit-size:calc( (100% - (var(--ion-grid-columns, 12) - 1) * var(--ion-grid-gap, 0px)) / var(--ion-grid-columns, 12) );-webkit-padding-start:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;-ms-flex:1;flex:1;min-height:1px;overflow:auto}@media (min-width: 576px){:host{-webkit-padding-start:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px))}}@media (min-width: 768px){:host{-webkit-padding-start:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px))}}@media (min-width: 992px){:host{-webkit-padding-start:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px))}}@media (min-width: 1200px){:host{-webkit-padding-start:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px))}}:host(.ion-grid-col-auto){-ms-flex:0 0 auto;flex:0 0 auto}:host([class^=ion-grid-col--]),:host([class*=" ion-grid-col--"]){-ms-flex:0 0 calc(var(--ion-grid-col-span) * var(--col-unit-size) + (var(--ion-grid-col-span) - 1) * var(--ion-grid-gap, 0px));flex:0 0 calc(var(--ion-grid-col-span) * var(--col-unit-size) + (var(--ion-grid-col-span) - 1) * var(--ion-grid-gap, 0px));max-width:calc(var(--ion-grid-col-span) * var(--col-unit-size) + (var(--ion-grid-col-span) - 1) * var(--ion-grid-gap, 0px))}:host([class^=ion-grid-offset-col--]),:host([class*=" ion-grid-offset-col--"]){--margin-calc:calc( var(--col-unit-size) * var(--ion-grid-col-margin) + (var(--ion-grid-gap, 0px) * var(--ion-grid-col-margin)) );-webkit-margin-start:var(--margin-calc);margin-inline-start:var(--margin-calc);-webkit-margin-end:0;margin-inline-end:0}:host(.ion-grid-col--1){--ion-grid-col-span:1}:host(.ion-grid-order-col--1){-ms-flex-order:1;order:1}:host(.ion-grid-offset-col--1){--ion-grid-col-margin:1}:host(.ion-grid-col--2){--ion-grid-col-span:2}:host(.ion-grid-order-col--2){-ms-flex-order:2;order:2}:host(.ion-grid-offset-col--2){--ion-grid-col-margin:2}:host(.ion-grid-col--3){--ion-grid-col-span:3}:host(.ion-grid-order-col--3){-ms-flex-order:3;order:3}:host(.ion-grid-offset-col--3){--ion-grid-col-margin:3}:host(.ion-grid-col--4){--ion-grid-col-span:4}:host(.ion-grid-order-col--4){-ms-flex-order:4;order:4}:host(.ion-grid-offset-col--4){--ion-grid-col-margin:4}:host(.ion-grid-col--5){--ion-grid-col-span:5}:host(.ion-grid-order-col--5){-ms-flex-order:5;order:5}:host(.ion-grid-offset-col--5){--ion-grid-col-margin:5}:host(.ion-grid-col--6){--ion-grid-col-span:6}:host(.ion-grid-order-col--6){-ms-flex-order:6;order:6}:host(.ion-grid-offset-col--6){--ion-grid-col-margin:6}:host(.ion-grid-col--7){--ion-grid-col-span:7}:host(.ion-grid-order-col--7){-ms-flex-order:7;order:7}:host(.ion-grid-offset-col--7){--ion-grid-col-margin:7}:host(.ion-grid-col--8){--ion-grid-col-span:8}:host(.ion-grid-order-col--8){-ms-flex-order:8;order:8}:host(.ion-grid-offset-col--8){--ion-grid-col-margin:8}:host(.ion-grid-col--9){--ion-grid-col-span:9}:host(.ion-grid-order-col--9){-ms-flex-order:9;order:9}:host(.ion-grid-offset-col--9){--ion-grid-col-margin:9}:host(.ion-grid-col--10){--ion-grid-col-span:10}:host(.ion-grid-order-col--10){-ms-flex-order:10;order:10}:host(.ion-grid-offset-col--10){--ion-grid-col-margin:10}:host(.ion-grid-col--11){--ion-grid-col-span:11}:host(.ion-grid-order-col--11){-ms-flex-order:11;order:11}:host(.ion-grid-offset-col--11){--ion-grid-col-margin:11}:host(.ion-grid-col--12){--ion-grid-col-span:12}:host(.ion-grid-order-col--12){-ms-flex-order:12;order:12}:host(.ion-grid-offset-col--12){--ion-grid-col-margin:12}`;
|
|
13134
13133
|
|
|
13135
|
-
// TODO(FW-7285): Replace with global breakpoints
|
|
13136
13134
|
// eslint-disable-next-line @typescript-eslint/prefer-optional-chain
|
|
13137
|
-
const BREAKPOINTS
|
|
13135
|
+
const BREAKPOINTS = ['', 'xs', 'sm', 'md', 'lg', 'xl'];
|
|
13138
13136
|
/**
|
|
13139
13137
|
* @virtualProp {"ios" | "md"} mode - The mode determines the platform behaviors of the component.
|
|
13140
13138
|
* @virtualProp {"ios" | "md" | "ionic"} theme - The theme determines the visual appearance of the component.
|
|
@@ -13149,7 +13147,7 @@ class Col {
|
|
|
13149
13147
|
// matches and grab the column value from the relevant prop if so
|
|
13150
13148
|
getColumns(property) {
|
|
13151
13149
|
let matched;
|
|
13152
|
-
for (const breakpoint of BREAKPOINTS
|
|
13150
|
+
for (const breakpoint of BREAKPOINTS) {
|
|
13153
13151
|
const matches = matchBreakpoint(breakpoint);
|
|
13154
13152
|
// Grab the value of the property, if it exists and our
|
|
13155
13153
|
// media query matches we return the value
|
|
@@ -13210,12 +13208,12 @@ class Col {
|
|
|
13210
13208
|
const colSize = this.getSizeClass();
|
|
13211
13209
|
const colOrder = this.getOrderClass();
|
|
13212
13210
|
const colOffset = this.getOffsetClass();
|
|
13213
|
-
return (hAsync(Host, { key: '
|
|
13211
|
+
return (hAsync(Host, { key: '4620a4eb3c94f744d6169ae9d4cc43e86a271a52', class: {
|
|
13214
13212
|
[theme]: true,
|
|
13215
13213
|
[`${colSize}`]: colSize !== undefined,
|
|
13216
13214
|
[`${colOrder}`]: colOrder !== undefined,
|
|
13217
13215
|
[`${colOffset}`]: colOffset !== undefined,
|
|
13218
|
-
} }, hAsync("slot", { key: '
|
|
13216
|
+
} }, hAsync("slot", { key: '5c3be98deed2050634396339b7787f2770a05d35' })));
|
|
13219
13217
|
}
|
|
13220
13218
|
get el() { return getElement(this); }
|
|
13221
13219
|
static get style() { return colCss(); }
|
|
@@ -18677,363 +18675,6 @@ class Footer {
|
|
|
18677
18675
|
}; }
|
|
18678
18676
|
}
|
|
18679
18677
|
|
|
18680
|
-
const galleryCss = () => `:host{display:grid;grid-template-columns:repeat(var(--internal-gallery-columns, 2), minmax(0, 1fr))}:host(.gallery-layout-uniform){gap:var(--ion-gallery-gap, 16px)}:host(.gallery-layout-uniform) ::slotted(*){aspect-ratio:1/1}:host(.gallery-layout-masonry){-ms-flex-align:start;align-items:start;-webkit-column-gap:var(--ion-gallery-gap, 16px);-moz-column-gap:var(--ion-gallery-gap, 16px);column-gap:var(--ion-gallery-gap, 16px);row-gap:0;grid-auto-rows:2px}:host(.gallery-layout-masonry) ::slotted(*){display:block;min-height:unset;margin-bottom:var(--ion-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}`;
|
|
18681
|
-
|
|
18682
|
-
// TODO(FW-7285): Replace with global breakpoints
|
|
18683
|
-
const BREAKPOINTS = {
|
|
18684
|
-
xs: 0,
|
|
18685
|
-
sm: 576,
|
|
18686
|
-
md: 768,
|
|
18687
|
-
lg: 992,
|
|
18688
|
-
xl: 1200,
|
|
18689
|
-
xxl: 1400,
|
|
18690
|
-
};
|
|
18691
|
-
const DEFAULT_COLUMNS = {
|
|
18692
|
-
xs: 2,
|
|
18693
|
-
sm: 3,
|
|
18694
|
-
md: 4,
|
|
18695
|
-
lg: 6,
|
|
18696
|
-
xl: 8,
|
|
18697
|
-
xxl: 10,
|
|
18698
|
-
};
|
|
18699
|
-
const BREAKPOINT_ORDER = ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'];
|
|
18700
|
-
/**
|
|
18701
|
-
* @virtualProp {"ios" | "md"} mode - The mode determines the platform behaviors of the component.
|
|
18702
|
-
* @virtualProp {"ios" | "md" | "ionic"} theme - The theme determines the visual appearance of the component.
|
|
18703
|
-
*
|
|
18704
|
-
* @slot - Content is placed in a responsive gallery layout.
|
|
18705
|
-
*/
|
|
18706
|
-
class Gallery {
|
|
18707
|
-
constructor(hostRef) {
|
|
18708
|
-
registerInstance(this, hostRef);
|
|
18709
|
-
// Keep track of whether we've warned about invalid columns to avoid
|
|
18710
|
-
// duplicate warnings on screen resize.
|
|
18711
|
-
this.hasWarnedInvalidColumns = false;
|
|
18712
|
-
/**
|
|
18713
|
-
* The visual layout of the gallery. When `uniform`, rows take up the height
|
|
18714
|
-
* of the tallest item and are spaced evenly across the gallery. Additionally,
|
|
18715
|
-
* items will have an aspect ratio of 1/1, forcing them to be square unless a
|
|
18716
|
-
* height is explicitly set. When `masonry`, items will be positioned under each
|
|
18717
|
-
* other with only the specified gap between them.
|
|
18718
|
-
*/
|
|
18719
|
-
this.layout = 'uniform';
|
|
18720
|
-
/**
|
|
18721
|
-
* The order in which items are positioned. Only applies when layout is
|
|
18722
|
-
* `masonry`. When `sequential`, items are positioned in the order they are
|
|
18723
|
-
* placed in the DOM. When `best-fit`, items are positioned under the column
|
|
18724
|
-
* with the most available space.
|
|
18725
|
-
*/
|
|
18726
|
-
this.order = 'sequential';
|
|
18727
|
-
/**
|
|
18728
|
-
* The number of columns to display. Can be set as a number or an object of
|
|
18729
|
-
* breakpoint values (e.g. `{ xs: 2, sm: 3, md: 4 }`).
|
|
18730
|
-
*/
|
|
18731
|
-
this.columns = DEFAULT_COLUMNS;
|
|
18732
|
-
/**
|
|
18733
|
-
* Listen for the slotchange event on the slot.
|
|
18734
|
-
* When the layout is `masonry`, this listener is used to schedule a resize
|
|
18735
|
-
* of the masonry grid when the slot changes. This is useful for when items
|
|
18736
|
-
* are added or removed from the gallery.
|
|
18737
|
-
*/
|
|
18738
|
-
this.onSlotChange = () => {
|
|
18739
|
-
this.scheduleMasonryResize();
|
|
18740
|
-
};
|
|
18741
|
-
/**
|
|
18742
|
-
* Measure the host and children, then compute masonry placement.
|
|
18743
|
-
*/
|
|
18744
|
-
this.resizeMasonryGrid = () => {
|
|
18745
|
-
this.masonryRaf = undefined;
|
|
18746
|
-
if (this.layout !== 'masonry') {
|
|
18747
|
-
this.clearMasonryStyles();
|
|
18748
|
-
return;
|
|
18749
|
-
}
|
|
18750
|
-
const styles = getComputedStyle(this.el);
|
|
18751
|
-
const rowHeight = parseFloat(styles.getPropertyValue('grid-auto-rows')) || 0;
|
|
18752
|
-
const rowGap = parseFloat(styles.getPropertyValue('row-gap')) || parseFloat(styles.getPropertyValue('gap')) || 0;
|
|
18753
|
-
const columnsStr = styles.getPropertyValue('--internal-gallery-columns');
|
|
18754
|
-
// Fallback to 2 columns for masonry calculations when the resolved
|
|
18755
|
-
// --internal-gallery-columns CSS value is missing or unparsable.
|
|
18756
|
-
const columns = parseInt(columnsStr, 10) || 2;
|
|
18757
|
-
const items = this.getItems();
|
|
18758
|
-
this.layoutMasonry(items, rowHeight, rowGap, columns);
|
|
18759
|
-
};
|
|
18760
|
-
}
|
|
18761
|
-
layoutChanged() {
|
|
18762
|
-
this.updateResponsiveColumns(true);
|
|
18763
|
-
this.scheduleMasonryResize();
|
|
18764
|
-
}
|
|
18765
|
-
componentDidLoad() {
|
|
18766
|
-
this.updateResponsiveColumns(true);
|
|
18767
|
-
this.resizeObserver = new ResizeObserver(() => {
|
|
18768
|
-
this.updateResponsiveColumns();
|
|
18769
|
-
this.scheduleMasonryResize();
|
|
18770
|
-
});
|
|
18771
|
-
this.resizeObserver.observe(this.el);
|
|
18772
|
-
this.scheduleMasonryResize();
|
|
18773
|
-
}
|
|
18774
|
-
disconnectedCallback() {
|
|
18775
|
-
var _a;
|
|
18776
|
-
if (this.masonryRaf !== undefined) {
|
|
18777
|
-
cancelAnimationFrame(this.masonryRaf);
|
|
18778
|
-
this.masonryRaf = undefined;
|
|
18779
|
-
}
|
|
18780
|
-
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
18781
|
-
this.resizeObserver = undefined;
|
|
18782
|
-
}
|
|
18783
|
-
/**
|
|
18784
|
-
* Listen for the load event on child elements.
|
|
18785
|
-
* When the layout is `masonry`, this listener is used to schedule a resize
|
|
18786
|
-
* of the masonry grid when the child elements load. This is useful for when
|
|
18787
|
-
* images take time to load.
|
|
18788
|
-
*/
|
|
18789
|
-
onChildLoad(ev) {
|
|
18790
|
-
if (this.layout !== 'masonry') {
|
|
18791
|
-
return;
|
|
18792
|
-
}
|
|
18793
|
-
const target = ev.target;
|
|
18794
|
-
if (target !== null && this.el.contains(target)) {
|
|
18795
|
-
this.scheduleMasonryResize();
|
|
18796
|
-
}
|
|
18797
|
-
}
|
|
18798
|
-
/**
|
|
18799
|
-
* Batch masonry measurements to a single animation frame.
|
|
18800
|
-
* This avoids repeated sync layouts during rapid resize/load/slot changes.
|
|
18801
|
-
*/
|
|
18802
|
-
scheduleMasonryResize() {
|
|
18803
|
-
if (this.layout !== 'masonry') {
|
|
18804
|
-
this.clearMasonryStyles();
|
|
18805
|
-
return;
|
|
18806
|
-
}
|
|
18807
|
-
if (this.masonryRaf !== undefined) {
|
|
18808
|
-
cancelAnimationFrame(this.masonryRaf);
|
|
18809
|
-
}
|
|
18810
|
-
this.masonryRaf = requestAnimationFrame(this.resizeMasonryGrid);
|
|
18811
|
-
}
|
|
18812
|
-
/**
|
|
18813
|
-
* Normalize a columns value to a positive integer.
|
|
18814
|
-
* Returns undefined when the input cannot be interpreted as a finite number.
|
|
18815
|
-
*/
|
|
18816
|
-
sanitizeColumns(columns) {
|
|
18817
|
-
if (columns === undefined) {
|
|
18818
|
-
return undefined;
|
|
18819
|
-
}
|
|
18820
|
-
const numericColumns = typeof columns === 'number' ? columns : Number(columns);
|
|
18821
|
-
if (!Number.isFinite(numericColumns) || !Number.isInteger(numericColumns) || numericColumns <= 0) {
|
|
18822
|
-
return undefined;
|
|
18823
|
-
}
|
|
18824
|
-
return numericColumns;
|
|
18825
|
-
}
|
|
18826
|
-
/**
|
|
18827
|
-
* Check if the value is a breakpoint columns object.
|
|
18828
|
-
*/
|
|
18829
|
-
isBreakpointColumns(value) {
|
|
18830
|
-
return typeof value === 'object' && value !== null && !Array.isArray(value);
|
|
18831
|
-
}
|
|
18832
|
-
/**
|
|
18833
|
-
* Check if the breakpoint columns object has any invalid values.
|
|
18834
|
-
* Returns true if any value is undefined or not a positive integer.
|
|
18835
|
-
*/
|
|
18836
|
-
hasInvalidBreakpointColumns(breakpointColumns) {
|
|
18837
|
-
for (const breakpoint of BREAKPOINT_ORDER) {
|
|
18838
|
-
const value = breakpointColumns[breakpoint];
|
|
18839
|
-
if (value !== undefined && this.sanitizeColumns(value) === undefined) {
|
|
18840
|
-
return true;
|
|
18841
|
-
}
|
|
18842
|
-
}
|
|
18843
|
-
return false;
|
|
18844
|
-
}
|
|
18845
|
-
/**
|
|
18846
|
-
* Get the columns from a responsive breakpoint map.
|
|
18847
|
-
* Returns the columns for the last matching breakpoint.
|
|
18848
|
-
*/
|
|
18849
|
-
getColumnsFromBreakpointColumns(width, breakpointColumns) {
|
|
18850
|
-
let columns;
|
|
18851
|
-
for (const bp of BREAKPOINT_ORDER) {
|
|
18852
|
-
const customValue = breakpointColumns[bp];
|
|
18853
|
-
const parsedCustom = this.sanitizeColumns(customValue);
|
|
18854
|
-
const parsedDefault = this.sanitizeColumns(DEFAULT_COLUMNS[bp]);
|
|
18855
|
-
// Use valid custom values when present; otherwise fall back to defaults per breakpoint.
|
|
18856
|
-
const resolved = customValue === undefined || parsedCustom === undefined ? parsedDefault : parsedCustom;
|
|
18857
|
-
if (resolved !== undefined && width >= BREAKPOINTS[bp]) {
|
|
18858
|
-
columns = resolved;
|
|
18859
|
-
}
|
|
18860
|
-
}
|
|
18861
|
-
return columns;
|
|
18862
|
-
}
|
|
18863
|
-
/**
|
|
18864
|
-
* Warn about an invalid columns value when it is set to a non-positive
|
|
18865
|
-
* integer or a breakpoint map object with invalid values.
|
|
18866
|
-
*/
|
|
18867
|
-
warnInvalidColumns(columns) {
|
|
18868
|
-
printIonWarning(`[ion-gallery] - Invalid "columns" value (${JSON.stringify(columns)}). Expected a positive integer or breakpoint map object (e.g. { xs: 2, md: 4 }). Falling back to default responsive columns.`, this.el);
|
|
18869
|
-
this.hasWarnedInvalidColumns = true;
|
|
18870
|
-
}
|
|
18871
|
-
/**
|
|
18872
|
-
* Resolve the active columns value for the current width. Falls back to
|
|
18873
|
-
* the default responsive columns when the provided prop is invalid.
|
|
18874
|
-
*/
|
|
18875
|
-
getColumnsForWidth(width) {
|
|
18876
|
-
const { columns, hasWarnedInvalidColumns } = this;
|
|
18877
|
-
const isBreakpointColumns = this.isBreakpointColumns(columns);
|
|
18878
|
-
const hasInvalidBreakpointColumns = isBreakpointColumns && this.hasInvalidBreakpointColumns(columns);
|
|
18879
|
-
const sanitizedColumns = isBreakpointColumns
|
|
18880
|
-
? this.getColumnsFromBreakpointColumns(width, columns)
|
|
18881
|
-
: this.sanitizeColumns(columns);
|
|
18882
|
-
if (!hasWarnedInvalidColumns &&
|
|
18883
|
-
(hasInvalidBreakpointColumns || (!isBreakpointColumns && sanitizedColumns === undefined))) {
|
|
18884
|
-
this.warnInvalidColumns(columns);
|
|
18885
|
-
}
|
|
18886
|
-
if (sanitizedColumns !== undefined) {
|
|
18887
|
-
return sanitizedColumns;
|
|
18888
|
-
}
|
|
18889
|
-
return this.getColumnsFromBreakpointColumns(width, DEFAULT_COLUMNS);
|
|
18890
|
-
}
|
|
18891
|
-
/**
|
|
18892
|
-
* Update the responsive columns for the gallery.
|
|
18893
|
-
* This is used to update the columns when the component width changes.
|
|
18894
|
-
*/
|
|
18895
|
-
updateResponsiveColumns(force = false) {
|
|
18896
|
-
const width = this.el.getBoundingClientRect().width;
|
|
18897
|
-
// Only update the columns if the component width has changed by more than
|
|
18898
|
-
// 1px or if the force flag is true. This prevents unnecessary re-renders
|
|
18899
|
-
// when the component width has not changed.
|
|
18900
|
-
if (!width || (!force && this.lastWidth !== undefined && Math.abs(this.lastWidth - width) < 1)) {
|
|
18901
|
-
return;
|
|
18902
|
-
}
|
|
18903
|
-
this.lastWidth = width;
|
|
18904
|
-
const columns = this.getColumnsForWidth(width);
|
|
18905
|
-
this.el.style.setProperty('--internal-gallery-columns', `${columns}`);
|
|
18906
|
-
}
|
|
18907
|
-
/**
|
|
18908
|
-
* Return all directly slotted HTMLElement children of the gallery.
|
|
18909
|
-
*/
|
|
18910
|
-
getItems() {
|
|
18911
|
-
return Array.from(this.el.children).filter((child) => child instanceof HTMLElement);
|
|
18912
|
-
}
|
|
18913
|
-
/**
|
|
18914
|
-
* Clear the item styles for the given item element.
|
|
18915
|
-
* This is used to switch between uniform and masonry layouts.
|
|
18916
|
-
*/
|
|
18917
|
-
clearItemStyles(itemEl) {
|
|
18918
|
-
itemEl.style.gridRowStart = '';
|
|
18919
|
-
itemEl.style.gridRowEnd = '';
|
|
18920
|
-
itemEl.style.gridColumn = '';
|
|
18921
|
-
itemEl.style.marginBottom = '';
|
|
18922
|
-
}
|
|
18923
|
-
/**
|
|
18924
|
-
* Clear placement styles for all items when leaving masonry mode.
|
|
18925
|
-
*/
|
|
18926
|
-
clearMasonryStyles() {
|
|
18927
|
-
this.getItems().forEach((itemEl) => this.clearItemStyles(itemEl));
|
|
18928
|
-
}
|
|
18929
|
-
/**
|
|
18930
|
-
* Convert a rendered item height to the number of grid rows it should span.
|
|
18931
|
-
* Returns undefined for images that are not fully loaded yet.
|
|
18932
|
-
*/
|
|
18933
|
-
calculateRowSpan(itemEl, rowHeight, rowGap) {
|
|
18934
|
-
if (itemEl instanceof HTMLImageElement && (!itemEl.complete || itemEl.naturalHeight === 0)) {
|
|
18935
|
-
return undefined;
|
|
18936
|
-
}
|
|
18937
|
-
const height = itemEl.getBoundingClientRect().height;
|
|
18938
|
-
const itemStyles = getComputedStyle(itemEl);
|
|
18939
|
-
const marginBottom = parseFloat(itemStyles.getPropertyValue('margin-bottom')) || 0;
|
|
18940
|
-
const denominator = rowHeight + rowGap;
|
|
18941
|
-
if (!denominator || !Number.isFinite(denominator)) {
|
|
18942
|
-
return 1;
|
|
18943
|
-
}
|
|
18944
|
-
return Math.ceil((height + marginBottom + rowGap) / denominator) || 1;
|
|
18945
|
-
}
|
|
18946
|
-
/**
|
|
18947
|
-
* Get the index of the column to position the item in.
|
|
18948
|
-
* When the order is `best-fit`, the column with the shortest height is
|
|
18949
|
-
* returned. Otherwise, items are placed in the column that matches their
|
|
18950
|
-
* natural DOM order.
|
|
18951
|
-
*/
|
|
18952
|
-
getColumnIndex(index, columnHeights, columns) {
|
|
18953
|
-
const { order } = this;
|
|
18954
|
-
if (order === 'best-fit') {
|
|
18955
|
-
let columnIndex = 0;
|
|
18956
|
-
for (let i = 1; i < columns; i++) {
|
|
18957
|
-
if (columnHeights[i] < columnHeights[columnIndex]) {
|
|
18958
|
-
columnIndex = i;
|
|
18959
|
-
}
|
|
18960
|
-
}
|
|
18961
|
-
return columnIndex;
|
|
18962
|
-
}
|
|
18963
|
-
return index % columns;
|
|
18964
|
-
}
|
|
18965
|
-
/**
|
|
18966
|
-
* Apply masonry placement by assigning each item a column and row span.
|
|
18967
|
-
*/
|
|
18968
|
-
layoutMasonry(items, rowHeight, rowGap, columns) {
|
|
18969
|
-
const columnHeights = new Array(columns).fill(0);
|
|
18970
|
-
const lastItemsByColumn = new Array(columns).fill(undefined);
|
|
18971
|
-
items.forEach((itemEl, i) => {
|
|
18972
|
-
itemEl.style.marginBottom = '';
|
|
18973
|
-
const span = this.calculateRowSpan(itemEl, rowHeight, rowGap);
|
|
18974
|
-
if (span === undefined) {
|
|
18975
|
-
this.clearItemStyles(itemEl);
|
|
18976
|
-
return;
|
|
18977
|
-
}
|
|
18978
|
-
const columnIndex = this.getColumnIndex(i, columnHeights, columns);
|
|
18979
|
-
const start = columnHeights[columnIndex] + 1;
|
|
18980
|
-
itemEl.style.gridColumn = `${columnIndex + 1}`;
|
|
18981
|
-
itemEl.style.gridRowStart = `${start}`;
|
|
18982
|
-
itemEl.style.gridRowEnd = `span ${span}`;
|
|
18983
|
-
columnHeights[columnIndex] = start + span - 1;
|
|
18984
|
-
lastItemsByColumn[columnIndex] = itemEl;
|
|
18985
|
-
});
|
|
18986
|
-
// Remove trailing space from the final item in each column while preserving
|
|
18987
|
-
// spacing between all non-final items.
|
|
18988
|
-
lastItemsByColumn.forEach((itemEl) => {
|
|
18989
|
-
if (itemEl === undefined) {
|
|
18990
|
-
return;
|
|
18991
|
-
}
|
|
18992
|
-
itemEl.style.marginBottom = '0px';
|
|
18993
|
-
const spanWithoutTrailingGap = this.calculateRowSpan(itemEl, rowHeight, rowGap);
|
|
18994
|
-
if (spanWithoutTrailingGap === undefined) {
|
|
18995
|
-
this.clearItemStyles(itemEl);
|
|
18996
|
-
return;
|
|
18997
|
-
}
|
|
18998
|
-
itemEl.style.gridRowEnd = `span ${spanWithoutTrailingGap}`;
|
|
18999
|
-
});
|
|
19000
|
-
}
|
|
19001
|
-
render() {
|
|
19002
|
-
const { layout, order } = this;
|
|
19003
|
-
const theme = getIonTheme(this);
|
|
19004
|
-
return (hAsync(Host, { key: '77cd21eada2c24092cc551d4e647582c820f05d9', class: {
|
|
19005
|
-
[theme]: true,
|
|
19006
|
-
[`gallery-layout-${layout}`]: true,
|
|
19007
|
-
[`gallery-order-${order}`]: layout === 'masonry',
|
|
19008
|
-
} }, hAsync("slot", { key: 'fa311652848a526a7629476afb963bf3e68455c4', onSlotchange: this.onSlotChange })));
|
|
19009
|
-
}
|
|
19010
|
-
get el() { return getElement(this); }
|
|
19011
|
-
static get watchers() { return {
|
|
19012
|
-
"layout": [{
|
|
19013
|
-
"layoutChanged": 0
|
|
19014
|
-
}],
|
|
19015
|
-
"order": [{
|
|
19016
|
-
"layoutChanged": 0
|
|
19017
|
-
}],
|
|
19018
|
-
"columns": [{
|
|
19019
|
-
"layoutChanged": 0
|
|
19020
|
-
}]
|
|
19021
|
-
}; }
|
|
19022
|
-
static get style() { return galleryCss(); }
|
|
19023
|
-
static get cmpMeta() { return {
|
|
19024
|
-
"$flags$": 265,
|
|
19025
|
-
"$tagName$": "ion-gallery",
|
|
19026
|
-
"$members$": {
|
|
19027
|
-
"layout": [513],
|
|
19028
|
-
"order": [513],
|
|
19029
|
-
"columns": [8]
|
|
19030
|
-
},
|
|
19031
|
-
"$listeners$": [[2, "load", "onChildLoad"]],
|
|
19032
|
-
"$lazyBundleId$": "-",
|
|
19033
|
-
"$attrsToReflect$": [["layout", "layout"], ["order", "order"]]
|
|
19034
|
-
}; }
|
|
19035
|
-
}
|
|
19036
|
-
|
|
19037
18678
|
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}`;
|
|
19038
18679
|
|
|
19039
18680
|
/**
|
|
@@ -19050,10 +18691,10 @@ class Grid {
|
|
|
19050
18691
|
}
|
|
19051
18692
|
render() {
|
|
19052
18693
|
const theme = getIonTheme(this);
|
|
19053
|
-
return (hAsync(Host, { key: '
|
|
18694
|
+
return (hAsync(Host, { key: 'cd55886cabaeab57e3b13193381b196bec2f07f8', class: {
|
|
19054
18695
|
[theme]: true,
|
|
19055
18696
|
'grid-fixed': this.fixed,
|
|
19056
|
-
} }, hAsync("slot", { key: '
|
|
18697
|
+
} }, hAsync("slot", { key: 'c9b95999e6a274a8a0c997451c0be45b1304d77b' })));
|
|
19057
18698
|
}
|
|
19058
18699
|
static get style() { return gridCss(); }
|
|
19059
18700
|
static get cmpMeta() { return {
|
|
@@ -19455,7 +19096,7 @@ class Header {
|
|
|
19455
19096
|
const isCondensed = collapse === 'condense';
|
|
19456
19097
|
// banner role must be at top level, so remove role if inside a menu
|
|
19457
19098
|
const roleType = getRoleType(hostContext('ion-menu', this.el), isCondensed, theme);
|
|
19458
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
19099
|
+
return (hAsync(Host, Object.assign({ key: '658d5746920c349cc9fe85666c7215f2edc3c794', role: roleType, class: {
|
|
19459
19100
|
[theme]: true,
|
|
19460
19101
|
// Used internally for styling
|
|
19461
19102
|
[`header-${theme}`]: true,
|
|
@@ -19463,7 +19104,7 @@ class Header {
|
|
|
19463
19104
|
[`header-collapse-${collapse}`]: true,
|
|
19464
19105
|
[`header-translucent-${theme}`]: this.translucent,
|
|
19465
19106
|
['header-divider']: divider,
|
|
19466
|
-
} }, inheritedAttributes), theme !== 'md' && translucent && hAsync("div", { key: '
|
|
19107
|
+
} }, inheritedAttributes), theme !== 'md' && translucent && hAsync("div", { key: '4a1470d86e1aac6f8d545fe01e75b4dce665fb70', class: "header-background" }), hAsync("slot", { key: '3b02661242bda5834c4e13e4eb61bf79b53ba33e' })));
|
|
19467
19108
|
}
|
|
19468
19109
|
get el() { return getElement(this); }
|
|
19469
19110
|
static get style() { return {
|
|
@@ -19814,9 +19455,9 @@ class Img {
|
|
|
19814
19455
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
19815
19456
|
const { draggable } = inheritedAttributes;
|
|
19816
19457
|
const theme = getIonTheme(this);
|
|
19817
|
-
return (hAsync(Host, { key: '
|
|
19458
|
+
return (hAsync(Host, { key: '840d5b29d81222b061ac72168ef6551b5a061e3a', class: {
|
|
19818
19459
|
[theme]: true,
|
|
19819
|
-
} }, hAsync("img", { key: '
|
|
19460
|
+
} }, hAsync("img", { key: 'e22e66ee4bb3a648b21c6080674e68eebf4a3feb', decoding: "async", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: "image", draggable: isDraggable(draggable) })));
|
|
19820
19461
|
}
|
|
19821
19462
|
get el() { return getElement(this); }
|
|
19822
19463
|
static get watchers() { return {
|
|
@@ -20121,7 +19762,7 @@ class InfiniteScroll {
|
|
|
20121
19762
|
render() {
|
|
20122
19763
|
const theme = getIonTheme(this);
|
|
20123
19764
|
const disabled = this.disabled;
|
|
20124
|
-
return (hAsync(Host, { key: '
|
|
19765
|
+
return (hAsync(Host, { key: '22d99824cb589d9024666a3c1ed205f781858eed', class: {
|
|
20125
19766
|
[theme]: true,
|
|
20126
19767
|
'infinite-scroll-loading': this.isLoading,
|
|
20127
19768
|
'infinite-scroll-enabled': !disabled,
|
|
@@ -20184,11 +19825,11 @@ class InfiniteScrollContent {
|
|
|
20184
19825
|
}
|
|
20185
19826
|
render() {
|
|
20186
19827
|
const theme = getIonTheme(this);
|
|
20187
|
-
return (hAsync(Host, { key: '
|
|
19828
|
+
return (hAsync(Host, { key: 'e94d19f17ef9d4d77786716152e3206366feb546', class: {
|
|
20188
19829
|
[theme]: true,
|
|
20189
19830
|
// Used internally for styling
|
|
20190
19831
|
[`infinite-scroll-content-${theme}`]: true,
|
|
20191
|
-
} }, hAsync("div", { key: '
|
|
19832
|
+
} }, hAsync("div", { key: '35fcc0572ad27a683aa55a704bd11b19fcdfd29c', class: "infinite-loading" }, this.loadingSpinner && (hAsync("div", { key: 'fec3c13dbb2fa98699401147ce442b73e97e8bd8', class: "infinite-loading-spinner" }, hAsync("ion-spinner", { key: '6cd6083255dacc891b4d201477e6bffccb1084bc', name: this.loadingSpinner }))), this.loadingText !== undefined && this.renderLoadingText())));
|
|
20192
19833
|
}
|
|
20193
19834
|
static get style() { return {
|
|
20194
19835
|
ionic: ionicInfiniteScrollContentMdCss(),
|
|
@@ -20936,7 +20577,7 @@ class Input {
|
|
|
20936
20577
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
20937
20578
|
*/
|
|
20938
20579
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
20939
|
-
return (hAsync(Host, { key: '
|
|
20580
|
+
return (hAsync(Host, { key: 'd62741432c3e1421d69fdf2ed2e8058a1ce3544f', class: createColorClasses$1(this.color, {
|
|
20940
20581
|
[theme]: true,
|
|
20941
20582
|
'has-value': hasValue,
|
|
20942
20583
|
'has-focus': hasFocus,
|
|
@@ -20949,7 +20590,7 @@ class Input {
|
|
|
20949
20590
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
20950
20591
|
'input-disabled': disabled,
|
|
20951
20592
|
'input-readonly': readonly,
|
|
20952
|
-
}) }, hAsync("label", { key: '
|
|
20593
|
+
}) }, hAsync("label", { key: '9707227d9eb977e0983c78757af20219eb1651c6', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), hAsync("div", { key: '8bc5197ecb665e268668137844f122b74f69cc2d', class: "native-wrapper", onClick: this.onLabelClick },
|
|
20953
20594
|
/**
|
|
20954
20595
|
* For the ionic theme, we render the outline container here
|
|
20955
20596
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -20959,14 +20600,14 @@ class Input {
|
|
|
20959
20600
|
* <label> element, ensuring that clicking the label text
|
|
20960
20601
|
* focuses the input.
|
|
20961
20602
|
*/
|
|
20962
|
-
theme === 'ionic' && hAsync("div", { key: '
|
|
20603
|
+
theme === 'ionic' && hAsync("div", { key: '65383eeb6a876dbf103dd5358f041f45856e6e9d', class: "input-outline" }), hAsync("slot", { key: '7d333894f2be13a4033a515ce3c8a4489cc4bfc3', name: "start" }), hAsync("input", Object.assign({ key: '8221d445e4ee9e1d2946205893cbb6de93604c86', 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: '2fb77a78ecb32b46dc9641580c2c2f6125e9715d', "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (ev) => {
|
|
20963
20604
|
/**
|
|
20964
20605
|
* This prevents mobile browsers from
|
|
20965
20606
|
* blurring the input when the clear
|
|
20966
20607
|
* button is activated.
|
|
20967
20608
|
*/
|
|
20968
20609
|
ev.preventDefault();
|
|
20969
|
-
}, onClick: this.clearTextInput }, hAsync("ion-icon", { key: '
|
|
20610
|
+
}, onClick: this.clearTextInput }, hAsync("ion-icon", { key: 'a349dfb263a011fc10f01350f917c4020809f512', "aria-hidden": "true", icon: inputClearIcon }))), hAsync("slot", { key: '6e02025608bd54cf36e21ed3bef00353921a7fb9', name: "end" })), shouldRenderHighlight && hAsync("div", { key: '8bf1e516962d232a96a2fa701e10c8c909318f62', class: "input-highlight" })), this.renderBottomContent()));
|
|
20970
20611
|
}
|
|
20971
20612
|
get el() { return getElement(this); }
|
|
20972
20613
|
static get watchers() { return {
|
|
@@ -21731,7 +21372,7 @@ class InputOTP {
|
|
|
21731
21372
|
const tabbableIndex = this.getTabbableIndex();
|
|
21732
21373
|
const pattern = this.getPattern();
|
|
21733
21374
|
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()) !== '';
|
|
21734
|
-
return (hAsync(Host, { key: '
|
|
21375
|
+
return (hAsync(Host, { key: 'aee59cdba3f3c3783519cf114c668ae92f74fcef', class: createColorClasses$1(color, {
|
|
21735
21376
|
[mode]: true,
|
|
21736
21377
|
'has-focus': hasFocus,
|
|
21737
21378
|
[`input-otp-size-${size}`]: true,
|
|
@@ -21739,10 +21380,10 @@ class InputOTP {
|
|
|
21739
21380
|
[`input-otp-fill-${fill}`]: true,
|
|
21740
21381
|
'input-otp-disabled': disabled,
|
|
21741
21382
|
'input-otp-readonly': readonly,
|
|
21742
|
-
}) }, hAsync("div", Object.assign({ key: '
|
|
21383
|
+
}) }, hAsync("div", Object.assign({ key: 'a0b26b833a20807019114a78e4512a639b82a61f', 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: 'e525d1841bab5378b165ec1cca9fc45274c2c0ec', class: {
|
|
21743
21384
|
'input-otp-description': true,
|
|
21744
21385
|
'input-otp-description-hidden': !hasDescription,
|
|
21745
|
-
}, part: "description" }, hAsync("slot", { key: '
|
|
21386
|
+
}, part: "description" }, hAsync("slot", { key: '9fd331ceff04ab93f8d4aec251565cc201f19294' }))));
|
|
21746
21387
|
}
|
|
21747
21388
|
static get formAssociated() { return true; }
|
|
21748
21389
|
get el() { return getElement(this); }
|
|
@@ -21890,16 +21531,16 @@ class InputPasswordToggle {
|
|
|
21890
21531
|
const { color, inputPasswordHideIcon, inputPasswordShowIcon, type } = this;
|
|
21891
21532
|
const mode = getIonMode$1(this);
|
|
21892
21533
|
const isPasswordVisible = type === 'text';
|
|
21893
|
-
return (hAsync(Host, { key: '
|
|
21534
|
+
return (hAsync(Host, { key: 'e3c21d5bedebeadb57c0c9b7f065d15ab0d49e4a', class: createColorClasses$1(color, {
|
|
21894
21535
|
[mode]: true,
|
|
21895
|
-
}) }, hAsync("ion-button", { key: '
|
|
21536
|
+
}) }, hAsync("ion-button", { key: '0a83d58e059bc3b7ef604270e92351d7fa5d129c', mode: mode, color: color, fill: "clear", shape: "round", "aria-label": isPasswordVisible ? 'Hide password' : 'Show password', "aria-pressed": isPasswordVisible ? 'true' : 'false', type: "button", onPointerDown: (ev) => {
|
|
21896
21537
|
/**
|
|
21897
21538
|
* This prevents mobile browsers from
|
|
21898
21539
|
* blurring the input when the password toggle
|
|
21899
21540
|
* button is activated.
|
|
21900
21541
|
*/
|
|
21901
21542
|
ev.preventDefault();
|
|
21902
|
-
}, onClick: this.togglePasswordVisibility }, hAsync("ion-icon", { key: '
|
|
21543
|
+
}, onClick: this.togglePasswordVisibility }, hAsync("ion-icon", { key: 'af9a7e202fe0b3f75f10b3e13bf1e5fb653194d1', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? inputPasswordHideIcon : inputPasswordShowIcon }))));
|
|
21903
21544
|
}
|
|
21904
21545
|
get el() { return getElement(this); }
|
|
21905
21546
|
static get watchers() { return {
|
|
@@ -22274,11 +21915,11 @@ class ItemDivider {
|
|
|
22274
21915
|
}
|
|
22275
21916
|
render() {
|
|
22276
21917
|
const theme = getIonTheme(this);
|
|
22277
|
-
return (hAsync(Host, { key: '
|
|
21918
|
+
return (hAsync(Host, { key: '4d481e6233a75f3c3042b5825d9c14fe77280f03', class: createColorClasses$1(this.color, {
|
|
22278
21919
|
[theme]: true,
|
|
22279
21920
|
'item-divider-sticky': this.sticky,
|
|
22280
21921
|
item: true,
|
|
22281
|
-
}) }, hAsync("slot", { key: '
|
|
21922
|
+
}) }, hAsync("slot", { key: 'e10eeec38a39d7801b88f478c834beded30f1bb4', name: "start" }), hAsync("div", { key: '3e88c2c1a5938ee2df3264d99f2c595d438a7557', class: "item-divider-inner", part: "inner" }, hAsync("div", { key: 'e7bf5e3a985c59211bfac097e8a904627a9cc6f7', class: "item-divider-wrapper", part: "container" }, hAsync("slot", { key: '0ec4f262411414bf44d9ab6e831dbc74672ba317' })), hAsync("slot", { key: '9cd77653584fe95db1477149134af10e0d4053fa', name: "end" }))));
|
|
22282
21923
|
}
|
|
22283
21924
|
get el() { return getElement(this); }
|
|
22284
21925
|
static get style() { return {
|
|
@@ -22315,7 +21956,7 @@ class ItemGroup {
|
|
|
22315
21956
|
}
|
|
22316
21957
|
render() {
|
|
22317
21958
|
const theme = getIonTheme(this);
|
|
22318
|
-
return (hAsync(Host, { key: '
|
|
21959
|
+
return (hAsync(Host, { key: '3fb0784b321736344604e259cfb05c6307159bed', role: "group", class: {
|
|
22319
21960
|
[theme]: true,
|
|
22320
21961
|
// Used internally for styling
|
|
22321
21962
|
[`item-group-${theme}`]: true,
|
|
@@ -22411,14 +22052,14 @@ class ItemOption {
|
|
|
22411
22052
|
href: this.href,
|
|
22412
22053
|
target: this.target,
|
|
22413
22054
|
};
|
|
22414
|
-
return (hAsync(Host, { key: '
|
|
22055
|
+
return (hAsync(Host, { key: '810fe351aa83d6e88cb0e2ebee307b3050e65b45', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
22415
22056
|
[theme]: true,
|
|
22416
22057
|
[`item-option-${shape}`]: shape !== undefined,
|
|
22417
22058
|
[`item-option-${hue}`]: hue !== undefined,
|
|
22418
22059
|
'item-option-disabled': disabled,
|
|
22419
22060
|
'item-option-expandable': expandable,
|
|
22420
22061
|
'ion-activatable': true,
|
|
22421
|
-
}) }, hAsync(TagType, Object.assign({ key: '
|
|
22062
|
+
}) }, hAsync(TagType, Object.assign({ key: '6eb95c4f815e774d1b579a1fb2ddcad891966ca0' }, attrs, { class: "button-native", part: "native", disabled: disabled }), hAsync("span", { key: '5630c1bd31910f46b0a08017a98f7935f17385bf', class: "button-inner", part: "inner" }, hAsync("slot", { key: '081375e3b9683347008d08817ded21c61a374d93', name: "top" }), hAsync("div", { key: '99d7dff311268ab4677397ab5a29b068f1cdf79b', class: "horizontal-wrapper", part: "container" }, hAsync("slot", { key: 'b88858db83d847e3d49a84b75eb277500cb66fb3', name: "start" }), hAsync("slot", { key: '8ca5149591a5e3285eff5078e1eb03554fb0713b', name: "icon-only" }), hAsync("slot", { key: 'a8229a5e11bf41926745ab71f6dcd2d2ca63806c' }), hAsync("slot", { key: '9a497c0cb92fe14ad6b9063fa0946fcd75fb8c08', name: "end" })), hAsync("slot", { key: 'cae262fd2b7fad9e4bc9c02541fa17a6480ecf7f', name: "bottom" })), theme === 'md' && hAsync("ion-ripple-effect", { key: '7114b927480e6a9261c7568e036ecf38ec1680ab' }))));
|
|
22422
22063
|
}
|
|
22423
22064
|
get el() { return getElement(this); }
|
|
22424
22065
|
static get style() { return {
|
|
@@ -22476,7 +22117,7 @@ class ItemOptions {
|
|
|
22476
22117
|
render() {
|
|
22477
22118
|
const theme = getIonTheme(this);
|
|
22478
22119
|
const isEnd = isEndSide(this.side);
|
|
22479
|
-
return (hAsync(Host, { key: '
|
|
22120
|
+
return (hAsync(Host, { key: 'cc55282505679d51fb90ebf30869e930c71afbd4', class: {
|
|
22480
22121
|
[theme]: true,
|
|
22481
22122
|
// Used internally for styling
|
|
22482
22123
|
[`item-options-${theme}`]: true,
|
|
@@ -23082,7 +22723,7 @@ class ItemSliding {
|
|
|
23082
22723
|
}
|
|
23083
22724
|
render() {
|
|
23084
22725
|
const theme = getIonTheme(this);
|
|
23085
|
-
return (hAsync(Host, { key: '
|
|
22726
|
+
return (hAsync(Host, { key: 'c945f30d9f7deb90d22064d4059e2b08f35614be', class: {
|
|
23086
22727
|
[theme]: true,
|
|
23087
22728
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
23088
22729
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -23197,13 +22838,13 @@ class Label {
|
|
|
23197
22838
|
render() {
|
|
23198
22839
|
const position = this.position;
|
|
23199
22840
|
const theme = getIonTheme(this);
|
|
23200
|
-
return (hAsync(Host, { key: '
|
|
22841
|
+
return (hAsync(Host, { key: 'd730045c08ba576082563398ab51fc903577d214', class: createColorClasses$1(this.color, {
|
|
23201
22842
|
[theme]: true,
|
|
23202
22843
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
23203
22844
|
[`label-${position}`]: position !== undefined,
|
|
23204
22845
|
[`label-no-animate`]: this.noAnimate,
|
|
23205
22846
|
'label-rtl': document.dir === 'rtl',
|
|
23206
|
-
}) }, hAsync("slot", { key: '
|
|
22847
|
+
}) }, hAsync("slot", { key: '604289ef567339c83fb409371224906819a9d7cc' })));
|
|
23207
22848
|
}
|
|
23208
22849
|
get el() { return getElement(this); }
|
|
23209
22850
|
static get watchers() { return {
|
|
@@ -23283,7 +22924,7 @@ class List {
|
|
|
23283
22924
|
const theme = getIonTheme(this);
|
|
23284
22925
|
const shape = this.getShape();
|
|
23285
22926
|
const { lines, inset } = this;
|
|
23286
|
-
return (hAsync(Host, { key: '
|
|
22927
|
+
return (hAsync(Host, { key: 'dcdfb595a6b45307f9810e1ded25ba635c947940', role: "list", class: {
|
|
23287
22928
|
[theme]: true,
|
|
23288
22929
|
// Used internally for styling
|
|
23289
22930
|
[`list-${theme}`]: true,
|
|
@@ -23333,10 +22974,10 @@ class ListHeader {
|
|
|
23333
22974
|
render() {
|
|
23334
22975
|
const { lines } = this;
|
|
23335
22976
|
const theme = getIonTheme(this);
|
|
23336
|
-
return (hAsync(Host, { key: '
|
|
22977
|
+
return (hAsync(Host, { key: '0be4fb7d4f9cd6f50229cf7b361c74e94fbfce91', class: createColorClasses$1(this.color, {
|
|
23337
22978
|
[theme]: true,
|
|
23338
22979
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
23339
|
-
}) }, hAsync("div", { key: '
|
|
22980
|
+
}) }, hAsync("div", { key: '4dcc3374685728ae9270d8d58b1ea1c08b0bbc08', class: "list-header-inner", part: "inner" }, hAsync("slot", { key: '5658cc9185680bfa96328685d817b84b18e9ab5a' }))));
|
|
23340
22981
|
}
|
|
23341
22982
|
static get style() { return {
|
|
23342
22983
|
ionic: listHeaderIonicCss(),
|
|
@@ -23625,9 +23266,9 @@ class Loading {
|
|
|
23625
23266
|
* Otherwise, don't set aria-labelledby.
|
|
23626
23267
|
*/
|
|
23627
23268
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
23628
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
23269
|
+
return (hAsync(Host, Object.assign({ key: '0c475f8e28e680e28e09317557795fc56e0835d8', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
23629
23270
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
23630
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: '
|
|
23271
|
+
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: 'd7e88feb6df8edbc326a84d07b294618f7ce6adc', visible: this.showBackdrop, tappable: this.backdropDismiss }), hAsync("div", { key: 'f9622f45b2d9e913c325b228a1e6ed03cf2b98e8', tabindex: "0", "aria-hidden": "true" }), hAsync("div", { key: 'f4dfdce70c4515878b247d0cc116b5cec2cf79a4', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (hAsync("div", { key: '6d4475e00c444eb3d217813ae8cc1a02a97b969e', class: "loading-spinner" }, hAsync("ion-spinner", { key: 'd9ad8dd56ec7677c18d06936c1a1b21a0a6a87a8', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), hAsync("div", { key: 'bd3159e18f33ec25d3480d47ce33fa7dfd1f1460', tabindex: "0", "aria-hidden": "true" })));
|
|
23631
23272
|
}
|
|
23632
23273
|
get el() { return getElement(this); }
|
|
23633
23274
|
static get watchers() { return {
|
|
@@ -24688,14 +24329,14 @@ class Menu {
|
|
|
24688
24329
|
* the ionBackButton listener in the menu controller
|
|
24689
24330
|
* will handle closing the menu when Escape is pressed.
|
|
24690
24331
|
*/
|
|
24691
|
-
return (hAsync(Host, { key: '
|
|
24332
|
+
return (hAsync(Host, { key: '12bd2c4e9aa2f314ffc45d7f43290bd9910ca8b0', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
24692
24333
|
[theme]: true,
|
|
24693
24334
|
[`menu-type-${type}`]: true,
|
|
24694
24335
|
'menu-enabled': !disabled,
|
|
24695
24336
|
[`menu-side-${side}`]: true,
|
|
24696
24337
|
'menu-pane-visible': isPaneVisible,
|
|
24697
24338
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
24698
|
-
} }, hAsync("div", { key: '
|
|
24339
|
+
} }, hAsync("div", { key: 'd43e12f2502ae5da847eb0d2a70d0a3945733739', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, hAsync("slot", { key: '19977e6584bdbb5b01e6e0a4a7f4558087175b33' })), hAsync("ion-backdrop", { key: '22e79a7edca409248bd3637474d6783f1d7de1b3', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
24699
24340
|
}
|
|
24700
24341
|
get el() { return getElement(this); }
|
|
24701
24342
|
static get watchers() { return {
|
|
@@ -24829,7 +24470,7 @@ class MenuButton {
|
|
|
24829
24470
|
type: this.type,
|
|
24830
24471
|
};
|
|
24831
24472
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
24832
|
-
return (hAsync(Host, { key: '
|
|
24473
|
+
return (hAsync(Host, { key: '206b8482b58e7ee49ea89393a15e9cf30578297b', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses$1(color, {
|
|
24833
24474
|
[theme]: true,
|
|
24834
24475
|
button: true, // ion-buttons target .button
|
|
24835
24476
|
'menu-button-hidden': hidden,
|
|
@@ -24838,7 +24479,7 @@ class MenuButton {
|
|
|
24838
24479
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
24839
24480
|
'ion-activatable': true,
|
|
24840
24481
|
'ion-focusable': true,
|
|
24841
|
-
}) }, hAsync("button", Object.assign({ key: '
|
|
24482
|
+
}) }, hAsync("button", Object.assign({ key: '33017f0cde4835383f65b82f24e088dc2cf46517' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), hAsync("span", { key: '63aadc2910f7fd7ae070fe108822c51441dd8ea5', class: "button-inner" }, hAsync("slot", { key: '6696b67329bdf6a0a7db0739d16717eb9ffc5f3b' }, hAsync("ion-icon", { key: '7f88dd0caa7003db810bce76189ecbaba9ff6317', part: "icon", icon: menuIcon, lazy: false, "aria-hidden": "true" }))), theme === 'md' && hAsync("ion-ripple-effect", { key: '1a2063529bb63cc055fb4bb7d1ad3032df2a74b4', type: "unbounded" }))));
|
|
24842
24483
|
}
|
|
24843
24484
|
get el() { return getElement(this); }
|
|
24844
24485
|
static get style() { return {
|
|
@@ -24895,10 +24536,10 @@ class MenuToggle {
|
|
|
24895
24536
|
render() {
|
|
24896
24537
|
const theme = getIonTheme(this);
|
|
24897
24538
|
const hidden = this.autoHide && !this.visible;
|
|
24898
|
-
return (hAsync(Host, { key: '
|
|
24539
|
+
return (hAsync(Host, { key: 'c3ddce789a90d720769919ebf854d05cc75f599e', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
24899
24540
|
[theme]: true,
|
|
24900
24541
|
'menu-toggle-hidden': hidden,
|
|
24901
|
-
} }, hAsync("slot", { key: '
|
|
24542
|
+
} }, hAsync("slot", { key: 'f1334ba9d20148b673a0b6185ab5ef92f448f720' })));
|
|
24902
24543
|
}
|
|
24903
24544
|
static get style() { return menuToggleCss(); }
|
|
24904
24545
|
static get cmpMeta() { return {
|
|
@@ -28401,20 +28042,20 @@ class Modal {
|
|
|
28401
28042
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
28402
28043
|
const shape = this.getShape();
|
|
28403
28044
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
28404
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
28045
|
+
return (hAsync(Host, Object.assign({ key: 'e4b82f87c76d3ad5aae7794c4c882e6c95ef7c97', "no-router": true,
|
|
28405
28046
|
// Allow the modal to be navigable when the handle is focusable
|
|
28406
28047
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
28407
28048
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
28408
|
-
}, 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: '
|
|
28049
|
+
}, 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: '70f0240dd59e38587c6fbbc2ade4fcb094292b48', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), theme === 'ios' && hAsync("div", { key: '9c2b8fd94a37c39739de9b5b12d541685e4fb26c', class: "modal-shadow" }), hAsync("div", Object.assign({ key: '55eb3782bd130447dcb935097366b85941422220',
|
|
28409
28050
|
/*
|
|
28410
28051
|
role and aria-modal must be used on the
|
|
28411
28052
|
same element. They must also be set inside the
|
|
28412
28053
|
shadow DOM otherwise ion-button will not be highlighted
|
|
28413
28054
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
28414
28055
|
*/
|
|
28415
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: '
|
|
28056
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: 'bc685478939603b48fd2530cc0d24beb138f5918', class: "modal-handle",
|
|
28416
28057
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
28417
|
-
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: '
|
|
28058
|
+
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: '96d518c5ee89e7b16929cd6fd682347045d5c231', onSlotchange: this.onSlotChange }))));
|
|
28418
28059
|
}
|
|
28419
28060
|
get el() { return getElement(this); }
|
|
28420
28061
|
static get watchers() { return {
|
|
@@ -29374,7 +29015,7 @@ class Nav {
|
|
|
29374
29015
|
}
|
|
29375
29016
|
}
|
|
29376
29017
|
render() {
|
|
29377
|
-
return hAsync("slot", { key: '
|
|
29018
|
+
return hAsync("slot", { key: 'd6dd0b1e0ba59381a139f4a49de3eb8351fa87a4' });
|
|
29378
29019
|
}
|
|
29379
29020
|
get el() { return getElement(this); }
|
|
29380
29021
|
static get watchers() { return {
|
|
@@ -29455,7 +29096,7 @@ class NavLink {
|
|
|
29455
29096
|
};
|
|
29456
29097
|
}
|
|
29457
29098
|
render() {
|
|
29458
|
-
return hAsync(Host, { key: '
|
|
29099
|
+
return hAsync(Host, { key: '61246716bdf9556db90e07680bc1a289f9658d5c', onClick: this.onClick });
|
|
29459
29100
|
}
|
|
29460
29101
|
get el() { return getElement(this); }
|
|
29461
29102
|
static get cmpMeta() { return {
|
|
@@ -29489,9 +29130,9 @@ class Note {
|
|
|
29489
29130
|
}
|
|
29490
29131
|
render() {
|
|
29491
29132
|
const theme = getIonTheme(this);
|
|
29492
|
-
return (hAsync(Host, { key: '
|
|
29133
|
+
return (hAsync(Host, { key: 'a8470df6b8fb8ca327a282fc23705bc230f13a40', class: createColorClasses$1(this.color, {
|
|
29493
29134
|
[theme]: true,
|
|
29494
|
-
}) }, hAsync("slot", { key: '
|
|
29135
|
+
}) }, hAsync("slot", { key: '07cbdef68f010b06638f359f70dff3f1d659d899' })));
|
|
29495
29136
|
}
|
|
29496
29137
|
static get style() { return {
|
|
29497
29138
|
ionic: ionicNoteMdCss(),
|
|
@@ -30257,11 +29898,11 @@ class Picker {
|
|
|
30257
29898
|
render() {
|
|
30258
29899
|
const { htmlAttributes } = this;
|
|
30259
29900
|
const theme = getIonTheme(this);
|
|
30260
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
29901
|
+
return (hAsync(Host, Object.assign({ key: 'efcc823fad9cb37c1379bef4f4b84c6461f3a3a6', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
30261
29902
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
30262
29903
|
}, class: Object.assign({ [theme]: true,
|
|
30263
29904
|
// Used internally for styling
|
|
30264
|
-
[`picker-${theme}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: '
|
|
29905
|
+
[`picker-${theme}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: '3f44bf34e039210ae149c590c393ee9f7fb85da0', visible: this.showBackdrop, tappable: this.backdropDismiss }), hAsync("div", { key: 'c2a51a89c525b1a22cbc8583cd30f41c3c356d4f', tabindex: "0", "aria-hidden": "true" }), hAsync("div", { key: '23837ffe309d0aad9b8ea09d7ac94d21040ef0d7', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, hAsync("div", { key: '91ba7e553d570768142715ded4bcc27fceedbce4', 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: '22661cafeb555f1435ec1e0a122404a48136095b', class: "picker-columns" }, hAsync("div", { key: '5f3db32468b8c60f63c70d81a27b18cce6f2e259', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => hAsync("ion-picker-legacy-column", { col: c })), hAsync("div", { key: '1bae6b170125b1671a480506ba73636b42b65909', class: "picker-below-highlight" }))), hAsync("div", { key: '91beb94ce537122fbd6cd0c2bd3c00f908d0fefe', tabindex: "0", "aria-hidden": "true" })));
|
|
30265
29906
|
}
|
|
30266
29907
|
get el() { return getElement(this); }
|
|
30267
29908
|
static get watchers() { return {
|
|
@@ -31239,9 +30880,9 @@ class PickerColumnCmp {
|
|
|
31239
30880
|
render() {
|
|
31240
30881
|
const col = this.col;
|
|
31241
30882
|
const theme = getIonTheme(this);
|
|
31242
|
-
return (hAsync(Host, { key: '
|
|
30883
|
+
return (hAsync(Host, { key: '66a5b7f51aa1ee343dbad3830e03933dbdab27ed', 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: {
|
|
31243
30884
|
'max-width': this.col.columnWidth,
|
|
31244
|
-
} }, col.prefix && (hAsync("div", { key: '
|
|
30885
|
+
} }, col.prefix && (hAsync("div", { key: '19a170752bacdabd50c719f6d1aa9e58a2bd830b', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), hAsync("div", { key: '871671f796aa6a1f78e07ab2599d94b5fd8cd0bf', 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: '89792e1dc75a4359a4706a8fd1846fe29b866173', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
31245
30886
|
}
|
|
31246
30887
|
get el() { return getElement(this); }
|
|
31247
30888
|
static get watchers() { return {
|
|
@@ -31366,10 +31007,10 @@ class PickerColumnOption {
|
|
|
31366
31007
|
render() {
|
|
31367
31008
|
const { color, disabled, ariaLabel } = this;
|
|
31368
31009
|
const theme = getIonTheme(this);
|
|
31369
|
-
return (hAsync(Host, { key: '
|
|
31010
|
+
return (hAsync(Host, { key: '9ceebae71b6df0b01f36691d82d716f6756625d9', class: createColorClasses$1(color, {
|
|
31370
31011
|
[theme]: true,
|
|
31371
31012
|
['option-disabled']: disabled,
|
|
31372
|
-
}) }, hAsync("div", { key: '
|
|
31013
|
+
}) }, hAsync("div", { key: '1f26246d601779dadfaf055d195e2a4959180f5a', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, hAsync("slot", { key: 'eed413474a8b7ec7a73da27fa72a2d0a9a2aae2b' }))));
|
|
31373
31014
|
}
|
|
31374
31015
|
get el() { return getElement(this); }
|
|
31375
31016
|
static get watchers() { return {
|
|
@@ -32938,9 +32579,9 @@ class Popover {
|
|
|
32938
32579
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
32939
32580
|
const desktop = isPlatform('desktop');
|
|
32940
32581
|
const enableArrow = arrow && !parentPopover;
|
|
32941
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
32582
|
+
return (hAsync(Host, Object.assign({ key: 'ba8801218aa8543eae0e8e2c57fbd0d4fbb2c8ff', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
32942
32583
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
32943
|
-
}, 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: '
|
|
32584
|
+
}, 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: '0301c9a9ed70cf34445e89484cd4145dc98f3d4c', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), hAsync("div", { key: 'd017b8cda9eb474cf990222c90539697308a1c8f', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && hAsync("div", { key: 'fdf8ec2e98a29bfa3e26788e4a432ff402800202', class: "popover-arrow", part: "arrow" }), hAsync("div", { key: '9498eace0a68daf39e7c0580ca46e33a9791f62c', class: "popover-content", part: "content" }, hAsync("slot", { key: '0f10c7e335d2f4f75e10d7fde5244c3dd5ae0bb4' })))));
|
|
32944
32585
|
}
|
|
32945
32586
|
get el() { return getElement(this); }
|
|
32946
32587
|
static get watchers() { return {
|
|
@@ -33068,7 +32709,7 @@ class ProgressBar {
|
|
|
33068
32709
|
const shape = this.getShape();
|
|
33069
32710
|
// If the progress is displayed as a solid bar.
|
|
33070
32711
|
const progressSolid = buffer === 1;
|
|
33071
|
-
return (hAsync(Host, { key: '
|
|
32712
|
+
return (hAsync(Host, { key: '9adef68c31bdf39d48199e01587f8d5295d4c6af', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses$1(color, {
|
|
33072
32713
|
[theme]: true,
|
|
33073
32714
|
[`progress-bar-${type}`]: true,
|
|
33074
32715
|
'progress-paused': paused,
|
|
@@ -33261,7 +32902,7 @@ class Radio {
|
|
|
33261
32902
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
33262
32903
|
const theme = getIonTheme(this);
|
|
33263
32904
|
const inItem = hostContext('ion-item', el);
|
|
33264
|
-
return (hAsync(Host, { key: '
|
|
32905
|
+
return (hAsync(Host, { key: '19cc76c559551a34e4968f4902709be6f104dede', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses$1(color, {
|
|
33265
32906
|
[theme]: true,
|
|
33266
32907
|
'in-item': inItem,
|
|
33267
32908
|
'radio-checked': checked,
|
|
@@ -33272,10 +32913,10 @@ class Radio {
|
|
|
33272
32913
|
// Focus and active styling should not apply when the radio is in an item
|
|
33273
32914
|
'ion-activatable': !inItem,
|
|
33274
32915
|
'ion-focusable': !inItem,
|
|
33275
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, hAsync("label", { key: '
|
|
32916
|
+
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, hAsync("label", { key: 'ba97fae433b69e609ad88b949a56cd213d866ae6', class: "radio-wrapper" }, hAsync("div", { key: 'a742b8f1a56d080fd221d89717dbd110db18ee69', class: {
|
|
33276
32917
|
'label-text-wrapper': true,
|
|
33277
32918
|
'label-text-wrapper-hidden': !hasLabel,
|
|
33278
|
-
}, part: "label" }, hAsync("slot", { key: '
|
|
32919
|
+
}, part: "label" }, hAsync("slot", { key: 'f06b9b57e1c2d66d3eb6790ca30f4d5e85d0d264' })), hAsync("div", { key: '780fc11778f5661d95e60c6cd72a9ed78910b889', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
33279
32920
|
}
|
|
33280
32921
|
get el() { return getElement(this); }
|
|
33281
32922
|
static get watchers() { return {
|
|
@@ -33545,10 +33186,10 @@ class RadioGroup {
|
|
|
33545
33186
|
const { label, labelId, el, name, value } = this;
|
|
33546
33187
|
const theme = getIonTheme(this);
|
|
33547
33188
|
renderHiddenInput(true, el, name, value, false);
|
|
33548
|
-
return (hAsync(Host, { key: '
|
|
33189
|
+
return (hAsync(Host, { key: '39246fbf1f1e3a6ba27dd715f030445d4434999b', class: {
|
|
33549
33190
|
[theme]: true,
|
|
33550
33191
|
'in-list': hostContext('ion-list', el),
|
|
33551
|
-
}, 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: '
|
|
33192
|
+
}, 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: '892b023cb363fc2dc67f8df028d3dfc58f7b54cd' })));
|
|
33552
33193
|
}
|
|
33553
33194
|
get el() { return getElement(this); }
|
|
33554
33195
|
static get watchers() { return {
|
|
@@ -34398,7 +34039,7 @@ class Range {
|
|
|
34398
34039
|
const valueAtMin = dualKnobs ? this.valA === min || this.valB === min : this.valA === min;
|
|
34399
34040
|
const valueAtMax = dualKnobs ? this.valA === max || this.valB === max : this.valA === max;
|
|
34400
34041
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
34401
|
-
return (hAsync(Host, { key: '
|
|
34042
|
+
return (hAsync(Host, { key: '1b8ca217fa6965fc038fb4ca8f0bc9142b3893ad', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses$1(this.color, {
|
|
34402
34043
|
[theme]: true,
|
|
34403
34044
|
'in-item': inItem,
|
|
34404
34045
|
'range-disabled': disabled,
|
|
@@ -34412,10 +34053,10 @@ class Range {
|
|
|
34412
34053
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
34413
34054
|
'range-value-min': valueAtMin,
|
|
34414
34055
|
'range-value-max': valueAtMax,
|
|
34415
|
-
}) }, hAsync("label", { key: '
|
|
34056
|
+
}) }, hAsync("label", { key: '98b02130c9bb5a9ba6557be28f1ac09be0d10806', class: "range-wrapper", id: "range-label" }, hAsync("div", { key: '570083103b51b335c805672918d69e997dc30e66', class: {
|
|
34416
34057
|
'label-text-wrapper': true,
|
|
34417
34058
|
'label-text-wrapper-hidden': !hasLabel,
|
|
34418
|
-
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '
|
|
34059
|
+
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '1e3233a747d0adca6611234d0675ce049ef979cf', class: "native-wrapper" }, hAsync("slot", { key: '4f06a217592a98d889420468eb282ba8652ef1cc', name: "start" }), this.renderRangeSlider(), hAsync("slot", { key: '4286279dbadf0e92bffbd5e98d5e36cba095be3c', name: "end" })))));
|
|
34419
34060
|
}
|
|
34420
34061
|
get el() { return getElement(this); }
|
|
34421
34062
|
static get watchers() { return {
|
|
@@ -35490,7 +35131,7 @@ class Refresher {
|
|
|
35490
35131
|
}
|
|
35491
35132
|
render() {
|
|
35492
35133
|
const theme = getIonTheme(this);
|
|
35493
|
-
return (hAsync(Host, { key: '
|
|
35134
|
+
return (hAsync(Host, { key: '0be6aed52363cda66f8324ddfb9b0aeda92ce0bf', slot: "fixed", class: {
|
|
35494
35135
|
[theme]: true,
|
|
35495
35136
|
// Used internally for styling
|
|
35496
35137
|
[`refresher-${theme}`]: true,
|
|
@@ -35729,9 +35370,9 @@ class RefresherContent {
|
|
|
35729
35370
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
35730
35371
|
const theme = getIonTheme(this);
|
|
35731
35372
|
const arrowIcon = theme === 'ionic' ? caretLeftFillSvg : caretBackSharp;
|
|
35732
|
-
return (hAsync(Host, { key: '
|
|
35373
|
+
return (hAsync(Host, { key: '3a3a3fb44f8397bb8e5019b51254ada8c26ae371', class: {
|
|
35733
35374
|
[theme]: true,
|
|
35734
|
-
} }, hAsync("div", { key: '
|
|
35375
|
+
} }, hAsync("div", { key: '3e63966e8c2b262b1f9d4a5545dbdd00e97a4c68', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (hAsync("div", { key: 'd4c8fa7151cee666520a40050c58f6e8201b14a5', class: "refresher-pulling-icon" }, hAsync("div", { key: '2f45a17fe5fe51e81e2d7bd580fd60ce754c5989', class: "spinner-arrow-container" }, hAsync("ion-spinner", { key: '210cd5f152453a283dbc579f545c683e3af84ea3', name: this.pullingIcon, paused: true }), (theme === 'md' || theme === 'ionic') && this.pullingIcon === 'circular' && (hAsync("div", { key: '060c8d531e90478121113f59989ac29809f48947', class: "arrow-container" }, hAsync("ion-icon", { key: '7c30ddd2c1a6e2274e7d57f792733017c663197b', icon: arrowIcon, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (hAsync("div", { key: '3dee253d56c871195dcd59eaedc2b867ac578319', class: "refresher-pulling-icon" }, hAsync("ion-icon", { key: '46b859328da272449f316ea8f68f3c3dd545c2e7', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), hAsync("div", { key: '56660f9f6cff1006c5552df3a9430124689d42cb', class: "refresher-refreshing" }, this.refreshingSpinner && (hAsync("div", { key: 'e8232281f251e5d0d22972fa8e38176edc3d9e5d', class: "refresher-refreshing-icon" }, hAsync("ion-spinner", { key: '70f42df444c4669f393137f218ba9d635f76a26c', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
35735
35376
|
}
|
|
35736
35377
|
get el() { return getElement(this); }
|
|
35737
35378
|
static get style() { return {
|
|
@@ -35800,9 +35441,9 @@ class Reorder {
|
|
|
35800
35441
|
render() {
|
|
35801
35442
|
const { reorderHandleIcon } = this;
|
|
35802
35443
|
const theme = getIonTheme(this);
|
|
35803
|
-
return (hAsync(Host, { key: '
|
|
35444
|
+
return (hAsync(Host, { key: 'ba59a095c200b70c6d847dc7362d52b315dc853a', class: {
|
|
35804
35445
|
[theme]: true,
|
|
35805
|
-
} }, hAsync("slot", { key: '
|
|
35446
|
+
} }, hAsync("slot", { key: '79be263f78cc21c9c4f91326e557e65849ab1e51' }, hAsync("ion-icon", { key: '6e5c47c8bbd33f5cd405a5fd531831cb87c8e57e', icon: reorderHandleIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
35806
35447
|
}
|
|
35807
35448
|
get el() { return getElement(this); }
|
|
35808
35449
|
static get style() { return {
|
|
@@ -36078,7 +35719,7 @@ class ReorderGroup {
|
|
|
36078
35719
|
}
|
|
36079
35720
|
render() {
|
|
36080
35721
|
const theme = getIonTheme(this);
|
|
36081
|
-
return (hAsync(Host, { key: '
|
|
35722
|
+
return (hAsync(Host, { key: 'df12858536c409c76552fe79b88827b3c4a5d9c5', class: {
|
|
36082
35723
|
[theme]: true,
|
|
36083
35724
|
'reorder-enabled': !this.disabled,
|
|
36084
35725
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -36204,7 +35845,7 @@ class RippleEffect {
|
|
|
36204
35845
|
}
|
|
36205
35846
|
render() {
|
|
36206
35847
|
const theme = getIonTheme(this);
|
|
36207
|
-
return (hAsync(Host, { key: '
|
|
35848
|
+
return (hAsync(Host, { key: '502ce1841747f255dfab542914bebd0d0f4ae9bd', role: "presentation", class: {
|
|
36208
35849
|
[theme]: true,
|
|
36209
35850
|
unbounded: this.unbounded,
|
|
36210
35851
|
} }));
|
|
@@ -37189,10 +36830,10 @@ class RouterLink {
|
|
|
37189
36830
|
rel: this.rel,
|
|
37190
36831
|
target: this.target,
|
|
37191
36832
|
};
|
|
37192
|
-
return (hAsync(Host, { key: '
|
|
36833
|
+
return (hAsync(Host, { key: '518b86cf40eb95e03f75a20ff44fff804ac8ec4d', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
37193
36834
|
[theme]: true,
|
|
37194
36835
|
'ion-activatable': true,
|
|
37195
|
-
}) }, hAsync("a", Object.assign({ key: '
|
|
36836
|
+
}) }, hAsync("a", Object.assign({ key: 'dbf3cc12752b4fa2d3873723a8ea5a30b053d261' }, attrs), hAsync("slot", { key: '9614e46a8d35201937f1f9a39b88f71b78efa7a0' }))));
|
|
37196
36837
|
}
|
|
37197
36838
|
static get style() { return routerLinkCss(); }
|
|
37198
36839
|
static get cmpMeta() { return {
|
|
@@ -37392,7 +37033,7 @@ class RouterOutlet {
|
|
|
37392
37033
|
return true;
|
|
37393
37034
|
}
|
|
37394
37035
|
render() {
|
|
37395
|
-
return hAsync("slot", { key: '
|
|
37036
|
+
return hAsync("slot", { key: '3f107f085a977b4d27c7266771a9564e3219f736' });
|
|
37396
37037
|
}
|
|
37397
37038
|
get el() { return getElement(this); }
|
|
37398
37039
|
static get watchers() { return {
|
|
@@ -37432,9 +37073,9 @@ class Row {
|
|
|
37432
37073
|
}
|
|
37433
37074
|
render() {
|
|
37434
37075
|
const theme = getIonTheme(this);
|
|
37435
|
-
return (hAsync(Host, { key: '
|
|
37076
|
+
return (hAsync(Host, { key: '6f5dd5032485a69ddf9510e2e539a7ba90afda47', class: {
|
|
37436
37077
|
[theme]: true,
|
|
37437
|
-
} }, hAsync("slot", { key: '
|
|
37078
|
+
} }, hAsync("slot", { key: '994dcbbc871d606b61ff5993fb29aa1fa349c483' })));
|
|
37438
37079
|
}
|
|
37439
37080
|
static get style() { return rowCss(); }
|
|
37440
37081
|
static get cmpMeta() { return {
|
|
@@ -37993,8 +37634,8 @@ class Searchbar {
|
|
|
37993
37634
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
37994
37635
|
const shape = this.getShape();
|
|
37995
37636
|
const size = this.getSize();
|
|
37996
|
-
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '
|
|
37997
|
-
return (hAsync(Host, { key: '
|
|
37637
|
+
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: 'e9d60e9e313218ae012da0eb63dc3c08f37f6915', "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: '4566b2968b5ba79369e424f1829decf7779e9be1', "aria-hidden": "true" }, theme === 'md' || theme === 'ionic' ? (hAsync("ion-icon", { "aria-hidden": "true", icon: searchbarCancelIcon, lazy: false })) : (cancelButtonText))));
|
|
37638
|
+
return (hAsync(Host, { key: 'e6af154631381ee0549c5d1d39577a86b8ae7b3f', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses$1(this.color, {
|
|
37998
37639
|
[theme]: true,
|
|
37999
37640
|
'searchbar-animated': animated,
|
|
38000
37641
|
'searchbar-disabled': this.disabled,
|
|
@@ -38008,14 +37649,14 @@ class Searchbar {
|
|
|
38008
37649
|
[`searchbar-shape-${shape}`]: shape !== undefined,
|
|
38009
37650
|
[`searchbar-size-${size}`]: size !== undefined,
|
|
38010
37651
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
38011
|
-
}) }, hAsync("div", { key: '
|
|
37652
|
+
}) }, hAsync("div", { key: 'cdd7674dd31f53a96517c69fc83916ceea590d6a', class: "searchbar-input-container" }, hAsync("input", Object.assign({ key: 'b7682f425c2645b9fe33ee03d0d0adb88c5b7c7b', "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: 'd8ad4196fa5921a3f444756410386b8189f4136a', "aria-hidden": "true", icon: searchbarSearchIcon, lazy: false, class: "searchbar-search-icon" })), this.shouldShowClearButton() && (hAsync("button", { key: '7bad8accea54850d7cb6dbe8d5d5a404c97bab8b', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
38012
37653
|
/**
|
|
38013
37654
|
* This prevents mobile browsers from
|
|
38014
37655
|
* blurring the input when the clear
|
|
38015
37656
|
* button is activated.
|
|
38016
37657
|
*/
|
|
38017
37658
|
ev.preventDefault();
|
|
38018
|
-
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: '
|
|
37659
|
+
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: 'f60f21ce6f8c3e37d768ff0bd5c69e5797dd77fd', "aria-hidden": "true", icon: searchbarClearIcon, lazy: false, class: "searchbar-clear-icon" })))), theme === 'ios' && cancelButton));
|
|
38019
37660
|
}
|
|
38020
37661
|
get el() { return getElement(this); }
|
|
38021
37662
|
static get watchers() { return {
|
|
@@ -38626,14 +38267,14 @@ class Segment {
|
|
|
38626
38267
|
}
|
|
38627
38268
|
render() {
|
|
38628
38269
|
const theme = getIonTheme(this);
|
|
38629
|
-
return (hAsync(Host, { key: '
|
|
38270
|
+
return (hAsync(Host, { key: '578d4eb20a89742c8c3cb3109fe62a5fdf87b089', role: "tablist", onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
38630
38271
|
[theme]: true,
|
|
38631
38272
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
38632
38273
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
38633
38274
|
'segment-activated': this.activated,
|
|
38634
38275
|
'segment-disabled': this.disabled,
|
|
38635
38276
|
'segment-scrollable': this.scrollable,
|
|
38636
|
-
}) }, hAsync("slot", { key: '
|
|
38277
|
+
}) }, hAsync("slot", { key: '4b9999c95622773aea0c1bf3d1ab9dc650efb5eb', onSlotchange: this.onSlottedItemsChange })));
|
|
38637
38278
|
}
|
|
38638
38279
|
get el() { return getElement(this); }
|
|
38639
38280
|
static get watchers() { return {
|
|
@@ -38785,7 +38426,7 @@ class SegmentButton {
|
|
|
38785
38426
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
38786
38427
|
const theme = getIonTheme(this);
|
|
38787
38428
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
38788
|
-
return (hAsync(Host, { key: '
|
|
38429
|
+
return (hAsync(Host, { key: '75eeffd15e3581c15f48a0b12cbf5a4229b087d6', class: {
|
|
38789
38430
|
[theme]: true,
|
|
38790
38431
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
38791
38432
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -38801,7 +38442,7 @@ class SegmentButton {
|
|
|
38801
38442
|
'ion-activatable': true,
|
|
38802
38443
|
'ion-activatable-instant': true,
|
|
38803
38444
|
'ion-focusable': true,
|
|
38804
|
-
} }, hAsync("button", Object.assign({ key: '
|
|
38445
|
+
} }, hAsync("button", Object.assign({ key: '701fd86647377f744d91eb92427c73583d229253', "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: '63634d3e500312c847194551996a2897610e0cc7', class: "button-inner" }, hAsync("slot", { key: '89963e233c9a7ea84b7262ab84db6edbe76ee95e' })), theme === 'md' && hAsync("ion-ripple-effect", { key: '9d766c3d48c0b2ba50ab03f2279ccf710973bbba' })), hAsync("div", { key: 'a70f2d1a57cca4e04b00b36a6b47eb93ef4cb26e', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, hAsync("div", { key: 'aff9931755a1f643147bf0e7d2be29b35d8f9d41', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
38805
38446
|
}
|
|
38806
38447
|
get el() { return getElement(this); }
|
|
38807
38448
|
static get watchers() { return {
|
|
@@ -38839,7 +38480,7 @@ class SegmentContent {
|
|
|
38839
38480
|
registerInstance(this, hostRef);
|
|
38840
38481
|
}
|
|
38841
38482
|
render() {
|
|
38842
|
-
return (hAsync(Host, { key: '
|
|
38483
|
+
return (hAsync(Host, { key: '81cc29460a17c32592fbf9fca6242f4bb1738aa6' }, hAsync("slot", { key: '4f718420caf11c6672642fcf1a1bdb7f48d6cdfc' })));
|
|
38843
38484
|
}
|
|
38844
38485
|
static get style() { return segmentContentCss(); }
|
|
38845
38486
|
static get cmpMeta() { return {
|
|
@@ -38877,6 +38518,9 @@ class SegmentView {
|
|
|
38877
38518
|
var _a;
|
|
38878
38519
|
const { scrollLeft, scrollWidth, clientWidth } = ev.target;
|
|
38879
38520
|
const max = scrollWidth - clientWidth;
|
|
38521
|
+
// When only one content item is present max is 0 — skip to avoid NaN/Infinity scrollRatio.
|
|
38522
|
+
if (max <= 0)
|
|
38523
|
+
return;
|
|
38880
38524
|
const scrollRatio = (isRTL$1(this.el) ? -1 : 1) * (scrollLeft / max);
|
|
38881
38525
|
this.ionSegmentViewScroll.emit({
|
|
38882
38526
|
scrollRatio,
|
|
@@ -38960,11 +38604,11 @@ class SegmentView {
|
|
|
38960
38604
|
}
|
|
38961
38605
|
render() {
|
|
38962
38606
|
const { disabled, isManualScroll, swipeGesture } = this;
|
|
38963
|
-
return (hAsync(Host, { key: '
|
|
38607
|
+
return (hAsync(Host, { key: 'c04dde4579aa098028f9a0db7c131f281e74d08e', class: {
|
|
38964
38608
|
'segment-view-disabled': disabled,
|
|
38965
38609
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
38966
38610
|
'segment-view-swipe-disabled': swipeGesture === false,
|
|
38967
|
-
} }, hAsync("slot", { key: '
|
|
38611
|
+
} }, hAsync("slot", { key: '3be452dc2d3750fde1b832abe5df734fea0295e3' })));
|
|
38968
38612
|
}
|
|
38969
38613
|
get el() { return getElement(this); }
|
|
38970
38614
|
static get style() { return {
|
|
@@ -39900,7 +39544,7 @@ class Select {
|
|
|
39900
39544
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
39901
39545
|
*/
|
|
39902
39546
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
39903
|
-
return (hAsync(Host, { key: '
|
|
39547
|
+
return (hAsync(Host, { key: 'b75ee27abca24a0ee5ec2bcecec98aeab85d11b2', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
39904
39548
|
[theme]: true,
|
|
39905
39549
|
'in-item': inItem,
|
|
39906
39550
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -39919,7 +39563,7 @@ class Select {
|
|
|
39919
39563
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
39920
39564
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
39921
39565
|
[`select-size-${size}`]: size !== undefined,
|
|
39922
|
-
}) }, hAsync("label", { key: '
|
|
39566
|
+
}) }, hAsync("label", { key: '09f84e92cec1f79d4563d5f27edd7f71266446b8', class: "select-wrapper", id: "select-label", onClick: this.onLabelClick, part: "wrapper" }, this.renderLabelContainer(), hAsync("div", { key: '448be6befb0d4a2c0be0b31d9fb970c4bf86e004', class: "select-wrapper-inner", part: "inner" },
|
|
39923
39567
|
/**
|
|
39924
39568
|
* For the ionic theme, we render the outline container here
|
|
39925
39569
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -39929,7 +39573,7 @@ class Select {
|
|
|
39929
39573
|
* <label> element, ensuring that clicking the label text
|
|
39930
39574
|
* focuses the select.
|
|
39931
39575
|
*/
|
|
39932
|
-
theme === 'ionic' && fill === 'outline' && hAsync("div", { key: '
|
|
39576
|
+
theme === 'ionic' && fill === 'outline' && hAsync("div", { key: '5304fa8c9eb2f8a048cd242696aad6bcd66ffa71', class: "select-outline" }), hAsync("slot", { key: '6103312fc0549a71b395e550472c489cd63e50cf', name: "start" }), hAsync("div", { key: 'c37d9c7f6087b522b424b28aaa711f7682468429', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), hAsync("slot", { key: '4e7228f7911e5b85b60bdba483506845b2df9f58', name: "end" }), shouldRenderInnerIcon && this.renderSelectIcon()), shouldRenderOuterIcon && this.renderSelectIcon(), shouldRenderHighlight && hAsync("div", { key: '9c4a369969d2653a553e667e544928e9341dbb51', class: "select-highlight" })), this.renderBottomContent()));
|
|
39933
39577
|
}
|
|
39934
39578
|
get el() { return getElement(this); }
|
|
39935
39579
|
static get watchers() { return {
|
|
@@ -40321,7 +39965,7 @@ class SelectModal {
|
|
|
40321
39965
|
});
|
|
40322
39966
|
}
|
|
40323
39967
|
render() {
|
|
40324
|
-
return (hAsync(Host, { key: '
|
|
39968
|
+
return (hAsync(Host, { key: '3d19cbc5c4b35089ce424924174f6b87fb1bdcab', class: Object.assign({ [getIonMode$1(this)]: true }, this.getModalContextClasses()) }, hAsync("ion-header", { key: '3cb79b05db6fec2f72ebdb87edcc24bad9c375ac' }, hAsync("ion-toolbar", { key: '99cf6652daad67727efc354d2064f96658e110be' }, this.header !== undefined && hAsync("ion-title", { key: '372fc52cfb477875cb6f0af8aee0e33f3059ecb1' }, this.header), hAsync("ion-buttons", { key: '748ff6504898f1516ce1904e77a5bcea8ad8cdd3', slot: "end" }, hAsync("ion-button", { key: '129b09e56081dd7f4407d00dce0df0d89836d32b', "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: 'd3e095c2d3b01481877ffadffcef17792422c242' }, hAsync("ion-list", { key: '7514600d43482f866e508ee88ea65ee2eae63887' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
|
|
40325
39969
|
}
|
|
40326
39970
|
get el() { return getElement(this); }
|
|
40327
39971
|
static get style() { return {
|
|
@@ -40366,7 +40010,7 @@ class SelectOption {
|
|
|
40366
40010
|
}
|
|
40367
40011
|
render() {
|
|
40368
40012
|
const theme = getIonTheme(this);
|
|
40369
|
-
return (hAsync(Host, { key: '
|
|
40013
|
+
return (hAsync(Host, { key: 'fd2c00d514768451e7d51631e4ce4cdb2a7a92ad', class: {
|
|
40370
40014
|
[theme]: true,
|
|
40371
40015
|
}, role: "option", id: this.inputId }));
|
|
40372
40016
|
}
|
|
@@ -40535,9 +40179,9 @@ class SelectPopover {
|
|
|
40535
40179
|
const { header, message, options, subHeader } = this;
|
|
40536
40180
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
40537
40181
|
const theme = getIonTheme(this);
|
|
40538
|
-
return (hAsync(Host, { key: '
|
|
40182
|
+
return (hAsync(Host, { key: '75388b15e655f05df0849bbcd79064e4f9f72294', class: {
|
|
40539
40183
|
[theme]: true,
|
|
40540
|
-
} }, hAsync("ion-list", { key: '
|
|
40184
|
+
} }, hAsync("ion-list", { key: '14a2f8e328145d7563e9f1924637e08ba3f64f07' }, header !== undefined && hAsync("ion-list-header", { key: '22f0b835c1ea3c13e54dc3be563dcb2dc8d7f53e' }, header), hasSubHeaderOrMessage && (hAsync("ion-item", { key: 'd0464a9be0c4c3f5df33597929b89d20bc57ca7b' }, hAsync("ion-label", { key: '362f77d17c4613a27ced112cc056369ac6915fc7', class: "ion-text-wrap" }, subHeader !== undefined && hAsync("h3", { key: '7166ad9c5a5f39ee3006e59ab069bbee6fbf8c2f' }, subHeader), message !== undefined && hAsync("p", { key: 'a195ed5683525cf6d63b6b8c36c49965dcab7315' }, message)))), this.renderOptions(options))));
|
|
40541
40185
|
}
|
|
40542
40186
|
get el() { return getElement(this); }
|
|
40543
40187
|
static get style() { return {
|
|
@@ -40592,11 +40236,11 @@ class SkeletonText {
|
|
|
40592
40236
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
40593
40237
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
40594
40238
|
const theme = getIonTheme(this);
|
|
40595
|
-
return (hAsync(Host, { key: '
|
|
40239
|
+
return (hAsync(Host, { key: '5014563646b6c5213750d503babce3013b66ec96', class: {
|
|
40596
40240
|
[theme]: true,
|
|
40597
40241
|
'skeleton-text-animated': animated,
|
|
40598
40242
|
'in-media': inMedia,
|
|
40599
|
-
} }, hAsync("span", { key: '
|
|
40243
|
+
} }, hAsync("span", { key: '4b816883b1c71bb1db66d8b2b084559f7cb489bd' }, "\u00A0")));
|
|
40600
40244
|
}
|
|
40601
40245
|
get el() { return getElement(this); }
|
|
40602
40246
|
static get style() { return skeletonTextCss(); }
|
|
@@ -40669,7 +40313,7 @@ class Spinner {
|
|
|
40669
40313
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
40670
40314
|
}
|
|
40671
40315
|
}
|
|
40672
|
-
return (hAsync(Host, { key: '
|
|
40316
|
+
return (hAsync(Host, { key: '0b3ce4b99c2c828d05b507c4f073811ebbe17d0f', class: createColorClasses$1(self.color, {
|
|
40673
40317
|
[theme]: true,
|
|
40674
40318
|
[`spinner-${spinnerName}`]: true,
|
|
40675
40319
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -40713,7 +40357,6 @@ const splitPaneIosCss = () => `:host{--side-width:100%;right:0;left:0;top:0;bott
|
|
|
40713
40357
|
|
|
40714
40358
|
const splitPaneMdCss = () => `:host{--side-width:100%;right:0;left:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;contain:strict}:host(.split-pane-visible) ::slotted(.split-pane-main){right:0;left:0;top:0;bottom:0;position:relative;-ms-flex:1;flex:1;-webkit-box-shadow:none;box-shadow:none;overflow:hidden;z-index:0}::slotted(.split-pane-side:not(ion-menu)){display:none}:host{--border:1px solid var(--ion-item-border-color, var(--ion-border-color, var(--ion-color-step-150, var(--ion-background-color-step-150, rgba(0, 0, 0, 0.13)))));--side-min-width:270px;--side-max-width:28%}`;
|
|
40715
40359
|
|
|
40716
|
-
// TODO(FW-7285): Replace with global breakpoints
|
|
40717
40360
|
const QUERY = {
|
|
40718
40361
|
lg: '(min-width: 992px)'};
|
|
40719
40362
|
/**
|
|
@@ -40781,12 +40424,12 @@ class SplitPane {
|
|
|
40781
40424
|
}
|
|
40782
40425
|
render() {
|
|
40783
40426
|
const theme = getIonTheme(this);
|
|
40784
|
-
return (hAsync(Host, { key: '
|
|
40427
|
+
return (hAsync(Host, { key: '9d0c67f1f81b09bb9a6f14a66053e5cc7431a286', class: {
|
|
40785
40428
|
[theme]: true,
|
|
40786
40429
|
// Used internally for styling
|
|
40787
40430
|
[`split-pane-${theme}`]: true,
|
|
40788
40431
|
'split-pane-visible': this.visible,
|
|
40789
|
-
} }, hAsync("slot", { key: '
|
|
40432
|
+
} }, hAsync("slot", { key: 'ab7b3050d3c5484bd00949cf57efa4396b4d5bc3' })));
|
|
40790
40433
|
}
|
|
40791
40434
|
get el() { return getElement(this); }
|
|
40792
40435
|
static get watchers() { return {
|
|
@@ -40863,10 +40506,10 @@ class Tab {
|
|
|
40863
40506
|
}
|
|
40864
40507
|
render() {
|
|
40865
40508
|
const { tab, active, component } = this;
|
|
40866
|
-
return (hAsync(Host, { key: '
|
|
40509
|
+
return (hAsync(Host, { key: 'b249545a5adfcef4616afe79aa0f215bab464d0a', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
40867
40510
|
'ion-page': component === undefined,
|
|
40868
40511
|
'tab-hidden': !active,
|
|
40869
|
-
} }, hAsync("slot", { key: '
|
|
40512
|
+
} }, hAsync("slot", { key: '19e2a406d96d20d8d4af8c3ff900e975d06021f6' })));
|
|
40870
40513
|
}
|
|
40871
40514
|
get el() { return getElement(this); }
|
|
40872
40515
|
static get watchers() { return {
|
|
@@ -41073,7 +40716,7 @@ class TabBar {
|
|
|
41073
40716
|
const theme = getIonTheme(this);
|
|
41074
40717
|
const shape = this.getShape();
|
|
41075
40718
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
41076
|
-
return (hAsync(Host, { key: '
|
|
40719
|
+
return (hAsync(Host, { key: '7a91bb00ad289d94d34271bdecefb7221c093fd6', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses$1(color, {
|
|
41077
40720
|
[theme]: true,
|
|
41078
40721
|
'tab-bar-translucent': translucent,
|
|
41079
40722
|
'tab-bar-hidden': shouldHide,
|
|
@@ -41081,7 +40724,7 @@ class TabBar {
|
|
|
41081
40724
|
'tab-bar-scroll-hidden': scrollHidden,
|
|
41082
40725
|
[`tab-bar-${expand}`]: true,
|
|
41083
40726
|
[`tab-bar-${shape}`]: shape !== undefined,
|
|
41084
|
-
}) }, hAsync("slot", { key: '
|
|
40727
|
+
}) }, hAsync("slot", { key: '96ad10c451a6ae1e2b7c48d94d0f158fb8cde1dc' })));
|
|
41085
40728
|
}
|
|
41086
40729
|
get el() { return getElement(this); }
|
|
41087
40730
|
static get watchers() { return {
|
|
@@ -41209,7 +40852,7 @@ class TabButton {
|
|
|
41209
40852
|
rel,
|
|
41210
40853
|
target,
|
|
41211
40854
|
};
|
|
41212
|
-
return (hAsync(Host, { key: '
|
|
40855
|
+
return (hAsync(Host, { key: '5a32785eaf0570cdc3444d52ce8bba8174c3e0b9', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
41213
40856
|
[theme]: true,
|
|
41214
40857
|
'tab-selected': selected,
|
|
41215
40858
|
'tab-disabled': disabled,
|
|
@@ -41222,7 +40865,7 @@ class TabButton {
|
|
|
41222
40865
|
'ion-selectable': true,
|
|
41223
40866
|
[`tab-button-shape-${shape}`]: shape !== undefined,
|
|
41224
40867
|
'ion-focusable': true,
|
|
41225
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
40868
|
+
} }, hAsync("a", Object.assign({ key: '1441f409b4a60823a57f27b90f6840b557b7d65a' }, 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: '1566ca0af66b6e51068aca221a89133d2af061ed', class: "button-inner" }, hAsync("slot", { key: '757878091cfe3768107eb0a53b8d1c895ce43399' })), theme === 'md' && hAsync("ion-ripple-effect", { key: '28dde3e7127bdc9d5e1477b47458a5a4ab71328e', type: "unbounded" }))));
|
|
41226
40869
|
}
|
|
41227
40870
|
get el() { return getElement(this); }
|
|
41228
40871
|
static get style() { return {
|
|
@@ -41418,7 +41061,7 @@ class Tabs {
|
|
|
41418
41061
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
41419
41062
|
}
|
|
41420
41063
|
render() {
|
|
41421
|
-
return (hAsync(Host, { key: '
|
|
41064
|
+
return (hAsync(Host, { key: '9c05f69a72ab24897f1febab0928783d08224734', onIonTabButtonClick: this.onTabClicked }, hAsync("slot", { key: '56407c9562bfd095e0259e430879151b824287fd', name: "top" }), hAsync("div", { key: '6a86ceff372b8a60342040d9361ad31bf05e80ec', class: "tabs-inner" }, hAsync("slot", { key: 'a554d3e835236a87686a0a53bd16d3124e77c0c5' })), hAsync("slot", { key: 'd241d4cfba26a7ce3a3f93703dae18b8857bd9ee', name: "bottom" })));
|
|
41422
41065
|
}
|
|
41423
41066
|
get el() { return getElement(this); }
|
|
41424
41067
|
static get style() { return tabsCss(); }
|
|
@@ -41459,9 +41102,9 @@ class Text {
|
|
|
41459
41102
|
}
|
|
41460
41103
|
render() {
|
|
41461
41104
|
const theme = getIonTheme(this);
|
|
41462
|
-
return (hAsync(Host, { key: '
|
|
41105
|
+
return (hAsync(Host, { key: '7a3f31d6e219207a1ff98ac441357caa512012e5', class: createColorClasses$1(this.color, {
|
|
41463
41106
|
[theme]: true,
|
|
41464
|
-
}) }, hAsync("slot", { key: '
|
|
41107
|
+
}) }, hAsync("slot", { key: '392d48d6a5e0e5d1b44e762ec96fb8b53b3ebd49' })));
|
|
41465
41108
|
}
|
|
41466
41109
|
static get style() { return textCss(); }
|
|
41467
41110
|
static get cmpMeta() { return {
|
|
@@ -42025,7 +41668,7 @@ class Textarea {
|
|
|
42025
41668
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
42026
41669
|
*/
|
|
42027
41670
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
42028
|
-
return (hAsync(Host, { key: '
|
|
41671
|
+
return (hAsync(Host, { key: 'b31341357553adac08f518e48d83127415f36500', class: createColorClasses$1(this.color, {
|
|
42029
41672
|
[theme]: true,
|
|
42030
41673
|
'has-value': hasValue,
|
|
42031
41674
|
'has-focus': hasFocus,
|
|
@@ -42037,7 +41680,7 @@ class Textarea {
|
|
|
42037
41680
|
'in-item': inItem,
|
|
42038
41681
|
'textarea-disabled': disabled,
|
|
42039
41682
|
'textarea-readonly': readonly,
|
|
42040
|
-
}) }, hAsync("label", { key: '
|
|
41683
|
+
}) }, hAsync("label", { key: '406cb6739da3382da1f723c42f4ea5aee86e09d4', class: "textarea-wrapper", htmlFor: inputId, onClick: this.onLabelClick, part: "wrapper" }, this.renderLabelContainer(), hAsync("div", { key: '69056191d5f1036bcb88a31d44bc61e3a98f9ebc', class: "textarea-wrapper-inner" },
|
|
42041
41684
|
/**
|
|
42042
41685
|
* For the ionic theme, we render the outline container here
|
|
42043
41686
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -42047,7 +41690,7 @@ class Textarea {
|
|
|
42047
41690
|
* <label> element, ensuring that clicking the label text
|
|
42048
41691
|
* focuses the textarea.
|
|
42049
41692
|
*/
|
|
42050
|
-
theme === 'ionic' && fill === 'outline' && hAsync("div", { key: '
|
|
41693
|
+
theme === 'ionic' && fill === 'outline' && hAsync("div", { key: 'eff37b99e2f47f1973cc61611647c28ae7271a4d', class: "textarea-outline" }), hAsync("div", { key: '9c70d10b3d2cce601f670cd86bfc19fff10233da', class: "start-slot-wrapper" }, hAsync("slot", { key: 'b0c92cc7941a0810faabfb1acf177c019e200a5d', name: "start" })), hAsync("div", { key: 'a6f9a2c06a009c322d29aa3a6e2b5a79f3532c5b', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el), part: "container" }, hAsync("textarea", Object.assign({ key: 'eb6bf7370fa3047ed475680111d3e232f0c0644c', 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: 'e869ef964514267c0d419d474c16303c01d26cec', class: "end-slot-wrapper" }, hAsync("slot", { key: '8e9905fe7caaf4be904f9cfbc3d9d7f9c48deb50', name: "end" }))), shouldRenderHighlight && hAsync("div", { key: '4287784c6b896b13a4205f5f959aebbbcdd49db3', class: "textarea-highlight" })), this.renderBottomContent()));
|
|
42051
41694
|
}
|
|
42052
41695
|
static get delegatesFocus() { return true; }
|
|
42053
41696
|
static get formAssociated() { return true; }
|
|
@@ -42131,9 +41774,9 @@ class Thumbnail {
|
|
|
42131
41774
|
}
|
|
42132
41775
|
render() {
|
|
42133
41776
|
const theme = getIonTheme(this);
|
|
42134
|
-
return (hAsync(Host, { key: '
|
|
41777
|
+
return (hAsync(Host, { key: '6053cf163155d4268dad4fc81ffc6bbc70d75659', class: {
|
|
42135
41778
|
[theme]: true,
|
|
42136
|
-
} }, hAsync("slot", { key: '
|
|
41779
|
+
} }, hAsync("slot", { key: 'b7afb5835bce7c7ed9e5cf44758bbe2d802e1271' })));
|
|
42137
41780
|
}
|
|
42138
41781
|
static get style() { return thumbnailCss(); }
|
|
42139
41782
|
static get cmpMeta() { return {
|
|
@@ -43017,9 +42660,9 @@ class Toast {
|
|
|
43017
42660
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
43018
42661
|
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);
|
|
43019
42662
|
}
|
|
43020
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
42663
|
+
return (hAsync(Host, Object.assign({ key: '6fd286b024a05e6960f7b4b7947a3c26cc129e14', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
43021
42664
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
43022
|
-
}, 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: '
|
|
42665
|
+
}, 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: '42aa178a6c7f25841bb6e257810c37b6a5703b1f', class: wrapperClass, part: "wrapper" }, hAsync("div", { key: '5cb2f2566ce8ab76de6a79ecac02a354eb242c58', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (hAsync("ion-icon", { key: 'f5a60e1b8c95bbbb829e3b9b01db64ab5229265a', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), hAsync("div", { key: 'a903491644c03391f66432253cc8365c782b056d', 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')))));
|
|
43023
42666
|
}
|
|
43024
42667
|
get el() { return getElement(this); }
|
|
43025
42668
|
static get watchers() { return {
|
|
@@ -43395,7 +43038,7 @@ class Toggle {
|
|
|
43395
43038
|
const rtl = isRTL$1(el) ? 'rtl' : 'ltr';
|
|
43396
43039
|
const isIonicTheme = theme === 'ionic';
|
|
43397
43040
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
43398
|
-
return (hAsync(Host, { key: '
|
|
43041
|
+
return (hAsync(Host, { key: 'b12951146a79d3839e6263e91e747398a0fa901d', 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, {
|
|
43399
43042
|
[theme]: true,
|
|
43400
43043
|
'in-item': hostContext('ion-item', el),
|
|
43401
43044
|
'toggle-activated': activated,
|
|
@@ -43407,10 +43050,10 @@ class Toggle {
|
|
|
43407
43050
|
[`toggle-${rtl}`]: true,
|
|
43408
43051
|
'ion-activatable': isIonicTheme,
|
|
43409
43052
|
'ion-focusable': isIonicTheme,
|
|
43410
|
-
}) }, hAsync("label", { key: '
|
|
43053
|
+
}) }, hAsync("label", { key: 'cf1d27243bf9bdd5bafaf6d86b76beb311b5e01c', class: "toggle-wrapper", htmlFor: inputId }, hAsync("input", Object.assign({ key: 'b3eb0f146836f5994c15bf1fd67a79f72b9414f7', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, required: required }, inheritedAttributes)), hAsync("div", { key: '56ddcfd6452f30fd6b38d0fd85be3ec966aa120b', class: {
|
|
43411
43054
|
'label-text-wrapper': true,
|
|
43412
43055
|
'label-text-wrapper-hidden': !hasLabel,
|
|
43413
|
-
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '
|
|
43056
|
+
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '706e5b667ee242fb1afb3e4afa613f9798fbe25b' }), this.renderHintText()), hAsync("div", { key: '255ccd7d60f7d78b4eba8d380b303a72093e9d16', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
43414
43057
|
}
|
|
43415
43058
|
get el() { return getElement(this); }
|
|
43416
43059
|
static get watchers() { return {
|
|
@@ -43702,11 +43345,11 @@ class Toolbar {
|
|
|
43702
43345
|
Object.assign(childStyles, style);
|
|
43703
43346
|
});
|
|
43704
43347
|
const titlePlacement = this.getTitlePlacement();
|
|
43705
|
-
return (hAsync(Host, { key: '
|
|
43348
|
+
return (hAsync(Host, { key: 'a2103857ffb26f517b4190bb01a8fa170a042e45', class: Object.assign(Object.assign({}, createColorClasses$1(this.color, {
|
|
43706
43349
|
[theme]: true,
|
|
43707
43350
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
43708
43351
|
[`toolbar-title-placement-${titlePlacement}`]: true,
|
|
43709
|
-
})), childStyles) }, hAsync("div", { key: '
|
|
43352
|
+
})), childStyles) }, hAsync("div", { key: '288b74048d260c9279d6e60c8733e26105ee0098', class: "toolbar-background", part: "background" }), hAsync("div", { key: 'fa4b8cfb32f3bfb84f451cf3a2420b37fc75533c', class: "toolbar-container", part: "container" }, hAsync("slot", { key: 'fe9414ab3fa2ca84d424a400ba91ec8239d700ff', name: "start", onSlotchange: () => this.updateSlotClasses }), hAsync("slot", { key: 'c633cd1b6eef87adbfccfa61857518dcf62ac550', name: "secondary", onSlotchange: () => this.updateSlotClasses }), hAsync("div", { key: 'aff3a3d8acbc480e9daec864aeb85d168ab2c447', class: "toolbar-content", part: "content" }, hAsync("slot", { key: '52b45c5abbfe695e862c857163e7aa00c1c2af9a' })), hAsync("slot", { key: '3157c16fcfe428230998f218c6233d114b550a6f', name: "primary", onSlotchange: () => this.updateSlotClasses }), hAsync("slot", { key: '4b74dff5b832ea0f3030efa319c63c876c3e90e2', name: "end", onSlotchange: () => this.updateSlotClasses }))));
|
|
43710
43353
|
}
|
|
43711
43354
|
get el() { return getElement(this); }
|
|
43712
43355
|
static get watchers() { return {
|
|
@@ -43765,11 +43408,11 @@ class ToolbarTitle {
|
|
|
43765
43408
|
render() {
|
|
43766
43409
|
const theme = getIonTheme(this);
|
|
43767
43410
|
const size = this.getSize();
|
|
43768
|
-
return (hAsync(Host, { key: '
|
|
43411
|
+
return (hAsync(Host, { key: '8db3e5f9dbd8b1762a9919eaeef29c98649dfb25', class: createColorClasses$1(this.color, {
|
|
43769
43412
|
[theme]: true,
|
|
43770
43413
|
[`title-${size}`]: true,
|
|
43771
43414
|
'title-rtl': document.dir === 'rtl',
|
|
43772
|
-
}) }, hAsync("div", { key: '
|
|
43415
|
+
}) }, hAsync("div", { key: 'a31ebae2c494a51d2145eec69d0b1bc635108a01', class: "toolbar-title" }, hAsync("slot", { key: 'f5975b44b3e3afbf98dcbdb53fc78447b49407b3' }))));
|
|
43773
43416
|
}
|
|
43774
43417
|
get el() { return getElement(this); }
|
|
43775
43418
|
static get watchers() { return {
|
|
@@ -43825,7 +43468,6 @@ registerComponents([
|
|
|
43825
43468
|
FabButton,
|
|
43826
43469
|
FabList,
|
|
43827
43470
|
Footer,
|
|
43828
|
-
Gallery,
|
|
43829
43471
|
Grid,
|
|
43830
43472
|
Header,
|
|
43831
43473
|
Icon,
|