@ionic/core 8.7.3-dev.11755551681.10d084fd → 8.7.3-dev.11755622775.1fc05815
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/ion-input.js +36 -5
- 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 +35 -4
- 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/modal.js +4 -4
- package/components/picker-column-option.js +2 -2
- package/components/picker-column2.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 +5 -5
- package/dist/cjs/ion-avatar_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-col_3.cjs.entry.js +1 -1
- package/dist/cjs/ion-datetime_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-input.cjs.entry.js +35 -5
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +11 -11
- 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-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 +34 -4
- package/dist/cjs/ion-toast.cjs.entry.js +2 -2
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/input/input.js +37 -6
- 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-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-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 +36 -5
- 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 +5 -5
- package/dist/esm/ion-avatar_3.entry.js +1 -1
- package/dist/esm/ion-col_3.entry.js +1 -1
- package/dist/esm/ion-datetime_3.entry.js +4 -4
- package/dist/esm/ion-input.entry.js +35 -5
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +11 -11
- 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-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 +34 -4
- package/dist/esm/ion-toast.entry.js +2 -2
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p-0f396661.entry.js +4 -0
- package/dist/ionic/{p-c32b6c20.entry.js → p-1191a2d9.entry.js} +1 -1
- package/dist/ionic/{p-78aff731.entry.js → p-16116947.entry.js} +1 -1
- package/dist/ionic/p-187aaf4a.entry.js +4 -0
- package/dist/ionic/{p-12b99129.entry.js → p-1bbd0a23.entry.js} +1 -1
- package/dist/ionic/p-1e34d434.entry.js +4 -0
- package/dist/ionic/{p-8ca65589.entry.js → p-29032e49.entry.js} +1 -1
- package/dist/ionic/{p-2e967897.entry.js → p-3624b640.entry.js} +1 -1
- package/dist/ionic/{p-0e45320b.entry.js → p-40d56a51.entry.js} +1 -1
- package/dist/ionic/{p-1e8b1767.entry.js → p-4f2c5845.entry.js} +1 -1
- package/dist/ionic/{p-ee881603.entry.js → p-528af4e6.entry.js} +1 -1
- package/dist/ionic/{p-70e05fd1.entry.js → p-54dec9b1.entry.js} +1 -1
- package/dist/ionic/{p-165d1309.entry.js → p-6383afc2.entry.js} +1 -1
- package/dist/ionic/{p-f4e6e570.entry.js → p-7a53f04c.entry.js} +1 -1
- package/dist/ionic/{p-165d8e84.entry.js → p-7b12d853.entry.js} +1 -1
- package/dist/ionic/{p-9cf01220.entry.js → p-7bac2c5f.entry.js} +1 -1
- package/dist/ionic/{p-332e4eac.entry.js → p-8cdb4ff5.entry.js} +1 -1
- package/dist/ionic/p-8d96a0cd.entry.js +4 -0
- package/dist/ionic/{p-039c8f8e.entry.js → p-92e8f208.entry.js} +1 -1
- package/dist/ionic/{p-c7d2c21b.entry.js → p-982fe1c4.entry.js} +1 -1
- package/dist/ionic/{p-82ce0043.entry.js → p-ab33ef20.entry.js} +1 -1
- package/dist/ionic/{p-f267c7dc.entry.js → p-ac434970.entry.js} +1 -1
- package/dist/ionic/{p-f550f186.entry.js → p-c0d58c8e.entry.js} +1 -1
- package/dist/ionic/{p-1cfb0bc4.entry.js → p-c575e7ce.entry.js} +1 -1
- package/dist/ionic/{p-5420fd3e.entry.js → p-cde6d39b.entry.js} +1 -1
- package/dist/ionic/{p-4c79bd85.entry.js → p-d04d66fc.entry.js} +1 -1
- package/dist/ionic/p-d3df6032.entry.js +4 -0
- package/dist/ionic/{p-e8429777.entry.js → p-dbba38cf.entry.js} +1 -1
- package/dist/ionic/p-e6c3214c.entry.js +4 -0
- package/dist/ionic/{p-22351d1b.entry.js → p-e6c465ff.entry.js} +1 -1
- package/dist/ionic/{p-e1310192.entry.js → p-ec76fec4.entry.js} +1 -1
- package/dist/ionic/{p-f5da8541.entry.js → p-f456d176.entry.js} +1 -1
- package/dist/ionic/{p-f868d51c.entry.js → p-f7db572a.entry.js} +1 -1
- package/dist/ionic/{p-0c580145.entry.js → p-f9eb54ee.entry.js} +1 -1
- package/dist/types/components/input/input.d.ts +9 -0
- package/dist/types/components/textarea/textarea.d.ts +9 -0
- package/hydrate/index.js +137 -101
- package/hydrate/index.mjs +137 -101
- package/package.json +1 -1
- package/dist/ionic/p-1488b7cc.entry.js +0 -4
- package/dist/ionic/p-3364562a.entry.js +0 -4
- package/dist/ionic/p-7922ca30.entry.js +0 -4
- package/dist/ionic/p-8de104c4.entry.js +0 -4
- package/dist/ionic/p-c91aa324.entry.js +0 -4
- package/dist/ionic/p-dff5b0b6.entry.js +0 -4
package/hydrate/index.mjs
CHANGED
|
@@ -16627,6 +16627,10 @@ class Input {
|
|
|
16627
16627
|
* is applied in both cases.
|
|
16628
16628
|
*/
|
|
16629
16629
|
this.hasFocus = false;
|
|
16630
|
+
/**
|
|
16631
|
+
* Track validation state for proper aria-live announcements
|
|
16632
|
+
*/
|
|
16633
|
+
this.isInvalid = false;
|
|
16630
16634
|
/**
|
|
16631
16635
|
* Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.
|
|
16632
16636
|
* Available options: `"off"`, `"none"`, `"on"`, `"sentences"`, `"words"`, `"characters"`.
|
|
@@ -16810,10 +16814,18 @@ class Input {
|
|
|
16810
16814
|
componentWillLoad() {
|
|
16811
16815
|
this.inheritedAttributes = Object.assign(Object.assign({}, inheritAriaAttributes(this.el)), inheritAttributes$1(this.el, ['tabindex', 'title', 'data-form-type', 'dir']));
|
|
16812
16816
|
}
|
|
16817
|
+
/**
|
|
16818
|
+
* Checks if the input is in an invalid state based on validation classes
|
|
16819
|
+
*/
|
|
16820
|
+
checkValidationState() {
|
|
16821
|
+
return this.el.classList.contains('ion-touched') && this.el.classList.contains('ion-invalid');
|
|
16822
|
+
}
|
|
16813
16823
|
connectedCallback() {
|
|
16814
16824
|
const { el } = this;
|
|
16815
16825
|
this.slotMutationController = createSlotMutationController(el, ['label', 'start', 'end'], () => forceUpdate());
|
|
16816
16826
|
this.notchController = createNotchController(el, () => this.notchSpacerEl, () => this.labelSlot);
|
|
16827
|
+
// Always set initial state
|
|
16828
|
+
this.isInvalid = this.checkValidationState();
|
|
16817
16829
|
this.debounceChanged();
|
|
16818
16830
|
}
|
|
16819
16831
|
componentDidLoad() {
|
|
@@ -16840,6 +16852,11 @@ class Input {
|
|
|
16840
16852
|
this.notchController.destroy();
|
|
16841
16853
|
this.notchController = undefined;
|
|
16842
16854
|
}
|
|
16855
|
+
// Clean up validation observer to prevent memory leaks
|
|
16856
|
+
if (this.validationObserver) {
|
|
16857
|
+
this.validationObserver.disconnect();
|
|
16858
|
+
this.validationObserver = undefined;
|
|
16859
|
+
}
|
|
16843
16860
|
}
|
|
16844
16861
|
/**
|
|
16845
16862
|
* Sets focus on the native `input` in `ion-input`. Use this method instead of the global
|
|
@@ -16948,8 +16965,8 @@ class Input {
|
|
|
16948
16965
|
];
|
|
16949
16966
|
}
|
|
16950
16967
|
getHintTextID() {
|
|
16951
|
-
const {
|
|
16952
|
-
if (
|
|
16968
|
+
const { isInvalid, helperText, errorText, helperTextId, errorTextId } = this;
|
|
16969
|
+
if (isInvalid && errorText) {
|
|
16953
16970
|
return errorTextId;
|
|
16954
16971
|
}
|
|
16955
16972
|
if (helperText) {
|
|
@@ -17062,7 +17079,7 @@ class Input {
|
|
|
17062
17079
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
17063
17080
|
*/
|
|
17064
17081
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
17065
|
-
return (hAsync(Host, { key: '
|
|
17082
|
+
return (hAsync(Host, { key: '1b0cffa910aef4eac24438bf3158e51905e70788', class: createColorClasses$1(this.color, {
|
|
17066
17083
|
[mode]: true,
|
|
17067
17084
|
'has-value': hasValue,
|
|
17068
17085
|
'has-focus': hasFocus,
|
|
@@ -17073,14 +17090,14 @@ class Input {
|
|
|
17073
17090
|
'in-item': inItem,
|
|
17074
17091
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
17075
17092
|
'input-disabled': disabled,
|
|
17076
|
-
}) }, hAsync("label", { key: '
|
|
17093
|
+
}) }, hAsync("label", { key: '24411a6cc190e2054015bca5e2827b96c65bba17', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), hAsync("div", { key: '7fa7a7f6d2778e6efbebc6f2671d8a63048f76a8', class: "native-wrapper", onClick: this.onLabelClick }, hAsync("slot", { key: '14f489e6026967ee1b2eee1519bad4230f028489', name: "start" }), hAsync("input", Object.assign({ key: 'd0f5b756394aced0831e80e91313a417bda37e6f', 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 && (hAsync("button", { key: '3e37003927082bbbfce4b3396a263969aa2289fc', "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (ev) => {
|
|
17077
17094
|
/**
|
|
17078
17095
|
* This prevents mobile browsers from
|
|
17079
17096
|
* blurring the input when the clear
|
|
17080
17097
|
* button is activated.
|
|
17081
17098
|
*/
|
|
17082
17099
|
ev.preventDefault();
|
|
17083
|
-
}, onClick: this.clearTextInput }, hAsync("ion-icon", { key: '
|
|
17100
|
+
}, onClick: this.clearTextInput }, hAsync("ion-icon", { key: '269ccdfd95a8a5b39bf0587b1494b4badd5c65b3', "aria-hidden": "true", icon: clearIconData }))), hAsync("slot", { key: '5d93a350194c4197c01c5d54f50060e7f527f065', name: "end" })), shouldRenderHighlight && hAsync("div", { key: 'fbdd13d41b37aa1e4608ba2535f7b833748eae3f', class: "input-highlight" })), this.renderBottomContent()));
|
|
17084
17101
|
}
|
|
17085
17102
|
get el() { return getElement(this); }
|
|
17086
17103
|
static get watchers() { return {
|
|
@@ -17132,6 +17149,7 @@ class Input {
|
|
|
17132
17149
|
"type": [1],
|
|
17133
17150
|
"value": [1032],
|
|
17134
17151
|
"hasFocus": [32],
|
|
17152
|
+
"isInvalid": [32],
|
|
17135
17153
|
"setFocus": [64],
|
|
17136
17154
|
"getInputElement": [64]
|
|
17137
17155
|
},
|
|
@@ -18201,11 +18219,11 @@ class ItemDivider {
|
|
|
18201
18219
|
}
|
|
18202
18220
|
render() {
|
|
18203
18221
|
const mode = getIonMode$1(this);
|
|
18204
|
-
return (hAsync(Host, { key: '
|
|
18222
|
+
return (hAsync(Host, { key: '1523095ce4af3f2611512ff0948ead659959ee4a', class: createColorClasses$1(this.color, {
|
|
18205
18223
|
[mode]: true,
|
|
18206
18224
|
'item-divider-sticky': this.sticky,
|
|
18207
18225
|
item: true,
|
|
18208
|
-
}) }, hAsync("slot", { key: '
|
|
18226
|
+
}) }, hAsync("slot", { key: '39105d888e115416c3a3fe588da44b4c61f4e5fe', name: "start" }), hAsync("div", { key: '67e16f1056bd39187f3629c1bb383b7abbda829b', class: "item-divider-inner" }, hAsync("div", { key: 'b3a218fdcc7b9aeab6e0155340152d39fa0b6329', class: "item-divider-wrapper" }, hAsync("slot", { key: '69d8587533b387869d34b075d02f61396858fc90' })), hAsync("slot", { key: 'b91c654699b3b26d0012ea0c719c4a07d1fcfbaa', name: "end" }))));
|
|
18209
18227
|
}
|
|
18210
18228
|
get el() { return getElement(this); }
|
|
18211
18229
|
static get style() { return {
|
|
@@ -18235,7 +18253,7 @@ class ItemGroup {
|
|
|
18235
18253
|
}
|
|
18236
18254
|
render() {
|
|
18237
18255
|
const mode = getIonMode$1(this);
|
|
18238
|
-
return (hAsync(Host, { key: '
|
|
18256
|
+
return (hAsync(Host, { key: 'e49dc8f99247d2431d7c6db01b6e021a0f5b1c37', role: "group", class: {
|
|
18239
18257
|
[mode]: true,
|
|
18240
18258
|
// Used internally for styling
|
|
18241
18259
|
[`item-group-${mode}`]: true,
|
|
@@ -18305,12 +18323,12 @@ class ItemOption {
|
|
|
18305
18323
|
href: this.href,
|
|
18306
18324
|
target: this.target,
|
|
18307
18325
|
};
|
|
18308
|
-
return (hAsync(Host, { key: '
|
|
18326
|
+
return (hAsync(Host, { key: '189a0040b97163b2336bf216baa71d584c5923a8', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
18309
18327
|
[mode]: true,
|
|
18310
18328
|
'item-option-disabled': disabled,
|
|
18311
18329
|
'item-option-expandable': expandable,
|
|
18312
18330
|
'ion-activatable': true,
|
|
18313
|
-
}) }, hAsync(TagType, Object.assign({ key: '
|
|
18331
|
+
}) }, hAsync(TagType, Object.assign({ key: '5a7140eb99da5ec82fe2ea3ea134513130763399' }, attrs, { class: "button-native", part: "native", disabled: disabled }), hAsync("span", { key: '9b8577e612706b43e575c9a20f2f9d35c0d1bcb1', class: "button-inner" }, hAsync("slot", { key: '9acb82f04e4822bfaa363cc2c4d29d5c0fec0ad6', name: "top" }), hAsync("div", { key: '66f5fb4fdd0c39f205574c602c793dcf109c7a17', class: "horizontal-wrapper" }, hAsync("slot", { key: '3761a32bca7c6c41b7eb394045497cfde181a62a', name: "start" }), hAsync("slot", { key: 'a96a568955cf6962883dc6771726d3d07462da00', name: "icon-only" }), hAsync("slot", { key: 'af5dfe5eb41456b9359bafe3615b576617ed7b57' }), hAsync("slot", { key: '00426958066ab7b949ff966fabad5cf8a0b54079', name: "end" })), hAsync("slot", { key: 'ae66c8bd536a9f27865f49240980d7b4b831b229', name: "bottom" })), mode === 'md' && hAsync("ion-ripple-effect", { key: '30df6c935ef8a3f28a6bc1f3bb162ca4f80aaf26' }))));
|
|
18314
18332
|
}
|
|
18315
18333
|
get el() { return getElement(this); }
|
|
18316
18334
|
static get style() { return {
|
|
@@ -18359,7 +18377,7 @@ class ItemOptions {
|
|
|
18359
18377
|
render() {
|
|
18360
18378
|
const mode = getIonMode$1(this);
|
|
18361
18379
|
const isEnd = isEndSide(this.side);
|
|
18362
|
-
return (hAsync(Host, { key: '
|
|
18380
|
+
return (hAsync(Host, { key: '05a22a505e043c2715e3805e5e26ab4668940af0', class: {
|
|
18363
18381
|
[mode]: true,
|
|
18364
18382
|
// Used internally for styling
|
|
18365
18383
|
[`item-options-${mode}`]: true,
|
|
@@ -18824,7 +18842,7 @@ class ItemSliding {
|
|
|
18824
18842
|
}
|
|
18825
18843
|
render() {
|
|
18826
18844
|
const mode = getIonMode$1(this);
|
|
18827
|
-
return (hAsync(Host, { key: '
|
|
18845
|
+
return (hAsync(Host, { key: 'd812322c9fb5da4ee16e99dc38bfb24cb4590d03', class: {
|
|
18828
18846
|
[mode]: true,
|
|
18829
18847
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
18830
18848
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -18929,13 +18947,13 @@ class Label {
|
|
|
18929
18947
|
render() {
|
|
18930
18948
|
const position = this.position;
|
|
18931
18949
|
const mode = getIonMode$1(this);
|
|
18932
|
-
return (hAsync(Host, { key: '
|
|
18950
|
+
return (hAsync(Host, { key: 'd6fba1a97189acc8ddfd64a2f009954a3e46e188', class: createColorClasses$1(this.color, {
|
|
18933
18951
|
[mode]: true,
|
|
18934
18952
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
18935
18953
|
[`label-${position}`]: position !== undefined,
|
|
18936
18954
|
[`label-no-animate`]: this.noAnimate,
|
|
18937
18955
|
'label-rtl': document.dir === 'rtl',
|
|
18938
|
-
}) }, hAsync("slot", { key: '
|
|
18956
|
+
}) }, hAsync("slot", { key: 'ce0ab50b5700398fdf50f36d02b7ad287eb71481' })));
|
|
18939
18957
|
}
|
|
18940
18958
|
get el() { return getElement(this); }
|
|
18941
18959
|
static get watchers() { return {
|
|
@@ -19033,10 +19051,10 @@ class ListHeader {
|
|
|
19033
19051
|
render() {
|
|
19034
19052
|
const { lines } = this;
|
|
19035
19053
|
const mode = getIonMode$1(this);
|
|
19036
|
-
return (hAsync(Host, { key: '
|
|
19054
|
+
return (hAsync(Host, { key: 'd9bc827ad8cc77231efddc2435831a7fc080f77d', class: createColorClasses$1(this.color, {
|
|
19037
19055
|
[mode]: true,
|
|
19038
19056
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
19039
|
-
}) }, hAsync("div", { key: '
|
|
19057
|
+
}) }, hAsync("div", { key: '02dd9698304a7b2997ea1487e2f308bebea2b44c', class: "list-header-inner" }, hAsync("slot", { key: '01d63a572c003286ae467a1ab23631e37e695042' }))));
|
|
19040
19058
|
}
|
|
19041
19059
|
static get style() { return {
|
|
19042
19060
|
ios: listHeaderIosCss,
|
|
@@ -19321,9 +19339,9 @@ class Loading {
|
|
|
19321
19339
|
* Otherwise, don't set aria-labelledby.
|
|
19322
19340
|
*/
|
|
19323
19341
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
19324
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
19342
|
+
return (hAsync(Host, Object.assign({ key: '4497183ce220242abe19ae15f328f9a92ccafbbc', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
19325
19343
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
19326
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: '
|
|
19344
|
+
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: '231dec84e424a2dc358ce95b84d6035cf43e4dea', visible: this.showBackdrop, tappable: this.backdropDismiss }), hAsync("div", { key: 'c9af29b6e6bb49a217396a5c874bbfb8835a926c', tabindex: "0", "aria-hidden": "true" }), hAsync("div", { key: 'a8659863743cdeccbe1ba810eaabfd3ebfcb86f3', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (hAsync("div", { key: '3b346f39bc71691bd8686556a1e142198a7b12fa', class: "loading-spinner" }, hAsync("ion-spinner", { key: '8dc2bf1556e5138e262827f1516c59ecd09f3520', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), hAsync("div", { key: '054164c0dbae9a0e0973dd3c8e28f5b771820310', tabindex: "0", "aria-hidden": "true" })));
|
|
19327
19345
|
}
|
|
19328
19346
|
get el() { return getElement(this); }
|
|
19329
19347
|
static get watchers() { return {
|
|
@@ -20369,14 +20387,14 @@ class Menu {
|
|
|
20369
20387
|
* the ionBackButton listener in the menu controller
|
|
20370
20388
|
* will handle closing the menu when Escape is pressed.
|
|
20371
20389
|
*/
|
|
20372
|
-
return (hAsync(Host, { key: '
|
|
20390
|
+
return (hAsync(Host, { key: 'a5c75aa40a34530b56ee3b98d706a5ac5ae300de', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
20373
20391
|
[mode]: true,
|
|
20374
20392
|
[`menu-type-${type}`]: true,
|
|
20375
20393
|
'menu-enabled': !disabled,
|
|
20376
20394
|
[`menu-side-${side}`]: true,
|
|
20377
20395
|
'menu-pane-visible': isPaneVisible,
|
|
20378
20396
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
20379
|
-
} }, hAsync("div", { key: '
|
|
20397
|
+
} }, hAsync("div", { key: '3f5f70acd4d3ed6bb445122f4f01d73db738a75f', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, hAsync("slot", { key: '3161326c9330e7f7441299c428b87a91b31a83e9' })), hAsync("ion-backdrop", { key: '917b50f38489bdf03d0c642af8b4e4e172c7dc4c', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
20380
20398
|
}
|
|
20381
20399
|
get el() { return getElement(this); }
|
|
20382
20400
|
static get watchers() { return {
|
|
@@ -20484,7 +20502,7 @@ class MenuButton {
|
|
|
20484
20502
|
type: this.type,
|
|
20485
20503
|
};
|
|
20486
20504
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
20487
|
-
return (hAsync(Host, { key: '
|
|
20505
|
+
return (hAsync(Host, { key: '9f0f0e50d39a6872508220c58e64bb2092a0d7ef', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses$1(color, {
|
|
20488
20506
|
[mode]: true,
|
|
20489
20507
|
button: true, // ion-buttons target .button
|
|
20490
20508
|
'menu-button-hidden': hidden,
|
|
@@ -20493,7 +20511,7 @@ class MenuButton {
|
|
|
20493
20511
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
20494
20512
|
'ion-activatable': true,
|
|
20495
20513
|
'ion-focusable': true,
|
|
20496
|
-
}) }, hAsync("button", Object.assign({ key: '
|
|
20514
|
+
}) }, hAsync("button", Object.assign({ key: 'ffebf7083d23501839970059ef8e411b571de197' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), hAsync("span", { key: 'cab0c1c763b3ce33ef11dba1d230f66126e59424', class: "button-inner" }, hAsync("slot", { key: 'ccfd2be8479b75b5c63e97e1ca7dfe203e9b36ee' }, hAsync("ion-icon", { key: 'ac254fe7f327b08f1ae3fcea89d5cf0e83c9a96c', part: "icon", icon: menuIcon, mode: mode, lazy: false, "aria-hidden": "true" }))), mode === 'md' && hAsync("ion-ripple-effect", { key: 'f0f17c4ca96e3eed3c1727ee00578d40af8f0115', type: "unbounded" }))));
|
|
20497
20515
|
}
|
|
20498
20516
|
get el() { return getElement(this); }
|
|
20499
20517
|
static get style() { return {
|
|
@@ -20546,10 +20564,10 @@ class MenuToggle {
|
|
|
20546
20564
|
render() {
|
|
20547
20565
|
const mode = getIonMode$1(this);
|
|
20548
20566
|
const hidden = this.autoHide && !this.visible;
|
|
20549
|
-
return (hAsync(Host, { key: '
|
|
20567
|
+
return (hAsync(Host, { key: 'cd567114769a30bd3871ed5d15bf42aed39956e1', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
20550
20568
|
[mode]: true,
|
|
20551
20569
|
'menu-toggle-hidden': hidden,
|
|
20552
|
-
} }, hAsync("slot", { key: '
|
|
20570
|
+
} }, hAsync("slot", { key: '773d4cff95ca75f23578b1e1dca53c9933f28a33' })));
|
|
20553
20571
|
}
|
|
20554
20572
|
static get style() { return menuToggleCss; }
|
|
20555
20573
|
static get cmpMeta() { return {
|
|
@@ -23214,20 +23232,20 @@ class Modal {
|
|
|
23214
23232
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
23215
23233
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
23216
23234
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
23217
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
23235
|
+
return (hAsync(Host, Object.assign({ key: '9e9a7bd591eb17a225a00b4fa2e379e94601d17f', "no-router": true,
|
|
23218
23236
|
// Allow the modal to be navigable when the handle is focusable
|
|
23219
23237
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
23220
23238
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
23221
|
-
}, 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 }), hAsync("ion-backdrop", { key: '
|
|
23239
|
+
}, 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 }), hAsync("ion-backdrop", { key: 'e5eae2c14f830f75e308fcd7f4c10c86fac5b962', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && hAsync("div", { key: 'e268f9cd310c3cf4e051b5b92524ce4fb70d005e', class: "modal-shadow" }), hAsync("div", Object.assign({ key: '9c380f36c18144c153077b15744d1c3346bce63e',
|
|
23222
23240
|
/*
|
|
23223
23241
|
role and aria-modal must be used on the
|
|
23224
23242
|
same element. They must also be set inside the
|
|
23225
23243
|
shadow DOM otherwise ion-button will not be highlighted
|
|
23226
23244
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
23227
23245
|
*/
|
|
23228
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: '
|
|
23246
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: '2d5ee6d5959d97309c306e8ce72eb0f2c19be144', class: "modal-handle",
|
|
23229
23247
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
23230
|
-
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) })), hAsync("slot", { key: '
|
|
23248
|
+
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) })), hAsync("slot", { key: '5590434c35ea04c42fc006498bc189038e15a298', onSlotchange: this.onSlotChange }))));
|
|
23231
23249
|
}
|
|
23232
23250
|
get el() { return getElement(this); }
|
|
23233
23251
|
static get watchers() { return {
|
|
@@ -24174,7 +24192,7 @@ class Nav {
|
|
|
24174
24192
|
}
|
|
24175
24193
|
}
|
|
24176
24194
|
render() {
|
|
24177
|
-
return hAsync("slot", { key: '
|
|
24195
|
+
return hAsync("slot", { key: '8067c9835d255daec61f33dba200fd3a6ff839a0' });
|
|
24178
24196
|
}
|
|
24179
24197
|
get el() { return getElement(this); }
|
|
24180
24198
|
static get watchers() { return {
|
|
@@ -24247,7 +24265,7 @@ class NavLink {
|
|
|
24247
24265
|
};
|
|
24248
24266
|
}
|
|
24249
24267
|
render() {
|
|
24250
|
-
return hAsync(Host, { key: '
|
|
24268
|
+
return hAsync(Host, { key: '6dbb1ad4f351e9215375aac11ab9b53762e07a08', onClick: this.onClick });
|
|
24251
24269
|
}
|
|
24252
24270
|
get el() { return getElement(this); }
|
|
24253
24271
|
static get cmpMeta() { return {
|
|
@@ -24278,9 +24296,9 @@ class Note {
|
|
|
24278
24296
|
}
|
|
24279
24297
|
render() {
|
|
24280
24298
|
const mode = getIonMode$1(this);
|
|
24281
|
-
return (hAsync(Host, { key: '
|
|
24299
|
+
return (hAsync(Host, { key: '0ec2ef7367d867fd7588611953f696eecdf3221e', class: createColorClasses$1(this.color, {
|
|
24282
24300
|
[mode]: true,
|
|
24283
|
-
}) }, hAsync("slot", { key: '
|
|
24301
|
+
}) }, hAsync("slot", { key: 'a200b94ddffb29cf6dabe6e984220930ea7efdef' })));
|
|
24284
24302
|
}
|
|
24285
24303
|
static get style() { return {
|
|
24286
24304
|
ios: noteIosCss,
|
|
@@ -25040,11 +25058,11 @@ class Picker {
|
|
|
25040
25058
|
render() {
|
|
25041
25059
|
const { htmlAttributes } = this;
|
|
25042
25060
|
const mode = getIonMode$1(this);
|
|
25043
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
25061
|
+
return (hAsync(Host, Object.assign({ key: 'b95440747eb80cba23ae676d399d5e5816722c58', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
25044
25062
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
25045
25063
|
}, class: Object.assign({ [mode]: true,
|
|
25046
25064
|
// Used internally for styling
|
|
25047
|
-
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: '
|
|
25065
|
+
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: '169d1c83ef40e7fcb134219a585298b403a70b0f', visible: this.showBackdrop, tappable: this.backdropDismiss }), hAsync("div", { key: '98518e5f5cea2dfb8dfa63d9545e9ae3a5765023', tabindex: "0", "aria-hidden": "true" }), hAsync("div", { key: '151755ab8eb23f9adafbfe201349398f5a69dee7', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, hAsync("div", { key: '5dcf93b2f4fe8f4fce7c7aec8f85ef45a03ef470', class: "picker-toolbar" }, this.buttons.map((b) => (hAsync("div", { class: buttonWrapperClass(b) }, hAsync("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass$1(b) }, b.text))))), hAsync("div", { key: 'fd5d66708edd38adc5a4d2fad7298969398a05e3', class: "picker-columns" }, hAsync("div", { key: '1b5830fd6cef1016af7736792c514965d6cb38a8', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => hAsync("ion-picker-legacy-column", { col: c })), hAsync("div", { key: 'c6edeca7afd69e13c9c66ba36f261974fd0f8f78', class: "picker-below-highlight" }))), hAsync("div", { key: 'e2a4b24710e30579b14b82dbfd3761b2187797b5', tabindex: "0", "aria-hidden": "true" })));
|
|
25048
25066
|
}
|
|
25049
25067
|
get el() { return getElement(this); }
|
|
25050
25068
|
static get watchers() { return {
|
|
@@ -26049,9 +26067,9 @@ class PickerColumnCmp {
|
|
|
26049
26067
|
render() {
|
|
26050
26068
|
const col = this.col;
|
|
26051
26069
|
const mode = getIonMode$1(this);
|
|
26052
|
-
return (hAsync(Host, { key: '
|
|
26070
|
+
return (hAsync(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: {
|
|
26053
26071
|
'max-width': this.col.columnWidth,
|
|
26054
|
-
} }, col.prefix && (hAsync("div", { key: '
|
|
26072
|
+
} }, col.prefix && (hAsync("div", { key: '9f0634890e66fd4ae74f826d1eea3431de121393', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), hAsync("div", { key: '337e996e5be91af16446085fe22436f213b771eb', class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: (el) => (this.optsEl = el) }, col.options.map((o, index) => (hAsync("button", { "aria-label": o.ariaLabel, class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index }, o.text)))), col.suffix && (hAsync("div", { key: 'd69a132599d78d9e5107f12228978cfce4e43098', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
26055
26073
|
}
|
|
26056
26074
|
get el() { return getElement(this); }
|
|
26057
26075
|
static get watchers() { return {
|
|
@@ -26168,10 +26186,10 @@ class PickerColumnOption {
|
|
|
26168
26186
|
render() {
|
|
26169
26187
|
const { color, disabled, ariaLabel } = this;
|
|
26170
26188
|
const mode = getIonMode$1(this);
|
|
26171
|
-
return (hAsync(Host, { key: '
|
|
26189
|
+
return (hAsync(Host, { key: 'f816729941aabcb31ddfdce3ffe2e2139030d715', class: createColorClasses$1(color, {
|
|
26172
26190
|
[mode]: true,
|
|
26173
26191
|
['option-disabled']: disabled,
|
|
26174
|
-
}) }, hAsync("button", { key: '
|
|
26192
|
+
}) }, hAsync("button", { key: '48dff7833bb60fc8331cd353a0885e6affa683d1', tabindex: "-1", "aria-label": ariaLabel, disabled: disabled, onClick: () => this.onClick() }, hAsync("slot", { key: 'f9224d0e7b7aa6c05b29abfdcfe0f30ad6ee3141' }))));
|
|
26175
26193
|
}
|
|
26176
26194
|
get el() { return getElement(this); }
|
|
26177
26195
|
static get watchers() { return {
|
|
@@ -27578,9 +27596,9 @@ class Popover {
|
|
|
27578
27596
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
27579
27597
|
const desktop = isPlatform('desktop');
|
|
27580
27598
|
const enableArrow = arrow && !parentPopover;
|
|
27581
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
27599
|
+
return (hAsync(Host, Object.assign({ key: '16866c02534968c982cf4730d2936d03a5107c8b', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
27582
27600
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
27583
|
-
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && hAsync("ion-backdrop", { key: '
|
|
27601
|
+
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'popover-translucent': this.translucent, 'overlay-hidden': true, 'popover-desktop': desktop, [`popover-side-${side}`]: true, [FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false, 'popover-nested': !!parentPopover }), onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }), !parentPopover && hAsync("ion-backdrop", { key: '0df258601a4d30df3c27aa8234a7d5e056c3ecbb', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), hAsync("div", { key: 'f94e80ed996b957b5cd09b826472b4f60e8fcc78', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && hAsync("div", { key: '185ce22f6386e8444a9cc7b8818dbfc16c463c99', class: "popover-arrow", part: "arrow" }), hAsync("div", { key: '206202b299404e110de5397b229678cca18568d3', class: "popover-content", part: "content" }, hAsync("slot", { key: 'ee543a0b92d6e35a837c0a0e4617c7b0fc4ad0b0' })))));
|
|
27584
27602
|
}
|
|
27585
27603
|
get el() { return getElement(this); }
|
|
27586
27604
|
static get watchers() { return {
|
|
@@ -27685,7 +27703,7 @@ class ProgressBar {
|
|
|
27685
27703
|
const mode = getIonMode$1(this);
|
|
27686
27704
|
// If the progress is displayed as a solid bar.
|
|
27687
27705
|
const progressSolid = buffer === 1;
|
|
27688
|
-
return (hAsync(Host, { key: '
|
|
27706
|
+
return (hAsync(Host, { key: 'dc69693b5d2dcb2b6e4296d7cb85bc27507f3fa6', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses$1(color, {
|
|
27689
27707
|
[mode]: true,
|
|
27690
27708
|
[`progress-bar-${type}`]: true,
|
|
27691
27709
|
'progress-paused': paused,
|
|
@@ -27870,7 +27888,7 @@ class Radio {
|
|
|
27870
27888
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
27871
27889
|
const mode = getIonMode$1(this);
|
|
27872
27890
|
const inItem = hostContext('ion-item', el);
|
|
27873
|
-
return (hAsync(Host, { key: '
|
|
27891
|
+
return (hAsync(Host, { key: '3353b28172b7f837d4b38964169b5b5f4ba02788', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses$1(color, {
|
|
27874
27892
|
[mode]: true,
|
|
27875
27893
|
'in-item': inItem,
|
|
27876
27894
|
'radio-checked': checked,
|
|
@@ -27881,10 +27899,10 @@ class Radio {
|
|
|
27881
27899
|
// Focus and active styling should not apply when the radio is in an item
|
|
27882
27900
|
'ion-activatable': !inItem,
|
|
27883
27901
|
'ion-focusable': !inItem,
|
|
27884
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, hAsync("label", { key: '
|
|
27902
|
+
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, hAsync("label", { key: '418a0a48366ff900e97da123abf665bbbda87fb7', class: "radio-wrapper" }, hAsync("div", { key: '6e5acdd8c8f5d0ad26632a65396afef8094153d1', class: {
|
|
27885
27903
|
'label-text-wrapper': true,
|
|
27886
27904
|
'label-text-wrapper-hidden': !hasLabel,
|
|
27887
|
-
}, part: "label" }, hAsync("slot", { key: '
|
|
27905
|
+
}, part: "label" }, hAsync("slot", { key: '10b157162cd283d624153c747679609cf0bbf11e' })), hAsync("div", { key: '4c45cca95cb105cd6df1025a26e3c045272184a0', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
27888
27906
|
}
|
|
27889
27907
|
get el() { return getElement(this); }
|
|
27890
27908
|
static get watchers() { return {
|
|
@@ -28107,7 +28125,7 @@ class RadioGroup {
|
|
|
28107
28125
|
const { label, labelId, el, name, value } = this;
|
|
28108
28126
|
const mode = getIonMode$1(this);
|
|
28109
28127
|
renderHiddenInput(true, el, name, value, false);
|
|
28110
|
-
return (hAsync(Host, { key: '81b8ebc96b2f383c36717f290d2959cc921ad6e8', role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId, onClick: this.onClick, class: mode }, this.renderHintText(), hAsync("slot", { key: '
|
|
28128
|
+
return (hAsync(Host, { key: '81b8ebc96b2f383c36717f290d2959cc921ad6e8', role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === this.errorTextId, onClick: this.onClick, class: mode }, this.renderHintText(), hAsync("div", { key: '45b09efc10776b889a8f372cba80d25a3fc849da', class: "radio-group-wrapper" }, hAsync("slot", { key: '58714934542c2fdd7396de160364f3f06b32e8f8' }))));
|
|
28111
28129
|
}
|
|
28112
28130
|
get el() { return getElement(this); }
|
|
28113
28131
|
static get watchers() { return {
|
|
@@ -28865,7 +28883,7 @@ class Range {
|
|
|
28865
28883
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
28866
28884
|
const mode = getIonMode$1(this);
|
|
28867
28885
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
28868
|
-
return (hAsync(Host, { key: '
|
|
28886
|
+
return (hAsync(Host, { key: 'ef7b01f80515bcaeb2983934ad7f10a6bd5d13ec', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses$1(this.color, {
|
|
28869
28887
|
[mode]: true,
|
|
28870
28888
|
'in-item': inItem,
|
|
28871
28889
|
'range-disabled': disabled,
|
|
@@ -28874,10 +28892,10 @@ class Range {
|
|
|
28874
28892
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
28875
28893
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
28876
28894
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
28877
|
-
}) }, hAsync("label", { key: '
|
|
28895
|
+
}) }, hAsync("label", { key: 'fd8aa90a9d52be9da024b907e68858dae424449d', class: "range-wrapper", id: "range-label" }, hAsync("div", { key: '2172b4f329c22017dd23475c80aac25ba6e753eb', class: {
|
|
28878
28896
|
'label-text-wrapper': true,
|
|
28879
28897
|
'label-text-wrapper-hidden': !hasLabel,
|
|
28880
|
-
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '
|
|
28898
|
+
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '3c318bf2ea0576646d4c010bf44573fd0f483186', class: "native-wrapper" }, hAsync("slot", { key: '6586fd6fc96271e73f8a86c202d1913ad1a26f96', name: "start" }), this.renderRangeSlider(), hAsync("slot", { key: '74ac0bc2d2cb66ef708bb729f88b6ecbc1b2155d', name: "end" })))));
|
|
28881
28899
|
}
|
|
28882
28900
|
get el() { return getElement(this); }
|
|
28883
28901
|
static get watchers() { return {
|
|
@@ -29844,7 +29862,7 @@ class Refresher {
|
|
|
29844
29862
|
}
|
|
29845
29863
|
render() {
|
|
29846
29864
|
const mode = getIonMode$1(this);
|
|
29847
|
-
return (hAsync(Host, { key: '
|
|
29865
|
+
return (hAsync(Host, { key: '2d1bd880877b698604542ab2d602d38b9504d975', slot: "fixed", class: {
|
|
29848
29866
|
[mode]: true,
|
|
29849
29867
|
// Used internally for styling
|
|
29850
29868
|
[`refresher-${mode}`]: true,
|
|
@@ -30068,7 +30086,7 @@ class RefresherContent {
|
|
|
30068
30086
|
const pullingIcon = this.pullingIcon;
|
|
30069
30087
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
30070
30088
|
const mode = getIonMode$1(this);
|
|
30071
|
-
return (hAsync(Host, { key: '
|
|
30089
|
+
return (hAsync(Host, { key: 'e235f8a9a84070ece2e2066ced234a64663bfa1d', class: mode }, hAsync("div", { key: '9121691818ddaa35801a5f442e144ac27686cf19', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (hAsync("div", { key: 'c8d65d740f1575041bd3b752c789077927397fe4', class: "refresher-pulling-icon" }, hAsync("div", { key: '309dd904977eaa788b09ea95b7fa4996a73bec5b', class: "spinner-arrow-container" }, hAsync("ion-spinner", { key: 'a2a1480f67775d56ca7822e76be1e9f983bca2f9', name: this.pullingIcon, paused: true }), mode === 'md' && this.pullingIcon === 'circular' && (hAsync("div", { key: '811d7e06d324bf4b6a18a31427a43e5177f3ae3a', class: "arrow-container" }, hAsync("ion-icon", { key: '86cc48e2e8dc054ff6ff1299094da35b524be63d', icon: caretBackSharp, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (hAsync("div", { key: '464ae097dbc95c18a2dd7dfd03f8489153dab719', class: "refresher-pulling-icon" }, hAsync("ion-icon", { key: 'ed6875978b9035add562caa743a68353743d978f', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), hAsync("div", { key: 'aff891924e44354543fec484e5cde1ca92e69904', class: "refresher-refreshing" }, this.refreshingSpinner && (hAsync("div", { key: '842d7ac4ff10a1058775493d62f31cbdcd34f7a0', class: "refresher-refreshing-icon" }, hAsync("ion-spinner", { key: '8c3e6195501e7e78d5cde1e3ad1fef90fd4a953f', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
30072
30090
|
}
|
|
30073
30091
|
get el() { return getElement(this); }
|
|
30074
30092
|
static get cmpMeta() { return {
|
|
@@ -30109,7 +30127,7 @@ class Reorder {
|
|
|
30109
30127
|
render() {
|
|
30110
30128
|
const mode = getIonMode$1(this);
|
|
30111
30129
|
const reorderIcon = mode === 'ios' ? reorderThreeOutline : reorderTwoSharp;
|
|
30112
|
-
return (hAsync(Host, { key: '
|
|
30130
|
+
return (hAsync(Host, { key: 'e6807bb349725682e99e791ac65e729a360d64e8', class: mode }, hAsync("slot", { key: '1c691cdbffa6427ba08dc12184c69559ed5d5506' }, hAsync("ion-icon", { key: '8b4150302cdca475379582b2251737b5e74079b1', icon: reorderIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
30113
30131
|
}
|
|
30114
30132
|
get el() { return getElement(this); }
|
|
30115
30133
|
static get style() { return {
|
|
@@ -30380,7 +30398,7 @@ class ReorderGroup {
|
|
|
30380
30398
|
}
|
|
30381
30399
|
render() {
|
|
30382
30400
|
const mode = getIonMode$1(this);
|
|
30383
|
-
return (hAsync(Host, { key: '
|
|
30401
|
+
return (hAsync(Host, { key: 'b9641f3061d67fbfe68317b901ec33267046e073', class: {
|
|
30384
30402
|
[mode]: true,
|
|
30385
30403
|
'reorder-enabled': !this.disabled,
|
|
30386
30404
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -30496,7 +30514,7 @@ class RippleEffect {
|
|
|
30496
30514
|
}
|
|
30497
30515
|
render() {
|
|
30498
30516
|
const mode = getIonMode$1(this);
|
|
30499
|
-
return (hAsync(Host, { key: '
|
|
30517
|
+
return (hAsync(Host, { key: 'ae9d3b1ed6773a9b9bb2267129f7e9af23b6c9fc', role: "presentation", class: {
|
|
30500
30518
|
[mode]: true,
|
|
30501
30519
|
unbounded: this.unbounded,
|
|
30502
30520
|
} }));
|
|
@@ -31455,10 +31473,10 @@ class RouterLink {
|
|
|
31455
31473
|
rel: this.rel,
|
|
31456
31474
|
target: this.target,
|
|
31457
31475
|
};
|
|
31458
|
-
return (hAsync(Host, { key: '
|
|
31476
|
+
return (hAsync(Host, { key: 'd7f2affcde45c5fbb6cb46cd1c30008ee92a68c5', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
31459
31477
|
[mode]: true,
|
|
31460
31478
|
'ion-activatable': true,
|
|
31461
|
-
}) }, hAsync("a", Object.assign({ key: '
|
|
31479
|
+
}) }, hAsync("a", Object.assign({ key: 'babafae85ca5c6429958d383feff0493ff8cf33e' }, attrs), hAsync("slot", { key: '50314e9555bbf6dffa0c50c3f763009dee59b10b' }))));
|
|
31462
31480
|
}
|
|
31463
31481
|
static get style() { return routerLinkCss; }
|
|
31464
31482
|
static get cmpMeta() { return {
|
|
@@ -31655,7 +31673,7 @@ class RouterOutlet {
|
|
|
31655
31673
|
return true;
|
|
31656
31674
|
}
|
|
31657
31675
|
render() {
|
|
31658
|
-
return hAsync("slot", { key: '
|
|
31676
|
+
return hAsync("slot", { key: '84b50f1155b0d780dff802ee13223287259fd525' });
|
|
31659
31677
|
}
|
|
31660
31678
|
get el() { return getElement(this); }
|
|
31661
31679
|
static get watchers() { return {
|
|
@@ -31688,7 +31706,7 @@ class Row {
|
|
|
31688
31706
|
registerInstance(this, hostRef);
|
|
31689
31707
|
}
|
|
31690
31708
|
render() {
|
|
31691
|
-
return (hAsync(Host, { key: '
|
|
31709
|
+
return (hAsync(Host, { key: '65592a79621bd8f75f9566db3e8c05a4b8fc6048', class: getIonMode$1(this) }, hAsync("slot", { key: '56f09784db7a0299c9ce76dfcede185b295251ff' })));
|
|
31692
31710
|
}
|
|
31693
31711
|
static get style() { return rowCss; }
|
|
31694
31712
|
static get cmpMeta() { return {
|
|
@@ -32129,8 +32147,8 @@ class Searchbar {
|
|
|
32129
32147
|
const clearIcon = this.clearIcon || (mode === 'ios' ? closeCircle : closeSharp);
|
|
32130
32148
|
const searchIcon = this.searchIcon || (mode === 'ios' ? searchOutline : searchSharp);
|
|
32131
32149
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
32132
|
-
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '
|
|
32133
|
-
return (hAsync(Host, { key: '
|
|
32150
|
+
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '19e18775856db87daeb4b9e3d7bca0461915a0df', "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" }, hAsync("div", { key: 'b3bbdcc033f3bd3441d619e4a252cef0dad4d07e', "aria-hidden": "true" }, mode === 'md' ? (hAsync("ion-icon", { "aria-hidden": "true", mode: mode, icon: this.cancelButtonIcon, lazy: false })) : (cancelButtonText))));
|
|
32151
|
+
return (hAsync(Host, { key: '074aa60e051bfb3225e87d44bbb6346c59c73574', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses$1(this.color, {
|
|
32134
32152
|
[mode]: true,
|
|
32135
32153
|
'searchbar-animated': animated,
|
|
32136
32154
|
'searchbar-disabled': this.disabled,
|
|
@@ -32140,14 +32158,14 @@ class Searchbar {
|
|
|
32140
32158
|
'searchbar-has-focus': this.focused,
|
|
32141
32159
|
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
32142
32160
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
32143
|
-
}) }, hAsync("div", { key: '
|
|
32161
|
+
}) }, hAsync("div", { key: '54f58a79fe36e85d9295157303f1be89c98bbdaf', class: "searchbar-input-container" }, hAsync("input", Object.assign({ key: 'f991a37fcf54d26b7ad10d89084764e03d97b9de', "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, hAsync("ion-icon", { key: '8b44dd90a3292c5cf872ef16a8520675f5673494', "aria-hidden": "true", mode: mode, icon: searchIcon, lazy: false, class: "searchbar-search-icon" }), hAsync("button", { key: '79d9cfed8f01268044f82811a35d323a12dca749', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
32144
32162
|
/**
|
|
32145
32163
|
* This prevents mobile browsers from
|
|
32146
32164
|
* blurring the input when the clear
|
|
32147
32165
|
* button is activated.
|
|
32148
32166
|
*/
|
|
32149
32167
|
ev.preventDefault();
|
|
32150
|
-
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: '
|
|
32168
|
+
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: 'aa3b9fa8a61f853236783ac7bcd0b113ea65ece2', "aria-hidden": "true", mode: mode, icon: clearIcon, lazy: false, class: "searchbar-clear-icon" }))), mode === 'ios' && cancelButton));
|
|
32151
32169
|
}
|
|
32152
32170
|
get el() { return getElement(this); }
|
|
32153
32171
|
static get watchers() { return {
|
|
@@ -32742,14 +32760,14 @@ class Segment {
|
|
|
32742
32760
|
}
|
|
32743
32761
|
render() {
|
|
32744
32762
|
const mode = getIonMode$1(this);
|
|
32745
|
-
return (hAsync(Host, { key: '
|
|
32763
|
+
return (hAsync(Host, { key: 'e67ed512739cf2cfe657b0c44ebc3dfb1e9fbb79', role: "tablist", onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
32746
32764
|
[mode]: true,
|
|
32747
32765
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
32748
32766
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
32749
32767
|
'segment-activated': this.activated,
|
|
32750
32768
|
'segment-disabled': this.disabled,
|
|
32751
32769
|
'segment-scrollable': this.scrollable,
|
|
32752
|
-
}) }, hAsync("slot", { key: '
|
|
32770
|
+
}) }, hAsync("slot", { key: '804d8acfcb9abfeeee38244b015fbc5c36330b9e', onSlotchange: this.onSlottedItemsChange })));
|
|
32753
32771
|
}
|
|
32754
32772
|
get el() { return getElement(this); }
|
|
32755
32773
|
static get watchers() { return {
|
|
@@ -32889,7 +32907,7 @@ class SegmentButton {
|
|
|
32889
32907
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
32890
32908
|
const mode = getIonMode$1(this);
|
|
32891
32909
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
32892
|
-
return (hAsync(Host, { key: '
|
|
32910
|
+
return (hAsync(Host, { key: '26cb7ee90455bcaa6416125802d7e5729fa05b5b', class: {
|
|
32893
32911
|
[mode]: true,
|
|
32894
32912
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
32895
32913
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -32905,7 +32923,7 @@ class SegmentButton {
|
|
|
32905
32923
|
'ion-activatable': true,
|
|
32906
32924
|
'ion-activatable-instant': true,
|
|
32907
32925
|
'ion-focusable': true,
|
|
32908
|
-
} }, hAsync("button", Object.assign({ key: '
|
|
32926
|
+
} }, hAsync("button", Object.assign({ key: '75add37f11c107d1e2cfdb154e08004e9579e863', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled }, this.inheritedAttributes), hAsync("span", { key: '8e720d2a3e304903685bf09d226a64e944d78a22', class: "button-inner" }, hAsync("slot", { key: 'c8e7b3ebf8f03042a1001155643b585283c73c65' })), mode === 'md' && hAsync("ion-ripple-effect", { key: '3586ac317b8d82c92b0ccfbfae42f8778612321b' })), hAsync("div", { key: '9cf93957da9e8dc333c8b05327bb903385b1c5f4', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, hAsync("div", { key: 'd3b6f0b3860ec6896b46703f64ed1cc8c75612e3', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
32909
32927
|
}
|
|
32910
32928
|
get el() { return getElement(this); }
|
|
32911
32929
|
static get watchers() { return {
|
|
@@ -32940,7 +32958,7 @@ class SegmentContent {
|
|
|
32940
32958
|
registerInstance(this, hostRef);
|
|
32941
32959
|
}
|
|
32942
32960
|
render() {
|
|
32943
|
-
return (hAsync(Host, { key: '
|
|
32961
|
+
return (hAsync(Host, { key: 'db6876f2aee7afa1ea8bc147337670faa68fae1c' }, hAsync("slot", { key: 'bc05714a973a5655668679033f5809a1da6db8cc' })));
|
|
32944
32962
|
}
|
|
32945
32963
|
static get style() { return segmentContentCss; }
|
|
32946
32964
|
static get cmpMeta() { return {
|
|
@@ -33053,10 +33071,10 @@ class SegmentView {
|
|
|
33053
33071
|
}
|
|
33054
33072
|
render() {
|
|
33055
33073
|
const { disabled, isManualScroll } = this;
|
|
33056
|
-
return (hAsync(Host, { key: '
|
|
33074
|
+
return (hAsync(Host, { key: '754a374e89fd4dd682eb00497e717242a6f83357', class: {
|
|
33057
33075
|
'segment-view-disabled': disabled,
|
|
33058
33076
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
33059
|
-
} }, hAsync("slot", { key: '
|
|
33077
|
+
} }, hAsync("slot", { key: '77366044eb61f0d4bba305bd6f0ef8fd1e25194b' })));
|
|
33060
33078
|
}
|
|
33061
33079
|
get el() { return getElement(this); }
|
|
33062
33080
|
static get style() { return {
|
|
@@ -33806,7 +33824,7 @@ class Select {
|
|
|
33806
33824
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
33807
33825
|
*/
|
|
33808
33826
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
33809
|
-
return (hAsync(Host, { key: '
|
|
33827
|
+
return (hAsync(Host, { key: 'c03fb65e8fc9f9aab295e07b282377d57d910519', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
33810
33828
|
[mode]: true,
|
|
33811
33829
|
'in-item': inItem,
|
|
33812
33830
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -33824,7 +33842,7 @@ class Select {
|
|
|
33824
33842
|
[`select-justify-${justify}`]: justifyEnabled,
|
|
33825
33843
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
33826
33844
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
33827
|
-
}) }, hAsync("label", { key: '
|
|
33845
|
+
}) }, hAsync("label", { key: '0d0c8ec55269adcac625f2899a547f4e7f3e3741', class: "select-wrapper", id: "select-label", onClick: this.onLabelClick }, this.renderLabelContainer(), hAsync("div", { key: 'f6dfc93c0e23cbe75a2947abde67d842db2dad78', class: "select-wrapper-inner" }, hAsync("slot", { key: '957bfadf9f101f519091419a362d3abdc2be66f6', name: "start" }), hAsync("div", { key: 'ca349202a484e7f2e884533fd330f0b136754f7d', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), hAsync("slot", { key: 'f0e62a6533ff1c8f62bd2d27f60b23385c4fa9ed', name: "end" }), !hasFloatingOrStackedLabel && this.renderSelectIcon()), hasFloatingOrStackedLabel && this.renderSelectIcon(), shouldRenderHighlight && hAsync("div", { key: 'fb840d46bafafb09898ebeebbe8c181906a3d8a2', class: "select-highlight" })), this.renderBottomContent()));
|
|
33828
33846
|
}
|
|
33829
33847
|
get el() { return getElement(this); }
|
|
33830
33848
|
static get watchers() { return {
|
|
@@ -33983,7 +34001,7 @@ class SelectModal {
|
|
|
33983
34001
|
} }, option.text))));
|
|
33984
34002
|
}
|
|
33985
34003
|
render() {
|
|
33986
|
-
return (hAsync(Host, { key: '
|
|
34004
|
+
return (hAsync(Host, { key: 'b6c0dec240b2e41985b15fdf4e5a6d3a145c1567', class: getIonMode$1(this) }, hAsync("ion-header", { key: 'cd177e85ee0f62a60a3a708342d6ab6eb19a44dc' }, hAsync("ion-toolbar", { key: 'aee8222a5a4daa540ad202b2e4cac1ef93d9558c' }, this.header !== undefined && hAsync("ion-title", { key: '5f8fecc764d97bf840d3d4cfddeeccd118ab4436' }, this.header), hAsync("ion-buttons", { key: '919033950d7c2b0101f96a9c9698219de9f568ea', slot: "end" }, hAsync("ion-button", { key: '34b571cab6dced4bde555a077a21e91800829931', onClick: () => this.closeModal() }, "Close")))), hAsync("ion-content", { key: '3c9153d26ba7a5a03d3b20fcd628d0c3031661a7' }, hAsync("ion-list", { key: 'e00b222c071bc97c82ad1bba4db95a8a5c43ed6d' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
|
|
33987
34005
|
}
|
|
33988
34006
|
get el() { return getElement(this); }
|
|
33989
34007
|
static get style() { return {
|
|
@@ -34017,7 +34035,7 @@ class SelectOption {
|
|
|
34017
34035
|
this.disabled = false;
|
|
34018
34036
|
}
|
|
34019
34037
|
render() {
|
|
34020
|
-
return hAsync(Host, { key: '
|
|
34038
|
+
return hAsync(Host, { key: '3a70eea9fa03a9acba582180761d18347c72acee', role: "option", id: this.inputId, class: getIonMode$1(this) });
|
|
34021
34039
|
}
|
|
34022
34040
|
get el() { return getElement(this); }
|
|
34023
34041
|
static get style() { return selectOptionCss; }
|
|
@@ -34134,7 +34152,7 @@ class SelectPopover {
|
|
|
34134
34152
|
render() {
|
|
34135
34153
|
const { header, message, options, subHeader } = this;
|
|
34136
34154
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
34137
|
-
return (hAsync(Host, { key: '
|
|
34155
|
+
return (hAsync(Host, { key: 'ab931b49b59283825bd2afa3f7f995b0e6e05bef', class: getIonMode$1(this) }, hAsync("ion-list", { key: '3bd12b67832607596b912a73d5b3ae9b954b244d' }, header !== undefined && hAsync("ion-list-header", { key: '97da930246edf7423a039c030d40e3ff7a5148a3' }, header), hasSubHeaderOrMessage && (hAsync("ion-item", { key: 'c579df6ea8fac07bb0c59d34c69b149656863224' }, hAsync("ion-label", { key: 'af699c5f465710ccb13b8cf8e7be66f0e8acfad1', class: "ion-text-wrap" }, subHeader !== undefined && hAsync("h3", { key: 'df9a936d42064b134e843c7229f314a2a3ec7e80' }, subHeader), message !== undefined && hAsync("p", { key: '9c3ddad378df00f106afa94e9928cf68c17124dd' }, message)))), this.renderOptions(options))));
|
|
34138
34156
|
}
|
|
34139
34157
|
get el() { return getElement(this); }
|
|
34140
34158
|
static get style() { return {
|
|
@@ -34184,11 +34202,11 @@ class SkeletonText {
|
|
|
34184
34202
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
34185
34203
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
34186
34204
|
const mode = getIonMode$1(this);
|
|
34187
|
-
return (hAsync(Host, { key: '
|
|
34205
|
+
return (hAsync(Host, { key: 'd86ef7392507cdbf48dfd3a71f02d7a83eda4aae', class: {
|
|
34188
34206
|
[mode]: true,
|
|
34189
34207
|
'skeleton-text-animated': animated,
|
|
34190
34208
|
'in-media': inMedia,
|
|
34191
|
-
} }, hAsync("span", { key: '
|
|
34209
|
+
} }, hAsync("span", { key: '8e8b5a232a6396d2bba691b05f9de4da44b2965c' }, "\u00A0")));
|
|
34192
34210
|
}
|
|
34193
34211
|
get el() { return getElement(this); }
|
|
34194
34212
|
static get style() { return skeletonTextCss; }
|
|
@@ -34240,7 +34258,7 @@ class Spinner {
|
|
|
34240
34258
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
34241
34259
|
}
|
|
34242
34260
|
}
|
|
34243
|
-
return (hAsync(Host, { key: '
|
|
34261
|
+
return (hAsync(Host, { key: 'a33d6421fcc885995fbc7a348516525f68ca496c', class: createColorClasses$1(self.color, {
|
|
34244
34262
|
[mode]: true,
|
|
34245
34263
|
[`spinner-${spinnerName}`]: true,
|
|
34246
34264
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -34339,12 +34357,12 @@ class SplitPane {
|
|
|
34339
34357
|
}
|
|
34340
34358
|
render() {
|
|
34341
34359
|
const mode = getIonMode$1(this);
|
|
34342
|
-
return (hAsync(Host, { key: '
|
|
34360
|
+
return (hAsync(Host, { key: 'd5e30df12f1f1f855da4c66f98076b9dce762c59', class: {
|
|
34343
34361
|
[mode]: true,
|
|
34344
34362
|
// Used internally for styling
|
|
34345
34363
|
[`split-pane-${mode}`]: true,
|
|
34346
34364
|
'split-pane-visible': this.visible,
|
|
34347
|
-
} }, hAsync("slot", { key: '
|
|
34365
|
+
} }, hAsync("slot", { key: '3e30d7cf3bc1cf434e16876a0cb2a36377b8e00f' })));
|
|
34348
34366
|
}
|
|
34349
34367
|
get el() { return getElement(this); }
|
|
34350
34368
|
static get watchers() { return {
|
|
@@ -34410,10 +34428,10 @@ class Tab {
|
|
|
34410
34428
|
}
|
|
34411
34429
|
render() {
|
|
34412
34430
|
const { tab, active, component } = this;
|
|
34413
|
-
return (hAsync(Host, { key: '
|
|
34431
|
+
return (hAsync(Host, { key: 'dbad8fe9f1566277d14647626308eaf1601ab01f', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
34414
34432
|
'ion-page': component === undefined,
|
|
34415
34433
|
'tab-hidden': !active,
|
|
34416
|
-
} }, hAsync("slot", { key: '
|
|
34434
|
+
} }, hAsync("slot", { key: '3be64f4e7161f6769aaf8e4dcb5293fcaa09af45' })));
|
|
34417
34435
|
}
|
|
34418
34436
|
get el() { return getElement(this); }
|
|
34419
34437
|
static get watchers() { return {
|
|
@@ -34492,11 +34510,11 @@ class TabBar {
|
|
|
34492
34510
|
const { color, translucent, keyboardVisible } = this;
|
|
34493
34511
|
const mode = getIonMode$1(this);
|
|
34494
34512
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
34495
|
-
return (hAsync(Host, { key: '
|
|
34513
|
+
return (hAsync(Host, { key: '275dc6c1b30f6928ce9039b2f445208bb3500ddc', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses$1(color, {
|
|
34496
34514
|
[mode]: true,
|
|
34497
34515
|
'tab-bar-translucent': translucent,
|
|
34498
34516
|
'tab-bar-hidden': shouldHide,
|
|
34499
|
-
}) }, hAsync("slot", { key: '
|
|
34517
|
+
}) }, hAsync("slot", { key: 'ceac20128d75c6a4a0f445f2df8deb8cc71fc4da' })));
|
|
34500
34518
|
}
|
|
34501
34519
|
get el() { return getElement(this); }
|
|
34502
34520
|
static get watchers() { return {
|
|
@@ -34592,7 +34610,7 @@ class TabButton {
|
|
|
34592
34610
|
rel,
|
|
34593
34611
|
target,
|
|
34594
34612
|
};
|
|
34595
|
-
return (hAsync(Host, { key: '
|
|
34613
|
+
return (hAsync(Host, { key: 'ce9d29ced0c781d6b2fa62cd5feb801c11fc42e8', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
34596
34614
|
[mode]: true,
|
|
34597
34615
|
'tab-selected': selected,
|
|
34598
34616
|
'tab-disabled': disabled,
|
|
@@ -34604,7 +34622,7 @@ class TabButton {
|
|
|
34604
34622
|
'ion-activatable': true,
|
|
34605
34623
|
'ion-selectable': true,
|
|
34606
34624
|
'ion-focusable': true,
|
|
34607
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
34625
|
+
} }, hAsync("a", Object.assign({ key: '01cb0ed2e77c5c1a8abd48da1bb07ac1b305d0b6' }, attrs, { class: "button-native", part: "native", role: "tab", "aria-selected": selected ? 'true' : null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? '-1' : undefined }, inheritedAttributes), hAsync("span", { key: 'd0240c05f42217cfb186b86ff8a0c9cd70b9c8df', class: "button-inner" }, hAsync("slot", { key: '0a20b84925037dbaa8bb4a495b813d3f7c2e58ac' })), mode === 'md' && hAsync("ion-ripple-effect", { key: '4c92c27178cdac89d69cffef8d2c39c3644914e8', type: "unbounded" }))));
|
|
34608
34626
|
}
|
|
34609
34627
|
get el() { return getElement(this); }
|
|
34610
34628
|
static get style() { return {
|
|
@@ -34796,7 +34814,7 @@ class Tabs {
|
|
|
34796
34814
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
34797
34815
|
}
|
|
34798
34816
|
render() {
|
|
34799
|
-
return (hAsync(Host, { key: '
|
|
34817
|
+
return (hAsync(Host, { key: '6dd1d17cc5a7aff4b910303006b4478080ca97af', onIonTabButtonClick: this.onTabClicked }, hAsync("slot", { key: 'db54a692d1a825498a116f090eb305f7cceceb5a', name: "top" }), hAsync("div", { key: 'e1b7d49ba7032e9071de2029695254e2a8303be9', class: "tabs-inner" }, hAsync("slot", { key: '4c3b58d5292c8c834e7532c51de0861068943d79' })), hAsync("slot", { key: 'dd59c0b9b217dfbfb0fccdbc6896b593278549cc', name: "bottom" })));
|
|
34800
34818
|
}
|
|
34801
34819
|
get el() { return getElement(this); }
|
|
34802
34820
|
static get style() { return tabsCss; }
|
|
@@ -34836,9 +34854,9 @@ class Text {
|
|
|
34836
34854
|
}
|
|
34837
34855
|
render() {
|
|
34838
34856
|
const mode = getIonMode$1(this);
|
|
34839
|
-
return (hAsync(Host, { key: '
|
|
34857
|
+
return (hAsync(Host, { key: '361035eae7b92dc109794348d39bad2f596eb6be', class: createColorClasses$1(this.color, {
|
|
34840
34858
|
[mode]: true,
|
|
34841
|
-
}) }, hAsync("slot", { key: '
|
|
34859
|
+
}) }, hAsync("slot", { key: 'c7b8835cf485ba9ecd73298f0529276ce1ea0852' })));
|
|
34842
34860
|
}
|
|
34843
34861
|
static get style() { return textCss; }
|
|
34844
34862
|
static get cmpMeta() { return {
|
|
@@ -34891,6 +34909,10 @@ class Textarea {
|
|
|
34891
34909
|
* is applied in both cases.
|
|
34892
34910
|
*/
|
|
34893
34911
|
this.hasFocus = false;
|
|
34912
|
+
/**
|
|
34913
|
+
* Track validation state for proper aria-live announcements
|
|
34914
|
+
*/
|
|
34915
|
+
this.isInvalid = false;
|
|
34894
34916
|
/**
|
|
34895
34917
|
* Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.
|
|
34896
34918
|
* Available options: `"off"`, `"none"`, `"on"`, `"sentences"`, `"words"`, `"characters"`.
|
|
@@ -35036,10 +35058,18 @@ class Textarea {
|
|
|
35036
35058
|
this.el.click();
|
|
35037
35059
|
}
|
|
35038
35060
|
}
|
|
35061
|
+
/**
|
|
35062
|
+
* Checks if the textarea is in an invalid state based on validation classes
|
|
35063
|
+
*/
|
|
35064
|
+
checkValidationState() {
|
|
35065
|
+
return this.el.classList.contains('ion-touched') && this.el.classList.contains('ion-invalid');
|
|
35066
|
+
}
|
|
35039
35067
|
connectedCallback() {
|
|
35040
35068
|
const { el } = this;
|
|
35041
35069
|
this.slotMutationController = createSlotMutationController(el, ['label', 'start', 'end'], () => forceUpdate());
|
|
35042
35070
|
this.notchController = createNotchController(el, () => this.notchSpacerEl, () => this.labelSlot);
|
|
35071
|
+
// Always set initial state
|
|
35072
|
+
this.isInvalid = this.checkValidationState();
|
|
35043
35073
|
this.debounceChanged();
|
|
35044
35074
|
}
|
|
35045
35075
|
disconnectedCallback() {
|
|
@@ -35051,6 +35081,11 @@ class Textarea {
|
|
|
35051
35081
|
this.notchController.destroy();
|
|
35052
35082
|
this.notchController = undefined;
|
|
35053
35083
|
}
|
|
35084
|
+
// Clean up validation observer to prevent memory leaks
|
|
35085
|
+
if (this.validationObserver) {
|
|
35086
|
+
this.validationObserver.disconnect();
|
|
35087
|
+
this.validationObserver = undefined;
|
|
35088
|
+
}
|
|
35054
35089
|
}
|
|
35055
35090
|
componentWillLoad() {
|
|
35056
35091
|
this.inheritedAttributes = Object.assign(Object.assign({}, inheritAriaAttributes(this.el)), inheritAttributes$1(this.el, ['data-form-type', 'title', 'tabindex', 'dir']));
|
|
@@ -35228,8 +35263,8 @@ class Textarea {
|
|
|
35228
35263
|
];
|
|
35229
35264
|
}
|
|
35230
35265
|
getHintTextID() {
|
|
35231
|
-
const {
|
|
35232
|
-
if (
|
|
35266
|
+
const { isInvalid, helperText, errorText, helperTextId, errorTextId } = this;
|
|
35267
|
+
if (isInvalid && errorText) {
|
|
35233
35268
|
return errorTextId;
|
|
35234
35269
|
}
|
|
35235
35270
|
if (helperText) {
|
|
@@ -35288,7 +35323,7 @@ class Textarea {
|
|
|
35288
35323
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
35289
35324
|
*/
|
|
35290
35325
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
35291
|
-
return (hAsync(Host, { key: '
|
|
35326
|
+
return (hAsync(Host, { key: 'de258335fde7fa934cf3bd58c469525440457468', class: createColorClasses$1(this.color, {
|
|
35292
35327
|
[mode]: true,
|
|
35293
35328
|
'has-value': hasValue,
|
|
35294
35329
|
'has-focus': hasFocus,
|
|
@@ -35297,7 +35332,7 @@ class Textarea {
|
|
|
35297
35332
|
[`textarea-shape-${shape}`]: shape !== undefined,
|
|
35298
35333
|
[`textarea-label-placement-${labelPlacement}`]: true,
|
|
35299
35334
|
'textarea-disabled': disabled,
|
|
35300
|
-
}) }, hAsync("label", { key: '
|
|
35335
|
+
}) }, hAsync("label", { key: '79fc87122871d45316b1c5fd0a467bf85351e804', class: "textarea-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), hAsync("div", { key: '2375888a47557b41ea3b3bf8eae1fd3f2a4032bd', class: "textarea-wrapper-inner" }, hAsync("div", { key: 'c5af683527a870bd85256b6de8a7d216283403dd', class: "start-slot-wrapper" }, hAsync("slot", { key: 'd972e5784403c5cc6ed067ae578ce23ff8303e1e', name: "start" })), hAsync("div", { key: '1092067609d912a76a8679767611e4ca3e071c6f', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el) }, hAsync("textarea", Object.assign({ key: 'cd23a4bad4d5b460830340009d24d0618f14fd73', class: "native-textarea", ref: (el) => (this.nativeInput = el), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, minLength: this.minlength, maxLength: this.maxlength, name: this.name, placeholder: this.placeholder || '', readOnly: this.readonly, required: this.required, spellcheck: this.spellcheck, cols: this.cols, rows: this.rows, wrap: this.wrap, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown, "aria-describedby": this.getHintTextID(), "aria-invalid": this.isInvalid ? 'true' : undefined }, this.inheritedAttributes), value)), hAsync("div", { key: 'c91a5456f4490ef8699f2e44b4a6c64f6084f5fd', class: "end-slot-wrapper" }, hAsync("slot", { key: 'b71ba7ba0d74091e81784432dcffa832b66f3f25', name: "end" }))), shouldRenderHighlight && hAsync("div", { key: '757c3287e1cea5ee851227407685a437f8408c54', class: "textarea-highlight" })), this.renderBottomContent()));
|
|
35301
35336
|
}
|
|
35302
35337
|
get el() { return getElement(this); }
|
|
35303
35338
|
static get watchers() { return {
|
|
@@ -35342,6 +35377,7 @@ class Textarea {
|
|
|
35342
35377
|
"labelPlacement": [1, "label-placement"],
|
|
35343
35378
|
"shape": [1],
|
|
35344
35379
|
"hasFocus": [32],
|
|
35380
|
+
"isInvalid": [32],
|
|
35345
35381
|
"setFocus": [64],
|
|
35346
35382
|
"getInputElement": [64]
|
|
35347
35383
|
},
|
|
@@ -35359,7 +35395,7 @@ class Thumbnail {
|
|
|
35359
35395
|
registerInstance(this, hostRef);
|
|
35360
35396
|
}
|
|
35361
35397
|
render() {
|
|
35362
|
-
return (hAsync(Host, { key: '
|
|
35398
|
+
return (hAsync(Host, { key: '70ada828e8cf541ab3b47f94b7e56ce34114ef88', class: getIonMode$1(this) }, hAsync("slot", { key: 'c43e105669d2bae123619b616f3af8ca2f722d61' })));
|
|
35363
35399
|
}
|
|
35364
35400
|
static get style() { return thumbnailCss; }
|
|
35365
35401
|
static get cmpMeta() { return {
|
|
@@ -36217,9 +36253,9 @@ class Toast {
|
|
|
36217
36253
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
36218
36254
|
printIonWarning('[ion-toast] - This toast is using start and end buttons with the stacked toast layout. We recommend following the best practice of using either start or end buttons with the stacked toast layout.', el);
|
|
36219
36255
|
}
|
|
36220
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
36256
|
+
return (hAsync(Host, Object.assign({ key: 'd1ecd90c87700aad4685e230cdd430aa286b8791', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
36221
36257
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
36222
|
-
}, class: createColorClasses$1(this.color, Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), hAsync("div", { key: '
|
|
36258
|
+
}, class: createColorClasses$1(this.color, Object.assign(Object.assign({ [mode]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent })), onIonToastWillDismiss: this.dispatchCancelHandler }), hAsync("div", { key: '4bfc863417324de69e222054d5cf9c452038b41e', class: wrapperClass }, hAsync("div", { key: '3417940afec0392e81b7d54c7cb00f3ab6c30d47', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (hAsync("ion-icon", { key: '6bf878fbc85c01e1e5faa9d97d46255a6511a952', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), hAsync("div", { key: '54b500348a9c37660c3aff37436d9188e4374947', class: "toast-content", role: "status", "aria-atomic": "true", "aria-live": "polite" }, !revealContentToScreenReader && header !== undefined && this.renderHeader('oldHeader', 'true'), !revealContentToScreenReader && message !== undefined && this.renderToastMessage('oldMessage', 'true'), revealContentToScreenReader && header !== undefined && this.renderHeader('header'), revealContentToScreenReader && message !== undefined && this.renderToastMessage('header')), this.renderButtons(endButtons, 'end')))));
|
|
36223
36259
|
}
|
|
36224
36260
|
get el() { return getElement(this); }
|
|
36225
36261
|
static get watchers() { return {
|
|
@@ -36521,7 +36557,7 @@ class Toggle {
|
|
|
36521
36557
|
const value = this.getValue();
|
|
36522
36558
|
const rtl = isRTL$1(el) ? 'rtl' : 'ltr';
|
|
36523
36559
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
36524
|
-
return (hAsync(Host, { key: '
|
|
36560
|
+
return (hAsync(Host, { key: '21037ea2e8326f58c84becadde475f007f931924', role: "switch", "aria-checked": `${checked}`, "aria-describedby": this.getHintTextID(), "aria-invalid": this.getHintTextID() === errorTextId, onClick: this.onClick, "aria-labelledby": hasLabel ? inputLabelId : null, "aria-label": inheritedAttributes['aria-label'] || null, "aria-disabled": disabled ? 'true' : null, tabindex: disabled ? undefined : 0, onKeyDown: this.onKeyDown, class: createColorClasses$1(color, {
|
|
36525
36561
|
[mode]: true,
|
|
36526
36562
|
'in-item': hostContext('ion-item', el),
|
|
36527
36563
|
'toggle-activated': activated,
|
|
@@ -36531,10 +36567,10 @@ class Toggle {
|
|
|
36531
36567
|
[`toggle-alignment-${alignment}`]: alignment !== undefined,
|
|
36532
36568
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
36533
36569
|
[`toggle-${rtl}`]: true,
|
|
36534
|
-
}) }, hAsync("label", { key: '
|
|
36570
|
+
}) }, hAsync("label", { key: '4d153679d118d01286f6633d1c19558a97745ff6', class: "toggle-wrapper", htmlFor: inputId }, hAsync("input", Object.assign({ key: '0dfcd4df15b8d41bec5ff5f8912503afbb7bec53', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, onFocus: () => this.onFocus(), onBlur: () => this.onBlur(), ref: (focusEl) => (this.focusEl = focusEl), required: required }, inheritedAttributes)), hAsync("div", { key: 'ffed3a07ba2ab70e5b232e6041bc3b6b34be8331', class: {
|
|
36535
36571
|
'label-text-wrapper': true,
|
|
36536
36572
|
'label-text-wrapper-hidden': !hasLabel,
|
|
36537
|
-
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '
|
|
36573
|
+
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: 'd88e1e3dcdd8293f6b61f237cd7a0511dcbce300' }), this.renderHintText()), hAsync("div", { key: '0e924225f5f0caf3c88738acb6c557bd8c1b68f6', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
36538
36574
|
}
|
|
36539
36575
|
get el() { return getElement(this); }
|
|
36540
36576
|
static get watchers() { return {
|
|
@@ -36642,10 +36678,10 @@ class Toolbar {
|
|
|
36642
36678
|
this.childrenStyles.forEach((value) => {
|
|
36643
36679
|
Object.assign(childStyles, value);
|
|
36644
36680
|
});
|
|
36645
|
-
return (hAsync(Host, { key: '
|
|
36681
|
+
return (hAsync(Host, { key: 'f6c4f669a6a61c5eac4cbb5ea0aa97c48ae5bd46', class: Object.assign(Object.assign({}, childStyles), createColorClasses$1(this.color, {
|
|
36646
36682
|
[mode]: true,
|
|
36647
36683
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
36648
|
-
})) }, hAsync("div", { key: '
|
|
36684
|
+
})) }, hAsync("div", { key: '9c81742ffa02de9ba7417025b077d05e67305074', class: "toolbar-background", part: "background" }), hAsync("div", { key: '5fc96d166fa47894a062e41541a9beee38078a36', class: "toolbar-container", part: "container" }, hAsync("slot", { key: 'b62c0d9d59a70176bdbf769aec6090d7a166853b', name: "start" }), hAsync("slot", { key: 'd01d3cc2c50e5aaa49c345b209fe8dbdf3d48131', name: "secondary" }), hAsync("div", { key: '3aaa3a2810aedd38c37eb616158ec7b9638528fc', class: "toolbar-content", part: "content" }, hAsync("slot", { key: '357246690f8d5e1cc3ca369611d4845a79edf610' })), hAsync("slot", { key: '06ed3cca4f7ebff4a54cd877dad3cc925ccf9f75', name: "primary" }), hAsync("slot", { key: 'e453d43d14a26b0d72f41e1b81a554bab8ece811', name: "end" }))));
|
|
36649
36685
|
}
|
|
36650
36686
|
get el() { return getElement(this); }
|
|
36651
36687
|
static get style() { return {
|
|
@@ -36691,11 +36727,11 @@ class ToolbarTitle {
|
|
|
36691
36727
|
render() {
|
|
36692
36728
|
const mode = getIonMode$1(this);
|
|
36693
36729
|
const size = this.getSize();
|
|
36694
|
-
return (hAsync(Host, { key: '
|
|
36730
|
+
return (hAsync(Host, { key: 'e599c0bf1b0817df3fa8360bdcd6d787f751c371', class: createColorClasses$1(this.color, {
|
|
36695
36731
|
[mode]: true,
|
|
36696
36732
|
[`title-${size}`]: true,
|
|
36697
36733
|
'title-rtl': document.dir === 'rtl',
|
|
36698
|
-
}) }, hAsync("div", { key: '
|
|
36734
|
+
}) }, hAsync("div", { key: '6e7eee9047d6759876bb31d7305b76efc7c4338c', class: "toolbar-title" }, hAsync("slot", { key: 'bf790eb4c83dd0af4f2fd1f85ab4af5819f46ff4' }))));
|
|
36699
36735
|
}
|
|
36700
36736
|
get el() { return getElement(this); }
|
|
36701
36737
|
static get watchers() { return {
|