voyager-ionic-core 7.2.3 → 7.4.4
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/action-sheet.js +12 -17
- package/components/alert.js +17 -20
- package/components/animation.js +60 -1
- package/components/button-active.js +1 -1
- package/components/button.js +18 -0
- package/components/checkbox.js +18 -7
- package/components/data.js +47 -9
- package/components/framework-delegate.js +21 -2
- package/components/icon.js +6 -0
- package/components/index.d.ts +6 -0
- package/components/index.js +3 -3
- package/components/index2.js +203 -429
- package/components/index3.js +429 -203
- package/components/input-shims.js +88 -7
- package/components/ion-accordion-group.js +5 -1
- package/components/ion-accordion.js +2 -0
- package/components/ion-breadcrumbs.js +5 -1
- package/components/ion-content.js +51 -5
- package/components/ion-datetime-button.js +3 -0
- package/components/ion-datetime.js +142 -92
- package/components/ion-fab-list.js +3 -1
- package/components/ion-fab.js +3 -1
- package/components/ion-header.js +1 -1
- package/components/ion-img.js +2 -0
- package/components/ion-infinite-scroll.js +3 -0
- package/components/ion-input.js +6 -1
- package/components/ion-item-sliding.js +3 -1
- package/components/ion-loading.js +11 -16
- package/components/ion-menu.js +76 -26
- package/components/ion-modal.js +46 -42
- package/components/ion-nav.js +5 -2
- package/components/ion-picker.js +11 -16
- package/components/ion-range.js +41 -6
- package/components/ion-refresher.js +5 -3
- package/components/ion-reorder-group.js +3 -1
- package/components/ion-route-redirect.js +3 -0
- package/components/ion-route.js +4 -0
- package/components/ion-router-outlet.js +10 -14
- package/components/ion-searchbar.js +4 -0
- package/components/ion-segment-button.js +2 -0
- package/components/ion-segment.js +42 -25
- package/components/ion-select.js +36 -17
- package/components/ion-split-pane.js +4 -0
- package/components/ion-tab-bar.js +6 -0
- package/components/ion-tab.js +2 -0
- package/components/ion-textarea.js +8 -4
- package/components/ion-title.js +3 -1
- package/components/ion-toast.js +15 -17
- package/components/ion-toggle.js +12 -4
- package/components/ion-toolbar.js +2 -2
- package/components/ios.transition.js +1 -1
- package/components/item.js +48 -10
- package/components/label.js +5 -2
- package/components/lock-controller.js +38 -0
- package/components/md.transition.js +1 -1
- package/components/notch-controller.js +1 -1
- package/components/overlays.js +30 -10
- package/components/picker-column-internal.js +2 -0
- package/components/picker-column.js +3 -1
- package/components/popover.js +20 -30
- package/components/radio-group.js +4 -2
- package/components/radio.js +15 -4
- package/components/swipe-back.js +8 -4
- package/css/core.css +0 -1
- package/css/core.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/dist/cjs/{animation-c68ec4cb.js → animation-c8bdd3c7.js} +62 -3
- package/dist/cjs/{app-globals-3ba8ddad.js → app-globals-fe1ad535.js} +1 -1
- package/dist/cjs/{button-active-7578c6c2.js → button-active-0932cee9.js} +3 -3
- package/dist/cjs/{capacitor-a77e977e.js → capacitor-2ffba62a.js} +1 -1
- package/dist/cjs/{data-3a7f5c1a.js → data-db832785.js} +48 -10
- package/dist/cjs/{form-controller-d42b8c05.js → form-controller-5e223b54.js} +1 -1
- package/dist/cjs/{framework-delegate-d2bbe945.js → framework-delegate-c0873a6f.js} +22 -3
- package/dist/cjs/{haptic-89b33156.js → haptic-c5f6b4d5.js} +1 -1
- package/dist/cjs/{index-def9efb5.js → index-0ee995e4.js} +1 -1
- package/dist/cjs/{index-dc56ac38.js → index-10873539.js} +2 -2
- package/dist/cjs/{index-b358eb23.js → index-305a23dc.js} +283 -96
- package/dist/cjs/{index-404c1016.js → index-9f379eaa.js} +2 -2
- package/dist/cjs/{index-4e642409.js → index-d3568232.js} +4 -4
- package/dist/cjs/{index-1901dd17.js → index-f94cbab1.js} +4 -4
- package/dist/cjs/index.cjs.js +24 -23
- package/dist/cjs/{input-shims-9b42b3fe.js → input-shims-da7dc0de.js} +96 -16
- package/dist/cjs/{input.utils-7e077818.js → input.utils-0fe3097c.js} +3 -3
- package/dist/cjs/ion-accordion_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-action-sheet.cjs.entry.js +24 -32
- package/dist/cjs/ion-alert.cjs.entry.js +27 -35
- package/dist/cjs/ion-app_8.cjs.entry.js +81 -41
- package/dist/cjs/ion-avatar_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-back-button.cjs.entry.js +5 -5
- package/dist/cjs/ion-backdrop.cjs.entry.js +3 -3
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-button_2.cjs.entry.js +21 -5
- package/dist/cjs/ion-card_5.cjs.entry.js +4 -4
- package/dist/cjs/ion-checkbox.cjs.entry.js +20 -13
- package/dist/cjs/ion-chip.cjs.entry.js +3 -3
- package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime-button.cjs.entry.js +9 -6
- package/dist/cjs/ion-datetime_3.cjs.entry.js +156 -125
- package/dist/cjs/ion-fab_3.cjs.entry.js +7 -7
- package/dist/cjs/ion-img.cjs.entry.js +3 -3
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-input.cjs.entry.js +11 -11
- package/dist/cjs/ion-item-option_3.cjs.entry.js +8 -8
- package/dist/cjs/ion-item_8.cjs.entry.js +43 -16
- package/dist/cjs/ion-loading.cjs.entry.js +19 -27
- package/dist/cjs/ion-menu_3.cjs.entry.js +83 -38
- package/dist/cjs/ion-modal.cjs.entry.js +59 -58
- package/dist/cjs/ion-nav_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-picker-column-internal.cjs.entry.js +7 -7
- package/dist/cjs/ion-picker-internal.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +26 -40
- package/dist/cjs/ion-progress-bar.cjs.entry.js +4 -4
- package/dist/cjs/ion-radio_2.cjs.entry.js +16 -11
- package/dist/cjs/ion-range.cjs.entry.js +42 -14
- package/dist/cjs/ion-refresher_2.cjs.entry.js +16 -16
- package/dist/cjs/ion-reorder_2.cjs.entry.js +10 -10
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +4 -4
- package/dist/cjs/ion-searchbar.cjs.entry.js +6 -6
- package/dist/cjs/ion-segment_2.cjs.entry.js +40 -29
- package/dist/cjs/ion-select_3.cjs.entry.js +45 -31
- package/dist/cjs/ion-spinner.cjs.entry.js +4 -4
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +12 -8
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +3 -3
- package/dist/cjs/ion-textarea.cjs.entry.js +12 -12
- package/dist/cjs/ion-toast.cjs.entry.js +23 -28
- package/dist/cjs/ion-toggle.cjs.entry.js +20 -15
- package/dist/cjs/{ionic-global-5e671da5.js → ionic-global-fb752503.js} +1 -1
- package/dist/cjs/ionic.cjs.js +5 -8
- package/dist/cjs/{ios.transition-0b0d2e7f.js → ios.transition-7d688757.js} +5 -5
- package/dist/cjs/{keyboard-2eabd73b.js → keyboard-38f2bb7b.js} +3 -3
- package/dist/cjs/{keyboard-controller-4aa8c1d6.js → keyboard-controller-50beb83a.js} +2 -2
- package/dist/cjs/{keyboard-f35d0b9d.js → keyboard-fd7db491.js} +1 -1
- package/dist/cjs/loader.cjs.js +5 -14
- package/dist/cjs/lock-controller-4ae2eb59.js +40 -0
- package/dist/cjs/{md.transition-481e9b5f.js → md.transition-d77d3c2e.js} +5 -5
- package/dist/cjs/{notch-controller-159c65d4.js → notch-controller-f4f6af5d.js} +3 -3
- package/dist/cjs/{overlays-d17b3668.js → overlays-7e1a08fa.js} +36 -16
- package/dist/cjs/{status-tap-6061aa3f.js → status-tap-778e8054.js} +4 -4
- package/dist/cjs/{swipe-back-75dad2d4.js → swipe-back-7e843e77.js} +11 -7
- package/dist/collection/collection-manifest.json +94 -94
- package/dist/collection/components/accordion/accordion.js +4 -4
- package/dist/collection/components/accordion/test/a11y/accordion.e2e.js +1 -1
- package/dist/collection/components/accordion/test/accordion.e2e.js +1 -1
- package/dist/collection/components/accordion/test/basic/accordion.e2e.js +1 -1
- package/dist/collection/components/accordion/test/multiple/accordion.e2e.js +1 -1
- package/dist/collection/components/accordion/test/nested/accordion.e2e.js +1 -1
- package/dist/collection/components/accordion/test/standalone/accordion.e2e.js +2 -2
- package/dist/collection/components/accordion-group/accordion-group.js +12 -7
- package/dist/collection/components/action-sheet/action-sheet.js +47 -39
- package/dist/collection/components/action-sheet/test/a11y/action-sheet.e2e.js +19 -4
- package/dist/collection/components/action-sheet/test/basic/action-sheet-rendering.e2e.js +1 -1
- package/dist/collection/components/action-sheet/test/basic/action-sheet.e2e.js +2 -2
- package/dist/collection/components/action-sheet/test/basic/fixture.js +1 -1
- package/dist/collection/components/action-sheet/test/is-open/action-sheet.e2e.js +1 -1
- package/dist/collection/components/action-sheet/test/translucent/action-sheet.e2e.js +1 -1
- package/dist/collection/components/action-sheet/test/trigger/action-sheet.e2e.js +1 -1
- package/dist/collection/components/alert/alert.ios.css +3 -8
- package/dist/collection/components/alert/alert.js +52 -42
- package/dist/collection/components/alert/alert.md.css +3 -9
- package/dist/collection/components/alert/test/a11y/alert.e2e.js +11 -2
- package/dist/collection/components/alert/test/basic/alert.e2e.js +1 -1
- package/dist/collection/components/alert/test/is-open/alert.e2e.js +1 -1
- package/dist/collection/components/alert/test/standalone/alert.e2e.js +1 -1
- package/dist/collection/components/alert/test/trigger/alert.e2e.js +1 -1
- package/dist/collection/components/app/app.js +7 -5
- package/dist/collection/components/app/test/safe-area/app.e2e.js +1 -1
- package/dist/collection/components/avatar/avatar.js +2 -2
- package/dist/collection/components/avatar/test/basic/avatar.e2e.js +1 -1
- package/dist/collection/components/back-button/back-button.js +8 -6
- package/dist/collection/components/back-button/test/basic/back-button.e2e.js +1 -1
- package/dist/collection/components/back-button/test/toolbar/back-button.e2e.js +1 -1
- package/dist/collection/components/backdrop/backdrop.js +2 -2
- package/dist/collection/components/badge/badge.js +4 -3
- package/dist/collection/components/badge/test/basic/badge.e2e.js +1 -1
- package/dist/collection/components/breadcrumb/breadcrumb.js +11 -7
- package/dist/collection/components/breadcrumbs/breadcrumbs.js +6 -4
- package/dist/collection/components/breadcrumbs/test/a11y/breadcrumbs.e2e.js +2 -2
- package/dist/collection/components/breadcrumbs/test/basic/breadcrumbs.e2e.js +1 -1
- package/dist/collection/components/breadcrumbs/test/collapsed/breadcrumbs.e2e.js +1 -1
- package/dist/collection/components/breadcrumbs/test/reactive/breadcrumbs.e2e.js +1 -1
- package/dist/collection/components/button/button.js +26 -6
- package/dist/collection/components/button/test/basic/button.e2e.js +1 -1
- package/dist/collection/components/button/test/clear/button.e2e.js +1 -1
- package/dist/collection/components/button/test/expand/button.e2e.js +1 -1
- package/dist/collection/components/button/test/form-reference/button.e2e.js +1 -1
- package/dist/collection/components/button/test/icon/button.e2e.js +1 -1
- package/dist/collection/components/button/test/outline/button.e2e.js +1 -1
- package/dist/collection/components/button/test/round/button.e2e.js +1 -1
- package/dist/collection/components/button/test/size/button.e2e.js +1 -1
- package/dist/collection/components/button/test/strong/button.e2e.js +1 -1
- package/dist/collection/components/button/test/wrap/button.e2e.js +1 -1
- package/dist/collection/components/buttons/buttons.js +2 -2
- package/dist/collection/components/card/card.js +8 -5
- package/dist/collection/components/card/test/basic/card.e2e.js +1 -1
- package/dist/collection/components/card-content/card-content.js +2 -2
- package/dist/collection/components/card-header/card-header.js +4 -3
- package/dist/collection/components/card-header/test/basic/card-header.e2e.js +1 -1
- package/dist/collection/components/card-subtitle/card-subtitle.js +4 -3
- package/dist/collection/components/card-title/card-title.js +4 -3
- package/dist/collection/components/checkbox/checkbox.ios.css +67 -0
- package/dist/collection/components/checkbox/checkbox.js +41 -13
- package/dist/collection/components/checkbox/checkbox.md.css +67 -0
- package/dist/collection/components/checkbox/test/a11y/checkbox.e2e.js +2 -2
- package/dist/collection/components/checkbox/test/basic/checkbox.e2e.js +18 -1
- package/dist/collection/components/checkbox/test/color/checkbox.e2e.js +3 -3
- package/dist/collection/components/checkbox/test/indeterminate/checkbox.e2e.js +1 -1
- package/dist/collection/components/checkbox/test/item/checkbox.e2e.js +18 -5
- package/dist/collection/components/checkbox/test/label/checkbox.e2e.js +38 -11
- package/dist/collection/components/checkbox/test/legacy/basic/checkbox.e2e.js +19 -2
- package/dist/collection/components/checkbox/test/legacy/indeterminate/checkbox.e2e.js +2 -2
- package/dist/collection/components/checkbox/test/states/checkbox.e2e.js +5 -5
- package/dist/collection/components/chip/chip.js +4 -3
- package/dist/collection/components/chip/test/basic/chip.e2e.js +1 -1
- package/dist/collection/components/chip/test/states/chip.e2e.js +1 -1
- package/dist/collection/components/col/col.js +2 -2
- package/dist/collection/components/content/content.js +76 -24
- package/dist/collection/components/content/test/basic/content.e2e.js +1 -1
- package/dist/collection/components/content/test/fixed/content.e2e.js +1 -1
- package/dist/collection/components/content/test/fullscreen/content.e2e.js +1 -1
- package/dist/collection/components/content/test/standalone/content.e2e.js +1 -1
- package/dist/collection/components/datetime/datetime.ios.css +32 -29
- package/dist/collection/components/datetime/datetime.js +169 -114
- package/dist/collection/components/datetime/datetime.md.css +20 -28
- package/dist/collection/components/datetime/test/basic/datetime.e2e.js +26 -1
- package/dist/collection/components/datetime/test/color/datetime.e2e.js +2 -2
- package/dist/collection/components/datetime/test/custom/datetime.e2e.js +28 -9
- package/dist/collection/components/datetime/test/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/disable-dates/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/display/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/first-day-of-week/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/highlighted-dates/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/hour-cycle/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/locale/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/minmax/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/month-year-picker/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/multiple/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/position/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/prefer-wheel/datetime.e2e.js +16 -1
- package/dist/collection/components/datetime/test/presentation/datetime.e2e.js +49 -18
- package/dist/collection/components/datetime/test/set-value/datetime.e2e.js +10 -13
- package/dist/collection/components/datetime/test/time-label/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/test/values/datetime.e2e.js +1 -1
- package/dist/collection/components/datetime/utils/data.js +18 -10
- package/dist/collection/components/datetime/utils/format.js +1 -1
- package/dist/collection/components/datetime/utils/manipulation.js +3 -3
- package/dist/collection/components/datetime/utils/parse.js +36 -5
- package/dist/collection/components/datetime/utils/state.js +3 -3
- package/dist/collection/components/datetime-button/datetime-button.js +11 -7
- package/dist/collection/components/datetime-button/test/basic/datetime-button.e2e.js +1 -1
- package/dist/collection/components/datetime-button/test/disabled/datetime-button.e2e.js +1 -1
- package/dist/collection/components/datetime-button/test/multiple/datetime-button.e2e.js +1 -1
- package/dist/collection/components/datetime-button/test/overlays/datetime-button.e2e.js +1 -1
- package/dist/collection/components/fab/fab.css +88 -28
- package/dist/collection/components/fab/fab.js +6 -4
- package/dist/collection/components/fab/test/basic/fab.e2e.js +1 -1
- package/dist/collection/components/fab/test/custom-size/fab.e2e.js +17 -0
- package/dist/collection/components/fab/test/states/fab.e2e.js +1 -1
- package/dist/collection/components/fab/test/translucent/fab.e2e.js +1 -1
- package/dist/collection/components/fab-button/fab-button.js +9 -6
- package/dist/collection/components/fab-button/test/a11y/fab-button.e2e.js +1 -1
- package/dist/collection/components/fab-list/fab-list.css +17 -10
- package/dist/collection/components/fab-list/fab-list.js +2 -2
- package/dist/collection/components/footer/footer.js +3 -3
- package/dist/collection/components/footer/footer.utils.js +1 -1
- package/dist/collection/components/footer/test/basic/footer.e2e.js +1 -1
- package/dist/collection/components/footer/test/fade/footer.e2e.js +1 -1
- package/dist/collection/components/footer/test/scroll-target/footer.e2e.js +1 -1
- package/dist/collection/components/footer/test/with-tabs/footer.e2e.js +1 -1
- package/dist/collection/components/grid/grid.js +2 -2
- package/dist/collection/components/grid/test/basic/grid.e2e.js +1 -1
- package/dist/collection/components/grid/test/offsets/grid.e2e.js +1 -1
- package/dist/collection/components/grid/test/padding/grid.e2e.js +1 -1
- package/dist/collection/components/grid/test/sizes/grid.e2e.js +1 -1
- package/dist/collection/components/header/header.ios.css +26 -1
- package/dist/collection/components/header/header.js +3 -3
- package/dist/collection/components/header/header.utils.js +1 -1
- package/dist/collection/components/header/test/a11y/header.e2e.js +2 -2
- package/dist/collection/components/header/test/basic/header.e2e.js +1 -1
- package/dist/collection/components/header/test/condense/header.e2e.js +1 -1
- package/dist/collection/components/header/test/fade/header.e2e.js +1 -1
- package/dist/collection/components/header/test/scroll-target/header.e2e.js +1 -1
- package/dist/collection/components/icon/test/basic/icon.e2e.js +1 -1
- package/dist/collection/components/icon/test/dir/icon.e2e.js +1 -1
- package/dist/collection/components/img/img.js +2 -2
- package/dist/collection/components/img/test/basic/img.e2e.js +1 -1
- package/dist/collection/components/img/test/draggable/img.e2e.js +1 -1
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +4 -3
- package/dist/collection/components/infinite-scroll/test/basic/infinite-scroll.e2e.js +1 -1
- package/dist/collection/components/infinite-scroll/test/scroll-target/infinite-scroll.e2e.js +1 -1
- package/dist/collection/components/infinite-scroll/test/top/infinite-scroll.e2e.js +1 -1
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +7 -5
- package/dist/collection/components/input/input.js +27 -16
- package/dist/collection/components/input/test/a11y/input.e2e.js +2 -2
- package/dist/collection/components/input/test/basic/input.e2e.js +1 -1
- package/dist/collection/components/input/test/bottom-content/input.e2e.js +8 -8
- package/dist/collection/components/input/test/card/input.e2e.js +2 -2
- package/dist/collection/components/input/test/clear-on-edit/input.e2e.js +33 -0
- package/dist/collection/components/input/test/color/input.e2e.js +16 -16
- package/dist/collection/components/input/test/fill/input.e2e.js +11 -11
- package/dist/collection/components/input/test/highlight/input.e2e.js +10 -10
- package/dist/collection/components/input/test/input.e2e.js +1 -1
- package/dist/collection/components/input/test/item/input.e2e.js +3 -3
- package/dist/collection/components/input/test/label-placement/input.e2e.js +17 -17
- package/dist/collection/components/input/test/legacy/a11y/input.e2e.js +1 -1
- package/dist/collection/components/input/test/legacy/basic/input.e2e.js +11 -11
- package/dist/collection/components/input/test/legacy/clear-on-edit/input.e2e.js +1 -1
- package/dist/collection/components/input/test/legacy/input-events.e2e.js +1 -1
- package/dist/collection/components/input/test/legacy/masking/input.e2e.js +1 -1
- package/dist/collection/components/input/test/legacy/spec/input.e2e.js +1 -1
- package/dist/collection/components/input/test/states/input.e2e.js +3 -3
- package/dist/collection/components/item/item.ios.css +8 -4
- package/dist/collection/components/item/item.js +57 -14
- package/dist/collection/components/item/item.md.css +8 -4
- package/dist/collection/components/item/test/a11y/item.e2e.js +2 -2
- package/dist/collection/components/item/test/alignment/item.e2e.js +1 -1
- package/dist/collection/components/item/test/basic/item.e2e.js +1 -1
- package/dist/collection/components/item/test/buttons/item.e2e.js +1 -1
- package/dist/collection/components/item/test/colors/item.e2e.js +1 -1
- package/dist/collection/components/item/test/counter/item.e2e.js +1 -1
- package/dist/collection/components/item/test/css-variables/item.e2e.js +1 -1
- package/dist/collection/components/item/test/disabled/item.e2e.js +1 -1
- package/dist/collection/components/item/test/dividers/item.e2e.js +1 -1
- package/dist/collection/components/item/test/groups/item.e2e.js +1 -1
- package/dist/collection/components/item/test/highlight/item.e2e.js +1 -1
- package/dist/collection/components/item/test/icons/item.e2e.js +1 -1
- package/dist/collection/components/item/test/images/item.e2e.js +1 -1
- package/dist/collection/components/item/test/inputs/item.e2e.js +1 -1
- package/dist/collection/components/item/test/legacy/alignment/item.e2e.js +1 -1
- package/dist/collection/components/item/test/legacy/disabled/item.e2e.js +1 -1
- package/dist/collection/components/item/test/legacy/fill/item.e2e.js +1 -1
- package/dist/collection/components/item/test/legacy/form/item.e2e.js +1 -1
- package/dist/collection/components/item/test/lines/item.e2e.js +1 -1
- package/dist/collection/components/item/test/media/item.e2e.js +1 -1
- package/dist/collection/components/item/test/reorder/item.e2e.js +1 -1
- package/dist/collection/components/item/test/slotted-inputs/item.e2e.js +1 -1
- package/dist/collection/components/item/test/states/item.e2e.js +1 -1
- package/dist/collection/components/item/test/text/item.e2e.js +1 -1
- package/dist/collection/components/item-divider/item-divider.js +4 -3
- package/dist/collection/components/item-divider/test/basic/item-divider.e2e.js +1 -1
- package/dist/collection/components/item-divider/test/spec/item-divider.e2e.js +1 -1
- package/dist/collection/components/item-group/item-group.js +2 -2
- package/dist/collection/components/item-option/item-option.js +4 -3
- package/dist/collection/components/item-options/item-options.js +6 -4
- package/dist/collection/components/item-sliding/item-sliding.js +14 -8
- package/dist/collection/components/item-sliding/test/async/item-sliding.e2e.js +1 -1
- package/dist/collection/components/item-sliding/test/basic/item-sliding.e2e.js +39 -13
- package/dist/collection/components/item-sliding/test/icons/item-sliding.e2e.js +22 -7
- package/dist/collection/components/item-sliding/test/scroll-target/item-sliding.e2e.js +4 -10
- package/dist/collection/components/item-sliding/test/test.utils.js +9 -1
- package/dist/collection/components/label/label.ios.css +2 -4
- package/dist/collection/components/label/label.js +8 -5
- package/dist/collection/components/label/label.md.css +2 -4
- package/dist/collection/components/label/test/basic/label.e2e.js +1 -1
- package/dist/collection/components/label/test/color/label.e2e.js +1 -1
- package/dist/collection/components/label/test/headings/label.e2e.js +1 -1
- package/dist/collection/components/list/list.js +4 -3
- package/dist/collection/components/list/test/a11y/list.e2e.js +2 -2
- package/dist/collection/components/list/test/basic/list.e2e.js +1 -1
- package/dist/collection/components/list/test/inset/list.e2e.js +1 -1
- package/dist/collection/components/list/test/lines/list.e2e.js +1 -1
- package/dist/collection/components/list-header/list-header.js +4 -3
- package/dist/collection/components/list-header/test/basic/list-header.e2e.js +1 -1
- package/dist/collection/components/loading/loading.js +49 -40
- package/dist/collection/components/loading/test/a11y/loading.e2e.js +2 -2
- package/dist/collection/components/loading/test/basic/loading.e2e.js +1 -1
- package/dist/collection/components/loading/test/is-open/loading.e2e.js +1 -1
- package/dist/collection/components/loading/test/standalone/loading.e2e.js +1 -1
- package/dist/collection/components/loading/test/trigger/loading.e2e.js +1 -1
- package/dist/collection/components/menu/menu.ios.css +102 -0
- package/dist/collection/components/menu/menu.js +86 -33
- package/dist/collection/components/menu/menu.md.css +102 -0
- package/dist/collection/components/menu/test/a11y/menu.e2e.js +2 -2
- package/dist/collection/components/menu/test/basic/menu.e2e.js +1 -1
- package/dist/collection/components/menu/test/disable/menu.e2e.js +55 -0
- package/dist/collection/components/menu/test/focus-trap/menu.e2e.js +1 -1
- package/dist/collection/components/menu/test/safe-area/menu.e2e.js +87 -0
- package/dist/collection/components/menu-button/menu-button.js +7 -6
- package/dist/collection/components/menu-button/test/a11y/menu-button.e2e.js +2 -2
- package/dist/collection/components/menu-button/test/async/menu-button.e2e.js +23 -0
- package/dist/collection/components/menu-button/test/basic/menu-button.e2e.js +1 -1
- package/dist/collection/components/menu-toggle/menu-toggle.js +3 -3
- package/dist/collection/components/menu-toggle/test/basic/menu-toggle.e2e.js +1 -1
- package/dist/collection/components/modal/animations/ios.enter.js +2 -2
- package/dist/collection/components/modal/animations/ios.leave.js +2 -2
- package/dist/collection/components/modal/animations/md.enter.js +1 -1
- package/dist/collection/components/modal/animations/md.leave.js +1 -1
- package/dist/collection/components/modal/animations/sheet.js +1 -1
- package/dist/collection/components/modal/gestures/sheet.js +2 -2
- package/dist/collection/components/modal/gestures/swipe-to-close.js +2 -2
- package/dist/collection/components/modal/modal.js +102 -76
- package/dist/collection/components/modal/test/a11y/modal.e2e.js +2 -2
- package/dist/collection/components/modal/test/basic/modal.e2e.js +1 -1
- package/dist/collection/components/modal/test/can-dismiss/modal-card.e2e.js +1 -1
- package/dist/collection/components/modal/test/can-dismiss/modal-sheet.e2e.js +2 -2
- package/dist/collection/components/modal/test/can-dismiss/modal.e2e.js +1 -1
- package/dist/collection/components/modal/test/card/modal-card.e2e.js +2 -2
- package/dist/collection/components/modal/test/card/modal-tablet.e2e.js +6 -6
- package/dist/collection/components/modal/test/card-nav/modal.e2e.js +5 -6
- package/dist/collection/components/modal/test/card-refresher/modal.e2e.js +2 -2
- package/dist/collection/components/modal/test/card-scroll-target/modal.e2e.js +2 -2
- package/dist/collection/components/modal/test/custom/modal.e2e.js +1 -1
- package/dist/collection/components/modal/test/custom-dialog/modal.e2e.js +1 -1
- package/dist/collection/components/modal/test/dark-mode/model.e2e.js +1 -1
- package/dist/collection/components/modal/test/fixtures.js +1 -1
- package/dist/collection/components/modal/test/inline/modal.e2e.js +1 -1
- package/dist/collection/components/modal/test/is-open/modal.e2e.js +1 -1
- package/dist/collection/components/modal/test/sheet/modal.e2e.js +2 -2
- package/dist/collection/components/modal/test/trigger/modal.e2e.js +1 -1
- package/dist/collection/components/modal/utils.spec.js +1 -1
- package/dist/collection/components/nav/nav.css +0 -1
- package/dist/collection/components/nav/nav.js +129 -67
- package/dist/collection/components/nav/test/basic/nav.e2e.js +1 -1
- package/dist/collection/components/nav/test/modal-navigation/nav.e2e.js +1 -1
- package/dist/collection/components/nav/test/nested/nav.e2e.js +1 -1
- package/dist/collection/components/nav/test/routing/nav.e2e.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +10 -6
- package/dist/collection/components/note/note.js +4 -3
- package/dist/collection/components/note/test/basic/note.e2e.js +1 -1
- package/dist/collection/components/picker/picker.js +50 -39
- package/dist/collection/components/picker/test/basic/picker.e2e.js +1 -1
- package/dist/collection/components/picker/test/is-open/picker.e2e.js +1 -1
- package/dist/collection/components/picker/test/trigger/picker.e2e.js +1 -1
- package/dist/collection/components/picker-column/picker-column.js +6 -4
- package/dist/collection/components/picker-column/test/standalone/picker-column.e2e.js +1 -1
- package/dist/collection/components/picker-column/test/test.utils.js +2 -2
- package/dist/collection/components/picker-column-internal/picker-column-internal.js +12 -7
- package/dist/collection/components/picker-column-internal/test/basic/picker-column-internal.e2e.js +1 -1
- package/dist/collection/components/picker-column-internal/test/disabled/picker-column-internal.e2e.js +1 -1
- package/dist/collection/components/picker-internal/picker-internal.js +5 -3
- package/dist/collection/components/picker-internal/test/a11y/picker-internal.e2e.js +2 -2
- package/dist/collection/components/picker-internal/test/basic/picker-internal.e2e.js +1 -1
- package/dist/collection/components/picker-internal/test/keyboard-entry/picker-internal.e2e.js +1 -1
- package/dist/collection/components/popover/animations/ios.enter.js +1 -1
- package/dist/collection/components/popover/animations/md.enter.js +1 -1
- package/dist/collection/components/popover/popover.js +84 -67
- package/dist/collection/components/popover/test/adjustment/popover.e2e.js +1 -1
- package/dist/collection/components/popover/test/arrow/popover.e2e.js +2 -2
- package/dist/collection/components/popover/test/async/popover.e2e.js +42 -0
- package/dist/collection/components/popover/test/basic/popover.e2e.js +2 -2
- package/dist/collection/components/popover/test/dismiss-on-select/popover.e2e.js +2 -2
- package/dist/collection/components/popover/test/fixture.js +1 -1
- package/dist/collection/components/popover/test/inline/popover.e2e.js +2 -2
- package/dist/collection/components/popover/test/is-open/popover.e2e.js +1 -1
- package/dist/collection/components/popover/test/nested/popover.e2e.js +1 -1
- package/dist/collection/components/popover/test/position/popover.e2e.js +2 -2
- package/dist/collection/components/popover/test/reference/popover.e2e.js +1 -1
- package/dist/collection/components/popover/test/size/popover.e2e.js +2 -2
- package/dist/collection/components/popover/test/standalone/popover.e2e.js +1 -1
- package/dist/collection/components/popover/test/test.utils.js +1 -1
- package/dist/collection/components/popover/test/trigger/popover.e2e.js +2 -2
- package/dist/collection/components/progress-bar/progress-bar.js +5 -4
- package/dist/collection/components/progress-bar/test/basic/progress-bar.e2e.js +1 -1
- package/dist/collection/components/progress-bar/test/buffer/progress-bar.e2e.js +20 -0
- package/dist/collection/components/progress-bar/test/determinate/progress-bar.e2e.js +20 -0
- package/dist/collection/components/radio/radio.ios.css +67 -0
- package/dist/collection/components/radio/radio.js +38 -11
- package/dist/collection/components/radio/radio.md.css +67 -0
- package/dist/collection/components/radio/test/a11y/radio.e2e.js +2 -2
- package/dist/collection/components/radio/test/color/radio.e2e.js +3 -3
- package/dist/collection/components/radio/test/item/radio.e2e.js +42 -4
- package/dist/collection/components/radio/test/label-placement/radio.e2e.js +41 -10
- package/dist/collection/components/radio/test/legacy/a11y/radio.e2e.js +5 -3
- package/dist/collection/components/radio/test/legacy/basic/radio.e2e.js +1 -1
- package/dist/collection/components/radio/test/states/radio.e2e.js +5 -5
- package/dist/collection/components/radio-group/radio-group.js +7 -5
- package/dist/collection/components/radio-group/test/basic/radio-group.e2e.js +2 -2
- package/dist/collection/components/radio-group/test/fixtures.js +1 -1
- package/dist/collection/components/radio-group/test/form/radio-group.e2e.js +1 -1
- package/dist/collection/components/radio-group/test/legacy/basic/radio-group.e2e.js +1 -1
- package/dist/collection/components/radio-group/test/legacy/form/radio-group.e2e.js +1 -1
- package/dist/collection/components/radio-group/test/legacy/search/radio-group.e2e.js +1 -1
- package/dist/collection/components/radio-group/test/radio-group-events.e2e.js +1 -1
- package/dist/collection/components/radio-group/test/search/radio-group.e2e.js +2 -2
- package/dist/collection/components/range/range.ios.css +80 -1
- package/dist/collection/components/range/range.js +53 -17
- package/dist/collection/components/range/range.md.css +80 -1
- package/dist/collection/components/range/test/a11y/range.e2e.js +2 -2
- package/dist/collection/components/range/test/active-bar-start/range.e2e.js +1 -1
- package/dist/collection/components/range/test/basic/range.e2e.js +1 -1
- package/dist/collection/components/range/test/color/range.e2e.js +2 -2
- package/dist/collection/components/range/test/custom/range.e2e.js +2 -2
- package/dist/collection/components/range/test/item/range.e2e.js +30 -4
- package/dist/collection/components/range/test/label/range.e2e.js +72 -13
- package/dist/collection/components/range/test/legacy/a11y/range.e2e.js +4 -4
- package/dist/collection/components/range/test/legacy/active-bar-start/range.e2e.js +2 -2
- package/dist/collection/components/range/test/legacy/basic/range.e2e.js +3 -8
- package/dist/collection/components/range/test/legacy/range-events.e2e.js +1 -1
- package/dist/collection/components/range/test/legacy/scroll-target/range.e2e.js +1 -1
- package/dist/collection/components/range/test/range-events.e2e.js +17 -18
- package/dist/collection/components/range/test/scroll-target/range.e2e.js +1 -1
- package/dist/collection/components/range/test/states/range.e2e.js +5 -5
- package/dist/collection/components/refresher/refresher.js +11 -7
- package/dist/collection/components/refresher/refresher.utils.js +1 -1
- package/dist/collection/components/refresher/test/basic/refresher.e2e.js +3 -4
- package/dist/collection/components/refresher/test/scroll-target/refresher.e2e.js +5 -6
- package/dist/collection/components/refresher/test/test.utils.js +4 -1
- package/dist/collection/components/refresher-content/refresher-content.js +13 -9
- package/dist/collection/components/reorder/reorder.js +3 -3
- package/dist/collection/components/reorder-group/reorder-group.js +6 -4
- package/dist/collection/components/reorder-group/test/basic/reorder-group.e2e.js +1 -1
- package/dist/collection/components/reorder-group/test/interactive/reorder-group.e2e.js +3 -5
- package/dist/collection/components/reorder-group/test/nested/reorder-group.e2e.js +3 -5
- package/dist/collection/components/reorder-group/test/scroll-target/reorder-group.e2e.js +3 -5
- package/dist/collection/components/ripple-effect/ripple-effect.js +4 -3
- package/dist/collection/components/ripple-effect/test/basic/ripple-effect.e2e.js +1 -1
- package/dist/collection/components/route/route.js +4 -2
- package/dist/collection/components/router/router.js +26 -16
- package/dist/collection/components/router/test/basic/router.e2e.js +1 -1
- package/dist/collection/components/router/test/guards/href/router.e2e.js +2 -2
- package/dist/collection/components/router/test/guards/link/router.e2e.js +2 -2
- package/dist/collection/components/router/test/guards/push/router.e2e.js +2 -2
- package/dist/collection/components/router/test/guards/router.e2e.js +1 -1
- package/dist/collection/components/router/utils/debug.js +1 -1
- package/dist/collection/components/router/utils/dom.js +1 -1
- package/dist/collection/components/router/utils/parser.js +1 -1
- package/dist/collection/components/router/utils/path.js +1 -1
- package/dist/collection/components/router-link/router-link.js +8 -5
- package/dist/collection/components/router-outlet/{route-outlet.css → router-outlet.css} +0 -1
- package/dist/collection/components/router-outlet/{route-outlet.js → router-outlet.js} +42 -30
- package/dist/collection/components/router-outlet/test/basic/router-outlet.e2e.js +1 -1
- package/dist/collection/components/row/row.js +2 -2
- package/dist/collection/components/searchbar/searchbar.js +20 -12
- package/dist/collection/components/searchbar/test/basic/searchbar.e2e.js +1 -1
- package/dist/collection/components/searchbar/test/events/searchbar.e2e.js +1 -1
- package/dist/collection/components/segment/segment.js +47 -30
- package/dist/collection/components/segment/test/a11y/segment.e2e.js +2 -2
- package/dist/collection/components/segment/test/basic/segment.e2e.js +1 -1
- package/dist/collection/components/segment/test/custom/segment.e2e.js +1 -1
- package/dist/collection/components/segment/test/icon/segment.e2e.js +1 -1
- package/dist/collection/components/segment/test/modes/segment.e2e.js +1 -1
- package/dist/collection/components/segment/test/scrollable/segment.e2e.js +41 -2
- package/dist/collection/components/segment/test/segment-events.e2e.js +1 -1
- package/dist/collection/components/segment/test/toolbar/segment.e2e.js +1 -1
- package/dist/collection/components/segment/test/wrap/segment.e2e.js +1 -1
- package/dist/collection/components/segment-button/segment-button.js +8 -5
- package/dist/collection/components/select/select.js +50 -28
- package/dist/collection/components/select/test/a11y/select.e2e.js +2 -2
- package/dist/collection/components/select/test/async/select.e2e.js +1 -1
- package/dist/collection/components/select/test/basic/select.e2e.js +22 -1
- package/dist/collection/components/select/test/card/select.e2e.js +2 -2
- package/dist/collection/components/select/test/color/select.e2e.js +4 -4
- package/dist/collection/components/select/test/compare-with/select.e2e.js +1 -1
- package/dist/collection/components/select/test/custom/select.e2e.js +1 -1
- package/dist/collection/components/select/test/disabled/select.e2e.js +30 -0
- package/dist/collection/components/select/test/fill/select.e2e.js +11 -11
- package/dist/collection/components/select/test/highlight/select.e2e.js +4 -4
- package/dist/collection/components/select/test/item/select.e2e.js +3 -3
- package/dist/collection/components/select/test/label/select.e2e.js +21 -21
- package/dist/collection/components/select/test/legacy/async/select.e2e.js +1 -1
- package/dist/collection/components/select/test/legacy/basic/select.e2e.js +1 -1
- package/dist/collection/components/select/test/legacy/compare-with/select.e2e.js +1 -1
- package/dist/collection/components/select/test/legacy/custom/custom.e2e.js +1 -1
- package/dist/collection/components/select/test/legacy/single-value/select.e2e.js +1 -1
- package/dist/collection/components/select/test/legacy/spec/select.e2e.js +1 -1
- package/dist/collection/components/select/test/legacy/wrapping/select.e2e.js +1 -1
- package/dist/collection/components/select/test/popover-size/select.e2e.js +1 -1
- package/dist/collection/components/select/test/states/select.e2e.js +5 -5
- package/dist/collection/components/select/test/toggle-icon/select.e2e.js +1 -1
- package/dist/collection/components/select/test/wrapping/select.e2e.js +1 -1
- package/dist/collection/components/select-option/select-option.js +2 -2
- package/dist/collection/components/select-popover/select-popover.js +4 -3
- package/dist/collection/components/select-popover/test/basic/select-popover.e2e.js +2 -2
- package/dist/collection/components/select-popover/test/fixtures.js +1 -1
- package/dist/collection/components/skeleton-text/skeleton-text.js +3 -3
- package/dist/collection/components/skeleton-text/test/basic/skeleton-text.e2e.js +1 -1
- package/dist/collection/components/skeleton-text/test/custom/skeleton-text.e2e.js +1 -1
- package/dist/collection/components/spinner/spinner.js +8 -6
- package/dist/collection/components/spinner/test/basic/spinner.e2e.js +1 -1
- package/dist/collection/components/spinner/test/color/spinner.e2e.js +1 -1
- package/dist/collection/components/spinner/test/resize/spinner.e2e.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -2
- package/dist/collection/components/split-pane/test/basic/split-pane.e2e.js +1 -1
- package/dist/collection/components/tab/tab.js +7 -4
- package/dist/collection/components/tab-bar/tab-bar.js +27 -4
- package/dist/collection/components/tab-bar/test/custom/tab-bar.e2e.js +1 -1
- package/dist/collection/components/tab-bar/test/translucent/tab-bar.e2e.js +31 -1
- package/dist/collection/components/tab-button/tab-button.js +7 -5
- package/dist/collection/components/tab-button/test/a11y/tab-button.e2e.js +2 -2
- package/dist/collection/components/tab-button/test/basic/tab-button.e2e.js +1 -1
- package/dist/collection/components/tab-button/test/layout/tab-button.e2e.js +1 -1
- package/dist/collection/components/tab-button/test/states/tab-button.e2e.js +1 -1
- package/dist/collection/components/tabs/tabs.js +19 -10
- package/dist/collection/components/tabs/test/basic/tabs.e2e.js +1 -1
- package/dist/collection/components/tabs/test/placements/tabs.e2e.js +1 -1
- package/dist/collection/components/text/test/basic/text.e2e.js +1 -1
- package/dist/collection/components/text/text.js +4 -3
- package/dist/collection/components/textarea/test/a11y/textarea.e2e.js +2 -2
- package/dist/collection/components/textarea/test/autogrow/textarea.e2e.js +1 -1
- package/dist/collection/components/textarea/test/bottom-content/textarea.e2e.js +7 -7
- package/dist/collection/components/textarea/test/card/textarea.e2e.js +2 -2
- package/dist/collection/components/textarea/test/clear-on-edit/textarea.e2e.js +25 -0
- package/dist/collection/components/textarea/test/color/textarea.e2e.js +16 -16
- package/dist/collection/components/textarea/test/cols/textarea.e2e.js +37 -0
- package/dist/collection/components/textarea/test/fill/textarea.e2e.js +11 -11
- package/dist/collection/components/textarea/test/highlight/textarea.e2e.js +10 -10
- package/dist/collection/components/textarea/test/item/textarea.e2e.js +3 -3
- package/dist/collection/components/textarea/test/label-placement/textarea.e2e.js +22 -22
- package/dist/collection/components/textarea/test/legacy/a11y/textarea.e2e.js +1 -1
- package/dist/collection/components/textarea/test/legacy/autogrow/textarea.e2e.js +6 -6
- package/dist/collection/components/textarea/test/legacy/basic/textarea.e2e.js +1 -1
- package/dist/collection/components/textarea/test/legacy/clear-on-edit/textarea.e2e.js +1 -1
- package/dist/collection/components/textarea/test/states/textarea.e2e.js +3 -3
- package/dist/collection/components/textarea/test/textarea-events.e2e.js +1 -1
- package/dist/collection/components/textarea/textarea.ios.css +16 -0
- package/dist/collection/components/textarea/textarea.js +23 -14
- package/dist/collection/components/textarea/textarea.md.css +16 -0
- package/dist/collection/components/thumbnail/test/basic/thumbnail.e2e.js +1 -1
- package/dist/collection/components/thumbnail/thumbnail.js +2 -2
- package/dist/collection/components/title/test/basic/title.e2e.js +16 -1
- package/dist/collection/components/title/title.ios.css +1 -1
- package/dist/collection/components/title/title.js +6 -4
- package/dist/collection/components/toast/test/a11y/toast.e2e.js +14 -6
- package/dist/collection/components/toast/test/basic/toast.e2e.js +1 -1
- package/dist/collection/components/toast/test/is-open/toast.e2e.js +1 -1
- package/dist/collection/components/toast/test/layout/toast.e2e.js +1 -1
- package/dist/collection/components/toast/test/standalone/toast.e2e.js +1 -1
- package/dist/collection/components/toast/test/trigger/toast.e2e.js +1 -1
- package/dist/collection/components/toast/toast.js +64 -46
- package/dist/collection/components/toggle/test/a11y/toggle.e2e.js +2 -2
- package/dist/collection/components/toggle/test/color/toggle.e2e.js +3 -3
- package/dist/collection/components/toggle/test/enable-on-off-labels/toggle.e2e.js +1 -1
- package/dist/collection/components/toggle/test/item/toggle.e2e.js +48 -5
- package/dist/collection/components/toggle/test/label/toggle.e2e.js +37 -10
- package/dist/collection/components/toggle/test/legacy/basic/toggle.e2e.js +1 -1
- package/dist/collection/components/toggle/test/legacy/enable-on-off-labels/toggle.e2e.js +3 -3
- package/dist/collection/components/toggle/test/legacy/sizes/toggle.e2e.js +2 -2
- package/dist/collection/components/toggle/test/sizes/toggle.e2e.js +1 -1
- package/dist/collection/components/toggle/test/states/toggle.e2e.js +4 -4
- package/dist/collection/components/toggle/toggle.ios.css +67 -1
- package/dist/collection/components/toggle/toggle.js +37 -11
- package/dist/collection/components/toggle/toggle.md.css +67 -1
- package/dist/collection/components/toolbar/test/basic/toolbar.e2e.js +1 -1
- package/dist/collection/components/toolbar/test/colors/toolbar.e2e.js +1 -1
- package/dist/collection/components/toolbar/toolbar.ios.css +12 -4
- package/dist/collection/components/toolbar/toolbar.js +4 -3
- package/dist/collection/components/toolbar/toolbar.md.css +2 -4
- package/dist/collection/global/ionic-global.js +3 -3
- package/dist/collection/index.js +2 -1
- package/dist/collection/utils/animation/animation.js +63 -4
- package/dist/collection/utils/animation/test/animationbuilder/animation.e2e.js +3 -0
- package/dist/collection/utils/animation/test/display/animation.e2e.js +1 -1
- package/dist/collection/utils/animation/test/hooks/animation.e2e.js +1 -1
- package/dist/collection/utils/animation/test/multiple/animation.e2e.js +1 -1
- package/dist/collection/utils/content/content.utils.spec.js +1 -1
- package/dist/collection/utils/content/index.js +2 -2
- package/dist/collection/utils/floating-point/floating-point.spec.js +1 -1
- package/dist/collection/utils/forms/notch-controller.js +1 -1
- package/dist/collection/utils/framework-delegate.js +22 -3
- package/dist/collection/utils/gesture/button-active.js +3 -3
- package/dist/collection/utils/gesture/index.js +3 -3
- package/dist/collection/utils/gesture/pointer-events.js +1 -1
- package/dist/collection/utils/gesture/swipe-back.js +10 -6
- package/dist/collection/utils/helpers.spec.js +1 -1
- package/dist/collection/utils/input-shims/hacks/hide-caret.js +2 -2
- package/dist/collection/utils/input-shims/hacks/input-blurring.js +1 -1
- package/dist/collection/utils/input-shims/hacks/scroll-assist.js +92 -10
- package/dist/collection/utils/input-shims/hacks/scroll-data.js +3 -4
- package/dist/collection/utils/input-shims/hacks/test/scroll-assist.e2e.js +1 -1
- package/dist/collection/utils/input-shims/input-shims.js +6 -6
- package/dist/collection/utils/keyboard/keyboard-controller.js +1 -1
- package/dist/collection/utils/keyboard/keyboard.js +1 -1
- package/dist/collection/utils/lock-controller.js +36 -0
- package/dist/collection/utils/menu-controller/animations/base.js +1 -1
- package/dist/collection/utils/menu-controller/animations/overlay.js +3 -3
- package/dist/collection/utils/menu-controller/animations/push.js +3 -3
- package/dist/collection/utils/menu-controller/animations/reveal.js +3 -3
- package/dist/collection/utils/menu-controller/index.js +5 -5
- package/dist/collection/utils/native/haptic.js +1 -1
- package/dist/collection/utils/native/keyboard.js +2 -2
- package/dist/collection/utils/native/status-bar.js +1 -1
- package/dist/collection/utils/overlays.js +35 -15
- package/dist/collection/utils/platform.js +1 -1
- package/dist/collection/utils/rtl/dir.spec.js +1 -1
- package/dist/collection/utils/status-tap.js +3 -3
- package/dist/collection/utils/tap-click/index.js +1 -1
- package/dist/collection/utils/tap-click/test/tap-click.e2e.js +1 -1
- package/dist/collection/utils/test/framework-delegate/framework-delegate.e2e.js +1 -1
- package/dist/collection/utils/test/overlays/overlays.e2e.js +1 -1
- package/dist/collection/utils/test/playwright/drag-element.js +67 -8
- package/dist/collection/utils/test/playwright/matchers/index.js +3 -3
- package/dist/collection/utils/test/playwright/matchers/toHaveReceivedEventDetail.js +2 -2
- package/dist/collection/utils/test/playwright/page/utils/goto.js +3 -0
- package/dist/collection/utils/test/playwright/page/utils/index.js +0 -1
- package/dist/collection/utils/test/playwright/page/utils/locator.js +1 -1
- package/dist/collection/utils/test/playwright/page/utils/set-content.js +3 -0
- package/dist/collection/utils/test/playwright/page/utils/spy-on-event.js +1 -1
- package/dist/collection/utils/test/playwright/playwright-page.js +4 -5
- package/dist/collection/utils/test/playwright/viewports/index.js +4 -0
- package/dist/collection/utils/transition/index.js +3 -3
- package/dist/collection/utils/transition/ios.transition.js +2 -2
- package/dist/collection/utils/transition/md.transition.js +2 -2
- package/dist/docs.d.ts +361 -88
- package/dist/docs.json +7176 -117
- package/dist/esm/{animation-258fd22b.js → animation-92066c62.js} +62 -3
- package/dist/esm/{app-globals-70454efb.js → app-globals-ec816a70.js} +1 -1
- package/dist/esm/{button-active-aef107f0.js → button-active-5136c12d.js} +3 -3
- package/dist/esm/{capacitor-6d1861b7.js → capacitor-b4979570.js} +1 -1
- package/dist/esm/{data-605c040f.js → data-009dbf15.js} +48 -10
- package/dist/esm/{form-controller-6cd7ebd1.js → form-controller-ed77647a.js} +1 -1
- package/dist/esm/{framework-delegate-6a45ed30.js → framework-delegate-aa433dea.js} +22 -3
- package/dist/esm/{haptic-d85b8584.js → haptic-6447af60.js} +1 -1
- package/dist/esm/{index-afea2bcf.js → index-641aeeed.js} +4 -4
- package/dist/esm/{index-7373924f.js → index-746a238e.js} +2 -2
- package/dist/esm/{index-36a5fd75.js → index-b49b173c.js} +283 -96
- package/dist/esm/{index-6e89f340.js → index-d78b533e.js} +4 -4
- package/dist/esm/{index-2d0c7c77.js → index-f0cc4e14.js} +2 -2
- package/dist/esm/{index-422b6e83.js → index-ff313b19.js} +2 -2
- package/dist/esm/index.js +17 -17
- package/dist/esm/{input-shims-5b912f6d.js → input-shims-d78a3c77.js} +93 -13
- package/dist/esm/{input.utils-4c00ca72.js → input.utils-ec063df4.js} +3 -3
- package/dist/esm/ion-accordion_2.entry.js +5 -5
- package/dist/esm/ion-action-sheet.entry.js +24 -32
- package/dist/esm/ion-alert.entry.js +27 -35
- package/dist/esm/ion-app_8.entry.js +81 -41
- package/dist/esm/ion-avatar_3.entry.js +3 -3
- package/dist/esm/ion-back-button.entry.js +5 -5
- package/dist/esm/ion-backdrop.entry.js +3 -3
- package/dist/esm/ion-breadcrumb_2.entry.js +5 -5
- package/dist/esm/ion-button_2.entry.js +21 -5
- package/dist/esm/ion-card_5.entry.js +4 -4
- package/dist/esm/ion-checkbox.entry.js +20 -13
- package/dist/esm/ion-chip.entry.js +3 -3
- package/dist/esm/ion-col_3.entry.js +2 -2
- package/dist/esm/ion-datetime-button.entry.js +9 -6
- package/dist/esm/ion-datetime_3.entry.js +156 -125
- package/dist/esm/ion-fab_3.entry.js +7 -7
- package/dist/esm/ion-img.entry.js +3 -3
- package/dist/esm/ion-infinite-scroll_2.entry.js +6 -6
- package/dist/esm/ion-input.entry.js +11 -11
- package/dist/esm/ion-item-option_3.entry.js +8 -8
- package/dist/esm/ion-item_8.entry.js +43 -16
- package/dist/esm/ion-loading.entry.js +19 -27
- package/dist/esm/ion-menu_3.entry.js +83 -38
- package/dist/esm/ion-modal.entry.js +59 -58
- package/dist/esm/ion-nav_2.entry.js +8 -8
- package/dist/esm/ion-picker-column-internal.entry.js +7 -7
- package/dist/esm/ion-picker-internal.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +26 -40
- package/dist/esm/ion-progress-bar.entry.js +4 -4
- package/dist/esm/ion-radio_2.entry.js +16 -11
- package/dist/esm/ion-range.entry.js +42 -14
- package/dist/esm/ion-refresher_2.entry.js +16 -16
- package/dist/esm/ion-reorder_2.entry.js +10 -10
- package/dist/esm/ion-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +4 -4
- package/dist/esm/ion-searchbar.entry.js +6 -6
- package/dist/esm/ion-segment_2.entry.js +40 -29
- package/dist/esm/ion-select_3.entry.js +45 -31
- package/dist/esm/ion-spinner.entry.js +4 -4
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +12 -8
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +3 -3
- package/dist/esm/ion-textarea.entry.js +12 -12
- package/dist/esm/ion-toast.entry.js +23 -28
- package/dist/esm/ion-toggle.entry.js +20 -15
- package/dist/esm/{ionic-global-a9abd569.js → ionic-global-246ca78f.js} +1 -1
- package/dist/esm/ionic.js +6 -9
- package/dist/esm/{ios.transition-6a838b0c.js → ios.transition-04c9a97a.js} +5 -5
- package/dist/esm/{keyboard-cdb83866.js → keyboard-b063f012.js} +1 -1
- package/dist/esm/{keyboard-a818f780.js → keyboard-b551279d.js} +3 -3
- package/dist/esm/{keyboard-controller-4149afc6.js → keyboard-controller-0c2dce71.js} +2 -2
- package/dist/esm/loader.js +6 -15
- package/dist/esm/lock-controller-e8c6c051.js +38 -0
- package/dist/esm/{md.transition-b7d7b475.js → md.transition-67a8aabd.js} +5 -5
- package/dist/esm/{notch-controller-cfcb8c01.js → notch-controller-8c9c0e54.js} +3 -3
- package/dist/esm/{overlays-4801a327.js → overlays-2fa52617.js} +35 -15
- package/dist/esm/{status-tap-211f1ad8.js → status-tap-9aeeaca5.js} +4 -4
- package/dist/esm/{swipe-back-1bb66ed2.js → swipe-back-cd4295f3.js} +11 -7
- package/dist/esm-es5/animation-92066c62.js +4 -0
- package/dist/esm-es5/app-globals-ec816a70.js +4 -0
- package/dist/esm-es5/{button-active-aef107f0.js → button-active-5136c12d.js} +1 -1
- package/dist/esm-es5/{capacitor-6d1861b7.js → capacitor-b4979570.js} +1 -1
- package/dist/esm-es5/data-009dbf15.js +4 -0
- package/dist/esm-es5/form-controller-ed77647a.js +4 -0
- package/dist/esm-es5/framework-delegate-aa433dea.js +4 -0
- package/dist/esm-es5/{haptic-d85b8584.js → haptic-6447af60.js} +1 -1
- package/dist/esm-es5/{index-afea2bcf.js → index-641aeeed.js} +1 -1
- package/dist/esm-es5/{index-7373924f.js → index-746a238e.js} +1 -1
- package/dist/esm-es5/index-b49b173c.js +5 -0
- package/dist/esm-es5/{index-6e89f340.js → index-d78b533e.js} +1 -1
- package/dist/esm-es5/{index-2d0c7c77.js → index-f0cc4e14.js} +1 -1
- package/dist/esm-es5/{index-422b6e83.js → index-ff313b19.js} +1 -1
- package/dist/esm-es5/index.js +1 -1
- package/dist/esm-es5/input-shims-d78a3c77.js +4 -0
- package/dist/esm-es5/{input.utils-4c00ca72.js → input.utils-ec063df4.js} +1 -1
- package/dist/esm-es5/ion-accordion_2.entry.js +1 -1
- package/dist/esm-es5/ion-action-sheet.entry.js +1 -1
- package/dist/esm-es5/ion-alert.entry.js +1 -1
- package/dist/esm-es5/ion-app_8.entry.js +1 -1
- package/dist/esm-es5/ion-avatar_3.entry.js +1 -1
- package/dist/esm-es5/ion-back-button.entry.js +1 -1
- package/dist/esm-es5/ion-backdrop.entry.js +1 -1
- package/dist/esm-es5/ion-breadcrumb_2.entry.js +1 -1
- package/dist/esm-es5/ion-button_2.entry.js +1 -1
- package/dist/esm-es5/ion-card_5.entry.js +1 -1
- package/dist/esm-es5/ion-checkbox.entry.js +1 -1
- package/dist/esm-es5/ion-chip.entry.js +1 -1
- package/dist/esm-es5/ion-col_3.entry.js +1 -1
- package/dist/esm-es5/ion-datetime-button.entry.js +1 -1
- package/dist/esm-es5/ion-datetime_3.entry.js +1 -1
- package/dist/esm-es5/ion-fab_3.entry.js +1 -1
- package/dist/esm-es5/ion-img.entry.js +1 -1
- package/dist/esm-es5/ion-infinite-scroll_2.entry.js +1 -1
- package/dist/esm-es5/ion-input.entry.js +1 -1
- package/dist/esm-es5/ion-item-option_3.entry.js +1 -1
- package/dist/esm-es5/ion-item_8.entry.js +1 -1
- package/dist/esm-es5/ion-loading.entry.js +1 -1
- package/dist/esm-es5/ion-menu_3.entry.js +1 -1
- package/dist/esm-es5/ion-modal.entry.js +1 -1
- package/dist/esm-es5/ion-nav_2.entry.js +1 -1
- package/dist/esm-es5/ion-picker-column-internal.entry.js +1 -1
- package/dist/esm-es5/ion-picker-internal.entry.js +1 -1
- package/dist/esm-es5/ion-popover.entry.js +1 -1
- package/dist/esm-es5/ion-progress-bar.entry.js +1 -1
- package/dist/esm-es5/ion-radio_2.entry.js +1 -1
- package/dist/esm-es5/ion-range.entry.js +1 -1
- package/dist/esm-es5/ion-refresher_2.entry.js +1 -1
- package/dist/esm-es5/ion-reorder_2.entry.js +1 -1
- package/dist/esm-es5/ion-ripple-effect.entry.js +1 -1
- package/dist/esm-es5/ion-route_4.entry.js +1 -1
- package/dist/esm-es5/ion-searchbar.entry.js +1 -1
- package/dist/esm-es5/ion-segment_2.entry.js +1 -1
- package/dist/esm-es5/ion-select_3.entry.js +1 -1
- package/dist/esm-es5/ion-spinner.entry.js +1 -1
- package/dist/esm-es5/ion-split-pane.entry.js +1 -1
- package/dist/esm-es5/ion-tab-bar_2.entry.js +1 -1
- package/dist/esm-es5/ion-tab_2.entry.js +1 -1
- package/dist/esm-es5/ion-text.entry.js +1 -1
- package/dist/esm-es5/ion-textarea.entry.js +1 -1
- package/dist/esm-es5/ion-toast.entry.js +1 -1
- package/dist/esm-es5/ion-toggle.entry.js +1 -1
- package/dist/esm-es5/{ionic-global-a9abd569.js → ionic-global-246ca78f.js} +1 -1
- package/dist/esm-es5/ionic.js +1 -1
- package/dist/esm-es5/{ios.transition-6a838b0c.js → ios.transition-04c9a97a.js} +1 -1
- package/dist/esm-es5/{keyboard-cdb83866.js → keyboard-b063f012.js} +1 -1
- package/dist/esm-es5/{keyboard-a818f780.js → keyboard-b551279d.js} +1 -1
- package/dist/esm-es5/{keyboard-controller-4149afc6.js → keyboard-controller-0c2dce71.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/lock-controller-e8c6c051.js +4 -0
- package/dist/esm-es5/md.transition-67a8aabd.js +4 -0
- package/dist/esm-es5/{notch-controller-cfcb8c01.js → notch-controller-8c9c0e54.js} +1 -1
- package/dist/esm-es5/overlays-2fa52617.js +4 -0
- package/dist/esm-es5/{status-tap-211f1ad8.js → status-tap-9aeeaca5.js} +1 -1
- package/dist/esm-es5/swipe-back-cd4295f3.js +4 -0
- package/dist/html.html-data.json +139 -91
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/ionic.js +2 -6
- package/dist/ionic/p-015187e5.system.js +4 -0
- package/dist/ionic/{p-40f778e6.js → p-02a4e81a.js} +1 -1
- package/dist/ionic/{p-e4146230.system.entry.js → p-03c381ec.system.entry.js} +1 -1
- package/dist/ionic/p-048f1ebe.entry.js +4 -0
- package/dist/ionic/{p-54d3d2b6.entry.js → p-04e7c8fd.entry.js} +1 -1
- package/dist/ionic/p-05ae600a.system.js +4 -0
- package/dist/ionic/p-06ac429a.js +5 -0
- package/dist/ionic/p-0c37546b.system.entry.js +4 -0
- package/dist/ionic/{p-9a7f5ed5.entry.js → p-108f9d49.entry.js} +1 -1
- package/dist/ionic/{p-f67dfe83.system.entry.js → p-117cd69f.system.entry.js} +1 -1
- package/dist/ionic/p-1289b3b5.system.entry.js +4 -0
- package/dist/ionic/p-13d6e57a.js +4 -0
- package/dist/ionic/{p-e3f387af.system.js → p-14d7b7e2.system.js} +1 -1
- package/dist/ionic/p-164b0e76.entry.js +4 -0
- package/dist/ionic/p-170e9de0.system.entry.js +4 -0
- package/dist/ionic/{p-609ac308.js → p-181b7c2a.js} +1 -1
- package/dist/ionic/p-19384b9e.entry.js +4 -0
- package/dist/ionic/p-1c82e9ff.js +4 -0
- package/dist/ionic/{p-f6f393ee.system.entry.js → p-1d0aa82f.system.entry.js} +1 -1
- package/dist/ionic/{p-ee5049fd.entry.js → p-1ecba429.entry.js} +1 -1
- package/dist/ionic/{p-5d6123f1.entry.js → p-1f81b5be.entry.js} +1 -1
- package/dist/ionic/{p-8a9d2a85.system.entry.js → p-238f0ac5.system.entry.js} +1 -1
- package/dist/ionic/{p-8a95273c.js → p-276afddd.js} +1 -1
- package/dist/ionic/{p-cd582fdb.system.entry.js → p-2784263e.system.entry.js} +1 -1
- package/dist/ionic/p-29073efe.system.entry.js +4 -0
- package/dist/ionic/p-29e3a9bb.entry.js +4 -0
- package/dist/ionic/{p-dcf7bf1d.entry.js → p-2a7c0093.entry.js} +1 -1
- package/dist/ionic/p-32083c2d.js +4 -0
- package/dist/ionic/{p-d267077c.system.entry.js → p-32717950.system.entry.js} +1 -1
- package/dist/ionic/p-32d364f0.entry.js +4 -0
- package/dist/ionic/{p-088a58a8.system.entry.js → p-33a8349a.system.entry.js} +1 -1
- package/dist/ionic/p-35818410.entry.js +4 -0
- package/dist/ionic/{p-f3116c14.system.js → p-3632220b.system.js} +1 -1
- package/dist/ionic/p-37448ac1.entry.js +4 -0
- package/dist/ionic/{p-9dcf76ff.system.entry.js → p-38ccfd71.system.entry.js} +1 -1
- package/dist/ionic/{p-9edd7119.system.entry.js → p-3a58e3a4.system.entry.js} +1 -1
- package/dist/ionic/p-3bad5c1a.js +4 -0
- package/dist/ionic/{p-f7515628.entry.js → p-3c2c6fce.entry.js} +1 -1
- package/dist/ionic/{p-aa7b8135.system.js → p-3d726a67.system.js} +1 -1
- package/dist/ionic/{p-e8b9a6b2.system.entry.js → p-3f3da911.system.entry.js} +1 -1
- package/dist/ionic/{p-59a47aff.system.js → p-41477ad9.system.js} +1 -1
- package/dist/ionic/{p-d7fd994b.js → p-419eb426.js} +1 -1
- package/dist/ionic/p-446230d7.js +4 -0
- package/dist/ionic/p-44ef7224.system.js +4 -0
- package/dist/ionic/{p-355aae8e.system.entry.js → p-45f5c8ba.system.entry.js} +1 -1
- package/dist/ionic/p-47db15c6.entry.js +4 -0
- package/dist/ionic/p-4811e4af.system.entry.js +4 -0
- package/dist/ionic/p-4b8db805.entry.js +4 -0
- package/dist/ionic/p-4bb26b01.system.entry.js +4 -0
- package/dist/ionic/{p-43060640.system.entry.js → p-4d6ac0fe.system.entry.js} +1 -1
- package/dist/ionic/p-4dd96c8d.entry.js +4 -0
- package/dist/ionic/{p-138fcf0f.entry.js → p-4e6e43c1.entry.js} +1 -1
- package/dist/ionic/{p-fa98c2a6.system.js → p-51269f3b.system.js} +1 -1
- package/dist/ionic/p-53b2a46f.js +4 -0
- package/dist/ionic/{p-465e0121.system.entry.js → p-54f6cd27.system.entry.js} +1 -1
- package/dist/ionic/{p-a7016aef.entry.js → p-55d3a9b2.entry.js} +1 -1
- package/dist/ionic/p-576e6d0f.system.entry.js +4 -0
- package/dist/ionic/{p-ab692eeb.entry.js → p-5b32b053.entry.js} +1 -1
- package/dist/ionic/p-5b976d70.entry.js +4 -0
- package/dist/ionic/p-5bc5008c.entry.js +4 -0
- package/dist/ionic/p-5c3e72a8.system.js +4 -0
- package/dist/ionic/p-5c651aab.system.entry.js +4 -0
- package/dist/ionic/p-5cd791b3.system.entry.js +4 -0
- package/dist/ionic/{p-0b761768.system.js → p-5ece7025.system.js} +1 -1
- package/dist/ionic/p-5efb899f.entry.js +4 -0
- package/dist/ionic/{p-9cfa25d2.system.entry.js → p-6129af0a.system.entry.js} +1 -1
- package/dist/ionic/{p-084b2140.system.js → p-613d4042.system.js} +1 -1
- package/dist/ionic/p-629aa3fd.system.js +5 -0
- package/dist/ionic/p-63505fbb.js +4 -0
- package/dist/ionic/{p-4c9a0825.system.js → p-64475ab5.system.js} +2 -2
- package/dist/ionic/{p-fc431180.entry.js → p-64e20cd9.entry.js} +1 -1
- package/dist/ionic/p-65a5761f.js +4 -0
- package/dist/ionic/p-6ac3e877.system.entry.js +4 -0
- package/dist/ionic/p-6ba7fad7.system.js +4 -0
- package/dist/ionic/{p-477f7813.entry.js → p-6ea2e653.entry.js} +1 -1
- package/dist/ionic/{p-94d4b708.system.entry.js → p-6f8a95a3.system.entry.js} +1 -1
- package/dist/ionic/p-6fb80ef3.system.entry.js +4 -0
- package/dist/ionic/p-706a0391.entry.js +4 -0
- package/dist/ionic/{p-c05662ba.system.entry.js → p-72aea40e.system.entry.js} +1 -1
- package/dist/ionic/p-73ed9a91.js +4 -0
- package/dist/ionic/{p-c1f5d275.js → p-76378400.js} +1 -1
- package/dist/ionic/p-772f6c84.system.js +4 -0
- package/dist/ionic/p-7cfd253c.js +4 -0
- package/dist/ionic/{p-a780a377.entry.js → p-818b2e75.entry.js} +1 -1
- package/dist/ionic/p-81c818e7.js +4 -0
- package/dist/ionic/p-8297652e.entry.js +4 -0
- package/dist/ionic/{p-322237d0.entry.js → p-839276d4.entry.js} +1 -1
- package/dist/ionic/{p-b46c09ac.system.entry.js → p-8a2801f1.system.entry.js} +1 -1
- package/dist/ionic/{p-46956a85.js → p-8b1be026.js} +1 -1
- package/dist/ionic/{p-0c92638a.js → p-8cf94fc1.js} +1 -1
- package/dist/ionic/p-8e24ebbc.js +4 -0
- package/dist/ionic/p-8ee012cb.system.entry.js +4 -0
- package/dist/ionic/{p-ec8a20f7.system.entry.js → p-908720f3.system.entry.js} +1 -1
- package/dist/ionic/p-914ac0fc.entry.js +4 -0
- package/dist/ionic/{p-f9f3ef7c.system.js → p-939e0fa1.system.js} +1 -1
- package/dist/ionic/p-95b14c73.system.entry.js +4 -0
- package/dist/ionic/{p-0dd11651.entry.js → p-96ba8eac.entry.js} +1 -1
- package/dist/ionic/{p-7c63a67f.system.entry.js → p-99dfa53f.system.entry.js} +1 -1
- package/dist/ionic/{p-86e57430.system.js → p-9ab6f3e6.system.js} +1 -1
- package/dist/ionic/{p-7cc4d08a.system.entry.js → p-9b4a77fc.system.entry.js} +1 -1
- package/dist/ionic/p-9f2e0db9.js +4 -0
- package/dist/ionic/p-a04bfada.entry.js +4 -0
- package/dist/ionic/p-a18ec02b.entry.js +4 -0
- package/dist/ionic/{p-2d55f2bd.system.js → p-ab4cff27.system.js} +1 -1
- package/dist/ionic/p-b109a3d7.system.entry.js +4 -0
- package/dist/ionic/p-b132c2c0.system.js +4 -0
- package/dist/ionic/p-b24aa895.js +4 -0
- package/dist/ionic/p-b287ab05.js +4 -0
- package/dist/ionic/{p-163145e8.system.entry.js → p-b3690814.system.entry.js} +1 -1
- package/dist/ionic/{p-c75da7cf.system.js → p-b3c68723.system.js} +1 -1
- package/dist/ionic/p-b61a2fa0.system.entry.js +4 -0
- package/dist/ionic/p-b912e055.system.js +4 -0
- package/dist/ionic/{p-28342e96.js → p-bb6f38ed.js} +1 -1
- package/dist/ionic/{p-c3325038.system.js → p-bba2ce59.system.js} +1 -1
- package/dist/ionic/{p-46cac66d.system.entry.js → p-beb864e4.system.entry.js} +1 -1
- package/dist/ionic/{p-40ed5852.system.js → p-c3efbcf5.system.js} +1 -1
- package/dist/ionic/p-c48fc95d.system.entry.js +4 -0
- package/dist/ionic/{p-505d3b57.system.js → p-c49672d8.system.js} +1 -1
- package/dist/ionic/{p-ed70dec7.entry.js → p-c4a5de01.entry.js} +1 -1
- package/dist/ionic/p-c7428627.system.entry.js +4 -0
- package/dist/ionic/p-ca5cf574.js +4 -0
- package/dist/ionic/p-cc196b34.js +4 -0
- package/dist/ionic/{p-0fba861a.system.js → p-ccdcb022.system.js} +1 -1
- package/dist/ionic/{p-fc2c5521.system.entry.js → p-cf0c93e3.system.entry.js} +1 -1
- package/dist/ionic/p-d0ad0430.system.entry.js +4 -0
- package/dist/ionic/{p-9912d985.js → p-d1de1188.js} +1 -1
- package/dist/ionic/p-d35217be.entry.js +4 -0
- package/dist/ionic/p-d55c9f92.system.entry.js +4 -0
- package/dist/ionic/{p-6f59ad61.entry.js → p-d7b8d224.entry.js} +1 -1
- package/dist/ionic/{p-66bd7d60.entry.js → p-d89d0de0.entry.js} +1 -1
- package/dist/ionic/{p-c056132d.entry.js → p-db1a1e00.entry.js} +1 -1
- package/dist/ionic/p-deb6ddad.entry.js +4 -0
- package/dist/ionic/{p-49ead5cb.system.js → p-df5fe0be.system.js} +1 -1
- package/dist/ionic/{p-13cb1942.system.entry.js → p-e0f52215.system.entry.js} +1 -1
- package/dist/ionic/p-e1ac688a.entry.js +4 -0
- package/dist/ionic/{p-54ada505.entry.js → p-e2fd0895.entry.js} +1 -1
- package/dist/ionic/{p-dd54d07b.system.entry.js → p-eab10949.system.entry.js} +1 -1
- package/dist/ionic/p-eac263dd.entry.js +4 -0
- package/dist/ionic/{p-30ae30f8.entry.js → p-ec9052a4.entry.js} +1 -1
- package/dist/ionic/p-f588e951.entry.js +4 -0
- package/dist/ionic/p-f623aa6d.entry.js +4 -0
- package/dist/ionic/p-f960fd84.system.entry.js +4 -0
- package/dist/ionic/{p-c3da26fd.system.js → p-fa8d4788.system.js} +1 -1
- package/dist/ionic/{p-d7e0a42b.system.js → p-fbcb157b.system.js} +2 -2
- package/dist/ionic/{p-a2e57f27.entry.js → p-fccfe602.entry.js} +1 -1
- package/dist/ionic/{p-1699be8e.entry.js → p-fcf47f80.entry.js} +1 -1
- package/dist/ionic/p-ff555f6f.system.entry.js +4 -0
- package/dist/ionic/{p-3ca87455.system.js → p-ff5a10f9.system.js} +1 -1
- package/dist/types/components/action-sheet/action-sheet-interface.d.ts +3 -0
- package/dist/types/components/action-sheet/action-sheet.d.ts +1 -1
- package/dist/types/components/alert/alert-interface.d.ts +3 -0
- package/dist/types/components/alert/alert.d.ts +1 -1
- package/dist/types/components/button/button.d.ts +9 -0
- package/dist/types/components/checkbox/checkbox.d.ts +9 -1
- package/dist/types/components/content/content.d.ts +2 -1
- package/dist/types/components/datetime/datetime.d.ts +23 -10
- package/dist/types/components/datetime/utils/data.d.ts +1 -1
- package/dist/types/components/datetime/utils/parse.d.ts +5 -5
- package/dist/types/components/item/item.d.ts +2 -0
- package/dist/types/components/item-sliding/test/test.utils.d.ts +5 -0
- package/dist/types/components/loading/loading.d.ts +1 -1
- package/dist/types/components/menu/menu.d.ts +10 -1
- package/dist/types/components/modal/modal.d.ts +1 -1
- package/dist/types/components/picker/picker-interface.d.ts +3 -0
- package/dist/types/components/picker/picker.d.ts +1 -1
- package/dist/types/components/popover/popover.d.ts +1 -1
- package/dist/types/components/radio/radio.d.ts +8 -1
- package/dist/types/components/range/range.d.ts +10 -1
- package/dist/types/components/router-outlet/{route-outlet.d.ts → router-outlet.d.ts} +1 -2
- package/dist/types/components/segment/segment.d.ts +1 -0
- package/dist/types/components/tab-bar/tab-bar.d.ts +8 -0
- package/dist/types/components/toast/toast-interface.d.ts +6 -0
- package/dist/types/components/toast/toast.d.ts +2 -1
- package/dist/types/components/toggle/toggle.d.ts +8 -1
- package/dist/types/components.d.ts +42 -16
- package/dist/types/index.d.ts +1 -0
- package/dist/types/interface.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +17 -5
- package/dist/types/utils/browser/index.d.ts +16 -1
- package/dist/types/utils/input-shims/hacks/scroll-data.d.ts +1 -1
- package/dist/types/utils/lock-controller.d.ts +10 -0
- package/dist/types/utils/overlays.d.ts +5 -2
- package/dist/types/utils/test/playwright/drag-element.d.ts +8 -1
- package/dist/types/utils/test/playwright/page/utils/index.d.ts +0 -1
- package/dist/types/utils/test/playwright/playwright-declarations.d.ts +0 -5
- package/dist/types/utils/test/playwright/viewports/index.d.ts +4 -0
- package/hydrate/index.d.ts +6 -6
- package/hydrate/index.js +931 -552
- package/hydrate/package.json +1 -1
- package/loader/index.d.ts +1 -1
- package/package.json +8 -6
- package/dist/collection/utils/test/playwright/page/utils/get-snapshot-settings.js +0 -32
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm-es5/animation-258fd22b.js +0 -4
- package/dist/esm-es5/app-globals-70454efb.js +0 -4
- package/dist/esm-es5/data-605c040f.js +0 -4
- package/dist/esm-es5/form-controller-6cd7ebd1.js +0 -4
- package/dist/esm-es5/framework-delegate-6a45ed30.js +0 -4
- package/dist/esm-es5/index-36a5fd75.js +0 -5
- package/dist/esm-es5/input-shims-5b912f6d.js +0 -4
- package/dist/esm-es5/md.transition-b7d7b475.js +0 -4
- package/dist/esm-es5/overlays-4801a327.js +0 -4
- package/dist/esm-es5/swipe-back-1bb66ed2.js +0 -4
- package/dist/ionic/p-004db8b3.entry.js +0 -4
- package/dist/ionic/p-026e6f00.system.entry.js +0 -4
- package/dist/ionic/p-05111967.entry.js +0 -4
- package/dist/ionic/p-0e51ceb7.system.entry.js +0 -4
- package/dist/ionic/p-164b025e.system.js +0 -4
- package/dist/ionic/p-1ce8e1ca.system.entry.js +0 -4
- package/dist/ionic/p-1f05aa2b.system.entry.js +0 -4
- package/dist/ionic/p-21e3627d.entry.js +0 -4
- package/dist/ionic/p-2e5dc115.entry.js +0 -4
- package/dist/ionic/p-335e3cfe.js +0 -4
- package/dist/ionic/p-34f66fef.entry.js +0 -4
- package/dist/ionic/p-37184fe8.js +0 -4
- package/dist/ionic/p-39a30df1.entry.js +0 -4
- package/dist/ionic/p-3bf5cd2e.system.entry.js +0 -4
- package/dist/ionic/p-3f9dbcfc.system.entry.js +0 -4
- package/dist/ionic/p-4108c24e.entry.js +0 -4
- package/dist/ionic/p-451cbc39.js +0 -4
- package/dist/ionic/p-4ab679fd.system.js +0 -4
- package/dist/ionic/p-4f7973ad.entry.js +0 -4
- package/dist/ionic/p-52540082.js +0 -4
- package/dist/ionic/p-565d288e.system.js +0 -4
- package/dist/ionic/p-5a3ee051.system.js +0 -4
- package/dist/ionic/p-5db06d92.system.entry.js +0 -4
- package/dist/ionic/p-5dc1aee9.entry.js +0 -4
- package/dist/ionic/p-5de3c520.js +0 -4
- package/dist/ionic/p-627e74b4.js +0 -4
- package/dist/ionic/p-69a66969.js +0 -4
- package/dist/ionic/p-6a0edd6d.system.js +0 -5
- package/dist/ionic/p-6eeeee8b.system.entry.js +0 -4
- package/dist/ionic/p-72969d37.entry.js +0 -4
- package/dist/ionic/p-74a23266.system.entry.js +0 -4
- package/dist/ionic/p-8711de04.entry.js +0 -4
- package/dist/ionic/p-871802fe.entry.js +0 -4
- package/dist/ionic/p-897e142d.entry.js +0 -4
- package/dist/ionic/p-8da248f0.system.entry.js +0 -4
- package/dist/ionic/p-90bfa7eb.system.entry.js +0 -4
- package/dist/ionic/p-9131f2ce.system.entry.js +0 -4
- package/dist/ionic/p-921d49a0.entry.js +0 -4
- package/dist/ionic/p-94bb8e22.entry.js +0 -4
- package/dist/ionic/p-954ce757.system.entry.js +0 -4
- package/dist/ionic/p-99eac672.system.js +0 -4
- package/dist/ionic/p-9c935c1f.system.entry.js +0 -4
- package/dist/ionic/p-9ee9d00e.js +0 -4
- package/dist/ionic/p-a18e77cb.system.entry.js +0 -4
- package/dist/ionic/p-a4ef5b36.js +0 -4
- package/dist/ionic/p-a5808f22.entry.js +0 -4
- package/dist/ionic/p-acd4af3a.entry.js +0 -4
- package/dist/ionic/p-b04873a4.system.js +0 -4
- package/dist/ionic/p-b096113b.js +0 -4
- package/dist/ionic/p-b159246b.entry.js +0 -4
- package/dist/ionic/p-b6098fdf.entry.js +0 -4
- package/dist/ionic/p-b6519389.system.entry.js +0 -4
- package/dist/ionic/p-b94d3454.entry.js +0 -4
- package/dist/ionic/p-c60bc054.system.entry.js +0 -4
- package/dist/ionic/p-c7d59299.js +0 -4
- package/dist/ionic/p-c9b94b63.system.entry.js +0 -4
- package/dist/ionic/p-cd83e6cc.system.entry.js +0 -4
- package/dist/ionic/p-d0dedc45.entry.js +0 -4
- package/dist/ionic/p-d34c3e77.js +0 -4
- package/dist/ionic/p-d834e36b.entry.js +0 -4
- package/dist/ionic/p-d9bc4210.js +0 -5
- package/dist/ionic/p-e171bd9c.system.js +0 -4
- package/dist/ionic/p-e614b5ba.system.entry.js +0 -4
- package/dist/ionic/p-ee9863ad.js +0 -4
- package/dist/ionic/p-f16ea33b.entry.js +0 -4
- package/dist/ionic/p-f321535c.js +0 -4
- package/dist/ionic/p-f3c381f2.entry.js +0 -4
- package/dist/ionic/p-f484f0e1.system.entry.js +0 -4
- package/dist/ionic/p-f810e0d3.js +0 -4
- package/dist/ionic/p-ffe2c670.js +0 -4
- package/dist/types/utils/test/playwright/page/utils/get-snapshot-settings.d.ts +0 -8
- /package/dist/cjs/{config-172736e4.js → config-d5882735.js} +0 -0
- /package/dist/cjs/{cubic-bezier-0e51923d.js → cubic-bezier-6b9222ad.js} +0 -0
- /package/dist/cjs/{dir-186d3a4d.js → dir-f1e0ca26.js} +0 -0
- /package/dist/cjs/{focus-visible-6163be3a.js → focus-visible-a7545600.js} +0 -0
- /package/dist/cjs/{gesture-controller-e2865472.js → gesture-controller-b46721be.js} +0 -0
- /package/dist/cjs/{hardware-back-button-bae6e13a.js → hardware-back-button-b67c8e75.js} +0 -0
- /package/dist/cjs/{helpers-77560954.js → helpers-ea4ccbcb.js} +0 -0
- /package/dist/cjs/{index-f0d7c9cc.js → index-306a7476.js} +0 -0
- /package/dist/cjs/{index-79605113.js → index-cc7dfb7c.js} +0 -0
- /package/dist/cjs/{index-b0e73ba0.js → index-d8d1fc0b.js} +0 -0
- /package/dist/cjs/{spinner-configs-7d30ff6f.js → spinner-configs-f7b5105b.js} +0 -0
- /package/dist/cjs/{theme-e6fec71e.js → theme-fbc56b3b.js} +0 -0
- /package/dist/cjs/{watch-options-4d182698.js → watch-options-f3f77e54.js} +0 -0
- /package/dist/esm/{config-80c044f2.js → config-96c9ace3.js} +0 -0
- /package/dist/esm/{cubic-bezier-e78d1307.js → cubic-bezier-66542bc5.js} +0 -0
- /package/dist/esm/{dir-e8b767a8.js → dir-912e3e13.js} +0 -0
- /package/dist/esm/{focus-visible-10ad4867.js → focus-visible-85493433.js} +0 -0
- /package/dist/esm/{gesture-controller-17060b7c.js → gesture-controller-0fa396c4.js} +0 -0
- /package/dist/esm/{hardware-back-button-490df115.js → hardware-back-button-39299f84.js} +0 -0
- /package/dist/esm/{helpers-f586db1c.js → helpers-3379ba19.js} +0 -0
- /package/dist/esm/{index-e86f0117.js → index-595d62c9.js} +0 -0
- /package/dist/esm/{index-b32cad98.js → index-7a14ecec.js} +0 -0
- /package/dist/esm/{index-393bc14a.js → index-ecfc2c9f.js} +0 -0
- /package/dist/esm/{spinner-configs-40ada8cd.js → spinner-configs-d09fbbbb.js} +0 -0
- /package/dist/esm/{theme-7670341c.js → theme-17531cdf.js} +0 -0
- /package/dist/esm/{watch-options-4d421847.js → watch-options-355a920a.js} +0 -0
- /package/dist/esm-es5/{config-80c044f2.js → config-96c9ace3.js} +0 -0
- /package/dist/esm-es5/{cubic-bezier-e78d1307.js → cubic-bezier-66542bc5.js} +0 -0
- /package/dist/esm-es5/{dir-e8b767a8.js → dir-912e3e13.js} +0 -0
- /package/dist/esm-es5/{focus-visible-10ad4867.js → focus-visible-85493433.js} +0 -0
- /package/dist/esm-es5/{gesture-controller-17060b7c.js → gesture-controller-0fa396c4.js} +0 -0
- /package/dist/esm-es5/{hardware-back-button-490df115.js → hardware-back-button-39299f84.js} +0 -0
- /package/dist/esm-es5/{helpers-f586db1c.js → helpers-3379ba19.js} +0 -0
- /package/dist/esm-es5/{index-e86f0117.js → index-595d62c9.js} +0 -0
- /package/dist/esm-es5/{index-b32cad98.js → index-7a14ecec.js} +0 -0
- /package/dist/esm-es5/{index-393bc14a.js → index-ecfc2c9f.js} +0 -0
- /package/dist/esm-es5/{spinner-configs-40ada8cd.js → spinner-configs-d09fbbbb.js} +0 -0
- /package/dist/esm-es5/{theme-7670341c.js → theme-17531cdf.js} +0 -0
- /package/dist/esm-es5/{watch-options-4d421847.js → watch-options-355a920a.js} +0 -0
- /package/dist/ionic/{p-35d01c78.js → p-0a87858b.js} +0 -0
- /package/dist/ionic/{p-3b753651.system.js → p-0e94957a.system.js} +0 -0
- /package/dist/ionic/{p-6561b0e5.js → p-185e427e.js} +0 -0
- /package/dist/ionic/{p-e1bc9a81.js → p-1b8e1d03.js} +0 -0
- /package/dist/ionic/{p-fe01417c.js → p-1d072d3d.js} +0 -0
- /package/dist/ionic/{p-5503807a.system.js → p-2b89ea1b.system.js} +0 -0
- /package/dist/ionic/{p-1ef14636.system.js → p-44bc8b45.system.js} +0 -0
- /package/dist/ionic/{p-97891b6b.system.js → p-479cdbf8.system.js} +0 -0
- /package/dist/ionic/{p-09292468.system.js → p-56dc022e.system.js} +0 -0
- /package/dist/ionic/{p-c099b4c9.js → p-5bf16a18.js} +0 -0
- /package/dist/ionic/{p-38bc7b29.js → p-63eb0acd.js} +0 -0
- /package/dist/ionic/{p-bb5b0f18.js → p-6dbfe5d4.js} +0 -0
- /package/dist/ionic/{p-d2405689.js → p-76fce40e.js} +0 -0
- /package/dist/ionic/{p-7ec7dc35.js → p-7b021525.js} +0 -0
- /package/dist/ionic/{p-bb38e011.js → p-7c2bac85.js} +0 -0
- /package/dist/ionic/{p-86d4b2bf.system.js → p-815c2fba.system.js} +0 -0
- /package/dist/ionic/{p-c2257c28.system.js → p-819ff3b9.system.js} +0 -0
- /package/dist/ionic/{p-56929710.system.js → p-87411e39.system.js} +0 -0
- /package/dist/ionic/{p-dc3c3a0a.system.js → p-8985b268.system.js} +0 -0
- /package/dist/ionic/{p-04f1268e.system.js → p-8c15eda7.system.js} +0 -0
- /package/dist/ionic/{p-72dbfdd4.system.js → p-9e852ff1.system.js} +0 -0
- /package/dist/ionic/{p-3c349187.js → p-b347cfd1.js} +0 -0
- /package/dist/ionic/{p-896b72c9.js → p-c18d6eac.js} +0 -0
- /package/dist/ionic/{p-eb54056c.system.js → p-c4f2dce7.system.js} +0 -0
- /package/dist/ionic/{p-4a212c9c.system.js → p-c87827ca.system.js} +0 -0
- /package/dist/ionic/{p-e1c318e0.js → p-e0b06b65.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{r as registerInstance,h,H as Host,f as getElement}from"./index-36a5fd75.js";import{k as inheritAttributes}from"./helpers-f586db1c.js";import{o as openURL,c as createColorClasses}from"./theme-7670341c.js";import{b as getIonMode}from"./ionic-global-a9abd569.js";var cardIosCss=":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color: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:block;width:100%;min-height:var(--min-height);-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:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-600, #666666)));-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:24px;margin-bottom:24px;border-radius:8px;-webkit-transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1), -webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);font-size:14px;-webkit-box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}:host(.ion-activated){-webkit-transform:scale3d(0.97, 0.97, 1);transform:scale3d(0.97, 0.97, 1)}";var cardMdCss=":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color: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:block;width:100%;min-height:var(--min-height);-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:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-550, #737373)));-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:10px;margin-bottom:10px;border-radius:4px;font-size:14px;-webkit-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}";var Card=function(){function t(t){registerInstance(this,t);this.inheritedAriaAttributes={};this.color=undefined;this.button=false;this.type="button";this.disabled=false;this.download=undefined;this.href=undefined;this.rel=undefined;this.routerDirection="forward";this.routerAnimation=undefined;this.target=undefined}t.prototype.componentWillLoad=function(){this.inheritedAriaAttributes=inheritAttributes(this.el,["aria-label"])};t.prototype.isClickable=function(){return this.href!==undefined||this.button};t.prototype.renderCard=function(t){var r=this.isClickable();if(!r){return[h("slot",null)]}var o=this,i=o.href,n=o.routerAnimation,e=o.routerDirection,a=o.inheritedAriaAttributes;var s=r?i===undefined?"button":"a":"div";var d=s==="button"?{type:this.type}:{download:this.download,href:this.href,rel:this.rel,target:this.target};return h(s,Object.assign({},d,a,{class:"card-native",part:"native",disabled:this.disabled,onClick:function(t){return openURL(i,t,e,n)}}),h("slot",null),r&&t==="md"&&h("ion-ripple-effect",null))};t.prototype.render=function(){var t;var r=getIonMode(this);return h(Host,{class:createColorClasses(this.color,(t={},t[r]=true,t["card-disabled"]=this.disabled,t["ion-activatable"]=this.isClickable(),t))},this.renderCard(r))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Card.style={ios:cardIosCss,md:cardMdCss};var cardContentIosCss="ion-card-content{display:block;position:relative}.card-content-ios{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;font-size:16px;line-height:1.4}.card-content-ios h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.card-content-ios h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.card-content-ios h3,.card-content-ios h4,.card-content-ios h5,.card-content-ios h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal}.card-content-ios p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px}ion-card-header+.card-content-ios{padding-top:0}";var cardContentMdCss="ion-card-content{display:block;position:relative}.card-content-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:13px;padding-bottom:13px;font-size:14px;line-height:1.5}.card-content-md h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.card-content-md h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.card-content-md h3,.card-content-md h4,.card-content-md h5,.card-content-md h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal}.card-content-md p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px;font-weight:normal;line-height:1.5}ion-card-header+.card-content-md{padding-top:0}";var CardContent=function(){function t(t){registerInstance(this,t)}t.prototype.render=function(){var t;var r=getIonMode(this);return h(Host,{class:(t={},t[r]=true,t["card-content-".concat(r)]=true,t)})};return t}();CardContent.style={ios:cardContentIosCss,md:cardContentMdCss};var cardHeaderIosCss=":host{--background:transparent;--color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:16px;-ms-flex-direction:column-reverse;flex-direction:column-reverse}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.card-header-translucent){background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(30px);backdrop-filter:saturate(180%) blur(30px)}}";var cardHeaderMdCss=":host{--background:transparent;--color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px}::slotted(ion-card-title:not(:first-child)),::slotted(ion-card-subtitle:not(:first-child)){margin-top:8px}";var CardHeader=function(){function t(t){registerInstance(this,t);this.color=undefined;this.translucent=false}t.prototype.render=function(){var t;var r=getIonMode(this);return h(Host,{class:createColorClasses(this.color,(t={"card-header-translucent":this.translucent,"ion-inherit-color":true},t[r]=true,t))},h("slot",null))};return t}();CardHeader.style={ios:cardHeaderIosCss,md:cardHeaderMdCss};var cardSubtitleIosCss=":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, #666666);margin-left:0;margin-right:0;margin-top:0;margin-bottom:4px;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:12px;font-weight:700;letter-spacing:0.4px;text-transform:uppercase}";var cardSubtitleMdCss=":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-550, #737373);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:14px;font-weight:500}";var CardSubtitle=function(){function t(t){registerInstance(this,t);this.color=undefined}t.prototype.render=function(){var t;var r=getIonMode(this);return h(Host,{role:"heading","aria-level":"3",class:createColorClasses(this.color,(t={"ion-inherit-color":true},t[r]=true,t))},h("slot",null))};return t}();CardSubtitle.style={ios:cardSubtitleIosCss,md:cardSubtitleMdCss};var cardTitleIosCss=":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-text-color, #000);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:28px;font-weight:700;line-height:1.2}";var cardTitleMdCss=":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-850, #262626);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:20px;font-weight:500;line-height:1.2}";var CardTitle=function(){function t(t){registerInstance(this,t);this.color=undefined}t.prototype.render=function(){var t;var r=getIonMode(this);return h(Host,{role:"heading","aria-level":"2",class:createColorClasses(this.color,(t={"ion-inherit-color":true},t[r]=true,t))},h("slot",null))};return t}();CardTitle.style={ios:cardTitleIosCss,md:cardTitleMdCss};export{Card as ion_card,CardContent as ion_card_content,CardHeader as ion_card_header,CardSubtitle as ion_card_subtitle,CardTitle as ion_card_title};
|
|
4
|
+
import{r as registerInstance,h,H as Host,f as getElement}from"./index-b49b173c.js";import{k as inheritAttributes}from"./helpers-3379ba19.js";import{o as openURL,c as createColorClasses}from"./theme-17531cdf.js";import{b as getIonMode}from"./ionic-global-246ca78f.js";var cardIosCss=":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color: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:block;width:100%;min-height:var(--min-height);-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:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-600, #666666)));-webkit-margin-start:16px;margin-inline-start:16px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:24px;margin-bottom:24px;border-radius:8px;-webkit-transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:-webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);transition:transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1), -webkit-transform 500ms cubic-bezier(0.12, 0.72, 0.29, 1);font-size:14px;-webkit-box-shadow:0 4px 16px rgba(0, 0, 0, 0.12);box-shadow:0 4px 16px rgba(0, 0, 0, 0.12)}:host(.ion-activated){-webkit-transform:scale3d(0.97, 0.97, 1);transform:scale3d(0.97, 0.97, 1)}";var cardMdCss=":host{--ion-safe-area-left:0px;--ion-safe-area-right:0px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:block;position:relative;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);contain:content;overflow:hidden}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.card-disabled){cursor:default;opacity:0.3;pointer-events:none}.card-native{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color: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:block;width:100%;min-height:var(--min-height);-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:inherit}.card-native::-moz-focus-inner{border:0}button,a{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-user-drag:none}ion-ripple-effect{color:var(--ripple-color)}:host{--background:var(--ion-card-background, var(--ion-item-background, var(--ion-background-color, #fff)));--color:var(--ion-card-color, var(--ion-item-color, var(--ion-color-step-550, #737373)));-webkit-margin-start:10px;margin-inline-start:10px;-webkit-margin-end:10px;margin-inline-end:10px;margin-top:10px;margin-bottom:10px;border-radius:4px;font-size:14px;-webkit-box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}";var Card=function(){function t(t){registerInstance(this,t);this.inheritedAriaAttributes={};this.color=undefined;this.button=false;this.type="button";this.disabled=false;this.download=undefined;this.href=undefined;this.rel=undefined;this.routerDirection="forward";this.routerAnimation=undefined;this.target=undefined}t.prototype.componentWillLoad=function(){this.inheritedAriaAttributes=inheritAttributes(this.el,["aria-label"])};t.prototype.isClickable=function(){return this.href!==undefined||this.button};t.prototype.renderCard=function(t){var r=this.isClickable();if(!r){return[h("slot",null)]}var o=this,i=o.href,n=o.routerAnimation,e=o.routerDirection,a=o.inheritedAriaAttributes;var s=r?i===undefined?"button":"a":"div";var d=s==="button"?{type:this.type}:{download:this.download,href:this.href,rel:this.rel,target:this.target};return h(s,Object.assign({},d,a,{class:"card-native",part:"native",disabled:this.disabled,onClick:function(t){return openURL(i,t,e,n)}}),h("slot",null),r&&t==="md"&&h("ion-ripple-effect",null))};t.prototype.render=function(){var t;var r=getIonMode(this);return h(Host,{class:createColorClasses(this.color,(t={},t[r]=true,t["card-disabled"]=this.disabled,t["ion-activatable"]=this.isClickable(),t))},this.renderCard(r))};Object.defineProperty(t.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();Card.style={ios:cardIosCss,md:cardMdCss};var cardContentIosCss="ion-card-content{display:block;position:relative}.card-content-ios{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:20px;font-size:16px;line-height:1.4}.card-content-ios h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.card-content-ios h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.card-content-ios h3,.card-content-ios h4,.card-content-ios h5,.card-content-ios h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal}.card-content-ios p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px}ion-card-header+.card-content-ios{padding-top:0}";var cardContentMdCss="ion-card-content{display:block;position:relative}.card-content-md{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:13px;padding-bottom:13px;font-size:14px;line-height:1.5}.card-content-md h1{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:24px;font-weight:normal}.card-content-md h2{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:16px;font-weight:normal}.card-content-md h3,.card-content-md h4,.card-content-md h5,.card-content-md h6{margin-left:0;margin-right:0;margin-top:2px;margin-bottom:2px;font-size:14px;font-weight:normal}.card-content-md p{margin-left:0;margin-right:0;margin-top:0;margin-bottom:2px;font-size:14px;font-weight:normal;line-height:1.5}ion-card-header+.card-content-md{padding-top:0}";var CardContent=function(){function t(t){registerInstance(this,t)}t.prototype.render=function(){var t;var r=getIonMode(this);return h(Host,{class:(t={},t[r]=true,t["card-content-".concat(r)]=true,t)})};return t}();CardContent.style={ios:cardContentIosCss,md:cardContentMdCss};var cardHeaderIosCss=":host{--background:transparent;--color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px;padding-top:20px;padding-bottom:16px;-ms-flex-direction:column-reverse;flex-direction:column-reverse}@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))){:host(.card-header-translucent){background-color:rgba(var(--ion-background-color-rgb, 255, 255, 255), 0.9);-webkit-backdrop-filter:saturate(180%) blur(30px);backdrop-filter:saturate(180%) blur(30px)}}";var cardHeaderMdCss=":host{--background:transparent;--color:inherit;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:column;flex-direction:column;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{-webkit-padding-start:16px;padding-inline-start:16px;-webkit-padding-end:16px;padding-inline-end:16px;padding-top:16px;padding-bottom:16px}::slotted(ion-card-title:not(:first-child)),::slotted(ion-card-subtitle:not(:first-child)){margin-top:8px}";var CardHeader=function(){function t(t){registerInstance(this,t);this.color=undefined;this.translucent=false}t.prototype.render=function(){var t;var r=getIonMode(this);return h(Host,{class:createColorClasses(this.color,(t={"card-header-translucent":this.translucent,"ion-inherit-color":true},t[r]=true,t))},h("slot",null))};return t}();CardHeader.style={ios:cardHeaderIosCss,md:cardHeaderMdCss};var cardSubtitleIosCss=":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-600, #666666);margin-left:0;margin-right:0;margin-top:0;margin-bottom:4px;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:12px;font-weight:700;letter-spacing:0.4px;text-transform:uppercase}";var cardSubtitleMdCss=":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-550, #737373);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:14px;font-weight:500}";var CardSubtitle=function(){function t(t){registerInstance(this,t);this.color=undefined}t.prototype.render=function(){var t;var r=getIonMode(this);return h(Host,{role:"heading","aria-level":"3",class:createColorClasses(this.color,(t={"ion-inherit-color":true},t[r]=true,t))},h("slot",null))};return t}();CardSubtitle.style={ios:cardSubtitleIosCss,md:cardSubtitleMdCss};var cardTitleIosCss=":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-text-color, #000);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:28px;font-weight:700;line-height:1.2}";var cardTitleMdCss=":host{display:block;position:relative;color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}:host{--color:var(--ion-color-step-850, #262626);margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;padding-top:0;padding-bottom:0;font-size:20px;font-weight:500;line-height:1.2}";var CardTitle=function(){function t(t){registerInstance(this,t);this.color=undefined}t.prototype.render=function(){var t;var r=getIonMode(this);return h(Host,{role:"heading","aria-level":"2",class:createColorClasses(this.color,(t={"ion-inherit-color":true},t[r]=true,t))},h("slot",null))};return t}();CardTitle.style={ios:cardTitleIosCss,md:cardTitleMdCss};export{Card as ion_card,CardContent as ion_card_content,CardHeader as ion_card_header,CardSubtitle as ion_card_subtitle,CardTitle as ion_card_title};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{r as registerInstance,d as createEvent,h,H as Host,f as getElement}from"./index-36a5fd75.js";import{c as createLegacyFormController}from"./form-controller-6cd7ebd1.js";import{i as inheritAriaAttributes,d as renderHiddenInput,e as getAriaLabel}from"./helpers-f586db1c.js";import{p as printIonWarning}from"./index-e86f0117.js";import{c as createColorClasses,h as hostContext}from"./theme-7670341c.js";import{b as getIonMode}from"./ionic-global-a9abd569.js";var checkboxIosCss=":host{--checkbox-background-checked:var(--ion-color-primary, #3880ff);--border-color-checked:var(--ion-color-primary, #3880ff);--checkmark-color:var(--ion-color-primary-contrast, #fff);--checkmark-width:1;--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){width:100%;height:100%}:host([slot=start]:not(.legacy-checkbox)),:host([slot=end]:not(.legacy-checkbox)){width:auto}:host(.legacy-checkbox){width:var(--size);height:var(--size)}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}:host(.legacy-checkbox) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-checkbox) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-checkbox) label{left:0}:host-context([dir=rtl]):host(.legacy-checkbox) label,:host-context([dir=rtl]).legacy-checkbox label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-checkbox) label:dir(rtl){left:unset;right:unset;right:0}}}:host(.legacy-checkbox) label::-moz-focus-inner{border:0}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-checkbox)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;-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}:host(.legacy-checkbox) .checkbox-icon{display:block;width:100%;height:100%}:host(:not(.legacy-checkbox)) .checkbox-icon{width:var(--size);height:var(--size)}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}: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-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}: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) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}: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-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}: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-radius:50%;--border-width:1px;--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:26px}:host(.checkbox-disabled){opacity:0.3}:host(.in-item.legacy-checkbox){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:9px;display:block;position:static}:host(.in-item.legacy-checkbox[slot=start]){-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:8px;margin-bottom:8px}";var checkboxMdCss=":host{--checkbox-background-checked:var(--ion-color-primary, #3880ff);--border-color-checked:var(--ion-color-primary, #3880ff);--checkmark-color:var(--ion-color-primary-contrast, #fff);--checkmark-width:1;--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){width:100%;height:100%}:host([slot=start]:not(.legacy-checkbox)),:host([slot=end]:not(.legacy-checkbox)){width:auto}:host(.legacy-checkbox){width:var(--size);height:var(--size)}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}:host(.legacy-checkbox) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-checkbox) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-checkbox) label{left:0}:host-context([dir=rtl]):host(.legacy-checkbox) label,:host-context([dir=rtl]).legacy-checkbox label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-checkbox) label:dir(rtl){left:unset;right:unset;right:0}}}:host(.legacy-checkbox) label::-moz-focus-inner{border:0}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-checkbox)) .label-text-wrapper{margin-top:10px;margin-bottom:10px}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;-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}:host(.legacy-checkbox) .checkbox-icon{display:block;width:100%;height:100%}:host(:not(.legacy-checkbox)) .checkbox-icon{width:var(--size);height:var(--size)}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}: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-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}: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) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}: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-fixed) .label-text-wrapper{-ms-flex:0 0 100px;flex:0 0 100px;width:100px;min-width:100px;max-width:200px}: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-radius:calc(var(--size) * .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(.legacy-checkbox.checkbox-disabled),:host(.checkbox-disabled) .label-text-wrapper{opacity:0.38}:host(.checkbox-disabled) .native-wrapper{opacity:0.63}:host(.in-item.legacy-checkbox){margin-left:0;margin-right:0;margin-top:18px;margin-bottom:18px;display:block;position:static}:host(.in-item.legacy-checkbox[slot=start]){-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px;margin-top:18px;margin-bottom:18px}";var Checkbox=function(){function e(e){var t=this;registerInstance(this,e);this.ionChange=createEvent(this,"ionChange",7);this.ionFocus=createEvent(this,"ionFocus",7);this.ionBlur=createEvent(this,"ionBlur",7);this.ionStyle=createEvent(this,"ionStyle",7);this.inputId="ion-cb-".concat(checkboxIds++);this.inheritedAttributes={};this.hasLoggedDeprecationWarning=false;this.setChecked=function(e){var o=t.checked=e;t.ionChange.emit({checked:o,value:t.value})};this.toggleChecked=function(e){e.preventDefault();t.setFocus();t.setChecked(!t.checked);t.indeterminate=false};this.onFocus=function(){t.ionFocus.emit()};this.onBlur=function(){t.ionBlur.emit()};this.color=undefined;this.name=this.inputId;this.checked=false;this.indeterminate=false;this.disabled=false;this.value="on";this.labelPlacement="start";this.justify="space-between";this.legacy=undefined}e.prototype.connectedCallback=function(){this.legacyFormController=createLegacyFormController(this.el)};e.prototype.componentWillLoad=function(){this.emitStyle();if(!this.legacyFormController.hasLegacyControl()){this.inheritedAttributes=Object.assign({},inheritAriaAttributes(this.el))}};e.prototype.styleChanged=function(){this.emitStyle()};e.prototype.emitStyle=function(){var e={"interactive-disabled":this.disabled};if(this.legacyFormController.hasLegacyControl()){e["checkbox-checked"]=this.checked}this.ionStyle.emit(e)};e.prototype.setFocus=function(){if(this.focusEl){this.focusEl.focus()}};e.prototype.render=function(){var e=this.legacyFormController;return e.hasLegacyControl()?this.renderLegacyCheckbox():this.renderCheckbox()};e.prototype.renderCheckbox=function(){var e;var t=this;var o=this,r=o.color,i=o.checked,n=o.disabled,c=o.el,a=o.getSVGPath,s=o.indeterminate,l=o.inheritedAttributes,b=o.inputId,d=o.justify,p=o.labelPlacement,x=o.name,k=o.value;var m=getIonMode(this);var g=a(m,s);renderHiddenInput(true,c,x,i?k:"",n);return h(Host,{class:createColorClasses(r,(e={},e[m]=true,e["in-item"]=hostContext("ion-item",c),e["checkbox-checked"]=i,e["checkbox-disabled"]=n,e["checkbox-indeterminate"]=s,e.interactive=true,e["checkbox-justify-".concat(d)]=true,e["checkbox-label-placement-".concat(p)]=true,e))},h("label",{class:"checkbox-wrapper"},h("input",Object.assign({type:"checkbox",checked:i?true:undefined,disabled:n,id:b,onChange:this.toggleChecked,onFocus:function(){return t.onFocus()},onBlur:function(){return t.onBlur()},ref:function(e){return t.focusEl=e}},l)),h("div",{class:{"label-text-wrapper":true,"label-text-wrapper-hidden":c.textContent===""}},h("slot",null)),h("div",{class:"native-wrapper"},h("svg",{class:"checkbox-icon",viewBox:"0 0 24 24",part:"container"},g))))};e.prototype.renderLegacyCheckbox=function(){var e;var t=this;if(!this.hasLoggedDeprecationWarning){printIonWarning('ion-checkbox now requires providing a label with either the default slot or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the component or the "aria-label" attribute.\n\nExample: <ion-checkbox>Label</ion-checkbox>\nExample with aria-label: <ion-checkbox aria-label="Label"></ion-checkbox>\n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el);if(this.legacy){printIonWarning('ion-checkbox is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new checkbox syntax.',this.el)}this.hasLoggedDeprecationWarning=true}var o=this,r=o.color,i=o.checked,n=o.disabled,c=o.el,a=o.getSVGPath,s=o.indeterminate,l=o.inputId,b=o.name,d=o.value;var p=getIonMode(this);var x=getAriaLabel(c,l),k=x.label,m=x.labelId,g=x.labelText;var u=a(p,s);renderHiddenInput(true,c,b,i?d:"",n);return h(Host,{"aria-labelledby":k?m:null,"aria-checked":"".concat(i),"aria-hidden":n?"true":null,role:"checkbox",class:createColorClasses(r,(e={},e[p]=true,e["in-item"]=hostContext("ion-item",c),e["checkbox-checked"]=i,e["checkbox-disabled"]=n,e["checkbox-indeterminate"]=s,e["legacy-checkbox"]=true,e.interactive=true,e))},h("svg",{class:"checkbox-icon",viewBox:"0 0 24 24",part:"container"},u),h("label",{htmlFor:l},g),h("input",{type:"checkbox","aria-checked":"".concat(i),disabled:n,id:l,onChange:this.toggleChecked,onFocus:function(){return t.onFocus()},onBlur:function(){return t.onBlur()},ref:function(e){return t.focusEl=e}}))};e.prototype.getSVGPath=function(e,t){var o=t?h("path",{d:"M6 12L18 12",part:"mark"}):h("path",{d:"M5.9,12.5l3.8,3.8l8.8-8.8",part:"mark"});if(e==="md"){o=t?h("path",{d:"M2 12H22",part:"mark"}):h("path",{d:"M1.73,12.91 8.1,19.28 22.79,4.59",part:"mark"})}return o};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:["styleChanged"],disabled:["styleChanged"]}},enumerable:false,configurable:true});return e}();var checkboxIds=0;Checkbox.style={ios:checkboxIosCss,md:checkboxMdCss};export{Checkbox as ion_checkbox};
|
|
4
|
+
import{r as registerInstance,d as createEvent,h,H as Host,f as getElement}from"./index-b49b173c.js";import{c as createLegacyFormController}from"./form-controller-ed77647a.js";import{i as inheritAriaAttributes,d as renderHiddenInput,e as getAriaLabel}from"./helpers-3379ba19.js";import{p as printIonWarning}from"./index-595d62c9.js";import{c as createColorClasses,h as hostContext}from"./theme-17531cdf.js";import{b as getIonMode}from"./ionic-global-246ca78f.js";var checkboxIosCss=":host{--checkbox-background-checked:var(--ion-color-primary, #3880ff);--border-color-checked:var(--ion-color-primary, #3880ff);--checkmark-color:var(--ion-color-primary-contrast, #fff);--checkmark-width:1;--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){width:100%;height:100%}:host([slot=start]:not(.legacy-checkbox)),:host([slot=end]:not(.legacy-checkbox)){width:auto}:host(.legacy-checkbox){width:var(--size);height:var(--size)}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}:host(.legacy-checkbox) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-checkbox) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-checkbox) label{left:0}:host-context([dir=rtl]):host(.legacy-checkbox) label,:host-context([dir=rtl]).legacy-checkbox label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-checkbox) label:dir(rtl){left:unset;right:unset;right:0}}}:host(.legacy-checkbox) label::-moz-focus-inner{border:0}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-checkbox)) .label-text-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}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;-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}:host(.legacy-checkbox) .checkbox-icon{display:block;width:100%;height:100%}:host(:not(.legacy-checkbox)) .checkbox-icon{width:var(--size);height:var(--size)}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}: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-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}: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) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}: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-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}: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(.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) .label-text-wrapper:dir(rtl){-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) .label-text-wrapper:dir(rtl){-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}: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-radius:50%;--border-width:1px;--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:26px}:host(.checkbox-disabled){opacity:0.3}:host(.in-item.legacy-checkbox){-webkit-margin-start:0;margin-inline-start:0;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:10px;margin-bottom:9px;display:block;position:static}:host(.in-item.legacy-checkbox[slot=start]){-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:16px;margin-inline-end:16px;margin-top:8px;margin-bottom:8px}";var checkboxMdCss=":host{--checkbox-background-checked:var(--ion-color-primary, #3880ff);--border-color-checked:var(--ion-color-primary, #3880ff);--checkmark-color:var(--ion-color-primary-contrast, #fff);--checkmark-width:1;--transition:none;display:inline-block;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:2}:host(.in-item){width:100%;height:100%}:host([slot=start]:not(.legacy-checkbox)),:host([slot=end]:not(.legacy-checkbox)){width:auto}:host(.legacy-checkbox){width:var(--size);height:var(--size)}:host(.ion-color){--checkbox-background-checked:var(--ion-color-base);--border-color-checked:var(--ion-color-base);--checkmark-color:var(--ion-color-contrast)}:host(.legacy-checkbox) label{top:0;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;position:absolute;width:100%;height:100%;border:0;background:transparent;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0}@supports (inset-inline-start: 0){:host(.legacy-checkbox) label{inset-inline-start:0}}@supports not (inset-inline-start: 0){:host(.legacy-checkbox) label{left:0}:host-context([dir=rtl]):host(.legacy-checkbox) label,:host-context([dir=rtl]).legacy-checkbox label{left:unset;right:unset;right:0}@supports selector(:dir(rtl)){:host(.legacy-checkbox) label:dir(rtl){left:unset;right:unset;right:0}}}:host(.legacy-checkbox) label::-moz-focus-inner{border:0}.checkbox-wrapper{display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;-ms-flex-align:center;align-items:center;height:inherit;cursor:inherit}.label-text-wrapper{pointer-events:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:host(.in-item:not(.legacy-checkbox)) .label-text-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}.label-text-wrapper-hidden{display:none}input{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;margin:0;padding:0;border:0;outline:0;clip:rect(0 0 0 0);opacity:0;overflow:hidden;-webkit-appearance:none;-moz-appearance:none}.native-wrapper{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.checkbox-icon{border-radius:var(--border-radius);position:relative;-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}:host(.legacy-checkbox) .checkbox-icon{display:block;width:100%;height:100%}:host(:not(.legacy-checkbox)) .checkbox-icon{width:var(--size);height:var(--size)}.checkbox-icon path{fill:none;stroke:var(--checkmark-color);stroke-width:var(--checkmark-width);opacity:0}: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-label-placement-start) .checkbox-wrapper{-ms-flex-direction:row;flex-direction:row}: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) .checkbox-wrapper{-ms-flex-direction:row-reverse;flex-direction:row-reverse}: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-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}: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(.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) .label-text-wrapper:dir(rtl){-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) .label-text-wrapper:dir(rtl){-webkit-transform-origin:calc(100% - center) top;transform-origin:calc(100% - center) top}}: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-radius:calc(var(--size) * .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(.legacy-checkbox.checkbox-disabled),:host(.checkbox-disabled) .label-text-wrapper{opacity:0.38}:host(.checkbox-disabled) .native-wrapper{opacity:0.63}:host(.in-item.legacy-checkbox){margin-left:0;margin-right:0;margin-top:18px;margin-bottom:18px;display:block;position:static}:host(.in-item.legacy-checkbox[slot=start]){-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:36px;margin-inline-end:36px;margin-top:18px;margin-bottom:18px}";var Checkbox=function(){function e(e){var t=this;registerInstance(this,e);this.ionChange=createEvent(this,"ionChange",7);this.ionFocus=createEvent(this,"ionFocus",7);this.ionBlur=createEvent(this,"ionBlur",7);this.ionStyle=createEvent(this,"ionStyle",7);this.inputId="ion-cb-".concat(checkboxIds++);this.inheritedAttributes={};this.hasLoggedDeprecationWarning=false;this.setChecked=function(e){var o=t.checked=e;t.ionChange.emit({checked:o,value:t.value})};this.toggleChecked=function(e){e.preventDefault();t.setFocus();t.setChecked(!t.checked);t.indeterminate=false};this.onFocus=function(){t.ionFocus.emit()};this.onBlur=function(){t.ionBlur.emit()};this.onClick=function(e){if(t.disabled){return}t.toggleChecked(e)};this.color=undefined;this.name=this.inputId;this.checked=false;this.indeterminate=false;this.disabled=false;this.value="on";this.labelPlacement="start";this.justify="space-between";this.alignment="center";this.legacy=undefined}e.prototype.connectedCallback=function(){this.legacyFormController=createLegacyFormController(this.el)};e.prototype.componentWillLoad=function(){this.emitStyle();if(!this.legacyFormController.hasLegacyControl()){this.inheritedAttributes=Object.assign({},inheritAriaAttributes(this.el))}};e.prototype.styleChanged=function(){this.emitStyle()};e.prototype.emitStyle=function(){var e={"interactive-disabled":this.disabled};if(this.legacyFormController.hasLegacyControl()){e["checkbox-checked"]=this.checked}this.ionStyle.emit(e)};e.prototype.setFocus=function(){if(this.focusEl){this.focusEl.focus()}};e.prototype.render=function(){var e=this.legacyFormController;return e.hasLegacyControl()?this.renderLegacyCheckbox():this.renderCheckbox()};e.prototype.renderCheckbox=function(){var e;var t=this;var o=this,r=o.color,i=o.checked,c=o.disabled,n=o.el,a=o.getSVGPath,l=o.indeterminate,s=o.inheritedAttributes,b=o.inputId,p=o.justify,d=o.labelPlacement,x=o.name,k=o.value,m=o.alignment;var g=getIonMode(this);var f=a(g,l);renderHiddenInput(true,n,x,i?k:"",c);return h(Host,{class:createColorClasses(r,(e={},e[g]=true,e["in-item"]=hostContext("ion-item",n),e["checkbox-checked"]=i,e["checkbox-disabled"]=c,e["checkbox-indeterminate"]=l,e.interactive=true,e["checkbox-justify-".concat(p)]=true,e["checkbox-alignment-".concat(m)]=true,e["checkbox-label-placement-".concat(d)]=true,e)),onClick:this.onClick},h("label",{class:"checkbox-wrapper"},h("input",Object.assign({type:"checkbox",checked:i?true:undefined,disabled:c,id:b,onChange:this.toggleChecked,onFocus:function(){return t.onFocus()},onBlur:function(){return t.onBlur()},ref:function(e){return t.focusEl=e}},s)),h("div",{class:{"label-text-wrapper":true,"label-text-wrapper-hidden":n.textContent===""}},h("slot",null)),h("div",{class:"native-wrapper"},h("svg",{class:"checkbox-icon",viewBox:"0 0 24 24",part:"container"},f))))};e.prototype.renderLegacyCheckbox=function(){var e;var t=this;if(!this.hasLoggedDeprecationWarning){printIonWarning('ion-checkbox now requires providing a label with either the default slot or the "aria-label" attribute. To migrate, remove any usage of "ion-label" and pass the label text to either the component or the "aria-label" attribute.\n\nExample: <ion-checkbox>Label</ion-checkbox>\nExample with aria-label: <ion-checkbox aria-label="Label"></ion-checkbox>\n\nDevelopers can use the "legacy" property to continue using the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.',this.el);if(this.legacy){printIonWarning('ion-checkbox is being used with the "legacy" property enabled which will forcibly enable the legacy form markup. This property will be removed in an upcoming major release of Ionic where this form control will use the modern form markup.\nDevelopers can dismiss this warning by removing their usage of the "legacy" property and using the new checkbox syntax.',this.el)}this.hasLoggedDeprecationWarning=true}var o=this,r=o.color,i=o.checked,c=o.disabled,n=o.el,a=o.getSVGPath,l=o.indeterminate,s=o.inputId,b=o.name,p=o.value;var d=getIonMode(this);var x=getAriaLabel(n,s),k=x.label,m=x.labelId,g=x.labelText;var f=a(d,l);renderHiddenInput(true,n,b,i?p:"",c);return h(Host,{"aria-labelledby":k?m:null,"aria-checked":"".concat(i),"aria-hidden":c?"true":null,role:"checkbox",class:createColorClasses(r,(e={},e[d]=true,e["in-item"]=hostContext("ion-item",n),e["checkbox-checked"]=i,e["checkbox-disabled"]=c,e["checkbox-indeterminate"]=l,e["legacy-checkbox"]=true,e.interactive=true,e)),onClick:this.onClick},h("svg",{class:"checkbox-icon",viewBox:"0 0 24 24",part:"container"},f),h("label",{htmlFor:s},g),h("input",{type:"checkbox","aria-checked":"".concat(i),disabled:c,id:s,onChange:this.toggleChecked,onFocus:function(){return t.onFocus()},onBlur:function(){return t.onBlur()},ref:function(e){return t.focusEl=e}}))};e.prototype.getSVGPath=function(e,t){var o=t?h("path",{d:"M6 12L18 12",part:"mark"}):h("path",{d:"M5.9,12.5l3.8,3.8l8.8-8.8",part:"mark"});if(e==="md"){o=t?h("path",{d:"M2 12H22",part:"mark"}):h("path",{d:"M1.73,12.91 8.1,19.28 22.79,4.59",part:"mark"})}return o};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:["styleChanged"],disabled:["styleChanged"]}},enumerable:false,configurable:true});return e}();var checkboxIds=0;Checkbox.style={ios:checkboxIosCss,md:checkboxMdCss};export{Checkbox as ion_checkbox};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{r as registerInstance,h,H as Host}from"./index-
|
|
4
|
+
import{r as registerInstance,h,H as Host}from"./index-b49b173c.js";import{c as createColorClasses}from"./theme-17531cdf.js";import{b as getIonMode}from"./ionic-global-246ca78f.js";var chipCss=":host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:4px;margin-inline-end:4px;margin-top:4px;margin-bottom:4px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:7px;padding-bottom:7px;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;height:32px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:14px;cursor:pointer;overflow:hidden;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}:host(.chip-disabled){cursor:default;opacity:0.4;pointer-events:none}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}:host(.chip-outline){border-width:1px;border-style:solid}:host(.chip-outline){border-color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.32);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.chip-outline:not(.ion-color):focus){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}:host(.chip-outline.ion-activated:not(.ion-color)){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.08)}::slotted(ion-icon){font-size:20px}:host(:not(.ion-color)) ::slotted(ion-icon){color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.54)}::slotted(ion-icon:first-child){-webkit-margin-start:-4px;margin-inline-start:-4px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-icon:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-4px;margin-inline-end:-4px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar){width:24px;height:24px}::slotted(ion-avatar:first-child){-webkit-margin-start:-8px;margin-inline-start:-8px;-webkit-margin-end:8px;margin-inline-end:8px;margin-top:-4px;margin-bottom:-4px}::slotted(ion-avatar:last-child){-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-8px;margin-inline-end:-8px;margin-top:-4px;margin-bottom:-4px}:host(:focus){outline:none}:host(:focus){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-activated){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@media (any-hover: hover){:host(:hover){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.chip-outline:not(.ion-color):hover){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}}";var Chip=function(){function o(o){registerInstance(this,o);this.color=undefined;this.outline=false;this.disabled=false}o.prototype.render=function(){var o;var i=getIonMode(this);return h(Host,{"aria-disabled":this.disabled?"true":null,class:createColorClasses(this.color,(o={},o[i]=true,o["chip-outline"]=this.outline,o["chip-disabled"]=this.disabled,o["ion-activatable"]=true,o))},h("slot",null),i==="md"&&h("ion-ripple-effect",null))};return o}();Chip.style=chipCss;export{Chip as ion_chip};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
3
|
*/
|
|
4
|
-
import{r as registerInstance,i as forceUpdate,h,H as Host}from"./index-
|
|
4
|
+
import{r as registerInstance,i as forceUpdate,h,H as Host}from"./index-b49b173c.js";import{b as getIonMode}from"./ionic-global-246ca78f.js";var SIZE_TO_MEDIA={xs:"(min-width: 0px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)"};var matchBreakpoint=function(i){if(i===undefined||i===""){return true}if(window.matchMedia){var d=SIZE_TO_MEDIA[i];return window.matchMedia(d).matches}return false};var colCss=":host{-webkit-padding-start:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-xs, var(--ion-grid-column-padding, 5px));margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;width:100%;max-width:100%;min-height:1px}@media (min-width: 576px){:host{-webkit-padding-start:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-sm, var(--ion-grid-column-padding, 5px))}}@media (min-width: 768px){:host{-webkit-padding-start:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-md, var(--ion-grid-column-padding, 5px))}}@media (min-width: 992px){:host{-webkit-padding-start:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-lg, var(--ion-grid-column-padding, 5px))}}@media (min-width: 1200px){:host{-webkit-padding-start:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-inline-start:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));-webkit-padding-end:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-inline-end:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-top:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px));padding-bottom:var(--ion-grid-column-padding-xl, var(--ion-grid-column-padding, 5px))}}";var win=typeof window!=="undefined"?window:undefined;var SUPPORTS_VARS=win&&!!(win.CSS&&win.CSS.supports&&win.CSS.supports("--a: 0"));var BREAKPOINTS=["","xs","sm","md","lg","xl"];var Col=function(){function i(i){registerInstance(this,i);this.offset=undefined;this.offsetXs=undefined;this.offsetSm=undefined;this.offsetMd=undefined;this.offsetLg=undefined;this.offsetXl=undefined;this.pull=undefined;this.pullXs=undefined;this.pullSm=undefined;this.pullMd=undefined;this.pullLg=undefined;this.pullXl=undefined;this.push=undefined;this.pushXs=undefined;this.pushSm=undefined;this.pushMd=undefined;this.pushLg=undefined;this.pushXl=undefined;this.size=undefined;this.sizeXs=undefined;this.sizeSm=undefined;this.sizeMd=undefined;this.sizeLg=undefined;this.sizeXl=undefined}i.prototype.onResize=function(){forceUpdate(this)};i.prototype.getColumns=function(i){var d;for(var n=0,a=BREAKPOINTS;n<a.length;n++){var r=a[n];var g=matchBreakpoint(r);var o=this[i+r.charAt(0).toUpperCase()+r.slice(1)];if(g&&o!==undefined){d=o}}return d};i.prototype.calculateSize=function(){var i=this.getColumns("size");if(!i||i===""){return}var d=i==="auto"?"auto":SUPPORTS_VARS?"calc(calc(".concat(i," / var(--ion-grid-columns, 12)) * 100%)"):i/12*100+"%";return{flex:"0 0 ".concat(d),width:"".concat(d),"max-width":"".concat(d)}};i.prototype.calculatePosition=function(i,d){var n;var a=this.getColumns(i);if(!a){return}var r=SUPPORTS_VARS?"calc(calc(".concat(a," / var(--ion-grid-columns, 12)) * 100%)"):a>0&&a<12?a/12*100+"%":"auto";return n={},n[d]=r,n};i.prototype.calculateOffset=function(i){return this.calculatePosition("offset",i?"margin-right":"margin-left")};i.prototype.calculatePull=function(i){return this.calculatePosition("pull",i?"left":"right")};i.prototype.calculatePush=function(i){return this.calculatePosition("push",i?"right":"left")};i.prototype.render=function(){var i;var d=document.dir==="rtl";var n=getIonMode(this);return h(Host,{class:(i={},i[n]=true,i),style:Object.assign(Object.assign(Object.assign(Object.assign({},this.calculateOffset(d)),this.calculatePull(d)),this.calculatePush(d)),this.calculateSize())},h("slot",null))};return i}();Col.style=colCss;var gridCss=":host{-webkit-padding-start:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-xs, var(--ion-grid-padding, 5px));-webkit-margin-start:auto;margin-inline-start:auto;-webkit-margin-end:auto;margin-inline-end:auto;display:block;-ms-flex:1;flex:1}@media (min-width: 576px){:host{-webkit-padding-start:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-sm, var(--ion-grid-padding, 5px))}}@media (min-width: 768px){:host{-webkit-padding-start:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-md, var(--ion-grid-padding, 5px))}}@media (min-width: 992px){:host{-webkit-padding-start:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-lg, var(--ion-grid-padding, 5px))}}@media (min-width: 1200px){:host{-webkit-padding-start:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-inline-start:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));-webkit-padding-end:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-inline-end:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-top:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px));padding-bottom:var(--ion-grid-padding-xl, var(--ion-grid-padding, 5px))}}:host(.grid-fixed){width:var(--ion-grid-width-xs, var(--ion-grid-width, 100%));max-width:100%}@media (min-width: 576px){:host(.grid-fixed){width:var(--ion-grid-width-sm, var(--ion-grid-width, 540px))}}@media (min-width: 768px){:host(.grid-fixed){width:var(--ion-grid-width-md, var(--ion-grid-width, 720px))}}@media (min-width: 992px){:host(.grid-fixed){width:var(--ion-grid-width-lg, var(--ion-grid-width, 960px))}}@media (min-width: 1200px){:host(.grid-fixed){width:var(--ion-grid-width-xl, var(--ion-grid-width, 1140px))}}:host(.ion-no-padding){--ion-grid-column-padding:0;--ion-grid-column-padding-xs:0;--ion-grid-column-padding-sm:0;--ion-grid-column-padding-md:0;--ion-grid-column-padding-lg:0;--ion-grid-column-padding-xl:0}";var Grid=function(){function i(i){registerInstance(this,i);this.fixed=false}i.prototype.render=function(){var i;var d=getIonMode(this);return h(Host,{class:(i={},i[d]=true,i["grid-fixed"]=this.fixed,i)},h("slot",null))};return i}();Grid.style=gridCss;var rowCss=":host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}";var Row=function(){function i(i){registerInstance(this,i)}i.prototype.render=function(){return h(Host,{class:getIonMode(this)},h("slot",null))};return i}();Row.style=rowCss;export{Col as ion_col,Grid as ion_grid,Row as ion_row};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import{__awaiter,__generator}from"tslib";
|
|
2
2
|
/*!
|
|
3
3
|
* (C) Ionic http://ionicframework.com - MIT License
|
|
4
|
-
*/import{r as registerInstance,h,H as Host,f as getElement}from"./index-
|
|
4
|
+
*/import{r as registerInstance,h,H as Host,f as getElement}from"./index-b49b173c.js";import{a as addEventListener,c as componentOnReady}from"./helpers-3379ba19.js";import{a as printIonError}from"./index-595d62c9.js";import{c as createColorClasses}from"./theme-17531cdf.js";import{b as getIonMode}from"./ionic-global-246ca78f.js";import{q as parseDate,t as getToday,J as is24Hour,S as getLocalizedDateTime,G as getMonthAndYear,K as getLocalizedTime,T as getMonthDayAndYear}from"./data-009dbf15.js";var iosDatetimeButtonCss=":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host button{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:0px;margin-bottom:0px;position:relative;-webkit-transition:150ms color ease-in-out;transition:150ms color ease-in-out;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;overflow:hidden}:host(.time-active) #time-button,:host(.date-active) #date-button{color:var(--ion-color-base)}:host(.datetime-button-disabled){pointer-events:none}:host(.datetime-button-disabled) button{opacity:0.4}";var mdDatetimeButtonCss=":host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host button{border-radius:8px;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:0px;margin-bottom:0px;position:relative;-webkit-transition:150ms color ease-in-out;transition:150ms color ease-in-out;border:none;background:var(--ion-color-step-300, #edeef0);color:var(--ion-text-color, #000);font-family:inherit;font-size:inherit;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;overflow:hidden}:host(.time-active) #time-button,:host(.date-active) #date-button{color:var(--ion-color-base)}:host(.datetime-button-disabled){pointer-events:none}:host(.datetime-button-disabled) button{opacity:0.4}";var DatetimeButton=function(){function e(e){var t=this;registerInstance(this,e);this.datetimeEl=null;this.overlayEl=null;this.getParsedDateValues=function(e){if(e===undefined||e===null){return[]}if(Array.isArray(e)){return e}return[e]};this.setDateTimeText=function(){var e=t,a=e.datetimeEl,i=e.datetimePresentation;if(!a){return}var n=a.value,r=a.locale,o=a.hourCycle,s=a.preferWheel,d=a.multiple,c=a.titleSelectedDatesFormatter;var l=t.getParsedDateValues(n);var m=parseDate(l.length>0?l:[getToday()]);if(!m){return}var u=m[0];var p=is24Hour(r,o);t.dateText=t.timeText=undefined;switch(i){case"date-time":case"time-date":var f=getMonthDayAndYear(r,u);var h=getLocalizedTime(r,u,p);if(s){t.dateText="".concat(f," ").concat(h)}else{t.dateText=f;t.timeText=h}break;case"date":if(d&&l.length!==1){var b="".concat(l.length," days");if(c!==undefined){try{b=c(l)}catch(e){printIonError("Exception in provided `titleSelectedDatesFormatter`: ",e)}}t.dateText=b}else{t.dateText=getMonthDayAndYear(r,u)}break;case"time":t.timeText=getLocalizedTime(r,u,p);break;case"month-year":t.dateText=getMonthAndYear(r,u);break;case"month":t.dateText=getLocalizedDateTime(r,u,{month:"long"});break;case"year":t.dateText=getLocalizedDateTime(r,u,{year:"numeric"});break}};this.waitForDatetimeChanges=function(){return __awaiter(t,void 0,void 0,(function(){var e;return __generator(this,(function(t){e=this.datetimeEl;if(!e){return[2,Promise.resolve()]}return[2,new Promise((function(t){addEventListener(e,"ionRender",t,{once:true})}))]}))}))};this.handleDateClick=function(e){return __awaiter(t,void 0,void 0,(function(){var t,a,i,n,r;return __generator(this,(function(o){t=this,a=t.datetimeEl,i=t.datetimePresentation;if(!a){return[2]}n=false;switch(i){case"date-time":case"time-date":r=a.presentation!=="date";if(!a.preferWheel&&r){a.presentation="date";n=true}break}this.selectedButton="date";this.presentOverlay(e,n,this.dateTargetEl);return[2]}))}))};this.handleTimeClick=function(e){var a=t,i=a.datetimeEl,n=a.datetimePresentation;if(!i){return}var r=false;switch(n){case"date-time":case"time-date":var o=i.presentation!=="time";if(o){i.presentation="time";r=true}break}t.selectedButton="time";t.presentOverlay(e,r,t.timeTargetEl)};this.presentOverlay=function(e,a,i){return __awaiter(t,void 0,void 0,(function(){var t;return __generator(this,(function(n){switch(n.label){case 0:t=this.overlayEl;if(!t){return[2]}if(!(t.tagName==="ION-POPOVER"))return[3,3];if(!a)return[3,2];return[4,this.waitForDatetimeChanges()];case 1:n.sent();n.label=2;case 2:t.present(Object.assign(Object.assign({},e),{detail:{ionShadowTarget:i}}));return[3,4];case 3:t.present();n.label=4;case 4:return[2]}}))}))};this.datetimePresentation="date-time";this.dateText=undefined;this.timeText=undefined;this.datetimeActive=false;this.selectedButton=undefined;this.color="primary";this.disabled=false;this.datetime=undefined}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,a,i;var n=this;return __generator(this,(function(r){e=this.datetime;if(!e){printIonError("An ID associated with an ion-datetime instance is required for ion-datetime-button to function properly.",this.el);return[2]}t=this.datetimeEl=document.getElementById(e);if(!t){printIonError("No ion-datetime instance found for ID '".concat(e,"'."),this.el);return[2]}if(t.tagName!=="ION-DATETIME"){printIonError("Expected an ion-datetime instance for ID '".concat(e,"' but received '").concat(t.tagName.toLowerCase(),"' instead."),t);return[2]}a=new IntersectionObserver((function(e){var t=e[0];n.datetimeActive=t.isIntersecting}),{threshold:.01});a.observe(t);i=this.overlayEl=t.closest("ion-modal, ion-popover");if(i){i.classList.add("ion-datetime-button-overlay")}componentOnReady(t,(function(){var e=n.datetimePresentation=t.presentation||"date-time";n.setDateTimeText();addEventListener(t,"ionValueChange",n.setDateTimeText);switch(e){case"date-time":case"date":case"month-year":case"month":case"year":n.selectedButton="date";break;case"time-date":case"time":n.selectedButton="time";break}}));return[2]}))}))};e.prototype.render=function(){var e;var t=this;var a=this,i=a.color,n=a.dateText,r=a.timeText,o=a.selectedButton,s=a.datetimeActive,d=a.disabled;var c=getIonMode(this);return h(Host,{class:createColorClasses(i,(e={},e[c]=true,e["".concat(o,"-active")]=s,e["datetime-button-disabled"]=d,e))},n&&h("button",{class:"ion-activatable",id:"date-button","aria-expanded":s?"true":"false",onClick:this.handleDateClick,disabled:d,part:"native",ref:function(e){return t.dateTargetEl=e}},h("slot",{name:"date-target"},n),c==="md"&&h("ion-ripple-effect",null)),r&&h("button",{class:"ion-activatable",id:"time-button","aria-expanded":s?"true":"false",onClick:this.handleTimeClick,disabled:d,part:"native",ref:function(e){return t.timeTargetEl=e}},h("slot",{name:"time-target"},r),c==="md"&&h("ion-ripple-effect",null)))};Object.defineProperty(e.prototype,"el",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();DatetimeButton.style={ios:iosDatetimeButtonCss,md:mdDatetimeButtonCss};export{DatetimeButton as ion_datetime_button};
|