@ionic/core 8.7.10-dev.11763480624.11ff26b7 → 8.7.10-dev.11763578076.1047c3c7
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/dist/cjs/{animation-Bt3H9L1C.js → animation-B70U3AYi.js} +1 -1
- package/dist/cjs/{app-globals-Ciccnk9_.js → app-globals-D_8sGbx8.js} +1 -1
- package/dist/cjs/{button-active-CMc8cD90.js → button-active-TAhq9qwd.js} +1 -1
- package/dist/cjs/{config-C5fsO43a.js → config-4ndaqsYM.js} +1 -1
- package/dist/cjs/{data-JwZKaIQB.js → data-j96wY7cX.js} +1 -1
- package/dist/cjs/{framework-delegate-DMJRBuDi.js → framework-delegate-DZC3n8LU.js} +1 -1
- package/dist/cjs/{hardware-back-button-VCK4V3mG.js → hardware-back-button-pmRhkPKl.js} +1 -1
- package/dist/cjs/{helpers-DrTqNghc.js → helpers-Crx5-kj7.js} +1 -1
- package/dist/cjs/{index-C534ULug.js → index-BOY9qrZP.js} +2 -2
- package/dist/cjs/{index-CO6eryBo.js → index-CRulAvdl.js} +2 -2
- package/dist/cjs/{index-DrMUZJj6.js → index-CbLK066G.js} +5 -5
- package/dist/cjs/{index-D6Wc6v08.js → index-DV5E8h1q.js} +44 -4
- package/dist/cjs/{index-094mMFB-.js → index-fI8UppQq.js} +4 -4
- package/dist/cjs/index.cjs.js +12 -12
- package/dist/cjs/{input-shims-CW0KUFTQ.js → input-shims-D-MYGARH.js} +3 -3
- package/dist/cjs/{input.utils-B_QROI2g.js → input.utils-Bac31sZX.js} +2 -2
- package/dist/cjs/ion-accordion_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-action-sheet.cjs.entry.js +8 -8
- package/dist/cjs/ion-alert.cjs.entry.js +9 -9
- package/dist/cjs/ion-app_8.cjs.entry.js +12 -12
- package/dist/cjs/ion-avatar_3.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +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 +3 -3
- package/dist/cjs/ion-card_5.cjs.entry.js +3 -3
- package/dist/cjs/ion-checkbox.cjs.entry.js +3 -3
- 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_3.cjs.entry.js +8 -8
- 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 +3 -3
- 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 +3 -3
- package/dist/cjs/ion-loading.cjs.entry.js +8 -8
- package/dist/cjs/ion-menu_3.cjs.entry.js +8 -8
- package/dist/cjs/ion-modal.cjs.entry.js +9 -9
- package/dist/cjs/ion-nav_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-picker-column-option.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker-column.cjs.entry.js +3 -3
- package/dist/cjs/ion-picker.cjs.entry.js +2 -2
- package/dist/cjs/ion-popover.cjs.entry.js +8 -8
- package/dist/cjs/ion-progress-bar.cjs.entry.js +3 -3
- package/dist/cjs/ion-radio_2.cjs.entry.js +3 -3
- package/dist/cjs/ion-range.cjs.entry.js +4 -4
- package/dist/cjs/ion-refresher_2.cjs.entry.js +6 -6
- package/dist/cjs/ion-reorder_2.cjs.entry.js +4 -4
- package/dist/cjs/ion-ripple-effect.cjs.entry.js +2 -2
- package/dist/cjs/ion-route_4.cjs.entry.js +3 -3
- 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 +6 -6
- package/dist/cjs/ion-select_3.cjs.entry.js +7 -7
- 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 +3 -3
- 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 +8 -8
- package/dist/cjs/ion-toggle.cjs.entry.js +3 -3
- package/dist/cjs/{ionic-global-HMVqOFGO.js → ionic-global-CLnCYlRe.js} +1 -1
- package/dist/cjs/ionic.cjs.js +4 -4
- package/dist/cjs/{ios.transition-BOt_uW73.js → ios.transition-B3iTqeDM.js} +4 -4
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{md.transition-Dt968VXB.js → md.transition-CbvDffNA.js} +4 -4
- package/dist/cjs/{notch-controller-Bzqhjm4f.js → notch-controller-CEJ89ece.js} +1 -1
- package/dist/cjs/{overlays-DxIZwUXI.js → overlays-Cf7PK4fA.js} +5 -5
- package/dist/cjs/{status-tap-g0sWWkXk.js → status-tap-fXl5XlmU.js} +3 -3
- package/dist/cjs/{swipe-back-BIayeNOD.js → swipe-back-B4O7zZWT.js} +2 -2
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/docs.json +3 -3
- package/dist/esm/{animation-Dt8bGnA-.js → animation-CRTqL-Kl.js} +1 -1
- package/dist/esm/{app-globals-BDSf8fOA.js → app-globals-Cr9vegdL.js} +1 -1
- package/dist/esm/{button-active-L570Swow.js → button-active-Cd7eQc30.js} +1 -1
- package/dist/esm/{config-mCdtaoPe.js → config-WpCAgwYn.js} +1 -1
- package/dist/esm/{data-DCORV9FH.js → data-BPJsyAbv.js} +1 -1
- package/dist/esm/{framework-delegate-BYawdMXj.js → framework-delegate-DoF4sHL_.js} +1 -1
- package/dist/esm/{hardware-back-button-CPLxO-Ev.js → hardware-back-button-CC9TYUx5.js} +1 -1
- package/dist/esm/{helpers-DEn3pfjm.js → helpers-CYp9QPPu.js} +1 -1
- package/dist/esm/{index-Bs3kT4bc.js → index-BAvq7qKN.js} +2 -2
- package/dist/esm/{index-r2D9DEro.js → index-Cc9McEPW.js} +4 -4
- package/dist/esm/{index-CvDIirVx.js → index-DB8ZghHw.js} +5 -5
- package/dist/esm/{index-ceb5RaMT.js → index-Dkyfot_N.js} +2 -2
- package/dist/esm/{index-C8IsBmNU.js → index-K56Zjrdc.js} +44 -4
- package/dist/esm/index.js +12 -12
- package/dist/esm/{input-shims-DyOpfTg6.js → input-shims-CK9_3FdS.js} +3 -3
- package/dist/esm/{input.utils-DrvTa8gz.js → input.utils-UBoHDVrt.js} +2 -2
- package/dist/esm/ion-accordion_2.entry.js +3 -3
- package/dist/esm/ion-action-sheet.entry.js +8 -8
- package/dist/esm/ion-alert.entry.js +9 -9
- package/dist/esm/ion-app_8.entry.js +12 -12
- package/dist/esm/ion-avatar_3.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +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 +3 -3
- package/dist/esm/ion-card_5.entry.js +3 -3
- package/dist/esm/ion-checkbox.entry.js +3 -3
- 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_3.entry.js +8 -8
- 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 +3 -3
- 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 +3 -3
- package/dist/esm/ion-loading.entry.js +8 -8
- package/dist/esm/ion-menu_3.entry.js +8 -8
- package/dist/esm/ion-modal.entry.js +9 -9
- package/dist/esm/ion-nav_2.entry.js +6 -6
- package/dist/esm/ion-picker-column-option.entry.js +3 -3
- package/dist/esm/ion-picker-column.entry.js +3 -3
- package/dist/esm/ion-picker.entry.js +2 -2
- package/dist/esm/ion-popover.entry.js +8 -8
- package/dist/esm/ion-progress-bar.entry.js +3 -3
- package/dist/esm/ion-radio_2.entry.js +3 -3
- package/dist/esm/ion-range.entry.js +4 -4
- package/dist/esm/ion-refresher_2.entry.js +6 -6
- package/dist/esm/ion-reorder_2.entry.js +4 -4
- package/dist/esm/ion-ripple-effect.entry.js +2 -2
- package/dist/esm/ion-route_4.entry.js +3 -3
- 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 +6 -6
- package/dist/esm/ion-select_3.entry.js +7 -7
- 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 +3 -3
- 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 +8 -8
- package/dist/esm/ion-toggle.entry.js +3 -3
- package/dist/esm/{ionic-global-CDrldh-5.js → ionic-global-DRuUdNt8.js} +1 -1
- package/dist/esm/ionic.js +5 -5
- package/dist/esm/{ios.transition-BDzw0_Hm.js → ios.transition-IKPYPZBa.js} +4 -4
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{md.transition-BzDYi3qq.js → md.transition-Bc2DC3ZN.js} +4 -4
- package/dist/esm/{notch-controller-BwelN_JM.js → notch-controller-CGadnxjv.js} +1 -1
- package/dist/esm/{overlays-BymNv-BL.js → overlays-yoteY47V.js} +5 -5
- package/dist/esm/{status-tap-5DQ7Fc4V.js → status-tap-BF62uqKM.js} +3 -3
- package/dist/esm/{swipe-back-BKw2CAHc.js → swipe-back-wkhTYnhW.js} +2 -2
- package/dist/ionic/index.esm.js +1 -1
- package/dist/ionic/ionic.esm.js +1 -1
- package/dist/ionic/p--UHDD5Kg.js +4 -0
- package/dist/ionic/{p-c19f63d0.entry.js → p-007477f1.entry.js} +1 -1
- package/dist/ionic/{p-d0a2a1ab.entry.js → p-06cf24a5.entry.js} +1 -1
- package/dist/ionic/{p-6d070558.entry.js → p-07b95be2.entry.js} +1 -1
- package/dist/ionic/p-10e02483.entry.js +4 -0
- package/dist/ionic/{p-e16b69e1.entry.js → p-16b3cb0d.entry.js} +1 -1
- package/dist/ionic/{p-0b80d700.entry.js → p-1ee109b5.entry.js} +1 -1
- package/dist/ionic/{p-79bd78f9.entry.js → p-26d6386b.entry.js} +1 -1
- package/dist/ionic/{p-7da39a4d.entry.js → p-2a445e15.entry.js} +1 -1
- package/dist/ionic/{p-9575b654.entry.js → p-310b61b0.entry.js} +1 -1
- package/dist/ionic/{p-49d06882.entry.js → p-313df453.entry.js} +1 -1
- package/dist/ionic/{p-d1f54e28.entry.js → p-36394917.entry.js} +1 -1
- package/dist/ionic/{p-d126e8d3.entry.js → p-36ff77bb.entry.js} +1 -1
- package/dist/ionic/{p-dbbe606a.entry.js → p-3a0b521f.entry.js} +1 -1
- package/dist/ionic/{p-639dd543.entry.js → p-40fcbc5c.entry.js} +1 -1
- package/dist/ionic/{p-cc45bcbc.entry.js → p-42db60c6.entry.js} +1 -1
- package/dist/ionic/{p-b57c6d3e.entry.js → p-45e6bb3b.entry.js} +1 -1
- package/dist/ionic/{p-11518b31.entry.js → p-4dfd581d.entry.js} +1 -1
- package/dist/ionic/{p-94de5cfa.entry.js → p-54726ad8.entry.js} +1 -1
- package/dist/ionic/{p-6241ce47.entry.js → p-58fb9eea.entry.js} +1 -1
- package/dist/ionic/{p-da7d04cc.entry.js → p-5d0cfcb3.entry.js} +1 -1
- package/dist/ionic/{p-4efea47a.entry.js → p-62c7bac8.entry.js} +1 -1
- package/dist/ionic/{p-1647c46c.entry.js → p-712e2cc9.entry.js} +1 -1
- package/dist/ionic/{p-46d74291.entry.js → p-716917c3.entry.js} +1 -1
- package/dist/ionic/{p-7268efa5.entry.js → p-7370baa4.entry.js} +1 -1
- package/dist/ionic/{p-a80f1b04.entry.js → p-7b15c56b.entry.js} +1 -1
- package/dist/ionic/{p-6444c606.entry.js → p-89242ba6.entry.js} +1 -1
- package/dist/ionic/{p-316c0420.entry.js → p-89f60304.entry.js} +1 -1
- package/dist/ionic/{p-86f53961.entry.js → p-8ee70fe5.entry.js} +1 -1
- package/dist/ionic/{p-72c38b88.entry.js → p-9538e532.entry.js} +1 -1
- package/dist/ionic/{p-40c261a3.entry.js → p-9996f0d9.entry.js} +1 -1
- package/dist/ionic/{p-020af078.entry.js → p-9b75f8b5.entry.js} +1 -1
- package/dist/ionic/{p-b0a7585c.entry.js → p-9fa6e33e.entry.js} +1 -1
- package/dist/ionic/{p-CJxh_yLS.js → p-B9_I1hx7.js} +1 -1
- package/dist/ionic/p-BFdLXUmQ.js +4 -0
- package/dist/ionic/{p-QHYY4sjU.js → p-BL9_ds6e.js} +1 -1
- package/dist/ionic/{p-D0dMcSkw.js → p-BdOUQlr6.js} +1 -1
- package/dist/ionic/{p-BFvmZNyx.js → p-BuiN7eei.js} +1 -1
- package/dist/ionic/{p-Dc45iWE4.js → p-C2Hdln5D.js} +1 -1
- package/dist/ionic/{p-D-eFFUkA.js → p-C5BtUTU0.js} +1 -1
- package/dist/ionic/{p-CwgG81ZD.js → p-C6NxSVl3.js} +1 -1
- package/dist/ionic/{p-BYEqWnSg.js → p-D9G6G5Lr.js} +1 -1
- package/dist/ionic/p-DJTLROMd.js +4 -0
- package/dist/ionic/p-DODo5BkR.js +4 -0
- package/dist/ionic/{p-DCv9sLH2.js → p-DSnebHgG.js} +1 -1
- package/dist/ionic/p-DTe_Nv0R.js +4 -0
- package/dist/ionic/{p-D87hU-Ly.js → p-Da9B2ZO4.js} +1 -1
- package/dist/ionic/{p-DUt5fQmA.js → p-Da9FzgKM.js} +1 -1
- package/dist/ionic/p-Dj35jSF7.js +4 -0
- package/dist/ionic/{p-DbQ5QkTP.js → p-Dx6HlEVi.js} +1 -1
- package/dist/ionic/p-K56Zjrdc.js +5 -0
- package/dist/ionic/{p-DNcfiJwE.js → p-MGqh2rc5.js} +1 -1
- package/dist/ionic/{p-CTfR9YZG.js → p-RUyJri7q.js} +1 -1
- package/dist/ionic/{p-31f7095f.entry.js → p-a1701bdd.entry.js} +1 -1
- package/dist/ionic/{p-0dfa5a37.entry.js → p-a5e898c0.entry.js} +1 -1
- package/dist/ionic/{p-370e4237.entry.js → p-aefc57ac.entry.js} +1 -1
- package/dist/ionic/{p-d3014190.entry.js → p-b2e6c9fa.entry.js} +1 -1
- package/dist/ionic/{p-15193d01.entry.js → p-c14d03e2.entry.js} +1 -1
- package/dist/ionic/{p-a127bee2.entry.js → p-c151a44e.entry.js} +1 -1
- package/dist/ionic/{p-ac4eb91d.entry.js → p-c4193a91.entry.js} +1 -1
- package/dist/ionic/{p-675b1a31.entry.js → p-c838270f.entry.js} +1 -1
- package/dist/ionic/{p-f8f22cc0.entry.js → p-ce45fd8a.entry.js} +1 -1
- package/dist/ionic/{p-98fc09eb.entry.js → p-d19eae86.entry.js} +1 -1
- package/dist/ionic/{p-582824c5.entry.js → p-d89565e9.entry.js} +1 -1
- package/dist/ionic/{p-83be404e.entry.js → p-d8cdffc1.entry.js} +1 -1
- package/dist/ionic/{p-7380261c.entry.js → p-e3f3180d.entry.js} +1 -1
- package/dist/ionic/{p-510d86e1.entry.js → p-e594c6b9.entry.js} +1 -1
- package/dist/ionic/{p-074839fc.entry.js → p-e7486c70.entry.js} +1 -1
- package/dist/ionic/{p-2a939845.entry.js → p-eecad8a6.entry.js} +1 -1
- package/dist/ionic/{p-43ed1ef5.entry.js → p-f3cd6e01.entry.js} +1 -1
- package/dist/ionic/{p-4e41ea20.entry.js → p-f5f3561f.entry.js} +1 -1
- package/dist/ionic/{p-4c85d268.entry.js → p-f6a4a75b.entry.js} +1 -1
- package/dist/ionic/{p-3a6caca9.entry.js → p-f8657651.entry.js} +1 -1
- package/dist/ionic/{p-C7hRNDhM.js → p-oh-p68hr.js} +1 -1
- package/dist/types/components/header/header.utils.d.ts +2 -1
- package/dist/types/stencil-public-runtime.d.ts +19 -9
- package/dist/types/utils/gesture/listener.d.ts +2 -1
- package/hydrate/index.js +120 -81
- package/hydrate/index.mjs +120 -81
- package/package.json +2 -2
- package/dist/ionic/p-51a60e0f.entry.js +0 -4
- package/dist/ionic/p-B0q1YL7N.js +0 -4
- package/dist/ionic/p-BKc55Xev.js +0 -4
- package/dist/ionic/p-BOVrCkpJ.js +0 -4
- package/dist/ionic/p-Bmgaetn_.js +0 -4
- package/dist/ionic/p-C8IsBmNU.js +0 -5
- package/dist/ionic/p-DDb5r57F.js +0 -4
- package/dist/ionic/p-DZRJwG4S.js +0 -4
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
type CustomMethodDecorator<T> = (target: object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;
|
|
2
|
-
type UnionToIntersection<U> = (U extends any ? (
|
|
2
|
+
type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
|
|
3
|
+
type MixinInstance<F> = F extends (base: MixedInCtor) => MixedInCtor<infer I> ? I : never;
|
|
3
4
|
export interface ComponentDecorator {
|
|
4
5
|
(opts?: ComponentOptions): ClassDecorator;
|
|
5
6
|
}
|
|
@@ -364,18 +365,27 @@ export declare function readTask(task: RafCallback): void;
|
|
|
364
365
|
* Unhandled exception raised while rendering, during event handling, or lifecycles will trigger the custom event handler.
|
|
365
366
|
*/
|
|
366
367
|
export declare const setErrorHandler: (handler: ErrorHandler) => void;
|
|
367
|
-
|
|
368
|
+
/**
|
|
369
|
+
* @deprecated - Use `MixedInCtor` instead:
|
|
370
|
+
* ```ts
|
|
371
|
+
* import { MixedInCtor } from '@stencil/core';
|
|
372
|
+
*
|
|
373
|
+
* const AFactoryFn = <B extends MixedInCtor>(Base: B) => {class A extends Base { propA = A }; return A;}
|
|
374
|
+
* ```
|
|
375
|
+
*/
|
|
376
|
+
export type MixinFactory = (base: MixedInCtor) => MixedInCtor;
|
|
377
|
+
export type MixedInCtor<T = {}> = new (...args: any[]) => T;
|
|
368
378
|
/**
|
|
369
379
|
* Compose multiple mixin classes into a single constructor.
|
|
370
380
|
* The resulting class has the combined instance types of all mixed-in classes.
|
|
371
381
|
*
|
|
372
382
|
* Example:
|
|
373
|
-
* ```
|
|
374
|
-
* import { Mixin,
|
|
383
|
+
* ```ts
|
|
384
|
+
* import { Mixin, MixedInCtor } from '@stencil/core';
|
|
375
385
|
*
|
|
376
|
-
* const AWrap
|
|
377
|
-
* const BWrap
|
|
378
|
-
* const CWrap
|
|
386
|
+
* const AWrap = <B extends MixedInCtor>(Base: B) => {class A extends Base { propA = A }; return A;}
|
|
387
|
+
* const BWrap = <B extends MixedInCtor>(Base: B) => {class B extends Base { propB = B }; return B;}
|
|
388
|
+
* const CWrap = <B extends MixedInCtor>(Base: B) => {class C extends Base { propC = C }; return C;}
|
|
379
389
|
*
|
|
380
390
|
* class X extends Mixin(AWrap, BWrap, CWrap) {
|
|
381
391
|
* render() { return <div>{this.propA} {this.propB} {this.propC}</div>; }
|
|
@@ -383,9 +393,9 @@ export type MixinFactory = <TBase extends new (...args: any[]) => any>(base: TBa
|
|
|
383
393
|
* ```
|
|
384
394
|
*
|
|
385
395
|
* @param mixinFactories mixin factory functions that return a class which extends from the provided class.
|
|
386
|
-
* @returns a class that
|
|
396
|
+
* @returns a class that is composed from extending each of the provided classes in the order they were provided.
|
|
387
397
|
*/
|
|
388
|
-
export declare function Mixin<TMixins extends readonly MixinFactory[]>(...mixinFactories: TMixins): abstract new (...args: any[]) => UnionToIntersection<
|
|
398
|
+
export declare function Mixin<const TMixins extends readonly MixinFactory[]>(...mixinFactories: TMixins): abstract new (...args: any[]) => UnionToIntersection<MixinInstance<TMixins[number]>>;
|
|
389
399
|
/**
|
|
390
400
|
* This file gets copied to all distributions of stencil component collections.
|
|
391
401
|
* - no imports
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export declare const addEventListener: (el: any,
|
|
1
|
+
export declare const addEventListener: (el: any, // TODO(FW-2832): type
|
|
2
|
+
eventName: string, callback: EventListenerOrEventListenerObject, opts: {
|
|
2
3
|
passive?: boolean;
|
|
3
4
|
capture?: boolean;
|
|
4
5
|
}) => (() => void);
|
package/hydrate/index.js
CHANGED
|
@@ -130,7 +130,7 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
130
130
|
|
|
131
131
|
|
|
132
132
|
const NAMESPACE = 'ionic';
|
|
133
|
-
const BUILD = /* ionic */ { hydratedSelectorName: "hydrated", slotRelocation: true, updatable: true};
|
|
133
|
+
const BUILD = /* ionic */ { hydratedSelectorName: "hydrated", slotRelocation: true, state: true, updatable: true};
|
|
134
134
|
|
|
135
135
|
// TODO(FW-2832): types
|
|
136
136
|
class Config {
|
|
@@ -392,7 +392,7 @@ const initialize = (userConfig = {}) => {
|
|
|
392
392
|
const globalScripts = initialize;
|
|
393
393
|
|
|
394
394
|
/*
|
|
395
|
-
Stencil Hydrate Platform v4.38.
|
|
395
|
+
Stencil Hydrate Platform v4.38.3-dev.1763390030.f9ccdac | MIT Licensed | https://stenciljs.com
|
|
396
396
|
*/
|
|
397
397
|
var __defProp = Object.defineProperty;
|
|
398
398
|
var __export = (target, all) => {
|
|
@@ -428,6 +428,40 @@ var TYPE_CONSTANT = "type";
|
|
|
428
428
|
var VALUE_CONSTANT = "value";
|
|
429
429
|
var SERIALIZED_PREFIX = "serialized:";
|
|
430
430
|
|
|
431
|
+
// src/utils/es2022-rewire-class-members.ts
|
|
432
|
+
var reWireGetterSetter = (instance, hostRef) => {
|
|
433
|
+
var _a;
|
|
434
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
435
|
+
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
436
|
+
members.map(([memberName, [memberFlags]]) => {
|
|
437
|
+
if ((memberFlags & 31 /* Prop */ || memberFlags & 32 /* State */)) {
|
|
438
|
+
const ogValue = instance[memberName];
|
|
439
|
+
const ogDescriptor = getPropertyDescriptor(Object.getPrototypeOf(instance), memberName) || Object.getOwnPropertyDescriptor(instance, memberName);
|
|
440
|
+
if (ogDescriptor) {
|
|
441
|
+
Object.defineProperty(instance, memberName, {
|
|
442
|
+
get() {
|
|
443
|
+
return ogDescriptor.get.call(this);
|
|
444
|
+
},
|
|
445
|
+
set(newValue) {
|
|
446
|
+
ogDescriptor.set.call(this, newValue);
|
|
447
|
+
},
|
|
448
|
+
configurable: true,
|
|
449
|
+
enumerable: true
|
|
450
|
+
});
|
|
451
|
+
}
|
|
452
|
+
instance[memberName] = hostRef.$instanceValues$.has(memberName) ? hostRef.$instanceValues$.get(memberName) : ogValue;
|
|
453
|
+
}
|
|
454
|
+
});
|
|
455
|
+
};
|
|
456
|
+
function getPropertyDescriptor(obj, memberName) {
|
|
457
|
+
while (obj) {
|
|
458
|
+
const desc = Object.getOwnPropertyDescriptor(obj, memberName);
|
|
459
|
+
if (desc == null ? void 0 : desc.get) return desc;
|
|
460
|
+
obj = Object.getPrototypeOf(obj);
|
|
461
|
+
}
|
|
462
|
+
return void 0;
|
|
463
|
+
}
|
|
464
|
+
|
|
431
465
|
// src/utils/helpers.ts
|
|
432
466
|
var isDef = (v) => v != null && v !== void 0;
|
|
433
467
|
var isComplexType = (o) => {
|
|
@@ -3647,6 +3681,9 @@ var registerInstance = (lazyInstance, hostRef) => {
|
|
|
3647
3681
|
if (!hostRef) return void 0;
|
|
3648
3682
|
lazyInstance.__stencil__getHostRef = () => hostRef;
|
|
3649
3683
|
hostRef.$lazyInstance$ = lazyInstance;
|
|
3684
|
+
if (hostRef.$cmpMeta$.$flags$ & 512 /* hasModernPropertyDecls */ && (BUILD.state)) {
|
|
3685
|
+
reWireGetterSetter(lazyInstance, hostRef);
|
|
3686
|
+
}
|
|
3650
3687
|
return hostRef;
|
|
3651
3688
|
};
|
|
3652
3689
|
var registerHost = (elm, cmpMeta) => {
|
|
@@ -37927,7 +37964,7 @@ var NAMESPACE = (
|
|
|
37927
37964
|
);
|
|
37928
37965
|
|
|
37929
37966
|
/*
|
|
37930
|
-
Stencil Hydrate Runner v4.38.
|
|
37967
|
+
Stencil Hydrate Runner v4.38.3-dev.1763390030.f9ccdac | MIT Licensed | https://stenciljs.com
|
|
37931
37968
|
*/
|
|
37932
37969
|
var __defProp = Object.defineProperty;
|
|
37933
37970
|
var __export = (target, all) => {
|
|
@@ -38088,82 +38125,6 @@ var MockAttr = class {
|
|
|
38088
38125
|
}
|
|
38089
38126
|
};
|
|
38090
38127
|
|
|
38091
|
-
// src/mock-doc/class-list.ts
|
|
38092
|
-
var MockClassList = class {
|
|
38093
|
-
constructor(elm) {
|
|
38094
|
-
this.elm = elm;
|
|
38095
|
-
}
|
|
38096
|
-
add(...classNames) {
|
|
38097
|
-
const clsNames = getItems(this.elm);
|
|
38098
|
-
let updated = false;
|
|
38099
|
-
classNames.forEach((className) => {
|
|
38100
|
-
className = String(className);
|
|
38101
|
-
validateClass(className);
|
|
38102
|
-
if (clsNames.includes(className) === false) {
|
|
38103
|
-
clsNames.push(className);
|
|
38104
|
-
updated = true;
|
|
38105
|
-
}
|
|
38106
|
-
});
|
|
38107
|
-
if (updated) {
|
|
38108
|
-
this.elm.setAttributeNS(null, "class", clsNames.join(" "));
|
|
38109
|
-
}
|
|
38110
|
-
}
|
|
38111
|
-
remove(...classNames) {
|
|
38112
|
-
const clsNames = getItems(this.elm);
|
|
38113
|
-
let updated = false;
|
|
38114
|
-
classNames.forEach((className) => {
|
|
38115
|
-
className = String(className);
|
|
38116
|
-
validateClass(className);
|
|
38117
|
-
const index = clsNames.indexOf(className);
|
|
38118
|
-
if (index > -1) {
|
|
38119
|
-
clsNames.splice(index, 1);
|
|
38120
|
-
updated = true;
|
|
38121
|
-
}
|
|
38122
|
-
});
|
|
38123
|
-
if (updated) {
|
|
38124
|
-
this.elm.setAttributeNS(null, "class", clsNames.filter((c) => c.length > 0).join(" "));
|
|
38125
|
-
}
|
|
38126
|
-
}
|
|
38127
|
-
contains(className) {
|
|
38128
|
-
className = String(className);
|
|
38129
|
-
return getItems(this.elm).includes(className);
|
|
38130
|
-
}
|
|
38131
|
-
toggle(className) {
|
|
38132
|
-
className = String(className);
|
|
38133
|
-
if (this.contains(className) === true) {
|
|
38134
|
-
this.remove(className);
|
|
38135
|
-
} else {
|
|
38136
|
-
this.add(className);
|
|
38137
|
-
}
|
|
38138
|
-
}
|
|
38139
|
-
get length() {
|
|
38140
|
-
return getItems(this.elm).length;
|
|
38141
|
-
}
|
|
38142
|
-
item(index) {
|
|
38143
|
-
return getItems(this.elm)[index];
|
|
38144
|
-
}
|
|
38145
|
-
toString() {
|
|
38146
|
-
return getItems(this.elm).join(" ");
|
|
38147
|
-
}
|
|
38148
|
-
};
|
|
38149
|
-
function validateClass(className) {
|
|
38150
|
-
if (className === "") {
|
|
38151
|
-
throw new Error("The token provided must not be empty.");
|
|
38152
|
-
}
|
|
38153
|
-
if (/\s/.test(className)) {
|
|
38154
|
-
throw new Error(
|
|
38155
|
-
`The token provided ('${className}') contains HTML space characters, which are not valid in tokens.`
|
|
38156
|
-
);
|
|
38157
|
-
}
|
|
38158
|
-
}
|
|
38159
|
-
function getItems(elm) {
|
|
38160
|
-
const className = elm.getAttribute("class");
|
|
38161
|
-
if (typeof className === "string" && className.length > 0) {
|
|
38162
|
-
return className.trim().split(" ").filter((c) => c.length > 0);
|
|
38163
|
-
}
|
|
38164
|
-
return [];
|
|
38165
|
-
}
|
|
38166
|
-
|
|
38167
38128
|
// src/mock-doc/css-style-declaration.ts
|
|
38168
38129
|
var MockCSSStyleDeclaration = class {
|
|
38169
38130
|
constructor() {
|
|
@@ -48679,6 +48640,81 @@ var STRUCTURE_ELEMENTS = /* @__PURE__ */ new Set([
|
|
|
48679
48640
|
"style"
|
|
48680
48641
|
]);
|
|
48681
48642
|
|
|
48643
|
+
// src/mock-doc/token-list.ts
|
|
48644
|
+
var MockTokenList = class {
|
|
48645
|
+
constructor(elm, attr) {
|
|
48646
|
+
this.elm = elm;
|
|
48647
|
+
this.attr = attr;
|
|
48648
|
+
}
|
|
48649
|
+
add(...tokens) {
|
|
48650
|
+
const items = getItems(this.elm, this.attr);
|
|
48651
|
+
let updated = false;
|
|
48652
|
+
tokens.forEach((token) => {
|
|
48653
|
+
token = String(token);
|
|
48654
|
+
validateToken(token);
|
|
48655
|
+
if (items.includes(token) === false) {
|
|
48656
|
+
items.push(token);
|
|
48657
|
+
updated = true;
|
|
48658
|
+
}
|
|
48659
|
+
});
|
|
48660
|
+
if (updated) {
|
|
48661
|
+
this.elm.setAttributeNS(null, this.attr, items.join(" "));
|
|
48662
|
+
}
|
|
48663
|
+
}
|
|
48664
|
+
remove(...tokens) {
|
|
48665
|
+
const items = getItems(this.elm, this.attr);
|
|
48666
|
+
let updated = false;
|
|
48667
|
+
tokens.forEach((token) => {
|
|
48668
|
+
token = String(token);
|
|
48669
|
+
validateToken(token);
|
|
48670
|
+
const index = items.indexOf(token);
|
|
48671
|
+
if (index > -1) {
|
|
48672
|
+
items.splice(index, 1);
|
|
48673
|
+
updated = true;
|
|
48674
|
+
}
|
|
48675
|
+
});
|
|
48676
|
+
if (updated) {
|
|
48677
|
+
this.elm.setAttributeNS(null, this.attr, items.filter((c) => c.length > 0).join(" "));
|
|
48678
|
+
}
|
|
48679
|
+
}
|
|
48680
|
+
contains(token) {
|
|
48681
|
+
token = String(token);
|
|
48682
|
+
return getItems(this.elm, this.attr).includes(token);
|
|
48683
|
+
}
|
|
48684
|
+
toggle(token) {
|
|
48685
|
+
token = String(token);
|
|
48686
|
+
if (this.contains(token) === true) {
|
|
48687
|
+
this.remove(token);
|
|
48688
|
+
} else {
|
|
48689
|
+
this.add(token);
|
|
48690
|
+
}
|
|
48691
|
+
}
|
|
48692
|
+
get length() {
|
|
48693
|
+
return getItems(this.elm, this.attr).length;
|
|
48694
|
+
}
|
|
48695
|
+
item(index) {
|
|
48696
|
+
return getItems(this.elm, this.attr)[index];
|
|
48697
|
+
}
|
|
48698
|
+
toString() {
|
|
48699
|
+
return getItems(this.elm, this.attr).join(" ");
|
|
48700
|
+
}
|
|
48701
|
+
};
|
|
48702
|
+
function validateToken(token) {
|
|
48703
|
+
if (token === "") {
|
|
48704
|
+
throw new Error("The token provided must not be empty.");
|
|
48705
|
+
}
|
|
48706
|
+
if (/\s/.test(token)) {
|
|
48707
|
+
throw new Error(`The token provided ('${token}') contains HTML space characters, which are not valid in tokens.`);
|
|
48708
|
+
}
|
|
48709
|
+
}
|
|
48710
|
+
function getItems(elm, attr) {
|
|
48711
|
+
const value = elm.getAttribute(attr);
|
|
48712
|
+
if (typeof value === "string" && value.length > 0) {
|
|
48713
|
+
return value.trim().split(" ").filter((c) => c.length > 0);
|
|
48714
|
+
}
|
|
48715
|
+
return [];
|
|
48716
|
+
}
|
|
48717
|
+
|
|
48682
48718
|
// src/mock-doc/node.ts
|
|
48683
48719
|
var MockNode2 = class {
|
|
48684
48720
|
constructor(ownerDocument, nodeType, nodeName, nodeValue) {
|
|
@@ -48946,7 +48982,10 @@ var MockElement = class extends MockNode2 {
|
|
|
48946
48982
|
this.setAttributeNS(null, "class", value);
|
|
48947
48983
|
}
|
|
48948
48984
|
get classList() {
|
|
48949
|
-
return new
|
|
48985
|
+
return new MockTokenList(this, "class");
|
|
48986
|
+
}
|
|
48987
|
+
get part() {
|
|
48988
|
+
return new MockTokenList(this, "part");
|
|
48950
48989
|
}
|
|
48951
48990
|
click() {
|
|
48952
48991
|
dispatchEvent(this, new MockEvent("click", { bubbles: true, cancelable: true, composed: true }));
|
|
@@ -51829,7 +51868,7 @@ var MockDocument = class _MockDocument extends MockHTMLElement {
|
|
|
51829
51868
|
}
|
|
51830
51869
|
set location(val) {
|
|
51831
51870
|
if (this.defaultView != null) {
|
|
51832
|
-
this.defaultView.location = val;
|
|
51871
|
+
this.defaultView.location.href = val;
|
|
51833
51872
|
}
|
|
51834
51873
|
}
|
|
51835
51874
|
get baseURI() {
|
package/hydrate/index.mjs
CHANGED
|
@@ -128,7 +128,7 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
128
128
|
|
|
129
129
|
|
|
130
130
|
const NAMESPACE = 'ionic';
|
|
131
|
-
const BUILD = /* ionic */ { hydratedSelectorName: "hydrated", slotRelocation: true, updatable: true};
|
|
131
|
+
const BUILD = /* ionic */ { hydratedSelectorName: "hydrated", slotRelocation: true, state: true, updatable: true};
|
|
132
132
|
|
|
133
133
|
// TODO(FW-2832): types
|
|
134
134
|
class Config {
|
|
@@ -390,7 +390,7 @@ const initialize = (userConfig = {}) => {
|
|
|
390
390
|
const globalScripts = initialize;
|
|
391
391
|
|
|
392
392
|
/*
|
|
393
|
-
Stencil Hydrate Platform v4.38.
|
|
393
|
+
Stencil Hydrate Platform v4.38.3-dev.1763390030.f9ccdac | MIT Licensed | https://stenciljs.com
|
|
394
394
|
*/
|
|
395
395
|
var __defProp = Object.defineProperty;
|
|
396
396
|
var __export = (target, all) => {
|
|
@@ -426,6 +426,40 @@ var TYPE_CONSTANT = "type";
|
|
|
426
426
|
var VALUE_CONSTANT = "value";
|
|
427
427
|
var SERIALIZED_PREFIX = "serialized:";
|
|
428
428
|
|
|
429
|
+
// src/utils/es2022-rewire-class-members.ts
|
|
430
|
+
var reWireGetterSetter = (instance, hostRef) => {
|
|
431
|
+
var _a;
|
|
432
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
433
|
+
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
434
|
+
members.map(([memberName, [memberFlags]]) => {
|
|
435
|
+
if ((memberFlags & 31 /* Prop */ || memberFlags & 32 /* State */)) {
|
|
436
|
+
const ogValue = instance[memberName];
|
|
437
|
+
const ogDescriptor = getPropertyDescriptor(Object.getPrototypeOf(instance), memberName) || Object.getOwnPropertyDescriptor(instance, memberName);
|
|
438
|
+
if (ogDescriptor) {
|
|
439
|
+
Object.defineProperty(instance, memberName, {
|
|
440
|
+
get() {
|
|
441
|
+
return ogDescriptor.get.call(this);
|
|
442
|
+
},
|
|
443
|
+
set(newValue) {
|
|
444
|
+
ogDescriptor.set.call(this, newValue);
|
|
445
|
+
},
|
|
446
|
+
configurable: true,
|
|
447
|
+
enumerable: true
|
|
448
|
+
});
|
|
449
|
+
}
|
|
450
|
+
instance[memberName] = hostRef.$instanceValues$.has(memberName) ? hostRef.$instanceValues$.get(memberName) : ogValue;
|
|
451
|
+
}
|
|
452
|
+
});
|
|
453
|
+
};
|
|
454
|
+
function getPropertyDescriptor(obj, memberName) {
|
|
455
|
+
while (obj) {
|
|
456
|
+
const desc = Object.getOwnPropertyDescriptor(obj, memberName);
|
|
457
|
+
if (desc == null ? void 0 : desc.get) return desc;
|
|
458
|
+
obj = Object.getPrototypeOf(obj);
|
|
459
|
+
}
|
|
460
|
+
return void 0;
|
|
461
|
+
}
|
|
462
|
+
|
|
429
463
|
// src/utils/helpers.ts
|
|
430
464
|
var isDef = (v) => v != null && v !== void 0;
|
|
431
465
|
var isComplexType = (o) => {
|
|
@@ -3645,6 +3679,9 @@ var registerInstance = (lazyInstance, hostRef) => {
|
|
|
3645
3679
|
if (!hostRef) return void 0;
|
|
3646
3680
|
lazyInstance.__stencil__getHostRef = () => hostRef;
|
|
3647
3681
|
hostRef.$lazyInstance$ = lazyInstance;
|
|
3682
|
+
if (hostRef.$cmpMeta$.$flags$ & 512 /* hasModernPropertyDecls */ && (BUILD.state)) {
|
|
3683
|
+
reWireGetterSetter(lazyInstance, hostRef);
|
|
3684
|
+
}
|
|
3648
3685
|
return hostRef;
|
|
3649
3686
|
};
|
|
3650
3687
|
var registerHost = (elm, cmpMeta) => {
|
|
@@ -37925,7 +37962,7 @@ var NAMESPACE = (
|
|
|
37925
37962
|
);
|
|
37926
37963
|
|
|
37927
37964
|
/*
|
|
37928
|
-
Stencil Hydrate Runner v4.38.
|
|
37965
|
+
Stencil Hydrate Runner v4.38.3-dev.1763390030.f9ccdac | MIT Licensed | https://stenciljs.com
|
|
37929
37966
|
*/
|
|
37930
37967
|
var __defProp = Object.defineProperty;
|
|
37931
37968
|
var __export = (target, all) => {
|
|
@@ -38086,82 +38123,6 @@ var MockAttr = class {
|
|
|
38086
38123
|
}
|
|
38087
38124
|
};
|
|
38088
38125
|
|
|
38089
|
-
// src/mock-doc/class-list.ts
|
|
38090
|
-
var MockClassList = class {
|
|
38091
|
-
constructor(elm) {
|
|
38092
|
-
this.elm = elm;
|
|
38093
|
-
}
|
|
38094
|
-
add(...classNames) {
|
|
38095
|
-
const clsNames = getItems(this.elm);
|
|
38096
|
-
let updated = false;
|
|
38097
|
-
classNames.forEach((className) => {
|
|
38098
|
-
className = String(className);
|
|
38099
|
-
validateClass(className);
|
|
38100
|
-
if (clsNames.includes(className) === false) {
|
|
38101
|
-
clsNames.push(className);
|
|
38102
|
-
updated = true;
|
|
38103
|
-
}
|
|
38104
|
-
});
|
|
38105
|
-
if (updated) {
|
|
38106
|
-
this.elm.setAttributeNS(null, "class", clsNames.join(" "));
|
|
38107
|
-
}
|
|
38108
|
-
}
|
|
38109
|
-
remove(...classNames) {
|
|
38110
|
-
const clsNames = getItems(this.elm);
|
|
38111
|
-
let updated = false;
|
|
38112
|
-
classNames.forEach((className) => {
|
|
38113
|
-
className = String(className);
|
|
38114
|
-
validateClass(className);
|
|
38115
|
-
const index = clsNames.indexOf(className);
|
|
38116
|
-
if (index > -1) {
|
|
38117
|
-
clsNames.splice(index, 1);
|
|
38118
|
-
updated = true;
|
|
38119
|
-
}
|
|
38120
|
-
});
|
|
38121
|
-
if (updated) {
|
|
38122
|
-
this.elm.setAttributeNS(null, "class", clsNames.filter((c) => c.length > 0).join(" "));
|
|
38123
|
-
}
|
|
38124
|
-
}
|
|
38125
|
-
contains(className) {
|
|
38126
|
-
className = String(className);
|
|
38127
|
-
return getItems(this.elm).includes(className);
|
|
38128
|
-
}
|
|
38129
|
-
toggle(className) {
|
|
38130
|
-
className = String(className);
|
|
38131
|
-
if (this.contains(className) === true) {
|
|
38132
|
-
this.remove(className);
|
|
38133
|
-
} else {
|
|
38134
|
-
this.add(className);
|
|
38135
|
-
}
|
|
38136
|
-
}
|
|
38137
|
-
get length() {
|
|
38138
|
-
return getItems(this.elm).length;
|
|
38139
|
-
}
|
|
38140
|
-
item(index) {
|
|
38141
|
-
return getItems(this.elm)[index];
|
|
38142
|
-
}
|
|
38143
|
-
toString() {
|
|
38144
|
-
return getItems(this.elm).join(" ");
|
|
38145
|
-
}
|
|
38146
|
-
};
|
|
38147
|
-
function validateClass(className) {
|
|
38148
|
-
if (className === "") {
|
|
38149
|
-
throw new Error("The token provided must not be empty.");
|
|
38150
|
-
}
|
|
38151
|
-
if (/\s/.test(className)) {
|
|
38152
|
-
throw new Error(
|
|
38153
|
-
`The token provided ('${className}') contains HTML space characters, which are not valid in tokens.`
|
|
38154
|
-
);
|
|
38155
|
-
}
|
|
38156
|
-
}
|
|
38157
|
-
function getItems(elm) {
|
|
38158
|
-
const className = elm.getAttribute("class");
|
|
38159
|
-
if (typeof className === "string" && className.length > 0) {
|
|
38160
|
-
return className.trim().split(" ").filter((c) => c.length > 0);
|
|
38161
|
-
}
|
|
38162
|
-
return [];
|
|
38163
|
-
}
|
|
38164
|
-
|
|
38165
38126
|
// src/mock-doc/css-style-declaration.ts
|
|
38166
38127
|
var MockCSSStyleDeclaration = class {
|
|
38167
38128
|
constructor() {
|
|
@@ -48677,6 +48638,81 @@ var STRUCTURE_ELEMENTS = /* @__PURE__ */ new Set([
|
|
|
48677
48638
|
"style"
|
|
48678
48639
|
]);
|
|
48679
48640
|
|
|
48641
|
+
// src/mock-doc/token-list.ts
|
|
48642
|
+
var MockTokenList = class {
|
|
48643
|
+
constructor(elm, attr) {
|
|
48644
|
+
this.elm = elm;
|
|
48645
|
+
this.attr = attr;
|
|
48646
|
+
}
|
|
48647
|
+
add(...tokens) {
|
|
48648
|
+
const items = getItems(this.elm, this.attr);
|
|
48649
|
+
let updated = false;
|
|
48650
|
+
tokens.forEach((token) => {
|
|
48651
|
+
token = String(token);
|
|
48652
|
+
validateToken(token);
|
|
48653
|
+
if (items.includes(token) === false) {
|
|
48654
|
+
items.push(token);
|
|
48655
|
+
updated = true;
|
|
48656
|
+
}
|
|
48657
|
+
});
|
|
48658
|
+
if (updated) {
|
|
48659
|
+
this.elm.setAttributeNS(null, this.attr, items.join(" "));
|
|
48660
|
+
}
|
|
48661
|
+
}
|
|
48662
|
+
remove(...tokens) {
|
|
48663
|
+
const items = getItems(this.elm, this.attr);
|
|
48664
|
+
let updated = false;
|
|
48665
|
+
tokens.forEach((token) => {
|
|
48666
|
+
token = String(token);
|
|
48667
|
+
validateToken(token);
|
|
48668
|
+
const index = items.indexOf(token);
|
|
48669
|
+
if (index > -1) {
|
|
48670
|
+
items.splice(index, 1);
|
|
48671
|
+
updated = true;
|
|
48672
|
+
}
|
|
48673
|
+
});
|
|
48674
|
+
if (updated) {
|
|
48675
|
+
this.elm.setAttributeNS(null, this.attr, items.filter((c) => c.length > 0).join(" "));
|
|
48676
|
+
}
|
|
48677
|
+
}
|
|
48678
|
+
contains(token) {
|
|
48679
|
+
token = String(token);
|
|
48680
|
+
return getItems(this.elm, this.attr).includes(token);
|
|
48681
|
+
}
|
|
48682
|
+
toggle(token) {
|
|
48683
|
+
token = String(token);
|
|
48684
|
+
if (this.contains(token) === true) {
|
|
48685
|
+
this.remove(token);
|
|
48686
|
+
} else {
|
|
48687
|
+
this.add(token);
|
|
48688
|
+
}
|
|
48689
|
+
}
|
|
48690
|
+
get length() {
|
|
48691
|
+
return getItems(this.elm, this.attr).length;
|
|
48692
|
+
}
|
|
48693
|
+
item(index) {
|
|
48694
|
+
return getItems(this.elm, this.attr)[index];
|
|
48695
|
+
}
|
|
48696
|
+
toString() {
|
|
48697
|
+
return getItems(this.elm, this.attr).join(" ");
|
|
48698
|
+
}
|
|
48699
|
+
};
|
|
48700
|
+
function validateToken(token) {
|
|
48701
|
+
if (token === "") {
|
|
48702
|
+
throw new Error("The token provided must not be empty.");
|
|
48703
|
+
}
|
|
48704
|
+
if (/\s/.test(token)) {
|
|
48705
|
+
throw new Error(`The token provided ('${token}') contains HTML space characters, which are not valid in tokens.`);
|
|
48706
|
+
}
|
|
48707
|
+
}
|
|
48708
|
+
function getItems(elm, attr) {
|
|
48709
|
+
const value = elm.getAttribute(attr);
|
|
48710
|
+
if (typeof value === "string" && value.length > 0) {
|
|
48711
|
+
return value.trim().split(" ").filter((c) => c.length > 0);
|
|
48712
|
+
}
|
|
48713
|
+
return [];
|
|
48714
|
+
}
|
|
48715
|
+
|
|
48680
48716
|
// src/mock-doc/node.ts
|
|
48681
48717
|
var MockNode2 = class {
|
|
48682
48718
|
constructor(ownerDocument, nodeType, nodeName, nodeValue) {
|
|
@@ -48944,7 +48980,10 @@ var MockElement = class extends MockNode2 {
|
|
|
48944
48980
|
this.setAttributeNS(null, "class", value);
|
|
48945
48981
|
}
|
|
48946
48982
|
get classList() {
|
|
48947
|
-
return new
|
|
48983
|
+
return new MockTokenList(this, "class");
|
|
48984
|
+
}
|
|
48985
|
+
get part() {
|
|
48986
|
+
return new MockTokenList(this, "part");
|
|
48948
48987
|
}
|
|
48949
48988
|
click() {
|
|
48950
48989
|
dispatchEvent(this, new MockEvent("click", { bubbles: true, cancelable: true, composed: true }));
|
|
@@ -51827,7 +51866,7 @@ var MockDocument = class _MockDocument extends MockHTMLElement {
|
|
|
51827
51866
|
}
|
|
51828
51867
|
set location(val) {
|
|
51829
51868
|
if (this.defaultView != null) {
|
|
51830
|
-
this.defaultView.location = val;
|
|
51869
|
+
this.defaultView.location.href = val;
|
|
51831
51870
|
}
|
|
51832
51871
|
}
|
|
51833
51872
|
get baseURI() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ionic/core",
|
|
3
|
-
"version": "8.7.10-dev.
|
|
3
|
+
"version": "8.7.10-dev.11763578076.1047c3c7",
|
|
4
4
|
"description": "Base components for Ionic",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ionic",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"loader/"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@stencil/core": "4.38.
|
|
34
|
+
"@stencil/core": "4.38.3-dev.1763390030.f9ccdac",
|
|
35
35
|
"ionicons": "^8.0.13",
|
|
36
36
|
"tslib": "^2.1.0"
|
|
37
37
|
},
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import{r as o,h as s,d as r}from"./p-C8IsBmNU.js";import{c as t}from"./p-DiVJyqlX.js";import{b as c}from"./p-BFvmZNyx.js";const e=class{constructor(s){o(this,s)}render(){const o=c(this);return s(r,{key:"361035eae7b92dc109794348d39bad2f596eb6be",class:t(this.color,{[o]:!0})},s("slot",{key:"c7b8835cf485ba9ecd73298f0529276ce1ea0852"}))}};e.style=":host(.ion-color){color:var(--ion-color-base)}";export{e as ion_text}
|
package/dist/ionic/p-B0q1YL7N.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import{w as t}from"./p-ZjP4CjeZ.js";import{e,j as n}from"./p-C8IsBmNU.js";const o=()=>e.get("experimentalCloseWatcher",!1)&&void 0!==t&&"CloseWatcher"in t,i=()=>{document.addEventListener("backbutton",(()=>{}))},r=()=>{const e=document;let i=!1;const r=()=>{if(i)return;let t=0,o=[];const r=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(e,n){o.push({priority:e,handler:n,id:t++})}}});e.dispatchEvent(r);const a=()=>{if(o.length>0){let t={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};o.forEach((e=>{e.priority>=t.priority&&(t=e)})),i=!0,o=o.filter((e=>e.id!==t.id)),(async t=>{try{if(null==t?void 0:t.handler){const e=t.handler(a);null!=e&&await e}}catch(t){n("[ion-app] - Exception in startHardwareBackButton:",t)}})(t).then((()=>i=!1))}};a()};if(o()){let e;const n=()=>{null==e||e.destroy(),e=new t.CloseWatcher,e.onclose=()=>{r(),n()}};n()}else e.addEventListener("backbutton",r)},a=100,s=99;export{s as MENU_BACK_BUTTON_PRIORITY,a as OVERLAY_BACK_BUTTON_PRIORITY,i as blockHardwareBackButton,o as shouldUseCloseWatcher,r as startHardwareBackButton}
|
package/dist/ionic/p-BKc55Xev.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import{e as t}from"./p-CTfR9YZG.js";import{i as o}from"./p-C53feagD.js";import{createGesture as r}from"./p-Cl0B-RWe.js";import"./p-C8IsBmNU.js";import"./p-BTEOs1at.js";const s=(s,e,n,a,p)=>{const i=s.ownerDocument.defaultView;let m=o(s);const c=t=>m?-t.deltaX:t.deltaX;return r({el:s,gestureName:"goback-swipe",gesturePriority:101,threshold:10,canStart:t=>(m=o(s),(t=>{const{startX:o}=t;return m?o>=i.innerWidth-50:o<=50})(t)&&e()),onStart:n,onMove:t=>{const o=c(t);a(o/i.innerWidth)},onEnd:o=>{const r=c(o),s=i.innerWidth,e=r/s,n=(t=>m?-t.velocityX:t.velocityX)(o),a=n>=0&&(n>.2||r>s/2),f=(a?1-e:e)*s;let j=0;if(f>5){const t=f/Math.abs(n);j=Math.min(t,540)}p(a,e<=0?.01:t(0,e,.9999),j)}})};export{s as createSwipeBackGesture}
|
package/dist/ionic/p-BOVrCkpJ.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import{d as t}from"./p-ZjP4CjeZ.js";import{q as e}from"./p-CTfR9YZG.js";import"./p-C8IsBmNU.js";const o=o=>{if(void 0===t)return;let f,p,u,l=0;const d=o.getBoolean("animated",!0)&&o.getBoolean("rippleEffect",!0),v=new WeakMap,m=()=>{u&&clearTimeout(u),u=void 0,f&&(C(!1),f=void 0)},T=(t,o)=>{if(t&&t===f)return;u&&clearTimeout(u),u=void 0;const{x:i,y:r}=e(o);if(f){if(v.has(f))throw new Error("internal error");f.classList.contains(a)||j(f,i,r),C(!0)}if(t){const e=v.get(t);e&&(clearTimeout(e),v.delete(t)),t.classList.remove(a);const o=()=>{j(t,i,r),u=void 0};n(t)?o():u=setTimeout(o,c)}f=t},j=(t,e,o)=>{if(l=Date.now(),t.classList.add(a),!d)return;const i=r(t);null!==i&&(w(),p=i.addRipple(e,o))},w=()=>{void 0!==p&&(p.then((t=>t())),p=void 0)},C=t=>{w();const e=f;if(!e)return;const o=s-Date.now()+l;if(t&&o>0&&!n(e)){const t=setTimeout((()=>{e.classList.remove(a),v.delete(e)}),s);v.set(e,t)}else e.classList.remove(a)};t.addEventListener("ionGestureCaptured",m),t.addEventListener("pointerdown",(t=>{f||2===t.button||T(i(t),t)}),!0),t.addEventListener("pointerup",(t=>{T(void 0,t)}),!0),t.addEventListener("pointercancel",m,!0)},i=t=>{if(void 0===t.composedPath)return t.target.closest(".ion-activatable");{const e=t.composedPath();for(let t=0;t<e.length-2;t++){const o=e[t];if(!(o instanceof ShadowRoot)&&o.classList.contains("ion-activatable"))return o}}},n=t=>t.classList.contains("ion-activatable-instant"),r=t=>{if(t.shadowRoot){const e=t.shadowRoot.querySelector("ion-ripple-effect");if(e)return e}return t.querySelector("ion-ripple-effect")},a="ion-activated",c=100,s=150;export{o as startTapClick}
|
package/dist/ionic/p-Bmgaetn_.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* (C) Ionic http://ionicframework.com - MIT License
|
|
3
|
-
*/
|
|
4
|
-
import{a as o,w as s}from"./p-C8IsBmNU.js";import{f as t,s as r}from"./p-CwgG81ZD.js";import{c as a}from"./p-CTfR9YZG.js";const n=()=>{const n=window;n.addEventListener("statusTap",(()=>{o((()=>{const o=document.elementFromPoint(n.innerWidth/2,n.innerHeight/2);if(!o)return;const m=t(o);m&&new Promise((o=>a(m,o))).then((()=>{s((async()=>{m.style.setProperty("--overflow","hidden"),await r(m,300),m.style.removeProperty("--overflow")}))}))}))}))};export{n as startStatusTap}
|