@ionic/core 8.8.7-dev.11779400352.127ba526 → 8.8.7-dev.11779467048.1641d05e
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/index.js +1 -1
- package/components/ion-action-sheet.js +1 -1
- package/components/ion-alert.js +1 -1
- package/components/ion-back-button.js +1 -1
- package/components/ion-button.js +1 -1
- package/components/ion-card.js +1 -1
- package/components/ion-chip.js +1 -1
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +1 -1
- package/components/ion-fab-button.js +1 -1
- package/components/ion-gallery.js +1 -1
- package/components/ion-grid.js +1 -1
- package/components/ion-header.js +1 -1
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +1 -1
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-otp.js +1 -1
- package/components/ion-input-password-toggle.js +1 -1
- package/components/ion-input.js +1 -1
- package/components/ion-item-divider.js +1 -1
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +1 -1
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-item.js +1 -1
- package/components/ion-label.js +1 -1
- package/components/ion-list-header.js +1 -1
- package/components/ion-list.js +1 -1
- package/components/ion-loading.js +1 -1
- package/components/ion-menu-button.js +1 -1
- package/components/ion-menu-toggle.js +1 -1
- package/components/ion-menu.js +1 -1
- package/components/ion-modal.js +1 -1
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +1 -1
- package/components/ion-picker-column-option.js +1 -1
- package/components/ion-picker-legacy-column.js +1 -1
- package/components/ion-picker-legacy.js +1 -1
- package/components/ion-popover.js +1 -1
- package/components/ion-progress-bar.js +1 -1
- package/components/ion-radio-group.js +1 -1
- package/components/ion-radio.js +1 -1
- package/components/ion-range.js +1 -1
- package/components/ion-refresher-content.js +1 -1
- package/components/ion-refresher.js +1 -1
- package/components/ion-reorder-group.js +1 -1
- package/components/ion-reorder.js +1 -1
- package/components/ion-ripple-effect.js +1 -1
- package/components/ion-router-link.js +1 -1
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-row.js +1 -1
- package/components/ion-searchbar.js +1 -1
- package/components/ion-segment-button.js +1 -1
- package/components/ion-segment-content.js +1 -1
- package/components/ion-segment-view.js +1 -1
- package/components/ion-segment.js +1 -1
- package/components/ion-select-modal.js +1 -1
- package/components/ion-select-option.js +1 -1
- package/components/ion-select-popover.js +1 -1
- package/components/ion-select.js +1 -1
- package/components/ion-skeleton-text.js +1 -1
- package/components/ion-spinner.js +1 -1
- package/components/ion-split-pane.js +1 -1
- package/components/ion-tab-bar.js +1 -1
- package/components/ion-tab-button.js +1 -1
- package/components/ion-tab.js +1 -1
- package/components/ion-tabs.js +1 -1
- package/components/ion-text.js +1 -1
- package/components/ion-textarea.js +1 -1
- package/components/ion-thumbnail.js +1 -1
- package/components/ion-title.js +1 -1
- package/components/ion-toast.js +1 -1
- package/components/ion-toggle.js +1 -1
- package/components/ion-toolbar.js +1 -1
- package/components/{p-B-oPDoNQ.js → p-BFbsici0.js} +1 -1
- package/components/{p-6_r-Odtt.js → p-BLCuPAtN.js} +1 -1
- package/components/{p-CSf_VKpz.js → p-BRWWcnBq.js} +1 -1
- package/components/{p-CvljGih0.js → p-BXcCGjEc.js} +1 -1
- package/components/{p-DZOqbnq2.js → p-BqImG3uk.js} +1 -1
- package/components/{p-D42P_qbe.js → p-C38HUpU5.js} +1 -1
- package/components/{p-Ddl4_R29.js → p-C4G6C9fP.js} +1 -1
- package/components/{p-C-Vjb84N.js → p-C8ktKu9j.js} +1 -1
- package/components/{p-J7srYGKf.js → p-CIoAIKEr.js} +1 -1
- package/components/{p-BhkRbo3L.js → p-CN-WzkJE.js} +1 -1
- package/components/p-CVRxImH6.js +4 -0
- package/components/{p-KF2RUDHO.js → p-CoFDGTFO.js} +1 -1
- package/components/{p-n94Bzx6_.js → p-CoFqDNc5.js} +1 -1
- package/components/{p-vGxjPSKT.js → p-CykCvfXQ.js} +1 -1
- package/components/p-DHTe6lDL.js +4 -0
- package/components/{p-C75do9pU.js → p-DH_9VCbD.js} +1 -1
- package/components/{p-Ct1_qpJ-.js → p-DTtRWhIZ.js} +1 -1
- package/components/{p-BdmDSErh.js → p-DXUyXgVL.js} +1 -1
- package/components/{p-BLHs-wsh.js → p-IMXp2Inn.js} +1 -1
- package/components/{p-lEYPO4ZC.js → p-TR4ubkPu.js} +1 -1
- package/components/{p-CieebRr6.js → p-qZr7hBPz.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/ion-action-sheet.cjs.entry.js +1 -1
- package/dist/cjs/ion-alert.cjs.entry.js +1 -1
- package/dist/cjs/ion-app_8.cjs.entry.js +7 -7
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-datetime_3.cjs.entry.js +5 -5
- package/dist/cjs/ion-gallery.cjs.entry.js +8 -57
- package/dist/cjs/ion-img.cjs.entry.js +2 -2
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-otp.cjs.entry.js +3 -3
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ion-input.cjs.entry.js +4 -4
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +12 -12
- package/dist/cjs/ion-loading.cjs.entry.js +3 -3
- package/dist/cjs/ion-menu_3.cjs.entry.js +7 -7
- package/dist/cjs/ion-modal.cjs.entry.js +5 -5
- package/dist/cjs/ion-nav_2.cjs.entry.js +2 -2
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +3 -3
- package/dist/cjs/ion-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/ion-radio_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-range.cjs.entry.js +3 -3
- package/dist/cjs/ion-refresher_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-reorder_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route_4.cjs.entry.js +2 -2
- package/dist/cjs/ion-searchbar.cjs.entry.js +4 -4
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-select-modal.cjs.entry.js +2 -2
- package/dist/cjs/ion-select_3.cjs.entry.js +7 -7
- package/dist/cjs/ion-spinner.cjs.entry.js +1 -1
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-tab_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +3 -3
- package/dist/cjs/ion-toast.cjs.entry.js +3 -3
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/cjs/ionic.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{overlays-Hci_7vw_.js → overlays-C54DhaTC.js} +187 -10
- package/dist/collection/collection-manifest.json +0 -1
- package/dist/collection/components/gallery/gallery.css +24 -0
- package/dist/collection/components/gallery/gallery.js +7 -56
- package/dist/collection/components/gallery/test/utils.js +13 -13
- package/dist/collection/components/grid/grid.js +2 -2
- package/dist/collection/components/header/header.js +2 -2
- package/dist/collection/components/img/img.js +2 -2
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +1 -1
- package/dist/collection/components/infinite-scroll-content/infinite-scroll-content.js +2 -2
- package/dist/collection/components/input/input.js +4 -4
- package/dist/collection/components/input-otp/input-otp.js +3 -3
- package/dist/collection/components/input-password-toggle/input-password-toggle.js +3 -3
- package/dist/collection/components/item-divider/item-divider.js +2 -2
- package/dist/collection/components/item-group/item-group.js +1 -1
- package/dist/collection/components/item-option/item-option.js +2 -2
- package/dist/collection/components/item-options/item-options.js +1 -1
- package/dist/collection/components/item-sliding/item-sliding.js +1 -1
- package/dist/collection/components/label/label.js +2 -2
- package/dist/collection/components/list/list.js +1 -1
- package/dist/collection/components/list-header/list-header.js +2 -2
- package/dist/collection/components/loading/loading.js +2 -2
- package/dist/collection/components/menu/menu.js +2 -2
- package/dist/collection/components/menu-button/menu-button.js +2 -2
- package/dist/collection/components/menu-toggle/menu-toggle.js +2 -2
- package/dist/collection/components/modal/modal.js +4 -4
- package/dist/collection/components/nav/nav.js +1 -1
- package/dist/collection/components/nav-link/nav-link.js +1 -1
- package/dist/collection/components/note/note.js +2 -2
- package/dist/collection/components/picker-column-option/picker-column-option.js +2 -2
- package/dist/collection/components/picker-legacy/picker.js +2 -2
- package/dist/collection/components/picker-legacy-column/picker-column.js +2 -2
- package/dist/collection/components/popover/popover.js +2 -2
- package/dist/collection/components/progress-bar/progress-bar.js +1 -1
- package/dist/collection/components/radio/radio.js +3 -3
- package/dist/collection/components/radio-group/radio-group.js +2 -2
- package/dist/collection/components/range/range.js +3 -3
- package/dist/collection/components/refresher/refresher.js +1 -1
- package/dist/collection/components/refresher-content/refresher-content.js +2 -2
- package/dist/collection/components/reorder/reorder.js +2 -2
- package/dist/collection/components/reorder-group/reorder-group.js +1 -1
- package/dist/collection/components/ripple-effect/ripple-effect.js +1 -1
- package/dist/collection/components/router-link/router-link.js +2 -2
- package/dist/collection/components/router-outlet/router-outlet.js +1 -1
- package/dist/collection/components/row/row.js +2 -2
- package/dist/collection/components/searchbar/searchbar.js +4 -4
- package/dist/collection/components/segment/segment.js +2 -2
- package/dist/collection/components/segment-button/segment-button.js +2 -2
- package/dist/collection/components/segment-content/segment-content.js +1 -1
- package/dist/collection/components/segment-view/segment-view.js +2 -2
- package/dist/collection/components/select/select.js +3 -3
- package/dist/collection/components/select-modal/select-modal.js +1 -1
- package/dist/collection/components/select-option/select-option.js +1 -1
- package/dist/collection/components/select-popover/select-popover.js +2 -2
- package/dist/collection/components/skeleton-text/skeleton-text.js +2 -2
- package/dist/collection/components/spinner/spinner.js +1 -1
- package/dist/collection/components/split-pane/split-pane.js +2 -2
- package/dist/collection/components/tab/tab.js +2 -2
- package/dist/collection/components/tab-bar/tab-bar.js +2 -2
- package/dist/collection/components/tab-button/tab-button.js +2 -2
- package/dist/collection/components/tabs/tabs.js +1 -1
- package/dist/collection/components/text/text.js +2 -2
- package/dist/collection/components/textarea/textarea.js +3 -3
- package/dist/collection/components/thumbnail/thumbnail.js +2 -2
- package/dist/collection/components/title/title.js +2 -2
- package/dist/collection/components/toast/toast.js +2 -2
- package/dist/collection/components/toggle/toggle.js +3 -3
- package/dist/collection/components/toolbar/toolbar.js +2 -2
- package/dist/collection/utils/overlays.js +187 -10
- package/dist/docs.json +1 -85
- package/dist/esm/index.js +1 -1
- package/dist/esm/ion-action-sheet.entry.js +1 -1
- package/dist/esm/ion-alert.entry.js +1 -1
- package/dist/esm/ion-app_8.entry.js +7 -7
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +4 -4
- package/dist/esm/ion-datetime_3.entry.js +5 -5
- package/dist/esm/ion-gallery.entry.js +8 -57
- package/dist/esm/ion-img.entry.js +2 -2
- package/dist/esm/ion-infinite-scroll_2.entry.js +3 -3
- package/dist/esm/ion-input-otp.entry.js +3 -3
- package/dist/esm/ion-input-password-toggle.entry.js +3 -3
- package/dist/esm/ion-input.entry.js +4 -4
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +12 -12
- package/dist/esm/ion-loading.entry.js +3 -3
- package/dist/esm/ion-menu_3.entry.js +7 -7
- package/dist/esm/ion-modal.entry.js +5 -5
- package/dist/esm/ion-nav_2.entry.js +2 -2
- package/dist/esm/ion-picker-column-option.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +3 -3
- package/dist/esm/ion-progress-bar.entry.js +1 -1
- package/dist/esm/ion-radio_2.entry.js +5 -5
- package/dist/esm/ion-range.entry.js +3 -3
- package/dist/esm/ion-refresher_2.entry.js +3 -3
- package/dist/esm/ion-reorder_2.entry.js +3 -3
- package/dist/esm/ion-ripple-effect.entry.js +1 -1
- package/dist/esm/ion-route_4.entry.js +2 -2
- package/dist/esm/ion-searchbar.entry.js +4 -4
- package/dist/esm/ion-segment-content.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +2 -2
- package/dist/esm/ion-segment_2.entry.js +4 -4
- package/dist/esm/ion-select-modal.entry.js +2 -2
- package/dist/esm/ion-select_3.entry.js +7 -7
- package/dist/esm/ion-spinner.entry.js +1 -1
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +4 -4
- package/dist/esm/ion-tab_2.entry.js +3 -3
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +3 -3
- package/dist/esm/ion-toast.entry.js +3 -3
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/esm/ionic.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{overlays-rwDDzEs4.js → overlays-ttYCMKRp.js} +187 -10
- package/dist/html.html-data.json +0 -42
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-6911beb3.entry.js → p-00c0bd38.entry.js} +1 -1
- package/dist/ionic/p-06bd033b.entry.js +4 -0
- package/dist/ionic/{p-b8f7e970.entry.js → p-1709b0aa.entry.js} +1 -1
- package/dist/ionic/{p-7761b69d.entry.js → p-1c2c1869.entry.js} +1 -1
- package/dist/ionic/{p-bd3ae730.entry.js → p-1c4de46b.entry.js} +1 -1
- package/dist/ionic/p-1e1c8d61.entry.js +4 -0
- package/dist/ionic/{p-fe073307.entry.js → p-1f74b8d4.entry.js} +1 -1
- package/dist/ionic/p-2aa7567e.entry.js +4 -0
- package/dist/ionic/{p-455ac83a.entry.js → p-2ad79c23.entry.js} +1 -1
- package/dist/ionic/{p-2c252788.entry.js → p-2f8aa0ac.entry.js} +1 -1
- package/dist/ionic/{p-3d939d55.entry.js → p-3331cfa9.entry.js} +1 -1
- package/dist/ionic/{p-dd1e95c5.entry.js → p-33c34361.entry.js} +1 -1
- package/dist/ionic/{p-636aa79b.entry.js → p-3f79f594.entry.js} +1 -1
- package/dist/ionic/{p-8291455b.entry.js → p-48026d15.entry.js} +1 -1
- package/dist/ionic/{p-e5976b28.entry.js → p-5061a8d4.entry.js} +1 -1
- package/dist/ionic/{p-fc01563c.entry.js → p-50b61fab.entry.js} +1 -1
- package/dist/ionic/{p-c55a5578.entry.js → p-50cd2d57.entry.js} +1 -1
- package/dist/ionic/{p-503219b5.entry.js → p-5274f999.entry.js} +1 -1
- package/dist/ionic/{p-c1d6501a.entry.js → p-586d4270.entry.js} +1 -1
- package/dist/ionic/{p-e342b205.entry.js → p-7054a1b9.entry.js} +1 -1
- package/dist/ionic/{p-cecceb9f.entry.js → p-72491468.entry.js} +1 -1
- package/dist/ionic/{p-02a1a45c.entry.js → p-76307d10.entry.js} +1 -1
- package/dist/ionic/{p-5b164421.entry.js → p-7d5057c4.entry.js} +1 -1
- package/dist/ionic/{p-bb2d2635.entry.js → p-83c693c4.entry.js} +1 -1
- package/dist/ionic/{p-fdf0e290.entry.js → p-8537b2fb.entry.js} +1 -1
- package/dist/ionic/{p-4a0260e6.entry.js → p-8f04bd89.entry.js} +1 -1
- package/dist/ionic/{p-0ef2fcda.entry.js → p-90e653e3.entry.js} +1 -1
- package/dist/ionic/p-967576f8.entry.js +4 -0
- package/dist/ionic/{p-d604defc.entry.js → p-9d789053.entry.js} +1 -1
- package/dist/ionic/p-DdyNaGpi.js +4 -0
- package/dist/ionic/{p-65159e09.entry.js → p-ae667493.entry.js} +1 -1
- package/dist/ionic/{p-e73a7fe2.entry.js → p-b2fe6c1c.entry.js} +1 -1
- package/dist/ionic/{p-92427c9d.entry.js → p-b3c9f19c.entry.js} +1 -1
- package/dist/ionic/{p-83c0eb9b.entry.js → p-b653f4c2.entry.js} +1 -1
- package/dist/ionic/{p-9f914d43.entry.js → p-bb898d47.entry.js} +1 -1
- package/dist/ionic/{p-0c3bf0a7.entry.js → p-bd71a4a7.entry.js} +1 -1
- package/dist/ionic/{p-3fd97ea9.entry.js → p-d4ed5710.entry.js} +1 -1
- package/dist/ionic/{p-874945f3.entry.js → p-d6299c37.entry.js} +1 -1
- package/dist/ionic/{p-229c8fb5.entry.js → p-dea52cb3.entry.js} +1 -1
- package/dist/ionic/{p-2a66b899.entry.js → p-e18d3fdb.entry.js} +1 -1
- package/dist/ionic/{p-6ec1e450.entry.js → p-fad05840.entry.js} +1 -1
- package/dist/ionic/{p-432c5888.entry.js → p-fc796d48.entry.js} +1 -1
- package/dist/types/components/gallery/gallery.d.ts +2 -10
- package/dist/types/components/gallery/test/utils.d.ts +1 -1
- package/dist/types/components.d.ts +0 -29
- package/hydrate/index.js +317 -269
- package/hydrate/index.mjs +317 -269
- package/package.json +1 -1
- package/components/ion-gallery-item.d.ts +0 -11
- package/components/ion-gallery-item.js +0 -4
- package/components/p-C4dDZdpz.js +0 -4
- package/components/p-CtiqM786.js +0 -4
- package/dist/cjs/ion-gallery-item.cjs.entry.js +0 -72
- package/dist/collection/components/gallery-item/gallery-item.css +0 -87
- package/dist/collection/components/gallery-item/gallery-item.js +0 -87
- package/dist/esm/ion-gallery-item.entry.js +0 -70
- package/dist/ionic/p-1ab01507.entry.js +0 -4
- package/dist/ionic/p-21ca5788.entry.js +0 -4
- package/dist/ionic/p-2981a0bd.entry.js +0 -4
- package/dist/ionic/p-2d5a2511.entry.js +0 -4
- package/dist/ionic/p-76de7898.entry.js +0 -4
- package/dist/ionic/p-C4uUM9DM.js +0 -4
- package/dist/types/components/gallery-item/gallery-item.d.ts +0 -25
|
@@ -8,7 +8,7 @@ var config = require('./config-DWdFbSNK.js');
|
|
|
8
8
|
var buttonActive = require('./button-active-JoIWyYri.js');
|
|
9
9
|
var helpers = require('./helpers-DJYxKN5U.js');
|
|
10
10
|
var lockController = require('./lock-controller-aDB9wrEf.js');
|
|
11
|
-
var overlays = require('./overlays-
|
|
11
|
+
var overlays = require('./overlays-C54DhaTC.js');
|
|
12
12
|
var index$1 = require('./index-BJlwOs11.js');
|
|
13
13
|
var selectOptionRender = require('./select-option-render-C7klBX2H.js');
|
|
14
14
|
var theme = require('./theme-IlOsGAz7.js');
|
|
@@ -1068,7 +1068,7 @@ const Header = class {
|
|
|
1068
1068
|
const isCondensed = collapse === 'condense';
|
|
1069
1069
|
// banner role must be at top level, so remove role if inside a menu
|
|
1070
1070
|
const roleType = getRoleType(theme.hostContext('ion-menu', this.el), isCondensed, theme$1);
|
|
1071
|
-
return (index.h(index.Host, Object.assign({ key: '
|
|
1071
|
+
return (index.h(index.Host, Object.assign({ key: 'b43e5f542bdcec5e94c299556183cf6d9d673438', role: roleType, class: {
|
|
1072
1072
|
[theme$1]: true,
|
|
1073
1073
|
// Used internally for styling
|
|
1074
1074
|
[`header-${theme$1}`]: true,
|
|
@@ -1076,7 +1076,7 @@ const Header = class {
|
|
|
1076
1076
|
[`header-collapse-${collapse}`]: true,
|
|
1077
1077
|
[`header-translucent-${theme$1}`]: this.translucent,
|
|
1078
1078
|
['header-divider']: divider,
|
|
1079
|
-
} }, inheritedAttributes), theme$1 !== 'md' && translucent && index.h("div", { key: '
|
|
1079
|
+
} }, inheritedAttributes), theme$1 !== 'md' && translucent && index.h("div", { key: 'fd9938f02edd38e1afc83025373ec0aec5633711', class: "header-background" }), index.h("slot", { key: '900aaa7da5d6f08e6f94b128fa065348d595159e' })));
|
|
1080
1080
|
}
|
|
1081
1081
|
get el() { return index.getElement(this); }
|
|
1082
1082
|
};
|
|
@@ -1263,7 +1263,7 @@ const RouterOutlet = class {
|
|
|
1263
1263
|
return true;
|
|
1264
1264
|
}
|
|
1265
1265
|
render() {
|
|
1266
|
-
return index.h("slot", { key: '
|
|
1266
|
+
return index.h("slot", { key: 'f59dfdc11831ed91f5f7d8147cdc14f3c07bc289' });
|
|
1267
1267
|
}
|
|
1268
1268
|
get el() { return index.getElement(this); }
|
|
1269
1269
|
static get watchers() { return {
|
|
@@ -1303,11 +1303,11 @@ const ToolbarTitle = class {
|
|
|
1303
1303
|
render() {
|
|
1304
1304
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
1305
1305
|
const size = this.getSize();
|
|
1306
|
-
return (index.h(index.Host, { key: '
|
|
1306
|
+
return (index.h(index.Host, { key: '87bb5264f4c13d0d6eeef874ed114539d0b59062', class: theme.createColorClasses(this.color, {
|
|
1307
1307
|
[theme$1]: true,
|
|
1308
1308
|
[`title-${size}`]: true,
|
|
1309
1309
|
'title-rtl': document.dir === 'rtl',
|
|
1310
|
-
}) }, index.h("div", { key: '
|
|
1310
|
+
}) }, index.h("div", { key: '75f2ddfaf693ffdec13d909eefdb09b441d76e80', class: "toolbar-title" }, index.h("slot", { key: '00539af5e250bee78fdd1c55f2ecdc8e53bc18b0' }))));
|
|
1311
1311
|
}
|
|
1312
1312
|
get el() { return index.getElement(this); }
|
|
1313
1313
|
static get watchers() { return {
|
|
@@ -1553,11 +1553,11 @@ const Toolbar = class {
|
|
|
1553
1553
|
Object.assign(childStyles, style);
|
|
1554
1554
|
});
|
|
1555
1555
|
const titlePlacement = this.getTitlePlacement();
|
|
1556
|
-
return (index.h(index.Host, { key: '
|
|
1556
|
+
return (index.h(index.Host, { key: '069913e9241b8e9a2dee8e7d088d181b6faeab5e', class: Object.assign(Object.assign({}, theme.createColorClasses(this.color, {
|
|
1557
1557
|
[theme$1]: true,
|
|
1558
1558
|
'in-toolbar': theme.hostContext('ion-toolbar', this.el),
|
|
1559
1559
|
[`toolbar-title-placement-${titlePlacement}`]: true,
|
|
1560
|
-
})), childStyles) }, index.h("div", { key: '
|
|
1560
|
+
})), childStyles) }, index.h("div", { key: '3255531be492b9afa7b47476a805f923beea09db', class: "toolbar-background", part: "background" }), index.h("div", { key: '8758189374c0a12f293c30ca7f8f049b732d2cab', class: "toolbar-container", part: "container" }, index.h("slot", { key: '74c3705f717968893bf94ea95c99cae313ce68f3', name: "start", onSlotchange: () => this.updateSlotClasses }), index.h("slot", { key: '298c78f93291442f140f8c52983871215f20ea87', name: "secondary", onSlotchange: () => this.updateSlotClasses }), index.h("div", { key: 'f7376320b704b8ce375fe2223ae30d51bfc05acb', class: "toolbar-content", part: "content" }, index.h("slot", { key: 'ddaec08b1fbd13384d834ba4c3b4441c4d749faf' })), index.h("slot", { key: '6d5bce85159859bb548e4d3fb6b22208dcb48987', name: "primary", onSlotchange: () => this.updateSlotClasses }), index.h("slot", { key: 'd1d21752ed3bcc7bf15c20de1c0a6fd956373450', name: "end", onSlotchange: () => this.updateSlotClasses }))));
|
|
1561
1561
|
}
|
|
1562
1562
|
get el() { return index.getElement(this); }
|
|
1563
1563
|
static get watchers() { return {
|
|
@@ -161,9 +161,9 @@ const Thumbnail = class {
|
|
|
161
161
|
}
|
|
162
162
|
render() {
|
|
163
163
|
const theme = ionicGlobal.getIonTheme(this);
|
|
164
|
-
return (index.h(index.Host, { key: '
|
|
164
|
+
return (index.h(index.Host, { key: '2fb4e6f9f650badf2bc492fc4b1c43cad64141c0', class: {
|
|
165
165
|
[theme]: true,
|
|
166
|
-
} }, index.h("slot", { key: '
|
|
166
|
+
} }, index.h("slot", { key: 'ea18f4572b2b019af3470c6bdb7915d4a5dd84bb' })));
|
|
167
167
|
}
|
|
168
168
|
};
|
|
169
169
|
Thumbnail.style = thumbnailCss();
|
|
@@ -128,10 +128,10 @@ const Grid = class {
|
|
|
128
128
|
}
|
|
129
129
|
render() {
|
|
130
130
|
const theme = ionicGlobal.getIonTheme(this);
|
|
131
|
-
return (index.h(index.Host, { key: '
|
|
131
|
+
return (index.h(index.Host, { key: '43b4e05ef076160d901c70dc37e177f19b524349', class: {
|
|
132
132
|
[theme]: true,
|
|
133
133
|
'grid-fixed': this.fixed,
|
|
134
|
-
} }, index.h("slot", { key: '
|
|
134
|
+
} }, index.h("slot", { key: 'f3805936034708e6783223ded72c0ecfd40e5fb0' })));
|
|
135
135
|
}
|
|
136
136
|
};
|
|
137
137
|
Grid.style = gridCss();
|
|
@@ -144,9 +144,9 @@ const Row = class {
|
|
|
144
144
|
}
|
|
145
145
|
render() {
|
|
146
146
|
const theme = ionicGlobal.getIonTheme(this);
|
|
147
|
-
return (index.h(index.Host, { key: '
|
|
147
|
+
return (index.h(index.Host, { key: '64ff6346d95be8d99d6500a6263067081f3fe254', class: {
|
|
148
148
|
[theme]: true,
|
|
149
|
-
} }, index.h("slot", { key: '
|
|
149
|
+
} }, index.h("slot", { key: 'e9b4c111f3a49515a721bf679ef2f1a039c9822a' })));
|
|
150
150
|
}
|
|
151
151
|
};
|
|
152
152
|
Row.style = rowCss();
|
|
@@ -8,7 +8,7 @@ var caretLeft = require('./caret-left-CxZXLRv5.js');
|
|
|
8
8
|
var caretRight = require('./caret-right-CRCgv98E.js');
|
|
9
9
|
var focusVisible = require('./focus-visible-BIj-I3-C.js');
|
|
10
10
|
var helpers = require('./helpers-DJYxKN5U.js');
|
|
11
|
-
var overlays = require('./overlays-
|
|
11
|
+
var overlays = require('./overlays-C54DhaTC.js');
|
|
12
12
|
var dir = require('./dir-Cn0z1rJH.js');
|
|
13
13
|
var theme = require('./theme-IlOsGAz7.js');
|
|
14
14
|
var index$1 = require('./index-CgAbCW6L.js');
|
|
@@ -2311,11 +2311,11 @@ const Picker = class {
|
|
|
2311
2311
|
render() {
|
|
2312
2312
|
const { htmlAttributes } = this;
|
|
2313
2313
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
2314
|
-
return (index.h(index.Host, Object.assign({ key: '
|
|
2314
|
+
return (index.h(index.Host, Object.assign({ key: 'b0c1fc8eee284f03c696f0c8aaa29f4a6d7be0be', "aria-modal": "true", tabindex: "-1" }, htmlAttributes, { style: {
|
|
2315
2315
|
zIndex: `${20000 + this.overlayIndex}`,
|
|
2316
2316
|
}, class: Object.assign({ [theme$1]: true,
|
|
2317
2317
|
// Used internally for styling
|
|
2318
|
-
[`picker-${theme$1}`]: true, 'overlay-hidden': true }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), index.h("ion-backdrop", { key: '
|
|
2318
|
+
[`picker-${theme$1}`]: true, 'overlay-hidden': true }, theme.getClassMap(this.cssClass)), onIonBackdropTap: this.onBackdropTap, onIonPickerWillDismiss: this.dispatchCancelHandler }), index.h("ion-backdrop", { key: 'b56a9f94c7a95efc047d7be95e76ba3a2284801d', visible: this.showBackdrop, tappable: this.backdropDismiss }), index.h("div", { key: 'f134d49a3afcfd2a809147b55949cea43fc34462', tabindex: "0", "aria-hidden": "true" }), index.h("div", { key: '9ae98dc10164e182a13eaef2105894a717a03cc4', class: "picker-wrapper ion-overlay-wrapper", role: "dialog" }, index.h("div", { key: '96acad60c1214e13098282182fa855b19f0a386c', class: "picker-toolbar" }, this.buttons.map((b) => (index.h("div", { class: buttonWrapperClass(b) }, index.h("button", { type: "button", onClick: () => this.buttonClick(b), class: buttonClass(b) }, b.text))))), index.h("div", { key: 'af26cd644ed9bb50c22f06624da3726e7e60426f', class: "picker-columns" }, index.h("div", { key: 'c0d8bf724f7dc081c314bef61fa08894a75c657b', class: "picker-above-highlight" }), this.presented && this.columns.map((c) => index.h("ion-picker-legacy-column", { col: c })), index.h("div", { key: '7315333742b5b0c9533f30e5ce3dfc6ec9112dc1', class: "picker-below-highlight" }))), index.h("div", { key: '454546aaf27319ae7973e74063c0a026cfc88834', tabindex: "0", "aria-hidden": "true" })));
|
|
2319
2319
|
}
|
|
2320
2320
|
get el() { return index.getElement(this); }
|
|
2321
2321
|
static get watchers() { return {
|
|
@@ -2673,9 +2673,9 @@ const PickerColumnCmp = class {
|
|
|
2673
2673
|
render() {
|
|
2674
2674
|
const col = this.col;
|
|
2675
2675
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
2676
|
-
return (index.h(index.Host, { key: '
|
|
2676
|
+
return (index.h(index.Host, { key: '5751788e3b7ecd2fe269c096db883b0681646270', class: Object.assign({ [theme$1]: true, 'picker-col': true, 'picker-opts-left': this.col.align === 'left', 'picker-opts-right': this.col.align === 'right' }, theme.getClassMap(col.cssClass)), style: {
|
|
2677
2677
|
'max-width': this.col.columnWidth,
|
|
2678
|
-
} }, col.prefix && (index.h("div", { key: '
|
|
2678
|
+
} }, col.prefix && (index.h("div", { key: '833f3309c8c77e1faa773f7eaa066516dfd51067', class: "picker-prefix", style: { width: col.prefixWidth } }, col.prefix)), index.h("div", { key: 'a39f38e60938e70425e4d7674f5e481885b6b548', class: "picker-opts", style: { maxWidth: col.optionsWidth }, ref: (el) => (this.optsEl = el) }, col.options.map((o, index$1) => (index.h("button", { "aria-label": o.ariaLabel, class: { 'picker-opt': true, 'picker-opt-disabled': !!o.disabled }, "opt-index": index$1 }, o.text)))), col.suffix && (index.h("div", { key: 'a2f1e0eab834c85e84cee0a716eb1083aa6c7741', class: "picker-suffix", style: { width: col.suffixWidth } }, col.suffix))));
|
|
2679
2679
|
}
|
|
2680
2680
|
get el() { return index.getElement(this); }
|
|
2681
2681
|
static get watchers() { return {
|
|
@@ -41,7 +41,7 @@ const DEFAULT_COLUMNS = {
|
|
|
41
41
|
};
|
|
42
42
|
const DEFAULT_GAP = '16px';
|
|
43
43
|
|
|
44
|
-
const galleryCss = () => `:host{display:grid;grid-template-columns:repeat(var(--internal-gallery-columns, 2), minmax(0, 1fr))}:host(.gallery-layout-uniform){gap:var(--internal-gallery-gap, 16px)}:host(.gallery-layout-masonry){-ms-flex-align:start;align-items:start;-webkit-column-gap:var(--internal-gallery-gap, 16px);-moz-column-gap:var(--internal-gallery-gap, 16px);column-gap:var(--internal-gallery-gap, 16px);row-gap:0;grid-auto-rows:2px}`;
|
|
44
|
+
const galleryCss = () => `:host{display:grid;grid-template-columns:repeat(var(--internal-gallery-columns, 2), minmax(0, 1fr))}:host(.gallery-layout-uniform){gap:var(--internal-gallery-gap, 16px)}:host(.gallery-layout-uniform) ::slotted(*){aspect-ratio:1/1}:host(.gallery-layout-masonry){-ms-flex-align:start;align-items:start;-webkit-column-gap:var(--internal-gallery-gap, 16px);-moz-column-gap:var(--internal-gallery-gap, 16px);column-gap:var(--internal-gallery-gap, 16px);row-gap:0;grid-auto-rows:2px}:host(.gallery-layout-masonry) ::slotted(*){display:block;min-height:unset;margin-bottom:var(--internal-gallery-gap, 16px)}::slotted(*){margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;width:100%}::slotted(img){display:block;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center}`;
|
|
45
45
|
|
|
46
46
|
// TODO(FW-7285): Replace with global breakpoints
|
|
47
47
|
const BREAKPOINTS = {
|
|
@@ -53,7 +53,6 @@ const BREAKPOINTS = {
|
|
|
53
53
|
xxl: 1400,
|
|
54
54
|
};
|
|
55
55
|
const BREAKPOINT_ORDER = ['xs', 'sm', 'md', 'lg', 'xl', 'xxl'];
|
|
56
|
-
const GALLERY_ITEM_SELECTOR = 'ion-gallery-item';
|
|
57
56
|
const Gallery = class {
|
|
58
57
|
constructor(hostRef) {
|
|
59
58
|
index.registerInstance(this, hostRef);
|
|
@@ -62,7 +61,6 @@ const Gallery = class {
|
|
|
62
61
|
this.hasWarnedInvalidColumns = false;
|
|
63
62
|
this.hasWarnedInvalidGap = false;
|
|
64
63
|
this.hasWarnedUnusedOrder = false;
|
|
65
|
-
this.hasWarnedInvalidItems = false;
|
|
66
64
|
/**
|
|
67
65
|
* The visual layout of the gallery. When `uniform`, rows take up the height
|
|
68
66
|
* of the tallest item and are spaced evenly across the gallery. Additionally,
|
|
@@ -112,9 +110,8 @@ const Gallery = class {
|
|
|
112
110
|
const styles = getComputedStyle(this.el);
|
|
113
111
|
const rowHeight = parseFloat(styles.getPropertyValue('grid-auto-rows')) || 0;
|
|
114
112
|
const rowGap = parseFloat(styles.getPropertyValue('row-gap')) || parseFloat(styles.getPropertyValue('gap')) || 0;
|
|
115
|
-
const itemGap = parseFloat(styles.getPropertyValue('column-gap')) || parseFloat(styles.getPropertyValue('gap')) || 0;
|
|
116
113
|
const items = this.getItems();
|
|
117
|
-
this.layoutMasonry(items, rowHeight, rowGap,
|
|
114
|
+
this.layoutMasonry(items, rowHeight, rowGap, columns);
|
|
118
115
|
};
|
|
119
116
|
}
|
|
120
117
|
onColumnsOrGapChanged() {
|
|
@@ -315,16 +312,6 @@ const Gallery = class {
|
|
|
315
312
|
index.printIonWarning(`[ion-gallery] - "order" has no effect when "layout" is "uniform". Set "layout" to "masonry" for "order" to apply.`, this.el);
|
|
316
313
|
this.hasWarnedUnusedOrder = true;
|
|
317
314
|
}
|
|
318
|
-
/**
|
|
319
|
-
* Warn when gallery content is missing required `ion-gallery-item` components.
|
|
320
|
-
*/
|
|
321
|
-
warnInvalidItems() {
|
|
322
|
-
if (this.hasWarnedInvalidItems) {
|
|
323
|
-
return;
|
|
324
|
-
}
|
|
325
|
-
index.printIonWarning('[ion-gallery] - Gallery items must be wrapped in "ion-gallery-item" components. Non-item direct children are ignored unless they contain nested "ion-gallery-item" elements.', this.el);
|
|
326
|
-
this.hasWarnedInvalidItems = true;
|
|
327
|
-
}
|
|
328
315
|
/**
|
|
329
316
|
* Resolve the active columns value for the current width. Falls back to
|
|
330
317
|
* the default responsive columns when the provided prop is invalid.
|
|
@@ -381,45 +368,12 @@ const Gallery = class {
|
|
|
381
368
|
const gap = this.getGapForWidth(width);
|
|
382
369
|
this.el.style.setProperty('--internal-gallery-gap', `${gap}`);
|
|
383
370
|
}
|
|
384
|
-
isGalleryItemElement(element) {
|
|
385
|
-
var _a;
|
|
386
|
-
return typeof ((_a = element.style) === null || _a === void 0 ? void 0 : _a.setProperty) === 'function';
|
|
387
|
-
}
|
|
388
371
|
/**
|
|
389
|
-
* Return all gallery
|
|
390
|
-
*
|
|
391
|
-
* containers and flattened to nested `ion-gallery-item` children. Direct
|
|
392
|
-
* children without nested `ion-gallery-item` components are ignored.
|
|
372
|
+
* Return all directly slotted children of the gallery that can be grid items
|
|
373
|
+
* with inline placement styles (HTML elements and SVG elements).
|
|
393
374
|
*/
|
|
394
375
|
getItems() {
|
|
395
|
-
|
|
396
|
-
const flattenedItems = [];
|
|
397
|
-
// Expand an <ion-gallery-item> component into the actual gallery items
|
|
398
|
-
// that should be used for grid placement.
|
|
399
|
-
const pushWrappedItems = (galleryItemEl) => {
|
|
400
|
-
const galleryItems = Array.from(galleryItemEl.children).filter((child) => this.isGalleryItemElement(child));
|
|
401
|
-
flattenedItems.push(...galleryItems);
|
|
402
|
-
};
|
|
403
|
-
directChildren.forEach((directChildEl) => {
|
|
404
|
-
// Standard path: <ion-gallery-item> is a direct child of <ion-gallery>.
|
|
405
|
-
if (directChildEl.matches(GALLERY_ITEM_SELECTOR)) {
|
|
406
|
-
pushWrappedItems(directChildEl);
|
|
407
|
-
return;
|
|
408
|
-
}
|
|
409
|
-
// Compatibility path: a non-gallery-item direct child (e.g. wrapper <div>)
|
|
410
|
-
// may contain nested <ion-gallery-item> components.
|
|
411
|
-
const nestedGalleryItems = Array.from(directChildEl.querySelectorAll(GALLERY_ITEM_SELECTOR)).filter((child) => this.isGalleryItemElement(child));
|
|
412
|
-
// Invalid children path: no <ion-gallery-item> components found.
|
|
413
|
-
if (nestedGalleryItems.length === 0) {
|
|
414
|
-
this.warnInvalidItems();
|
|
415
|
-
return;
|
|
416
|
-
}
|
|
417
|
-
// Flatten gallery-item containers so nested <ion-gallery-item> children can
|
|
418
|
-
// become the effective gallery items.
|
|
419
|
-
directChildEl.style.display = 'contents';
|
|
420
|
-
nestedGalleryItems.forEach((nestedGalleryItem) => pushWrappedItems(nestedGalleryItem));
|
|
421
|
-
});
|
|
422
|
-
return flattenedItems;
|
|
376
|
+
return Array.from(this.el.children).filter((child) => { var _a; return typeof ((_a = child.style) === null || _a === void 0 ? void 0 : _a.setProperty) === 'function'; });
|
|
423
377
|
}
|
|
424
378
|
/**
|
|
425
379
|
* Clear the item styles for the given item element.
|
|
@@ -476,14 +430,11 @@ const Gallery = class {
|
|
|
476
430
|
/**
|
|
477
431
|
* Apply masonry placement by assigning each item a column and row span.
|
|
478
432
|
*/
|
|
479
|
-
layoutMasonry(items, rowHeight, rowGap,
|
|
433
|
+
layoutMasonry(items, rowHeight, rowGap, columns) {
|
|
480
434
|
const columnHeights = new Array(columns).fill(0);
|
|
481
435
|
const lastItemsByColumn = new Array(columns).fill(undefined);
|
|
482
436
|
items.forEach((itemEl, i) => {
|
|
483
437
|
itemEl.style.marginBottom = '';
|
|
484
|
-
if (itemEl.parentElement !== this.el) {
|
|
485
|
-
itemEl.style.marginBottom = `${itemGap}px`;
|
|
486
|
-
}
|
|
487
438
|
const span = this.calculateRowSpan(itemEl, rowHeight, rowGap);
|
|
488
439
|
if (span === undefined) {
|
|
489
440
|
this.clearItemStyles(itemEl);
|
|
@@ -532,11 +483,11 @@ const Gallery = class {
|
|
|
532
483
|
const { layout } = this;
|
|
533
484
|
const order = this.getOrder();
|
|
534
485
|
const theme = ionicGlobal.getIonTheme(this);
|
|
535
|
-
return (index.h(index.Host, { key: '
|
|
486
|
+
return (index.h(index.Host, { key: '1bf2973d22835c0dbddf3214b602f8c08b95e421', class: {
|
|
536
487
|
[theme]: true,
|
|
537
488
|
[`gallery-layout-${layout}`]: true,
|
|
538
489
|
[`gallery-order-${order}`]: layout === 'masonry' && order !== undefined,
|
|
539
|
-
} }, index.h("slot", { key: '
|
|
490
|
+
} }, index.h("slot", { key: '0dea31f609f6afdb1d73ecb2d873909ffe49203f', onSlotchange: this.onSlotChange })));
|
|
540
491
|
}
|
|
541
492
|
get el() { return index.getElement(this); }
|
|
542
493
|
static get watchers() { return {
|
|
@@ -84,9 +84,9 @@ const Img = class {
|
|
|
84
84
|
const { loadSrc, alt, onLoad, loadError, inheritedAttributes } = this;
|
|
85
85
|
const { draggable } = inheritedAttributes;
|
|
86
86
|
const theme = ionicGlobal.getIonTheme(this);
|
|
87
|
-
return (index.h(index.Host, { key: '
|
|
87
|
+
return (index.h(index.Host, { key: '91de170493b31d6260e975b440beceb6906b6d5a', class: {
|
|
88
88
|
[theme]: true,
|
|
89
|
-
} }, index.h("img", { key: '
|
|
89
|
+
} }, index.h("img", { key: 'ac1f41afbece34a3e38e656733f3e55cce385b4c', decoding: "async", src: loadSrc, alt: alt, onLoad: onLoad, onError: loadError, part: "image", draggable: isDraggable(draggable) })));
|
|
90
90
|
}
|
|
91
91
|
get el() { return index.getElement(this); }
|
|
92
92
|
static get watchers() { return {
|
|
@@ -271,7 +271,7 @@ const InfiniteScroll = class {
|
|
|
271
271
|
render() {
|
|
272
272
|
const theme = ionicGlobal.getIonTheme(this);
|
|
273
273
|
const disabled = this.disabled;
|
|
274
|
-
return (index.h(index.Host, { key: '
|
|
274
|
+
return (index.h(index.Host, { key: '02beca21d668e4e605532ad5ca5a67a08c71eebb', class: {
|
|
275
275
|
[theme]: true,
|
|
276
276
|
'infinite-scroll-loading': this.isLoading,
|
|
277
277
|
'infinite-scroll-enabled': !disabled,
|
|
@@ -315,11 +315,11 @@ const InfiniteScrollContent = class {
|
|
|
315
315
|
}
|
|
316
316
|
render() {
|
|
317
317
|
const theme = ionicGlobal.getIonTheme(this);
|
|
318
|
-
return (index.h(index.Host, { key: '
|
|
318
|
+
return (index.h(index.Host, { key: 'b51954f829eeafd5ec304b3e66e330776485ffc8', class: {
|
|
319
319
|
[theme]: true,
|
|
320
320
|
// Used internally for styling
|
|
321
321
|
[`infinite-scroll-content-${theme}`]: true,
|
|
322
|
-
} }, index.h("div", { key: '
|
|
322
|
+
} }, index.h("div", { key: '047da7f15fe38deed592dd66d1c97e12da4545bb', class: "infinite-loading" }, this.loadingSpinner && (index.h("div", { key: '1c05820f091052b8ee9e9ca20054495a676c21aa', class: "infinite-loading-spinner" }, index.h("ion-spinner", { key: 'ff801e3486f3c1a4605d2a2de9b47bd7bd536698', name: this.loadingSpinner }))), this.loadingText !== undefined && this.renderLoadingText())));
|
|
323
323
|
}
|
|
324
324
|
};
|
|
325
325
|
InfiniteScrollContent.style = {
|
|
@@ -692,7 +692,7 @@ const InputOTP = class {
|
|
|
692
692
|
const tabbableIndex = this.getTabbableIndex();
|
|
693
693
|
const pattern = this.getPattern();
|
|
694
694
|
const hasDescription = ((_b = (_a = el.querySelector('.input-otp-description')) === null || _a === void 0 ? void 0 : _a.textContent) === null || _b === void 0 ? void 0 : _b.trim()) !== '';
|
|
695
|
-
return (index.h(index.Host, { key: '
|
|
695
|
+
return (index.h(index.Host, { key: '7a5c5dbb7e1880bd94d4b00e579af941366b1cb2', class: theme.createColorClasses(color, {
|
|
696
696
|
[mode]: true,
|
|
697
697
|
'has-focus': hasFocus,
|
|
698
698
|
[`input-otp-size-${size}`]: true,
|
|
@@ -700,10 +700,10 @@ const InputOTP = class {
|
|
|
700
700
|
[`input-otp-fill-${fill}`]: true,
|
|
701
701
|
'input-otp-disabled': disabled,
|
|
702
702
|
'input-otp-readonly': readonly,
|
|
703
|
-
}) }, index.h("div", Object.assign({ key: '
|
|
703
|
+
}) }, index.h("div", Object.assign({ key: 'a4427602ea1894d53e4d0f502dbb972c93a86bff', role: "group", "aria-label": "One-time password input", class: "input-otp-group", part: "group" }, inheritedAttributes), Array.from({ length }).map((_, index$1) => (index.h(index.Fragment, null, index.h("div", { class: "native-wrapper", part: "container" }, index.h("input", { class: "native-input", part: "native", id: `${inputId}-${index$1}`, "aria-label": `Input ${index$1 + 1} of ${length}`, type: "text", autoCapitalize: autocapitalize, inputmode: inputmode, pattern: pattern, disabled: disabled, readOnly: readonly, tabIndex: index$1 === tabbableIndex ? 0 : -1, value: inputValues[index$1] || '', autocomplete: "one-time-code", ref: (el) => (inputRefs[index$1] = el), onInput: this.onInput(index$1), onBlur: this.onBlur, onFocus: this.onFocus(index$1), onKeyDown: this.onKeyDown(index$1), onPaste: this.onPaste })), this.showSeparator(index$1) && index.h("div", { class: "input-otp-separator", part: "separator" }))))), index.h("div", { key: '7ee9d8dfd2e52875f1bfe3e3dea0494c18c12f4a', class: {
|
|
704
704
|
'input-otp-description': true,
|
|
705
705
|
'input-otp-description-hidden': !hasDescription,
|
|
706
|
-
}, part: "description" }, index.h("slot", { key: '
|
|
706
|
+
}, part: "description" }, index.h("slot", { key: '163c374e7ae5dbdb1dc12483161e5aca919a50d5' }))));
|
|
707
707
|
}
|
|
708
708
|
static get formAssociated() { return true; }
|
|
709
709
|
get el() { return index.getElement(this); }
|
|
@@ -101,16 +101,16 @@ const InputPasswordToggle = class {
|
|
|
101
101
|
const { color, inputPasswordHideIcon, inputPasswordShowIcon, type } = this;
|
|
102
102
|
const mode = ionicGlobal.getIonMode(this);
|
|
103
103
|
const isPasswordVisible = type === 'text';
|
|
104
|
-
return (index.h(index.Host, { key: '
|
|
104
|
+
return (index.h(index.Host, { key: 'c7f0805958b284005806a0cb3ed0b5cba42cecd1', class: theme.createColorClasses(color, {
|
|
105
105
|
[mode]: true,
|
|
106
|
-
}) }, index.h("ion-button", { key: '
|
|
106
|
+
}) }, index.h("ion-button", { key: 'dee2bdeb169d1fa4943c9a8b0164b8fbb4cdfe06', mode: mode, color: color, fill: "clear", shape: "round", "aria-label": isPasswordVisible ? 'Hide password' : 'Show password', "aria-pressed": isPasswordVisible ? 'true' : 'false', type: "button", onPointerDown: (ev) => {
|
|
107
107
|
/**
|
|
108
108
|
* This prevents mobile browsers from
|
|
109
109
|
* blurring the input when the password toggle
|
|
110
110
|
* button is activated.
|
|
111
111
|
*/
|
|
112
112
|
ev.preventDefault();
|
|
113
|
-
}, onClick: this.togglePasswordVisibility }, index.h("ion-icon", { key: '
|
|
113
|
+
}, onClick: this.togglePasswordVisibility }, index.h("ion-icon", { key: 'be752db7186a7cd6fc033c7002fcb1683d93c162', slot: "icon-only", "aria-hidden": "true", icon: isPasswordVisible ? inputPasswordHideIcon : inputPasswordShowIcon }))));
|
|
114
114
|
}
|
|
115
115
|
get el() { return index.getElement(this); }
|
|
116
116
|
static get watchers() { return {
|
|
@@ -622,7 +622,7 @@ const Input = class {
|
|
|
622
622
|
* TODO(FW-5592): Remove hasStartEndSlots condition
|
|
623
623
|
*/
|
|
624
624
|
const labelShouldFloat = labelPlacement === 'stacked' || (labelPlacement === 'floating' && (hasValue || hasFocus || hasStartEndSlots));
|
|
625
|
-
return (index.h(index.Host, { key: '
|
|
625
|
+
return (index.h(index.Host, { key: 'beeeca9939e7e416783425f67d3c9e2be6bbae99', class: theme.createColorClasses(this.color, {
|
|
626
626
|
[theme$1]: true,
|
|
627
627
|
'has-value': hasValue,
|
|
628
628
|
'has-focus': hasFocus,
|
|
@@ -635,7 +635,7 @@ const Input = class {
|
|
|
635
635
|
'in-item-color': theme.hostContext('ion-item.ion-color', this.el),
|
|
636
636
|
'input-disabled': disabled,
|
|
637
637
|
'input-readonly': readonly,
|
|
638
|
-
}) }, index.h("label", { key: '
|
|
638
|
+
}) }, index.h("label", { key: 'f227df52a6ad60344f16261a82c0d0566bb8cd5b', class: "input-wrapper", htmlFor: inputId, onClick: this.onLabelClick }, this.renderLabelContainer(), index.h("div", { key: 'ae6da554ce21f805361a7704139b776a9344dcb2', class: "native-wrapper", onClick: this.onLabelClick },
|
|
639
639
|
/**
|
|
640
640
|
* For the ionic theme, we render the outline container here
|
|
641
641
|
* instead of higher up, so it can be positioned relative to
|
|
@@ -645,14 +645,14 @@ const Input = class {
|
|
|
645
645
|
* <label> element, ensuring that clicking the label text
|
|
646
646
|
* focuses the input.
|
|
647
647
|
*/
|
|
648
|
-
theme$1 === 'ionic' && index.h("div", { key: '
|
|
648
|
+
theme$1 === 'ionic' && index.h("div", { key: '83aa5e7ad97b0c964e31966c1d2b8771d1ecfc53', class: "input-outline" }), index.h("slot", { key: '1931003f2b0d19508acaaffab58fee644d1f6158', name: "start" }), index.h("input", Object.assign({ key: '33a06efb4ce0b6e67c12e77f131effb113fba73f', class: "native-input", ref: (input) => (this.nativeInput = input), id: inputId, disabled: disabled, autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, enterKeyHint: this.enterkeyhint, inputMode: this.inputmode, min: this.min, max: this.max, minLength: this.minlength, maxLength: this.maxlength, multiple: this.multiple, name: this.name, pattern: this.pattern, placeholder: this.placeholder || '', readOnly: readonly, required: this.required, spellcheck: this.spellcheck, step: this.step, type: this.type, value: value, onInput: this.onInput, onChange: this.onChange, onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeydown, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd, "aria-describedby": this.getHintTextID(), "aria-invalid": this.isInvalid ? 'true' : undefined, "aria-labelledby": this.getLabelledById() }, this.inheritedAttributes)), clearInput && !readonly && !disabled && (index.h("button", { key: 'd350f26cf6927ee089373ea8903db2479a0a404c', "aria-label": "reset", type: "button", class: "input-clear-icon", onPointerDown: (ev) => {
|
|
649
649
|
/**
|
|
650
650
|
* This prevents mobile browsers from
|
|
651
651
|
* blurring the input when the clear
|
|
652
652
|
* button is activated.
|
|
653
653
|
*/
|
|
654
654
|
ev.preventDefault();
|
|
655
|
-
}, onClick: this.clearTextInput }, index.h("ion-icon", { key: '
|
|
655
|
+
}, onClick: this.clearTextInput }, index.h("ion-icon", { key: '972a2d94dcf599e63aac1d73e34873a9c3d0bf94', "aria-hidden": "true", icon: inputClearIcon }))), index.h("slot", { key: 'fac4dcaabb02f647e46276e92e3f341557170aec', name: "end" })), shouldRenderHighlight && index.h("div", { key: 'a10e519d8d1f0dcd81ffc43b8e4086797476f753', class: "input-highlight" })), this.renderBottomContent()));
|
|
656
656
|
}
|
|
657
657
|
get el() { return index.getElement(this); }
|
|
658
658
|
static get watchers() { return {
|
|
@@ -70,14 +70,14 @@ const ItemOption = class {
|
|
|
70
70
|
href: this.href,
|
|
71
71
|
target: this.target,
|
|
72
72
|
};
|
|
73
|
-
return (index.h(index.Host, { key: '
|
|
73
|
+
return (index.h(index.Host, { key: 'bfade0042108ff525077dfbdfd45169ccfd6b920', onClick: this.onClick, class: theme.createColorClasses(this.color, {
|
|
74
74
|
[theme$1]: true,
|
|
75
75
|
[`item-option-${shape}`]: shape !== undefined,
|
|
76
76
|
[`item-option-${hue}`]: hue !== undefined,
|
|
77
77
|
'item-option-disabled': disabled,
|
|
78
78
|
'item-option-expandable': expandable,
|
|
79
79
|
'ion-activatable': true,
|
|
80
|
-
}) }, index.h(TagType, Object.assign({ key: '
|
|
80
|
+
}) }, index.h(TagType, Object.assign({ key: '38466b511f4a20a3728f37dbf6779b852eba531a' }, attrs, { class: "button-native", part: "native", disabled: disabled }), index.h("span", { key: 'bb8f1b332afa2f575bcc69b340bd8f1faa5ca925', class: "button-inner", part: "inner" }, index.h("slot", { key: '41d627511e1615283956712e1b9519bae92460f6', name: "top" }), index.h("div", { key: 'bb949a43a586a8996933ee7528e5491beb647aa5', class: "horizontal-wrapper", part: "container" }, index.h("slot", { key: 'c0d6a73ef49082bfbdf0f542f7465d044ccb6521', name: "start" }), index.h("slot", { key: '79c6103e680983b2c1a17f1f11dbc41224cd4016', name: "icon-only" }), index.h("slot", { key: '6c7f17723544d3f6e8b9689b84ddf6196f1897a5' }), index.h("slot", { key: 'e15d0e02fde71bad8ff7bab0eded7d49508a926e', name: "end" })), index.h("slot", { key: 'c509d54d44ce33f5a34597b9d0ec29960bbcff62', name: "bottom" })), theme$1 === 'md' && index.h("ion-ripple-effect", { key: '412d4dc645c941d0b4356cf982be3d5bc2686f13' }))));
|
|
81
81
|
}
|
|
82
82
|
get el() { return index.getElement(this); }
|
|
83
83
|
};
|
|
@@ -112,7 +112,7 @@ const ItemOptions = class {
|
|
|
112
112
|
render() {
|
|
113
113
|
const theme = ionicGlobal.getIonTheme(this);
|
|
114
114
|
const isEnd = helpers.isEndSide(this.side);
|
|
115
|
-
return (index.h(index.Host, { key: '
|
|
115
|
+
return (index.h(index.Host, { key: 'f3bb726a28c571101791d33d946df9017f47e5ec', class: {
|
|
116
116
|
[theme]: true,
|
|
117
117
|
// Used internally for styling
|
|
118
118
|
[`item-options-${theme}`]: true,
|
|
@@ -906,7 +906,7 @@ const ItemSliding = class {
|
|
|
906
906
|
}
|
|
907
907
|
render() {
|
|
908
908
|
const theme = ionicGlobal.getIonTheme(this);
|
|
909
|
-
return (index.h(index.Host, { key: '
|
|
909
|
+
return (index.h(index.Host, { key: 'e6890a1b14faaf9121a07912b1c2f46e06148202', class: {
|
|
910
910
|
[theme]: true,
|
|
911
911
|
'item-sliding-active-slide': this.state !== 2 /* SlidingState.Disabled */,
|
|
912
912
|
'item-sliding-active-options-end': (this.state & 8 /* SlidingState.End */) !== 0,
|
|
@@ -310,11 +310,11 @@ const ItemDivider = class {
|
|
|
310
310
|
}
|
|
311
311
|
render() {
|
|
312
312
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
313
|
-
return (index.h(index.Host, { key: '
|
|
313
|
+
return (index.h(index.Host, { key: 'ede65c17ec8e42e4096f8753116923d6b8d2cc14', class: theme.createColorClasses(this.color, {
|
|
314
314
|
[theme$1]: true,
|
|
315
315
|
'item-divider-sticky': this.sticky,
|
|
316
316
|
item: true,
|
|
317
|
-
}) }, index.h("slot", { key: '
|
|
317
|
+
}) }, index.h("slot", { key: '4e16384a4481326490dab1ad31218c19eb9108db', name: "start" }), index.h("div", { key: '0bddbea071781e3372b5c7147c2fdd3ba0e29ffe', class: "item-divider-inner", part: "inner" }, index.h("div", { key: 'dfa603352f7cc58aaa717a32507b1dbbd7b79757', class: "item-divider-wrapper", part: "container" }, index.h("slot", { key: '4b1b67cfe72266645943f88ede9f8c61a344967d' })), index.h("slot", { key: '6ddd72a410c449e281f5344d02324e7461ba29e8', name: "end" }))));
|
|
318
318
|
}
|
|
319
319
|
get el() { return index.getElement(this); }
|
|
320
320
|
};
|
|
@@ -336,7 +336,7 @@ const ItemGroup = class {
|
|
|
336
336
|
}
|
|
337
337
|
render() {
|
|
338
338
|
const theme = ionicGlobal.getIonTheme(this);
|
|
339
|
-
return (index.h(index.Host, { key: '
|
|
339
|
+
return (index.h(index.Host, { key: '66ad8ce335cd97703e884538bdf6ea1927a30889', role: "group", class: {
|
|
340
340
|
[theme]: true,
|
|
341
341
|
// Used internally for styling
|
|
342
342
|
[`item-group-${theme}`]: true,
|
|
@@ -410,13 +410,13 @@ const Label = class {
|
|
|
410
410
|
render() {
|
|
411
411
|
const position = this.position;
|
|
412
412
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
413
|
-
return (index.h(index.Host, { key: '
|
|
413
|
+
return (index.h(index.Host, { key: '7cbec4c1b8fe8925f44255e02cee78bc1873fd70', class: theme.createColorClasses(this.color, {
|
|
414
414
|
[theme$1]: true,
|
|
415
415
|
'in-item-color': theme.hostContext('ion-item.ion-color', this.el),
|
|
416
416
|
[`label-${position}`]: position !== undefined,
|
|
417
417
|
[`label-no-animate`]: this.noAnimate,
|
|
418
418
|
'label-rtl': document.dir === 'rtl',
|
|
419
|
-
}) }, index.h("slot", { key: '
|
|
419
|
+
}) }, index.h("slot", { key: '6d8b4a7ab396792d7a7c0b7e259c622840b7ef9b' })));
|
|
420
420
|
}
|
|
421
421
|
get el() { return index.getElement(this); }
|
|
422
422
|
static get watchers() { return {
|
|
@@ -480,7 +480,7 @@ const List = class {
|
|
|
480
480
|
const theme = ionicGlobal.getIonTheme(this);
|
|
481
481
|
const shape = this.getShape();
|
|
482
482
|
const { lines, inset } = this;
|
|
483
|
-
return (index.h(index.Host, { key: '
|
|
483
|
+
return (index.h(index.Host, { key: 'f17f7af20c567ea0098b362ea04d051b44aa151a', role: "list", class: {
|
|
484
484
|
[theme]: true,
|
|
485
485
|
// Used internally for styling
|
|
486
486
|
[`list-${theme}`]: true,
|
|
@@ -511,10 +511,10 @@ const ListHeader = class {
|
|
|
511
511
|
render() {
|
|
512
512
|
const { lines } = this;
|
|
513
513
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
514
|
-
return (index.h(index.Host, { key: '
|
|
514
|
+
return (index.h(index.Host, { key: '90c594b0290949b159f35bd36c86c3231a1b8e44', class: theme.createColorClasses(this.color, {
|
|
515
515
|
[theme$1]: true,
|
|
516
516
|
[`list-header-lines-${lines}`]: lines !== undefined,
|
|
517
|
-
}) }, index.h("div", { key: '
|
|
517
|
+
}) }, index.h("div", { key: '9d1bde129787263edb79bc921cdf0168a2935a27', class: "list-header-inner", part: "inner" }, index.h("slot", { key: 'fe157b5ff88355adfb09209ee92fd03c82e067ff' }))));
|
|
518
518
|
}
|
|
519
519
|
};
|
|
520
520
|
ListHeader.style = {
|
|
@@ -535,9 +535,9 @@ const Note = class {
|
|
|
535
535
|
}
|
|
536
536
|
render() {
|
|
537
537
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
538
|
-
return (index.h(index.Host, { key: '
|
|
538
|
+
return (index.h(index.Host, { key: '34a74796fc2e41549100c6611a5900d60c8d688d', class: theme.createColorClasses(this.color, {
|
|
539
539
|
[theme$1]: true,
|
|
540
|
-
}) }, index.h("slot", { key: '
|
|
540
|
+
}) }, index.h("slot", { key: 'ea4c2e3b5666d10ca312e175db200134d8a30382' })));
|
|
541
541
|
}
|
|
542
542
|
};
|
|
543
543
|
Note.style = {
|
|
@@ -573,11 +573,11 @@ const SkeletonText = class {
|
|
|
573
573
|
const animated = this.animated && index.config.getBoolean('animated', true);
|
|
574
574
|
const inMedia = theme.hostContext('ion-avatar', this.el) || theme.hostContext('ion-thumbnail', this.el);
|
|
575
575
|
const theme$1 = ionicGlobal.getIonTheme(this);
|
|
576
|
-
return (index.h(index.Host, { key: '
|
|
576
|
+
return (index.h(index.Host, { key: 'aa94213767105077047a369d4e4861027af96060', class: {
|
|
577
577
|
[theme$1]: true,
|
|
578
578
|
'skeleton-text-animated': animated,
|
|
579
579
|
'in-media': inMedia,
|
|
580
|
-
} }, index.h("span", { key: '
|
|
580
|
+
} }, index.h("span", { key: 'c5dab0fb89d524827936aef5345cc0c7eda9e274' }, "\u00A0")));
|
|
581
581
|
}
|
|
582
582
|
get el() { return index.getElement(this); }
|
|
583
583
|
};
|
|
@@ -7,7 +7,7 @@ var index = require('./index-CzcLEdQ5.js');
|
|
|
7
7
|
var config = require('./config-DWdFbSNK.js');
|
|
8
8
|
var helpers = require('./helpers-DJYxKN5U.js');
|
|
9
9
|
var lockController = require('./lock-controller-aDB9wrEf.js');
|
|
10
|
-
var overlays = require('./overlays-
|
|
10
|
+
var overlays = require('./overlays-C54DhaTC.js');
|
|
11
11
|
var index$1 = require('./index-BJlwOs11.js');
|
|
12
12
|
var theme = require('./theme-IlOsGAz7.js');
|
|
13
13
|
var ionicGlobal = require('./ionic-global-CSEbHD_F.js');
|
|
@@ -280,9 +280,9 @@ const Loading = class {
|
|
|
280
280
|
* Otherwise, don't set aria-labelledby.
|
|
281
281
|
*/
|
|
282
282
|
const ariaLabelledBy = message !== undefined ? msgId : null;
|
|
283
|
-
return (index.h(index.Host, Object.assign({ key: '
|
|
283
|
+
return (index.h(index.Host, Object.assign({ key: 'b1e84a0d078fac04c0736a19d067d8d49e339323', role: "dialog", "aria-modal": "true", "aria-labelledby": ariaLabelledBy, tabindex: "-1" }, htmlAttributes, { style: {
|
|
284
284
|
zIndex: `${40000 + this.overlayIndex}`,
|
|
285
|
-
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, theme.getClassMap(this.cssClass)), { [theme$1]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), index.h("ion-backdrop", { key: '
|
|
285
|
+
}, onIonBackdropTap: this.onBackdropTap, class: Object.assign(Object.assign({}, theme.getClassMap(this.cssClass)), { [theme$1]: true, 'overlay-hidden': true, 'loading-translucent': this.translucent }) }), index.h("ion-backdrop", { key: '19884fd6f8bf6f704bff388ecfa245d1cd98156c', visible: this.showBackdrop, tappable: this.backdropDismiss }), index.h("div", { key: 'ecd47d503a9805a5c18f1b0d48989e54b4cb8f78', tabindex: "0", "aria-hidden": "true" }), index.h("div", { key: '231821576b812ffaa90ed9ced4437e456908ad53', class: "loading-wrapper ion-overlay-wrapper" }, spinner && (index.h("div", { key: 'e18d21751a73f408bd058aa4270f245285cd57fa', class: "loading-spinner" }, index.h("ion-spinner", { key: '478761b8a000191951e9902138483b389e1b76c4', name: spinner, "aria-hidden": "true" }))), message !== undefined && this.renderLoadingMessage(msgId)), index.h("div", { key: '968be6c72872ce5bc8706fa37f242dcdc38efb33', tabindex: "0", "aria-hidden": "true" })));
|
|
286
286
|
}
|
|
287
287
|
get el() { return index.getElement(this); }
|
|
288
288
|
static get watchers() { return {
|