@ionic/core 8.7.6-dev.11762424095.164a4ffe → 8.7.6-dev.11762446926.123acdf7
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 +7 -8
- 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 +3 -10
- 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.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 +11 -13
- 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 +2 -9
- 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 +6 -22
- package/dist/collection/components/card-content/card-content.ionic.css +4 -7
- package/dist/collection/components/card-content/card-content.ios.css +14 -14
- package/dist/collection/components/card-content/card-content.js +3 -4
- 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 +0 -6
- 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 +0 -4
- package/dist/collection/components/select-modal/select-modal.js +2 -9
- 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 +11 -13
- 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 +3 -10
- 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-16c5a01c.entry.js → p-03d25ce5.entry.js} +1 -1
- package/dist/ionic/{p-ecc8aebb.entry.js → p-15e5d054.entry.js} +1 -1
- package/dist/ionic/{p-90320028.entry.js → p-1a920cdb.entry.js} +1 -1
- package/dist/ionic/{p-88ef6829.entry.js → p-21aee5b7.entry.js} +1 -1
- package/dist/ionic/{p-17b4e51e.entry.js → p-22c02aea.entry.js} +1 -1
- package/dist/ionic/{p-56a9319e.entry.js → p-2dfbae3f.entry.js} +1 -1
- package/dist/ionic/{p-844bd58c.entry.js → p-2e9373ba.entry.js} +1 -1
- package/dist/ionic/{p-59e6c978.entry.js → p-325c3304.entry.js} +1 -1
- package/dist/ionic/p-43d72b76.entry.js +4 -0
- package/dist/ionic/p-48b1b019.entry.js +4 -0
- package/dist/ionic/{p-db90b95a.entry.js → p-49217750.entry.js} +1 -1
- package/dist/ionic/{p-3622a9ea.entry.js → p-493b739a.entry.js} +1 -1
- package/dist/ionic/{p-f3de58bd.entry.js → p-4e349265.entry.js} +1 -1
- package/dist/ionic/{p-2bab0853.entry.js → p-5121535d.entry.js} +1 -1
- package/dist/ionic/{p-83a116e6.entry.js → p-5c4a86bc.entry.js} +1 -1
- package/dist/ionic/{p-9bee2bdd.entry.js → p-5c76d65d.entry.js} +1 -1
- package/dist/ionic/p-5feb1aec.entry.js +4 -0
- package/dist/ionic/{p-dcfb2b1d.entry.js → p-67bb35ab.entry.js} +1 -1
- package/dist/ionic/{p-64385b66.entry.js → p-687242ec.entry.js} +1 -1
- package/dist/ionic/{p-127ae3b5.entry.js → p-6afa042a.entry.js} +1 -1
- package/dist/ionic/{p-a57c0cce.entry.js → p-6b13c6c1.entry.js} +1 -1
- package/dist/ionic/{p-418e4330.entry.js → p-6e079661.entry.js} +1 -1
- package/dist/ionic/{p-66397fac.entry.js → p-75c553c0.entry.js} +1 -1
- package/dist/ionic/{p-3a6a92ab.entry.js → p-77da86d1.entry.js} +1 -1
- package/dist/ionic/{p-4261dc5d.entry.js → p-875e46fd.entry.js} +1 -1
- package/dist/ionic/{p-2e19a4dd.entry.js → p-89346674.entry.js} +1 -1
- package/dist/ionic/p-8d1ebcd0.entry.js +4 -0
- package/dist/ionic/{p-86b82096.entry.js → p-9978eeb9.entry.js} +1 -1
- package/dist/ionic/p-9a31abcd.entry.js +4 -0
- package/dist/ionic/{p-7d450184.entry.js → p-9a80a61f.entry.js} +1 -1
- package/dist/ionic/{p-b2291ef0.entry.js → p-9d649ff0.entry.js} +1 -1
- package/dist/ionic/{p-c775e3c0.entry.js → p-a2583cce.entry.js} +1 -1
- package/dist/ionic/{p-a1128f7f.entry.js → p-a3299f26.entry.js} +1 -1
- package/dist/ionic/{p-91966afa.entry.js → p-a61d1f23.entry.js} +1 -1
- package/dist/ionic/{p-e9dd8600.entry.js → p-a98829dd.entry.js} +1 -1
- package/dist/ionic/{p-b26aeaf8.entry.js → p-ad8f157e.entry.js} +1 -1
- package/dist/ionic/{p-28571945.entry.js → p-b2951be0.entry.js} +1 -1
- package/dist/ionic/{p-c2f738d2.entry.js → p-b5d51634.entry.js} +1 -1
- package/dist/ionic/{p-87678140.entry.js → p-c1448dbf.entry.js} +1 -1
- package/dist/ionic/{p-81770a5c.entry.js → p-cc3ec408.entry.js} +1 -1
- package/dist/ionic/p-ce61e4b4.entry.js +4 -0
- package/dist/ionic/{p-23e4b68a.entry.js → p-eadd22a8.entry.js} +1 -1
- package/dist/ionic/{p-e28d6a81.entry.js → p-eef5cef8.entry.js} +1 -1
- package/dist/ionic/{p-59a79bd9.entry.js → p-efefd9cd.entry.js} +1 -1
- package/dist/ionic/{p-6fac73e6.entry.js → p-f20f9e12.entry.js} +1 -1
- package/dist/ionic/p-f33349c8.entry.js +4 -0
- package/dist/ionic/{p-642b022d.entry.js → p-f62d555b.entry.js} +1 -1
- package/dist/types/components/select-modal/select-modal.d.ts +0 -1
- package/hydrate/index.js +166 -175
- package/hydrate/index.mjs +166 -175
- package/package.json +1 -1
- package/dist/ionic/p-3cb3d194.entry.js +0 -4
- package/dist/ionic/p-6f75cbe0.entry.js +0 -4
- package/dist/ionic/p-89743bba.entry.js +0 -4
- package/dist/ionic/p-ce510c06.entry.js +0 -4
- package/dist/ionic/p-cea1ee31.entry.js +0 -4
- package/dist/ionic/p-d1c60c1c.entry.js +0 -4
- package/dist/ionic/p-ec02238a.entry.js +0 -4
|
@@ -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: '6cc1572a93abaf49be7e27348bf513cb7ee24bff', 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: '19e4cef3f90d92b56ae0bece15dbdcfbf18d72d9' })));
|
|
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: '569b07978a63756169d050f3b67368cecf26dd98', 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: 'cd10d4baa1c2e8c2dcfefe66bdb7ffb8262f8e17' })));
|
|
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: '7d1b93dbec8f6b974db63168c55353b93ff169aa', 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: 'cac887802056b25fee955e272febdb41745c731c' }, 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: 'c5a932c45ec7ff131d484463203275210cdc5b3a', "aria-hidden": "true", icon: fabButtonCloseIcon, part: "close-icon", class: "close-icon", lazy: false }), h("span", { key: 'bf8f5208c941dc3ddc2b719dbb2f2cf999e2b6a8', class: "button-inner" }, h("slot", { key: '213ca4696b7072ef2dfee806d11d8ddd26abf7af' })), theme === 'md' && h("ion-ripple-effect", { key: 'a2947193263e8ef97eccb15de9f5aa937e87086b' }))));
|
|
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: '8b4d0419170ba48e5d9d1152dcae2b35281cd800', 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: '9276798e2c581440c46ff9914809e87203a86b1b' })));
|
|
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: '1aa7be8e15beabbc92ee21127960f7cfc778555d', class: {
|
|
77
77
|
[theme]: true,
|
|
78
|
-
} }, h("img", { key: '
|
|
78
|
+
} }, h("img", { key: 'a74a222d3b9d232619471ac9089c365b3e7a9b04', 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: '22d99824cb589d9024666a3c1ed205f781858eed', 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: 'e94d19f17ef9d4d77786716152e3206366feb546', 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: '35fcc0572ad27a683aa55a704bd11b19fcdfd29c', class: "infinite-loading" }, this.loadingSpinner && (h("div", { key: 'fec3c13dbb2fa98699401147ce442b73e97e8bd8', class: "infinite-loading-spinner" }, h("ion-spinner", { key: '6cd6083255dacc891b4d201477e6bffccb1084bc', 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: 'b7709a1fd155bd4484fb6f20a2f0c1cdb13809a7', 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: '5948befd722de44eea8aa1a759ae465bebef0d52', 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: 'bb4cdd1da7e42b6d2b8b50fc2ec52ed526608cdd', class: {
|
|
630
630
|
'input-otp-description': true,
|
|
631
631
|
'input-otp-description-hidden': !hasDescription,
|
|
632
|
-
} }, h("slot", { key: '
|
|
632
|
+
} }, h("slot", { key: '006fe25a24266eae57a9c1b58fbfc28008cfb816' }))));
|
|
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: 'e3c21d5bedebeadb57c0c9b7f065d15ab0d49e4a', class: createColorClasses(color, {
|
|
103
103
|
[mode]: true,
|
|
104
|
-
}) }, h("ion-button", { key: '
|
|
104
|
+
}) }, h("ion-button", { key: 'c2529009a921f2fd133f2b3c4f8d36fa66fbfd30', 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: 'bc25d56ce0402565a2c7c0d617349138a04c008d', 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: 'c01b7ed35861999d1a73b12d853fa90deb831963', 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: '49b13f7970d0839d8286a32b52360356f9bd7399', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), h("div", { key: '2a976896662e4f18f5b86d7dada141222533047e', 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: '47fe7d74f50bfa1aeec03ba3cb1edb0df941773f', class: "input-outline" }), h("slot", { key: 'f9b9884467a216bd0c7af49b512ed22ef67f81f2', name: "start" }), h("input", Object.assign({ key: '12ab5fe9b82083637dbb2c6163b829af69cc9a5f', 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: '284e6a89fe06fc7de2d0d7cac24ae5330f10594c', "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: '58ceb89a48d5db08ddb5b22397d29e6ab3524f9c', "aria-hidden": "true", icon: inputClearIcon }))), h("slot", { key: 'a90f9f0b9439e0aa19de35e24ea9ed587ab51add', name: "end" })), shouldRenderHighlight && h("div", { key: '413fe8aa2eeaf41ab90a3b77a6abb20b19ad8446', 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: '419c8059b80ed543021016ae8e47a8c293c61544', 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: 'b68a20876078d8c3281ad95c4d25c786ea8534b6' }, attrs, { class: "button-native", part: "native", disabled: disabled }), h("span", { key: '2cca3a5fe121020e647306e73f5a6568e0114e52', class: "button-inner" }, h("slot", { key: 'a58b51ec7a506997f0a7ef419ea2eacd7e317cb0', name: "top" }), h("div", { key: '51d3078bcaf1b587b4d989faaba9eccc064299a1', class: "horizontal-wrapper" }, h("slot", { key: 'f9a5c0f1036dabc30649a31da851acc947e8d0dd', name: "start" }), h("slot", { key: '57474d0a32f99a7d773db30093ab3d4a0529d1c0', name: "icon-only" }), h("slot", { key: 'e9415a290913d535b82a74303fe73b779ff5b5be' }), h("slot", { key: 'e33e61278c599989c80fc410b94688288c0c13f5', name: "end" })), h("slot", { key: '4f3b12f4fcc09e8f87f35ea8c87cf40d15b5ef42', name: "bottom" })), theme === 'md' && h("ion-ripple-effect", { key: '56a65a555e12f0051d69447d786799e1b21683a6' }))));
|
|
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: '631db06441daa78759d646ab8d9e1804184be7ea', 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: '837e7162dfc6d2cebcdf3efc40d1c6aa88739451', 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: 'ff60c2ed224911e4369138287da9610564785c7f', 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: '992f32a67a2ecf8ee94d5c8b9bfd231b4b4510d9', name: "start" }), h("div", { key: '44ad1d56fe4c9644267ca285199bcc66cf7269d3', class: "item-divider-inner" }, h("div", { key: '8237db8eb57c0b877da7efa45f10214063e3ac8f', class: "item-divider-wrapper" }, h("slot", { key: '9ac2bf96cfa368d4f6daba9b6fcced3f597dfb4f' })), h("slot", { key: '19bdddb51ac10f0a11c5b50d4ad51a55cada278a', 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: 'd104330acfa524379c4bf1c28bce6cf7e720db14', 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: '8705671de3aaec1eb21044f4a234ee85fcba8d14', 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: '31973de97fc2524da620a612ada1d3c506939f6f' })));
|
|
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: 'dcdfb595a6b45307f9810e1ded25ba635c947940', 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: 'b3478a7ac11992d292d35b5c658de040c51e971d', class: createColorClasses(this.color, {
|
|
496
496
|
[theme]: true,
|
|
497
497
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
498
|
-
}) }, h("div", { key: '
|
|
498
|
+
}) }, h("div", { key: '76dff0757cd9930eec0dbd56cb187c72d4e26d21', class: "list-header-inner" }, h("slot", { key: 'd25568f22efb544467ffda8929ac6d6cfd4001fa' }))));
|
|
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: 'bab27d8461e93c98bb48cbdd4df0c6b012a37798', class: createColorClasses(this.color, {
|
|
520
520
|
[theme]: true,
|
|
521
|
-
}) }, h("slot", { key: '
|
|
521
|
+
}) }, h("slot", { key: 'd2e0f339ce127095fa49b93e515ab888461de1ea' })));
|
|
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: 'e3c73ecba79ec4b58b517f42a9b41be587615603', class: {
|
|
558
558
|
[theme]: true,
|
|
559
559
|
'skeleton-text-animated': animated,
|
|
560
560
|
'in-media': inMedia,
|
|
561
|
-
} }, h("span", { key: '
|
|
561
|
+
} }, h("span", { key: '188c3bb600e248e93f48a89b900946ec9125b40f' }, "\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: '082392dad8551f7bf3be1b77d4d26d3b96504d39', 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: '1ced20cf2cc6d610c0f5f9d1de147602137347f1', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: '450e54507718d290a520d423ae09d05d88009d79', tabindex: "0", "aria-hidden": "true" }), h("div", { key: 'f2338b1915b9339055a27c4ef230b2663959e2f8', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (h("div", { key: '22c0ba1f0ead01c0e0b133c7398f3fa3e03d3f08', class: "loading-spinner" }, h("ion-spinner", { key: '155aa650b590dc49c8902bc1d73f4bba4afd1d35', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), h("div", { key: 'b08785d4408950abd34b0c21dd8e4be783b17ae4', 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: '1983ee36a15d041cce2cf8c010c4a03544095c71', 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: '9b997c29ef41fd00c15843a1f6593407d195a501', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, h("slot", { key: 'e95f25ccdf6e07b527e2126b7d7221d39e667549' })), h("ion-backdrop", { key: '60271cb8539ef04a148c08ab1a3349be30e8589c', 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: '8777ca08223f62b4b0183e81f7f040635a017827', 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: '7ea9df4e44a3916c97439f273562ad513c02d848' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), h("span", { key: '521997eb3e28a6c89c8783125aee82e081f36db6', class: "button-inner" }, h("slot", { key: '8ec019529598f67ca7a7fb8f7a3eccfe3a970928' }, h("ion-icon", { key: '091855caa99363a61ccdad926229b18a96b03d58', part: "icon", icon: menuIcon, lazy: false, "aria-hidden": "true" }))), theme === 'md' && h("ion-ripple-effect", { key: '9f746b38ae4d954ce0339e5c159b7c4c81d872f0', 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: 'e6cdf611b3c2ef6d39a84069582b706e9270e453', 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: 'c6a040b1b8c341ea8d0774a875266ca57fd6b8ce' })));
|
|
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))}
|
|
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)))}";
|
|
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: '488610d76d4d3743e8de0602b247c6e862f7f604', "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: '85a8517220a84da9337032ab8988362bc221f7b7', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), theme === 'ios' && h("div", { key: '7a17566ea39641cd8fdf64bd647fc3df0cf099b9', class: "modal-shadow" }), h("div", Object.assign({ key: '1b12a476428d88678a1ab2d0a3421b0ed0866c1f',
|
|
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: '48cc88e928df87737d97a4733f6551d37b429d81', 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: 'ae63a8dc8a9044a60c3d2bf046203663343e0de0', 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: '2254b8e14dbdc401b181dabb1c3b6606048291a5' });
|
|
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: '2a45f6d78be837c8c8926f45bfe194a9c75693b1', 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: '76d3086fc36a32ea544e9b03e53f656d153762d4', class: createColorClasses(color, {
|
|
104
104
|
[theme]: true,
|
|
105
105
|
['option-disabled']: disabled,
|
|
106
|
-
}) }, h("div", { key: '
|
|
106
|
+
}) }, h("div", { key: '569e40d592e71954472128cbaef0141358fd8be9', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, h("slot", { key: '1adca8a8d9b774c818404278003f7009fa4c458d' }))));
|
|
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: '867e0dc27b3a65348415b4e35e980c99d95e183c', 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: '9d68fc2f1524834436098f856af9867d4688c37b', name: "prefix" }), h("div", { key: 'a0b300c9b537ef853bd8703ad10da64dab3876dc', 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: '4617d1409c852871ff85d0ff6ac2c3d265e56a92', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '893559f2b0035135c582e34c334b56c74ddd829c', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '44d379b7d3bdff1574cc95330b22d4f629e26724', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("slot", { key: '25a5bd6d8f3d360594b38fe8867b925a67111792' }), h("div", { key: '39d4ffe9c6c2c1ee101b65a648ceaa3582676770', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '6ea72753cdc8ca3b9b1e5fd0aad8772fa090b39f', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '8ec67b388428e1d5d648884b2a69f953aa79702e', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0")), h("slot", { key: 'ba379669ca1976f3078c076f93c415e42c37847e', 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: '0e3b8112fd28191ff6af8313fee72919d9b23ee7', onPointerDown: (ev) => this.onPointerDown(ev), onClick: () => this.onClick() }, h("input", { key: '92e86aab71f000c35fcf5f4082116285f2e43016', "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: '5fad8573cd44bee093f26cd4d7cabad836789e79', class: "picker-before" }), h("div", { key: 'fd26db9e86a3cafe125283eeff0da8be7ea2928e', class: "picker-after" }), h("div", { key: '8174b0f258f3ce00707132c674ff53d3b9fc2aee', class: "picker-highlight", ref: (el) => (this.highlightEl = el) }), h("slot", { key: 'a118b0ec709164758ae95fcb9e110befb574138f' })));
|
|
477
477
|
}
|
|
478
478
|
get el() { return getElement(this); }
|
|
479
479
|
};
|
|
@@ -1387,9 +1387,9 @@ const Popover = class {
|
|
|
1387
1387
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
1388
1388
|
const desktop = isPlatform('desktop');
|
|
1389
1389
|
const enableArrow = arrow && !parentPopover;
|
|
1390
|
-
return (h(Host, Object.assign({ key: '
|
|
1390
|
+
return (h(Host, Object.assign({ key: 'bc0a33fd2fa0b0d5275b12b493503a79762adc83', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
1391
1391
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
1392
|
-
}, 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 && h("ion-backdrop", { key: '
|
|
1392
|
+
}, 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 && h("ion-backdrop", { key: '0299fd3075759113fc5f0d2b299cafce74427c62', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), h("div", { key: 'f9adb90aae67e369cf45988200f789c09d216d3a', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && h("div", { key: '9d310601494499414aa90c26ec23733dab95a376', class: "popover-arrow", part: "arrow" }), h("div", { key: '41fa231a8382c8c2b57fe17493b98986ede09a16', class: "popover-content", part: "content" }, h("slot", { key: '0c88bfdc53f4d02dd6b6033647a1285f42b581a3' })))));
|
|
1393
1393
|
}
|
|
1394
1394
|
get el() { return getElement(this); }
|
|
1395
1395
|
static get watchers() { return {
|
|
@@ -56,7 +56,7 @@ const ProgressBar = class {
|
|
|
56
56
|
const shape = this.getShape();
|
|
57
57
|
// If the progress is displayed as a solid bar.
|
|
58
58
|
const progressSolid = buffer === 1;
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: 'd9a05927c2b8065c7b73a6bd07b09d193711eb78', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses(color, {
|
|
60
60
|
[theme]: true,
|
|
61
61
|
[`progress-bar-${type}`]: true,
|
|
62
62
|
'progress-paused': paused,
|
|
@@ -138,7 +138,7 @@ const Radio = class {
|
|
|
138
138
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
139
139
|
const theme = getIonTheme(this);
|
|
140
140
|
const inItem = hostContext('ion-item', el);
|
|
141
|
-
return (h(Host, { key: '
|
|
141
|
+
return (h(Host, { key: '4890e800b5105fc75a14e0bda058bf2185d7761e', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses(color, {
|
|
142
142
|
[theme]: true,
|
|
143
143
|
'in-item': inItem,
|
|
144
144
|
'radio-checked': checked,
|
|
@@ -149,10 +149,10 @@ const Radio = class {
|
|
|
149
149
|
// Focus and active styling should not apply when the radio is in an item
|
|
150
150
|
'ion-activatable': !inItem,
|
|
151
151
|
'ion-focusable': !inItem,
|
|
152
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: '
|
|
152
|
+
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, h("label", { key: 'de4d7c2f3788f13920bc43de7bad5527c3cc74fc', class: "radio-wrapper" }, h("div", { key: '2a01f3fbdf659f8cbf2e6e8bef3d9877f53e3a66', class: {
|
|
153
153
|
'label-text-wrapper': true,
|
|
154
154
|
'label-text-wrapper-hidden': !hasLabel,
|
|
155
|
-
}, part: "label" }, h("slot", { key: '
|
|
155
|
+
}, part: "label" }, h("slot", { key: '093d4b8f5005e873851959a278a23a9a89d9fed6' })), h("div", { key: 'bdab791d63e8c2330a78f23e9320bff9a160a5d6', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
156
156
|
}
|
|
157
157
|
get el() { return getElement(this); }
|
|
158
158
|
static get watchers() { return {
|
|
@@ -358,9 +358,9 @@ const RadioGroup = class {
|
|
|
358
358
|
const { label, labelId, el, name, value } = this;
|
|
359
359
|
const theme = getIonTheme(this);
|
|
360
360
|
renderHiddenInput(true, el, name, value, false);
|
|
361
|
-
return (h(Host, { key: '
|
|
361
|
+
return (h(Host, { key: 'cf8c32999c8fa7a759948b76e715752ebcba9a63', class: {
|
|
362
362
|
[theme]: true,
|
|
363
|
-
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId, onClick: this.onClick }, this.renderHintText(), h("div", { key: '
|
|
363
|
+
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId, onClick: this.onClick }, this.renderHintText(), h("div", { key: 'a7b59a2f18208269b0a7276056002fb94f679981', class: "radio-group-wrapper" }, h("slot", { key: '588af994a16cecfa6672471d186359b3b166f3eb' }))));
|
|
364
364
|
}
|
|
365
365
|
get el() { return getElement(this); }
|
|
366
366
|
static get watchers() { return {
|