@ionic/core 8.7.6-dev.11762427934.1558d09f → 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/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 +3 -3
- package/components/ion-tab-button.js +3 -3
- 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 +4 -4
- 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 +1 -1
- 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-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 +4 -4
- package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-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 +1 -1
- package/dist/cjs/ion-select_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +6 -6
- 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/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.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.js +1 -1
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +2 -2
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.ionic.css +1 -13
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.ionic.css +0 -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-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 +4 -4
- package/dist/esm/ion-nav_2.entry.js +2 -2
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-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 +1 -1
- package/dist/esm/ion-select_3.entry.js +6 -6
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +6 -6
- 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-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-f8a835d0.entry.js → p-48b1b019.entry.js} +1 -1
- 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-ff757a50.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-77da86d1.entry.js +4 -0
- 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/hydrate/index.js +165 -167
- package/hydrate/index.mjs +165 -167
- package/package.json +1 -1
- package/dist/ionic/p-3cb3d194.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
- package/dist/ionic/p-ef32f7dd.entry.js +0 -4
|
@@ -158,7 +158,7 @@ const Checkbox = class {
|
|
|
158
158
|
helpers.renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
159
159
|
// The host element must have a checkbox role to ensure proper VoiceOver
|
|
160
160
|
// support in Safari for accessibility.
|
|
161
|
-
return (index.h(index.Host, { key: '
|
|
161
|
+
return (index.h(index.Host, { key: '15c8a86ab8e23dc44d09cfe4dee99a83dda87eca', role: "checkbox", "aria-checked": indeterminate ? 'mixed' : `${checked}`, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId, "aria-labelledby": hasLabelContent ? this.inputLabelId : null, "aria-label": inheritedAttributes['aria-label'] || null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? undefined : 0, onKeyDown: this.onKeyDown, class: theme.createColorClasses(color, {
|
|
162
162
|
[theme$1]: true,
|
|
163
163
|
'in-item': theme.hostContext('ion-item', el),
|
|
164
164
|
'checkbox-checked': checked,
|
|
@@ -171,10 +171,10 @@ const Checkbox = class {
|
|
|
171
171
|
[`checkbox-label-placement-${labelPlacement}`]: true,
|
|
172
172
|
[`checkbox-size-${size}`]: size !== undefined,
|
|
173
173
|
[`checkbox-shape-${shape}`]: true,
|
|
174
|
-
}), onClick: this.onClick }, index.h("label", { key: '
|
|
174
|
+
}), onClick: this.onClick }, index.h("label", { key: 'fe6f228d2e862b86e70a165baf268e972dcfb867', class: "checkbox-wrapper", htmlFor: inputId }, index.h("input", Object.assign({ key: 'afdb90c4e051ff30ec20d5fecfce2771b28c1f20', type: "checkbox", checked: checked ? true : undefined, disabled: disabled, id: inputId, onChange: this.toggleChecked, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl), required: required }, inheritedAttributes)), index.h("div", { key: '136503a047d9b478203e06d126a52947fa595c53', class: {
|
|
175
175
|
'label-text-wrapper': true,
|
|
176
176
|
'label-text-wrapper-hidden': !hasLabelContent,
|
|
177
|
-
}, part: "label", id: this.inputLabelId, onClick: this.onDivLabelClick }, index.h("slot", { key: '
|
|
177
|
+
}, part: "label", id: this.inputLabelId, onClick: this.onDivLabelClick }, index.h("slot", { key: '35fa9cdb5be4097a05b4dfb4a7d02fb21ecca1fa' }), this.renderHintText()), index.h("div", { key: '4f55349dc40001dc9f27ec60ed9e95732126c219', class: "native-wrapper" }, index.h("svg", { key: '92ed9f0aa55db43c9aa7ef86bdf9e8bbc8e0df17', class: "checkbox-icon", viewBox: theme$1 === 'ionic' ? '0 0 256 256' : '0 0 24 24', part: "container", "aria-hidden": "true" }, path)))));
|
|
178
178
|
}
|
|
179
179
|
getSVGPath(theme, indeterminate) {
|
|
180
180
|
let path = indeterminate ? (index.h("path", { d: "M6 12L18 12", part: "mark" })) : (index.h("path", { d: "M5.9,12.5l3.8,3.8l8.8-8.8", part: "mark" }));
|
|
@@ -61,7 +61,7 @@ const Chip = class {
|
|
|
61
61
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
62
62
|
const size = this.getSize();
|
|
63
63
|
const shape = this.getShape();
|
|
64
|
-
return (index.h(index.Host, { key: '
|
|
64
|
+
return (index.h(index.Host, { key: 'ec10528929fb43fcae7d2d7c9cc52bcf67d9823e', "aria-disabled": this.disabled ? 'true' : null, class: theme.createColorClasses(this.color, {
|
|
65
65
|
[theme$1]: true,
|
|
66
66
|
[`chip-${shape}`]: true,
|
|
67
67
|
'chip-outline': this.outline,
|
|
@@ -70,7 +70,7 @@ const Chip = class {
|
|
|
70
70
|
'ion-focusable': !this.disabled,
|
|
71
71
|
[`chip-${size}`]: size !== undefined,
|
|
72
72
|
[`chip-${hue}`]: hue !== undefined,
|
|
73
|
-
}) }, index.h("slot", { key: '
|
|
73
|
+
}) }, index.h("slot", { key: 'c88e9a90b9de62fded05d4323c5b4f86f2f3e96d' }), theme$1 === 'md' && index.h("ion-ripple-effect", { key: 'f0395345064db0e02cbc886386b07d0d01cb02be' })));
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
76
|
Chip.style = {
|
|
@@ -103,12 +103,12 @@ const Col = class {
|
|
|
103
103
|
const colSize = this.getSizeClass();
|
|
104
104
|
const colOrder = this.getOrderClass();
|
|
105
105
|
const colOffset = this.getOffsetClass();
|
|
106
|
-
return (index.h(index.Host, { key: '
|
|
106
|
+
return (index.h(index.Host, { key: '4620a4eb3c94f744d6169ae9d4cc43e86a271a52', class: {
|
|
107
107
|
[theme]: true,
|
|
108
108
|
[`${colSize}`]: colSize !== undefined,
|
|
109
109
|
[`${colOrder}`]: colOrder !== undefined,
|
|
110
110
|
[`${colOffset}`]: colOffset !== undefined,
|
|
111
|
-
} }, index.h("slot", { key: '
|
|
111
|
+
} }, index.h("slot", { key: '5c3be98deed2050634396339b7787f2770a05d35' })));
|
|
112
112
|
}
|
|
113
113
|
get el() { return index.getElement(this); }
|
|
114
114
|
};
|
|
@@ -126,10 +126,10 @@ const Grid = class {
|
|
|
126
126
|
}
|
|
127
127
|
render() {
|
|
128
128
|
const theme = ionicGlobal.getIonTheme(this);
|
|
129
|
-
return (index.h(index.Host, { key: '
|
|
129
|
+
return (index.h(index.Host, { key: 'cd55886cabaeab57e3b13193381b196bec2f07f8', class: {
|
|
130
130
|
[theme]: true,
|
|
131
131
|
'grid-fixed': this.fixed,
|
|
132
|
-
} }, index.h("slot", { key: '
|
|
132
|
+
} }, index.h("slot", { key: 'c9b95999e6a274a8a0c997451c0be45b1304d77b' })));
|
|
133
133
|
}
|
|
134
134
|
};
|
|
135
135
|
Grid.style = gridCss;
|
|
@@ -142,9 +142,9 @@ const Row = class {
|
|
|
142
142
|
}
|
|
143
143
|
render() {
|
|
144
144
|
const theme = ionicGlobal.getIonTheme(this);
|
|
145
|
-
return (index.h(index.Host, { key: '
|
|
145
|
+
return (index.h(index.Host, { key: '7ba1bd208ec7fa1961c50dcd1305ae155fd57fb0', class: {
|
|
146
146
|
[theme]: true,
|
|
147
|
-
} }, index.h("slot", { key: '
|
|
147
|
+
} }, index.h("slot", { key: '2a4204092840acbb7f0bac337306b26d9a2f8056' })));
|
|
148
148
|
}
|
|
149
149
|
};
|
|
150
150
|
Row.style = rowCss;
|
|
@@ -340,11 +340,11 @@ const DatetimeButton = class {
|
|
|
340
340
|
render() {
|
|
341
341
|
const { color, dateText, timeText, selectedButton, datetimeActive, disabled } = this;
|
|
342
342
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
343
|
-
return (index.h(index.Host, { key: '
|
|
343
|
+
return (index.h(index.Host, { key: '3051e96ef973302ba87c85515660c48b8136cba2', class: theme.createColorClasses(color, {
|
|
344
344
|
[theme$1]: true,
|
|
345
345
|
[`${selectedButton}-active`]: datetimeActive,
|
|
346
346
|
['datetime-button-disabled']: disabled,
|
|
347
|
-
}) }, dateText && (index.h("button", { key: '
|
|
347
|
+
}) }, dateText && (index.h("button", { key: 'e3d968bcf0e7c1911bb16076123ffc1daeee62ed', class: "ion-activatable", id: "date-button", "aria-expanded": datetimeActive ? 'true' : 'false', onClick: this.handleDateClick, disabled: disabled, part: "native", ref: (el) => (this.dateTargetEl = el) }, index.h("slot", { key: 'cdf1f60a0e42cd32633563c8256a1132798e47a1', name: "date-target" }, dateText), theme$1 === 'md' && index.h("ion-ripple-effect", { key: '2284ac36fd7522a6a2e9f7f906b2e94c48680045' }))), timeText && (index.h("button", { key: 'e591b668ffd90538716082a3648a50422c24a7c1', class: "ion-activatable", id: "time-button", "aria-expanded": datetimeActive ? 'true' : 'false', onClick: this.handleTimeClick, disabled: disabled, part: "native", ref: (el) => (this.timeTargetEl = el) }, index.h("slot", { key: '5ef09df0f59663bf2437d05e16ef9d1f05ba25bd', name: "time-target" }, timeText), theme$1 === 'md' && index.h("ion-ripple-effect", { key: 'a7b5de6e3d0df722cc62abf0e8a1140463af35b5' })))));
|
|
348
348
|
}
|
|
349
349
|
get el() { return index.getElement(this); }
|
|
350
350
|
};
|
|
@@ -1932,7 +1932,7 @@ const Datetime = class {
|
|
|
1932
1932
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
1933
1933
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
1934
1934
|
helpers.renderHiddenInput(true, el, name, data.formatValue(value), disabled);
|
|
1935
|
-
return (index.h(index.Host, { key: '
|
|
1935
|
+
return (index.h(index.Host, { key: '7f0b297fa794a28497ec2b98173da884abdbdf1b', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, theme.createColorClasses(color, {
|
|
1936
1936
|
[theme$1]: true,
|
|
1937
1937
|
['datetime-readonly']: readonly,
|
|
1938
1938
|
['datetime-disabled']: disabled,
|
|
@@ -1942,7 +1942,7 @@ const Datetime = class {
|
|
|
1942
1942
|
[`datetime-size-${size}`]: true,
|
|
1943
1943
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
1944
1944
|
[`datetime-grid`]: isGridStyle,
|
|
1945
|
-
})) }, index.h("div", { key: '
|
|
1945
|
+
})) }, index.h("div", { key: '44ae95f094db5f7e2d45c98478636da9e6ab3491', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(theme$1)));
|
|
1946
1946
|
}
|
|
1947
1947
|
get el() { return index.getElement(this); }
|
|
1948
1948
|
static get watchers() { return {
|
|
@@ -2220,11 +2220,11 @@ const Picker = class {
|
|
|
2220
2220
|
render() {
|
|
2221
2221
|
const { htmlAttributes } = this;
|
|
2222
2222
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
2223
|
-
return (index.h(index.Host, Object.assign({ key: '
|
|
2223
|
+
return (index.h(index.Host, Object.assign({ key: '5be65f42e2ce3d4d6adaf431f37a4a6d83a66e6e', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
2224
2224
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
2225
2225
|
}, class: Object.assign({ [theme$1]: true,
|
|
2226
2226
|
// Used internally for styling
|
|
2227
|
-
[`picker-${theme$1}`]: true, 'overlay-hidden': true }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), index.h("ion-backdrop", { key: '
|
|
2227
|
+
[`picker-${theme$1}`]: true, 'overlay-hidden': true }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), index.h("ion-backdrop", { key: '3a611227f9de69d89a3171ad108dd11d1928c671', visible: this.showBackdrop, tappable: this.backdropDismiss }), index.h("div", { key: 'a577468549382d405258c93731c2cba6e4a32879', tabindex: "0", "aria-hidden": "true" }), index.h("div", { key: 'e86289348943e6a3b6b11f5edd8d58acb841eaad', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, index.h("div", { key: 'db47deaf34cb6d8f7e47921264ca171a58b60d8b', class: "picker-toolbar" }, this.buttons.map((b) => (index.h("div", { class: buttonWrapperClass(b) }, index.h("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass(b) }, b.text))))), index.h("div", { key: '53a7ab27826f3a2eef6b1fdd767bce675a1d344a', class: "picker-columns" }, index.h("div", { key: 'ccc435173195f9267a838c881eea1d9715046731', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => index.h("ion-picker-legacy-column", { col: c })), index.h("div", { key: '3499cb548af069936b414f46155bb07427bc21c2', class: "picker-below-highlight" }))), index.h("div", { key: 'f93e65707c71f594ea6e076292680c7f54208b17', tabindex: "0", "aria-hidden": "true" })));
|
|
2228
2228
|
}
|
|
2229
2229
|
get el() { return index.getElement(this); }
|
|
2230
2230
|
static get watchers() { return {
|
|
@@ -2578,9 +2578,9 @@ const PickerColumnCmp = class {
|
|
|
2578
2578
|
render() {
|
|
2579
2579
|
const col = this.col;
|
|
2580
2580
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
2581
|
-
return (index.h(index.Host, { key: '
|
|
2581
|
+
return (index.h(index.Host, { key: 'c50f127ada94ef8e284129f704a4201275f85873', class: Object.assign({ [theme$1]: true, 'picker-col': true, 'picker-opts-left': this.col.align === 'left', 'picker-opts-right': this.col.align === 'right' }, theme.getClassMap(col.cssClass)), style: {
|
|
2582
2582
|
'max-width': this.col.columnWidth,
|
|
2583
|
-
} }, col.prefix && (index.h("div", { key: '
|
|
2583
|
+
} }, col.prefix && (index.h("div", { key: '1b7c6b050049315ece6b36a5af1d842446e13c70', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), index.h("div", { key: 'd1ff3f80b3edd70d923b86a120f2a7ef5b24a53c', class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: (el) => (this.optsEl = el) }, col.options.map((o, index$1) => (index.h("button", { "aria-label": o.ariaLabel, class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index$1 }, o.text)))), col.suffix && (index.h("div", { key: '496213486f1268e4a828650f55b22f97fa89471e', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
2584
2584
|
}
|
|
2585
2585
|
get el() { return index.getElement(this); }
|
|
2586
2586
|
static get watchers() { return {
|
|
@@ -35,11 +35,11 @@ const Divider = class {
|
|
|
35
35
|
render() {
|
|
36
36
|
const { inset, spacing } = this;
|
|
37
37
|
const theme = ionicGlobal.getIonTheme(this);
|
|
38
|
-
return (index.h(index.Host, { key: '
|
|
38
|
+
return (index.h(index.Host, { key: '6cc1572a93abaf49be7e27348bf513cb7ee24bff', class: {
|
|
39
39
|
[theme]: true,
|
|
40
40
|
[`divider-spacing-${spacing}`]: spacing !== undefined,
|
|
41
41
|
[`divider-inset`]: inset,
|
|
42
|
-
} }, index.h("hr", { key: '
|
|
42
|
+
} }, index.h("hr", { key: '19e4cef3f90d92b56ae0bece15dbdcfbf18d72d9' })));
|
|
43
43
|
}
|
|
44
44
|
};
|
|
45
45
|
Divider.style = {
|
|
@@ -65,12 +65,12 @@ const Fab = class {
|
|
|
65
65
|
render() {
|
|
66
66
|
const { horizontal, vertical, edge } = this;
|
|
67
67
|
const theme = ionicGlobal.getIonTheme(this);
|
|
68
|
-
return (index.h(index.Host, { key: '
|
|
68
|
+
return (index.h(index.Host, { key: '569b07978a63756169d050f3b67368cecf26dd98', class: {
|
|
69
69
|
[theme]: true,
|
|
70
70
|
[`fab-horizontal-${horizontal}`]: horizontal !== undefined,
|
|
71
71
|
[`fab-vertical-${vertical}`]: vertical !== undefined,
|
|
72
72
|
'fab-edge': edge,
|
|
73
|
-
} }, index.h("slot", { key: '
|
|
73
|
+
} }, index.h("slot", { key: 'cd10d4baa1c2e8c2dcfefe66bdb7ffb8262f8e17' })));
|
|
74
74
|
}
|
|
75
75
|
get el() { return index.getElement(this); }
|
|
76
76
|
static get watchers() { return {
|
|
@@ -169,7 +169,7 @@ const FabButton = class {
|
|
|
169
169
|
rel: this.rel,
|
|
170
170
|
target: this.target,
|
|
171
171
|
};
|
|
172
|
-
return (index.h(index.Host, { key: '
|
|
172
|
+
return (index.h(index.Host, { key: '7d1b93dbec8f6b974db63168c55353b93ff169aa', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, class: theme.createColorClasses(color, {
|
|
173
173
|
[theme$1]: true,
|
|
174
174
|
'fab-button-in-list': inList,
|
|
175
175
|
'fab-button-translucent-in-list': inList && translucent,
|
|
@@ -180,7 +180,7 @@ const FabButton = class {
|
|
|
180
180
|
'ion-activatable': true,
|
|
181
181
|
'ion-focusable': true,
|
|
182
182
|
[`fab-button-${size}`]: size !== undefined,
|
|
183
|
-
}) }, index.h(TagType, Object.assign({ key: '
|
|
183
|
+
}) }, index.h(TagType, Object.assign({ key: 'cac887802056b25fee955e272febdb41745c731c' }, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur, onClick: (ev) => theme.openURL(href, ev, this.routerDirection, this.routerAnimation) }, inheritedAttributes), index.h("ion-icon", { key: 'c5a932c45ec7ff131d484463203275210cdc5b3a', "aria-hidden": "true", icon: fabButtonCloseIcon, part: "close-icon", class: "close-icon", lazy: false }), index.h("span", { key: 'bf8f5208c941dc3ddc2b719dbb2f2cf999e2b6a8', class: "button-inner" }, index.h("slot", { key: '213ca4696b7072ef2dfee806d11d8ddd26abf7af' })), theme$1 === 'md' && index.h("ion-ripple-effect", { key: 'a2947193263e8ef97eccb15de9f5aa937e87086b' }))));
|
|
184
184
|
}
|
|
185
185
|
get el() { return index.getElement(this); }
|
|
186
186
|
};
|
|
@@ -214,11 +214,11 @@ const FabList = class {
|
|
|
214
214
|
}
|
|
215
215
|
render() {
|
|
216
216
|
const theme = ionicGlobal.getIonTheme(this);
|
|
217
|
-
return (index.h(index.Host, { key: '
|
|
217
|
+
return (index.h(index.Host, { key: '8b4d0419170ba48e5d9d1152dcae2b35281cd800', class: {
|
|
218
218
|
[theme]: true,
|
|
219
219
|
'fab-list-active': this.activated,
|
|
220
220
|
[`fab-list-side-${this.side}`]: true,
|
|
221
|
-
} }, index.h("slot", { key: '
|
|
221
|
+
} }, index.h("slot", { key: '9276798e2c581440c46ff9914809e87203a86b1b' })));
|
|
222
222
|
}
|
|
223
223
|
get el() { return index.getElement(this); }
|
|
224
224
|
static get watchers() { return {
|
|
@@ -75,9 +75,9 @@ const Img = class {
|
|
|
75
75
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
76
76
|
const { draggable } = inheritedAttributes;
|
|
77
77
|
const theme = ionicGlobal.getIonTheme(this);
|
|
78
|
-
return (index.h(index.Host, { key: '
|
|
78
|
+
return (index.h(index.Host, { key: '1aa7be8e15beabbc92ee21127960f7cfc778555d', class: {
|
|
79
79
|
[theme]: true,
|
|
80
|
-
} }, index.h("img", { key: '
|
|
80
|
+
} }, index.h("img", { key: 'a74a222d3b9d232619471ac9089c365b3e7a9b04', decoding: "async", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: "image", draggable: isDraggable(draggable) })));
|
|
81
81
|
}
|
|
82
82
|
get el() { return index.getElement(this); }
|
|
83
83
|
static get watchers() { return {
|
|
@@ -270,7 +270,7 @@ const InfiniteScroll = class {
|
|
|
270
270
|
render() {
|
|
271
271
|
const theme = ionicGlobal.getIonTheme(this);
|
|
272
272
|
const disabled = this.disabled;
|
|
273
|
-
return (index.h(index.Host, { key: '
|
|
273
|
+
return (index.h(index.Host, { key: '22d99824cb589d9024666a3c1ed205f781858eed', class: {
|
|
274
274
|
[theme]: true,
|
|
275
275
|
'infinite-scroll-loading': this.isLoading,
|
|
276
276
|
'infinite-scroll-enabled': !disabled,
|
|
@@ -310,11 +310,11 @@ const InfiniteScrollContent = class {
|
|
|
310
310
|
}
|
|
311
311
|
render() {
|
|
312
312
|
const theme = ionicGlobal.getIonTheme(this);
|
|
313
|
-
return (index.h(index.Host, { key: '
|
|
313
|
+
return (index.h(index.Host, { key: 'e94d19f17ef9d4d77786716152e3206366feb546', class: {
|
|
314
314
|
[theme]: true,
|
|
315
315
|
// Used internally for styling
|
|
316
316
|
[`infinite-scroll-content-${theme}`]: true,
|
|
317
|
-
} }, index.h("div", { key: '
|
|
317
|
+
} }, index.h("div", { key: '35fcc0572ad27a683aa55a704bd11b19fcdfd29c', class: "infinite-loading" }, this.loadingSpinner && (index.h("div", { key: 'fec3c13dbb2fa98699401147ce442b73e97e8bd8', class: "infinite-loading-spinner" }, index.h("ion-spinner", { key: '6cd6083255dacc891b4d201477e6bffccb1084bc', name: this.loadingSpinner }))), this.loadingText !== undefined && this.renderLoadingText())));
|
|
318
318
|
}
|
|
319
319
|
};
|
|
320
320
|
InfiniteScrollContent.style = {
|
|
@@ -620,7 +620,7 @@ const InputOTP = class {
|
|
|
620
620
|
const tabbableIndex = this.getTabbableIndex();
|
|
621
621
|
const pattern = this.getPattern();
|
|
622
622
|
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()) !== '';
|
|
623
|
-
return (index.h(index.Host, { key: '
|
|
623
|
+
return (index.h(index.Host, { key: 'b7709a1fd155bd4484fb6f20a2f0c1cdb13809a7', class: theme.createColorClasses(color, {
|
|
624
624
|
[mode]: true,
|
|
625
625
|
'has-focus': hasFocus,
|
|
626
626
|
[`input-otp-size-${size}`]: true,
|
|
@@ -628,10 +628,10 @@ const InputOTP = class {
|
|
|
628
628
|
[`input-otp-fill-${fill}`]: true,
|
|
629
629
|
'input-otp-disabled': disabled,
|
|
630
630
|
'input-otp-readonly': readonly,
|
|
631
|
-
}) }, index.h("div", Object.assign({ key: '
|
|
631
|
+
}) }, index.h("div", Object.assign({ key: '5948befd722de44eea8aa1a759ae465bebef0d52', role: "group", "aria-label": "One-time password input", class: "input-otp-group" }, inheritedAttributes), Array.from({ length }).map((_, index$1) => (index.h(index.Fragment, null, index.h("div", { class: "native-wrapper" }, index.h("input", { class: "native-input", id: `${inputId}-${index$1}`, "aria-label": `Input ${index$1 + 1} of ${length}`, type: "text", autoCapitalize: autocapitalize, inputmode: inputmode, pattern: pattern, disabled: disabled, readOnly: readonly, tabIndex: index$1 === tabbableIndex ? 0 : -1, value: inputValues[index$1] || '', autocomplete: "one-time-code", ref: (el) => (inputRefs[index$1] = el), onInput: this.onInput(index$1), onBlur: this.onBlur, onFocus: this.onFocus(index$1), onKeyDown: this.onKeyDown(index$1), onPaste: this.onPaste })), this.showSeparator(index$1) && index.h("div", { class: "input-otp-separator" }))))), index.h("div", { key: 'bb4cdd1da7e42b6d2b8b50fc2ec52ed526608cdd', class: {
|
|
632
632
|
'input-otp-description': true,
|
|
633
633
|
'input-otp-description-hidden': !hasDescription,
|
|
634
|
-
} }, index.h("slot", { key: '
|
|
634
|
+
} }, index.h("slot", { key: '006fe25a24266eae57a9c1b58fbfc28008cfb816' }))));
|
|
635
635
|
}
|
|
636
636
|
get el() { return index.getElement(this); }
|
|
637
637
|
static get watchers() { return {
|
|
@@ -101,16 +101,16 @@ const InputPasswordToggle = class {
|
|
|
101
101
|
const { color, inputPasswordHideIcon, inputPasswordShowIcon, type } = this;
|
|
102
102
|
const mode = ionicGlobal.getIonMode(this);
|
|
103
103
|
const isPasswordVisible = type === 'text';
|
|
104
|
-
return (index.h(index.Host, { key: '
|
|
104
|
+
return (index.h(index.Host, { key: 'e3c21d5bedebeadb57c0c9b7f065d15ab0d49e4a', class: theme.createColorClasses(color, {
|
|
105
105
|
[mode]: true,
|
|
106
|
-
}) }, index.h("ion-button", { key: '
|
|
106
|
+
}) }, index.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) => {
|
|
107
107
|
/**
|
|
108
108
|
* This prevents mobile browsers from
|
|
109
109
|
* blurring the input when the password toggle
|
|
110
110
|
* button is activated.
|
|
111
111
|
*/
|
|
112
112
|
ev.preventDefault();
|
|
113
|
-
}, onClick: this.togglePasswordVisibility }, index.h("ion-icon", { key: '
|
|
113
|
+
}, onClick: this.togglePasswordVisibility }, index.h("ion-icon", { key: 'bc25d56ce0402565a2c7c0d617349138a04c008d', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? inputPasswordHideIcon : inputPasswordShowIcon }))));
|
|
114
114
|
}
|
|
115
115
|
get el() { return index.getElement(this); }
|
|
116
116
|
static get watchers() { return {
|
|
@@ -600,7 +600,7 @@ const Input = class {
|
|
|
600
600
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
601
601
|
*/
|
|
602
602
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
603
|
-
return (index.h(index.Host, { key: '
|
|
603
|
+
return (index.h(index.Host, { key: 'c01b7ed35861999d1a73b12d853fa90deb831963', class: theme.createColorClasses(this.color, {
|
|
604
604
|
[theme$1]: true,
|
|
605
605
|
'has-value': hasValue,
|
|
606
606
|
'has-focus': hasFocus,
|
|
@@ -613,7 +613,7 @@ const Input = class {
|
|
|
613
613
|
'in-item-color': theme.hostContext('ion-item.ion-color', this.el),
|
|
614
614
|
'input-disabled': disabled,
|
|
615
615
|
'input-readonly': readonly,
|
|
616
|
-
}) }, index.h("label", { key: '
|
|
616
|
+
}) }, index.h("label", { key: '49b13f7970d0839d8286a32b52360356f9bd7399', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), index.h("div", { key: '2a976896662e4f18f5b86d7dada141222533047e', class: "native-wrapper", onClick: this.onLabelClick },
|
|
617
617
|
/**
|
|
618
618
|
* For the ionic theme, we render the outline container here
|
|
619
619
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -623,14 +623,14 @@ const Input = class {
|
|
|
623
623
|
* <label> element, ensuring that clicking the label text
|
|
624
624
|
* focuses the input.
|
|
625
625
|
*/
|
|
626
|
-
theme$1 === 'ionic' && index.h("div", { key: '
|
|
626
|
+
theme$1 === 'ionic' && index.h("div", { key: '47fe7d74f50bfa1aeec03ba3cb1edb0df941773f', class: "input-outline" }), index.h("slot", { key: 'f9b9884467a216bd0c7af49b512ed22ef67f81f2', name: "start" }), index.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 && (index.h("button", { key: '284e6a89fe06fc7de2d0d7cac24ae5330f10594c', "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (ev) => {
|
|
627
627
|
/**
|
|
628
628
|
* This prevents mobile browsers from
|
|
629
629
|
* blurring the input when the clear
|
|
630
630
|
* button is activated.
|
|
631
631
|
*/
|
|
632
632
|
ev.preventDefault();
|
|
633
|
-
}, onClick: this.clearTextInput }, index.h("ion-icon", { key: '
|
|
633
|
+
}, onClick: this.clearTextInput }, index.h("ion-icon", { key: '58ceb89a48d5db08ddb5b22397d29e6ab3524f9c', "aria-hidden": "true", icon: inputClearIcon }))), index.h("slot", { key: 'a90f9f0b9439e0aa19de35e24ea9ed587ab51add', name: "end" })), shouldRenderHighlight && index.h("div", { key: '413fe8aa2eeaf41ab90a3b77a6abb20b19ad8446', class: "input-highlight" })), this.renderBottomContent()));
|
|
634
634
|
}
|
|
635
635
|
get el() { return index.getElement(this); }
|
|
636
636
|
static get watchers() { return {
|
|
@@ -70,14 +70,14 @@ const ItemOption = class {
|
|
|
70
70
|
href: this.href,
|
|
71
71
|
target: this.target,
|
|
72
72
|
};
|
|
73
|
-
return (index.h(index.Host, { key: '
|
|
73
|
+
return (index.h(index.Host, { key: '419c8059b80ed543021016ae8e47a8c293c61544', onClick: this.onClick, class: theme.createColorClasses(this.color, {
|
|
74
74
|
[theme$1]: true,
|
|
75
75
|
[`item-option-${shape}`]: shape !== undefined,
|
|
76
76
|
[`item-option-${hue}`]: hue !== undefined,
|
|
77
77
|
'item-option-disabled': disabled,
|
|
78
78
|
'item-option-expandable': expandable,
|
|
79
79
|
'ion-activatable': true,
|
|
80
|
-
}) }, index.h(TagType, Object.assign({ key: '
|
|
80
|
+
}) }, index.h(TagType, Object.assign({ key: 'b68a20876078d8c3281ad95c4d25c786ea8534b6' }, attrs, { class: "button-native", part: "native", disabled: disabled }), index.h("span", { key: '2cca3a5fe121020e647306e73f5a6568e0114e52', class: "button-inner" }, index.h("slot", { key: 'a58b51ec7a506997f0a7ef419ea2eacd7e317cb0', name: "top" }), index.h("div", { key: '51d3078bcaf1b587b4d989faaba9eccc064299a1', class: "horizontal-wrapper" }, index.h("slot", { key: 'f9a5c0f1036dabc30649a31da851acc947e8d0dd', name: "start" }), index.h("slot", { key: '57474d0a32f99a7d773db30093ab3d4a0529d1c0', name: "icon-only" }), index.h("slot", { key: 'e9415a290913d535b82a74303fe73b779ff5b5be' }), index.h("slot", { key: 'e33e61278c599989c80fc410b94688288c0c13f5', name: "end" })), index.h("slot", { key: '4f3b12f4fcc09e8f87f35ea8c87cf40d15b5ef42', name: "bottom" })), theme$1 === 'md' && index.h("ion-ripple-effect", { key: '56a65a555e12f0051d69447d786799e1b21683a6' }))));
|
|
81
81
|
}
|
|
82
82
|
get el() { return index.getElement(this); }
|
|
83
83
|
};
|
|
@@ -112,7 +112,7 @@ const ItemOptions = class {
|
|
|
112
112
|
render() {
|
|
113
113
|
const theme = ionicGlobal.getIonTheme(this);
|
|
114
114
|
const isEnd = helpers.isEndSide(this.side);
|
|
115
|
-
return (index.h(index.Host, { key: '
|
|
115
|
+
return (index.h(index.Host, { key: '631db06441daa78759d646ab8d9e1804184be7ea', class: {
|
|
116
116
|
[theme]: true,
|
|
117
117
|
// Used internally for styling
|
|
118
118
|
[`item-options-${theme}`]: true,
|
|
@@ -524,7 +524,7 @@ const ItemSliding = class {
|
|
|
524
524
|
}
|
|
525
525
|
render() {
|
|
526
526
|
const theme = ionicGlobal.getIonTheme(this);
|
|
527
|
-
return (index.h(index.Host, { key: '
|
|
527
|
+
return (index.h(index.Host, { key: '837e7162dfc6d2cebcdf3efc40d1c6aa88739451', class: {
|
|
528
528
|
[theme]: true,
|
|
529
529
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
530
530
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -302,11 +302,11 @@ const ItemDivider = class {
|
|
|
302
302
|
}
|
|
303
303
|
render() {
|
|
304
304
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
305
|
-
return (index.h(index.Host, { key: '
|
|
305
|
+
return (index.h(index.Host, { key: 'ff60c2ed224911e4369138287da9610564785c7f', class: theme.createColorClasses(this.color, {
|
|
306
306
|
[theme$1]: true,
|
|
307
307
|
'item-divider-sticky': this.sticky,
|
|
308
308
|
item: true,
|
|
309
|
-
}) }, index.h("slot", { key: '
|
|
309
|
+
}) }, index.h("slot", { key: '992f32a67a2ecf8ee94d5c8b9bfd231b4b4510d9', name: "start" }), index.h("div", { key: '44ad1d56fe4c9644267ca285199bcc66cf7269d3', class: "item-divider-inner" }, index.h("div", { key: '8237db8eb57c0b877da7efa45f10214063e3ac8f', class: "item-divider-wrapper" }, index.h("slot", { key: '9ac2bf96cfa368d4f6daba9b6fcced3f597dfb4f' })), index.h("slot", { key: '19bdddb51ac10f0a11c5b50d4ad51a55cada278a', name: "end" }))));
|
|
310
310
|
}
|
|
311
311
|
get el() { return index.getElement(this); }
|
|
312
312
|
};
|
|
@@ -328,7 +328,7 @@ const ItemGroup = class {
|
|
|
328
328
|
}
|
|
329
329
|
render() {
|
|
330
330
|
const theme = ionicGlobal.getIonTheme(this);
|
|
331
|
-
return (index.h(index.Host, { key: '
|
|
331
|
+
return (index.h(index.Host, { key: 'd104330acfa524379c4bf1c28bce6cf7e720db14', role: "group", class: {
|
|
332
332
|
[theme]: true,
|
|
333
333
|
// Used internally for styling
|
|
334
334
|
[`item-group-${theme}`]: true,
|
|
@@ -397,13 +397,13 @@ const Label = class {
|
|
|
397
397
|
render() {
|
|
398
398
|
const position = this.position;
|
|
399
399
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
400
|
-
return (index.h(index.Host, { key: '
|
|
400
|
+
return (index.h(index.Host, { key: '8705671de3aaec1eb21044f4a234ee85fcba8d14', class: theme.createColorClasses(this.color, {
|
|
401
401
|
[theme$1]: true,
|
|
402
402
|
'in-item-color': theme.hostContext('ion-item.ion-color', this.el),
|
|
403
403
|
[`label-${position}`]: position !== undefined,
|
|
404
404
|
[`label-no-animate`]: this.noAnimate,
|
|
405
405
|
'label-rtl': document.dir === 'rtl',
|
|
406
|
-
}) }, index.h("slot", { key: '
|
|
406
|
+
}) }, index.h("slot", { key: '31973de97fc2524da620a612ada1d3c506939f6f' })));
|
|
407
407
|
}
|
|
408
408
|
get el() { return index.getElement(this); }
|
|
409
409
|
static get watchers() { return {
|
|
@@ -463,7 +463,7 @@ const List = class {
|
|
|
463
463
|
const theme = ionicGlobal.getIonTheme(this);
|
|
464
464
|
const shape = this.getShape();
|
|
465
465
|
const { lines, inset } = this;
|
|
466
|
-
return (index.h(index.Host, { key: '
|
|
466
|
+
return (index.h(index.Host, { key: 'dcdfb595a6b45307f9810e1ded25ba635c947940', role: "list", class: {
|
|
467
467
|
[theme]: true,
|
|
468
468
|
// Used internally for styling
|
|
469
469
|
[`list-${theme}`]: true,
|
|
@@ -494,10 +494,10 @@ const ListHeader = class {
|
|
|
494
494
|
render() {
|
|
495
495
|
const { lines } = this;
|
|
496
496
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
497
|
-
return (index.h(index.Host, { key: '
|
|
497
|
+
return (index.h(index.Host, { key: 'b3478a7ac11992d292d35b5c658de040c51e971d', class: theme.createColorClasses(this.color, {
|
|
498
498
|
[theme$1]: true,
|
|
499
499
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
500
|
-
}) }, index.h("div", { key: '
|
|
500
|
+
}) }, index.h("div", { key: '76dff0757cd9930eec0dbd56cb187c72d4e26d21', class: "list-header-inner" }, index.h("slot", { key: 'd25568f22efb544467ffda8929ac6d6cfd4001fa' }))));
|
|
501
501
|
}
|
|
502
502
|
};
|
|
503
503
|
ListHeader.style = {
|
|
@@ -518,9 +518,9 @@ const Note = class {
|
|
|
518
518
|
}
|
|
519
519
|
render() {
|
|
520
520
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
521
|
-
return (index.h(index.Host, { key: '
|
|
521
|
+
return (index.h(index.Host, { key: 'bab27d8461e93c98bb48cbdd4df0c6b012a37798', class: theme.createColorClasses(this.color, {
|
|
522
522
|
[theme$1]: true,
|
|
523
|
-
}) }, index.h("slot", { key: '
|
|
523
|
+
}) }, index.h("slot", { key: 'd2e0f339ce127095fa49b93e515ab888461de1ea' })));
|
|
524
524
|
}
|
|
525
525
|
};
|
|
526
526
|
Note.style = {
|
|
@@ -556,11 +556,11 @@ const SkeletonText = class {
|
|
|
556
556
|
const animated = this.animated && index.config.getBoolean('animated', true);
|
|
557
557
|
const inMedia = theme.hostContext('ion-avatar', this.el) || theme.hostContext('ion-thumbnail', this.el);
|
|
558
558
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
559
|
-
return (index.h(index.Host, { key: '
|
|
559
|
+
return (index.h(index.Host, { key: 'e3c73ecba79ec4b58b517f42a9b41be587615603', class: {
|
|
560
560
|
[theme$1]: true,
|
|
561
561
|
'skeleton-text-animated': animated,
|
|
562
562
|
'in-media': inMedia,
|
|
563
|
-
} }, index.h("span", { key: '
|
|
563
|
+
} }, index.h("span", { key: '188c3bb600e248e93f48a89b900946ec9125b40f' }, "\u00A0")));
|
|
564
564
|
}
|
|
565
565
|
get el() { return index.getElement(this); }
|
|
566
566
|
};
|
|
@@ -279,9 +279,9 @@ const Loading = class {
|
|
|
279
279
|
* Otherwise, don't set aria-labelledby.
|
|
280
280
|
*/
|
|
281
281
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
282
|
-
return (index.h(index.Host, Object.assign({ key: '
|
|
282
|
+
return (index.h(index.Host, Object.assign({ key: '082392dad8551f7bf3be1b77d4d26d3b96504d39', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
283
283
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
284
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, theme.getClassMap(this.cssClass)), { [theme$1]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), index.h("ion-backdrop", { key: '
|
|
284
|
+
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, theme.getClassMap(this.cssClass)), { [theme$1]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), index.h("ion-backdrop", { key: '1ced20cf2cc6d610c0f5f9d1de147602137347f1', visible: this.showBackdrop, tappable: this.backdropDismiss }), index.h("div", { key: '450e54507718d290a520d423ae09d05d88009d79', tabindex: "0", "aria-hidden": "true" }), index.h("div", { key: 'f2338b1915b9339055a27c4ef230b2663959e2f8', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (index.h("div", { key: '22c0ba1f0ead01c0e0b133c7398f3fa3e03d3f08', class: "loading-spinner" }, index.h("ion-spinner", { key: '155aa650b590dc49c8902bc1d73f4bba4afd1d35', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), index.h("div", { key: 'b08785d4408950abd34b0c21dd8e4be783b17ae4', tabindex: "0", "aria-hidden": "true" })));
|
|
285
285
|
}
|
|
286
286
|
get el() { return index.getElement(this); }
|
|
287
287
|
static get watchers() { return {
|
|
@@ -666,14 +666,14 @@ const Menu = class {
|
|
|
666
666
|
* the ionBackButton listener in the menu controller
|
|
667
667
|
* will handle closing the menu when Escape is pressed.
|
|
668
668
|
*/
|
|
669
|
-
return (index.h(index.Host, { key: '
|
|
669
|
+
return (index.h(index.Host, { key: '1983ee36a15d041cce2cf8c010c4a03544095c71', onKeyDown: ionicGlobal.shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
670
670
|
[theme$1]: true,
|
|
671
671
|
[`menu-type-${type}`]: true,
|
|
672
672
|
'menu-enabled': !disabled,
|
|
673
673
|
[`menu-side-${side}`]: true,
|
|
674
674
|
'menu-pane-visible': isPaneVisible,
|
|
675
675
|
'split-pane-side': theme.hostContext('ion-split-pane', el),
|
|
676
|
-
} }, index.h("div", { key: '
|
|
676
|
+
} }, index.h("div", { key: '9b997c29ef41fd00c15843a1f6593407d195a501', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, index.h("slot", { key: 'e95f25ccdf6e07b527e2126b7d7221d39e667549' })), index.h("ion-backdrop", { key: '60271cb8539ef04a148c08ab1a3349be30e8589c', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
677
677
|
}
|
|
678
678
|
get el() { return index.getElement(this); }
|
|
679
679
|
static get watchers() { return {
|
|
@@ -766,7 +766,7 @@ const MenuButton = class {
|
|
|
766
766
|
type: this.type,
|
|
767
767
|
};
|
|
768
768
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
769
|
-
return (index.h(index.Host, { key: '
|
|
769
|
+
return (index.h(index.Host, { key: '8777ca08223f62b4b0183e81f7f040635a017827', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: theme.createColorClasses(color, {
|
|
770
770
|
[theme$1]: true,
|
|
771
771
|
button: true, // ion-buttons target .button
|
|
772
772
|
'menu-button-hidden': hidden,
|
|
@@ -775,7 +775,7 @@ const MenuButton = class {
|
|
|
775
775
|
'in-toolbar-color': theme.hostContext('ion-toolbar[color]', this.el),
|
|
776
776
|
'ion-activatable': true,
|
|
777
777
|
'ion-focusable': true,
|
|
778
|
-
}) }, index.h("button", Object.assign({ key: '
|
|
778
|
+
}) }, index.h("button", Object.assign({ key: '7ea9df4e44a3916c97439f273562ad513c02d848' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), index.h("span", { key: '521997eb3e28a6c89c8783125aee82e081f36db6', class: "button-inner" }, index.h("slot", { key: '8ec019529598f67ca7a7fb8f7a3eccfe3a970928' }, index.h("ion-icon", { key: '091855caa99363a61ccdad926229b18a96b03d58', part: "icon", icon: menuIcon, lazy: false, "aria-hidden": "true" }))), theme$1 === 'md' && index.h("ion-ripple-effect", { key: '9f746b38ae4d954ce0339e5c159b7c4c81d872f0', type: "unbounded" }))));
|
|
779
779
|
}
|
|
780
780
|
get el() { return index.getElement(this); }
|
|
781
781
|
};
|
|
@@ -811,10 +811,10 @@ const MenuToggle = class {
|
|
|
811
811
|
render() {
|
|
812
812
|
const theme = ionicGlobal.getIonTheme(this);
|
|
813
813
|
const hidden = this.autoHide && !this.visible;
|
|
814
|
-
return (index.h(index.Host, { key: '
|
|
814
|
+
return (index.h(index.Host, { key: 'e6cdf611b3c2ef6d39a84069582b706e9270e453', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
815
815
|
[theme]: true,
|
|
816
816
|
'menu-toggle-hidden': hidden,
|
|
817
|
-
} }, index.h("slot", { key: '
|
|
817
|
+
} }, index.h("slot", { key: 'c6a040b1b8c341ea8d0774a875266ca57fd6b8ce' })));
|
|
818
818
|
}
|
|
819
819
|
};
|
|
820
820
|
MenuToggle.style = menuToggleCss;
|
|
@@ -2354,20 +2354,20 @@ const Modal = class {
|
|
|
2354
2354
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
2355
2355
|
const shape = this.getShape();
|
|
2356
2356
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
2357
|
-
return (index$2.h(index$2.Host, Object.assign({ key: '
|
|
2357
|
+
return (index$2.h(index$2.Host, Object.assign({ key: '488610d76d4d3743e8de0602b247c6e862f7f604', "no-router": true,
|
|
2358
2358
|
// Allow the modal to be navigable when the handle is focusable
|
|
2359
2359
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
2360
2360
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
2361
|
-
}, class: Object.assign({ [theme$1]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-${shape}`]: shape !== undefined, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [overlays.FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }), index$2.h("ion-backdrop", { key: '
|
|
2361
|
+
}, class: Object.assign({ [theme$1]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-${shape}`]: shape !== undefined, [`modal-no-expand-scroll`]: isSheetModal && !expandToScroll, 'overlay-hidden': true, [overlays.FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }), index$2.h("ion-backdrop", { key: '85a8517220a84da9337032ab8988362bc221f7b7', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), theme$1 === 'ios' && index$2.h("div", { key: '7a17566ea39641cd8fdf64bd647fc3df0cf099b9', class: "modal-shadow" }), index$2.h("div", Object.assign({ key: '1b12a476428d88678a1ab2d0a3421b0ed0866c1f',
|
|
2362
2362
|
/*
|
|
2363
2363
|
role and aria-modal must be used on the
|
|
2364
2364
|
same element. They must also be set inside the
|
|
2365
2365
|
shadow DOM otherwise ion-button will not be highlighted
|
|
2366
2366
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
2367
2367
|
*/
|
|
2368
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (index$2.h("button", { key: '
|
|
2368
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (index$2.h("button", { key: '48cc88e928df87737d97a4733f6551d37b429d81', class: "modal-handle",
|
|
2369
2369
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
2370
|
-
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) })), index$2.h("slot", { key: '
|
|
2370
|
+
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) })), index$2.h("slot", { key: 'ae63a8dc8a9044a60c3d2bf046203663343e0de0', onSlotchange: this.onSlotChange }))));
|
|
2371
2371
|
}
|
|
2372
2372
|
get el() { return index$2.getElement(this); }
|
|
2373
2373
|
static get watchers() { return {
|