@ionic/core 8.7.18-dev.11770238549.14c2a85f → 8.7.18-dev.11770316772.1e7b64e5
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-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 +32 -3
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-router-link.js +2 -2
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +4 -4
- package/components/ion-segment-button.js +2 -2
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +2 -2
- package/components/ion-segment.js +2 -2
- package/components/ion-select-option.js +1 -1
- package/components/ion-select.js +2 -2
- package/components/ion-skeleton-text.js +2 -2
- package/components/ion-split-pane.js +2 -2
- package/components/ion-tab-bar.js +2 -2
- package/components/ion-tab-button.js +2 -2
- package/components/ion-tab.js +2 -2
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +2 -2
- package/components/ion-textarea.js +2 -2
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-toast.js +2 -2
- package/components/ion-toggle.js +3 -3
- package/components/label.js +2 -2
- package/components/list-header.js +2 -2
- package/components/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-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 +33 -4
- package/dist/cjs/ion-reorder_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +4 -4
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-select-modal.cjs.entry.js +1 -1
- package/dist/cjs/ion-select_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +2 -2
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/collection/components/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 +70 -4
- package/dist/collection/components/refresher-content/refresher-content.js +1 -1
- package/dist/collection/components/reorder/reorder.js +1 -1
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-outlet/router-outlet.js +1 -1
- package/dist/collection/components/row/row.js +1 -1
- package/dist/collection/components/searchbar/searchbar.js +4 -4
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment-button/segment-button.js +2 -2
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.js +2 -2
- package/dist/collection/components/select/select.js +2 -2
- package/dist/collection/components/select-modal/select-modal.js +1 -1
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +1 -1
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/textarea.js +2 -2
- package/dist/collection/components/thumbnail/thumbnail.js +1 -1
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/docs.json +49 -4
- 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-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 +33 -4
- package/dist/esm/ion-reorder_2.entry.js +2 -2
- package/dist/esm/ion-ripple-effect.entry.js +1 -1
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +4 -4
- package/dist/esm/ion-segment-content.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +4 -4
- package/dist/esm/ion-select-modal.entry.js +1 -1
- package/dist/esm/ion-select_3.entry.js +4 -4
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +4 -4
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +2 -2
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/html.html-data.json +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-cc2a9936.entry.js → p-020af078.entry.js} +1 -1
- package/dist/ionic/{p-be263062.entry.js → p-02d76786.entry.js} +1 -1
- package/dist/ionic/{p-01e27965.entry.js → p-074839fc.entry.js} +1 -1
- package/dist/ionic/{p-530fcd71.entry.js → p-0dfa5a37.entry.js} +1 -1
- package/dist/ionic/{p-31db96da.entry.js → p-0e8c8a10.entry.js} +1 -1
- package/dist/ionic/{p-363d1209.entry.js → p-1647c46c.entry.js} +1 -1
- package/dist/ionic/{p-5d6fb6e3.entry.js → p-172a579f.entry.js} +1 -1
- package/dist/ionic/{p-e338f669.entry.js → p-1ccd6829.entry.js} +1 -1
- package/dist/ionic/{p-6f37536a.entry.js → p-2a939845.entry.js} +1 -1
- package/dist/ionic/{p-97eb0812.entry.js → p-2dbb90cb.entry.js} +1 -1
- package/dist/ionic/{p-221a3d8c.entry.js → p-316c0420.entry.js} +1 -1
- package/dist/ionic/{p-a4a9f5ae.entry.js → p-31f7095f.entry.js} +1 -1
- package/dist/ionic/{p-fbb00634.entry.js → p-370e4237.entry.js} +1 -1
- package/dist/ionic/{p-2668188b.entry.js → p-3a6caca9.entry.js} +1 -1
- package/dist/ionic/{p-72af946b.entry.js → p-4e41ea20.entry.js} +1 -1
- package/dist/ionic/p-51a60e0f.entry.js +4 -0
- package/dist/ionic/{p-eaf3f5ff.entry.js → p-6241ce47.entry.js} +1 -1
- package/dist/ionic/{p-82d5bb3d.entry.js → p-6d070558.entry.js} +1 -1
- package/dist/ionic/{p-5c8f7253.entry.js → p-72c38b88.entry.js} +1 -1
- package/dist/ionic/{p-b8551510.entry.js → p-86f53961.entry.js} +1 -1
- package/dist/ionic/p-90f2d3ff.entry.js +4 -0
- package/dist/ionic/{p-3ec563c1.entry.js → p-91840a80.entry.js} +1 -1
- package/dist/ionic/p-94de5cfa.entry.js +4 -0
- package/dist/ionic/{p-30333874.entry.js → p-a127bee2.entry.js} +1 -1
- package/dist/ionic/{p-42db6404.entry.js → p-c19af093.entry.js} +1 -1
- package/dist/ionic/{p-bce86e56.entry.js → p-d126e8d3.entry.js} +1 -1
- package/dist/ionic/{p-2bd1ea35.entry.js → p-d3014190.entry.js} +1 -1
- package/dist/ionic/{p-46a38cfd.entry.js → p-db82892c.entry.js} +1 -1
- package/dist/ionic/{p-652318c3.entry.js → p-dbbe606a.entry.js} +1 -1
- package/dist/ionic/p-dd1aef77.entry.js +4 -0
- package/dist/ionic/{p-4eec1a5e.entry.js → p-eb024a5b.entry.js} +1 -1
- package/dist/ionic/{p-fb0271ae.entry.js → p-f8f22cc0.entry.js} +1 -1
- package/dist/ionic/{p-bc293244.entry.js → p-f9061316.entry.js} +1 -1
- package/dist/types/components/refresher/refresher-interface.d.ts +7 -0
- package/dist/types/components/refresher/refresher.d.ts +16 -3
- package/dist/types/components.d.ts +16 -5
- package/dist/types/interface.d.ts +1 -1
- package/hydrate/index.js +125 -96
- package/hydrate/index.mjs +125 -96
- package/package.json +1 -1
- package/dist/ionic/p-0ca0fe9c.entry.js +0 -4
- package/dist/ionic/p-7f98e710.entry.js +0 -4
- package/dist/ionic/p-906bb44d.entry.js +0 -4
- package/dist/ionic/p-c175d792.entry.js +0 -4
package/hydrate/index.js
CHANGED
|
@@ -18573,11 +18573,11 @@ class ItemDivider {
|
|
|
18573
18573
|
}
|
|
18574
18574
|
render() {
|
|
18575
18575
|
const mode = getIonMode$1(this);
|
|
18576
|
-
return (hAsync(Host, { key: '
|
|
18576
|
+
return (hAsync(Host, { key: '1523095ce4af3f2611512ff0948ead659959ee4a', class: createColorClasses$1(this.color, {
|
|
18577
18577
|
[mode]: true,
|
|
18578
18578
|
'item-divider-sticky': this.sticky,
|
|
18579
18579
|
item: true,
|
|
18580
|
-
}) }, hAsync("slot", { key: '
|
|
18580
|
+
}) }, 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" }))));
|
|
18581
18581
|
}
|
|
18582
18582
|
get el() { return getElement(this); }
|
|
18583
18583
|
static get style() { return {
|
|
@@ -18607,7 +18607,7 @@ class ItemGroup {
|
|
|
18607
18607
|
}
|
|
18608
18608
|
render() {
|
|
18609
18609
|
const mode = getIonMode$1(this);
|
|
18610
|
-
return (hAsync(Host, { key: '
|
|
18610
|
+
return (hAsync(Host, { key: 'e49dc8f99247d2431d7c6db01b6e021a0f5b1c37', role: "group", class: {
|
|
18611
18611
|
[mode]: true,
|
|
18612
18612
|
// Used internally for styling
|
|
18613
18613
|
[`item-group-${mode}`]: true,
|
|
@@ -18677,12 +18677,12 @@ class ItemOption {
|
|
|
18677
18677
|
href: this.href,
|
|
18678
18678
|
target: this.target,
|
|
18679
18679
|
};
|
|
18680
|
-
return (hAsync(Host, { key: '
|
|
18680
|
+
return (hAsync(Host, { key: '189a0040b97163b2336bf216baa71d584c5923a8', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
18681
18681
|
[mode]: true,
|
|
18682
18682
|
'item-option-disabled': disabled,
|
|
18683
18683
|
'item-option-expandable': expandable,
|
|
18684
18684
|
'ion-activatable': true,
|
|
18685
|
-
}) }, hAsync(TagType, Object.assign({ key: '
|
|
18685
|
+
}) }, 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' }))));
|
|
18686
18686
|
}
|
|
18687
18687
|
get el() { return getElement(this); }
|
|
18688
18688
|
static get style() { return {
|
|
@@ -18731,7 +18731,7 @@ class ItemOptions {
|
|
|
18731
18731
|
render() {
|
|
18732
18732
|
const mode = getIonMode$1(this);
|
|
18733
18733
|
const isEnd = isEndSide(this.side);
|
|
18734
|
-
return (hAsync(Host, { key: '
|
|
18734
|
+
return (hAsync(Host, { key: '05a22a505e043c2715e3805e5e26ab4668940af0', class: {
|
|
18735
18735
|
[mode]: true,
|
|
18736
18736
|
// Used internally for styling
|
|
18737
18737
|
[`item-options-${mode}`]: true,
|
|
@@ -19196,7 +19196,7 @@ class ItemSliding {
|
|
|
19196
19196
|
}
|
|
19197
19197
|
render() {
|
|
19198
19198
|
const mode = getIonMode$1(this);
|
|
19199
|
-
return (hAsync(Host, { key: '
|
|
19199
|
+
return (hAsync(Host, { key: 'd812322c9fb5da4ee16e99dc38bfb24cb4590d03', class: {
|
|
19200
19200
|
[mode]: true,
|
|
19201
19201
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
19202
19202
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -19301,13 +19301,13 @@ class Label {
|
|
|
19301
19301
|
render() {
|
|
19302
19302
|
const position = this.position;
|
|
19303
19303
|
const mode = getIonMode$1(this);
|
|
19304
|
-
return (hAsync(Host, { key: '
|
|
19304
|
+
return (hAsync(Host, { key: 'd6fba1a97189acc8ddfd64a2f009954a3e46e188', class: createColorClasses$1(this.color, {
|
|
19305
19305
|
[mode]: true,
|
|
19306
19306
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
19307
19307
|
[`label-${position}`]: position !== undefined,
|
|
19308
19308
|
[`label-no-animate`]: this.noAnimate,
|
|
19309
19309
|
'label-rtl': document.dir === 'rtl',
|
|
19310
|
-
}) }, hAsync("slot", { key: '
|
|
19310
|
+
}) }, hAsync("slot", { key: 'ce0ab50b5700398fdf50f36d02b7ad287eb71481' })));
|
|
19311
19311
|
}
|
|
19312
19312
|
get el() { return getElement(this); }
|
|
19313
19313
|
static get watchers() { return {
|
|
@@ -19405,10 +19405,10 @@ class ListHeader {
|
|
|
19405
19405
|
render() {
|
|
19406
19406
|
const { lines } = this;
|
|
19407
19407
|
const mode = getIonMode$1(this);
|
|
19408
|
-
return (hAsync(Host, { key: '
|
|
19408
|
+
return (hAsync(Host, { key: 'd9bc827ad8cc77231efddc2435831a7fc080f77d', class: createColorClasses$1(this.color, {
|
|
19409
19409
|
[mode]: true,
|
|
19410
19410
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
19411
|
-
}) }, hAsync("div", { key: '
|
|
19411
|
+
}) }, hAsync("div", { key: '02dd9698304a7b2997ea1487e2f308bebea2b44c', class: "list-header-inner" }, hAsync("slot", { key: '01d63a572c003286ae467a1ab23631e37e695042' }))));
|
|
19412
19412
|
}
|
|
19413
19413
|
static get style() { return {
|
|
19414
19414
|
ios: listHeaderIosCss,
|
|
@@ -19693,9 +19693,9 @@ class Loading {
|
|
|
19693
19693
|
* Otherwise, don't set aria-labelledby.
|
|
19694
19694
|
*/
|
|
19695
19695
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
19696
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
19696
|
+
return (hAsync(Host, Object.assign({ key: '4497183ce220242abe19ae15f328f9a92ccafbbc', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
19697
19697
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
19698
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [mode]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: '
|
|
19698
|
+
}, 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" })));
|
|
19699
19699
|
}
|
|
19700
19700
|
get el() { return getElement(this); }
|
|
19701
19701
|
static get watchers() { return {
|
|
@@ -20744,14 +20744,14 @@ class Menu {
|
|
|
20744
20744
|
* the ionBackButton listener in the menu controller
|
|
20745
20745
|
* will handle closing the menu when Escape is pressed.
|
|
20746
20746
|
*/
|
|
20747
|
-
return (hAsync(Host, { key: '
|
|
20747
|
+
return (hAsync(Host, { key: '70a427f3414a476414c3386efe6c8723fd37eccf', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
20748
20748
|
[mode]: true,
|
|
20749
20749
|
[`menu-type-${type}`]: true,
|
|
20750
20750
|
'menu-enabled': !disabled,
|
|
20751
20751
|
[`menu-side-${side}`]: true,
|
|
20752
20752
|
'menu-pane-visible': isPaneVisible,
|
|
20753
20753
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
20754
|
-
} }, hAsync("div", { key: '
|
|
20754
|
+
} }, hAsync("div", { key: '83af04e5a47d5a92caafaf06088a7114ae61984b', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, hAsync("slot", { key: '7b35048642864bd0f30de9f6b61c949c1b601692' })), hAsync("ion-backdrop", { key: '347af516c7970d80dd11c6d1ed61e9a040ceb5fb', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
20755
20755
|
}
|
|
20756
20756
|
get el() { return getElement(this); }
|
|
20757
20757
|
static get watchers() { return {
|
|
@@ -20859,7 +20859,7 @@ class MenuButton {
|
|
|
20859
20859
|
type: this.type,
|
|
20860
20860
|
};
|
|
20861
20861
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
20862
|
-
return (hAsync(Host, { key: '
|
|
20862
|
+
return (hAsync(Host, { key: '9f0f0e50d39a6872508220c58e64bb2092a0d7ef', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses$1(color, {
|
|
20863
20863
|
[mode]: true,
|
|
20864
20864
|
button: true, // ion-buttons target .button
|
|
20865
20865
|
'menu-button-hidden': hidden,
|
|
@@ -20868,7 +20868,7 @@ class MenuButton {
|
|
|
20868
20868
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
20869
20869
|
'ion-activatable': true,
|
|
20870
20870
|
'ion-focusable': true,
|
|
20871
|
-
}) }, hAsync("button", Object.assign({ key: '
|
|
20871
|
+
}) }, 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" }))));
|
|
20872
20872
|
}
|
|
20873
20873
|
get el() { return getElement(this); }
|
|
20874
20874
|
static get style() { return {
|
|
@@ -20921,10 +20921,10 @@ class MenuToggle {
|
|
|
20921
20921
|
render() {
|
|
20922
20922
|
const mode = getIonMode$1(this);
|
|
20923
20923
|
const hidden = this.autoHide && !this.visible;
|
|
20924
|
-
return (hAsync(Host, { key: '
|
|
20924
|
+
return (hAsync(Host, { key: 'cd567114769a30bd3871ed5d15bf42aed39956e1', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
20925
20925
|
[mode]: true,
|
|
20926
20926
|
'menu-toggle-hidden': hidden,
|
|
20927
|
-
} }, hAsync("slot", { key: '
|
|
20927
|
+
} }, hAsync("slot", { key: '773d4cff95ca75f23578b1e1dca53c9933f28a33' })));
|
|
20928
20928
|
}
|
|
20929
20929
|
static get style() { return menuToggleCss; }
|
|
20930
20930
|
static get cmpMeta() { return {
|
|
@@ -23765,20 +23765,20 @@ class Modal {
|
|
|
23765
23765
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
23766
23766
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
23767
23767
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
23768
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
23768
|
+
return (hAsync(Host, Object.assign({ key: '87328006ea6c75ebc518ace300438492a567223e', "no-router": true,
|
|
23769
23769
|
// Allow the modal to be navigable when the handle is focusable
|
|
23770
23770
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
23771
23771
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
23772
|
-
}, 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: '
|
|
23772
|
+
}, 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: 'ee94ff8e09b691dd4ad4e4db1720f06bc3c5a469', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && hAsync("div", { key: 'bffd69b4635c22d9f249725bd952c1e93d5615c7', class: "modal-shadow" }), hAsync("div", Object.assign({ key: '1d394d3c68916e464ff1fbf5242419f4a3d3cca1',
|
|
23773
23773
|
/*
|
|
23774
23774
|
role and aria-modal must be used on the
|
|
23775
23775
|
same element. They must also be set inside the
|
|
23776
23776
|
shadow DOM otherwise ion-button will not be highlighted
|
|
23777
23777
|
when using VoiceOver: https://bugs.webkit.org/show_bug.cgi?id=247134
|
|
23778
23778
|
*/
|
|
23779
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: '
|
|
23779
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: '2dcf58792018e557e0c323baad2d672bc99c0bb1', class: "modal-handle",
|
|
23780
23780
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
23781
|
-
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: '
|
|
23781
|
+
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: '44164b1e8710c3895400ad9f44ecd99873874ad5', onSlotchange: this.onSlotChange }))));
|
|
23782
23782
|
}
|
|
23783
23783
|
get el() { return getElement(this); }
|
|
23784
23784
|
static get watchers() { return {
|
|
@@ -24726,7 +24726,7 @@ class Nav {
|
|
|
24726
24726
|
}
|
|
24727
24727
|
}
|
|
24728
24728
|
render() {
|
|
24729
|
-
return hAsync("slot", { key: '
|
|
24729
|
+
return hAsync("slot", { key: '8067c9835d255daec61f33dba200fd3a6ff839a0' });
|
|
24730
24730
|
}
|
|
24731
24731
|
get el() { return getElement(this); }
|
|
24732
24732
|
static get watchers() { return {
|
|
@@ -24799,7 +24799,7 @@ class NavLink {
|
|
|
24799
24799
|
};
|
|
24800
24800
|
}
|
|
24801
24801
|
render() {
|
|
24802
|
-
return hAsync(Host, { key: '
|
|
24802
|
+
return hAsync(Host, { key: '6dbb1ad4f351e9215375aac11ab9b53762e07a08', onClick: this.onClick });
|
|
24803
24803
|
}
|
|
24804
24804
|
get el() { return getElement(this); }
|
|
24805
24805
|
static get cmpMeta() { return {
|
|
@@ -24830,9 +24830,9 @@ class Note {
|
|
|
24830
24830
|
}
|
|
24831
24831
|
render() {
|
|
24832
24832
|
const mode = getIonMode$1(this);
|
|
24833
|
-
return (hAsync(Host, { key: '
|
|
24833
|
+
return (hAsync(Host, { key: '0ec2ef7367d867fd7588611953f696eecdf3221e', class: createColorClasses$1(this.color, {
|
|
24834
24834
|
[mode]: true,
|
|
24835
|
-
}) }, hAsync("slot", { key: '
|
|
24835
|
+
}) }, hAsync("slot", { key: 'a200b94ddffb29cf6dabe6e984220930ea7efdef' })));
|
|
24836
24836
|
}
|
|
24837
24837
|
static get style() { return {
|
|
24838
24838
|
ios: noteIosCss,
|
|
@@ -25592,11 +25592,11 @@ class Picker {
|
|
|
25592
25592
|
render() {
|
|
25593
25593
|
const { htmlAttributes } = this;
|
|
25594
25594
|
const mode = getIonMode$1(this);
|
|
25595
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
25595
|
+
return (hAsync(Host, Object.assign({ key: 'b95440747eb80cba23ae676d399d5e5816722c58', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
25596
25596
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
25597
25597
|
}, class: Object.assign({ [mode]: true,
|
|
25598
25598
|
// Used internally for styling
|
|
25599
|
-
[`picker-${mode}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: '
|
|
25599
|
+
[`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" })));
|
|
25600
25600
|
}
|
|
25601
25601
|
get el() { return getElement(this); }
|
|
25602
25602
|
static get watchers() { return {
|
|
@@ -26565,9 +26565,9 @@ class PickerColumnCmp {
|
|
|
26565
26565
|
render() {
|
|
26566
26566
|
const col = this.col;
|
|
26567
26567
|
const mode = getIonMode$1(this);
|
|
26568
|
-
return (hAsync(Host, { key: '
|
|
26568
|
+
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: {
|
|
26569
26569
|
'max-width': this.col.columnWidth,
|
|
26570
|
-
} }, col.prefix && (hAsync("div", { key: '
|
|
26570
|
+
} }, 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))));
|
|
26571
26571
|
}
|
|
26572
26572
|
get el() { return getElement(this); }
|
|
26573
26573
|
static get watchers() { return {
|
|
@@ -26684,10 +26684,10 @@ class PickerColumnOption {
|
|
|
26684
26684
|
render() {
|
|
26685
26685
|
const { color, disabled, ariaLabel } = this;
|
|
26686
26686
|
const mode = getIonMode$1(this);
|
|
26687
|
-
return (hAsync(Host, { key: '
|
|
26687
|
+
return (hAsync(Host, { key: 'f816729941aabcb31ddfdce3ffe2e2139030d715', class: createColorClasses$1(color, {
|
|
26688
26688
|
[mode]: true,
|
|
26689
26689
|
['option-disabled']: disabled,
|
|
26690
|
-
}) }, hAsync("div", { key: '
|
|
26690
|
+
}) }, hAsync("div", { key: 'd942de84fd14d7dc06b1e5cf4f7920d1dc3c6371', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, hAsync("slot", { key: 'b0df5717b42209e649097209a01476e1a66f5c5c' }))));
|
|
26691
26691
|
}
|
|
26692
26692
|
get el() { return getElement(this); }
|
|
26693
26693
|
static get watchers() { return {
|
|
@@ -28128,9 +28128,9 @@ class Popover {
|
|
|
28128
28128
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
28129
28129
|
const desktop = isPlatform('desktop');
|
|
28130
28130
|
const enableArrow = arrow && !parentPopover;
|
|
28131
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
28131
|
+
return (hAsync(Host, Object.assign({ key: '42863f748c93f709d433931d969230137b37d42d', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
28132
28132
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
28133
|
-
}, 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: '
|
|
28133
|
+
}, 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: '22b6d82178b52158b76ab3fd9a7dd738fd6e4bbf', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), hAsync("div", { key: 'b76335c64e992a964ed3fb91d17a992c3474b4cd', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && hAsync("div", { key: '018c846c32e7ff7fa010528e6b37a17e5f03c84c', class: "popover-arrow", part: "arrow" }), hAsync("div", { key: '350c468c80052da3a07768bceab98fe159c35a43', class: "popover-content", part: "content" }, hAsync("slot", { key: '686443c17ac9873d33905c1cdb67e6d6da675282' })))));
|
|
28134
28134
|
}
|
|
28135
28135
|
get el() { return getElement(this); }
|
|
28136
28136
|
static get watchers() { return {
|
|
@@ -28235,7 +28235,7 @@ class ProgressBar {
|
|
|
28235
28235
|
const mode = getIonMode$1(this);
|
|
28236
28236
|
// If the progress is displayed as a solid bar.
|
|
28237
28237
|
const progressSolid = buffer === 1;
|
|
28238
|
-
return (hAsync(Host, { key: '
|
|
28238
|
+
return (hAsync(Host, { key: 'dc69693b5d2dcb2b6e4296d7cb85bc27507f3fa6', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses$1(color, {
|
|
28239
28239
|
[mode]: true,
|
|
28240
28240
|
[`progress-bar-${type}`]: true,
|
|
28241
28241
|
'progress-paused': paused,
|
|
@@ -28420,7 +28420,7 @@ class Radio {
|
|
|
28420
28420
|
const { checked, disabled, color, el, justify, labelPlacement, hasLabel, buttonTabindex, alignment } = this;
|
|
28421
28421
|
const mode = getIonMode$1(this);
|
|
28422
28422
|
const inItem = hostContext('ion-item', el);
|
|
28423
|
-
return (hAsync(Host, { key: '
|
|
28423
|
+
return (hAsync(Host, { key: '3353b28172b7f837d4b38964169b5b5f4ba02788', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses$1(color, {
|
|
28424
28424
|
[mode]: true,
|
|
28425
28425
|
'in-item': inItem,
|
|
28426
28426
|
'radio-checked': checked,
|
|
@@ -28431,10 +28431,10 @@ class Radio {
|
|
|
28431
28431
|
// Focus and active styling should not apply when the radio is in an item
|
|
28432
28432
|
'ion-activatable': !inItem,
|
|
28433
28433
|
'ion-focusable': !inItem,
|
|
28434
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, hAsync("label", { key: '
|
|
28434
|
+
}), 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: {
|
|
28435
28435
|
'label-text-wrapper': true,
|
|
28436
28436
|
'label-text-wrapper-hidden': !hasLabel,
|
|
28437
|
-
}, part: "label" }, hAsync("slot", { key: '
|
|
28437
|
+
}, part: "label" }, hAsync("slot", { key: '10b157162cd283d624153c747679609cf0bbf11e' })), hAsync("div", { key: '4c45cca95cb105cd6df1025a26e3c045272184a0', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
28438
28438
|
}
|
|
28439
28439
|
get el() { return getElement(this); }
|
|
28440
28440
|
static get watchers() { return {
|
|
@@ -28673,7 +28673,7 @@ class RadioGroup {
|
|
|
28673
28673
|
const { label, labelId, el, name, value } = this;
|
|
28674
28674
|
const mode = getIonMode$1(this);
|
|
28675
28675
|
renderHiddenInput(true, el, name, value, false);
|
|
28676
|
-
return (hAsync(Host, { key: 'db593b3ed511e9395e3c7bfd91b787328692cd6d', role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick, class: mode }, this.renderHintText(), hAsync("slot", { key: '
|
|
28676
|
+
return (hAsync(Host, { key: 'db593b3ed511e9395e3c7bfd91b787328692cd6d', role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick, class: mode }, this.renderHintText(), hAsync("div", { key: '85045b45a0100a45f3b9a35d1c5a25ec63d525c4', class: "radio-group-wrapper" }, hAsync("slot", { key: '53dacb87ce62398e78771fb2efaf839ab922d946' }))));
|
|
28677
28677
|
}
|
|
28678
28678
|
get el() { return getElement(this); }
|
|
28679
28679
|
static get watchers() { return {
|
|
@@ -29433,7 +29433,7 @@ class Range {
|
|
|
29433
29433
|
const needsEndAdjustment = inItem && !hasEndContent;
|
|
29434
29434
|
const mode = getIonMode$1(this);
|
|
29435
29435
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
29436
|
-
return (hAsync(Host, { key: '
|
|
29436
|
+
return (hAsync(Host, { key: 'ef7b01f80515bcaeb2983934ad7f10a6bd5d13ec', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses$1(this.color, {
|
|
29437
29437
|
[mode]: true,
|
|
29438
29438
|
'in-item': inItem,
|
|
29439
29439
|
'range-disabled': disabled,
|
|
@@ -29442,10 +29442,10 @@ class Range {
|
|
|
29442
29442
|
[`range-label-placement-${labelPlacement}`]: true,
|
|
29443
29443
|
'range-item-start-adjustment': needsStartAdjustment,
|
|
29444
29444
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
29445
|
-
}) }, hAsync("label", { key: '
|
|
29445
|
+
}) }, hAsync("label", { key: 'fd8aa90a9d52be9da024b907e68858dae424449d', class: "range-wrapper", id: "range-label" }, hAsync("div", { key: '2172b4f329c22017dd23475c80aac25ba6e753eb', class: {
|
|
29446
29446
|
'label-text-wrapper': true,
|
|
29447
29447
|
'label-text-wrapper-hidden': !hasLabel,
|
|
29448
|
-
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '
|
|
29448
|
+
}, 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" })))));
|
|
29449
29449
|
}
|
|
29450
29450
|
get el() { return getElement(this); }
|
|
29451
29451
|
static get watchers() { return {
|
|
@@ -29737,6 +29737,8 @@ class Refresher {
|
|
|
29737
29737
|
this.ionRefresh = createEvent(this, "ionRefresh", 7);
|
|
29738
29738
|
this.ionPull = createEvent(this, "ionPull", 7);
|
|
29739
29739
|
this.ionStart = createEvent(this, "ionStart", 7);
|
|
29740
|
+
this.ionPullStart = createEvent(this, "ionPullStart", 7);
|
|
29741
|
+
this.ionPullEnd = createEvent(this, "ionPullEnd", 7);
|
|
29740
29742
|
this.appliedStyles = false;
|
|
29741
29743
|
this.didStart = false;
|
|
29742
29744
|
this.progress = 0;
|
|
@@ -29791,8 +29793,8 @@ class Refresher {
|
|
|
29791
29793
|
* than `1`. The default value is `1` which is equal to the speed of the cursor.
|
|
29792
29794
|
* If a negative value is passed in, the factor will be `1` instead.
|
|
29793
29795
|
*
|
|
29794
|
-
* For example
|
|
29795
|
-
* `10` pixels, instead of `10` pixels the content will be pulled by `12` pixels
|
|
29796
|
+
* For example, If the value passed is `1.2` and the content is dragged by
|
|
29797
|
+
* `10` pixels, instead of `10` pixels, the content will be pulled by `12` pixels
|
|
29796
29798
|
* (an increase of 20 percent). If the value passed is `0.8`, the dragged amount
|
|
29797
29799
|
* will be `8` pixels, less than the amount the cursor has moved.
|
|
29798
29800
|
*
|
|
@@ -29842,6 +29844,9 @@ class Refresher {
|
|
|
29842
29844
|
this.animations = [];
|
|
29843
29845
|
this.progress = 0;
|
|
29844
29846
|
this.state = 1 /* RefresherState.Inactive */;
|
|
29847
|
+
this.ionPullEnd.emit({
|
|
29848
|
+
reason: state === 32 /* RefresherState.Completing */ ? 'complete' : 'cancel',
|
|
29849
|
+
});
|
|
29845
29850
|
}
|
|
29846
29851
|
async setupiOSNativeRefresher(pullingSpinner, refreshingSpinner) {
|
|
29847
29852
|
this.elementToTransform = this.scrollEl;
|
|
@@ -29874,6 +29879,7 @@ class Refresher {
|
|
|
29874
29879
|
if (!this.didStart) {
|
|
29875
29880
|
this.didStart = true;
|
|
29876
29881
|
this.ionStart.emit();
|
|
29882
|
+
this.ionPullStart.emit();
|
|
29877
29883
|
}
|
|
29878
29884
|
// emit "pulling" on every move
|
|
29879
29885
|
if (this.pointerDown) {
|
|
@@ -29949,6 +29955,7 @@ class Refresher {
|
|
|
29949
29955
|
this.lastVelocityY = ev.velocityY;
|
|
29950
29956
|
},
|
|
29951
29957
|
onEnd: () => {
|
|
29958
|
+
const hadStarted = this.didStart;
|
|
29952
29959
|
this.pointerDown = false;
|
|
29953
29960
|
this.didStart = false;
|
|
29954
29961
|
if (this.needsCompletion) {
|
|
@@ -29958,6 +29965,13 @@ class Refresher {
|
|
|
29958
29965
|
else if (this.didRefresh) {
|
|
29959
29966
|
readTask(() => translateElement(this.elementToTransform, `${this.el.clientHeight}px`));
|
|
29960
29967
|
}
|
|
29968
|
+
else if (hadStarted) {
|
|
29969
|
+
/**
|
|
29970
|
+
* User started pulling but released before reaching the refresh threshold.
|
|
29971
|
+
* Emit ionPullEnd to complete the event pair.
|
|
29972
|
+
*/
|
|
29973
|
+
this.ionPullEnd.emit({ reason: 'cancel' });
|
|
29974
|
+
}
|
|
29961
29975
|
},
|
|
29962
29976
|
});
|
|
29963
29977
|
this.disabledChanged();
|
|
@@ -30004,6 +30018,7 @@ class Refresher {
|
|
|
30004
30018
|
ev.data.animation = animation;
|
|
30005
30019
|
animation.progressStart(false, 0);
|
|
30006
30020
|
this.ionStart.emit();
|
|
30021
|
+
this.ionPullStart.emit();
|
|
30007
30022
|
this.animations.push(animation);
|
|
30008
30023
|
return;
|
|
30009
30024
|
}
|
|
@@ -30026,6 +30041,7 @@ class Refresher {
|
|
|
30026
30041
|
this.animations = [];
|
|
30027
30042
|
this.gesture.enable(true);
|
|
30028
30043
|
this.state = 1 /* RefresherState.Inactive */;
|
|
30044
|
+
this.ionPullEnd.emit({ reason: 'cancel' });
|
|
30029
30045
|
});
|
|
30030
30046
|
return;
|
|
30031
30047
|
}
|
|
@@ -30270,6 +30286,7 @@ class Refresher {
|
|
|
30270
30286
|
if (!this.didStart) {
|
|
30271
30287
|
this.didStart = true;
|
|
30272
30288
|
this.ionStart.emit();
|
|
30289
|
+
this.ionPullStart.emit();
|
|
30273
30290
|
}
|
|
30274
30291
|
// emit "pulling" on every move
|
|
30275
30292
|
this.ionPull.emit();
|
|
@@ -30313,6 +30330,15 @@ class Refresher {
|
|
|
30313
30330
|
* available right away.
|
|
30314
30331
|
*/
|
|
30315
30332
|
this.restoreOverflowStyle();
|
|
30333
|
+
/**
|
|
30334
|
+
* If ionPullStart was emitted, we need to emit ionPullEnd
|
|
30335
|
+
* even though the gesture was aborted before reaching the
|
|
30336
|
+
* pulling threshold.
|
|
30337
|
+
*/
|
|
30338
|
+
if (this.didStart) {
|
|
30339
|
+
this.didStart = false;
|
|
30340
|
+
this.ionPullEnd.emit({ reason: 'cancel' });
|
|
30341
|
+
}
|
|
30316
30342
|
}
|
|
30317
30343
|
}
|
|
30318
30344
|
beginRefresh() {
|
|
@@ -30359,6 +30385,9 @@ class Refresher {
|
|
|
30359
30385
|
if (this.contentFullscreen && this.backgroundContentEl) {
|
|
30360
30386
|
(_a = this.backgroundContentEl) === null || _a === void 0 ? void 0 : _a.style.removeProperty('--offset-top');
|
|
30361
30387
|
}
|
|
30388
|
+
this.ionPullEnd.emit({
|
|
30389
|
+
reason: state === 32 /* RefresherState.Completing */ ? 'complete' : 'cancel',
|
|
30390
|
+
});
|
|
30362
30391
|
}, 600);
|
|
30363
30392
|
// reset the styles on the scroll element
|
|
30364
30393
|
// set that the refresh is actively cancelling/completing
|
|
@@ -30412,7 +30441,7 @@ class Refresher {
|
|
|
30412
30441
|
}
|
|
30413
30442
|
render() {
|
|
30414
30443
|
const mode = getIonMode$1(this);
|
|
30415
|
-
return (hAsync(Host, { key: '
|
|
30444
|
+
return (hAsync(Host, { key: 'bed0c2f44c32ecac24b7d8326ac7c7ef1d12c44f', slot: "fixed", class: {
|
|
30416
30445
|
[mode]: true,
|
|
30417
30446
|
// Used internally for styling
|
|
30418
30447
|
[`refresher-${mode}`]: true,
|
|
@@ -30636,7 +30665,7 @@ class RefresherContent {
|
|
|
30636
30665
|
const pullingIcon = this.pullingIcon;
|
|
30637
30666
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
30638
30667
|
const mode = getIonMode$1(this);
|
|
30639
|
-
return (hAsync(Host, { key: '
|
|
30668
|
+
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())));
|
|
30640
30669
|
}
|
|
30641
30670
|
get el() { return getElement(this); }
|
|
30642
30671
|
static get cmpMeta() { return {
|
|
@@ -30677,7 +30706,7 @@ class Reorder {
|
|
|
30677
30706
|
render() {
|
|
30678
30707
|
const mode = getIonMode$1(this);
|
|
30679
30708
|
const reorderIcon = mode === 'ios' ? reorderThreeOutline : reorderTwoSharp;
|
|
30680
|
-
return (hAsync(Host, { key: '
|
|
30709
|
+
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" }))));
|
|
30681
30710
|
}
|
|
30682
30711
|
get el() { return getElement(this); }
|
|
30683
30712
|
static get style() { return {
|
|
@@ -30948,7 +30977,7 @@ class ReorderGroup {
|
|
|
30948
30977
|
}
|
|
30949
30978
|
render() {
|
|
30950
30979
|
const mode = getIonMode$1(this);
|
|
30951
|
-
return (hAsync(Host, { key: '
|
|
30980
|
+
return (hAsync(Host, { key: 'b9641f3061d67fbfe68317b901ec33267046e073', class: {
|
|
30952
30981
|
[mode]: true,
|
|
30953
30982
|
'reorder-enabled': !this.disabled,
|
|
30954
30983
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -31064,7 +31093,7 @@ class RippleEffect {
|
|
|
31064
31093
|
}
|
|
31065
31094
|
render() {
|
|
31066
31095
|
const mode = getIonMode$1(this);
|
|
31067
|
-
return (hAsync(Host, { key: '
|
|
31096
|
+
return (hAsync(Host, { key: 'ae9d3b1ed6773a9b9bb2267129f7e9af23b6c9fc', role: "presentation", class: {
|
|
31068
31097
|
[mode]: true,
|
|
31069
31098
|
unbounded: this.unbounded,
|
|
31070
31099
|
} }));
|
|
@@ -32023,10 +32052,10 @@ class RouterLink {
|
|
|
32023
32052
|
rel: this.rel,
|
|
32024
32053
|
target: this.target,
|
|
32025
32054
|
};
|
|
32026
|
-
return (hAsync(Host, { key: '
|
|
32055
|
+
return (hAsync(Host, { key: 'd7f2affcde45c5fbb6cb46cd1c30008ee92a68c5', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
32027
32056
|
[mode]: true,
|
|
32028
32057
|
'ion-activatable': true,
|
|
32029
|
-
}) }, hAsync("a", Object.assign({ key: '
|
|
32058
|
+
}) }, hAsync("a", Object.assign({ key: 'babafae85ca5c6429958d383feff0493ff8cf33e' }, attrs), hAsync("slot", { key: '50314e9555bbf6dffa0c50c3f763009dee59b10b' }))));
|
|
32030
32059
|
}
|
|
32031
32060
|
static get style() { return routerLinkCss; }
|
|
32032
32061
|
static get cmpMeta() { return {
|
|
@@ -32223,7 +32252,7 @@ class RouterOutlet {
|
|
|
32223
32252
|
return true;
|
|
32224
32253
|
}
|
|
32225
32254
|
render() {
|
|
32226
|
-
return hAsync("slot", { key: '
|
|
32255
|
+
return hAsync("slot", { key: '84b50f1155b0d780dff802ee13223287259fd525' });
|
|
32227
32256
|
}
|
|
32228
32257
|
get el() { return getElement(this); }
|
|
32229
32258
|
static get watchers() { return {
|
|
@@ -32256,7 +32285,7 @@ class Row {
|
|
|
32256
32285
|
registerInstance(this, hostRef);
|
|
32257
32286
|
}
|
|
32258
32287
|
render() {
|
|
32259
|
-
return (hAsync(Host, { key: '
|
|
32288
|
+
return (hAsync(Host, { key: '65592a79621bd8f75f9566db3e8c05a4b8fc6048', class: getIonMode$1(this) }, hAsync("slot", { key: '56f09784db7a0299c9ce76dfcede185b295251ff' })));
|
|
32260
32289
|
}
|
|
32261
32290
|
static get style() { return rowCss; }
|
|
32262
32291
|
static get cmpMeta() { return {
|
|
@@ -32697,8 +32726,8 @@ class Searchbar {
|
|
|
32697
32726
|
const clearIcon = this.clearIcon || (mode === 'ios' ? closeCircle : closeSharp);
|
|
32698
32727
|
const searchIcon = this.searchIcon || (mode === 'ios' ? searchOutline : searchSharp);
|
|
32699
32728
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
32700
|
-
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '
|
|
32701
|
-
return (hAsync(Host, { key: '
|
|
32729
|
+
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))));
|
|
32730
|
+
return (hAsync(Host, { key: '074aa60e051bfb3225e87d44bbb6346c59c73574', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses$1(this.color, {
|
|
32702
32731
|
[mode]: true,
|
|
32703
32732
|
'searchbar-animated': animated,
|
|
32704
32733
|
'searchbar-disabled': this.disabled,
|
|
@@ -32708,14 +32737,14 @@ class Searchbar {
|
|
|
32708
32737
|
'searchbar-has-focus': this.focused,
|
|
32709
32738
|
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
32710
32739
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
32711
|
-
}) }, hAsync("div", { key: '
|
|
32740
|
+
}) }, 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) => {
|
|
32712
32741
|
/**
|
|
32713
32742
|
* This prevents mobile browsers from
|
|
32714
32743
|
* blurring the input when the clear
|
|
32715
32744
|
* button is activated.
|
|
32716
32745
|
*/
|
|
32717
32746
|
ev.preventDefault();
|
|
32718
|
-
}, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: '
|
|
32747
|
+
}, 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));
|
|
32719
32748
|
}
|
|
32720
32749
|
get el() { return getElement(this); }
|
|
32721
32750
|
static get watchers() { return {
|
|
@@ -33310,14 +33339,14 @@ class Segment {
|
|
|
33310
33339
|
}
|
|
33311
33340
|
render() {
|
|
33312
33341
|
const mode = getIonMode$1(this);
|
|
33313
|
-
return (hAsync(Host, { key: '
|
|
33342
|
+
return (hAsync(Host, { key: 'e67ed512739cf2cfe657b0c44ebc3dfb1e9fbb79', role: "tablist", onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
33314
33343
|
[mode]: true,
|
|
33315
33344
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
33316
33345
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
33317
33346
|
'segment-activated': this.activated,
|
|
33318
33347
|
'segment-disabled': this.disabled,
|
|
33319
33348
|
'segment-scrollable': this.scrollable,
|
|
33320
|
-
}) }, hAsync("slot", { key: '
|
|
33349
|
+
}) }, hAsync("slot", { key: '804d8acfcb9abfeeee38244b015fbc5c36330b9e', onSlotchange: this.onSlottedItemsChange })));
|
|
33321
33350
|
}
|
|
33322
33351
|
get el() { return getElement(this); }
|
|
33323
33352
|
static get watchers() { return {
|
|
@@ -33457,7 +33486,7 @@ class SegmentButton {
|
|
|
33457
33486
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
33458
33487
|
const mode = getIonMode$1(this);
|
|
33459
33488
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
33460
|
-
return (hAsync(Host, { key: '
|
|
33489
|
+
return (hAsync(Host, { key: '26cb7ee90455bcaa6416125802d7e5729fa05b5b', class: {
|
|
33461
33490
|
[mode]: true,
|
|
33462
33491
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
33463
33492
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -33473,7 +33502,7 @@ class SegmentButton {
|
|
|
33473
33502
|
'ion-activatable': true,
|
|
33474
33503
|
'ion-activatable-instant': true,
|
|
33475
33504
|
'ion-focusable': true,
|
|
33476
|
-
} }, hAsync("button", Object.assign({ key: '
|
|
33505
|
+
} }, 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" }))));
|
|
33477
33506
|
}
|
|
33478
33507
|
get el() { return getElement(this); }
|
|
33479
33508
|
static get watchers() { return {
|
|
@@ -33508,7 +33537,7 @@ class SegmentContent {
|
|
|
33508
33537
|
registerInstance(this, hostRef);
|
|
33509
33538
|
}
|
|
33510
33539
|
render() {
|
|
33511
|
-
return (hAsync(Host, { key: '
|
|
33540
|
+
return (hAsync(Host, { key: 'db6876f2aee7afa1ea8bc147337670faa68fae1c' }, hAsync("slot", { key: 'bc05714a973a5655668679033f5809a1da6db8cc' })));
|
|
33512
33541
|
}
|
|
33513
33542
|
static get style() { return segmentContentCss; }
|
|
33514
33543
|
static get cmpMeta() { return {
|
|
@@ -33623,10 +33652,10 @@ class SegmentView {
|
|
|
33623
33652
|
}
|
|
33624
33653
|
render() {
|
|
33625
33654
|
const { disabled, isManualScroll } = this;
|
|
33626
|
-
return (hAsync(Host, { key: '
|
|
33655
|
+
return (hAsync(Host, { key: 'e180b67bb3143a5f4611fb358c037be6fc782a8f', class: {
|
|
33627
33656
|
'segment-view-disabled': disabled,
|
|
33628
33657
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
33629
|
-
} }, hAsync("slot", { key: '
|
|
33658
|
+
} }, hAsync("slot", { key: '41c11d6a7406a10f5c64a2e73abfc072afd8fc73' })));
|
|
33630
33659
|
}
|
|
33631
33660
|
get el() { return getElement(this); }
|
|
33632
33661
|
static get style() { return {
|
|
@@ -34393,7 +34422,7 @@ class Select {
|
|
|
34393
34422
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
34394
34423
|
*/
|
|
34395
34424
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || isExpanded || hasStartEndSlots));
|
|
34396
|
-
return (hAsync(Host, { key: '
|
|
34425
|
+
return (hAsync(Host, { key: 'd8026835993d0e6dce747098f741a06ae4e4f54d', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
34397
34426
|
[mode]: true,
|
|
34398
34427
|
'in-item': inItem,
|
|
34399
34428
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -34411,7 +34440,7 @@ class Select {
|
|
|
34411
34440
|
[`select-justify-${justify}`]: justifyEnabled,
|
|
34412
34441
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
34413
34442
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
34414
|
-
}) }, hAsync("label", { key: '
|
|
34443
|
+
}) }, hAsync("label", { key: 'fcfb40209d6d07d49c7fdca4884b31abf6ac2567', class: "select-wrapper", id: "select-label", onClick: this.onLabelClick }, this.renderLabelContainer(), hAsync("div", { key: 'f191664f2290c3890bde1156157c83a6ff17dbe2', class: "select-wrapper-inner" }, hAsync("slot", { key: '317a28d1115b4214f291e228ce0fe6fc782e57d5', name: "start" }), hAsync("div", { key: 'db68e18abd5ca3a1023d7c7b58bf89893ae18073', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), hAsync("slot", { key: '4274e042267c2234a198b0f65c89477898d08130', name: "end" }), !hasFloatingOrStackedLabel && this.renderSelectIcon()), hasFloatingOrStackedLabel && this.renderSelectIcon(), shouldRenderHighlight && hAsync("div", { key: '2e2eb1ee2b2791e0683d9afb186fde6e938ca59c', class: "select-highlight" })), this.renderBottomContent()));
|
|
34415
34444
|
}
|
|
34416
34445
|
get el() { return getElement(this); }
|
|
34417
34446
|
static get watchers() { return {
|
|
@@ -34572,7 +34601,7 @@ class SelectModal {
|
|
|
34572
34601
|
} }, option.text))));
|
|
34573
34602
|
}
|
|
34574
34603
|
render() {
|
|
34575
|
-
return (hAsync(Host, { key: '
|
|
34604
|
+
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()))));
|
|
34576
34605
|
}
|
|
34577
34606
|
get el() { return getElement(this); }
|
|
34578
34607
|
static get style() { return {
|
|
@@ -34606,7 +34635,7 @@ class SelectOption {
|
|
|
34606
34635
|
this.disabled = false;
|
|
34607
34636
|
}
|
|
34608
34637
|
render() {
|
|
34609
|
-
return hAsync(Host, { key: '
|
|
34638
|
+
return hAsync(Host, { key: '3a70eea9fa03a9acba582180761d18347c72acee', role: "option", id: this.inputId, class: getIonMode$1(this) });
|
|
34610
34639
|
}
|
|
34611
34640
|
get el() { return getElement(this); }
|
|
34612
34641
|
static get style() { return selectOptionCss; }
|
|
@@ -34723,7 +34752,7 @@ class SelectPopover {
|
|
|
34723
34752
|
render() {
|
|
34724
34753
|
const { header, message, options, subHeader } = this;
|
|
34725
34754
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
34726
|
-
return (hAsync(Host, { key: '
|
|
34755
|
+
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))));
|
|
34727
34756
|
}
|
|
34728
34757
|
get el() { return getElement(this); }
|
|
34729
34758
|
static get style() { return {
|
|
@@ -34773,11 +34802,11 @@ class SkeletonText {
|
|
|
34773
34802
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
34774
34803
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
34775
34804
|
const mode = getIonMode$1(this);
|
|
34776
|
-
return (hAsync(Host, { key: '
|
|
34805
|
+
return (hAsync(Host, { key: 'd86ef7392507cdbf48dfd3a71f02d7a83eda4aae', class: {
|
|
34777
34806
|
[mode]: true,
|
|
34778
34807
|
'skeleton-text-animated': animated,
|
|
34779
34808
|
'in-media': inMedia,
|
|
34780
|
-
} }, hAsync("span", { key: '
|
|
34809
|
+
} }, hAsync("span", { key: '8e8b5a232a6396d2bba691b05f9de4da44b2965c' }, "\u00A0")));
|
|
34781
34810
|
}
|
|
34782
34811
|
get el() { return getElement(this); }
|
|
34783
34812
|
static get style() { return skeletonTextCss; }
|
|
@@ -34829,7 +34858,7 @@ class Spinner {
|
|
|
34829
34858
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
34830
34859
|
}
|
|
34831
34860
|
}
|
|
34832
|
-
return (hAsync(Host, { key: '
|
|
34861
|
+
return (hAsync(Host, { key: 'a33d6421fcc885995fbc7a348516525f68ca496c', class: createColorClasses$1(self.color, {
|
|
34833
34862
|
[mode]: true,
|
|
34834
34863
|
[`spinner-${spinnerName}`]: true,
|
|
34835
34864
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -34928,12 +34957,12 @@ class SplitPane {
|
|
|
34928
34957
|
}
|
|
34929
34958
|
render() {
|
|
34930
34959
|
const mode = getIonMode$1(this);
|
|
34931
|
-
return (hAsync(Host, { key: '
|
|
34960
|
+
return (hAsync(Host, { key: 'd5e30df12f1f1f855da4c66f98076b9dce762c59', class: {
|
|
34932
34961
|
[mode]: true,
|
|
34933
34962
|
// Used internally for styling
|
|
34934
34963
|
[`split-pane-${mode}`]: true,
|
|
34935
34964
|
'split-pane-visible': this.visible,
|
|
34936
|
-
} }, hAsync("slot", { key: '
|
|
34965
|
+
} }, hAsync("slot", { key: '3e30d7cf3bc1cf434e16876a0cb2a36377b8e00f' })));
|
|
34937
34966
|
}
|
|
34938
34967
|
get el() { return getElement(this); }
|
|
34939
34968
|
static get watchers() { return {
|
|
@@ -34999,10 +35028,10 @@ class Tab {
|
|
|
34999
35028
|
}
|
|
35000
35029
|
render() {
|
|
35001
35030
|
const { tab, active, component } = this;
|
|
35002
|
-
return (hAsync(Host, { key: '
|
|
35031
|
+
return (hAsync(Host, { key: 'dbad8fe9f1566277d14647626308eaf1601ab01f', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
35003
35032
|
'ion-page': component === undefined,
|
|
35004
35033
|
'tab-hidden': !active,
|
|
35005
|
-
} }, hAsync("slot", { key: '
|
|
35034
|
+
} }, hAsync("slot", { key: '3be64f4e7161f6769aaf8e4dcb5293fcaa09af45' })));
|
|
35006
35035
|
}
|
|
35007
35036
|
get el() { return getElement(this); }
|
|
35008
35037
|
static get watchers() { return {
|
|
@@ -35114,11 +35143,11 @@ class TabBar {
|
|
|
35114
35143
|
const { color, translucent, keyboardVisible } = this;
|
|
35115
35144
|
const mode = getIonMode$1(this);
|
|
35116
35145
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
35117
|
-
return (hAsync(Host, { key: '
|
|
35146
|
+
return (hAsync(Host, { key: '9daf4e2acaff6e3ce3878cf9dd5109fb1afbbebe', role: "tablist", "aria-hidden": shouldHide ? 'true' : null, class: createColorClasses$1(color, {
|
|
35118
35147
|
[mode]: true,
|
|
35119
35148
|
'tab-bar-translucent': translucent,
|
|
35120
35149
|
'tab-bar-hidden': shouldHide,
|
|
35121
|
-
}) }, hAsync("slot", { key: '
|
|
35150
|
+
}) }, hAsync("slot", { key: '1d15aa2da8501e8e7eff11ad4a491478be845c43' })));
|
|
35122
35151
|
}
|
|
35123
35152
|
get el() { return getElement(this); }
|
|
35124
35153
|
static get watchers() { return {
|
|
@@ -35214,7 +35243,7 @@ class TabButton {
|
|
|
35214
35243
|
rel,
|
|
35215
35244
|
target,
|
|
35216
35245
|
};
|
|
35217
|
-
return (hAsync(Host, { key: '
|
|
35246
|
+
return (hAsync(Host, { key: 'ce9d29ced0c781d6b2fa62cd5feb801c11fc42e8', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
35218
35247
|
[mode]: true,
|
|
35219
35248
|
'tab-selected': selected,
|
|
35220
35249
|
'tab-disabled': disabled,
|
|
@@ -35226,7 +35255,7 @@ class TabButton {
|
|
|
35226
35255
|
'ion-activatable': true,
|
|
35227
35256
|
'ion-selectable': true,
|
|
35228
35257
|
'ion-focusable': true,
|
|
35229
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
35258
|
+
} }, 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" }))));
|
|
35230
35259
|
}
|
|
35231
35260
|
get el() { return getElement(this); }
|
|
35232
35261
|
static get style() { return {
|
|
@@ -35417,7 +35446,7 @@ class Tabs {
|
|
|
35417
35446
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
35418
35447
|
}
|
|
35419
35448
|
render() {
|
|
35420
|
-
return (hAsync(Host, { key: '
|
|
35449
|
+
return (hAsync(Host, { key: '7b4b302f2942d8d131f6fc24e817989a8be08867', onIonTabButtonClick: this.onTabClicked }, hAsync("slot", { key: '2c51cf14c0f17a8ddf2d879858c984cdf8fd3147', name: "top" }), hAsync("div", { key: '7e9d6055092d41bd9bc80ae15965f77e216feb84', class: "tabs-inner" }, hAsync("slot", { key: 'c308a787e37ff7f6653531d70deca597a7602d26' })), hAsync("slot", { key: 'd5f5e693710c853570811602f859cf3e88272684', name: "bottom" })));
|
|
35421
35450
|
}
|
|
35422
35451
|
get el() { return getElement(this); }
|
|
35423
35452
|
static get style() { return tabsCss; }
|
|
@@ -35457,9 +35486,9 @@ class Text {
|
|
|
35457
35486
|
}
|
|
35458
35487
|
render() {
|
|
35459
35488
|
const mode = getIonMode$1(this);
|
|
35460
|
-
return (hAsync(Host, { key: '
|
|
35489
|
+
return (hAsync(Host, { key: '361035eae7b92dc109794348d39bad2f596eb6be', class: createColorClasses$1(this.color, {
|
|
35461
35490
|
[mode]: true,
|
|
35462
|
-
}) }, hAsync("slot", { key: '
|
|
35491
|
+
}) }, hAsync("slot", { key: 'c7b8835cf485ba9ecd73298f0529276ce1ea0852' })));
|
|
35463
35492
|
}
|
|
35464
35493
|
static get style() { return textCss; }
|
|
35465
35494
|
static get cmpMeta() { return {
|
|
@@ -35920,7 +35949,7 @@ class Textarea {
|
|
|
35920
35949
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
35921
35950
|
*/
|
|
35922
35951
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
35923
|
-
return (hAsync(Host, { key: '
|
|
35952
|
+
return (hAsync(Host, { key: 'a70a62d7aae3831a50acd74f60b930925ada1326', class: createColorClasses$1(this.color, {
|
|
35924
35953
|
[mode]: true,
|
|
35925
35954
|
'has-value': hasValue,
|
|
35926
35955
|
'has-focus': hasFocus,
|
|
@@ -35929,7 +35958,7 @@ class Textarea {
|
|
|
35929
35958
|
[`textarea-shape-${shape}`]: shape !== undefined,
|
|
35930
35959
|
[`textarea-label-placement-${labelPlacement}`]: true,
|
|
35931
35960
|
'textarea-disabled': disabled,
|
|
35932
|
-
}) }, hAsync("label", { key: '
|
|
35961
|
+
}) }, hAsync("label", { key: '8a2dd59a60f7469df84018eb0ede3a9ec3862703', class: "textarea-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), hAsync("div", { key: '1bfc368236e3da7a225a45118c27fbfc1fe5fa46', class: "textarea-wrapper-inner" }, hAsync("div", { key: '215cbb2635ff52e31a8973376989b85e7245d40f', class: "start-slot-wrapper" }, hAsync("slot", { key: '9f6b461cdee9d629deb695d2bea054ece2f32305', name: "start" })), hAsync("div", { key: 'c1af35a2d5bc452bebe0b22a26d15ff52b4e9fc8', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el) }, hAsync("textarea", Object.assign({ key: '69a69b3cf0932baafbe37e6e846f1a571608d3f2', 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: 'c053ea8b865d0e29763aed2e4939cc9c9e374c15', class: "end-slot-wrapper" }, hAsync("slot", { key: '930aa641833b0df54b9ea10368fc2f46d5f491f6', name: "end" }))), shouldRenderHighlight && hAsync("div", { key: '8d12597d15f5f429d80e8272ea99e64ed924e482', class: "textarea-highlight" })), this.renderBottomContent()));
|
|
35933
35962
|
}
|
|
35934
35963
|
get el() { return getElement(this); }
|
|
35935
35964
|
static get watchers() { return {
|
|
@@ -35992,7 +36021,7 @@ class Thumbnail {
|
|
|
35992
36021
|
registerInstance(this, hostRef);
|
|
35993
36022
|
}
|
|
35994
36023
|
render() {
|
|
35995
|
-
return (hAsync(Host, { key: '
|
|
36024
|
+
return (hAsync(Host, { key: '70ada828e8cf541ab3b47f94b7e56ce34114ef88', class: getIonMode$1(this) }, hAsync("slot", { key: 'c43e105669d2bae123619b616f3af8ca2f722d61' })));
|
|
35996
36025
|
}
|
|
35997
36026
|
static get style() { return thumbnailCss; }
|
|
35998
36027
|
static get cmpMeta() { return {
|
|
@@ -36850,9 +36879,9 @@ class Toast {
|
|
|
36850
36879
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
36851
36880
|
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);
|
|
36852
36881
|
}
|
|
36853
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
36882
|
+
return (hAsync(Host, Object.assign({ key: 'd1ecd90c87700aad4685e230cdd430aa286b8791', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
36854
36883
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
36855
|
-
}, 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: '
|
|
36884
|
+
}, 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')))));
|
|
36856
36885
|
}
|
|
36857
36886
|
get el() { return getElement(this); }
|
|
36858
36887
|
static get watchers() { return {
|
|
@@ -37164,7 +37193,7 @@ class Toggle {
|
|
|
37164
37193
|
const value = this.getValue();
|
|
37165
37194
|
const rtl = isRTL$1(el) ? 'rtl' : 'ltr';
|
|
37166
37195
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
37167
|
-
return (hAsync(Host, { key: '
|
|
37196
|
+
return (hAsync(Host, { key: 'f569148edd89ee041a4719ffc4733c16b05229bd', role: "switch", "aria-checked": `${checked}`, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick, "aria-labelledby": hasLabel ? inputLabelId : null, "aria-label": inheritedAttributes['aria-label'] || null, "aria-disabled": disabled ? 'true' : null, "aria-required": required ? 'true' : undefined, tabindex: disabled ? undefined : 0, onKeyDown: this.onKeyDown, onFocus: this.onFocus, onBlur: this.onBlur, class: createColorClasses$1(color, {
|
|
37168
37197
|
[mode]: true,
|
|
37169
37198
|
'in-item': hostContext('ion-item', el),
|
|
37170
37199
|
'toggle-activated': activated,
|
|
@@ -37174,10 +37203,10 @@ class Toggle {
|
|
|
37174
37203
|
[`toggle-alignment-${alignment}`]: alignment !== undefined,
|
|
37175
37204
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
37176
37205
|
[`toggle-${rtl}`]: true,
|
|
37177
|
-
}) }, hAsync("label", { key: '
|
|
37206
|
+
}) }, hAsync("label", { key: '3027f2ac4be6de422a14486d847fbee77f615db1', class: "toggle-wrapper", htmlFor: inputId }, hAsync("input", Object.assign({ key: '4b0304c9e879e432b80184b4e5de37d55c11b436', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, required: required }, inheritedAttributes)), hAsync("div", { key: '8ef265ec942e7f01ff31cbb202ed146c6bf94e02', class: {
|
|
37178
37207
|
'label-text-wrapper': true,
|
|
37179
37208
|
'label-text-wrapper-hidden': !hasLabel,
|
|
37180
|
-
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '
|
|
37209
|
+
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '7b162b7dd27199cca2a4c995276a18b9f8e44aaf' }), this.renderHintText()), hAsync("div", { key: 'd13c34bd42fca01cc73ddb4ea7e471b33a282a3e', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
37181
37210
|
}
|
|
37182
37211
|
get el() { return getElement(this); }
|
|
37183
37212
|
static get watchers() { return {
|
|
@@ -37287,10 +37316,10 @@ class Toolbar {
|
|
|
37287
37316
|
this.childrenStyles.forEach((value) => {
|
|
37288
37317
|
Object.assign(childStyles, value);
|
|
37289
37318
|
});
|
|
37290
|
-
return (hAsync(Host, { key: '
|
|
37319
|
+
return (hAsync(Host, { key: 'f6c4f669a6a61c5eac4cbb5ea0aa97c48ae5bd46', class: Object.assign(Object.assign({}, childStyles), createColorClasses$1(this.color, {
|
|
37291
37320
|
[mode]: true,
|
|
37292
37321
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
37293
|
-
})) }, hAsync("div", { key: '
|
|
37322
|
+
})) }, 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" }))));
|
|
37294
37323
|
}
|
|
37295
37324
|
get el() { return getElement(this); }
|
|
37296
37325
|
static get style() { return {
|
|
@@ -37336,11 +37365,11 @@ class ToolbarTitle {
|
|
|
37336
37365
|
render() {
|
|
37337
37366
|
const mode = getIonMode$1(this);
|
|
37338
37367
|
const size = this.getSize();
|
|
37339
|
-
return (hAsync(Host, { key: '
|
|
37368
|
+
return (hAsync(Host, { key: 'e599c0bf1b0817df3fa8360bdcd6d787f751c371', class: createColorClasses$1(this.color, {
|
|
37340
37369
|
[mode]: true,
|
|
37341
37370
|
[`title-${size}`]: true,
|
|
37342
37371
|
'title-rtl': document.dir === 'rtl',
|
|
37343
|
-
}) }, hAsync("div", { key: '
|
|
37372
|
+
}) }, hAsync("div", { key: '6e7eee9047d6759876bb31d7305b76efc7c4338c', class: "toolbar-title" }, hAsync("slot", { key: 'bf790eb4c83dd0af4f2fd1f85ab4af5819f46ff4' }))));
|
|
37344
37373
|
}
|
|
37345
37374
|
get el() { return getElement(this); }
|
|
37346
37375
|
static get watchers() { return {
|