@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.js
CHANGED
|
@@ -16629,6 +16629,10 @@ class Input {
|
|
|
16629
16629
|
* is applied in both cases.
|
|
16630
16630
|
*/
|
|
16631
16631
|
this.hasFocus = false;
|
|
16632
|
+
/**
|
|
16633
|
+
* Track validation state for proper aria-live announcements
|
|
16634
|
+
*/
|
|
16635
|
+
this.isInvalid = false;
|
|
16632
16636
|
/**
|
|
16633
16637
|
* Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.
|
|
16634
16638
|
* Available options: `"off"`, `"none"`, `"on"`, `"sentences"`, `"words"`, `"characters"`.
|
|
@@ -16812,10 +16816,18 @@ class Input {
|
|
|
16812
16816
|
componentWillLoad() {
|
|
16813
16817
|
this.inheritedAttributes = Object.assign(Object.assign({}, inheritAriaAttributes(this.el)), inheritAttributes$1(this.el, ['tabindex', 'title', 'data-form-type', 'dir']));
|
|
16814
16818
|
}
|
|
16819
|
+
/**
|
|
16820
|
+
* Checks if the input is in an invalid state based on validation classes
|
|
16821
|
+
*/
|
|
16822
|
+
checkValidationState() {
|
|
16823
|
+
return this.el.classList.contains('ion-touched') && this.el.classList.contains('ion-invalid');
|
|
16824
|
+
}
|
|
16815
16825
|
connectedCallback() {
|
|
16816
16826
|
const { el } = this;
|
|
16817
16827
|
this.slotMutationController = createSlotMutationController(el, ['label', 'start', 'end'], () => forceUpdate());
|
|
16818
16828
|
this.notchController = createNotchController(el, () => this.notchSpacerEl, () => this.labelSlot);
|
|
16829
|
+
// Always set initial state
|
|
16830
|
+
this.isInvalid = this.checkValidationState();
|
|
16819
16831
|
this.debounceChanged();
|
|
16820
16832
|
}
|
|
16821
16833
|
componentDidLoad() {
|
|
@@ -16842,6 +16854,11 @@ class Input {
|
|
|
16842
16854
|
this.notchController.destroy();
|
|
16843
16855
|
this.notchController = undefined;
|
|
16844
16856
|
}
|
|
16857
|
+
// Clean up validation observer to prevent memory leaks
|
|
16858
|
+
if (this.validationObserver) {
|
|
16859
|
+
this.validationObserver.disconnect();
|
|
16860
|
+
this.validationObserver = undefined;
|
|
16861
|
+
}
|
|
16845
16862
|
}
|
|
16846
16863
|
/**
|
|
16847
16864
|
* Sets focus on the native `input` in `ion-input`. Use this method instead of the global
|
|
@@ -16950,8 +16967,8 @@ class Input {
|
|
|
16950
16967
|
];
|
|
16951
16968
|
}
|
|
16952
16969
|
getHintTextID() {
|
|
16953
|
-
const {
|
|
16954
|
-
if (
|
|
16970
|
+
const { isInvalid, helperText, errorText, helperTextId, errorTextId } = this;
|
|
16971
|
+
if (isInvalid && errorText) {
|
|
16955
16972
|
return errorTextId;
|
|
16956
16973
|
}
|
|
16957
16974
|
if (helperText) {
|
|
@@ -17064,7 +17081,7 @@ class Input {
|
|
|
17064
17081
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
17065
17082
|
*/
|
|
17066
17083
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
17067
|
-
return (hAsync(Host, { key: '
|
|
17084
|
+
return (hAsync(Host, { key: '1b0cffa910aef4eac24438bf3158e51905e70788', class: createColorClasses$1(this.color, {
|
|
17068
17085
|
[mode]: true,
|
|
17069
17086
|
'has-value': hasValue,
|
|
17070
17087
|
'has-focus': hasFocus,
|
|
@@ -17075,14 +17092,14 @@ class Input {
|
|
|
17075
17092
|
'in-item': inItem,
|
|
17076
17093
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
17077
17094
|
'input-disabled': disabled,
|
|
17078
|
-
}) }, hAsync("label", { key: '
|
|
17095
|
+
}) }, 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) => {
|
|
17079
17096
|
/**
|
|
17080
17097
|
* This prevents mobile browsers from
|
|
17081
17098
|
* blurring the input when the clear
|
|
17082
17099
|
* button is activated.
|
|
17083
17100
|
*/
|
|
17084
17101
|
ev.preventDefault();
|
|
17085
|
-
}, onClick: this.clearTextInput }, hAsync("ion-icon", { key: '
|
|
17102
|
+
}, 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()));
|
|
17086
17103
|
}
|
|
17087
17104
|
get el() { return getElement(this); }
|
|
17088
17105
|
static get watchers() { return {
|
|
@@ -17134,6 +17151,7 @@ class Input {
|
|
|
17134
17151
|
"type": [1],
|
|
17135
17152
|
"value": [1032],
|
|
17136
17153
|
"hasFocus": [32],
|
|
17154
|
+
"isInvalid": [32],
|
|
17137
17155
|
"setFocus": [64],
|
|
17138
17156
|
"getInputElement": [64]
|
|
17139
17157
|
},
|
|
@@ -18203,11 +18221,11 @@ class ItemDivider {
|
|
|
18203
18221
|
}
|
|
18204
18222
|
render() {
|
|
18205
18223
|
const mode = getIonMode$1(this);
|
|
18206
|
-
return (hAsync(Host, { key: '
|
|
18224
|
+
return (hAsync(Host, { key: '1523095ce4af3f2611512ff0948ead659959ee4a', class: createColorClasses$1(this.color, {
|
|
18207
18225
|
[mode]: true,
|
|
18208
18226
|
'item-divider-sticky': this.sticky,
|
|
18209
18227
|
item: true,
|
|
18210
|
-
}) }, hAsync("slot", { key: '
|
|
18228
|
+
}) }, 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" }))));
|
|
18211
18229
|
}
|
|
18212
18230
|
get el() { return getElement(this); }
|
|
18213
18231
|
static get style() { return {
|
|
@@ -18237,7 +18255,7 @@ class ItemGroup {
|
|
|
18237
18255
|
}
|
|
18238
18256
|
render() {
|
|
18239
18257
|
const mode = getIonMode$1(this);
|
|
18240
|
-
return (hAsync(Host, { key: '
|
|
18258
|
+
return (hAsync(Host, { key: 'e49dc8f99247d2431d7c6db01b6e021a0f5b1c37', role: "group", class: {
|
|
18241
18259
|
[mode]: true,
|
|
18242
18260
|
// Used internally for styling
|
|
18243
18261
|
[`item-group-${mode}`]: true,
|
|
@@ -18307,12 +18325,12 @@ class ItemOption {
|
|
|
18307
18325
|
href: this.href,
|
|
18308
18326
|
target: this.target,
|
|
18309
18327
|
};
|
|
18310
|
-
return (hAsync(Host, { key: '
|
|
18328
|
+
return (hAsync(Host, { key: '189a0040b97163b2336bf216baa71d584c5923a8', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
18311
18329
|
[mode]: true,
|
|
18312
18330
|
'item-option-disabled': disabled,
|
|
18313
18331
|
'item-option-expandable': expandable,
|
|
18314
18332
|
'ion-activatable': true,
|
|
18315
|
-
}) }, hAsync(TagType, Object.assign({ key: '
|
|
18333
|
+
}) }, 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' }))));
|
|
18316
18334
|
}
|
|
18317
18335
|
get el() { return getElement(this); }
|
|
18318
18336
|
static get style() { return {
|
|
@@ -18361,7 +18379,7 @@ class ItemOptions {
|
|
|
18361
18379
|
render() {
|
|
18362
18380
|
const mode = getIonMode$1(this);
|
|
18363
18381
|
const isEnd = isEndSide(this.side);
|
|
18364
|
-
return (hAsync(Host, { key: '
|
|
18382
|
+
return (hAsync(Host, { key: '05a22a505e043c2715e3805e5e26ab4668940af0', class: {
|
|
18365
18383
|
[mode]: true,
|
|
18366
18384
|
// Used internally for styling
|
|
18367
18385
|
[`item-options-${mode}`]: true,
|
|
@@ -18826,7 +18844,7 @@ class ItemSliding {
|
|
|
18826
18844
|
}
|
|
18827
18845
|
render() {
|
|
18828
18846
|
const mode = getIonMode$1(this);
|
|
18829
|
-
return (hAsync(Host, { key: '
|
|
18847
|
+
return (hAsync(Host, { key: 'd812322c9fb5da4ee16e99dc38bfb24cb4590d03', class: {
|
|
18830
18848
|
[mode]: true,
|
|
18831
18849
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
18832
18850
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -18931,13 +18949,13 @@ class Label {
|
|
|
18931
18949
|
render() {
|
|
18932
18950
|
const position = this.position;
|
|
18933
18951
|
const mode = getIonMode$1(this);
|
|
18934
|
-
return (hAsync(Host, { key: '
|
|
18952
|
+
return (hAsync(Host, { key: 'd6fba1a97189acc8ddfd64a2f009954a3e46e188', class: createColorClasses$1(this.color, {
|
|
18935
18953
|
[mode]: true,
|
|
18936
18954
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
18937
18955
|
[`label-${position}`]: position !== undefined,
|
|
18938
18956
|
[`label-no-animate`]: this.noAnimate,
|
|
18939
18957
|
'label-rtl': document.dir === 'rtl',
|
|
18940
|
-
}) }, hAsync("slot", { key: '
|
|
18958
|
+
}) }, hAsync("slot", { key: 'ce0ab50b5700398fdf50f36d02b7ad287eb71481' })));
|
|
18941
18959
|
}
|
|
18942
18960
|
get el() { return getElement(this); }
|
|
18943
18961
|
static get watchers() { return {
|
|
@@ -19035,10 +19053,10 @@ class ListHeader {
|
|
|
19035
19053
|
render() {
|
|
19036
19054
|
const { lines } = this;
|
|
19037
19055
|
const mode = getIonMode$1(this);
|
|
19038
|
-
return (hAsync(Host, { key: '
|
|
19056
|
+
return (hAsync(Host, { key: 'd9bc827ad8cc77231efddc2435831a7fc080f77d', class: createColorClasses$1(this.color, {
|
|
19039
19057
|
[mode]: true,
|
|
19040
19058
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
19041
|
-
}) }, hAsync("div", { key: '
|
|
19059
|
+
}) }, hAsync("div", { key: '02dd9698304a7b2997ea1487e2f308bebea2b44c', class: "list-header-inner" }, hAsync("slot", { key: '01d63a572c003286ae467a1ab23631e37e695042' }))));
|
|
19042
19060
|
}
|
|
19043
19061
|
static get style() { return {
|
|
19044
19062
|
ios: listHeaderIosCss,
|
|
@@ -19323,9 +19341,9 @@ class Loading {
|
|
|
19323
19341
|
* Otherwise, don't set aria-labelledby.
|
|
19324
19342
|
*/
|
|
19325
19343
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
19326
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
19344
|
+
return (hAsync(Host, Object.assign({ key: '4497183ce220242abe19ae15f328f9a92ccafbbc', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
19327
19345
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
19328
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: '
|
|
19346
|
+
}, 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" })));
|
|
19329
19347
|
}
|
|
19330
19348
|
get el() { return getElement(this); }
|
|
19331
19349
|
static get watchers() { return {
|
|
@@ -20371,14 +20389,14 @@ class Menu {
|
|
|
20371
20389
|
* the ionBackButton listener in the menu controller
|
|
20372
20390
|
* will handle closing the menu when Escape is pressed.
|
|
20373
20391
|
*/
|
|
20374
|
-
return (hAsync(Host, { key: '
|
|
20392
|
+
return (hAsync(Host, { key: 'a5c75aa40a34530b56ee3b98d706a5ac5ae300de', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
20375
20393
|
[mode]: true,
|
|
20376
20394
|
[`menu-type-${type}`]: true,
|
|
20377
20395
|
'menu-enabled': !disabled,
|
|
20378
20396
|
[`menu-side-${side}`]: true,
|
|
20379
20397
|
'menu-pane-visible': isPaneVisible,
|
|
20380
20398
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
20381
|
-
} }, hAsync("div", { key: '
|
|
20399
|
+
} }, 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" })));
|
|
20382
20400
|
}
|
|
20383
20401
|
get el() { return getElement(this); }
|
|
20384
20402
|
static get watchers() { return {
|
|
@@ -20486,7 +20504,7 @@ class MenuButton {
|
|
|
20486
20504
|
type: this.type,
|
|
20487
20505
|
};
|
|
20488
20506
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
20489
|
-
return (hAsync(Host, { key: '
|
|
20507
|
+
return (hAsync(Host, { key: '9f0f0e50d39a6872508220c58e64bb2092a0d7ef', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses$1(color, {
|
|
20490
20508
|
[mode]: true,
|
|
20491
20509
|
button: true, // ion-buttons target .button
|
|
20492
20510
|
'menu-button-hidden': hidden,
|
|
@@ -20495,7 +20513,7 @@ class MenuButton {
|
|
|
20495
20513
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
20496
20514
|
'ion-activatable': true,
|
|
20497
20515
|
'ion-focusable': true,
|
|
20498
|
-
}) }, hAsync("button", Object.assign({ key: '
|
|
20516
|
+
}) }, 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" }))));
|
|
20499
20517
|
}
|
|
20500
20518
|
get el() { return getElement(this); }
|
|
20501
20519
|
static get style() { return {
|
|
@@ -20548,10 +20566,10 @@ class MenuToggle {
|
|
|
20548
20566
|
render() {
|
|
20549
20567
|
const mode = getIonMode$1(this);
|
|
20550
20568
|
const hidden = this.autoHide && !this.visible;
|
|
20551
|
-
return (hAsync(Host, { key: '
|
|
20569
|
+
return (hAsync(Host, { key: 'cd567114769a30bd3871ed5d15bf42aed39956e1', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
20552
20570
|
[mode]: true,
|
|
20553
20571
|
'menu-toggle-hidden': hidden,
|
|
20554
|
-
} }, hAsync("slot", { key: '
|
|
20572
|
+
} }, hAsync("slot", { key: '773d4cff95ca75f23578b1e1dca53c9933f28a33' })));
|
|
20555
20573
|
}
|
|
20556
20574
|
static get style() { return menuToggleCss; }
|
|
20557
20575
|
static get cmpMeta() { return {
|
|
@@ -23216,20 +23234,20 @@ class Modal {
|
|
|
23216
23234
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
23217
23235
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
23218
23236
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
23219
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
23237
|
+
return (hAsync(Host, Object.assign({ key: '9e9a7bd591eb17a225a00b4fa2e379e94601d17f', "no-router": true,
|
|
23220
23238
|
// Allow the modal to be navigable when the handle is focusable
|
|
23221
23239
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
23222
23240
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
23223
|
-
}, 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: '
|
|
23241
|
+
}, 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',
|
|
23224
23242
|
/*
|
|
23225
23243
|
role and aria-modal must be used on the
|
|
23226
23244
|
same element. They must also be set inside the
|
|
23227
23245
|
shadow DOM otherwise ion-button will not be highlighted
|
|
23228
23246
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
23229
23247
|
*/
|
|
23230
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: '
|
|
23248
|
+
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",
|
|
23231
23249
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
23232
|
-
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: '
|
|
23250
|
+
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 }))));
|
|
23233
23251
|
}
|
|
23234
23252
|
get el() { return getElement(this); }
|
|
23235
23253
|
static get watchers() { return {
|
|
@@ -24176,7 +24194,7 @@ class Nav {
|
|
|
24176
24194
|
}
|
|
24177
24195
|
}
|
|
24178
24196
|
render() {
|
|
24179
|
-
return hAsync("slot", { key: '
|
|
24197
|
+
return hAsync("slot", { key: '8067c9835d255daec61f33dba200fd3a6ff839a0' });
|
|
24180
24198
|
}
|
|
24181
24199
|
get el() { return getElement(this); }
|
|
24182
24200
|
static get watchers() { return {
|
|
@@ -24249,7 +24267,7 @@ class NavLink {
|
|
|
24249
24267
|
};
|
|
24250
24268
|
}
|
|
24251
24269
|
render() {
|
|
24252
|
-
return hAsync(Host, { key: '
|
|
24270
|
+
return hAsync(Host, { key: '6dbb1ad4f351e9215375aac11ab9b53762e07a08', onClick: this.onClick });
|
|
24253
24271
|
}
|
|
24254
24272
|
get el() { return getElement(this); }
|
|
24255
24273
|
static get cmpMeta() { return {
|
|
@@ -24280,9 +24298,9 @@ class Note {
|
|
|
24280
24298
|
}
|
|
24281
24299
|
render() {
|
|
24282
24300
|
const mode = getIonMode$1(this);
|
|
24283
|
-
return (hAsync(Host, { key: '
|
|
24301
|
+
return (hAsync(Host, { key: '0ec2ef7367d867fd7588611953f696eecdf3221e', class: createColorClasses$1(this.color, {
|
|
24284
24302
|
[mode]: true,
|
|
24285
|
-
}) }, hAsync("slot", { key: '
|
|
24303
|
+
}) }, hAsync("slot", { key: 'a200b94ddffb29cf6dabe6e984220930ea7efdef' })));
|
|
24286
24304
|
}
|
|
24287
24305
|
static get style() { return {
|
|
24288
24306
|
ios: noteIosCss,
|
|
@@ -25042,11 +25060,11 @@ class Picker {
|
|
|
25042
25060
|
render() {
|
|
25043
25061
|
const { htmlAttributes } = this;
|
|
25044
25062
|
const mode = getIonMode$1(this);
|
|
25045
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
25063
|
+
return (hAsync(Host, Object.assign({ key: 'b95440747eb80cba23ae676d399d5e5816722c58', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
25046
25064
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
25047
25065
|
}, class: Object.assign({ [mode]: true,
|
|
25048
25066
|
// Used internally for styling
|
|
25049
|
-
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: '
|
|
25067
|
+
[`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" })));
|
|
25050
25068
|
}
|
|
25051
25069
|
get el() { return getElement(this); }
|
|
25052
25070
|
static get watchers() { return {
|
|
@@ -26051,9 +26069,9 @@ class PickerColumnCmp {
|
|
|
26051
26069
|
render() {
|
|
26052
26070
|
const col = this.col;
|
|
26053
26071
|
const mode = getIonMode$1(this);
|
|
26054
|
-
return (hAsync(Host, { key: '
|
|
26072
|
+
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: {
|
|
26055
26073
|
'max-width': this.col.columnWidth,
|
|
26056
|
-
} }, col.prefix && (hAsync("div", { key: '
|
|
26074
|
+
} }, 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))));
|
|
26057
26075
|
}
|
|
26058
26076
|
get el() { return getElement(this); }
|
|
26059
26077
|
static get watchers() { return {
|
|
@@ -26170,10 +26188,10 @@ class PickerColumnOption {
|
|
|
26170
26188
|
render() {
|
|
26171
26189
|
const { color, disabled, ariaLabel } = this;
|
|
26172
26190
|
const mode = getIonMode$1(this);
|
|
26173
|
-
return (hAsync(Host, { key: '
|
|
26191
|
+
return (hAsync(Host, { key: 'f816729941aabcb31ddfdce3ffe2e2139030d715', class: createColorClasses$1(color, {
|
|
26174
26192
|
[mode]: true,
|
|
26175
26193
|
['option-disabled']: disabled,
|
|
26176
|
-
}) }, hAsync("button", { key: '
|
|
26194
|
+
}) }, hAsync("button", { key: '48dff7833bb60fc8331cd353a0885e6affa683d1', tabindex: "-1", "aria-label": ariaLabel, disabled: disabled, onClick: () => this.onClick() }, hAsync("slot", { key: 'f9224d0e7b7aa6c05b29abfdcfe0f30ad6ee3141' }))));
|
|
26177
26195
|
}
|
|
26178
26196
|
get el() { return getElement(this); }
|
|
26179
26197
|
static get watchers() { return {
|
|
@@ -27580,9 +27598,9 @@ class Popover {
|
|
|
27580
27598
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
27581
27599
|
const desktop = isPlatform('desktop');
|
|
27582
27600
|
const enableArrow = arrow && !parentPopover;
|
|
27583
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
27601
|
+
return (hAsync(Host, Object.assign({ key: '16866c02534968c982cf4730d2936d03a5107c8b', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
27584
27602
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
27585
|
-
}, 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: '
|
|
27603
|
+
}, 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' })))));
|
|
27586
27604
|
}
|
|
27587
27605
|
get el() { return getElement(this); }
|
|
27588
27606
|
static get watchers() { return {
|
|
@@ -27687,7 +27705,7 @@ class ProgressBar {
|
|
|
27687
27705
|
const mode = getIonMode$1(this);
|
|
27688
27706
|
// If the progress is displayed as a solid bar.
|
|
27689
27707
|
const progressSolid = buffer === 1;
|
|
27690
|
-
return (hAsync(Host, { key: '
|
|
27708
|
+
return (hAsync(Host, { key: 'dc69693b5d2dcb2b6e4296d7cb85bc27507f3fa6', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses$1(color, {
|
|
27691
27709
|
[mode]: true,
|
|
27692
27710
|
[`progress-bar-${type}`]: true,
|
|
27693
27711
|
'progress-paused': paused,
|
|
@@ -27872,7 +27890,7 @@ class Radio {
|
|
|
27872
27890
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
27873
27891
|
const mode = getIonMode$1(this);
|
|
27874
27892
|
const inItem = hostContext('ion-item', el);
|
|
27875
|
-
return (hAsync(Host, { key: '
|
|
27893
|
+
return (hAsync(Host, { key: '3353b28172b7f837d4b38964169b5b5f4ba02788', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses$1(color, {
|
|
27876
27894
|
[mode]: true,
|
|
27877
27895
|
'in-item': inItem,
|
|
27878
27896
|
'radio-checked': checked,
|
|
@@ -27883,10 +27901,10 @@ class Radio {
|
|
|
27883
27901
|
// Focus and active styling should not apply when the radio is in an item
|
|
27884
27902
|
'ion-activatable': !inItem,
|
|
27885
27903
|
'ion-focusable': !inItem,
|
|
27886
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, hAsync("label", { key: '
|
|
27904
|
+
}), 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: {
|
|
27887
27905
|
'label-text-wrapper': true,
|
|
27888
27906
|
'label-text-wrapper-hidden': !hasLabel,
|
|
27889
|
-
}, part: "label" }, hAsync("slot", { key: '
|
|
27907
|
+
}, part: "label" }, hAsync("slot", { key: '10b157162cd283d624153c747679609cf0bbf11e' })), hAsync("div", { key: '4c45cca95cb105cd6df1025a26e3c045272184a0', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
27890
27908
|
}
|
|
27891
27909
|
get el() { return getElement(this); }
|
|
27892
27910
|
static get watchers() { return {
|
|
@@ -28109,7 +28127,7 @@ class RadioGroup {
|
|
|
28109
28127
|
const { label, labelId, el, name, value } = this;
|
|
28110
28128
|
const mode = getIonMode$1(this);
|
|
28111
28129
|
renderHiddenInput(true, el, name, value, false);
|
|
28112
|
-
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: '
|
|
28130
|
+
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' }))));
|
|
28113
28131
|
}
|
|
28114
28132
|
get el() { return getElement(this); }
|
|
28115
28133
|
static get watchers() { return {
|
|
@@ -28867,7 +28885,7 @@ class Range {
|
|
|
28867
28885
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
28868
28886
|
const mode = getIonMode$1(this);
|
|
28869
28887
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
28870
|
-
return (hAsync(Host, { key: '
|
|
28888
|
+
return (hAsync(Host, { key: 'ef7b01f80515bcaeb2983934ad7f10a6bd5d13ec', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses$1(this.color, {
|
|
28871
28889
|
[mode]: true,
|
|
28872
28890
|
'in-item': inItem,
|
|
28873
28891
|
'range-disabled': disabled,
|
|
@@ -28876,10 +28894,10 @@ class Range {
|
|
|
28876
28894
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
28877
28895
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
28878
28896
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
28879
|
-
}) }, hAsync("label", { key: '
|
|
28897
|
+
}) }, hAsync("label", { key: 'fd8aa90a9d52be9da024b907e68858dae424449d', class: "range-wrapper", id: "range-label" }, hAsync("div", { key: '2172b4f329c22017dd23475c80aac25ba6e753eb', class: {
|
|
28880
28898
|
'label-text-wrapper': true,
|
|
28881
28899
|
'label-text-wrapper-hidden': !hasLabel,
|
|
28882
|
-
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '
|
|
28900
|
+
}, 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" })))));
|
|
28883
28901
|
}
|
|
28884
28902
|
get el() { return getElement(this); }
|
|
28885
28903
|
static get watchers() { return {
|
|
@@ -29846,7 +29864,7 @@ class Refresher {
|
|
|
29846
29864
|
}
|
|
29847
29865
|
render() {
|
|
29848
29866
|
const mode = getIonMode$1(this);
|
|
29849
|
-
return (hAsync(Host, { key: '
|
|
29867
|
+
return (hAsync(Host, { key: '2d1bd880877b698604542ab2d602d38b9504d975', slot: "fixed", class: {
|
|
29850
29868
|
[mode]: true,
|
|
29851
29869
|
// Used internally for styling
|
|
29852
29870
|
[`refresher-${mode}`]: true,
|
|
@@ -30070,7 +30088,7 @@ class RefresherContent {
|
|
|
30070
30088
|
const pullingIcon = this.pullingIcon;
|
|
30071
30089
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
30072
30090
|
const mode = getIonMode$1(this);
|
|
30073
|
-
return (hAsync(Host, { key: '
|
|
30091
|
+
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())));
|
|
30074
30092
|
}
|
|
30075
30093
|
get el() { return getElement(this); }
|
|
30076
30094
|
static get cmpMeta() { return {
|
|
@@ -30111,7 +30129,7 @@ class Reorder {
|
|
|
30111
30129
|
render() {
|
|
30112
30130
|
const mode = getIonMode$1(this);
|
|
30113
30131
|
const reorderIcon = mode === 'ios' ? reorderThreeOutline : reorderTwoSharp;
|
|
30114
|
-
return (hAsync(Host, { key: '
|
|
30132
|
+
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" }))));
|
|
30115
30133
|
}
|
|
30116
30134
|
get el() { return getElement(this); }
|
|
30117
30135
|
static get style() { return {
|
|
@@ -30382,7 +30400,7 @@ class ReorderGroup {
|
|
|
30382
30400
|
}
|
|
30383
30401
|
render() {
|
|
30384
30402
|
const mode = getIonMode$1(this);
|
|
30385
|
-
return (hAsync(Host, { key: '
|
|
30403
|
+
return (hAsync(Host, { key: 'b9641f3061d67fbfe68317b901ec33267046e073', class: {
|
|
30386
30404
|
[mode]: true,
|
|
30387
30405
|
'reorder-enabled': !this.disabled,
|
|
30388
30406
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -30498,7 +30516,7 @@ class RippleEffect {
|
|
|
30498
30516
|
}
|
|
30499
30517
|
render() {
|
|
30500
30518
|
const mode = getIonMode$1(this);
|
|
30501
|
-
return (hAsync(Host, { key: '
|
|
30519
|
+
return (hAsync(Host, { key: 'ae9d3b1ed6773a9b9bb2267129f7e9af23b6c9fc', role: "presentation", class: {
|
|
30502
30520
|
[mode]: true,
|
|
30503
30521
|
unbounded: this.unbounded,
|
|
30504
30522
|
} }));
|
|
@@ -31457,10 +31475,10 @@ class RouterLink {
|
|
|
31457
31475
|
rel: this.rel,
|
|
31458
31476
|
target: this.target,
|
|
31459
31477
|
};
|
|
31460
|
-
return (hAsync(Host, { key: '
|
|
31478
|
+
return (hAsync(Host, { key: 'd7f2affcde45c5fbb6cb46cd1c30008ee92a68c5', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
31461
31479
|
[mode]: true,
|
|
31462
31480
|
'ion-activatable': true,
|
|
31463
|
-
}) }, hAsync("a", Object.assign({ key: '
|
|
31481
|
+
}) }, hAsync("a", Object.assign({ key: 'babafae85ca5c6429958d383feff0493ff8cf33e' }, attrs), hAsync("slot", { key: '50314e9555bbf6dffa0c50c3f763009dee59b10b' }))));
|
|
31464
31482
|
}
|
|
31465
31483
|
static get style() { return routerLinkCss; }
|
|
31466
31484
|
static get cmpMeta() { return {
|
|
@@ -31657,7 +31675,7 @@ class RouterOutlet {
|
|
|
31657
31675
|
return true;
|
|
31658
31676
|
}
|
|
31659
31677
|
render() {
|
|
31660
|
-
return hAsync("slot", { key: '
|
|
31678
|
+
return hAsync("slot", { key: '84b50f1155b0d780dff802ee13223287259fd525' });
|
|
31661
31679
|
}
|
|
31662
31680
|
get el() { return getElement(this); }
|
|
31663
31681
|
static get watchers() { return {
|
|
@@ -31690,7 +31708,7 @@ class Row {
|
|
|
31690
31708
|
registerInstance(this, hostRef);
|
|
31691
31709
|
}
|
|
31692
31710
|
render() {
|
|
31693
|
-
return (hAsync(Host, { key: '
|
|
31711
|
+
return (hAsync(Host, { key: '65592a79621bd8f75f9566db3e8c05a4b8fc6048', class: getIonMode$1(this) }, hAsync("slot", { key: '56f09784db7a0299c9ce76dfcede185b295251ff' })));
|
|
31694
31712
|
}
|
|
31695
31713
|
static get style() { return rowCss; }
|
|
31696
31714
|
static get cmpMeta() { return {
|
|
@@ -32131,8 +32149,8 @@ class Searchbar {
|
|
|
32131
32149
|
const clearIcon = this.clearIcon || (mode === 'ios' ? closeCircle : closeSharp);
|
|
32132
32150
|
const searchIcon = this.searchIcon || (mode === 'ios' ? searchOutline : searchSharp);
|
|
32133
32151
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
32134
|
-
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '
|
|
32135
|
-
return (hAsync(Host, { key: '
|
|
32152
|
+
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))));
|
|
32153
|
+
return (hAsync(Host, { key: '074aa60e051bfb3225e87d44bbb6346c59c73574', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses$1(this.color, {
|
|
32136
32154
|
[mode]: true,
|
|
32137
32155
|
'searchbar-animated': animated,
|
|
32138
32156
|
'searchbar-disabled': this.disabled,
|
|
@@ -32142,14 +32160,14 @@ class Searchbar {
|
|
|
32142
32160
|
'searchbar-has-focus': this.focused,
|
|
32143
32161
|
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
32144
32162
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
32145
|
-
}) }, hAsync("div", { key: '
|
|
32163
|
+
}) }, 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) => {
|
|
32146
32164
|
/**
|
|
32147
32165
|
* This prevents mobile browsers from
|
|
32148
32166
|
* blurring the input when the clear
|
|
32149
32167
|
* button is activated.
|
|
32150
32168
|
*/
|
|
32151
32169
|
ev.preventDefault();
|
|
32152
|
-
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: '
|
|
32170
|
+
}, 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));
|
|
32153
32171
|
}
|
|
32154
32172
|
get el() { return getElement(this); }
|
|
32155
32173
|
static get watchers() { return {
|
|
@@ -32744,14 +32762,14 @@ class Segment {
|
|
|
32744
32762
|
}
|
|
32745
32763
|
render() {
|
|
32746
32764
|
const mode = getIonMode$1(this);
|
|
32747
|
-
return (hAsync(Host, { key: '
|
|
32765
|
+
return (hAsync(Host, { key: 'e67ed512739cf2cfe657b0c44ebc3dfb1e9fbb79', role: "tablist", onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
32748
32766
|
[mode]: true,
|
|
32749
32767
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
32750
32768
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
32751
32769
|
'segment-activated': this.activated,
|
|
32752
32770
|
'segment-disabled': this.disabled,
|
|
32753
32771
|
'segment-scrollable': this.scrollable,
|
|
32754
|
-
}) }, hAsync("slot", { key: '
|
|
32772
|
+
}) }, hAsync("slot", { key: '804d8acfcb9abfeeee38244b015fbc5c36330b9e', onSlotchange: this.onSlottedItemsChange })));
|
|
32755
32773
|
}
|
|
32756
32774
|
get el() { return getElement(this); }
|
|
32757
32775
|
static get watchers() { return {
|
|
@@ -32891,7 +32909,7 @@ class SegmentButton {
|
|
|
32891
32909
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
32892
32910
|
const mode = getIonMode$1(this);
|
|
32893
32911
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
32894
|
-
return (hAsync(Host, { key: '
|
|
32912
|
+
return (hAsync(Host, { key: '26cb7ee90455bcaa6416125802d7e5729fa05b5b', class: {
|
|
32895
32913
|
[mode]: true,
|
|
32896
32914
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
32897
32915
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -32907,7 +32925,7 @@ class SegmentButton {
|
|
|
32907
32925
|
'ion-activatable': true,
|
|
32908
32926
|
'ion-activatable-instant': true,
|
|
32909
32927
|
'ion-focusable': true,
|
|
32910
|
-
} }, hAsync("button", Object.assign({ key: '
|
|
32928
|
+
} }, 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" }))));
|
|
32911
32929
|
}
|
|
32912
32930
|
get el() { return getElement(this); }
|
|
32913
32931
|
static get watchers() { return {
|
|
@@ -32942,7 +32960,7 @@ class SegmentContent {
|
|
|
32942
32960
|
registerInstance(this, hostRef);
|
|
32943
32961
|
}
|
|
32944
32962
|
render() {
|
|
32945
|
-
return (hAsync(Host, { key: '
|
|
32963
|
+
return (hAsync(Host, { key: 'db6876f2aee7afa1ea8bc147337670faa68fae1c' }, hAsync("slot", { key: 'bc05714a973a5655668679033f5809a1da6db8cc' })));
|
|
32946
32964
|
}
|
|
32947
32965
|
static get style() { return segmentContentCss; }
|
|
32948
32966
|
static get cmpMeta() { return {
|
|
@@ -33055,10 +33073,10 @@ class SegmentView {
|
|
|
33055
33073
|
}
|
|
33056
33074
|
render() {
|
|
33057
33075
|
const { disabled, isManualScroll } = this;
|
|
33058
|
-
return (hAsync(Host, { key: '
|
|
33076
|
+
return (hAsync(Host, { key: '754a374e89fd4dd682eb00497e717242a6f83357', class: {
|
|
33059
33077
|
'segment-view-disabled': disabled,
|
|
33060
33078
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
33061
|
-
} }, hAsync("slot", { key: '
|
|
33079
|
+
} }, hAsync("slot", { key: '77366044eb61f0d4bba305bd6f0ef8fd1e25194b' })));
|
|
33062
33080
|
}
|
|
33063
33081
|
get el() { return getElement(this); }
|
|
33064
33082
|
static get style() { return {
|
|
@@ -33808,7 +33826,7 @@ class Select {
|
|
|
33808
33826
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
33809
33827
|
*/
|
|
33810
33828
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
33811
|
-
return (hAsync(Host, { key: '
|
|
33829
|
+
return (hAsync(Host, { key: 'c03fb65e8fc9f9aab295e07b282377d57d910519', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
33812
33830
|
[mode]: true,
|
|
33813
33831
|
'in-item': inItem,
|
|
33814
33832
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -33826,7 +33844,7 @@ class Select {
|
|
|
33826
33844
|
[`select-justify-${justify}`]: justifyEnabled,
|
|
33827
33845
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
33828
33846
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
33829
|
-
}) }, hAsync("label", { key: '
|
|
33847
|
+
}) }, 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()));
|
|
33830
33848
|
}
|
|
33831
33849
|
get el() { return getElement(this); }
|
|
33832
33850
|
static get watchers() { return {
|
|
@@ -33985,7 +34003,7 @@ class SelectModal {
|
|
|
33985
34003
|
} }, option.text))));
|
|
33986
34004
|
}
|
|
33987
34005
|
render() {
|
|
33988
|
-
return (hAsync(Host, { key: '
|
|
34006
|
+
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()))));
|
|
33989
34007
|
}
|
|
33990
34008
|
get el() { return getElement(this); }
|
|
33991
34009
|
static get style() { return {
|
|
@@ -34019,7 +34037,7 @@ class SelectOption {
|
|
|
34019
34037
|
this.disabled = false;
|
|
34020
34038
|
}
|
|
34021
34039
|
render() {
|
|
34022
|
-
return hAsync(Host, { key: '
|
|
34040
|
+
return hAsync(Host, { key: '3a70eea9fa03a9acba582180761d18347c72acee', role: "option", id: this.inputId, class: getIonMode$1(this) });
|
|
34023
34041
|
}
|
|
34024
34042
|
get el() { return getElement(this); }
|
|
34025
34043
|
static get style() { return selectOptionCss; }
|
|
@@ -34136,7 +34154,7 @@ class SelectPopover {
|
|
|
34136
34154
|
render() {
|
|
34137
34155
|
const { header, message, options, subHeader } = this;
|
|
34138
34156
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
34139
|
-
return (hAsync(Host, { key: '
|
|
34157
|
+
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))));
|
|
34140
34158
|
}
|
|
34141
34159
|
get el() { return getElement(this); }
|
|
34142
34160
|
static get style() { return {
|
|
@@ -34186,11 +34204,11 @@ class SkeletonText {
|
|
|
34186
34204
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
34187
34205
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
34188
34206
|
const mode = getIonMode$1(this);
|
|
34189
|
-
return (hAsync(Host, { key: '
|
|
34207
|
+
return (hAsync(Host, { key: 'd86ef7392507cdbf48dfd3a71f02d7a83eda4aae', class: {
|
|
34190
34208
|
[mode]: true,
|
|
34191
34209
|
'skeleton-text-animated': animated,
|
|
34192
34210
|
'in-media': inMedia,
|
|
34193
|
-
} }, hAsync("span", { key: '
|
|
34211
|
+
} }, hAsync("span", { key: '8e8b5a232a6396d2bba691b05f9de4da44b2965c' }, "\u00A0")));
|
|
34194
34212
|
}
|
|
34195
34213
|
get el() { return getElement(this); }
|
|
34196
34214
|
static get style() { return skeletonTextCss; }
|
|
@@ -34242,7 +34260,7 @@ class Spinner {
|
|
|
34242
34260
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
34243
34261
|
}
|
|
34244
34262
|
}
|
|
34245
|
-
return (hAsync(Host, { key: '
|
|
34263
|
+
return (hAsync(Host, { key: 'a33d6421fcc885995fbc7a348516525f68ca496c', class: createColorClasses$1(self.color, {
|
|
34246
34264
|
[mode]: true,
|
|
34247
34265
|
[`spinner-${spinnerName}`]: true,
|
|
34248
34266
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -34341,12 +34359,12 @@ class SplitPane {
|
|
|
34341
34359
|
}
|
|
34342
34360
|
render() {
|
|
34343
34361
|
const mode = getIonMode$1(this);
|
|
34344
|
-
return (hAsync(Host, { key: '
|
|
34362
|
+
return (hAsync(Host, { key: 'd5e30df12f1f1f855da4c66f98076b9dce762c59', class: {
|
|
34345
34363
|
[mode]: true,
|
|
34346
34364
|
// Used internally for styling
|
|
34347
34365
|
[`split-pane-${mode}`]: true,
|
|
34348
34366
|
'split-pane-visible': this.visible,
|
|
34349
|
-
} }, hAsync("slot", { key: '
|
|
34367
|
+
} }, hAsync("slot", { key: '3e30d7cf3bc1cf434e16876a0cb2a36377b8e00f' })));
|
|
34350
34368
|
}
|
|
34351
34369
|
get el() { return getElement(this); }
|
|
34352
34370
|
static get watchers() { return {
|
|
@@ -34412,10 +34430,10 @@ class Tab {
|
|
|
34412
34430
|
}
|
|
34413
34431
|
render() {
|
|
34414
34432
|
const { tab, active, component } = this;
|
|
34415
|
-
return (hAsync(Host, { key: '
|
|
34433
|
+
return (hAsync(Host, { key: 'dbad8fe9f1566277d14647626308eaf1601ab01f', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
34416
34434
|
'ion-page': component === undefined,
|
|
34417
34435
|
'tab-hidden': !active,
|
|
34418
|
-
} }, hAsync("slot", { key: '
|
|
34436
|
+
} }, hAsync("slot", { key: '3be64f4e7161f6769aaf8e4dcb5293fcaa09af45' })));
|
|
34419
34437
|
}
|
|
34420
34438
|
get el() { return getElement(this); }
|
|
34421
34439
|
static get watchers() { return {
|
|
@@ -34494,11 +34512,11 @@ class TabBar {
|
|
|
34494
34512
|
const { color, translucent, keyboardVisible } = this;
|
|
34495
34513
|
const mode = getIonMode$1(this);
|
|
34496
34514
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
34497
|
-
return (hAsync(Host, { key: '
|
|
34515
|
+
return (hAsync(Host, { key: '275dc6c1b30f6928ce9039b2f445208bb3500ddc', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses$1(color, {
|
|
34498
34516
|
[mode]: true,
|
|
34499
34517
|
'tab-bar-translucent': translucent,
|
|
34500
34518
|
'tab-bar-hidden': shouldHide,
|
|
34501
|
-
}) }, hAsync("slot", { key: '
|
|
34519
|
+
}) }, hAsync("slot", { key: 'ceac20128d75c6a4a0f445f2df8deb8cc71fc4da' })));
|
|
34502
34520
|
}
|
|
34503
34521
|
get el() { return getElement(this); }
|
|
34504
34522
|
static get watchers() { return {
|
|
@@ -34594,7 +34612,7 @@ class TabButton {
|
|
|
34594
34612
|
rel,
|
|
34595
34613
|
target,
|
|
34596
34614
|
};
|
|
34597
|
-
return (hAsync(Host, { key: '
|
|
34615
|
+
return (hAsync(Host, { key: 'ce9d29ced0c781d6b2fa62cd5feb801c11fc42e8', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
34598
34616
|
[mode]: true,
|
|
34599
34617
|
'tab-selected': selected,
|
|
34600
34618
|
'tab-disabled': disabled,
|
|
@@ -34606,7 +34624,7 @@ class TabButton {
|
|
|
34606
34624
|
'ion-activatable': true,
|
|
34607
34625
|
'ion-selectable': true,
|
|
34608
34626
|
'ion-focusable': true,
|
|
34609
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
34627
|
+
} }, 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" }))));
|
|
34610
34628
|
}
|
|
34611
34629
|
get el() { return getElement(this); }
|
|
34612
34630
|
static get style() { return {
|
|
@@ -34798,7 +34816,7 @@ class Tabs {
|
|
|
34798
34816
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
34799
34817
|
}
|
|
34800
34818
|
render() {
|
|
34801
|
-
return (hAsync(Host, { key: '
|
|
34819
|
+
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" })));
|
|
34802
34820
|
}
|
|
34803
34821
|
get el() { return getElement(this); }
|
|
34804
34822
|
static get style() { return tabsCss; }
|
|
@@ -34838,9 +34856,9 @@ class Text {
|
|
|
34838
34856
|
}
|
|
34839
34857
|
render() {
|
|
34840
34858
|
const mode = getIonMode$1(this);
|
|
34841
|
-
return (hAsync(Host, { key: '
|
|
34859
|
+
return (hAsync(Host, { key: '361035eae7b92dc109794348d39bad2f596eb6be', class: createColorClasses$1(this.color, {
|
|
34842
34860
|
[mode]: true,
|
|
34843
|
-
}) }, hAsync("slot", { key: '
|
|
34861
|
+
}) }, hAsync("slot", { key: 'c7b8835cf485ba9ecd73298f0529276ce1ea0852' })));
|
|
34844
34862
|
}
|
|
34845
34863
|
static get style() { return textCss; }
|
|
34846
34864
|
static get cmpMeta() { return {
|
|
@@ -34893,6 +34911,10 @@ class Textarea {
|
|
|
34893
34911
|
* is applied in both cases.
|
|
34894
34912
|
*/
|
|
34895
34913
|
this.hasFocus = false;
|
|
34914
|
+
/**
|
|
34915
|
+
* Track validation state for proper aria-live announcements
|
|
34916
|
+
*/
|
|
34917
|
+
this.isInvalid = false;
|
|
34896
34918
|
/**
|
|
34897
34919
|
* Indicates whether and how the text value should be automatically capitalized as it is entered/edited by the user.
|
|
34898
34920
|
* Available options: `"off"`, `"none"`, `"on"`, `"sentences"`, `"words"`, `"characters"`.
|
|
@@ -35038,10 +35060,18 @@ class Textarea {
|
|
|
35038
35060
|
this.el.click();
|
|
35039
35061
|
}
|
|
35040
35062
|
}
|
|
35063
|
+
/**
|
|
35064
|
+
* Checks if the textarea is in an invalid state based on validation classes
|
|
35065
|
+
*/
|
|
35066
|
+
checkValidationState() {
|
|
35067
|
+
return this.el.classList.contains('ion-touched') && this.el.classList.contains('ion-invalid');
|
|
35068
|
+
}
|
|
35041
35069
|
connectedCallback() {
|
|
35042
35070
|
const { el } = this;
|
|
35043
35071
|
this.slotMutationController = createSlotMutationController(el, ['label', 'start', 'end'], () => forceUpdate());
|
|
35044
35072
|
this.notchController = createNotchController(el, () => this.notchSpacerEl, () => this.labelSlot);
|
|
35073
|
+
// Always set initial state
|
|
35074
|
+
this.isInvalid = this.checkValidationState();
|
|
35045
35075
|
this.debounceChanged();
|
|
35046
35076
|
}
|
|
35047
35077
|
disconnectedCallback() {
|
|
@@ -35053,6 +35083,11 @@ class Textarea {
|
|
|
35053
35083
|
this.notchController.destroy();
|
|
35054
35084
|
this.notchController = undefined;
|
|
35055
35085
|
}
|
|
35086
|
+
// Clean up validation observer to prevent memory leaks
|
|
35087
|
+
if (this.validationObserver) {
|
|
35088
|
+
this.validationObserver.disconnect();
|
|
35089
|
+
this.validationObserver = undefined;
|
|
35090
|
+
}
|
|
35056
35091
|
}
|
|
35057
35092
|
componentWillLoad() {
|
|
35058
35093
|
this.inheritedAttributes = Object.assign(Object.assign({}, inheritAriaAttributes(this.el)), inheritAttributes$1(this.el, ['data-form-type', 'title', 'tabindex', 'dir']));
|
|
@@ -35230,8 +35265,8 @@ class Textarea {
|
|
|
35230
35265
|
];
|
|
35231
35266
|
}
|
|
35232
35267
|
getHintTextID() {
|
|
35233
|
-
const {
|
|
35234
|
-
if (
|
|
35268
|
+
const { isInvalid, helperText, errorText, helperTextId, errorTextId } = this;
|
|
35269
|
+
if (isInvalid && errorText) {
|
|
35235
35270
|
return errorTextId;
|
|
35236
35271
|
}
|
|
35237
35272
|
if (helperText) {
|
|
@@ -35290,7 +35325,7 @@ class Textarea {
|
|
|
35290
35325
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
35291
35326
|
*/
|
|
35292
35327
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
35293
|
-
return (hAsync(Host, { key: '
|
|
35328
|
+
return (hAsync(Host, { key: 'de258335fde7fa934cf3bd58c469525440457468', class: createColorClasses$1(this.color, {
|
|
35294
35329
|
[mode]: true,
|
|
35295
35330
|
'has-value': hasValue,
|
|
35296
35331
|
'has-focus': hasFocus,
|
|
@@ -35299,7 +35334,7 @@ class Textarea {
|
|
|
35299
35334
|
[`textarea-shape-${shape}`]: shape !== undefined,
|
|
35300
35335
|
[`textarea-label-placement-${labelPlacement}`]: true,
|
|
35301
35336
|
'textarea-disabled': disabled,
|
|
35302
|
-
}) }, hAsync("label", { key: '
|
|
35337
|
+
}) }, 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()));
|
|
35303
35338
|
}
|
|
35304
35339
|
get el() { return getElement(this); }
|
|
35305
35340
|
static get watchers() { return {
|
|
@@ -35344,6 +35379,7 @@ class Textarea {
|
|
|
35344
35379
|
"labelPlacement": [1, "label-placement"],
|
|
35345
35380
|
"shape": [1],
|
|
35346
35381
|
"hasFocus": [32],
|
|
35382
|
+
"isInvalid": [32],
|
|
35347
35383
|
"setFocus": [64],
|
|
35348
35384
|
"getInputElement": [64]
|
|
35349
35385
|
},
|
|
@@ -35361,7 +35397,7 @@ class Thumbnail {
|
|
|
35361
35397
|
registerInstance(this, hostRef);
|
|
35362
35398
|
}
|
|
35363
35399
|
render() {
|
|
35364
|
-
return (hAsync(Host, { key: '
|
|
35400
|
+
return (hAsync(Host, { key: '70ada828e8cf541ab3b47f94b7e56ce34114ef88', class: getIonMode$1(this) }, hAsync("slot", { key: 'c43e105669d2bae123619b616f3af8ca2f722d61' })));
|
|
35365
35401
|
}
|
|
35366
35402
|
static get style() { return thumbnailCss; }
|
|
35367
35403
|
static get cmpMeta() { return {
|
|
@@ -36219,9 +36255,9 @@ class Toast {
|
|
|
36219
36255
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
36220
36256
|
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);
|
|
36221
36257
|
}
|
|
36222
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
36258
|
+
return (hAsync(Host, Object.assign({ key: 'd1ecd90c87700aad4685e230cdd430aa286b8791', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
36223
36259
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
36224
|
-
}, 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: '
|
|
36260
|
+
}, 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')))));
|
|
36225
36261
|
}
|
|
36226
36262
|
get el() { return getElement(this); }
|
|
36227
36263
|
static get watchers() { return {
|
|
@@ -36523,7 +36559,7 @@ class Toggle {
|
|
|
36523
36559
|
const value = this.getValue();
|
|
36524
36560
|
const rtl = isRTL$1(el) ? 'rtl' : 'ltr';
|
|
36525
36561
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
36526
|
-
return (hAsync(Host, { key: '
|
|
36562
|
+
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, {
|
|
36527
36563
|
[mode]: true,
|
|
36528
36564
|
'in-item': hostContext('ion-item', el),
|
|
36529
36565
|
'toggle-activated': activated,
|
|
@@ -36533,10 +36569,10 @@ class Toggle {
|
|
|
36533
36569
|
[`toggle-alignment-${alignment}`]: alignment !== undefined,
|
|
36534
36570
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
36535
36571
|
[`toggle-${rtl}`]: true,
|
|
36536
|
-
}) }, hAsync("label", { key: '
|
|
36572
|
+
}) }, 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: {
|
|
36537
36573
|
'label-text-wrapper': true,
|
|
36538
36574
|
'label-text-wrapper-hidden': !hasLabel,
|
|
36539
|
-
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '
|
|
36575
|
+
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: 'd88e1e3dcdd8293f6b61f237cd7a0511dcbce300' }), this.renderHintText()), hAsync("div", { key: '0e924225f5f0caf3c88738acb6c557bd8c1b68f6', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
36540
36576
|
}
|
|
36541
36577
|
get el() { return getElement(this); }
|
|
36542
36578
|
static get watchers() { return {
|
|
@@ -36644,10 +36680,10 @@ class Toolbar {
|
|
|
36644
36680
|
this.childrenStyles.forEach((value) => {
|
|
36645
36681
|
Object.assign(childStyles, value);
|
|
36646
36682
|
});
|
|
36647
|
-
return (hAsync(Host, { key: '
|
|
36683
|
+
return (hAsync(Host, { key: 'f6c4f669a6a61c5eac4cbb5ea0aa97c48ae5bd46', class: Object.assign(Object.assign({}, childStyles), createColorClasses$1(this.color, {
|
|
36648
36684
|
[mode]: true,
|
|
36649
36685
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
36650
|
-
})) }, hAsync("div", { key: '
|
|
36686
|
+
})) }, 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" }))));
|
|
36651
36687
|
}
|
|
36652
36688
|
get el() { return getElement(this); }
|
|
36653
36689
|
static get style() { return {
|
|
@@ -36693,11 +36729,11 @@ class ToolbarTitle {
|
|
|
36693
36729
|
render() {
|
|
36694
36730
|
const mode = getIonMode$1(this);
|
|
36695
36731
|
const size = this.getSize();
|
|
36696
|
-
return (hAsync(Host, { key: '
|
|
36732
|
+
return (hAsync(Host, { key: 'e599c0bf1b0817df3fa8360bdcd6d787f751c371', class: createColorClasses$1(this.color, {
|
|
36697
36733
|
[mode]: true,
|
|
36698
36734
|
[`title-${size}`]: true,
|
|
36699
36735
|
'title-rtl': document.dir === 'rtl',
|
|
36700
|
-
}) }, hAsync("div", { key: '
|
|
36736
|
+
}) }, hAsync("div", { key: '6e7eee9047d6759876bb31d7305b76efc7c4338c', class: "toolbar-title" }, hAsync("slot", { key: 'bf790eb4c83dd0af4f2fd1f85ab4af5819f46ff4' }))));
|
|
36701
36737
|
}
|
|
36702
36738
|
get el() { return getElement(this); }
|
|
36703
36739
|
static get watchers() { return {
|