@ionic/core 8.7.13-dev.11765560568.1a8772e8 → 8.7.13-dev.11765829391.14bc580c
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/header.js +2 -2
- package/components/ion-datetime-button.js +2 -2
- package/components/ion-datetime.js +85 -86
- 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 +1 -1
- 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 +3 -3
- 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 +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-router-link.js +2 -2
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +1 -1
- 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 +2 -2
- 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 +2 -2
- package/components/ion-thumbnail.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/components/spinner.js +1 -1
- package/components/title.js +2 -2
- package/components/toolbar.js +2 -2
- package/dist/cjs/ion-app_8.cjs.entry.js +9 -9
- package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-col_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime_3.cjs.entry.js +89 -90
- package/dist/cjs/ion-fab_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-img.cjs.entry.js +1 -1
- 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 +3 -3
- 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 +4 -4
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
- 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 +4 -4
- 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 +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +2 -2
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/collection/components/datetime/datetime.js +85 -86
- package/dist/collection/components/datetime-button/datetime-button.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 +1 -1
- 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 +3 -3
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/reorder/reorder.js +1 -1
- 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 +1 -1
- 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 +2 -2
- 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 +1 -1
- 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 +2 -2
- package/dist/collection/components/thumbnail/thumbnail.js +1 -1
- 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 +1 -1
- package/dist/esm/ion-app_8.entry.js +9 -9
- package/dist/esm/ion-avatar_3.entry.js +1 -1
- package/dist/esm/ion-col_3.entry.js +3 -3
- package/dist/esm/ion-datetime-button.entry.js +2 -2
- package/dist/esm/ion-datetime_3.entry.js +89 -90
- package/dist/esm/ion-fab_3.entry.js +6 -6
- package/dist/esm/ion-img.entry.js +1 -1
- 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 +3 -3
- 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 +4 -4
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher_2.entry.js +2 -2
- package/dist/esm/ion-reorder_2.entry.js +2 -2
- 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 +4 -4
- 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 +2 -2
- package/dist/esm/ion-toast.entry.js +2 -2
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-cc2a9936.entry.js → p-020af078.entry.js} +1 -1
- package/dist/ionic/{p-01e27965.entry.js → p-074839fc.entry.js} +1 -1
- package/dist/ionic/{p-67f46577.entry.js → p-0abeb0fc.entry.js} +1 -1
- package/dist/ionic/{p-59a5cdf5.entry.js → p-0bf76d0f.entry.js} +1 -1
- package/dist/ionic/{p-530fcd71.entry.js → p-0dfa5a37.entry.js} +1 -1
- package/dist/ionic/{p-85ee4a92.entry.js → p-11518b31.entry.js} +1 -1
- package/dist/ionic/{p-363d1209.entry.js → p-1647c46c.entry.js} +1 -1
- package/dist/ionic/{p-6f37536a.entry.js → p-2a939845.entry.js} +1 -1
- package/dist/ionic/{p-221a3d8c.entry.js → p-316c0420.entry.js} +1 -1
- package/dist/ionic/{p-a4a9f5ae.entry.js → p-31f7095f.entry.js} +1 -1
- package/dist/ionic/{p-fbb00634.entry.js → p-370e4237.entry.js} +1 -1
- package/dist/ionic/{p-2668188b.entry.js → p-3a6caca9.entry.js} +1 -1
- package/dist/ionic/{p-64841854.entry.js → p-40c261a3.entry.js} +1 -1
- package/dist/ionic/{p-ee8ecd40.entry.js → p-46d74291.entry.js} +1 -1
- package/dist/ionic/p-4b658a7c.entry.js +4 -0
- package/dist/ionic/p-4e41ea20.entry.js +4 -0
- package/dist/ionic/p-51a60e0f.entry.js +4 -0
- package/dist/ionic/p-576e0965.entry.js +4 -0
- package/dist/ionic/{p-e036eb2f.entry.js → p-6241ce47.entry.js} +1 -1
- package/dist/ionic/{p-c175d792.entry.js → p-639dd543.entry.js} +1 -1
- package/dist/ionic/{p-d655735d.entry.js → p-6444c606.entry.js} +1 -1
- package/dist/ionic/{p-65db57d7.entry.js → p-675b1a31.entry.js} +1 -1
- package/dist/ionic/{p-82d5bb3d.entry.js → p-6d070558.entry.js} +1 -1
- package/dist/ionic/{p-e64b550c.entry.js → p-7268efa5.entry.js} +1 -1
- package/dist/ionic/{p-20f135b4.entry.js → p-72c38b88.entry.js} +1 -1
- package/dist/ionic/{p-b8551510.entry.js → p-86f53961.entry.js} +1 -1
- package/dist/ionic/p-94de5cfa.entry.js +4 -0
- package/dist/ionic/{p-e48f026f.entry.js → p-9575b654.entry.js} +1 -1
- package/dist/ionic/{p-30333874.entry.js → p-a127bee2.entry.js} +1 -1
- package/dist/ionic/{p-3b0b7a05.entry.js → p-a8ed848b.entry.js} +1 -1
- package/dist/ionic/{p-bccc9207.entry.js → p-ac4eb91d.entry.js} +1 -1
- package/dist/ionic/{p-dbc82f0e.entry.js → p-b57c6d3e.entry.js} +1 -1
- package/dist/ionic/{p-b30c3430.entry.js → p-c19f63d0.entry.js} +1 -1
- package/dist/ionic/{p-f097a9e5.entry.js → p-c85a2127.entry.js} +1 -1
- package/dist/ionic/{p-69c6fe52.entry.js → p-cc45bcbc.entry.js} +1 -1
- package/dist/ionic/{p-75ebaa15.entry.js → p-cebb0328.entry.js} +1 -1
- package/dist/ionic/{p-bce86e56.entry.js → p-d126e8d3.entry.js} +1 -1
- package/dist/ionic/{p-2bd1ea35.entry.js → p-d3014190.entry.js} +1 -1
- package/dist/ionic/{p-652318c3.entry.js → p-dbbe606a.entry.js} +1 -1
- package/dist/ionic/{p-0852af24.entry.js → p-ea509e3c.entry.js} +1 -1
- package/dist/ionic/{p-fc14f34a.entry.js → p-ec654c42.entry.js} +1 -1
- package/dist/ionic/{p-fb0271ae.entry.js → p-f8f22cc0.entry.js} +1 -1
- package/dist/types/components/datetime/datetime.d.ts +8 -9
- package/hydrate/index.js +213 -214
- package/hydrate/index.mjs +213 -214
- package/package.json +5 -5
- package/dist/ionic/p-0ca0fe9c.entry.js +0 -4
- package/dist/ionic/p-43c5249f.entry.js +0 -4
- package/dist/ionic/p-7f98e710.entry.js +0 -4
- package/dist/ionic/p-ce8dad03.entry.js +0 -4
- package/dist/ionic/p-ebcfc1d2.entry.js +0 -4
|
@@ -54,12 +54,12 @@ export class Fab {
|
|
|
54
54
|
render() {
|
|
55
55
|
const { horizontal, vertical, edge } = this;
|
|
56
56
|
const mode = getIonMode(this);
|
|
57
|
-
return (h(Host, { key: '
|
|
57
|
+
return (h(Host, { key: '8a310806d0e748d7ebb0ed3d9a2652038e0f2960', class: {
|
|
58
58
|
[mode]: true,
|
|
59
59
|
[`fab-horizontal-${horizontal}`]: horizontal !== undefined,
|
|
60
60
|
[`fab-vertical-${vertical}`]: vertical !== undefined,
|
|
61
61
|
'fab-edge': edge,
|
|
62
|
-
} }, h("slot", { key: '
|
|
62
|
+
} }, h("slot", { key: '9394ef6d6e5b0410fa6ba212171f687fb178ce2d' })));
|
|
63
63
|
}
|
|
64
64
|
static get is() { return "ion-fab"; }
|
|
65
65
|
static get encapsulation() { return "shadow"; }
|
|
@@ -82,7 +82,7 @@ export class FabButton {
|
|
|
82
82
|
rel: this.rel,
|
|
83
83
|
target: this.target,
|
|
84
84
|
};
|
|
85
|
-
return (h(Host, { key: '
|
|
85
|
+
return (h(Host, { key: '4eee204d20b0e2ffed49a88f6cb3e04b6697965c', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses(color, {
|
|
86
86
|
[mode]: true,
|
|
87
87
|
'fab-button-in-list': inList,
|
|
88
88
|
'fab-button-translucent-in-list': inList && translucent,
|
|
@@ -93,7 +93,7 @@ export class FabButton {
|
|
|
93
93
|
'ion-activatable': true,
|
|
94
94
|
'ion-focusable': true,
|
|
95
95
|
[`fab-button-${size}`]: size !== undefined,
|
|
96
|
-
}) }, h(TagType, Object.assign({ key: '
|
|
96
|
+
}) }, h(TagType, Object.assign({ key: '914561622c0c6bd41453e828a7d8a39f924875ac' }, 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: '2c8090742a64c62a79243667027a195cca9d5912', "aria-hidden": "true", icon: this.closeIcon, part: "close-icon", class: "close-icon", lazy: false }), h("span", { key: 'c3e55291e4c4d306d34a4b95dd2e727e87bdf39c', class: "button-inner" }, h("slot", { key: 'f8e57f71d8f8878d9746cfece82f57f19ef9e988' })), mode === 'md' && h("ion-ripple-effect", { key: 'a5e94fa0bb9836072300617245ed0c1b4887bac6' }))));
|
|
97
97
|
}
|
|
98
98
|
static get is() { return "ion-fab-button"; }
|
|
99
99
|
static get encapsulation() { return "shadow"; }
|
|
@@ -24,11 +24,11 @@ export class FabList {
|
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
26
|
const mode = getIonMode(this);
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: '64b33366447f66c7f979cfac56307fbb1a6fac1c', class: {
|
|
28
28
|
[mode]: true,
|
|
29
29
|
'fab-list-active': this.activated,
|
|
30
30
|
[`fab-list-side-${this.side}`]: true,
|
|
31
|
-
} }, h("slot", { key: '
|
|
31
|
+
} }, h("slot", { key: 'd9f474f7f20fd7e813db358fddc720534ca05bb6' })));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "ion-fab-list"; }
|
|
34
34
|
static get encapsulation() { return "shadow"; }
|
|
@@ -87,7 +87,7 @@ export class Footer {
|
|
|
87
87
|
const mode = getIonMode(this);
|
|
88
88
|
const tabs = this.el.closest('ion-tabs');
|
|
89
89
|
const tabBar = tabs === null || tabs === void 0 ? void 0 : tabs.querySelector(':scope > ion-tab-bar');
|
|
90
|
-
return (h(Host, { key: '
|
|
90
|
+
return (h(Host, { key: 'ddc228f1a1e7fa4f707dccf74db2490ca3241137', role: "contentinfo", class: {
|
|
91
91
|
[mode]: true,
|
|
92
92
|
// Used internally for styling
|
|
93
93
|
[`footer-${mode}`]: true,
|
|
@@ -95,7 +95,7 @@ export class Footer {
|
|
|
95
95
|
[`footer-translucent-${mode}`]: translucent,
|
|
96
96
|
['footer-toolbar-padding']: !this.keyboardVisible && (!tabBar || tabBar.slot !== 'bottom'),
|
|
97
97
|
[`footer-collapse-${collapse}`]: collapse !== undefined,
|
|
98
|
-
} }, mode === 'ios' && translucent && h("div", { key: '
|
|
98
|
+
} }, mode === 'ios' && translucent && h("div", { key: 'e16ed4963ff94e06de77eb8038201820af73937c', class: "footer-background" }), h("slot", { key: 'f186934febf85d37133d9351a96c1a64b0a4b203' })));
|
|
99
99
|
}
|
|
100
100
|
static get is() { return "ion-footer"; }
|
|
101
101
|
static get originalStyleUrls() {
|
|
@@ -12,10 +12,10 @@ export class Grid {
|
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
14
|
const mode = getIonMode(this);
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: '617127ecfabf9bf615bef1dda1be3fed5a065949', class: {
|
|
16
16
|
[mode]: true,
|
|
17
17
|
'grid-fixed': this.fixed,
|
|
18
|
-
} }, h("slot", { key: '
|
|
18
|
+
} }, h("slot", { key: 'c781fff853b093d8f44bdb7943bbc4f17c903803' })));
|
|
19
19
|
}
|
|
20
20
|
static get is() { return "ion-grid"; }
|
|
21
21
|
static get encapsulation() { return "shadow"; }
|
|
@@ -148,14 +148,14 @@ export class Header {
|
|
|
148
148
|
const isCondensed = collapse === 'condense';
|
|
149
149
|
// banner role must be at top level, so remove role if inside a menu
|
|
150
150
|
const roleType = getRoleType(hostContext('ion-menu', this.el), isCondensed, mode);
|
|
151
|
-
return (h(Host, Object.assign({ key: '
|
|
151
|
+
return (h(Host, Object.assign({ key: '863c4568cd7b8c0ec55109f193bbbaed68a1346e', role: roleType, class: {
|
|
152
152
|
[mode]: true,
|
|
153
153
|
// Used internally for styling
|
|
154
154
|
[`header-${mode}`]: true,
|
|
155
155
|
[`header-translucent`]: this.translucent,
|
|
156
156
|
[`header-collapse-${collapse}`]: true,
|
|
157
157
|
[`header-translucent-${mode}`]: this.translucent,
|
|
158
|
-
} }, inheritedAttributes), mode === 'ios' && translucent && h("div", { key: '
|
|
158
|
+
} }, inheritedAttributes), mode === 'ios' && translucent && h("div", { key: '25c3bdce328b0b35607d154c8b8374679313d881', class: "header-background" }), h("slot", { key: 'b44fab0a9be7920b9650da26117c783e751e1702' })));
|
|
159
159
|
}
|
|
160
160
|
static get is() { return "ion-header"; }
|
|
161
161
|
static get originalStyleUrls() {
|
|
@@ -67,7 +67,7 @@ export class Img {
|
|
|
67
67
|
render() {
|
|
68
68
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
69
69
|
const { draggable } = inheritedAttributes;
|
|
70
|
-
return (h(Host, { key: '
|
|
70
|
+
return (h(Host, { key: 'da600442894427dee1974a28e545613afac69fca', class: getIonMode(this) }, h("img", { key: '16df0c7069af86c0fa7ce5af598bc0f63b4eb71a', decoding: "async", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: "image", draggable: isDraggable(draggable) })));
|
|
71
71
|
}
|
|
72
72
|
static get is() { return "ion-img"; }
|
|
73
73
|
static get encapsulation() { return "shadow"; }
|
|
@@ -189,7 +189,7 @@ export class InfiniteScroll {
|
|
|
189
189
|
render() {
|
|
190
190
|
const mode = getIonMode(this);
|
|
191
191
|
const disabled = this.disabled;
|
|
192
|
-
return (h(Host, { key: '
|
|
192
|
+
return (h(Host, { key: 'e844956795f69be33396ce4480aa7a54ad01b28c', class: {
|
|
193
193
|
[mode]: true,
|
|
194
194
|
'infinite-scroll-loading': this.isLoading,
|
|
195
195
|
'infinite-scroll-enabled': !disabled,
|
|
@@ -25,11 +25,11 @@ export class InfiniteScrollContent {
|
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
27
|
const mode = getIonMode(this);
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: '7c16060dcfe2a0b0fb3e2f8f4c449589a76f1baa', class: {
|
|
29
29
|
[mode]: true,
|
|
30
30
|
// Used internally for styling
|
|
31
31
|
[`infinite-scroll-content-${mode}`]: true,
|
|
32
|
-
} }, h("div", { key: '
|
|
32
|
+
} }, h("div", { key: 'a94f4d8746e053dc718f97520bd7e48cb316443a', class: "infinite-loading" }, this.loadingSpinner && (h("div", { key: '10143d5d2a50a2a2bc5de1cee8e7ab51263bcf23', class: "infinite-loading-spinner" }, h("ion-spinner", { key: '8846e88191690d9c61a0b462889ed56fbfed8b0d', name: this.loadingSpinner }))), this.loadingText !== undefined && this.renderLoadingText())));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "ion-infinite-scroll-content"; }
|
|
35
35
|
static get originalStyleUrls() {
|
|
@@ -511,7 +511,7 @@ export class Input {
|
|
|
511
511
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
512
512
|
*/
|
|
513
513
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
514
|
-
return (h(Host, { key: '
|
|
514
|
+
return (h(Host, { key: '97b5308021064d9e7434ef2d3d96f27045c1b0c4', class: createColorClasses(this.color, {
|
|
515
515
|
[mode]: true,
|
|
516
516
|
'has-value': hasValue,
|
|
517
517
|
'has-focus': hasFocus,
|
|
@@ -522,14 +522,14 @@ export class Input {
|
|
|
522
522
|
'in-item': inItem,
|
|
523
523
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
524
524
|
'input-disabled': disabled,
|
|
525
|
-
}) }, h("label", { key: '
|
|
525
|
+
}) }, h("label", { key: '353f68726ce180299bd9adc81e5ff7d26a48f54f', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), h("div", { key: '2034b4bad04fc157f3298a1805819216b6f439d0', class: "native-wrapper", onClick: this.onLabelClick }, h("slot", { key: '96bb5e30176b2bd76dfb75bfbf6c1c3d4403f4bb', name: "start" }), h("input", Object.assign({ key: '1a1d75b0e414a95c89d5a760757c33548d234aca', 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)), this.clearInput && !readonly && !disabled && (h("button", { key: '95f3df17b7691d9a2e7dcd4a51f16a94aa3ca36f', "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (ev) => {
|
|
526
526
|
/**
|
|
527
527
|
* This prevents mobile browsers from
|
|
528
528
|
* blurring the input when the clear
|
|
529
529
|
* button is activated.
|
|
530
530
|
*/
|
|
531
531
|
ev.preventDefault();
|
|
532
|
-
}, onClick: this.clearTextInput }, h("ion-icon", { key: '
|
|
532
|
+
}, onClick: this.clearTextInput }, h("ion-icon", { key: '16b0af75eed50c8115fb5597f73b5fbf71c2530e', "aria-hidden": "true", icon: clearIconData }))), h("slot", { key: 'c48da0f8ddb3764ac43efa705bb4a6bb2d9cc2fd', name: "end" })), shouldRenderHighlight && h("div", { key: 'f15238481fc20de56ca7ecb6e350b3c024cc755e', class: "input-highlight" })), this.renderBottomContent()));
|
|
533
533
|
}
|
|
534
534
|
static get is() { return "ion-input"; }
|
|
535
535
|
static get encapsulation() { return "scoped"; }
|
|
@@ -605,7 +605,7 @@ export class InputOTP {
|
|
|
605
605
|
const tabbableIndex = this.getTabbableIndex();
|
|
606
606
|
const pattern = this.getPattern();
|
|
607
607
|
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()) !== '';
|
|
608
|
-
return (h(Host, { key: '
|
|
608
|
+
return (h(Host, { key: 'f15a29fb17b681ef55885ca36d3d5f899cbaca83', class: createColorClasses(color, {
|
|
609
609
|
[mode]: true,
|
|
610
610
|
'has-focus': hasFocus,
|
|
611
611
|
[`input-otp-size-${size}`]: true,
|
|
@@ -613,10 +613,10 @@ export class InputOTP {
|
|
|
613
613
|
[`input-otp-fill-${fill}`]: true,
|
|
614
614
|
'input-otp-disabled': disabled,
|
|
615
615
|
'input-otp-readonly': readonly,
|
|
616
|
-
}) }, h("div", Object.assign({ key: '
|
|
616
|
+
}) }, h("div", Object.assign({ key: 'd7e1d4edd8aafcf2ed4313301287282e90fc7e82', 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: '3724a3159d02860971879a906092f9965f5a7c47', class: {
|
|
617
617
|
'input-otp-description': true,
|
|
618
618
|
'input-otp-description-hidden': !hasDescription,
|
|
619
|
-
} }, h("slot", { key: '
|
|
619
|
+
} }, h("slot", { key: '11baa2624926a08274508afe0833d9237a8dc35c' }))));
|
|
620
620
|
}
|
|
621
621
|
static get is() { return "ion-input-otp"; }
|
|
622
622
|
static get encapsulation() { return "scoped"; }
|
|
@@ -60,16 +60,16 @@ export class InputPasswordToggle {
|
|
|
60
60
|
const showPasswordIcon = (_a = this.showIcon) !== null && _a !== void 0 ? _a : eye;
|
|
61
61
|
const hidePasswordIcon = (_b = this.hideIcon) !== null && _b !== void 0 ? _b : eyeOff;
|
|
62
62
|
const isPasswordVisible = type === 'text';
|
|
63
|
-
return (h(Host, { key: '
|
|
63
|
+
return (h(Host, { key: '91bc55664d496fe457518bd112865dd7811d0c17', class: createColorClasses(color, {
|
|
64
64
|
[mode]: true,
|
|
65
|
-
}) }, h("ion-button", { key: '
|
|
65
|
+
}) }, h("ion-button", { key: 'f3e436422110c9cb4d5c0b83500255b24ab4cdef', 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) => {
|
|
66
66
|
/**
|
|
67
67
|
* This prevents mobile browsers from
|
|
68
68
|
* blurring the input when the password toggle
|
|
69
69
|
* button is activated.
|
|
70
70
|
*/
|
|
71
71
|
ev.preventDefault();
|
|
72
|
-
}, onClick: this.togglePasswordVisibility }, h("ion-icon", { key: '
|
|
72
|
+
}, onClick: this.togglePasswordVisibility }, h("ion-icon", { key: '5c8b121153f148f92aa7cba0447673a4f6f3ad1e', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? hidePasswordIcon : showPasswordIcon }))));
|
|
73
73
|
}
|
|
74
74
|
static get is() { return "ion-input-password-toggle"; }
|
|
75
75
|
static get encapsulation() { return "shadow"; }
|
|
@@ -24,11 +24,11 @@ export class ItemDivider {
|
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
26
|
const mode = getIonMode(this);
|
|
27
|
-
return (h(Host, { key: '
|
|
27
|
+
return (h(Host, { key: '1523095ce4af3f2611512ff0948ead659959ee4a', class: createColorClasses(this.color, {
|
|
28
28
|
[mode]: true,
|
|
29
29
|
'item-divider-sticky': this.sticky,
|
|
30
30
|
item: true,
|
|
31
|
-
}) }, h("slot", { key: '
|
|
31
|
+
}) }, h("slot", { key: '39105d888e115416c3a3fe588da44b4c61f4e5fe', name: "start" }), h("div", { key: '67e16f1056bd39187f3629c1bb383b7abbda829b', class: "item-divider-inner" }, h("div", { key: 'b3a218fdcc7b9aeab6e0155340152d39fa0b6329', class: "item-divider-wrapper" }, h("slot", { key: '69d8587533b387869d34b075d02f61396858fc90' })), h("slot", { key: 'b91c654699b3b26d0012ea0c719c4a07d1fcfbaa', name: "end" }))));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "ion-item-divider"; }
|
|
34
34
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6,7 +6,7 @@ import { getIonMode } from "../../global/ionic-global";
|
|
|
6
6
|
export class ItemGroup {
|
|
7
7
|
render() {
|
|
8
8
|
const mode = getIonMode(this);
|
|
9
|
-
return (h(Host, { key: '
|
|
9
|
+
return (h(Host, { key: 'e49dc8f99247d2431d7c6db01b6e021a0f5b1c37', role: "group", class: {
|
|
10
10
|
[mode]: true,
|
|
11
11
|
// Used internally for styling
|
|
12
12
|
[`item-group-${mode}`]: true,
|
|
@@ -48,12 +48,12 @@ export class ItemOption {
|
|
|
48
48
|
href: this.href,
|
|
49
49
|
target: this.target,
|
|
50
50
|
};
|
|
51
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: '189a0040b97163b2336bf216baa71d584c5923a8', onClick: this.onClick, class: createColorClasses(this.color, {
|
|
52
52
|
[mode]: true,
|
|
53
53
|
'item-option-disabled': disabled,
|
|
54
54
|
'item-option-expandable': expandable,
|
|
55
55
|
'ion-activatable': true,
|
|
56
|
-
}) }, h(TagType, Object.assign({ key: '
|
|
56
|
+
}) }, h(TagType, Object.assign({ key: '5a7140eb99da5ec82fe2ea3ea134513130763399' }, attrs, { class: "button-native", part: "native", disabled: disabled }), h("span", { key: '9b8577e612706b43e575c9a20f2f9d35c0d1bcb1', class: "button-inner" }, h("slot", { key: '9acb82f04e4822bfaa363cc2c4d29d5c0fec0ad6', name: "top" }), h("div", { key: '66f5fb4fdd0c39f205574c602c793dcf109c7a17', class: "horizontal-wrapper" }, h("slot", { key: '3761a32bca7c6c41b7eb394045497cfde181a62a', name: "start" }), h("slot", { key: 'a96a568955cf6962883dc6771726d3d07462da00', name: "icon-only" }), h("slot", { key: 'af5dfe5eb41456b9359bafe3615b576617ed7b57' }), h("slot", { key: '00426958066ab7b949ff966fabad5cf8a0b54079', name: "end" })), h("slot", { key: 'ae66c8bd536a9f27865f49240980d7b4b831b229', name: "bottom" })), mode === 'md' && h("ion-ripple-effect", { key: '30df6c935ef8a3f28a6bc1f3bb162ca4f80aaf26' }))));
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "ion-item-option"; }
|
|
59
59
|
static get encapsulation() { return "shadow"; }
|
|
@@ -21,7 +21,7 @@ export class ItemOptions {
|
|
|
21
21
|
render() {
|
|
22
22
|
const mode = getIonMode(this);
|
|
23
23
|
const isEnd = isEndSide(this.side);
|
|
24
|
-
return (h(Host, { key: '
|
|
24
|
+
return (h(Host, { key: '05a22a505e043c2715e3805e5e26ab4668940af0', class: {
|
|
25
25
|
[mode]: true,
|
|
26
26
|
// Used internally for styling
|
|
27
27
|
[`item-options-${mode}`]: true,
|
|
@@ -391,7 +391,7 @@ export class ItemSliding {
|
|
|
391
391
|
}
|
|
392
392
|
render() {
|
|
393
393
|
const mode = getIonMode(this);
|
|
394
|
-
return (h(Host, { key: '
|
|
394
|
+
return (h(Host, { key: 'd812322c9fb5da4ee16e99dc38bfb24cb4590d03', class: {
|
|
395
395
|
[mode]: true,
|
|
396
396
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
397
397
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -53,13 +53,13 @@ export class Label {
|
|
|
53
53
|
render() {
|
|
54
54
|
const position = this.position;
|
|
55
55
|
const mode = getIonMode(this);
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: 'd6fba1a97189acc8ddfd64a2f009954a3e46e188', class: createColorClasses(this.color, {
|
|
57
57
|
[mode]: true,
|
|
58
58
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
59
59
|
[`label-${position}`]: position !== undefined,
|
|
60
60
|
[`label-no-animate`]: this.noAnimate,
|
|
61
61
|
'label-rtl': document.dir === 'rtl',
|
|
62
|
-
}) }, h("slot", { key: '
|
|
62
|
+
}) }, h("slot", { key: 'ce0ab50b5700398fdf50f36d02b7ad287eb71481' })));
|
|
63
63
|
}
|
|
64
64
|
static get is() { return "ion-label"; }
|
|
65
65
|
static get encapsulation() { return "scoped"; }
|
|
@@ -29,7 +29,7 @@ export class List {
|
|
|
29
29
|
render() {
|
|
30
30
|
const mode = getIonMode(this);
|
|
31
31
|
const { lines, inset } = this;
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: '7f9943751542d2cbd49a4ad3f28e16d9949f70d4', role: "list", class: {
|
|
33
33
|
[mode]: true,
|
|
34
34
|
// Used internally for styling
|
|
35
35
|
[`list-${mode}`]: true,
|
|
@@ -11,10 +11,10 @@ export class ListHeader {
|
|
|
11
11
|
render() {
|
|
12
12
|
const { lines } = this;
|
|
13
13
|
const mode = getIonMode(this);
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: 'd9bc827ad8cc77231efddc2435831a7fc080f77d', class: createColorClasses(this.color, {
|
|
15
15
|
[mode]: true,
|
|
16
16
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
17
|
-
}) }, h("div", { key: '
|
|
17
|
+
}) }, h("div", { key: '02dd9698304a7b2997ea1487e2f308bebea2b44c', class: "list-header-inner" }, h("slot", { key: '01d63a572c003286ae467a1ab23631e37e695042' }))));
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "ion-list-header"; }
|
|
20
20
|
static get encapsulation() { return "shadow"; }
|
|
@@ -179,9 +179,9 @@ export class Loading {
|
|
|
179
179
|
* Otherwise, don't set aria-labelledby.
|
|
180
180
|
*/
|
|
181
181
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
182
|
-
return (h(Host, Object.assign({ key: '
|
|
182
|
+
return (h(Host, Object.assign({ key: '4497183ce220242abe19ae15f328f9a92ccafbbc', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
183
183
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
184
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h("ion-backdrop", { key: '
|
|
184
|
+
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), h("ion-backdrop", { key: '231dec84e424a2dc358ce95b84d6035cf43e4dea', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: 'c9af29b6e6bb49a217396a5c874bbfb8835a926c', tabindex: "0", "aria-hidden": "true" }), h("div", { key: 'a8659863743cdeccbe1ba810eaabfd3ebfcb86f3', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (h("div", { key: '3b346f39bc71691bd8686556a1e142198a7b12fa', class: "loading-spinner" }, h("ion-spinner", { key: '8dc2bf1556e5138e262827f1516c59ecd09f3520', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), h("div", { key: '054164c0dbae9a0e0973dd3c8e28f5b771820310', tabindex: "0", "aria-hidden": "true" })));
|
|
185
185
|
}
|
|
186
186
|
static get is() { return "ion-loading"; }
|
|
187
187
|
static get encapsulation() { return "scoped"; }
|
|
@@ -658,14 +658,14 @@ export class Menu {
|
|
|
658
658
|
* the ionBackButton listener in the menu controller
|
|
659
659
|
* will handle closing the menu when Escape is pressed.
|
|
660
660
|
*/
|
|
661
|
-
return (h(Host, { key: '
|
|
661
|
+
return (h(Host, { key: '70a427f3414a476414c3386efe6c8723fd37eccf', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
662
662
|
[mode]: true,
|
|
663
663
|
[`menu-type-${type}`]: true,
|
|
664
664
|
'menu-enabled': !disabled,
|
|
665
665
|
[`menu-side-${side}`]: true,
|
|
666
666
|
'menu-pane-visible': isPaneVisible,
|
|
667
667
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
668
|
-
} }, h("div", { key: '
|
|
668
|
+
} }, h("div", { key: '83af04e5a47d5a92caafaf06088a7114ae61984b', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, h("slot", { key: '7b35048642864bd0f30de9f6b61c949c1b601692' })), h("ion-backdrop", { key: '347af516c7970d80dd11c6d1ed61e9a040ceb5fb', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
669
669
|
}
|
|
670
670
|
static get is() { return "ion-menu"; }
|
|
671
671
|
static get encapsulation() { return "shadow"; }
|
|
@@ -53,7 +53,7 @@ export class MenuButton {
|
|
|
53
53
|
type: this.type,
|
|
54
54
|
};
|
|
55
55
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: '9f0f0e50d39a6872508220c58e64bb2092a0d7ef', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses(color, {
|
|
57
57
|
[mode]: true,
|
|
58
58
|
button: true, // ion-buttons target .button
|
|
59
59
|
'menu-button-hidden': hidden,
|
|
@@ -62,7 +62,7 @@ export class MenuButton {
|
|
|
62
62
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
63
63
|
'ion-activatable': true,
|
|
64
64
|
'ion-focusable': true,
|
|
65
|
-
}) }, h("button", Object.assign({ key: '
|
|
65
|
+
}) }, h("button", Object.assign({ key: 'ffebf7083d23501839970059ef8e411b571de197' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), h("span", { key: 'cab0c1c763b3ce33ef11dba1d230f66126e59424', class: "button-inner" }, h("slot", { key: 'ccfd2be8479b75b5c63e97e1ca7dfe203e9b36ee' }, h("ion-icon", { key: 'ac254fe7f327b08f1ae3fcea89d5cf0e83c9a96c', part: "icon", icon: menuIcon, mode: mode, lazy: false, "aria-hidden": "true" }))), mode === 'md' && h("ion-ripple-effect", { key: 'f0f17c4ca96e3eed3c1727ee00578d40af8f0115', type: "unbounded" }))));
|
|
66
66
|
}
|
|
67
67
|
static get is() { return "ion-menu-button"; }
|
|
68
68
|
static get encapsulation() { return "shadow"; }
|
|
@@ -31,10 +31,10 @@ export class MenuToggle {
|
|
|
31
31
|
render() {
|
|
32
32
|
const mode = getIonMode(this);
|
|
33
33
|
const hidden = this.autoHide && !this.visible;
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: 'cd567114769a30bd3871ed5d15bf42aed39956e1', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
35
35
|
[mode]: true,
|
|
36
36
|
'menu-toggle-hidden': hidden,
|
|
37
|
-
} }, h("slot", { key: '
|
|
37
|
+
} }, h("slot", { key: '773d4cff95ca75f23578b1e1dca53c9933f28a33' })));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "ion-menu-toggle"; }
|
|
40
40
|
static get encapsulation() { return "shadow"; }
|
|
@@ -970,20 +970,20 @@ export class Modal {
|
|
|
970
970
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
971
971
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
972
972
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
973
|
-
return (h(Host, Object.assign({ key: '
|
|
973
|
+
return (h(Host, Object.assign({ key: '9a75095a13de0cfc96f1fa69fd92777d25da8daa', "no-router": true,
|
|
974
974
|
// Allow the modal to be navigable when the handle is focusable
|
|
975
975
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
976
976
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
977
|
-
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`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: '
|
|
977
|
+
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`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: 'd02612d8063ef20f59f173ff47795f71cdaaf63e', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && h("div", { key: '708761b70a93e34c08faae079569f444c7416a4c', class: "modal-shadow" }), h("div", Object.assign({ key: 'a72226ff1a98229f9bfd9207b98fc57e02baa430',
|
|
978
978
|
/*
|
|
979
979
|
role and aria-modal must be used on the
|
|
980
980
|
same element. They must also be set inside the
|
|
981
981
|
shadow DOM otherwise ion-button will not be highlighted
|
|
982
982
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
983
983
|
*/
|
|
984
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '
|
|
984
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (h("button", { key: '0547f32323882660221385d84d492929caa77c6b', class: "modal-handle",
|
|
985
985
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
986
|
-
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: '
|
|
986
|
+
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: 'fccbd64518b6fa22f9e874deb6b4ba55d8d89c3b', onSlotchange: this.onSlotChange }))));
|
|
987
987
|
}
|
|
988
988
|
static get is() { return "ion-modal"; }
|
|
989
989
|
static get encapsulation() { return "shadow"; }
|
|
@@ -828,7 +828,7 @@ export class Nav {
|
|
|
828
828
|
}
|
|
829
829
|
}
|
|
830
830
|
render() {
|
|
831
|
-
return h("slot", { key: '
|
|
831
|
+
return h("slot", { key: '8067c9835d255daec61f33dba200fd3a6ff839a0' });
|
|
832
832
|
}
|
|
833
833
|
static get is() { return "ion-nav"; }
|
|
834
834
|
static get encapsulation() { return "shadow"; }
|
|
@@ -14,7 +14,7 @@ export class NavLink {
|
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return h(Host, { key: '
|
|
17
|
+
return h(Host, { key: '6dbb1ad4f351e9215375aac11ab9b53762e07a08', onClick: this.onClick });
|
|
18
18
|
}
|
|
19
19
|
static get is() { return "ion-nav-link"; }
|
|
20
20
|
static get properties() {
|
|
@@ -10,9 +10,9 @@ import { getIonMode } from "../../global/ionic-global";
|
|
|
10
10
|
export class Note {
|
|
11
11
|
render() {
|
|
12
12
|
const mode = getIonMode(this);
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '0ec2ef7367d867fd7588611953f696eecdf3221e', class: createColorClasses(this.color, {
|
|
14
14
|
[mode]: true,
|
|
15
|
-
}) }, h("slot", { key: '
|
|
15
|
+
}) }, h("slot", { key: 'a200b94ddffb29cf6dabe6e984220930ea7efdef' })));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "ion-note"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|
|
@@ -451,7 +451,7 @@ export class Picker {
|
|
|
451
451
|
this.emitInputModeChange();
|
|
452
452
|
}
|
|
453
453
|
render() {
|
|
454
|
-
return (h(Host, { key: '
|
|
454
|
+
return (h(Host, { key: '28f81e4ed44a633178561757c5199c2c98f94b74', onPointerDown: (ev) => this.onPointerDown(ev), onClick: () => this.onClick() }, h("input", { key: 'abb3d1ad25ef63856af7804111175a4d50008bc0', "aria-hidden": "true", tabindex: -1, inputmode: "numeric", type: "number", onKeyDown: (ev) => {
|
|
455
455
|
var _a;
|
|
456
456
|
/**
|
|
457
457
|
* The "Enter" key represents
|
|
@@ -466,7 +466,7 @@ export class Picker {
|
|
|
466
466
|
if (ev.key === 'Enter') {
|
|
467
467
|
(_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.blur();
|
|
468
468
|
}
|
|
469
|
-
}, ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), h("div", { key: '
|
|
469
|
+
}, ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), h("div", { key: '334a5abdc02e6b127c57177f626d7e4ff5526183', class: "picker-before" }), h("div", { key: 'ffd6271931129e88fc7c820e919d684899e420c5', class: "picker-after" }), h("div", { key: '78d1d95fd09e04f154ea59f24a1cece72c47ed7b', class: "picker-highlight", ref: (el) => (this.highlightEl = el) }), h("slot", { key: '0bd5b9f875d3c71f6cbbde2054baeb1b0a2e8cd5' })));
|
|
470
470
|
}
|
|
471
471
|
static get is() { return "ion-picker"; }
|
|
472
472
|
static get encapsulation() { return "shadow"; }
|
|
@@ -551,14 +551,14 @@ export class PickerColumn {
|
|
|
551
551
|
render() {
|
|
552
552
|
const { color, disabled, isActive, numericInput } = this;
|
|
553
553
|
const mode = getIonMode(this);
|
|
554
|
-
return (h(Host, { key: '
|
|
554
|
+
return (h(Host, { key: 'db903fd415f8a2d91994dececca481c1af8ba6a9', class: createColorClasses(color, {
|
|
555
555
|
[mode]: true,
|
|
556
556
|
['picker-column-active']: isActive,
|
|
557
557
|
['picker-column-numeric-input']: numericInput,
|
|
558
558
|
['picker-column-disabled']: disabled,
|
|
559
|
-
}) }, h("slot", { key: '
|
|
559
|
+
}) }, h("slot", { key: '02ce9e1dd7df91afcd50b06416552bcffb5dec98', name: "prefix" }), h("div", { key: '6dfd7d2429bec19244a6b1afb4448121963a031b', class: "picker-opts", ref: (el) => {
|
|
560
560
|
this.scrollEl = el;
|
|
561
|
-
}, 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: '
|
|
561
|
+
}, 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: 'e30ce0b9cefbfe4d4441fa33acf595da31855c3f', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '8be2bd293c12c6ba720d9b31d0d561a96f42e97d', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '8afdcddddabbf646fbb55cb0ba4448309a2c1dd9', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("slot", { key: '6aa0dacc34d6848575ad5b122b9046982308ca43' }), h("div", { key: '92ec8a357414c1b779b11d1dd18fb87a7ee63982', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: 'b89457cb74b5907c25594ff6720ac54ca537e933', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), h("div", { key: '5bbc92e6bc24de08e39873bf08c5b668373ac0f8', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0")), h("slot", { key: 'd7bf2b519214f0f3576a4ca79844ad97827dd97f', name: "suffix" })));
|
|
562
562
|
}
|
|
563
563
|
static get is() { return "ion-picker-column"; }
|
|
564
564
|
static get encapsulation() { return "shadow"; }
|
|
@@ -91,10 +91,10 @@ export class PickerColumnOption {
|
|
|
91
91
|
render() {
|
|
92
92
|
const { color, disabled, ariaLabel } = this;
|
|
93
93
|
const mode = getIonMode(this);
|
|
94
|
-
return (h(Host, { key: '
|
|
94
|
+
return (h(Host, { key: 'f816729941aabcb31ddfdce3ffe2e2139030d715', class: createColorClasses(color, {
|
|
95
95
|
[mode]: true,
|
|
96
96
|
['option-disabled']: disabled,
|
|
97
|
-
}) }, h("div", { key: '
|
|
97
|
+
}) }, h("div", { key: 'd942de84fd14d7dc06b1e5cf4f7920d1dc3c6371', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, h("slot", { key: 'b0df5717b42209e649097209a01476e1a66f5c5c' }))));
|
|
98
98
|
}
|
|
99
99
|
static get is() { return "ion-picker-column-option"; }
|
|
100
100
|
static get encapsulation() { return "shadow"; }
|
|
@@ -207,11 +207,11 @@ export class Picker {
|
|
|
207
207
|
render() {
|
|
208
208
|
const { htmlAttributes } = this;
|
|
209
209
|
const mode = getIonMode(this);
|
|
210
|
-
return (h(Host, Object.assign({ key: '
|
|
210
|
+
return (h(Host, Object.assign({ key: 'b95440747eb80cba23ae676d399d5e5816722c58', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
211
211
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
212
212
|
}, class: Object.assign({ [mode]: true,
|
|
213
213
|
// Used internally for styling
|
|
214
|
-
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: '
|
|
214
|
+
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), h("ion-backdrop", { key: '169d1c83ef40e7fcb134219a585298b403a70b0f', visible: this.showBackdrop, tappable: this.backdropDismiss }), h("div", { key: '98518e5f5cea2dfb8dfa63d9545e9ae3a5765023', tabindex: "0", "aria-hidden": "true" }), h("div", { key: '151755ab8eb23f9adafbfe201349398f5a69dee7', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, h("div", { key: '5dcf93b2f4fe8f4fce7c7aec8f85ef45a03ef470', class: "picker-toolbar" }, this.buttons.map((b) => (h("div", { class: buttonWrapperClass(b) }, h("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass(b) }, b.text))))), h("div", { key: 'fd5d66708edd38adc5a4d2fad7298969398a05e3', class: "picker-columns" }, h("div", { key: '1b5830fd6cef1016af7736792c514965d6cb38a8', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => h("ion-picker-legacy-column", { col: c })), h("div", { key: 'c6edeca7afd69e13c9c66ba36f261974fd0f8f78', class: "picker-below-highlight" }))), h("div", { key: 'e2a4b24710e30579b14b82dbfd3761b2187797b5', tabindex: "0", "aria-hidden": "true" })));
|
|
215
215
|
}
|
|
216
216
|
static get is() { return "ion-picker-legacy"; }
|
|
217
217
|
static get encapsulation() { return "scoped"; }
|
|
@@ -335,9 +335,9 @@ export class PickerColumnCmp {
|
|
|
335
335
|
render() {
|
|
336
336
|
const col = this.col;
|
|
337
337
|
const mode = getIonMode(this);
|
|
338
|
-
return (h(Host, { key: '
|
|
338
|
+
return (h(Host, { key: 'ed32d108dd94f0302fb453c31a3497ebae65ec37', class: Object.assign({ [mode]: true, 'picker-col': true, 'picker-opts-left': this.col.align === 'left', 'picker-opts-right': this.col.align === 'right' }, getClassMap(col.cssClass)), style: {
|
|
339
339
|
'max-width': this.col.columnWidth,
|
|
340
|
-
} }, col.prefix && (h("div", { key: '
|
|
340
|
+
} }, col.prefix && (h("div", { key: '9f0634890e66fd4ae74f826d1eea3431de121393', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), h("div", { key: '337e996e5be91af16446085fe22436f213b771eb', class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: (el) => (this.optsEl = el) }, col.options.map((o, index) => (h("button", { "aria-label": o.ariaLabel, class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index }, o.text)))), col.suffix && (h("div", { key: 'd69a132599d78d9e5107f12228978cfce4e43098', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
341
341
|
}
|
|
342
342
|
static get is() { return "ion-picker-legacy-column"; }
|
|
343
343
|
static get originalStyleUrls() {
|