@ionic/core 8.7.6-dev.11762446926.123acdf7 → 8.7.6-dev.11762793111.1cac12b3
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/button.js +1 -1
- package/components/checkbox.js +3 -3
- package/components/content.js +3 -3
- package/components/header.js +2 -2
- package/components/ion-card-content.js +8 -7
- package/components/ion-card-header.js +2 -2
- package/components/ion-card-subtitle.js +2 -2
- package/components/ion-card-title.js +2 -2
- package/components/ion-chip.js +2 -2
- package/components/ion-col.js +2 -2
- package/components/ion-datetime-button.js +2 -2
- package/components/ion-datetime.js +2 -2
- package/components/ion-divider.js +2 -2
- package/components/ion-fab-button.js +2 -2
- package/components/ion-fab-list.js +2 -2
- package/components/ion-fab.js +2 -2
- package/components/ion-footer.js +2 -2
- package/components/ion-grid.js +2 -2
- package/components/ion-img.js +2 -2
- package/components/ion-infinite-scroll-content.js +2 -2
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-otp.js +3 -3
- package/components/ion-input-password-toggle.js +3 -3
- package/components/ion-input.js +4 -4
- package/components/ion-item-divider.js +2 -2
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +2 -2
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-loading.js +2 -2
- package/components/ion-menu-button.js +2 -2
- package/components/ion-menu-toggle.js +2 -2
- package/components/ion-menu.js +2 -2
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +2 -2
- package/components/ion-picker-legacy.js +2 -2
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-range.js +3 -3
- package/components/ion-refresher-content.js +2 -2
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +2 -2
- package/components/ion-router-link.js +2 -2
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +2 -2
- package/components/ion-searchbar.js +4 -4
- package/components/ion-segment-button.js +2 -2
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +2 -2
- package/components/ion-segment.js +2 -2
- package/components/ion-select-option.js +1 -1
- package/components/ion-select.js +3 -3
- package/components/ion-skeleton-text.js +2 -2
- package/components/ion-split-pane.js +2 -2
- package/components/ion-tab-bar.js +2 -2
- package/components/ion-tab-button.js +2 -2
- package/components/ion-tab.js +2 -2
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +2 -2
- package/components/ion-textarea.js +3 -3
- package/components/ion-thumbnail.js +2 -2
- package/components/ion-toast.js +2 -2
- package/components/ion-toggle.js +3 -3
- package/components/label.js +2 -2
- package/components/list-header.js +2 -2
- package/components/list.js +1 -1
- package/components/modal.js +5 -5
- package/components/picker-column-option.js +2 -2
- package/components/picker-column.js +3 -3
- package/components/picker-column2.js +2 -2
- package/components/picker.js +2 -2
- package/components/popover.js +2 -2
- package/components/radio-group.js +2 -2
- package/components/radio.js +3 -3
- package/components/ripple-effect.js +1 -1
- package/components/select-modal.js +10 -3
- package/components/select-popover.js +2 -2
- package/components/spinner.js +1 -1
- package/components/title.js +2 -2
- package/components/toolbar.js +2 -2
- package/css/core.css +1 -1
- package/css/core.css.map +1 -1
- package/css/ionic/bundle.ionic.css +1 -1
- package/css/ionic/bundle.ionic.css.map +1 -1
- package/css/ionic/core.ionic.css +1 -1
- package/css/ionic/core.ionic.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/dist/cjs/ion-app_8.cjs.entry.js +12 -12
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-button_2.cjs.entry.js +1 -1
- package/dist/cjs/ion-card_5.cjs.entry.js +13 -11
- package/dist/cjs/ion-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-divider.cjs.entry.js +2 -2
- package/dist/cjs/ion-fab_3.cjs.entry.js +6 -6
- 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 +5 -5
- 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-picker-column.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker.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 +9 -2
- package/dist/cjs/ion-select_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +3 -3
- package/dist/cjs/ion-toast.cjs.entry.js +2 -2
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/button/button.ionic.css +25 -9
- package/dist/collection/components/card-content/card-content.ionic.css +7 -4
- package/dist/collection/components/card-content/card-content.ios.css +14 -14
- package/dist/collection/components/card-content/card-content.js +4 -3
- package/dist/collection/components/card-content/card-content.md.css +14 -14
- package/dist/collection/components/card-header/card-header.js +2 -2
- package/dist/collection/components/card-subtitle/card-subtitle.js +2 -2
- package/dist/collection/components/card-title/card-title.js +2 -2
- package/dist/collection/components/checkbox/checkbox.js +3 -3
- package/dist/collection/components/chip/chip.js +2 -2
- package/dist/collection/components/col/col.js +2 -2
- package/dist/collection/components/content/content.js +3 -3
- package/dist/collection/components/datetime/datetime.js +2 -2
- package/dist/collection/components/datetime-button/datetime-button.js +2 -2
- package/dist/collection/components/divider/divider.js +2 -2
- package/dist/collection/components/fab/fab.js +2 -2
- package/dist/collection/components/fab-button/fab-button.js +2 -2
- package/dist/collection/components/fab-list/fab-list.js +2 -2
- package/dist/collection/components/footer/footer.js +2 -2
- package/dist/collection/components/grid/grid.js +2 -2
- package/dist/collection/components/header/header.js +2 -2
- package/dist/collection/components/img/img.js +2 -2
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
- package/dist/collection/components/input/input.js +4 -4
- package/dist/collection/components/input-otp/input-otp.js +3 -3
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +3 -3
- package/dist/collection/components/item-divider/item-divider.js +2 -2
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.js +2 -2
- package/dist/collection/components/item-options/item-options.js +1 -1
- package/dist/collection/components/item-sliding/item-sliding.js +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list-header/list-header.js +2 -2
- package/dist/collection/components/loading/loading.js +2 -2
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu-button/menu-button.js +2 -2
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/modal.ionic.css +6 -0
- 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/picker.js +2 -2
- package/dist/collection/components/picker-column/picker-column.js +3 -3
- 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.ionic.css +4 -0
- package/dist/collection/components/select-modal/select-modal.js +9 -2
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +2 -2
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/textarea.js +3 -3
- package/dist/collection/components/thumbnail/thumbnail.js +2 -2
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/docs.json +2 -2
- package/dist/esm/ion-app_8.entry.js +12 -12
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-button_2.entry.js +1 -1
- package/dist/esm/ion-card_5.entry.js +13 -11
- package/dist/esm/ion-checkbox.entry.js +3 -3
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +6 -6
- package/dist/esm/ion-datetime-button.entry.js +2 -2
- package/dist/esm/ion-datetime_3.entry.js +6 -6
- package/dist/esm/ion-divider.entry.js +2 -2
- package/dist/esm/ion-fab_3.entry.js +6 -6
- 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 +5 -5
- 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-picker-column.entry.js +3 -3
- package/dist/esm/ion-picker.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 +10 -3
- package/dist/esm/ion-select_3.entry.js +6 -6
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +4 -4
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +3 -3
- package/dist/esm/ion-toast.entry.js +2 -2
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-0d5fd927.entry.js +4 -0
- package/dist/ionic/{p-6afa042a.entry.js → p-127ae3b5.entry.js} +1 -1
- package/dist/ionic/{p-03d25ce5.entry.js → p-16c5a01c.entry.js} +1 -1
- package/dist/ionic/{p-eadd22a8.entry.js → p-23e4b68a.entry.js} +1 -1
- package/dist/ionic/{p-b2951be0.entry.js → p-28571945.entry.js} +1 -1
- package/dist/ionic/{p-5121535d.entry.js → p-2bab0853.entry.js} +1 -1
- package/dist/ionic/{p-89346674.entry.js → p-2e19a4dd.entry.js} +1 -1
- package/dist/ionic/{p-493b739a.entry.js → p-3622a9ea.entry.js} +1 -1
- package/dist/ionic/{p-77da86d1.entry.js → p-3a6a92ab.entry.js} +1 -1
- package/dist/ionic/p-3cb3d194.entry.js +4 -0
- package/dist/ionic/{p-6e079661.entry.js → p-418e4330.entry.js} +1 -1
- package/dist/ionic/{p-875e46fd.entry.js → p-4261dc5d.entry.js} +1 -1
- package/dist/ionic/{p-2dfbae3f.entry.js → p-56a9319e.entry.js} +1 -1
- package/dist/ionic/{p-efefd9cd.entry.js → p-59a79bd9.entry.js} +1 -1
- package/dist/ionic/{p-325c3304.entry.js → p-59e6c978.entry.js} +1 -1
- package/dist/ionic/{p-f62d555b.entry.js → p-642b022d.entry.js} +1 -1
- package/dist/ionic/{p-687242ec.entry.js → p-64385b66.entry.js} +1 -1
- package/dist/ionic/{p-75c553c0.entry.js → p-66397fac.entry.js} +1 -1
- package/dist/ionic/{p-f20f9e12.entry.js → p-6fac73e6.entry.js} +1 -1
- package/dist/ionic/{p-9a80a61f.entry.js → p-7d450184.entry.js} +1 -1
- package/dist/ionic/{p-cc3ec408.entry.js → p-81770a5c.entry.js} +1 -1
- package/dist/ionic/{p-5c4a86bc.entry.js → p-83a116e6.entry.js} +1 -1
- package/dist/ionic/{p-2e9373ba.entry.js → p-844bd58c.entry.js} +1 -1
- package/dist/ionic/{p-9978eeb9.entry.js → p-86b82096.entry.js} +1 -1
- package/dist/ionic/{p-c1448dbf.entry.js → p-87678140.entry.js} +1 -1
- package/dist/ionic/{p-21aee5b7.entry.js → p-88ef6829.entry.js} +1 -1
- package/dist/ionic/p-89743bba.entry.js +4 -0
- package/dist/ionic/{p-1a920cdb.entry.js → p-90320028.entry.js} +1 -1
- package/dist/ionic/p-915944d6.entry.js +4 -0
- package/dist/ionic/{p-a61d1f23.entry.js → p-91966afa.entry.js} +1 -1
- package/dist/ionic/{p-5c76d65d.entry.js → p-9bee2bdd.entry.js} +1 -1
- package/dist/ionic/{p-a3299f26.entry.js → p-a1128f7f.entry.js} +1 -1
- package/dist/ionic/{p-6b13c6c1.entry.js → p-a57c0cce.entry.js} +1 -1
- package/dist/ionic/{p-9d649ff0.entry.js → p-b2291ef0.entry.js} +1 -1
- package/dist/ionic/{p-ad8f157e.entry.js → p-b26aeaf8.entry.js} +1 -1
- package/dist/ionic/{p-b5d51634.entry.js → p-c2f738d2.entry.js} +1 -1
- package/dist/ionic/{p-a2583cce.entry.js → p-c775e3c0.entry.js} +1 -1
- package/dist/ionic/p-ce510c06.entry.js +4 -0
- package/dist/ionic/p-cea1ee31.entry.js +4 -0
- package/dist/ionic/p-d1c60c1c.entry.js +4 -0
- package/dist/ionic/{p-49217750.entry.js → p-db90b95a.entry.js} +1 -1
- package/dist/ionic/{p-67bb35ab.entry.js → p-dcfb2b1d.entry.js} +1 -1
- package/dist/ionic/{p-eef5cef8.entry.js → p-e28d6a81.entry.js} +1 -1
- package/dist/ionic/{p-a98829dd.entry.js → p-e9dd8600.entry.js} +1 -1
- package/dist/ionic/p-ec02238a.entry.js +4 -0
- package/dist/ionic/{p-15e5d054.entry.js → p-ecc8aebb.entry.js} +1 -1
- package/dist/ionic/{p-4e349265.entry.js → p-f3de58bd.entry.js} +1 -1
- package/dist/types/components/select-modal/select-modal.d.ts +1 -0
- package/hydrate/index.js +175 -166
- package/hydrate/index.mjs +175 -166
- package/package.json +1 -1
- package/dist/ionic/p-22c02aea.entry.js +0 -4
- package/dist/ionic/p-43d72b76.entry.js +0 -4
- package/dist/ionic/p-48b1b019.entry.js +0 -4
- package/dist/ionic/p-5feb1aec.entry.js +0 -4
- package/dist/ionic/p-8d1ebcd0.entry.js +0 -4
- package/dist/ionic/p-9a31abcd.entry.js +0 -4
- package/dist/ionic/p-ce61e4b4.entry.js +0 -4
- package/dist/ionic/p-f33349c8.entry.js +0 -4
|
@@ -1930,7 +1930,7 @@ const Datetime = class {
|
|
|
1930
1930
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
1931
1931
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
1932
1932
|
renderHiddenInput(true, el, name, formatValue(value), disabled);
|
|
1933
|
-
return (h(Host, { key: '
|
|
1933
|
+
return (h(Host, { key: 'd87c9e8d85ae7b1c8af3c8f266b76dd8d364a446', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses(color, {
|
|
1934
1934
|
[theme]: true,
|
|
1935
1935
|
['datetime-readonly']: readonly,
|
|
1936
1936
|
['datetime-disabled']: disabled,
|
|
@@ -1940,7 +1940,7 @@ const Datetime = class {
|
|
|
1940
1940
|
[`datetime-size-${size}`]: true,
|
|
1941
1941
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
1942
1942
|
[`datetime-grid`]: isGridStyle,
|
|
1943
|
-
})) }, h("div", { key: '
|
|
1943
|
+
})) }, h("div", { key: '4d2e7316268ebbadf79f00b5d85928bbeffd283d', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(theme)));
|
|
1944
1944
|
}
|
|
1945
1945
|
get el() { return getElement(this); }
|
|
1946
1946
|
static get watchers() { return {
|
|
@@ -2218,11 +2218,11 @@ const Picker = class {
|
|
|
2218
2218
|
render() {
|
|
2219
2219
|
const { htmlAttributes } = this;
|
|
2220
2220
|
const theme = getIonTheme(this);
|
|
2221
|
-
return (h(Host, Object.assign({ key: '
|
|
2221
|
+
return (h(Host, Object.assign({ key: 'efcc823fad9cb37c1379bef4f4b84c6461f3a3a6', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
2222
2222
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
2223
2223
|
}, class: Object.assign({ [theme]: true,
|
|
2224
2224
|
// Used internally for styling
|
|
2225
|
-
[`picker-${theme}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: '
|
|
2225
|
+
[`picker-${theme}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: '3f44bf34e039210ae149c590c393ee9f7fb85da0', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: 'c2a51a89c525b1a22cbc8583cd30f41c3c356d4f', tabindex: "0", "aria-hidden": "true" }), h("div", { key: '23837ffe309d0aad9b8ea09d7ac94d21040ef0d7', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, h("div", { key: '91ba7e553d570768142715ded4bcc27fceedbce4', class: "picker-toolbar" }, this.buttons.map((b) => (h("div", { class: buttonWrapperClass(b) }, h("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass(b) }, b.text))))), h("div", { key: '22661cafeb555f1435ec1e0a122404a48136095b', class: "picker-columns" }, h("div", { key: '5f3db32468b8c60f63c70d81a27b18cce6f2e259', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => h("ion-picker-legacy-column", { col: c })), h("div", { key: '1bae6b170125b1671a480506ba73636b42b65909', class: "picker-below-highlight" }))), h("div", { key: '91beb94ce537122fbd6cd0c2bd3c00f908d0fefe', tabindex: "0", "aria-hidden": "true" })));
|
|
2226
2226
|
}
|
|
2227
2227
|
get el() { return getElement(this); }
|
|
2228
2228
|
static get watchers() { return {
|
|
@@ -2576,9 +2576,9 @@ const PickerColumnCmp = class {
|
|
|
2576
2576
|
render() {
|
|
2577
2577
|
const col = this.col;
|
|
2578
2578
|
const theme = getIonTheme(this);
|
|
2579
|
-
return (h(Host, { key: '
|
|
2579
|
+
return (h(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: {
|
|
2580
2580
|
'max-width': this.col.columnWidth,
|
|
2581
|
-
} }, col.prefix && (h("div", { key: '
|
|
2581
|
+
} }, col.prefix && (h("div", { key: '19a170752bacdabd50c719f6d1aa9e58a2bd830b', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), h("div", { key: '871671f796aa6a1f78e07ab2599d94b5fd8cd0bf', class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: (el) => (this.optsEl = el) }, col.options.map((o, index) => (h("button", { "aria-label": o.ariaLabel, class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index }, o.text)))), col.suffix && (h("div", { key: '89792e1dc75a4359a4706a8fd1846fe29b866173', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
2582
2582
|
}
|
|
2583
2583
|
get el() { return getElement(this); }
|
|
2584
2584
|
static get watchers() { return {
|
|
@@ -33,11 +33,11 @@ const Divider = class {
|
|
|
33
33
|
render() {
|
|
34
34
|
const { inset, spacing } = this;
|
|
35
35
|
const theme = getIonTheme(this);
|
|
36
|
-
return (h(Host, { key: '
|
|
36
|
+
return (h(Host, { key: '387f7cb3ce69a1d4aa299f988d21d731fd5775d9', class: {
|
|
37
37
|
[theme]: true,
|
|
38
38
|
[`divider-spacing-${spacing}`]: spacing !== undefined,
|
|
39
39
|
[`divider-inset`]: inset,
|
|
40
|
-
} }, h("hr", { key: '
|
|
40
|
+
} }, h("hr", { key: 'cecfeab61e8f532a1eda36e73011f5447be63480' })));
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
Divider.style = {
|
|
@@ -63,12 +63,12 @@ const Fab = class {
|
|
|
63
63
|
render() {
|
|
64
64
|
const { horizontal, vertical, edge } = this;
|
|
65
65
|
const theme = getIonTheme(this);
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: '8b758c5283382f1bddd051f5a575d4952b001c50', class: {
|
|
67
67
|
[theme]: true,
|
|
68
68
|
[`fab-horizontal-${horizontal}`]: horizontal !== undefined,
|
|
69
69
|
[`fab-vertical-${vertical}`]: vertical !== undefined,
|
|
70
70
|
'fab-edge': edge,
|
|
71
|
-
} }, h("slot", { key: '
|
|
71
|
+
} }, h("slot", { key: '45ce20f308b3de9c09d625d45b3f3dc7b4ee8652' })));
|
|
72
72
|
}
|
|
73
73
|
get el() { return getElement(this); }
|
|
74
74
|
static get watchers() { return {
|
|
@@ -167,7 +167,7 @@ const FabButton = class {
|
|
|
167
167
|
rel: this.rel,
|
|
168
168
|
target: this.target,
|
|
169
169
|
};
|
|
170
|
-
return (h(Host, { key: '
|
|
170
|
+
return (h(Host, { key: 'ffc552ad3b542e0f79e319fa86b063c3289e1a23', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
|
|
171
171
|
[theme]: true,
|
|
172
172
|
'fab-button-in-list': inList,
|
|
173
173
|
'fab-button-translucent-in-list': inList && translucent,
|
|
@@ -178,7 +178,7 @@ const FabButton = class {
|
|
|
178
178
|
'ion-activatable': true,
|
|
179
179
|
'ion-focusable': true,
|
|
180
180
|
[`fab-button-${size}`]: size !== undefined,
|
|
181
|
-
}) }, h(TagType, Object.assign({ key: '
|
|
181
|
+
}) }, h(TagType, Object.assign({ key: 'acf0c99822630499b171f0873924cfe10ef41547' }, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur, onClick: (ev) => openURL(href, ev, this.routerDirection, this.routerAnimation) }, inheritedAttributes), h("ion-icon", { key: '236a7340cf8213a69325716cb3b813abb627b40a', "aria-hidden": "true", icon: fabButtonCloseIcon, part: "close-icon", class: "close-icon", lazy: false }), h("span", { key: '908a53794c801a64c8cdae9b08ae75deb93a5b22', class: "button-inner" }, h("slot", { key: '41bf30e091cfcf90dcf3975a4b05a30c987e8aae' })), theme === 'md' && h("ion-ripple-effect", { key: 'b665e44a357138ef30454e267a2214356dc0fe3b' }))));
|
|
182
182
|
}
|
|
183
183
|
get el() { return getElement(this); }
|
|
184
184
|
};
|
|
@@ -212,11 +212,11 @@ const FabList = class {
|
|
|
212
212
|
}
|
|
213
213
|
render() {
|
|
214
214
|
const theme = getIonTheme(this);
|
|
215
|
-
return (h(Host, { key: '
|
|
215
|
+
return (h(Host, { key: 'b0e984c110ea8bf4aa0daeca5f66253c9e0666fd', class: {
|
|
216
216
|
[theme]: true,
|
|
217
217
|
'fab-list-active': this.activated,
|
|
218
218
|
[`fab-list-side-${this.side}`]: true,
|
|
219
|
-
} }, h("slot", { key: '
|
|
219
|
+
} }, h("slot", { key: '7bedbb010e89d1304d86c4261f5378e90741611e' })));
|
|
220
220
|
}
|
|
221
221
|
get el() { return getElement(this); }
|
|
222
222
|
static get watchers() { return {
|
|
@@ -73,9 +73,9 @@ const Img = class {
|
|
|
73
73
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
74
74
|
const { draggable } = inheritedAttributes;
|
|
75
75
|
const theme = getIonTheme(this);
|
|
76
|
-
return (h(Host, { key: '
|
|
76
|
+
return (h(Host, { key: '70377d0128ad109580598f5c0a19cdee1d1f8f2a', class: {
|
|
77
77
|
[theme]: true,
|
|
78
|
-
} }, h("img", { key: '
|
|
78
|
+
} }, h("img", { key: '022467667337d04384d19d78378b5cf499e1b6c9', decoding: "async", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: "image", draggable: isDraggable(draggable) })));
|
|
79
79
|
}
|
|
80
80
|
get el() { return getElement(this); }
|
|
81
81
|
static get watchers() { return {
|
|
@@ -268,7 +268,7 @@ const InfiniteScroll = class {
|
|
|
268
268
|
render() {
|
|
269
269
|
const theme = getIonTheme(this);
|
|
270
270
|
const disabled = this.disabled;
|
|
271
|
-
return (h(Host, { key: '
|
|
271
|
+
return (h(Host, { key: 'd2505798673c258aa017ecbe646b59105a62970d', class: {
|
|
272
272
|
[theme]: true,
|
|
273
273
|
'infinite-scroll-loading': this.isLoading,
|
|
274
274
|
'infinite-scroll-enabled': !disabled,
|
|
@@ -308,11 +308,11 @@ const InfiniteScrollContent = class {
|
|
|
308
308
|
}
|
|
309
309
|
render() {
|
|
310
310
|
const theme = getIonTheme(this);
|
|
311
|
-
return (h(Host, { key: '
|
|
311
|
+
return (h(Host, { key: '51742937a374c43c290c20569857f617c99e1e7c', class: {
|
|
312
312
|
[theme]: true,
|
|
313
313
|
// Used internally for styling
|
|
314
314
|
[`infinite-scroll-content-${theme}`]: true,
|
|
315
|
-
} }, h("div", { key: '
|
|
315
|
+
} }, h("div", { key: '42c249b6df301004a834bb615766c38d5ab03d91', class: "infinite-loading" }, this.loadingSpinner && (h("div", { key: '7cc7aab81997ef58b914e084402f45dc3abf2ce4', class: "infinite-loading-spinner" }, h("ion-spinner", { key: '5c84df7096076580e0bb4926d377c2fac4f75c3d', name: this.loadingSpinner }))), this.loadingText !== undefined && this.renderLoadingText())));
|
|
316
316
|
}
|
|
317
317
|
};
|
|
318
318
|
InfiniteScrollContent.style = {
|
|
@@ -618,7 +618,7 @@ const InputOTP = class {
|
|
|
618
618
|
const tabbableIndex = this.getTabbableIndex();
|
|
619
619
|
const pattern = this.getPattern();
|
|
620
620
|
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()) !== '';
|
|
621
|
-
return (h(Host, { key: '
|
|
621
|
+
return (h(Host, { key: '16e1e487d2aabe8e9f84682fb50f30966179ffa6', class: createColorClasses(color, {
|
|
622
622
|
[mode]: true,
|
|
623
623
|
'has-focus': hasFocus,
|
|
624
624
|
[`input-otp-size-${size}`]: true,
|
|
@@ -626,10 +626,10 @@ const InputOTP = class {
|
|
|
626
626
|
[`input-otp-fill-${fill}`]: true,
|
|
627
627
|
'input-otp-disabled': disabled,
|
|
628
628
|
'input-otp-readonly': readonly,
|
|
629
|
-
}) }, h("div", Object.assign({ key: '
|
|
629
|
+
}) }, h("div", Object.assign({ key: 'd7757f5984abe39da9b6320683198db040d0220e', role: "group", "aria-label": "One-time password input", class: "input-otp-group" }, inheritedAttributes), Array.from({ length }).map((_, index) => (h(Fragment, null, h("div", { class: "native-wrapper" }, h("input", { class: "native-input", 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) && h("div", { class: "input-otp-separator" }))))), h("div", { key: '6254cef5b2379359b319b4e573868340885e310a', class: {
|
|
630
630
|
'input-otp-description': true,
|
|
631
631
|
'input-otp-description-hidden': !hasDescription,
|
|
632
|
-
} }, h("slot", { key: '
|
|
632
|
+
} }, h("slot", { key: '4f4b63bb67a01b7618719f9bde56ef60d582e7d6' }))));
|
|
633
633
|
}
|
|
634
634
|
get el() { return getElement(this); }
|
|
635
635
|
static get watchers() { return {
|
|
@@ -99,16 +99,16 @@ const InputPasswordToggle = class {
|
|
|
99
99
|
const { color, inputPasswordHideIcon, inputPasswordShowIcon, type } = this;
|
|
100
100
|
const mode = getIonMode(this);
|
|
101
101
|
const isPasswordVisible = type === 'text';
|
|
102
|
-
return (h(Host, { key: '
|
|
102
|
+
return (h(Host, { key: 'e265bb6460041189fea1812d391121a9e8dde669', class: createColorClasses(color, {
|
|
103
103
|
[mode]: true,
|
|
104
|
-
}) }, h("ion-button", { key: '
|
|
104
|
+
}) }, h("ion-button", { key: 'b7ca2e12e3b1b9a161acc002abb8f1b8efeea46e', mode: mode, color: color, fill: "clear", shape: "round", "aria-checked": isPasswordVisible ? 'true' : 'false', "aria-label": isPasswordVisible ? 'Hide password' : 'Show password', role: "switch", type: "button", onPointerDown: (ev) => {
|
|
105
105
|
/**
|
|
106
106
|
* This prevents mobile browsers from
|
|
107
107
|
* blurring the input when the password toggle
|
|
108
108
|
* button is activated.
|
|
109
109
|
*/
|
|
110
110
|
ev.preventDefault();
|
|
111
|
-
}, onClick: this.togglePasswordVisibility }, h("ion-icon", { key: '
|
|
111
|
+
}, onClick: this.togglePasswordVisibility }, h("ion-icon", { key: '4d5ba21325812d9c820ae26688d17ae821ffd25c', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? inputPasswordHideIcon : inputPasswordShowIcon }))));
|
|
112
112
|
}
|
|
113
113
|
get el() { return getElement(this); }
|
|
114
114
|
static get watchers() { return {
|
|
@@ -598,7 +598,7 @@ const Input = class {
|
|
|
598
598
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
599
599
|
*/
|
|
600
600
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
601
|
-
return (h(Host, { key: '
|
|
601
|
+
return (h(Host, { key: '83b06d3ba2deb8be1aac86573e44eb9fedaf8ebc', class: createColorClasses(this.color, {
|
|
602
602
|
[theme]: true,
|
|
603
603
|
'has-value': hasValue,
|
|
604
604
|
'has-focus': hasFocus,
|
|
@@ -611,7 +611,7 @@ const Input = class {
|
|
|
611
611
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
612
612
|
'input-disabled': disabled,
|
|
613
613
|
'input-readonly': readonly,
|
|
614
|
-
}) }, h("label", { key: '
|
|
614
|
+
}) }, h("label", { key: 'd30a09196b14b7c50c81ee81b0db153a0a552ff8', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), h("div", { key: 'bd215e071a7c82b530c36bf98481b8a21bf827a8', class: "native-wrapper", onClick: this.onLabelClick },
|
|
615
615
|
/**
|
|
616
616
|
* For the ionic theme, we render the outline container here
|
|
617
617
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -621,14 +621,14 @@ const Input = class {
|
|
|
621
621
|
* <label> element, ensuring that clicking the label text
|
|
622
622
|
* focuses the input.
|
|
623
623
|
*/
|
|
624
|
-
theme === 'ionic' && h("div", { key: '
|
|
624
|
+
theme === 'ionic' && h("div", { key: 'f77b77e9b3fa8f704f676a876abb237ade2c6a80', class: "input-outline" }), h("slot", { key: '5bf76988e97fb13db47b10a2ea9016c9db582d64', name: "start" }), h("input", Object.assign({ key: '98772c54302eb90155511e234d3c0948b46f7907', 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 }, this.inheritedAttributes)), clearInput && !readonly && !disabled && (h("button", { key: 'd0adf91f18cdff60b5d5055a53fb8a1e33cda140', "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (ev) => {
|
|
625
625
|
/**
|
|
626
626
|
* This prevents mobile browsers from
|
|
627
627
|
* blurring the input when the clear
|
|
628
628
|
* button is activated.
|
|
629
629
|
*/
|
|
630
630
|
ev.preventDefault();
|
|
631
|
-
}, onClick: this.clearTextInput }, h("ion-icon", { key: '
|
|
631
|
+
}, onClick: this.clearTextInput }, h("ion-icon", { key: '6fc9e8afce4d19cfbad9fb8044c32beb4a5734a5', "aria-hidden": "true", icon: inputClearIcon }))), h("slot", { key: '493645d76a65e3e469c516e1244e3ff23d9d6f29', name: "end" })), shouldRenderHighlight && h("div", { key: '270caadc085e6f30b663b2bac03495bb8ce47e42', class: "input-highlight" })), this.renderBottomContent()));
|
|
632
632
|
}
|
|
633
633
|
get el() { return getElement(this); }
|
|
634
634
|
static get watchers() { return {
|
|
@@ -68,14 +68,14 @@ const ItemOption = class {
|
|
|
68
68
|
href: this.href,
|
|
69
69
|
target: this.target,
|
|
70
70
|
};
|
|
71
|
-
return (h(Host, { key: '
|
|
71
|
+
return (h(Host, { key: 'c36a39053b339086ee45e30a5051256fecf1e9d6', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
72
72
|
[theme]: true,
|
|
73
73
|
[`item-option-${shape}`]: shape !== undefined,
|
|
74
74
|
[`item-option-${hue}`]: hue !== undefined,
|
|
75
75
|
'item-option-disabled': disabled,
|
|
76
76
|
'item-option-expandable': expandable,
|
|
77
77
|
'ion-activatable': true,
|
|
78
|
-
}) }, h(TagType, Object.assign({ key: '
|
|
78
|
+
}) }, h(TagType, Object.assign({ key: '8fa60eb0b2538cd1afe7ad26d0ba9ea0a152b754' }, attrs, { class: "button-native", part: "native", disabled: disabled }), h("span", { key: 'd444dd749c3abfdb43f66ac8eae49c3e3b3b9960', class: "button-inner" }, h("slot", { key: 'b8164b8893c95c6d4ae9d79a5755eb52c3a1af22', name: "top" }), h("div", { key: '6c840ac03adc45b6dce2f11d64b143a3208e2071', class: "horizontal-wrapper" }, h("slot", { key: '8c08ea25119e1831b9320c2f2e61461d45158611', name: "start" }), h("slot", { key: 'dfc5823b66fcfdcad6277105bd86590958632fdd', name: "icon-only" }), h("slot", { key: '30d0d597802daca4a534055e3f326c38a77c5cf8' }), h("slot", { key: 'bc58e8826067ad905b81608ad0344ed4dedd3a07', name: "end" })), h("slot", { key: '59c3e025a00824c163dbcbeb359ba82871ba06f2', name: "bottom" })), theme === 'md' && h("ion-ripple-effect", { key: '046a2ae39dbec7aebcbac3e250d80016065ed0f0' }))));
|
|
79
79
|
}
|
|
80
80
|
get el() { return getElement(this); }
|
|
81
81
|
};
|
|
@@ -110,7 +110,7 @@ const ItemOptions = class {
|
|
|
110
110
|
render() {
|
|
111
111
|
const theme = getIonTheme(this);
|
|
112
112
|
const isEnd = isEndSide(this.side);
|
|
113
|
-
return (h(Host, { key: '
|
|
113
|
+
return (h(Host, { key: 'cc55282505679d51fb90ebf30869e930c71afbd4', class: {
|
|
114
114
|
[theme]: true,
|
|
115
115
|
// Used internally for styling
|
|
116
116
|
[`item-options-${theme}`]: true,
|
|
@@ -522,7 +522,7 @@ const ItemSliding = class {
|
|
|
522
522
|
}
|
|
523
523
|
render() {
|
|
524
524
|
const theme = getIonTheme(this);
|
|
525
|
-
return (h(Host, { key: '
|
|
525
|
+
return (h(Host, { key: '79cd09dd43183008f470b31abb7b3606f653a98b', class: {
|
|
526
526
|
[theme]: true,
|
|
527
527
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
528
528
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -300,11 +300,11 @@ const ItemDivider = class {
|
|
|
300
300
|
}
|
|
301
301
|
render() {
|
|
302
302
|
const theme = getIonTheme(this);
|
|
303
|
-
return (h(Host, { key: '
|
|
303
|
+
return (h(Host, { key: 'f026528e983b0b77cd059400d961d012dec9caae', class: createColorClasses(this.color, {
|
|
304
304
|
[theme]: true,
|
|
305
305
|
'item-divider-sticky': this.sticky,
|
|
306
306
|
item: true,
|
|
307
|
-
}) }, h("slot", { key: '
|
|
307
|
+
}) }, h("slot", { key: '409f111b2b37782bd242af5f3205d871d85b6254', name: "start" }), h("div", { key: '6811502ae39e51104b46f4f3b272631017a91e4a', class: "item-divider-inner" }, h("div", { key: 'c7cf5918a8e8f891426fda028586b36f21909b00', class: "item-divider-wrapper" }, h("slot", { key: '7db6745917458bb6d854c0662bbf0394142d2996' })), h("slot", { key: 'bad5e02a4d4852fc6e106552b314a42842a0b2e7', name: "end" }))));
|
|
308
308
|
}
|
|
309
309
|
get el() { return getElement(this); }
|
|
310
310
|
};
|
|
@@ -326,7 +326,7 @@ const ItemGroup = class {
|
|
|
326
326
|
}
|
|
327
327
|
render() {
|
|
328
328
|
const theme = getIonTheme(this);
|
|
329
|
-
return (h(Host, { key: '
|
|
329
|
+
return (h(Host, { key: '3fb0784b321736344604e259cfb05c6307159bed', role: "group", class: {
|
|
330
330
|
[theme]: true,
|
|
331
331
|
// Used internally for styling
|
|
332
332
|
[`item-group-${theme}`]: true,
|
|
@@ -395,13 +395,13 @@ const Label = class {
|
|
|
395
395
|
render() {
|
|
396
396
|
const position = this.position;
|
|
397
397
|
const theme = getIonTheme(this);
|
|
398
|
-
return (h(Host, { key: '
|
|
398
|
+
return (h(Host, { key: '583b4ed56decb1f5ce39ea6f58fbaa6d4fde01a5', class: createColorClasses(this.color, {
|
|
399
399
|
[theme]: true,
|
|
400
400
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
401
401
|
[`label-${position}`]: position !== undefined,
|
|
402
402
|
[`label-no-animate`]: this.noAnimate,
|
|
403
403
|
'label-rtl': document.dir === 'rtl',
|
|
404
|
-
}) }, h("slot", { key: '
|
|
404
|
+
}) }, h("slot", { key: '89467c7725dc79d73d51442cb5a233e244cef1b3' })));
|
|
405
405
|
}
|
|
406
406
|
get el() { return getElement(this); }
|
|
407
407
|
static get watchers() { return {
|
|
@@ -461,7 +461,7 @@ const List = class {
|
|
|
461
461
|
const theme = getIonTheme(this);
|
|
462
462
|
const shape = this.getShape();
|
|
463
463
|
const { lines, inset } = this;
|
|
464
|
-
return (h(Host, { key: '
|
|
464
|
+
return (h(Host, { key: '7deda9d813391cac1c4156fb9e9fd1f1a43cdea8', role: "list", class: {
|
|
465
465
|
[theme]: true,
|
|
466
466
|
// Used internally for styling
|
|
467
467
|
[`list-${theme}`]: true,
|
|
@@ -492,10 +492,10 @@ const ListHeader = class {
|
|
|
492
492
|
render() {
|
|
493
493
|
const { lines } = this;
|
|
494
494
|
const theme = getIonTheme(this);
|
|
495
|
-
return (h(Host, { key: '
|
|
495
|
+
return (h(Host, { key: '984b0c19c652d264ce1a9832777948a9b5b84326', class: createColorClasses(this.color, {
|
|
496
496
|
[theme]: true,
|
|
497
497
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
498
|
-
}) }, h("div", { key: '
|
|
498
|
+
}) }, h("div", { key: '1bf4519d8aa94fe4b98c6f54aba74dbcbb52fab0', class: "list-header-inner" }, h("slot", { key: '8d7fa8eca680fe3da8b8e4e01b3f885672c9c2bb' }))));
|
|
499
499
|
}
|
|
500
500
|
};
|
|
501
501
|
ListHeader.style = {
|
|
@@ -516,9 +516,9 @@ const Note = class {
|
|
|
516
516
|
}
|
|
517
517
|
render() {
|
|
518
518
|
const theme = getIonTheme(this);
|
|
519
|
-
return (h(Host, { key: '
|
|
519
|
+
return (h(Host, { key: 'a8470df6b8fb8ca327a282fc23705bc230f13a40', class: createColorClasses(this.color, {
|
|
520
520
|
[theme]: true,
|
|
521
|
-
}) }, h("slot", { key: '
|
|
521
|
+
}) }, h("slot", { key: '07cbdef68f010b06638f359f70dff3f1d659d899' })));
|
|
522
522
|
}
|
|
523
523
|
};
|
|
524
524
|
Note.style = {
|
|
@@ -554,11 +554,11 @@ const SkeletonText = class {
|
|
|
554
554
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
555
555
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
556
556
|
const theme = getIonTheme(this);
|
|
557
|
-
return (h(Host, { key: '
|
|
557
|
+
return (h(Host, { key: '5014563646b6c5213750d503babce3013b66ec96', class: {
|
|
558
558
|
[theme]: true,
|
|
559
559
|
'skeleton-text-animated': animated,
|
|
560
560
|
'in-media': inMedia,
|
|
561
|
-
} }, h("span", { key: '
|
|
561
|
+
} }, h("span", { key: '4b816883b1c71bb1db66d8b2b084559f7cb489bd' }, "\u00A0")));
|
|
562
562
|
}
|
|
563
563
|
get el() { return getElement(this); }
|
|
564
564
|
};
|
|
@@ -277,9 +277,9 @@ const Loading = class {
|
|
|
277
277
|
* Otherwise, don't set aria-labelledby.
|
|
278
278
|
*/
|
|
279
279
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
280
|
-
return (h(Host, Object.assign({ key: '
|
|
280
|
+
return (h(Host, Object.assign({ key: '0c475f8e28e680e28e09317557795fc56e0835d8', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
281
281
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
282
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h("ion-backdrop", { key: '
|
|
282
|
+
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h("ion-backdrop", { key: 'd7e88feb6df8edbc326a84d07b294618f7ce6adc', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: 'f9622f45b2d9e913c325b228a1e6ed03cf2b98e8', tabindex: "0", "aria-hidden": "true" }), h("div", { key: 'f4dfdce70c4515878b247d0cc116b5cec2cf79a4', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (h("div", { key: '6d4475e00c444eb3d217813ae8cc1a02a97b969e', class: "loading-spinner" }, h("ion-spinner", { key: 'd9ad8dd56ec7677c18d06936c1a1b21a0a6a87a8', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), h("div", { key: 'bd3159e18f33ec25d3480d47ce33fa7dfd1f1460', tabindex: "0", "aria-hidden": "true" })));
|
|
283
283
|
}
|
|
284
284
|
get el() { return getElement(this); }
|
|
285
285
|
static get watchers() { return {
|
|
@@ -664,14 +664,14 @@ const Menu = class {
|
|
|
664
664
|
* the ionBackButton listener in the menu controller
|
|
665
665
|
* will handle closing the menu when Escape is pressed.
|
|
666
666
|
*/
|
|
667
|
-
return (h(Host, { key: '
|
|
667
|
+
return (h(Host, { key: '12bd2c4e9aa2f314ffc45d7f43290bd9910ca8b0', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
668
668
|
[theme]: true,
|
|
669
669
|
[`menu-type-${type}`]: true,
|
|
670
670
|
'menu-enabled': !disabled,
|
|
671
671
|
[`menu-side-${side}`]: true,
|
|
672
672
|
'menu-pane-visible': isPaneVisible,
|
|
673
673
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
674
|
-
} }, h("div", { key: '
|
|
674
|
+
} }, h("div", { key: 'd43e12f2502ae5da847eb0d2a70d0a3945733739', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, h("slot", { key: '19977e6584bdbb5b01e6e0a4a7f4558087175b33' })), h("ion-backdrop", { key: '22e79a7edca409248bd3637474d6783f1d7de1b3', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
675
675
|
}
|
|
676
676
|
get el() { return getElement(this); }
|
|
677
677
|
static get watchers() { return {
|
|
@@ -764,7 +764,7 @@ const MenuButton = class {
|
|
|
764
764
|
type: this.type,
|
|
765
765
|
};
|
|
766
766
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
767
|
-
return (h(Host, { key: '
|
|
767
|
+
return (h(Host, { key: '206b8482b58e7ee49ea89393a15e9cf30578297b', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses(color, {
|
|
768
768
|
[theme]: true,
|
|
769
769
|
button: true, // ion-buttons target .button
|
|
770
770
|
'menu-button-hidden': hidden,
|
|
@@ -773,7 +773,7 @@ const MenuButton = class {
|
|
|
773
773
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
774
774
|
'ion-activatable': true,
|
|
775
775
|
'ion-focusable': true,
|
|
776
|
-
}) }, h("button", Object.assign({ key: '
|
|
776
|
+
}) }, h("button", Object.assign({ key: '33017f0cde4835383f65b82f24e088dc2cf46517' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), h("span", { key: '63aadc2910f7fd7ae070fe108822c51441dd8ea5', class: "button-inner" }, h("slot", { key: '6696b67329bdf6a0a7db0739d16717eb9ffc5f3b' }, h("ion-icon", { key: '7f88dd0caa7003db810bce76189ecbaba9ff6317', part: "icon", icon: menuIcon, lazy: false, "aria-hidden": "true" }))), theme === 'md' && h("ion-ripple-effect", { key: '1a2063529bb63cc055fb4bb7d1ad3032df2a74b4', type: "unbounded" }))));
|
|
777
777
|
}
|
|
778
778
|
get el() { return getElement(this); }
|
|
779
779
|
};
|
|
@@ -809,10 +809,10 @@ const MenuToggle = class {
|
|
|
809
809
|
render() {
|
|
810
810
|
const theme = getIonTheme(this);
|
|
811
811
|
const hidden = this.autoHide && !this.visible;
|
|
812
|
-
return (h(Host, { key: '
|
|
812
|
+
return (h(Host, { key: 'c3ddce789a90d720769919ebf854d05cc75f599e', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
813
813
|
[theme]: true,
|
|
814
814
|
'menu-toggle-hidden': hidden,
|
|
815
|
-
} }, h("slot", { key: '
|
|
815
|
+
} }, h("slot", { key: 'f1334ba9d20148b673a0b6185ab5ef92f448f720' })));
|
|
816
816
|
}
|
|
817
817
|
};
|
|
818
818
|
MenuToggle.style = menuToggleCss;
|
|
@@ -1481,7 +1481,7 @@ const createSheetGesture = (baseEl, backdropEl, wrapperEl, initialBreakpoint, ba
|
|
|
1481
1481
|
};
|
|
1482
1482
|
};
|
|
1483
1483
|
|
|
1484
|
-
const modalIonicCss = ":host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-width:0;--border-style:none;--border-color:transparent;--box-shadow:none;right:0;left:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}.modal-handle{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;cursor:pointer;z-index:11}.modal-handle::before{position:absolute;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:\"\"}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}:host{--background:var(--token-bg-surface-default, var(--token-primitives-base-white, #ffffff));--box-shadow:var(--token-elevation-3, 0px 2px 7px 0px rgba(0, 0, 0, 0.05), 0px 6px 32px 0px rgba(0, 0, 0, 0.16));--backdrop-opacity:1;color:var(--token-text-default, var(--token-primitives-neutral-1200, #242424))}:host(.modal-round){--border-radius:var(--token-border-radius-1000, var(--token-scale-1000, 40px))}:host(.modal-soft){--border-radius:var(--token-border-radius-400, var(--token-scale-400, 16px))}:host(.modal-rectangular){--border-radius:var(--token-border-radius-0, var(--token-scale-0, 0px))}.modal-handle{right:0px;left:0px;top:var(--token-space-300, var(--token-scale-300, 12px));border-radius:var(--token-border-radius-100, var(--token-scale-100, 4px));width:var(--token-scale-1100, 44px);height:var(--token-scale-100, 4px);background-color:var(--token-primitives-neutral-300, #e0e0e0)}.modal-handle::before{-webkit-padding-start:var(--token-space-100, var(--token-scale-100, 4px));padding-inline-start:var(--token-space-100, var(--token-scale-100, 4px));-webkit-padding-end:var(--token-space-100, var(--token-scale-100, 4px));padding-inline-end:var(--token-space-100, var(--token-scale-100, 4px));padding-top:var(--token-space-100, var(--token-scale-100, 4px));padding-bottom:var(--token-space-100, var(--token-scale-100, 4px))}:host(.modal-sheet) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + var(--token-scale-250, 10px)))}";
|
|
1484
|
+
const modalIonicCss = ":host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-width:0;--border-style:none;--border-color:transparent;--box-shadow:none;right:0;left:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}.modal-handle{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;cursor:pointer;z-index:11}.modal-handle::before{position:absolute;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:\"\"}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}:host{--background:var(--token-bg-surface-default, var(--token-primitives-base-white, #ffffff));--box-shadow:var(--token-elevation-3, 0px 2px 7px 0px rgba(0, 0, 0, 0.05), 0px 6px 32px 0px rgba(0, 0, 0, 0.16));--backdrop-opacity:1;color:var(--token-text-default, var(--token-primitives-neutral-1200, #242424))}:host(.modal-round){--border-radius:var(--token-border-radius-1000, var(--token-scale-1000, 40px))}:host(.modal-soft){--border-radius:var(--token-border-radius-400, var(--token-scale-400, 16px))}:host(.modal-rectangular){--border-radius:var(--token-border-radius-0, var(--token-scale-0, 0px))}:host(.select-modal.modal-default){--max-height:45%;--max-width:calc(100% - (var(--token-space-400, var(--token-scale-400, 16px)) * 2));--min-height:340px}.modal-handle{right:0px;left:0px;top:var(--token-space-300, var(--token-scale-300, 12px));border-radius:var(--token-border-radius-100, var(--token-scale-100, 4px));width:var(--token-scale-1100, 44px);height:var(--token-scale-100, 4px);background-color:var(--token-primitives-neutral-300, #e0e0e0)}.modal-handle::before{-webkit-padding-start:var(--token-space-100, var(--token-scale-100, 4px));padding-inline-start:var(--token-space-100, var(--token-scale-100, 4px));-webkit-padding-end:var(--token-space-100, var(--token-scale-100, 4px));padding-inline-end:var(--token-space-100, var(--token-scale-100, 4px));padding-top:var(--token-space-100, var(--token-scale-100, 4px));padding-bottom:var(--token-space-100, var(--token-scale-100, 4px))}:host(.modal-sheet) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + var(--token-scale-250, 10px)))}";
|
|
1485
1485
|
|
|
1486
1486
|
const modalIosCss = ":host{--width:100%;--min-width:auto;--max-width:auto;--height:100%;--min-height:auto;--max-height:auto;--overflow:hidden;--border-width:0;--border-style:none;--border-color:transparent;--box-shadow:none;right:0;left:0;top:0;bottom:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;outline:none;contain:strict}.modal-wrapper,ion-backdrop{pointer-events:auto}:host(.overlay-hidden){display:none}.modal-wrapper,.modal-shadow{border-radius:var(--border-radius);width:var(--width);min-width:var(--min-width);max-width:var(--max-width);height:var(--height);min-height:var(--min-height);max-height:var(--max-height);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--background);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);overflow:var(--overflow);z-index:10}.modal-shadow{position:absolute;background:transparent}.modal-handle{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;position:absolute;-webkit-transform:translateZ(0);transform:translateZ(0);border:0;cursor:pointer;z-index:11}.modal-handle::before{position:absolute;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);content:\"\"}:host(.modal-sheet) .modal-wrapper,:host(.modal-sheet) .modal-shadow{position:absolute;bottom:0}:host(.modal-sheet.modal-no-expand-scroll) ion-footer{position:absolute;bottom:0;width:var(--width)}:host{--background:var(--ion-background-color, #fff);--border-radius:0;--backdrop-opacity:0;color:var(--ion-text-color, #000)}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--width:600px;--height:500px;--ion-safe-area-top:0px;--ion-safe-area-bottom:0px;--ion-safe-area-right:0px;--ion-safe-area-left:0px}}@media only screen and (min-width: 768px) and (min-height: 768px){:host{--width:600px;--height:600px}}.modal-handle{right:0px;left:0px;top:5px;border-radius:8px;width:36px;height:5px;background:var(--ion-color-step-350, var(--ion-background-color-step-350, #c0c0be))}.modal-handle::before{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:4px;padding-bottom:4px;width:36px;height:5px}:host(.modal-sheet){--height:calc(100% - (var(--ion-safe-area-top) + 10px))}:host{--backdrop-opacity:var(--ion-backdrop-opacity, 0.4)}:host(.modal-card),:host(.modal-sheet){--border-radius:10px}@media only screen and (min-width: 768px) and (min-height: 600px){:host{--border-radius:10px}}.modal-wrapper{-webkit-transform:translate3d(0, 100%, 0);transform:translate3d(0, 100%, 0)}@media screen and (max-width: 767px){@supports (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - max(30px, var(--ion-safe-area-top)) - 10px)}}@supports not (width: max(0px, 1px)){:host(.modal-card){--height:calc(100% - 40px)}}:host(.modal-card) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}:host(.modal-card){--backdrop-opacity:0;--width:100%;-ms-flex-align:end;align-items:flex-end}:host(.modal-card) .modal-shadow{display:none}:host(.modal-card) ion-backdrop{pointer-events:none}}@media screen and (min-width: 768px){:host(.modal-card){--width:calc(100% - 120px);--height:calc(100% - (120px + var(--ion-safe-area-top) + var(--ion-safe-area-bottom)));--max-width:720px;--max-height:1000px;--backdrop-opacity:0;--box-shadow:0px 0px 30px 10px rgba(0, 0, 0, 0.1);-webkit-transition:all 0.5s ease-in-out;transition:all 0.5s ease-in-out}:host(.modal-card) .modal-wrapper{-webkit-box-shadow:none;box-shadow:none}:host(.modal-card) .modal-shadow{-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow)}}:host(.modal-sheet) .modal-wrapper{border-start-start-radius:var(--border-radius);border-start-end-radius:var(--border-radius);border-end-end-radius:0;border-end-start-radius:0}";
|
|
1487
1487
|
|
|
@@ -2352,20 +2352,20 @@ const Modal = class {
|
|
|
2352
2352
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
2353
2353
|
const shape = this.getShape();
|
|
2354
2354
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
2355
|
-
return (h(Host, Object.assign({ key: '
|
|
2355
|
+
return (h(Host, Object.assign({ key: '8ced9dcdb4ec35817bc1ad5f4f0c1b56bf76c93f', "no-router": true,
|
|
2356
2356
|
// Allow the modal to be navigable when the handle is focusable
|
|
2357
2357
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
2358
2358
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
2359
|
-
}, 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 }), h("ion-backdrop", { key: '
|
|
2359
|
+
}, 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 }), h("ion-backdrop", { key: '952e76177128f7c5dcc9c9fe7792d73ec4c9c573', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), theme === 'ios' && h("div", { key: '3be69826a33edae93d2276b88347f025f3b46d92', class: "modal-shadow" }), h("div", Object.assign({ key: 'adeb46e4c78d08418f27277db8300706f1ce6d48',
|
|
2360
2360
|
/*
|
|
2361
2361
|
role and aria-modal must be used on the
|
|
2362
2362
|
same element. They must also be set inside the
|
|
2363
2363
|
shadow DOM otherwise ion-button will not be highlighted
|
|
2364
2364
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
2365
2365
|
*/
|
|
2366
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '
|
|
2366
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '22ac19bef95f75b5b26147c6c41439690beb3849', class: "modal-handle",
|
|
2367
2367
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
2368
|
-
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) })), h("slot", { key: '
|
|
2368
|
+
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) })), h("slot", { key: '0039450fb7b0caa84f7a16c38e6db148cd9a5371', onSlotchange: this.onSlotChange }))));
|
|
2369
2369
|
}
|
|
2370
2370
|
get el() { return getElement(this); }
|
|
2371
2371
|
static get watchers() { return {
|
|
@@ -898,7 +898,7 @@ const Nav = class {
|
|
|
898
898
|
}
|
|
899
899
|
}
|
|
900
900
|
render() {
|
|
901
|
-
return h("slot", { key: '
|
|
901
|
+
return h("slot", { key: 'd6dd0b1e0ba59381a139f4a49de3eb8351fa87a4' });
|
|
902
902
|
}
|
|
903
903
|
get el() { return getElement(this); }
|
|
904
904
|
static get watchers() { return {
|
|
@@ -940,7 +940,7 @@ const NavLink = class {
|
|
|
940
940
|
};
|
|
941
941
|
}
|
|
942
942
|
render() {
|
|
943
|
-
return h(Host, { key: '
|
|
943
|
+
return h(Host, { key: '61246716bdf9556db90e07680bc1a289f9658d5c', onClick: this.onClick });
|
|
944
944
|
}
|
|
945
945
|
get el() { return getElement(this); }
|
|
946
946
|
};
|
|
@@ -100,10 +100,10 @@ const PickerColumnOption = class {
|
|
|
100
100
|
render() {
|
|
101
101
|
const { color, disabled, ariaLabel } = this;
|
|
102
102
|
const theme = getIonTheme(this);
|
|
103
|
-
return (h(Host, { key: '
|
|
103
|
+
return (h(Host, { key: '9ceebae71b6df0b01f36691d82d716f6756625d9', class: createColorClasses(color, {
|
|
104
104
|
[theme]: true,
|
|
105
105
|
['option-disabled']: disabled,
|
|
106
|
-
}) }, h("div", { key: '
|
|
106
|
+
}) }, h("div", { key: '1f26246d601779dadfaf055d195e2a4959180f5a', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, h("slot", { key: 'eed413474a8b7ec7a73da27fa72a2d0a9a2aae2b' }))));
|
|
107
107
|
}
|
|
108
108
|
get el() { return getElement(this); }
|
|
109
109
|
static get watchers() { return {
|
|
@@ -548,14 +548,14 @@ const PickerColumn = class {
|
|
|
548
548
|
render() {
|
|
549
549
|
const { color, disabled, isActive, numericInput } = this;
|
|
550
550
|
const theme = getIonTheme(this);
|
|
551
|
-
return (h(Host, { key: '
|
|
551
|
+
return (h(Host, { key: '7c9603b518a73f9883ff01464fe3f70c14b9059c', class: createColorClasses(color, {
|
|
552
552
|
[theme]: true,
|
|
553
553
|
['picker-column-active']: isActive,
|
|
554
554
|
['picker-column-numeric-input']: numericInput,
|
|
555
555
|
['picker-column-disabled']: disabled,
|
|
556
|
-
}) }, h("slot", { key: '
|
|
556
|
+
}) }, h("slot", { key: 'e98e79dd51550361131d59a8871fe2990dc40edc', name: "prefix" }), h("div", { key: '85894791c93da84401138285bf4fbb169897c3d6', class: "picker-opts", ref: (el) => {
|
|
557
557
|
this.scrollEl = el;
|
|
558
|
-
}, role: "slider", tabindex: this.disabled ? undefined : 0, "aria-label": this.ariaLabel, "aria-valuemin": 0, "aria-valuemax": 0, "aria-valuenow": 0, "aria-valuetext": this.getOptionValueText(this.activeItem), "aria-orientation": "vertical", onKeyDown: (ev) => this.onKeyDown(ev) }, h("div", { key: '
|
|
558
|
+
}, role: "slider", tabindex: this.disabled ? undefined : 0, "aria-label": this.ariaLabel, "aria-valuemin": 0, "aria-valuemax": 0, "aria-valuenow": 0, "aria-valuetext": this.getOptionValueText(this.activeItem), "aria-orientation": "vertical", onKeyDown: (ev) => this.onKeyDown(ev) }, h("div", { key: 'd9546be214c2faf2340faf31d8468c2f39f31e4c', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '47671f18a0a0659c0660b3b82d234e92b6dcc721', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: 'f3fc8f9cfc67d0d0dfbf7c134524353297117170', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("slot", { key: '4c30c1e5df5f1758978458dbd7e405a01d3118fe' }), h("div", { key: '4e71db05a18d645c6fa49d3a6e67a68cc374b868', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '7fd2461759a92a6909ab514a14bdb41f7d2d16d5', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '015fc0875e5e2df575810fd79635ed5a0f5a29dd', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0")), h("slot", { key: 'd706a79b1b5b31dc1e358fe1d64b41a2104ea153', name: "suffix" })));
|
|
559
559
|
}
|
|
560
560
|
get el() { return getElement(this); }
|
|
561
561
|
static get watchers() { return {
|
|
@@ -458,7 +458,7 @@ const Picker = class {
|
|
|
458
458
|
this.emitInputModeChange();
|
|
459
459
|
}
|
|
460
460
|
render() {
|
|
461
|
-
return (h(Host, { key: '
|
|
461
|
+
return (h(Host, { key: '8778f74b10b575bf28bfb9d21df51a52a7c92ac4', onPointerDown: (ev) => this.onPointerDown(ev), onClick: () => this.onClick() }, h("input", { key: 'd6b77646ebcc32785b3edbb70794aabf19d68503', "aria-hidden": "true", tabindex: -1, inputmode: "numeric", type: "number", onKeyDown: (ev) => {
|
|
462
462
|
var _a;
|
|
463
463
|
/**
|
|
464
464
|
* The "Enter" key represents
|
|
@@ -473,7 +473,7 @@ const Picker = class {
|
|
|
473
473
|
if (ev.key === 'Enter') {
|
|
474
474
|
(_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.blur();
|
|
475
475
|
}
|
|
476
|
-
}, ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), h("div", { key: '
|
|
476
|
+
}, ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), h("div", { key: '3ccb1c92e3ee586d4ac50dbf3728f19c7d727c7c', class: "picker-before" }), h("div", { key: 'ac7765a517ddbb3d338239a3c91ead67cab9b0e8', class: "picker-after" }), h("div", { key: '16a07f2aad1e1bc77119b6f8d060ae073b566472', class: "picker-highlight", ref: (el) => (this.highlightEl = el) }), h("slot", { key: 'dc3b58388c3936ce16285822b1e2a50b730031b6' })));
|
|
477
477
|
}
|
|
478
478
|
get el() { return getElement(this); }
|
|
479
479
|
};
|