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