@ionic/core 8.7.13-dev.11765486444.14025098 → 8.7.13-dev.11765552290.11441928
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 +59 -83
- 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 +63 -87
- 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 +59 -83
- 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 +63 -87
- 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-074839fc.entry.js → p-01e27965.entry.js} +1 -1
- package/dist/ionic/{p-ea509e3c.entry.js → p-0852af24.entry.js} +1 -1
- package/dist/ionic/p-0ca0fe9c.entry.js +4 -0
- package/dist/ionic/{p-72c38b88.entry.js → p-20f135b4.entry.js} +1 -1
- package/dist/ionic/{p-316c0420.entry.js → p-221a3d8c.entry.js} +1 -1
- package/dist/ionic/{p-3a6caca9.entry.js → p-2668188b.entry.js} +1 -1
- package/dist/ionic/{p-d3014190.entry.js → p-2bd1ea35.entry.js} +1 -1
- package/dist/ionic/p-2ccaee5c.entry.js +4 -0
- package/dist/ionic/{p-a127bee2.entry.js → p-30333874.entry.js} +1 -1
- package/dist/ionic/{p-1647c46c.entry.js → p-363d1209.entry.js} +1 -1
- package/dist/ionic/{p-a8ed848b.entry.js → p-3b0b7a05.entry.js} +1 -1
- package/dist/ionic/p-43c5249f.entry.js +4 -0
- package/dist/ionic/{p-0dfa5a37.entry.js → p-530fcd71.entry.js} +1 -1
- package/dist/ionic/{p-0bf76d0f.entry.js → p-59a5cdf5.entry.js} +1 -1
- package/dist/ionic/{p-40c261a3.entry.js → p-64841854.entry.js} +1 -1
- package/dist/ionic/{p-dbbe606a.entry.js → p-652318c3.entry.js} +1 -1
- package/dist/ionic/{p-675b1a31.entry.js → p-65db57d7.entry.js} +1 -1
- package/dist/ionic/{p-0abeb0fc.entry.js → p-67f46577.entry.js} +1 -1
- package/dist/ionic/{p-cc45bcbc.entry.js → p-69c6fe52.entry.js} +1 -1
- package/dist/ionic/{p-2a939845.entry.js → p-6f37536a.entry.js} +1 -1
- package/dist/ionic/{p-cebb0328.entry.js → p-75ebaa15.entry.js} +1 -1
- package/dist/ionic/p-7f98e710.entry.js +4 -0
- package/dist/ionic/{p-6d070558.entry.js → p-82d5bb3d.entry.js} +1 -1
- package/dist/ionic/{p-11518b31.entry.js → p-85ee4a92.entry.js} +1 -1
- package/dist/ionic/{p-31f7095f.entry.js → p-a4a9f5ae.entry.js} +1 -1
- package/dist/ionic/{p-c19f63d0.entry.js → p-b30c3430.entry.js} +1 -1
- package/dist/ionic/{p-86f53961.entry.js → p-b8551510.entry.js} +1 -1
- package/dist/ionic/{p-ac4eb91d.entry.js → p-bccc9207.entry.js} +1 -1
- package/dist/ionic/{p-d126e8d3.entry.js → p-bce86e56.entry.js} +1 -1
- package/dist/ionic/{p-639dd543.entry.js → p-c175d792.entry.js} +1 -1
- package/dist/ionic/{p-020af078.entry.js → p-cc2a9936.entry.js} +1 -1
- package/dist/ionic/p-ce8dad03.entry.js +4 -0
- package/dist/ionic/{p-6444c606.entry.js → p-d655735d.entry.js} +1 -1
- package/dist/ionic/{p-b57c6d3e.entry.js → p-dbc82f0e.entry.js} +1 -1
- package/dist/ionic/{p-6241ce47.entry.js → p-e036eb2f.entry.js} +1 -1
- package/dist/ionic/{p-9575b654.entry.js → p-e48f026f.entry.js} +1 -1
- package/dist/ionic/{p-7268efa5.entry.js → p-e64b550c.entry.js} +1 -1
- package/dist/ionic/{p-46d74291.entry.js → p-ee8ecd40.entry.js} +1 -1
- package/dist/ionic/{p-c85a2127.entry.js → p-f097a9e5.entry.js} +1 -1
- package/dist/ionic/{p-f8f22cc0.entry.js → p-fb0271ae.entry.js} +1 -1
- package/dist/ionic/{p-370e4237.entry.js → p-fbb00634.entry.js} +1 -1
- package/dist/ionic/{p-ec654c42.entry.js → p-fc14f34a.entry.js} +1 -1
- package/dist/types/components/datetime/datetime.d.ts +1 -11
- package/hydrate/index.js +187 -211
- package/hydrate/index.mjs +187 -211
- package/package.json +1 -1
- package/dist/ionic/p-4b658a7c.entry.js +0 -4
- package/dist/ionic/p-4e41ea20.entry.js +0 -4
- package/dist/ionic/p-51a60e0f.entry.js +0 -4
- package/dist/ionic/p-576e0965.entry.js +0 -4
- package/dist/ionic/p-94de5cfa.entry.js +0 -4
|
@@ -617,7 +617,7 @@ const InputOTP = class {
|
|
|
617
617
|
const tabbableIndex = this.getTabbableIndex();
|
|
618
618
|
const pattern = this.getPattern();
|
|
619
619
|
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()) !== '';
|
|
620
|
-
return (index.h(index.Host, { key: '
|
|
620
|
+
return (index.h(index.Host, { key: '76126aeef5a333d3ce86149d1ce21da6c7834898', class: theme.createColorClasses(color, {
|
|
621
621
|
[mode]: true,
|
|
622
622
|
'has-focus': hasFocus,
|
|
623
623
|
[`input-otp-size-${size}`]: true,
|
|
@@ -625,10 +625,10 @@ const InputOTP = class {
|
|
|
625
625
|
[`input-otp-fill-${fill}`]: true,
|
|
626
626
|
'input-otp-disabled': disabled,
|
|
627
627
|
'input-otp-readonly': readonly,
|
|
628
|
-
}) }, index.h("div", Object.assign({ key: '
|
|
628
|
+
}) }, index.h("div", Object.assign({ key: 'e9aa792de40a0e49075e8881c6a11245807e1051', 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: '262ead41c9401a2144e9d7b7bd85311e366d09b2', class: {
|
|
629
629
|
'input-otp-description': true,
|
|
630
630
|
'input-otp-description-hidden': !hasDescription,
|
|
631
|
-
} }, index.h("slot", { key: '
|
|
631
|
+
} }, index.h("slot", { key: '63a4b07ef5e3174cc75cdaed59305cdaebcfd1ad' }))));
|
|
632
632
|
}
|
|
633
633
|
get el() { return index.getElement(this); }
|
|
634
634
|
static get watchers() { return {
|
|
@@ -64,16 +64,16 @@ const InputPasswordToggle = class {
|
|
|
64
64
|
const showPasswordIcon = (_a = this.showIcon) !== null && _a !== void 0 ? _a : index$1.eye;
|
|
65
65
|
const hidePasswordIcon = (_b = this.hideIcon) !== null && _b !== void 0 ? _b : index$1.eyeOff;
|
|
66
66
|
const isPasswordVisible = type === 'text';
|
|
67
|
-
return (index.h(index.Host, { key: '
|
|
67
|
+
return (index.h(index.Host, { key: '07e26969f77ad361e358efe33a3b3728d9669017', class: theme.createColorClasses(color, {
|
|
68
68
|
[mode]: true,
|
|
69
|
-
}) }, index.h("ion-button", { key: '
|
|
69
|
+
}) }, index.h("ion-button", { key: '9f21eaea5756844d37930d52d8d3013c9d476b9f', 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) => {
|
|
70
70
|
/**
|
|
71
71
|
* This prevents mobile browsers from
|
|
72
72
|
* blurring the input when the password toggle
|
|
73
73
|
* button is activated.
|
|
74
74
|
*/
|
|
75
75
|
ev.preventDefault();
|
|
76
|
-
}, onClick: this.togglePasswordVisibility }, index.h("ion-icon", { key: '
|
|
76
|
+
}, onClick: this.togglePasswordVisibility }, index.h("ion-icon", { key: 'd7b1f55b77b71bf2c147f3bde83de1e9083f70ba', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? hidePasswordIcon : showPasswordIcon }))));
|
|
77
77
|
}
|
|
78
78
|
get el() { return index.getElement(this); }
|
|
79
79
|
static get watchers() { return {
|
|
@@ -517,7 +517,7 @@ const Input = class {
|
|
|
517
517
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
518
518
|
*/
|
|
519
519
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
520
|
-
return (index.h(index.Host, { key: '
|
|
520
|
+
return (index.h(index.Host, { key: '81b44a68138ec7a9f1d4a27549d0c32283dea50d', class: theme.createColorClasses(this.color, {
|
|
521
521
|
[mode]: true,
|
|
522
522
|
'has-value': hasValue,
|
|
523
523
|
'has-focus': hasFocus,
|
|
@@ -528,14 +528,14 @@ const Input = class {
|
|
|
528
528
|
'in-item': inItem,
|
|
529
529
|
'in-item-color': theme.hostContext('ion-item.ion-color', this.el),
|
|
530
530
|
'input-disabled': disabled,
|
|
531
|
-
}) }, index.h("label", { key: '
|
|
531
|
+
}) }, index.h("label", { key: '049adad1bdcb64ee416e420b523e222cb9c0d3df', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), index.h("div", { key: '00414cbb2adcc565d52dd5ba3af0280df3ba2c9c', class: "native-wrapper", onClick: this.onLabelClick }, index.h("slot", { key: 'a09366b057322372e48daeb5a70619e5603b6972', name: "start" }), index.h("input", Object.assign({ key: '8bd259fca7c30885df0bef6fa37a3c6516b7533e', 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 && (index.h("button", { key: '9655b387bf51a371877ab40879c9cdc953a8019f', "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (ev) => {
|
|
532
532
|
/**
|
|
533
533
|
* This prevents mobile browsers from
|
|
534
534
|
* blurring the input when the clear
|
|
535
535
|
* button is activated.
|
|
536
536
|
*/
|
|
537
537
|
ev.preventDefault();
|
|
538
|
-
}, onClick: this.clearTextInput }, index.h("ion-icon", { key: '
|
|
538
|
+
}, onClick: this.clearTextInput }, index.h("ion-icon", { key: '834670e725e0140069eead8ff6c7a63d87f0aac0', "aria-hidden": "true", icon: clearIconData }))), index.h("slot", { key: 'e41136ffef6bd8f8fb4c8480bf6dfaa3b61dc286', name: "end" })), shouldRenderHighlight && index.h("div", { key: '517a556a9748600af6c258c9f668e7b10a798427', class: "input-highlight" })), this.renderBottomContent()));
|
|
539
539
|
}
|
|
540
540
|
get el() { return index.getElement(this); }
|
|
541
541
|
static get watchers() { return {
|
|
@@ -47,12 +47,12 @@ const ItemOption = class {
|
|
|
47
47
|
href: this.href,
|
|
48
48
|
target: this.target,
|
|
49
49
|
};
|
|
50
|
-
return (index.h(index.Host, { key: '
|
|
50
|
+
return (index.h(index.Host, { key: '058310ac361612c16f2ef70c74279ba7c24128c5', onClick: this.onClick, class: theme.createColorClasses(this.color, {
|
|
51
51
|
[mode]: true,
|
|
52
52
|
'item-option-disabled': disabled,
|
|
53
53
|
'item-option-expandable': expandable,
|
|
54
54
|
'ion-activatable': true,
|
|
55
|
-
}) }, index.h(TagType, Object.assign({ key: '
|
|
55
|
+
}) }, index.h(TagType, Object.assign({ key: '045052656ab652bec065d421950fe9ea00dc1141' }, attrs, { class: "button-native", part: "native", disabled: disabled }), index.h("span", { key: '988b9166c0dda3c822a99ceace4c105339b2465b', class: "button-inner" }, index.h("slot", { key: '8050b870ada6b09283f8acbcbb6d2bd1c76508b3', name: "top" }), index.h("div", { key: 'a206e7b09e660c878ce3c5b61d018e8cdd89dc55', class: "horizontal-wrapper" }, index.h("slot", { key: '394e5e4ce14cd19b5d5eafca29bb9f971f5f0741', name: "start" }), index.h("slot", { key: 'dd4c3a1bee7622df40a3d8f2a298045b772f1600', name: "icon-only" }), index.h("slot", { key: '318f3ec97b722c5e7df1a78b1e0439f919d0aacc' }), index.h("slot", { key: 'fff6a9a602cf7bd698528982f91742a2d36ea245', name: "end" })), index.h("slot", { key: '26b4bb155701d8080b486dbad7bb9a6d2e35182c', name: "bottom" })), mode === 'md' && index.h("ion-ripple-effect", { key: '152b74643bf0f5725c39bfdbb940f0f32ec83d58' }))));
|
|
56
56
|
}
|
|
57
57
|
get el() { return index.getElement(this); }
|
|
58
58
|
};
|
|
@@ -84,7 +84,7 @@ const ItemOptions = class {
|
|
|
84
84
|
render() {
|
|
85
85
|
const mode = ionicGlobal.getIonMode(this);
|
|
86
86
|
const isEnd = helpers.isEndSide(this.side);
|
|
87
|
-
return (index.h(index.Host, { key: '
|
|
87
|
+
return (index.h(index.Host, { key: '7b4b93984182222c64c7a2a22a18e52ac19e3049', class: {
|
|
88
88
|
[mode]: true,
|
|
89
89
|
// Used internally for styling
|
|
90
90
|
[`item-options-${mode}`]: true,
|
|
@@ -495,7 +495,7 @@ const ItemSliding = class {
|
|
|
495
495
|
}
|
|
496
496
|
render() {
|
|
497
497
|
const mode = ionicGlobal.getIonMode(this);
|
|
498
|
-
return (index.h(index.Host, { key: '
|
|
498
|
+
return (index.h(index.Host, { key: '8fd81d74701402294a48b79c56d6eceadafd4881', class: {
|
|
499
499
|
[mode]: true,
|
|
500
500
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
501
501
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -274,11 +274,11 @@ const ItemDivider = class {
|
|
|
274
274
|
}
|
|
275
275
|
render() {
|
|
276
276
|
const mode = ionicGlobal.getIonMode(this);
|
|
277
|
-
return (index.h(index.Host, { key: '
|
|
277
|
+
return (index.h(index.Host, { key: 'ee8b2c8d5e415c0d8badf84fa7670932da4e809e', class: theme.createColorClasses(this.color, {
|
|
278
278
|
[mode]: true,
|
|
279
279
|
'item-divider-sticky': this.sticky,
|
|
280
280
|
item: true,
|
|
281
|
-
}) }, index.h("slot", { key: '
|
|
281
|
+
}) }, index.h("slot", { key: 'a1b7bbb1a008b0a56887f130d166931033801746', name: "start" }), index.h("div", { key: '9d572da46ab616bdf881098e96aa6796a249507f', class: "item-divider-inner" }, index.h("div", { key: 'a57a2c17093b74b9e4f8fd2778230a440b293aa1', class: "item-divider-wrapper" }, index.h("slot", { key: 'ef15ebf58f3acd4b4d1b7c51144e26c3759dba49' })), index.h("slot", { key: '1787c2400534301fe72b8ec213d0ce1e8f75b65a', name: "end" }))));
|
|
282
282
|
}
|
|
283
283
|
get el() { return index.getElement(this); }
|
|
284
284
|
};
|
|
@@ -297,7 +297,7 @@ const ItemGroup = class {
|
|
|
297
297
|
}
|
|
298
298
|
render() {
|
|
299
299
|
const mode = ionicGlobal.getIonMode(this);
|
|
300
|
-
return (index.h(index.Host, { key: '
|
|
300
|
+
return (index.h(index.Host, { key: 'f1743af1d075682f63fae3802c5c5bf050507563', role: "group", class: {
|
|
301
301
|
[mode]: true,
|
|
302
302
|
// Used internally for styling
|
|
303
303
|
[`item-group-${mode}`]: true,
|
|
@@ -363,13 +363,13 @@ const Label = class {
|
|
|
363
363
|
render() {
|
|
364
364
|
const position = this.position;
|
|
365
365
|
const mode = ionicGlobal.getIonMode(this);
|
|
366
|
-
return (index.h(index.Host, { key: '
|
|
366
|
+
return (index.h(index.Host, { key: '684ddfa719e34d743489ff05a0df067829257c73', class: theme.createColorClasses(this.color, {
|
|
367
367
|
[mode]: true,
|
|
368
368
|
'in-item-color': theme.hostContext('ion-item.ion-color', this.el),
|
|
369
369
|
[`label-${position}`]: position !== undefined,
|
|
370
370
|
[`label-no-animate`]: this.noAnimate,
|
|
371
371
|
'label-rtl': document.dir === 'rtl',
|
|
372
|
-
}) }, index.h("slot", { key: '
|
|
372
|
+
}) }, index.h("slot", { key: '4aace3e2b36250e832c44f63bea21116d77220fb' })));
|
|
373
373
|
}
|
|
374
374
|
get el() { return index.getElement(this); }
|
|
375
375
|
static get watchers() { return {
|
|
@@ -410,7 +410,7 @@ const List = class {
|
|
|
410
410
|
render() {
|
|
411
411
|
const mode = ionicGlobal.getIonMode(this);
|
|
412
412
|
const { lines, inset } = this;
|
|
413
|
-
return (index.h(index.Host, { key: '
|
|
413
|
+
return (index.h(index.Host, { key: '76580117b59d26e355e89f49b385fa8db05026a2', role: "list", class: {
|
|
414
414
|
[mode]: true,
|
|
415
415
|
// Used internally for styling
|
|
416
416
|
[`list-${mode}`]: true,
|
|
@@ -437,10 +437,10 @@ const ListHeader = class {
|
|
|
437
437
|
render() {
|
|
438
438
|
const { lines } = this;
|
|
439
439
|
const mode = ionicGlobal.getIonMode(this);
|
|
440
|
-
return (index.h(index.Host, { key: '
|
|
440
|
+
return (index.h(index.Host, { key: '2e529021279761b2b2889885437f619b0e8f71c4', class: theme.createColorClasses(this.color, {
|
|
441
441
|
[mode]: true,
|
|
442
442
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
443
|
-
}) }, index.h("div", { key: '
|
|
443
|
+
}) }, index.h("div", { key: '9a6a11b0db015df79374f6489a40b959bc80b3e4', class: "list-header-inner" }, index.h("slot", { key: 'ef347fc6afb47850797e2e4d1aeefcd6a318f789' }))));
|
|
444
444
|
}
|
|
445
445
|
};
|
|
446
446
|
ListHeader.style = {
|
|
@@ -458,9 +458,9 @@ const Note = class {
|
|
|
458
458
|
}
|
|
459
459
|
render() {
|
|
460
460
|
const mode = ionicGlobal.getIonMode(this);
|
|
461
|
-
return (index.h(index.Host, { key: '
|
|
461
|
+
return (index.h(index.Host, { key: 'b86a6acc9274df6528d224d4c11ab826a0f84dbc', class: theme.createColorClasses(this.color, {
|
|
462
462
|
[mode]: true,
|
|
463
|
-
}) }, index.h("slot", { key: '
|
|
463
|
+
}) }, index.h("slot", { key: '5de76567ed7713827cd277a42db102faf34190c8' })));
|
|
464
464
|
}
|
|
465
465
|
};
|
|
466
466
|
Note.style = {
|
|
@@ -495,11 +495,11 @@ const SkeletonText = class {
|
|
|
495
495
|
const animated = this.animated && index.config.getBoolean('animated', true);
|
|
496
496
|
const inMedia = theme.hostContext('ion-avatar', this.el) || theme.hostContext('ion-thumbnail', this.el);
|
|
497
497
|
const mode = ionicGlobal.getIonMode(this);
|
|
498
|
-
return (index.h(index.Host, { key: '
|
|
498
|
+
return (index.h(index.Host, { key: 'cb8da9aba121811b9a4ffdae60ed88105897cb3c', class: {
|
|
499
499
|
[mode]: true,
|
|
500
500
|
'skeleton-text-animated': animated,
|
|
501
501
|
'in-media': inMedia,
|
|
502
|
-
} }, index.h("span", { key: '
|
|
502
|
+
} }, index.h("span", { key: '5379deee3c76d46d615be0cba14b4f60129ffa25' }, "\u00A0")));
|
|
503
503
|
}
|
|
504
504
|
get el() { return index.getElement(this); }
|
|
505
505
|
};
|
|
@@ -278,9 +278,9 @@ const Loading = class {
|
|
|
278
278
|
* Otherwise, don't set aria-labelledby.
|
|
279
279
|
*/
|
|
280
280
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
281
|
-
return (index.h(index.Host, Object.assign({ key: '
|
|
281
|
+
return (index.h(index.Host, Object.assign({ key: 'f86ddbc600cb5c396b7de38fb5f49625388c3c3f', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
282
282
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
283
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, theme.getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), index.h("ion-backdrop", { key: '
|
|
283
|
+
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, theme.getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), index.h("ion-backdrop", { key: 'b53727aaddc37ef3c685fcc150c6d5193290a847', visible: this.showBackdrop, tappable: this.backdropDismiss }), index.h("div", { key: '4c61bede8e0a4e47daa6f1f9d0f364ef6aec0bc3', tabindex: "0", "aria-hidden": "true" }), index.h("div", { key: '84e51ceb07118f1eaeb757df28801c255496931b', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (index.h("div", { key: 'fc97f1912e0fc558b7c309a5bc084415f5f620b2', class: "loading-spinner" }, index.h("ion-spinner", { key: '6e186d856cd3f10f22c3e317ef00f31b4216459c', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), index.h("div", { key: 'dcbe9d9a619daa1c08174e73827bdabeb59dde92', tabindex: "0", "aria-hidden": "true" })));
|
|
284
284
|
}
|
|
285
285
|
get el() { return index.getElement(this); }
|
|
286
286
|
static get watchers() { return {
|
|
@@ -664,14 +664,14 @@ const Menu = class {
|
|
|
664
664
|
* the ionBackButton listener in the menu controller
|
|
665
665
|
* will handle closing the menu when Escape is pressed.
|
|
666
666
|
*/
|
|
667
|
-
return (index.h(index.Host, { key: '
|
|
667
|
+
return (index.h(index.Host, { key: '29ef73894e2795e4ce23e59888ffb87faf4dd543', onKeyDown: hardwareBackButton.shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
668
668
|
[mode]: true,
|
|
669
669
|
[`menu-type-${type}`]: true,
|
|
670
670
|
'menu-enabled': !disabled,
|
|
671
671
|
[`menu-side-${side}`]: true,
|
|
672
672
|
'menu-pane-visible': isPaneVisible,
|
|
673
673
|
'split-pane-side': theme.hostContext('ion-split-pane', el),
|
|
674
|
-
} }, index.h("div", { key: '
|
|
674
|
+
} }, index.h("div", { key: '22e44f7bd602ee0c96550f0dfc22ac81c0033ad6', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, index.h("slot", { key: '7bbef92fe03bb3ce4d3981eb8535aab449aab2fc' })), index.h("ion-backdrop", { key: '9ab8d5b61563e16b212c71c03869d4fc23a0400b', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
675
675
|
}
|
|
676
676
|
get el() { return index.getElement(this); }
|
|
677
677
|
static get watchers() { return {
|
|
@@ -749,7 +749,7 @@ const MenuButton = class {
|
|
|
749
749
|
type: this.type,
|
|
750
750
|
};
|
|
751
751
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
752
|
-
return (index.h(index.Host, { key: '
|
|
752
|
+
return (index.h(index.Host, { key: 'dcade732e366f0687d92cb9ce4065b78b0b41d24', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: theme.createColorClasses(color, {
|
|
753
753
|
[mode]: true,
|
|
754
754
|
button: true, // ion-buttons target .button
|
|
755
755
|
'menu-button-hidden': hidden,
|
|
@@ -758,7 +758,7 @@ const MenuButton = class {
|
|
|
758
758
|
'in-toolbar-color': theme.hostContext('ion-toolbar[color]', this.el),
|
|
759
759
|
'ion-activatable': true,
|
|
760
760
|
'ion-focusable': true,
|
|
761
|
-
}) }, index.h("button", Object.assign({ key: '
|
|
761
|
+
}) }, index.h("button", Object.assign({ key: '7c4a449e239679376f38471d95fd602f9caec5f6' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), index.h("span", { key: '8bb5bf453280a66109198c970b678ad800c7a8cf', class: "button-inner" }, index.h("slot", { key: '7f78b1e7a0695f2bd600d13ca81f50dd8b965726' }, index.h("ion-icon", { key: '9f67f5bb06b1f03a6e5df9ecbe23ebf69fb40756', part: "icon", icon: menuIcon, mode: mode, lazy: false, "aria-hidden": "true" }))), mode === 'md' && index.h("ion-ripple-effect", { key: '10be7145c614144e94c3cc0b92dc5ee4e1587fe6', type: "unbounded" }))));
|
|
762
762
|
}
|
|
763
763
|
get el() { return index.getElement(this); }
|
|
764
764
|
};
|
|
@@ -793,10 +793,10 @@ const MenuToggle = class {
|
|
|
793
793
|
render() {
|
|
794
794
|
const mode = ionicGlobal.getIonMode(this);
|
|
795
795
|
const hidden = this.autoHide && !this.visible;
|
|
796
|
-
return (index.h(index.Host, { key: '
|
|
796
|
+
return (index.h(index.Host, { key: '55135952f3a42cb5d21916dfb7b169d894b381e3', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
797
797
|
[mode]: true,
|
|
798
798
|
'menu-toggle-hidden': hidden,
|
|
799
|
-
} }, index.h("slot", { key: '
|
|
799
|
+
} }, index.h("slot", { key: 'e8ecb59a6ec075b07e2a1b8fcdf7df3dd9975a03' })));
|
|
800
800
|
}
|
|
801
801
|
};
|
|
802
802
|
MenuToggle.style = menuToggleCss;
|
|
@@ -2419,20 +2419,20 @@ const Modal = class {
|
|
|
2419
2419
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
2420
2420
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
2421
2421
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
2422
|
-
return (index$3.h(index$3.Host, Object.assign({ key: '
|
|
2422
|
+
return (index$3.h(index$3.Host, Object.assign({ key: '09af3299b0bd1daa5004fceed6d4246ebae57088', "no-router": true,
|
|
2423
2423
|
// Allow the modal to be navigable when the handle is focusable
|
|
2424
2424
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
2425
2425
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
2426
|
-
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`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$3.h("ion-backdrop", { key: '
|
|
2426
|
+
}, class: Object.assign({ [mode]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`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$3.h("ion-backdrop", { key: '472105fd981d02b596d109a396a2ee26cb03df07', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && index$3.h("div", { key: '7312e6a55141c2cc8f7e12f9a3172fcb8b0a4fdf', class: "modal-shadow" }), index$3.h("div", Object.assign({ key: '5f603333d4f4f73da0b0e93a3ea2ffdcccec079d',
|
|
2427
2427
|
/*
|
|
2428
2428
|
role and aria-modal must be used on the
|
|
2429
2429
|
same element. They must also be set inside the
|
|
2430
2430
|
shadow DOM otherwise ion-button will not be highlighted
|
|
2431
2431
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
2432
2432
|
*/
|
|
2433
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (index$3.h("button", { key: '
|
|
2433
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (index$3.h("button", { key: 'c99e0e874713c3bf97a896c52658a04c7dc37826', class: "modal-handle",
|
|
2434
2434
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
2435
|
-
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$3.h("slot", { key: '
|
|
2435
|
+
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$3.h("slot", { key: '0afbfc8723876be1c70c815e51a711258a454e53', onSlotchange: this.onSlotChange }))));
|
|
2436
2436
|
}
|
|
2437
2437
|
get el() { return index$3.getElement(this); }
|
|
2438
2438
|
static get watchers() { return {
|
|
@@ -897,7 +897,7 @@ const Nav = class {
|
|
|
897
897
|
}
|
|
898
898
|
}
|
|
899
899
|
render() {
|
|
900
|
-
return index.h("slot", { key: '
|
|
900
|
+
return index.h("slot", { key: 'a549286b51b1bb23c9ef51f71148452228d0ab14' });
|
|
901
901
|
}
|
|
902
902
|
get el() { return index.getElement(this); }
|
|
903
903
|
static get watchers() { return {
|
|
@@ -939,7 +939,7 @@ const NavLink = class {
|
|
|
939
939
|
};
|
|
940
940
|
}
|
|
941
941
|
render() {
|
|
942
|
-
return index.h(index.Host, { key: '
|
|
942
|
+
return index.h(index.Host, { key: 'd4d80feb51c0d92b0bedf6952c892f9df3002046', onClick: this.onClick });
|
|
943
943
|
}
|
|
944
944
|
get el() { return index.getElement(this); }
|
|
945
945
|
};
|
|
@@ -99,10 +99,10 @@ const PickerColumnOption = class {
|
|
|
99
99
|
render() {
|
|
100
100
|
const { color, disabled, ariaLabel } = this;
|
|
101
101
|
const mode = ionicGlobal.getIonMode(this);
|
|
102
|
-
return (index.h(index.Host, { key: '
|
|
102
|
+
return (index.h(index.Host, { key: 'c45a1c14a351bf57d7113671164852349be5aa8a', class: theme.createColorClasses(color, {
|
|
103
103
|
[mode]: true,
|
|
104
104
|
['option-disabled']: disabled,
|
|
105
|
-
}) }, index.h("div", { key: '
|
|
105
|
+
}) }, index.h("div", { key: '824930b658c6e3fb493ac4c6c2451d38c6bc4829', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, index.h("slot", { key: '019df4dcf46e629bdbebcd46ed3ab29669feab27' }))));
|
|
106
106
|
}
|
|
107
107
|
get el() { return index.getElement(this); }
|
|
108
108
|
static get watchers() { return {
|
|
@@ -550,14 +550,14 @@ const PickerColumn = class {
|
|
|
550
550
|
render() {
|
|
551
551
|
const { color, disabled, isActive, numericInput } = this;
|
|
552
552
|
const mode = ionicGlobal.getIonMode(this);
|
|
553
|
-
return (index.h(index.Host, { key: '
|
|
553
|
+
return (index.h(index.Host, { key: 'fc7176e47e8d8776060197343b4c15c09f312528', class: theme.createColorClasses(color, {
|
|
554
554
|
[mode]: true,
|
|
555
555
|
['picker-column-active']: isActive,
|
|
556
556
|
['picker-column-numeric-input']: numericInput,
|
|
557
557
|
['picker-column-disabled']: disabled,
|
|
558
|
-
}) }, index.h("slot", { key: '
|
|
558
|
+
}) }, index.h("slot", { key: 'fce09abdcc48afa64fd5f869b1614f9e564b6759', name: "prefix" }), index.h("div", { key: 'fbadc7cfa4965238a1ce5d47cb3bb258fa0214a1', class: "picker-opts", ref: (el) => {
|
|
559
559
|
this.scrollEl = el;
|
|
560
|
-
}, 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) }, index.h("div", { key: '
|
|
560
|
+
}, 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) }, index.h("div", { key: '9f1ba897db0a0469a77cf12f846cc80fea94f596', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), index.h("div", { key: '8265d65d90c512e70c20ca9023502610c0b9fc62', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), index.h("div", { key: 'fd0e92a13eeea72f68f43e25ce47b357e5fc431f', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), index.h("slot", { key: '63cf74b36e665540c6e2dc038e5581d9e7016983' }), index.h("div", { key: '48550abba1a52a57b195d7815265e19b3941e5db', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), index.h("div", { key: '06a739f9bbf18f4f45d613f88a6d803bda60afd1', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), index.h("div", { key: '416effc018a21e72b5a197abc9cc49d05efcda7c', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0")), index.h("slot", { key: '28fdc95c318b0c76a609e12a9b4e17238ba15f8e', name: "suffix" })));
|
|
561
561
|
}
|
|
562
562
|
get el() { return index.getElement(this); }
|
|
563
563
|
static get watchers() { return {
|
|
@@ -457,7 +457,7 @@ const Picker = class {
|
|
|
457
457
|
this.emitInputModeChange();
|
|
458
458
|
}
|
|
459
459
|
render() {
|
|
460
|
-
return (index.h(index.Host, { key: '
|
|
460
|
+
return (index.h(index.Host, { key: '2546ff9e4f6bb9f880600903cdfad67be2df014d', onPointerDown: (ev) => this.onPointerDown(ev), onClick: () => this.onClick() }, index.h("input", { key: '58337ea0f6e3aba819fc48bad7dc0847251f72f1', "aria-hidden": "true", tabindex: -1, inputmode: "numeric", type: "number", onKeyDown: (ev) => {
|
|
461
461
|
var _a;
|
|
462
462
|
/**
|
|
463
463
|
* The "Enter" key represents
|
|
@@ -472,7 +472,7 @@ const Picker = class {
|
|
|
472
472
|
if (ev.key === 'Enter') {
|
|
473
473
|
(_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.blur();
|
|
474
474
|
}
|
|
475
|
-
}, ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), index.h("div", { key: '
|
|
475
|
+
}, ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), index.h("div", { key: '395fa256c886725de0c562d05c9da8ac8defbede', class: "picker-before" }), index.h("div", { key: '3471738349700fe3e9c7425a455132e2fd6e3224', class: "picker-after" }), index.h("div", { key: '37557bd2cfb57db4b3b98a2063f5b733c40debb8', class: "picker-highlight", ref: (el) => (this.highlightEl = el) }), index.h("slot", { key: '2d133fb7e178f95d02dd362a503c86abd3bb8e8d' })));
|
|
476
476
|
}
|
|
477
477
|
get el() { return index.getElement(this); }
|
|
478
478
|
};
|
|
@@ -1422,9 +1422,9 @@ const Popover = class {
|
|
|
1422
1422
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
1423
1423
|
const desktop = ionicGlobal.isPlatform('desktop');
|
|
1424
1424
|
const enableArrow = arrow && !parentPopover;
|
|
1425
|
-
return (index.h(index.Host, Object.assign({ key: '
|
|
1425
|
+
return (index.h(index.Host, Object.assign({ key: '2edd8333c630efbce59071f8a383e4326e928dbc', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
1426
1426
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
1427
|
-
}, class: Object.assign(Object.assign({}, theme.getClassMap(this.cssClass)), { [mode]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [overlays.FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && index.h("ion-backdrop", { key: '
|
|
1427
|
+
}, class: Object.assign(Object.assign({}, theme.getClassMap(this.cssClass)), { [mode]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [overlays.FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && index.h("ion-backdrop", { key: 'aac4e68b08197534375e8ea3f8c9ea0c10ab2af4', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), index.h("div", { key: 'b7f4ebf57d4148b32856b0075d286f454be8de5d', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && index.h("div", { key: '607d94c28d73e8e957175a7c0f6e8a99ec4dcd53', class: "popover-arrow", part: "arrow" }), index.h("div", { key: '4366a5a5de550c09895e923f345583508e1ec30c', class: "popover-content", part: "content" }, index.h("slot", { key: 'eb7886fbc99c15b667b7d825d24f1c12d9380f03' })))));
|
|
1428
1428
|
}
|
|
1429
1429
|
get el() { return index.getElement(this); }
|
|
1430
1430
|
static get watchers() { return {
|
|
@@ -42,7 +42,7 @@ const ProgressBar = class {
|
|
|
42
42
|
const mode = ionicGlobal.getIonMode(this);
|
|
43
43
|
// If the progress is displayed as a solid bar.
|
|
44
44
|
const progressSolid = buffer === 1;
|
|
45
|
-
return (index.h(index.Host, { key: '
|
|
45
|
+
return (index.h(index.Host, { key: 'c859e48f3d24a458239e36d925e5dc003ed07c6b', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: theme.createColorClasses(color, {
|
|
46
46
|
[mode]: true,
|
|
47
47
|
[`progress-bar-${type}`]: true,
|
|
48
48
|
'progress-paused': paused,
|
|
@@ -138,7 +138,7 @@ const Radio = class {
|
|
|
138
138
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
139
139
|
const mode = ionicGlobal.getIonMode(this);
|
|
140
140
|
const inItem = theme.hostContext('ion-item', el);
|
|
141
|
-
return (index.h(index.Host, { key: '
|
|
141
|
+
return (index.h(index.Host, { key: 'af5dc59ed528150872e907ed1036e3e2decba939', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: theme.createColorClasses(color, {
|
|
142
142
|
[mode]: true,
|
|
143
143
|
'in-item': inItem,
|
|
144
144
|
'radio-checked': checked,
|
|
@@ -149,10 +149,10 @@ const Radio = class {
|
|
|
149
149
|
// Focus and active styling should not apply when the radio is in an item
|
|
150
150
|
'ion-activatable': !inItem,
|
|
151
151
|
'ion-focusable': !inItem,
|
|
152
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, index.h("label", { key: '
|
|
152
|
+
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, index.h("label", { key: '1312aba3259a87fe23a6911cdfa477e309469c8b', class: "radio-wrapper" }, index.h("div", { key: 'b342aa27e240a300836d2a135658d346b95daf09', class: {
|
|
153
153
|
'label-text-wrapper': true,
|
|
154
154
|
'label-text-wrapper-hidden': !hasLabel,
|
|
155
|
-
}, part: "label" }, index.h("slot", { key: '
|
|
155
|
+
}, part: "label" }, index.h("slot", { key: '0a4613d29aa783d1882cf889377f7e4fd4fea51d' })), index.h("div", { key: '191faea79dc4cd8befc4b873f5bd9f5af8ca2acc', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
156
156
|
}
|
|
157
157
|
get el() { return index.getElement(this); }
|
|
158
158
|
static get watchers() { return {
|
|
@@ -405,7 +405,7 @@ const RadioGroup = class {
|
|
|
405
405
|
const { label, labelId, el, name, value } = this;
|
|
406
406
|
const mode = ionicGlobal.getIonMode(this);
|
|
407
407
|
helpers.renderHiddenInput(true, el, name, value, false);
|
|
408
|
-
return (index.h(index.Host, { key: '
|
|
408
|
+
return (index.h(index.Host, { key: '9434938f48ea6c7405009704c05b4f01bb1e1293', role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick, class: mode }, this.renderHintText(), index.h("div", { key: 'ee6796dedb5dc3abaf5129e906145dfcfa90dc99', class: "radio-group-wrapper" }, index.h("slot", { key: 'e6a44dd32ee0e193fe73244286258b37f1aaa09b' }))));
|
|
409
409
|
}
|
|
410
410
|
get el() { return index.getElement(this); }
|
|
411
411
|
static get watchers() { return {
|
|
@@ -723,7 +723,7 @@ const Range = class {
|
|
|
723
723
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
724
724
|
const mode = ionicGlobal.getIonMode(this);
|
|
725
725
|
helpers.renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
726
|
-
return (index.h(index.Host, { key: '
|
|
726
|
+
return (index.h(index.Host, { key: 'affcac4709096a48a5b4c1864b209b6352f6b078', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: theme.createColorClasses(this.color, {
|
|
727
727
|
[mode]: true,
|
|
728
728
|
'in-item': inItem,
|
|
729
729
|
'range-disabled': disabled,
|
|
@@ -732,10 +732,10 @@ const Range = class {
|
|
|
732
732
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
733
733
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
734
734
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
735
|
-
}) }, index.h("label", { key: '
|
|
735
|
+
}) }, index.h("label", { key: 'c7cf95fa831d10b17c137995d0a9e0cf84006a76', class: "range-wrapper", id: "range-label" }, index.h("div", { key: '5b8479c7939ae0f94a042c3aafd64316e4577d30', class: {
|
|
736
736
|
'label-text-wrapper': true,
|
|
737
737
|
'label-text-wrapper-hidden': !hasLabel,
|
|
738
|
-
}, part: "label" }, label !== undefined ? index.h("div", { class: "label-text" }, label) : index.h("slot", { name: "label" })), index.h("div", { key: '
|
|
738
|
+
}, part: "label" }, label !== undefined ? index.h("div", { class: "label-text" }, label) : index.h("slot", { name: "label" })), index.h("div", { key: '3c275d822b29a8008e044722e8b6bdabd3ecfad7', class: "native-wrapper" }, index.h("slot", { key: '03c849d0aa708914984ad57ca292bc5fc66ecad5', name: "start" }), this.renderRangeSlider(), index.h("slot", { key: '10ca7b8152cac00b45d8fa98ad91410f59fd176a', name: "end" })))));
|
|
739
739
|
}
|
|
740
740
|
get el() { return index.getElement(this); }
|
|
741
741
|
static get watchers() { return {
|
|
@@ -889,7 +889,7 @@ const Refresher = class {
|
|
|
889
889
|
}
|
|
890
890
|
render() {
|
|
891
891
|
const mode = ionicGlobal.getIonMode(this);
|
|
892
|
-
return (index.h(index.Host, { key: '
|
|
892
|
+
return (index.h(index.Host, { key: '06d61cc53260ce146dd6906cc96597e9baaa17cf', slot: "fixed", class: {
|
|
893
893
|
[mode]: true,
|
|
894
894
|
// Used internally for styling
|
|
895
895
|
[`refresher-${mode}`]: true,
|
|
@@ -952,7 +952,7 @@ const RefresherContent = class {
|
|
|
952
952
|
const pullingIcon = this.pullingIcon;
|
|
953
953
|
const hasSpinner = pullingIcon != null && spinnerConfigs.SPINNERS[pullingIcon] !== undefined;
|
|
954
954
|
const mode = ionicGlobal.getIonMode(this);
|
|
955
|
-
return (index.h(index.Host, { key: '
|
|
955
|
+
return (index.h(index.Host, { key: '4add42b9fdfded359d1b054d04c2c6ff48e028c8', class: mode }, index.h("div", { key: '45d4e4e0adfed7f96dd1849767aa2cde947de044', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (index.h("div", { key: '6bd6c8ef5bf6e10699eec3bd8646431bfe1077a0', class: "refresher-pulling-icon" }, index.h("div", { key: '852d20414da53352c8e58bc627e0fda38eff97cb', class: "spinner-arrow-container" }, index.h("ion-spinner", { key: '0dde3578a80cc4b77a07c4d1db1af80c7eb10c27', name: this.pullingIcon, paused: true }), mode === 'md' && this.pullingIcon === 'circular' && (index.h("div", { key: 'c71dbfcf416a19c30fed38f722ebf0358c2181dd', class: "arrow-container" }, index.h("ion-icon", { key: 'fa7c2cf624e7a9c41964e66cabc88c594da6d1fd', icon: index$2.caretBackSharp, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (index.h("div", { key: '3dd68c9968b421c379d1c4349ba619ee0a189c6d', class: "refresher-pulling-icon" }, index.h("ion-icon", { key: 'f83bceceae4fa8245f91939fb6db589a595e975b', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), index.h("div", { key: '98e22ceb0f7883e871f815f6199f5cb313e2e086', class: "refresher-refreshing" }, this.refreshingSpinner && (index.h("div", { key: 'faabe8a9b61c02a00994ef978bb82b9ba4537214', class: "refresher-refreshing-icon" }, index.h("ion-spinner", { key: '029a0c073ee1a07f01211e12ba2abc985cf21ed7', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
956
956
|
}
|
|
957
957
|
get el() { return index.getElement(this); }
|
|
958
958
|
};
|
|
@@ -32,7 +32,7 @@ const Reorder = class {
|
|
|
32
32
|
render() {
|
|
33
33
|
const mode = ionicGlobal.getIonMode(this);
|
|
34
34
|
const reorderIcon = mode === 'ios' ? index$1.reorderThreeOutline : index$1.reorderTwoSharp;
|
|
35
|
-
return (index.h(index.Host, { key: '
|
|
35
|
+
return (index.h(index.Host, { key: 'b869db61ca6393cf1476f2111a66b387b567c6d1', class: mode }, index.h("slot", { key: 'a78edd1776835282b8b5c841377018f36c83296c' }, index.h("ion-icon", { key: '7fb067c47bbb9a7258e5063f028282cc097d0f94', icon: reorderIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
36
36
|
}
|
|
37
37
|
get el() { return index.getElement(this); }
|
|
38
38
|
};
|
|
@@ -295,7 +295,7 @@ const ReorderGroup = class {
|
|
|
295
295
|
}
|
|
296
296
|
render() {
|
|
297
297
|
const mode = ionicGlobal.getIonMode(this);
|
|
298
|
-
return (index.h(index.Host, { key: '
|
|
298
|
+
return (index.h(index.Host, { key: '9527bbdedaab63d31f562c874a7332ea60c4b47b', class: {
|
|
299
299
|
[mode]: true,
|
|
300
300
|
'reorder-enabled': !this.disabled,
|
|
301
301
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -74,7 +74,7 @@ const RippleEffect = class {
|
|
|
74
74
|
}
|
|
75
75
|
render() {
|
|
76
76
|
const mode = ionicGlobal.getIonMode(this);
|
|
77
|
-
return (index.h(index.Host, { key: '
|
|
77
|
+
return (index.h(index.Host, { key: '3b59cbb44741569a7350f9638b4392add673b6f1', role: "presentation", class: {
|
|
78
78
|
[mode]: true,
|
|
79
79
|
unbounded: this.unbounded,
|
|
80
80
|
} }));
|
|
@@ -897,10 +897,10 @@ const RouterLink = class {
|
|
|
897
897
|
rel: this.rel,
|
|
898
898
|
target: this.target,
|
|
899
899
|
};
|
|
900
|
-
return (index.h(index.Host, { key: '
|
|
900
|
+
return (index.h(index.Host, { key: '8372835161d507c7b821b7536c55f912eb6ce704', onClick: this.onClick, class: theme.createColorClasses(this.color, {
|
|
901
901
|
[mode]: true,
|
|
902
902
|
'ion-activatable': true,
|
|
903
|
-
}) }, index.h("a", Object.assign({ key: '
|
|
903
|
+
}) }, index.h("a", Object.assign({ key: '315966e14a17760f3f64197e8315200039787897' }, attrs), index.h("slot", { key: '95fc1697b884225e85e647dddcaa8f4af8b9a979' }))));
|
|
904
904
|
}
|
|
905
905
|
};
|
|
906
906
|
RouterLink.style = routerLinkCss;
|
|
@@ -438,8 +438,8 @@ const Searchbar = class {
|
|
|
438
438
|
const clearIcon = this.clearIcon || (mode === 'ios' ? index$1.closeCircle : index$1.closeSharp);
|
|
439
439
|
const searchIcon = this.searchIcon || (mode === 'ios' ? index$1.searchOutline : index$1.searchSharp);
|
|
440
440
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
441
|
-
const cancelButton = this.showCancelButton !== 'never' && (index.h("button", { key: '
|
|
442
|
-
return (index.h(index.Host, { key: '
|
|
441
|
+
const cancelButton = this.showCancelButton !== 'never' && (index.h("button", { key: 'bf574336a561a5bf66c771fb606a9b19adbecb68', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: mode === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, index.h("div", { key: '747ad4368bda5044198259d5bc8f7be9e472e5af', "aria-hidden": "true" }, mode === 'md' ? (index.h("ion-icon", { "aria-hidden": "true", mode: mode, icon: this.cancelButtonIcon, lazy: false })) : (cancelButtonText))));
|
|
442
|
+
return (index.h(index.Host, { key: 'bcc5b33a2859903ba11bfc5c611c6a2aaa71d06b', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: theme.createColorClasses(this.color, {
|
|
443
443
|
[mode]: true,
|
|
444
444
|
'searchbar-animated': animated,
|
|
445
445
|
'searchbar-disabled': this.disabled,
|
|
@@ -449,14 +449,14 @@ const Searchbar = class {
|
|
|
449
449
|
'searchbar-has-focus': this.focused,
|
|
450
450
|
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
451
451
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
452
|
-
}) }, index.h("div", { key: '
|
|
452
|
+
}) }, index.h("div", { key: 'ac0dbf5ddd9c4eb6d714f45c62c44ba3d0bf034d', class: "searchbar-input-container" }, index.h("input", Object.assign({ key: '4b9fdac1b0d5a7a68bf61a6beb00f166434d3e84', "aria-label": "search text", disabled: this.disabled, ref: (el) => (this.nativeInput = el), class: "searchbar-input", inputMode: this.inputmode, enterKeyHint: this.enterkeyhint, name: this.name, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, minLength: this.minlength, maxLength: this.maxlength, placeholder: this.placeholder, type: this.type, value: this.getValue(), autoCapitalize: autocapitalize === 'default' ? undefined : autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, spellcheck: this.spellcheck }, this.inheritedAttributes)), mode === 'md' && cancelButton, index.h("ion-icon", { key: '32a889c48b3960560a3873061b4ac5a8a5ce532f', "aria-hidden": "true", mode: mode, icon: searchIcon, lazy: false, class: "searchbar-search-icon" }), index.h("button", { key: '71222df691ef0b95008e619f755224d069ee9388', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
453
453
|
/**
|
|
454
454
|
* This prevents mobile browsers from
|
|
455
455
|
* blurring the input when the clear
|
|
456
456
|
* button is activated.
|
|
457
457
|
*/
|
|
458
458
|
ev.preventDefault();
|
|
459
|
-
}, onClick: () => this.onClearInput(true) }, index.h("ion-icon", { key: '
|
|
459
|
+
}, onClick: () => this.onClearInput(true) }, index.h("ion-icon", { key: 'f1c8c0bd8fbb655085875731d3ece387dbe2967e', "aria-hidden": "true", mode: mode, icon: clearIcon, lazy: false, class: "searchbar-clear-icon" }))), mode === 'ios' && cancelButton));
|
|
460
460
|
}
|
|
461
461
|
get el() { return index.getElement(this); }
|
|
462
462
|
static get watchers() { return {
|