@ionic/core 8.8.20-dev.11788449221.155f9f1e → 8.8.20-dev.11789504012.1a675914
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-accordion.js +1 -1
- 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-breadcrumb.js +1 -1
- package/components/ion-button.js +1 -1
- package/components/ion-card.js +1 -1
- package/components/ion-checkbox.js +1 -1
- package/components/ion-chip.js +1 -1
- package/components/ion-col.js +1 -1
- package/components/ion-content.js +1 -1
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +1 -1
- package/components/ion-divider.js +1 -1
- package/components/ion-fab-button.js +1 -1
- package/components/ion-fab-list.js +1 -1
- package/components/ion-fab.js +1 -1
- package/components/ion-footer.js +1 -1
- package/components/ion-gallery-item.js +1 -1
- package/components/ion-gallery.js +1 -1
- package/components/ion-grid.js +1 -1
- package/components/ion-header.js +1 -1
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +1 -1
- package/components/ion-infinite-scroll.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-picker-column.js +1 -1
- package/components/ion-picker-legacy-column.js +1 -1
- package/components/ion-picker-legacy.js +1 -1
- package/components/ion-picker.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-0MMiHJhx.js +4 -0
- package/components/{p-Cc3oC60a.js → p-0rXxxCTt.js} +1 -1
- package/components/{p-D6zl6ZA8.js → p-BXXTyrCp.js} +1 -1
- package/components/{p-D2tZEPGv.js → p-BZxBDeEU.js} +1 -1
- package/components/{p-DkfVuzjA.js → p-BcWO94Sl.js} +1 -1
- package/components/{p-BrF4HSay.js → p-Br6q6Rgq.js} +1 -1
- package/components/{p-CaXMr1SL.js → p-C-cw-bM-.js} +1 -1
- package/components/{p-B_a4XnF2.js → p-C2J-Hvv3.js} +1 -1
- package/components/{p-CHB9zWT6.js → p-C5Bnq_Hm.js} +1 -1
- package/components/{p-CxoHM559.js → p-C5JYXyPD.js} +1 -1
- package/components/{p-DNweMi32.js → p-C898H5L0.js} +1 -1
- package/components/{p-B39i6rpY.js → p-C8kcgEG7.js} +1 -1
- package/components/{p-BLP69XoA.js → p-CH8ypgvS.js} +1 -1
- package/components/{p-C1L59jNd.js → p-CMtmHGrE.js} +1 -1
- package/components/{p-C784We0w.js → p-CNlz8OTE.js} +1 -1
- package/components/p-CToV3-ig.js +4 -0
- package/components/p-CV7PNBGr.js +4 -0
- package/components/p-CgbD1udy.js +4 -0
- package/components/p-ClTdIlic.js +4 -0
- package/components/{p-Bs5kME4N.js → p-Dh1f5tAK.js} +1 -1
- package/components/{p-CWqLCAML.js → p-DqkLOArC.js} +1 -1
- package/components/{p-BUePQFRZ.js → p-WeNgVmOy.js} +1 -1
- package/components/p-eRqVSlkn.js +4 -0
- package/components/{p-Ds3yn-R0.js → p-fUXE2zLc.js} +1 -1
- package/components/p-pztWcmzj.js +4 -0
- package/dist/cjs/ion-accordion_2.cjs.entry.js +9 -13
- package/dist/cjs/ion-app_8.cjs.entry.js +12 -12
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +10 -11
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +16 -27
- package/dist/cjs/ion-checkbox.cjs.entry.js +22 -14
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +6 -6
- package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime_3.cjs.entry.js +16 -48
- package/dist/cjs/ion-divider.cjs.entry.js +2 -2
- package/dist/cjs/ion-fab_3.cjs.entry.js +13 -17
- package/dist/cjs/ion-gallery-item.cjs.entry.js +2 -2
- package/dist/cjs/ion-gallery.cjs.entry.js +2 -2
- package/dist/cjs/ion-img.cjs.entry.js +2 -2
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-otp.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +17 -27
- package/dist/cjs/ion-input.cjs.entry.js +6 -13
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +22 -26
- package/dist/cjs/ion-loading.cjs.entry.js +2 -2
- package/dist/cjs/ion-menu_3.cjs.entry.js +13 -15
- package/dist/cjs/ion-modal.cjs.entry.js +4 -4
- package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +2 -2
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +11 -6
- package/dist/cjs/ion-reorder_2.cjs.entry.js +6 -13
- 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 +8 -34
- 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 +9 -8
- package/dist/cjs/ion-select_3.cjs.entry.js +10 -23
- 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 +3 -3
- package/dist/cjs/ion-toast.cjs.entry.js +2 -2
- package/dist/cjs/ion-toggle.cjs.entry.js +12 -27
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/accordion/accordion.js +9 -13
- package/dist/collection/components/back-button/back-button.js +10 -11
- package/dist/collection/components/breadcrumb/breadcrumb.js +16 -26
- package/dist/collection/components/checkbox/checkbox.ionic.css +33 -40
- package/dist/collection/components/checkbox/checkbox.ios.css +30 -24
- package/dist/collection/components/checkbox/checkbox.js +22 -12
- package/dist/collection/components/checkbox/checkbox.md.css +30 -24
- package/dist/collection/components/chip/chip.js +2 -2
- package/dist/collection/components/col/col.js +2 -2
- package/dist/collection/components/content/content.js +3 -3
- package/dist/collection/components/datetime/datetime.js +12 -44
- package/dist/collection/components/datetime-button/datetime-button.js +2 -2
- package/dist/collection/components/divider/divider.js +2 -2
- package/dist/collection/components/fab/fab.js +2 -2
- package/dist/collection/components/fab-button/fab-button.js +9 -13
- package/dist/collection/components/fab-list/fab-list.js +2 -2
- package/dist/collection/components/footer/footer.js +2 -2
- package/dist/collection/components/gallery/gallery.js +2 -2
- package/dist/collection/components/gallery-item/gallery-item.js +2 -2
- package/dist/collection/components/grid/grid.js +2 -2
- package/dist/collection/components/header/header.js +2 -2
- package/dist/collection/components/img/img.js +2 -2
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
- package/dist/collection/components/input/input.js +6 -13
- package/dist/collection/components/input-otp/input-otp.js +3 -3
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +18 -26
- package/dist/collection/components/item/item.js +10 -14
- 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 +9 -11
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/modal.js +4 -4
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/picker/picker.js +2 -2
- package/dist/collection/components/picker-column/picker-column.js +3 -3
- package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
- package/dist/collection/components/picker-legacy/picker.js +2 -2
- package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio/radio.js +3 -3
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- 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 +10 -4
- package/dist/collection/components/reorder/reorder.js +5 -12
- 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 +2 -2
- package/dist/collection/components/searchbar/searchbar.js +8 -32
- 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 +7 -20
- package/dist/collection/components/select-modal/select-modal.js +10 -8
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +2 -2
- 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 +3 -3
- package/dist/collection/components/thumbnail/thumbnail.js +2 -2
- 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 +12 -25
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/docs.json +23 -10
- package/dist/esm/{index-B4Kq2YNk.js → index-PnwG0glX.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +10 -14
- package/dist/esm/ion-app_8.entry.js +12 -12
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +11 -12
- package/dist/esm/ion-breadcrumb_2.entry.js +17 -28
- package/dist/esm/ion-checkbox.entry.js +23 -15
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +6 -6
- package/dist/esm/ion-datetime-button.entry.js +2 -2
- package/dist/esm/ion-datetime_3.entry.js +17 -49
- package/dist/esm/ion-divider.entry.js +2 -2
- package/dist/esm/ion-fab_3.entry.js +14 -18
- package/dist/esm/ion-gallery-item.entry.js +2 -2
- package/dist/esm/ion-gallery.entry.js +2 -2
- package/dist/esm/ion-img.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll_2.entry.js +3 -3
- package/dist/esm/ion-input-otp.entry.js +3 -3
- package/dist/esm/ion-input-password-toggle.entry.js +19 -29
- package/dist/esm/ion-input.entry.js +7 -14
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +23 -27
- package/dist/esm/ion-loading.entry.js +2 -2
- package/dist/esm/ion-menu_3.entry.js +14 -16
- package/dist/esm/ion-modal.entry.js +4 -4
- package/dist/esm/ion-nav_2.entry.js +2 -2
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-picker-column.entry.js +3 -3
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +2 -2
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +5 -5
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher_2.entry.js +12 -7
- package/dist/esm/ion-reorder_2.entry.js +7 -14
- 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 +9 -35
- 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 +11 -10
- package/dist/esm/ion-select_3.entry.js +11 -24
- 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 +3 -3
- package/dist/esm/ion-toast.entry.js +2 -2
- package/dist/esm/ion-toggle.entry.js +13 -28
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-2e0184c0.entry.js → p-0115c2fa.entry.js} +1 -1
- package/dist/ionic/p-0b2c58e0.entry.js +4 -0
- package/dist/ionic/{p-fc726f4a.entry.js → p-0bfb8d9e.entry.js} +1 -1
- package/dist/ionic/{p-68e453f7.entry.js → p-1147fa06.entry.js} +1 -1
- package/dist/ionic/{p-c4ed1e18.entry.js → p-1e45586e.entry.js} +1 -1
- package/dist/ionic/p-208cecae.entry.js +4 -0
- package/dist/ionic/p-29f69d29.entry.js +4 -0
- package/dist/ionic/{p-d9ac7a0d.entry.js → p-2b5e04c5.entry.js} +1 -1
- package/dist/ionic/{p-31a0c9c2.entry.js → p-311ef139.entry.js} +1 -1
- package/dist/ionic/{p-1ce65194.entry.js → p-3eff3411.entry.js} +1 -1
- package/dist/ionic/p-3f17704b.entry.js +4 -0
- package/dist/ionic/p-46e754ae.entry.js +4 -0
- package/dist/ionic/{p-b4901bce.entry.js → p-4901a10b.entry.js} +1 -1
- package/dist/ionic/{p-1b473bad.entry.js → p-4c8178d8.entry.js} +1 -1
- package/dist/ionic/p-5196bee9.entry.js +4 -0
- package/dist/ionic/{p-c4ebdfd2.entry.js → p-5386b094.entry.js} +1 -1
- package/dist/ionic/{p-2365483a.entry.js → p-54579b68.entry.js} +1 -1
- package/dist/ionic/{p-ff74cf5d.entry.js → p-54baa1af.entry.js} +1 -1
- package/dist/ionic/{p-2bf60b77.entry.js → p-59e59209.entry.js} +1 -1
- package/dist/ionic/p-5ad0c670.entry.js +4 -0
- package/dist/ionic/{p-9db78e5c.entry.js → p-62602fbd.entry.js} +1 -1
- package/dist/ionic/{p-316eed75.entry.js → p-6b86cb62.entry.js} +1 -1
- package/dist/ionic/p-7134537b.entry.js +4 -0
- package/dist/ionic/p-72eacca0.entry.js +4 -0
- package/dist/ionic/{p-296226f1.entry.js → p-7ae06f6f.entry.js} +1 -1
- package/dist/ionic/p-7bde9ee1.entry.js +4 -0
- package/dist/ionic/p-87ab986c.entry.js +4 -0
- package/dist/ionic/{p-8303462c.entry.js → p-9dff6288.entry.js} +1 -1
- package/dist/ionic/p-9e09cb80.entry.js +4 -0
- package/dist/ionic/{p-B4Kq2YNk.js → p-PnwG0glX.js} +1 -1
- package/dist/ionic/p-a320cdb2.entry.js +4 -0
- package/dist/ionic/{p-731d11e1.entry.js → p-a4bed36b.entry.js} +1 -1
- package/dist/ionic/{p-75c7595c.entry.js → p-a7914fe5.entry.js} +1 -1
- package/dist/ionic/p-aa298c58.entry.js +4 -0
- package/dist/ionic/{p-be06def7.entry.js → p-ace3062d.entry.js} +1 -1
- package/dist/ionic/{p-ddc41dbb.entry.js → p-b70775b0.entry.js} +1 -1
- package/dist/ionic/{p-2016c1c0.entry.js → p-b7c75507.entry.js} +1 -1
- package/dist/ionic/p-b920f149.entry.js +4 -0
- package/dist/ionic/p-c39025c0.entry.js +4 -0
- package/dist/ionic/{p-2e1d650a.entry.js → p-c9cda5ce.entry.js} +1 -1
- package/dist/ionic/{p-f6768728.entry.js → p-cc314123.entry.js} +1 -1
- package/dist/ionic/p-d1f42864.entry.js +4 -0
- package/dist/ionic/p-d4506138.entry.js +4 -0
- package/dist/ionic/{p-f0968c91.entry.js → p-dbd06d8d.entry.js} +1 -1
- package/dist/ionic/{p-a9df0ccf.entry.js → p-dda49380.entry.js} +1 -1
- package/dist/ionic/{p-5dedd699.entry.js → p-e95618c4.entry.js} +1 -1
- package/dist/ionic/{p-b25f3aba.entry.js → p-f89fcf62.entry.js} +1 -1
- package/dist/ionic/p-fcce2dda.entry.js +4 -0
- package/dist/ionic/p-fd2a869f.entry.js +4 -0
- package/dist/ionic/{p-bb7bb4fd.entry.js → p-fd95a423.entry.js} +1 -1
- package/dist/ionic/{p-7cbf17f0.entry.js → p-fe14205b.entry.js} +1 -1
- package/dist/types/components/accordion/accordion.d.ts +6 -0
- package/dist/types/components/back-button/back-button.d.ts +6 -0
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +10 -0
- package/dist/types/components/checkbox/checkbox.d.ts +12 -1
- package/dist/types/components/datetime/datetime.d.ts +4 -4
- package/dist/types/components/fab-button/fab-button.d.ts +6 -0
- package/dist/types/components/input-password-toggle/input-password-toggle.d.ts +12 -0
- package/dist/types/components/item/item.d.ts +6 -0
- package/dist/types/components/menu-button/menu-button.d.ts +5 -0
- package/dist/types/components/refresher-content/refresher-content.d.ts +6 -0
- package/dist/types/components/reorder/reorder.d.ts +1 -1
- package/dist/types/components/select-modal/select-modal.d.ts +5 -0
- package/dist/types/components/toggle/toggle.d.ts +5 -2
- package/dist/types/utils/config.d.ts +19 -0
- package/hydrate/index.js +297 -415
- package/hydrate/index.mjs +297 -415
- package/package.json +1 -2
- package/components/p-BDqjX7Z_.js +0 -4
- package/components/p-BYSs-jZz.js +0 -4
- package/components/p-BnQAsi91.js +0 -4
- package/components/p-C5F5Zw01.js +0 -4
- package/components/p-CA81qANP.js +0 -4
- package/components/p-CJNsztW3.js +0 -4
- package/components/p-CaB0_AG0.js +0 -4
- package/components/p-D1t981Ih.js +0 -4
- package/components/p-Dhi5xtNS.js +0 -4
- package/components/p-VrmyB-Wu.js +0 -4
- package/components/p-fIOYmaqA.js +0 -4
- package/components/p-vUGYs065.js +0 -4
- package/dist/cjs/caret-down-vtVgfXIs.js +0 -8
- package/dist/cjs/caret-left-CxZXLRv5.js +0 -8
- package/dist/cjs/caret-right-CRCgv98E.js +0 -8
- package/dist/cjs/list-a-7GSA6K.js +0 -8
- package/dist/cjs/x-BTF99yFH.js +0 -8
- package/dist/esm/caret-down-D1t981Ih.js +0 -6
- package/dist/esm/caret-left-fIOYmaqA.js +0 -6
- package/dist/esm/caret-right-BYSs-jZz.js +0 -6
- package/dist/esm/list-Dhi5xtNS.js +0 -6
- package/dist/esm/x-BDqjX7Z_.js +0 -6
- package/dist/ionic/p-0166d6e5.entry.js +0 -4
- package/dist/ionic/p-0a0a66e2.entry.js +0 -4
- package/dist/ionic/p-0c636ad3.entry.js +0 -4
- package/dist/ionic/p-126031d2.entry.js +0 -4
- package/dist/ionic/p-1a609156.entry.js +0 -4
- package/dist/ionic/p-1c1c18da.entry.js +0 -4
- package/dist/ionic/p-2a54aec2.entry.js +0 -4
- package/dist/ionic/p-40a21a22.entry.js +0 -4
- package/dist/ionic/p-431bc3ce.entry.js +0 -4
- package/dist/ionic/p-51542c69.entry.js +0 -4
- package/dist/ionic/p-711ba315.entry.js +0 -4
- package/dist/ionic/p-76232f5f.entry.js +0 -4
- package/dist/ionic/p-BDqjX7Z_.js +0 -4
- package/dist/ionic/p-BYSs-jZz.js +0 -4
- package/dist/ionic/p-D1t981Ih.js +0 -4
- package/dist/ionic/p-Dhi5xtNS.js +0 -4
- package/dist/ionic/p-ac3af8af.entry.js +0 -4
- package/dist/ionic/p-b3da2cc7.entry.js +0 -4
- package/dist/ionic/p-b4533070.entry.js +0 -4
- package/dist/ionic/p-c0983eac.entry.js +0 -4
- package/dist/ionic/p-dc8a8505.entry.js +0 -4
- package/dist/ionic/p-df642ef5.entry.js +0 -4
- package/dist/ionic/p-e086f8c3.entry.js +0 -4
- package/dist/ionic/p-edd8f490.entry.js +0 -4
- package/dist/ionic/p-fIOYmaqA.js +0 -4
package/hydrate/index.js
CHANGED
|
@@ -5914,8 +5914,6 @@ var setScopedSSR = (opts) => {
|
|
|
5914
5914
|
var needsScopedSSR = () => scopedSSR;
|
|
5915
5915
|
var scopedSSR = false;
|
|
5916
5916
|
|
|
5917
|
-
const caretDownSvg = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiBmaWxsPSJjdXJyZW50Q29sb3IiPjxwYXRoIGQ9Ik0yMTMuNjYsMTAxLjY2bC04MCw4MGE4LDgsMCwwLDEtMTEuMzIsMGwtODAtODBBOCw4LDAsMCwxLDUzLjY2LDkwLjM0TDEyOCwxNjQuNjlsNzQuMzQtNzQuMzVhOCw4LDAsMCwxLDExLjMyLDExLjMyWiIvPjwvc3ZnPg==';
|
|
5918
|
-
|
|
5919
5917
|
const ION_FOCUSED = 'ion-focused';
|
|
5920
5918
|
const ION_FOCUSABLE = 'ion-focusable';
|
|
5921
5919
|
const FOCUS_KEYS = [
|
|
@@ -6876,22 +6874,19 @@ class Accordion {
|
|
|
6876
6874
|
this.setAria(expanded);
|
|
6877
6875
|
});
|
|
6878
6876
|
}
|
|
6877
|
+
/**
|
|
6878
|
+
* Get the icon to use for the toggle icon.
|
|
6879
|
+
* If an icon is set on the component, use that.
|
|
6880
|
+
* Otherwise, use the icon set in the config.
|
|
6881
|
+
* If no icon is set in the config, use the default icon.
|
|
6882
|
+
*/
|
|
6879
6883
|
get accordionToggleIcon() {
|
|
6880
6884
|
// Return the icon if it is explicitly set
|
|
6881
6885
|
if (this.toggleIcon != null) {
|
|
6882
6886
|
return this.toggleIcon;
|
|
6883
6887
|
}
|
|
6884
|
-
// Determine the theme and map to default icons
|
|
6885
|
-
const theme = getIonTheme(this);
|
|
6886
|
-
const defaultIcons = {
|
|
6887
|
-
ios: chevronDown,
|
|
6888
|
-
ionic: caretDownSvg,
|
|
6889
|
-
md: chevronDown,
|
|
6890
|
-
};
|
|
6891
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
6892
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
6893
6888
|
// Return the configured accordion toggle icon or the default icon
|
|
6894
|
-
return config.get('accordionToggleIcon',
|
|
6889
|
+
return config.get('accordionToggleIcon', chevronDown);
|
|
6895
6890
|
}
|
|
6896
6891
|
toggleExpanded() {
|
|
6897
6892
|
const { accordionGroupEl, disabled, readonly, value, state } = this;
|
|
@@ -6922,7 +6917,7 @@ class Accordion {
|
|
|
6922
6917
|
const headerPart = expanded ? 'header expanded' : 'header';
|
|
6923
6918
|
const contentPart = expanded ? 'content expanded' : 'content';
|
|
6924
6919
|
this.setAria(expanded);
|
|
6925
|
-
return (hAsync(Host, { key: '
|
|
6920
|
+
return (hAsync(Host, { key: '2e516386263715b2843c0af02e7ac928df1da007', class: {
|
|
6926
6921
|
[theme]: true,
|
|
6927
6922
|
'accordion-expanding': this.state === 8 /* AccordionState.Expanding */,
|
|
6928
6923
|
'accordion-expanded': this.state === 4 /* AccordionState.Expanded */,
|
|
@@ -6935,7 +6930,7 @@ class Accordion {
|
|
|
6935
6930
|
'accordion-readonly': readonly,
|
|
6936
6931
|
'accordion-animated': this.shouldAnimate(),
|
|
6937
6932
|
'in-accordion-group-expand-inset': hostContext('.accordion-group-expand-inset', this.el),
|
|
6938
|
-
}, tabindex: disabled ? '-1' : undefined }, hAsync("div", { key: '
|
|
6933
|
+
}, tabindex: disabled ? '-1' : undefined }, hAsync("div", { key: 'd865a68388a1a7e6d594258a277a0b72a2565043', onClick: () => this.toggleExpanded(), id: "header", part: headerPart, "aria-controls": "content", ref: (headerEl) => (this.headerEl = headerEl) }, hAsync("slot", { key: '1a5b7987a7e2b4903bdf5575c10f2995bcbc7a64', name: "header" })), hAsync("div", { key: 'dbba2ad70c192a08e73e490876ad57f35499c551', id: "content", part: contentPart, role: "region", "aria-labelledby": "header", ref: (contentEl) => (this.contentEl = contentEl) }, hAsync("div", { key: '0183fb76b3a8356b0d1d3f5cd53dd77e1bc196f4', id: "content-wrapper", ref: (contentElWrapper) => (this.contentElWrapper = contentElWrapper) }, hAsync("slot", { key: 'fa38df103feb66a412d7998e664f3c4818b20f75', name: "content" })))));
|
|
6939
6934
|
}
|
|
6940
6935
|
static get delegatesFocus() { return true; }
|
|
6941
6936
|
get el() { return getElement(this); }
|
|
@@ -12226,8 +12221,6 @@ class Avatar {
|
|
|
12226
12221
|
}; }
|
|
12227
12222
|
}
|
|
12228
12223
|
|
|
12229
|
-
const caretLeftSvg = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiBmaWxsPSJjdXJyZW50Q29sb3IiPjxwYXRoIGQ9Ik0xNjUuNjYsMjAyLjM0YTgsOCwwLDAsMS0xMS4zMiwxMS4zMmwtODAtODBhOCw4LDAsMCwxLDAtMTEuMzJsODAtODBhOCw4LDAsMCwxLDExLjMyLDExLjMyTDkxLjMxLDEyOFoiLz48L3N2Zz4=';
|
|
12230
|
-
|
|
12231
12224
|
const ionicBackButtonMdCss = () => `:host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{right:0;left:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--border-radius:4px;--background-focused:currentColor;--background-focused-opacity:0.12;--background-hover:currentColor;--background-hover-opacity:0.04;--color:currentColor;--icon-margin-end:0;--icon-margin-start:0;--icon-font-size:1.5rem;--icon-font-weight:normal;--min-height:32px;--min-width:44px;--padding-start:12px;--padding-end:12px;font-size:0.875rem;font-weight:500;text-transform:uppercase}:host(.back-button-has-icon-only){--border-radius:50%;min-width:48px;min-height:48px;aspect-ratio:1/1}.button-native{-webkit-box-shadow:none;box-shadow:none}.button-text{-webkit-padding-start:4px;padding-inline-start:4px;-webkit-padding-end:4px;padding-inline-end:4px;padding-top:0;padding-bottom:0}ion-icon{line-height:0.67;text-align:start}@media (any-hover: hover){:host(.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}`;
|
|
12232
12225
|
|
|
12233
12226
|
const backButtonIosCss = () => `:host{--background:transparent;--color-focused:currentColor;--color-hover:currentColor;--icon-margin-top:0;--icon-margin-bottom:0;--icon-padding-top:0;--icon-padding-end:0;--icon-padding-bottom:0;--icon-padding-start:0;--margin-top:0;--margin-end:0;--margin-bottom:0;--margin-start:0;--min-width:auto;--min-height:auto;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;--opacity:1;--ripple-color:currentColor;--transition:background-color, opacity 100ms linear;display:none;min-width:var(--min-width);min-height:var(--min-height);color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-font-kerning:none;font-kerning:none}ion-ripple-effect{color:var(--ripple-color)}:host(.ion-color) .button-native{color:var(--ion-color-base)}:host(.show-back-button){display:block}:host(.back-button-disabled){cursor:default;opacity:0.5;pointer-events:none}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:var(--margin-start);margin-inline-start:var(--margin-start);-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:var(--margin-top);margin-bottom:var(--margin-bottom);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space:inherit;display:block;position:relative;width:100%;height:100%;min-height:inherit;-webkit-transition:var(--transition);transition:var(--transition);border:0;outline:none;background:var(--background);line-height:1;cursor:pointer;opacity:var(--opacity);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}ion-icon{-webkit-padding-start:var(--icon-padding-start);padding-inline-start:var(--icon-padding-start);-webkit-padding-end:var(--icon-padding-end);padding-inline-end:var(--icon-padding-end);padding-top:var(--icon-padding-top);padding-bottom:var(--icon-padding-bottom);-webkit-margin-start:var(--icon-margin-start);margin-inline-start:var(--icon-margin-start);-webkit-margin-end:var(--icon-margin-end);margin-inline-end:var(--icon-margin-end);margin-top:var(--icon-margin-top);margin-bottom:var(--icon-margin-bottom);display:inherit;font-size:var(--icon-font-size);font-weight:var(--icon-font-weight);pointer-events:none}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}.button-native::after{right:0;left:0;top:0;bottom:0;position:absolute;content:"";opacity:0}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-base)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-base)}}:host(.in-toolbar:not(.in-toolbar-color)){color:var(--ion-toolbar-color, var(--color))}:host{--background-hover:transparent;--background-hover-opacity:1;--background-focused:currentColor;--background-focused-opacity:0.1;--border-radius:4px;--color:var(--ion-color-primary, #0054e9);--icon-margin-end:1px;--icon-margin-start:-4px;--icon-font-size:1.6em;--min-height:32px;font-size:clamp(17px, 1.0625rem, 21.998px)}.button-native{-webkit-transform:translateZ(0);transform:translateZ(0);overflow:visible;z-index:99}:host(.ion-activated) .button-native{opacity:0.4}@media (any-hover: hover){:host(:hover){opacity:0.6}}`;
|
|
@@ -12269,20 +12262,20 @@ class BackButton {
|
|
|
12269
12262
|
this.defaultHref = config.get('backButtonDefaultHref');
|
|
12270
12263
|
}
|
|
12271
12264
|
}
|
|
12265
|
+
/**
|
|
12266
|
+
* Get the icon to use for the back button icon.
|
|
12267
|
+
* If an icon is set on the component, use that.
|
|
12268
|
+
* Otherwise, use the icon set in the config.
|
|
12269
|
+
* If no icon is set in the config, use the default icon.
|
|
12270
|
+
*/
|
|
12272
12271
|
get backButtonIcon() {
|
|
12273
12272
|
// Return the icon if it is explicitly set
|
|
12274
12273
|
if (this.icon != null) {
|
|
12275
12274
|
return this.icon;
|
|
12276
12275
|
}
|
|
12277
|
-
// Determine the theme and map to default
|
|
12276
|
+
// Determine the theme and map to the default icon
|
|
12278
12277
|
const theme = getIonTheme(this);
|
|
12279
|
-
const
|
|
12280
|
-
ios: chevronBack,
|
|
12281
|
-
ionic: caretLeftSvg,
|
|
12282
|
-
md: arrowBackSharp,
|
|
12283
|
-
};
|
|
12284
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
12285
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
12278
|
+
const defaultIcon = theme === 'ios' ? chevronBack : arrowBackSharp;
|
|
12286
12279
|
// Return the configured back button icon or the default icon
|
|
12287
12280
|
return config.get('backButtonIcon', defaultIcon);
|
|
12288
12281
|
}
|
|
@@ -12306,7 +12299,7 @@ class BackButton {
|
|
|
12306
12299
|
const showBackButton = defaultHref !== undefined;
|
|
12307
12300
|
const theme = getIonTheme(this);
|
|
12308
12301
|
const ariaLabel = inheritedAttributes['aria-label'] || backButtonText || 'back';
|
|
12309
|
-
return (hAsync(Host, { key: '
|
|
12302
|
+
return (hAsync(Host, { key: '3ca97664cddb7582c8344b79143b81a9fb7f167a', onClick: this.onClick, class: createColorClasses$1(color, {
|
|
12310
12303
|
[theme]: true,
|
|
12311
12304
|
button: true, // ion-buttons target .button
|
|
12312
12305
|
'back-button-disabled': disabled,
|
|
@@ -12316,7 +12309,7 @@ class BackButton {
|
|
|
12316
12309
|
'ion-activatable': true,
|
|
12317
12310
|
'ion-focusable': true,
|
|
12318
12311
|
'show-back-button': showBackButton,
|
|
12319
|
-
}) }, hAsync("button", { key: '
|
|
12312
|
+
}) }, hAsync("button", { key: '49ec4655d6fbec75fd2b6f70973f98896d9accfe', type: type, disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }, hAsync("span", { key: '8d701f9933253edab3627adf1b4dae681993e901', class: "button-inner" }, backButtonIcon && (hAsync("ion-icon", { key: 'd5064dc4e5a327335fd45f21567fc1188cfcb635', part: "icon", icon: backButtonIcon, "aria-hidden": "true", lazy: false, "flip-rtl": icon === undefined })), backButtonText && (hAsync("span", { key: '9c6611126bc7df058cb4c5669ec35c2456568717', part: "text", "aria-hidden": "true", class: "button-text" }, backButtonText))), theme === 'md' && hAsync("ion-ripple-effect", { key: '2a88e395bc178ff2d1d14fcb8def5d679cb2e527', type: this.rippleType }))));
|
|
12320
12313
|
}
|
|
12321
12314
|
get el() { return getElement(this); }
|
|
12322
12315
|
static get style() { return {
|
|
@@ -12506,10 +12499,6 @@ class Badge {
|
|
|
12506
12499
|
}; }
|
|
12507
12500
|
}
|
|
12508
12501
|
|
|
12509
|
-
const caretRightSvg = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiBmaWxsPSJjdXJyZW50Q29sb3IiPjxwYXRoIGQ9Ik0xODEuNjYsMTMzLjY2bC04MCw4MGE4LDgsMCwwLDEtMTEuMzItMTEuMzJMMTY0LjY5LDEyOCw5MC4zNCw1My42NmE4LDgsMCwwLDEsMTEuMzItMTEuMzJsODAsODBBOCw4LDAsMCwxLDE4MS42NiwxMzMuNjZaIi8+PC9zdmc+';
|
|
12510
|
-
|
|
12511
|
-
const dotsThreeSvg = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiBmaWxsPSJjdXJyZW50Q29sb3IiPjxwYXRoIGQ9Ik0xNDAsMTI4YTEyLDEyLDAsMSwxLTEyLTEyQTEyLDEyLDAsMCwxLDE0MCwxMjhabTU2LTEyYTEyLDEyLDAsMSwwLDEyLDEyQTEyLDEyLDAsMCwwLDE5NiwxMTZaTTYwLDExNmExMiwxMiwwLDEsMCwxMiwxMkExMiwxMiwwLDAsMCw2MCwxMTZaIi8+PC9zdmc+';
|
|
12512
|
-
|
|
12513
12502
|
const ionicBreadcrumbMdCss = () => `:host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-align:center;align-items:center;color:var(--color);font-size:1rem;font-weight:400;line-height:1.5}.breadcrumb-native{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;outline:none;background:inherit}:host(.breadcrumb-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.breadcrumb-active){color:var(--color-active)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .breadcrumb-native{background:var(--background-focused)}@media (any-hover: hover){:host(.ion-activatable:hover){color:var(--color-hover)}:host(.ion-activatable.in-breadcrumbs-color:hover),:host(.ion-activatable.ion-color:hover){color:var(--ion-color-shade)}}.breadcrumb-separator{display:-ms-inline-flexbox;display:inline-flex}:host(.breadcrumb-collapsed) .breadcrumb-native{display:none}:host(.in-breadcrumbs-color),:host(.in-breadcrumbs-color.breadcrumb-active){color:var(--ion-color-base)}:host(.in-breadcrumbs-color) .breadcrumb-separator{color:var(--ion-color-base)}:host(.ion-color){color:var(--ion-color-base)}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumb-separator{color:rgba(var(--ion-color-contrast-rgb), 0.8)}:host(.in-toolbar-color.breadcrumb-active){color:var(--ion-color-contrast)}.breadcrumbs-collapsed-indicator{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end:14px;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex:1 1 100%;flex:1 1 100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:32px;height:18px;border:0;outline:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:1.375rem}:host{--color:var(--ion-color-step-600, var(--ion-text-color-step-400, #677483));--color-active:var(--ion-text-color, #03060b);--color-hover:var(--ion-text-color, #03060b);--color-focused:var(--ion-color-step-800, var(--ion-text-color-step-200, #35404e));--background-focused:var(--ion-color-step-50, var(--ion-background-color-step-50, #fff))}:host(.breadcrumb-active){font-weight:500}.breadcrumb-native{-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px}.breadcrumb-separator{-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:-1px}:host(.ion-focused) .breadcrumb-native{border-radius:4px;-webkit-box-shadow:0px 1px 2px rgba(0, 0, 0, 0.2), 0px 2px 8px rgba(0, 0, 0, 0.12);box-shadow:0px 1px 2px rgba(0, 0, 0, 0.2), 0px 2px 8px rgba(0, 0, 0, 0.12)}.breadcrumb-separator{color:var(--ion-color-step-550, var(--ion-text-color-step-450, #73849a))}::slotted(ion-icon){color:var(--ion-color-step-550, var(--ion-text-color-step-450, #7d8894));font-size:1.125rem}::slotted(ion-icon[slot=start]){-webkit-margin-end:8px;margin-inline-end:8px}::slotted(ion-icon[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, var(--ion-text-color-step-150, #222d3a))}.breadcrumbs-collapsed-indicator{border-radius:2px;background:var(--ion-color-step-100, var(--ion-background-color-step-100, #eef1f3));color:var(--ion-color-step-550, var(--ion-text-color-step-450, #73849a))}.breadcrumbs-collapsed-indicator:hover{opacity:0.7}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, var(--ion-background-color-step-150, #dfe5e8))}`;
|
|
12514
12503
|
|
|
12515
12504
|
const breadcrumbIosCss = () => `:host{display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-align:center;align-items:center;color:var(--color);font-size:1rem;font-weight:400;line-height:1.5}.breadcrumb-native{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space:inherit;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;width:100%;outline:none;background:inherit}:host(.breadcrumb-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.breadcrumb-active){color:var(--color-active)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .breadcrumb-native{background:var(--background-focused)}@media (any-hover: hover){:host(.ion-activatable:hover){color:var(--color-hover)}:host(.ion-activatable.in-breadcrumbs-color:hover),:host(.ion-activatable.ion-color:hover){color:var(--ion-color-shade)}}.breadcrumb-separator{display:-ms-inline-flexbox;display:inline-flex}:host(.breadcrumb-collapsed) .breadcrumb-native{display:none}:host(.in-breadcrumbs-color),:host(.in-breadcrumbs-color.breadcrumb-active){color:var(--ion-color-base)}:host(.in-breadcrumbs-color) .breadcrumb-separator{color:var(--ion-color-base)}:host(.ion-color){color:var(--ion-color-base)}:host(.in-toolbar-color),:host(.in-toolbar-color) .breadcrumb-separator{color:rgba(var(--ion-color-contrast-rgb), 0.8)}:host(.in-toolbar-color.breadcrumb-active){color:var(--ion-color-contrast)}.breadcrumbs-collapsed-indicator{padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;-webkit-margin-start:14px;margin-inline-start:14px;-webkit-margin-end:14px;margin-inline-end:14px;margin-top:0;margin-bottom:0;display:-ms-flexbox;display:flex;-ms-flex:1 1 100%;flex:1 1 100%;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:32px;height:18px;border:0;outline:none;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.breadcrumbs-collapsed-indicator ion-icon{margin-top:1px;font-size:1.375rem}:host{--color:var(--ion-color-step-850, var(--ion-text-color-step-150, #2d4665));--color-active:var(--ion-text-color, #03060b);--color-hover:var(--ion-text-color, #03060b);--color-focused:var(--color-active);--background-focused:var(--ion-color-step-50, var(--ion-background-color-step-50, rgba(233, 237, 243, 0.7)));font-size:clamp(16px, 1rem, 22px)}:host(.breadcrumb-active){font-weight:600}.breadcrumb-native{border-radius:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:5px;padding-bottom:5px;border:1px solid transparent}:host(.ion-focused) .breadcrumb-native{border-radius:8px}:host(.in-breadcrumbs-color.ion-focused) .breadcrumb-native,:host(.ion-color.ion-focused) .breadcrumb-native{background:rgba(var(--ion-color-base-rgb), 0.1);color:var(--ion-color-base)}:host(.ion-focused) ::slotted(ion-icon),:host(.in-breadcrumbs-color.ion-focused) ::slotted(ion-icon),:host(.ion-color.ion-focused) ::slotted(ion-icon){color:var(--ion-color-step-750, var(--ion-text-color-step-250, #445b78))}.breadcrumb-separator{color:var(--ion-color-step-550, var(--ion-text-color-step-450, #73849a))}::slotted(ion-icon){color:var(--ion-color-step-400, var(--ion-text-color-step-600, #92a0b3));font-size:min(1.125rem, 21.6px)}::slotted(ion-icon[slot=start]){-webkit-margin-end:8px;margin-inline-end:8px}::slotted(ion-icon[slot=end]){-webkit-margin-start:8px;margin-inline-start:8px}:host(.breadcrumb-active) ::slotted(ion-icon){color:var(--ion-color-step-850, var(--ion-text-color-step-150, #242d39))}.breadcrumbs-collapsed-indicator{border-radius:4px;background:var(--ion-color-step-100, var(--ion-background-color-step-100, #e9edf3));color:var(--ion-color-step-550, var(--ion-text-color-step-450, #73849a))}.breadcrumbs-collapsed-indicator:hover{opacity:0.45}.breadcrumbs-collapsed-indicator:focus{background:var(--ion-color-step-150, var(--ion-background-color-step-150, #d9e0ea))}.breadcrumbs-collapsed-indicator ion-icon{font-size:min(1.375rem, 22px)}`;
|
|
@@ -12561,31 +12550,23 @@ class Breadcrumb {
|
|
|
12561
12550
|
componentWillLoad() {
|
|
12562
12551
|
this.inheritedAttributes = inheritAriaAttributes(this.el);
|
|
12563
12552
|
}
|
|
12553
|
+
/**
|
|
12554
|
+
* Get the icon to use for the collapsed icon.
|
|
12555
|
+
* Use the icon set in the config.
|
|
12556
|
+
* If no icon is set in the config, use the default icon.
|
|
12557
|
+
*/
|
|
12564
12558
|
get breadcrumbCollapsedIcon() {
|
|
12565
|
-
// Determine the theme and map to default icons
|
|
12566
|
-
const theme = getIonTheme(this);
|
|
12567
|
-
const defaultIcons = {
|
|
12568
|
-
ios: ellipsisHorizontal,
|
|
12569
|
-
ionic: dotsThreeSvg,
|
|
12570
|
-
md: ellipsisHorizontal,
|
|
12571
|
-
};
|
|
12572
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
12573
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
12574
12559
|
// Return the configured breadcrumb collapsed icon or the default icon
|
|
12575
|
-
return config.get('breadcrumbCollapsedIcon',
|
|
12560
|
+
return config.get('breadcrumbCollapsedIcon', ellipsisHorizontal);
|
|
12576
12561
|
}
|
|
12562
|
+
/**
|
|
12563
|
+
* Get the icon to use for the separator icon.
|
|
12564
|
+
* Use the icon set in the config.
|
|
12565
|
+
* If no icon is set in the config, use the default icon.
|
|
12566
|
+
*/
|
|
12577
12567
|
get breadcrumbSeparatorIcon() {
|
|
12578
|
-
// Determine the theme and map to default icons
|
|
12579
|
-
const theme = getIonTheme(this);
|
|
12580
|
-
const defaultIcons = {
|
|
12581
|
-
ios: chevronForwardOutline,
|
|
12582
|
-
ionic: caretRightSvg,
|
|
12583
|
-
md: chevronForwardOutline,
|
|
12584
|
-
};
|
|
12585
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
12586
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
12587
12568
|
// Return the configured breadcrumb separator icon or the default icon
|
|
12588
|
-
return config.get('breadcrumbSeparatorIcon',
|
|
12569
|
+
return config.get('breadcrumbSeparatorIcon', chevronForwardOutline);
|
|
12589
12570
|
}
|
|
12590
12571
|
isClickable() {
|
|
12591
12572
|
return this.href !== undefined;
|
|
@@ -12609,7 +12590,7 @@ class Breadcrumb {
|
|
|
12609
12590
|
// to show the separator as long as it isn't also the last breadcrumb
|
|
12610
12591
|
// otherwise if not collapsed use the value in separator
|
|
12611
12592
|
const showSeparator = last ? false : collapsed ? (showCollapsedIndicator && !last ? true : false) : separator;
|
|
12612
|
-
return (hAsync(Host, { key: '
|
|
12593
|
+
return (hAsync(Host, { key: '6b586bce50f2956edf0acd8506381b2cb14875f7', onClick: (ev) => openURL(href, ev, routerDirection, routerAnimation), "aria-disabled": disabled ? 'true' : null, class: createColorClasses$1(color, {
|
|
12613
12594
|
[theme]: true,
|
|
12614
12595
|
'breadcrumb-active': active,
|
|
12615
12596
|
'breadcrumb-collapsed': collapsed,
|
|
@@ -12619,15 +12600,15 @@ class Breadcrumb {
|
|
|
12619
12600
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
12620
12601
|
'ion-activatable': clickable,
|
|
12621
12602
|
'ion-focusable': clickable,
|
|
12622
|
-
}) }, hAsync(TagType, Object.assign({ key: '
|
|
12603
|
+
}) }, hAsync(TagType, Object.assign({ key: '5125505691163148ed2289355d5a2be93db7639d' }, attrs, { class: "breadcrumb-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur }, inheritedAttributes), hAsync("slot", { key: 'c11682664ec3ad64f3e59a47f06cf5273b09fa5a', name: "start" }), hAsync("slot", { key: 'eecb817103602a7c5d58f42dd4a1562333b0eabd' }), hAsync("slot", { key: 'b9e050d01d0ba8491d64a670c151a2444be4c6b0', name: "end" })), showCollapsedIndicator && (hAsync("button", { key: '72e49a761f43645987cf0adabd0698c724e87ce1', part: "collapsed-indicator", "aria-label": "Show more breadcrumbs", onClick: () => this.collapsedIndicatorClick(), ref: (collapsedEl) => (this.collapsedRef = collapsedEl), class: {
|
|
12623
12604
|
'breadcrumbs-collapsed-indicator': true,
|
|
12624
|
-
} }, hAsync("ion-icon", { key: '
|
|
12605
|
+
} }, hAsync("ion-icon", { key: '8efee3f1675165e1bc92c57aef93aa74b53374cc', "aria-hidden": "true", icon: breadcrumbCollapsedIcon, lazy: false }))), showSeparator && (
|
|
12625
12606
|
/**
|
|
12626
12607
|
* Separators should not be announced by narrators.
|
|
12627
12608
|
* We add aria-hidden on the span so that this applies
|
|
12628
12609
|
* to any custom separators too.
|
|
12629
12610
|
*/
|
|
12630
|
-
hAsync("span", { key: '
|
|
12611
|
+
hAsync("span", { key: '17bf73869ccb702646afdc3498ef180aa3713b19', class: "breadcrumb-separator", part: "separator", "aria-hidden": "true" }, hAsync("slot", { key: '13ac39a16f7fe90aaa65165b274ade80e01180b4', name: "separator" }, theme === 'ios' || theme === 'ionic' ? (hAsync("ion-icon", { icon: breadcrumbSeparatorIcon, lazy: false, "flip-rtl": true })) : (hAsync("span", null, "/")))))));
|
|
12631
12612
|
}
|
|
12632
12613
|
get el() { return getElement(this); }
|
|
12633
12614
|
static get style() { return {
|
|
@@ -13741,11 +13722,11 @@ const createClearButtonPressController = (onPressChange) => {
|
|
|
13741
13722
|
};
|
|
13742
13723
|
};
|
|
13743
13724
|
|
|
13744
|
-
const checkboxIonicCss = () => `:host{display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(:focus){outline:none}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden{display:none}input{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{position:relative}.checkbox-icon path{opacity:0}.checkbox-bottom{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;white-space:normal}.checkbox-bottom .error-text{display:none}.checkbox-bottom .helper-text{display:block}:host(.ion-touched.ion-invalid) .checkbox-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .checkbox-bottom .helper-text{display:none}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-pack:start;justify-content:start}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column;text-align:center}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-justify-space-between),:host(.checkbox-justify-start),:host(.checkbox-justify-end),:host(.checkbox-alignment-start),:host(.checkbox-alignment-center){display:block}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-width:var(--token-border-size-025, var(--token-scale-025, 1px));--border-style:var(--token-border-style-solid, solid);--border-color:var(--token-primitives-neutral-800, #626262);--checkmark-width:var(--token-scale-400, 16px);--checkmark-height:var(--checkmark-width);--focus-ring-color:var(--token-border-focus-default, var(--token-primitives-blue-400, #b5c0f7));--focus-ring-width:var(--token-border-size-050, var(--token-scale-050, 2px));--focus-ring-offset:var(--token-space-050, var(--token-scale-050, 2px));--size:var(--token-scale-600, 24px);--checkbox-background:var(--token-bg-input-default, var(--token-primitives-base-white, #ffffff));--checkbox-background-checked:var(--token-bg-primary-base-default, var(--token-semantics-primary-base, var(--token-semantics-primary-700, var(--token-primitives-blue-700, #105cef))));--border-color-checked:var(--token-semantics-primary-base, var(--token-semantics-primary-700, var(--token-primitives-blue-700, #105cef)));--checkmark-color:var(--token-bg-surface-default, var(--token-primitives-base-white, #ffffff));--transition:none;z-index:2}:host::after{right:0;left:0;top:50%;position:absolute;height:100%;min-height:var(--token-scale-1200, 48px);-webkit-transform:translateY(-50%);transform:translateY(-50%);content:"";cursor:pointer;z-index:1}:host .native-wrapper{position:relative}.label-text-wrapper{color:var(--token-text-default, var(--token-primitives-neutral-1200, #242424))}:host(.in-item) .label-text-wrapper{margin-top:var(--token-space-250, var(--token-scale-250, 10px));margin-bottom:var(--token-space-250, var(--token-scale-250, 10px))}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:var(--token-space-250, var(--token-scale-250, 10px));margin-bottom:var(--token-space-400, var(--token-scale-400, 16px))}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:var(--token-space-250, var(--token-scale-250, 10px))}input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;opacity:0;overflow:hidden;clip:rect(0 0 0 0);-webkit-appearance:none;-moz-appearance:none}.native-wrapper{border-radius:var(--border-radius);-ms-flex-negative:0;flex-shrink:0;-ms-flex-pack:center;justify-content:center;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon{width:var(--checkmark-width);height:var(--checkmark-height)}.checkbox-icon path{fill:var(--checkmark-color)}.checkbox-bottom{font-size:var(--token-font-size-300, 0.75rem);font-weight:var(--token-font-weight-medium, 500);letter-spacing:var(--token-font-letter-spacing-0, 0%);line-height:var(--token-font-line-height-500, var(--token-scale-500, 20px));text-decoration:none;text-transform:none}.checkbox-bottom .error-text{color:var(--token-text-danger, var(--token-semantics-danger-900, var(--token-primitives-red-900, #991b1b)))}.checkbox-bottom .helper-text{color:var(--token-text-subtlest, var(--token-primitives-neutral-800, #626262))}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:var(--token-space-400, var(--token-scale-400, 16px));margin-inline-end:var(--token-space-400, var(--token-scale-400, 16px))}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:var(--token-space-400, var(--token-scale-400, 16px));margin-inline-start:var(--token-space-400, var(--token-scale-400, 16px));-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:var(--token-space-400, var(--token-scale-400, 16px));margin-inline-end:var(--token-space-400, var(--token-scale-400, 16px))}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:var(--token-space-400, var(--token-scale-400, 16px));max-width:133.3333333333%}:host(.checkbox-size-small){--size:var(--token-scale-400, 16px)}:host(.checkbox-checked) .native-wrapper,:host(.checkbox-indeterminate) .native-wrapper{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.ion-invalid){--focus-ring-color:var(--token-border-danger-default, var(--token-semantics-danger-800, var(--token-primitives-red-800, #bf2222)))}:host(.ion-invalid:not(.checkbox-checked)) .native-wrapper,:host(.ion-invalid:not(.checkbox-checked).checkbox-disabled) .native-wrapper{border-color:var(--token-border-danger-default, var(--token-semantics-danger-800, var(--token-primitives-red-800, #bf2222)))}:host(.checkbox-disabled) .native-wrapper:after{right:0;left:0;top:0;bottom:0;position:absolute;background-color:var(--token-state-disabled, rgba(255, 255, 255, 0.6));content:"";pointer-events:none;right:unset;left:unset;top:unset;bottom:unset;width:inherit;height:inherit}:host(.checkbox-disabled.checkbox-checked) .native-wrapper{border-width:var(--token-border-size-0, var(--token-scale-0, 0px));background-color:var(--token-bg-primary-base-default, var(--token-semantics-primary-base, var(--token-semantics-primary-700, var(--token-primitives-blue-700, #105cef))))}@media (any-hover: hover){:host(:hover) .native-wrapper{background-color:var(--token-primitives-neutral-100, #f3f3f3)}:host(:hover.checkbox-checked) .native-wrapper,:host(:hover.checkbox-checked) .checkbox-icon,:host(:hover.checkbox-indeterminate) .native-wrapper,:host(:hover.checkbox-indeterminate) .checkbox-icon{background-color:var(--token-semantics-primary-800, var(--token-primitives-blue-800, #0f54da))}}:host(.ion-focused:not(.checkbox-disabled)) .native-wrapper{outline-offset:var(--focus-ring-width);outline:var(--focus-ring-width) var(--token-border-style-solid, solid) var(--focus-ring-color)}:host(.ion-activated) .native-wrapper{background-color:var(--token-bg-input-press, var(--token-primitives-neutral-200, #eae9e9))}:host(.ion-activated.checkbox-checked) .native-wrapper,:host(.ion-activated.checkbox-checked) .checkbox-icon,:host(.ion-activated.checkbox-indeterminate) .native-wrapper,:host(.ion-activated.checkbox-indeterminate) .checkbox-icon{background-color:var(--token-bg-primary-base-press, var(--token-semantics-primary-900, var(--token-primitives-blue-900, #0d4bc3)))}:host(.ion-activated.ion-invalid:not(.checkbox-checked)){background-color:var(--token-bg-input-press, var(--token-primitives-neutral-200, #eae9e9))}:host(.ion-activated.ion-invalid:not(.checkbox-checked)) .native-wrapper{border-color:var(--token-border-danger-press, var(--token-semantics-danger-1000, var(--token-primitives-red-1000, #761515)))}:host(.checkbox-shape-soft){--border-radius:var(--token-border-radius-100, var(--token-scale-100, 4px))}:host(.checkbox-size-small.checkbox-shape-soft){--border-radius:var(--token-border-radius-025, var(--token-scale-050, 2px))}:host(.checkbox-shape-rectangular){--border-radius:var(--token-border-radius-0, var(--token-scale-0, 0px))}.checkbox-wrapper{min-height:var(--token-scale-1200, 48px)}`;
|
|
13725
|
+
const checkboxIonicCss = () => `:host{display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(:focus){outline:none}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden{display:none}input{display:none}.native-wrapper{border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon{position:relative;color:var(--checkmark-color);opacity:0}.checkbox-icon svg{width:100%;height:100%}.checkbox-icon path{fill:none;stroke:currentColor;stroke-width:var(--checkmark-width)}.checkbox-bottom{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;white-space:normal}.checkbox-bottom .error-text{display:none}.checkbox-bottom .helper-text{display:block}:host(.ion-touched.ion-invalid) .checkbox-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .checkbox-bottom .helper-text{display:none}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-pack:start;justify-content:start}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column;text-align:center}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-justify-space-between),:host(.checkbox-justify-start),:host(.checkbox-justify-end),:host(.checkbox-alignment-start),:host(.checkbox-alignment-center){display:block}:host(.checkbox-checked) .native-wrapper,:host(.checkbox-indeterminate) .native-wrapper{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--border-width:var(--token-border-size-025, var(--token-scale-025, 1px));--border-style:var(--token-border-style-solid, solid);--border-color:var(--token-primitives-neutral-800, #626262);--checkmark-width:3;--focus-ring-color:var(--token-border-focus-default, var(--token-primitives-blue-400, #b5c0f7));--focus-ring-width:var(--token-border-size-050, var(--token-scale-050, 2px));--focus-ring-offset:var(--token-space-050, var(--token-scale-050, 2px));--size:var(--token-scale-600, 24px);--checkbox-background:var(--token-bg-input-default, var(--token-primitives-base-white, #ffffff));--checkbox-background-checked:var(--token-bg-primary-base-default, var(--token-semantics-primary-base, var(--token-semantics-primary-700, var(--token-primitives-blue-700, #105cef))));--border-color-checked:var(--token-semantics-primary-base, var(--token-semantics-primary-700, var(--token-primitives-blue-700, #105cef)));--checkmark-color:var(--token-bg-surface-default, var(--token-primitives-base-white, #ffffff));--transition:none;z-index:2}:host::after{right:0;left:0;top:50%;position:absolute;height:100%;min-height:var(--token-scale-1200, 48px);-webkit-transform:translateY(-50%);transform:translateY(-50%);content:"";cursor:pointer;z-index:1}.label-text-wrapper{color:var(--token-text-default, var(--token-primitives-neutral-1200, #242424))}:host(.in-item) .label-text-wrapper{margin-top:var(--token-space-250, var(--token-scale-250, 10px));margin-bottom:var(--token-space-250, var(--token-scale-250, 10px))}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:var(--token-space-250, var(--token-scale-250, 10px));margin-bottom:var(--token-space-400, var(--token-scale-400, 16px))}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:var(--token-space-250, var(--token-scale-250, 10px))}input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;opacity:0;overflow:hidden;clip:rect(0 0 0 0);-webkit-appearance:none;-moz-appearance:none}.native-wrapper{-ms-flex-pack:center;justify-content:center}.checkbox-icon{font-size:calc(var(--size) * 2 / 3)}.checkbox-bottom{font-size:var(--token-font-size-300, 0.75rem);font-weight:var(--token-font-weight-medium, 500);letter-spacing:var(--token-font-letter-spacing-0, 0%);line-height:var(--token-font-line-height-500, var(--token-scale-500, 20px));text-decoration:none;text-transform:none}.checkbox-bottom .error-text{color:var(--token-text-danger, var(--token-semantics-danger-900, var(--token-primitives-red-900, #991b1b)))}.checkbox-bottom .helper-text{color:var(--token-text-subtlest, var(--token-primitives-neutral-800, #626262))}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:var(--token-space-400, var(--token-scale-400, 16px));margin-inline-end:var(--token-space-400, var(--token-scale-400, 16px))}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:var(--token-space-400, var(--token-scale-400, 16px));margin-inline-start:var(--token-space-400, var(--token-scale-400, 16px));-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:var(--token-space-400, var(--token-scale-400, 16px));margin-inline-end:var(--token-space-400, var(--token-scale-400, 16px))}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:var(--token-space-400, var(--token-scale-400, 16px));max-width:133.3333333333%}:host(.checkbox-size-small){--size:var(--token-scale-400, 16px)}:host(.ion-invalid){--focus-ring-color:var(--token-border-danger-default, var(--token-semantics-danger-800, var(--token-primitives-red-800, #bf2222)))}:host(.ion-invalid:not(.checkbox-checked)) .native-wrapper,:host(.ion-invalid:not(.checkbox-checked).checkbox-disabled) .native-wrapper{border-color:var(--token-border-danger-default, var(--token-semantics-danger-800, var(--token-primitives-red-800, #bf2222)))}:host(.checkbox-disabled) .native-wrapper:after{right:0;left:0;top:0;bottom:0;position:absolute;background-color:var(--token-state-disabled, rgba(255, 255, 255, 0.6));content:"";pointer-events:none;right:unset;left:unset;top:unset;bottom:unset;width:inherit;height:inherit}:host(.checkbox-disabled.checkbox-checked) .native-wrapper{border-width:var(--token-border-size-0, var(--token-scale-0, 0px));background-color:var(--token-bg-primary-base-default, var(--token-semantics-primary-base, var(--token-semantics-primary-700, var(--token-primitives-blue-700, #105cef))))}@media (any-hover: hover){:host(:hover) .native-wrapper{background-color:var(--token-primitives-neutral-100, #f3f3f3)}:host(:hover.checkbox-checked) .native-wrapper,:host(:hover.checkbox-indeterminate) .native-wrapper{background-color:var(--token-semantics-primary-800, var(--token-primitives-blue-800, #0f54da))}}:host(.ion-focused:not(.checkbox-disabled)) .native-wrapper{outline-offset:var(--focus-ring-width);outline:var(--focus-ring-width) var(--token-border-style-solid, solid) var(--focus-ring-color)}:host(.ion-activated) .native-wrapper{background-color:var(--token-bg-input-press, var(--token-primitives-neutral-200, #eae9e9))}:host(.ion-activated.checkbox-checked) .native-wrapper,:host(.ion-activated.checkbox-indeterminate) .native-wrapper{background-color:var(--token-bg-primary-base-press, var(--token-semantics-primary-900, var(--token-primitives-blue-900, #0d4bc3)))}:host(.ion-activated.ion-invalid:not(.checkbox-checked)){background-color:var(--token-bg-input-press, var(--token-primitives-neutral-200, #eae9e9))}:host(.ion-activated.ion-invalid:not(.checkbox-checked)) .native-wrapper{border-color:var(--token-border-danger-press, var(--token-semantics-danger-1000, var(--token-primitives-red-1000, #761515)))}:host(.checkbox-shape-soft){--border-radius:var(--token-border-radius-100, var(--token-scale-100, 4px))}:host(.checkbox-size-small.checkbox-shape-soft){--border-radius:var(--token-border-radius-025, var(--token-scale-050, 2px))}:host(.checkbox-shape-rectangular){--border-radius:var(--token-border-radius-0, var(--token-scale-0, 0px))}.checkbox-wrapper{min-height:var(--token-scale-1200, 48px)}`;
|
|
13745
13726
|
|
|
13746
|
-
const checkboxIosCss = () => `:host{display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(:focus){outline:none}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden{display:none}input{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{position:relative}.checkbox-icon path{
|
|
13727
|
+
const checkboxIosCss = () => `:host{display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(:focus){outline:none}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden{display:none}input{display:none}.native-wrapper{border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon{position:relative;color:var(--checkmark-color);opacity:0}.checkbox-icon svg{width:100%;height:100%}.checkbox-icon path{fill:none;stroke:currentColor;stroke-width:var(--checkmark-width)}.checkbox-bottom{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;white-space:normal}.checkbox-bottom .error-text{display:none}.checkbox-bottom .helper-text{display:block}:host(.ion-touched.ion-invalid) .checkbox-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .checkbox-bottom .helper-text{display:none}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-pack:start;justify-content:start}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column;text-align:center}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-justify-space-between),:host(.checkbox-justify-start),:host(.checkbox-justify-end),:host(.checkbox-alignment-start),:host(.checkbox-alignment-center){display:block}:host(.checkbox-checked) .native-wrapper,:host(.checkbox-indeterminate) .native-wrapper{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;z-index:2}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}:host(.ion-focused) .native-wrapper::after{border-radius:50%;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #1a65eb);content:"";opacity:0.2;pointer-events:none;inset-block-start:calc(50% - 36px / 2);inset-inline-start:calc(50% - 36px / 2)}:host(.in-item) .label-text-wrapper,:host(.in-item:not(.checkbox-label-placement-stacked):not([slot])) .native-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.checkbox-icon{font-size:calc(var(--size) - 2 * var(--border-width))}.checkbox-bottom{padding-top:4px;font-size:0.75rem}:host(.checkbox-label-placement-stacked) .checkbox-bottom{font-size:1rem}.checkbox-bottom .error-text{color:var(--ion-color-danger, #c5000f)}.checkbox-bottom .helper-text{color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host{--border-radius:50%;--border-width:0.125rem;--border-style:solid;--border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.23);--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--size:min(1.375rem, 55.836px);--checkmark-width:1.5px}:host(.checkbox-disabled){opacity:0.3}`;
|
|
13747
13728
|
|
|
13748
|
-
const checkboxMdCss = () => `:host{display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(:focus){outline:none}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden{display:none}input{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{position:relative}.checkbox-icon path{
|
|
13729
|
+
const checkboxMdCss = () => `:host{display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(:focus){outline:none}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;cursor:inherit}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.label-text-wrapper-hidden{display:none}input{display:none}.native-wrapper{border-radius:var(--border-radius);display:-ms-flexbox;display:flex;position:relative;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;width:var(--size);height:var(--size);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);background:var(--checkbox-background);-webkit-box-sizing:border-box;box-sizing:border-box}.checkbox-icon{position:relative;color:var(--checkmark-color);opacity:0}.checkbox-icon svg{width:100%;height:100%}.checkbox-icon path{fill:none;stroke:currentColor;stroke-width:var(--checkmark-width)}.checkbox-bottom{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;white-space:normal}.checkbox-bottom .error-text{display:none}.checkbox-bottom .helper-text{display:block}:host(.ion-touched.ion-invalid) .checkbox-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .checkbox-bottom .helper-text{display:none}:host(.checkbox-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.checkbox-label-placement-end) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-pack:start;justify-content:start}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.checkbox-label-placement-stacked) .checkbox-wrapper{-ms-flex-direction:column;flex-direction:column;text-align:center}:host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.checkbox-label-placement-stacked.checkbox-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).checkbox-label-placement-stacked.checkbox-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.checkbox-label-placement-stacked.checkbox-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.checkbox-justify-space-between) .checkbox-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.checkbox-justify-start) .checkbox-wrapper{-ms-flex-pack:start;justify-content:start}:host(.checkbox-justify-end) .checkbox-wrapper{-ms-flex-pack:end;justify-content:end}:host(.checkbox-alignment-start) .checkbox-wrapper{-ms-flex-align:start;align-items:start}:host(.checkbox-alignment-center) .checkbox-wrapper{-ms-flex-align:center;align-items:center}:host(.checkbox-justify-space-between),:host(.checkbox-justify-start),:host(.checkbox-justify-end),:host(.checkbox-alignment-start),:host(.checkbox-alignment-center){display:block}:host(.checkbox-checked) .native-wrapper,:host(.checkbox-indeterminate) .native-wrapper{border-color:var(--border-color-checked);background:var(--checkbox-background-checked)}:host(.checkbox-checked) .checkbox-icon,:host(.checkbox-indeterminate) .checkbox-icon{opacity:1}:host(.checkbox-disabled){pointer-events:none}:host{--checkbox-background-checked:var(--ion-color-primary, #0054e9);--border-color-checked:var(--ion-color-primary, #0054e9);--checkmark-color:var(--ion-color-primary-contrast, #fff);--transition:none;z-index:2}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}:host(.ion-focused) .native-wrapper::after{border-radius:50%;display:block;position:absolute;width:36px;height:36px;background:var(--ion-color-primary-tint, #1a65eb);content:"";opacity:0.2;pointer-events:none;inset-block-start:calc(50% - 36px / 2);inset-inline-start:calc(50% - 36px / 2)}:host(.in-item) .label-text-wrapper,:host(.in-item:not(.checkbox-label-placement-stacked):not([slot])) .native-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.checkbox-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.checkbox-label-placement-stacked) .native-wrapper{margin-bottom:10px}.checkbox-icon{font-size:calc(var(--size) - 2 * var(--border-width))}.checkbox-bottom{padding-top:4px;font-size:0.75rem}:host(.checkbox-label-placement-stacked) .checkbox-bottom{font-size:1rem}.checkbox-bottom .error-text{color:var(--ion-color-danger, #c5000f)}.checkbox-bottom .helper-text{color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}:host(.checkbox-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host(.checkbox-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.checkbox-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host{--border-radius:calc(var(--size) * 0.125);--border-width:2px;--border-style:solid;--border-color:rgb(var(--ion-text-color-rgb, 0, 0, 0), 0.6);--checkmark-width:3;--checkbox-background:var(--ion-item-background, var(--ion-background-color, #fff));--transition:background 180ms cubic-bezier(0.4, 0, 0.2, 1);--size:18px}.checkbox-icon path{stroke-dasharray:30;stroke-dashoffset:30}:host(.checkbox-checked) .checkbox-icon path,:host(.checkbox-indeterminate) .checkbox-icon path{stroke-dashoffset:0;-webkit-transition:stroke-dashoffset 90ms linear 90ms;transition:stroke-dashoffset 90ms linear 90ms}:host(.checkbox-disabled) .label-text-wrapper{opacity:0.38}:host(.checkbox-disabled) .native-wrapper{opacity:0.63}`;
|
|
13749
13730
|
|
|
13750
13731
|
/**
|
|
13751
13732
|
* @virtualProp {"ios" | "md"} mode - The mode determines the platform behaviors of the component.
|
|
@@ -13755,7 +13736,8 @@ const checkboxMdCss = () => `:host{display:inline-block;position:relative;cursor
|
|
|
13755
13736
|
*
|
|
13756
13737
|
* @part container - The container for the checkbox mark.
|
|
13757
13738
|
* @part label - The label text describing the checkbox.
|
|
13758
|
-
* @part
|
|
13739
|
+
* @part icon - The icon that displays the checkmark.
|
|
13740
|
+
* @part mark - The checkmark used to indicate the checked state. Only applies when no icon is set in the config.
|
|
13759
13741
|
* @part supporting-text - Supporting text displayed beneath the checkbox label.
|
|
13760
13742
|
* @part helper-text - Supporting text displayed beneath the checkbox label when the checkbox is valid.
|
|
13761
13743
|
* @part error-text - Supporting text displayed beneath the checkbox label when the checkbox is invalid and touched.
|
|
@@ -13889,6 +13871,20 @@ class Checkbox {
|
|
|
13889
13871
|
async setFocus() {
|
|
13890
13872
|
this.el.focus();
|
|
13891
13873
|
}
|
|
13874
|
+
/**
|
|
13875
|
+
* Get the icon to use for the checked icon.
|
|
13876
|
+
* Use the icon set in the config.
|
|
13877
|
+
*/
|
|
13878
|
+
get checkboxCheckedIcon() {
|
|
13879
|
+
return config.get('checkboxCheckedIcon');
|
|
13880
|
+
}
|
|
13881
|
+
/**
|
|
13882
|
+
* Get the icon to use for the indeterminate icon.
|
|
13883
|
+
* Use the icon set in the config.
|
|
13884
|
+
*/
|
|
13885
|
+
get checkboxIndeterminateIcon() {
|
|
13886
|
+
return config.get('checkboxIndeterminateIcon');
|
|
13887
|
+
}
|
|
13892
13888
|
getHintTextId() {
|
|
13893
13889
|
const { helperText, errorText, helperTextId, errorTextId, isInvalid } = this;
|
|
13894
13890
|
if (isInvalid && errorText) {
|
|
@@ -13918,13 +13914,14 @@ class Checkbox {
|
|
|
13918
13914
|
render() {
|
|
13919
13915
|
const { color, checked, disabled, el, getSVGPath, indeterminate, inheritedAttributes, inputId, justify, labelPlacement, name, value, alignment, required, shape, size, } = this;
|
|
13920
13916
|
const theme = getIonTheme(this);
|
|
13917
|
+
const markIcon = indeterminate ? this.checkboxIndeterminateIcon : this.checkboxCheckedIcon;
|
|
13921
13918
|
const path = getSVGPath(theme, indeterminate);
|
|
13922
13919
|
const inItem = hostContext('ion-item', el);
|
|
13923
13920
|
const inMultipleInputsItem = hostContext('ion-item.item-multiple-inputs', el);
|
|
13924
13921
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
13925
13922
|
// The host element must have a checkbox role to ensure proper VoiceOver
|
|
13926
13923
|
// support in Safari for accessibility.
|
|
13927
|
-
return (hAsync(Host, { key: '
|
|
13924
|
+
return (hAsync(Host, { key: 'c1eda757784c401a112edfc02c24e89a122fed4a', role: "checkbox", "aria-checked": indeterminate ? 'mixed' : `${checked}`, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, "aria-labelledby": this.hasLabelContent ? this.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, onClick: this.onClick, class: createColorClasses$1(color, {
|
|
13928
13925
|
[theme]: true,
|
|
13929
13926
|
'in-item': inItem,
|
|
13930
13927
|
'checkbox-checked': checked,
|
|
@@ -13939,23 +13936,16 @@ class Checkbox {
|
|
|
13939
13936
|
[`checkbox-label-placement-${labelPlacement}`]: true,
|
|
13940
13937
|
[`checkbox-size-${size}`]: size !== undefined,
|
|
13941
13938
|
[`checkbox-shape-${shape}`]: true,
|
|
13942
|
-
}) }, hAsync("label", { key: '
|
|
13939
|
+
}) }, hAsync("label", { key: '7d0ef2a71eeb2f6f49b506cf4e9e9917d70cecf5', class: "checkbox-wrapper", htmlFor: inputId }, hAsync("input", Object.assign({ key: '676b7c47f3f8b971fd3c944381fa5c666c848817', type: "checkbox", checked: checked ? true : undefined, disabled: disabled, id: inputId, onChange: this.toggleChecked, required: required }, inheritedAttributes)), hAsync("div", { key: 'e1e8083fc65c6708c4a9f918a05fe619b0397679', class: {
|
|
13943
13940
|
'label-text-wrapper': true,
|
|
13944
13941
|
'label-text-wrapper-hidden': !this.hasLabelContent,
|
|
13945
|
-
}, part: "label", id: this.inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '
|
|
13942
|
+
}, part: "label", id: this.inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '22c909d61b4e8c14826818ae8329a45f77d5b414' }), this.renderHintText()), hAsync("div", { key: 'f13a5f97d12d3b7753bf3734dac0ad70ad396c2b', class: "native-wrapper", part: "container" }, hAsync("ion-icon", { key: '5976bb2ecf452a2a75412c667f1df7fc678d1179', class: "checkbox-icon", icon: markIcon, part: "icon", "aria-hidden": "true" }, hAsync("svg", { key: '6f9306fdb6e3b332eb689dc8be329bc7679a492b', viewBox: "0 0 24 24" }, path))))));
|
|
13946
13943
|
}
|
|
13947
13944
|
getSVGPath(theme, indeterminate) {
|
|
13948
13945
|
let path = indeterminate ? (hAsync("path", { d: "M6 12L18 12", part: "mark" })) : (hAsync("path", { d: "M5.9,12.5l3.8,3.8l8.8-8.8", part: "mark" }));
|
|
13949
|
-
if (theme === 'md') {
|
|
13946
|
+
if (theme === 'md' || theme === 'ionic') {
|
|
13950
13947
|
path = indeterminate ? (hAsync("path", { d: "M2 12H22", part: "mark" })) : (hAsync("path", { d: "M1.73,12.91 8.1,19.28 22.79,4.59", part: "mark" }));
|
|
13951
13948
|
}
|
|
13952
|
-
else if (theme === 'ionic') {
|
|
13953
|
-
path = indeterminate ? (
|
|
13954
|
-
// Phosphor Icon - minus bold
|
|
13955
|
-
hAsync("path", { d: "M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128Z" })) : (
|
|
13956
|
-
// Phosphor Icon - check bold
|
|
13957
|
-
hAsync("path", { d: "M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z" }));
|
|
13958
|
-
}
|
|
13959
13949
|
return path;
|
|
13960
13950
|
}
|
|
13961
13951
|
get el() { return getElement(this); }
|
|
@@ -14052,7 +14042,7 @@ class Chip {
|
|
|
14052
14042
|
const theme = getIonTheme(this);
|
|
14053
14043
|
const size = this.getSize();
|
|
14054
14044
|
const shape = this.getShape();
|
|
14055
|
-
return (hAsync(Host, { key: '
|
|
14045
|
+
return (hAsync(Host, { key: 'b6ac6f314aca3dae06b9a6b38468d82807f7f883', "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses$1(this.color, {
|
|
14056
14046
|
[theme]: true,
|
|
14057
14047
|
[`chip-${shape}`]: true,
|
|
14058
14048
|
'chip-outline': this.outline,
|
|
@@ -14061,7 +14051,7 @@ class Chip {
|
|
|
14061
14051
|
'ion-focusable': !this.disabled,
|
|
14062
14052
|
[`chip-${size}`]: size !== undefined,
|
|
14063
14053
|
[`chip-${hue}`]: hue !== undefined,
|
|
14064
|
-
}) }, hAsync("slot", { key: '
|
|
14054
|
+
}) }, hAsync("slot", { key: '0da90695097e5403e6e540f592e67240fb6c4a14' }), theme === 'md' && hAsync("ion-ripple-effect", { key: '764b2a54d45120578a178054ea44b6980e3f63e9' })));
|
|
14065
14055
|
}
|
|
14066
14056
|
static get style() { return {
|
|
14067
14057
|
ionic: chipIonicCss(),
|
|
@@ -14187,12 +14177,12 @@ class Col {
|
|
|
14187
14177
|
const colSize = this.getSizeClass();
|
|
14188
14178
|
const colOrder = this.getOrderClass();
|
|
14189
14179
|
const colOffset = this.getOffsetClass();
|
|
14190
|
-
return (hAsync(Host, { key: '
|
|
14180
|
+
return (hAsync(Host, { key: '3a56b2a9b995148f709dc3c0fe862ea6d1a273d8', class: {
|
|
14191
14181
|
[theme]: true,
|
|
14192
14182
|
[`${colSize}`]: colSize !== undefined,
|
|
14193
14183
|
[`${colOrder}`]: colOrder !== undefined,
|
|
14194
14184
|
[`${colOffset}`]: colOffset !== undefined,
|
|
14195
|
-
} }, hAsync("slot", { key: '
|
|
14185
|
+
} }, hAsync("slot", { key: '1b7336c386b92376cd287ebf85b10d245f5c9ab4' })));
|
|
14196
14186
|
}
|
|
14197
14187
|
get el() { return getElement(this); }
|
|
14198
14188
|
static get style() { return colCss(); }
|
|
@@ -14622,7 +14612,7 @@ class Content {
|
|
|
14622
14612
|
const forceOverscroll = this.shouldForceOverscroll(mode);
|
|
14623
14613
|
const transitionShadow = theme === 'ios';
|
|
14624
14614
|
this.resize();
|
|
14625
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
14615
|
+
return (hAsync(Host, Object.assign({ key: '6be663a1c94186ab306827797e0743d936616b8f', role: isMainContent ? 'main' : undefined, class: createColorClasses$1(this.color, {
|
|
14626
14616
|
[theme]: true,
|
|
14627
14617
|
'content-fullscreen': this.fullscreen,
|
|
14628
14618
|
'content-sizing': hostContext('ion-popover', this.el),
|
|
@@ -14631,12 +14621,12 @@ class Content {
|
|
|
14631
14621
|
}), style: {
|
|
14632
14622
|
'--offset-top': `${this.cTop}px`,
|
|
14633
14623
|
'--offset-bottom': `${this.cBottom}px`,
|
|
14634
|
-
} }, inheritedAttributes), hAsync("div", { key: '
|
|
14624
|
+
} }, inheritedAttributes), hAsync("div", { key: '237014db6e83ca2651eed9968b2d909af3658d14', ref: (el) => (this.backgroundContentEl = el), id: "background-content", part: "background" }), fixedSlotPlacement === 'before' ? hAsync("slot", { name: "fixed" }) : null, hAsync("div", { key: 'cafc39be73fc71223f57d283b46c94ddb5605ab3', class: {
|
|
14635
14625
|
'inner-scroll': true,
|
|
14636
14626
|
'scroll-x': scrollX,
|
|
14637
14627
|
'scroll-y': scrollY,
|
|
14638
14628
|
overscroll: (scrollX || scrollY) && forceOverscroll,
|
|
14639
|
-
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, hAsync("slot", { key: '
|
|
14629
|
+
}, ref: (scrollEl) => (this.scrollEl = scrollEl), onScroll: this.scrollEvents ? (ev) => this.onScroll(ev) : undefined, part: "scroll" }, hAsync("slot", { key: 'b93929f7d6d8512a042892532f58b5fbbafec449' })), transitionShadow ? (hAsync("div", { class: "transition-effect" }, hAsync("div", { class: "transition-cover" }), hAsync("div", { class: "transition-shadow" }))) : null, fixedSlotPlacement === 'after' ? hAsync("slot", { name: "fixed" }) : null));
|
|
14640
14630
|
}
|
|
14641
14631
|
get el() { return getElement(this); }
|
|
14642
14632
|
static get watchers() { return {
|
|
@@ -18314,73 +18304,43 @@ class Datetime {
|
|
|
18314
18304
|
}
|
|
18315
18305
|
/**
|
|
18316
18306
|
* Get the icon to use for the next icon.
|
|
18317
|
-
*
|
|
18307
|
+
* Use the icon set in the config.
|
|
18318
18308
|
* If no icon is set in the config, use the default icon.
|
|
18319
18309
|
*/
|
|
18320
18310
|
get datetimeNextIcon() {
|
|
18321
|
-
// Determine the theme and map to default icons
|
|
18322
|
-
const theme = getIonTheme(this);
|
|
18323
|
-
const defaultIcons = {
|
|
18324
|
-
ios: chevronForward,
|
|
18325
|
-
ionic: caretRightSvg,
|
|
18326
|
-
md: chevronForward,
|
|
18327
|
-
};
|
|
18328
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
18329
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
18330
18311
|
// Return the configured datetime next icon or the default icon
|
|
18331
|
-
return config.get('datetimeNextIcon',
|
|
18312
|
+
return config.get('datetimeNextIcon', chevronForward);
|
|
18332
18313
|
}
|
|
18333
18314
|
/**
|
|
18334
18315
|
* Get the icon to use for the previous icon.
|
|
18335
|
-
*
|
|
18316
|
+
* Use the icon set in the config.
|
|
18336
18317
|
* If no icon is set in the config, use the default icon.
|
|
18337
18318
|
*/
|
|
18338
18319
|
get datetimePreviousIcon() {
|
|
18339
|
-
// Determine the theme and map to default icons
|
|
18340
|
-
const theme = getIonTheme(this);
|
|
18341
|
-
const defaultIcons = {
|
|
18342
|
-
ios: chevronBack,
|
|
18343
|
-
ionic: caretLeftSvg,
|
|
18344
|
-
md: chevronBack,
|
|
18345
|
-
};
|
|
18346
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
18347
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
18348
18320
|
// Return the configured datetime previous icon or the default icon
|
|
18349
|
-
return config.get('datetimePreviousIcon',
|
|
18321
|
+
return config.get('datetimePreviousIcon', chevronBack);
|
|
18350
18322
|
}
|
|
18351
18323
|
/**
|
|
18352
18324
|
* Get the icon to use for the show month and year icon.
|
|
18353
|
-
*
|
|
18325
|
+
* Use the icon set in the config.
|
|
18354
18326
|
* If no icon is set in the config, use the default icon.
|
|
18355
18327
|
*/
|
|
18356
18328
|
get datetimeCollapsedIcon() {
|
|
18357
|
-
// Determine the theme and map to default
|
|
18329
|
+
// Determine the theme and map to the default icon
|
|
18358
18330
|
const theme = getIonTheme(this);
|
|
18359
|
-
const
|
|
18360
|
-
ios: chevronForward,
|
|
18361
|
-
ionic: undefined,
|
|
18362
|
-
md: caretDownSharp,
|
|
18363
|
-
};
|
|
18364
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
18365
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
18331
|
+
const defaultIcon = theme === 'ios' ? chevronForward : caretDownSharp;
|
|
18366
18332
|
// Return the configured datetime show month and year icon or the default icon
|
|
18367
18333
|
return config.get('datetimeCollapsedIcon', defaultIcon);
|
|
18368
18334
|
}
|
|
18369
18335
|
/**
|
|
18370
18336
|
* Get the icon to use for the hide month and year icon.
|
|
18371
|
-
*
|
|
18337
|
+
* Use the icon set in the config.
|
|
18372
18338
|
* If no icon is set in the config, use the default icon.
|
|
18373
18339
|
*/
|
|
18374
18340
|
get datetimeExpandedIcon() {
|
|
18375
|
-
// Determine the theme and map to default
|
|
18341
|
+
// Determine the theme and map to the default icon
|
|
18376
18342
|
const theme = getIonTheme(this);
|
|
18377
|
-
const
|
|
18378
|
-
ios: chevronDown,
|
|
18379
|
-
ionic: undefined,
|
|
18380
|
-
md: caretUpSharp,
|
|
18381
|
-
};
|
|
18382
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
18383
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
18343
|
+
const defaultIcon = theme === 'ios' ? chevronDown : caretUpSharp;
|
|
18384
18344
|
// Return the configured datetime hide month and year icon or the default icon
|
|
18385
18345
|
return config.get('datetimeExpandedIcon', defaultIcon);
|
|
18386
18346
|
}
|
|
@@ -18393,7 +18353,7 @@ class Datetime {
|
|
|
18393
18353
|
const hasDatePresentation = presentation === 'date' || presentation === 'date-time' || presentation === 'time-date';
|
|
18394
18354
|
const hasWheelVariant = hasDatePresentation && preferWheel;
|
|
18395
18355
|
renderHiddenInput(true, el, name, formatValue(value), disabled);
|
|
18396
|
-
return (hAsync(Host, { key: '
|
|
18356
|
+
return (hAsync(Host, { key: '81d6d431595fc287861af22aff9cad3b94f4ce97', "aria-disabled": disabled ? 'true' : null, onFocus: this.onFocus, onBlur: this.onBlur, class: Object.assign({}, createColorClasses$1(color, {
|
|
18397
18357
|
[theme]: true,
|
|
18398
18358
|
['datetime-readonly']: readonly,
|
|
18399
18359
|
['datetime-disabled']: disabled,
|
|
@@ -18403,7 +18363,7 @@ class Datetime {
|
|
|
18403
18363
|
[`datetime-size-${size}`]: true,
|
|
18404
18364
|
[`datetime-prefer-wheel`]: hasWheelVariant,
|
|
18405
18365
|
[`datetime-grid`]: isGridStyle,
|
|
18406
|
-
})) }, hAsync("div", { key: '
|
|
18366
|
+
})) }, hAsync("div", { key: 'a5043ea9c7cabb5333edf82c8563fac2f6488086', class: "intersection-tracker", ref: (el) => (this.intersectionTrackerRef = el) }), this.renderDatetime(theme)));
|
|
18407
18367
|
}
|
|
18408
18368
|
get el() { return getElement(this); }
|
|
18409
18369
|
static get watchers() { return {
|
|
@@ -18844,11 +18804,11 @@ class DatetimeButton {
|
|
|
18844
18804
|
render() {
|
|
18845
18805
|
const { color, dateText, timeText, selectedButton, datetimeActive, disabled } = this;
|
|
18846
18806
|
const theme = getIonTheme(this);
|
|
18847
|
-
return (hAsync(Host, { key: '
|
|
18807
|
+
return (hAsync(Host, { key: '5324999adc34e2f34aae2825427c28130bc399b4', class: createColorClasses$1(color, {
|
|
18848
18808
|
[theme]: true,
|
|
18849
18809
|
[`${selectedButton}-active`]: datetimeActive,
|
|
18850
18810
|
['datetime-button-disabled']: disabled,
|
|
18851
|
-
}) }, dateText && (hAsync("button", { key: '
|
|
18811
|
+
}) }, dateText && (hAsync("button", { key: '565c74efa16fc02a70a6f1ef6b073eb143ab9f07', class: "ion-activatable", id: "date-button", "aria-expanded": datetimeActive ? 'true' : 'false', onClick: this.handleDateClick, disabled: disabled, part: "native", ref: (el) => (this.dateTargetEl = el) }, hAsync("slot", { key: 'c487bd5ae42a089ce22a7cb1bb67016910e24bd0', name: "date-target" }, dateText), theme === 'md' && hAsync("ion-ripple-effect", { key: 'c871fee2350e3207efc2338d229b809f8b44dca9' }))), timeText && (hAsync("button", { key: '7acf19c3d1446133107a622851dfff2d6088cb8d', class: "ion-activatable", id: "time-button", "aria-expanded": datetimeActive ? 'true' : 'false', onClick: this.handleTimeClick, disabled: disabled, part: "native", ref: (el) => (this.timeTargetEl = el) }, hAsync("slot", { key: '6091b9d32d423ce438605005077087fc009fd8e7', name: "time-target" }, timeText), theme === 'md' && hAsync("ion-ripple-effect", { key: 'b71f93aa14aa0b7bdfe9ad4ca9bcb90880d23b0e' })))));
|
|
18852
18812
|
}
|
|
18853
18813
|
get el() { return getElement(this); }
|
|
18854
18814
|
static get style() { return {
|
|
@@ -18904,11 +18864,11 @@ class Divider {
|
|
|
18904
18864
|
render() {
|
|
18905
18865
|
const { inset, spacing } = this;
|
|
18906
18866
|
const theme = getIonTheme(this);
|
|
18907
|
-
return (hAsync(Host, { key: '
|
|
18867
|
+
return (hAsync(Host, { key: '90772ad228282d0be4f9f18fcd14bc7af0f52e0e', class: {
|
|
18908
18868
|
[theme]: true,
|
|
18909
18869
|
[`divider-spacing-${spacing}`]: spacing !== undefined,
|
|
18910
18870
|
[`divider-inset`]: inset,
|
|
18911
|
-
} }, hAsync("hr", { key: '
|
|
18871
|
+
} }, hAsync("hr", { key: 'e70ea44fa8e6af6156c19a60302f4e9785b74dae' })));
|
|
18912
18872
|
}
|
|
18913
18873
|
static get style() { return {
|
|
18914
18874
|
ionic: dividerIonicCss(),
|
|
@@ -18986,12 +18946,12 @@ class Fab {
|
|
|
18986
18946
|
render() {
|
|
18987
18947
|
const { horizontal, vertical, edge } = this;
|
|
18988
18948
|
const theme = getIonTheme(this);
|
|
18989
|
-
return (hAsync(Host, { key: '
|
|
18949
|
+
return (hAsync(Host, { key: 'fde83d0b3abd9f0315405f1212202fcc2ee939c3', class: {
|
|
18990
18950
|
[theme]: true,
|
|
18991
18951
|
[`fab-horizontal-${horizontal}`]: horizontal !== undefined,
|
|
18992
18952
|
[`fab-vertical-${vertical}`]: vertical !== undefined,
|
|
18993
18953
|
'fab-edge': edge,
|
|
18994
|
-
} }, hAsync("slot", { key: '
|
|
18954
|
+
} }, hAsync("slot", { key: 'aa393e8a368a4c3aef9ac1f8f38bdfca3b0cbc74' })));
|
|
18995
18955
|
}
|
|
18996
18956
|
get el() { return getElement(this); }
|
|
18997
18957
|
static get watchers() { return {
|
|
@@ -19017,8 +18977,6 @@ class Fab {
|
|
|
19017
18977
|
}; }
|
|
19018
18978
|
}
|
|
19019
18979
|
|
|
19020
|
-
const xSvg = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiBmaWxsPSJjdXJyZW50Q29sb3IiPjxwYXRoIGQ9Ik0yMDUuNjYsMTk0LjM0YTgsOCwwLDAsMS0xMS4zMiwxMS4zMkwxMjgsMTM5LjMxLDYxLjY2LDIwNS42NmE4LDgsMCwwLDEtMTEuMzItMTEuMzJMMTE2LjY5LDEyOCw1MC4zNCw2MS42NkE4LDgsMCwwLDEsNjEuNjYsNTAuMzRMMTI4LDExNi42OWw2Ni4zNC02Ni4zNWE4LDgsMCwwLDEsMTEuMzIsMTEuMzJMMTM5LjMxLDEyOFoiLz48L3N2Zz4=';
|
|
19021
|
-
|
|
19022
18980
|
const ionicFabButtonMdCss = () => `:host{--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--background-hover:var(--ion-color-primary-contrast, #fff);--background-hover-opacity:0.08;--transition:background-color, opacity 100ms linear;--ripple-color:currentColor;--border-radius:50%;--border-width:0;--border-style:none;--border-color:initial;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:56px;height:56px;font-size:14px;text-align:center;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transform:var(--transform);transform:var(--transform);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);background-clip:padding-box;color:var(--color);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:strict;cursor:pointer;overflow:hidden;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-icon){line-height:1}.button-native::after{right:0;left:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{right:0;left:0;top:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;z-index:1}:host(.fab-button-disabled){cursor:default;opacity:0.5;pointer-events:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-activated) .button-native{color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}::slotted(ion-icon){line-height:1}:host(.fab-button-small){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px;margin-bottom:8px;width:40px;height:40px}.close-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;right:0;left:0;top:0;position:absolute;height:100%;-webkit-transform:scale(0.4) rotateZ(-45deg);transform:scale(0.4) rotateZ(-45deg);-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;font-size:var(--close-icon-font-size);opacity:0;z-index:1}:host(.fab-button-close-active) .close-icon{-webkit-transform:scale(1) rotateZ(0deg);transform:scale(1) rotateZ(0deg);opacity:1}:host(.fab-button-close-active) .button-inner{-webkit-transform:scale(0.4) rotateZ(45deg);transform:scale(0.4) rotateZ(45deg);opacity:0}ion-ripple-effect{color:var(--ripple-color)}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent) .button-native{-webkit-backdrop-filter:var(--backdrop-filter);backdrop-filter:var(--backdrop-filter)}}:host(.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{--background:var(--ion-color-primary, #0054e9);--background-activated:transparent;--background-focused:currentColor;--background-hover:currentColor;--background-activated-opacity:0;--background-focused-opacity:0.24;--background-hover-opacity:0.08;--color:var(--ion-color-primary-contrast, #fff);--box-shadow:0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);--transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1), background-color 280ms cubic-bezier(0.4, 0, 0.2, 1), color 280ms cubic-bezier(0.4, 0, 0.2, 1), opacity 15ms linear 30ms, transform 270ms cubic-bezier(0, 0, 0.2, 1) 0ms;--close-icon-font-size:24px}:host(.ion-activated){--box-shadow:0 7px 8px -4px rgba(0, 0, 0, 0.2), 0 12px 17px 2px rgba(0, 0, 0, 0.14), 0 5px 22px 4px rgba(0, 0, 0, 0.12)}::slotted(ion-icon){font-size:24px}:host(.fab-button-in-list){--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);--color-activated:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54);--color-focused:var(--color-activated);--background:var(--ion-color-light, #f4f5f8);--background-activated:transparent;--background-focused:var(--ion-color-light-shade, #d7d8da);--background-hover:var(--ion-color-light-tint, #f5f6f9)}:host(.fab-button-in-list) ::slotted(ion-icon){font-size:18px}:host(.ion-color.ion-focused) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-contrast)}:host(.ion-color.ion-activated) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-activated) .button-native::after{background:transparent}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-contrast)}:host(.ion-color:hover) .button-native::after{background:var(--ion-color-contrast)}}`;
|
|
19023
18981
|
|
|
19024
18982
|
const fabButtonIosCss = () => `:host{--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--background-hover:var(--ion-color-primary-contrast, #fff);--background-hover-opacity:0.08;--transition:background-color, opacity 100ms linear;--ripple-color:currentColor;--border-radius:50%;--border-width:0;--border-style:none;--border-color:initial;--padding-top:0;--padding-end:0;--padding-bottom:0;--padding-start:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:block;width:56px;height:56px;font-size:14px;text-align:center;text-overflow:ellipsis;text-transform:none;white-space:nowrap;-webkit-font-kerning:none;font-kerning:none}.button-native{border-radius:var(--border-radius);-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transform:var(--transform);transform:var(--transform);-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);background-clip:padding-box;color:var(--color);-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:strict;cursor:pointer;overflow:hidden;z-index:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(ion-icon){line-height:1}.button-native::after{right:0;left:0;top:0;bottom:0;position:absolute;content:"";opacity:0}.button-inner{right:0;left:0;top:0;display:-ms-flexbox;display:flex;position:absolute;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;height:100%;-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;z-index:1}:host(.fab-button-disabled){cursor:default;opacity:0.5;pointer-events:none}@media (any-hover: hover){:host(:hover) .button-native{color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.ion-focused) .button-native{color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}:host(.ion-activated) .button-native{color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}::slotted(ion-icon){line-height:1}:host(.fab-button-small){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:8px;margin-bottom:8px;width:40px;height:40px}.close-icon{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;margin-top:0;margin-bottom:0;right:0;left:0;top:0;position:absolute;height:100%;-webkit-transform:scale(0.4) rotateZ(-45deg);transform:scale(0.4) rotateZ(-45deg);-webkit-transition:all ease-in-out 300ms;transition:all ease-in-out 300ms;-webkit-transition-property:opacity, -webkit-transform;transition-property:opacity, -webkit-transform;transition-property:transform, opacity;transition-property:transform, opacity, -webkit-transform;font-size:var(--close-icon-font-size);opacity:0;z-index:1}:host(.fab-button-close-active) .close-icon{-webkit-transform:scale(1) rotateZ(0deg);transform:scale(1) rotateZ(0deg);opacity:1}:host(.fab-button-close-active) .button-inner{-webkit-transform:scale(0.4) rotateZ(45deg);transform:scale(0.4) rotateZ(45deg);opacity:0}ion-ripple-effect{color:var(--ripple-color)}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent) .button-native{-webkit-backdrop-filter:var(--backdrop-filter);backdrop-filter:var(--backdrop-filter)}}:host(.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{--background:var(--ion-color-primary, #0054e9);--background-activated:var(--ion-color-primary-shade, #004acd);--background-focused:var(--ion-color-primary-shade, #004acd);--background-hover:var(--ion-color-primary-tint, #1a65eb);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1;--color:var(--ion-color-primary-contrast, #fff);--box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);--transition:0.2s transform cubic-bezier(0.25, 1.11, 0.78, 1.59);--close-icon-font-size:28px}:host(.ion-activated){--box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);--transform:scale(1.1);--transition:0.2s transform ease-out}::slotted(ion-icon){font-size:28px}:host(.fab-button-in-list){--background:var(--ion-color-light, #f4f5f8);--background-activated:var(--ion-color-light-shade, #d7d8da);--background-focused:var(--background-activated);--background-hover:var(--ion-color-light-tint, #f5f6f9);--color:var(--ion-color-light-contrast, #000);--color-activated:var(--ion-color-light-contrast, #000);--color-focused:var(--color-activated);--transition:transform 200ms ease 10ms, opacity 200ms ease 10ms}:host(.fab-button-in-list) ::slotted(ion-icon){font-size:18px}:host(.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}:host(.ion-color.ion-focused) .button-native,:host(.ion-color.ion-activated) .button-native{color:var(--ion-color-contrast)}:host(.ion-color.ion-focused) .button-native::after,:host(.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.ion-color:hover) .button-native{color:var(--ion-color-contrast)}:host(.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.fab-button-translucent){--background:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.9);--background-hover:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.8);--background-focused:rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.82);--backdrop-filter:saturate(180%) blur(20px)}:host(.fab-button-translucent-in-list){--background:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.9);--background-hover:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.8);--background-focused:rgba(var(--ion-color-light-rgb, 244, 245, 248), 0.82)}}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){@media (any-hover: hover){:host(.fab-button-translucent.ion-color:hover) .button-native{background:rgba(var(--ion-color-base-rgb), 0.8)}}:host(.ion-color.fab-button-translucent) .button-native{background:rgba(var(--ion-color-base-rgb), 0.9)}:host(.ion-color.ion-focused.fab-button-translucent) .button-native,:host(.ion-color.ion-activated.fab-button-translucent) .button-native{background:var(--ion-color-base)}}`;
|
|
@@ -19152,22 +19110,19 @@ class FabButton {
|
|
|
19152
19110
|
componentWillLoad() {
|
|
19153
19111
|
this.inheritedAttributes = inheritAriaAttributes(this.el);
|
|
19154
19112
|
}
|
|
19113
|
+
/**
|
|
19114
|
+
* Get the icon to use for the close icon.
|
|
19115
|
+
* If an icon is set on the component, use that.
|
|
19116
|
+
* Otherwise, use the icon set in the config.
|
|
19117
|
+
* If no icon is set in the config, use the default icon.
|
|
19118
|
+
*/
|
|
19155
19119
|
get fabButtonCloseIcon() {
|
|
19156
19120
|
// Return the icon if it is explicitly set
|
|
19157
19121
|
if (this.closeIcon != null) {
|
|
19158
19122
|
return this.closeIcon;
|
|
19159
19123
|
}
|
|
19160
|
-
// Determine the theme and map to default icons
|
|
19161
|
-
const theme = getIonTheme(this);
|
|
19162
|
-
const defaultIcons = {
|
|
19163
|
-
ios: close,
|
|
19164
|
-
ionic: xSvg,
|
|
19165
|
-
md: close,
|
|
19166
|
-
};
|
|
19167
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
19168
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
19169
19124
|
// Return the configured fab button close icon or the default icon
|
|
19170
|
-
return config.get('fabButtonCloseIcon',
|
|
19125
|
+
return config.get('fabButtonCloseIcon', close);
|
|
19171
19126
|
}
|
|
19172
19127
|
render() {
|
|
19173
19128
|
const { el, disabled, fabButtonCloseIcon, color, href, activated, show, translucent, size, inheritedAttributes, type, } = this;
|
|
@@ -19189,7 +19144,7 @@ class FabButton {
|
|
|
19189
19144
|
if (type !== 'button') {
|
|
19190
19145
|
this.renderHiddenButton();
|
|
19191
19146
|
}
|
|
19192
|
-
return (hAsync(Host, { key: '
|
|
19147
|
+
return (hAsync(Host, { key: '6cbdca34ede5d2ab6d9453f8453e608e596122f6', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, class: createColorClasses$1(color, {
|
|
19193
19148
|
[theme]: true,
|
|
19194
19149
|
'fab-button-in-list': inList,
|
|
19195
19150
|
'fab-button-translucent-in-list': inList && translucent,
|
|
@@ -19200,7 +19155,7 @@ class FabButton {
|
|
|
19200
19155
|
'ion-activatable': true,
|
|
19201
19156
|
'ion-focusable': true,
|
|
19202
19157
|
[`fab-button-${size}`]: size !== undefined,
|
|
19203
|
-
}) }, hAsync(TagType, Object.assign({ key: '
|
|
19158
|
+
}) }, hAsync(TagType, Object.assign({ key: '7e660c3401d3e42ba9b11784cf8c30a6ef3e79ed' }, attrs, { class: "button-native", part: "native", disabled: disabled, onFocus: this.onFocus, onBlur: this.onBlur, onClick: (ev) => type === 'button' && openURL(href, ev, this.routerDirection, this.routerAnimation) }, inheritedAttributes), hAsync("ion-icon", { key: 'eb8fedfd907fe3f2fb94382891ac399a34e19510', "aria-hidden": "true", icon: fabButtonCloseIcon, part: "close-icon", class: "close-icon", lazy: false }), hAsync("span", { key: '3ed25f178824632c99714c2c406b64ffa4358367', class: "button-inner" }, hAsync("slot", { key: '27084c351359bb5151059091615c559f1d01df93' })), theme === 'md' && hAsync("ion-ripple-effect", { key: '44c780a6554411d89cc213699b14aec8173ec76f' }))));
|
|
19204
19159
|
}
|
|
19205
19160
|
get el() { return getElement(this); }
|
|
19206
19161
|
static get watchers() { return {
|
|
@@ -19274,11 +19229,11 @@ class FabList {
|
|
|
19274
19229
|
}
|
|
19275
19230
|
render() {
|
|
19276
19231
|
const theme = getIonTheme(this);
|
|
19277
|
-
return (hAsync(Host, { key: '
|
|
19232
|
+
return (hAsync(Host, { key: '764dbc440379e7333215c2b69e177d4a7254a899', class: {
|
|
19278
19233
|
[theme]: true,
|
|
19279
19234
|
'fab-list-active': this.activated,
|
|
19280
19235
|
[`fab-list-side-${this.side}`]: true,
|
|
19281
|
-
} }, hAsync("slot", { key: '
|
|
19236
|
+
} }, hAsync("slot", { key: '9ea03acea78febe1b379904cef8978bbebcb57cd' })));
|
|
19282
19237
|
}
|
|
19283
19238
|
get el() { return getElement(this); }
|
|
19284
19239
|
static get watchers() { return {
|
|
@@ -20021,7 +19976,7 @@ class Footer {
|
|
|
20021
19976
|
const hasFade = effect === 'fade' && !isModeRestricted;
|
|
20022
19977
|
const tabs = this.el.closest('ion-tabs');
|
|
20023
19978
|
const tabBar = tabs === null || tabs === void 0 ? void 0 : tabs.querySelector(':scope > ion-tab-bar');
|
|
20024
|
-
return (hAsync(Host, { key: '
|
|
19979
|
+
return (hAsync(Host, { key: 'a968cbaa37aa5f66f852b393d17a5617892d3708', role: "contentinfo", class: {
|
|
20025
19980
|
[theme]: true,
|
|
20026
19981
|
// Used internally for styling
|
|
20027
19982
|
[`footer-${theme}`]: true,
|
|
@@ -20030,7 +19985,7 @@ class Footer {
|
|
|
20030
19985
|
['footer-toolbar-padding']: !this.keyboardVisible && (!tabBar || tabBar.slot !== 'bottom'),
|
|
20031
19986
|
'footer-collapse-fade': hasFade,
|
|
20032
19987
|
'footer-scroll-effect-hide': hasHide,
|
|
20033
|
-
} }, theme === 'ios' && translucent && hAsync("div", { key: '
|
|
19988
|
+
} }, theme === 'ios' && translucent && hAsync("div", { key: '5116db55a74d2a738a00c177d797dc03146ea129', class: "footer-background" }), hAsync("slot", { key: 'b61dd28630507aa01c047e119bbc367d26c5be93' })));
|
|
20034
19989
|
}
|
|
20035
19990
|
get el() { return getElement(this); }
|
|
20036
19991
|
static get style() { return {
|
|
@@ -20632,11 +20587,11 @@ class Gallery {
|
|
|
20632
20587
|
const { layout } = this;
|
|
20633
20588
|
const order = this.getOrder();
|
|
20634
20589
|
const theme = getIonTheme(this);
|
|
20635
|
-
return (hAsync(Host, { key: '
|
|
20590
|
+
return (hAsync(Host, { key: '17e0acf09db810e8635b4965faab99da4e675f31', class: {
|
|
20636
20591
|
[theme]: true,
|
|
20637
20592
|
[`gallery-layout-${layout}`]: true,
|
|
20638
20593
|
[`gallery-order-${order}`]: layout === 'masonry' && order !== undefined,
|
|
20639
|
-
} }, hAsync("slot", { key: '
|
|
20594
|
+
} }, hAsync("slot", { key: 'e31f2a92f22e8319011c1d2ceed4a47f733dc96b', onSlotchange: this.onSlotChange })));
|
|
20640
20595
|
}
|
|
20641
20596
|
get el() { return getElement(this); }
|
|
20642
20597
|
static get watchers() { return {
|
|
@@ -20717,10 +20672,10 @@ class GalleryItem {
|
|
|
20717
20672
|
render() {
|
|
20718
20673
|
const { galleryLayout } = this;
|
|
20719
20674
|
const theme = getIonTheme(this);
|
|
20720
|
-
return (hAsync(Host, { key: '
|
|
20675
|
+
return (hAsync(Host, { key: 'eccce38103a1fca6cd50f7ad1111d0718699a834', class: {
|
|
20721
20676
|
[theme]: true,
|
|
20722
20677
|
[`in-gallery-layout-${galleryLayout}`]: galleryLayout != undefined,
|
|
20723
|
-
} }, hAsync("slot", { key: '
|
|
20678
|
+
} }, hAsync("slot", { key: '4dcc6d4ac94c47b1e5c510e4e365fb1e17e7087f', onSlotchange: this.onSlotChange })));
|
|
20724
20679
|
}
|
|
20725
20680
|
get el() { return getElement(this); }
|
|
20726
20681
|
static get style() { return galleryItemCss(); }
|
|
@@ -20753,10 +20708,10 @@ class Grid {
|
|
|
20753
20708
|
}
|
|
20754
20709
|
render() {
|
|
20755
20710
|
const theme = getIonTheme(this);
|
|
20756
|
-
return (hAsync(Host, { key: '
|
|
20711
|
+
return (hAsync(Host, { key: '8211149ce14da893b47d7fb6e1f0bc194dca8490', class: {
|
|
20757
20712
|
[theme]: true,
|
|
20758
20713
|
'grid-fixed': this.fixed,
|
|
20759
|
-
} }, hAsync("slot", { key: '
|
|
20714
|
+
} }, hAsync("slot", { key: '080ef8c22898ddba8b001282778a78ed54f1e36f' })));
|
|
20760
20715
|
}
|
|
20761
20716
|
static get style() { return gridCss(); }
|
|
20762
20717
|
static get cmpMeta() { return {
|
|
@@ -21228,7 +21183,7 @@ class Header {
|
|
|
21228
21183
|
const isHiddenCondense = effect === 'condense' && !hasCondense;
|
|
21229
21184
|
// banner role must be at top level, so remove role if inside a menu
|
|
21230
21185
|
const roleType = isHiddenCondense ? 'none' : getRoleType(hostContext('ion-menu', this.el));
|
|
21231
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
21186
|
+
return (hAsync(Host, Object.assign({ key: '41cc94124ed8dfb413deecfd3369facbbbd91096', role: roleType, class: {
|
|
21232
21187
|
[theme]: true,
|
|
21233
21188
|
// Used internally for styling
|
|
21234
21189
|
[`header-${theme}`]: true,
|
|
@@ -21239,7 +21194,7 @@ class Header {
|
|
|
21239
21194
|
[`header-translucent-${theme}`]: this.translucent,
|
|
21240
21195
|
['header-divider']: divider,
|
|
21241
21196
|
'header-scroll-effect-hide': hasHide,
|
|
21242
|
-
} }, inheritedAttributes), theme !== 'md' && translucent && hAsync("div", { key: '
|
|
21197
|
+
} }, inheritedAttributes), theme !== 'md' && translucent && hAsync("div", { key: 'bbf8d7571a1c1f07ddd03d806218b26a4b32e2c3', class: "header-background" }), hAsync("slot", { key: '84cad2cdebcdc2902b7a19042a83d8c56a19612d' })));
|
|
21243
21198
|
}
|
|
21244
21199
|
get el() { return getElement(this); }
|
|
21245
21200
|
static get style() { return {
|
|
@@ -21591,9 +21546,9 @@ class Img {
|
|
|
21591
21546
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
21592
21547
|
const { draggable } = inheritedAttributes;
|
|
21593
21548
|
const theme = getIonTheme(this);
|
|
21594
|
-
return (hAsync(Host, { key: '
|
|
21549
|
+
return (hAsync(Host, { key: 'f6f8d76f7019338f9b07ce9738fdf9b15b0f3e9f', class: {
|
|
21595
21550
|
[theme]: true,
|
|
21596
|
-
} }, hAsync("img", { key: '
|
|
21551
|
+
} }, hAsync("img", { key: '0e571771fdf3008bd83588e1924d4f6a91e0ede8', decoding: "async", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: "image", draggable: isDraggable(draggable) })));
|
|
21597
21552
|
}
|
|
21598
21553
|
get el() { return getElement(this); }
|
|
21599
21554
|
static get watchers() { return {
|
|
@@ -21898,7 +21853,7 @@ class InfiniteScroll {
|
|
|
21898
21853
|
render() {
|
|
21899
21854
|
const theme = getIonTheme(this);
|
|
21900
21855
|
const disabled = this.disabled;
|
|
21901
|
-
return (hAsync(Host, { key: '
|
|
21856
|
+
return (hAsync(Host, { key: '042d76f3640398a71ff23c84f8df3e25d30536a6', class: {
|
|
21902
21857
|
[theme]: true,
|
|
21903
21858
|
'infinite-scroll-loading': this.isLoading,
|
|
21904
21859
|
'infinite-scroll-enabled': !disabled,
|
|
@@ -21961,11 +21916,11 @@ class InfiniteScrollContent {
|
|
|
21961
21916
|
}
|
|
21962
21917
|
render() {
|
|
21963
21918
|
const theme = getIonTheme(this);
|
|
21964
|
-
return (hAsync(Host, { key: '
|
|
21919
|
+
return (hAsync(Host, { key: '16d080c074d3b61ef884e4f7f5bd5f70aec1aeac', class: {
|
|
21965
21920
|
[theme]: true,
|
|
21966
21921
|
// Used internally for styling
|
|
21967
21922
|
[`infinite-scroll-content-${theme}`]: true,
|
|
21968
|
-
} }, hAsync("div", { key: '
|
|
21923
|
+
} }, hAsync("div", { key: 'dc5fa503c8b90255e4c898ceb4d0ec59467ec5a5', class: "infinite-loading" }, this.loadingSpinner && (hAsync("div", { key: '091cbc7bfefca20130090a0269a8241a4e0f60a9', class: "infinite-loading-spinner" }, hAsync("ion-spinner", { key: '89e7fa70d0846207a8289a0ada9ea38c6fd6bfbc', name: this.loadingSpinner }))), this.loadingText !== undefined && this.renderLoadingText())));
|
|
21969
21924
|
}
|
|
21970
21925
|
static get style() { return {
|
|
21971
21926
|
ionic: ionicInfiniteScrollContentMdCss(),
|
|
@@ -22676,15 +22631,9 @@ class Input {
|
|
|
22676
22631
|
if (this.clearInputIcon != null) {
|
|
22677
22632
|
return this.clearInputIcon;
|
|
22678
22633
|
}
|
|
22679
|
-
// Determine the theme and map to default
|
|
22634
|
+
// Determine the theme and map to the default icon
|
|
22680
22635
|
const theme = getIonTheme(this);
|
|
22681
|
-
const
|
|
22682
|
-
ios: closeCircle,
|
|
22683
|
-
ionic: xSvg,
|
|
22684
|
-
md: closeSharp,
|
|
22685
|
-
};
|
|
22686
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
22687
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
22636
|
+
const defaultIcon = theme === 'ios' ? closeCircle : closeSharp;
|
|
22688
22637
|
// Return the configured input clear icon or the default icon
|
|
22689
22638
|
return config.get('inputClearIcon', defaultIcon);
|
|
22690
22639
|
}
|
|
@@ -22718,7 +22667,7 @@ class Input {
|
|
|
22718
22667
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
22719
22668
|
*/
|
|
22720
22669
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
22721
|
-
return (hAsync(Host, { key: '
|
|
22670
|
+
return (hAsync(Host, { key: 'ae0920d7c93498741a5a066a5518f89f0c5b43c2', class: createColorClasses$1(this.color, {
|
|
22722
22671
|
[theme]: true,
|
|
22723
22672
|
'has-value': hasValue,
|
|
22724
22673
|
'has-focus': hasFocus,
|
|
@@ -22731,7 +22680,7 @@ class Input {
|
|
|
22731
22680
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
22732
22681
|
'input-disabled': disabled,
|
|
22733
22682
|
'input-readonly': readonly,
|
|
22734
|
-
}) }, hAsync("label", { key: '
|
|
22683
|
+
}) }, hAsync("label", { key: 'b9fd3366b0fb429ebacc02a16ae27e29b1b485aa', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), hAsync("div", { key: 'eb02cef1a79a43f9fc8eb55bd7f3dcd4ca2e81d3', class: "native-wrapper", onClick: this.onLabelClick },
|
|
22735
22684
|
/**
|
|
22736
22685
|
* For the ionic theme, we render the outline container here
|
|
22737
22686
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -22741,10 +22690,10 @@ class Input {
|
|
|
22741
22690
|
* <label> element, ensuring that clicking the label text
|
|
22742
22691
|
* focuses the input.
|
|
22743
22692
|
*/
|
|
22744
|
-
theme === 'ionic' && hAsync("div", { key: '
|
|
22693
|
+
theme === 'ionic' && hAsync("div", { key: '1d35432c405e9d6fec8c4d411bf33e2950a02fb5', class: "input-outline" }), hAsync("slot", { key: '627e09591ad9915b8b62b6ad8b8f359f1b010f01', name: "start" }), hAsync("input", Object.assign({ key: '3bd035e03868067ea6dbba5c7a28383474f67ba3', class: "native-input", ref: (input) => (this.nativeInput = input), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder || '', readOnly: readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, type: this.type, value: value, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeydown, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd, "aria-describedby": this.getHintTextID(), "aria-invalid": this.isInvalid ? 'true' : undefined, "aria-labelledby": this.getLabelledById() }, this.inheritedAttributes)), clearInput && !readonly && !disabled && (hAsync("button", { key: 'dfec9566c3dd743dae34afe0de03aabb180a371e', "aria-label": "reset", type: "button", class: {
|
|
22745
22694
|
'input-clear-icon': true,
|
|
22746
22695
|
'input-clear-button-pressed': this.isClearButtonPressed,
|
|
22747
|
-
}, onPointerDown: this.clearButtonPressController.onPointerDown, onPointerCancel: this.clearButtonPressController.release, onClick: this.clearTextInput }, hAsync("ion-icon", { key: '
|
|
22696
|
+
}, onPointerDown: this.clearButtonPressController.onPointerDown, onPointerCancel: this.clearButtonPressController.release, onClick: this.clearTextInput }, hAsync("ion-icon", { key: 'c736514c2df8f78196bd6426fd8d80d282c7aeb7', "aria-hidden": "true", icon: inputClearIcon }))), hAsync("slot", { key: 'b6a250b6aaacb7a7ec0e09cc93a8b8dce973bb5b', name: "end" })), shouldRenderHighlight && hAsync("div", { key: '989a73bb9210f3ef8084a265533063cdb4b8142c', class: "input-highlight" })), this.renderBottomContent()));
|
|
22748
22697
|
}
|
|
22749
22698
|
get el() { return getElement(this); }
|
|
22750
22699
|
static get watchers() { return {
|
|
@@ -23510,7 +23459,7 @@ class InputOTP {
|
|
|
23510
23459
|
const tabbableIndex = this.getTabbableIndex();
|
|
23511
23460
|
const pattern = this.getPattern();
|
|
23512
23461
|
const hasDescription = ((_b = (_a = el.querySelector('.input-otp-description')) === null || _a === void 0 ? void 0 : _a.textContent) === null || _b === void 0 ? void 0 : _b.trim()) !== '';
|
|
23513
|
-
return (hAsync(Host, { key: '
|
|
23462
|
+
return (hAsync(Host, { key: '67df3d392e0336b65363fff7cb0d093b7c535b3f', class: createColorClasses$1(color, {
|
|
23514
23463
|
[mode]: true,
|
|
23515
23464
|
'has-focus': hasFocus,
|
|
23516
23465
|
[`input-otp-size-${size}`]: true,
|
|
@@ -23518,10 +23467,10 @@ class InputOTP {
|
|
|
23518
23467
|
[`input-otp-fill-${fill}`]: true,
|
|
23519
23468
|
'input-otp-disabled': disabled,
|
|
23520
23469
|
'input-otp-readonly': readonly,
|
|
23521
|
-
}) }, hAsync("div", Object.assign({ key: '
|
|
23470
|
+
}) }, hAsync("div", Object.assign({ key: 'b68d6bfae96d7f381ce66819d9cff0aa2b1d8a44', role: "group", "aria-label": "One-time password input", class: "input-otp-group", part: "group" }, inheritedAttributes), Array.from({ length }).map((_, index) => (hAsync(Fragment, null, hAsync("div", { class: "native-wrapper", part: "container" }, hAsync("input", { class: "native-input", part: "native", id: `${inputId}-${index}`, "aria-label": `Input ${index + 1} of ${length}`, type: "text", autoCapitalize: autocapitalize, inputmode: inputmode, pattern: pattern, disabled: disabled, readOnly: readonly, tabIndex: index === tabbableIndex ? 0 : -1, value: inputValues[index] || '', autocomplete: "one-time-code", ref: (el) => (inputRefs[index] = el), onInput: this.onInput(index), onBlur: this.onBlur, onFocus: this.onFocus(index), onKeyDown: this.onKeyDown(index), onPaste: this.onPaste })), this.showSeparator(index) && hAsync("div", { class: "input-otp-separator", part: "separator" }))))), hAsync("div", { key: '346450b2da262c6543e5dc2c0bbac27c541f4e18', class: {
|
|
23522
23471
|
'input-otp-description': true,
|
|
23523
23472
|
'input-otp-description-hidden': !hasDescription,
|
|
23524
|
-
}, part: "description" }, hAsync("slot", { key: '
|
|
23473
|
+
}, part: "description" }, hAsync("slot", { key: '31ad8b75d9b2808b49f488e7ff2f235099e31b30' }))));
|
|
23525
23474
|
}
|
|
23526
23475
|
static get formAssociated() { return true; }
|
|
23527
23476
|
get el() { return getElement(this); }
|
|
@@ -23573,10 +23522,6 @@ class InputOTP {
|
|
|
23573
23522
|
}
|
|
23574
23523
|
let inputIds = 0;
|
|
23575
23524
|
|
|
23576
|
-
const eyeSlashSvg = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiBmaWxsPSJjdXJyZW50Q29sb3IiPjxwYXRoIGQ9Ik01My45MiwzNC42MkE4LDgsMCwxLDAsNDIuMDgsNDUuMzhMNjEuMzIsNjYuNTVDMjUsODguODQsOS4zOCwxMjMuMiw4LjY5LDEyNC43NmE4LDgsMCwwLDAsMCw2LjVjLjM1Ljc5LDguODIsMTkuNTcsMjcuNjUsMzguNEM2MS40MywxOTQuNzQsOTMuMTIsMjA4LDEyOCwyMDhhMTI3LjExLDEyNy4xMSwwLDAsMCw1Mi4wNy0xMC44M2wyMiwyNC4yMWE4LDgsMCwxLDAsMTEuODQtMTAuNzZabTQ3LjMzLDc1Ljg0LDQxLjY3LDQ1Ljg1YTMyLDMyLDAsMCwxLTQxLjY3LTQ1Ljg1Wk0xMjgsMTkyYy0zMC43OCwwLTU3LjY3LTExLjE5LTc5LjkzLTMzLjI1QTEzMy4xNiwxMzMuMTYsMCwwLDEsMjUsMTI4YzQuNjktOC43OSwxOS42Ni0zMy4zOSw0Ny4zNS00OS4zOGwxOCwxOS43NWE0OCw0OCwwLDAsMCw2My42Niw3MGwxNC43MywxNi4yQTExMiwxMTIsMCwwLDEsMTI4LDE5MlptNi05NS40M2E4LDgsMCwwLDEsMy0xNS43Miw0OC4xNiw0OC4xNiwwLDAsMSwzOC43Nyw0Mi42NCw4LDgsMCwwLDEtNy4yMiw4LjcxLDYuMzksNi4zOSwwLDAsMS0uNzUsMCw4LDgsMCwwLDEtOC03LjI2QTMyLjA5LDMyLjA5LDAsMCwwLDEzNCw5Ni41N1ptMTEzLjI4LDM0LjY5Yy0uNDIuOTQtMTAuNTUsMjMuMzctMzMuMzYsNDMuOGE4LDgsMCwxLDEtMTAuNjctMTEuOTJBMTMyLjc3LDEzMi43NywwLDAsMCwyMzEuMDUsMTI4YTEzMy4xNSwxMzMuMTUsMCwwLDAtMjMuMTItMzAuNzdDMTg1LjY3LDc1LjE5LDE1OC43OCw2NCwxMjgsNjRhMTE4LjM3LDExOC4zNywwLDAsMC0xOS4zNiwxLjU3QTgsOCwwLDEsMSwxMDYsNDkuNzksMTM0LDEzNCwwLDAsMSwxMjgsNDhjMzQuODgsMCw2Ni41NywxMy4yNiw5MS42NiwzOC4zNSwxOC44MywxOC44MywyNy4zLDM3LjYyLDI3LjY1LDM4LjQxQTgsOCwwLDAsMSwyNDcuMzEsMTMxLjI2WiIvPjwvc3ZnPg==';
|
|
23577
|
-
|
|
23578
|
-
const eyeSvg = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiBmaWxsPSJjdXJyZW50Q29sb3IiPjxwYXRoIGQ9Ik0yNDcuMzEsMTI0Ljc2Yy0uMzUtLjc5LTguODItMTkuNTgtMjcuNjUtMzguNDFDMTk0LjU3LDYxLjI2LDE2Mi44OCw0OCwxMjgsNDhTNjEuNDMsNjEuMjYsMzYuMzQsODYuMzVDMTcuNTEsMTA1LjE4LDksMTI0LDguNjksMTI0Ljc2YTgsOCwwLDAsMCwwLDYuNWMuMzUuNzksOC44MiwxOS41NywyNy42NSwzOC40QzYxLjQzLDE5NC43NCw5My4xMiwyMDgsMTI4LDIwOHM2Ni41Ny0xMy4yNiw5MS42Ni0zOC4zNGMxOC44My0xOC44MywyNy4zLTM3LjYxLDI3LjY1LTM4LjRBOCw4LDAsMCwwLDI0Ny4zMSwxMjQuNzZaTTEyOCwxOTJjLTMwLjc4LDAtNTcuNjctMTEuMTktNzkuOTMtMzMuMjVBMTMzLjQ3LDEzMy40NywwLDAsMSwyNSwxMjgsMTMzLjMzLDEzMy4zMywwLDAsMSw0OC4wNyw5Ny4yNUM3MC4zMyw3NS4xOSw5Ny4yMiw2NCwxMjgsNjRzNTcuNjcsMTEuMTksNzkuOTMsMzMuMjVBMTMzLjQ2LDEzMy40NiwwLDAsMSwyMzEuMDUsMTI4QzIyMy44NCwxNDEuNDYsMTkyLjQzLDE5MiwxMjgsMTkyWm0wLTExMmE0OCw0OCwwLDEsMCw0OCw0OEE0OC4wNSw0OC4wNSwwLDAsMCwxMjgsODBabTAsODBhMzIsMzIsMCwxLDEsMzItMzJBMzIsMzIsMCwwLDEsMTI4LDE2MFoiLz48L3N2Zz4=';
|
|
23579
|
-
|
|
23580
23525
|
const inputPasswordToggleIonicCss = () => `:host ion-button{--color:var(--token-primitives-neutral-800, #626262);--margin-end:calc(-1 * var(--padding-end));--padding-end:inherit;--icon-size:var(--token-font-size-400, 1rem);-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:var(--margin-end);margin-inline-end:var(--margin-end);margin-top:0;margin-bottom:0;width:var(--size);height:var(--size)}:host ion-button ion-icon{font-size:var(--icon-size)}`;
|
|
23581
23526
|
|
|
23582
23527
|
const iosInputPasswordToggleNativeCss = () => ``;
|
|
@@ -23631,54 +23576,48 @@ class InputPasswordToggle {
|
|
|
23631
23576
|
disconnectedCallback() {
|
|
23632
23577
|
this.inputElRef = null;
|
|
23633
23578
|
}
|
|
23579
|
+
/**
|
|
23580
|
+
* Get the icon to use for the hide icon.
|
|
23581
|
+
* If an icon is set on the component, use that.
|
|
23582
|
+
* Otherwise, use the icon set in the config.
|
|
23583
|
+
* If no icon is set in the config, use the default icon.
|
|
23584
|
+
*/
|
|
23634
23585
|
get inputPasswordHideIcon() {
|
|
23635
23586
|
// Return the icon if it is explicitly set
|
|
23636
23587
|
if (this.hideIcon != null) {
|
|
23637
23588
|
return this.hideIcon;
|
|
23638
23589
|
}
|
|
23639
|
-
// Determine the theme and map to default icons
|
|
23640
|
-
const theme = getIonTheme(this);
|
|
23641
|
-
const defaultIcons = {
|
|
23642
|
-
ios: eyeOff,
|
|
23643
|
-
ionic: eyeSlashSvg,
|
|
23644
|
-
md: eyeOff,
|
|
23645
|
-
};
|
|
23646
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
23647
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
23648
23590
|
// Return the configured input password hide icon or the default icon
|
|
23649
|
-
return config.get('inputPasswordHideIcon',
|
|
23591
|
+
return config.get('inputPasswordHideIcon', eyeOff);
|
|
23650
23592
|
}
|
|
23593
|
+
/**
|
|
23594
|
+
* Get the icon to use for the show icon.
|
|
23595
|
+
* If an icon is set on the component, use that.
|
|
23596
|
+
* Otherwise, use the icon set in the config.
|
|
23597
|
+
* If no icon is set in the config, use the default icon.
|
|
23598
|
+
*/
|
|
23651
23599
|
get inputPasswordShowIcon() {
|
|
23652
23600
|
// Return the icon if it is explicitly set
|
|
23653
23601
|
if (this.showIcon != null) {
|
|
23654
23602
|
return this.showIcon;
|
|
23655
23603
|
}
|
|
23656
|
-
// Determine the theme and map to default icons
|
|
23657
|
-
const theme = getIonTheme(this);
|
|
23658
|
-
const defaultIcons = {
|
|
23659
|
-
ios: eye,
|
|
23660
|
-
ionic: eyeSvg,
|
|
23661
|
-
md: eye,
|
|
23662
|
-
};
|
|
23663
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
23664
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
23665
23604
|
// Return the configured input password show icon or the default icon
|
|
23666
|
-
return config.get('inputPasswordShowIcon',
|
|
23605
|
+
return config.get('inputPasswordShowIcon', eye);
|
|
23667
23606
|
}
|
|
23668
23607
|
render() {
|
|
23669
23608
|
const { color, inputPasswordHideIcon, inputPasswordShowIcon, type } = this;
|
|
23670
23609
|
const mode = getIonMode$1(this);
|
|
23671
23610
|
const isPasswordVisible = type === 'text';
|
|
23672
|
-
return (hAsync(Host, { key: '
|
|
23611
|
+
return (hAsync(Host, { key: '67dff695db35fe17927c62f88eb4d1b8a83cf9c1', class: createColorClasses$1(color, {
|
|
23673
23612
|
[mode]: true,
|
|
23674
|
-
}) }, hAsync("ion-button", { key: '
|
|
23613
|
+
}) }, hAsync("ion-button", { key: '75edb85478a55b76fc1b4b3ecb65d593dee0b3ee', mode: mode, color: color, fill: "clear", shape: "round", "aria-label": isPasswordVisible ? 'Hide password' : 'Show password', "aria-pressed": isPasswordVisible ? 'true' : 'false', type: "button", onPointerDown: (ev) => {
|
|
23675
23614
|
/**
|
|
23676
23615
|
* This prevents mobile browsers from
|
|
23677
23616
|
* blurring the input when the password toggle
|
|
23678
23617
|
* button is activated.
|
|
23679
23618
|
*/
|
|
23680
23619
|
ev.preventDefault();
|
|
23681
|
-
}, onClick: this.togglePasswordVisibility }, hAsync("ion-icon", { key: '
|
|
23620
|
+
}, onClick: this.togglePasswordVisibility }, hAsync("ion-icon", { key: '811e6f30fdc0e78fb23318823fc2bb2135647ca1', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? inputPasswordHideIcon : inputPasswordShowIcon }))));
|
|
23682
23621
|
}
|
|
23683
23622
|
get el() { return getElement(this); }
|
|
23684
23623
|
static get watchers() { return {
|
|
@@ -23932,29 +23871,26 @@ class Item {
|
|
|
23932
23871
|
const controls = this.el.querySelectorAll('ion-toggle:not([disabled]), ion-checkbox:not([disabled]), ion-radio:not([disabled]), ion-select:not([disabled]), ion-input:not([disabled]), ion-textarea:not([disabled])');
|
|
23933
23872
|
return controls[0];
|
|
23934
23873
|
}
|
|
23874
|
+
/**
|
|
23875
|
+
* Get the icon to use for the detail icon.
|
|
23876
|
+
* If an icon is set on the component, use that.
|
|
23877
|
+
* Otherwise, use the icon set in the config.
|
|
23878
|
+
* If no icon is set in the config, use the default icon.
|
|
23879
|
+
*/
|
|
23935
23880
|
get itemDetailIcon() {
|
|
23936
23881
|
// Return the icon if it is explicitly set
|
|
23937
23882
|
if (this.detailIcon != null) {
|
|
23938
23883
|
return this.detailIcon;
|
|
23939
23884
|
}
|
|
23940
|
-
// Determine the theme and map to default icons
|
|
23941
|
-
const theme = getIonTheme(this);
|
|
23942
|
-
const defaultIcons = {
|
|
23943
|
-
ios: chevronForward,
|
|
23944
|
-
ionic: caretRightSvg,
|
|
23945
|
-
md: chevronForward,
|
|
23946
|
-
};
|
|
23947
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
23948
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
23949
23885
|
// Return the configured item detail icon or the default icon
|
|
23950
|
-
return config.get('itemDetailIcon',
|
|
23886
|
+
return config.get('itemDetailIcon', chevronForward);
|
|
23951
23887
|
}
|
|
23952
23888
|
/**
|
|
23953
23889
|
* The icon should be flipped when the app is RTL and
|
|
23954
23890
|
* the icon is a variation of chevron.
|
|
23955
23891
|
*/
|
|
23956
23892
|
get shouldFlipIcon() {
|
|
23957
|
-
return this.itemDetailIcon === chevronForward
|
|
23893
|
+
return this.itemDetailIcon === chevronForward;
|
|
23958
23894
|
}
|
|
23959
23895
|
render() {
|
|
23960
23896
|
const { detail, download, labelColorStyles, lines, disabled, href, itemDetailIcon, shouldFlipIcon, rel, target, routerAnimation, routerDirection, inheritedAriaAttributes, multipleInputs, } = this;
|
|
@@ -24033,7 +23969,7 @@ class Item {
|
|
|
24033
23969
|
* multi-input item, and in a clickable item, which is a second tab stop.
|
|
24034
23970
|
*/
|
|
24035
23971
|
const slottedIndicatorNeedsRoom = this.hasSlottedIndicatorControl && (multipleInputs || this.isClickable());
|
|
24036
|
-
return (hAsync(Host, { key: '
|
|
23972
|
+
return (hAsync(Host, { key: 'd1081a8a1d32df06ac0237a370b8105f9b3ad743', "aria-disabled": ariaDisabled, class: Object.assign(Object.assign(Object.assign({}, childStyles), labelColorStyles), createColorClasses$1(this.color, {
|
|
24037
23973
|
item: true,
|
|
24038
23974
|
[theme]: true,
|
|
24039
23975
|
'item-lines-default': lines === undefined,
|
|
@@ -24046,7 +23982,7 @@ class Item {
|
|
|
24046
23982
|
'ion-activatable': canActivate,
|
|
24047
23983
|
'ion-focusable': this.focusable,
|
|
24048
23984
|
'item-rtl': document.dir === 'rtl',
|
|
24049
|
-
})), role: inList ? 'listitem' : null }, hAsync(TagType, Object.assign({ key: '
|
|
23985
|
+
})), role: inList ? 'listitem' : null }, hAsync(TagType, Object.assign({ key: 'd0cb6daafb0813bdf176094aeef56083a18e766b' }, attrs, inheritedAriaAttributes, { class: "item-native", part: "native", disabled: disabled }, clickFn), hAsync("slot", { key: 'abb79ecaaa73863926e2e96b3c860c4686f1a7ac', name: "start", onSlotchange: this.updateInteractivityOnSlotChange }), hAsync("div", { key: 'dd13fe3d073c7b88ac4e09c157fc1267480feeba', class: "item-inner", part: "inner" }, hAsync("div", { key: '33e842c9fc188afc7e546a989d3c75cc5393b4a1', class: "input-wrapper", part: "container" }, hAsync("slot", { key: 'cd4fc3687f17807231adf641772c6e8269a75bce', onSlotchange: this.updateInteractivityOnSlotChange })), hAsync("slot", { key: 'bc0b10c2cdf07040d26d543de1fbf9ab5e400079', name: "end", onSlotchange: this.updateInteractivityOnSlotChange }), showDetail && (hAsync("ion-icon", { key: '64b285c87a5b000ad5bbd6a3056183ddc6ef988a', icon: itemDetailIcon, lazy: false, class: "item-detail-icon", part: "detail-icon", "aria-hidden": "true", "flip-rtl": shouldFlipIcon }))), canActivate && theme === 'md' && hAsync("ion-ripple-effect", { key: '1dd429002350661afa8853a58a59276da7283353' }))));
|
|
24050
23986
|
}
|
|
24051
23987
|
get el() { return getElement(this); }
|
|
24052
23988
|
static get watchers() { return {
|
|
@@ -24118,11 +24054,11 @@ class ItemDivider {
|
|
|
24118
24054
|
}
|
|
24119
24055
|
render() {
|
|
24120
24056
|
const theme = getIonTheme(this);
|
|
24121
|
-
return (hAsync(Host, { key: '
|
|
24057
|
+
return (hAsync(Host, { key: 'b41d12b91cf208efda5287f9be3c94fc0e934175', class: createColorClasses$1(this.color, {
|
|
24122
24058
|
[theme]: true,
|
|
24123
24059
|
'item-divider-sticky': this.sticky,
|
|
24124
24060
|
item: true,
|
|
24125
|
-
}) }, hAsync("slot", { key: '
|
|
24061
|
+
}) }, hAsync("slot", { key: '490b5ab187a2f8f4c909eb5c0c16d50a7f90f87d', name: "start" }), hAsync("div", { key: '55cc4cdda96d6a33472fe6570a09e725c3a5e091', class: "item-divider-inner", part: "inner" }, hAsync("div", { key: 'fec32822339f1a2197fd576b0949bf12d1b7582b', class: "item-divider-wrapper", part: "container" }, hAsync("slot", { key: '698a1e95a0481c1a7ff20795c479ceb5b00873ae' })), hAsync("slot", { key: 'c5d28d2b06885044bdadaf203018568c8701accc', name: "end" }))));
|
|
24126
24062
|
}
|
|
24127
24063
|
get el() { return getElement(this); }
|
|
24128
24064
|
static get style() { return {
|
|
@@ -24159,7 +24095,7 @@ class ItemGroup {
|
|
|
24159
24095
|
}
|
|
24160
24096
|
render() {
|
|
24161
24097
|
const theme = getIonTheme(this);
|
|
24162
|
-
return (hAsync(Host, { key: '
|
|
24098
|
+
return (hAsync(Host, { key: '192876ea9e6fc866519490556a5db863b8731ceb', role: "group", class: {
|
|
24163
24099
|
[theme]: true,
|
|
24164
24100
|
// Used internally for styling
|
|
24165
24101
|
[`item-group-${theme}`]: true,
|
|
@@ -24255,14 +24191,14 @@ class ItemOption {
|
|
|
24255
24191
|
href: this.href,
|
|
24256
24192
|
target: this.target,
|
|
24257
24193
|
};
|
|
24258
|
-
return (hAsync(Host, { key: '
|
|
24194
|
+
return (hAsync(Host, { key: '4c40464f3ade0f4afaf4a7682177bf54fd411b2f', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
24259
24195
|
[theme]: true,
|
|
24260
24196
|
[`item-option-${shape}`]: shape !== undefined,
|
|
24261
24197
|
[`item-option-${hue}`]: hue !== undefined,
|
|
24262
24198
|
'item-option-disabled': disabled,
|
|
24263
24199
|
'item-option-expandable': expandable,
|
|
24264
24200
|
'ion-activatable': true,
|
|
24265
|
-
}) }, hAsync(TagType, Object.assign({ key: '
|
|
24201
|
+
}) }, hAsync(TagType, Object.assign({ key: '857af74eab39e9dbe9e72da7b6727c1fb72ba463' }, attrs, { class: "button-native", part: "native", disabled: disabled }), hAsync("span", { key: '7838898caaa93215083f3aa378e8d12c7c0da73f', class: "button-inner", part: "inner" }, hAsync("slot", { key: '0cfa9e6c6e55cae4d099eb3c339ae91d69a0899d', name: "top" }), hAsync("div", { key: '5ed0d1b3f462e7a03da1c29f5a76efc186b3881c', class: "horizontal-wrapper", part: "container" }, hAsync("slot", { key: '264076e1e5818e7666d6958c861d43831b4b9227', name: "start" }), hAsync("slot", { key: 'ff6cd961b5d980ce073840f023f2c8ff3d46b4a4', name: "icon-only" }), hAsync("slot", { key: '75f3fd3813e497ab1fc1bef2248a8764c0b5a36f' }), hAsync("slot", { key: '9df80f908c1facc282b5910d1f3199b72dd33b36', name: "end" })), hAsync("slot", { key: 'e82f4c0ea7dd31393dd42496801d8807e57aba2d', name: "bottom" })), theme === 'md' && hAsync("ion-ripple-effect", { key: '7730ed91538245a5834989213673dea45b70798d' }))));
|
|
24266
24202
|
}
|
|
24267
24203
|
get el() { return getElement(this); }
|
|
24268
24204
|
static get style() { return {
|
|
@@ -24320,7 +24256,7 @@ class ItemOptions {
|
|
|
24320
24256
|
render() {
|
|
24321
24257
|
const theme = getIonTheme(this);
|
|
24322
24258
|
const isEnd = isEndSide(this.side);
|
|
24323
|
-
return (hAsync(Host, { key: '
|
|
24259
|
+
return (hAsync(Host, { key: '3505a534ecca3fe1615b1e686d9ab15bc8967049', class: {
|
|
24324
24260
|
[theme]: true,
|
|
24325
24261
|
// Used internally for styling
|
|
24326
24262
|
[`item-options-${theme}`]: true,
|
|
@@ -25172,7 +25108,7 @@ class ItemSliding {
|
|
|
25172
25108
|
}
|
|
25173
25109
|
render() {
|
|
25174
25110
|
const theme = getIonTheme(this);
|
|
25175
|
-
return (hAsync(Host, { key: '
|
|
25111
|
+
return (hAsync(Host, { key: 'd718bf10e1dfbecc2c1e1b84eee8e79a62751115', class: {
|
|
25176
25112
|
[theme]: true,
|
|
25177
25113
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
25178
25114
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -25291,13 +25227,13 @@ class Label {
|
|
|
25291
25227
|
render() {
|
|
25292
25228
|
const position = this.position;
|
|
25293
25229
|
const theme = getIonTheme(this);
|
|
25294
|
-
return (hAsync(Host, { key: '
|
|
25230
|
+
return (hAsync(Host, { key: '55356d83f3c598b83dccd79ee3769da57d15cf78', class: createColorClasses$1(this.color, {
|
|
25295
25231
|
[theme]: true,
|
|
25296
25232
|
'in-item-color': hostContext('ion-item.ion-color', this.el),
|
|
25297
25233
|
[`label-${position}`]: position !== undefined,
|
|
25298
25234
|
[`label-no-animate`]: this.noAnimate,
|
|
25299
25235
|
'label-rtl': document.dir === 'rtl',
|
|
25300
|
-
}) }, hAsync("slot", { key: '
|
|
25236
|
+
}) }, hAsync("slot", { key: 'fbf99c7868befa8ba8e01c4d086ef238ecc061c8' })));
|
|
25301
25237
|
}
|
|
25302
25238
|
get el() { return getElement(this); }
|
|
25303
25239
|
static get watchers() { return {
|
|
@@ -25377,7 +25313,7 @@ class List {
|
|
|
25377
25313
|
const theme = getIonTheme(this);
|
|
25378
25314
|
const shape = this.getShape();
|
|
25379
25315
|
const { lines, inset } = this;
|
|
25380
|
-
return (hAsync(Host, { key: '
|
|
25316
|
+
return (hAsync(Host, { key: 'c1a9ff4887166dda2da800c15102cd1aed53ab72', role: "list", class: {
|
|
25381
25317
|
[theme]: true,
|
|
25382
25318
|
// Used internally for styling
|
|
25383
25319
|
[`list-${theme}`]: true,
|
|
@@ -25427,10 +25363,10 @@ class ListHeader {
|
|
|
25427
25363
|
render() {
|
|
25428
25364
|
const { lines } = this;
|
|
25429
25365
|
const theme = getIonTheme(this);
|
|
25430
|
-
return (hAsync(Host, { key: '
|
|
25366
|
+
return (hAsync(Host, { key: '1d1e2a599178710f9243d4d4c87d01f2364e4717', class: createColorClasses$1(this.color, {
|
|
25431
25367
|
[theme]: true,
|
|
25432
25368
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
25433
|
-
}) }, hAsync("div", { key: '
|
|
25369
|
+
}) }, hAsync("div", { key: '4f29d2a52fad8314d779510c8851a632b68f783d', class: "list-header-inner", part: "inner" }, hAsync("slot", { key: '4b434064755e69b6e5ba4d241159d0590ca6fa47' }))));
|
|
25434
25370
|
}
|
|
25435
25371
|
static get style() { return {
|
|
25436
25372
|
ionic: listHeaderIonicCss(),
|
|
@@ -25719,9 +25655,9 @@ class Loading {
|
|
|
25719
25655
|
* Otherwise, don't set aria-labelledby.
|
|
25720
25656
|
*/
|
|
25721
25657
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
25722
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
25658
|
+
return (hAsync(Host, Object.assign({ key: '46358f5a35005840cf60e7c520d4f60415b5991d', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
25723
25659
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
25724
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: '
|
|
25660
|
+
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), hAsync("ion-backdrop", { key: 'a34cd48d682bc696aa437d22f99fee5427070883', visible: this.showBackdrop, tappable: this.backdropDismiss }), hAsync("div", { key: '6c663be0284e9b81f0b474ae05f3182b76f6ce7f', tabindex: "0", "aria-hidden": "true" }), hAsync("div", { key: 'a8b8bbab685e59c80793ed66626a7f90b40960d6', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (hAsync("div", { key: '016cfe3ac189405620cd4dfc82941b280d84c8a4', class: "loading-spinner" }, hAsync("ion-spinner", { key: '33d580768ab09748c3fa59fa8fed09832abaae7a', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), hAsync("div", { key: 'dedf1658004af3269ec1bb9a8028ce786a24d806', tabindex: "0", "aria-hidden": "true" })));
|
|
25725
25661
|
}
|
|
25726
25662
|
get el() { return getElement(this); }
|
|
25727
25663
|
static get watchers() { return {
|
|
@@ -26782,14 +26718,14 @@ class Menu {
|
|
|
26782
26718
|
* the ionBackButton listener in the menu controller
|
|
26783
26719
|
* will handle closing the menu when Escape is pressed.
|
|
26784
26720
|
*/
|
|
26785
|
-
return (hAsync(Host, { key: '
|
|
26721
|
+
return (hAsync(Host, { key: '9b37651cda44cc443b9085e13eb2e5b13fa041e0', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
26786
26722
|
[theme]: true,
|
|
26787
26723
|
[`menu-type-${type}`]: true,
|
|
26788
26724
|
'menu-enabled': !disabled,
|
|
26789
26725
|
[`menu-side-${side}`]: true,
|
|
26790
26726
|
'menu-pane-visible': isPaneVisible,
|
|
26791
26727
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
26792
|
-
} }, hAsync("div", { key: '
|
|
26728
|
+
} }, hAsync("div", { key: '27d27929b185907be48e50d4b2bbe1a14e971564', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, hAsync("slot", { key: '38e3385837dff99ee17170798efedc3f58071fac' })), hAsync("ion-backdrop", { key: 'ae11415a8b4c00e6c4a90ce88405cd5b11a92374', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
26793
26729
|
}
|
|
26794
26730
|
get el() { return getElement(this); }
|
|
26795
26731
|
static get watchers() { return {
|
|
@@ -26851,8 +26787,6 @@ const SHOW_MENU = 'show-menu';
|
|
|
26851
26787
|
const SHOW_BACKDROP = 'show-backdrop';
|
|
26852
26788
|
const MENU_CONTENT_OPEN = 'menu-content-open';
|
|
26853
26789
|
|
|
26854
|
-
const listSvg = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiBmaWxsPSJjdXJyZW50Q29sb3IiPjxwYXRoIGQ9Ik0yMjQsMTI4YTgsOCwwLDAsMS04LDhINDBhOCw4LDAsMCwxLDAtMTZIMjE2QTgsOCwwLDAsMSwyMjQsMTI4Wk00MCw3MkgyMTZhOCw4LDAsMCwwLDAtMTZINDBhOCw4LDAsMCwwLDAsMTZaTTIxNiwxODRINDBhOCw4LDAsMCwwLDAsMTZIMjE2YTgsOCwwLDAsMCwwLTE2WiIvPjwvc3ZnPg==';
|
|
26855
|
-
|
|
26856
26790
|
// Given a menu, return whether or not the menu toggle should be visible
|
|
26857
26791
|
const updateVisibility = async (menu) => {
|
|
26858
26792
|
const menuEl = await menuController.get(menu);
|
|
@@ -26902,16 +26836,15 @@ class MenuButton {
|
|
|
26902
26836
|
async visibilityChanged() {
|
|
26903
26837
|
this.visible = await updateVisibility(this.menu);
|
|
26904
26838
|
}
|
|
26839
|
+
/**
|
|
26840
|
+
* Get the icon to use for the menu icon.
|
|
26841
|
+
* Use the icon set in the config.
|
|
26842
|
+
* If no icon is set in the config, use the default icon.
|
|
26843
|
+
*/
|
|
26905
26844
|
get menuIcon() {
|
|
26906
|
-
// Determine the theme and map to default
|
|
26845
|
+
// Determine the theme and map to the default icon
|
|
26907
26846
|
const theme = getIonTheme(this);
|
|
26908
|
-
const
|
|
26909
|
-
ios: menuOutline,
|
|
26910
|
-
ionic: listSvg,
|
|
26911
|
-
md: menuSharp,
|
|
26912
|
-
};
|
|
26913
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
26914
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
26847
|
+
const defaultIcon = theme === 'ios' ? menuOutline : menuSharp;
|
|
26915
26848
|
// Return the configured menu icon or the default icon
|
|
26916
26849
|
return config.get('menuIcon', defaultIcon);
|
|
26917
26850
|
}
|
|
@@ -26923,7 +26856,7 @@ class MenuButton {
|
|
|
26923
26856
|
type: this.type,
|
|
26924
26857
|
};
|
|
26925
26858
|
const ariaLabel = inheritedAttributes['aria-label'] || 'menu';
|
|
26926
|
-
return (hAsync(Host, { key: '
|
|
26859
|
+
return (hAsync(Host, { key: '026e0b8786a0743d93b1410f2c7046857e76d31e', onClick: this.onClick, "aria-disabled": disabled ? 'true' : null, "aria-hidden": hidden ? 'true' : null, class: createColorClasses$1(color, {
|
|
26927
26860
|
[theme]: true,
|
|
26928
26861
|
button: true, // ion-buttons target .button
|
|
26929
26862
|
'menu-button-hidden': hidden,
|
|
@@ -26932,7 +26865,7 @@ class MenuButton {
|
|
|
26932
26865
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
26933
26866
|
'ion-activatable': true,
|
|
26934
26867
|
'ion-focusable': true,
|
|
26935
|
-
}) }, hAsync("button", Object.assign({ key: '
|
|
26868
|
+
}) }, hAsync("button", Object.assign({ key: '43ae83fb67e6f138c73eceea433d2e1597539347' }, attrs, { disabled: disabled, class: "button-native", part: "native", "aria-label": ariaLabel }), hAsync("span", { key: 'f6ddf381a18c716c1826d42e88c4b5a7840bb5fd', class: "button-inner" }, hAsync("slot", { key: 'bb39b67eacc81d30221bfb54dc0a835289cc5380' }, hAsync("ion-icon", { key: '8f8313ed81ad2d59e2bd40d4025dd20dc822d512', part: "icon", icon: menuIcon, lazy: false, "aria-hidden": "true" }))), theme === 'md' && hAsync("ion-ripple-effect", { key: '25ca62a13acd04b0a3df7ead7c6dabff1446bce5', type: "unbounded" }))));
|
|
26936
26869
|
}
|
|
26937
26870
|
get el() { return getElement(this); }
|
|
26938
26871
|
static get style() { return {
|
|
@@ -26989,10 +26922,10 @@ class MenuToggle {
|
|
|
26989
26922
|
render() {
|
|
26990
26923
|
const theme = getIonTheme(this);
|
|
26991
26924
|
const hidden = this.autoHide && !this.visible;
|
|
26992
|
-
return (hAsync(Host, { key: '
|
|
26925
|
+
return (hAsync(Host, { key: 'c97c11d2e8b3efd50302cedd68c2dd95b0355bd4', onClick: this.onClick, "aria-hidden": hidden ? 'true' : null, class: {
|
|
26993
26926
|
[theme]: true,
|
|
26994
26927
|
'menu-toggle-hidden': hidden,
|
|
26995
|
-
} }, hAsync("slot", { key: '
|
|
26928
|
+
} }, hAsync("slot", { key: 'e9987fbbbf9cf7fb8e770502c3c9d5c5779c3926' })));
|
|
26996
26929
|
}
|
|
26997
26930
|
static get style() { return menuToggleCss(); }
|
|
26998
26931
|
static get cmpMeta() { return {
|
|
@@ -30545,11 +30478,11 @@ class Modal {
|
|
|
30545
30478
|
const isHandleCycle = handleBehavior === 'cycle';
|
|
30546
30479
|
const shape = this.getShape();
|
|
30547
30480
|
const isSheetModalWithHandle = isSheetModal && showHandle;
|
|
30548
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
30481
|
+
return (hAsync(Host, Object.assign({ key: 'a2a8d62a699e1bcd2d6d277dcec3ae0a0cdaa773', "no-router": true,
|
|
30549
30482
|
// Allow the modal to be navigable when the handle is focusable
|
|
30550
30483
|
tabIndex: isHandleCycle && isSheetModalWithHandle ? 0 : -1 }, htmlAttributes, { style: {
|
|
30551
30484
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
30552
|
-
}, class: Object.assign({ [theme]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-${shape}`]: shape !== undefined, [`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: '
|
|
30485
|
+
}, class: Object.assign({ [theme]: true, ['modal-default']: !isCardModal && !isSheetModal, [`modal-card`]: isCardModal, [`modal-sheet`]: isSheetModal, [`modal-${shape}`]: shape !== undefined, [`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: 'ef4dce13e8fa68d118bbb87262cce3d6067f8159', ref: (el) => (this.backdropEl = el), visible: this.showBackdrop, tappable: this.backdropDismiss, part: "backdrop" }), theme === 'ios' && hAsync("div", { key: 'fffa61a3d9f45b72847a224845758d9f97fb3e79', class: "modal-shadow" }), hAsync("div", Object.assign({ key: '1872b201510124d94f86b42a0b30bdd416280a2a',
|
|
30553
30486
|
/*
|
|
30554
30487
|
role and aria-modal must be used on the
|
|
30555
30488
|
same element. They must also be set inside the
|
|
@@ -30562,9 +30495,9 @@ class Modal {
|
|
|
30562
30495
|
without the tabindex focus() would be a no-op and screen readers
|
|
30563
30496
|
may not properly announce the dialog and its content when it opens.
|
|
30564
30497
|
*/
|
|
30565
|
-
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", tabIndex: -1, class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: '
|
|
30498
|
+
role: "dialog" }, inheritedAttributes, { "aria-modal": "true", tabIndex: -1, class: "modal-wrapper ion-overlay-wrapper", part: "content", ref: (el) => (this.wrapperEl = el) }), showHandle && (hAsync("button", { key: '822983329fce3d8dbf007172448a0f6c7f180190', class: "modal-handle",
|
|
30566
30499
|
// Prevents the handle from receiving keyboard focus when it does not cycle
|
|
30567
|
-
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", "data-focus-order": "1", ref: (el) => (this.dragHandleEl = el) })), hAsync("slot", { key: '
|
|
30500
|
+
tabIndex: !isHandleCycle ? -1 : 0, "aria-label": "Activate to adjust the size of the dialog overlaying the screen", onClick: isHandleCycle ? this.onHandleClick : undefined, part: "handle", "data-focus-order": "1", ref: (el) => (this.dragHandleEl = el) })), hAsync("slot", { key: '182a6e6b3aa92f22035c851eb32bd2392cf941d1', onSlotchange: this.onSlotChange }))));
|
|
30568
30501
|
}
|
|
30569
30502
|
get el() { return getElement(this); }
|
|
30570
30503
|
static get watchers() { return {
|
|
@@ -31527,7 +31460,7 @@ class Nav {
|
|
|
31527
31460
|
}
|
|
31528
31461
|
}
|
|
31529
31462
|
render() {
|
|
31530
|
-
return hAsync("slot", { key: '
|
|
31463
|
+
return hAsync("slot", { key: '2542f3c31517c7238d1c286435c6e6738fafb145' });
|
|
31531
31464
|
}
|
|
31532
31465
|
get el() { return getElement(this); }
|
|
31533
31466
|
static get watchers() { return {
|
|
@@ -31608,7 +31541,7 @@ class NavLink {
|
|
|
31608
31541
|
};
|
|
31609
31542
|
}
|
|
31610
31543
|
render() {
|
|
31611
|
-
return hAsync(Host, { key: '
|
|
31544
|
+
return hAsync(Host, { key: '892d940265e46ab358af2693c4d63234fe301a85', onClick: this.onClick });
|
|
31612
31545
|
}
|
|
31613
31546
|
get el() { return getElement(this); }
|
|
31614
31547
|
static get cmpMeta() { return {
|
|
@@ -31642,9 +31575,9 @@ class Note {
|
|
|
31642
31575
|
}
|
|
31643
31576
|
render() {
|
|
31644
31577
|
const theme = getIonTheme(this);
|
|
31645
|
-
return (hAsync(Host, { key: '
|
|
31578
|
+
return (hAsync(Host, { key: '3f882cc4cac96016c332fd42b7a42ee2065284ce', class: createColorClasses$1(this.color, {
|
|
31646
31579
|
[theme]: true,
|
|
31647
|
-
}) }, hAsync("slot", { key: '
|
|
31580
|
+
}) }, hAsync("slot", { key: 'f90b98dcd17b4f3c4e7b85ad4fe01e5478bdc952' })));
|
|
31648
31581
|
}
|
|
31649
31582
|
static get style() { return {
|
|
31650
31583
|
ionic: ionicNoteMdCss(),
|
|
@@ -32120,7 +32053,7 @@ let Picker$1 = class Picker {
|
|
|
32120
32053
|
this.emitInputModeChange();
|
|
32121
32054
|
}
|
|
32122
32055
|
render() {
|
|
32123
|
-
return (hAsync(Host, { key: '
|
|
32056
|
+
return (hAsync(Host, { key: '7bd377eae3c0fe70f0bc34820d5f7e66a8c1f280', onPointerDown: (ev) => this.onPointerDown(ev), onClick: () => this.onClick() }, hAsync("input", { key: '81e4494104e755f8c05a4dcbceb3ad2edb426bfc', "aria-hidden": "true", tabindex: -1, inputmode: "numeric", type: "number", onKeyDown: (ev) => {
|
|
32124
32057
|
var _a;
|
|
32125
32058
|
/**
|
|
32126
32059
|
* The "Enter" key represents
|
|
@@ -32135,7 +32068,7 @@ let Picker$1 = class Picker {
|
|
|
32135
32068
|
if (ev.key === 'Enter') {
|
|
32136
32069
|
(_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.blur();
|
|
32137
32070
|
}
|
|
32138
|
-
}, ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), hAsync("div", { key: '
|
|
32071
|
+
}, ref: (el) => (this.inputEl = el), onInput: () => this.onInputChange(), onBlur: () => this.exitInputMode() }), hAsync("div", { key: '64a1ed7261384f8b8880458684140dabb2886bc4', class: "picker-before" }), hAsync("div", { key: 'b1cb9d14bb7171695ffb138b3ad3150264adee95', class: "picker-after" }), hAsync("div", { key: '11db19b2aab0ca2b84171892a6158c612e8e2642', class: "picker-highlight", ref: (el) => (this.highlightEl = el) }), hAsync("slot", { key: '8cbf25b4282541e3d33aa67bc34e59b46541e64f' })));
|
|
32139
32072
|
}
|
|
32140
32073
|
get el() { return getElement(this); }
|
|
32141
32074
|
static get style() { return {
|
|
@@ -32410,11 +32343,11 @@ class Picker {
|
|
|
32410
32343
|
render() {
|
|
32411
32344
|
const { htmlAttributes } = this;
|
|
32412
32345
|
const theme = getIonTheme(this);
|
|
32413
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
32346
|
+
return (hAsync(Host, Object.assign({ key: '2933574a887dec034d63c9fb7e72c6f89ba41eee', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
32414
32347
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
32415
32348
|
}, class: Object.assign({ [theme]: true,
|
|
32416
32349
|
// Used internally for styling
|
|
32417
|
-
[`picker-${theme}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: '
|
|
32350
|
+
[`picker-${theme}`]: true, 'overlay-hidden': true }, getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), hAsync("ion-backdrop", { key: 'da408d6f273dbdee101ee0fecd534122f3adae4b', visible: this.showBackdrop, tappable: this.backdropDismiss }), hAsync("div", { key: 'b2c0b56573828c54e6915c7134f8efdf6d3dd447', tabindex: "0", "aria-hidden": "true" }), hAsync("div", { key: '471ececc34bad0850caaaa7bc0617342e631c813', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, hAsync("div", { key: '5a22a05ee03d39b89a0a40b4d8b1babc72fd0ec3', 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: '779ff00e285f24b7b3a22a3a1f2bc73f81852301', class: "picker-columns" }, hAsync("div", { key: '317a4efb359487d4f4815696551c98c2ad2c9f6d', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => hAsync("ion-picker-legacy-column", { col: c })), hAsync("div", { key: 'b38fcc0d168d8f41eac7b90aef48d2c7354e442a', class: "picker-below-highlight" }))), hAsync("div", { key: '05dbb5a72979c720eb1c2810e5023d402a2a16d0', tabindex: "0", "aria-hidden": "true" })));
|
|
32418
32351
|
}
|
|
32419
32352
|
get el() { return getElement(this); }
|
|
32420
32353
|
static get watchers() { return {
|
|
@@ -33017,14 +32950,14 @@ class PickerColumn {
|
|
|
33017
32950
|
render() {
|
|
33018
32951
|
const { color, disabled, isActive, numericInput } = this;
|
|
33019
32952
|
const theme = getIonTheme(this);
|
|
33020
|
-
return (hAsync(Host, { key: '
|
|
32953
|
+
return (hAsync(Host, { key: 'f59ee8a7743b67fc1d4ce7481157351eaf74b21e', class: createColorClasses$1(color, {
|
|
33021
32954
|
[theme]: true,
|
|
33022
32955
|
['picker-column-active']: isActive,
|
|
33023
32956
|
['picker-column-numeric-input']: numericInput,
|
|
33024
32957
|
['picker-column-disabled']: disabled,
|
|
33025
|
-
}) }, hAsync("slot", { key: '
|
|
32958
|
+
}) }, hAsync("slot", { key: '1ff45d6f05c6f42e8ed0d453f1e40b37f438b6de', name: "prefix" }), hAsync("div", { key: '6c4fd1ef103fec93a0471d6e21baa75034869d55', class: "picker-opts", ref: (el) => {
|
|
33026
32959
|
this.scrollEl = el;
|
|
33027
|
-
}, role: "slider", tabindex: this.disabled ? undefined : 0, "aria-label": this.ariaLabel, "aria-valuemin": 0, "aria-valuemax": 0, "aria-valuenow": 0, "aria-valuetext": this.getOptionValueText(this.activeItem), "aria-orientation": "vertical", onKeyDown: (ev) => this.onKeyDown(ev) }, hAsync("div", { key: '
|
|
32960
|
+
}, role: "slider", tabindex: this.disabled ? undefined : 0, "aria-label": this.ariaLabel, "aria-valuemin": 0, "aria-valuemax": 0, "aria-valuenow": 0, "aria-valuetext": this.getOptionValueText(this.activeItem), "aria-orientation": "vertical", onKeyDown: (ev) => this.onKeyDown(ev) }, hAsync("div", { key: 'f6e9ac294387992f2d5160ec2b45ac9a721b445a', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("div", { key: '6347e7fc94fb632e8718400e7a038d729ca72815', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("div", { key: '742841d456509ca0d56cc5af3c0acd392ae0632d', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("slot", { key: '0df7a93082ba62f9fe91bef9bf4771ad1c9859bd' }), hAsync("div", { key: 'f9a9f01478e51940c1547b94400b484839f0c6c0', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("div", { key: '01363d1a5a052eb2aceb27339969e8fefaef7531', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0"), hAsync("div", { key: 'ef60f85fcc83ff6ee43555fdd5c5b27a50cf820b', class: "picker-item-empty", "aria-hidden": "true" }, "\u00A0")), hAsync("slot", { key: '1cdc5accbe0d0f33849d163f0fdcd67c5e4837ae', name: "suffix" })));
|
|
33028
32961
|
}
|
|
33029
32962
|
get el() { return getElement(this); }
|
|
33030
32963
|
static get watchers() { return {
|
|
@@ -33392,9 +33325,9 @@ class PickerColumnCmp {
|
|
|
33392
33325
|
render() {
|
|
33393
33326
|
const col = this.col;
|
|
33394
33327
|
const theme = getIonTheme(this);
|
|
33395
|
-
return (hAsync(Host, { key: '
|
|
33328
|
+
return (hAsync(Host, { key: '5b6d8dc5f07aab52638415d5645d7f1b757b0143', class: Object.assign({ [theme]: true, 'picker-col': true, 'picker-opts-left': this.col.align === 'left', 'picker-opts-right': this.col.align === 'right' }, getClassMap(col.cssClass)), style: {
|
|
33396
33329
|
'max-width': this.col.columnWidth,
|
|
33397
|
-
} }, col.prefix && (hAsync("div", { key: '
|
|
33330
|
+
} }, col.prefix && (hAsync("div", { key: '38aec7368a95d580870d6b18c5b588e6393e61c4', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), hAsync("div", { key: 'ab861124d971cad93881e04b0240afa0ee5df1ae', 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: '4c3bc8f9d46bf4c1501d0980516f698314e4f8be', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
33398
33331
|
}
|
|
33399
33332
|
get el() { return getElement(this); }
|
|
33400
33333
|
static get watchers() { return {
|
|
@@ -33519,10 +33452,10 @@ class PickerColumnOption {
|
|
|
33519
33452
|
render() {
|
|
33520
33453
|
const { color, disabled, ariaLabel } = this;
|
|
33521
33454
|
const theme = getIonTheme(this);
|
|
33522
|
-
return (hAsync(Host, { key: '
|
|
33455
|
+
return (hAsync(Host, { key: 'ca671f1d55775b5f2f92d0a0a76ee2cc6b0da684', class: createColorClasses$1(color, {
|
|
33523
33456
|
[theme]: true,
|
|
33524
33457
|
['option-disabled']: disabled,
|
|
33525
|
-
}) }, hAsync("div", { key: '
|
|
33458
|
+
}) }, hAsync("div", { key: 'dc1d02a320e46e11b4cf981f03d240282d38e953', class: 'picker-column-option-button', role: "button", "aria-label": ariaLabel, onClick: () => this.onClick() }, hAsync("slot", { key: '0d8eeeafb99d0b27f0a53e8404708ed6f5d09f5a' }))));
|
|
33526
33459
|
}
|
|
33527
33460
|
get el() { return getElement(this); }
|
|
33528
33461
|
static get watchers() { return {
|
|
@@ -35091,9 +35024,9 @@ class Popover {
|
|
|
35091
35024
|
const { onLifecycle, parentPopover, dismissOnSelect, side, arrow, htmlAttributes, focusTrap } = this;
|
|
35092
35025
|
const desktop = isPlatform('desktop');
|
|
35093
35026
|
const enableArrow = arrow && !parentPopover;
|
|
35094
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
35027
|
+
return (hAsync(Host, Object.assign({ key: '25b3729884cdc23f02cefe748d5bed47b7a5fa38', "aria-modal": "true", "no-router": true, tabindex: "-1" }, htmlAttributes, { style: {
|
|
35095
35028
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
35096
|
-
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: 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: '
|
|
35029
|
+
}, class: Object.assign(Object.assign({}, getClassMap(this.cssClass)), { [theme]: 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: '9b96606f71b1d41d737a62fcfd4756022d453405', tappable: this.backdropDismiss, visible: this.showBackdrop, part: "backdrop" }), hAsync("div", { key: 'a49a4271e58d966cb9f97ebe0b97f1749f99ba58', class: "popover-wrapper ion-overlay-wrapper", onClick: dismissOnSelect ? () => this.dismiss() : undefined }, enableArrow && hAsync("div", { key: '6386d13c525f9fd2829b13291e2b49afec26d156', class: "popover-arrow", part: "arrow" }), hAsync("div", { key: 'd45512ad6746fcdc0bf8188353943e62b77b18c9', class: "popover-content", part: "content" }, hAsync("slot", { key: '02ffde8e0aa104ab794c0b6fe748f1109c8dd6c7' })))));
|
|
35097
35030
|
}
|
|
35098
35031
|
get el() { return getElement(this); }
|
|
35099
35032
|
static get watchers() { return {
|
|
@@ -35221,7 +35154,7 @@ class ProgressBar {
|
|
|
35221
35154
|
const shape = this.getShape();
|
|
35222
35155
|
// If the progress is displayed as a solid bar.
|
|
35223
35156
|
const progressSolid = buffer === 1;
|
|
35224
|
-
return (hAsync(Host, { key: '
|
|
35157
|
+
return (hAsync(Host, { key: 'c75842982bb4251237236aaa7c937a9078695c08', role: "progressbar", "aria-valuenow": type === 'determinate' ? value : null, "aria-valuemin": "0", "aria-valuemax": "1", class: createColorClasses$1(color, {
|
|
35225
35158
|
[theme]: true,
|
|
35226
35159
|
[`progress-bar-${type}`]: true,
|
|
35227
35160
|
'progress-paused': paused,
|
|
@@ -35420,7 +35353,7 @@ class Radio {
|
|
|
35420
35353
|
const theme = getIonTheme(this);
|
|
35421
35354
|
const inItem = hostContext('ion-item', el);
|
|
35422
35355
|
const inMultipleInputsItem = hostContext('ion-item.item-multiple-inputs', el);
|
|
35423
|
-
return (hAsync(Host, { key: '
|
|
35356
|
+
return (hAsync(Host, { key: '47422f87a0d65a3e603ed8f7f0a7e02aea5a1184', onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, class: createColorClasses$1(color, {
|
|
35424
35357
|
[theme]: true,
|
|
35425
35358
|
'in-item': inItem,
|
|
35426
35359
|
'radio-checked': checked,
|
|
@@ -35433,10 +35366,10 @@ class Radio {
|
|
|
35433
35366
|
// styling stays suppressed either way.
|
|
35434
35367
|
'ion-activatable': !inItem,
|
|
35435
35368
|
'ion-focusable': !inItem || inMultipleInputsItem,
|
|
35436
|
-
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, hAsync("label", { key: '
|
|
35369
|
+
}), role: "radio", "aria-checked": checked ? 'true' : 'false', "aria-disabled": disabled ? 'true' : null, tabindex: buttonTabindex }, hAsync("label", { key: '2d52d730ffae0e44ec65d3238e74ddd445c05115', class: "radio-wrapper" }, hAsync("div", { key: 'fc8a01ea68f55d52e5d63814fc14340d40191dff', class: {
|
|
35437
35370
|
'label-text-wrapper': true,
|
|
35438
35371
|
'label-text-wrapper-hidden': !hasLabel,
|
|
35439
|
-
}, part: "label" }, hAsync("slot", { key: '
|
|
35372
|
+
}, part: "label" }, hAsync("slot", { key: '0e6633cebfe68fba23d0a963e48cfa7beceb7606' })), hAsync("div", { key: 'bac442623fd79f800f469a5b9a66932d2335f652', class: "native-wrapper" }, this.renderRadioControl()))));
|
|
35440
35373
|
}
|
|
35441
35374
|
get el() { return getElement(this); }
|
|
35442
35375
|
static get watchers() { return {
|
|
@@ -35706,10 +35639,10 @@ class RadioGroup {
|
|
|
35706
35639
|
const { label, labelId, el, name, value } = this;
|
|
35707
35640
|
const theme = getIonTheme(this);
|
|
35708
35641
|
renderHiddenInput(true, el, name, value, false);
|
|
35709
|
-
return (hAsync(Host, { key: '
|
|
35642
|
+
return (hAsync(Host, { key: 'd1e359e05c725ec694bafa71fa595ae0d9dd216a', class: {
|
|
35710
35643
|
[theme]: true,
|
|
35711
35644
|
'in-list': hostContext('ion-list', el),
|
|
35712
|
-
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, "data-roving-focus": true, onClick: this.onClick }, this.renderHintText(), hAsync("slot", { key: '
|
|
35645
|
+
}, role: "radiogroup", "aria-labelledby": label ? labelId : null, "aria-describedby": this.hintTextId, "aria-invalid": this.isInvalid ? 'true' : undefined, "data-roving-focus": true, onClick: this.onClick }, this.renderHintText(), hAsync("slot", { key: 'f1a63c2d99e8d05d6fd6e34363b000a5bf189e48' })));
|
|
35713
35646
|
}
|
|
35714
35647
|
get el() { return getElement(this); }
|
|
35715
35648
|
static get watchers() { return {
|
|
@@ -36566,7 +36499,7 @@ class Range {
|
|
|
36566
36499
|
const valueAtMin = dualKnobs ? this.valA === min || this.valB === min : this.valA === min;
|
|
36567
36500
|
const valueAtMax = dualKnobs ? this.valA === max || this.valB === max : this.valA === max;
|
|
36568
36501
|
renderHiddenInput(true, el, this.name, JSON.stringify(this.getValue()), disabled);
|
|
36569
|
-
return (hAsync(Host, { key: '
|
|
36502
|
+
return (hAsync(Host, { key: '1ccb19928863f3d692a3b0149d0f649efac6c3a5', onFocusin: this.onFocus, onFocusout: this.onBlur, id: rangeId, class: createColorClasses$1(this.color, {
|
|
36570
36503
|
[theme]: true,
|
|
36571
36504
|
'in-item': inItem,
|
|
36572
36505
|
'range-disabled': disabled,
|
|
@@ -36580,10 +36513,10 @@ class Range {
|
|
|
36580
36513
|
'range-item-end-adjustment': needsEndAdjustment,
|
|
36581
36514
|
'range-value-min': valueAtMin,
|
|
36582
36515
|
'range-value-max': valueAtMax,
|
|
36583
|
-
}) }, hAsync("label", { key: '
|
|
36516
|
+
}) }, hAsync("label", { key: '140fa8b7aed65795b8f6a40cbc647205cc5eb8c9', class: "range-wrapper", id: "range-label" }, hAsync("div", { key: '40ac33d0731a7e461dcec459f75b03cfeb7191fa', class: {
|
|
36584
36517
|
'label-text-wrapper': true,
|
|
36585
36518
|
'label-text-wrapper-hidden': !hasLabel,
|
|
36586
|
-
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '
|
|
36519
|
+
}, part: "label" }, label !== undefined ? hAsync("div", { class: "label-text" }, label) : hAsync("slot", { name: "label" })), hAsync("div", { key: '2457ab03898e30bdd07a6eadfd2b900e02d48c32', class: "native-wrapper" }, hAsync("slot", { key: 'ad67e7aa33c6e1611df7b0cb18dd73f3622db95b', name: "start" }), this.renderRangeSlider(), hAsync("slot", { key: '3923f6803f9102836e80ba68a282d799e197edd3', name: "end" })))));
|
|
36587
36520
|
}
|
|
36588
36521
|
get el() { return getElement(this); }
|
|
36589
36522
|
static get watchers() { return {
|
|
@@ -37688,7 +37621,7 @@ class Refresher {
|
|
|
37688
37621
|
}
|
|
37689
37622
|
render() {
|
|
37690
37623
|
const theme = getIonTheme(this);
|
|
37691
|
-
return (hAsync(Host, { key: '
|
|
37624
|
+
return (hAsync(Host, { key: '5e131046ccb469eddeb76ff64032bb70cbaba68d', slot: "fixed", class: {
|
|
37692
37625
|
[theme]: true,
|
|
37693
37626
|
// Used internally for styling
|
|
37694
37627
|
[`refresher-${theme}`]: true,
|
|
@@ -37734,8 +37667,6 @@ class Refresher {
|
|
|
37734
37667
|
}; }
|
|
37735
37668
|
}
|
|
37736
37669
|
|
|
37737
|
-
const caretLeftFillSvg = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiBmaWxsPSJjdXJyZW50Q29sb3IiPjxwYXRoIGQ9Ik0xNjgsNDhWMjA4YTgsOCwwLDAsMS0xMy42Niw1LjY2bC04MC04MGE4LDgsMCwwLDEsMC0xMS4zMmw4MC04MEE4LDgsMCwwLDEsMTY4LDQ4WiIvPjwvc3ZnPg==';
|
|
37738
|
-
|
|
37739
37670
|
const spinners = {
|
|
37740
37671
|
bubbles: {
|
|
37741
37672
|
dur: 1000,
|
|
@@ -37908,6 +37839,14 @@ class RefresherContent {
|
|
|
37908
37839
|
this.refreshingSpinner = config.get('refreshingSpinner', config.get('spinner', theme === 'ios' ? 'lines' : 'circular'));
|
|
37909
37840
|
}
|
|
37910
37841
|
}
|
|
37842
|
+
/**
|
|
37843
|
+
* Get the icon to use for the arrow icon.
|
|
37844
|
+
* Use the icon set in the config.
|
|
37845
|
+
* If no icon is set in the config, use the default icon.
|
|
37846
|
+
*/
|
|
37847
|
+
get refresherArrowIcon() {
|
|
37848
|
+
return config.get('refresherArrowIcon', caretBackSharp);
|
|
37849
|
+
}
|
|
37911
37850
|
renderPullingText() {
|
|
37912
37851
|
const { customHTMLEnabled, pullingText } = this;
|
|
37913
37852
|
if (customHTMLEnabled) {
|
|
@@ -37926,10 +37865,9 @@ class RefresherContent {
|
|
|
37926
37865
|
const pullingIcon = this.pullingIcon;
|
|
37927
37866
|
const hasSpinner = pullingIcon != null && SPINNERS[pullingIcon] !== undefined;
|
|
37928
37867
|
const theme = getIonTheme(this);
|
|
37929
|
-
|
|
37930
|
-
return (hAsync(Host, { key: '3d2d138e485b3b2beae47b9ea4e140f0b9647434', class: {
|
|
37868
|
+
return (hAsync(Host, { key: 'ebbda8efbc9e4aa5524c99909237c19d646a7fb7', class: {
|
|
37931
37869
|
[theme]: true,
|
|
37932
|
-
} }, hAsync("div", { key: '
|
|
37870
|
+
} }, hAsync("div", { key: '6a021cc599f6a6cd144db10bd4cde6e9848fabc0', class: "refresher-pulling" }, this.pullingIcon && hasSpinner && (hAsync("div", { key: '87dbb70b24d63ad85c25eff4bb395e6edae0992f', class: "refresher-pulling-icon" }, hAsync("div", { key: '79eb679cc7dbded104e3530d3363249fcb793277', class: "spinner-arrow-container" }, hAsync("ion-spinner", { key: '0c00749f3c3c5e3385625bf5e2d0783f4755a6c4', name: this.pullingIcon, paused: true }), (theme === 'md' || theme === 'ionic') && this.pullingIcon === 'circular' && (hAsync("div", { key: '261137c24f1503d299c0cb8e8f1e414cd932015a', class: "arrow-container" }, hAsync("ion-icon", { key: 'd7e58abb7c50c1e7aec92173d499890d7169c9ed', icon: this.refresherArrowIcon, "aria-hidden": "true" })))))), this.pullingIcon && !hasSpinner && (hAsync("div", { key: '2327fe1bc559ab3215cd6421d6d0954fdc7c5a66', class: "refresher-pulling-icon" }, hAsync("ion-icon", { key: '55db851c6a453a5744b5edfb7f74fcb31c3e187c', icon: this.pullingIcon, lazy: false, "aria-hidden": "true" }))), this.pullingText !== undefined && this.renderPullingText()), hAsync("div", { key: '3308f0bed5f8a95b1c3e896aef2d6ce114f5f8f8', class: "refresher-refreshing" }, this.refreshingSpinner && (hAsync("div", { key: 'cffb9ff9170c76ea9289b007f7728cb8906eff21', class: "refresher-refreshing-icon" }, hAsync("ion-spinner", { key: 'c96f1b252918e7e72ef062cd46abfe02788e592f', name: this.refreshingSpinner }))), this.refreshingText !== undefined && this.renderRefreshingText())));
|
|
37933
37871
|
}
|
|
37934
37872
|
get el() { return getElement(this); }
|
|
37935
37873
|
static get style() { return {
|
|
@@ -37979,28 +37917,22 @@ class Reorder {
|
|
|
37979
37917
|
}
|
|
37980
37918
|
/**
|
|
37981
37919
|
* Get the icon to use for the handle icon.
|
|
37982
|
-
*
|
|
37920
|
+
* Use the icon set in the config.
|
|
37983
37921
|
* If no icon is set in the config, use the default icon.
|
|
37984
37922
|
*/
|
|
37985
37923
|
get reorderHandleIcon() {
|
|
37986
|
-
// Determine the theme and map to default
|
|
37924
|
+
// Determine the theme and map to the default icon
|
|
37987
37925
|
const theme = getIonTheme(this);
|
|
37988
|
-
const
|
|
37989
|
-
ios: reorderThreeOutline,
|
|
37990
|
-
ionic: listSvg,
|
|
37991
|
-
md: reorderTwoSharp,
|
|
37992
|
-
};
|
|
37993
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
37994
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
37926
|
+
const defaultIcon = theme === 'ios' ? reorderThreeOutline : reorderTwoSharp;
|
|
37995
37927
|
// Return the configured reorder handle icon or the default icon
|
|
37996
37928
|
return config.get('reorderHandleIcon', defaultIcon);
|
|
37997
37929
|
}
|
|
37998
37930
|
render() {
|
|
37999
37931
|
const { reorderHandleIcon } = this;
|
|
38000
37932
|
const theme = getIonTheme(this);
|
|
38001
|
-
return (hAsync(Host, { key: '
|
|
37933
|
+
return (hAsync(Host, { key: '39735fa6f82677712606ddea0a5c5b120c448971', class: {
|
|
38002
37934
|
[theme]: true,
|
|
38003
|
-
} }, hAsync("slot", { key: '
|
|
37935
|
+
} }, hAsync("slot", { key: '74386ffc2e03773891344cc391656d47e1d4ea05' }, hAsync("ion-icon", { key: '4e0b629cbeb9b6374547e67ecfe75177e0fcfaba', icon: reorderHandleIcon, lazy: false, class: "reorder-icon", part: "icon", "aria-hidden": "true" }))));
|
|
38004
37936
|
}
|
|
38005
37937
|
get el() { return getElement(this); }
|
|
38006
37938
|
static get style() { return {
|
|
@@ -38276,7 +38208,7 @@ class ReorderGroup {
|
|
|
38276
38208
|
}
|
|
38277
38209
|
render() {
|
|
38278
38210
|
const theme = getIonTheme(this);
|
|
38279
|
-
return (hAsync(Host, { key: '
|
|
38211
|
+
return (hAsync(Host, { key: 'a8ccffc0c43e57ceee4da7715a0ebb27ab6cff7e', class: {
|
|
38280
38212
|
[theme]: true,
|
|
38281
38213
|
'reorder-enabled': !this.disabled,
|
|
38282
38214
|
'reorder-list-active': this.state !== 0 /* ReorderGroupState.Idle */,
|
|
@@ -38402,7 +38334,7 @@ class RippleEffect {
|
|
|
38402
38334
|
}
|
|
38403
38335
|
render() {
|
|
38404
38336
|
const theme = getIonTheme(this);
|
|
38405
|
-
return (hAsync(Host, { key: '
|
|
38337
|
+
return (hAsync(Host, { key: '4c2a62db69e38712857f896dcc786081dcf5fa69', role: "presentation", class: {
|
|
38406
38338
|
[theme]: true,
|
|
38407
38339
|
unbounded: this.unbounded,
|
|
38408
38340
|
} }));
|
|
@@ -39552,10 +39484,10 @@ class RouterLink {
|
|
|
39552
39484
|
rel: this.rel,
|
|
39553
39485
|
target: this.target,
|
|
39554
39486
|
};
|
|
39555
|
-
return (hAsync(Host, { key: '
|
|
39487
|
+
return (hAsync(Host, { key: 'f2705887002b0483ec237a211a5b167b79791334', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
39556
39488
|
[theme]: true,
|
|
39557
39489
|
'ion-activatable': true,
|
|
39558
|
-
}) }, hAsync("a", Object.assign({ key: '
|
|
39490
|
+
}) }, hAsync("a", Object.assign({ key: 'a08726ba3bcbc96531791d9cef48e7f29bcb26c8' }, attrs), hAsync("slot", { key: '58b8c8151ee0b16cad43f1f2930c39bac1ab2396' }))));
|
|
39559
39491
|
}
|
|
39560
39492
|
static get style() { return routerLinkCss(); }
|
|
39561
39493
|
static get cmpMeta() { return {
|
|
@@ -39755,7 +39687,7 @@ class RouterOutlet {
|
|
|
39755
39687
|
return true;
|
|
39756
39688
|
}
|
|
39757
39689
|
render() {
|
|
39758
|
-
return hAsync("slot", { key: '
|
|
39690
|
+
return hAsync("slot", { key: 'ad5a4dfb30e9b6942131580c6f1b09cf562a1d8e' });
|
|
39759
39691
|
}
|
|
39760
39692
|
get el() { return getElement(this); }
|
|
39761
39693
|
static get watchers() { return {
|
|
@@ -39795,9 +39727,9 @@ class Row {
|
|
|
39795
39727
|
}
|
|
39796
39728
|
render() {
|
|
39797
39729
|
const theme = getIonTheme(this);
|
|
39798
|
-
return (hAsync(Host, { key: '
|
|
39730
|
+
return (hAsync(Host, { key: '5b29da33f0c81c893d28dcd7a5709f990955f184', class: {
|
|
39799
39731
|
[theme]: true,
|
|
39800
|
-
} }, hAsync("slot", { key: '
|
|
39732
|
+
} }, hAsync("slot", { key: 'ca96c5069a1c7f757c68730717083db2e1348dd4' })));
|
|
39801
39733
|
}
|
|
39802
39734
|
static get style() { return rowCss(); }
|
|
39803
39735
|
static get cmpMeta() { return {
|
|
@@ -39810,10 +39742,6 @@ class Row {
|
|
|
39810
39742
|
}; }
|
|
39811
39743
|
}
|
|
39812
39744
|
|
|
39813
|
-
const arrowLeftSvg = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiBmaWxsPSJjdXJyZW50Q29sb3IiPjxwYXRoIGQ9Ik0yMjQsMTI4YTgsOCwwLDAsMS04LDhINTkuMzFsNTguMzUsNTguMzRhOCw4LDAsMCwxLTExLjMyLDExLjMybC03Mi03MmE4LDgsMCwwLDEsMC0xMS4zMmw3Mi03MmE4LDgsMCwwLDEsMTEuMzIsMTEuMzJMNTkuMzEsMTIwSDIxNkE4LDgsMCwwLDEsMjI0LDEyOFoiLz48L3N2Zz4=';
|
|
39814
|
-
|
|
39815
|
-
const magnifyingGlassSvg = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiBmaWxsPSJjdXJyZW50Q29sb3IiPjxwYXRoIGQ9Ik0yMjkuNjYsMjE4LjM0bC01MC4wNy01MC4wNmE4OC4xMSw4OC4xMSwwLDEsMC0xMS4zMSwxMS4zMWw1MC4wNiw1MC4wN2E4LDgsMCwwLDAsMTEuMzItMTEuMzJaTTQwLDExMmE3Miw3MiwwLDEsMSw3Miw3MkE3Mi4wOCw3Mi4wOCwwLDAsMSw0MCwxMTJaIi8+PC9zdmc+';
|
|
39816
|
-
|
|
39817
39745
|
const searchbarIonicCss = () => `.sc-ion-searchbar-ionic-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:var(--ion-placeholder-opacity, 1);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box}.searchbar-search-icon.sc-ion-searchbar-ionic{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-ionic{display:block;position:relative;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-ionic{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space:inherit;border-radius:var(--border-radius);display:block;width:100%;min-height:inherit;border:0;outline:none;background:var(--background);font-family:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-input.sc-ion-searchbar-ionic::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ionic::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ionic:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ionic::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ionic::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ionic::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-ionic::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-ionic{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-ionic>div.sc-ion-searchbar-ionic{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-ionic{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-clear-button.sc-ion-searchbar-ionic:focus{opacity:0.5}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ionic-h .searchbar-clear-button.sc-ion-searchbar-ionic{display:block}.sc-ion-searchbar-ionic-h{--background:var(--token-bg-neutral-subtle-default, var(--token-primitives-neutral-200, #eae9e9));--border-radius:var(--token-border-radius-400, var(--token-scale-400, 16px));--box-shadow:none;--cancel-button-color:var(--token-primitives-neutral-800, #626262);--clear-button-color:var(--token-primitives-neutral-1000, #3b3b3b);--color:var(--token-text-default, var(--token-primitives-neutral-1200, #242424));--icon-color:var(--token-icon-subtlest, var(--token-primitives-neutral-800, #626262));--placeholder-color:var(--token-text-subtlest, var(--token-primitives-neutral-800, #626262));--focus-ring-color:var(--token-border-focus-default, var(--token-primitives-blue-400, #b5c0f7));--focus-ring-width:var(--token-border-size-050, var(--token-scale-050, 2px));font-size:var(--token-font-size-350, 0.875rem);font-weight:var(--token-font-weight-regular, 400);letter-spacing:var(--token-font-letter-spacing-0, 0%);line-height:var(--token-font-line-height-600, var(--token-scale-600, 24px));text-decoration:none;text-transform:none;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}.searchbar-search-icon.sc-ion-searchbar-ionic{font-size:var(--token-font-size-400, 1rem)}.searchbar-input.sc-ion-searchbar-ionic{padding-top:var(--token-space-300, var(--token-scale-300, 12px));padding-bottom:var(--token-space-300, var(--token-scale-300, 12px));text-overflow:ellipsis;contain:strict}.searchbar-clear-button.sc-ion-searchbar-ionic{width:var(--token-scale-400, 16px);height:var(--token-scale-400, 16px);background-color:transparent;font-size:var(--token-font-size-400, 1rem);contain:strict}.searchbar-cancel-button.sc-ion-searchbar-ionic{width:var(--token-scale-400, 16px);height:var(--token-scale-400, 16px);background-color:transparent;font-size:var(--token-font-size-400, 1rem)}.searchbar-search-icon.sc-ion-searchbar-ionic,.searchbar-clear-button.sc-ion-searchbar-ionic,.searchbar-cancel-button.sc-ion-searchbar-ionic{top:50%;position:absolute;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.searchbar-clear-button.sc-ion-searchbar-ionic:focus-visible,.searchbar-cancel-button.sc-ion-searchbar-ionic:focus-visible ion-icon.sc-ion-searchbar-ionic{border-radius:var(--token-border-radius-100, var(--token-scale-100, 4px));outline:var(--token-border-size-050, var(--token-scale-050, 2px)) var(--token-border-style-solid, solid) var(--token-border-focus-default, var(--token-primitives-blue-400, #b5c0f7));opacity:1}.searchbar-has-value.sc-ion-searchbar-ionic-h{--icon-color:var(--token-icon-default, var(--token-primitives-neutral-1200, #242424))}.in-toolbar.searchbar-should-show-cancel.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic{inset-inline-start:var(--token-space-200, var(--token-scale-200, 8px))}.sc-ion-searchbar-ionic-h:hover{--background:var(--token-primitives-neutral-200, #eae9e9)}.searchbar-has-focus.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic{outline:var(--focus-ring-width) var(--token-border-style-solid, solid) var(--focus-ring-color)}.searchbar-has-focus.sc-ion-searchbar-ionic-h .searchbar-search-icon.sc-ion-searchbar-ionic,.searchbar-has-focus.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic,.searchbar-should-show-cancel.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic{display:block}.searchbar-has-focus.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic+.searchbar-search-icon.sc-ion-searchbar-ionic,.searchbar-should-show-cancel.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic+.searchbar-search-icon.sc-ion-searchbar-ionic{display:none}.searchbar-disabled.sc-ion-searchbar-ionic-h{--color:var(--token-primitives-neutral-500, #a2a2a2);--icon-color:var(--token-icon-disabled, var(--token-primitives-neutral-500, #a2a2a2));--placeholder-color:var(--token-text-disabled, var(--token-primitives-neutral-500, #a2a2a2));cursor:default;pointer-events:none}.searchbar-shape-soft.sc-ion-searchbar-ionic-h{--border-radius:var(--token-border-radius-200, var(--token-scale-200, 8px))}.searchbar-shape-round.sc-ion-searchbar-ionic-h{--border-radius:var(--token-border-radius-400, var(--token-scale-400, 16px))}.searchbar-shape-rectangular.sc-ion-searchbar-ionic-h{--border-radius:var(--token-border-radius-0, var(--token-scale-0, 0px))}.searchbar-size-small.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic{-webkit-padding-start:var(--token-space-300, var(--token-scale-300, 12px));padding-inline-start:var(--token-space-300, var(--token-scale-300, 12px));-webkit-padding-end:var(--token-space-300, var(--token-scale-300, 12px));padding-inline-end:var(--token-space-300, var(--token-scale-300, 12px));height:var(--token-scale-1000, 40px)}.searchbar-size-small.searchbar-should-show-search-icon.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic,.searchbar-size-small.searchbar-should-show-cancel.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic{-webkit-padding-start:calc(var(--token-space-300, var(--token-scale-300, 12px)) + var(--token-scale-400, 16px) + var(--token-space-200, var(--token-scale-200, 8px)));padding-inline-start:calc(var(--token-space-300, var(--token-scale-300, 12px)) + var(--token-scale-400, 16px) + var(--token-space-200, var(--token-scale-200, 8px)));-webkit-padding-end:var(--token-space-300, var(--token-scale-300, 12px));padding-inline-end:var(--token-space-300, var(--token-scale-300, 12px))}.searchbar-size-small.searchbar-should-show-search-icon.searchbar-should-show-clear.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic,.searchbar-size-small.searchbar-should-show-cancel.searchbar-should-show-clear.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic{-webkit-padding-start:calc(var(--token-space-300, var(--token-scale-300, 12px)) + var(--token-scale-400, 16px) + var(--token-space-200, var(--token-scale-200, 8px)));padding-inline-start:calc(var(--token-space-300, var(--token-scale-300, 12px)) + var(--token-scale-400, 16px) + var(--token-space-200, var(--token-scale-200, 8px)));-webkit-padding-end:calc(var(--token-space-300, var(--token-scale-300, 12px)) + var(--token-scale-400, 16px) + var(--token-space-200, var(--token-scale-200, 8px)));padding-inline-end:calc(var(--token-space-300, var(--token-scale-300, 12px)) + var(--token-scale-400, 16px) + var(--token-space-200, var(--token-scale-200, 8px)))}.searchbar-size-small.searchbar-should-show-clear.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic{-webkit-padding-start:var(--token-space-300, var(--token-scale-300, 12px));padding-inline-start:var(--token-space-300, var(--token-scale-300, 12px));-webkit-padding-end:calc(var(--token-space-300, var(--token-scale-300, 12px)) + var(--token-scale-400, 16px) + var(--token-space-200, var(--token-scale-200, 8px)));padding-inline-end:calc(var(--token-space-300, var(--token-scale-300, 12px)) + var(--token-scale-400, 16px) + var(--token-space-200, var(--token-scale-200, 8px)))}.searchbar-size-small.sc-ion-searchbar-ionic-h .searchbar-search-icon.sc-ion-searchbar-ionic,.searchbar-size-small.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic{inset-inline-start:var(--token-space-300, var(--token-scale-300, 12px))}.searchbar-size-small.sc-ion-searchbar-ionic-h .searchbar-clear-button.sc-ion-searchbar-ionic{inset-inline-end:var(--token-space-300, var(--token-scale-300, 12px))}.searchbar-size-medium.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic{-webkit-padding-start:var(--token-space-400, var(--token-scale-400, 16px));padding-inline-start:var(--token-space-400, var(--token-scale-400, 16px));-webkit-padding-end:var(--token-space-400, var(--token-scale-400, 16px));padding-inline-end:var(--token-space-400, var(--token-scale-400, 16px));height:var(--token-scale-1200, 48px)}.searchbar-size-medium.searchbar-should-show-search-icon.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic,.searchbar-size-medium.searchbar-should-show-cancel.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic{-webkit-padding-start:calc(var(--token-space-400, var(--token-scale-400, 16px)) + var(--token-scale-400, 16px) + var(--token-space-200, var(--token-scale-200, 8px)));padding-inline-start:calc(var(--token-space-400, var(--token-scale-400, 16px)) + var(--token-scale-400, 16px) + var(--token-space-200, var(--token-scale-200, 8px)));-webkit-padding-end:var(--token-space-400, var(--token-scale-400, 16px));padding-inline-end:var(--token-space-400, var(--token-scale-400, 16px))}.searchbar-size-medium.searchbar-should-show-search-icon.searchbar-should-show-clear.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic,.searchbar-size-medium.searchbar-should-show-cancel.searchbar-should-show-clear.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic{-webkit-padding-start:calc(var(--token-space-400, var(--token-scale-400, 16px)) + var(--token-scale-400, 16px) + var(--token-space-200, var(--token-scale-200, 8px)));padding-inline-start:calc(var(--token-space-400, var(--token-scale-400, 16px)) + var(--token-scale-400, 16px) + var(--token-space-200, var(--token-scale-200, 8px)));-webkit-padding-end:calc(var(--token-space-400, var(--token-scale-400, 16px)) + var(--token-scale-400, 16px) + var(--token-space-200, var(--token-scale-200, 8px)));padding-inline-end:calc(var(--token-space-400, var(--token-scale-400, 16px)) + var(--token-scale-400, 16px) + var(--token-space-200, var(--token-scale-200, 8px)))}.searchbar-size-medium.searchbar-should-show-clear.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic{-webkit-padding-start:var(--token-space-400, var(--token-scale-400, 16px));padding-inline-start:var(--token-space-400, var(--token-scale-400, 16px));-webkit-padding-end:calc(var(--token-space-400, var(--token-scale-400, 16px)) + var(--token-scale-400, 16px) + var(--token-space-200, var(--token-scale-200, 8px)));padding-inline-end:calc(var(--token-space-400, var(--token-scale-400, 16px)) + var(--token-scale-400, 16px) + var(--token-space-200, var(--token-scale-200, 8px)))}.searchbar-size-medium.sc-ion-searchbar-ionic-h .searchbar-search-icon.sc-ion-searchbar-ionic,.searchbar-size-medium.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic{inset-inline-start:var(--token-space-400, var(--token-scale-400, 16px))}.searchbar-size-medium.sc-ion-searchbar-ionic-h .searchbar-clear-button.sc-ion-searchbar-ionic{inset-inline-end:var(--token-space-400, var(--token-scale-400, 16px))}.in-toolbar.searchbar-size-small.searchbar-should-show-cancel.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic,.in-toolbar.searchbar-size-medium.searchbar-should-show-cancel.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic{-webkit-padding-start:var(--token-space-800, var(--token-scale-800, 32px));padding-inline-start:var(--token-space-800, var(--token-scale-800, 32px))}.searchbar-size-large.sc-ion-searchbar-ionic-h .searchbar-search-icon.sc-ion-searchbar-ionic,.searchbar-size-large.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic{width:var(--token-scale-500, 20px);height:var(--token-scale-500, 20px);font-size:var(--token-font-size-500, 1.25rem)}.searchbar-size-large.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic{padding-top:var(--token-space-400, var(--token-scale-400, 16px));padding-bottom:var(--token-space-400, var(--token-scale-400, 16px));-webkit-padding-start:var(--token-space-500, var(--token-scale-500, 20px));padding-inline-start:var(--token-space-500, var(--token-scale-500, 20px));-webkit-padding-end:var(--token-space-500, var(--token-scale-500, 20px));padding-inline-end:var(--token-space-500, var(--token-scale-500, 20px));height:var(--token-scale-1400, 56px)}.searchbar-size-large.searchbar-should-show-search-icon.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic,.searchbar-size-large.searchbar-should-show-cancel.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic{-webkit-padding-start:calc(var(--token-space-500, var(--token-scale-500, 20px)) + var(--token-scale-500, 20px) + var(--token-space-200, var(--token-scale-200, 8px)));padding-inline-start:calc(var(--token-space-500, var(--token-scale-500, 20px)) + var(--token-scale-500, 20px) + var(--token-space-200, var(--token-scale-200, 8px)));-webkit-padding-end:var(--token-space-500, var(--token-scale-500, 20px));padding-inline-end:var(--token-space-500, var(--token-scale-500, 20px))}.searchbar-size-large.searchbar-should-show-search-icon.searchbar-should-show-clear.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic,.searchbar-size-large.searchbar-should-show-cancel.searchbar-should-show-clear.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic{-webkit-padding-start:calc(var(--token-space-500, var(--token-scale-500, 20px)) + var(--token-scale-500, 20px) + var(--token-space-200, var(--token-scale-200, 8px)));padding-inline-start:calc(var(--token-space-500, var(--token-scale-500, 20px)) + var(--token-scale-500, 20px) + var(--token-space-200, var(--token-scale-200, 8px)));-webkit-padding-end:calc(var(--token-space-500, var(--token-scale-500, 20px)) + var(--token-scale-400, 16px) + var(--token-space-200, var(--token-scale-200, 8px)));padding-inline-end:calc(var(--token-space-500, var(--token-scale-500, 20px)) + var(--token-scale-400, 16px) + var(--token-space-200, var(--token-scale-200, 8px)))}.searchbar-size-large.searchbar-should-show-clear.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic{-webkit-padding-start:var(--token-space-500, var(--token-scale-500, 20px));padding-inline-start:var(--token-space-500, var(--token-scale-500, 20px));-webkit-padding-end:calc(var(--token-space-500, var(--token-scale-500, 20px)) + var(--token-scale-400, 16px) + var(--token-space-200, var(--token-scale-200, 8px)));padding-inline-end:calc(var(--token-space-500, var(--token-scale-500, 20px)) + var(--token-scale-400, 16px) + var(--token-space-200, var(--token-scale-200, 8px)))}.in-toolbar.searchbar-size-large.searchbar-should-show-cancel.sc-ion-searchbar-ionic-h .searchbar-input.sc-ion-searchbar-ionic{-webkit-padding-start:var(--token-space-900, var(--token-scale-900, 36px));padding-inline-start:var(--token-space-900, var(--token-scale-900, 36px))}.searchbar-size-large.sc-ion-searchbar-ionic-h .searchbar-search-icon.sc-ion-searchbar-ionic,.searchbar-size-large.sc-ion-searchbar-ionic-h .searchbar-cancel-button.sc-ion-searchbar-ionic{inset-inline-start:var(--token-space-500, var(--token-scale-500, 20px))}.searchbar-size-large.sc-ion-searchbar-ionic-h .searchbar-clear-button.sc-ion-searchbar-ionic{inset-inline-end:var(--token-space-500, var(--token-scale-500, 20px))}`;
|
|
39818
39746
|
|
|
39819
39747
|
const searchbarIosCss = () => `.sc-ion-searchbar-ios-h{--placeholder-color:initial;--placeholder-font-style:initial;--placeholder-font-weight:initial;--placeholder-opacity:var(--ion-placeholder-opacity, 1);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;color:var(--color);-webkit-box-sizing:border-box;box-sizing:border-box}.searchbar-search-icon.sc-ion-searchbar-ios{color:var(--icon-color);pointer-events:none}.searchbar-input-container.sc-ion-searchbar-ios{display:block;position:relative;-ms-flex-negative:1;flex-shrink:1;width:100%}.searchbar-input.sc-ion-searchbar-ios{color:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-align:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;white-space:inherit;border-radius:var(--border-radius);display:block;width:100%;min-height:inherit;border:0;outline:none;background:var(--background);font-family:inherit;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-input.sc-ion-searchbar-ios::-webkit-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-moz-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios:-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-ms-input-placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::placeholder{color:var(--placeholder-color);font-family:inherit;font-style:var(--placeholder-font-style);font-weight:var(--placeholder-font-weight);opacity:var(--placeholder-opacity)}.searchbar-input.sc-ion-searchbar-ios::-webkit-search-cancel-button,.searchbar-input.sc-ion-searchbar-ios::-ms-clear{display:none}.searchbar-cancel-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;display:none;height:100%;border:0;outline:none;color:var(--cancel-button-color);cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-cancel-button.sc-ion-searchbar-ios>div.sc-ion-searchbar-ios{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%}.searchbar-clear-button.sc-ion-searchbar-ios{margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;display:none;min-height:0;outline:none;color:var(--clear-button-color);-webkit-appearance:none;-moz-appearance:none;appearance:none}.searchbar-clear-button.sc-ion-searchbar-ios:focus{opacity:0.5}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios{display:block}.sc-ion-searchbar-ios-h{--placeholder-opacity:var(--ion-placeholder-opacity, 0.6);font-family:var(--ion-font-family, inherit)}.ion-color.sc-ion-searchbar-ios-h{color:var(--ion-color-contrast)}.ion-color.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{background:var(--ion-color-base)}.ion-color.sc-ion-searchbar-ios-h .searchbar-clear-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:inherit}.searchbar-disabled.sc-ion-searchbar-ios-h{cursor:default;opacity:0.4;pointer-events:none}.sc-ion-searchbar-ios-h{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.07);--border-radius:10px;--box-shadow:none;--cancel-button-color:var(--ion-color-primary, #0054e9);--clear-button-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));--color:var(--ion-text-color, #000);--icon-color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666));-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:12px;padding-bottom:12px;min-height:60px;contain:content}.searchbar-input-container.sc-ion-searchbar-ios{min-height:36px}.searchbar-search-icon.sc-ion-searchbar-ios{-webkit-margin-start:calc(50% - 60px);margin-inline-start:calc(50% - 60px);top:0;position:absolute;width:1.375rem;height:100%;contain:strict}.searchbar-search-icon.sc-ion-searchbar-ios{inset-inline-start:5px}.searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:0px;padding-inline-start:0px;-webkit-padding-end:0px;padding-inline-end:0px;padding-top:6px;padding-bottom:6px;height:100%;font-size:1.0625rem;font-weight:400;contain:strict}.searchbar-has-value.searchbar-should-show-clear.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:1.75rem;padding-inline-start:1.75rem;-webkit-padding-end:1.75rem;padding-inline-end:1.75rem}.searchbar-clear-button.sc-ion-searchbar-ios{top:0;background-position:center;position:absolute;width:1.875rem;height:100%;border:0;background-color:transparent}.searchbar-clear-button.sc-ion-searchbar-ios{inset-inline-end:0}.searchbar-clear-icon.sc-ion-searchbar-ios{width:1.125rem;height:100%}.searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:0;padding-inline-end:0;padding-top:0;padding-bottom:0;-ms-flex-negative:0;flex-shrink:0;background-color:transparent;font-size:17px}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{-webkit-margin-start:0;margin-inline-start:0}.searchbar-left-aligned.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-padding-start:1.875rem;padding-inline-start:1.875rem}.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{display:block}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios{-webkit-transition:all 300ms ease;transition:all 300ms ease}.searchbar-animated.searchbar-has-focus.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios,.searchbar-animated.searchbar-should-show-cancel.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{opacity:1;pointer-events:auto}.searchbar-animated.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-margin-end:-100%;margin-inline-end:-100%;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:all 300ms ease;transition:all 300ms ease;opacity:0;pointer-events:none}.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-input.sc-ion-searchbar-ios,.searchbar-no-animate.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{-webkit-transition-duration:0ms;transition-duration:0ms}.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios{color:var(--ion-color-base)}@media (any-hover: hover){.ion-color.sc-ion-searchbar-ios-h .searchbar-cancel-button.sc-ion-searchbar-ios:hover{color:var(--ion-color-tint)}}ion-toolbar.sc-ion-searchbar-ios-h,ion-toolbar .sc-ion-searchbar-ios-h{padding-top:1px;padding-bottom:15px;min-height:52px}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color),ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color){color:inherit}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-cancel-button.sc-ion-searchbar-ios{color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h .searchbar-search-icon.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-input.sc-ion-searchbar-ios{background:rgba(var(--ion-color-contrast-rgb), 0.07);color:currentColor}ion-toolbar.ion-color.sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios,ion-toolbar.ion-color .sc-ion-searchbar-ios-h:not(.ion-color) .searchbar-clear-button.sc-ion-searchbar-ios{color:currentColor;opacity:0.5}`;
|
|
@@ -40318,15 +40246,9 @@ class Searchbar {
|
|
|
40318
40246
|
if (this.clearIcon != null) {
|
|
40319
40247
|
return this.clearIcon;
|
|
40320
40248
|
}
|
|
40321
|
-
// Determine the theme and map to default
|
|
40249
|
+
// Determine the theme and map to the default icon
|
|
40322
40250
|
const theme = getIonTheme(this);
|
|
40323
|
-
const
|
|
40324
|
-
ios: closeCircle,
|
|
40325
|
-
ionic: xSvg,
|
|
40326
|
-
md: closeSharp,
|
|
40327
|
-
};
|
|
40328
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
40329
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
40251
|
+
const defaultIcon = theme === 'ios' ? closeCircle : closeSharp;
|
|
40330
40252
|
// Return the configured searchbar clear icon or the default icon
|
|
40331
40253
|
return config.get('searchbarClearIcon', defaultIcon);
|
|
40332
40254
|
}
|
|
@@ -40342,15 +40264,9 @@ class Searchbar {
|
|
|
40342
40264
|
if (this.searchIcon != null && this.searchIcon !== 'true' && typeof this.searchIcon !== 'boolean') {
|
|
40343
40265
|
return this.searchIcon;
|
|
40344
40266
|
}
|
|
40345
|
-
// Determine the theme and map to default
|
|
40267
|
+
// Determine the theme and map to the default icon
|
|
40346
40268
|
const theme = getIonTheme(this);
|
|
40347
|
-
const
|
|
40348
|
-
ios: searchOutline,
|
|
40349
|
-
ionic: magnifyingGlassSvg,
|
|
40350
|
-
md: searchSharp,
|
|
40351
|
-
};
|
|
40352
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
40353
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
40269
|
+
const defaultIcon = theme === 'ios' ? searchOutline : searchSharp;
|
|
40354
40270
|
// Return the configured searchbar search icon or the default icon
|
|
40355
40271
|
return config.get('searchbarSearchIcon', defaultIcon);
|
|
40356
40272
|
}
|
|
@@ -40365,17 +40281,8 @@ class Searchbar {
|
|
|
40365
40281
|
if (this.cancelButtonIcon != null) {
|
|
40366
40282
|
return this.cancelButtonIcon;
|
|
40367
40283
|
}
|
|
40368
|
-
// Determine the theme and map to default icons
|
|
40369
|
-
const theme = getIonTheme(this);
|
|
40370
|
-
const defaultIcons = {
|
|
40371
|
-
ios: arrowBackSharp,
|
|
40372
|
-
ionic: arrowLeftSvg,
|
|
40373
|
-
md: arrowBackSharp,
|
|
40374
|
-
};
|
|
40375
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
40376
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
40377
40284
|
// Return the configured searchbar cancel icon, the back button icon or the default icon
|
|
40378
|
-
return config.get('searchbarCancelIcon', config.get('backButtonIcon',
|
|
40285
|
+
return config.get('searchbarCancelIcon', config.get('backButtonIcon', arrowBackSharp));
|
|
40379
40286
|
}
|
|
40380
40287
|
render() {
|
|
40381
40288
|
const { cancelButtonText, autocapitalize, searchbarCancelIcon, searchbarClearIcon, searchbarSearchIcon } = this;
|
|
@@ -40384,8 +40291,8 @@ class Searchbar {
|
|
|
40384
40291
|
const shouldShowCancelButton = this.shouldShowCancelButton();
|
|
40385
40292
|
const shape = this.getShape();
|
|
40386
40293
|
const size = this.getSize();
|
|
40387
|
-
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '
|
|
40388
|
-
return (hAsync(Host, { key: '
|
|
40294
|
+
const cancelButton = this.showCancelButton !== 'never' && (hAsync("button", { key: '0096e98ef31b167640a8168ffac68c70826c91b6', "aria-label": cancelButtonText, "aria-hidden": shouldShowCancelButton ? undefined : 'true', type: "button", tabIndex: theme === 'ios' && !shouldShowCancelButton ? -1 : undefined, onMouseDown: this.onCancelSearchbar, onTouchStart: this.onCancelSearchbar, class: "searchbar-cancel-button" }, hAsync("div", { key: 'cf7c7c798dfaced7256db4b0143bf9f277c1c556', "aria-hidden": "true" }, theme === 'md' || theme === 'ionic' ? (hAsync("ion-icon", { "aria-hidden": "true", icon: searchbarCancelIcon, lazy: false })) : (cancelButtonText))));
|
|
40295
|
+
return (hAsync(Host, { key: 'e0ccf5cb212922eca551d6e264c5e388ed1b8491', role: "search", "aria-disabled": this.disabled ? 'true' : null, class: createColorClasses$1(this.color, {
|
|
40389
40296
|
[theme]: true,
|
|
40390
40297
|
'searchbar-animated': animated,
|
|
40391
40298
|
'searchbar-disabled': this.disabled,
|
|
@@ -40399,7 +40306,7 @@ class Searchbar {
|
|
|
40399
40306
|
[`searchbar-shape-${shape}`]: shape !== undefined,
|
|
40400
40307
|
[`searchbar-size-${size}`]: size !== undefined,
|
|
40401
40308
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
40402
|
-
}) }, hAsync("div", { key: '
|
|
40309
|
+
}) }, hAsync("div", { key: '523e4b3e95eabc18ea89fe53d89e9de3fb4d4136', class: "searchbar-input-container" }, hAsync("input", Object.assign({ key: '4a725ef40344a1f3b39a79a29792e74fd071160c', "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)), (theme === 'md' || theme === 'ionic') && cancelButton, this.shouldShowSearchIcon() && (hAsync("ion-icon", { key: '98279385e1beefdfe509d567fa8fd000a06cedc3', "aria-hidden": "true", icon: searchbarSearchIcon, lazy: false, class: "searchbar-search-icon" })), this.shouldShowClearButton() && (hAsync("button", { key: 'd8253933563466f0d99cbb30100169e5e196d4d1', "aria-label": "reset", type: "button", "no-blur": true, class: "searchbar-clear-button", onPointerDown: this.clearButtonPressController.onPointerDown, onPointerCancel: this.clearButtonPressController.release, onClick: () => this.onClearInput(true) }, hAsync("ion-icon", { key: 'c8aafd99ecdd1655094cc09e8774706e8830ea2f', "aria-hidden": "true", icon: searchbarClearIcon, lazy: false, class: "searchbar-clear-icon" })))), theme === 'ios' && cancelButton));
|
|
40403
40310
|
}
|
|
40404
40311
|
get el() { return getElement(this); }
|
|
40405
40312
|
static get watchers() { return {
|
|
@@ -41015,14 +40922,14 @@ class Segment {
|
|
|
41015
40922
|
}
|
|
41016
40923
|
render() {
|
|
41017
40924
|
const theme = getIonTheme(this);
|
|
41018
|
-
return (hAsync(Host, { key: '
|
|
40925
|
+
return (hAsync(Host, { key: '7ae948ff723fb57e50debf40948d0edc1f5e9d76', role: "tablist", onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
41019
40926
|
[theme]: true,
|
|
41020
40927
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
41021
40928
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
41022
40929
|
'segment-activated': this.activated,
|
|
41023
40930
|
'segment-disabled': this.disabled,
|
|
41024
40931
|
'segment-scrollable': this.scrollable,
|
|
41025
|
-
}) }, hAsync("slot", { key: '
|
|
40932
|
+
}) }, hAsync("slot", { key: '55983a51e2a1c9f62b995252548a97403117a2f5', onSlotchange: this.onSlottedItemsChange })));
|
|
41026
40933
|
}
|
|
41027
40934
|
get el() { return getElement(this); }
|
|
41028
40935
|
static get watchers() { return {
|
|
@@ -41174,7 +41081,7 @@ class SegmentButton {
|
|
|
41174
41081
|
const { checked, type, disabled, hasIcon, hasLabel, layout, segmentEl } = this;
|
|
41175
41082
|
const theme = getIonTheme(this);
|
|
41176
41083
|
const hasSegmentColor = () => (segmentEl === null || segmentEl === void 0 ? void 0 : segmentEl.color) !== undefined;
|
|
41177
|
-
return (hAsync(Host, { key: '
|
|
41084
|
+
return (hAsync(Host, { key: '0a564101d83274d08686d19b1eaca6c3e9a99368', class: {
|
|
41178
41085
|
[theme]: true,
|
|
41179
41086
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
41180
41087
|
'in-toolbar-color': hostContext('ion-toolbar[color]', this.el),
|
|
@@ -41190,7 +41097,7 @@ class SegmentButton {
|
|
|
41190
41097
|
'ion-activatable': true,
|
|
41191
41098
|
'ion-activatable-instant': true,
|
|
41192
41099
|
'ion-focusable': true,
|
|
41193
|
-
} }, hAsync("button", Object.assign({ key: '
|
|
41100
|
+
} }, hAsync("button", Object.assign({ key: '2a6c05a667bb8128e93b25b003e34f18168859b7', "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: 'f93336993c28dbbf36d2ff01f9e345f02a0b52ac', class: "button-inner" }, hAsync("slot", { key: '2e95f534c396a21024a295a7552b463dfdb6699d' })), theme === 'md' && hAsync("ion-ripple-effect", { key: '85f8aa148ea43d2949bff1b85e1a81f9ce468ada' })), hAsync("div", { key: '6024828b92a5baa3d9c4f69277ccff07e8a9959a', part: "indicator", class: "segment-button-indicator segment-button-indicator-animated" }, hAsync("div", { key: 'a048be6255e4a4b85c904f094e2c988800b9cb02', part: "indicator-background", class: "segment-button-indicator-background" }))));
|
|
41194
41101
|
}
|
|
41195
41102
|
get el() { return getElement(this); }
|
|
41196
41103
|
static get watchers() { return {
|
|
@@ -41228,7 +41135,7 @@ class SegmentContent {
|
|
|
41228
41135
|
registerInstance(this, hostRef);
|
|
41229
41136
|
}
|
|
41230
41137
|
render() {
|
|
41231
|
-
return (hAsync(Host, { key: '
|
|
41138
|
+
return (hAsync(Host, { key: 'f5673115c4aac5f83689db7956b323ffc653bb04' }, hAsync("slot", { key: '69b498d09af1ea3a1aef5a7337cc1fa1b1371dfb' })));
|
|
41232
41139
|
}
|
|
41233
41140
|
static get style() { return segmentContentCss(); }
|
|
41234
41141
|
static get cmpMeta() { return {
|
|
@@ -41356,11 +41263,11 @@ class SegmentView {
|
|
|
41356
41263
|
}
|
|
41357
41264
|
render() {
|
|
41358
41265
|
const { disabled, isManualScroll, swipeGesture } = this;
|
|
41359
|
-
return (hAsync(Host, { key: '
|
|
41266
|
+
return (hAsync(Host, { key: 'd22a21956658722c282d7426645bc35acb27a5ea', class: {
|
|
41360
41267
|
'segment-view-disabled': disabled,
|
|
41361
41268
|
'segment-view-scroll-disabled': isManualScroll === false,
|
|
41362
41269
|
'segment-view-swipe-disabled': swipeGesture === false,
|
|
41363
|
-
} }, hAsync("slot", { key: '
|
|
41270
|
+
} }, hAsync("slot", { key: '45a9eb6ebedf465805d5a9f0f2854da046e141b5' })));
|
|
41364
41271
|
}
|
|
41365
41272
|
get el() { return getElement(this); }
|
|
41366
41273
|
static get style() { return {
|
|
@@ -42207,15 +42114,9 @@ class Select {
|
|
|
42207
42114
|
else if (this.toggleIcon != null) {
|
|
42208
42115
|
return this.toggleIcon;
|
|
42209
42116
|
}
|
|
42210
|
-
// Determine the theme and map to default
|
|
42117
|
+
// Determine the theme and map to the default icon
|
|
42211
42118
|
const theme = getIonTheme(this);
|
|
42212
|
-
const
|
|
42213
|
-
ios: chevronExpand,
|
|
42214
|
-
ionic: caretDownSvg,
|
|
42215
|
-
md: caretDownSharp,
|
|
42216
|
-
};
|
|
42217
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
42218
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
42119
|
+
const defaultIcon = theme === 'ios' ? chevronExpand : caretDownSharp;
|
|
42219
42120
|
// Return the configured select expanded icon or the default icon
|
|
42220
42121
|
return config.get('selectExpandedIcon', defaultIcon);
|
|
42221
42122
|
}
|
|
@@ -42230,15 +42131,9 @@ class Select {
|
|
|
42230
42131
|
if (this.toggleIcon) {
|
|
42231
42132
|
return this.toggleIcon;
|
|
42232
42133
|
}
|
|
42233
|
-
// Determine the theme and map to default
|
|
42134
|
+
// Determine the theme and map to the default icon
|
|
42234
42135
|
const theme = getIonTheme(this);
|
|
42235
|
-
const
|
|
42236
|
-
ios: chevronExpand,
|
|
42237
|
-
ionic: caretDownSvg,
|
|
42238
|
-
md: caretDownSharp,
|
|
42239
|
-
};
|
|
42240
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
42241
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
42136
|
+
const defaultIcon = theme === 'ios' ? chevronExpand : caretDownSharp;
|
|
42242
42137
|
return config.get('selectCollapsedIcon', defaultIcon);
|
|
42243
42138
|
}
|
|
42244
42139
|
getHintTextId() {
|
|
@@ -42311,7 +42206,7 @@ class Select {
|
|
|
42311
42206
|
*/
|
|
42312
42207
|
const labelShouldFloat = labelPlacement === 'stacked' ||
|
|
42313
42208
|
(labelPlacement === 'floating' && (hasValue || hasFocus || isExpanded || hasStartEndSlots));
|
|
42314
|
-
return (hAsync(Host, { key: '
|
|
42209
|
+
return (hAsync(Host, { key: '421ff485c68f19ae1a0002360fb844d64e26341b', onClick: this.onClick, class: createColorClasses$1(this.color, {
|
|
42315
42210
|
[theme]: true,
|
|
42316
42211
|
'in-item': inItem,
|
|
42317
42212
|
'in-item-color': hostContext('ion-item.ion-color', el),
|
|
@@ -42330,7 +42225,7 @@ class Select {
|
|
|
42330
42225
|
[`select-shape-${shape}`]: shape !== undefined,
|
|
42331
42226
|
[`select-label-placement-${labelPlacement}`]: true,
|
|
42332
42227
|
[`select-size-${size}`]: size !== undefined,
|
|
42333
|
-
}) }, hAsync("label", { key: '
|
|
42228
|
+
}) }, hAsync("label", { key: '3a3fa4c1cdac0bf4d8e1751df28d84cb98125db3', class: "select-wrapper", id: "select-label", onClick: this.onLabelClick, part: "wrapper" }, this.renderLabelContainer(), hAsync("div", { key: 'f4b74cf2fb4c844570c9c6a4856e4dae9fa08546', class: "select-wrapper-inner", part: "inner" },
|
|
42334
42229
|
/**
|
|
42335
42230
|
* For the ionic theme, we render the outline container here
|
|
42336
42231
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -42340,7 +42235,7 @@ class Select {
|
|
|
42340
42235
|
* <label> element, ensuring that clicking the label text
|
|
42341
42236
|
* focuses the select.
|
|
42342
42237
|
*/
|
|
42343
|
-
theme === 'ionic' && fill === 'outline' && hAsync("div", { key: '
|
|
42238
|
+
theme === 'ionic' && fill === 'outline' && hAsync("div", { key: '79f6cf63866b2cc95b3404db5b7146215876a9ef', class: "select-outline" }), hAsync("slot", { key: '9effed7b9be2ff2efc195365ba076a51aefdff12', name: "start" }), hAsync("div", { key: 'd46086c58ab4a036d90a040754658de96a7b954a', class: "native-wrapper", ref: (el) => (this.nativeWrapperEl = el), part: "container" }, this.renderSelectText(), this.renderListbox()), hAsync("slot", { key: '444888068450fc299780e48c8f9208cb0918ca81', name: "end" }), shouldRenderInnerIcon && this.renderSelectIcon()), shouldRenderOuterIcon && this.renderSelectIcon(), shouldRenderHighlight && hAsync("div", { key: 'e005924ae26585279f58fce726f6f14b3076d255', class: "select-highlight" })), this.renderBottomContent()));
|
|
42344
42239
|
}
|
|
42345
42240
|
get el() { return getElement(this); }
|
|
42346
42241
|
static get watchers() { return {
|
|
@@ -42698,14 +42593,16 @@ class SelectModal {
|
|
|
42698
42593
|
option.checked = ev.detail.checked;
|
|
42699
42594
|
}
|
|
42700
42595
|
}
|
|
42596
|
+
/**
|
|
42597
|
+
* Get the icon to use for the cancel icon.
|
|
42598
|
+
* Use the icon set in the config.
|
|
42599
|
+
* If no icon is set in the config, use the default icon.
|
|
42600
|
+
*/
|
|
42701
42601
|
get cancelButtonIcon() {
|
|
42602
|
+
// Determine the theme and map to the default icon
|
|
42702
42603
|
const theme = getIonTheme(this);
|
|
42703
|
-
const
|
|
42704
|
-
|
|
42705
|
-
md: closeSharp,
|
|
42706
|
-
ionic: xSvg,
|
|
42707
|
-
};
|
|
42708
|
-
return icons[theme];
|
|
42604
|
+
const defaultIcon = theme === 'ios' ? closeOutline : closeSharp;
|
|
42605
|
+
return config.get('selectModalCancelIcon', defaultIcon);
|
|
42709
42606
|
}
|
|
42710
42607
|
getModalContextClasses() {
|
|
42711
42608
|
const el = this.el;
|
|
@@ -42797,7 +42694,7 @@ class SelectModal {
|
|
|
42797
42694
|
});
|
|
42798
42695
|
}
|
|
42799
42696
|
render() {
|
|
42800
|
-
return (hAsync(Host, { key: '
|
|
42697
|
+
return (hAsync(Host, { key: '8b5baa6cfec77592fbcc301def4d495b8caac190', class: Object.assign({ [getIonMode$1(this)]: true }, this.getModalContextClasses()) }, hAsync("ion-header", { key: '30c099ae1098549160b6d7167d6d07f0b98f77bc' }, hAsync("ion-toolbar", { key: '93d993554d963120f41039b1236fbc1165f51905' }, this.header !== undefined && hAsync("ion-title", { key: '2a2f9d093f8868d1c5d26412a8df4c87fe5a33cf' }, this.header), hAsync("ion-buttons", { key: '39402227c2e023f840d47facc445cfaeff42588d', slot: "end" }, hAsync("ion-button", { key: 'f72b9d6d23e6a659350779285acfbc322f20a39a', "aria-label": this.cancelIcon ? this.cancelText : undefined, "data-focus-order": "2", onClick: () => this.closeModal() }, this.cancelIcon ? (hAsync("ion-icon", { "aria-hidden": "true", slot: "icon-only", icon: this.cancelButtonIcon })) : (this.cancelText))))), hAsync("ion-content", { key: '4882a7d0789ed29f994fc048e4ea875a99422a9d' }, hAsync("ion-list", { key: '8f4520f5aa5ea802c21137913559af9557a21aa8' }, this.multiple === true ? this.renderCheckboxOptions() : this.renderRadioOptions()))));
|
|
42801
42698
|
}
|
|
42802
42699
|
get el() { return getElement(this); }
|
|
42803
42700
|
static get style() { return {
|
|
@@ -42842,7 +42739,7 @@ class SelectOption {
|
|
|
42842
42739
|
}
|
|
42843
42740
|
render() {
|
|
42844
42741
|
const theme = getIonTheme(this);
|
|
42845
|
-
return (hAsync(Host, { key: '
|
|
42742
|
+
return (hAsync(Host, { key: '68921c28b739be849fc204bb9c45316acad6e652', class: {
|
|
42846
42743
|
[theme]: true,
|
|
42847
42744
|
}, role: "option", id: this.inputId }));
|
|
42848
42745
|
}
|
|
@@ -43031,9 +42928,9 @@ class SelectPopover {
|
|
|
43031
42928
|
const { header, message, options, subHeader } = this;
|
|
43032
42929
|
const hasSubHeaderOrMessage = subHeader !== undefined || message !== undefined;
|
|
43033
42930
|
const theme = getIonTheme(this);
|
|
43034
|
-
return (hAsync(Host, { key: '
|
|
42931
|
+
return (hAsync(Host, { key: '00e306f7d68005c0b17e598bec54471f5e38c991', class: {
|
|
43035
42932
|
[theme]: true,
|
|
43036
|
-
} }, hAsync("ion-list", { key: '
|
|
42933
|
+
} }, hAsync("ion-list", { key: '1357288064dc139a0ef4904744f945bf1dc39b3c' }, header !== undefined && hAsync("ion-list-header", { key: '4e918516f5666e90f3218edc3a08734822b76075' }, header), hasSubHeaderOrMessage && (hAsync("ion-item", { key: '170900f83842d73f6d9adbb7b9e4bc332dfa495d' }, hAsync("ion-label", { key: 'a76efe58ad6066e601edc1794782e3928556423f', class: "ion-text-wrap" }, subHeader !== undefined && hAsync("h3", { key: 'c88680bbbfc228a65c51f010c42158995d8a6507' }, subHeader), message !== undefined && hAsync("p", { key: '91e49d1477b2b9d903da8a385da07b6e7de37f73' }, message)))), this.renderOptions(options))));
|
|
43037
42934
|
}
|
|
43038
42935
|
get el() { return getElement(this); }
|
|
43039
42936
|
static get style() { return {
|
|
@@ -43088,11 +42985,11 @@ class SkeletonText {
|
|
|
43088
42985
|
const animated = this.animated && config.getBoolean('animated', true);
|
|
43089
42986
|
const inMedia = hostContext('ion-avatar', this.el) || hostContext('ion-thumbnail', this.el);
|
|
43090
42987
|
const theme = getIonTheme(this);
|
|
43091
|
-
return (hAsync(Host, { key: '
|
|
42988
|
+
return (hAsync(Host, { key: '7a27c2f32338a0770951ab814095dd0bf091966c', class: {
|
|
43092
42989
|
[theme]: true,
|
|
43093
42990
|
'skeleton-text-animated': animated,
|
|
43094
42991
|
'in-media': inMedia,
|
|
43095
|
-
} }, hAsync("span", { key: '
|
|
42992
|
+
} }, hAsync("span", { key: 'f21c7f76ea9095a6c2fe39714d2415abc0b5366b' }, "\u00A0")));
|
|
43096
42993
|
}
|
|
43097
42994
|
get el() { return getElement(this); }
|
|
43098
42995
|
static get style() { return skeletonTextCss(); }
|
|
@@ -43165,7 +43062,7 @@ class Spinner {
|
|
|
43165
43062
|
svgs.push(buildLine(spinner, duration, i, spinner.lines));
|
|
43166
43063
|
}
|
|
43167
43064
|
}
|
|
43168
|
-
return (hAsync(Host, { key: '
|
|
43065
|
+
return (hAsync(Host, { key: 'b79be740dda143c26a7eba82cc9e293817c36f9c', class: createColorClasses$1(self.color, {
|
|
43169
43066
|
[theme]: true,
|
|
43170
43067
|
[`spinner-${spinnerName}`]: true,
|
|
43171
43068
|
'spinner-paused': self.paused || config.getBoolean('_testing'),
|
|
@@ -43277,12 +43174,12 @@ class SplitPane {
|
|
|
43277
43174
|
}
|
|
43278
43175
|
render() {
|
|
43279
43176
|
const theme = getIonTheme(this);
|
|
43280
|
-
return (hAsync(Host, { key: '
|
|
43177
|
+
return (hAsync(Host, { key: '99c50cd64e68d1c6b0bc96dd0b26536e0e4b4abd', class: {
|
|
43281
43178
|
[theme]: true,
|
|
43282
43179
|
// Used internally for styling
|
|
43283
43180
|
[`split-pane-${theme}`]: true,
|
|
43284
43181
|
'split-pane-visible': this.visible,
|
|
43285
|
-
} }, hAsync("slot", { key: '
|
|
43182
|
+
} }, hAsync("slot", { key: '5cfb890a39fbe765df1880d1ecce78e90d997218' })));
|
|
43286
43183
|
}
|
|
43287
43184
|
get el() { return getElement(this); }
|
|
43288
43185
|
static get watchers() { return {
|
|
@@ -43366,10 +43263,10 @@ class Tab {
|
|
|
43366
43263
|
}
|
|
43367
43264
|
render() {
|
|
43368
43265
|
const { tab, active, component } = this;
|
|
43369
|
-
return (hAsync(Host, { key: '
|
|
43266
|
+
return (hAsync(Host, { key: 'fad6d6f10e09fa268c978b3edc5fd2fa2353289b', role: "tabpanel", "aria-hidden": !active ? 'true' : null, "aria-labelledby": `tab-button-${tab}`, class: {
|
|
43370
43267
|
'ion-page': component === undefined,
|
|
43371
43268
|
'tab-hidden': !active,
|
|
43372
|
-
} }, hAsync("slot", { key: '
|
|
43269
|
+
} }, hAsync("slot", { key: 'ff3bfedc122f2641d4d742ab7f635941931939e9' })));
|
|
43373
43270
|
}
|
|
43374
43271
|
get el() { return getElement(this); }
|
|
43375
43272
|
static get watchers() { return {
|
|
@@ -43572,14 +43469,14 @@ class TabBar {
|
|
|
43572
43469
|
const theme = getIonTheme(this);
|
|
43573
43470
|
const shape = this.getShape();
|
|
43574
43471
|
const shouldHide = keyboardVisible && this.el.getAttribute('slot') !== 'top';
|
|
43575
|
-
return (hAsync(Host, { key: '
|
|
43472
|
+
return (hAsync(Host, { key: 'a3feb835e4c8227dd0da680574580b236805ab01', role: "tablist", class: createColorClasses$1(color, {
|
|
43576
43473
|
[theme]: true,
|
|
43577
43474
|
'tab-bar-translucent': translucent,
|
|
43578
43475
|
'tab-bar-hidden': shouldHide,
|
|
43579
43476
|
'tab-bar-scroll-effect-hide': scrollEffect === 'hide',
|
|
43580
43477
|
[`tab-bar-${expand}`]: true,
|
|
43581
43478
|
[`tab-bar-${shape}`]: shape !== undefined,
|
|
43582
|
-
}) }, hAsync("slot", { key: '
|
|
43479
|
+
}) }, hAsync("slot", { key: '6d1f785f9e781b1850bc2d69960c8bc8871bcde6' })));
|
|
43583
43480
|
}
|
|
43584
43481
|
get el() { return getElement(this); }
|
|
43585
43482
|
static get watchers() { return {
|
|
@@ -43709,7 +43606,7 @@ class TabButton {
|
|
|
43709
43606
|
rel,
|
|
43710
43607
|
target,
|
|
43711
43608
|
};
|
|
43712
|
-
return (hAsync(Host, { key: '
|
|
43609
|
+
return (hAsync(Host, { key: 'ea2434faf0ba75131fb578f8f3bc1ea6e6729bff', onClick: this.onClick, onKeyup: this.onKeyUp, id: tab !== undefined ? `tab-button-${tab}` : null, class: {
|
|
43713
43610
|
[theme]: true,
|
|
43714
43611
|
'tab-selected': selected,
|
|
43715
43612
|
'tab-disabled': disabled,
|
|
@@ -43722,7 +43619,7 @@ class TabButton {
|
|
|
43722
43619
|
'ion-selectable': true,
|
|
43723
43620
|
[`tab-button-shape-${shape}`]: shape !== undefined,
|
|
43724
43621
|
'ion-focusable': true,
|
|
43725
|
-
} }, hAsync("a", Object.assign({ key: '
|
|
43622
|
+
} }, hAsync("a", Object.assign({ key: '049dcedfa561ff54175fd9bfa4405788e0fddf22' }, 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: '25670e1072e9e1889262483736aed7d45f5fd05f', class: "button-inner" }, hAsync("slot", { key: 'fb8df1a587a22db676492bbb14d8473aab4cc0fe' })), theme === 'md' && hAsync("ion-ripple-effect", { key: '49a8bbfe9dc4d41707afcf9f872db5d1c8bb8287', type: "unbounded" }))));
|
|
43726
43623
|
}
|
|
43727
43624
|
get el() { return getElement(this); }
|
|
43728
43625
|
static get style() { return {
|
|
@@ -43918,7 +43815,7 @@ class Tabs {
|
|
|
43918
43815
|
return Array.from(this.el.querySelectorAll('ion-tab'));
|
|
43919
43816
|
}
|
|
43920
43817
|
render() {
|
|
43921
|
-
return (hAsync(Host, { key: '
|
|
43818
|
+
return (hAsync(Host, { key: '9d666c6fd4e18fda8db4403a0c5e759704b15740', onIonTabButtonClick: this.onTabClicked }, hAsync("slot", { key: '453d78ddd05f0097a33a8a794b709a1ddc165606', name: "top" }), hAsync("div", { key: 'da5c93579ebfa17c4d685b2f62f35668026b5754', class: "tabs-inner" }, hAsync("slot", { key: 'af019d0c0b9b8a63984b11b570924e8acf18f84c' })), hAsync("slot", { key: '620be553e6b2b44ff67776ebacc0b6c40375703f', name: "bottom" })));
|
|
43922
43819
|
}
|
|
43923
43820
|
get el() { return getElement(this); }
|
|
43924
43821
|
static get style() { return tabsCss(); }
|
|
@@ -43959,9 +43856,9 @@ class Text {
|
|
|
43959
43856
|
}
|
|
43960
43857
|
render() {
|
|
43961
43858
|
const theme = getIonTheme(this);
|
|
43962
|
-
return (hAsync(Host, { key: '
|
|
43859
|
+
return (hAsync(Host, { key: 'd3306513b05f65be6ead42865765773af89d3a78', class: createColorClasses$1(this.color, {
|
|
43963
43860
|
[theme]: true,
|
|
43964
|
-
}) }, hAsync("slot", { key: '
|
|
43861
|
+
}) }, hAsync("slot", { key: '0781d7e76e15d07dc727bf539cb42ca379393eae' })));
|
|
43965
43862
|
}
|
|
43966
43863
|
static get style() { return textCss(); }
|
|
43967
43864
|
static get cmpMeta() { return {
|
|
@@ -44525,7 +44422,7 @@ class Textarea {
|
|
|
44525
44422
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
44526
44423
|
*/
|
|
44527
44424
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
44528
|
-
return (hAsync(Host, { key: '
|
|
44425
|
+
return (hAsync(Host, { key: 'b613bb449100c5d7a982ffb0a39ea6324e8eb6ea', class: createColorClasses$1(this.color, {
|
|
44529
44426
|
[theme]: true,
|
|
44530
44427
|
'has-value': hasValue,
|
|
44531
44428
|
'has-focus': hasFocus,
|
|
@@ -44537,7 +44434,7 @@ class Textarea {
|
|
|
44537
44434
|
'in-item': inItem,
|
|
44538
44435
|
'textarea-disabled': disabled,
|
|
44539
44436
|
'textarea-readonly': readonly,
|
|
44540
|
-
}) }, hAsync("label", { key: '
|
|
44437
|
+
}) }, hAsync("label", { key: '08a603a3fa102701d756d36d4d5d2d5e01f2895f', class: "textarea-wrapper", htmlFor: inputId, onClick: this.onLabelClick, part: "wrapper" }, this.renderLabelContainer(), hAsync("div", { key: '076362fb04fa45e89c2ecb46b51937ab80026e34', class: "textarea-wrapper-inner" },
|
|
44541
44438
|
/**
|
|
44542
44439
|
* For the ionic theme, we render the outline container here
|
|
44543
44440
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -44547,7 +44444,7 @@ class Textarea {
|
|
|
44547
44444
|
* <label> element, ensuring that clicking the label text
|
|
44548
44445
|
* focuses the textarea.
|
|
44549
44446
|
*/
|
|
44550
|
-
theme === 'ionic' && fill === 'outline' && hAsync("div", { key: '
|
|
44447
|
+
theme === 'ionic' && fill === 'outline' && hAsync("div", { key: '2baacd12528f1da1e8442cf73367e985831d30fa', class: "textarea-outline" }), hAsync("div", { key: '2cbb11940c93eefa3c8aee37a4abec1287600cdc', class: "start-slot-wrapper" }, hAsync("slot", { key: 'a5036f96342252e34440e1c69147179f433b65cf', name: "start" })), hAsync("div", { key: '7fe6ef38994528bda8f60ef05ce63172220a19f3', class: "native-wrapper", ref: (el) => (this.textareaWrapper = el), part: "container" }, hAsync("textarea", Object.assign({ key: '3b34140264bda8dea770c26b6918c837028e249f', class: "native-textarea", part: "native", 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: 'fdc551f7e180ca3b8a147453710a330cd28ca60f', class: "end-slot-wrapper" }, hAsync("slot", { key: '135cef89f5341fd1cbbe5e54540cc29308338335', name: "end" }))), shouldRenderHighlight && hAsync("div", { key: '8ffde39c6795139dd50100e09acdccd993a85ed8', class: "textarea-highlight" })), this.renderBottomContent()));
|
|
44551
44448
|
}
|
|
44552
44449
|
static get delegatesFocus() { return true; }
|
|
44553
44450
|
static get formAssociated() { return true; }
|
|
@@ -44631,9 +44528,9 @@ class Thumbnail {
|
|
|
44631
44528
|
}
|
|
44632
44529
|
render() {
|
|
44633
44530
|
const theme = getIonTheme(this);
|
|
44634
|
-
return (hAsync(Host, { key: '
|
|
44531
|
+
return (hAsync(Host, { key: '15fc2ed6061718490f5bccc3f3e32fe4dc221952', class: {
|
|
44635
44532
|
[theme]: true,
|
|
44636
|
-
} }, hAsync("slot", { key: '
|
|
44533
|
+
} }, hAsync("slot", { key: '7a602964f62da3e651c50663b4761130e3897bda' })));
|
|
44637
44534
|
}
|
|
44638
44535
|
static get style() { return thumbnailCss(); }
|
|
44639
44536
|
static get cmpMeta() { return {
|
|
@@ -45517,9 +45414,9 @@ class Toast {
|
|
|
45517
45414
|
if (layout === 'stacked' && startButtons.length > 0 && endButtons.length > 0) {
|
|
45518
45415
|
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);
|
|
45519
45416
|
}
|
|
45520
|
-
return (hAsync(Host, Object.assign({ key: '
|
|
45417
|
+
return (hAsync(Host, Object.assign({ key: 'e1329d64ec1f9a77fbd507a7c91e8c76c6769577', tabindex: "-1" }, this.htmlAttributes, { style: {
|
|
45521
45418
|
zIndex: `${60000 + this.overlayIndex}`,
|
|
45522
|
-
}, class: createColorClasses$1(this.color, Object.assign(Object.assign({ [mode]: true, [theme]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent, [`toast-shape-${shape}`]: shape !== undefined, [`toast-hue-${hue}`]: hue !== undefined })), onIonToastWillDismiss: this.dispatchCancelHandler }), hAsync("div", { key: '
|
|
45419
|
+
}, class: createColorClasses$1(this.color, Object.assign(Object.assign({ [mode]: true, [theme]: true }, getClassMap(this.cssClass)), { 'overlay-hidden': true, 'toast-translucent': this.translucent, [`toast-shape-${shape}`]: shape !== undefined, [`toast-hue-${hue}`]: hue !== undefined })), onIonToastWillDismiss: this.dispatchCancelHandler }), hAsync("div", { key: '5ba5af3fc1f143a0b27c5ae26c4cd5ae039eff27', class: wrapperClass, part: "wrapper" }, hAsync("div", { key: '407fe3b6ea1ed8de232e76b0d24a21d018386ab3', class: "toast-container", part: "container" }, this.renderButtons(startButtons, 'start'), this.icon !== undefined && (hAsync("ion-icon", { key: 'e35c3ff1bfed97dab0309488a6ac0b898ebdc9f0', class: "toast-icon", part: "icon", icon: this.icon, lazy: false, "aria-hidden": "true" })), hAsync("div", { key: '7b753256e7b44c4bbe816bcb244178991bf01e45', class: "toast-content", part: "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')))));
|
|
45523
45420
|
}
|
|
45524
45421
|
get el() { return getElement(this); }
|
|
45525
45422
|
static get watchers() { return {
|
|
@@ -45590,10 +45487,6 @@ const buttonPart = (button) => {
|
|
|
45590
45487
|
return isCancel(button.role) ? 'button cancel' : 'button';
|
|
45591
45488
|
};
|
|
45592
45489
|
|
|
45593
|
-
const checkSvg = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiBmaWxsPSJjdXJyZW50Q29sb3IiPjxwYXRoIGQ9Ik0yMjkuNjYsNzcuNjZsLTEyOCwxMjhhOCw4LDAsMCwxLTExLjMyLDBsLTU2LTU2YTgsOCwwLDAsMSwxMS4zMi0xMS4zMkw5NiwxODguNjksMjE4LjM0LDY2LjM0YTgsOCwwLDAsMSwxMS4zMiwxMS4zMloiLz48L3N2Zz4=';
|
|
45594
|
-
|
|
45595
|
-
const minusSvg = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiBmaWxsPSJjdXJyZW50Q29sb3IiPjxwYXRoIGQ9Ik0yMjQsMTI4YTgsOCwwLDAsMS04LDhINDBhOCw4LDAsMCwxLDAtMTZIMjE2QTgsOCwwLDAsMSwyMjQsMTI4WiIvPjwvc3ZnPg==';
|
|
45596
|
-
|
|
45597
45490
|
const toggleIonicCss = () => `:host{-webkit-box-sizing:content-box !important;box-sizing:content-box !important;display:inline-block;position:relative;max-width:100%;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.toggle-disabled){pointer-events:none}input{display:none}:host(:focus){outline:none}.toggle-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;cursor:inherit}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.toggle-bottom{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;white-space:normal}.toggle-bottom .error-text{display:none}.toggle-bottom .helper-text{display:block}:host(.ion-touched.ion-invalid) .toggle-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .toggle-bottom .helper-text{display:none}:host(.toggle-label-placement-start) .toggle-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.toggle-label-placement-end) .toggle-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-pack:start;justify-content:start}:host(.toggle-justify-space-between) .toggle-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.toggle-justify-start) .toggle-wrapper{-ms-flex-pack:start;justify-content:start}:host(.toggle-justify-end) .toggle-wrapper{-ms-flex-pack:end;justify-content:end}:host(.toggle-alignment-start) .toggle-wrapper{-ms-flex-align:start;align-items:start}:host(.toggle-alignment-center) .toggle-wrapper{-ms-flex-align:center;align-items:center}:host(.toggle-justify-space-between),:host(.toggle-justify-start),:host(.toggle-justify-end),:host(.toggle-alignment-start),:host(.toggle-alignment-center){display:block}.toggle-icon-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;-webkit-transition:var(--handle-transition);transition:var(--handle-transition);will-change:transform}.toggle-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;background:var(--track-background);overflow:inherit}:host(.toggle-checked) .toggle-icon{background:var(--track-background-checked)}.toggle-inner{border-radius:var(--handle-border-radius);position:absolute;left:var(--handle-spacing);width:var(--handle-width);height:var(--handle-height);max-height:var(--handle-max-height);-webkit-transition:var(--handle-transition);transition:var(--handle-transition);background:var(--handle-background);-webkit-box-shadow:var(--handle-box-shadow);box-shadow:var(--handle-box-shadow);contain:strict}:host(.toggle-ltr) .toggle-inner{left:var(--handle-spacing)}:host(.toggle-rtl) .toggle-inner{right:var(--handle-spacing)}:host(.toggle-ltr.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width)), 0, 0);transform:translate3d(calc(100% - var(--handle-width)), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width)), 0, 0);transform:translate3d(calc(-100% + var(--handle-width)), 0, 0)}:host(.toggle-checked) .toggle-inner{background:var(--handle-background-checked)}:host(.toggle-ltr.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0)}:host{--track-background:var(--token-primitives-neutral-500, #a2a2a2);--track-background-checked:var(--ion-color-primary, var(--token-bg-primary-base-default, var(--token-semantics-primary-base, var(--token-semantics-primary-700, var(--token-primitives-blue-700, #105cef)))));--border-radius:var(--token-border-radius-full, 999px);--focus-ring-color:var(--token-border-focus-default, var(--token-primitives-blue-400, #b5c0f7));--focus-ring-width:var(--token-border-size-050, var(--token-scale-050, 2px));--handle-background:var(--token-bg-surface-default, var(--token-primitives-base-white, #ffffff));--handle-background-checked:var(--token-bg-surface-default, var(--token-primitives-base-white, #ffffff));--handle-border-radius:var(--token-border-radius-full, 999px);--handle-height:var(--token-scale-500, 20px);--handle-max-height:var(--token-scale-500, 20px);--handle-width:var(--token-scale-500, 20px);--handle-spacing:var(--token-space-050, var(--token-scale-050, 2px));--handle-transition:transform 300ms, width 120ms ease-in-out 80ms, left 110ms ease-in-out 80ms, right 110ms ease-in-out 80ms;font-size:var(--token-font-size-350, 0.875rem);font-weight:var(--token-font-weight-regular, 400);letter-spacing:var(--token-font-letter-spacing-0, 0%);line-height:var(--token-font-line-height-600, var(--token-scale-600, 24px));text-decoration:none;text-transform:none;z-index:2}.toggle-wrapper{-ms-flex-align:center;align-items:center;min-height:var(--token-scale-1200, 48px)}.native-wrapper .toggle-icon{width:var(--token-scale-1100, 44px);height:var(--token-scale-600, 24px);overflow:hidden}:host(.ion-color.toggle-checked) .toggle-icon{background:var(--ion-color-base)}.toggle-bottom{font-size:var(--token-font-size-300, 0.75rem);font-weight:var(--token-font-weight-medium, 500);letter-spacing:var(--token-font-letter-spacing-0, 0%);line-height:var(--token-font-line-height-500, var(--token-scale-500, 20px));text-decoration:none;text-transform:none}.toggle-bottom .error-text{color:var(--token-text-danger, var(--token-semantics-danger-900, var(--token-primitives-red-900, #991b1b)))}.toggle-bottom .helper-text{color:var(--token-text-subtlest, var(--token-primitives-neutral-800, #626262))}:host(.ion-focused) .toggle-icon{outline:var(--focus-ring-width) var(--token-border-style-solid, solid) var(--focus-ring-color);outline-offset:var(--focus-ring-width)}:host(.ion-focused){outline:none}:host(.ion-activated) .toggle-icon{background:var(--token-bg-neutral-base-press, var(--token-primitives-neutral-700, #777777))}:host(.ion-activated.toggle-checked) .toggle-icon{background:var(--token-bg-primary-base-press, var(--token-semantics-primary-900, var(--token-primitives-blue-900, #0d4bc3)))}:host(.toggle-disabled) .toggle-icon::after{right:0;left:0;top:0;bottom:0;position:absolute;background-color:var(--token-state-disabled, rgba(255, 255, 255, 0.6));content:"";pointer-events:none}.toggle-inner{will-change:background-color, transform;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;color:var(--token-text-default, var(--token-primitives-neutral-1200, #242424))}.toggle-inner .toggle-switch-icon{width:var(--token-scale-400, 16px);height:var(--token-scale-400, 16px)}:host .toggle-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:var(--token-space-400, var(--token-scale-400, 16px));margin-inline-end:var(--token-space-400, var(--token-scale-400, 16px));color:var(--token-text-default, var(--token-primitives-neutral-1200, #242424))}:host(.toggle-label-placement-end) .toggle-wrapper{-ms-flex-pack:start;justify-content:start}:host(.toggle-label-placement-end) .label-text-wrapper{-webkit-margin-start:var(--token-space-400, var(--token-scale-400, 16px));margin-inline-start:var(--token-space-400, var(--token-scale-400, 16px));-webkit-margin-end:0;margin-inline-end:0}`;
|
|
45598
45491
|
|
|
45599
45492
|
const toggleIosCss = () => `:host{-webkit-box-sizing:content-box !important;box-sizing:content-box !important;display:inline-block;position:relative;max-width:100%;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host(.in-item){-ms-flex:1 1 0px;flex:1 1 0;width:100%;height:100%}:host([slot=start]),:host([slot=end]){-ms-flex:initial;flex:initial;width:auto}:host(.toggle-disabled){pointer-events:none}input{display:none}:host(:focus){outline:none}.toggle-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between;height:inherit;-webkit-transition:background-color 15ms linear;transition:background-color 15ms linear;cursor:inherit}.label-text-wrapper-hidden{display:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.toggle-bottom{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;white-space:normal}.toggle-bottom .error-text{display:none}.toggle-bottom .helper-text{display:block}:host(.ion-touched.ion-invalid) .toggle-bottom .error-text{display:block}:host(.ion-touched.ion-invalid) .toggle-bottom .helper-text{display:none}:host(.toggle-label-placement-start) .toggle-wrapper{-ms-flex-direction:row;flex-direction:row}:host(.toggle-label-placement-end) .toggle-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse;-ms-flex-pack:start;justify-content:start}:host(.toggle-justify-space-between) .toggle-wrapper{-ms-flex-pack:justify;justify-content:space-between}:host(.toggle-justify-start) .toggle-wrapper{-ms-flex-pack:start;justify-content:start}:host(.toggle-justify-end) .toggle-wrapper{-ms-flex-pack:end;justify-content:end}:host(.toggle-alignment-start) .toggle-wrapper{-ms-flex-align:start;align-items:start}:host(.toggle-alignment-center) .toggle-wrapper{-ms-flex-align:center;align-items:center}:host(.toggle-justify-space-between),:host(.toggle-justify-start),:host(.toggle-justify-end),:host(.toggle-alignment-start),:host(.toggle-alignment-center){display:block}.toggle-icon-wrapper{display:-ms-flexbox;display:flex;position:relative;-ms-flex-align:center;align-items:center;width:100%;height:100%;-webkit-transition:var(--handle-transition);transition:var(--handle-transition);will-change:transform}.toggle-icon{border-radius:var(--border-radius);display:block;position:relative;width:100%;height:100%;background:var(--track-background);overflow:inherit}:host(.toggle-checked) .toggle-icon{background:var(--track-background-checked)}.toggle-inner{border-radius:var(--handle-border-radius);position:absolute;left:var(--handle-spacing);width:var(--handle-width);height:var(--handle-height);max-height:var(--handle-max-height);-webkit-transition:var(--handle-transition);transition:var(--handle-transition);background:var(--handle-background);-webkit-box-shadow:var(--handle-box-shadow);box-shadow:var(--handle-box-shadow);contain:strict}:host(.toggle-ltr) .toggle-inner{left:var(--handle-spacing)}:host(.toggle-rtl) .toggle-inner{right:var(--handle-spacing)}:host(.toggle-ltr.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width)), 0, 0);transform:translate3d(calc(100% - var(--handle-width)), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width)), 0, 0);transform:translate3d(calc(-100% + var(--handle-width)), 0, 0)}:host(.toggle-checked) .toggle-inner{background:var(--handle-background-checked)}:host(.toggle-ltr.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * -2), 0, 0)}:host(.toggle-rtl.toggle-checked) .toggle-inner{-webkit-transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0);transform:translate3d(calc(var(--handle-spacing) * 2), 0, 0)}:host{z-index:2}:host(.ion-focused) input{border:2px solid #5e9ed6}:host(.in-item) .label-text-wrapper{margin-top:10px;margin-bottom:10px}:host(.in-item.toggle-label-placement-stacked) .label-text-wrapper{margin-top:10px;margin-bottom:16px}:host(.in-item.toggle-label-placement-stacked) .native-wrapper{margin-bottom:10px}.toggle-bottom{padding-top:4px;font-size:0.75rem}:host(.toggle-label-placement-stacked) .toggle-bottom{font-size:1rem}.toggle-bottom .error-text{color:var(--ion-color-danger, #c5000f)}.toggle-bottom .helper-text{color:var(--ion-color-step-700, var(--ion-text-color-step-300, #4d4d4d))}.label-text-wrapper{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.toggle-label-placement-fixed) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}:host(.toggle-label-placement-stacked) .toggle-wrapper{-ms-flex-direction:column;flex-direction:column;text-align:center}:host(.toggle-label-placement-stacked) .label-text-wrapper{-webkit-transform:scale(0.75);transform:scale(0.75);margin-left:0;margin-right:0;margin-bottom:16px;max-width:calc(100% / 0.75)}:host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper{-webkit-transform-origin:left top;transform-origin:left top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-start) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-start .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-start:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:right top;transform-origin:right top}}:host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper{-webkit-transform-origin:center top;transform-origin:center top}:host-context([dir=rtl]):host(.toggle-label-placement-stacked.toggle-alignment-center) .label-text-wrapper,:host-context([dir=rtl]).toggle-label-placement-stacked.toggle-alignment-center .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}@supports selector(:dir(rtl)){:host(.toggle-label-placement-stacked.toggle-alignment-center:dir(rtl)) .label-text-wrapper{-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}:host(.toggle-label-placement-start) .label-text-wrapper{-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:16px;margin-inline-end:16px}:host(.toggle-label-placement-end) .label-text-wrapper{-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:0;margin-inline-end:0}:host{--track-background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.088);--track-background-checked:var(--ion-color-primary, #0054e9);--border-radius:15.5px;--handle-background:#ffffff;--handle-background-checked:#ffffff;--handle-border-radius:25.5px;--handle-box-shadow:0 3px 4px rgba(0, 0, 0, 0.06), 0 3px 8px rgba(0, 0, 0, 0.06);--handle-height:calc(31px - (2px * 2));--handle-max-height:calc(100% - var(--handle-spacing) * 2);--handle-width:calc(31px - (2px * 2));--handle-spacing:2px;--handle-transition:transform 300ms, width 120ms ease-in-out 80ms, left 110ms ease-in-out 80ms, right 110ms ease-in-out 80ms}.native-wrapper .toggle-icon{width:51px;height:31px;overflow:hidden}:host(.ion-color.toggle-checked) .toggle-icon{background:var(--ion-color-base)}:host(.toggle-activated) .toggle-switch-icon{opacity:0}.toggle-icon{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);-webkit-transition:background-color 300ms;transition:background-color 300ms}.toggle-inner{will-change:transform}.toggle-switch-icon{position:absolute;top:50%;width:11px;height:11px;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:opacity 300ms, color 300ms;transition:opacity 300ms, color 300ms}.toggle-switch-icon{position:absolute;color:var(--ion-color-dark, #222428)}:host(.toggle-ltr) .toggle-switch-icon{right:6px}:host(.toggle-rtl) .toggle-switch-icon{right:initial;left:6px;}:host(.toggle-checked) .toggle-switch-icon.toggle-switch-icon-checked{color:var(--ion-color-contrast, #fff)}:host(.toggle-checked) .toggle-switch-icon:not(.toggle-switch-icon-checked){opacity:0}.toggle-switch-icon-checked{position:absolute;width:15px;height:15px}.toggle-switch-icon-checked-default{-webkit-transform:translateY(-50%) rotate(90deg);transform:translateY(-50%) rotate(90deg)}:host(.toggle-ltr) .toggle-switch-icon-checked{right:initial;left:4px;}:host(.toggle-rtl) .toggle-switch-icon-checked{right:4px}:host(.toggle-activated) .toggle-icon::before,:host(.toggle-checked) .toggle-icon::before{-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0)}:host(.toggle-activated.toggle-checked) .toggle-inner::before{-webkit-transform:scale3d(0, 0, 0);transform:scale3d(0, 0, 0)}:host(.toggle-activated) .toggle-inner{width:calc(var(--handle-width) + 6px)}:host(.toggle-ltr.toggle-activated.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(100% - var(--handle-width) - 6px), 0, 0);transform:translate3d(calc(100% - var(--handle-width) - 6px), 0, 0)}:host(.toggle-rtl.toggle-activated.toggle-checked) .toggle-icon-wrapper{-webkit-transform:translate3d(calc(-100% + var(--handle-width) + 6px), 0, 0);transform:translate3d(calc(-100% + var(--handle-width) + 6px), 0, 0)}:host(.toggle-disabled){opacity:0.3}:host(.ion-focused:not(.toggle-defers-indicator)) .toggle-icon{-webkit-box-shadow:0 0 0 4px rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.2);box-shadow:0 0 0 4px rgba(var(--ion-color-primary-rgb, 0, 84, 233), 0.2)}:host(.ion-color.ion-focused.toggle-checked:not(.toggle-defers-indicator)) .toggle-icon{-webkit-box-shadow:0 0 0 4px rgba(var(--ion-color-base-rgb), 0.2);box-shadow:0 0 0 4px rgba(var(--ion-color-base-rgb), 0.2)}`;
|
|
@@ -45804,22 +45697,17 @@ class Toggle {
|
|
|
45804
45697
|
setFocus() {
|
|
45805
45698
|
this.el.focus();
|
|
45806
45699
|
}
|
|
45700
|
+
/**
|
|
45701
|
+
* Get the default icon to use for the checked icon based on the theme.
|
|
45702
|
+
*/
|
|
45807
45703
|
get toggleDefaultCheckedIcon() {
|
|
45808
|
-
// Determine the theme and map to default
|
|
45704
|
+
// Determine the theme and map to the default icon
|
|
45809
45705
|
const theme = getIonTheme(this);
|
|
45810
|
-
|
|
45811
|
-
ios: removeOutline,
|
|
45812
|
-
ionic: checkSvg,
|
|
45813
|
-
md: checkmarkOutline,
|
|
45814
|
-
};
|
|
45815
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
45816
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
45817
|
-
// Return the default icon
|
|
45818
|
-
return defaultIcon;
|
|
45706
|
+
return theme === 'ios' ? removeOutline : checkmarkOutline;
|
|
45819
45707
|
}
|
|
45820
45708
|
/**
|
|
45821
45709
|
* Get the icon to use for the checked icon.
|
|
45822
|
-
*
|
|
45710
|
+
* Use the icon set in the config.
|
|
45823
45711
|
* If no icon is set in the config, use the default icon.
|
|
45824
45712
|
*/
|
|
45825
45713
|
get toggleCheckedIcon() {
|
|
@@ -45827,19 +45715,13 @@ class Toggle {
|
|
|
45827
45715
|
}
|
|
45828
45716
|
/**
|
|
45829
45717
|
* Get the icon to use for the unchecked icon.
|
|
45830
|
-
*
|
|
45718
|
+
* Use the icon set in the config.
|
|
45831
45719
|
* If no icon is set in the config, use the default icon.
|
|
45832
45720
|
*/
|
|
45833
45721
|
get toggleUncheckedIcon() {
|
|
45834
|
-
// Determine the theme and map to default
|
|
45722
|
+
// Determine the theme and map to the default icon
|
|
45835
45723
|
const theme = getIonTheme(this);
|
|
45836
|
-
const
|
|
45837
|
-
ios: ellipseOutline,
|
|
45838
|
-
ionic: minusSvg,
|
|
45839
|
-
md: removeOutline,
|
|
45840
|
-
};
|
|
45841
|
-
// Get the default icon based on the theme, falling back to 'md' icon if necessary
|
|
45842
|
-
const defaultIcon = defaultIcons[theme] || defaultIcons.md;
|
|
45724
|
+
const defaultIcon = theme === 'ios' ? ellipseOutline : removeOutline;
|
|
45843
45725
|
// Return the configured toggle unchecked icon or the default icon
|
|
45844
45726
|
return config.get('toggleUncheckedIcon', defaultIcon);
|
|
45845
45727
|
}
|
|
@@ -45909,7 +45791,7 @@ class Toggle {
|
|
|
45909
45791
|
// The attributes are matched too because the class needs the item to render.
|
|
45910
45792
|
const inClickableItem = hostContext('ion-item.ion-activatable, ion-item[button], ion-item[href]', el);
|
|
45911
45793
|
renderHiddenInput(true, el, name, checked ? value : '', disabled);
|
|
45912
|
-
return (hAsync(Host, { key: '
|
|
45794
|
+
return (hAsync(Host, { key: 'eed0ae9f024ad9e4160b73465cad2723470c5d33', 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, {
|
|
45913
45795
|
[theme]: true,
|
|
45914
45796
|
'in-item': inItem,
|
|
45915
45797
|
// `ion-focusable` has to stay on because it is what makes the item focusable.
|
|
@@ -45924,10 +45806,10 @@ class Toggle {
|
|
|
45924
45806
|
[`toggle-label-placement-${labelPlacement}`]: true,
|
|
45925
45807
|
[`toggle-${rtl}`]: true,
|
|
45926
45808
|
'ion-activatable': isIonicTheme,
|
|
45927
|
-
}) }, hAsync("label", { key: '
|
|
45809
|
+
}) }, hAsync("label", { key: '63c4c5d2770b547e14daf482e9eea1ad5b27a88a', class: "toggle-wrapper", htmlFor: inputId }, hAsync("input", Object.assign({ key: '15b5cf7825f1f2511e07c9d2af5681abc83731f1', type: "checkbox", role: "switch", "aria-checked": `${checked}`, checked: checked, disabled: disabled, id: inputId, required: required }, inheritedAttributes)), hAsync("div", { key: 'f579e6cfcd7ef68b6c213a3435e5ff14687e9678', class: {
|
|
45928
45810
|
'label-text-wrapper': true,
|
|
45929
45811
|
'label-text-wrapper-hidden': !hasLabel,
|
|
45930
|
-
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: '
|
|
45812
|
+
}, part: "label", id: inputLabelId, onClick: this.onDivLabelClick }, hAsync("slot", { key: 'e47cef085d9486c529f932df0ec5ae0620075ebc' }), this.renderHintText()), hAsync("div", { key: '6c9b697a652d2f0329fc02f84ee81898c8ee39d3', class: "native-wrapper" }, this.renderToggleControl()))));
|
|
45931
45813
|
}
|
|
45932
45814
|
get el() { return getElement(this); }
|
|
45933
45815
|
static get watchers() { return {
|
|
@@ -46219,11 +46101,11 @@ class Toolbar {
|
|
|
46219
46101
|
Object.assign(childStyles, style);
|
|
46220
46102
|
});
|
|
46221
46103
|
const titlePlacement = this.getTitlePlacement();
|
|
46222
|
-
return (hAsync(Host, { key: '
|
|
46104
|
+
return (hAsync(Host, { key: 'bbb8d7cd786d5b91b0f65b97335294d9701d4cdc', class: Object.assign(Object.assign({}, createColorClasses$1(this.color, {
|
|
46223
46105
|
[theme]: true,
|
|
46224
46106
|
'in-toolbar': hostContext('ion-toolbar', this.el),
|
|
46225
46107
|
[`toolbar-title-placement-${titlePlacement}`]: true,
|
|
46226
|
-
})), childStyles) }, hAsync("div", { key: '
|
|
46108
|
+
})), childStyles) }, hAsync("div", { key: 'c5ea1b921e87f6f1615f1fa98959a985881bf9f1', class: "toolbar-background", part: "background" }), hAsync("div", { key: 'fa9da58a2be236daa05e26ddd4046dff41d33fcb', class: "toolbar-container", part: "container" }, hAsync("slot", { key: '45f76c8833843bc27c79121bec16d65433277c12', name: "start", onSlotchange: () => this.updateSlotClasses }), hAsync("slot", { key: '3d1a7f34bc361ae87e361e05c5c6a3b2a7423f1d', name: "secondary", onSlotchange: () => this.updateSlotClasses }), hAsync("div", { key: 'ad7d5133a105c9b9398a0c6458c5ff3f9b0f6253', class: "toolbar-content", part: "content" }, hAsync("slot", { key: '783fe390e4bca1b7a245961e750a50bb009173b6' })), hAsync("slot", { key: 'a555b3bef40a9bab3a1f1b39a02cbc8b28122c4a', name: "primary", onSlotchange: () => this.updateSlotClasses }), hAsync("slot", { key: '635a84fff3818e4648ea46bd80f5ef0808a9ff0e', name: "end", onSlotchange: () => this.updateSlotClasses }))));
|
|
46227
46109
|
}
|
|
46228
46110
|
get el() { return getElement(this); }
|
|
46229
46111
|
static get watchers() { return {
|
|
@@ -46282,11 +46164,11 @@ class ToolbarTitle {
|
|
|
46282
46164
|
render() {
|
|
46283
46165
|
const theme = getIonTheme(this);
|
|
46284
46166
|
const size = this.getSize();
|
|
46285
|
-
return (hAsync(Host, { key: '
|
|
46167
|
+
return (hAsync(Host, { key: 'ee32202b0a04aa63b4369e5d4862759cb8ec24c0', class: createColorClasses$1(this.color, {
|
|
46286
46168
|
[theme]: true,
|
|
46287
46169
|
[`title-${size}`]: true,
|
|
46288
46170
|
'title-rtl': document.dir === 'rtl',
|
|
46289
|
-
}) }, hAsync("div", { key: '
|
|
46171
|
+
}) }, hAsync("div", { key: 'bfe124a72b10e9f4375ca0aa7caf46b8ef1e5ae8', class: "toolbar-title" }, hAsync("slot", { key: 'b55441661bacb883ddf9895616cfc72792f3508a' }))));
|
|
46290
46172
|
}
|
|
46291
46173
|
get el() { return getElement(this); }
|
|
46292
46174
|
static get watchers() { return {
|