@ionic/core 9.0.7-dev.11791478996.1b854592 → 9.0.7-dev.11792524803.14f0e7d2
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-accordion-group.js +1 -1
- package/components/ion-accordion.js +1 -1
- package/components/ion-action-sheet.js +1 -1
- package/components/ion-alert.js +1 -1
- package/components/ion-app.js +1 -1
- package/components/ion-avatar.js +1 -1
- package/components/ion-back-button.js +1 -1
- package/components/ion-backdrop.js +1 -1
- package/components/ion-badge.js +1 -1
- package/components/ion-breadcrumb.js +1 -1
- package/components/ion-breadcrumbs.js +1 -1
- package/components/ion-button.js +1 -1
- package/components/ion-buttons.js +1 -1
- package/components/ion-card-content.js +1 -1
- package/components/ion-card-header.js +1 -1
- package/components/ion-card-subtitle.js +1 -1
- package/components/ion-card-title.js +1 -1
- package/components/ion-card.js +1 -1
- package/components/ion-checkbox.js +1 -1
- package/components/ion-chip.js +1 -1
- package/components/ion-col.js +1 -1
- package/components/ion-content.js +1 -1
- package/components/ion-datetime-button.js +1 -1
- package/components/ion-datetime.js +1 -1
- package/components/ion-fab-button.js +1 -1
- package/components/ion-fab-list.js +1 -1
- package/components/ion-fab.js +1 -1
- package/components/ion-footer.js +1 -1
- package/components/ion-grid.js +1 -1
- package/components/ion-header.js +1 -1
- package/components/ion-icon.js +1 -1
- package/components/ion-img.js +1 -1
- package/components/ion-infinite-scroll-content.js +1 -1
- package/components/ion-infinite-scroll.js +1 -1
- package/components/ion-input-otp.js +1 -1
- package/components/ion-input-password-toggle.js +1 -1
- package/components/ion-input.js +1 -1
- package/components/ion-item-divider.js +1 -1
- package/components/ion-item-group.js +1 -1
- package/components/ion-item-option.js +1 -1
- package/components/ion-item-options.js +1 -1
- package/components/ion-item-sliding.js +1 -1
- package/components/ion-item.js +1 -1
- package/components/ion-label.js +1 -1
- package/components/ion-list-header.js +1 -1
- package/components/ion-list.js +1 -1
- package/components/ion-loading.js +1 -1
- package/components/ion-menu-button.js +1 -1
- package/components/ion-menu-toggle.js +1 -1
- package/components/ion-menu.js +1 -1
- package/components/ion-modal.js +1 -1
- package/components/ion-nav-link.js +1 -1
- package/components/ion-nav.js +1 -1
- package/components/ion-note.js +1 -1
- package/components/ion-picker-column-option.js +1 -1
- package/components/ion-picker-column.js +1 -1
- package/components/ion-picker.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-route-redirect.js +1 -1
- package/components/ion-route.js +1 -1
- package/components/ion-router-link.js +1 -1
- package/components/ion-router-outlet.js +1 -1
- package/components/ion-router.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-CvyvLbPe.js → p-6sKRBFnK.js} +1 -1
- package/components/{p-V1THdfzs.js → p-B8HBLiYi.js} +1 -1
- package/components/{p-HthJZjZ6.js → p-BEiYs-sz.js} +1 -1
- package/components/p-BKeulLTJ.js +4 -0
- package/components/{p-D0nwlsl_.js → p-BKxLivx4.js} +1 -1
- package/components/{p-BMHdI-wb.js → p-BLjEwM6v.js} +1 -1
- package/components/p-BNnmwjuy.js +4 -0
- package/components/{p-DMPsc_0r.js → p-BSJriPuC.js} +1 -1
- package/components/p-BUVGbkSc.js +4 -0
- package/components/{p-KbMCbGRA.js → p-B_tZQKpS.js} +1 -1
- package/components/{p-DhfJAkyd.js → p-BinR4_P7.js} +1 -1
- package/components/{p-CqvARtmt.js → p-BrOSQhkA.js} +1 -1
- package/components/p-BriaEJK8.js +4 -0
- package/components/p-BsLM9eQu.js +4 -0
- package/components/p-Bu6O-veK.js +4 -0
- package/{dist/ionic/p-e1haAYzm.js → components/p-C7rB-0-1.js} +1 -1
- package/components/{p-CdrNHfZl.js → p-C9ioHZq-.js} +1 -1
- package/components/{p-BODcC-C0.js → p-CAQG0btC.js} +1 -1
- package/components/{p-BqyLLYLm.js → p-CHHkdXfP.js} +1 -1
- package/components/{p-Bd8hg9FK.js → p-CJgshb3W.js} +1 -1
- package/components/{p-jsVMT15X.js → p-CQjNc-Pz.js} +1 -1
- package/components/{p-Drpw2dyl.js → p-CTUMJM0R.js} +1 -1
- package/components/p-CVVUo4J1.js +4 -0
- package/components/{p-DBtFJlTi.js → p-CXy2v7GI.js} +1 -1
- package/components/{p-C1AxSUnp.js → p-C_NQIzjP.js} +1 -1
- package/components/{p-Ba9_OzSY.js → p-Canp1qah.js} +1 -1
- package/components/p-CcQQ8oRo.js +4 -0
- package/components/{p-hLu-eIbb.js → p-CiFFeRH9.js} +1 -1
- package/components/{p-DnGlmM4u.js → p-CiXOsJF2.js} +1 -1
- package/components/p-Ctw69DyZ.js +4 -0
- package/components/{p-C_gnmBt2.js → p-CvzE7FFp.js} +1 -1
- package/components/{p-r59A3wQk.js → p-CzykzqAO.js} +1 -1
- package/components/{p--cshUOAU.js → p-D0jSx7rE.js} +1 -1
- package/components/{p-YNnH1_Hs.js → p-D4NOsSCE.js} +1 -1
- package/components/{p-CJdQ1u7W.js → p-DGLuPe1e.js} +1 -1
- package/components/{p-CjPRDxby.js → p-DGUed0uX.js} +1 -1
- package/components/{p-DDI6VLW9.js → p-DM2jMsSO.js} +1 -1
- package/components/{p-yGD6MBgf.js → p-DPyjiKOq.js} +1 -1
- package/components/{p-7KepMw9O.js → p-DSmHJ2DH.js} +1 -1
- package/components/{p-DHo45oj7.js → p-DWGgvN5e.js} +1 -1
- package/components/{p-B4IBdPVJ.js → p-DlUdjUlf.js} +1 -1
- package/components/{p-ChkSQqfP.js → p-Dlr7b3_2.js} +1 -1
- package/components/{p-ChsJlFCQ.js → p-LH1I_Zhd.js} +1 -1
- package/components/{p-CQKWzUsE.js → p-PPagT42x.js} +1 -1
- package/components/{p-ZrYBjOcc.js → p-RJT5zTbD.js} +1 -1
- package/components/{p-GpqwNbxf.js → p-T2dnrBya.js} +1 -1
- package/components/p-WMQuK_Tj.js +4 -0
- package/components/{p-_y7kwBO8.js → p-eJpG4UbM.js} +1 -1
- package/components/{p-TLtgwTFF.js → p-fFx6WCTj.js} +1 -1
- package/components/p-q2WJ5Igc.js +4 -0
- package/components/{p-CKiqp4Vl.js → p-y7Nhe3de.js} +1 -1
- package/components/{p-BVNUhOOf.js → p-yjLe0sN2.js} +1 -1
- package/css/core.css.map +1 -1
- package/css/display.css.map +1 -1
- package/css/flex-utils.css.map +1 -1
- package/css/float-elements.css +1 -1
- package/css/float-elements.css.map +1 -1
- package/css/global.bundle.css.map +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/padding.css.map +1 -1
- package/css/structure.css.map +1 -1
- package/css/text-alignment.css.map +1 -1
- package/css/text-transformation.css.map +1 -1
- package/css/typography.css.map +1 -1
- package/css/utils.bundle.css +1 -1
- package/css/utils.bundle.css.map +1 -1
- package/dist/cjs/{animation-DcgLg_PI.js → animation-BFKyYY11.js} +2 -2
- package/dist/cjs/{app-globals-BoFCZq0K.js → app-globals-BLTzqkrC.js} +1 -1
- package/dist/cjs/{attribute-controller-BjTE2TOf.js → attribute-controller-CXIeB0Mn.js} +1 -1
- package/dist/cjs/{button-active-FdsfRDY_.js → button-active-CEQaiV9N.js} +2 -2
- package/dist/cjs/{capacitor-C6Pp4Z7A.js → capacitor-BMzmHhwe.js} +1 -1
- package/dist/cjs/{format-CVjpvAl1.js → format-CdRlDqPs.js} +1 -1
- package/dist/cjs/{framework-delegate-JbKIVMzR.js → framework-delegate-DTLbqaaO.js} +1 -1
- package/dist/cjs/{haptic--4QteuuM.js → haptic-CJVUv_GB.js} +1 -1
- package/dist/cjs/{helpers-Cqr69qxA.js → helpers-Crluoxqu.js} +1 -1
- package/dist/cjs/{index-CNaZ6SYM.js → index-BAM4223M.js} +2 -2
- package/dist/cjs/{index-BQpSekmz.js → index-BKpybYNI.js} +2 -2
- package/dist/cjs/{index-B4ONUQRp.js → index-BSD7toMO.js} +1 -1
- package/dist/cjs/{index-BhWiDK25.js → index-CElfU-dK.js} +5 -6
- package/dist/cjs/{index-DCfr5hz-.js → index-CgXTRA_-.js} +4 -16
- package/dist/cjs/{index-BiQyIvoc.js → index-SAR1xwtW.js} +27 -40
- package/dist/cjs/index.cjs.js +11 -11
- package/dist/cjs/{input-shims-2AsXPZ5m.js → input-shims-CHghGZe-.js} +5 -5
- package/dist/cjs/{input.utils-Becpo0ax.js → input.utils-BBZr0wjw.js} +1 -1
- package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-action-sheet.cjs.entry.js +11 -11
- package/dist/cjs/ion-alert.cjs.entry.js +11 -11
- package/dist/cjs/ion-app_8.cjs.entry.js +18 -46
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +3 -3
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/ion-breadcrumb_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-button_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-card_5.cjs.entry.js +4 -4
- package/dist/cjs/ion-checkbox.cjs.entry.js +4 -4
- package/dist/cjs/ion-chip.cjs.entry.js +2 -2
- package/dist/cjs/ion-col_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-datetime-button.cjs.entry.js +4 -4
- package/dist/cjs/ion-datetime.cjs.entry.js +6 -6
- package/dist/cjs/ion-fab_3.cjs.entry.js +3 -3
- package/dist/cjs/ion-img.cjs.entry.js +3 -3
- package/dist/cjs/ion-infinite-scroll_2.cjs.entry.js +5 -5
- package/dist/cjs/ion-input-otp.cjs.entry.js +8 -33
- package/dist/cjs/ion-input-password-toggle.cjs.entry.js +2 -2
- package/dist/cjs/ion-input.cjs.entry.js +5 -5
- package/dist/cjs/ion-item-option_3.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_8.cjs.entry.js +4 -4
- package/dist/cjs/ion-loading.cjs.entry.js +7 -7
- package/dist/cjs/ion-menu_3.cjs.entry.js +9 -10
- package/dist/cjs/ion-modal.cjs.entry.js +11 -11
- package/dist/cjs/ion-nav_2.cjs.entry.js +7 -29
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker-column.cjs.entry.js +5 -5
- package/dist/cjs/ion-picker.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +7 -7
- package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/ion-radio_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-range.cjs.entry.js +4 -4
- package/dist/cjs/ion-refresher_2.cjs.entry.js +8 -8
- package/dist/cjs/ion-reorder_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +125 -20
- package/dist/cjs/ion-searchbar.cjs.entry.js +3 -3
- package/dist/cjs/ion-segment-content.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-view.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-select-modal.cjs.entry.js +7 -7
- package/dist/cjs/ion-select_3.cjs.entry.js +8 -8
- package/dist/cjs/ion-spinner.cjs.entry.js +2 -2
- package/dist/cjs/ion-split-pane.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-bar_2.cjs.entry.js +6 -6
- 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 +5 -5
- package/dist/cjs/ion-toast.cjs.entry.js +7 -7
- package/dist/cjs/ion-toggle.cjs.entry.js +6 -6
- package/dist/cjs/{ionic-global-48ceLiJ6.js → ionic-global-C1h8Yi_K.js} +1 -1
- package/dist/cjs/ionic.cjs.js +5 -5
- package/dist/cjs/{ios.transition-Ca6XODo9.js → ios.transition-YFSxiyP_.js} +4 -4
- package/dist/cjs/{item-multiple-inputs-C-hz7xrh.js → item-multiple-inputs-h2PyAFzG.js} +1 -1
- package/dist/cjs/{keyboard-BlHp4a_c.js → keyboard-C-C7xMKk.js} +1 -1
- package/dist/cjs/{keyboard-c2_I35b-.js → keyboard-Cv-LNReK.js} +4 -4
- package/dist/cjs/{keyboard-controller-DHS0BgXp.js → keyboard-controller-CLcFxSnb.js} +2 -2
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{md.transition-D8SfNYEp.js → md.transition-Cm8yg0UK.js} +4 -4
- package/dist/cjs/{overlays-CLld3axA.js → overlays-C68wNDWY.js} +20 -79
- package/dist/cjs/{select-option-render-CzyhrkOu.js → select-option-render-C-Yh9yZG.js} +2 -2
- package/dist/cjs/{slot-mutation-controller-ClDxh3EK.js → slot-mutation-controller-zixZ5LyH.js} +1 -1
- package/dist/cjs/{status-tap-CDA0Y3Ad.js → status-tap-C3frTJ4c.js} +3 -3
- package/dist/cjs/{swipe-back-Idb4gqUk.js → swipe-back-BigumsQ1.js} +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/input-otp/input-otp.js +3 -29
- package/dist/collection/components/menu/menu.js +3 -4
- package/dist/collection/components/nav/nav.js +2 -24
- package/dist/collection/components/route/route.js +9 -1
- package/dist/collection/components/route-redirect/route-redirect.js +1 -1
- package/dist/collection/components/router/utils/constants.js +2 -0
- package/dist/collection/components/router/utils/matching.js +97 -14
- package/dist/collection/components/router/utils/path.js +17 -3
- package/dist/collection/components/router-outlet/router-outlet.js +3 -31
- package/dist/collection/utils/hardware-back-button.js +12 -41
- package/dist/collection/utils/menu-controller/index.js +1 -2
- package/dist/collection/utils/overlays.js +4 -30
- package/dist/collection/utils/transition/index.js +0 -11
- package/dist/docs.json +4 -4
- package/dist/esm/{animation-DmtJpz89.js → animation-CFd8Olt3.js} +2 -2
- package/dist/esm/{app-globals-CNfpAPW6.js → app-globals-7GHLBkwd.js} +1 -1
- package/dist/esm/{attribute-controller-DPMIcbef.js → attribute-controller-Cn665x42.js} +1 -1
- package/dist/esm/{button-active-DVk40Sjl.js → button-active-DMuYeDQN.js} +2 -2
- package/dist/esm/{capacitor-CHJaJ9aX.js → capacitor-CoEgIpR9.js} +1 -1
- package/dist/esm/{format-Ck1cw5z7.js → format-C9zPmwKU.js} +1 -1
- package/dist/esm/{framework-delegate-CDjM1vRH.js → framework-delegate-DeT5pmPB.js} +1 -1
- package/dist/esm/{haptic-WXfMCob9.js → haptic-Dxm7ZmT5.js} +1 -1
- package/dist/esm/{helpers-BJqKF1pr.js → helpers-B54ynME_.js} +1 -1
- package/dist/esm/{index-TkLga3ma.js → index--21qeSt0.js} +2 -2
- package/dist/esm/{index-z9vdZN7I.js → index-B8iieOdw.js} +5 -16
- package/dist/esm/{index-DIouXecD.js → index-B9jhwvmO.js} +5 -6
- package/dist/esm/{index-CK8uF0iB.js → index-D4ZMZz_3.js} +1 -1
- package/dist/esm/{index-BpRUsN_W.js → index-D9OR05yj.js} +27 -40
- package/dist/esm/{index-Clv8QC5L.js → index-D_xZtbw6.js} +2 -2
- package/dist/esm/index.js +11 -11
- package/dist/esm/{input-shims-C1iYF5JK.js → input-shims-MCrhq67U.js} +5 -5
- package/dist/esm/{input.utils-DZY_K8Po.js → input.utils-B-IIWrwT.js} +1 -1
- package/dist/esm/ion-accordion_2.entry.js +3 -3
- package/dist/esm/ion-action-sheet.entry.js +11 -11
- package/dist/esm/ion-alert.entry.js +11 -11
- package/dist/esm/ion-app_8.entry.js +18 -46
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +3 -3
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/ion-breadcrumb_2.entry.js +3 -3
- package/dist/esm/ion-button_2.entry.js +4 -4
- package/dist/esm/ion-card_5.entry.js +4 -4
- package/dist/esm/ion-checkbox.entry.js +4 -4
- package/dist/esm/ion-chip.entry.js +2 -2
- package/dist/esm/ion-col_3.entry.js +2 -2
- package/dist/esm/ion-datetime-button.entry.js +4 -4
- package/dist/esm/ion-datetime.entry.js +6 -6
- package/dist/esm/ion-fab_3.entry.js +3 -3
- package/dist/esm/ion-img.entry.js +3 -3
- package/dist/esm/ion-infinite-scroll_2.entry.js +5 -5
- package/dist/esm/ion-input-otp.entry.js +8 -33
- package/dist/esm/ion-input-password-toggle.entry.js +2 -2
- package/dist/esm/ion-input.entry.js +5 -5
- package/dist/esm/ion-item-option_3.entry.js +4 -4
- package/dist/esm/ion-item_8.entry.js +4 -4
- package/dist/esm/ion-loading.entry.js +7 -7
- package/dist/esm/ion-menu_3.entry.js +9 -10
- package/dist/esm/ion-modal.entry.js +11 -11
- package/dist/esm/ion-nav_2.entry.js +7 -29
- package/dist/esm/ion-picker-column-option.entry.js +3 -3
- package/dist/esm/ion-picker-column.entry.js +5 -5
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +7 -7
- package/dist/esm/ion-progress-bar.entry.js +3 -3
- package/dist/esm/ion-radio_2.entry.js +4 -4
- package/dist/esm/ion-range.entry.js +4 -4
- package/dist/esm/ion-refresher_2.entry.js +8 -8
- package/dist/esm/ion-reorder_2.entry.js +6 -6
- package/dist/esm/ion-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +125 -20
- package/dist/esm/ion-searchbar.entry.js +3 -3
- package/dist/esm/ion-segment-content.entry.js +1 -1
- package/dist/esm/ion-segment-view.entry.js +1 -1
- package/dist/esm/ion-segment_2.entry.js +3 -3
- package/dist/esm/ion-select-modal.entry.js +7 -7
- package/dist/esm/ion-select_3.entry.js +8 -8
- package/dist/esm/ion-spinner.entry.js +2 -2
- package/dist/esm/ion-split-pane.entry.js +2 -2
- package/dist/esm/ion-tab-bar_2.entry.js +6 -6
- 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 +5 -5
- package/dist/esm/ion-toast.entry.js +7 -7
- package/dist/esm/ion-toggle.entry.js +6 -6
- package/dist/esm/{ionic-global-Cep6oYzK.js → ionic-global-B-G43ddm.js} +1 -1
- package/dist/esm/ionic.js +6 -6
- package/dist/esm/{ios.transition-BkUGiDUz.js → ios.transition-CRfGj4Mo.js} +4 -4
- package/dist/esm/{item-multiple-inputs-Bd2LO7qK.js → item-multiple-inputs-BSD9wGHO.js} +1 -1
- package/dist/esm/{keyboard-B4Y-Gph8.js → keyboard-DDw62P0D.js} +4 -4
- package/dist/esm/{keyboard-controller-B2NoF7bV.js → keyboard-controller-Dzjet5wD.js} +2 -2
- package/dist/esm/{keyboard-Cmqp5iZD.js → keyboard-ly3M0GO7.js} +1 -1
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{md.transition-B6hlrWjR.js → md.transition-wqThNy_C.js} +4 -4
- package/dist/esm/{overlays-DmDY-El7.js → overlays-BQnV0HAU.js} +21 -78
- package/dist/esm/{select-option-render-BSDT9oSA.js → select-option-render-CGxPejmz.js} +2 -2
- package/dist/esm/{slot-mutation-controller-hAS2uJ7c.js → slot-mutation-controller-C3s4-_YN.js} +1 -1
- package/dist/esm/{status-tap-VGRBYwiC.js → status-tap-DRx9wSD_.js} +3 -3
- package/dist/esm/{swipe-back-DV3UpWzz.js → swipe-back-Ch3UU_US.js} +2 -2
- package/dist/html.html-data.json +2 -2
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/{p-7db20410.entry.js → p-0517aec4.entry.js} +1 -1
- package/dist/ionic/{p-9ffccbf1.entry.js → p-083b1119.entry.js} +1 -1
- package/dist/ionic/{p-d0e374f8.entry.js → p-0ab133d6.entry.js} +1 -1
- package/dist/ionic/{p-4d785062.entry.js → p-1213b719.entry.js} +1 -1
- package/dist/ionic/{p-0c32c626.entry.js → p-150f350e.entry.js} +1 -1
- package/dist/ionic/{p-c293f854.entry.js → p-20d1ac29.entry.js} +1 -1
- package/dist/ionic/{p-d72accc4.entry.js → p-24b0a961.entry.js} +1 -1
- package/dist/ionic/{p-d2406889.entry.js → p-28f506ce.entry.js} +1 -1
- package/dist/ionic/{p-930c3538.entry.js → p-2e6e933d.entry.js} +1 -1
- package/dist/ionic/{p-0f97175e.entry.js → p-30dcf43b.entry.js} +1 -1
- package/dist/ionic/{p-00cd107d.entry.js → p-378341d1.entry.js} +1 -1
- package/dist/ionic/{p-6c7b5930.entry.js → p-37f46670.entry.js} +1 -1
- package/dist/ionic/{p-b9ed3a52.entry.js → p-3a5faaa8.entry.js} +1 -1
- package/dist/ionic/p-3bd7e5df.entry.js +4 -0
- package/dist/ionic/{p-4e4e5919.entry.js → p-3c4b0ba7.entry.js} +1 -1
- package/dist/ionic/{p-4bd80334.entry.js → p-42b2a992.entry.js} +1 -1
- package/dist/ionic/p-52449f1f.entry.js +4 -0
- package/dist/ionic/p-52dc3309.entry.js +4 -0
- package/dist/ionic/{p-64ac3864.entry.js → p-58f914ee.entry.js} +1 -1
- package/dist/ionic/{p-b3aadfe8.entry.js → p-5b9666be.entry.js} +1 -1
- package/dist/ionic/{p-a4389f13.entry.js → p-5c19330c.entry.js} +1 -1
- package/dist/ionic/{p-bfdbe24b.entry.js → p-61b304c8.entry.js} +1 -1
- package/dist/ionic/{p-0b09c60e.entry.js → p-624f2fa8.entry.js} +1 -1
- package/dist/ionic/{p-d9a3dfd1.entry.js → p-636349e2.entry.js} +1 -1
- package/dist/ionic/{p-4f25b926.entry.js → p-6865f0e1.entry.js} +1 -1
- package/dist/ionic/{p-27d96a9b.entry.js → p-7441ed2b.entry.js} +1 -1
- package/dist/ionic/{p-91f3cd8b.entry.js → p-76309bab.entry.js} +1 -1
- package/dist/ionic/p-83448626.entry.js +4 -0
- package/dist/ionic/{p-7e9c2a97.entry.js → p-834afcf7.entry.js} +1 -1
- package/dist/ionic/{p-362dcd86.entry.js → p-93cd738b.entry.js} +1 -1
- package/dist/ionic/{p-eb989dc9.entry.js → p-9b78fedf.entry.js} +1 -1
- package/dist/ionic/{p-5bb24bce.entry.js → p-9dd9788c.entry.js} +1 -1
- package/dist/ionic/{p-nCAPr1Ah.js → p-B4ELlbJE.js} +1 -1
- package/dist/ionic/p-B4wzg4z4.js +4 -0
- package/dist/ionic/{p-Co7eql8D.js → p-B4xjg_Qu.js} +1 -1
- package/dist/ionic/{p-DPNVo1nr.js → p-BCgqWm-V.js} +1 -1
- package/dist/ionic/p-BChRVdVv.js +4 -0
- package/dist/ionic/{p-BO10QT9r.js → p-BUB5OrpU.js} +1 -1
- package/dist/ionic/{p-BZTgGzGK.js → p-BVEsh7-M.js} +1 -1
- package/dist/ionic/p-Ba6ZV-qU.js +4 -0
- package/dist/ionic/{p-DxftXYZp.js → p-BhMQahM6.js} +1 -1
- package/dist/ionic/{p-D926OmIX.js → p-BtHAx8im.js} +1 -1
- package/{components/p-Dbi3KqKm.js → dist/ionic/p-Bv-6401R.js} +1 -1
- package/dist/ionic/{p-DfvWlTdB.js → p-CCik51Nv.js} +1 -1
- package/dist/ionic/p-CTmJSZcs.js +4 -0
- package/dist/ionic/{p-CngfKMRU.js → p-CTrwMl44.js} +1 -1
- package/dist/ionic/p-CVwXN07G.js +4 -0
- package/dist/ionic/p-CgQdInM0.js +4 -0
- package/dist/ionic/{p-SEecsUh7.js → p-CrAPHbJ3.js} +1 -1
- package/dist/ionic/{p-Bx5x5GJV.js → p-CsWrz1c2.js} +1 -1
- package/dist/ionic/p-D5akOqD0.js +4 -0
- package/dist/ionic/p-D9OR05yj.js +6 -0
- package/dist/ionic/p-DHf9V6zI.js +4 -0
- package/dist/ionic/{p-CXs4J83x.js → p-DNxEB9-T.js} +1 -1
- package/dist/ionic/p-DZUqAr_6.js +4 -0
- package/dist/ionic/{p-BY4FwwBp.js → p-DxvRP6ld.js} +1 -1
- package/dist/ionic/p-Dzew6Qv7.js +4 -0
- package/dist/ionic/p-PkaVMJga.js +4 -0
- package/dist/ionic/{p-c250b6b0.entry.js → p-b0a3dd1a.entry.js} +1 -1
- package/dist/ionic/{p-ec259ac5.entry.js → p-b1164028.entry.js} +1 -1
- package/dist/ionic/{p-230f510c.entry.js → p-b710b4b8.entry.js} +1 -1
- package/dist/ionic/{p-8c85e250.entry.js → p-b9659d21.entry.js} +1 -1
- package/dist/ionic/p-ba7bd621.entry.js +4 -0
- package/dist/ionic/{p-82abf431.entry.js → p-daaecea3.entry.js} +1 -1
- package/dist/ionic/{p-e7ab4def.entry.js → p-e05073f6.entry.js} +1 -1
- package/dist/ionic/{p-8d651adb.entry.js → p-e137f724.entry.js} +1 -1
- package/dist/ionic/{p-107a81a6.entry.js → p-e1969fd1.entry.js} +1 -1
- package/dist/ionic/{p-77252596.entry.js → p-e338693a.entry.js} +1 -1
- package/dist/ionic/{p-8b79061e.entry.js → p-e4c3f17f.entry.js} +1 -1
- package/dist/ionic/{p-01b7e3f2.entry.js → p-e7414c33.entry.js} +1 -1
- package/dist/ionic/{p-8db08782.entry.js → p-eb762f80.entry.js} +1 -1
- package/dist/ionic/p-edcb63e5.entry.js +4 -0
- package/dist/ionic/{p-c97e4c00.entry.js → p-efa00ce5.entry.js} +1 -1
- package/dist/ionic/{p-60780b88.entry.js → p-f19e50f8.entry.js} +1 -1
- package/dist/ionic/{p-8d2ccf0c.entry.js → p-f20b6a9b.entry.js} +1 -1
- package/dist/ionic/{p-f2116a54.entry.js → p-f9057f70.entry.js} +1 -1
- package/dist/ionic/{p-0a789930.entry.js → p-f99cf5aa.entry.js} +1 -1
- package/dist/ionic/{p-62c87f3d.entry.js → p-fee863dc.entry.js} +1 -1
- package/dist/ionic/{p-CgcGX08t.js → p-kKvGoaEe.js} +1 -1
- package/dist/ionic/{p-B8IuTu_r.js → p-tXpzvta8.js} +1 -1
- package/dist/ionic/p-vPo3vRFc.js +4 -0
- package/dist/types/components/input-otp/input-otp.d.ts +0 -7
- package/dist/types/components/nav/nav.d.ts +0 -1
- package/dist/types/components/route/route.d.ts +8 -0
- package/dist/types/components/route-redirect/route-redirect.d.ts +3 -1
- package/dist/types/components/router/utils/constants.d.ts +2 -0
- package/dist/types/components/router/utils/matching.d.ts +10 -0
- package/dist/types/components/router/utils/path.d.ts +5 -1
- package/dist/types/components/router-outlet/router-outlet.d.ts +0 -1
- package/dist/types/components.d.ts +4 -4
- package/dist/types/utils/config.d.ts +1 -4
- package/dist/types/utils/hardware-back-button.d.ts +0 -11
- package/dist/types/utils/overlays.d.ts +2 -5
- package/dist/types/utils/transition/index.d.ts +0 -6
- package/hydrate/index.js +319 -524
- package/hydrate/index.mjs +319 -524
- package/package.json +1 -1
- package/components/p-B02CcbPD.js +0 -4
- package/components/p-CohRJRIu.js +0 -4
- package/components/p-Ct2aBEue.js +0 -4
- package/components/p-CwEis84J.js +0 -4
- package/components/p-CxEV3Vwy.js +0 -4
- package/components/p-Cyajikho.js +0 -4
- package/components/p-DD92Fw3n.js +0 -4
- package/components/p-DfDIY2oP.js +0 -4
- package/components/p-IQN1T5zw.js +0 -4
- package/components/p-ODGeXc3M.js +0 -4
- package/components/p-R4UxBukQ.js +0 -4
- package/dist/ionic/p-52a16f94.entry.js +0 -4
- package/dist/ionic/p-539d6c8e.entry.js +0 -4
- package/dist/ionic/p-7ce9c6f8.entry.js +0 -4
- package/dist/ionic/p-7l6ENjIV.js +0 -4
- package/dist/ionic/p-BNXIurCt.js +0 -4
- package/dist/ionic/p-BOLqP2-V.js +0 -4
- package/dist/ionic/p-BdHBcCZF.js +0 -4
- package/dist/ionic/p-BexAj0yw.js +0 -4
- package/dist/ionic/p-BpRUsN_W.js +0 -6
- package/dist/ionic/p-BuLlVedw.js +0 -4
- package/dist/ionic/p-C1WYZOZj.js +0 -4
- package/dist/ionic/p-C2LaBx3E.js +0 -4
- package/dist/ionic/p-D13gXhdC.js +0 -4
- package/dist/ionic/p-DXXGkPA8.js +0 -4
- package/dist/ionic/p-Dk4Mdaru.js +0 -4
- package/dist/ionic/p-DriE1ZAo.js +0 -4
- package/dist/ionic/p-af11d3c6.entry.js +0 -4
- package/dist/ionic/p-b5bcbbc1.entry.js +0 -4
- package/dist/ionic/p-c83dbc12.entry.js +0 -4
package/hydrate/index.js
CHANGED
|
@@ -468,7 +468,7 @@ const appGlobalScript = initialize || (() => {});
|
|
|
468
468
|
const globalScripts = appGlobalScript;
|
|
469
469
|
|
|
470
470
|
/*
|
|
471
|
-
Stencil Hydrate Platform v4.45.
|
|
471
|
+
Stencil Hydrate Platform v4.45.1 | MIT Licensed | https://stenciljs.com
|
|
472
472
|
*/
|
|
473
473
|
var __create = Object.create;
|
|
474
474
|
var __defProp = Object.defineProperty;
|
|
@@ -577,10 +577,6 @@ var require_brace_expansion = __commonJS({
|
|
|
577
577
|
var escClose = "\0CLOSE" + Math.random() + "\0";
|
|
578
578
|
var escComma = "\0COMMA" + Math.random() + "\0";
|
|
579
579
|
var escPeriod = "\0PERIOD" + Math.random() + "\0";
|
|
580
|
-
var EXPANSION_MAX = 1e5;
|
|
581
|
-
var EXPANSION_MAX_LENGTH = 4e6;
|
|
582
|
-
var EXPANSION_MAX_DEPTH = 1e3;
|
|
583
|
-
var EXPANSION_MAX_REWRITES = 1e3;
|
|
584
580
|
function numeric(str) {
|
|
585
581
|
return parseInt(str, 10) == str ? parseInt(str, 10) : str.charCodeAt(0);
|
|
586
582
|
}
|
|
@@ -590,49 +586,33 @@ var require_brace_expansion = __commonJS({
|
|
|
590
586
|
function unescapeBraces(str) {
|
|
591
587
|
return str.split(escSlash).join("\\").split(escOpen).join("{").split(escClose).join("}").split(escComma).join(",").split(escPeriod).join(".");
|
|
592
588
|
}
|
|
593
|
-
function pushAll(target, items) {
|
|
594
|
-
for (var i2 = 0; i2 < items.length; i2++) {
|
|
595
|
-
target.push(items[i2]);
|
|
596
|
-
}
|
|
597
|
-
}
|
|
598
589
|
function parseCommaParts(str) {
|
|
590
|
+
if (!str)
|
|
591
|
+
return [""];
|
|
599
592
|
var parts = [];
|
|
600
|
-
var
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
return parts;
|
|
618
|
-
}
|
|
619
|
-
carry = p.pop();
|
|
620
|
-
pushAll(parts, p);
|
|
621
|
-
str = post;
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
function expandTop(str, options) {
|
|
593
|
+
var m = balanced("{", "}", str);
|
|
594
|
+
if (!m)
|
|
595
|
+
return str.split(",");
|
|
596
|
+
var pre = m.pre;
|
|
597
|
+
var body = m.body;
|
|
598
|
+
var post = m.post;
|
|
599
|
+
var p = pre.split(",");
|
|
600
|
+
p[p.length - 1] += "{" + body + "}";
|
|
601
|
+
var postParts = parseCommaParts(post);
|
|
602
|
+
if (post.length) {
|
|
603
|
+
p[p.length - 1] += postParts.shift();
|
|
604
|
+
p.push.apply(p, postParts);
|
|
605
|
+
}
|
|
606
|
+
parts.push.apply(parts, p);
|
|
607
|
+
return parts;
|
|
608
|
+
}
|
|
609
|
+
function expandTop(str) {
|
|
625
610
|
if (!str)
|
|
626
611
|
return [];
|
|
627
|
-
options = options || {};
|
|
628
|
-
var max = options.max == null ? EXPANSION_MAX : options.max;
|
|
629
|
-
var maxLength = options.maxLength == null ? EXPANSION_MAX_LENGTH : options.maxLength;
|
|
630
|
-
var maxDepth = options.maxDepth == null ? EXPANSION_MAX_DEPTH : options.maxDepth;
|
|
631
|
-
var maxRewrites = options.maxRewrites == null ? EXPANSION_MAX_REWRITES : options.maxRewrites;
|
|
632
612
|
if (str.substr(0, 2) === "{}") {
|
|
633
613
|
str = "\\{\\}" + str.substr(2);
|
|
634
614
|
}
|
|
635
|
-
return expand2(escapeBraces(str),
|
|
615
|
+
return expand2(escapeBraces(str), true).map(unescapeBraces);
|
|
636
616
|
}
|
|
637
617
|
function embrace(str) {
|
|
638
618
|
return "{" + str + "}";
|
|
@@ -646,165 +626,93 @@ var require_brace_expansion = __commonJS({
|
|
|
646
626
|
function gte(i2, y) {
|
|
647
627
|
return i2 >= y;
|
|
648
628
|
}
|
|
649
|
-
function
|
|
650
|
-
var
|
|
651
|
-
var
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
length += expansion.length;
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
return out;
|
|
663
|
-
}
|
|
664
|
-
function expandSequence(body, isAlphaSequence, max, maxLength) {
|
|
665
|
-
var n = body.split(/\.\./);
|
|
666
|
-
var N = [];
|
|
667
|
-
if (n[0] === void 0 || n[1] === void 0) {
|
|
668
|
-
return N;
|
|
669
|
-
}
|
|
670
|
-
var x = numeric(n[0]);
|
|
671
|
-
var y = numeric(n[1]);
|
|
672
|
-
var width = Math.max(n[0].length, n[1].length);
|
|
673
|
-
var incr = n.length === 3 && n[2] !== void 0 ? Math.max(Math.abs(numeric(n[2])), 1) : 1;
|
|
674
|
-
var test = lte;
|
|
675
|
-
var reverse = y < x;
|
|
676
|
-
if (reverse) {
|
|
677
|
-
incr *= -1;
|
|
678
|
-
test = gte;
|
|
679
|
-
}
|
|
680
|
-
var pad = n.some(isPadded);
|
|
681
|
-
var length = 0;
|
|
682
|
-
for (var i2 = x; test(i2, y) && N.length < max; i2 += incr) {
|
|
683
|
-
var c;
|
|
684
|
-
if (isAlphaSequence) {
|
|
685
|
-
c = String.fromCharCode(i2);
|
|
686
|
-
if (c === "\\") {
|
|
687
|
-
c = "";
|
|
688
|
-
}
|
|
689
|
-
} else {
|
|
690
|
-
c = String(i2);
|
|
691
|
-
if (pad) {
|
|
692
|
-
var need = width - c.length;
|
|
693
|
-
if (need > 0) {
|
|
694
|
-
var z = new Array(need + 1).join("0");
|
|
695
|
-
if (i2 < 0) {
|
|
696
|
-
c = "-" + z + c.slice(1);
|
|
697
|
-
} else {
|
|
698
|
-
c = z + c;
|
|
699
|
-
}
|
|
700
|
-
}
|
|
701
|
-
}
|
|
702
|
-
}
|
|
703
|
-
if (length + c.length > maxLength) break;
|
|
704
|
-
N.push(c);
|
|
705
|
-
length += c.length;
|
|
706
|
-
}
|
|
707
|
-
return N;
|
|
708
|
-
}
|
|
709
|
-
function expand2(str, max, maxLength, maxDepth, depth, maxRewrites, isTop) {
|
|
710
|
-
if (depth > maxDepth) {
|
|
711
|
-
return [str];
|
|
712
|
-
}
|
|
713
|
-
var acc = [""];
|
|
714
|
-
var rewrites = 0;
|
|
715
|
-
var dropEmpties = false;
|
|
716
|
-
var firstGroup = true;
|
|
717
|
-
for (; ; ) {
|
|
718
|
-
const m = balanced("{", "}", str);
|
|
719
|
-
if (!m) {
|
|
720
|
-
return combine(acc, str, [""], max, maxLength, dropEmpties);
|
|
721
|
-
}
|
|
722
|
-
const pre = m.pre;
|
|
723
|
-
if (/\$$/.test(pre)) {
|
|
724
|
-
acc = combine(
|
|
725
|
-
acc,
|
|
726
|
-
pre + "{" + m.body + "}",
|
|
727
|
-
[""],
|
|
728
|
-
max,
|
|
729
|
-
maxLength,
|
|
730
|
-
dropEmpties && !m.post.length
|
|
731
|
-
);
|
|
732
|
-
firstGroup = false;
|
|
733
|
-
if (!m.post.length) break;
|
|
734
|
-
str = m.post;
|
|
735
|
-
continue;
|
|
629
|
+
function expand2(str, isTop) {
|
|
630
|
+
var expansions = [];
|
|
631
|
+
var m = balanced("{", "}", str);
|
|
632
|
+
if (!m) return [str];
|
|
633
|
+
var pre = m.pre;
|
|
634
|
+
var post = m.post.length ? expand2(m.post, false) : [""];
|
|
635
|
+
if (/\$$/.test(m.pre)) {
|
|
636
|
+
for (var k = 0; k < post.length; k++) {
|
|
637
|
+
var expansion = pre + "{" + m.body + "}" + post[k];
|
|
638
|
+
expansions.push(expansion);
|
|
736
639
|
}
|
|
640
|
+
} else {
|
|
737
641
|
var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body);
|
|
738
642
|
var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body);
|
|
739
643
|
var isSequence = isNumericSequence || isAlphaSequence;
|
|
740
644
|
var isOptions = m.body.indexOf(",") >= 0;
|
|
741
645
|
if (!isSequence && !isOptions) {
|
|
742
|
-
if (
|
|
743
|
-
rewrites++;
|
|
646
|
+
if (m.post.match(/,(?!,).*\}/)) {
|
|
744
647
|
str = m.pre + "{" + m.body + escClose + m.post;
|
|
745
|
-
|
|
746
|
-
continue;
|
|
648
|
+
return expand2(str);
|
|
747
649
|
}
|
|
748
|
-
return
|
|
749
|
-
acc,
|
|
750
|
-
pre + "{" + m.body + "}" + m.post,
|
|
751
|
-
[""],
|
|
752
|
-
max,
|
|
753
|
-
maxLength,
|
|
754
|
-
dropEmpties
|
|
755
|
-
);
|
|
756
|
-
}
|
|
757
|
-
if (firstGroup) {
|
|
758
|
-
dropEmpties = isTop && !isSequence;
|
|
759
|
-
firstGroup = false;
|
|
650
|
+
return [str];
|
|
760
651
|
}
|
|
761
|
-
var
|
|
652
|
+
var n;
|
|
762
653
|
if (isSequence) {
|
|
763
|
-
|
|
654
|
+
n = m.body.split(/\.\./);
|
|
764
655
|
} else {
|
|
765
|
-
|
|
766
|
-
if (n.length === 1
|
|
767
|
-
n = expand2(n[0],
|
|
656
|
+
n = parseCommaParts(m.body);
|
|
657
|
+
if (n.length === 1) {
|
|
658
|
+
n = expand2(n[0], false).map(embrace);
|
|
768
659
|
if (n.length === 1) {
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
[""],
|
|
773
|
-
max,
|
|
774
|
-
maxLength,
|
|
775
|
-
dropEmpties && !m.post.length
|
|
776
|
-
);
|
|
777
|
-
if (!m.post.length) break;
|
|
778
|
-
str = m.post;
|
|
779
|
-
continue;
|
|
660
|
+
return post.map(function(p) {
|
|
661
|
+
return m.pre + n[0] + p;
|
|
662
|
+
});
|
|
780
663
|
}
|
|
781
664
|
}
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
665
|
+
}
|
|
666
|
+
var N;
|
|
667
|
+
if (isSequence) {
|
|
668
|
+
var x = numeric(n[0]);
|
|
669
|
+
var y = numeric(n[1]);
|
|
670
|
+
var width = Math.max(n[0].length, n[1].length);
|
|
671
|
+
var incr = n.length == 3 ? Math.abs(numeric(n[2])) : 1;
|
|
672
|
+
var test = lte;
|
|
673
|
+
var reverse = y < x;
|
|
674
|
+
if (reverse) {
|
|
675
|
+
incr *= -1;
|
|
676
|
+
test = gte;
|
|
787
677
|
}
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
var
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
if (
|
|
795
|
-
|
|
796
|
-
|
|
678
|
+
var pad = n.some(isPadded);
|
|
679
|
+
N = [];
|
|
680
|
+
for (var i2 = x; test(i2, y); i2 += incr) {
|
|
681
|
+
var c;
|
|
682
|
+
if (isAlphaSequence) {
|
|
683
|
+
c = String.fromCharCode(i2);
|
|
684
|
+
if (c === "\\")
|
|
685
|
+
c = "";
|
|
686
|
+
} else {
|
|
687
|
+
c = String(i2);
|
|
688
|
+
if (pad) {
|
|
689
|
+
var need = width - c.length;
|
|
690
|
+
if (need > 0) {
|
|
691
|
+
var z = new Array(need + 1).join("0");
|
|
692
|
+
if (i2 < 0)
|
|
693
|
+
c = "-" + z + c.slice(1);
|
|
694
|
+
else
|
|
695
|
+
c = z + c;
|
|
696
|
+
}
|
|
797
697
|
}
|
|
798
|
-
values.push(v);
|
|
799
|
-
valuesLength += v.length;
|
|
800
698
|
}
|
|
699
|
+
N.push(c);
|
|
700
|
+
}
|
|
701
|
+
} else {
|
|
702
|
+
N = [];
|
|
703
|
+
for (var j = 0; j < n.length; j++) {
|
|
704
|
+
N.push.apply(N, expand2(n[j], false));
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
for (var j = 0; j < N.length; j++) {
|
|
708
|
+
for (var k = 0; k < post.length; k++) {
|
|
709
|
+
var expansion = pre + N[j] + post[k];
|
|
710
|
+
if (!isTop || isSequence || expansion)
|
|
711
|
+
expansions.push(expansion);
|
|
801
712
|
}
|
|
802
713
|
}
|
|
803
|
-
acc = combine(acc, pre, values, max, maxLength, dropEmpties && !m.post.length);
|
|
804
|
-
if (!m.post.length) break;
|
|
805
|
-
str = m.post;
|
|
806
714
|
}
|
|
807
|
-
return
|
|
715
|
+
return expansions;
|
|
808
716
|
}
|
|
809
717
|
}
|
|
810
718
|
});
|
|
@@ -2024,7 +1932,7 @@ var scopeSelector = (selector, scopeSelectorText, hostSelector, slotSelector) =>
|
|
|
2024
1932
|
}
|
|
2025
1933
|
}).join(", ");
|
|
2026
1934
|
};
|
|
2027
|
-
var isScopableAtRule = (selector) => selector.startsWith("@media") || selector.startsWith("@supports") || selector.startsWith("@page") || selector.startsWith("@document") || selector.startsWith("@layer")
|
|
1935
|
+
var isScopableAtRule = (selector) => selector.startsWith("@media") || selector.startsWith("@supports") || selector.startsWith("@page") || selector.startsWith("@document") || selector.startsWith("@layer");
|
|
2028
1936
|
var scopeSelectors = (cssText, scopeSelectorText, hostSelector, slotSelector, commentOriginalSelector) => {
|
|
2029
1937
|
return processRules(cssText, (rule) => {
|
|
2030
1938
|
let selector = rule.selector;
|
|
@@ -2348,12 +2256,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
2348
2256
|
newClasses = [...new Set(newClasses)].filter((c) => c);
|
|
2349
2257
|
classList.add(...newClasses);
|
|
2350
2258
|
} else {
|
|
2351
|
-
|
|
2352
|
-
if (initialRender && !(flags & 4 /* isHost */)) {
|
|
2353
|
-
const ownClasses = getOwnHostClasses(elm);
|
|
2354
|
-
removedClasses = removedClasses.filter((c) => !ownClasses.includes(c));
|
|
2355
|
-
}
|
|
2356
|
-
classList.remove(...removedClasses);
|
|
2259
|
+
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
2357
2260
|
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
2358
2261
|
}
|
|
2359
2262
|
} else if (memberName === "style") {
|
|
@@ -2474,18 +2377,6 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
2474
2377
|
var ENUMERATED_ATTRIBUTES = /* @__PURE__ */ new Set(["draggable", "contenteditable", "spellcheck"]);
|
|
2475
2378
|
var isEnumeratedAttribute = (attrName) => ENUMERATED_ATTRIBUTES.has(attrName) || attrName.startsWith("aria-");
|
|
2476
2379
|
var parseClassListRegex = /\s/;
|
|
2477
|
-
var getOwnHostClasses = (elm) => {
|
|
2478
|
-
var _a2, _b, _c;
|
|
2479
|
-
const hostRef = getHostRef(elm);
|
|
2480
|
-
if (!hostRef || !(hostRef.$flags$ & 2 /* hasRendered */)) {
|
|
2481
|
-
return [];
|
|
2482
|
-
}
|
|
2483
|
-
const ownClasses = parseClassList((_b = (_a2 = hostRef.$vnode$) == null ? void 0 : _a2.$attrs$) == null ? void 0 : _b.class);
|
|
2484
|
-
{
|
|
2485
|
-
ownClasses.push((_c = BUILD.hydratedSelectorName) != null ? _c : "hydrated");
|
|
2486
|
-
}
|
|
2487
|
-
return ownClasses;
|
|
2488
|
-
};
|
|
2489
2380
|
var parseClassList = (value) => {
|
|
2490
2381
|
if (typeof value === "object" && value && "baseVal" in value) {
|
|
2491
2382
|
value = value.baseVal;
|
|
@@ -3389,19 +3280,6 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
3389
3280
|
}
|
|
3390
3281
|
}
|
|
3391
3282
|
};
|
|
3392
|
-
var replayPendingSetterValues = (hostRef, cmpMeta) => {
|
|
3393
|
-
var _a2;
|
|
3394
|
-
const instance = hostRef.$lazyInstance$;
|
|
3395
|
-
if (!instance) return;
|
|
3396
|
-
for (const [memberName, [memberFlags]] of Object.entries((_a2 = cmpMeta.$members$) != null ? _a2 : {})) {
|
|
3397
|
-
if (memberFlags & 4096 /* Setter */ && hostRef.$instanceValues$.has(memberName)) {
|
|
3398
|
-
const pendingValue = hostRef.$instanceValues$.get(memberName);
|
|
3399
|
-
if (instance[memberName] !== pendingValue) {
|
|
3400
|
-
instance[memberName] = pendingValue;
|
|
3401
|
-
}
|
|
3402
|
-
}
|
|
3403
|
-
}
|
|
3404
|
-
};
|
|
3405
3283
|
var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
3406
3284
|
var _a2;
|
|
3407
3285
|
const prototype = Cstr.prototype;
|
|
@@ -3431,8 +3309,9 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
3431
3309
|
return getValue(this, memberName);
|
|
3432
3310
|
}
|
|
3433
3311
|
const ref = getHostRef(this);
|
|
3434
|
-
|
|
3435
|
-
|
|
3312
|
+
const instance = ref ? ref.$lazyInstance$ : prototype;
|
|
3313
|
+
if (!instance) return;
|
|
3314
|
+
return instance[memberName];
|
|
3436
3315
|
}
|
|
3437
3316
|
},
|
|
3438
3317
|
configurable: true,
|
|
@@ -3519,7 +3398,6 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
3519
3398
|
}
|
|
3520
3399
|
{
|
|
3521
3400
|
hostRef.$flags$ &= -9 /* isConstructingInstance */;
|
|
3522
|
-
replayPendingSetterValues(hostRef, cmpMeta);
|
|
3523
3401
|
}
|
|
3524
3402
|
{
|
|
3525
3403
|
hostRef.$flags$ |= 128 /* isWatchReady */;
|
|
@@ -8205,11 +8083,6 @@ const CoreDelegate = () => {
|
|
|
8205
8083
|
|
|
8206
8084
|
let lastOverlayIndex = 0;
|
|
8207
8085
|
let lastId = 0;
|
|
8208
|
-
/**
|
|
8209
|
-
* Every overlay except toast, which doesn't trap
|
|
8210
|
-
* focus or close on back.
|
|
8211
|
-
*/
|
|
8212
|
-
const NON_TOAST_OVERLAYS = 'ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-popover';
|
|
8213
8086
|
const activeAnimations = new WeakMap();
|
|
8214
8087
|
/**
|
|
8215
8088
|
* Determines if the overlay's backdrop is always blocking (no background interaction).
|
|
@@ -8334,7 +8207,7 @@ const focusElementInOverlay = (hostToFocus, overlay) => {
|
|
|
8334
8207
|
* Should NOT include: Toast
|
|
8335
8208
|
*/
|
|
8336
8209
|
const trapKeyboardFocus = (ev, doc) => {
|
|
8337
|
-
const lastOverlay = getPresentedOverlay(doc,
|
|
8210
|
+
const lastOverlay = getPresentedOverlay(doc, 'ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-popover');
|
|
8338
8211
|
const target = ev.target;
|
|
8339
8212
|
/**
|
|
8340
8213
|
* If no active overlay, ignore this event.
|
|
@@ -8640,8 +8513,7 @@ const setRootAriaHidden = (hidden = false) => {
|
|
|
8640
8513
|
* Cleans up root `aria-hidden` and `backdrop-no-scroll` when
|
|
8641
8514
|
* an overlay is removed from the DOM without going through
|
|
8642
8515
|
* the `dismiss()` flow (e.g., when a framework unmounts the
|
|
8643
|
-
* overlay during a route change).
|
|
8644
|
-
* CloseWatcher if nothing is left to close.
|
|
8516
|
+
* overlay during a route change).
|
|
8645
8517
|
*
|
|
8646
8518
|
* Should be called from an overlay's `disconnectedCallback`
|
|
8647
8519
|
* when the overlay was still presented at the time of removal.
|
|
@@ -8671,9 +8543,7 @@ const applyRootLock = (el) => {
|
|
|
8671
8543
|
};
|
|
8672
8544
|
/**
|
|
8673
8545
|
* Re-applies the root lock that `cleanupRootFocusTrapAccessibility()` released.
|
|
8674
|
-
* Call from `connectedCallback` when the overlay is still presented.
|
|
8675
|
-
* re-arms the CloseWatcher, which every overlay needs, so that happens
|
|
8676
|
-
* before the `locksAppRoot` check.
|
|
8546
|
+
* Call from `connectedCallback` when the overlay is still presented.
|
|
8677
8547
|
*
|
|
8678
8548
|
* A synchronous move keeps the overlay connected, so the lock survives. A
|
|
8679
8549
|
* detach with a re-insert in a later task releases it, which is the shape a
|
|
@@ -21384,11 +21254,6 @@ class InputOTP {
|
|
|
21384
21254
|
* focus behavior when an input box is focused.
|
|
21385
21255
|
*/
|
|
21386
21256
|
this.isKeyboardNavigation = false;
|
|
21387
|
-
/**
|
|
21388
|
-
* The `length` watcher runs before new inputs render, so
|
|
21389
|
-
* `componentDidRender` updates their tab indexes instead.
|
|
21390
|
-
*/
|
|
21391
|
-
this.updateTabIndexesAfterRender = false;
|
|
21392
21257
|
this.inputValues = [];
|
|
21393
21258
|
this.hasFocus = false;
|
|
21394
21259
|
this.previousInputValues = [];
|
|
@@ -21748,10 +21613,6 @@ class InputOTP {
|
|
|
21748
21613
|
this.initializeValues();
|
|
21749
21614
|
this.updateTabIndexes();
|
|
21750
21615
|
}
|
|
21751
|
-
lengthChanged() {
|
|
21752
|
-
this.initializeValues();
|
|
21753
|
-
this.updateTabIndexesAfterRender = true;
|
|
21754
|
-
}
|
|
21755
21616
|
/**
|
|
21756
21617
|
* Processes the separators prop into an array of numbers.
|
|
21757
21618
|
*
|
|
@@ -21808,12 +21669,6 @@ class InputOTP {
|
|
|
21808
21669
|
componentDidLoad() {
|
|
21809
21670
|
this.updateTabIndexes();
|
|
21810
21671
|
}
|
|
21811
|
-
componentDidRender() {
|
|
21812
|
-
if (this.updateTabIndexesAfterRender) {
|
|
21813
|
-
this.updateTabIndexesAfterRender = false;
|
|
21814
|
-
this.updateTabIndexes();
|
|
21815
|
-
}
|
|
21816
|
-
}
|
|
21817
21672
|
/**
|
|
21818
21673
|
* Get the regex pattern for allowed characters.
|
|
21819
21674
|
* If a pattern is provided, use it to create a regex pattern
|
|
@@ -21991,7 +21846,7 @@ class InputOTP {
|
|
|
21991
21846
|
const tabbableIndex = this.getTabbableIndex();
|
|
21992
21847
|
const pattern = this.getPattern();
|
|
21993
21848
|
const hasDescription = el.querySelector('.input-otp-description')?.textContent?.trim() !== '';
|
|
21994
|
-
return (hAsync(Host, { key: '
|
|
21849
|
+
return (hAsync(Host, { key: 'bd37661e13cde21feff30c663e6813ce3fff0d9a', class: createColorClasses$1(color, {
|
|
21995
21850
|
[mode]: true,
|
|
21996
21851
|
'has-focus': hasFocus,
|
|
21997
21852
|
[`input-otp-size-${size}`]: true,
|
|
@@ -21999,30 +21854,20 @@ class InputOTP {
|
|
|
21999
21854
|
[`input-otp-fill-${fill}`]: true,
|
|
22000
21855
|
'input-otp-disabled': disabled,
|
|
22001
21856
|
'input-otp-readonly': readonly,
|
|
22002
|
-
}) }, hAsync("div", { key: '
|
|
22003
|
-
if (el) {
|
|
22004
|
-
inputRefs[index] = el;
|
|
22005
|
-
}
|
|
22006
|
-
else {
|
|
22007
|
-
// The input was removed, so drop its ref and any after it.
|
|
22008
|
-
inputRefs.splice(index);
|
|
22009
|
-
}
|
|
22010
|
-
}, onInput: this.onInput(index), onBlur: this.onBlur, onFocus: this.onFocus(index), onKeyDown: this.onKeyDown(index), onPaste: this.onPaste })), this.showSeparator(index) && hAsync("div", { class: "input-otp-separator" }))))), hAsync("div", { key: '9d72a4ab35b5fdd6bba9701050c385ed253b310f', class: {
|
|
21857
|
+
}) }, hAsync("div", { key: '5e206f870024f1ecfebda999ff31e6e815774deb', role: "group", "aria-label": "One-time password input", class: "input-otp-group", ...inheritedAttributes }, Array.from({ length }).map((_, index) => (hAsync(Fragment, null, hAsync("div", { class: "native-wrapper" }, hAsync("input", { class: "native-input", id: `${inputId}-${index}`, "aria-label": `Input ${index + 1} of ${length}`, type: "text", autoCapitalize: autocapitalize, inputmode: inputmode, pattern: pattern, disabled: disabled, readOnly: readonly, tabIndex: index === tabbableIndex ? 0 : -1, value: inputValues[index] || '', autocomplete: "one-time-code", ref: (el) => (inputRefs[index] = el), onInput: this.onInput(index), onBlur: this.onBlur, onFocus: this.onFocus(index), onKeyDown: this.onKeyDown(index), onPaste: this.onPaste })), this.showSeparator(index) && hAsync("div", { class: "input-otp-separator" }))))), hAsync("div", { key: 'c268f838ddab2c8d6a612a11c7d38e6ca076436d', class: {
|
|
22011
21858
|
'input-otp-description': true,
|
|
22012
21859
|
'input-otp-description-hidden': !hasDescription,
|
|
22013
|
-
} }, hAsync("slot", { key: '
|
|
21860
|
+
} }, hAsync("slot", { key: 'c0736359b26f609b795e399fc1ad9b540632af18' }))));
|
|
22014
21861
|
}
|
|
22015
21862
|
get el() { return getElement(this); }
|
|
22016
21863
|
static get watchers() { return {
|
|
22017
21864
|
"value": [{
|
|
22018
21865
|
"valueChanged": 0
|
|
22019
21866
|
}],
|
|
22020
|
-
"
|
|
22021
|
-
"lengthChanged": 0
|
|
22022
|
-
}, {
|
|
21867
|
+
"separators": [{
|
|
22023
21868
|
"processSeparators": 0
|
|
22024
21869
|
}],
|
|
22025
|
-
"
|
|
21870
|
+
"length": [{
|
|
22026
21871
|
"processSeparators": 0
|
|
22027
21872
|
}]
|
|
22028
21873
|
}; }
|
|
@@ -24734,14 +24579,14 @@ class Menu {
|
|
|
24734
24579
|
* the ionBackButton listener in the menu controller
|
|
24735
24580
|
* will handle closing the menu when Escape is pressed.
|
|
24736
24581
|
*/
|
|
24737
|
-
return (hAsync(Host, { key: '
|
|
24582
|
+
return (hAsync(Host, { key: '1208ba437fa58680325408d3d4c8580950da1d68', onKeyDown: shouldUseCloseWatcher() ? null : this.onKeydown, role: "navigation", "aria-label": inheritedAttributes['aria-label'] || 'menu', class: {
|
|
24738
24583
|
[mode]: true,
|
|
24739
24584
|
[`menu-type-${type}`]: true,
|
|
24740
24585
|
'menu-enabled': !disabled,
|
|
24741
24586
|
[`menu-side-${side}`]: true,
|
|
24742
24587
|
'menu-pane-visible': isPaneVisible,
|
|
24743
24588
|
'split-pane-side': hostContext('ion-split-pane', el),
|
|
24744
|
-
} }, hAsync("div", { key: '
|
|
24589
|
+
} }, hAsync("div", { key: 'c0ddc957b7a7956b41901d77ae02d91e73071c55', class: "menu-inner", part: "container", ref: (el) => (this.menuInnerEl = el) }, hAsync("slot", { key: '6e44c56116431a024f114ab85ded1b822c942fac' })), hAsync("ion-backdrop", { key: '5f4bbcf84444d96ec6b02bf567e1aaf95f59078d', ref: (el) => (this.backdropEl = el), class: "menu-backdrop", tappable: false, stopPropagation: false, part: "backdrop" })));
|
|
24745
24590
|
}
|
|
24746
24591
|
get el() { return getElement(this); }
|
|
24747
24592
|
static get watchers() { return {
|
|
@@ -25307,17 +25152,6 @@ const setPageHidden = (el, hidden) => {
|
|
|
25307
25152
|
el.classList.remove('ion-page-hidden');
|
|
25308
25153
|
}
|
|
25309
25154
|
};
|
|
25310
|
-
/**
|
|
25311
|
-
* Blocks clicks on `el` during a swipe to go back without animations,
|
|
25312
|
-
* so releasing the pointer doesn't click whatever is under it. Returns
|
|
25313
|
-
* a function that unblocks it after the release click.
|
|
25314
|
-
*/
|
|
25315
|
-
const blockSwipeClicks = (el) => {
|
|
25316
|
-
el.style.setProperty('pointer-events', 'none');
|
|
25317
|
-
return () => {
|
|
25318
|
-
setTimeout(() => el.style.removeProperty('pointer-events'));
|
|
25319
|
-
};
|
|
25320
|
-
};
|
|
25321
25155
|
const setZIndex = (enteringEl, leavingEl, direction) => {
|
|
25322
25156
|
if (enteringEl !== undefined) {
|
|
25323
25157
|
enteringEl.style.zIndex = direction === 'back' ? '99' : '101';
|
|
@@ -28668,12 +28502,6 @@ class Nav {
|
|
|
28668
28502
|
this.gesture.destroy();
|
|
28669
28503
|
this.gesture = undefined;
|
|
28670
28504
|
}
|
|
28671
|
-
// Destroying the gesture skips onEnd, so end a deferred swipe here.
|
|
28672
|
-
if (this.unblockSwipeClicks) {
|
|
28673
|
-
this.unblockSwipeClicks();
|
|
28674
|
-
this.unblockSwipeClicks = undefined;
|
|
28675
|
-
this.gestureOrAnimationInProgress = false;
|
|
28676
|
-
}
|
|
28677
28505
|
this.transInstr.length = 0;
|
|
28678
28506
|
this.views.length = 0;
|
|
28679
28507
|
this.destroyed = true;
|
|
@@ -29294,14 +29122,6 @@ class Nav {
|
|
|
29294
29122
|
}
|
|
29295
29123
|
onStart() {
|
|
29296
29124
|
this.gestureOrAnimationInProgress = true;
|
|
29297
|
-
/**
|
|
29298
|
-
* Without animations there's nothing for the swipe to drive, so
|
|
29299
|
-
* wait until the gesture ends to decide whether to go back.
|
|
29300
|
-
*/
|
|
29301
|
-
if (!(this.animated && config.getBoolean('animated', true))) {
|
|
29302
|
-
this.unblockSwipeClicks = blockSwipeClicks(this.el);
|
|
29303
|
-
return;
|
|
29304
|
-
}
|
|
29305
29125
|
this.pop({ direction: 'back', progressAnimation: true });
|
|
29306
29126
|
}
|
|
29307
29127
|
onMove(stepValue) {
|
|
@@ -29335,18 +29155,10 @@ class Nav {
|
|
|
29335
29155
|
}
|
|
29336
29156
|
else {
|
|
29337
29157
|
this.gestureOrAnimationInProgress = false;
|
|
29338
|
-
const { unblockSwipeClicks } = this;
|
|
29339
|
-
if (unblockSwipeClicks) {
|
|
29340
|
-
this.unblockSwipeClicks = undefined;
|
|
29341
|
-
if (shouldComplete) {
|
|
29342
|
-
this.pop({ direction: 'back' });
|
|
29343
|
-
}
|
|
29344
|
-
unblockSwipeClicks();
|
|
29345
|
-
}
|
|
29346
29158
|
}
|
|
29347
29159
|
}
|
|
29348
29160
|
render() {
|
|
29349
|
-
return hAsync("slot", { key: '
|
|
29161
|
+
return hAsync("slot", { key: '1886154d3c2fa8511af4d641d269aaa4c0f45c05' });
|
|
29350
29162
|
}
|
|
29351
29163
|
get el() { return getElement(this); }
|
|
29352
29164
|
static get watchers() { return {
|
|
@@ -35685,6 +35497,14 @@ class Route {
|
|
|
35685
35497
|
*
|
|
35686
35498
|
* Accepts paths similar to expressjs so that you can define parameters
|
|
35687
35499
|
* in the url /foo/:bar where bar would be available in incoming props.
|
|
35500
|
+
*
|
|
35501
|
+
* A url ending in `*`, such as `*` or `/admin/*`, matches any remaining path,
|
|
35502
|
+
* including none, so `/admin/*` also matches `/admin`. It only wins over a
|
|
35503
|
+
* route that matches the whole path when it has more fixed segments, so
|
|
35504
|
+
* `/admin/*` wins over `/:section/:id` but not over `/admin/:id`. It always
|
|
35505
|
+
* wins over a route that matches by ignoring trailing segments, such as
|
|
35506
|
+
* `/admin` for `/admin/users`. The matched path is passed in the `pathMatch`
|
|
35507
|
+
* prop without a leading `/`. A `*` on a route with child routes is ignored.
|
|
35688
35508
|
*/
|
|
35689
35509
|
this.url = '';
|
|
35690
35510
|
}
|
|
@@ -35773,6 +35593,8 @@ class RouteRedirect {
|
|
|
35773
35593
|
const ROUTER_INTENT_NONE = 'root';
|
|
35774
35594
|
const ROUTER_INTENT_FORWARD = 'forward';
|
|
35775
35595
|
const ROUTER_INTENT_BACK = 'back';
|
|
35596
|
+
/** Param that holds the path matched by a trailing `*` in an `ion-route` url. */
|
|
35597
|
+
const WILDCARD_PARAM = 'pathMatch';
|
|
35776
35598
|
|
|
35777
35599
|
/** Join the non empty segments with "/". */
|
|
35778
35600
|
const generatePath = (segments) => {
|
|
@@ -35806,12 +35628,13 @@ const writeSegments = (history, root, useHash, segments, direction, state, query
|
|
|
35806
35628
|
*
|
|
35807
35629
|
* Notes:
|
|
35808
35630
|
* - parameter segments of the form :param are replaced with their value,
|
|
35809
|
-
* - null is returned when a value is missing for any parameter segment
|
|
35631
|
+
* - null is returned when a value is missing for any parameter segment,
|
|
35632
|
+
* - a trailing wildcard is replaced with the path it matched.
|
|
35810
35633
|
*/
|
|
35811
35634
|
const chainToSegments = (chain) => {
|
|
35812
35635
|
const segments = [];
|
|
35813
35636
|
for (const route of chain) {
|
|
35814
|
-
for (const segment of route.segments) {
|
|
35637
|
+
for (const segment of withoutWildcard(route.segments)) {
|
|
35815
35638
|
if (segment[0] === ':') {
|
|
35816
35639
|
const param = route.params && route.params[segment.slice(1)];
|
|
35817
35640
|
if (!param) {
|
|
@@ -35823,9 +35646,22 @@ const chainToSegments = (chain) => {
|
|
|
35823
35646
|
segments.push(segment);
|
|
35824
35647
|
}
|
|
35825
35648
|
}
|
|
35649
|
+
segments.push(...wildcardSegments(route));
|
|
35826
35650
|
}
|
|
35827
35651
|
return segments;
|
|
35828
35652
|
};
|
|
35653
|
+
/** Only a `*` in the last segment of a route url is a wildcard. Elsewhere it's matched literally. */
|
|
35654
|
+
const endsWithWildcard = (segments) => {
|
|
35655
|
+
return segments[segments.length - 1] === '*';
|
|
35656
|
+
};
|
|
35657
|
+
/** Returns the path segments matched by the trailing wildcard of the route. */
|
|
35658
|
+
const wildcardSegments = (route) => {
|
|
35659
|
+
const pathMatch = endsWithWildcard(route.segments) ? route.params?.[WILDCARD_PARAM] : undefined;
|
|
35660
|
+
return pathMatch ? pathMatch.split('/').filter((s) => s.length > 0) : [];
|
|
35661
|
+
};
|
|
35662
|
+
const withoutWildcard = (segments) => {
|
|
35663
|
+
return endsWithWildcard(segments) ? segments.slice(0, -1) : segments;
|
|
35664
|
+
};
|
|
35829
35665
|
/**
|
|
35830
35666
|
* Removes the prefix segments from the path segments.
|
|
35831
35667
|
*
|
|
@@ -36158,6 +35994,10 @@ const matchesIDs = (ids, chain) => {
|
|
|
36158
35994
|
if (routeId.id.toLowerCase() !== routeChain.id) {
|
|
36159
35995
|
break;
|
|
36160
35996
|
}
|
|
35997
|
+
// Weight a wildcard route when the outlet reports its `pathMatch`
|
|
35998
|
+
if (routeId.params?.[WILDCARD_PARAM] !== undefined && endsWithWildcard(routeChain.segments)) {
|
|
35999
|
+
score++;
|
|
36000
|
+
}
|
|
36161
36001
|
if (routeId.params) {
|
|
36162
36002
|
const routeIdParams = Object.keys(routeId.params);
|
|
36163
36003
|
// Only compare routes with the chain that have the same number of parameters.
|
|
@@ -36213,21 +36053,28 @@ const matchesSegments = (segments, chain) => {
|
|
|
36213
36053
|
matchesDefault = true;
|
|
36214
36054
|
}
|
|
36215
36055
|
else {
|
|
36216
|
-
|
|
36056
|
+
const params = {};
|
|
36057
|
+
for (const segment of withoutWildcard(chainSegments)) {
|
|
36217
36058
|
const data = inputSegments.next();
|
|
36218
36059
|
// data param
|
|
36219
36060
|
if (segment[0] === ':') {
|
|
36220
36061
|
if (data === '') {
|
|
36221
36062
|
return null;
|
|
36222
36063
|
}
|
|
36223
|
-
allparams = allparams || [];
|
|
36224
|
-
const params = allparams[i] || (allparams[i] = {});
|
|
36225
36064
|
params[segment.slice(1)] = data;
|
|
36226
36065
|
}
|
|
36227
36066
|
else if (data !== segment) {
|
|
36228
36067
|
return null;
|
|
36229
36068
|
}
|
|
36230
36069
|
}
|
|
36070
|
+
// A trailing `*` on a parent route has no effect. Its children match the rest of the path.
|
|
36071
|
+
if (i === chain.length - 1 && endsWithWildcard(chainSegments)) {
|
|
36072
|
+
params[WILDCARD_PARAM] = inputSegments.rest().join('/');
|
|
36073
|
+
}
|
|
36074
|
+
if (Object.keys(params).length > 0) {
|
|
36075
|
+
allparams = allparams || [];
|
|
36076
|
+
allparams[i] = params;
|
|
36077
|
+
}
|
|
36231
36078
|
matchesDefault = false;
|
|
36232
36079
|
}
|
|
36233
36080
|
}
|
|
@@ -36259,25 +36106,38 @@ const mergeParams = (a, b) => {
|
|
|
36259
36106
|
* Returns the best match or null when no match is found.
|
|
36260
36107
|
* When a chain is returned the parameters are updated from the RouteIDs.
|
|
36261
36108
|
* That is they contain both the componentProps of the <ion-route> and the parameter segment.
|
|
36109
|
+
*
|
|
36110
|
+
* When a wildcard route ties with other routes, a route without a wildcard that can build a url wins,
|
|
36111
|
+
* then the wildcard route. Otherwise the first route declared wins a tie.
|
|
36262
36112
|
*/
|
|
36263
36113
|
const findChainForIDs = (ids, chains) => {
|
|
36264
|
-
let match = null;
|
|
36265
36114
|
let maxMatches = 0;
|
|
36115
|
+
let tied = [];
|
|
36266
36116
|
for (const chain of chains) {
|
|
36267
36117
|
const score = matchesIDs(ids, chain);
|
|
36268
36118
|
if (score > maxMatches) {
|
|
36269
|
-
match = chain;
|
|
36270
36119
|
maxMatches = score;
|
|
36120
|
+
tied = [chain];
|
|
36121
|
+
}
|
|
36122
|
+
else if (score > 0 && score === maxMatches) {
|
|
36123
|
+
tied.push(chain);
|
|
36271
36124
|
}
|
|
36272
36125
|
}
|
|
36273
|
-
|
|
36274
|
-
|
|
36275
|
-
|
|
36276
|
-
|
|
36277
|
-
|
|
36278
|
-
|
|
36126
|
+
const matches = tied.map((chain) => chain.map((route, i) => ({
|
|
36127
|
+
id: route.id,
|
|
36128
|
+
segments: route.segments,
|
|
36129
|
+
params: mergeParams(route.params, ids[i]?.params),
|
|
36130
|
+
})));
|
|
36131
|
+
if (!matches.some(chainEndsWithWildcard)) {
|
|
36132
|
+
return matches.length > 0 ? matches[0] : null;
|
|
36279
36133
|
}
|
|
36280
|
-
return
|
|
36134
|
+
return matches.reduce((best, chain) => (tieRank(chain) > tieRank(best) ? chain : best));
|
|
36135
|
+
};
|
|
36136
|
+
const tieRank = (chain) => {
|
|
36137
|
+
if (chainEndsWithWildcard(chain)) {
|
|
36138
|
+
return 1;
|
|
36139
|
+
}
|
|
36140
|
+
return chainToSegments(chain) !== null ? 2 : 0;
|
|
36281
36141
|
};
|
|
36282
36142
|
/**
|
|
36283
36143
|
* Finds the best match for the segments in the chains.
|
|
@@ -36285,10 +36145,17 @@ const findChainForIDs = (ids, chains) => {
|
|
|
36285
36145
|
* Returns the best match or null when no match is found.
|
|
36286
36146
|
* When a chain is returned the parameters are updated from the segments.
|
|
36287
36147
|
* That is they contain both the componentProps of the <ion-route> and the parameter segments.
|
|
36148
|
+
*
|
|
36149
|
+
* When wildcard routes match, the one with the most fixed segments wins if it has more fixed segments than every
|
|
36150
|
+
* route that matched the whole path. Routes that only matched by ignoring trailing segments don't count.
|
|
36288
36151
|
*/
|
|
36289
36152
|
const findChainForSegments = (segments, chains) => {
|
|
36290
36153
|
let match = null;
|
|
36291
36154
|
let bestScore = 0;
|
|
36155
|
+
let fullMatch = null;
|
|
36156
|
+
let bestFullScore = 0;
|
|
36157
|
+
let maxFullFixed = -1;
|
|
36158
|
+
let wildcard = null;
|
|
36292
36159
|
for (const chain of chains) {
|
|
36293
36160
|
const matchedChain = matchesSegments(segments, chain);
|
|
36294
36161
|
if (matchedChain !== null) {
|
|
@@ -36297,9 +36164,51 @@ const findChainForSegments = (segments, chains) => {
|
|
|
36297
36164
|
bestScore = score;
|
|
36298
36165
|
match = matchedChain;
|
|
36299
36166
|
}
|
|
36167
|
+
if (chainEndsWithWildcard(matchedChain)) {
|
|
36168
|
+
if (wildcard === null || winsWildcard(matchedChain, wildcard)) {
|
|
36169
|
+
wildcard = matchedChain;
|
|
36170
|
+
}
|
|
36171
|
+
}
|
|
36172
|
+
else if (!isPartialMatch(segments, matchedChain)) {
|
|
36173
|
+
if (score > bestFullScore) {
|
|
36174
|
+
bestFullScore = score;
|
|
36175
|
+
fullMatch = matchedChain;
|
|
36176
|
+
}
|
|
36177
|
+
maxFullFixed = Math.max(maxFullFixed, countFixedSegments(matchedChain));
|
|
36178
|
+
}
|
|
36179
|
+
}
|
|
36180
|
+
}
|
|
36181
|
+
// Without a wildcard to match the rest of the path, routes can still ignore trailing segments.
|
|
36182
|
+
if (wildcard === null) {
|
|
36183
|
+
return match;
|
|
36184
|
+
}
|
|
36185
|
+
// Compare fixed segments rather than priority, since nesting under default routes raises the priority
|
|
36186
|
+
return countFixedSegments(wildcard) > maxFullFixed ? wildcard : fullMatch;
|
|
36187
|
+
};
|
|
36188
|
+
/** Returns whether the chain matched the path segments only by ignoring some trailing segments. */
|
|
36189
|
+
const isPartialMatch = (segments, chain) => {
|
|
36190
|
+
const matched = chainToSegments(chain);
|
|
36191
|
+
return matched !== null && matched.length < segments.filter((s) => s !== '').length;
|
|
36192
|
+
};
|
|
36193
|
+
const chainEndsWithWildcard = (chain) => {
|
|
36194
|
+
return endsWithWildcard(chain[chain.length - 1].segments);
|
|
36195
|
+
};
|
|
36196
|
+
/** Returns whether the wildcard chain beats `best` by fixed segments, then by priority. */
|
|
36197
|
+
const winsWildcard = (chain, best) => {
|
|
36198
|
+
const chainFixed = countFixedSegments(chain);
|
|
36199
|
+
const bestFixed = countFixedSegments(best);
|
|
36200
|
+
return chainFixed > bestFixed || (chainFixed === bestFixed && computePriority(chain) > computePriority(best));
|
|
36201
|
+
};
|
|
36202
|
+
const countFixedSegments = (chain) => {
|
|
36203
|
+
let count = 0;
|
|
36204
|
+
for (const route of chain) {
|
|
36205
|
+
for (const segment of withoutWildcard(route.segments)) {
|
|
36206
|
+
if (segment !== '' && segment[0] !== ':') {
|
|
36207
|
+
count++;
|
|
36208
|
+
}
|
|
36300
36209
|
}
|
|
36301
36210
|
}
|
|
36302
|
-
return
|
|
36211
|
+
return count;
|
|
36303
36212
|
};
|
|
36304
36213
|
/**
|
|
36305
36214
|
* Computes the priority of a chain.
|
|
@@ -36311,12 +36220,14 @@ const findChainForSegments = (segments, chains) => {
|
|
|
36311
36220
|
* - /path/to/page
|
|
36312
36221
|
*
|
|
36313
36222
|
* The second one will be given a higher priority because "page" is a fixed segment (vs ":where", a parameter segment).
|
|
36223
|
+
*
|
|
36224
|
+
* A trailing wildcard is not counted.
|
|
36314
36225
|
*/
|
|
36315
36226
|
const computePriority = (chain) => {
|
|
36316
36227
|
let score = 1;
|
|
36317
36228
|
let level = 1;
|
|
36318
36229
|
for (const route of chain) {
|
|
36319
|
-
for (const segment of route.segments) {
|
|
36230
|
+
for (const segment of withoutWildcard(route.segments)) {
|
|
36320
36231
|
if (segment[0] === ':') {
|
|
36321
36232
|
score += Math.pow(1, level);
|
|
36322
36233
|
}
|
|
@@ -36338,6 +36249,12 @@ class RouterSegments {
|
|
|
36338
36249
|
}
|
|
36339
36250
|
return '';
|
|
36340
36251
|
}
|
|
36252
|
+
/** Consumes and returns the remaining non empty segments. */
|
|
36253
|
+
rest() {
|
|
36254
|
+
const rest = this.segments.filter((s) => s !== '');
|
|
36255
|
+
this.segments = [];
|
|
36256
|
+
return rest;
|
|
36257
|
+
}
|
|
36341
36258
|
}
|
|
36342
36259
|
|
|
36343
36260
|
const readProp = (el, prop) => {
|
|
@@ -36837,14 +36754,6 @@ class RouterOutlet {
|
|
|
36837
36754
|
async connectedCallback() {
|
|
36838
36755
|
const onStart = () => {
|
|
36839
36756
|
this.gestureOrAnimationInProgress = true;
|
|
36840
|
-
/**
|
|
36841
|
-
* Without animations there's nothing for the swipe to drive, so
|
|
36842
|
-
* wait until the gesture ends to decide whether to go back.
|
|
36843
|
-
*/
|
|
36844
|
-
if (!(this.animated && config.getBoolean('animated', true))) {
|
|
36845
|
-
this.unblockSwipeClicks = blockSwipeClicks(this.el);
|
|
36846
|
-
return;
|
|
36847
|
-
}
|
|
36848
36757
|
if (this.swipeHandler) {
|
|
36849
36758
|
this.swipeHandler.onStart();
|
|
36850
36759
|
}
|
|
@@ -36877,21 +36786,7 @@ class RouterOutlet {
|
|
|
36877
36786
|
this.ani.progressEnd(shouldComplete ? 1 : 0, newStepValue, dur);
|
|
36878
36787
|
}
|
|
36879
36788
|
else {
|
|
36880
|
-
|
|
36881
|
-
this.unblockSwipeClicks = undefined;
|
|
36882
|
-
// The stack can change during the swipe, so check that going back is still possible.
|
|
36883
|
-
if (unblock && shouldComplete && swipeHandler?.canStart()) {
|
|
36884
|
-
new Promise((resolve) => resolve(swipeHandler.onStart()))
|
|
36885
|
-
.then(() => swipeHandler.onEnd(true))
|
|
36886
|
-
.finally(() => {
|
|
36887
|
-
this.gestureOrAnimationInProgress = false;
|
|
36888
|
-
unblock();
|
|
36889
|
-
});
|
|
36890
|
-
}
|
|
36891
|
-
else {
|
|
36892
|
-
this.gestureOrAnimationInProgress = false;
|
|
36893
|
-
unblock?.();
|
|
36894
|
-
}
|
|
36789
|
+
this.gestureOrAnimationInProgress = false;
|
|
36895
36790
|
}
|
|
36896
36791
|
});
|
|
36897
36792
|
if (this.swipeGesture === undefined) {
|
|
@@ -36914,12 +36809,6 @@ class RouterOutlet {
|
|
|
36914
36809
|
this.gesture.destroy();
|
|
36915
36810
|
this.gesture = undefined;
|
|
36916
36811
|
}
|
|
36917
|
-
// Destroying the gesture skips onEnd, so end a deferred swipe here.
|
|
36918
|
-
if (this.unblockSwipeClicks) {
|
|
36919
|
-
this.unblockSwipeClicks();
|
|
36920
|
-
this.unblockSwipeClicks = undefined;
|
|
36921
|
-
this.gestureOrAnimationInProgress = false;
|
|
36922
|
-
}
|
|
36923
36812
|
}
|
|
36924
36813
|
/** @internal */
|
|
36925
36814
|
async commit(enteringEl, leavingEl, opts) {
|
|
@@ -37031,7 +36920,7 @@ class RouterOutlet {
|
|
|
37031
36920
|
return true;
|
|
37032
36921
|
}
|
|
37033
36922
|
render() {
|
|
37034
|
-
return hAsync("slot", { key: '
|
|
36923
|
+
return hAsync("slot", { key: '249e7d8a063c781db52fa535e42d648c7bf2909a' });
|
|
37035
36924
|
}
|
|
37036
36925
|
get el() { return getElement(this); }
|
|
37037
36926
|
static get watchers() { return {
|
|
@@ -43775,7 +43664,7 @@ var NAMESPACE = (
|
|
|
43775
43664
|
);
|
|
43776
43665
|
|
|
43777
43666
|
/*
|
|
43778
|
-
Stencil Hydrate Runner v4.45.
|
|
43667
|
+
Stencil Hydrate Runner v4.45.1 | MIT Licensed | https://stenciljs.com
|
|
43779
43668
|
*/
|
|
43780
43669
|
var __create = Object.create;
|
|
43781
43670
|
var __defProp = Object.defineProperty;
|
|
@@ -43885,10 +43774,6 @@ var require_brace_expansion = __commonJS({
|
|
|
43885
43774
|
var escClose = "\0CLOSE" + Math.random() + "\0";
|
|
43886
43775
|
var escComma = "\0COMMA" + Math.random() + "\0";
|
|
43887
43776
|
var escPeriod = "\0PERIOD" + Math.random() + "\0";
|
|
43888
|
-
var EXPANSION_MAX = 1e5;
|
|
43889
|
-
var EXPANSION_MAX_LENGTH = 4e6;
|
|
43890
|
-
var EXPANSION_MAX_DEPTH = 1e3;
|
|
43891
|
-
var EXPANSION_MAX_REWRITES = 1e3;
|
|
43892
43777
|
function numeric(str) {
|
|
43893
43778
|
return parseInt(str, 10) == str ? parseInt(str, 10) : str.charCodeAt(0);
|
|
43894
43779
|
}
|
|
@@ -43898,49 +43783,33 @@ var require_brace_expansion = __commonJS({
|
|
|
43898
43783
|
function unescapeBraces(str) {
|
|
43899
43784
|
return str.split(escSlash).join("\\").split(escOpen).join("{").split(escClose).join("}").split(escComma).join(",").split(escPeriod).join(".");
|
|
43900
43785
|
}
|
|
43901
|
-
function pushAll(target, items) {
|
|
43902
|
-
for (var i = 0; i < items.length; i++) {
|
|
43903
|
-
target.push(items[i]);
|
|
43904
|
-
}
|
|
43905
|
-
}
|
|
43906
43786
|
function parseCommaParts(str) {
|
|
43787
|
+
if (!str)
|
|
43788
|
+
return [""];
|
|
43907
43789
|
var parts = [];
|
|
43908
|
-
var
|
|
43909
|
-
|
|
43910
|
-
|
|
43911
|
-
|
|
43912
|
-
|
|
43913
|
-
|
|
43914
|
-
|
|
43915
|
-
|
|
43916
|
-
|
|
43917
|
-
|
|
43918
|
-
|
|
43919
|
-
|
|
43920
|
-
|
|
43921
|
-
|
|
43922
|
-
|
|
43923
|
-
|
|
43924
|
-
|
|
43925
|
-
return parts;
|
|
43926
|
-
}
|
|
43927
|
-
carry = p.pop();
|
|
43928
|
-
pushAll(parts, p);
|
|
43929
|
-
str = post;
|
|
43930
|
-
}
|
|
43931
|
-
}
|
|
43932
|
-
function expandTop(str, options) {
|
|
43790
|
+
var m = balanced("{", "}", str);
|
|
43791
|
+
if (!m)
|
|
43792
|
+
return str.split(",");
|
|
43793
|
+
var pre = m.pre;
|
|
43794
|
+
var body = m.body;
|
|
43795
|
+
var post = m.post;
|
|
43796
|
+
var p = pre.split(",");
|
|
43797
|
+
p[p.length - 1] += "{" + body + "}";
|
|
43798
|
+
var postParts = parseCommaParts(post);
|
|
43799
|
+
if (post.length) {
|
|
43800
|
+
p[p.length - 1] += postParts.shift();
|
|
43801
|
+
p.push.apply(p, postParts);
|
|
43802
|
+
}
|
|
43803
|
+
parts.push.apply(parts, p);
|
|
43804
|
+
return parts;
|
|
43805
|
+
}
|
|
43806
|
+
function expandTop(str) {
|
|
43933
43807
|
if (!str)
|
|
43934
43808
|
return [];
|
|
43935
|
-
options = options || {};
|
|
43936
|
-
var max = options.max == null ? EXPANSION_MAX : options.max;
|
|
43937
|
-
var maxLength = options.maxLength == null ? EXPANSION_MAX_LENGTH : options.maxLength;
|
|
43938
|
-
var maxDepth = options.maxDepth == null ? EXPANSION_MAX_DEPTH : options.maxDepth;
|
|
43939
|
-
var maxRewrites = options.maxRewrites == null ? EXPANSION_MAX_REWRITES : options.maxRewrites;
|
|
43940
43809
|
if (str.substr(0, 2) === "{}") {
|
|
43941
43810
|
str = "\\{\\}" + str.substr(2);
|
|
43942
43811
|
}
|
|
43943
|
-
return expand2(escapeBraces(str),
|
|
43812
|
+
return expand2(escapeBraces(str), true).map(unescapeBraces);
|
|
43944
43813
|
}
|
|
43945
43814
|
function embrace(str) {
|
|
43946
43815
|
return "{" + str + "}";
|
|
@@ -43954,165 +43823,93 @@ var require_brace_expansion = __commonJS({
|
|
|
43954
43823
|
function gte(i, y) {
|
|
43955
43824
|
return i >= y;
|
|
43956
43825
|
}
|
|
43957
|
-
function
|
|
43958
|
-
var
|
|
43959
|
-
var
|
|
43960
|
-
|
|
43961
|
-
|
|
43962
|
-
|
|
43963
|
-
|
|
43964
|
-
|
|
43965
|
-
|
|
43966
|
-
|
|
43967
|
-
length += expansion.length;
|
|
43968
|
-
}
|
|
43969
|
-
}
|
|
43970
|
-
return out;
|
|
43971
|
-
}
|
|
43972
|
-
function expandSequence(body, isAlphaSequence, max, maxLength) {
|
|
43973
|
-
var n = body.split(/\.\./);
|
|
43974
|
-
var N = [];
|
|
43975
|
-
if (n[0] === void 0 || n[1] === void 0) {
|
|
43976
|
-
return N;
|
|
43977
|
-
}
|
|
43978
|
-
var x = numeric(n[0]);
|
|
43979
|
-
var y = numeric(n[1]);
|
|
43980
|
-
var width = Math.max(n[0].length, n[1].length);
|
|
43981
|
-
var incr = n.length === 3 && n[2] !== void 0 ? Math.max(Math.abs(numeric(n[2])), 1) : 1;
|
|
43982
|
-
var test = lte;
|
|
43983
|
-
var reverse = y < x;
|
|
43984
|
-
if (reverse) {
|
|
43985
|
-
incr *= -1;
|
|
43986
|
-
test = gte;
|
|
43987
|
-
}
|
|
43988
|
-
var pad = n.some(isPadded);
|
|
43989
|
-
var length = 0;
|
|
43990
|
-
for (var i = x; test(i, y) && N.length < max; i += incr) {
|
|
43991
|
-
var c;
|
|
43992
|
-
if (isAlphaSequence) {
|
|
43993
|
-
c = String.fromCharCode(i);
|
|
43994
|
-
if (c === "\\") {
|
|
43995
|
-
c = "";
|
|
43996
|
-
}
|
|
43997
|
-
} else {
|
|
43998
|
-
c = String(i);
|
|
43999
|
-
if (pad) {
|
|
44000
|
-
var need = width - c.length;
|
|
44001
|
-
if (need > 0) {
|
|
44002
|
-
var z = new Array(need + 1).join("0");
|
|
44003
|
-
if (i < 0) {
|
|
44004
|
-
c = "-" + z + c.slice(1);
|
|
44005
|
-
} else {
|
|
44006
|
-
c = z + c;
|
|
44007
|
-
}
|
|
44008
|
-
}
|
|
44009
|
-
}
|
|
44010
|
-
}
|
|
44011
|
-
if (length + c.length > maxLength) break;
|
|
44012
|
-
N.push(c);
|
|
44013
|
-
length += c.length;
|
|
44014
|
-
}
|
|
44015
|
-
return N;
|
|
44016
|
-
}
|
|
44017
|
-
function expand2(str, max, maxLength, maxDepth, depth, maxRewrites, isTop) {
|
|
44018
|
-
if (depth > maxDepth) {
|
|
44019
|
-
return [str];
|
|
44020
|
-
}
|
|
44021
|
-
var acc = [""];
|
|
44022
|
-
var rewrites = 0;
|
|
44023
|
-
var dropEmpties = false;
|
|
44024
|
-
var firstGroup = true;
|
|
44025
|
-
for (; ; ) {
|
|
44026
|
-
const m = balanced("{", "}", str);
|
|
44027
|
-
if (!m) {
|
|
44028
|
-
return combine(acc, str, [""], max, maxLength, dropEmpties);
|
|
44029
|
-
}
|
|
44030
|
-
const pre = m.pre;
|
|
44031
|
-
if (/\$$/.test(pre)) {
|
|
44032
|
-
acc = combine(
|
|
44033
|
-
acc,
|
|
44034
|
-
pre + "{" + m.body + "}",
|
|
44035
|
-
[""],
|
|
44036
|
-
max,
|
|
44037
|
-
maxLength,
|
|
44038
|
-
dropEmpties && !m.post.length
|
|
44039
|
-
);
|
|
44040
|
-
firstGroup = false;
|
|
44041
|
-
if (!m.post.length) break;
|
|
44042
|
-
str = m.post;
|
|
44043
|
-
continue;
|
|
43826
|
+
function expand2(str, isTop) {
|
|
43827
|
+
var expansions = [];
|
|
43828
|
+
var m = balanced("{", "}", str);
|
|
43829
|
+
if (!m) return [str];
|
|
43830
|
+
var pre = m.pre;
|
|
43831
|
+
var post = m.post.length ? expand2(m.post, false) : [""];
|
|
43832
|
+
if (/\$$/.test(m.pre)) {
|
|
43833
|
+
for (var k = 0; k < post.length; k++) {
|
|
43834
|
+
var expansion = pre + "{" + m.body + "}" + post[k];
|
|
43835
|
+
expansions.push(expansion);
|
|
44044
43836
|
}
|
|
43837
|
+
} else {
|
|
44045
43838
|
var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body);
|
|
44046
43839
|
var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body);
|
|
44047
43840
|
var isSequence = isNumericSequence || isAlphaSequence;
|
|
44048
43841
|
var isOptions = m.body.indexOf(",") >= 0;
|
|
44049
43842
|
if (!isSequence && !isOptions) {
|
|
44050
|
-
if (
|
|
44051
|
-
rewrites++;
|
|
43843
|
+
if (m.post.match(/,(?!,).*\}/)) {
|
|
44052
43844
|
str = m.pre + "{" + m.body + escClose + m.post;
|
|
44053
|
-
|
|
44054
|
-
continue;
|
|
43845
|
+
return expand2(str);
|
|
44055
43846
|
}
|
|
44056
|
-
return
|
|
44057
|
-
acc,
|
|
44058
|
-
pre + "{" + m.body + "}" + m.post,
|
|
44059
|
-
[""],
|
|
44060
|
-
max,
|
|
44061
|
-
maxLength,
|
|
44062
|
-
dropEmpties
|
|
44063
|
-
);
|
|
44064
|
-
}
|
|
44065
|
-
if (firstGroup) {
|
|
44066
|
-
dropEmpties = isTop && !isSequence;
|
|
44067
|
-
firstGroup = false;
|
|
43847
|
+
return [str];
|
|
44068
43848
|
}
|
|
44069
|
-
var
|
|
43849
|
+
var n;
|
|
44070
43850
|
if (isSequence) {
|
|
44071
|
-
|
|
43851
|
+
n = m.body.split(/\.\./);
|
|
44072
43852
|
} else {
|
|
44073
|
-
|
|
44074
|
-
if (n.length === 1
|
|
44075
|
-
n = expand2(n[0],
|
|
43853
|
+
n = parseCommaParts(m.body);
|
|
43854
|
+
if (n.length === 1) {
|
|
43855
|
+
n = expand2(n[0], false).map(embrace);
|
|
44076
43856
|
if (n.length === 1) {
|
|
44077
|
-
|
|
44078
|
-
|
|
44079
|
-
|
|
44080
|
-
[""],
|
|
44081
|
-
max,
|
|
44082
|
-
maxLength,
|
|
44083
|
-
dropEmpties && !m.post.length
|
|
44084
|
-
);
|
|
44085
|
-
if (!m.post.length) break;
|
|
44086
|
-
str = m.post;
|
|
44087
|
-
continue;
|
|
43857
|
+
return post.map(function(p) {
|
|
43858
|
+
return m.pre + n[0] + p;
|
|
43859
|
+
});
|
|
44088
43860
|
}
|
|
44089
43861
|
}
|
|
44090
|
-
|
|
44091
|
-
|
|
44092
|
-
|
|
44093
|
-
|
|
44094
|
-
|
|
43862
|
+
}
|
|
43863
|
+
var N;
|
|
43864
|
+
if (isSequence) {
|
|
43865
|
+
var x = numeric(n[0]);
|
|
43866
|
+
var y = numeric(n[1]);
|
|
43867
|
+
var width = Math.max(n[0].length, n[1].length);
|
|
43868
|
+
var incr = n.length == 3 ? Math.abs(numeric(n[2])) : 1;
|
|
43869
|
+
var test = lte;
|
|
43870
|
+
var reverse = y < x;
|
|
43871
|
+
if (reverse) {
|
|
43872
|
+
incr *= -1;
|
|
43873
|
+
test = gte;
|
|
44095
43874
|
}
|
|
44096
|
-
|
|
44097
|
-
|
|
44098
|
-
|
|
44099
|
-
var
|
|
44100
|
-
|
|
44101
|
-
|
|
44102
|
-
if (
|
|
44103
|
-
|
|
44104
|
-
|
|
43875
|
+
var pad = n.some(isPadded);
|
|
43876
|
+
N = [];
|
|
43877
|
+
for (var i = x; test(i, y); i += incr) {
|
|
43878
|
+
var c;
|
|
43879
|
+
if (isAlphaSequence) {
|
|
43880
|
+
c = String.fromCharCode(i);
|
|
43881
|
+
if (c === "\\")
|
|
43882
|
+
c = "";
|
|
43883
|
+
} else {
|
|
43884
|
+
c = String(i);
|
|
43885
|
+
if (pad) {
|
|
43886
|
+
var need = width - c.length;
|
|
43887
|
+
if (need > 0) {
|
|
43888
|
+
var z = new Array(need + 1).join("0");
|
|
43889
|
+
if (i < 0)
|
|
43890
|
+
c = "-" + z + c.slice(1);
|
|
43891
|
+
else
|
|
43892
|
+
c = z + c;
|
|
43893
|
+
}
|
|
44105
43894
|
}
|
|
44106
|
-
values.push(v);
|
|
44107
|
-
valuesLength += v.length;
|
|
44108
43895
|
}
|
|
43896
|
+
N.push(c);
|
|
43897
|
+
}
|
|
43898
|
+
} else {
|
|
43899
|
+
N = [];
|
|
43900
|
+
for (var j = 0; j < n.length; j++) {
|
|
43901
|
+
N.push.apply(N, expand2(n[j], false));
|
|
43902
|
+
}
|
|
43903
|
+
}
|
|
43904
|
+
for (var j = 0; j < N.length; j++) {
|
|
43905
|
+
for (var k = 0; k < post.length; k++) {
|
|
43906
|
+
var expansion = pre + N[j] + post[k];
|
|
43907
|
+
if (!isTop || isSequence || expansion)
|
|
43908
|
+
expansions.push(expansion);
|
|
44109
43909
|
}
|
|
44110
43910
|
}
|
|
44111
|
-
acc = combine(acc, pre, values, max, maxLength, dropEmpties && !m.post.length);
|
|
44112
|
-
if (!m.post.length) break;
|
|
44113
|
-
str = m.post;
|
|
44114
43911
|
}
|
|
44115
|
-
return
|
|
43912
|
+
return expansions;
|
|
44116
43913
|
}
|
|
44117
43914
|
}
|
|
44118
43915
|
});
|
|
@@ -54840,15 +54637,13 @@ var MockTokenList = class {
|
|
|
54840
54637
|
token = String(token);
|
|
54841
54638
|
return getItems(this.elm, this.attr).includes(token);
|
|
54842
54639
|
}
|
|
54843
|
-
toggle(token
|
|
54640
|
+
toggle(token) {
|
|
54844
54641
|
token = String(token);
|
|
54845
|
-
|
|
54846
|
-
if (shouldAdd) {
|
|
54847
|
-
this.add(token);
|
|
54848
|
-
} else {
|
|
54642
|
+
if (this.contains(token) === true) {
|
|
54849
54643
|
this.remove(token);
|
|
54644
|
+
} else {
|
|
54645
|
+
this.add(token);
|
|
54850
54646
|
}
|
|
54851
|
-
return shouldAdd;
|
|
54852
54647
|
}
|
|
54853
54648
|
get length() {
|
|
54854
54649
|
return getItems(this.elm, this.attr).length;
|