@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.mjs
CHANGED
|
@@ -13106,7 +13106,6 @@ class Chip {
|
|
|
13106
13106
|
}; }
|
|
13107
13107
|
}
|
|
13108
13108
|
|
|
13109
|
-
// TODO(FW-7285): Replace with global breakpoints
|
|
13110
13109
|
const SIZE_TO_MEDIA = {
|
|
13111
13110
|
xs: '(min-width: 0px)',
|
|
13112
13111
|
sm: '(min-width: 576px)',
|
|
@@ -13130,9 +13129,8 @@ const matchBreakpoint = (breakpoint) => {
|
|
|
13130
13129
|
|
|
13131
13130
|
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}`;
|
|
13132
13131
|
|
|
13133
|
-
// TODO(FW-7285): Replace with global breakpoints
|
|
13134
13132
|
// eslint-disable-next-line @typescript-eslint/prefer-optional-chain
|
|
13135
|
-
const BREAKPOINTS
|
|
13133
|
+
const BREAKPOINTS = ['', 'xs', 'sm', 'md', 'lg', 'xl'];
|
|
13136
13134
|
/**
|
|
13137
13135
|
* @virtualProp {"ios" | "md"} mode - The mode determines the platform behaviors of the component.
|
|
13138
13136
|
* @virtualProp {"ios" | "md" | "ionic"} theme - The theme determines the visual appearance of the component.
|
|
@@ -13147,7 +13145,7 @@ class Col {
|
|
|
13147
13145
|
// matches and grab the column value from the relevant prop if so
|
|
13148
13146
|
getColumns(property) {
|
|
13149
13147
|
let matched;
|
|
13150
|
-
for (const breakpoint of BREAKPOINTS
|
|
13148
|
+
for (const breakpoint of BREAKPOINTS) {
|
|
13151
13149
|
const matches = matchBreakpoint(breakpoint);
|
|
13152
13150
|
// Grab the value of the property, if it exists and our
|
|
13153
13151
|
// media query matches we return the value
|
|
@@ -13208,12 +13206,12 @@ class Col {
|
|
|
13208
13206
|
const colSize = this.getSizeClass();
|
|
13209
13207
|
const colOrder = this.getOrderClass();
|
|
13210
13208
|
const colOffset = this.getOffsetClass();
|
|
13211
|
-
return (hAsync(Host, { key: '
|
|
13209
|
+
return (hAsync(Host, { key: '4620a4eb3c94f744d6169ae9d4cc43e86a271a52', class: {
|
|
13212
13210
|
[theme]: true,
|
|
13213
13211
|
[`${colSize}`]: colSize !== undefined,
|
|
13214
13212
|
[`${colOrder}`]: colOrder !== undefined,
|
|
13215
13213
|
[`${colOffset}`]: colOffset !== undefined,
|
|
13216
|
-
} }, hAsync("slot", { key: '
|
|
13214
|
+
} }, hAsync("slot", { key: '5c3be98deed2050634396339b7787f2770a05d35' })));
|
|
13217
13215
|
}
|
|
13218
13216
|
get el() { return getElement(this); }
|
|
13219
13217
|
static get style() { return colCss(); }
|
|
@@ -18675,363 +18673,6 @@ class Footer {
|
|
|
18675
18673
|
}; }
|
|
18676
18674
|
}
|
|
18677
18675
|
|
|
18678
|
-
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}`;
|
|
18679
|
-
|
|
18680
|
-
// TODO(FW-7285): Replace with global breakpoints
|
|
18681
|
-
const BREAKPOINTS = {
|
|
18682
|
-
xs: 0,
|
|
18683
|
-
sm: 576,
|
|
18684
|
-
md: 768,
|
|
18685
|
-
lg: 992,
|
|
18686
|
-
xl: 1200,
|
|
18687
|
-
xxl: 1400,
|
|
18688
|
-
};
|
|
18689
|
-
const DEFAULT_COLUMNS = {
|
|
18690
|
-
xs: 2,
|
|
18691
|
-
sm: 3,
|
|
18692
|
-
md: 4,
|
|
18693
|
-
lg: 6,
|
|
18694
|
-
xl: 8,
|
|
18695
|
-
xxl: 10,
|
|
18696
|
-
};
|
|
18697
|
-
const BREAKPOINT_ORDER = ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'];
|
|
18698
|
-
/**
|
|
18699
|
-
* @virtualProp {"ios" | "md"} mode - The mode determines the platform behaviors of the component.
|
|
18700
|
-
* @virtualProp {"ios" | "md" | "ionic"} theme - The theme determines the visual appearance of the component.
|
|
18701
|
-
*
|
|
18702
|
-
* @slot - Content is placed in a responsive gallery layout.
|
|
18703
|
-
*/
|
|
18704
|
-
class Gallery {
|
|
18705
|
-
constructor(hostRef) {
|
|
18706
|
-
registerInstance(this, hostRef);
|
|
18707
|
-
// Keep track of whether we've warned about invalid columns to avoid
|
|
18708
|
-
// duplicate warnings on screen resize.
|
|
18709
|
-
this.hasWarnedInvalidColumns = false;
|
|
18710
|
-
/**
|
|
18711
|
-
* The visual layout of the gallery. When `uniform`, rows take up the height
|
|
18712
|
-
* of the tallest item and are spaced evenly across the gallery. Additionally,
|
|
18713
|
-
* items will have an aspect ratio of 1/1, forcing them to be square unless a
|
|
18714
|
-
* height is explicitly set. When `masonry`, items will be positioned under each
|
|
18715
|
-
* other with only the specified gap between them.
|
|
18716
|
-
*/
|
|
18717
|
-
this.layout = 'uniform';
|
|
18718
|
-
/**
|
|
18719
|
-
* The order in which items are positioned. Only applies when layout is
|
|
18720
|
-
* `masonry`. When `sequential`, items are positioned in the order they are
|
|
18721
|
-
* placed in the DOM. When `best-fit`, items are positioned under the column
|
|
18722
|
-
* with the most available space.
|
|
18723
|
-
*/
|
|
18724
|
-
this.order = 'sequential';
|
|
18725
|
-
/**
|
|
18726
|
-
* The number of columns to display. Can be set as a number or an object of
|
|
18727
|
-
* breakpoint values (e.g. `{ xs: 2, sm: 3, md: 4 }`).
|
|
18728
|
-
*/
|
|
18729
|
-
this.columns = DEFAULT_COLUMNS;
|
|
18730
|
-
/**
|
|
18731
|
-
* Listen for the slotchange event on the slot.
|
|
18732
|
-
* When the layout is `masonry`, this listener is used to schedule a resize
|
|
18733
|
-
* of the masonry grid when the slot changes. This is useful for when items
|
|
18734
|
-
* are added or removed from the gallery.
|
|
18735
|
-
*/
|
|
18736
|
-
this.onSlotChange = () => {
|
|
18737
|
-
this.scheduleMasonryResize();
|
|
18738
|
-
};
|
|
18739
|
-
/**
|
|
18740
|
-
* Measure the host and children, then compute masonry placement.
|
|
18741
|
-
*/
|
|
18742
|
-
this.resizeMasonryGrid = () => {
|
|
18743
|
-
this.masonryRaf = undefined;
|
|
18744
|
-
if (this.layout !== 'masonry') {
|
|
18745
|
-
this.clearMasonryStyles();
|
|
18746
|
-
return;
|
|
18747
|
-
}
|
|
18748
|
-
const styles = getComputedStyle(this.el);
|
|
18749
|
-
const rowHeight = parseFloat(styles.getPropertyValue('grid-auto-rows')) || 0;
|
|
18750
|
-
const rowGap = parseFloat(styles.getPropertyValue('row-gap')) || parseFloat(styles.getPropertyValue('gap')) || 0;
|
|
18751
|
-
const columnsStr = styles.getPropertyValue('--internal-gallery-columns');
|
|
18752
|
-
// Fallback to 2 columns for masonry calculations when the resolved
|
|
18753
|
-
// --internal-gallery-columns CSS value is missing or unparsable.
|
|
18754
|
-
const columns = parseInt(columnsStr, 10) || 2;
|
|
18755
|
-
const items = this.getItems();
|
|
18756
|
-
this.layoutMasonry(items, rowHeight, rowGap, columns);
|
|
18757
|
-
};
|
|
18758
|
-
}
|
|
18759
|
-
layoutChanged() {
|
|
18760
|
-
this.updateResponsiveColumns(true);
|
|
18761
|
-
this.scheduleMasonryResize();
|
|
18762
|
-
}
|
|
18763
|
-
componentDidLoad() {
|
|
18764
|
-
this.updateResponsiveColumns(true);
|
|
18765
|
-
this.resizeObserver = new ResizeObserver(() => {
|
|
18766
|
-
this.updateResponsiveColumns();
|
|
18767
|
-
this.scheduleMasonryResize();
|
|
18768
|
-
});
|
|
18769
|
-
this.resizeObserver.observe(this.el);
|
|
18770
|
-
this.scheduleMasonryResize();
|
|
18771
|
-
}
|
|
18772
|
-
disconnectedCallback() {
|
|
18773
|
-
var _a;
|
|
18774
|
-
if (this.masonryRaf !== undefined) {
|
|
18775
|
-
cancelAnimationFrame(this.masonryRaf);
|
|
18776
|
-
this.masonryRaf = undefined;
|
|
18777
|
-
}
|
|
18778
|
-
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
18779
|
-
this.resizeObserver = undefined;
|
|
18780
|
-
}
|
|
18781
|
-
/**
|
|
18782
|
-
* Listen for the load event on child elements.
|
|
18783
|
-
* When the layout is `masonry`, this listener is used to schedule a resize
|
|
18784
|
-
* of the masonry grid when the child elements load. This is useful for when
|
|
18785
|
-
* images take time to load.
|
|
18786
|
-
*/
|
|
18787
|
-
onChildLoad(ev) {
|
|
18788
|
-
if (this.layout !== 'masonry') {
|
|
18789
|
-
return;
|
|
18790
|
-
}
|
|
18791
|
-
const target = ev.target;
|
|
18792
|
-
if (target !== null && this.el.contains(target)) {
|
|
18793
|
-
this.scheduleMasonryResize();
|
|
18794
|
-
}
|
|
18795
|
-
}
|
|
18796
|
-
/**
|
|
18797
|
-
* Batch masonry measurements to a single animation frame.
|
|
18798
|
-
* This avoids repeated sync layouts during rapid resize/load/slot changes.
|
|
18799
|
-
*/
|
|
18800
|
-
scheduleMasonryResize() {
|
|
18801
|
-
if (this.layout !== 'masonry') {
|
|
18802
|
-
this.clearMasonryStyles();
|
|
18803
|
-
return;
|
|
18804
|
-
}
|
|
18805
|
-
if (this.masonryRaf !== undefined) {
|
|
18806
|
-
cancelAnimationFrame(this.masonryRaf);
|
|
18807
|
-
}
|
|
18808
|
-
this.masonryRaf = requestAnimationFrame(this.resizeMasonryGrid);
|
|
18809
|
-
}
|
|
18810
|
-
/**
|
|
18811
|
-
* Normalize a columns value to a positive integer.
|
|
18812
|
-
* Returns undefined when the input cannot be interpreted as a finite number.
|
|
18813
|
-
*/
|
|
18814
|
-
sanitizeColumns(columns) {
|
|
18815
|
-
if (columns === undefined) {
|
|
18816
|
-
return undefined;
|
|
18817
|
-
}
|
|
18818
|
-
const numericColumns = typeof columns === 'number' ? columns : Number(columns);
|
|
18819
|
-
if (!Number.isFinite(numericColumns) || !Number.isInteger(numericColumns) || numericColumns <= 0) {
|
|
18820
|
-
return undefined;
|
|
18821
|
-
}
|
|
18822
|
-
return numericColumns;
|
|
18823
|
-
}
|
|
18824
|
-
/**
|
|
18825
|
-
* Check if the value is a breakpoint columns object.
|
|
18826
|
-
*/
|
|
18827
|
-
isBreakpointColumns(value) {
|
|
18828
|
-
return typeof value === 'object' && value !== null && !Array.isArray(value);
|
|
18829
|
-
}
|
|
18830
|
-
/**
|
|
18831
|
-
* Check if the breakpoint columns object has any invalid values.
|
|
18832
|
-
* Returns true if any value is undefined or not a positive integer.
|
|
18833
|
-
*/
|
|
18834
|
-
hasInvalidBreakpointColumns(breakpointColumns) {
|
|
18835
|
-
for (const breakpoint of BREAKPOINT_ORDER) {
|
|
18836
|
-
const value = breakpointColumns[breakpoint];
|
|
18837
|
-
if (value !== undefined && this.sanitizeColumns(value) === undefined) {
|
|
18838
|
-
return true;
|
|
18839
|
-
}
|
|
18840
|
-
}
|
|
18841
|
-
return false;
|
|
18842
|
-
}
|
|
18843
|
-
/**
|
|
18844
|
-
* Get the columns from a responsive breakpoint map.
|
|
18845
|
-
* Returns the columns for the last matching breakpoint.
|
|
18846
|
-
*/
|
|
18847
|
-
getColumnsFromBreakpointColumns(width, breakpointColumns) {
|
|
18848
|
-
let columns;
|
|
18849
|
-
for (const bp of BREAKPOINT_ORDER) {
|
|
18850
|
-
const customValue = breakpointColumns[bp];
|
|
18851
|
-
const parsedCustom = this.sanitizeColumns(customValue);
|
|
18852
|
-
const parsedDefault = this.sanitizeColumns(DEFAULT_COLUMNS[bp]);
|
|
18853
|
-
// Use valid custom values when present; otherwise fall back to defaults per breakpoint.
|
|
18854
|
-
const resolved = customValue === undefined || parsedCustom === undefined ? parsedDefault : parsedCustom;
|
|
18855
|
-
if (resolved !== undefined && width >= BREAKPOINTS[bp]) {
|
|
18856
|
-
columns = resolved;
|
|
18857
|
-
}
|
|
18858
|
-
}
|
|
18859
|
-
return columns;
|
|
18860
|
-
}
|
|
18861
|
-
/**
|
|
18862
|
-
* Warn about an invalid columns value when it is set to a non-positive
|
|
18863
|
-
* integer or a breakpoint map object with invalid values.
|
|
18864
|
-
*/
|
|
18865
|
-
warnInvalidColumns(columns) {
|
|
18866
|
-
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);
|
|
18867
|
-
this.hasWarnedInvalidColumns = true;
|
|
18868
|
-
}
|
|
18869
|
-
/**
|
|
18870
|
-
* Resolve the active columns value for the current width. Falls back to
|
|
18871
|
-
* the default responsive columns when the provided prop is invalid.
|
|
18872
|
-
*/
|
|
18873
|
-
getColumnsForWidth(width) {
|
|
18874
|
-
const { columns, hasWarnedInvalidColumns } = this;
|
|
18875
|
-
const isBreakpointColumns = this.isBreakpointColumns(columns);
|
|
18876
|
-
const hasInvalidBreakpointColumns = isBreakpointColumns && this.hasInvalidBreakpointColumns(columns);
|
|
18877
|
-
const sanitizedColumns = isBreakpointColumns
|
|
18878
|
-
? this.getColumnsFromBreakpointColumns(width, columns)
|
|
18879
|
-
: this.sanitizeColumns(columns);
|
|
18880
|
-
if (!hasWarnedInvalidColumns &&
|
|
18881
|
-
(hasInvalidBreakpointColumns || (!isBreakpointColumns && sanitizedColumns === undefined))) {
|
|
18882
|
-
this.warnInvalidColumns(columns);
|
|
18883
|
-
}
|
|
18884
|
-
if (sanitizedColumns !== undefined) {
|
|
18885
|
-
return sanitizedColumns;
|
|
18886
|
-
}
|
|
18887
|
-
return this.getColumnsFromBreakpointColumns(width, DEFAULT_COLUMNS);
|
|
18888
|
-
}
|
|
18889
|
-
/**
|
|
18890
|
-
* Update the responsive columns for the gallery.
|
|
18891
|
-
* This is used to update the columns when the component width changes.
|
|
18892
|
-
*/
|
|
18893
|
-
updateResponsiveColumns(force = false) {
|
|
18894
|
-
const width = this.el.getBoundingClientRect().width;
|
|
18895
|
-
// Only update the columns if the component width has changed by more than
|
|
18896
|
-
// 1px or if the force flag is true. This prevents unnecessary re-renders
|
|
18897
|
-
// when the component width has not changed.
|
|
18898
|
-
if (!width || (!force && this.lastWidth !== undefined && Math.abs(this.lastWidth - width) < 1)) {
|
|
18899
|
-
return;
|
|
18900
|
-
}
|
|
18901
|
-
this.lastWidth = width;
|
|
18902
|
-
const columns = this.getColumnsForWidth(width);
|
|
18903
|
-
this.el.style.setProperty('--internal-gallery-columns', `${columns}`);
|
|
18904
|
-
}
|
|
18905
|
-
/**
|
|
18906
|
-
* Return all directly slotted HTMLElement children of the gallery.
|
|
18907
|
-
*/
|
|
18908
|
-
getItems() {
|
|
18909
|
-
return Array.from(this.el.children).filter((child) => child instanceof HTMLElement);
|
|
18910
|
-
}
|
|
18911
|
-
/**
|
|
18912
|
-
* Clear the item styles for the given item element.
|
|
18913
|
-
* This is used to switch between uniform and masonry layouts.
|
|
18914
|
-
*/
|
|
18915
|
-
clearItemStyles(itemEl) {
|
|
18916
|
-
itemEl.style.gridRowStart = '';
|
|
18917
|
-
itemEl.style.gridRowEnd = '';
|
|
18918
|
-
itemEl.style.gridColumn = '';
|
|
18919
|
-
itemEl.style.marginBottom = '';
|
|
18920
|
-
}
|
|
18921
|
-
/**
|
|
18922
|
-
* Clear placement styles for all items when leaving masonry mode.
|
|
18923
|
-
*/
|
|
18924
|
-
clearMasonryStyles() {
|
|
18925
|
-
this.getItems().forEach((itemEl) => this.clearItemStyles(itemEl));
|
|
18926
|
-
}
|
|
18927
|
-
/**
|
|
18928
|
-
* Convert a rendered item height to the number of grid rows it should span.
|
|
18929
|
-
* Returns undefined for images that are not fully loaded yet.
|
|
18930
|
-
*/
|
|
18931
|
-
calculateRowSpan(itemEl, rowHeight, rowGap) {
|
|
18932
|
-
if (itemEl instanceof HTMLImageElement && (!itemEl.complete || itemEl.naturalHeight === 0)) {
|
|
18933
|
-
return undefined;
|
|
18934
|
-
}
|
|
18935
|
-
const height = itemEl.getBoundingClientRect().height;
|
|
18936
|
-
const itemStyles = getComputedStyle(itemEl);
|
|
18937
|
-
const marginBottom = parseFloat(itemStyles.getPropertyValue('margin-bottom')) || 0;
|
|
18938
|
-
const denominator = rowHeight + rowGap;
|
|
18939
|
-
if (!denominator || !Number.isFinite(denominator)) {
|
|
18940
|
-
return 1;
|
|
18941
|
-
}
|
|
18942
|
-
return Math.ceil((height + marginBottom + rowGap) / denominator) || 1;
|
|
18943
|
-
}
|
|
18944
|
-
/**
|
|
18945
|
-
* Get the index of the column to position the item in.
|
|
18946
|
-
* When the order is `best-fit`, the column with the shortest height is
|
|
18947
|
-
* returned. Otherwise, items are placed in the column that matches their
|
|
18948
|
-
* natural DOM order.
|
|
18949
|
-
*/
|
|
18950
|
-
getColumnIndex(index, columnHeights, columns) {
|
|
18951
|
-
const { order } = this;
|
|
18952
|
-
if (order === 'best-fit') {
|
|
18953
|
-
let columnIndex = 0;
|
|
18954
|
-
for (let i = 1; i < columns; i++) {
|
|
18955
|
-
if (columnHeights[i] < columnHeights[columnIndex]) {
|
|
18956
|
-
columnIndex = i;
|
|
18957
|
-
}
|
|
18958
|
-
}
|
|
18959
|
-
return columnIndex;
|
|
18960
|
-
}
|
|
18961
|
-
return index % columns;
|
|
18962
|
-
}
|
|
18963
|
-
/**
|
|
18964
|
-
* Apply masonry placement by assigning each item a column and row span.
|
|
18965
|
-
*/
|
|
18966
|
-
layoutMasonry(items, rowHeight, rowGap, columns) {
|
|
18967
|
-
const columnHeights = new Array(columns).fill(0);
|
|
18968
|
-
const lastItemsByColumn = new Array(columns).fill(undefined);
|
|
18969
|
-
items.forEach((itemEl, i) => {
|
|
18970
|
-
itemEl.style.marginBottom = '';
|
|
18971
|
-
const span = this.calculateRowSpan(itemEl, rowHeight, rowGap);
|
|
18972
|
-
if (span === undefined) {
|
|
18973
|
-
this.clearItemStyles(itemEl);
|
|
18974
|
-
return;
|
|
18975
|
-
}
|
|
18976
|
-
const columnIndex = this.getColumnIndex(i, columnHeights, columns);
|
|
18977
|
-
const start = columnHeights[columnIndex] + 1;
|
|
18978
|
-
itemEl.style.gridColumn = `${columnIndex + 1}`;
|
|
18979
|
-
itemEl.style.gridRowStart = `${start}`;
|
|
18980
|
-
itemEl.style.gridRowEnd = `span ${span}`;
|
|
18981
|
-
columnHeights[columnIndex] = start + span - 1;
|
|
18982
|
-
lastItemsByColumn[columnIndex] = itemEl;
|
|
18983
|
-
});
|
|
18984
|
-
// Remove trailing space from the final item in each column while preserving
|
|
18985
|
-
// spacing between all non-final items.
|
|
18986
|
-
lastItemsByColumn.forEach((itemEl) => {
|
|
18987
|
-
if (itemEl === undefined) {
|
|
18988
|
-
return;
|
|
18989
|
-
}
|
|
18990
|
-
itemEl.style.marginBottom = '0px';
|
|
18991
|
-
const spanWithoutTrailingGap = this.calculateRowSpan(itemEl, rowHeight, rowGap);
|
|
18992
|
-
if (spanWithoutTrailingGap === undefined) {
|
|
18993
|
-
this.clearItemStyles(itemEl);
|
|
18994
|
-
return;
|
|
18995
|
-
}
|
|
18996
|
-
itemEl.style.gridRowEnd = `span ${spanWithoutTrailingGap}`;
|
|
18997
|
-
});
|
|
18998
|
-
}
|
|
18999
|
-
render() {
|
|
19000
|
-
const { layout, order } = this;
|
|
19001
|
-
const theme = getIonTheme(this);
|
|
19002
|
-
return (hAsync(Host, { key: '77cd21eada2c24092cc551d4e647582c820f05d9', class: {
|
|
19003
|
-
[theme]: true,
|
|
19004
|
-
[`gallery-layout-${layout}`]: true,
|
|
19005
|
-
[`gallery-order-${order}`]: layout === 'masonry',
|
|
19006
|
-
} }, hAsync("slot", { key: 'fa311652848a526a7629476afb963bf3e68455c4', onSlotchange: this.onSlotChange })));
|
|
19007
|
-
}
|
|
19008
|
-
get el() { return getElement(this); }
|
|
19009
|
-
static get watchers() { return {
|
|
19010
|
-
"layout": [{
|
|
19011
|
-
"layoutChanged": 0
|
|
19012
|
-
}],
|
|
19013
|
-
"order": [{
|
|
19014
|
-
"layoutChanged": 0
|
|
19015
|
-
}],
|
|
19016
|
-
"columns": [{
|
|
19017
|
-
"layoutChanged": 0
|
|
19018
|
-
}]
|
|
19019
|
-
}; }
|
|
19020
|
-
static get style() { return galleryCss(); }
|
|
19021
|
-
static get cmpMeta() { return {
|
|
19022
|
-
"$flags$": 265,
|
|
19023
|
-
"$tagName$": "ion-gallery",
|
|
19024
|
-
"$members$": {
|
|
19025
|
-
"layout": [513],
|
|
19026
|
-
"order": [513],
|
|
19027
|
-
"columns": [8]
|
|
19028
|
-
},
|
|
19029
|
-
"$listeners$": [[2, "load", "onChildLoad"]],
|
|
19030
|
-
"$lazyBundleId$": "-",
|
|
19031
|
-
"$attrsToReflect$": [["layout", "layout"], ["order", "order"]]
|
|
19032
|
-
}; }
|
|
19033
|
-
}
|
|
19034
|
-
|
|
19035
18676
|
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}`;
|
|
19036
18677
|
|
|
19037
18678
|
/**
|
|
@@ -19048,10 +18689,10 @@ class Grid {
|
|
|
19048
18689
|
}
|
|
19049
18690
|
render() {
|
|
19050
18691
|
const theme = getIonTheme(this);
|
|
19051
|
-
return (hAsync(Host, { key: '
|
|
18692
|
+
return (hAsync(Host, { key: 'cd55886cabaeab57e3b13193381b196bec2f07f8', class: {
|
|
19052
18693
|
[theme]: true,
|
|
19053
18694
|
'grid-fixed': this.fixed,
|
|
19054
|
-
} }, hAsync("slot", { key: '
|
|
18695
|
+
} }, hAsync("slot", { key: 'c9b95999e6a274a8a0c997451c0be45b1304d77b' })));
|
|
19055
18696
|
}
|
|
19056
18697
|
static get style() { return gridCss(); }
|
|
19057
18698
|
static get cmpMeta() { return {
|
|
@@ -19453,7 +19094,7 @@ class Header {
|
|
|
19453
19094
|
const isCondensed = collapse === 'condense';
|
|
19454
19095
|
// banner role must be at top level, so remove role if inside a menu
|
|
19455
19096
|
const roleType = getRoleType(hostContext('ion-menu', this.el), isCondensed, theme);
|
|
19456
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
19097
|
+
return (hAsync(Host, Object.assign({ key: '658d5746920c349cc9fe85666c7215f2edc3c794', role: roleType, class: {
|
|
19457
19098
|
[theme]: true,
|
|
19458
19099
|
// Used internally for styling
|
|
19459
19100
|
[`header-${theme}`]: true,
|
|
@@ -19461,7 +19102,7 @@ class Header {
|
|
|
19461
19102
|
[`header-collapse-${collapse}`]: true,
|
|
19462
19103
|
[`header-translucent-${theme}`]: this.translucent,
|
|
19463
19104
|
['header-divider']: divider,
|
|
19464
|
-
} }, inheritedAttributes), theme !== 'md' && translucent && hAsync("div", { key: '
|
|
19105
|
+
} }, inheritedAttributes), theme !== 'md' && translucent && hAsync("div", { key: '4a1470d86e1aac6f8d545fe01e75b4dce665fb70', class: "header-background" }), hAsync("slot", { key: '3b02661242bda5834c4e13e4eb61bf79b53ba33e' })));
|
|
19465
19106
|
}
|
|
19466
19107
|
get el() { return getElement(this); }
|
|
19467
19108
|
static get style() { return {
|
|
@@ -19812,9 +19453,9 @@ class Img {
|
|
|
19812
19453
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
19813
19454
|
const { draggable } = inheritedAttributes;
|
|
19814
19455
|
const theme = getIonTheme(this);
|
|
19815
|
-
return (hAsync(Host, { key: '
|
|
19456
|
+
return (hAsync(Host, { key: '840d5b29d81222b061ac72168ef6551b5a061e3a', class: {
|
|
19816
19457
|
[theme]: true,
|
|
19817
|
-
} }, hAsync("img", { key: '
|
|
19458
|
+
} }, hAsync("img", { key: 'e22e66ee4bb3a648b21c6080674e68eebf4a3feb', decoding: "async", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: "image", draggable: isDraggable(draggable) })));
|
|
19818
19459
|
}
|
|
19819
19460
|
get el() { return getElement(this); }
|
|
19820
19461
|
static get watchers() { return {
|
|
@@ -20119,7 +19760,7 @@ class InfiniteScroll {
|
|
|
20119
19760
|
render() {
|
|
20120
19761
|
const theme = getIonTheme(this);
|
|
20121
19762
|
const disabled = this.disabled;
|
|
20122
|
-
return (hAsync(Host, { key: '
|
|
19763
|
+
return (hAsync(Host, { key: '22d99824cb589d9024666a3c1ed205f781858eed', class: {
|
|
20123
19764
|
[theme]: true,
|
|
20124
19765
|
'infinite-scroll-loading': this.isLoading,
|
|
20125
19766
|
'infinite-scroll-enabled': !disabled,
|
|
@@ -20182,11 +19823,11 @@ class InfiniteScrollContent {
|
|
|
20182
19823
|
}
|
|
20183
19824
|
render() {
|
|
20184
19825
|
const theme = getIonTheme(this);
|
|
20185
|
-
return (hAsync(Host, { key: '
|
|
19826
|
+
return (hAsync(Host, { key: 'e94d19f17ef9d4d77786716152e3206366feb546', class: {
|
|
20186
19827
|
[theme]: true,
|
|
20187
19828
|
// Used internally for styling
|
|
20188
19829
|
[`infinite-scroll-content-${theme}`]: true,
|
|
20189
|
-
} }, hAsync("div", { key: '
|
|
19830
|
+
} }, 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())));
|
|
20190
19831
|
}
|
|
20191
19832
|
static get style() { return {
|
|
20192
19833
|
ionic: ionicInfiniteScrollContentMdCss(),
|
|
@@ -20934,7 +20575,7 @@ class Input {
|
|
|
20934
20575
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
20935
20576
|
*/
|
|
20936
20577
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
20937
|
-
return (hAsync(Host, { key: '
|
|
20578
|
+
return (hAsync(Host, { key: 'd62741432c3e1421d69fdf2ed2e8058a1ce3544f', class: createColorClasses$1(this.color, {
|
|
20938
20579
|
[theme]: true,
|
|
20939
20580
|
'has-value': hasValue,
|
|
20940
20581
|
'has-focus': hasFocus,
|
|
@@ -20947,7 +20588,7 @@ class Input {
|
|
|
20947
20588
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
20948
20589
|
'input-disabled': disabled,
|
|
20949
20590
|
'input-readonly': readonly,
|
|
20950
|
-
}) }, hAsync("label", { key: '
|
|
20591
|
+
}) }, hAsync("label", { key: '9707227d9eb977e0983c78757af20219eb1651c6', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), hAsync("div", { key: '8bc5197ecb665e268668137844f122b74f69cc2d', class: "native-wrapper", onClick: this.onLabelClick },
|
|
20951
20592
|
/**
|
|
20952
20593
|
* For the ionic theme, we render the outline container here
|
|
20953
20594
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -20957,14 +20598,14 @@ class Input {
|
|
|
20957
20598
|
* <label> element, ensuring that clicking the label text
|
|
20958
20599
|
* focuses the input.
|
|
20959
20600
|
*/
|
|
20960
|
-
theme === 'ionic' && hAsync("div", { key: '
|
|
20601
|
+
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) => {
|
|
20961
20602
|
/**
|
|
20962
20603
|
* This prevents mobile browsers from
|
|
20963
20604
|
* blurring the input when the clear
|
|
20964
20605
|
* button is activated.
|
|
20965
20606
|
*/
|
|
20966
20607
|
ev.preventDefault();
|
|
20967
|
-
}, onClick: this.clearTextInput }, hAsync("ion-icon", { key: '
|
|
20608
|
+
}, 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()));
|
|
20968
20609
|
}
|
|
20969
20610
|
get el() { return getElement(this); }
|
|
20970
20611
|
static get watchers() { return {
|
|
@@ -21729,7 +21370,7 @@ class InputOTP {
|
|
|
21729
21370
|
const tabbableIndex = this.getTabbableIndex();
|
|
21730
21371
|
const pattern = this.getPattern();
|
|
21731
21372
|
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()) !== '';
|
|
21732
|
-
return (hAsync(Host, { key: '
|
|
21373
|
+
return (hAsync(Host, { key: 'aee59cdba3f3c3783519cf114c668ae92f74fcef', class: createColorClasses$1(color, {
|
|
21733
21374
|
[mode]: true,
|
|
21734
21375
|
'has-focus': hasFocus,
|
|
21735
21376
|
[`input-otp-size-${size}`]: true,
|
|
@@ -21737,10 +21378,10 @@ class InputOTP {
|
|
|
21737
21378
|
[`input-otp-fill-${fill}`]: true,
|
|
21738
21379
|
'input-otp-disabled': disabled,
|
|
21739
21380
|
'input-otp-readonly': readonly,
|
|
21740
|
-
}) }, hAsync("div", Object.assign({ key: '
|
|
21381
|
+
}) }, 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: {
|
|
21741
21382
|
'input-otp-description': true,
|
|
21742
21383
|
'input-otp-description-hidden': !hasDescription,
|
|
21743
|
-
}, part: "description" }, hAsync("slot", { key: '
|
|
21384
|
+
}, part: "description" }, hAsync("slot", { key: '9fd331ceff04ab93f8d4aec251565cc201f19294' }))));
|
|
21744
21385
|
}
|
|
21745
21386
|
static get formAssociated() { return true; }
|
|
21746
21387
|
get el() { return getElement(this); }
|
|
@@ -21888,16 +21529,16 @@ class InputPasswordToggle {
|
|
|
21888
21529
|
const { color, inputPasswordHideIcon, inputPasswordShowIcon, type } = this;
|
|
21889
21530
|
const mode = getIonMode$1(this);
|
|
21890
21531
|
const isPasswordVisible = type === 'text';
|
|
21891
|
-
return (hAsync(Host, { key: '
|
|
21532
|
+
return (hAsync(Host, { key: 'e3c21d5bedebeadb57c0c9b7f065d15ab0d49e4a', class: createColorClasses$1(color, {
|
|
21892
21533
|
[mode]: true,
|
|
21893
|
-
}) }, hAsync("ion-button", { key: '
|
|
21534
|
+
}) }, 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) => {
|
|
21894
21535
|
/**
|
|
21895
21536
|
* This prevents mobile browsers from
|
|
21896
21537
|
* blurring the input when the password toggle
|
|
21897
21538
|
* button is activated.
|
|
21898
21539
|
*/
|
|
21899
21540
|
ev.preventDefault();
|
|
21900
|
-
}, onClick: this.togglePasswordVisibility }, hAsync("ion-icon", { key: '
|
|
21541
|
+
}, onClick: this.togglePasswordVisibility }, hAsync("ion-icon", { key: 'af9a7e202fe0b3f75f10b3e13bf1e5fb653194d1', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? inputPasswordHideIcon : inputPasswordShowIcon }))));
|
|
21901
21542
|
}
|
|
21902
21543
|
get el() { return getElement(this); }
|
|
21903
21544
|
static get watchers() { return {
|
|
@@ -22272,11 +21913,11 @@ class ItemDivider {
|
|
|
22272
21913
|
}
|
|
22273
21914
|
render() {
|
|
22274
21915
|
const theme = getIonTheme(this);
|
|
22275
|
-
return (hAsync(Host, { key: '
|
|
21916
|
+
return (hAsync(Host, { key: '4d481e6233a75f3c3042b5825d9c14fe77280f03', class: createColorClasses$1(this.color, {
|
|
22276
21917
|
[theme]: true,
|
|
22277
21918
|
'item-divider-sticky': this.sticky,
|
|
22278
21919
|
item: true,
|
|
22279
|
-
}) }, hAsync("slot", { key: '
|
|
21920
|
+
}) }, 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" }))));
|
|
22280
21921
|
}
|
|
22281
21922
|
get el() { return getElement(this); }
|
|
22282
21923
|
static get style() { return {
|
|
@@ -22313,7 +21954,7 @@ class ItemGroup {
|
|
|
22313
21954
|
}
|
|
22314
21955
|
render() {
|
|
22315
21956
|
const theme = getIonTheme(this);
|
|
22316
|
-
return (hAsync(Host, { key: '
|
|
21957
|
+
return (hAsync(Host, { key: '3fb0784b321736344604e259cfb05c6307159bed', role: "group", class: {
|
|
22317
21958
|
[theme]: true,
|
|
22318
21959
|
// Used internally for styling
|
|
22319
21960
|
[`item-group-${theme}`]: true,
|
|
@@ -22409,14 +22050,14 @@ class ItemOption {
|
|
|
22409
22050
|
href: this.href,
|
|
22410
22051
|
target: this.target,
|
|
22411
22052
|
};
|
|
22412
|
-
return (hAsync(Host, { key: '
|
|
22053
|
+
return (hAsync(Host, { key: '810fe351aa83d6e88cb0e2ebee307b3050e65b45', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
22413
22054
|
[theme]: true,
|
|
22414
22055
|
[`item-option-${shape}`]: shape !== undefined,
|
|
22415
22056
|
[`item-option-${hue}`]: hue !== undefined,
|
|
22416
22057
|
'item-option-disabled': disabled,
|
|
22417
22058
|
'item-option-expandable': expandable,
|
|
22418
22059
|
'ion-activatable': true,
|
|
22419
|
-
}) }, hAsync(TagType, Object.assign({ key: '
|
|
22060
|
+
}) }, 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' }))));
|
|
22420
22061
|
}
|
|
22421
22062
|
get el() { return getElement(this); }
|
|
22422
22063
|
static get style() { return {
|
|
@@ -22474,7 +22115,7 @@ class ItemOptions {
|
|
|
22474
22115
|
render() {
|
|
22475
22116
|
const theme = getIonTheme(this);
|
|
22476
22117
|
const isEnd = isEndSide(this.side);
|
|
22477
|
-
return (hAsync(Host, { key: '
|
|
22118
|
+
return (hAsync(Host, { key: 'cc55282505679d51fb90ebf30869e930c71afbd4', class: {
|
|
22478
22119
|
[theme]: true,
|
|
22479
22120
|
// Used internally for styling
|
|
22480
22121
|
[`item-options-${theme}`]: true,
|
|
@@ -23080,7 +22721,7 @@ class ItemSliding {
|
|
|
23080
22721
|
}
|
|
23081
22722
|
render() {
|
|
23082
22723
|
const theme = getIonTheme(this);
|
|
23083
|
-
return (hAsync(Host, { key: '
|
|
22724
|
+
return (hAsync(Host, { key: 'c945f30d9f7deb90d22064d4059e2b08f35614be', class: {
|
|
23084
22725
|
[theme]: true,
|
|
23085
22726
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
23086
22727
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -23195,13 +22836,13 @@ class Label {
|
|
|
23195
22836
|
render() {
|
|
23196
22837
|
const position = this.position;
|
|
23197
22838
|
const theme = getIonTheme(this);
|
|
23198
|
-
return (hAsync(Host, { key: '
|
|
22839
|
+
return (hAsync(Host, { key: 'd730045c08ba576082563398ab51fc903577d214', class: createColorClasses$1(this.color, {
|
|
23199
22840
|
[theme]: true,
|
|
23200
22841
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
23201
22842
|
[`label-${position}`]: position !== undefined,
|
|
23202
22843
|
[`label-no-animate`]: this.noAnimate,
|
|
23203
22844
|
'label-rtl': document.dir === 'rtl',
|
|
23204
|
-
}) }, hAsync("slot", { key: '
|
|
22845
|
+
}) }, hAsync("slot", { key: '604289ef567339c83fb409371224906819a9d7cc' })));
|
|
23205
22846
|
}
|
|
23206
22847
|
get el() { return getElement(this); }
|
|
23207
22848
|
static get watchers() { return {
|
|
@@ -23281,7 +22922,7 @@ class List {
|
|
|
23281
22922
|
const theme = getIonTheme(this);
|
|
23282
22923
|
const shape = this.getShape();
|
|
23283
22924
|
const { lines, inset } = this;
|
|
23284
|
-
return (hAsync(Host, { key: '
|
|
22925
|
+
return (hAsync(Host, { key: 'dcdfb595a6b45307f9810e1ded25ba635c947940', role: "list", class: {
|
|
23285
22926
|
[theme]: true,
|
|
23286
22927
|
// Used internally for styling
|
|
23287
22928
|
[`list-${theme}`]: true,
|
|
@@ -23331,10 +22972,10 @@ class ListHeader {
|
|
|
23331
22972
|
render() {
|
|
23332
22973
|
const { lines } = this;
|
|
23333
22974
|
const theme = getIonTheme(this);
|
|
23334
|
-
return (hAsync(Host, { key: '
|
|
22975
|
+
return (hAsync(Host, { key: '0be4fb7d4f9cd6f50229cf7b361c74e94fbfce91', class: createColorClasses$1(this.color, {
|
|
23335
22976
|
[theme]: true,
|
|
23336
22977
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
23337
|
-
}) }, hAsync("div", { key: '
|
|
22978
|
+
}) }, hAsync("div", { key: '4dcc3374685728ae9270d8d58b1ea1c08b0bbc08', class: "list-header-inner", part: "inner" }, hAsync("slot", { key: '5658cc9185680bfa96328685d817b84b18e9ab5a' }))));
|
|
23338
22979
|
}
|
|
23339
22980
|
static get style() { return {
|
|
23340
22981
|
ionic: listHeaderIonicCss(),
|
|
@@ -23623,9 +23264,9 @@ class Loading {
|
|
|
23623
23264
|
* Otherwise, don't set aria-labelledby.
|
|
23624
23265
|
*/
|
|
23625
23266
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
23626
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
23267
|
+
return (hAsync(Host, Object.assign({ key: '0c475f8e28e680e28e09317557795fc56e0835d8', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
23627
23268
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
23628
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: '
|
|
23269
|
+
}, 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" })));
|
|
23629
23270
|
}
|
|
23630
23271
|
get el() { return getElement(this); }
|
|
23631
23272
|
static get watchers() { return {
|
|
@@ -24686,14 +24327,14 @@ class Menu {
|
|
|
24686
24327
|
* the ionBackButton listener in the menu controller
|
|
24687
24328
|
* will handle closing the menu when Escape is pressed.
|
|
24688
24329
|
*/
|
|
24689
|
-
return (hAsync(Host, { key: '
|
|
24330
|
+
return (hAsync(Host, { key: '12bd2c4e9aa2f314ffc45d7f43290bd9910ca8b0', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
24690
24331
|
[theme]: true,
|
|
24691
24332
|
[`menu-type-${type}`]: true,
|
|
24692
24333
|
'menu-enabled': !disabled,
|
|
24693
24334
|
[`menu-side-${side}`]: true,
|
|
24694
24335
|
'menu-pane-visible': isPaneVisible,
|
|
24695
24336
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
24696
|
-
} }, hAsync("div", { key: '
|
|
24337
|
+
} }, 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" })));
|
|
24697
24338
|
}
|
|
24698
24339
|
get el() { return getElement(this); }
|
|
24699
24340
|
static get watchers() { return {
|
|
@@ -24827,7 +24468,7 @@ class MenuButton {
|
|
|
24827
24468
|
type: this.type,
|
|
24828
24469
|
};
|
|
24829
24470
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
24830
|
-
return (hAsync(Host, { key: '
|
|
24471
|
+
return (hAsync(Host, { key: '206b8482b58e7ee49ea89393a15e9cf30578297b', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses$1(color, {
|
|
24831
24472
|
[theme]: true,
|
|
24832
24473
|
button: true, // ion-buttons target .button
|
|
24833
24474
|
'menu-button-hidden': hidden,
|
|
@@ -24836,7 +24477,7 @@ class MenuButton {
|
|
|
24836
24477
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
24837
24478
|
'ion-activatable': true,
|
|
24838
24479
|
'ion-focusable': true,
|
|
24839
|
-
}) }, hAsync("button", Object.assign({ key: '
|
|
24480
|
+
}) }, 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" }))));
|
|
24840
24481
|
}
|
|
24841
24482
|
get el() { return getElement(this); }
|
|
24842
24483
|
static get style() { return {
|
|
@@ -24893,10 +24534,10 @@ class MenuToggle {
|
|
|
24893
24534
|
render() {
|
|
24894
24535
|
const theme = getIonTheme(this);
|
|
24895
24536
|
const hidden = this.autoHide && !this.visible;
|
|
24896
|
-
return (hAsync(Host, { key: '
|
|
24537
|
+
return (hAsync(Host, { key: 'c3ddce789a90d720769919ebf854d05cc75f599e', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
24897
24538
|
[theme]: true,
|
|
24898
24539
|
'menu-toggle-hidden': hidden,
|
|
24899
|
-
} }, hAsync("slot", { key: '
|
|
24540
|
+
} }, hAsync("slot", { key: 'f1334ba9d20148b673a0b6185ab5ef92f448f720' })));
|
|
24900
24541
|
}
|
|
24901
24542
|
static get style() { return menuToggleCss(); }
|
|
24902
24543
|
static get cmpMeta() { return {
|
|
@@ -28399,20 +28040,20 @@ class Modal {
|
|
|
28399
28040
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
28400
28041
|
const shape = this.getShape();
|
|
28401
28042
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
28402
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
28043
|
+
return (hAsync(Host, Object.assign({ key: 'e4b82f87c76d3ad5aae7794c4c882e6c95ef7c97', "no-router": true,
|
|
28403
28044
|
// Allow the modal to be navigable when the handle is focusable
|
|
28404
28045
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
28405
28046
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
28406
|
-
}, 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: '
|
|
28047
|
+
}, 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',
|
|
28407
28048
|
/*
|
|
28408
28049
|
role and aria-modal must be used on the
|
|
28409
28050
|
same element. They must also be set inside the
|
|
28410
28051
|
shadow DOM otherwise ion-button will not be highlighted
|
|
28411
28052
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
28412
28053
|
*/
|
|
28413
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: '
|
|
28054
|
+
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",
|
|
28414
28055
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
28415
|
-
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: '
|
|
28056
|
+
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 }))));
|
|
28416
28057
|
}
|
|
28417
28058
|
get el() { return getElement(this); }
|
|
28418
28059
|
static get watchers() { return {
|
|
@@ -29372,7 +29013,7 @@ class Nav {
|
|
|
29372
29013
|
}
|
|
29373
29014
|
}
|
|
29374
29015
|
render() {
|
|
29375
|
-
return hAsync("slot", { key: '
|
|
29016
|
+
return hAsync("slot", { key: 'd6dd0b1e0ba59381a139f4a49de3eb8351fa87a4' });
|
|
29376
29017
|
}
|
|
29377
29018
|
get el() { return getElement(this); }
|
|
29378
29019
|
static get watchers() { return {
|
|
@@ -29453,7 +29094,7 @@ class NavLink {
|
|
|
29453
29094
|
};
|
|
29454
29095
|
}
|
|
29455
29096
|
render() {
|
|
29456
|
-
return hAsync(Host, { key: '
|
|
29097
|
+
return hAsync(Host, { key: '61246716bdf9556db90e07680bc1a289f9658d5c', onClick: this.onClick });
|
|
29457
29098
|
}
|
|
29458
29099
|
get el() { return getElement(this); }
|
|
29459
29100
|
static get cmpMeta() { return {
|
|
@@ -29487,9 +29128,9 @@ class Note {
|
|
|
29487
29128
|
}
|
|
29488
29129
|
render() {
|
|
29489
29130
|
const theme = getIonTheme(this);
|
|
29490
|
-
return (hAsync(Host, { key: '
|
|
29131
|
+
return (hAsync(Host, { key: 'a8470df6b8fb8ca327a282fc23705bc230f13a40', class: createColorClasses$1(this.color, {
|
|
29491
29132
|
[theme]: true,
|
|
29492
|
-
}) }, hAsync("slot", { key: '
|
|
29133
|
+
}) }, hAsync("slot", { key: '07cbdef68f010b06638f359f70dff3f1d659d899' })));
|
|
29493
29134
|
}
|
|
29494
29135
|
static get style() { return {
|
|
29495
29136
|
ionic: ionicNoteMdCss(),
|
|
@@ -30255,11 +29896,11 @@ class Picker {
|
|
|
30255
29896
|
render() {
|
|
30256
29897
|
const { htmlAttributes } = this;
|
|
30257
29898
|
const theme = getIonTheme(this);
|
|
30258
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
29899
|
+
return (hAsync(Host, Object.assign({ key: 'efcc823fad9cb37c1379bef4f4b84c6461f3a3a6', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
30259
29900
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
30260
29901
|
}, class: Object.assign({ [theme]: true,
|
|
30261
29902
|
// Used internally for styling
|
|
30262
|
-
[`picker-${theme}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: '
|
|
29903
|
+
[`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" })));
|
|
30263
29904
|
}
|
|
30264
29905
|
get el() { return getElement(this); }
|
|
30265
29906
|
static get watchers() { return {
|
|
@@ -31237,9 +30878,9 @@ class PickerColumnCmp {
|
|
|
31237
30878
|
render() {
|
|
31238
30879
|
const col = this.col;
|
|
31239
30880
|
const theme = getIonTheme(this);
|
|
31240
|
-
return (hAsync(Host, { key: '
|
|
30881
|
+
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: {
|
|
31241
30882
|
'max-width': this.col.columnWidth,
|
|
31242
|
-
} }, col.prefix && (hAsync("div", { key: '
|
|
30883
|
+
} }, 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))));
|
|
31243
30884
|
}
|
|
31244
30885
|
get el() { return getElement(this); }
|
|
31245
30886
|
static get watchers() { return {
|
|
@@ -31364,10 +31005,10 @@ class PickerColumnOption {
|
|
|
31364
31005
|
render() {
|
|
31365
31006
|
const { color, disabled, ariaLabel } = this;
|
|
31366
31007
|
const theme = getIonTheme(this);
|
|
31367
|
-
return (hAsync(Host, { key: '
|
|
31008
|
+
return (hAsync(Host, { key: '9ceebae71b6df0b01f36691d82d716f6756625d9', class: createColorClasses$1(color, {
|
|
31368
31009
|
[theme]: true,
|
|
31369
31010
|
['option-disabled']: disabled,
|
|
31370
|
-
}) }, hAsync("div", { key: '
|
|
31011
|
+
}) }, hAsync("div", { key: '1f26246d601779dadfaf055d195e2a4959180f5a', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, hAsync("slot", { key: 'eed413474a8b7ec7a73da27fa72a2d0a9a2aae2b' }))));
|
|
31371
31012
|
}
|
|
31372
31013
|
get el() { return getElement(this); }
|
|
31373
31014
|
static get watchers() { return {
|
|
@@ -32936,9 +32577,9 @@ class Popover {
|
|
|
32936
32577
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
32937
32578
|
const desktop = isPlatform('desktop');
|
|
32938
32579
|
const enableArrow = arrow && !parentPopover;
|
|
32939
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
32580
|
+
return (hAsync(Host, Object.assign({ key: 'ba8801218aa8543eae0e8e2c57fbd0d4fbb2c8ff', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
32940
32581
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
32941
|
-
}, 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: '
|
|
32582
|
+
}, 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' })))));
|
|
32942
32583
|
}
|
|
32943
32584
|
get el() { return getElement(this); }
|
|
32944
32585
|
static get watchers() { return {
|
|
@@ -33066,7 +32707,7 @@ class ProgressBar {
|
|
|
33066
32707
|
const shape = this.getShape();
|
|
33067
32708
|
// If the progress is displayed as a solid bar.
|
|
33068
32709
|
const progressSolid = buffer === 1;
|
|
33069
|
-
return (hAsync(Host, { key: '
|
|
32710
|
+
return (hAsync(Host, { key: '9adef68c31bdf39d48199e01587f8d5295d4c6af', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses$1(color, {
|
|
33070
32711
|
[theme]: true,
|
|
33071
32712
|
[`progress-bar-${type}`]: true,
|
|
33072
32713
|
'progress-paused': paused,
|
|
@@ -33259,7 +32900,7 @@ class Radio {
|
|
|
33259
32900
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
33260
32901
|
const theme = getIonTheme(this);
|
|
33261
32902
|
const inItem = hostContext('ion-item', el);
|
|
33262
|
-
return (hAsync(Host, { key: '
|
|
32903
|
+
return (hAsync(Host, { key: '19cc76c559551a34e4968f4902709be6f104dede', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses$1(color, {
|
|
33263
32904
|
[theme]: true,
|
|
33264
32905
|
'in-item': inItem,
|
|
33265
32906
|
'radio-checked': checked,
|
|
@@ -33270,10 +32911,10 @@ class Radio {
|
|
|
33270
32911
|
// Focus and active styling should not apply when the radio is in an item
|
|
33271
32912
|
'ion-activatable': !inItem,
|
|
33272
32913
|
'ion-focusable': !inItem,
|
|
33273
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, hAsync("label", { key: '
|
|
32914
|
+
}), 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: {
|
|
33274
32915
|
'label-text-wrapper': true,
|
|
33275
32916
|
'label-text-wrapper-hidden': !hasLabel,
|
|
33276
|
-
}, part: "label" }, hAsync("slot", { key: '
|
|
32917
|
+
}, part: "label" }, hAsync("slot", { key: 'f06b9b57e1c2d66d3eb6790ca30f4d5e85d0d264' })), hAsync("div", { key: '780fc11778f5661d95e60c6cd72a9ed78910b889', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
33277
32918
|
}
|
|
33278
32919
|
get el() { return getElement(this); }
|
|
33279
32920
|
static get watchers() { return {
|
|
@@ -33543,10 +33184,10 @@ class RadioGroup {
|
|
|
33543
33184
|
const { label, labelId, el, name, value } = this;
|
|
33544
33185
|
const theme = getIonTheme(this);
|
|
33545
33186
|
renderHiddenInput(true, el, name, value, false);
|
|
33546
|
-
return (hAsync(Host, { key: '
|
|
33187
|
+
return (hAsync(Host, { key: '39246fbf1f1e3a6ba27dd715f030445d4434999b', class: {
|
|
33547
33188
|
[theme]: true,
|
|
33548
33189
|
'in-list': hostContext('ion-list', el),
|
|
33549
|
-
}, 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: '
|
|
33190
|
+
}, 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' })));
|
|
33550
33191
|
}
|
|
33551
33192
|
get el() { return getElement(this); }
|
|
33552
33193
|
static get watchers() { return {
|
|
@@ -34396,7 +34037,7 @@ class Range {
|
|
|
34396
34037
|
const valueAtMin = dualKnobs ? this.valA === min || this.valB === min : this.valA === min;
|
|
34397
34038
|
const valueAtMax = dualKnobs ? this.valA === max || this.valB === max : this.valA === max;
|
|
34398
34039
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
34399
|
-
return (hAsync(Host, { key: '
|
|
34040
|
+
return (hAsync(Host, { key: '1b8ca217fa6965fc038fb4ca8f0bc9142b3893ad', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses$1(this.color, {
|
|
34400
34041
|
[theme]: true,
|
|
34401
34042
|
'in-item': inItem,
|
|
34402
34043
|
'range-disabled': disabled,
|
|
@@ -34410,10 +34051,10 @@ class Range {
|
|
|
34410
34051
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
34411
34052
|
'range-value-min': valueAtMin,
|
|
34412
34053
|
'range-value-max': valueAtMax,
|
|
34413
|
-
}) }, hAsync("label", { key: '
|
|
34054
|
+
}) }, hAsync("label", { key: '98b02130c9bb5a9ba6557be28f1ac09be0d10806', class: "range-wrapper", id: "range-label" }, hAsync("div", { key: '570083103b51b335c805672918d69e997dc30e66', class: {
|
|
34414
34055
|
'label-text-wrapper': true,
|
|
34415
34056
|
'label-text-wrapper-hidden': !hasLabel,
|
|
34416
|
-
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '
|
|
34057
|
+
}, 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" })))));
|
|
34417
34058
|
}
|
|
34418
34059
|
get el() { return getElement(this); }
|
|
34419
34060
|
static get watchers() { return {
|
|
@@ -35488,7 +35129,7 @@ class Refresher {
|
|
|
35488
35129
|
}
|
|
35489
35130
|
render() {
|
|
35490
35131
|
const theme = getIonTheme(this);
|
|
35491
|
-
return (hAsync(Host, { key: '
|
|
35132
|
+
return (hAsync(Host, { key: '0be6aed52363cda66f8324ddfb9b0aeda92ce0bf', slot: "fixed", class: {
|
|
35492
35133
|
[theme]: true,
|
|
35493
35134
|
// Used internally for styling
|
|
35494
35135
|
[`refresher-${theme}`]: true,
|
|
@@ -35727,9 +35368,9 @@ class RefresherContent {
|
|
|
35727
35368
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
35728
35369
|
const theme = getIonTheme(this);
|
|
35729
35370
|
const arrowIcon = theme === 'ionic' ? caretLeftFillSvg : caretBackSharp;
|
|
35730
|
-
return (hAsync(Host, { key: '
|
|
35371
|
+
return (hAsync(Host, { key: '3a3a3fb44f8397bb8e5019b51254ada8c26ae371', class: {
|
|
35731
35372
|
[theme]: true,
|
|
35732
|
-
} }, hAsync("div", { key: '
|
|
35373
|
+
} }, 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())));
|
|
35733
35374
|
}
|
|
35734
35375
|
get el() { return getElement(this); }
|
|
35735
35376
|
static get style() { return {
|
|
@@ -35798,9 +35439,9 @@ class Reorder {
|
|
|
35798
35439
|
render() {
|
|
35799
35440
|
const { reorderHandleIcon } = this;
|
|
35800
35441
|
const theme = getIonTheme(this);
|
|
35801
|
-
return (hAsync(Host, { key: '
|
|
35442
|
+
return (hAsync(Host, { key: 'ba59a095c200b70c6d847dc7362d52b315dc853a', class: {
|
|
35802
35443
|
[theme]: true,
|
|
35803
|
-
} }, hAsync("slot", { key: '
|
|
35444
|
+
} }, hAsync("slot", { key: '79be263f78cc21c9c4f91326e557e65849ab1e51' }, hAsync("ion-icon", { key: '6e5c47c8bbd33f5cd405a5fd531831cb87c8e57e', icon: reorderHandleIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
35804
35445
|
}
|
|
35805
35446
|
get el() { return getElement(this); }
|
|
35806
35447
|
static get style() { return {
|
|
@@ -36076,7 +35717,7 @@ class ReorderGroup {
|
|
|
36076
35717
|
}
|
|
36077
35718
|
render() {
|
|
36078
35719
|
const theme = getIonTheme(this);
|
|
36079
|
-
return (hAsync(Host, { key: '
|
|
35720
|
+
return (hAsync(Host, { key: 'df12858536c409c76552fe79b88827b3c4a5d9c5', class: {
|
|
36080
35721
|
[theme]: true,
|
|
36081
35722
|
'reorder-enabled': !this.disabled,
|
|
36082
35723
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -36202,7 +35843,7 @@ class RippleEffect {
|
|
|
36202
35843
|
}
|
|
36203
35844
|
render() {
|
|
36204
35845
|
const theme = getIonTheme(this);
|
|
36205
|
-
return (hAsync(Host, { key: '
|
|
35846
|
+
return (hAsync(Host, { key: '502ce1841747f255dfab542914bebd0d0f4ae9bd', role: "presentation", class: {
|
|
36206
35847
|
[theme]: true,
|
|
36207
35848
|
unbounded: this.unbounded,
|
|
36208
35849
|
} }));
|
|
@@ -37187,10 +36828,10 @@ class RouterLink {
|
|
|
37187
36828
|
rel: this.rel,
|
|
37188
36829
|
target: this.target,
|
|
37189
36830
|
};
|
|
37190
|
-
return (hAsync(Host, { key: '
|
|
36831
|
+
return (hAsync(Host, { key: '518b86cf40eb95e03f75a20ff44fff804ac8ec4d', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
37191
36832
|
[theme]: true,
|
|
37192
36833
|
'ion-activatable': true,
|
|
37193
|
-
}) }, hAsync("a", Object.assign({ key: '
|
|
36834
|
+
}) }, hAsync("a", Object.assign({ key: 'dbf3cc12752b4fa2d3873723a8ea5a30b053d261' }, attrs), hAsync("slot", { key: '9614e46a8d35201937f1f9a39b88f71b78efa7a0' }))));
|
|
37194
36835
|
}
|
|
37195
36836
|
static get style() { return routerLinkCss(); }
|
|
37196
36837
|
static get cmpMeta() { return {
|
|
@@ -37390,7 +37031,7 @@ class RouterOutlet {
|
|
|
37390
37031
|
return true;
|
|
37391
37032
|
}
|
|
37392
37033
|
render() {
|
|
37393
|
-
return hAsync("slot", { key: '
|
|
37034
|
+
return hAsync("slot", { key: '3f107f085a977b4d27c7266771a9564e3219f736' });
|
|
37394
37035
|
}
|
|
37395
37036
|
get el() { return getElement(this); }
|
|
37396
37037
|
static get watchers() { return {
|
|
@@ -37430,9 +37071,9 @@ class Row {
|
|
|
37430
37071
|
}
|
|
37431
37072
|
render() {
|
|
37432
37073
|
const theme = getIonTheme(this);
|
|
37433
|
-
return (hAsync(Host, { key: '
|
|
37074
|
+
return (hAsync(Host, { key: '6f5dd5032485a69ddf9510e2e539a7ba90afda47', class: {
|
|
37434
37075
|
[theme]: true,
|
|
37435
|
-
} }, hAsync("slot", { key: '
|
|
37076
|
+
} }, hAsync("slot", { key: '994dcbbc871d606b61ff5993fb29aa1fa349c483' })));
|
|
37436
37077
|
}
|
|
37437
37078
|
static get style() { return rowCss(); }
|
|
37438
37079
|
static get cmpMeta() { return {
|
|
@@ -37991,8 +37632,8 @@ class Searchbar {
|
|
|
37991
37632
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
37992
37633
|
const shape = this.getShape();
|
|
37993
37634
|
const size = this.getSize();
|
|
37994
|
-
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '
|
|
37995
|
-
return (hAsync(Host, { key: '
|
|
37635
|
+
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))));
|
|
37636
|
+
return (hAsync(Host, { key: 'e6af154631381ee0549c5d1d39577a86b8ae7b3f', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses$1(this.color, {
|
|
37996
37637
|
[theme]: true,
|
|
37997
37638
|
'searchbar-animated': animated,
|
|
37998
37639
|
'searchbar-disabled': this.disabled,
|
|
@@ -38006,14 +37647,14 @@ class Searchbar {
|
|
|
38006
37647
|
[`searchbar-shape-${shape}`]: shape !== undefined,
|
|
38007
37648
|
[`searchbar-size-${size}`]: size !== undefined,
|
|
38008
37649
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
38009
|
-
}) }, hAsync("div", { key: '
|
|
37650
|
+
}) }, 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) => {
|
|
38010
37651
|
/**
|
|
38011
37652
|
* This prevents mobile browsers from
|
|
38012
37653
|
* blurring the input when the clear
|
|
38013
37654
|
* button is activated.
|
|
38014
37655
|
*/
|
|
38015
37656
|
ev.preventDefault();
|
|
38016
|
-
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: '
|
|
37657
|
+
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: 'f60f21ce6f8c3e37d768ff0bd5c69e5797dd77fd', "aria-hidden": "true", icon: searchbarClearIcon, lazy: false, class: "searchbar-clear-icon" })))), theme === 'ios' && cancelButton));
|
|
38017
37658
|
}
|
|
38018
37659
|
get el() { return getElement(this); }
|
|
38019
37660
|
static get watchers() { return {
|
|
@@ -38624,14 +38265,14 @@ class Segment {
|
|
|
38624
38265
|
}
|
|
38625
38266
|
render() {
|
|
38626
38267
|
const theme = getIonTheme(this);
|
|
38627
|
-
return (hAsync(Host, { key: '
|
|
38268
|
+
return (hAsync(Host, { key: '578d4eb20a89742c8c3cb3109fe62a5fdf87b089', role: "tablist", onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
38628
38269
|
[theme]: true,
|
|
38629
38270
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
38630
38271
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
38631
38272
|
'segment-activated': this.activated,
|
|
38632
38273
|
'segment-disabled': this.disabled,
|
|
38633
38274
|
'segment-scrollable': this.scrollable,
|
|
38634
|
-
}) }, hAsync("slot", { key: '
|
|
38275
|
+
}) }, hAsync("slot", { key: '4b9999c95622773aea0c1bf3d1ab9dc650efb5eb', onSlotchange: this.onSlottedItemsChange })));
|
|
38635
38276
|
}
|
|
38636
38277
|
get el() { return getElement(this); }
|
|
38637
38278
|
static get watchers() { return {
|
|
@@ -38783,7 +38424,7 @@ class SegmentButton {
|
|
|
38783
38424
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
38784
38425
|
const theme = getIonTheme(this);
|
|
38785
38426
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
38786
|
-
return (hAsync(Host, { key: '
|
|
38427
|
+
return (hAsync(Host, { key: '75eeffd15e3581c15f48a0b12cbf5a4229b087d6', class: {
|
|
38787
38428
|
[theme]: true,
|
|
38788
38429
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
38789
38430
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -38799,7 +38440,7 @@ class SegmentButton {
|
|
|
38799
38440
|
'ion-activatable': true,
|
|
38800
38441
|
'ion-activatable-instant': true,
|
|
38801
38442
|
'ion-focusable': true,
|
|
38802
|
-
} }, hAsync("button", Object.assign({ key: '
|
|
38443
|
+
} }, 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" }))));
|
|
38803
38444
|
}
|
|
38804
38445
|
get el() { return getElement(this); }
|
|
38805
38446
|
static get watchers() { return {
|
|
@@ -38837,7 +38478,7 @@ class SegmentContent {
|
|
|
38837
38478
|
registerInstance(this, hostRef);
|
|
38838
38479
|
}
|
|
38839
38480
|
render() {
|
|
38840
|
-
return (hAsync(Host, { key: '
|
|
38481
|
+
return (hAsync(Host, { key: '81cc29460a17c32592fbf9fca6242f4bb1738aa6' }, hAsync("slot", { key: '4f718420caf11c6672642fcf1a1bdb7f48d6cdfc' })));
|
|
38841
38482
|
}
|
|
38842
38483
|
static get style() { return segmentContentCss(); }
|
|
38843
38484
|
static get cmpMeta() { return {
|
|
@@ -38875,6 +38516,9 @@ class SegmentView {
|
|
|
38875
38516
|
var _a;
|
|
38876
38517
|
const { scrollLeft, scrollWidth, clientWidth } = ev.target;
|
|
38877
38518
|
const max = scrollWidth - clientWidth;
|
|
38519
|
+
// When only one content item is present max is 0 — skip to avoid NaN/Infinity scrollRatio.
|
|
38520
|
+
if (max <= 0)
|
|
38521
|
+
return;
|
|
38878
38522
|
const scrollRatio = (isRTL$1(this.el) ? -1 : 1) * (scrollLeft / max);
|
|
38879
38523
|
this.ionSegmentViewScroll.emit({
|
|
38880
38524
|
scrollRatio,
|
|
@@ -38958,11 +38602,11 @@ class SegmentView {
|
|
|
38958
38602
|
}
|
|
38959
38603
|
render() {
|
|
38960
38604
|
const { disabled, isManualScroll, swipeGesture } = this;
|
|
38961
|
-
return (hAsync(Host, { key: '
|
|
38605
|
+
return (hAsync(Host, { key: 'c04dde4579aa098028f9a0db7c131f281e74d08e', class: {
|
|
38962
38606
|
'segment-view-disabled': disabled,
|
|
38963
38607
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
38964
38608
|
'segment-view-swipe-disabled': swipeGesture === false,
|
|
38965
|
-
} }, hAsync("slot", { key: '
|
|
38609
|
+
} }, hAsync("slot", { key: '3be452dc2d3750fde1b832abe5df734fea0295e3' })));
|
|
38966
38610
|
}
|
|
38967
38611
|
get el() { return getElement(this); }
|
|
38968
38612
|
static get style() { return {
|
|
@@ -39898,7 +39542,7 @@ class Select {
|
|
|
39898
39542
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
39899
39543
|
*/
|
|
39900
39544
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
39901
|
-
return (hAsync(Host, { key: '
|
|
39545
|
+
return (hAsync(Host, { key: 'b75ee27abca24a0ee5ec2bcecec98aeab85d11b2', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
39902
39546
|
[theme]: true,
|
|
39903
39547
|
'in-item': inItem,
|
|
39904
39548
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -39917,7 +39561,7 @@ class Select {
|
|
|
39917
39561
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
39918
39562
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
39919
39563
|
[`select-size-${size}`]: size !== undefined,
|
|
39920
|
-
}) }, hAsync("label", { key: '
|
|
39564
|
+
}) }, 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" },
|
|
39921
39565
|
/**
|
|
39922
39566
|
* For the ionic theme, we render the outline container here
|
|
39923
39567
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -39927,7 +39571,7 @@ class Select {
|
|
|
39927
39571
|
* <label> element, ensuring that clicking the label text
|
|
39928
39572
|
* focuses the select.
|
|
39929
39573
|
*/
|
|
39930
|
-
theme === 'ionic' && fill === 'outline' && hAsync("div", { key: '
|
|
39574
|
+
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()));
|
|
39931
39575
|
}
|
|
39932
39576
|
get el() { return getElement(this); }
|
|
39933
39577
|
static get watchers() { return {
|
|
@@ -40319,7 +39963,7 @@ class SelectModal {
|
|
|
40319
39963
|
});
|
|
40320
39964
|
}
|
|
40321
39965
|
render() {
|
|
40322
|
-
return (hAsync(Host, { key: '
|
|
39966
|
+
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()))));
|
|
40323
39967
|
}
|
|
40324
39968
|
get el() { return getElement(this); }
|
|
40325
39969
|
static get style() { return {
|
|
@@ -40364,7 +40008,7 @@ class SelectOption {
|
|
|
40364
40008
|
}
|
|
40365
40009
|
render() {
|
|
40366
40010
|
const theme = getIonTheme(this);
|
|
40367
|
-
return (hAsync(Host, { key: '
|
|
40011
|
+
return (hAsync(Host, { key: 'fd2c00d514768451e7d51631e4ce4cdb2a7a92ad', class: {
|
|
40368
40012
|
[theme]: true,
|
|
40369
40013
|
}, role: "option", id: this.inputId }));
|
|
40370
40014
|
}
|
|
@@ -40533,9 +40177,9 @@ class SelectPopover {
|
|
|
40533
40177
|
const { header, message, options, subHeader } = this;
|
|
40534
40178
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
40535
40179
|
const theme = getIonTheme(this);
|
|
40536
|
-
return (hAsync(Host, { key: '
|
|
40180
|
+
return (hAsync(Host, { key: '75388b15e655f05df0849bbcd79064e4f9f72294', class: {
|
|
40537
40181
|
[theme]: true,
|
|
40538
|
-
} }, hAsync("ion-list", { key: '
|
|
40182
|
+
} }, 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))));
|
|
40539
40183
|
}
|
|
40540
40184
|
get el() { return getElement(this); }
|
|
40541
40185
|
static get style() { return {
|
|
@@ -40590,11 +40234,11 @@ class SkeletonText {
|
|
|
40590
40234
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
40591
40235
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
40592
40236
|
const theme = getIonTheme(this);
|
|
40593
|
-
return (hAsync(Host, { key: '
|
|
40237
|
+
return (hAsync(Host, { key: '5014563646b6c5213750d503babce3013b66ec96', class: {
|
|
40594
40238
|
[theme]: true,
|
|
40595
40239
|
'skeleton-text-animated': animated,
|
|
40596
40240
|
'in-media': inMedia,
|
|
40597
|
-
} }, hAsync("span", { key: '
|
|
40241
|
+
} }, hAsync("span", { key: '4b816883b1c71bb1db66d8b2b084559f7cb489bd' }, "\u00A0")));
|
|
40598
40242
|
}
|
|
40599
40243
|
get el() { return getElement(this); }
|
|
40600
40244
|
static get style() { return skeletonTextCss(); }
|
|
@@ -40667,7 +40311,7 @@ class Spinner {
|
|
|
40667
40311
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
40668
40312
|
}
|
|
40669
40313
|
}
|
|
40670
|
-
return (hAsync(Host, { key: '
|
|
40314
|
+
return (hAsync(Host, { key: '0b3ce4b99c2c828d05b507c4f073811ebbe17d0f', class: createColorClasses$1(self.color, {
|
|
40671
40315
|
[theme]: true,
|
|
40672
40316
|
[`spinner-${spinnerName}`]: true,
|
|
40673
40317
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -40711,7 +40355,6 @@ const splitPaneIosCss = () => `:host{--side-width:100%;right:0;left:0;top:0;bott
|
|
|
40711
40355
|
|
|
40712
40356
|
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%}`;
|
|
40713
40357
|
|
|
40714
|
-
// TODO(FW-7285): Replace with global breakpoints
|
|
40715
40358
|
const QUERY = {
|
|
40716
40359
|
lg: '(min-width: 992px)'};
|
|
40717
40360
|
/**
|
|
@@ -40779,12 +40422,12 @@ class SplitPane {
|
|
|
40779
40422
|
}
|
|
40780
40423
|
render() {
|
|
40781
40424
|
const theme = getIonTheme(this);
|
|
40782
|
-
return (hAsync(Host, { key: '
|
|
40425
|
+
return (hAsync(Host, { key: '9d0c67f1f81b09bb9a6f14a66053e5cc7431a286', class: {
|
|
40783
40426
|
[theme]: true,
|
|
40784
40427
|
// Used internally for styling
|
|
40785
40428
|
[`split-pane-${theme}`]: true,
|
|
40786
40429
|
'split-pane-visible': this.visible,
|
|
40787
|
-
} }, hAsync("slot", { key: '
|
|
40430
|
+
} }, hAsync("slot", { key: 'ab7b3050d3c5484bd00949cf57efa4396b4d5bc3' })));
|
|
40788
40431
|
}
|
|
40789
40432
|
get el() { return getElement(this); }
|
|
40790
40433
|
static get watchers() { return {
|
|
@@ -40861,10 +40504,10 @@ class Tab {
|
|
|
40861
40504
|
}
|
|
40862
40505
|
render() {
|
|
40863
40506
|
const { tab, active, component } = this;
|
|
40864
|
-
return (hAsync(Host, { key: '
|
|
40507
|
+
return (hAsync(Host, { key: 'b249545a5adfcef4616afe79aa0f215bab464d0a', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
40865
40508
|
'ion-page': component === undefined,
|
|
40866
40509
|
'tab-hidden': !active,
|
|
40867
|
-
} }, hAsync("slot", { key: '
|
|
40510
|
+
} }, hAsync("slot", { key: '19e2a406d96d20d8d4af8c3ff900e975d06021f6' })));
|
|
40868
40511
|
}
|
|
40869
40512
|
get el() { return getElement(this); }
|
|
40870
40513
|
static get watchers() { return {
|
|
@@ -41071,7 +40714,7 @@ class TabBar {
|
|
|
41071
40714
|
const theme = getIonTheme(this);
|
|
41072
40715
|
const shape = this.getShape();
|
|
41073
40716
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
41074
|
-
return (hAsync(Host, { key: '
|
|
40717
|
+
return (hAsync(Host, { key: '7a91bb00ad289d94d34271bdecefb7221c093fd6', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses$1(color, {
|
|
41075
40718
|
[theme]: true,
|
|
41076
40719
|
'tab-bar-translucent': translucent,
|
|
41077
40720
|
'tab-bar-hidden': shouldHide,
|
|
@@ -41079,7 +40722,7 @@ class TabBar {
|
|
|
41079
40722
|
'tab-bar-scroll-hidden': scrollHidden,
|
|
41080
40723
|
[`tab-bar-${expand}`]: true,
|
|
41081
40724
|
[`tab-bar-${shape}`]: shape !== undefined,
|
|
41082
|
-
}) }, hAsync("slot", { key: '
|
|
40725
|
+
}) }, hAsync("slot", { key: '96ad10c451a6ae1e2b7c48d94d0f158fb8cde1dc' })));
|
|
41083
40726
|
}
|
|
41084
40727
|
get el() { return getElement(this); }
|
|
41085
40728
|
static get watchers() { return {
|
|
@@ -41207,7 +40850,7 @@ class TabButton {
|
|
|
41207
40850
|
rel,
|
|
41208
40851
|
target,
|
|
41209
40852
|
};
|
|
41210
|
-
return (hAsync(Host, { key: '
|
|
40853
|
+
return (hAsync(Host, { key: '5a32785eaf0570cdc3444d52ce8bba8174c3e0b9', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
41211
40854
|
[theme]: true,
|
|
41212
40855
|
'tab-selected': selected,
|
|
41213
40856
|
'tab-disabled': disabled,
|
|
@@ -41220,7 +40863,7 @@ class TabButton {
|
|
|
41220
40863
|
'ion-selectable': true,
|
|
41221
40864
|
[`tab-button-shape-${shape}`]: shape !== undefined,
|
|
41222
40865
|
'ion-focusable': true,
|
|
41223
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
40866
|
+
} }, 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" }))));
|
|
41224
40867
|
}
|
|
41225
40868
|
get el() { return getElement(this); }
|
|
41226
40869
|
static get style() { return {
|
|
@@ -41416,7 +41059,7 @@ class Tabs {
|
|
|
41416
41059
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
41417
41060
|
}
|
|
41418
41061
|
render() {
|
|
41419
|
-
return (hAsync(Host, { key: '
|
|
41062
|
+
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" })));
|
|
41420
41063
|
}
|
|
41421
41064
|
get el() { return getElement(this); }
|
|
41422
41065
|
static get style() { return tabsCss(); }
|
|
@@ -41457,9 +41100,9 @@ class Text {
|
|
|
41457
41100
|
}
|
|
41458
41101
|
render() {
|
|
41459
41102
|
const theme = getIonTheme(this);
|
|
41460
|
-
return (hAsync(Host, { key: '
|
|
41103
|
+
return (hAsync(Host, { key: '7a3f31d6e219207a1ff98ac441357caa512012e5', class: createColorClasses$1(this.color, {
|
|
41461
41104
|
[theme]: true,
|
|
41462
|
-
}) }, hAsync("slot", { key: '
|
|
41105
|
+
}) }, hAsync("slot", { key: '392d48d6a5e0e5d1b44e762ec96fb8b53b3ebd49' })));
|
|
41463
41106
|
}
|
|
41464
41107
|
static get style() { return textCss(); }
|
|
41465
41108
|
static get cmpMeta() { return {
|
|
@@ -42023,7 +41666,7 @@ class Textarea {
|
|
|
42023
41666
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
42024
41667
|
*/
|
|
42025
41668
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
42026
|
-
return (hAsync(Host, { key: '
|
|
41669
|
+
return (hAsync(Host, { key: 'b31341357553adac08f518e48d83127415f36500', class: createColorClasses$1(this.color, {
|
|
42027
41670
|
[theme]: true,
|
|
42028
41671
|
'has-value': hasValue,
|
|
42029
41672
|
'has-focus': hasFocus,
|
|
@@ -42035,7 +41678,7 @@ class Textarea {
|
|
|
42035
41678
|
'in-item': inItem,
|
|
42036
41679
|
'textarea-disabled': disabled,
|
|
42037
41680
|
'textarea-readonly': readonly,
|
|
42038
|
-
}) }, hAsync("label", { key: '
|
|
41681
|
+
}) }, hAsync("label", { key: '406cb6739da3382da1f723c42f4ea5aee86e09d4', class: "textarea-wrapper", htmlFor: inputId, onClick: this.onLabelClick, part: "wrapper" }, this.renderLabelContainer(), hAsync("div", { key: '69056191d5f1036bcb88a31d44bc61e3a98f9ebc', class: "textarea-wrapper-inner" },
|
|
42039
41682
|
/**
|
|
42040
41683
|
* For the ionic theme, we render the outline container here
|
|
42041
41684
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -42045,7 +41688,7 @@ class Textarea {
|
|
|
42045
41688
|
* <label> element, ensuring that clicking the label text
|
|
42046
41689
|
* focuses the textarea.
|
|
42047
41690
|
*/
|
|
42048
|
-
theme === 'ionic' && fill === 'outline' && hAsync("div", { key: '
|
|
41691
|
+
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()));
|
|
42049
41692
|
}
|
|
42050
41693
|
static get delegatesFocus() { return true; }
|
|
42051
41694
|
static get formAssociated() { return true; }
|
|
@@ -42129,9 +41772,9 @@ class Thumbnail {
|
|
|
42129
41772
|
}
|
|
42130
41773
|
render() {
|
|
42131
41774
|
const theme = getIonTheme(this);
|
|
42132
|
-
return (hAsync(Host, { key: '
|
|
41775
|
+
return (hAsync(Host, { key: '6053cf163155d4268dad4fc81ffc6bbc70d75659', class: {
|
|
42133
41776
|
[theme]: true,
|
|
42134
|
-
} }, hAsync("slot", { key: '
|
|
41777
|
+
} }, hAsync("slot", { key: 'b7afb5835bce7c7ed9e5cf44758bbe2d802e1271' })));
|
|
42135
41778
|
}
|
|
42136
41779
|
static get style() { return thumbnailCss(); }
|
|
42137
41780
|
static get cmpMeta() { return {
|
|
@@ -43015,9 +42658,9 @@ class Toast {
|
|
|
43015
42658
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
43016
42659
|
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);
|
|
43017
42660
|
}
|
|
43018
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
42661
|
+
return (hAsync(Host, Object.assign({ key: '6fd286b024a05e6960f7b4b7947a3c26cc129e14', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
43019
42662
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
43020
|
-
}, 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: '
|
|
42663
|
+
}, 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')))));
|
|
43021
42664
|
}
|
|
43022
42665
|
get el() { return getElement(this); }
|
|
43023
42666
|
static get watchers() { return {
|
|
@@ -43393,7 +43036,7 @@ class Toggle {
|
|
|
43393
43036
|
const rtl = isRTL$1(el) ? 'rtl' : 'ltr';
|
|
43394
43037
|
const isIonicTheme = theme === 'ionic';
|
|
43395
43038
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
43396
|
-
return (hAsync(Host, { key: '
|
|
43039
|
+
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, {
|
|
43397
43040
|
[theme]: true,
|
|
43398
43041
|
'in-item': hostContext('ion-item', el),
|
|
43399
43042
|
'toggle-activated': activated,
|
|
@@ -43405,10 +43048,10 @@ class Toggle {
|
|
|
43405
43048
|
[`toggle-${rtl}`]: true,
|
|
43406
43049
|
'ion-activatable': isIonicTheme,
|
|
43407
43050
|
'ion-focusable': isIonicTheme,
|
|
43408
|
-
}) }, hAsync("label", { key: '
|
|
43051
|
+
}) }, 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: {
|
|
43409
43052
|
'label-text-wrapper': true,
|
|
43410
43053
|
'label-text-wrapper-hidden': !hasLabel,
|
|
43411
|
-
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '
|
|
43054
|
+
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '706e5b667ee242fb1afb3e4afa613f9798fbe25b' }), this.renderHintText()), hAsync("div", { key: '255ccd7d60f7d78b4eba8d380b303a72093e9d16', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
43412
43055
|
}
|
|
43413
43056
|
get el() { return getElement(this); }
|
|
43414
43057
|
static get watchers() { return {
|
|
@@ -43700,11 +43343,11 @@ class Toolbar {
|
|
|
43700
43343
|
Object.assign(childStyles, style);
|
|
43701
43344
|
});
|
|
43702
43345
|
const titlePlacement = this.getTitlePlacement();
|
|
43703
|
-
return (hAsync(Host, { key: '
|
|
43346
|
+
return (hAsync(Host, { key: 'a2103857ffb26f517b4190bb01a8fa170a042e45', class: Object.assign(Object.assign({}, createColorClasses$1(this.color, {
|
|
43704
43347
|
[theme]: true,
|
|
43705
43348
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
43706
43349
|
[`toolbar-title-placement-${titlePlacement}`]: true,
|
|
43707
|
-
})), childStyles) }, hAsync("div", { key: '
|
|
43350
|
+
})), 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 }))));
|
|
43708
43351
|
}
|
|
43709
43352
|
get el() { return getElement(this); }
|
|
43710
43353
|
static get watchers() { return {
|
|
@@ -43763,11 +43406,11 @@ class ToolbarTitle {
|
|
|
43763
43406
|
render() {
|
|
43764
43407
|
const theme = getIonTheme(this);
|
|
43765
43408
|
const size = this.getSize();
|
|
43766
|
-
return (hAsync(Host, { key: '
|
|
43409
|
+
return (hAsync(Host, { key: '8db3e5f9dbd8b1762a9919eaeef29c98649dfb25', class: createColorClasses$1(this.color, {
|
|
43767
43410
|
[theme]: true,
|
|
43768
43411
|
[`title-${size}`]: true,
|
|
43769
43412
|
'title-rtl': document.dir === 'rtl',
|
|
43770
|
-
}) }, hAsync("div", { key: '
|
|
43413
|
+
}) }, hAsync("div", { key: 'a31ebae2c494a51d2145eec69d0b1bc635108a01', class: "toolbar-title" }, hAsync("slot", { key: 'f5975b44b3e3afbf98dcbdb53fc78447b49407b3' }))));
|
|
43771
43414
|
}
|
|
43772
43415
|
get el() { return getElement(this); }
|
|
43773
43416
|
static get watchers() { return {
|
|
@@ -43823,7 +43466,6 @@ registerComponents([
|
|
|
43823
43466
|
FabButton,
|
|
43824
43467
|
FabList,
|
|
43825
43468
|
Footer,
|
|
43826
|
-
Gallery,
|
|
43827
43469
|
Grid,
|
|
43828
43470
|
Header,
|
|
43829
43471
|
Icon,
|