@ionic/core 8.8.19-dev.11786730389.1a1927bf → 8.8.19-dev.11786832241.150538c7
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-action-sheet.js +1 -1
- package/components/ion-alert.js +1 -1
- package/components/ion-back-button.js +1 -1
- package/components/ion-button.js +1 -1
- package/components/ion-card.js +1 -1
- package/components/ion-chip.js +1 -1
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +1 -1
- package/components/ion-fab-button.js +1 -1
- package/components/ion-infinite-scroll-content.js +1 -1
- package/components/ion-input-otp.js +1 -1
- package/components/ion-input-password-toggle.js +1 -1
- package/components/ion-input.js +1 -1
- package/components/ion-item-divider.js +1 -1
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +1 -1
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-item.js +1 -1
- package/components/ion-label.js +1 -1
- package/components/ion-list-header.js +1 -1
- package/components/ion-list.js +1 -1
- package/components/ion-loading.js +1 -1
- package/components/ion-menu-button.js +1 -1
- package/components/ion-menu-toggle.js +1 -1
- package/components/ion-menu.js +1 -1
- package/components/ion-modal.js +1 -1
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +1 -1
- package/components/ion-picker-column-option.js +1 -1
- package/components/ion-popover.js +1 -1
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-radio-group.js +1 -1
- package/components/ion-radio.js +1 -1
- package/components/ion-range.js +1 -1
- 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-ripple-effect.js +1 -1
- package/components/ion-router-link.js +1 -1
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +1 -1
- package/components/ion-segment-button.js +1 -1
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +1 -1
- package/components/ion-segment.js +1 -1
- package/components/ion-select-modal.js +1 -1
- package/components/ion-select-option.js +1 -1
- package/components/ion-select-popover.js +1 -1
- package/components/ion-select.js +1 -1
- package/components/ion-skeleton-text.js +1 -1
- package/components/ion-spinner.js +1 -1
- package/components/ion-split-pane.js +1 -1
- package/components/ion-tab-bar.js +1 -1
- package/components/ion-tab-button.js +1 -1
- package/components/ion-tab.js +1 -1
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +1 -1
- package/components/ion-textarea.js +1 -1
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +1 -1
- package/components/ion-toast.js +1 -1
- package/components/ion-toggle.js +1 -1
- package/components/ion-toolbar.js +1 -1
- package/components/{p-C1O9GEug.js → p--m5cCjbK.js} +1 -1
- package/components/{p-CfnGxjv-.js → p-B4uHHhPK.js} +1 -1
- package/components/{p-BxUIQcD9.js → p-BOvLNVKq.js} +1 -1
- package/components/{p-D_XD0pVT.js → p-BWBigMsI.js} +1 -1
- package/components/{p-xOjr4bwc.js → p-BZ4-QTes.js} +1 -1
- package/components/{p-tYCT3JGl.js → p-BjluhQMI.js} +1 -1
- package/components/{p-ClFYbgND.js → p-BlsIikdZ.js} +1 -1
- package/components/{p-Obm7si-x.js → p-Blug1Vxu.js} +1 -1
- package/components/{p-DTY4otpr.js → p-C91npEel.js} +1 -1
- package/components/{p-CVnwvOBD.js → p-CVb3x_r3.js} +1 -1
- package/components/{p-B6dUPQXq.js → p-CWLrHG8Y.js} +1 -1
- package/components/{p-0Pyit076.js → p-CfnNZz_d.js} +1 -1
- package/components/{p-DyePCNGr.js → p-DKrhJJV0.js} +1 -1
- package/components/p-DSzSbVP2.js +4 -0
- package/components/{p-BsVxQGUT.js → p-DgZOZQjJ.js} +1 -1
- package/components/{p-BO4sUqUv.js → p-Dmd2xqCe.js} +1 -1
- package/components/{p-83oP9gzn.js → p-GG5GhznE.js} +1 -1
- package/components/{p-Bc4wROfM.js → p-UQSiXX2Z.js} +1 -1
- package/components/{p-Dm7h4Nyv.js → p-qT1szVjw.js} +1 -1
- package/components/p-ypuYdSDB.js +4 -0
- package/dist/cjs/input.utils-BZdMWVrt.js +35 -0
- 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-input-otp.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ion-input.cjs.entry.js +42 -56
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +12 -12
- package/dist/cjs/ion-loading.cjs.entry.js +2 -2
- package/dist/cjs/ion-menu_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-modal.cjs.entry.js +4 -4
- package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-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 +41 -59
- 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 +44 -55
- package/dist/cjs/ion-toast.cjs.entry.js +2 -2
- package/dist/cjs/ion-toggle.cjs.entry.js +4 -4
- package/dist/cjs/slot-mutation-controller-CgTGFqlW.js +397 -0
- package/dist/collection/components/input/input.ios.css +56 -24
- package/dist/collection/components/input/input.js +36 -51
- package/dist/collection/components/input/input.md.css +78 -41
- package/dist/collection/components/input-otp/input-otp.js +3 -3
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +3 -3
- package/dist/collection/components/item-divider/item-divider.js +2 -2
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.js +2 -2
- package/dist/collection/components/item-options/item-options.js +1 -1
- package/dist/collection/components/item-sliding/item-sliding.js +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list-header/list-header.js +2 -2
- package/dist/collection/components/loading/loading.js +2 -2
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu-button/menu-button.js +2 -2
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/modal.js +4 -4
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/picker-column-option/picker-column-option.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.ios.css +63 -69
- package/dist/collection/components/select/select.js +40 -55
- package/dist/collection/components/select/select.md.css +85 -85
- 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.ios.css +94 -62
- package/dist/collection/components/textarea/textarea.js +39 -51
- package/dist/collection/components/textarea/textarea.md.css +103 -77
- 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/collection/utils/forms/index.js +1 -0
- package/dist/collection/utils/forms/start-container-controller.js +132 -0
- package/dist/docs.json +22 -6
- package/dist/esm/input.utils-B1ValN_N.js +33 -0
- 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-input-otp.entry.js +3 -3
- package/dist/esm/ion-input-password-toggle.entry.js +3 -3
- package/dist/esm/ion-input.entry.js +40 -54
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +12 -12
- package/dist/esm/ion-loading.entry.js +2 -2
- package/dist/esm/ion-menu_3.entry.js +6 -6
- package/dist/esm/ion-modal.entry.js +4 -4
- package/dist/esm/ion-nav_2.entry.js +2 -2
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-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 +40 -58
- 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 +43 -54
- package/dist/esm/ion-toast.entry.js +2 -2
- package/dist/esm/ion-toggle.entry.js +4 -4
- package/dist/esm/slot-mutation-controller-u741eD3Z.js +393 -0
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-dbfd2d52.entry.js → p-06533d51.entry.js} +1 -1
- package/dist/ionic/{p-a641d428.entry.js → p-141f5b47.entry.js} +1 -1
- package/dist/ionic/p-14a5e8f5.entry.js +4 -0
- package/dist/ionic/{p-12589d59.entry.js → p-19269e04.entry.js} +1 -1
- package/dist/ionic/{p-efef6788.entry.js → p-19abbc33.entry.js} +1 -1
- package/dist/ionic/{p-5394e1d4.entry.js → p-4204184c.entry.js} +1 -1
- package/dist/ionic/p-4bc3ecdb.entry.js +4 -0
- package/dist/ionic/{p-21a7fb2a.entry.js → p-4eed9ca1.entry.js} +1 -1
- package/dist/ionic/p-5521dc1f.entry.js +4 -0
- package/dist/ionic/p-5c3626de.entry.js +4 -0
- package/dist/ionic/{p-374b10cb.entry.js → p-5d3b411c.entry.js} +1 -1
- package/dist/ionic/p-60576951.entry.js +4 -0
- package/dist/ionic/{p-1d2e53e8.entry.js → p-711a8319.entry.js} +1 -1
- package/dist/ionic/{p-48b6835f.entry.js → p-71419a55.entry.js} +1 -1
- package/dist/ionic/{p-ba8a598f.entry.js → p-79325ffe.entry.js} +1 -1
- package/dist/ionic/p-84a38904.entry.js +4 -0
- package/dist/ionic/{p-bf7c1f05.entry.js → p-8f204f1e.entry.js} +1 -1
- package/dist/ionic/p-9055e897.entry.js +4 -0
- package/dist/ionic/{p-6277efba.entry.js → p-9658e083.entry.js} +1 -1
- package/dist/ionic/{p-74f30659.entry.js → p-988baee1.entry.js} +1 -1
- package/dist/ionic/p-DAztxQR0.js +4 -0
- package/dist/ionic/p-DkUB-ROc.js +4 -0
- package/dist/ionic/{p-3835a020.entry.js → p-a71232d6.entry.js} +1 -1
- package/dist/ionic/{p-08f1ed1c.entry.js → p-a73d8742.entry.js} +1 -1
- package/dist/ionic/{p-8a21bdbd.entry.js → p-a8421d18.entry.js} +1 -1
- package/dist/ionic/{p-2ce59395.entry.js → p-a8c2c343.entry.js} +1 -1
- package/dist/ionic/{p-c3f65965.entry.js → p-bc2bad5f.entry.js} +1 -1
- package/dist/ionic/{p-f622796d.entry.js → p-be08d500.entry.js} +1 -1
- package/dist/ionic/p-be9a4f51.entry.js +4 -0
- package/dist/ionic/{p-33829e94.entry.js → p-ccc5044d.entry.js} +1 -1
- package/dist/ionic/{p-3c5fdd27.entry.js → p-ce32912b.entry.js} +1 -1
- package/dist/ionic/p-ded69ceb.entry.js +4 -0
- package/dist/ionic/{p-cec87704.entry.js → p-e0c6e31e.entry.js} +1 -1
- package/dist/ionic/{p-09b47b7d.entry.js → p-e8c3e08a.entry.js} +1 -1
- package/dist/ionic/{p-8f3a1995.entry.js → p-ed5d540d.entry.js} +1 -1
- package/dist/ionic/{p-6b286c5c.entry.js → p-f2802440.entry.js} +1 -1
- package/dist/ionic/{p-62e71297.entry.js → p-fe1bfbcf.entry.js} +1 -1
- package/dist/types/components/input/input.d.ts +11 -5
- package/dist/types/components/select/select.d.ts +12 -6
- package/dist/types/components/textarea/textarea.d.ts +12 -5
- package/dist/types/utils/forms/index.d.ts +1 -0
- package/dist/types/utils/forms/start-container-controller.d.ts +34 -0
- package/hydrate/index.js +350 -267
- package/hydrate/index.mjs +350 -267
- package/package.json +4 -4
- package/components/p-DIgGHN7D.js +0 -4
- package/components/p-MCJ7HjWe.js +0 -4
- package/dist/cjs/input.utils-CP4fzrqk.js +0 -149
- package/dist/cjs/notch-controller-BEUpEgb5.js +0 -155
- package/dist/esm/input.utils-J6HWocLA.js +0 -146
- package/dist/esm/notch-controller-CrUGyHYz.js +0 -153
- package/dist/ionic/p-0266b7e1.entry.js +0 -4
- package/dist/ionic/p-214e000a.entry.js +0 -4
- package/dist/ionic/p-91c6faf1.entry.js +0 -4
- package/dist/ionic/p-9b865fe6.entry.js +0 -4
- package/dist/ionic/p-BnMQxWON.js +0 -4
- package/dist/ionic/p-ac6ef997.entry.js +0 -4
- package/dist/ionic/p-b24dc0a1.entry.js +0 -4
- package/dist/ionic/p-c8fbe544.entry.js +0 -4
- package/dist/ionic/p-cb12f6c3.entry.js +0 -4
- package/dist/ionic/p-ede019ef.entry.js +0 -4
- package/dist/ionic/p-kJA95YWg.js +0 -4
|
@@ -410,11 +410,11 @@ const ItemDivider = class {
|
|
|
410
410
|
sticky = false;
|
|
411
411
|
render() {
|
|
412
412
|
const mode = ionicGlobal.getIonMode(this);
|
|
413
|
-
return (index.h(index.Host, { key: '
|
|
413
|
+
return (index.h(index.Host, { key: 'b191727cc26c600287fd856e49216bf1ae1d5aad', class: theme.createColorClasses(this.color, {
|
|
414
414
|
[mode]: true,
|
|
415
415
|
'item-divider-sticky': this.sticky,
|
|
416
416
|
item: true,
|
|
417
|
-
}) }, index.h("slot", { key: '
|
|
417
|
+
}) }, index.h("slot", { key: 'a8e2eb48ca858b64da8ad018fa8d1667030b7143', name: "start" }), index.h("div", { key: '3219e0b76ac4a96db50a67f1f2794a235111c613', class: "item-divider-inner", part: "inner" }, index.h("div", { key: '31a64775153cd8704458e0e2a4a512096585deb4', class: "item-divider-wrapper", part: "container" }, index.h("slot", { key: 'd46dfb578028790eb6ccaac5e6009a5d96aa831a' })), index.h("slot", { key: 'a5fc7ac27e418ea82d9dcc913a8dae7e35493760', name: "end" }))));
|
|
418
418
|
}
|
|
419
419
|
};
|
|
420
420
|
ItemDivider.style = {
|
|
@@ -432,7 +432,7 @@ const ItemGroup = class {
|
|
|
432
432
|
}
|
|
433
433
|
render() {
|
|
434
434
|
const mode = ionicGlobal.getIonMode(this);
|
|
435
|
-
return (index.h(index.Host, { key: '
|
|
435
|
+
return (index.h(index.Host, { key: 'd24ee9c70a99d11b7d95dfb4a8066670bdfcbc1d', role: "group", class: {
|
|
436
436
|
[mode]: true,
|
|
437
437
|
// Used internally for styling
|
|
438
438
|
[`item-group-${mode}`]: true,
|
|
@@ -525,13 +525,13 @@ const Label = class {
|
|
|
525
525
|
render() {
|
|
526
526
|
const position = this.position;
|
|
527
527
|
const mode = ionicGlobal.getIonMode(this);
|
|
528
|
-
return (index.h(index.Host, { key: '
|
|
528
|
+
return (index.h(index.Host, { key: '461604c1887f322dc13d7df3d5cdbb7ee1361117', class: theme.createColorClasses(this.color, {
|
|
529
529
|
[mode]: true,
|
|
530
530
|
'in-item-color': theme.hostContext('ion-item.ion-color', this.el),
|
|
531
531
|
[`label-${position}`]: position !== undefined,
|
|
532
532
|
[`label-no-animate`]: this.noAnimate,
|
|
533
533
|
'label-rtl': document.dir === 'rtl',
|
|
534
|
-
}) }, index.h("slot", { key: '
|
|
534
|
+
}) }, index.h("slot", { key: 'a7005d0a217641278aa8e95144e8e4b9ae87a1c5' })));
|
|
535
535
|
}
|
|
536
536
|
static get watchers() { return {
|
|
537
537
|
"color": [{
|
|
@@ -580,7 +580,7 @@ const List = class {
|
|
|
580
580
|
render() {
|
|
581
581
|
const mode = ionicGlobal.getIonMode(this);
|
|
582
582
|
const { lines, inset } = this;
|
|
583
|
-
return (index.h(index.Host, { key: '
|
|
583
|
+
return (index.h(index.Host, { key: 'b21e063d568b07331ea9443647b3faf33265256a', role: "list", class: {
|
|
584
584
|
[mode]: true,
|
|
585
585
|
// Used internally for styling
|
|
586
586
|
[`list-${mode}`]: true,
|
|
@@ -616,10 +616,10 @@ const ListHeader = class {
|
|
|
616
616
|
render() {
|
|
617
617
|
const { lines } = this;
|
|
618
618
|
const mode = ionicGlobal.getIonMode(this);
|
|
619
|
-
return (index.h(index.Host, { key: '
|
|
619
|
+
return (index.h(index.Host, { key: '92ab17533e169b1a1c990285449e0546aac98021', class: theme.createColorClasses(this.color, {
|
|
620
620
|
[mode]: true,
|
|
621
621
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
622
|
-
}) }, index.h("div", { key: '
|
|
622
|
+
}) }, index.h("div", { key: '26639255577380a8e70b61f753aa9ed57590694f', class: "list-header-inner", part: "inner" }, index.h("slot", { key: 'f69055e7a7a47ae8dcbbe289e18b6630f0792714' }))));
|
|
623
623
|
}
|
|
624
624
|
};
|
|
625
625
|
ListHeader.style = {
|
|
@@ -643,9 +643,9 @@ const Note = class {
|
|
|
643
643
|
color;
|
|
644
644
|
render() {
|
|
645
645
|
const mode = ionicGlobal.getIonMode(this);
|
|
646
|
-
return (index.h(index.Host, { key: '
|
|
646
|
+
return (index.h(index.Host, { key: 'ffe9b4de8bbd89b1ef427f6cd5dbcd354d715e6b', class: theme.createColorClasses(this.color, {
|
|
647
647
|
[mode]: true,
|
|
648
|
-
}) }, index.h("slot", { key: '
|
|
648
|
+
}) }, index.h("slot", { key: '42fa3ca3f98208ea2a5057da25b7f9d371c5ba1f' })));
|
|
649
649
|
}
|
|
650
650
|
};
|
|
651
651
|
Note.style = {
|
|
@@ -686,11 +686,11 @@ const SkeletonText = class {
|
|
|
686
686
|
const animated = this.animated && index.config.getBoolean('animated', true);
|
|
687
687
|
const inMedia = theme.hostContext('ion-avatar', this.el) || theme.hostContext('ion-thumbnail', this.el);
|
|
688
688
|
const mode = ionicGlobal.getIonMode(this);
|
|
689
|
-
return (index.h(index.Host, { key: '
|
|
689
|
+
return (index.h(index.Host, { key: '1114e5caf6419e9458db8256480b39e6989963b2', class: {
|
|
690
690
|
[mode]: true,
|
|
691
691
|
'skeleton-text-animated': animated,
|
|
692
692
|
'in-media': inMedia,
|
|
693
|
-
} }, index.h("span", { key: '
|
|
693
|
+
} }, index.h("span", { key: '9137cf837f163fc0653437fc003666cddac103b0' }, "\u00A0")));
|
|
694
694
|
}
|
|
695
695
|
};
|
|
696
696
|
SkeletonText.style = skeletonTextCss();
|
|
@@ -360,14 +360,14 @@ const Loading = class {
|
|
|
360
360
|
* Otherwise, don't set aria-labelledby.
|
|
361
361
|
*/
|
|
362
362
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
363
|
-
return (index.h(index.Host, { key: '
|
|
363
|
+
return (index.h(index.Host, { key: '2d14122ff3081de73631a7fdd4affdd5c73b8618', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1", ...htmlAttributes, style: {
|
|
364
364
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
365
365
|
}, onIonBackdropTap: this.onBackdropTap, class: {
|
|
366
366
|
...theme.getClassMap(this.cssClass),
|
|
367
367
|
[mode]: true,
|
|
368
368
|
'overlay-hidden': true,
|
|
369
369
|
'loading-translucent': this.translucent,
|
|
370
|
-
} }, index.h("ion-backdrop", { key: '
|
|
370
|
+
} }, index.h("ion-backdrop", { key: 'b7d5bb0d670a20c159d7f67327bf3b1489449188', visible: this.showBackdrop, tappable: this.backdropDismiss }), index.h("div", { key: '085ce92bd2004d323ab47eb472b83826e48dc619', tabindex: "0", "aria-hidden": "true" }), index.h("div", { key: '4ecd5bfc0bbd3da434d32f0f319f867a44c5e1f1', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (index.h("div", { key: '5a4498e1421e09d01c0ee4312eae5272e95c3127', class: "loading-spinner" }, index.h("ion-spinner", { key: '1b3bc7d45d775195657ead3535f65e6b79f37e84', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), index.h("div", { key: 'bc7c5467b9f1c6ab957f79934e97acc713bdec37', tabindex: "0", "aria-hidden": "true" })));
|
|
371
371
|
}
|
|
372
372
|
static get watchers() { return {
|
|
373
373
|
"isOpen": [{
|
|
@@ -708,14 +708,14 @@ const Menu = class {
|
|
|
708
708
|
* the ionBackButton listener in the menu controller
|
|
709
709
|
* will handle closing the menu when Escape is pressed.
|
|
710
710
|
*/
|
|
711
|
-
return (index.h(index.Host, { key: '
|
|
711
|
+
return (index.h(index.Host, { key: 'ca4856cbc46001fc95a47591031c00a100555dcf', onKeyDown: hardwareBackButton.shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
712
712
|
[mode]: true,
|
|
713
713
|
[`menu-type-${type}`]: true,
|
|
714
714
|
'menu-enabled': !disabled,
|
|
715
715
|
[`menu-side-${side}`]: true,
|
|
716
716
|
'menu-pane-visible': isPaneVisible,
|
|
717
717
|
'split-pane-side': theme.hostContext('ion-split-pane', el),
|
|
718
|
-
} }, index.h("div", { key: '
|
|
718
|
+
} }, index.h("div", { key: '155564ac239dba04b0b41ad194598a23c8d72d3f', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, index.h("slot", { key: 'b960042d1e86fd6220f1d862033e79e2dbbe7bcb' })), index.h("ion-backdrop", { key: '28589933d545b14d063c62fbe61116132d808adf', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
719
719
|
}
|
|
720
720
|
static get watchers() { return {
|
|
721
721
|
"type": [{
|
|
@@ -811,7 +811,7 @@ const MenuButton = class {
|
|
|
811
811
|
type: this.type,
|
|
812
812
|
};
|
|
813
813
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
814
|
-
return (index.h(index.Host, { key: '
|
|
814
|
+
return (index.h(index.Host, { key: 'b8869377822b082c6c4d3f16135b50b733eabf65', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: theme.createColorClasses(color, {
|
|
815
815
|
[mode]: true,
|
|
816
816
|
button: true, // ion-buttons target .button
|
|
817
817
|
'menu-button-hidden': hidden,
|
|
@@ -820,7 +820,7 @@ const MenuButton = class {
|
|
|
820
820
|
'in-toolbar-color': theme.hostContext('ion-toolbar[color]', this.el),
|
|
821
821
|
'ion-activatable': true,
|
|
822
822
|
'ion-focusable': true,
|
|
823
|
-
}) }, index.h("button", { key: '
|
|
823
|
+
}) }, index.h("button", { key: '48fc0a7011414b60dd7d5136f247e937ae4bb8c8', ...attrs, disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }, index.h("span", { key: '8c712f28c5afd345e403a9afc525931112852708', class: "button-inner" }, index.h("slot", { key: 'dd872325e42baf435188478c8d1cfc416075089d' }, index.h("ion-icon", { key: 'a4f02bdb715b07792c17e12c7837873d70171f88', part: "icon", icon: menuIcon, mode: mode, lazy: false, "aria-hidden": "true" }))), mode === 'md' && index.h("ion-ripple-effect", { key: '564e2a8a804e14d1135502f7b17d8b7b9862e81b', type: "unbounded" }))));
|
|
824
824
|
}
|
|
825
825
|
};
|
|
826
826
|
MenuButton.style = {
|
|
@@ -863,10 +863,10 @@ const MenuToggle = class {
|
|
|
863
863
|
render() {
|
|
864
864
|
const mode = ionicGlobal.getIonMode(this);
|
|
865
865
|
const hidden = this.autoHide && !this.visible;
|
|
866
|
-
return (index.h(index.Host, { key: '
|
|
866
|
+
return (index.h(index.Host, { key: '76d21ea6493b8161860c941e3754fef1e20395cc', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
867
867
|
[mode]: true,
|
|
868
868
|
'menu-toggle-hidden': hidden,
|
|
869
|
-
} }, index.h("slot", { key: '
|
|
869
|
+
} }, index.h("slot", { key: '9383610fd3105e1928a38788eb596e313e2b07f8' })));
|
|
870
870
|
}
|
|
871
871
|
};
|
|
872
872
|
MenuToggle.style = menuToggleCss();
|
|
@@ -3196,7 +3196,7 @@ const Modal = class {
|
|
|
3196
3196
|
const isCardModal = presentingElement !== undefined && mode === 'ios';
|
|
3197
3197
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
3198
3198
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
3199
|
-
return (index$3.h(index$3.Host, { key: '
|
|
3199
|
+
return (index$3.h(index$3.Host, { key: 'a471c293319cb6ee5ffb7ffafec0b8413e4289de', "no-router": true,
|
|
3200
3200
|
// Allow the modal to be navigable when the handle is focusable
|
|
3201
3201
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1, ...htmlAttributes, style: {
|
|
3202
3202
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
@@ -3209,7 +3209,7 @@ const Modal = class {
|
|
|
3209
3209
|
'overlay-hidden': true,
|
|
3210
3210
|
[overlays.FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false,
|
|
3211
3211
|
...theme.getClassMap(this.cssClass),
|
|
3212
|
-
}, onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }, index$3.h("ion-backdrop", { key: '
|
|
3212
|
+
}, onIonBackdropTap: this.onBackdropTap, onIonModalDidPresent: this.onLifecycle, onIonModalWillPresent: this.onLifecycle, onIonModalWillDismiss: this.onLifecycle, onIonModalDidDismiss: this.onLifecycle, onFocus: this.onModalFocus }, index$3.h("ion-backdrop", { key: 'f67934afd4ddad64623856fb641cb6db846df428', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), mode === 'ios' && index$3.h("div", { key: 'a23f5cb6cf60c8f717c1dd556bce375829c80a43', class: "modal-shadow" }), index$3.h("div", { key: '51eb6cd1070e4b7e49840a78dc7437238c867a01',
|
|
3213
3213
|
/*
|
|
3214
3214
|
role and aria-modal must be used on the
|
|
3215
3215
|
same element. They must also be set inside the
|
|
@@ -3222,9 +3222,9 @@ const Modal = class {
|
|
|
3222
3222
|
without the tabindex focus() would be a no-op and screen readers
|
|
3223
3223
|
may not properly announce the dialog and its content when it opens.
|
|
3224
3224
|
*/
|
|
3225
|
-
role: "dialog", ...inheritedAttributes, "aria-modal": "true", tabIndex: -1, class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }, showHandle && (index$3.h("button", { key: '
|
|
3225
|
+
role: "dialog", ...inheritedAttributes, "aria-modal": "true", tabIndex: -1, class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }, showHandle && (index$3.h("button", { key: 'f49a144642b5c227c0c2b00b33f4c7e37a2bf088', class: "modal-handle",
|
|
3226
3226
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
3227
|
-
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", ref: (el) => (this.dragHandleEl = el) })), index$3.h("slot", { key: '
|
|
3227
|
+
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", ref: (el) => (this.dragHandleEl = el) })), index$3.h("slot", { key: 'e781c0d5881762c6b61aa432721a38b49580ff64', onSlotchange: this.onSlotChange }))));
|
|
3228
3228
|
}
|
|
3229
3229
|
static get watchers() { return {
|
|
3230
3230
|
"isOpen": [{
|
|
@@ -829,7 +829,7 @@ const Nav = class {
|
|
|
829
829
|
}
|
|
830
830
|
}
|
|
831
831
|
render() {
|
|
832
|
-
return index.h("slot", { key: '
|
|
832
|
+
return index.h("slot", { key: '1886154d3c2fa8511af4d641d269aaa4c0f45c05' });
|
|
833
833
|
}
|
|
834
834
|
static get watchers() { return {
|
|
835
835
|
"swipeGesture": [{
|
|
@@ -887,7 +887,7 @@ const NavLink = class {
|
|
|
887
887
|
return navLink(this.el, this.routerDirection, this.component, this.componentProps, this.routerAnimation);
|
|
888
888
|
};
|
|
889
889
|
render() {
|
|
890
|
-
return index.h(index.Host, { key: '
|
|
890
|
+
return index.h(index.Host, { key: '4bcaa74015462824b3f19253b04a77ce83389ca0', onClick: this.onClick });
|
|
891
891
|
}
|
|
892
892
|
};
|
|
893
893
|
|
|
@@ -104,10 +104,10 @@ const PickerColumnOption = class {
|
|
|
104
104
|
render() {
|
|
105
105
|
const { color, disabled, ariaLabel } = this;
|
|
106
106
|
const mode = ionicGlobal.getIonMode(this);
|
|
107
|
-
return (index.h(index.Host, { key: '
|
|
107
|
+
return (index.h(index.Host, { key: '81f1938e0114392a6e035442b8bc9fcdf73fda84', class: theme.createColorClasses(color, {
|
|
108
108
|
[mode]: true,
|
|
109
109
|
['option-disabled']: disabled,
|
|
110
|
-
}) }, index.h("div", { key: '
|
|
110
|
+
}) }, index.h("div", { key: 'b0bb84fd39ea38ea3037ad43c6be8e8dfca2e7d1', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, index.h("slot", { key: 'e0305b721618aef05823032ccd58214b0f184ca9' }))));
|
|
111
111
|
}
|
|
112
112
|
static get watchers() { return {
|
|
113
113
|
"aria-label": [{
|
|
@@ -1650,7 +1650,7 @@ const Popover = class {
|
|
|
1650
1650
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
1651
1651
|
const desktop = ionicGlobal.isPlatform('desktop');
|
|
1652
1652
|
const enableArrow = arrow && !parentPopover;
|
|
1653
|
-
return (index.h(index.Host, { key: '
|
|
1653
|
+
return (index.h(index.Host, { key: '52ffc7116969ae1b8b927e67f2acbfe5f5434f70', "aria-modal": "true", "no-router": true, tabindex: "-1", ...htmlAttributes, style: {
|
|
1654
1654
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
1655
1655
|
}, class: {
|
|
1656
1656
|
...theme.getClassMap(this.cssClass),
|
|
@@ -1661,7 +1661,7 @@ const Popover = class {
|
|
|
1661
1661
|
[`popover-side-${side}`]: true,
|
|
1662
1662
|
[overlays.FOCUS_TRAP_DISABLE_CLASS]: focusTrap === false,
|
|
1663
1663
|
'popover-nested': !!parentPopover,
|
|
1664
|
-
}, onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }, !parentPopover && index.h("ion-backdrop", { key: '
|
|
1664
|
+
}, onIonPopoverDidPresent: onLifecycle, onIonPopoverWillPresent: onLifecycle, onIonPopoverWillDismiss: onLifecycle, onIonPopoverDidDismiss: onLifecycle, onIonBackdropTap: this.onBackdropTap }, !parentPopover && index.h("ion-backdrop", { key: '79a8e851dbd22119e21ffb2f4709c555251045c8', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), index.h("div", { key: 'c46c9f62c3ef3f902e23f27404eaa446a5d8cf88', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && index.h("div", { key: '9fdcbbc4ea6c7bde74f646d48eb77296b2c9dd83', class: "popover-arrow", part: "arrow" }), index.h("div", { key: '138e56bb83462ebb0908edb522b45ecf94b82aeb', class: "popover-content", part: "content" }, index.h("slot", { key: 'daeefcf002e8d89e91d6e0faf7f63f75b68a2dbe' })))));
|
|
1665
1665
|
}
|
|
1666
1666
|
static get watchers() { return {
|
|
1667
1667
|
"trigger": [{
|
|
@@ -48,7 +48,7 @@ const ProgressBar = class {
|
|
|
48
48
|
const mode = ionicGlobal.getIonMode(this);
|
|
49
49
|
// If the progress is displayed as a solid bar.
|
|
50
50
|
const progressSolid = buffer === 1;
|
|
51
|
-
return (index.h(index.Host, { key: '
|
|
51
|
+
return (index.h(index.Host, { key: 'd53d39a3e2c0198164a9face62d3775f357b6914', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: theme.createColorClasses(color, {
|
|
52
52
|
[mode]: true,
|
|
53
53
|
[`progress-bar-${type}`]: true,
|
|
54
54
|
'progress-paused': paused,
|
|
@@ -183,7 +183,7 @@ const Radio = class {
|
|
|
183
183
|
const mode = ionicGlobal.getIonMode(this);
|
|
184
184
|
const inItem = theme.hostContext('ion-item', el);
|
|
185
185
|
const inMultipleInputsItem = theme.hostContext('ion-item.item-multiple-inputs', el);
|
|
186
|
-
return (index.h(index.Host, { key: '
|
|
186
|
+
return (index.h(index.Host, { key: 'ad7ac0bdc4d3216ecc19402e5b8d6f9e4d09334b', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: theme.createColorClasses(color, {
|
|
187
187
|
[mode]: true,
|
|
188
188
|
'in-item': inItem,
|
|
189
189
|
'radio-checked': checked,
|
|
@@ -196,10 +196,10 @@ const Radio = class {
|
|
|
196
196
|
// styling stays suppressed either way.
|
|
197
197
|
'ion-activatable': !inItem,
|
|
198
198
|
'ion-focusable': !inItem || inMultipleInputsItem,
|
|
199
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, index.h("label", { key: '
|
|
199
|
+
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, index.h("label", { key: '59c09125633120e2000447b8a3bc24c54490aa85', class: "radio-wrapper" }, index.h("div", { key: '1a98f3e0027deeac52647ba37aa9a99be0231966', class: {
|
|
200
200
|
'label-text-wrapper': true,
|
|
201
201
|
'label-text-wrapper-hidden': !hasLabel,
|
|
202
|
-
}, part: "label" }, index.h("slot", { key: '
|
|
202
|
+
}, part: "label" }, index.h("slot", { key: '6a48e76ac8793d2aacebd3a8f193e3537272e5c2' })), index.h("div", { key: '68e4350bac8dad29c6b7a180560de2bb4dfc8c41', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
203
203
|
}
|
|
204
204
|
static get watchers() { return {
|
|
205
205
|
"value": [{
|
|
@@ -502,7 +502,7 @@ const RadioGroup = class {
|
|
|
502
502
|
const { label, labelId, el, name, value } = this;
|
|
503
503
|
const mode = ionicGlobal.getIonMode(this);
|
|
504
504
|
helpers.renderHiddenInput(true, el, name, value, false);
|
|
505
|
-
return (index.h(index.Host, { key: '
|
|
505
|
+
return (index.h(index.Host, { key: '8d926a17e800adf0184274215c9689c96a8d6dfd', role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, onClick: this.onClick, class: mode }, this.renderHintText(), index.h("slot", { key: '2ff891123d5971a581b70d0886d23a074358c2dc' })));
|
|
506
506
|
}
|
|
507
507
|
static get watchers() { return {
|
|
508
508
|
"value": [{
|
|
@@ -860,7 +860,7 @@ const Range = class {
|
|
|
860
860
|
const valueAtMin = dualKnobs ? this.valA === min || this.valB === min : this.valA === min;
|
|
861
861
|
const valueAtMax = dualKnobs ? this.valA === max || this.valB === max : this.valA === max;
|
|
862
862
|
helpers.renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
863
|
-
return (index.h(index.Host, { key: '
|
|
863
|
+
return (index.h(index.Host, { key: 'c9e2fd903e9a4dc8fc6c6d11695c830010d04705', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: theme.createColorClasses(this.color, {
|
|
864
864
|
[mode]: true,
|
|
865
865
|
'in-item': inItem,
|
|
866
866
|
'range-disabled': disabled,
|
|
@@ -874,10 +874,10 @@ const Range = class {
|
|
|
874
874
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
875
875
|
'range-value-min': valueAtMin,
|
|
876
876
|
'range-value-max': valueAtMax,
|
|
877
|
-
}) }, index.h("label", { key: '
|
|
877
|
+
}) }, index.h("label", { key: '034b9fdf0cfb8574f0deaa082da0d09d49416a69', class: "range-wrapper", id: "range-label" }, index.h("div", { key: 'a47912d48e1a71746aeb506e14a59ff84af43682', class: {
|
|
878
878
|
'label-text-wrapper': true,
|
|
879
879
|
'label-text-wrapper-hidden': !hasLabel,
|
|
880
|
-
}, part: "label" }, label !== undefined ? index.h("div", { class: "label-text" }, label) : index.h("slot", { name: "label" })), index.h("div", { key: '
|
|
880
|
+
}, part: "label" }, label !== undefined ? index.h("div", { class: "label-text" }, label) : index.h("slot", { name: "label" })), index.h("div", { key: '4eeea5baa3f1c9cb365385910b53bde578cae119', class: "native-wrapper" }, index.h("slot", { key: '6a62a106648d301b9fdb20e89f359317e4f552fa', name: "start" }), this.renderRangeSlider(), index.h("slot", { key: '03c8bd01a7465ba78f6e45405facd243c1aaf526', name: "end" })))));
|
|
881
881
|
}
|
|
882
882
|
static get watchers() { return {
|
|
883
883
|
"debounce": [{
|
|
@@ -980,7 +980,7 @@ const Refresher = class {
|
|
|
980
980
|
}
|
|
981
981
|
render() {
|
|
982
982
|
const mode = ionicGlobal.getIonMode(this);
|
|
983
|
-
return (index.h(index.Host, { key: '
|
|
983
|
+
return (index.h(index.Host, { key: 'b76e9fb79121799717063137135e448a3c784d82', slot: "fixed", class: {
|
|
984
984
|
[mode]: true,
|
|
985
985
|
// Used internally for styling
|
|
986
986
|
[`refresher-${mode}`]: true,
|
|
@@ -1083,7 +1083,7 @@ const RefresherContent = class {
|
|
|
1083
1083
|
const pullingIcon = this.pullingIcon;
|
|
1084
1084
|
const hasSpinner = pullingIcon != null && spinnerConfigs.SPINNERS[pullingIcon] !== undefined;
|
|
1085
1085
|
const mode = ionicGlobal.getIonMode(this);
|
|
1086
|
-
return (index.h(index.Host, { key: '
|
|
1086
|
+
return (index.h(index.Host, { key: 'a1546008813bbcfa70f97e9b9025846ee0aed722', class: mode }, index.h("div", { key: '5422771d67fe201e22d4f9d7db6b685f3db5d99d', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (index.h("div", { key: '5c2b6dfc3f01b42586ea83380548d454b220a7ca', class: "refresher-pulling-icon" }, index.h("div", { key: '2c3799ca3f66960d7081c63c5a0840951f694baf', class: "spinner-arrow-container" }, index.h("ion-spinner", { key: '03f766a9b9354dcb8f6975757a9b882c2eb5cf4a', name: this.pullingIcon, paused: true }), mode === 'md' && this.pullingIcon === 'circular' && (index.h("div", { key: 'e5f4ba7c6a70adb71f8985af0e23aca07d7b005a', class: "arrow-container" }, index.h("ion-icon", { key: 'ddccbd9164ae8daa97178fc53b52f74f1fd298ef', icon: index$2.caretBackSharp, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (index.h("div", { key: '6fb742f47f9149fa6dc3daefe5aaa77f925da4bd', class: "refresher-pulling-icon" }, index.h("ion-icon", { key: '907657135eeac4c394be1eae4a659664a7bfacb0', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), index.h("div", { key: 'fb3094b3ed7e100ab9641c3221770889088e27f3', class: "refresher-refreshing" }, this.refreshingSpinner && (index.h("div", { key: 'bc8078f94e7cea3cb6f03a09e98540f0e0b38721', class: "refresher-refreshing-icon" }, index.h("ion-spinner", { key: '8f39524f073aa828e941bcdd4d48e4d5dfc759c6', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
1087
1087
|
}
|
|
1088
1088
|
};
|
|
1089
1089
|
|
|
@@ -33,7 +33,7 @@ const Reorder = class {
|
|
|
33
33
|
render() {
|
|
34
34
|
const mode = ionicGlobal.getIonMode(this);
|
|
35
35
|
const reorderIcon = mode === 'ios' ? index$1.reorderThreeOutline : index$1.reorderTwoSharp;
|
|
36
|
-
return (index.h(index.Host, { key: '
|
|
36
|
+
return (index.h(index.Host, { key: 'f278c473b4695a6a93565100e4fcaa7f9e3e9ff5', class: mode }, index.h("slot", { key: 'cc26b5ed297f68a0bea82e27e34a7fe945186f4e' }, index.h("ion-icon", { key: '696f5e4c2b09e64bd08abf0d0818b1554cd29737', icon: reorderIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
Reorder.style = {
|
|
@@ -326,7 +326,7 @@ const ReorderGroup = class {
|
|
|
326
326
|
}
|
|
327
327
|
render() {
|
|
328
328
|
const mode = ionicGlobal.getIonMode(this);
|
|
329
|
-
return (index.h(index.Host, { key: '
|
|
329
|
+
return (index.h(index.Host, { key: '779332508f44409696b6bab80eda72f9b1d7869d', class: {
|
|
330
330
|
[mode]: true,
|
|
331
331
|
'reorder-enabled': !this.disabled,
|
|
332
332
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -75,7 +75,7 @@ const RippleEffect = class {
|
|
|
75
75
|
}
|
|
76
76
|
render() {
|
|
77
77
|
const mode = ionicGlobal.getIonMode(this);
|
|
78
|
-
return (index.h(index.Host, { key: '
|
|
78
|
+
return (index.h(index.Host, { key: '371350cb76e98338ef7467191aaaf817b1298b3f', role: "presentation", class: {
|
|
79
79
|
[mode]: true,
|
|
80
80
|
unbounded: this.unbounded,
|
|
81
81
|
} }));
|
|
@@ -1177,10 +1177,10 @@ const RouterLink = class {
|
|
|
1177
1177
|
rel: this.rel,
|
|
1178
1178
|
target: this.target,
|
|
1179
1179
|
};
|
|
1180
|
-
return (index.h(index.Host, { key: '
|
|
1180
|
+
return (index.h(index.Host, { key: '8aaf732d8f5cc4ced351e2b3164605c10bd90cad', onClick: this.onClick, class: theme.createColorClasses(this.color, {
|
|
1181
1181
|
[mode]: true,
|
|
1182
1182
|
'ion-activatable': true,
|
|
1183
|
-
}) }, index.h("a", { key: '
|
|
1183
|
+
}) }, index.h("a", { key: '8f291ffbbce5b08dd10720d855eb020880bf1be1', ...attrs }, index.h("slot", { key: '24dc388a49204011e1c1f0a1131c9a1b0a4ae4da' }))));
|
|
1184
1184
|
}
|
|
1185
1185
|
};
|
|
1186
1186
|
RouterLink.style = routerLinkCss();
|
|
@@ -562,8 +562,8 @@ const Searchbar = class {
|
|
|
562
562
|
const clearIcon = this.clearIcon || (mode === 'ios' ? index$1.closeCircle : index$1.closeSharp);
|
|
563
563
|
const searchIcon = this.searchIcon || (mode === 'ios' ? index$1.searchOutline : index$1.searchSharp);
|
|
564
564
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
565
|
-
const cancelButton = this.showCancelButton !== 'never' && (index.h("button", { key: '
|
|
566
|
-
return (index.h(index.Host, { key: '
|
|
565
|
+
const cancelButton = this.showCancelButton !== 'never' && (index.h("button", { key: '47ee586db12684db8b2d16a790976bd247cbbc62', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: mode === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, index.h("div", { key: '55e6b556a46e7bba14c2cfe1b58542499d2334ab', "aria-hidden": "true" }, mode === 'md' ? (index.h("ion-icon", { "aria-hidden": "true", mode: mode, icon: this.cancelButtonIcon, lazy: false })) : (cancelButtonText))));
|
|
566
|
+
return (index.h(index.Host, { key: '468d524b52a0d29d840e2c3cdafba46152716b15', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: theme.createColorClasses(this.color, {
|
|
567
567
|
[mode]: true,
|
|
568
568
|
'searchbar-animated': animated,
|
|
569
569
|
'searchbar-disabled': this.disabled,
|
|
@@ -573,14 +573,14 @@ const Searchbar = class {
|
|
|
573
573
|
'searchbar-has-focus': this.focused,
|
|
574
574
|
'searchbar-should-show-clear': this.shouldShowClearButton(),
|
|
575
575
|
'searchbar-should-show-cancel': this.shouldShowCancelButton(),
|
|
576
|
-
}) }, index.h("div", { key: '
|
|
576
|
+
}) }, index.h("div", { key: '94378bdfdf883c28941ef770d64347705d6f8345', class: "searchbar-input-container" }, index.h("input", { key: 'deea2190823bf8652703148d308aa21473605930', "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 ? 'on' : 'off', spellcheck: this.spellcheck, ...this.inheritedAttributes }), mode === 'md' && cancelButton, index.h("ion-icon", { key: '0ecc28496ab545f2064b71b994b4cbf0968c2108', "aria-hidden": "true", mode: mode, icon: searchIcon, lazy: false, class: "searchbar-search-icon" }), index.h("button", { key: '1bcc77d70eaa08f2ae7fc6173642f114fe387fb7', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: (ev) => {
|
|
577
577
|
/**
|
|
578
578
|
* This prevents mobile browsers from
|
|
579
579
|
* blurring the input when the clear
|
|
580
580
|
* button is activated.
|
|
581
581
|
*/
|
|
582
582
|
ev.preventDefault();
|
|
583
|
-
}, onClick: () => this.onClearInput(true) }, index.h("ion-icon", { key: '
|
|
583
|
+
}, onClick: () => this.onClearInput(true) }, index.h("ion-icon", { key: 'bbf8d05eb1070a0d34a22236dfaaf11d8dcc06af', "aria-hidden": "true", mode: mode, icon: clearIcon, lazy: false, class: "searchbar-clear-icon" }))), mode === 'ios' && cancelButton));
|
|
584
584
|
}
|
|
585
585
|
static get watchers() { return {
|
|
586
586
|
"lang": [{
|
|
@@ -12,7 +12,7 @@ const SegmentContent = class {
|
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
}
|
|
14
14
|
render() {
|
|
15
|
-
return (index.h(index.Host, { key: '
|
|
15
|
+
return (index.h(index.Host, { key: 'b03079d7cfd78724828a4f42d7a7030457682b25' }, index.h("slot", { key: 'c4c86280e5e577ee31a181758fea27a788fd87fa' })));
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
SegmentContent.style = segmentContentCss();
|
|
@@ -124,11 +124,11 @@ const SegmentView = class {
|
|
|
124
124
|
}
|
|
125
125
|
render() {
|
|
126
126
|
const { disabled, isManualScroll, swipeGesture } = this;
|
|
127
|
-
return (index.h(index.Host, { key: '
|
|
127
|
+
return (index.h(index.Host, { key: 'b3cd48fead5d2877ead68cf6d81955fc31530c7a', class: {
|
|
128
128
|
'segment-view-disabled': disabled,
|
|
129
129
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
130
130
|
'segment-view-swipe-disabled': swipeGesture === false,
|
|
131
|
-
} }, index.h("slot", { key: '
|
|
131
|
+
} }, index.h("slot", { key: 'ad5aa8b79790c490e13438afa0cbb2c241eab0a1' })));
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
134
|
SegmentView.style = {
|
|
@@ -590,14 +590,14 @@ const Segment = class {
|
|
|
590
590
|
}
|
|
591
591
|
render() {
|
|
592
592
|
const mode = ionicGlobal.getIonMode(this);
|
|
593
|
-
return (index.h(index.Host, { key: '
|
|
593
|
+
return (index.h(index.Host, { key: 'f74bd72f10f966129528497aa47b2c683a62d59e', role: "tablist", onClick: this.onClick, class: theme.createColorClasses(this.color, {
|
|
594
594
|
[mode]: true,
|
|
595
595
|
'in-toolbar': theme.hostContext('ion-toolbar', this.el),
|
|
596
596
|
'in-toolbar-color': theme.hostContext('ion-toolbar[color]', this.el),
|
|
597
597
|
'segment-activated': this.activated,
|
|
598
598
|
'segment-disabled': this.disabled,
|
|
599
599
|
'segment-scrollable': this.scrollable,
|
|
600
|
-
}) }, index.h("slot", { key: '
|
|
600
|
+
}) }, index.h("slot", { key: '79b0c6cce9d83d147b190ae5d77df7de29a6b42d', onSlotchange: this.onSlottedItemsChange })));
|
|
601
601
|
}
|
|
602
602
|
static get watchers() { return {
|
|
603
603
|
"color": [{
|
|
@@ -730,7 +730,7 @@ const SegmentButton = class {
|
|
|
730
730
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
731
731
|
const mode = ionicGlobal.getIonMode(this);
|
|
732
732
|
const hasSegmentColor = () => segmentEl?.color !== undefined;
|
|
733
|
-
return (index.h(index.Host, { key: '
|
|
733
|
+
return (index.h(index.Host, { key: '2b4b7ad8b981d2ee39aba5b9c734de8a5bd045ba', class: {
|
|
734
734
|
[mode]: true,
|
|
735
735
|
'in-toolbar': theme.hostContext('ion-toolbar', this.el),
|
|
736
736
|
'in-toolbar-color': theme.hostContext('ion-toolbar[color]', this.el),
|
|
@@ -746,7 +746,7 @@ const SegmentButton = class {
|
|
|
746
746
|
'ion-activatable': true,
|
|
747
747
|
'ion-activatable-instant': true,
|
|
748
748
|
'ion-focusable': true,
|
|
749
|
-
} }, index.h("button", { key: '
|
|
749
|
+
} }, index.h("button", { key: '9cc58cfbe70844a0f5e1a307002e0d04e044be99', "aria-selected": checked ? 'true' : 'false', role: "tab", ref: (el) => (this.nativeEl = el), type: type, class: "button-native", part: "native", disabled: disabled, ...this.inheritedAttributes }, index.h("span", { key: '6443551951ce589efdb2d0e1fd1a14e35b82ed19', class: "button-inner" }, index.h("slot", { key: 'c3548b469ae6e5477d8372cb28bc70dff3a24d18' })), mode === 'md' && index.h("ion-ripple-effect", { key: 'fb176415ca1702766c4d7a5964ec0bb467bdcb55' })), index.h("div", { key: 'aa22b4752f8336d0e232a1e0894e87023b284a08', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, index.h("div", { key: '61e29ea52048fa0583fce6c20c81614a4d0199cb', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
750
750
|
}
|
|
751
751
|
static get watchers() { return {
|
|
752
752
|
"value": [{
|
|
@@ -162,7 +162,7 @@ const SelectModal = class {
|
|
|
162
162
|
});
|
|
163
163
|
}
|
|
164
164
|
render() {
|
|
165
|
-
return (index.h(index.Host, { key: '
|
|
165
|
+
return (index.h(index.Host, { key: '791e95b985dd4b135db17a25fc678e9f8b73c597', class: ionicGlobal.getIonMode(this) }, index.h("ion-header", { key: '697d18eef394c4c11c73afe69b9eadd1bad97d38' }, index.h("ion-toolbar", { key: '036968824ad8771020fe2b7604a6e72b73efc8ae' }, this.header !== undefined && index.h("ion-title", { key: '102e0346be83e879e733f9b410437b26216156aa' }, this.header), index.h("ion-buttons", { key: '436b997e990ce2f5e12e1651f8afc31ae231f7b0', slot: "end" }, index.h("ion-button", { key: 'ee4ddfd0612d33583aa0b93ebdb5257b10d4fda5', onClick: () => this.closeModal() }, this.cancelText)))), index.h("ion-content", { key: '38ea098f85ac69226e614e0a09f668e9209f7ea1' }, index.h("ion-list", { key: '20becc2537a1a027915fe0598203039ceb8ba4f3' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
|
|
166
166
|
}
|
|
167
167
|
};
|
|
168
168
|
SelectModal.style = {
|