@ionic/core 8.8.6-dev.11777490150.1970e4f2 → 8.8.6-dev.11777559143.1d1ad1ad
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 +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-select-modal.cjs.entry.js +1 -1
- package/dist/cjs/ion-select_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -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/item-sliding/test/test.utils.js +13 -0
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list-header/list-header.js +2 -2
- package/dist/collection/components/loading/loading.js +2 -2
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu-button/menu-button.js +2 -2
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/modal.js +4 -4
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
- package/dist/collection/components/picker-legacy/picker.js +2 -2
- package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio/radio.js +3 -3
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- package/dist/collection/components/range/range.js +3 -3
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +2 -2
- package/dist/collection/components/reorder/reorder.js +2 -2
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-outlet/router-outlet.js +1 -1
- package/dist/collection/components/row/row.js +2 -2
- package/dist/collection/components/searchbar/searchbar.js +4 -4
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment-button/segment-button.js +2 -2
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.js +2 -2
- package/dist/collection/components/select/select.js +3 -3
- package/dist/collection/components/select-modal/select-modal.js +1 -1
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +2 -2
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -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/collection/utils/test/playwright/drag-element.js +29 -5
- 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 +2 -2
- package/dist/esm/ion-segment_2.entry.js +4 -4
- package/dist/esm/ion-select-modal.entry.js +1 -1
- package/dist/esm/ion-select_3.entry.js +6 -6
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-split-pane.entry.js +2 -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-8f127a9c.entry.js → p-a53a3ecc.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-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/item-sliding/test/test.utils.d.ts +13 -0
- package/dist/types/components.d.ts +0 -66
- package/dist/types/utils/test/playwright/drag-element.d.ts +15 -2
- package/hydrate/index.js +126 -469
- package/hydrate/index.mjs +126 -469
- 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 -330
- package/dist/collection/components/gallery/gallery-interface.js +0 -1
- package/dist/collection/components/gallery/gallery.css +0 -38
- package/dist/collection/components/gallery/gallery.js +0 -421
- package/dist/collection/components/gallery/test/utils.js +0 -100
- package/dist/esm/ion-gallery.entry.js +0 -328
- 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-bdfd1761.entry.js +0 -4
- package/dist/ionic/p-bf972309.entry.js +0 -4
- package/dist/types/components/gallery/gallery-interface.d.ts +0 -9
- package/dist/types/components/gallery/gallery.d.ts +0 -125
- package/dist/types/components/gallery/test/utils.d.ts +0 -2
package/hydrate/index.js
CHANGED
|
@@ -13108,7 +13108,6 @@ class Chip {
|
|
|
13108
13108
|
}; }
|
|
13109
13109
|
}
|
|
13110
13110
|
|
|
13111
|
-
// TODO(FW-7285): Replace with global breakpoints
|
|
13112
13111
|
const SIZE_TO_MEDIA = {
|
|
13113
13112
|
xs: '(min-width: 0px)',
|
|
13114
13113
|
sm: '(min-width: 576px)',
|
|
@@ -13132,9 +13131,8 @@ const matchBreakpoint = (breakpoint) => {
|
|
|
13132
13131
|
|
|
13133
13132
|
const colCss = () => `:host{--col-unit-size:calc( (100% - (var(--ion-grid-columns, 12) - 1) * var(--ion-grid-gap, 0px)) / var(--ion-grid-columns, 12) );-webkit-padding-start:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;-ms-flex:1;flex:1;min-height:1px;overflow:auto}@media (min-width: 576px){:host{-webkit-padding-start:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px))}}@media (min-width: 768px){:host{-webkit-padding-start:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px))}}@media (min-width: 992px){:host{-webkit-padding-start:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px))}}@media (min-width: 1200px){:host{-webkit-padding-start:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px))}}:host(.ion-grid-col-auto){-ms-flex:0 0 auto;flex:0 0 auto}:host([class^=ion-grid-col--]),:host([class*=" ion-grid-col--"]){-ms-flex:0 0 calc(var(--ion-grid-col-span) * var(--col-unit-size) + (var(--ion-grid-col-span) - 1) * var(--ion-grid-gap, 0px));flex:0 0 calc(var(--ion-grid-col-span) * var(--col-unit-size) + (var(--ion-grid-col-span) - 1) * var(--ion-grid-gap, 0px));max-width:calc(var(--ion-grid-col-span) * var(--col-unit-size) + (var(--ion-grid-col-span) - 1) * var(--ion-grid-gap, 0px))}:host([class^=ion-grid-offset-col--]),:host([class*=" ion-grid-offset-col--"]){--margin-calc:calc( var(--col-unit-size) * var(--ion-grid-col-margin) + (var(--ion-grid-gap, 0px) * var(--ion-grid-col-margin)) );-webkit-margin-start:var(--margin-calc);margin-inline-start:var(--margin-calc);-webkit-margin-end:0;margin-inline-end:0}:host(.ion-grid-col--1){--ion-grid-col-span:1}:host(.ion-grid-order-col--1){-ms-flex-order:1;order:1}:host(.ion-grid-offset-col--1){--ion-grid-col-margin:1}:host(.ion-grid-col--2){--ion-grid-col-span:2}:host(.ion-grid-order-col--2){-ms-flex-order:2;order:2}:host(.ion-grid-offset-col--2){--ion-grid-col-margin:2}:host(.ion-grid-col--3){--ion-grid-col-span:3}:host(.ion-grid-order-col--3){-ms-flex-order:3;order:3}:host(.ion-grid-offset-col--3){--ion-grid-col-margin:3}:host(.ion-grid-col--4){--ion-grid-col-span:4}:host(.ion-grid-order-col--4){-ms-flex-order:4;order:4}:host(.ion-grid-offset-col--4){--ion-grid-col-margin:4}:host(.ion-grid-col--5){--ion-grid-col-span:5}:host(.ion-grid-order-col--5){-ms-flex-order:5;order:5}:host(.ion-grid-offset-col--5){--ion-grid-col-margin:5}:host(.ion-grid-col--6){--ion-grid-col-span:6}:host(.ion-grid-order-col--6){-ms-flex-order:6;order:6}:host(.ion-grid-offset-col--6){--ion-grid-col-margin:6}:host(.ion-grid-col--7){--ion-grid-col-span:7}:host(.ion-grid-order-col--7){-ms-flex-order:7;order:7}:host(.ion-grid-offset-col--7){--ion-grid-col-margin:7}:host(.ion-grid-col--8){--ion-grid-col-span:8}:host(.ion-grid-order-col--8){-ms-flex-order:8;order:8}:host(.ion-grid-offset-col--8){--ion-grid-col-margin:8}:host(.ion-grid-col--9){--ion-grid-col-span:9}:host(.ion-grid-order-col--9){-ms-flex-order:9;order:9}:host(.ion-grid-offset-col--9){--ion-grid-col-margin:9}:host(.ion-grid-col--10){--ion-grid-col-span:10}:host(.ion-grid-order-col--10){-ms-flex-order:10;order:10}:host(.ion-grid-offset-col--10){--ion-grid-col-margin:10}:host(.ion-grid-col--11){--ion-grid-col-span:11}:host(.ion-grid-order-col--11){-ms-flex-order:11;order:11}:host(.ion-grid-offset-col--11){--ion-grid-col-margin:11}:host(.ion-grid-col--12){--ion-grid-col-span:12}:host(.ion-grid-order-col--12){-ms-flex-order:12;order:12}:host(.ion-grid-offset-col--12){--ion-grid-col-margin:12}`;
|
|
13134
13133
|
|
|
13135
|
-
// TODO(FW-7285): Replace with global breakpoints
|
|
13136
13134
|
// eslint-disable-next-line @typescript-eslint/prefer-optional-chain
|
|
13137
|
-
const BREAKPOINTS
|
|
13135
|
+
const BREAKPOINTS = ['', 'xs', 'sm', 'md', 'lg', 'xl'];
|
|
13138
13136
|
/**
|
|
13139
13137
|
* @virtualProp {"ios" | "md"} mode - The mode determines the platform behaviors of the component.
|
|
13140
13138
|
* @virtualProp {"ios" | "md" | "ionic"} theme - The theme determines the visual appearance of the component.
|
|
@@ -13149,7 +13147,7 @@ class Col {
|
|
|
13149
13147
|
// matches and grab the column value from the relevant prop if so
|
|
13150
13148
|
getColumns(property) {
|
|
13151
13149
|
let matched;
|
|
13152
|
-
for (const breakpoint of BREAKPOINTS
|
|
13150
|
+
for (const breakpoint of BREAKPOINTS) {
|
|
13153
13151
|
const matches = matchBreakpoint(breakpoint);
|
|
13154
13152
|
// Grab the value of the property, if it exists and our
|
|
13155
13153
|
// media query matches we return the value
|
|
@@ -13210,12 +13208,12 @@ class Col {
|
|
|
13210
13208
|
const colSize = this.getSizeClass();
|
|
13211
13209
|
const colOrder = this.getOrderClass();
|
|
13212
13210
|
const colOffset = this.getOffsetClass();
|
|
13213
|
-
return (hAsync(Host, { key: '
|
|
13211
|
+
return (hAsync(Host, { key: '4620a4eb3c94f744d6169ae9d4cc43e86a271a52', class: {
|
|
13214
13212
|
[theme]: true,
|
|
13215
13213
|
[`${colSize}`]: colSize !== undefined,
|
|
13216
13214
|
[`${colOrder}`]: colOrder !== undefined,
|
|
13217
13215
|
[`${colOffset}`]: colOffset !== undefined,
|
|
13218
|
-
} }, hAsync("slot", { key: '
|
|
13216
|
+
} }, hAsync("slot", { key: '5c3be98deed2050634396339b7787f2770a05d35' })));
|
|
13219
13217
|
}
|
|
13220
13218
|
get el() { return getElement(this); }
|
|
13221
13219
|
static get style() { return colCss(); }
|
|
@@ -18677,345 +18675,6 @@ class Footer {
|
|
|
18677
18675
|
}; }
|
|
18678
18676
|
}
|
|
18679
18677
|
|
|
18680
|
-
const galleryCss = () => `:host{display:grid;grid-template-columns:repeat(var(--internal-gallery-columns, 2), minmax(0, 1fr))}:host(.gallery-layout-uniform){gap:var(--ion-gallery-gap, 16px)}:host(.gallery-layout-uniform) ::slotted(*){aspect-ratio:1/1}:host(.gallery-layout-masonry){-ms-flex-align:start;align-items:start;-webkit-column-gap:var(--ion-gallery-gap, 16px);-moz-column-gap:var(--ion-gallery-gap, 16px);column-gap:var(--ion-gallery-gap, 16px);row-gap:0;grid-auto-rows:2px}:host(.gallery-layout-masonry) ::slotted(*){display:block;min-height:unset;margin-bottom:var(--ion-gallery-gap, 16px)}::slotted(*){width:100%}::slotted(img){display:block;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center}`;
|
|
18681
|
-
|
|
18682
|
-
// TODO(FW-7285): Replace with global breakpoints
|
|
18683
|
-
const BREAKPOINTS = {
|
|
18684
|
-
xs: 0,
|
|
18685
|
-
sm: 576,
|
|
18686
|
-
md: 768,
|
|
18687
|
-
lg: 992,
|
|
18688
|
-
xl: 1200,
|
|
18689
|
-
xxl: 1400,
|
|
18690
|
-
};
|
|
18691
|
-
const DEFAULT_COLUMNS = {
|
|
18692
|
-
xs: 2,
|
|
18693
|
-
sm: 3,
|
|
18694
|
-
md: 4,
|
|
18695
|
-
lg: 6,
|
|
18696
|
-
xl: 8,
|
|
18697
|
-
xxl: 10,
|
|
18698
|
-
};
|
|
18699
|
-
const BREAKPOINT_ORDER = ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'];
|
|
18700
|
-
/**
|
|
18701
|
-
* @virtualProp {"ios" | "md"} mode - The mode determines the platform behaviors of the component.
|
|
18702
|
-
* @virtualProp {"ios" | "md" | "ionic"} theme - The theme determines the visual appearance of the component.
|
|
18703
|
-
*
|
|
18704
|
-
* @slot - Content is placed in a responsive gallery layout.
|
|
18705
|
-
*/
|
|
18706
|
-
class Gallery {
|
|
18707
|
-
constructor(hostRef) {
|
|
18708
|
-
registerInstance(this, hostRef);
|
|
18709
|
-
// Keep track of whether we've warned about invalid columns to avoid
|
|
18710
|
-
// duplicate warnings on screen resize.
|
|
18711
|
-
this.hasWarnedInvalidColumns = false;
|
|
18712
|
-
/**
|
|
18713
|
-
* The visual layout of the gallery. When `uniform`, rows take up the height
|
|
18714
|
-
* of the tallest item and are spaced evenly across the gallery. Additionally,
|
|
18715
|
-
* items will have an aspect ratio of 1/1, forcing them to be square unless a
|
|
18716
|
-
* height is explicitly set. When `masonry`, items will be positioned under each
|
|
18717
|
-
* other with only the specified gap between them.
|
|
18718
|
-
*/
|
|
18719
|
-
this.layout = 'uniform';
|
|
18720
|
-
/**
|
|
18721
|
-
* The order in which items are positioned. Only applies when layout is
|
|
18722
|
-
* `masonry`. When `sequential`, items are positioned in the order they are
|
|
18723
|
-
* placed in the DOM. When `best-fit`, items are positioned under the column
|
|
18724
|
-
* with the most available space.
|
|
18725
|
-
*/
|
|
18726
|
-
this.order = 'sequential';
|
|
18727
|
-
/**
|
|
18728
|
-
* The number of columns to display. Can be set as a number or an object of
|
|
18729
|
-
* breakpoint values (e.g. `{ xs: 2, sm: 3, md: 4 }`).
|
|
18730
|
-
*/
|
|
18731
|
-
this.columns = DEFAULT_COLUMNS;
|
|
18732
|
-
/**
|
|
18733
|
-
* Listen for the slotchange event on the slot.
|
|
18734
|
-
* When the layout is `masonry`, this listener is used to schedule a resize
|
|
18735
|
-
* of the masonry grid when the slot changes. This is useful for when items
|
|
18736
|
-
* are added or removed from the gallery.
|
|
18737
|
-
*/
|
|
18738
|
-
this.onSlotChange = () => {
|
|
18739
|
-
this.scheduleMasonryResize();
|
|
18740
|
-
};
|
|
18741
|
-
/**
|
|
18742
|
-
* Measure the host and children, then compute masonry placement.
|
|
18743
|
-
*/
|
|
18744
|
-
this.resizeMasonryGrid = () => {
|
|
18745
|
-
this.masonryRaf = undefined;
|
|
18746
|
-
if (this.layout !== 'masonry') {
|
|
18747
|
-
this.clearMasonryStyles();
|
|
18748
|
-
return;
|
|
18749
|
-
}
|
|
18750
|
-
const styles = getComputedStyle(this.el);
|
|
18751
|
-
const rowHeight = parseFloat(styles.getPropertyValue('grid-auto-rows')) || 0;
|
|
18752
|
-
const rowGap = parseFloat(styles.getPropertyValue('row-gap')) || parseFloat(styles.getPropertyValue('gap')) || 0;
|
|
18753
|
-
const columnsStr = styles.getPropertyValue('--internal-gallery-columns');
|
|
18754
|
-
// Fallback to 2 columns for masonry calculations when the resolved
|
|
18755
|
-
// --internal-gallery-columns CSS value is missing or unparsable.
|
|
18756
|
-
const columns = parseInt(columnsStr, 10) || 2;
|
|
18757
|
-
const items = this.getItems();
|
|
18758
|
-
this.layoutMasonry(items, rowHeight, rowGap, columns);
|
|
18759
|
-
};
|
|
18760
|
-
}
|
|
18761
|
-
layoutChanged() {
|
|
18762
|
-
this.updateResponsiveColumns(true);
|
|
18763
|
-
this.scheduleMasonryResize();
|
|
18764
|
-
}
|
|
18765
|
-
componentDidLoad() {
|
|
18766
|
-
this.updateResponsiveColumns(true);
|
|
18767
|
-
this.resizeObserver = new ResizeObserver(() => {
|
|
18768
|
-
this.updateResponsiveColumns();
|
|
18769
|
-
this.scheduleMasonryResize();
|
|
18770
|
-
});
|
|
18771
|
-
this.resizeObserver.observe(this.el);
|
|
18772
|
-
this.scheduleMasonryResize();
|
|
18773
|
-
}
|
|
18774
|
-
disconnectedCallback() {
|
|
18775
|
-
var _a;
|
|
18776
|
-
if (this.masonryRaf !== undefined) {
|
|
18777
|
-
cancelAnimationFrame(this.masonryRaf);
|
|
18778
|
-
this.masonryRaf = undefined;
|
|
18779
|
-
}
|
|
18780
|
-
(_a = this.resizeObserver) === null || _a === void 0 ? void 0 : _a.disconnect();
|
|
18781
|
-
this.resizeObserver = undefined;
|
|
18782
|
-
}
|
|
18783
|
-
/**
|
|
18784
|
-
* Listen for the load event on child elements.
|
|
18785
|
-
* When the layout is `masonry`, this listener is used to schedule a resize
|
|
18786
|
-
* of the masonry grid when the child elements load. This is useful for when
|
|
18787
|
-
* images take time to load.
|
|
18788
|
-
*/
|
|
18789
|
-
onChildLoad(ev) {
|
|
18790
|
-
if (this.layout !== 'masonry') {
|
|
18791
|
-
return;
|
|
18792
|
-
}
|
|
18793
|
-
const target = ev.target;
|
|
18794
|
-
if (target !== null && this.el.contains(target)) {
|
|
18795
|
-
this.scheduleMasonryResize();
|
|
18796
|
-
}
|
|
18797
|
-
}
|
|
18798
|
-
/**
|
|
18799
|
-
* Batch masonry measurements to a single animation frame.
|
|
18800
|
-
* This avoids repeated sync layouts during rapid resize/load/slot changes.
|
|
18801
|
-
*/
|
|
18802
|
-
scheduleMasonryResize() {
|
|
18803
|
-
if (this.layout !== 'masonry') {
|
|
18804
|
-
this.clearMasonryStyles();
|
|
18805
|
-
return;
|
|
18806
|
-
}
|
|
18807
|
-
if (this.masonryRaf !== undefined) {
|
|
18808
|
-
cancelAnimationFrame(this.masonryRaf);
|
|
18809
|
-
}
|
|
18810
|
-
this.masonryRaf = requestAnimationFrame(this.resizeMasonryGrid);
|
|
18811
|
-
}
|
|
18812
|
-
/**
|
|
18813
|
-
* Normalize a columns value to a positive integer.
|
|
18814
|
-
* Returns undefined when the input cannot be interpreted as a finite number.
|
|
18815
|
-
*/
|
|
18816
|
-
sanitizeColumns(columns) {
|
|
18817
|
-
if (columns === undefined) {
|
|
18818
|
-
return undefined;
|
|
18819
|
-
}
|
|
18820
|
-
const numericColumns = typeof columns === 'number' ? columns : Number(columns);
|
|
18821
|
-
if (!Number.isFinite(numericColumns) || !Number.isInteger(numericColumns) || numericColumns <= 0) {
|
|
18822
|
-
return undefined;
|
|
18823
|
-
}
|
|
18824
|
-
return numericColumns;
|
|
18825
|
-
}
|
|
18826
|
-
/**
|
|
18827
|
-
* Check if the value is a breakpoint columns object.
|
|
18828
|
-
*/
|
|
18829
|
-
isBreakpointColumns(value) {
|
|
18830
|
-
return typeof value === 'object' && value !== null && !Array.isArray(value);
|
|
18831
|
-
}
|
|
18832
|
-
/**
|
|
18833
|
-
* Check if the breakpoint columns object has any invalid values.
|
|
18834
|
-
* Returns true if any value is undefined or not a positive integer.
|
|
18835
|
-
*/
|
|
18836
|
-
hasInvalidBreakpointColumns(breakpointColumns) {
|
|
18837
|
-
for (const breakpoint of BREAKPOINT_ORDER) {
|
|
18838
|
-
const value = breakpointColumns[breakpoint];
|
|
18839
|
-
if (value !== undefined && this.sanitizeColumns(value) === undefined) {
|
|
18840
|
-
return true;
|
|
18841
|
-
}
|
|
18842
|
-
}
|
|
18843
|
-
return false;
|
|
18844
|
-
}
|
|
18845
|
-
/**
|
|
18846
|
-
* Get the columns from a responsive breakpoint map.
|
|
18847
|
-
* Returns the columns for the last matching breakpoint.
|
|
18848
|
-
*/
|
|
18849
|
-
getColumnsFromBreakpointColumns(width, breakpointColumns) {
|
|
18850
|
-
let columns;
|
|
18851
|
-
for (const bp of BREAKPOINT_ORDER) {
|
|
18852
|
-
const customValue = breakpointColumns[bp];
|
|
18853
|
-
const parsedCustom = this.sanitizeColumns(customValue);
|
|
18854
|
-
const parsedDefault = this.sanitizeColumns(DEFAULT_COLUMNS[bp]);
|
|
18855
|
-
// Use valid custom values when present; otherwise fall back to defaults per breakpoint.
|
|
18856
|
-
const resolved = customValue === undefined || parsedCustom === undefined ? parsedDefault : parsedCustom;
|
|
18857
|
-
if (resolved !== undefined && width >= BREAKPOINTS[bp]) {
|
|
18858
|
-
columns = resolved;
|
|
18859
|
-
}
|
|
18860
|
-
}
|
|
18861
|
-
return columns;
|
|
18862
|
-
}
|
|
18863
|
-
/**
|
|
18864
|
-
* Warn about an invalid columns value when it is set to a non-positive
|
|
18865
|
-
* integer or a breakpoint map object with invalid values.
|
|
18866
|
-
*/
|
|
18867
|
-
warnInvalidColumns(columns) {
|
|
18868
|
-
printIonWarning(`[ion-gallery] - Invalid "columns" value (${JSON.stringify(columns)}). Expected a positive integer or breakpoint map object (e.g. { xs: 2, md: 4 }). Falling back to default responsive columns.`, this.el);
|
|
18869
|
-
this.hasWarnedInvalidColumns = true;
|
|
18870
|
-
}
|
|
18871
|
-
/**
|
|
18872
|
-
* Resolve the active columns value for the current width. Falls back to
|
|
18873
|
-
* the default responsive columns when the provided prop is invalid.
|
|
18874
|
-
*/
|
|
18875
|
-
getColumnsForWidth(width) {
|
|
18876
|
-
const { columns, hasWarnedInvalidColumns } = this;
|
|
18877
|
-
const isBreakpointColumns = this.isBreakpointColumns(columns);
|
|
18878
|
-
const hasInvalidBreakpointColumns = isBreakpointColumns && this.hasInvalidBreakpointColumns(columns);
|
|
18879
|
-
const sanitizedColumns = isBreakpointColumns
|
|
18880
|
-
? this.getColumnsFromBreakpointColumns(width, columns)
|
|
18881
|
-
: this.sanitizeColumns(columns);
|
|
18882
|
-
if (!hasWarnedInvalidColumns &&
|
|
18883
|
-
(hasInvalidBreakpointColumns || (!isBreakpointColumns && sanitizedColumns === undefined))) {
|
|
18884
|
-
this.warnInvalidColumns(columns);
|
|
18885
|
-
}
|
|
18886
|
-
if (sanitizedColumns !== undefined) {
|
|
18887
|
-
return sanitizedColumns;
|
|
18888
|
-
}
|
|
18889
|
-
return this.getColumnsFromBreakpointColumns(width, DEFAULT_COLUMNS);
|
|
18890
|
-
}
|
|
18891
|
-
/**
|
|
18892
|
-
* Update the responsive columns for the gallery.
|
|
18893
|
-
* This is used to update the columns when the component width changes.
|
|
18894
|
-
*/
|
|
18895
|
-
updateResponsiveColumns(force = false) {
|
|
18896
|
-
const width = this.el.getBoundingClientRect().width;
|
|
18897
|
-
// Only update the columns if the component width has changed by more than
|
|
18898
|
-
// 1px or if the force flag is true. This prevents unnecessary re-renders
|
|
18899
|
-
// when the component width has not changed.
|
|
18900
|
-
if (!width || (!force && this.lastWidth !== undefined && Math.abs(this.lastWidth - width) < 1)) {
|
|
18901
|
-
return;
|
|
18902
|
-
}
|
|
18903
|
-
this.lastWidth = width;
|
|
18904
|
-
const columns = this.getColumnsForWidth(width);
|
|
18905
|
-
this.el.style.setProperty('--internal-gallery-columns', `${columns}`);
|
|
18906
|
-
}
|
|
18907
|
-
/**
|
|
18908
|
-
* Return all directly slotted HTMLElement children of the gallery.
|
|
18909
|
-
*/
|
|
18910
|
-
getItems() {
|
|
18911
|
-
return Array.from(this.el.children).filter((child) => child instanceof HTMLElement);
|
|
18912
|
-
}
|
|
18913
|
-
/**
|
|
18914
|
-
* Clear the item styles for the given item element.
|
|
18915
|
-
* This is used to switch between uniform and masonry layouts.
|
|
18916
|
-
*/
|
|
18917
|
-
clearItemStyles(itemEl) {
|
|
18918
|
-
itemEl.style.gridRowStart = '';
|
|
18919
|
-
itemEl.style.gridRowEnd = '';
|
|
18920
|
-
itemEl.style.gridColumn = '';
|
|
18921
|
-
}
|
|
18922
|
-
/**
|
|
18923
|
-
* Clear placement styles for all items when leaving masonry mode.
|
|
18924
|
-
*/
|
|
18925
|
-
clearMasonryStyles() {
|
|
18926
|
-
this.getItems().forEach((itemEl) => this.clearItemStyles(itemEl));
|
|
18927
|
-
}
|
|
18928
|
-
/**
|
|
18929
|
-
* Convert a rendered item height to the number of grid rows it should span.
|
|
18930
|
-
* Returns undefined for images that are not fully loaded yet.
|
|
18931
|
-
*/
|
|
18932
|
-
calculateRowSpan(itemEl, rowHeight, rowGap) {
|
|
18933
|
-
if (itemEl instanceof HTMLImageElement && (!itemEl.complete || itemEl.naturalHeight === 0)) {
|
|
18934
|
-
return undefined;
|
|
18935
|
-
}
|
|
18936
|
-
const height = itemEl.getBoundingClientRect().height;
|
|
18937
|
-
const itemStyles = getComputedStyle(itemEl);
|
|
18938
|
-
const marginBottom = parseFloat(itemStyles.getPropertyValue('margin-bottom')) || 0;
|
|
18939
|
-
const denominator = rowHeight + rowGap;
|
|
18940
|
-
if (!denominator || !Number.isFinite(denominator)) {
|
|
18941
|
-
return 1;
|
|
18942
|
-
}
|
|
18943
|
-
return Math.ceil((height + marginBottom + rowGap) / denominator) || 1;
|
|
18944
|
-
}
|
|
18945
|
-
/**
|
|
18946
|
-
* Get the index of the column to position the item in.
|
|
18947
|
-
* When the order is `best-fit`, the column with the shortest height is
|
|
18948
|
-
* returned. Otherwise, items are placed in the column that matches their
|
|
18949
|
-
* natural DOM order.
|
|
18950
|
-
*/
|
|
18951
|
-
getColumnIndex(index, columnHeights, columns) {
|
|
18952
|
-
const { order } = this;
|
|
18953
|
-
if (order === 'best-fit') {
|
|
18954
|
-
let columnIndex = 0;
|
|
18955
|
-
for (let i = 1; i < columns; i++) {
|
|
18956
|
-
if (columnHeights[i] < columnHeights[columnIndex]) {
|
|
18957
|
-
columnIndex = i;
|
|
18958
|
-
}
|
|
18959
|
-
}
|
|
18960
|
-
return columnIndex;
|
|
18961
|
-
}
|
|
18962
|
-
return index % columns;
|
|
18963
|
-
}
|
|
18964
|
-
/**
|
|
18965
|
-
* Apply masonry placement by assigning each item a column and row span.
|
|
18966
|
-
*/
|
|
18967
|
-
layoutMasonry(items, rowHeight, rowGap, columns) {
|
|
18968
|
-
const columnHeights = new Array(columns).fill(0);
|
|
18969
|
-
items.forEach((itemEl, i) => {
|
|
18970
|
-
const span = this.calculateRowSpan(itemEl, rowHeight, rowGap);
|
|
18971
|
-
if (span === undefined) {
|
|
18972
|
-
this.clearItemStyles(itemEl);
|
|
18973
|
-
return;
|
|
18974
|
-
}
|
|
18975
|
-
const columnIndex = this.getColumnIndex(i, columnHeights, columns);
|
|
18976
|
-
const start = columnHeights[columnIndex] + 1;
|
|
18977
|
-
itemEl.style.gridColumn = `${columnIndex + 1}`;
|
|
18978
|
-
itemEl.style.gridRowStart = `${start}`;
|
|
18979
|
-
itemEl.style.gridRowEnd = `span ${span}`;
|
|
18980
|
-
columnHeights[columnIndex] = start + span - 1;
|
|
18981
|
-
});
|
|
18982
|
-
}
|
|
18983
|
-
render() {
|
|
18984
|
-
const { layout, order } = this;
|
|
18985
|
-
const theme = getIonTheme(this);
|
|
18986
|
-
return (hAsync(Host, { key: 'c8e3d332f3bf28671cd960571c7752bdacb503eb', class: {
|
|
18987
|
-
[theme]: true,
|
|
18988
|
-
[`gallery-layout-${layout}`]: true,
|
|
18989
|
-
[`gallery-order-${order}`]: layout === 'masonry',
|
|
18990
|
-
} }, hAsync("slot", { key: 'ee0509845dfa77e0257bc01852f6b96cb78bee45', onSlotchange: this.onSlotChange })));
|
|
18991
|
-
}
|
|
18992
|
-
get el() { return getElement(this); }
|
|
18993
|
-
static get watchers() { return {
|
|
18994
|
-
"layout": [{
|
|
18995
|
-
"layoutChanged": 0
|
|
18996
|
-
}],
|
|
18997
|
-
"order": [{
|
|
18998
|
-
"layoutChanged": 0
|
|
18999
|
-
}],
|
|
19000
|
-
"columns": [{
|
|
19001
|
-
"layoutChanged": 0
|
|
19002
|
-
}]
|
|
19003
|
-
}; }
|
|
19004
|
-
static get style() { return galleryCss(); }
|
|
19005
|
-
static get cmpMeta() { return {
|
|
19006
|
-
"$flags$": 265,
|
|
19007
|
-
"$tagName$": "ion-gallery",
|
|
19008
|
-
"$members$": {
|
|
19009
|
-
"layout": [513],
|
|
19010
|
-
"order": [513],
|
|
19011
|
-
"columns": [8]
|
|
19012
|
-
},
|
|
19013
|
-
"$listeners$": [[2, "load", "onChildLoad"]],
|
|
19014
|
-
"$lazyBundleId$": "-",
|
|
19015
|
-
"$attrsToReflect$": [["layout", "layout"], ["order", "order"]]
|
|
19016
|
-
}; }
|
|
19017
|
-
}
|
|
19018
|
-
|
|
19019
18678
|
const gridCss = () => `:host{-webkit-padding-start:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;display:block;-ms-flex:1;flex:1}@media (min-width: 576px){:host{-webkit-padding-start:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px))}}@media (min-width: 768px){:host{-webkit-padding-start:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px))}}@media (min-width: 992px){:host{-webkit-padding-start:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px))}}@media (min-width: 1200px){:host{-webkit-padding-start:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px))}}:host(.grid-fixed){width:var(--ion-grid-width-xs, var(--ion-grid-width, 100%));max-width:100%}@media (min-width: 576px){:host(.grid-fixed){width:var(--ion-grid-width-sm, var(--ion-grid-width, 540px))}}@media (min-width: 768px){:host(.grid-fixed){width:var(--ion-grid-width-md, var(--ion-grid-width, 720px))}}@media (min-width: 992px){:host(.grid-fixed){width:var(--ion-grid-width-lg, var(--ion-grid-width, 960px))}}@media (min-width: 1200px){:host(.grid-fixed){width:var(--ion-grid-width-xl, var(--ion-grid-width, 1140px))}}:host(.ion-no-padding){--ion-grid-column-padding:0;--ion-grid-column-padding-xs:0;--ion-grid-column-padding-sm:0;--ion-grid-column-padding-md:0;--ion-grid-column-padding-lg:0;--ion-grid-column-padding-xl:0}`;
|
|
19020
18679
|
|
|
19021
18680
|
/**
|
|
@@ -19032,10 +18691,10 @@ class Grid {
|
|
|
19032
18691
|
}
|
|
19033
18692
|
render() {
|
|
19034
18693
|
const theme = getIonTheme(this);
|
|
19035
|
-
return (hAsync(Host, { key: '
|
|
18694
|
+
return (hAsync(Host, { key: 'cd55886cabaeab57e3b13193381b196bec2f07f8', class: {
|
|
19036
18695
|
[theme]: true,
|
|
19037
18696
|
'grid-fixed': this.fixed,
|
|
19038
|
-
} }, hAsync("slot", { key: '
|
|
18697
|
+
} }, hAsync("slot", { key: 'c9b95999e6a274a8a0c997451c0be45b1304d77b' })));
|
|
19039
18698
|
}
|
|
19040
18699
|
static get style() { return gridCss(); }
|
|
19041
18700
|
static get cmpMeta() { return {
|
|
@@ -19437,7 +19096,7 @@ class Header {
|
|
|
19437
19096
|
const isCondensed = collapse === 'condense';
|
|
19438
19097
|
// banner role must be at top level, so remove role if inside a menu
|
|
19439
19098
|
const roleType = getRoleType(hostContext('ion-menu', this.el), isCondensed, theme);
|
|
19440
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
19099
|
+
return (hAsync(Host, Object.assign({ key: '658d5746920c349cc9fe85666c7215f2edc3c794', role: roleType, class: {
|
|
19441
19100
|
[theme]: true,
|
|
19442
19101
|
// Used internally for styling
|
|
19443
19102
|
[`header-${theme}`]: true,
|
|
@@ -19445,7 +19104,7 @@ class Header {
|
|
|
19445
19104
|
[`header-collapse-${collapse}`]: true,
|
|
19446
19105
|
[`header-translucent-${theme}`]: this.translucent,
|
|
19447
19106
|
['header-divider']: divider,
|
|
19448
|
-
} }, inheritedAttributes), theme !== 'md' && translucent && hAsync("div", { key: '
|
|
19107
|
+
} }, inheritedAttributes), theme !== 'md' && translucent && hAsync("div", { key: '4a1470d86e1aac6f8d545fe01e75b4dce665fb70', class: "header-background" }), hAsync("slot", { key: '3b02661242bda5834c4e13e4eb61bf79b53ba33e' })));
|
|
19449
19108
|
}
|
|
19450
19109
|
get el() { return getElement(this); }
|
|
19451
19110
|
static get style() { return {
|
|
@@ -19796,9 +19455,9 @@ class Img {
|
|
|
19796
19455
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
19797
19456
|
const { draggable } = inheritedAttributes;
|
|
19798
19457
|
const theme = getIonTheme(this);
|
|
19799
|
-
return (hAsync(Host, { key: '
|
|
19458
|
+
return (hAsync(Host, { key: '840d5b29d81222b061ac72168ef6551b5a061e3a', class: {
|
|
19800
19459
|
[theme]: true,
|
|
19801
|
-
} }, hAsync("img", { key: '
|
|
19460
|
+
} }, hAsync("img", { key: 'e22e66ee4bb3a648b21c6080674e68eebf4a3feb', decoding: "async", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: "image", draggable: isDraggable(draggable) })));
|
|
19802
19461
|
}
|
|
19803
19462
|
get el() { return getElement(this); }
|
|
19804
19463
|
static get watchers() { return {
|
|
@@ -20103,7 +19762,7 @@ class InfiniteScroll {
|
|
|
20103
19762
|
render() {
|
|
20104
19763
|
const theme = getIonTheme(this);
|
|
20105
19764
|
const disabled = this.disabled;
|
|
20106
|
-
return (hAsync(Host, { key: '
|
|
19765
|
+
return (hAsync(Host, { key: '22d99824cb589d9024666a3c1ed205f781858eed', class: {
|
|
20107
19766
|
[theme]: true,
|
|
20108
19767
|
'infinite-scroll-loading': this.isLoading,
|
|
20109
19768
|
'infinite-scroll-enabled': !disabled,
|
|
@@ -20166,11 +19825,11 @@ class InfiniteScrollContent {
|
|
|
20166
19825
|
}
|
|
20167
19826
|
render() {
|
|
20168
19827
|
const theme = getIonTheme(this);
|
|
20169
|
-
return (hAsync(Host, { key: '
|
|
19828
|
+
return (hAsync(Host, { key: 'e94d19f17ef9d4d77786716152e3206366feb546', class: {
|
|
20170
19829
|
[theme]: true,
|
|
20171
19830
|
// Used internally for styling
|
|
20172
19831
|
[`infinite-scroll-content-${theme}`]: true,
|
|
20173
|
-
} }, hAsync("div", { key: '
|
|
19832
|
+
} }, hAsync("div", { key: '35fcc0572ad27a683aa55a704bd11b19fcdfd29c', class: "infinite-loading" }, this.loadingSpinner && (hAsync("div", { key: 'fec3c13dbb2fa98699401147ce442b73e97e8bd8', class: "infinite-loading-spinner" }, hAsync("ion-spinner", { key: '6cd6083255dacc891b4d201477e6bffccb1084bc', name: this.loadingSpinner }))), this.loadingText !== undefined && this.renderLoadingText())));
|
|
20174
19833
|
}
|
|
20175
19834
|
static get style() { return {
|
|
20176
19835
|
ionic: ionicInfiniteScrollContentMdCss(),
|
|
@@ -20918,7 +20577,7 @@ class Input {
|
|
|
20918
20577
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
20919
20578
|
*/
|
|
20920
20579
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
20921
|
-
return (hAsync(Host, { key: '
|
|
20580
|
+
return (hAsync(Host, { key: 'd62741432c3e1421d69fdf2ed2e8058a1ce3544f', class: createColorClasses$1(this.color, {
|
|
20922
20581
|
[theme]: true,
|
|
20923
20582
|
'has-value': hasValue,
|
|
20924
20583
|
'has-focus': hasFocus,
|
|
@@ -20931,7 +20590,7 @@ class Input {
|
|
|
20931
20590
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
20932
20591
|
'input-disabled': disabled,
|
|
20933
20592
|
'input-readonly': readonly,
|
|
20934
|
-
}) }, hAsync("label", { key: '
|
|
20593
|
+
}) }, hAsync("label", { key: '9707227d9eb977e0983c78757af20219eb1651c6', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), hAsync("div", { key: '8bc5197ecb665e268668137844f122b74f69cc2d', class: "native-wrapper", onClick: this.onLabelClick },
|
|
20935
20594
|
/**
|
|
20936
20595
|
* For the ionic theme, we render the outline container here
|
|
20937
20596
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -20941,14 +20600,14 @@ class Input {
|
|
|
20941
20600
|
* <label> element, ensuring that clicking the label text
|
|
20942
20601
|
* focuses the input.
|
|
20943
20602
|
*/
|
|
20944
|
-
theme === 'ionic' && hAsync("div", { key: '
|
|
20603
|
+
theme === 'ionic' && hAsync("div", { key: '65383eeb6a876dbf103dd5358f041f45856e6e9d', class: "input-outline" }), hAsync("slot", { key: '7d333894f2be13a4033a515ce3c8a4489cc4bfc3', name: "start" }), hAsync("input", Object.assign({ key: '8221d445e4ee9e1d2946205893cbb6de93604c86', class: "native-input", ref: (input) => (this.nativeInput = input), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder || '', readOnly: readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, type: this.type, value: value, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeydown, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd, "aria-describedby": this.getHintTextID(), "aria-invalid": this.isInvalid ? 'true' : undefined, "aria-labelledby": this.getLabelledById() }, this.inheritedAttributes)), clearInput && !readonly && !disabled && (hAsync("button", { key: '2fb77a78ecb32b46dc9641580c2c2f6125e9715d', "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (ev) => {
|
|
20945
20604
|
/**
|
|
20946
20605
|
* This prevents mobile browsers from
|
|
20947
20606
|
* blurring the input when the clear
|
|
20948
20607
|
* button is activated.
|
|
20949
20608
|
*/
|
|
20950
20609
|
ev.preventDefault();
|
|
20951
|
-
}, onClick: this.clearTextInput }, hAsync("ion-icon", { key: '
|
|
20610
|
+
}, onClick: this.clearTextInput }, hAsync("ion-icon", { key: 'a349dfb263a011fc10f01350f917c4020809f512', "aria-hidden": "true", icon: inputClearIcon }))), hAsync("slot", { key: '6e02025608bd54cf36e21ed3bef00353921a7fb9', name: "end" })), shouldRenderHighlight && hAsync("div", { key: '8bf1e516962d232a96a2fa701e10c8c909318f62', class: "input-highlight" })), this.renderBottomContent()));
|
|
20952
20611
|
}
|
|
20953
20612
|
get el() { return getElement(this); }
|
|
20954
20613
|
static get watchers() { return {
|
|
@@ -21713,7 +21372,7 @@ class InputOTP {
|
|
|
21713
21372
|
const tabbableIndex = this.getTabbableIndex();
|
|
21714
21373
|
const pattern = this.getPattern();
|
|
21715
21374
|
const hasDescription = ((_b = (_a = el.querySelector('.input-otp-description')) === null || _a === void 0 ? void 0 : _a.textContent) === null || _b === void 0 ? void 0 : _b.trim()) !== '';
|
|
21716
|
-
return (hAsync(Host, { key: '
|
|
21375
|
+
return (hAsync(Host, { key: 'aee59cdba3f3c3783519cf114c668ae92f74fcef', class: createColorClasses$1(color, {
|
|
21717
21376
|
[mode]: true,
|
|
21718
21377
|
'has-focus': hasFocus,
|
|
21719
21378
|
[`input-otp-size-${size}`]: true,
|
|
@@ -21721,10 +21380,10 @@ class InputOTP {
|
|
|
21721
21380
|
[`input-otp-fill-${fill}`]: true,
|
|
21722
21381
|
'input-otp-disabled': disabled,
|
|
21723
21382
|
'input-otp-readonly': readonly,
|
|
21724
|
-
}) }, hAsync("div", Object.assign({ key: '
|
|
21383
|
+
}) }, hAsync("div", Object.assign({ key: 'a0b26b833a20807019114a78e4512a639b82a61f', role: "group", "aria-label": "One-time password input", class: "input-otp-group", part: "group" }, inheritedAttributes), Array.from({ length }).map((_, index) => (hAsync(Fragment, null, hAsync("div", { class: "native-wrapper", part: "container" }, hAsync("input", { class: "native-input", part: "native", id: `${inputId}-${index}`, "aria-label": `Input ${index + 1} of ${length}`, type: "text", autoCapitalize: autocapitalize, inputmode: inputmode, pattern: pattern, disabled: disabled, readOnly: readonly, tabIndex: index === tabbableIndex ? 0 : -1, value: inputValues[index] || '', autocomplete: "one-time-code", ref: (el) => (inputRefs[index] = el), onInput: this.onInput(index), onBlur: this.onBlur, onFocus: this.onFocus(index), onKeyDown: this.onKeyDown(index), onPaste: this.onPaste })), this.showSeparator(index) && hAsync("div", { class: "input-otp-separator", part: "separator" }))))), hAsync("div", { key: 'e525d1841bab5378b165ec1cca9fc45274c2c0ec', class: {
|
|
21725
21384
|
'input-otp-description': true,
|
|
21726
21385
|
'input-otp-description-hidden': !hasDescription,
|
|
21727
|
-
}, part: "description" }, hAsync("slot", { key: '
|
|
21386
|
+
}, part: "description" }, hAsync("slot", { key: '9fd331ceff04ab93f8d4aec251565cc201f19294' }))));
|
|
21728
21387
|
}
|
|
21729
21388
|
static get formAssociated() { return true; }
|
|
21730
21389
|
get el() { return getElement(this); }
|
|
@@ -21872,16 +21531,16 @@ class InputPasswordToggle {
|
|
|
21872
21531
|
const { color, inputPasswordHideIcon, inputPasswordShowIcon, type } = this;
|
|
21873
21532
|
const mode = getIonMode$1(this);
|
|
21874
21533
|
const isPasswordVisible = type === 'text';
|
|
21875
|
-
return (hAsync(Host, { key: '
|
|
21534
|
+
return (hAsync(Host, { key: 'e3c21d5bedebeadb57c0c9b7f065d15ab0d49e4a', class: createColorClasses$1(color, {
|
|
21876
21535
|
[mode]: true,
|
|
21877
|
-
}) }, hAsync("ion-button", { key: '
|
|
21536
|
+
}) }, hAsync("ion-button", { key: '0a83d58e059bc3b7ef604270e92351d7fa5d129c', mode: mode, color: color, fill: "clear", shape: "round", "aria-label": isPasswordVisible ? 'Hide password' : 'Show password', "aria-pressed": isPasswordVisible ? 'true' : 'false', type: "button", onPointerDown: (ev) => {
|
|
21878
21537
|
/**
|
|
21879
21538
|
* This prevents mobile browsers from
|
|
21880
21539
|
* blurring the input when the password toggle
|
|
21881
21540
|
* button is activated.
|
|
21882
21541
|
*/
|
|
21883
21542
|
ev.preventDefault();
|
|
21884
|
-
}, onClick: this.togglePasswordVisibility }, hAsync("ion-icon", { key: '
|
|
21543
|
+
}, onClick: this.togglePasswordVisibility }, hAsync("ion-icon", { key: 'af9a7e202fe0b3f75f10b3e13bf1e5fb653194d1', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? inputPasswordHideIcon : inputPasswordShowIcon }))));
|
|
21885
21544
|
}
|
|
21886
21545
|
get el() { return getElement(this); }
|
|
21887
21546
|
static get watchers() { return {
|
|
@@ -22256,11 +21915,11 @@ class ItemDivider {
|
|
|
22256
21915
|
}
|
|
22257
21916
|
render() {
|
|
22258
21917
|
const theme = getIonTheme(this);
|
|
22259
|
-
return (hAsync(Host, { key: '
|
|
21918
|
+
return (hAsync(Host, { key: '4d481e6233a75f3c3042b5825d9c14fe77280f03', class: createColorClasses$1(this.color, {
|
|
22260
21919
|
[theme]: true,
|
|
22261
21920
|
'item-divider-sticky': this.sticky,
|
|
22262
21921
|
item: true,
|
|
22263
|
-
}) }, hAsync("slot", { key: '
|
|
21922
|
+
}) }, hAsync("slot", { key: 'e10eeec38a39d7801b88f478c834beded30f1bb4', name: "start" }), hAsync("div", { key: '3e88c2c1a5938ee2df3264d99f2c595d438a7557', class: "item-divider-inner", part: "inner" }, hAsync("div", { key: 'e7bf5e3a985c59211bfac097e8a904627a9cc6f7', class: "item-divider-wrapper", part: "container" }, hAsync("slot", { key: '0ec4f262411414bf44d9ab6e831dbc74672ba317' })), hAsync("slot", { key: '9cd77653584fe95db1477149134af10e0d4053fa', name: "end" }))));
|
|
22264
21923
|
}
|
|
22265
21924
|
get el() { return getElement(this); }
|
|
22266
21925
|
static get style() { return {
|
|
@@ -22297,7 +21956,7 @@ class ItemGroup {
|
|
|
22297
21956
|
}
|
|
22298
21957
|
render() {
|
|
22299
21958
|
const theme = getIonTheme(this);
|
|
22300
|
-
return (hAsync(Host, { key: '
|
|
21959
|
+
return (hAsync(Host, { key: '3fb0784b321736344604e259cfb05c6307159bed', role: "group", class: {
|
|
22301
21960
|
[theme]: true,
|
|
22302
21961
|
// Used internally for styling
|
|
22303
21962
|
[`item-group-${theme}`]: true,
|
|
@@ -22393,14 +22052,14 @@ class ItemOption {
|
|
|
22393
22052
|
href: this.href,
|
|
22394
22053
|
target: this.target,
|
|
22395
22054
|
};
|
|
22396
|
-
return (hAsync(Host, { key: '
|
|
22055
|
+
return (hAsync(Host, { key: '810fe351aa83d6e88cb0e2ebee307b3050e65b45', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
22397
22056
|
[theme]: true,
|
|
22398
22057
|
[`item-option-${shape}`]: shape !== undefined,
|
|
22399
22058
|
[`item-option-${hue}`]: hue !== undefined,
|
|
22400
22059
|
'item-option-disabled': disabled,
|
|
22401
22060
|
'item-option-expandable': expandable,
|
|
22402
22061
|
'ion-activatable': true,
|
|
22403
|
-
}) }, hAsync(TagType, Object.assign({ key: '
|
|
22062
|
+
}) }, hAsync(TagType, Object.assign({ key: '6eb95c4f815e774d1b579a1fb2ddcad891966ca0' }, attrs, { class: "button-native", part: "native", disabled: disabled }), hAsync("span", { key: '5630c1bd31910f46b0a08017a98f7935f17385bf', class: "button-inner", part: "inner" }, hAsync("slot", { key: '081375e3b9683347008d08817ded21c61a374d93', name: "top" }), hAsync("div", { key: '99d7dff311268ab4677397ab5a29b068f1cdf79b', class: "horizontal-wrapper", part: "container" }, hAsync("slot", { key: 'b88858db83d847e3d49a84b75eb277500cb66fb3', name: "start" }), hAsync("slot", { key: '8ca5149591a5e3285eff5078e1eb03554fb0713b', name: "icon-only" }), hAsync("slot", { key: 'a8229a5e11bf41926745ab71f6dcd2d2ca63806c' }), hAsync("slot", { key: '9a497c0cb92fe14ad6b9063fa0946fcd75fb8c08', name: "end" })), hAsync("slot", { key: 'cae262fd2b7fad9e4bc9c02541fa17a6480ecf7f', name: "bottom" })), theme === 'md' && hAsync("ion-ripple-effect", { key: '7114b927480e6a9261c7568e036ecf38ec1680ab' }))));
|
|
22404
22063
|
}
|
|
22405
22064
|
get el() { return getElement(this); }
|
|
22406
22065
|
static get style() { return {
|
|
@@ -22458,7 +22117,7 @@ class ItemOptions {
|
|
|
22458
22117
|
render() {
|
|
22459
22118
|
const theme = getIonTheme(this);
|
|
22460
22119
|
const isEnd = isEndSide(this.side);
|
|
22461
|
-
return (hAsync(Host, { key: '
|
|
22120
|
+
return (hAsync(Host, { key: 'cc55282505679d51fb90ebf30869e930c71afbd4', class: {
|
|
22462
22121
|
[theme]: true,
|
|
22463
22122
|
// Used internally for styling
|
|
22464
22123
|
[`item-options-${theme}`]: true,
|
|
@@ -23064,7 +22723,7 @@ class ItemSliding {
|
|
|
23064
22723
|
}
|
|
23065
22724
|
render() {
|
|
23066
22725
|
const theme = getIonTheme(this);
|
|
23067
|
-
return (hAsync(Host, { key: '
|
|
22726
|
+
return (hAsync(Host, { key: 'c945f30d9f7deb90d22064d4059e2b08f35614be', class: {
|
|
23068
22727
|
[theme]: true,
|
|
23069
22728
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
23070
22729
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -23179,13 +22838,13 @@ class Label {
|
|
|
23179
22838
|
render() {
|
|
23180
22839
|
const position = this.position;
|
|
23181
22840
|
const theme = getIonTheme(this);
|
|
23182
|
-
return (hAsync(Host, { key: '
|
|
22841
|
+
return (hAsync(Host, { key: 'd730045c08ba576082563398ab51fc903577d214', class: createColorClasses$1(this.color, {
|
|
23183
22842
|
[theme]: true,
|
|
23184
22843
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
23185
22844
|
[`label-${position}`]: position !== undefined,
|
|
23186
22845
|
[`label-no-animate`]: this.noAnimate,
|
|
23187
22846
|
'label-rtl': document.dir === 'rtl',
|
|
23188
|
-
}) }, hAsync("slot", { key: '
|
|
22847
|
+
}) }, hAsync("slot", { key: '604289ef567339c83fb409371224906819a9d7cc' })));
|
|
23189
22848
|
}
|
|
23190
22849
|
get el() { return getElement(this); }
|
|
23191
22850
|
static get watchers() { return {
|
|
@@ -23265,7 +22924,7 @@ class List {
|
|
|
23265
22924
|
const theme = getIonTheme(this);
|
|
23266
22925
|
const shape = this.getShape();
|
|
23267
22926
|
const { lines, inset } = this;
|
|
23268
|
-
return (hAsync(Host, { key: '
|
|
22927
|
+
return (hAsync(Host, { key: 'dcdfb595a6b45307f9810e1ded25ba635c947940', role: "list", class: {
|
|
23269
22928
|
[theme]: true,
|
|
23270
22929
|
// Used internally for styling
|
|
23271
22930
|
[`list-${theme}`]: true,
|
|
@@ -23315,10 +22974,10 @@ class ListHeader {
|
|
|
23315
22974
|
render() {
|
|
23316
22975
|
const { lines } = this;
|
|
23317
22976
|
const theme = getIonTheme(this);
|
|
23318
|
-
return (hAsync(Host, { key: '
|
|
22977
|
+
return (hAsync(Host, { key: '0be4fb7d4f9cd6f50229cf7b361c74e94fbfce91', class: createColorClasses$1(this.color, {
|
|
23319
22978
|
[theme]: true,
|
|
23320
22979
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
23321
|
-
}) }, hAsync("div", { key: '
|
|
22980
|
+
}) }, hAsync("div", { key: '4dcc3374685728ae9270d8d58b1ea1c08b0bbc08', class: "list-header-inner", part: "inner" }, hAsync("slot", { key: '5658cc9185680bfa96328685d817b84b18e9ab5a' }))));
|
|
23322
22981
|
}
|
|
23323
22982
|
static get style() { return {
|
|
23324
22983
|
ionic: listHeaderIonicCss(),
|
|
@@ -23607,9 +23266,9 @@ class Loading {
|
|
|
23607
23266
|
* Otherwise, don't set aria-labelledby.
|
|
23608
23267
|
*/
|
|
23609
23268
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
23610
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
23269
|
+
return (hAsync(Host, Object.assign({ key: '0c475f8e28e680e28e09317557795fc56e0835d8', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
23611
23270
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
23612
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: '
|
|
23271
|
+
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: 'd7e88feb6df8edbc326a84d07b294618f7ce6adc', visible: this.showBackdrop, tappable: this.backdropDismiss }), hAsync("div", { key: 'f9622f45b2d9e913c325b228a1e6ed03cf2b98e8', tabindex: "0", "aria-hidden": "true" }), hAsync("div", { key: 'f4dfdce70c4515878b247d0cc116b5cec2cf79a4', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (hAsync("div", { key: '6d4475e00c444eb3d217813ae8cc1a02a97b969e', class: "loading-spinner" }, hAsync("ion-spinner", { key: 'd9ad8dd56ec7677c18d06936c1a1b21a0a6a87a8', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), hAsync("div", { key: 'bd3159e18f33ec25d3480d47ce33fa7dfd1f1460', tabindex: "0", "aria-hidden": "true" })));
|
|
23613
23272
|
}
|
|
23614
23273
|
get el() { return getElement(this); }
|
|
23615
23274
|
static get watchers() { return {
|
|
@@ -24670,14 +24329,14 @@ class Menu {
|
|
|
24670
24329
|
* the ionBackButton listener in the menu controller
|
|
24671
24330
|
* will handle closing the menu when Escape is pressed.
|
|
24672
24331
|
*/
|
|
24673
|
-
return (hAsync(Host, { key: '
|
|
24332
|
+
return (hAsync(Host, { key: '12bd2c4e9aa2f314ffc45d7f43290bd9910ca8b0', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
24674
24333
|
[theme]: true,
|
|
24675
24334
|
[`menu-type-${type}`]: true,
|
|
24676
24335
|
'menu-enabled': !disabled,
|
|
24677
24336
|
[`menu-side-${side}`]: true,
|
|
24678
24337
|
'menu-pane-visible': isPaneVisible,
|
|
24679
24338
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
24680
|
-
} }, hAsync("div", { key: '
|
|
24339
|
+
} }, hAsync("div", { key: 'd43e12f2502ae5da847eb0d2a70d0a3945733739', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, hAsync("slot", { key: '19977e6584bdbb5b01e6e0a4a7f4558087175b33' })), hAsync("ion-backdrop", { key: '22e79a7edca409248bd3637474d6783f1d7de1b3', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
24681
24340
|
}
|
|
24682
24341
|
get el() { return getElement(this); }
|
|
24683
24342
|
static get watchers() { return {
|
|
@@ -24811,7 +24470,7 @@ class MenuButton {
|
|
|
24811
24470
|
type: this.type,
|
|
24812
24471
|
};
|
|
24813
24472
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
24814
|
-
return (hAsync(Host, { key: '
|
|
24473
|
+
return (hAsync(Host, { key: '206b8482b58e7ee49ea89393a15e9cf30578297b', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses$1(color, {
|
|
24815
24474
|
[theme]: true,
|
|
24816
24475
|
button: true, // ion-buttons target .button
|
|
24817
24476
|
'menu-button-hidden': hidden,
|
|
@@ -24820,7 +24479,7 @@ class MenuButton {
|
|
|
24820
24479
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
24821
24480
|
'ion-activatable': true,
|
|
24822
24481
|
'ion-focusable': true,
|
|
24823
|
-
}) }, hAsync("button", Object.assign({ key: '
|
|
24482
|
+
}) }, hAsync("button", Object.assign({ key: '33017f0cde4835383f65b82f24e088dc2cf46517' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), hAsync("span", { key: '63aadc2910f7fd7ae070fe108822c51441dd8ea5', class: "button-inner" }, hAsync("slot", { key: '6696b67329bdf6a0a7db0739d16717eb9ffc5f3b' }, hAsync("ion-icon", { key: '7f88dd0caa7003db810bce76189ecbaba9ff6317', part: "icon", icon: menuIcon, lazy: false, "aria-hidden": "true" }))), theme === 'md' && hAsync("ion-ripple-effect", { key: '1a2063529bb63cc055fb4bb7d1ad3032df2a74b4', type: "unbounded" }))));
|
|
24824
24483
|
}
|
|
24825
24484
|
get el() { return getElement(this); }
|
|
24826
24485
|
static get style() { return {
|
|
@@ -24877,10 +24536,10 @@ class MenuToggle {
|
|
|
24877
24536
|
render() {
|
|
24878
24537
|
const theme = getIonTheme(this);
|
|
24879
24538
|
const hidden = this.autoHide && !this.visible;
|
|
24880
|
-
return (hAsync(Host, { key: '
|
|
24539
|
+
return (hAsync(Host, { key: 'c3ddce789a90d720769919ebf854d05cc75f599e', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
24881
24540
|
[theme]: true,
|
|
24882
24541
|
'menu-toggle-hidden': hidden,
|
|
24883
|
-
} }, hAsync("slot", { key: '
|
|
24542
|
+
} }, hAsync("slot", { key: 'f1334ba9d20148b673a0b6185ab5ef92f448f720' })));
|
|
24884
24543
|
}
|
|
24885
24544
|
static get style() { return menuToggleCss(); }
|
|
24886
24545
|
static get cmpMeta() { return {
|
|
@@ -28383,20 +28042,20 @@ class Modal {
|
|
|
28383
28042
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
28384
28043
|
const shape = this.getShape();
|
|
28385
28044
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
28386
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
28045
|
+
return (hAsync(Host, Object.assign({ key: 'e4b82f87c76d3ad5aae7794c4c882e6c95ef7c97', "no-router": true,
|
|
28387
28046
|
// Allow the modal to be navigable when the handle is focusable
|
|
28388
28047
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
28389
28048
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
28390
|
-
}, class: Object.assign({ [theme]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-${shape}`]: shape !== undefined, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }), hAsync("ion-backdrop", { key: '
|
|
28049
|
+
}, class: Object.assign({ [theme]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-${shape}`]: shape !== undefined, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }), hAsync("ion-backdrop", { key: '70f0240dd59e38587c6fbbc2ade4fcb094292b48', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), theme === 'ios' && hAsync("div", { key: '9c2b8fd94a37c39739de9b5b12d541685e4fb26c', class: "modal-shadow" }), hAsync("div", Object.assign({ key: '55eb3782bd130447dcb935097366b85941422220',
|
|
28391
28050
|
/*
|
|
28392
28051
|
role and aria-modal must be used on the
|
|
28393
28052
|
same element. They must also be set inside the
|
|
28394
28053
|
shadow DOM otherwise ion-button will not be highlighted
|
|
28395
28054
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
28396
28055
|
*/
|
|
28397
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: '
|
|
28056
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: 'bc685478939603b48fd2530cc0d24beb138f5918', class: "modal-handle",
|
|
28398
28057
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
28399
|
-
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", ref: (el) => (this.dragHandleEl = el) })), hAsync("slot", { key: '
|
|
28058
|
+
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", ref: (el) => (this.dragHandleEl = el) })), hAsync("slot", { key: '96d518c5ee89e7b16929cd6fd682347045d5c231', onSlotchange: this.onSlotChange }))));
|
|
28400
28059
|
}
|
|
28401
28060
|
get el() { return getElement(this); }
|
|
28402
28061
|
static get watchers() { return {
|
|
@@ -29356,7 +29015,7 @@ class Nav {
|
|
|
29356
29015
|
}
|
|
29357
29016
|
}
|
|
29358
29017
|
render() {
|
|
29359
|
-
return hAsync("slot", { key: '
|
|
29018
|
+
return hAsync("slot", { key: 'd6dd0b1e0ba59381a139f4a49de3eb8351fa87a4' });
|
|
29360
29019
|
}
|
|
29361
29020
|
get el() { return getElement(this); }
|
|
29362
29021
|
static get watchers() { return {
|
|
@@ -29437,7 +29096,7 @@ class NavLink {
|
|
|
29437
29096
|
};
|
|
29438
29097
|
}
|
|
29439
29098
|
render() {
|
|
29440
|
-
return hAsync(Host, { key: '
|
|
29099
|
+
return hAsync(Host, { key: '61246716bdf9556db90e07680bc1a289f9658d5c', onClick: this.onClick });
|
|
29441
29100
|
}
|
|
29442
29101
|
get el() { return getElement(this); }
|
|
29443
29102
|
static get cmpMeta() { return {
|
|
@@ -29471,9 +29130,9 @@ class Note {
|
|
|
29471
29130
|
}
|
|
29472
29131
|
render() {
|
|
29473
29132
|
const theme = getIonTheme(this);
|
|
29474
|
-
return (hAsync(Host, { key: '
|
|
29133
|
+
return (hAsync(Host, { key: 'a8470df6b8fb8ca327a282fc23705bc230f13a40', class: createColorClasses$1(this.color, {
|
|
29475
29134
|
[theme]: true,
|
|
29476
|
-
}) }, hAsync("slot", { key: '
|
|
29135
|
+
}) }, hAsync("slot", { key: '07cbdef68f010b06638f359f70dff3f1d659d899' })));
|
|
29477
29136
|
}
|
|
29478
29137
|
static get style() { return {
|
|
29479
29138
|
ionic: ionicNoteMdCss(),
|
|
@@ -30239,11 +29898,11 @@ class Picker {
|
|
|
30239
29898
|
render() {
|
|
30240
29899
|
const { htmlAttributes } = this;
|
|
30241
29900
|
const theme = getIonTheme(this);
|
|
30242
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
29901
|
+
return (hAsync(Host, Object.assign({ key: 'efcc823fad9cb37c1379bef4f4b84c6461f3a3a6', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
30243
29902
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
30244
29903
|
}, class: Object.assign({ [theme]: true,
|
|
30245
29904
|
// Used internally for styling
|
|
30246
|
-
[`picker-${theme}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: '
|
|
29905
|
+
[`picker-${theme}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: '3f44bf34e039210ae149c590c393ee9f7fb85da0', visible: this.showBackdrop, tappable: this.backdropDismiss }), hAsync("div", { key: 'c2a51a89c525b1a22cbc8583cd30f41c3c356d4f', tabindex: "0", "aria-hidden": "true" }), hAsync("div", { key: '23837ffe309d0aad9b8ea09d7ac94d21040ef0d7', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, hAsync("div", { key: '91ba7e553d570768142715ded4bcc27fceedbce4', class: "picker-toolbar" }, this.buttons.map((b) => (hAsync("div", { class: buttonWrapperClass(b) }, hAsync("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass$1(b) }, b.text))))), hAsync("div", { key: '22661cafeb555f1435ec1e0a122404a48136095b', class: "picker-columns" }, hAsync("div", { key: '5f3db32468b8c60f63c70d81a27b18cce6f2e259', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => hAsync("ion-picker-legacy-column", { col: c })), hAsync("div", { key: '1bae6b170125b1671a480506ba73636b42b65909', class: "picker-below-highlight" }))), hAsync("div", { key: '91beb94ce537122fbd6cd0c2bd3c00f908d0fefe', tabindex: "0", "aria-hidden": "true" })));
|
|
30247
29906
|
}
|
|
30248
29907
|
get el() { return getElement(this); }
|
|
30249
29908
|
static get watchers() { return {
|
|
@@ -31221,9 +30880,9 @@ class PickerColumnCmp {
|
|
|
31221
30880
|
render() {
|
|
31222
30881
|
const col = this.col;
|
|
31223
30882
|
const theme = getIonTheme(this);
|
|
31224
|
-
return (hAsync(Host, { key: '
|
|
30883
|
+
return (hAsync(Host, { key: '66a5b7f51aa1ee343dbad3830e03933dbdab27ed', class: Object.assign({ [theme]: true, 'picker-col': true, 'picker-opts-left': this.col.align === 'left', 'picker-opts-right': this.col.align === 'right' }, getClassMap(col.cssClass)), style: {
|
|
31225
30884
|
'max-width': this.col.columnWidth,
|
|
31226
|
-
} }, col.prefix && (hAsync("div", { key: '
|
|
30885
|
+
} }, col.prefix && (hAsync("div", { key: '19a170752bacdabd50c719f6d1aa9e58a2bd830b', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), hAsync("div", { key: '871671f796aa6a1f78e07ab2599d94b5fd8cd0bf', class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: (el) => (this.optsEl = el) }, col.options.map((o, index) => (hAsync("button", { "aria-label": o.ariaLabel, class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index }, o.text)))), col.suffix && (hAsync("div", { key: '89792e1dc75a4359a4706a8fd1846fe29b866173', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
31227
30886
|
}
|
|
31228
30887
|
get el() { return getElement(this); }
|
|
31229
30888
|
static get watchers() { return {
|
|
@@ -31348,10 +31007,10 @@ class PickerColumnOption {
|
|
|
31348
31007
|
render() {
|
|
31349
31008
|
const { color, disabled, ariaLabel } = this;
|
|
31350
31009
|
const theme = getIonTheme(this);
|
|
31351
|
-
return (hAsync(Host, { key: '
|
|
31010
|
+
return (hAsync(Host, { key: '9ceebae71b6df0b01f36691d82d716f6756625d9', class: createColorClasses$1(color, {
|
|
31352
31011
|
[theme]: true,
|
|
31353
31012
|
['option-disabled']: disabled,
|
|
31354
|
-
}) }, hAsync("div", { key: '
|
|
31013
|
+
}) }, hAsync("div", { key: '1f26246d601779dadfaf055d195e2a4959180f5a', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, hAsync("slot", { key: 'eed413474a8b7ec7a73da27fa72a2d0a9a2aae2b' }))));
|
|
31355
31014
|
}
|
|
31356
31015
|
get el() { return getElement(this); }
|
|
31357
31016
|
static get watchers() { return {
|
|
@@ -32920,9 +32579,9 @@ class Popover {
|
|
|
32920
32579
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
32921
32580
|
const desktop = isPlatform('desktop');
|
|
32922
32581
|
const enableArrow = arrow && !parentPopover;
|
|
32923
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
32582
|
+
return (hAsync(Host, Object.assign({ key: 'ba8801218aa8543eae0e8e2c57fbd0d4fbb2c8ff', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
32924
32583
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
32925
|
-
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && hAsync("ion-backdrop", { key: '
|
|
32584
|
+
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && hAsync("ion-backdrop", { key: '0301c9a9ed70cf34445e89484cd4145dc98f3d4c', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), hAsync("div", { key: 'd017b8cda9eb474cf990222c90539697308a1c8f', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && hAsync("div", { key: 'fdf8ec2e98a29bfa3e26788e4a432ff402800202', class: "popover-arrow", part: "arrow" }), hAsync("div", { key: '9498eace0a68daf39e7c0580ca46e33a9791f62c', class: "popover-content", part: "content" }, hAsync("slot", { key: '0f10c7e335d2f4f75e10d7fde5244c3dd5ae0bb4' })))));
|
|
32926
32585
|
}
|
|
32927
32586
|
get el() { return getElement(this); }
|
|
32928
32587
|
static get watchers() { return {
|
|
@@ -33050,7 +32709,7 @@ class ProgressBar {
|
|
|
33050
32709
|
const shape = this.getShape();
|
|
33051
32710
|
// If the progress is displayed as a solid bar.
|
|
33052
32711
|
const progressSolid = buffer === 1;
|
|
33053
|
-
return (hAsync(Host, { key: '
|
|
32712
|
+
return (hAsync(Host, { key: '9adef68c31bdf39d48199e01587f8d5295d4c6af', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses$1(color, {
|
|
33054
32713
|
[theme]: true,
|
|
33055
32714
|
[`progress-bar-${type}`]: true,
|
|
33056
32715
|
'progress-paused': paused,
|
|
@@ -33243,7 +32902,7 @@ class Radio {
|
|
|
33243
32902
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
33244
32903
|
const theme = getIonTheme(this);
|
|
33245
32904
|
const inItem = hostContext('ion-item', el);
|
|
33246
|
-
return (hAsync(Host, { key: '
|
|
32905
|
+
return (hAsync(Host, { key: '19cc76c559551a34e4968f4902709be6f104dede', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses$1(color, {
|
|
33247
32906
|
[theme]: true,
|
|
33248
32907
|
'in-item': inItem,
|
|
33249
32908
|
'radio-checked': checked,
|
|
@@ -33254,10 +32913,10 @@ class Radio {
|
|
|
33254
32913
|
// Focus and active styling should not apply when the radio is in an item
|
|
33255
32914
|
'ion-activatable': !inItem,
|
|
33256
32915
|
'ion-focusable': !inItem,
|
|
33257
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, hAsync("label", { key: '
|
|
32916
|
+
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, hAsync("label", { key: 'ba97fae433b69e609ad88b949a56cd213d866ae6', class: "radio-wrapper" }, hAsync("div", { key: 'a742b8f1a56d080fd221d89717dbd110db18ee69', class: {
|
|
33258
32917
|
'label-text-wrapper': true,
|
|
33259
32918
|
'label-text-wrapper-hidden': !hasLabel,
|
|
33260
|
-
}, part: "label" }, hAsync("slot", { key: '
|
|
32919
|
+
}, part: "label" }, hAsync("slot", { key: 'f06b9b57e1c2d66d3eb6790ca30f4d5e85d0d264' })), hAsync("div", { key: '780fc11778f5661d95e60c6cd72a9ed78910b889', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
33261
32920
|
}
|
|
33262
32921
|
get el() { return getElement(this); }
|
|
33263
32922
|
static get watchers() { return {
|
|
@@ -33527,10 +33186,10 @@ class RadioGroup {
|
|
|
33527
33186
|
const { label, labelId, el, name, value } = this;
|
|
33528
33187
|
const theme = getIonTheme(this);
|
|
33529
33188
|
renderHiddenInput(true, el, name, value, false);
|
|
33530
|
-
return (hAsync(Host, { key: '
|
|
33189
|
+
return (hAsync(Host, { key: '39246fbf1f1e3a6ba27dd715f030445d4434999b', class: {
|
|
33531
33190
|
[theme]: true,
|
|
33532
33191
|
'in-list': hostContext('ion-list', el),
|
|
33533
|
-
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick }, this.renderHintText(), hAsync("slot", { key: '
|
|
33192
|
+
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick }, this.renderHintText(), hAsync("slot", { key: '892b023cb363fc2dc67f8df028d3dfc58f7b54cd' })));
|
|
33534
33193
|
}
|
|
33535
33194
|
get el() { return getElement(this); }
|
|
33536
33195
|
static get watchers() { return {
|
|
@@ -34380,7 +34039,7 @@ class Range {
|
|
|
34380
34039
|
const valueAtMin = dualKnobs ? this.valA === min || this.valB === min : this.valA === min;
|
|
34381
34040
|
const valueAtMax = dualKnobs ? this.valA === max || this.valB === max : this.valA === max;
|
|
34382
34041
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
34383
|
-
return (hAsync(Host, { key: '
|
|
34042
|
+
return (hAsync(Host, { key: '1b8ca217fa6965fc038fb4ca8f0bc9142b3893ad', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses$1(this.color, {
|
|
34384
34043
|
[theme]: true,
|
|
34385
34044
|
'in-item': inItem,
|
|
34386
34045
|
'range-disabled': disabled,
|
|
@@ -34394,10 +34053,10 @@ class Range {
|
|
|
34394
34053
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
34395
34054
|
'range-value-min': valueAtMin,
|
|
34396
34055
|
'range-value-max': valueAtMax,
|
|
34397
|
-
}) }, hAsync("label", { key: '
|
|
34056
|
+
}) }, hAsync("label", { key: '98b02130c9bb5a9ba6557be28f1ac09be0d10806', class: "range-wrapper", id: "range-label" }, hAsync("div", { key: '570083103b51b335c805672918d69e997dc30e66', class: {
|
|
34398
34057
|
'label-text-wrapper': true,
|
|
34399
34058
|
'label-text-wrapper-hidden': !hasLabel,
|
|
34400
|
-
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '
|
|
34059
|
+
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '1e3233a747d0adca6611234d0675ce049ef979cf', class: "native-wrapper" }, hAsync("slot", { key: '4f06a217592a98d889420468eb282ba8652ef1cc', name: "start" }), this.renderRangeSlider(), hAsync("slot", { key: '4286279dbadf0e92bffbd5e98d5e36cba095be3c', name: "end" })))));
|
|
34401
34060
|
}
|
|
34402
34061
|
get el() { return getElement(this); }
|
|
34403
34062
|
static get watchers() { return {
|
|
@@ -35472,7 +35131,7 @@ class Refresher {
|
|
|
35472
35131
|
}
|
|
35473
35132
|
render() {
|
|
35474
35133
|
const theme = getIonTheme(this);
|
|
35475
|
-
return (hAsync(Host, { key: '
|
|
35134
|
+
return (hAsync(Host, { key: '0be6aed52363cda66f8324ddfb9b0aeda92ce0bf', slot: "fixed", class: {
|
|
35476
35135
|
[theme]: true,
|
|
35477
35136
|
// Used internally for styling
|
|
35478
35137
|
[`refresher-${theme}`]: true,
|
|
@@ -35711,9 +35370,9 @@ class RefresherContent {
|
|
|
35711
35370
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
35712
35371
|
const theme = getIonTheme(this);
|
|
35713
35372
|
const arrowIcon = theme === 'ionic' ? caretLeftFillSvg : caretBackSharp;
|
|
35714
|
-
return (hAsync(Host, { key: '
|
|
35373
|
+
return (hAsync(Host, { key: '3a3a3fb44f8397bb8e5019b51254ada8c26ae371', class: {
|
|
35715
35374
|
[theme]: true,
|
|
35716
|
-
} }, hAsync("div", { key: '
|
|
35375
|
+
} }, hAsync("div", { key: '3e63966e8c2b262b1f9d4a5545dbdd00e97a4c68', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (hAsync("div", { key: 'd4c8fa7151cee666520a40050c58f6e8201b14a5', class: "refresher-pulling-icon" }, hAsync("div", { key: '2f45a17fe5fe51e81e2d7bd580fd60ce754c5989', class: "spinner-arrow-container" }, hAsync("ion-spinner", { key: '210cd5f152453a283dbc579f545c683e3af84ea3', name: this.pullingIcon, paused: true }), (theme === 'md' || theme === 'ionic') && this.pullingIcon === 'circular' && (hAsync("div", { key: '060c8d531e90478121113f59989ac29809f48947', class: "arrow-container" }, hAsync("ion-icon", { key: '7c30ddd2c1a6e2274e7d57f792733017c663197b', icon: arrowIcon, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (hAsync("div", { key: '3dee253d56c871195dcd59eaedc2b867ac578319', class: "refresher-pulling-icon" }, hAsync("ion-icon", { key: '46b859328da272449f316ea8f68f3c3dd545c2e7', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), hAsync("div", { key: '56660f9f6cff1006c5552df3a9430124689d42cb', class: "refresher-refreshing" }, this.refreshingSpinner && (hAsync("div", { key: 'e8232281f251e5d0d22972fa8e38176edc3d9e5d', class: "refresher-refreshing-icon" }, hAsync("ion-spinner", { key: '70f42df444c4669f393137f218ba9d635f76a26c', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
35717
35376
|
}
|
|
35718
35377
|
get el() { return getElement(this); }
|
|
35719
35378
|
static get style() { return {
|
|
@@ -35782,9 +35441,9 @@ class Reorder {
|
|
|
35782
35441
|
render() {
|
|
35783
35442
|
const { reorderHandleIcon } = this;
|
|
35784
35443
|
const theme = getIonTheme(this);
|
|
35785
|
-
return (hAsync(Host, { key: '
|
|
35444
|
+
return (hAsync(Host, { key: 'ba59a095c200b70c6d847dc7362d52b315dc853a', class: {
|
|
35786
35445
|
[theme]: true,
|
|
35787
|
-
} }, hAsync("slot", { key: '
|
|
35446
|
+
} }, hAsync("slot", { key: '79be263f78cc21c9c4f91326e557e65849ab1e51' }, hAsync("ion-icon", { key: '6e5c47c8bbd33f5cd405a5fd531831cb87c8e57e', icon: reorderHandleIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
35788
35447
|
}
|
|
35789
35448
|
get el() { return getElement(this); }
|
|
35790
35449
|
static get style() { return {
|
|
@@ -36060,7 +35719,7 @@ class ReorderGroup {
|
|
|
36060
35719
|
}
|
|
36061
35720
|
render() {
|
|
36062
35721
|
const theme = getIonTheme(this);
|
|
36063
|
-
return (hAsync(Host, { key: '
|
|
35722
|
+
return (hAsync(Host, { key: 'df12858536c409c76552fe79b88827b3c4a5d9c5', class: {
|
|
36064
35723
|
[theme]: true,
|
|
36065
35724
|
'reorder-enabled': !this.disabled,
|
|
36066
35725
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -36186,7 +35845,7 @@ class RippleEffect {
|
|
|
36186
35845
|
}
|
|
36187
35846
|
render() {
|
|
36188
35847
|
const theme = getIonTheme(this);
|
|
36189
|
-
return (hAsync(Host, { key: '
|
|
35848
|
+
return (hAsync(Host, { key: '502ce1841747f255dfab542914bebd0d0f4ae9bd', role: "presentation", class: {
|
|
36190
35849
|
[theme]: true,
|
|
36191
35850
|
unbounded: this.unbounded,
|
|
36192
35851
|
} }));
|
|
@@ -37171,10 +36830,10 @@ class RouterLink {
|
|
|
37171
36830
|
rel: this.rel,
|
|
37172
36831
|
target: this.target,
|
|
37173
36832
|
};
|
|
37174
|
-
return (hAsync(Host, { key: '
|
|
36833
|
+
return (hAsync(Host, { key: '518b86cf40eb95e03f75a20ff44fff804ac8ec4d', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
37175
36834
|
[theme]: true,
|
|
37176
36835
|
'ion-activatable': true,
|
|
37177
|
-
}) }, hAsync("a", Object.assign({ key: '
|
|
36836
|
+
}) }, hAsync("a", Object.assign({ key: 'dbf3cc12752b4fa2d3873723a8ea5a30b053d261' }, attrs), hAsync("slot", { key: '9614e46a8d35201937f1f9a39b88f71b78efa7a0' }))));
|
|
37178
36837
|
}
|
|
37179
36838
|
static get style() { return routerLinkCss(); }
|
|
37180
36839
|
static get cmpMeta() { return {
|
|
@@ -37374,7 +37033,7 @@ class RouterOutlet {
|
|
|
37374
37033
|
return true;
|
|
37375
37034
|
}
|
|
37376
37035
|
render() {
|
|
37377
|
-
return hAsync("slot", { key: '
|
|
37036
|
+
return hAsync("slot", { key: '3f107f085a977b4d27c7266771a9564e3219f736' });
|
|
37378
37037
|
}
|
|
37379
37038
|
get el() { return getElement(this); }
|
|
37380
37039
|
static get watchers() { return {
|
|
@@ -37414,9 +37073,9 @@ class Row {
|
|
|
37414
37073
|
}
|
|
37415
37074
|
render() {
|
|
37416
37075
|
const theme = getIonTheme(this);
|
|
37417
|
-
return (hAsync(Host, { key: '
|
|
37076
|
+
return (hAsync(Host, { key: '6f5dd5032485a69ddf9510e2e539a7ba90afda47', class: {
|
|
37418
37077
|
[theme]: true,
|
|
37419
|
-
} }, hAsync("slot", { key: '
|
|
37078
|
+
} }, hAsync("slot", { key: '994dcbbc871d606b61ff5993fb29aa1fa349c483' })));
|
|
37420
37079
|
}
|
|
37421
37080
|
static get style() { return rowCss(); }
|
|
37422
37081
|
static get cmpMeta() { return {
|
|
@@ -37975,8 +37634,8 @@ class Searchbar {
|
|
|
37975
37634
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
37976
37635
|
const shape = this.getShape();
|
|
37977
37636
|
const size = this.getSize();
|
|
37978
|
-
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '
|
|
37979
|
-
return (hAsync(Host, { key: '
|
|
37637
|
+
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: 'e9d60e9e313218ae012da0eb63dc3c08f37f6915', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: theme === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, hAsync("div", { key: '4566b2968b5ba79369e424f1829decf7779e9be1', "aria-hidden": "true" }, theme === 'md' || theme === 'ionic' ? (hAsync("ion-icon", { "aria-hidden": "true", icon: searchbarCancelIcon, lazy: false })) : (cancelButtonText))));
|
|
37638
|
+
return (hAsync(Host, { key: 'e6af154631381ee0549c5d1d39577a86b8ae7b3f', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses$1(this.color, {
|
|
37980
37639
|
[theme]: true,
|
|
37981
37640
|
'searchbar-animated': animated,
|
|
37982
37641
|
'searchbar-disabled': this.disabled,
|
|
@@ -37990,14 +37649,14 @@ class Searchbar {
|
|
|
37990
37649
|
[`searchbar-shape-${shape}`]: shape !== undefined,
|
|
37991
37650
|
[`searchbar-size-${size}`]: size !== undefined,
|
|
37992
37651
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
37993
|
-
}) }, hAsync("div", { key: '
|
|
37652
|
+
}) }, hAsync("div", { key: 'cdd7674dd31f53a96517c69fc83916ceea590d6a', class: "searchbar-input-container" }, hAsync("input", Object.assign({ key: 'b7682f425c2645b9fe33ee03d0d0adb88c5b7c7b', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), (theme === 'md' || theme === 'ionic') && cancelButton, this.shouldShowSearchIcon() && (hAsync("ion-icon", { key: 'd8ad4196fa5921a3f444756410386b8189f4136a', "aria-hidden": "true", icon: searchbarSearchIcon, lazy: false, class: "searchbar-search-icon" })), this.shouldShowClearButton() && (hAsync("button", { key: '7bad8accea54850d7cb6dbe8d5d5a404c97bab8b', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
37994
37653
|
/**
|
|
37995
37654
|
* This prevents mobile browsers from
|
|
37996
37655
|
* blurring the input when the clear
|
|
37997
37656
|
* button is activated.
|
|
37998
37657
|
*/
|
|
37999
37658
|
ev.preventDefault();
|
|
38000
|
-
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: '
|
|
37659
|
+
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: 'f60f21ce6f8c3e37d768ff0bd5c69e5797dd77fd', "aria-hidden": "true", icon: searchbarClearIcon, lazy: false, class: "searchbar-clear-icon" })))), theme === 'ios' && cancelButton));
|
|
38001
37660
|
}
|
|
38002
37661
|
get el() { return getElement(this); }
|
|
38003
37662
|
static get watchers() { return {
|
|
@@ -38608,14 +38267,14 @@ class Segment {
|
|
|
38608
38267
|
}
|
|
38609
38268
|
render() {
|
|
38610
38269
|
const theme = getIonTheme(this);
|
|
38611
|
-
return (hAsync(Host, { key: '
|
|
38270
|
+
return (hAsync(Host, { key: '578d4eb20a89742c8c3cb3109fe62a5fdf87b089', role: "tablist", onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
38612
38271
|
[theme]: true,
|
|
38613
38272
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
38614
38273
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
38615
38274
|
'segment-activated': this.activated,
|
|
38616
38275
|
'segment-disabled': this.disabled,
|
|
38617
38276
|
'segment-scrollable': this.scrollable,
|
|
38618
|
-
}) }, hAsync("slot", { key: '
|
|
38277
|
+
}) }, hAsync("slot", { key: '4b9999c95622773aea0c1bf3d1ab9dc650efb5eb', onSlotchange: this.onSlottedItemsChange })));
|
|
38619
38278
|
}
|
|
38620
38279
|
get el() { return getElement(this); }
|
|
38621
38280
|
static get watchers() { return {
|
|
@@ -38767,7 +38426,7 @@ class SegmentButton {
|
|
|
38767
38426
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
38768
38427
|
const theme = getIonTheme(this);
|
|
38769
38428
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
38770
|
-
return (hAsync(Host, { key: '
|
|
38429
|
+
return (hAsync(Host, { key: '75eeffd15e3581c15f48a0b12cbf5a4229b087d6', class: {
|
|
38771
38430
|
[theme]: true,
|
|
38772
38431
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
38773
38432
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -38783,7 +38442,7 @@ class SegmentButton {
|
|
|
38783
38442
|
'ion-activatable': true,
|
|
38784
38443
|
'ion-activatable-instant': true,
|
|
38785
38444
|
'ion-focusable': true,
|
|
38786
|
-
} }, hAsync("button", Object.assign({ key: '
|
|
38445
|
+
} }, hAsync("button", Object.assign({ key: '701fd86647377f744d91eb92427c73583d229253', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), hAsync("span", { key: '63634d3e500312c847194551996a2897610e0cc7', class: "button-inner" }, hAsync("slot", { key: '89963e233c9a7ea84b7262ab84db6edbe76ee95e' })), theme === 'md' && hAsync("ion-ripple-effect", { key: '9d766c3d48c0b2ba50ab03f2279ccf710973bbba' })), hAsync("div", { key: 'a70f2d1a57cca4e04b00b36a6b47eb93ef4cb26e', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, hAsync("div", { key: 'aff9931755a1f643147bf0e7d2be29b35d8f9d41', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
38787
38446
|
}
|
|
38788
38447
|
get el() { return getElement(this); }
|
|
38789
38448
|
static get watchers() { return {
|
|
@@ -38821,7 +38480,7 @@ class SegmentContent {
|
|
|
38821
38480
|
registerInstance(this, hostRef);
|
|
38822
38481
|
}
|
|
38823
38482
|
render() {
|
|
38824
|
-
return (hAsync(Host, { key: '
|
|
38483
|
+
return (hAsync(Host, { key: '81cc29460a17c32592fbf9fca6242f4bb1738aa6' }, hAsync("slot", { key: '4f718420caf11c6672642fcf1a1bdb7f48d6cdfc' })));
|
|
38825
38484
|
}
|
|
38826
38485
|
static get style() { return segmentContentCss(); }
|
|
38827
38486
|
static get cmpMeta() { return {
|
|
@@ -38942,11 +38601,11 @@ class SegmentView {
|
|
|
38942
38601
|
}
|
|
38943
38602
|
render() {
|
|
38944
38603
|
const { disabled, isManualScroll, swipeGesture } = this;
|
|
38945
|
-
return (hAsync(Host, { key: '
|
|
38604
|
+
return (hAsync(Host, { key: '47db42d48ffc6a957e1823ba1ac1a2edff15cfca', class: {
|
|
38946
38605
|
'segment-view-disabled': disabled,
|
|
38947
38606
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
38948
38607
|
'segment-view-swipe-disabled': swipeGesture === false,
|
|
38949
|
-
} }, hAsync("slot", { key: '
|
|
38608
|
+
} }, hAsync("slot", { key: '3796e9c733e8659fda172eb2734e50d28b864fa7' })));
|
|
38950
38609
|
}
|
|
38951
38610
|
get el() { return getElement(this); }
|
|
38952
38611
|
static get style() { return {
|
|
@@ -39882,7 +39541,7 @@ class Select {
|
|
|
39882
39541
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
39883
39542
|
*/
|
|
39884
39543
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
39885
|
-
return (hAsync(Host, { key: '
|
|
39544
|
+
return (hAsync(Host, { key: 'b75ee27abca24a0ee5ec2bcecec98aeab85d11b2', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
39886
39545
|
[theme]: true,
|
|
39887
39546
|
'in-item': inItem,
|
|
39888
39547
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -39901,7 +39560,7 @@ class Select {
|
|
|
39901
39560
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
39902
39561
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
39903
39562
|
[`select-size-${size}`]: size !== undefined,
|
|
39904
|
-
}) }, hAsync("label", { key: '
|
|
39563
|
+
}) }, 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" },
|
|
39905
39564
|
/**
|
|
39906
39565
|
* For the ionic theme, we render the outline container here
|
|
39907
39566
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -39911,7 +39570,7 @@ class Select {
|
|
|
39911
39570
|
* <label> element, ensuring that clicking the label text
|
|
39912
39571
|
* focuses the select.
|
|
39913
39572
|
*/
|
|
39914
|
-
theme === 'ionic' && fill === 'outline' && hAsync("div", { key: '
|
|
39573
|
+
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()));
|
|
39915
39574
|
}
|
|
39916
39575
|
get el() { return getElement(this); }
|
|
39917
39576
|
static get watchers() { return {
|
|
@@ -40303,7 +39962,7 @@ class SelectModal {
|
|
|
40303
39962
|
});
|
|
40304
39963
|
}
|
|
40305
39964
|
render() {
|
|
40306
|
-
return (hAsync(Host, { key: '
|
|
39965
|
+
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()))));
|
|
40307
39966
|
}
|
|
40308
39967
|
get el() { return getElement(this); }
|
|
40309
39968
|
static get style() { return {
|
|
@@ -40348,7 +40007,7 @@ class SelectOption {
|
|
|
40348
40007
|
}
|
|
40349
40008
|
render() {
|
|
40350
40009
|
const theme = getIonTheme(this);
|
|
40351
|
-
return (hAsync(Host, { key: '
|
|
40010
|
+
return (hAsync(Host, { key: 'fd2c00d514768451e7d51631e4ce4cdb2a7a92ad', class: {
|
|
40352
40011
|
[theme]: true,
|
|
40353
40012
|
}, role: "option", id: this.inputId }));
|
|
40354
40013
|
}
|
|
@@ -40517,9 +40176,9 @@ class SelectPopover {
|
|
|
40517
40176
|
const { header, message, options, subHeader } = this;
|
|
40518
40177
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
40519
40178
|
const theme = getIonTheme(this);
|
|
40520
|
-
return (hAsync(Host, { key: '
|
|
40179
|
+
return (hAsync(Host, { key: '75388b15e655f05df0849bbcd79064e4f9f72294', class: {
|
|
40521
40180
|
[theme]: true,
|
|
40522
|
-
} }, hAsync("ion-list", { key: '
|
|
40181
|
+
} }, 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))));
|
|
40523
40182
|
}
|
|
40524
40183
|
get el() { return getElement(this); }
|
|
40525
40184
|
static get style() { return {
|
|
@@ -40574,11 +40233,11 @@ class SkeletonText {
|
|
|
40574
40233
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
40575
40234
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
40576
40235
|
const theme = getIonTheme(this);
|
|
40577
|
-
return (hAsync(Host, { key: '
|
|
40236
|
+
return (hAsync(Host, { key: '5014563646b6c5213750d503babce3013b66ec96', class: {
|
|
40578
40237
|
[theme]: true,
|
|
40579
40238
|
'skeleton-text-animated': animated,
|
|
40580
40239
|
'in-media': inMedia,
|
|
40581
|
-
} }, hAsync("span", { key: '
|
|
40240
|
+
} }, hAsync("span", { key: '4b816883b1c71bb1db66d8b2b084559f7cb489bd' }, "\u00A0")));
|
|
40582
40241
|
}
|
|
40583
40242
|
get el() { return getElement(this); }
|
|
40584
40243
|
static get style() { return skeletonTextCss(); }
|
|
@@ -40651,7 +40310,7 @@ class Spinner {
|
|
|
40651
40310
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
40652
40311
|
}
|
|
40653
40312
|
}
|
|
40654
|
-
return (hAsync(Host, { key: '
|
|
40313
|
+
return (hAsync(Host, { key: '0b3ce4b99c2c828d05b507c4f073811ebbe17d0f', class: createColorClasses$1(self.color, {
|
|
40655
40314
|
[theme]: true,
|
|
40656
40315
|
[`spinner-${spinnerName}`]: true,
|
|
40657
40316
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -40695,7 +40354,6 @@ const splitPaneIosCss = () => `:host{--side-width:100%;right:0;left:0;top:0;bott
|
|
|
40695
40354
|
|
|
40696
40355
|
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%}`;
|
|
40697
40356
|
|
|
40698
|
-
// TODO(FW-7285): Replace with global breakpoints
|
|
40699
40357
|
const QUERY = {
|
|
40700
40358
|
lg: '(min-width: 992px)'};
|
|
40701
40359
|
/**
|
|
@@ -40763,12 +40421,12 @@ class SplitPane {
|
|
|
40763
40421
|
}
|
|
40764
40422
|
render() {
|
|
40765
40423
|
const theme = getIonTheme(this);
|
|
40766
|
-
return (hAsync(Host, { key: '
|
|
40424
|
+
return (hAsync(Host, { key: '9d0c67f1f81b09bb9a6f14a66053e5cc7431a286', class: {
|
|
40767
40425
|
[theme]: true,
|
|
40768
40426
|
// Used internally for styling
|
|
40769
40427
|
[`split-pane-${theme}`]: true,
|
|
40770
40428
|
'split-pane-visible': this.visible,
|
|
40771
|
-
} }, hAsync("slot", { key: '
|
|
40429
|
+
} }, hAsync("slot", { key: 'ab7b3050d3c5484bd00949cf57efa4396b4d5bc3' })));
|
|
40772
40430
|
}
|
|
40773
40431
|
get el() { return getElement(this); }
|
|
40774
40432
|
static get watchers() { return {
|
|
@@ -40845,10 +40503,10 @@ class Tab {
|
|
|
40845
40503
|
}
|
|
40846
40504
|
render() {
|
|
40847
40505
|
const { tab, active, component } = this;
|
|
40848
|
-
return (hAsync(Host, { key: '
|
|
40506
|
+
return (hAsync(Host, { key: 'b249545a5adfcef4616afe79aa0f215bab464d0a', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
40849
40507
|
'ion-page': component === undefined,
|
|
40850
40508
|
'tab-hidden': !active,
|
|
40851
|
-
} }, hAsync("slot", { key: '
|
|
40509
|
+
} }, hAsync("slot", { key: '19e2a406d96d20d8d4af8c3ff900e975d06021f6' })));
|
|
40852
40510
|
}
|
|
40853
40511
|
get el() { return getElement(this); }
|
|
40854
40512
|
static get watchers() { return {
|
|
@@ -41055,7 +40713,7 @@ class TabBar {
|
|
|
41055
40713
|
const theme = getIonTheme(this);
|
|
41056
40714
|
const shape = this.getShape();
|
|
41057
40715
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
41058
|
-
return (hAsync(Host, { key: '
|
|
40716
|
+
return (hAsync(Host, { key: '7a91bb00ad289d94d34271bdecefb7221c093fd6', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses$1(color, {
|
|
41059
40717
|
[theme]: true,
|
|
41060
40718
|
'tab-bar-translucent': translucent,
|
|
41061
40719
|
'tab-bar-hidden': shouldHide,
|
|
@@ -41063,7 +40721,7 @@ class TabBar {
|
|
|
41063
40721
|
'tab-bar-scroll-hidden': scrollHidden,
|
|
41064
40722
|
[`tab-bar-${expand}`]: true,
|
|
41065
40723
|
[`tab-bar-${shape}`]: shape !== undefined,
|
|
41066
|
-
}) }, hAsync("slot", { key: '
|
|
40724
|
+
}) }, hAsync("slot", { key: '96ad10c451a6ae1e2b7c48d94d0f158fb8cde1dc' })));
|
|
41067
40725
|
}
|
|
41068
40726
|
get el() { return getElement(this); }
|
|
41069
40727
|
static get watchers() { return {
|
|
@@ -41191,7 +40849,7 @@ class TabButton {
|
|
|
41191
40849
|
rel,
|
|
41192
40850
|
target,
|
|
41193
40851
|
};
|
|
41194
|
-
return (hAsync(Host, { key: '
|
|
40852
|
+
return (hAsync(Host, { key: '5a32785eaf0570cdc3444d52ce8bba8174c3e0b9', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
41195
40853
|
[theme]: true,
|
|
41196
40854
|
'tab-selected': selected,
|
|
41197
40855
|
'tab-disabled': disabled,
|
|
@@ -41204,7 +40862,7 @@ class TabButton {
|
|
|
41204
40862
|
'ion-selectable': true,
|
|
41205
40863
|
[`tab-button-shape-${shape}`]: shape !== undefined,
|
|
41206
40864
|
'ion-focusable': true,
|
|
41207
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
40865
|
+
} }, 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" }))));
|
|
41208
40866
|
}
|
|
41209
40867
|
get el() { return getElement(this); }
|
|
41210
40868
|
static get style() { return {
|
|
@@ -41400,7 +41058,7 @@ class Tabs {
|
|
|
41400
41058
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
41401
41059
|
}
|
|
41402
41060
|
render() {
|
|
41403
|
-
return (hAsync(Host, { key: '
|
|
41061
|
+
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" })));
|
|
41404
41062
|
}
|
|
41405
41063
|
get el() { return getElement(this); }
|
|
41406
41064
|
static get style() { return tabsCss(); }
|
|
@@ -41441,9 +41099,9 @@ class Text {
|
|
|
41441
41099
|
}
|
|
41442
41100
|
render() {
|
|
41443
41101
|
const theme = getIonTheme(this);
|
|
41444
|
-
return (hAsync(Host, { key: '
|
|
41102
|
+
return (hAsync(Host, { key: '7a3f31d6e219207a1ff98ac441357caa512012e5', class: createColorClasses$1(this.color, {
|
|
41445
41103
|
[theme]: true,
|
|
41446
|
-
}) }, hAsync("slot", { key: '
|
|
41104
|
+
}) }, hAsync("slot", { key: '392d48d6a5e0e5d1b44e762ec96fb8b53b3ebd49' })));
|
|
41447
41105
|
}
|
|
41448
41106
|
static get style() { return textCss(); }
|
|
41449
41107
|
static get cmpMeta() { return {
|
|
@@ -42007,7 +41665,7 @@ class Textarea {
|
|
|
42007
41665
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
42008
41666
|
*/
|
|
42009
41667
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
42010
|
-
return (hAsync(Host, { key: '
|
|
41668
|
+
return (hAsync(Host, { key: 'b31341357553adac08f518e48d83127415f36500', class: createColorClasses$1(this.color, {
|
|
42011
41669
|
[theme]: true,
|
|
42012
41670
|
'has-value': hasValue,
|
|
42013
41671
|
'has-focus': hasFocus,
|
|
@@ -42019,7 +41677,7 @@ class Textarea {
|
|
|
42019
41677
|
'in-item': inItem,
|
|
42020
41678
|
'textarea-disabled': disabled,
|
|
42021
41679
|
'textarea-readonly': readonly,
|
|
42022
|
-
}) }, hAsync("label", { key: '
|
|
41680
|
+
}) }, hAsync("label", { key: '406cb6739da3382da1f723c42f4ea5aee86e09d4', class: "textarea-wrapper", htmlFor: inputId, onClick: this.onLabelClick, part: "wrapper" }, this.renderLabelContainer(), hAsync("div", { key: '69056191d5f1036bcb88a31d44bc61e3a98f9ebc', class: "textarea-wrapper-inner" },
|
|
42023
41681
|
/**
|
|
42024
41682
|
* For the ionic theme, we render the outline container here
|
|
42025
41683
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -42029,7 +41687,7 @@ class Textarea {
|
|
|
42029
41687
|
* <label> element, ensuring that clicking the label text
|
|
42030
41688
|
* focuses the textarea.
|
|
42031
41689
|
*/
|
|
42032
|
-
theme === 'ionic' && fill === 'outline' && hAsync("div", { key: '
|
|
41690
|
+
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()));
|
|
42033
41691
|
}
|
|
42034
41692
|
static get delegatesFocus() { return true; }
|
|
42035
41693
|
static get formAssociated() { return true; }
|
|
@@ -42113,9 +41771,9 @@ class Thumbnail {
|
|
|
42113
41771
|
}
|
|
42114
41772
|
render() {
|
|
42115
41773
|
const theme = getIonTheme(this);
|
|
42116
|
-
return (hAsync(Host, { key: '
|
|
41774
|
+
return (hAsync(Host, { key: '6053cf163155d4268dad4fc81ffc6bbc70d75659', class: {
|
|
42117
41775
|
[theme]: true,
|
|
42118
|
-
} }, hAsync("slot", { key: '
|
|
41776
|
+
} }, hAsync("slot", { key: 'b7afb5835bce7c7ed9e5cf44758bbe2d802e1271' })));
|
|
42119
41777
|
}
|
|
42120
41778
|
static get style() { return thumbnailCss(); }
|
|
42121
41779
|
static get cmpMeta() { return {
|
|
@@ -42999,9 +42657,9 @@ class Toast {
|
|
|
42999
42657
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
43000
42658
|
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);
|
|
43001
42659
|
}
|
|
43002
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
42660
|
+
return (hAsync(Host, Object.assign({ key: '6fd286b024a05e6960f7b4b7947a3c26cc129e14', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
43003
42661
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
43004
|
-
}, 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: '
|
|
42662
|
+
}, 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')))));
|
|
43005
42663
|
}
|
|
43006
42664
|
get el() { return getElement(this); }
|
|
43007
42665
|
static get watchers() { return {
|
|
@@ -43377,7 +43035,7 @@ class Toggle {
|
|
|
43377
43035
|
const rtl = isRTL$1(el) ? 'rtl' : 'ltr';
|
|
43378
43036
|
const isIonicTheme = theme === 'ionic';
|
|
43379
43037
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
43380
|
-
return (hAsync(Host, { key: '
|
|
43038
|
+
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, {
|
|
43381
43039
|
[theme]: true,
|
|
43382
43040
|
'in-item': hostContext('ion-item', el),
|
|
43383
43041
|
'toggle-activated': activated,
|
|
@@ -43389,10 +43047,10 @@ class Toggle {
|
|
|
43389
43047
|
[`toggle-${rtl}`]: true,
|
|
43390
43048
|
'ion-activatable': isIonicTheme,
|
|
43391
43049
|
'ion-focusable': isIonicTheme,
|
|
43392
|
-
}) }, hAsync("label", { key: '
|
|
43050
|
+
}) }, 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: {
|
|
43393
43051
|
'label-text-wrapper': true,
|
|
43394
43052
|
'label-text-wrapper-hidden': !hasLabel,
|
|
43395
|
-
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '
|
|
43053
|
+
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '706e5b667ee242fb1afb3e4afa613f9798fbe25b' }), this.renderHintText()), hAsync("div", { key: '255ccd7d60f7d78b4eba8d380b303a72093e9d16', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
43396
43054
|
}
|
|
43397
43055
|
get el() { return getElement(this); }
|
|
43398
43056
|
static get watchers() { return {
|
|
@@ -43684,11 +43342,11 @@ class Toolbar {
|
|
|
43684
43342
|
Object.assign(childStyles, style);
|
|
43685
43343
|
});
|
|
43686
43344
|
const titlePlacement = this.getTitlePlacement();
|
|
43687
|
-
return (hAsync(Host, { key: '
|
|
43345
|
+
return (hAsync(Host, { key: 'a2103857ffb26f517b4190bb01a8fa170a042e45', class: Object.assign(Object.assign({}, createColorClasses$1(this.color, {
|
|
43688
43346
|
[theme]: true,
|
|
43689
43347
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
43690
43348
|
[`toolbar-title-placement-${titlePlacement}`]: true,
|
|
43691
|
-
})), childStyles) }, hAsync("div", { key: '
|
|
43349
|
+
})), 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 }))));
|
|
43692
43350
|
}
|
|
43693
43351
|
get el() { return getElement(this); }
|
|
43694
43352
|
static get watchers() { return {
|
|
@@ -43747,11 +43405,11 @@ class ToolbarTitle {
|
|
|
43747
43405
|
render() {
|
|
43748
43406
|
const theme = getIonTheme(this);
|
|
43749
43407
|
const size = this.getSize();
|
|
43750
|
-
return (hAsync(Host, { key: '
|
|
43408
|
+
return (hAsync(Host, { key: '8db3e5f9dbd8b1762a9919eaeef29c98649dfb25', class: createColorClasses$1(this.color, {
|
|
43751
43409
|
[theme]: true,
|
|
43752
43410
|
[`title-${size}`]: true,
|
|
43753
43411
|
'title-rtl': document.dir === 'rtl',
|
|
43754
|
-
}) }, hAsync("div", { key: '
|
|
43412
|
+
}) }, hAsync("div", { key: 'a31ebae2c494a51d2145eec69d0b1bc635108a01', class: "toolbar-title" }, hAsync("slot", { key: 'f5975b44b3e3afbf98dcbdb53fc78447b49407b3' }))));
|
|
43755
43413
|
}
|
|
43756
43414
|
get el() { return getElement(this); }
|
|
43757
43415
|
static get watchers() { return {
|
|
@@ -43807,7 +43465,6 @@ registerComponents([
|
|
|
43807
43465
|
FabButton,
|
|
43808
43466
|
FabList,
|
|
43809
43467
|
Footer,
|
|
43810
|
-
Gallery,
|
|
43811
43468
|
Grid,
|
|
43812
43469
|
Header,
|
|
43813
43470
|
Icon,
|