@ionic/angular 8.8.17 → 8.8.18-dev.11786108988.1fd94742
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/README.md +9 -6
- package/dist/common/directives/control-value-accessors/index.d.ts +2 -0
- package/dist/common/directives/control-value-accessors/index.d.ts.map +1 -0
- package/{common/directives/control-value-accessors/index.d.ts → dist/common/directives/control-value-accessors/index.js} +1 -0
- package/dist/common/directives/control-value-accessors/index.js.map +1 -0
- package/{common → dist/common}/directives/control-value-accessors/value-accessor.d.ts +2 -1
- package/dist/common/directives/control-value-accessors/value-accessor.d.ts.map +1 -0
- package/dist/common/directives/control-value-accessors/value-accessor.js +152 -0
- package/dist/common/directives/control-value-accessors/value-accessor.js.map +1 -0
- package/{common → dist/common}/directives/navigation/back-button.d.ts +2 -1
- package/dist/common/directives/navigation/back-button.d.ts.map +1 -0
- package/dist/common/directives/navigation/back-button.js +61 -0
- package/dist/common/directives/navigation/back-button.js.map +1 -0
- package/{common → dist/common}/directives/navigation/nav-params.d.ts +1 -0
- package/dist/common/directives/navigation/nav-params.d.ts.map +1 -0
- package/dist/common/directives/navigation/nav-params.js +47 -0
- package/dist/common/directives/navigation/nav-params.js.map +1 -0
- package/{common → dist/common}/directives/navigation/nav.d.ts +2 -1
- package/dist/common/directives/navigation/nav.d.ts.map +1 -0
- package/dist/common/directives/navigation/nav.js +49 -0
- package/dist/common/directives/navigation/nav.js.map +1 -0
- package/{common → dist/common}/directives/navigation/router-link-delegate.d.ts +3 -2
- package/dist/common/directives/navigation/router-link-delegate.d.ts.map +1 -0
- package/dist/common/directives/navigation/router-link-delegate.js +188 -0
- package/dist/common/directives/navigation/router-link-delegate.js.map +1 -0
- package/{common → dist/common}/directives/navigation/router-outlet.d.ts +2 -1
- package/dist/common/directives/navigation/router-outlet.d.ts.map +1 -0
- package/dist/common/directives/navigation/router-outlet.js +476 -0
- package/dist/common/directives/navigation/router-outlet.js.map +1 -0
- package/{common → dist/common}/directives/navigation/stack-controller.d.ts +1 -0
- package/dist/common/directives/navigation/stack-controller.d.ts.map +1 -0
- package/dist/common/directives/navigation/stack-controller.js +282 -0
- package/dist/common/directives/navigation/stack-controller.js.map +1 -0
- package/{common → dist/common}/directives/navigation/stack-utils.d.ts +1 -0
- package/dist/common/directives/navigation/stack-utils.d.ts.map +1 -0
- package/dist/common/directives/navigation/stack-utils.js +73 -0
- package/dist/common/directives/navigation/stack-utils.js.map +1 -0
- package/{common → dist/common}/directives/navigation/tabs.d.ts +10 -1
- package/dist/common/directives/navigation/tabs.d.ts.map +1 -0
- package/dist/common/directives/navigation/tabs.js +290 -0
- package/dist/common/directives/navigation/tabs.js.map +1 -0
- package/{common → dist/common}/index.d.ts +2 -1
- package/dist/common/index.d.ts.map +1 -0
- package/dist/common/index.js +20 -0
- package/dist/common/index.js.map +1 -0
- package/{common → dist/common}/overlays/modal.d.ts +2 -1
- package/dist/common/overlays/modal.d.ts.map +1 -0
- package/dist/common/overlays/modal.js +96 -0
- package/dist/common/overlays/modal.js.map +1 -0
- package/{common → dist/common}/overlays/popover.d.ts +2 -1
- package/dist/common/overlays/popover.d.ts.map +1 -0
- package/dist/common/overlays/popover.js +84 -0
- package/dist/common/overlays/popover.js.map +1 -0
- package/{common → dist/common}/providers/angular-delegate.d.ts +3 -2
- package/dist/common/providers/angular-delegate.d.ts.map +1 -0
- package/dist/common/providers/angular-delegate.js +229 -0
- package/dist/common/providers/angular-delegate.js.map +1 -0
- package/{common → dist/common}/providers/config.d.ts +1 -0
- package/dist/common/providers/config.d.ts.map +1 -0
- package/dist/common/providers/config.js +44 -0
- package/dist/common/providers/config.js.map +1 -0
- package/{common → dist/common}/providers/dom-controller.d.ts +1 -0
- package/dist/common/providers/dom-controller.d.ts.map +1 -0
- package/dist/common/providers/dom-controller.js +44 -0
- package/dist/common/providers/dom-controller.js.map +1 -0
- package/{common → dist/common}/providers/menu-controller.d.ts +1 -0
- package/dist/common/providers/menu-controller.d.ts.map +1 -0
- package/dist/common/providers/menu-controller.js +114 -0
- package/dist/common/providers/menu-controller.js.map +1 -0
- package/{common → dist/common}/providers/nav-controller.d.ts +1 -0
- package/dist/common/providers/nav-controller.d.ts.map +1 -0
- package/dist/common/providers/nav-controller.js +232 -0
- package/dist/common/providers/nav-controller.js.map +1 -0
- package/{common → dist/common}/providers/platform.d.ts +1 -0
- package/dist/common/providers/platform.d.ts.map +1 -0
- package/dist/common/providers/platform.js +256 -0
- package/dist/common/providers/platform.js.map +1 -0
- package/{common → dist/common}/types/interfaces.d.ts +1 -0
- package/dist/common/types/interfaces.d.ts.map +1 -0
- package/dist/common/types/interfaces.js +2 -0
- package/dist/common/types/interfaces.js.map +1 -0
- package/{common → dist/common}/types/ionic-lifecycle-hooks.d.ts +1 -0
- package/dist/common/types/ionic-lifecycle-hooks.d.ts.map +1 -0
- package/dist/common/types/ionic-lifecycle-hooks.js +5 -0
- package/dist/common/types/ionic-lifecycle-hooks.js.map +1 -0
- package/{common → dist/common}/types/overlay-options.d.ts +1 -0
- package/dist/common/types/overlay-options.d.ts.map +1 -0
- package/dist/common/types/overlay-options.js +2 -0
- package/dist/common/types/overlay-options.js.map +1 -0
- package/{common → dist/common}/utils/overlay.d.ts +1 -0
- package/dist/common/utils/overlay.d.ts.map +1 -0
- package/dist/common/utils/overlay.js +26 -0
- package/dist/common/utils/overlay.js.map +1 -0
- package/{common → dist/common}/utils/proxy.d.ts +1 -0
- package/dist/common/utils/proxy.d.ts.map +1 -0
- package/dist/common/utils/proxy.js +47 -0
- package/dist/common/utils/proxy.js.map +1 -0
- package/{common → dist/common}/utils/routing.d.ts +1 -0
- package/dist/common/utils/routing.d.ts.map +1 -0
- package/dist/common/utils/routing.js +55 -0
- package/dist/common/utils/routing.js.map +1 -0
- package/{common → dist/common}/utils/util.d.ts +1 -0
- package/dist/common/utils/util.d.ts.map +1 -0
- package/dist/common/utils/util.js +10 -0
- package/dist/common/utils/util.js.map +1 -0
- package/{app-initialize.d.ts → dist/lazy/app-initialize.d.ts} +1 -0
- package/dist/lazy/app-initialize.d.ts.map +1 -0
- package/dist/lazy/app-initialize.js +29 -0
- package/dist/lazy/app-initialize.js.map +1 -0
- package/{directives → dist/lazy/directives}/angular-component-lib/utils.d.ts +1 -0
- package/dist/lazy/directives/angular-component-lib/utils.d.ts.map +1 -0
- package/dist/lazy/directives/angular-component-lib/utils.js +59 -0
- package/dist/lazy/directives/angular-component-lib/utils.js.map +1 -0
- package/{directives → dist/lazy/directives}/control-value-accessors/boolean-value-accessor.d.ts +2 -1
- package/dist/lazy/directives/control-value-accessors/boolean-value-accessor.d.ts.map +1 -0
- package/dist/lazy/directives/control-value-accessors/boolean-value-accessor.js +47 -0
- package/dist/lazy/directives/control-value-accessors/boolean-value-accessor.js.map +1 -0
- package/dist/lazy/directives/control-value-accessors/index.d.ts +5 -0
- package/dist/lazy/directives/control-value-accessors/index.d.ts.map +1 -0
- package/{directives/control-value-accessors/index.d.ts → dist/lazy/directives/control-value-accessors/index.js} +1 -0
- package/dist/lazy/directives/control-value-accessors/index.js.map +1 -0
- package/{directives → dist/lazy/directives}/control-value-accessors/numeric-value-accessor.d.ts +2 -1
- package/dist/lazy/directives/control-value-accessors/numeric-value-accessor.d.ts.map +1 -0
- package/dist/lazy/directives/control-value-accessors/numeric-value-accessor.js +55 -0
- package/dist/lazy/directives/control-value-accessors/numeric-value-accessor.js.map +1 -0
- package/{directives → dist/lazy/directives}/control-value-accessors/select-value-accessor.d.ts +2 -1
- package/dist/lazy/directives/control-value-accessors/select-value-accessor.d.ts.map +1 -0
- package/dist/lazy/directives/control-value-accessors/select-value-accessor.js +44 -0
- package/dist/lazy/directives/control-value-accessors/select-value-accessor.js.map +1 -0
- package/{directives → dist/lazy/directives}/control-value-accessors/text-value-accessor.d.ts +2 -1
- package/dist/lazy/directives/control-value-accessors/text-value-accessor.d.ts.map +1 -0
- package/dist/lazy/directives/control-value-accessors/text-value-accessor.js +43 -0
- package/dist/lazy/directives/control-value-accessors/text-value-accessor.js.map +1 -0
- package/{directives → dist/lazy/directives}/navigation/ion-back-button.d.ts +1 -0
- package/dist/lazy/directives/navigation/ion-back-button.d.ts.map +1 -0
- package/dist/lazy/directives/navigation/ion-back-button.js +24 -0
- package/dist/lazy/directives/navigation/ion-back-button.js.map +1 -0
- package/{directives → dist/lazy/directives}/navigation/ion-nav.d.ts +1 -0
- package/dist/lazy/directives/navigation/ion-nav.d.ts.map +1 -0
- package/dist/lazy/directives/navigation/ion-nav.js +21 -0
- package/dist/lazy/directives/navigation/ion-nav.js.map +1 -0
- package/{directives → dist/lazy/directives}/navigation/ion-router-outlet.d.ts +1 -0
- package/dist/lazy/directives/navigation/ion-router-outlet.d.ts.map +1 -0
- package/dist/lazy/directives/navigation/ion-router-outlet.js +52 -0
- package/dist/lazy/directives/navigation/ion-router-outlet.js.map +1 -0
- package/{directives → dist/lazy/directives}/navigation/ion-tabs.d.ts +1 -0
- package/dist/lazy/directives/navigation/ion-tabs.d.ts.map +1 -0
- package/dist/lazy/directives/navigation/ion-tabs.js +58 -0
- package/dist/lazy/directives/navigation/ion-tabs.js.map +1 -0
- package/{directives → dist/lazy/directives}/navigation/router-link-delegate.d.ts +1 -0
- package/dist/lazy/directives/navigation/router-link-delegate.d.ts.map +1 -0
- package/dist/lazy/directives/navigation/router-link-delegate.js +32 -0
- package/dist/lazy/directives/navigation/router-link-delegate.js.map +1 -0
- package/{directives → dist/lazy/directives}/overlays/modal.d.ts +1 -0
- package/dist/lazy/directives/overlays/modal.d.ts.map +1 -0
- package/dist/lazy/directives/overlays/modal.js +22 -0
- package/dist/lazy/directives/overlays/modal.js.map +1 -0
- package/{directives → dist/lazy/directives}/overlays/popover.d.ts +1 -0
- package/dist/lazy/directives/overlays/popover.d.ts.map +1 -0
- package/dist/lazy/directives/overlays/popover.js +18 -0
- package/dist/lazy/directives/overlays/popover.js.map +1 -0
- package/{directives → dist/lazy/directives}/proxies-list.d.ts +2 -1
- package/dist/lazy/directives/proxies-list.d.ts.map +1 -0
- package/dist/lazy/directives/proxies-list.js +89 -0
- package/dist/lazy/directives/proxies-list.js.map +1 -0
- package/{directives → dist/lazy/directives}/proxies.d.ts +291 -191
- package/dist/lazy/directives/proxies.d.ts.map +1 -0
- package/dist/lazy/directives/proxies.js +2759 -0
- package/dist/lazy/directives/proxies.js.map +1 -0
- package/dist/lazy/directives/validators/index.d.ts +3 -0
- package/dist/lazy/directives/validators/index.d.ts.map +1 -0
- package/{directives/validators/index.d.ts → dist/lazy/directives/validators/index.js} +1 -0
- package/dist/lazy/directives/validators/index.js.map +1 -0
- package/{directives → dist/lazy/directives}/validators/max-validator.d.ts +1 -0
- package/dist/lazy/directives/validators/max-validator.d.ts.map +1 -0
- package/dist/lazy/directives/validators/max-validator.js +26 -0
- package/dist/lazy/directives/validators/max-validator.js.map +1 -0
- package/{directives → dist/lazy/directives}/validators/min-validator.d.ts +1 -0
- package/dist/lazy/directives/validators/min-validator.d.ts.map +1 -0
- package/dist/lazy/directives/validators/min-validator.js +26 -0
- package/dist/lazy/directives/validators/min-validator.js.map +1 -0
- package/{index.d.ts → dist/lazy/index.d.ts} +2 -2
- package/dist/lazy/index.d.ts.map +1 -0
- package/dist/lazy/index.js +34 -0
- package/dist/lazy/index.js.map +1 -0
- package/dist/lazy/ionic-module.d.ts +39 -0
- package/dist/lazy/ionic-module.d.ts.map +1 -0
- package/dist/lazy/ionic-module.js +121 -0
- package/dist/lazy/ionic-module.js.map +1 -0
- package/{providers → dist/lazy/providers}/action-sheet-controller.d.ts +1 -0
- package/dist/lazy/providers/action-sheet-controller.d.ts.map +1 -0
- package/dist/lazy/providers/action-sheet-controller.js +18 -0
- package/dist/lazy/providers/action-sheet-controller.js.map +1 -0
- package/{providers → dist/lazy/providers}/alert-controller.d.ts +1 -0
- package/dist/lazy/providers/alert-controller.d.ts.map +1 -0
- package/dist/lazy/providers/alert-controller.js +18 -0
- package/dist/lazy/providers/alert-controller.js.map +1 -0
- package/{standalone → dist/lazy}/providers/animation-controller.d.ts +1 -0
- package/dist/lazy/providers/animation-controller.d.ts.map +1 -0
- package/dist/lazy/providers/animation-controller.js +37 -0
- package/dist/lazy/providers/animation-controller.js.map +1 -0
- package/{providers → dist/lazy/providers}/gesture-controller.d.ts +1 -0
- package/dist/lazy/providers/gesture-controller.d.ts.map +1 -0
- package/dist/lazy/providers/gesture-controller.js +32 -0
- package/dist/lazy/providers/gesture-controller.js.map +1 -0
- package/{providers → dist/lazy/providers}/loading-controller.d.ts +1 -0
- package/dist/lazy/providers/loading-controller.d.ts.map +1 -0
- package/dist/lazy/providers/loading-controller.js +18 -0
- package/dist/lazy/providers/loading-controller.js.map +1 -0
- package/{providers → dist/lazy/providers}/menu-controller.d.ts +1 -0
- package/dist/lazy/providers/menu-controller.d.ts.map +1 -0
- package/dist/lazy/providers/menu-controller.js +18 -0
- package/dist/lazy/providers/menu-controller.js.map +1 -0
- package/{standalone → dist/lazy}/providers/modal-controller.d.ts +1 -0
- package/dist/lazy/providers/modal-controller.d.ts.map +1 -0
- package/dist/lazy/providers/modal-controller.js +25 -0
- package/dist/lazy/providers/modal-controller.js.map +1 -0
- package/{providers → dist/lazy/providers}/popover-controller.d.ts +1 -0
- package/dist/lazy/providers/popover-controller.d.ts.map +1 -0
- package/dist/lazy/providers/popover-controller.js +19 -0
- package/dist/lazy/providers/popover-controller.js.map +1 -0
- package/{providers → dist/lazy/providers}/toast-controller.d.ts +1 -0
- package/dist/lazy/providers/toast-controller.d.ts.map +1 -0
- package/dist/lazy/providers/toast-controller.js +18 -0
- package/dist/lazy/providers/toast-controller.js.map +1 -0
- package/{schematics → dist/schematics}/add/index.js +6 -6
- package/dist/schematics/utils/ast.js +64 -0
- package/{schematics → dist/schematics}/utils/config.js +10 -11
- package/{schematics → dist/schematics}/utils/package.js +6 -4
- package/{standalone → dist/standalone}/directives/angular-component-lib/utils.d.ts +1 -0
- package/dist/standalone/directives/angular-component-lib/utils.d.ts.map +1 -0
- package/dist/standalone/directives/angular-component-lib/utils.js +59 -0
- package/dist/standalone/directives/angular-component-lib/utils.js.map +1 -0
- package/{standalone → dist/standalone}/directives/checkbox.d.ts +1 -0
- package/dist/standalone/directives/checkbox.d.ts.map +1 -0
- package/dist/standalone/directives/checkbox.js +75 -0
- package/dist/standalone/directives/checkbox.js.map +1 -0
- package/{standalone → dist/standalone}/directives/datetime.d.ts +1 -0
- package/dist/standalone/directives/datetime.d.ts.map +1 -0
- package/dist/standalone/directives/datetime.js +93 -0
- package/dist/standalone/directives/datetime.js.map +1 -0
- package/{standalone → dist/standalone}/directives/icon.d.ts +1 -0
- package/dist/standalone/directives/icon.d.ts.map +1 -0
- package/dist/standalone/directives/icon.js +35 -0
- package/dist/standalone/directives/icon.js.map +1 -0
- package/dist/standalone/directives/index.d.ts +13 -0
- package/dist/standalone/directives/index.d.ts.map +1 -0
- package/{standalone/directives/index.d.ts → dist/standalone/directives/index.js} +1 -0
- package/dist/standalone/directives/index.js.map +1 -0
- package/{standalone → dist/standalone}/directives/input-otp.d.ts +1 -0
- package/dist/standalone/directives/input-otp.d.ts.map +1 -0
- package/dist/standalone/directives/input-otp.js +89 -0
- package/dist/standalone/directives/input-otp.js.map +1 -0
- package/{standalone → dist/standalone}/directives/input.d.ts +1 -0
- package/dist/standalone/directives/input.d.ts.map +1 -0
- package/dist/standalone/directives/input.js +112 -0
- package/dist/standalone/directives/input.js.map +1 -0
- package/dist/standalone/directives/ion-accordion-group.d.ts +22 -0
- package/dist/standalone/directives/ion-accordion-group.d.ts.map +1 -0
- package/dist/standalone/directives/ion-accordion-group.js +40 -0
- package/dist/standalone/directives/ion-accordion-group.js.map +1 -0
- package/dist/standalone/directives/ion-accordion.d.ts +13 -0
- package/dist/standalone/directives/ion-accordion.d.ts.map +1 -0
- package/dist/standalone/directives/ion-accordion.js +36 -0
- package/dist/standalone/directives/ion-accordion.js.map +1 -0
- package/dist/standalone/directives/ion-action-sheet.d.ts +59 -0
- package/dist/standalone/directives/ion-action-sheet.d.ts.map +1 -0
- package/dist/standalone/directives/ion-action-sheet.js +62 -0
- package/dist/standalone/directives/ion-action-sheet.js.map +1 -0
- package/dist/standalone/directives/ion-alert.d.ts +59 -0
- package/dist/standalone/directives/ion-alert.d.ts.map +1 -0
- package/dist/standalone/directives/ion-alert.js +62 -0
- package/dist/standalone/directives/ion-alert.js.map +1 -0
- package/dist/standalone/directives/ion-app.d.ts +13 -0
- package/dist/standalone/directives/ion-app.d.ts.map +1 -0
- package/dist/standalone/directives/ion-app.js +36 -0
- package/dist/standalone/directives/ion-app.js.map +1 -0
- package/dist/standalone/directives/ion-avatar.d.ts +13 -0
- package/dist/standalone/directives/ion-avatar.d.ts.map +1 -0
- package/dist/standalone/directives/ion-avatar.js +35 -0
- package/dist/standalone/directives/ion-avatar.js.map +1 -0
- package/dist/standalone/directives/ion-backdrop.d.ts +19 -0
- package/dist/standalone/directives/ion-backdrop.d.ts.map +1 -0
- package/dist/standalone/directives/ion-backdrop.js +40 -0
- package/dist/standalone/directives/ion-backdrop.js.map +1 -0
- package/dist/standalone/directives/ion-badge.d.ts +13 -0
- package/dist/standalone/directives/ion-badge.d.ts.map +1 -0
- package/dist/standalone/directives/ion-badge.js +36 -0
- package/dist/standalone/directives/ion-badge.js.map +1 -0
- package/dist/standalone/directives/ion-breadcrumb.d.ts +24 -0
- package/dist/standalone/directives/ion-breadcrumb.d.ts.map +1 -0
- package/dist/standalone/directives/ion-breadcrumb.js +43 -0
- package/dist/standalone/directives/ion-breadcrumb.js.map +1 -0
- package/dist/standalone/directives/ion-breadcrumbs.d.ts +20 -0
- package/dist/standalone/directives/ion-breadcrumbs.d.ts.map +1 -0
- package/dist/standalone/directives/ion-breadcrumbs.js +40 -0
- package/dist/standalone/directives/ion-breadcrumbs.js.map +1 -0
- package/dist/standalone/directives/ion-button.d.ts +24 -0
- package/dist/standalone/directives/ion-button.d.ts.map +1 -0
- package/dist/standalone/directives/ion-button.js +43 -0
- package/dist/standalone/directives/ion-button.js.map +1 -0
- package/dist/standalone/directives/ion-buttons.d.ts +13 -0
- package/dist/standalone/directives/ion-buttons.d.ts.map +1 -0
- package/dist/standalone/directives/ion-buttons.js +36 -0
- package/dist/standalone/directives/ion-buttons.js.map +1 -0
- package/dist/standalone/directives/ion-card-content.d.ts +13 -0
- package/dist/standalone/directives/ion-card-content.d.ts.map +1 -0
- package/dist/standalone/directives/ion-card-content.js +36 -0
- package/dist/standalone/directives/ion-card-content.js.map +1 -0
- package/dist/standalone/directives/ion-card-header.d.ts +13 -0
- package/dist/standalone/directives/ion-card-header.d.ts.map +1 -0
- package/dist/standalone/directives/ion-card-header.js +36 -0
- package/dist/standalone/directives/ion-card-header.js.map +1 -0
- package/dist/standalone/directives/ion-card-subtitle.d.ts +13 -0
- package/dist/standalone/directives/ion-card-subtitle.d.ts.map +1 -0
- package/dist/standalone/directives/ion-card-subtitle.js +36 -0
- package/dist/standalone/directives/ion-card-subtitle.js.map +1 -0
- package/dist/standalone/directives/ion-card-title.d.ts +13 -0
- package/dist/standalone/directives/ion-card-title.d.ts.map +1 -0
- package/dist/standalone/directives/ion-card-title.js +36 -0
- package/dist/standalone/directives/ion-card-title.js.map +1 -0
- package/dist/standalone/directives/ion-card.d.ts +13 -0
- package/dist/standalone/directives/ion-card.d.ts.map +1 -0
- package/dist/standalone/directives/ion-card.js +36 -0
- package/dist/standalone/directives/ion-card.js.map +1 -0
- package/dist/standalone/directives/ion-chip.d.ts +13 -0
- package/dist/standalone/directives/ion-chip.d.ts.map +1 -0
- package/dist/standalone/directives/ion-chip.js +36 -0
- package/dist/standalone/directives/ion-chip.js.map +1 -0
- package/dist/standalone/directives/ion-col.d.ts +13 -0
- package/dist/standalone/directives/ion-col.d.ts.map +1 -0
- package/dist/standalone/directives/ion-col.js +36 -0
- package/dist/standalone/directives/ion-col.js.map +1 -0
- package/dist/standalone/directives/ion-content.d.ts +34 -0
- package/dist/standalone/directives/ion-content.d.ts.map +1 -0
- package/dist/standalone/directives/ion-content.js +47 -0
- package/dist/standalone/directives/ion-content.js.map +1 -0
- package/dist/standalone/directives/ion-datetime-button.d.ts +13 -0
- package/dist/standalone/directives/ion-datetime-button.d.ts.map +1 -0
- package/dist/standalone/directives/ion-datetime-button.js +36 -0
- package/dist/standalone/directives/ion-datetime-button.js.map +1 -0
- package/dist/standalone/directives/ion-fab-button.d.ts +24 -0
- package/dist/standalone/directives/ion-fab-button.d.ts.map +1 -0
- package/dist/standalone/directives/ion-fab-button.js +43 -0
- package/dist/standalone/directives/ion-fab-button.js.map +1 -0
- package/dist/standalone/directives/ion-fab-list.d.ts +13 -0
- package/dist/standalone/directives/ion-fab-list.d.ts.map +1 -0
- package/dist/standalone/directives/ion-fab-list.js +36 -0
- package/dist/standalone/directives/ion-fab-list.js.map +1 -0
- package/dist/standalone/directives/ion-fab.d.ts +13 -0
- package/dist/standalone/directives/ion-fab.d.ts.map +1 -0
- package/dist/standalone/directives/ion-fab.js +37 -0
- package/dist/standalone/directives/ion-fab.js.map +1 -0
- package/dist/standalone/directives/ion-footer.d.ts +13 -0
- package/dist/standalone/directives/ion-footer.d.ts.map +1 -0
- package/dist/standalone/directives/ion-footer.js +36 -0
- package/dist/standalone/directives/ion-footer.js.map +1 -0
- package/dist/standalone/directives/ion-grid.d.ts +13 -0
- package/dist/standalone/directives/ion-grid.d.ts.map +1 -0
- package/dist/standalone/directives/ion-grid.js +36 -0
- package/dist/standalone/directives/ion-grid.js.map +1 -0
- package/dist/standalone/directives/ion-header.d.ts +13 -0
- package/dist/standalone/directives/ion-header.d.ts.map +1 -0
- package/dist/standalone/directives/ion-header.js +36 -0
- package/dist/standalone/directives/ion-header.js.map +1 -0
- package/dist/standalone/directives/ion-img.d.ts +29 -0
- package/dist/standalone/directives/ion-img.d.ts.map +1 -0
- package/dist/standalone/directives/ion-img.js +46 -0
- package/dist/standalone/directives/ion-img.js.map +1 -0
- package/dist/standalone/directives/ion-infinite-scroll-content.d.ts +13 -0
- package/dist/standalone/directives/ion-infinite-scroll-content.d.ts.map +1 -0
- package/dist/standalone/directives/ion-infinite-scroll-content.js +36 -0
- package/dist/standalone/directives/ion-infinite-scroll-content.js.map +1 -0
- package/dist/standalone/directives/ion-infinite-scroll.d.ts +22 -0
- package/dist/standalone/directives/ion-infinite-scroll.d.ts.map +1 -0
- package/dist/standalone/directives/ion-infinite-scroll.js +41 -0
- package/dist/standalone/directives/ion-infinite-scroll.js.map +1 -0
- package/dist/standalone/directives/ion-input-password-toggle.d.ts +13 -0
- package/dist/standalone/directives/ion-input-password-toggle.d.ts.map +1 -0
- package/dist/standalone/directives/ion-input-password-toggle.js +36 -0
- package/dist/standalone/directives/ion-input-password-toggle.js.map +1 -0
- package/dist/standalone/directives/ion-item-divider.d.ts +13 -0
- package/dist/standalone/directives/ion-item-divider.d.ts.map +1 -0
- package/dist/standalone/directives/ion-item-divider.js +36 -0
- package/dist/standalone/directives/ion-item-divider.js.map +1 -0
- package/dist/standalone/directives/ion-item-group.d.ts +13 -0
- package/dist/standalone/directives/ion-item-group.d.ts.map +1 -0
- package/dist/standalone/directives/ion-item-group.js +35 -0
- package/dist/standalone/directives/ion-item-group.js.map +1 -0
- package/dist/standalone/directives/ion-item-option.d.ts +13 -0
- package/dist/standalone/directives/ion-item-option.d.ts.map +1 -0
- package/dist/standalone/directives/ion-item-option.js +36 -0
- package/dist/standalone/directives/ion-item-option.js.map +1 -0
- package/dist/standalone/directives/ion-item-options.d.ts +19 -0
- package/dist/standalone/directives/ion-item-options.d.ts.map +1 -0
- package/dist/standalone/directives/ion-item-options.js +40 -0
- package/dist/standalone/directives/ion-item-options.js.map +1 -0
- package/dist/standalone/directives/ion-item-sliding.d.ts +19 -0
- package/dist/standalone/directives/ion-item-sliding.d.ts.map +1 -0
- package/dist/standalone/directives/ion-item-sliding.js +41 -0
- package/dist/standalone/directives/ion-item-sliding.js.map +1 -0
- package/dist/standalone/directives/ion-item.d.ts +13 -0
- package/dist/standalone/directives/ion-item.d.ts.map +1 -0
- package/dist/standalone/directives/ion-item.js +36 -0
- package/dist/standalone/directives/ion-item.js.map +1 -0
- package/dist/standalone/directives/ion-label.d.ts +13 -0
- package/dist/standalone/directives/ion-label.d.ts.map +1 -0
- package/dist/standalone/directives/ion-label.js +36 -0
- package/dist/standalone/directives/ion-label.js.map +1 -0
- package/dist/standalone/directives/ion-list-header.d.ts +13 -0
- package/dist/standalone/directives/ion-list-header.d.ts.map +1 -0
- package/dist/standalone/directives/ion-list-header.js +36 -0
- package/dist/standalone/directives/ion-list-header.js.map +1 -0
- package/dist/standalone/directives/ion-list.d.ts +13 -0
- package/dist/standalone/directives/ion-list.d.ts.map +1 -0
- package/dist/standalone/directives/ion-list.js +37 -0
- package/dist/standalone/directives/ion-list.js.map +1 -0
- package/dist/standalone/directives/ion-loading.d.ts +59 -0
- package/dist/standalone/directives/ion-loading.d.ts.map +1 -0
- package/dist/standalone/directives/ion-loading.js +62 -0
- package/dist/standalone/directives/ion-loading.js.map +1 -0
- package/dist/standalone/directives/ion-menu-button.d.ts +13 -0
- package/dist/standalone/directives/ion-menu-button.d.ts.map +1 -0
- package/dist/standalone/directives/ion-menu-button.js +36 -0
- package/dist/standalone/directives/ion-menu-button.js.map +1 -0
- package/dist/standalone/directives/ion-menu-toggle.d.ts +13 -0
- package/dist/standalone/directives/ion-menu-toggle.d.ts.map +1 -0
- package/dist/standalone/directives/ion-menu-toggle.js +36 -0
- package/dist/standalone/directives/ion-menu-toggle.js.map +1 -0
- package/dist/standalone/directives/ion-menu.d.ts +35 -0
- package/dist/standalone/directives/ion-menu.d.ts.map +1 -0
- package/dist/standalone/directives/ion-menu.js +50 -0
- package/dist/standalone/directives/ion-menu.js.map +1 -0
- package/dist/standalone/directives/ion-nav-link.d.ts +13 -0
- package/dist/standalone/directives/ion-nav-link.d.ts.map +1 -0
- package/dist/standalone/directives/ion-nav-link.js +36 -0
- package/dist/standalone/directives/ion-nav-link.js.map +1 -0
- package/dist/standalone/directives/ion-note.d.ts +13 -0
- package/dist/standalone/directives/ion-note.d.ts.map +1 -0
- package/dist/standalone/directives/ion-note.js +36 -0
- package/dist/standalone/directives/ion-note.js.map +1 -0
- package/dist/standalone/directives/ion-picker-column-option.d.ts +13 -0
- package/dist/standalone/directives/ion-picker-column-option.d.ts.map +1 -0
- package/dist/standalone/directives/ion-picker-column-option.js +36 -0
- package/dist/standalone/directives/ion-picker-column-option.js.map +1 -0
- package/dist/standalone/directives/ion-picker-column.d.ts +22 -0
- package/dist/standalone/directives/ion-picker-column.d.ts.map +1 -0
- package/dist/standalone/directives/ion-picker-column.js +41 -0
- package/dist/standalone/directives/ion-picker-column.js.map +1 -0
- package/dist/standalone/directives/ion-picker.d.ts +13 -0
- package/dist/standalone/directives/ion-picker.d.ts.map +1 -0
- package/dist/standalone/directives/ion-picker.js +36 -0
- package/dist/standalone/directives/ion-picker.js.map +1 -0
- package/dist/standalone/directives/ion-progress-bar.d.ts +13 -0
- package/dist/standalone/directives/ion-progress-bar.d.ts.map +1 -0
- package/dist/standalone/directives/ion-progress-bar.js +36 -0
- package/dist/standalone/directives/ion-progress-bar.js.map +1 -0
- package/dist/standalone/directives/ion-radio.d.ts +24 -0
- package/dist/standalone/directives/ion-radio.d.ts.map +1 -0
- package/dist/standalone/directives/ion-radio.js +43 -0
- package/dist/standalone/directives/ion-radio.js.map +1 -0
- package/dist/standalone/directives/ion-refresher-content.d.ts +13 -0
- package/dist/standalone/directives/ion-refresher-content.d.ts.map +1 -0
- package/dist/standalone/directives/ion-refresher-content.js +36 -0
- package/dist/standalone/directives/ion-refresher-content.js.map +1 -0
- package/dist/standalone/directives/ion-refresher.d.ts +46 -0
- package/dist/standalone/directives/ion-refresher.d.ts.map +1 -0
- package/dist/standalone/directives/ion-refresher.js +53 -0
- package/dist/standalone/directives/ion-refresher.js.map +1 -0
- package/dist/standalone/directives/ion-reorder-group.d.ts +45 -0
- package/dist/standalone/directives/ion-reorder-group.d.ts.map +1 -0
- package/dist/standalone/directives/ion-reorder-group.js +50 -0
- package/dist/standalone/directives/ion-reorder-group.js.map +1 -0
- package/dist/standalone/directives/ion-reorder.d.ts +13 -0
- package/dist/standalone/directives/ion-reorder.d.ts.map +1 -0
- package/dist/standalone/directives/ion-reorder.js +35 -0
- package/dist/standalone/directives/ion-reorder.js.map +1 -0
- package/dist/standalone/directives/ion-ripple-effect.d.ts +13 -0
- package/dist/standalone/directives/ion-ripple-effect.d.ts.map +1 -0
- package/dist/standalone/directives/ion-ripple-effect.js +37 -0
- package/dist/standalone/directives/ion-ripple-effect.js.map +1 -0
- package/dist/standalone/directives/ion-row.d.ts +13 -0
- package/dist/standalone/directives/ion-row.d.ts.map +1 -0
- package/dist/standalone/directives/ion-row.js +35 -0
- package/dist/standalone/directives/ion-row.js.map +1 -0
- package/dist/standalone/directives/ion-segment-button.d.ts +13 -0
- package/dist/standalone/directives/ion-segment-button.d.ts.map +1 -0
- package/dist/standalone/directives/ion-segment-button.js +36 -0
- package/dist/standalone/directives/ion-segment-button.js.map +1 -0
- package/dist/standalone/directives/ion-segment-content.d.ts +13 -0
- package/dist/standalone/directives/ion-segment-content.d.ts.map +1 -0
- package/dist/standalone/directives/ion-segment-content.js +35 -0
- package/dist/standalone/directives/ion-segment-content.js.map +1 -0
- package/dist/standalone/directives/ion-segment-view.d.ts +20 -0
- package/dist/standalone/directives/ion-segment-view.d.ts.map +1 -0
- package/dist/standalone/directives/ion-segment-view.js +40 -0
- package/dist/standalone/directives/ion-segment-view.js.map +1 -0
- package/dist/standalone/directives/ion-select-modal.d.ts +13 -0
- package/dist/standalone/directives/ion-select-modal.d.ts.map +1 -0
- package/dist/standalone/directives/ion-select-modal.js +36 -0
- package/dist/standalone/directives/ion-select-modal.js.map +1 -0
- package/dist/standalone/directives/ion-select-option.d.ts +13 -0
- package/dist/standalone/directives/ion-select-option.d.ts.map +1 -0
- package/dist/standalone/directives/ion-select-option.js +36 -0
- package/dist/standalone/directives/ion-select-option.js.map +1 -0
- package/dist/standalone/directives/ion-skeleton-text.d.ts +13 -0
- package/dist/standalone/directives/ion-skeleton-text.d.ts.map +1 -0
- package/dist/standalone/directives/ion-skeleton-text.js +36 -0
- package/dist/standalone/directives/ion-skeleton-text.js.map +1 -0
- package/dist/standalone/directives/ion-spinner.d.ts +13 -0
- package/dist/standalone/directives/ion-spinner.d.ts.map +1 -0
- package/dist/standalone/directives/ion-spinner.js +36 -0
- package/dist/standalone/directives/ion-spinner.js.map +1 -0
- package/dist/standalone/directives/ion-split-pane.d.ts +23 -0
- package/dist/standalone/directives/ion-split-pane.d.ts.map +1 -0
- package/dist/standalone/directives/ion-split-pane.js +40 -0
- package/dist/standalone/directives/ion-split-pane.js.map +1 -0
- package/dist/standalone/directives/ion-tab-bar.d.ts +13 -0
- package/dist/standalone/directives/ion-tab-bar.d.ts.map +1 -0
- package/dist/standalone/directives/ion-tab-bar.js +36 -0
- package/dist/standalone/directives/ion-tab-bar.js.map +1 -0
- package/dist/standalone/directives/ion-tab-button.d.ts +13 -0
- package/dist/standalone/directives/ion-tab-button.d.ts.map +1 -0
- package/dist/standalone/directives/ion-tab-button.js +36 -0
- package/dist/standalone/directives/ion-tab-button.js.map +1 -0
- package/dist/standalone/directives/ion-tab.d.ts +13 -0
- package/dist/standalone/directives/ion-tab.d.ts.map +1 -0
- package/dist/standalone/directives/ion-tab.js +37 -0
- package/dist/standalone/directives/ion-tab.js.map +1 -0
- package/dist/standalone/directives/ion-text.d.ts +13 -0
- package/dist/standalone/directives/ion-text.d.ts.map +1 -0
- package/dist/standalone/directives/ion-text.js +36 -0
- package/dist/standalone/directives/ion-text.js.map +1 -0
- package/dist/standalone/directives/ion-thumbnail.d.ts +13 -0
- package/dist/standalone/directives/ion-thumbnail.d.ts.map +1 -0
- package/dist/standalone/directives/ion-thumbnail.js +35 -0
- package/dist/standalone/directives/ion-thumbnail.js.map +1 -0
- package/dist/standalone/directives/ion-title.d.ts +13 -0
- package/dist/standalone/directives/ion-title.d.ts.map +1 -0
- package/dist/standalone/directives/ion-title.js +36 -0
- package/dist/standalone/directives/ion-title.js.map +1 -0
- package/dist/standalone/directives/ion-toast.d.ts +59 -0
- package/dist/standalone/directives/ion-toast.d.ts.map +1 -0
- package/dist/standalone/directives/ion-toast.js +62 -0
- package/dist/standalone/directives/ion-toast.js.map +1 -0
- package/dist/standalone/directives/ion-toolbar.d.ts +13 -0
- package/dist/standalone/directives/ion-toolbar.d.ts.map +1 -0
- package/dist/standalone/directives/ion-toolbar.js +36 -0
- package/dist/standalone/directives/ion-toolbar.js.map +1 -0
- package/dist/standalone/directives/proxies.d.ts +78 -0
- package/dist/standalone/directives/proxies.d.ts.map +1 -0
- package/dist/standalone/directives/proxies.js +79 -0
- package/dist/standalone/directives/proxies.js.map +1 -0
- package/{standalone → dist/standalone}/directives/radio-group.d.ts +1 -0
- package/dist/standalone/directives/radio-group.d.ts.map +1 -0
- package/dist/standalone/directives/radio-group.js +59 -0
- package/dist/standalone/directives/radio-group.js.map +1 -0
- package/{standalone → dist/standalone}/directives/range.d.ts +1 -0
- package/dist/standalone/directives/range.d.ts.map +1 -0
- package/dist/standalone/directives/range.js +77 -0
- package/dist/standalone/directives/range.js.map +1 -0
- package/{standalone → dist/standalone}/directives/searchbar.d.ts +1 -0
- package/dist/standalone/directives/searchbar.d.ts.map +1 -0
- package/dist/standalone/directives/searchbar.js +81 -0
- package/dist/standalone/directives/searchbar.js.map +1 -0
- package/{standalone → dist/standalone}/directives/segment.d.ts +1 -0
- package/dist/standalone/directives/segment.d.ts.map +1 -0
- package/dist/standalone/directives/segment.js +59 -0
- package/dist/standalone/directives/segment.js.map +1 -0
- package/{standalone → dist/standalone}/directives/select.d.ts +1 -0
- package/dist/standalone/directives/select.d.ts.map +1 -0
- package/dist/standalone/directives/select.js +83 -0
- package/dist/standalone/directives/select.js.map +1 -0
- package/{standalone → dist/standalone}/directives/textarea.d.ts +1 -0
- package/dist/standalone/directives/textarea.d.ts.map +1 -0
- package/dist/standalone/directives/textarea.js +90 -0
- package/dist/standalone/directives/textarea.js.map +1 -0
- package/{standalone → dist/standalone}/directives/toggle.d.ts +1 -0
- package/dist/standalone/directives/toggle.d.ts.map +1 -0
- package/dist/standalone/directives/toggle.js +75 -0
- package/dist/standalone/directives/toggle.js.map +1 -0
- package/{standalone → dist/standalone}/index.d.ts +2 -2
- package/dist/standalone/index.d.ts.map +1 -0
- package/dist/standalone/index.js +24 -0
- package/dist/standalone/index.js.map +1 -0
- package/{standalone → dist/standalone}/navigation/back-button.d.ts +1 -0
- package/dist/standalone/navigation/back-button.d.ts.map +1 -0
- package/dist/standalone/navigation/back-button.js +32 -0
- package/dist/standalone/navigation/back-button.js.map +1 -0
- package/{standalone → dist/standalone}/navigation/nav.d.ts +1 -0
- package/dist/standalone/navigation/nav.d.ts.map +1 -0
- package/dist/standalone/navigation/nav.js +28 -0
- package/dist/standalone/navigation/nav.js.map +1 -0
- package/{standalone → dist/standalone}/navigation/router-link-delegate.d.ts +1 -0
- package/dist/standalone/navigation/router-link-delegate.d.ts.map +1 -0
- package/dist/standalone/navigation/router-link-delegate.js +26 -0
- package/dist/standalone/navigation/router-link-delegate.js.map +1 -0
- package/{standalone → dist/standalone}/navigation/router-outlet.d.ts +1 -0
- package/dist/standalone/navigation/router-outlet.d.ts.map +1 -0
- package/dist/standalone/navigation/router-outlet.js +60 -0
- package/dist/standalone/navigation/router-outlet.js.map +1 -0
- package/{standalone → dist/standalone}/navigation/tabs.d.ts +1 -0
- package/dist/standalone/navigation/tabs.d.ts.map +1 -0
- package/dist/standalone/navigation/tabs.js +57 -0
- package/dist/standalone/navigation/tabs.js.map +1 -0
- package/{standalone → dist/standalone}/overlays/modal.d.ts +1 -0
- package/dist/standalone/overlays/modal.d.ts.map +1 -0
- package/dist/standalone/overlays/modal.js +32 -0
- package/dist/standalone/overlays/modal.js.map +1 -0
- package/{standalone → dist/standalone}/overlays/popover.d.ts +1 -0
- package/dist/standalone/overlays/popover.d.ts.map +1 -0
- package/dist/standalone/overlays/popover.js +28 -0
- package/dist/standalone/overlays/popover.js.map +1 -0
- package/{standalone → dist/standalone}/providers/action-sheet-controller.d.ts +1 -0
- package/dist/standalone/providers/action-sheet-controller.d.ts.map +1 -0
- package/dist/standalone/providers/action-sheet-controller.js +20 -0
- package/dist/standalone/providers/action-sheet-controller.js.map +1 -0
- package/{standalone → dist/standalone}/providers/alert-controller.d.ts +1 -0
- package/dist/standalone/providers/alert-controller.d.ts.map +1 -0
- package/dist/standalone/providers/alert-controller.js +20 -0
- package/dist/standalone/providers/alert-controller.js.map +1 -0
- package/{providers → dist/standalone/providers}/animation-controller.d.ts +1 -0
- package/dist/standalone/providers/animation-controller.d.ts.map +1 -0
- package/dist/standalone/providers/animation-controller.js +37 -0
- package/dist/standalone/providers/animation-controller.js.map +1 -0
- package/{standalone → dist/standalone}/providers/gesture-controller.d.ts +1 -0
- package/dist/standalone/providers/gesture-controller.d.ts.map +1 -0
- package/dist/standalone/providers/gesture-controller.js +32 -0
- package/dist/standalone/providers/gesture-controller.js.map +1 -0
- package/{standalone → dist/standalone}/providers/ionic-angular.d.ts +1 -0
- package/dist/standalone/providers/ionic-angular.d.ts.map +1 -0
- package/dist/standalone/providers/ionic-angular.js +38 -0
- package/dist/standalone/providers/ionic-angular.js.map +1 -0
- package/{standalone → dist/standalone}/providers/loading-controller.d.ts +1 -0
- package/dist/standalone/providers/loading-controller.d.ts.map +1 -0
- package/dist/standalone/providers/loading-controller.js +20 -0
- package/dist/standalone/providers/loading-controller.js.map +1 -0
- package/{standalone → dist/standalone}/providers/menu-controller.d.ts +1 -0
- package/dist/standalone/providers/menu-controller.d.ts.map +1 -0
- package/dist/standalone/providers/menu-controller.js +18 -0
- package/dist/standalone/providers/menu-controller.js.map +1 -0
- package/{providers → dist/standalone/providers}/modal-controller.d.ts +1 -0
- package/dist/standalone/providers/modal-controller.d.ts.map +1 -0
- package/dist/standalone/providers/modal-controller.js +27 -0
- package/dist/standalone/providers/modal-controller.js.map +1 -0
- package/{standalone → dist/standalone}/providers/popover-controller.d.ts +1 -0
- package/dist/standalone/providers/popover-controller.d.ts.map +1 -0
- package/dist/standalone/providers/popover-controller.js +21 -0
- package/dist/standalone/providers/popover-controller.js.map +1 -0
- package/{standalone → dist/standalone}/providers/toast-controller.d.ts +1 -0
- package/dist/standalone/providers/toast-controller.d.ts.map +1 -0
- package/dist/standalone/providers/toast-controller.js +20 -0
- package/dist/standalone/providers/toast-controller.js.map +1 -0
- package/package.json +174 -30
- package/esm2022/app-initialize.mjs +0 -29
- package/esm2022/common/directives/control-value-accessors/index.mjs +0 -2
- package/esm2022/common/directives/control-value-accessors/value-accessor.mjs +0 -153
- package/esm2022/common/directives/navigation/back-button.mjs +0 -61
- package/esm2022/common/directives/navigation/nav-params.mjs +0 -47
- package/esm2022/common/directives/navigation/nav.mjs +0 -49
- package/esm2022/common/directives/navigation/router-link-delegate.mjs +0 -190
- package/esm2022/common/directives/navigation/router-outlet.mjs +0 -480
- package/esm2022/common/directives/navigation/stack-controller.mjs +0 -283
- package/esm2022/common/directives/navigation/stack-utils.mjs +0 -73
- package/esm2022/common/directives/navigation/tabs.mjs +0 -279
- package/esm2022/common/index.mjs +0 -20
- package/esm2022/common/ionic-angular-common.mjs +0 -5
- package/esm2022/common/overlays/modal.mjs +0 -103
- package/esm2022/common/overlays/popover.mjs +0 -91
- package/esm2022/common/providers/angular-delegate.mjs +0 -210
- package/esm2022/common/providers/config.mjs +0 -45
- package/esm2022/common/providers/dom-controller.mjs +0 -45
- package/esm2022/common/providers/menu-controller.mjs +0 -114
- package/esm2022/common/providers/nav-controller.mjs +0 -235
- package/esm2022/common/providers/platform.mjs +0 -258
- package/esm2022/common/types/interfaces.mjs +0 -2
- package/esm2022/common/types/ionic-lifecycle-hooks.mjs +0 -5
- package/esm2022/common/types/overlay-options.mjs +0 -2
- package/esm2022/common/utils/overlay.mjs +0 -26
- package/esm2022/common/utils/proxy.mjs +0 -47
- package/esm2022/common/utils/routing.mjs +0 -55
- package/esm2022/common/utils/util.mjs +0 -10
- package/esm2022/directives/angular-component-lib/utils.mjs +0 -59
- package/esm2022/directives/control-value-accessors/boolean-value-accessor.mjs +0 -42
- package/esm2022/directives/control-value-accessors/index.mjs +0 -5
- package/esm2022/directives/control-value-accessors/numeric-value-accessor.mjs +0 -50
- package/esm2022/directives/control-value-accessors/select-value-accessor.mjs +0 -39
- package/esm2022/directives/control-value-accessors/text-value-accessor.mjs +0 -38
- package/esm2022/directives/navigation/ion-back-button.mjs +0 -24
- package/esm2022/directives/navigation/ion-nav.mjs +0 -21
- package/esm2022/directives/navigation/ion-router-outlet.mjs +0 -52
- package/esm2022/directives/navigation/ion-tabs.mjs +0 -59
- package/esm2022/directives/navigation/router-link-delegate.mjs +0 -32
- package/esm2022/directives/overlays/modal.mjs +0 -22
- package/esm2022/directives/overlays/popover.mjs +0 -18
- package/esm2022/directives/proxies-list.mjs +0 -90
- package/esm2022/directives/proxies.mjs +0 -2373
- package/esm2022/directives/validators/index.mjs +0 -3
- package/esm2022/directives/validators/max-validator.mjs +0 -27
- package/esm2022/directives/validators/min-validator.mjs +0 -27
- package/esm2022/index.mjs +0 -32
- package/esm2022/ionic-angular.mjs +0 -5
- package/esm2022/ionic-module.mjs +0 -111
- package/esm2022/providers/action-sheet-controller.mjs +0 -19
- package/esm2022/providers/alert-controller.mjs +0 -19
- package/esm2022/providers/animation-controller.mjs +0 -38
- package/esm2022/providers/gesture-controller.mjs +0 -33
- package/esm2022/providers/loading-controller.mjs +0 -19
- package/esm2022/providers/menu-controller.mjs +0 -19
- package/esm2022/providers/modal-controller.mjs +0 -26
- package/esm2022/providers/picker-controller.mjs +0 -22
- package/esm2022/providers/popover-controller.mjs +0 -19
- package/esm2022/providers/toast-controller.mjs +0 -19
- package/esm2022/standalone/directives/angular-component-lib/utils.mjs +0 -59
- package/esm2022/standalone/directives/checkbox.mjs +0 -76
- package/esm2022/standalone/directives/datetime.mjs +0 -95
- package/esm2022/standalone/directives/icon.mjs +0 -35
- package/esm2022/standalone/directives/index.mjs +0 -13
- package/esm2022/standalone/directives/input-otp.mjs +0 -90
- package/esm2022/standalone/directives/input.mjs +0 -113
- package/esm2022/standalone/directives/proxies.mjs +0 -2260
- package/esm2022/standalone/directives/radio-group.mjs +0 -60
- package/esm2022/standalone/directives/range.mjs +0 -78
- package/esm2022/standalone/directives/searchbar.mjs +0 -82
- package/esm2022/standalone/directives/segment.mjs +0 -60
- package/esm2022/standalone/directives/select.mjs +0 -84
- package/esm2022/standalone/directives/textarea.mjs +0 -91
- package/esm2022/standalone/directives/toggle.mjs +0 -76
- package/esm2022/standalone/index.mjs +0 -25
- package/esm2022/standalone/ionic-angular-standalone.mjs +0 -5
- package/esm2022/standalone/navigation/back-button.mjs +0 -32
- package/esm2022/standalone/navigation/nav.mjs +0 -28
- package/esm2022/standalone/navigation/router-link-delegate.mjs +0 -28
- package/esm2022/standalone/navigation/router-outlet.mjs +0 -60
- package/esm2022/standalone/navigation/tabs.mjs +0 -58
- package/esm2022/standalone/overlays/modal.mjs +0 -32
- package/esm2022/standalone/overlays/popover.mjs +0 -28
- package/esm2022/standalone/providers/action-sheet-controller.mjs +0 -21
- package/esm2022/standalone/providers/alert-controller.mjs +0 -21
- package/esm2022/standalone/providers/animation-controller.mjs +0 -38
- package/esm2022/standalone/providers/gesture-controller.mjs +0 -33
- package/esm2022/standalone/providers/ionic-angular.mjs +0 -38
- package/esm2022/standalone/providers/loading-controller.mjs +0 -21
- package/esm2022/standalone/providers/menu-controller.mjs +0 -19
- package/esm2022/standalone/providers/modal-controller.mjs +0 -28
- package/esm2022/standalone/providers/picker-controller.mjs +0 -24
- package/esm2022/standalone/providers/popover-controller.mjs +0 -21
- package/esm2022/standalone/providers/toast-controller.mjs +0 -21
- package/fesm2022/ionic-angular-common.mjs +0 -2791
- package/fesm2022/ionic-angular-common.mjs.map +0 -1
- package/fesm2022/ionic-angular-standalone.mjs +0 -3562
- package/fesm2022/ionic-angular-standalone.mjs.map +0 -1
- package/fesm2022/ionic-angular.mjs +0 -3139
- package/fesm2022/ionic-angular.mjs.map +0 -1
- package/ionic-module.d.ts +0 -28
- package/providers/picker-controller.d.ts +0 -11
- package/schematics/utils/ast.js +0 -32
- package/standalone/directives/proxies.d.ts +0 -1035
- package/standalone/providers/picker-controller.d.ts +0 -11
- /package/{schematics → dist/schematics}/add/files/root/theme/variables.css +0 -0
- /package/{schematics → dist/schematics}/add/schema.json +0 -0
- /package/{schematics → dist/schematics}/collection.json +0 -0
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
import { Injectable, Optional } from '@angular/core';
|
|
2
|
+
import { NavigationStart, NavigationCancel, NavigationError, } from '@angular/router';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "./platform";
|
|
5
|
+
import * as i2 from "@angular/common";
|
|
6
|
+
import * as i3 from "@angular/router";
|
|
7
|
+
export class NavController {
|
|
8
|
+
location;
|
|
9
|
+
serializer;
|
|
10
|
+
router;
|
|
11
|
+
topOutlet;
|
|
12
|
+
direction = DEFAULT_DIRECTION;
|
|
13
|
+
animated = DEFAULT_ANIMATED;
|
|
14
|
+
animationBuilder;
|
|
15
|
+
guessDirection = 'forward';
|
|
16
|
+
guessAnimation;
|
|
17
|
+
lastNavId = -1;
|
|
18
|
+
constructor(platform, location, serializer, router) {
|
|
19
|
+
this.location = location;
|
|
20
|
+
this.serializer = serializer;
|
|
21
|
+
this.router = router;
|
|
22
|
+
// Subscribe to router events to detect direction
|
|
23
|
+
if (router) {
|
|
24
|
+
router.events.subscribe((ev) => {
|
|
25
|
+
if (ev instanceof NavigationStart) {
|
|
26
|
+
// restoredState is set if the browser back/forward button is used
|
|
27
|
+
const id = ev.restoredState ? ev.restoredState.navigationId : ev.id;
|
|
28
|
+
this.guessDirection = this.guessAnimation = id < this.lastNavId ? 'back' : 'forward';
|
|
29
|
+
this.lastNavId = this.guessDirection === 'forward' ? ev.id : id;
|
|
30
|
+
}
|
|
31
|
+
// Reset explicit direction when navigation is canceled (e.g., guard rejection)
|
|
32
|
+
// to prevent stale direction from leaking into the next navigation
|
|
33
|
+
if (ev instanceof NavigationCancel || ev instanceof NavigationError) {
|
|
34
|
+
this.direction = DEFAULT_DIRECTION;
|
|
35
|
+
this.animated = DEFAULT_ANIMATED;
|
|
36
|
+
this.animationBuilder = undefined;
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
// Subscribe to backButton events
|
|
41
|
+
platform.backButton.subscribeWithPriority(0, (processNextHandler) => {
|
|
42
|
+
this.pop();
|
|
43
|
+
processNextHandler();
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* This method uses Angular's [Router](https://angular.io/api/router/Router) under the hood,
|
|
48
|
+
* it's equivalent to calling `this.router.navigateByUrl()`, but it's explicit about the **direction** of the transition.
|
|
49
|
+
*
|
|
50
|
+
* Going **forward** means that a new page is going to be pushed to the stack of the outlet (ion-router-outlet),
|
|
51
|
+
* and that it will show a "forward" animation by default.
|
|
52
|
+
*
|
|
53
|
+
* Navigating forward can also be triggered in a declarative manner by using the `[routerDirection]` directive:
|
|
54
|
+
*
|
|
55
|
+
* ```html
|
|
56
|
+
* <a routerLink="/path/to/page" routerDirection="forward">Link</a>
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
navigateForward(url, options = {}) {
|
|
60
|
+
this.setDirection('forward', options.animated, options.animationDirection, options.animation);
|
|
61
|
+
return this.navigate(url, options);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* This method uses Angular's [Router](https://angular.io/api/router/Router) under the hood,
|
|
65
|
+
* it's equivalent to calling:
|
|
66
|
+
*
|
|
67
|
+
* ```ts
|
|
68
|
+
* this.navController.setDirection('back');
|
|
69
|
+
* this.router.navigateByUrl(path);
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* Going **back** means that all the pages in the stack until the navigated page is found will be popped,
|
|
73
|
+
* and that it will show a "back" animation by default.
|
|
74
|
+
*
|
|
75
|
+
* Navigating back can also be triggered in a declarative manner by using the `[routerDirection]` directive:
|
|
76
|
+
*
|
|
77
|
+
* ```html
|
|
78
|
+
* <a routerLink="/path/to/page" routerDirection="back">Link</a>
|
|
79
|
+
* ```
|
|
80
|
+
*/
|
|
81
|
+
navigateBack(url, options = {}) {
|
|
82
|
+
this.setDirection('back', options.animated, options.animationDirection, options.animation);
|
|
83
|
+
return this.navigate(url, options);
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* This method uses Angular's [Router](https://angular.io/api/router/Router) under the hood,
|
|
87
|
+
* it's equivalent to calling:
|
|
88
|
+
*
|
|
89
|
+
* ```ts
|
|
90
|
+
* this.navController.setDirection('root');
|
|
91
|
+
* this.router.navigateByUrl(path);
|
|
92
|
+
* ```
|
|
93
|
+
*
|
|
94
|
+
* Going **root** means that all existing pages in the stack will be removed,
|
|
95
|
+
* and the navigated page will become the single page in the stack.
|
|
96
|
+
*
|
|
97
|
+
* Navigating root can also be triggered in a declarative manner by using the `[routerDirection]` directive:
|
|
98
|
+
*
|
|
99
|
+
* ```html
|
|
100
|
+
* <a routerLink="/path/to/page" routerDirection="root">Link</a>
|
|
101
|
+
* ```
|
|
102
|
+
*/
|
|
103
|
+
navigateRoot(url, options = {}) {
|
|
104
|
+
this.setDirection('root', options.animated, options.animationDirection, options.animation);
|
|
105
|
+
return this.navigate(url, options);
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Same as [Location](https://angular.io/api/common/Location)'s back() method.
|
|
109
|
+
* It will use the standard `window.history.back()` under the hood, but featuring a `back` animation
|
|
110
|
+
* by default.
|
|
111
|
+
*/
|
|
112
|
+
back(options = { animated: true, animationDirection: 'back' }) {
|
|
113
|
+
this.setDirection('back', options.animated, options.animationDirection, options.animation);
|
|
114
|
+
return this.location.back();
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* This methods goes back in the context of Ionic's stack navigation.
|
|
118
|
+
*
|
|
119
|
+
* It recursively finds the top active `ion-router-outlet` and calls `pop()`.
|
|
120
|
+
* This is the recommended way to go back when you are using `ion-router-outlet`.
|
|
121
|
+
*
|
|
122
|
+
* Resolves to `true` if it was able to pop.
|
|
123
|
+
*/
|
|
124
|
+
async pop() {
|
|
125
|
+
let outlet = this.topOutlet;
|
|
126
|
+
while (outlet) {
|
|
127
|
+
if (await outlet.pop()) {
|
|
128
|
+
return true;
|
|
129
|
+
}
|
|
130
|
+
else {
|
|
131
|
+
outlet = outlet.parentOutlet;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
return false;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* This methods specifies the direction of the next navigation performed by the Angular router.
|
|
138
|
+
*
|
|
139
|
+
* `setDirection()` does not trigger any transition, it just sets some flags to be consumed by `ion-router-outlet`.
|
|
140
|
+
*
|
|
141
|
+
* It's recommended to use `navigateForward()`, `navigateBack()` and `navigateRoot()` instead of `setDirection()`.
|
|
142
|
+
*/
|
|
143
|
+
setDirection(direction, animated, animationDirection, animationBuilder) {
|
|
144
|
+
this.direction = direction;
|
|
145
|
+
this.animated = getAnimation(direction, animated, animationDirection);
|
|
146
|
+
this.animationBuilder = animationBuilder;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* @internal
|
|
150
|
+
*/
|
|
151
|
+
setTopOutlet(outlet) {
|
|
152
|
+
this.topOutlet = outlet;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* @internal
|
|
156
|
+
*/
|
|
157
|
+
consumeTransition() {
|
|
158
|
+
let direction = 'root';
|
|
159
|
+
let animation;
|
|
160
|
+
const animationBuilder = this.animationBuilder;
|
|
161
|
+
if (this.direction === 'auto') {
|
|
162
|
+
direction = this.guessDirection;
|
|
163
|
+
animation = this.guessAnimation;
|
|
164
|
+
}
|
|
165
|
+
else {
|
|
166
|
+
animation = this.animated;
|
|
167
|
+
direction = this.direction;
|
|
168
|
+
}
|
|
169
|
+
this.direction = DEFAULT_DIRECTION;
|
|
170
|
+
this.animated = DEFAULT_ANIMATED;
|
|
171
|
+
this.animationBuilder = undefined;
|
|
172
|
+
return {
|
|
173
|
+
direction,
|
|
174
|
+
animation,
|
|
175
|
+
animationBuilder,
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
navigate(url, options) {
|
|
179
|
+
if (Array.isArray(url)) {
|
|
180
|
+
return this.router.navigate(url, options);
|
|
181
|
+
}
|
|
182
|
+
else {
|
|
183
|
+
/**
|
|
184
|
+
* navigateByUrl ignores any properties that
|
|
185
|
+
* would change the url, so things like queryParams
|
|
186
|
+
* would be ignored unless we create a url tree
|
|
187
|
+
* More Info: https://github.com/angular/angular/issues/18798
|
|
188
|
+
*/
|
|
189
|
+
const urlTree = this.serializer.parse(url.toString());
|
|
190
|
+
if (options.queryParams !== undefined) {
|
|
191
|
+
urlTree.queryParams = { ...options.queryParams };
|
|
192
|
+
}
|
|
193
|
+
if (options.fragment !== undefined) {
|
|
194
|
+
urlTree.fragment = options.fragment;
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* `navigateByUrl` will still apply `NavigationExtras` properties
|
|
198
|
+
* that do not modify the url, such as `replaceUrl` which is why
|
|
199
|
+
* `options` is passed in here.
|
|
200
|
+
*/
|
|
201
|
+
return this.router.navigateByUrl(urlTree, options);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NavController, deps: [{ token: i1.Platform }, { token: i2.Location }, { token: i3.UrlSerializer }, { token: i3.Router, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
205
|
+
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NavController, providedIn: 'root' });
|
|
206
|
+
}
|
|
207
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: NavController, decorators: [{
|
|
208
|
+
type: Injectable,
|
|
209
|
+
args: [{
|
|
210
|
+
providedIn: 'root',
|
|
211
|
+
}]
|
|
212
|
+
}], ctorParameters: () => [{ type: i1.Platform }, { type: i2.Location }, { type: i3.UrlSerializer }, { type: i3.Router, decorators: [{
|
|
213
|
+
type: Optional
|
|
214
|
+
}] }] });
|
|
215
|
+
const getAnimation = (direction, animated, animationDirection) => {
|
|
216
|
+
if (animated === false) {
|
|
217
|
+
return undefined;
|
|
218
|
+
}
|
|
219
|
+
if (animationDirection !== undefined) {
|
|
220
|
+
return animationDirection;
|
|
221
|
+
}
|
|
222
|
+
if (direction === 'forward' || direction === 'back') {
|
|
223
|
+
return direction;
|
|
224
|
+
}
|
|
225
|
+
else if (direction === 'root' && animated === true) {
|
|
226
|
+
return 'forward';
|
|
227
|
+
}
|
|
228
|
+
return undefined;
|
|
229
|
+
};
|
|
230
|
+
const DEFAULT_DIRECTION = 'auto';
|
|
231
|
+
const DEFAULT_ANIMATED = undefined;
|
|
232
|
+
//# sourceMappingURL=nav-controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nav-controller.js","sourceRoot":"","sources":["../../../src/common/providers/nav-controller.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAKL,eAAe,EACf,gBAAgB,EAChB,eAAe,GAChB,MAAM,iBAAiB,CAAC;;;;;AAkBzB,MAAM,OAAO,aAAa;IAWd;IACA;IACY;IAZd,SAAS,CAAmB;IAC5B,SAAS,GAAyC,iBAAiB,CAAC;IACpE,QAAQ,GAAkB,gBAAgB,CAAC;IAC3C,gBAAgB,CAAoB;IACpC,cAAc,GAAoB,SAAS,CAAC;IAC5C,cAAc,CAAgB;IAC9B,SAAS,GAAG,CAAC,CAAC,CAAC;IAEvB,YACE,QAAkB,EACV,QAAkB,EAClB,UAAyB,EACb,MAAe;QAF3B,aAAQ,GAAR,QAAQ,CAAU;QAClB,eAAU,GAAV,UAAU,CAAe;QACb,WAAM,GAAN,MAAM,CAAS;QAEnC,iDAAiD;QACjD,IA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H,WAAW,IAAI,OAAO;IAItB;;OAEG;IACH,UAAU,IAAI,OAAO;IAIrB,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO;IAK1C;;OAEG;IACH,GAAG,IAAI,MAAM;IAIb;;OAEG;IACH,KAAK,IAAI,MAAM;IAIf;;OAEG;IACH,MAAM,IAAI,MAAM;yCAzOL,QAAQ;6CAAR,QAAQ;CA4OpB"}
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
import { DOCUMENT } from '@angular/common';
|
|
2
|
+
import { Inject, Injectable } from '@angular/core';
|
|
3
|
+
import { getPlatforms, isPlatform } from '@ionic/core/components';
|
|
4
|
+
import { Subject } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class Platform {
|
|
7
|
+
doc;
|
|
8
|
+
_readyPromise;
|
|
9
|
+
win;
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
backButton = new Subject();
|
|
14
|
+
/**
|
|
15
|
+
* The keyboardDidShow event emits when the
|
|
16
|
+
* on-screen keyboard is presented.
|
|
17
|
+
*/
|
|
18
|
+
keyboardDidShow = new Subject();
|
|
19
|
+
/**
|
|
20
|
+
* The keyboardDidHide event emits when the
|
|
21
|
+
* on-screen keyboard is hidden.
|
|
22
|
+
*/
|
|
23
|
+
keyboardDidHide = new Subject();
|
|
24
|
+
/**
|
|
25
|
+
* The pause event emits when the native platform puts the application
|
|
26
|
+
* into the background, typically when the user switches to a different
|
|
27
|
+
* application. This event would emit when a Cordova app is put into
|
|
28
|
+
* the background, however, it would not fire on a standard web browser.
|
|
29
|
+
*/
|
|
30
|
+
pause = new Subject();
|
|
31
|
+
/**
|
|
32
|
+
* The resume event emits when the native platform pulls the application
|
|
33
|
+
* out from the background. This event would emit when a Cordova app comes
|
|
34
|
+
* out from the background, however, it would not fire on a standard web browser.
|
|
35
|
+
*/
|
|
36
|
+
resume = new Subject();
|
|
37
|
+
/**
|
|
38
|
+
* The resize event emits when the browser window has changed dimensions. This
|
|
39
|
+
* could be from a browser window being physically resized, or from a device
|
|
40
|
+
* changing orientation.
|
|
41
|
+
*/
|
|
42
|
+
resize = new Subject();
|
|
43
|
+
constructor(doc, zone) {
|
|
44
|
+
this.doc = doc;
|
|
45
|
+
zone.run(() => {
|
|
46
|
+
this.win = doc.defaultView;
|
|
47
|
+
this.backButton.subscribeWithPriority = function (priority, callback) {
|
|
48
|
+
return this.subscribe((ev) => {
|
|
49
|
+
return ev.register(priority, (processNextHandler) => zone.run(() => callback(processNextHandler)));
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
proxyEvent(this.pause, doc, 'pause', zone);
|
|
53
|
+
proxyEvent(this.resume, doc, 'resume', zone);
|
|
54
|
+
proxyEvent(this.backButton, doc, 'ionBackButton', zone);
|
|
55
|
+
proxyEvent(this.resize, this.win, 'resize', zone);
|
|
56
|
+
proxyEvent(this.keyboardDidShow, this.win, 'ionKeyboardDidShow', zone);
|
|
57
|
+
proxyEvent(this.keyboardDidHide, this.win, 'ionKeyboardDidHide', zone);
|
|
58
|
+
let readyResolve;
|
|
59
|
+
this._readyPromise = new Promise((res) => {
|
|
60
|
+
readyResolve = res;
|
|
61
|
+
});
|
|
62
|
+
if (this.win?.['cordova']) {
|
|
63
|
+
doc.addEventListener('deviceready', () => {
|
|
64
|
+
readyResolve('cordova');
|
|
65
|
+
}, { once: true });
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
readyResolve('dom');
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* @returns returns true/false based on platform.
|
|
74
|
+
* @description
|
|
75
|
+
* Depending on the platform the user is on, `is(platformName)` will
|
|
76
|
+
* return `true` or `false`. Note that the same app can return `true`
|
|
77
|
+
* for more than one platform name. For example, an app running from
|
|
78
|
+
* an iPad would return `true` for the platform names: `mobile`,
|
|
79
|
+
* `ios`, `ipad`, and `tablet`. Additionally, if the app was running
|
|
80
|
+
* from Cordova then `cordova` would be true, and if it was running
|
|
81
|
+
* from a web browser on the iPad then `mobileweb` would be `true`.
|
|
82
|
+
*
|
|
83
|
+
* ```
|
|
84
|
+
* import { Platform } from 'ionic-angular';
|
|
85
|
+
*
|
|
86
|
+
* @Component({...})
|
|
87
|
+
* export MyPage {
|
|
88
|
+
* constructor(public platform: Platform) {
|
|
89
|
+
* if (this.platform.is('ios')) {
|
|
90
|
+
* // This will only print when on iOS
|
|
91
|
+
* console.log('I am an iOS device!');
|
|
92
|
+
* }
|
|
93
|
+
* }
|
|
94
|
+
* }
|
|
95
|
+
* ```
|
|
96
|
+
*
|
|
97
|
+
* | Platform Name | Description |
|
|
98
|
+
* |-----------------|------------------------------------|
|
|
99
|
+
* | android | on a device running Android. |
|
|
100
|
+
* | capacitor | on a device running Capacitor. |
|
|
101
|
+
* | cordova | on a device running Cordova. |
|
|
102
|
+
* | ios | on a device running iOS. |
|
|
103
|
+
* | ipad | on an iPad device. |
|
|
104
|
+
* | iphone | on an iPhone device. |
|
|
105
|
+
* | phablet | on a phablet device. |
|
|
106
|
+
* | tablet | on a tablet device. |
|
|
107
|
+
* | electron | in Electron on a desktop device. |
|
|
108
|
+
* | pwa | as a PWA app. |
|
|
109
|
+
* | mobile | on a mobile device. |
|
|
110
|
+
* | mobileweb | on a mobile device in a browser. |
|
|
111
|
+
* | desktop | on a desktop device. |
|
|
112
|
+
* | hybrid | is a cordova or capacitor app. |
|
|
113
|
+
*
|
|
114
|
+
*/
|
|
115
|
+
is(platformName) {
|
|
116
|
+
return isPlatform(this.win, platformName);
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* @returns the array of platforms
|
|
120
|
+
* @description
|
|
121
|
+
* Depending on what device you are on, `platforms` can return multiple values.
|
|
122
|
+
* Each possible value is a hierarchy of platforms. For example, on an iPhone,
|
|
123
|
+
* it would return `mobile`, `ios`, and `iphone`.
|
|
124
|
+
*
|
|
125
|
+
* ```
|
|
126
|
+
* import { Platform } from 'ionic-angular';
|
|
127
|
+
*
|
|
128
|
+
* @Component({...})
|
|
129
|
+
* export MyPage {
|
|
130
|
+
* constructor(public platform: Platform) {
|
|
131
|
+
* // This will print an array of the current platforms
|
|
132
|
+
* console.log(this.platform.platforms());
|
|
133
|
+
* }
|
|
134
|
+
* }
|
|
135
|
+
* ```
|
|
136
|
+
*/
|
|
137
|
+
platforms() {
|
|
138
|
+
return getPlatforms(this.win);
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Returns a promise when the platform is ready and native functionality
|
|
142
|
+
* can be called. If the app is running from within a web browser, then
|
|
143
|
+
* the promise will resolve when the DOM is ready. When the app is running
|
|
144
|
+
* from an application engine such as Cordova, then the promise will
|
|
145
|
+
* resolve when Cordova triggers the `deviceready` event.
|
|
146
|
+
*
|
|
147
|
+
* The resolved value is the `readySource`, which states which platform
|
|
148
|
+
* ready was used. For example, when Cordova is ready, the resolved ready
|
|
149
|
+
* source is `cordova`. The default ready source value will be `dom`. The
|
|
150
|
+
* `readySource` is useful if different logic should run depending on the
|
|
151
|
+
* platform the app is running from. For example, only Cordova can execute
|
|
152
|
+
* the status bar plugin, so the web should not run status bar plugin logic.
|
|
153
|
+
*
|
|
154
|
+
* ```
|
|
155
|
+
* import { Component } from '@angular/core';
|
|
156
|
+
* import { Platform } from 'ionic-angular';
|
|
157
|
+
*
|
|
158
|
+
* @Component({...})
|
|
159
|
+
* export MyApp {
|
|
160
|
+
* constructor(public platform: Platform) {
|
|
161
|
+
* this.platform.ready().then((readySource) => {
|
|
162
|
+
* console.log('Platform ready from', readySource);
|
|
163
|
+
* // Platform now ready, execute any required native code
|
|
164
|
+
* });
|
|
165
|
+
* }
|
|
166
|
+
* }
|
|
167
|
+
* ```
|
|
168
|
+
*/
|
|
169
|
+
ready() {
|
|
170
|
+
return this._readyPromise;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* Returns if this app is using right-to-left language direction or not.
|
|
174
|
+
* We recommend the app's `index.html` file already has the correct `dir`
|
|
175
|
+
* attribute value set, such as `<html dir="ltr">` or `<html dir="rtl">`.
|
|
176
|
+
* [W3C: Structural markup and right-to-left text in HTML](http://www.w3.org/International/questions/qa-html-dir)
|
|
177
|
+
*/
|
|
178
|
+
get isRTL() {
|
|
179
|
+
return this.doc.dir === 'rtl';
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Get the query string parameter
|
|
183
|
+
*/
|
|
184
|
+
getQueryParam(key) {
|
|
185
|
+
return readQueryParam(this.win.location.href, key);
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Returns `true` if the app is in landscape mode.
|
|
189
|
+
*/
|
|
190
|
+
isLandscape() {
|
|
191
|
+
return !this.isPortrait();
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
* Returns `true` if the app is in portrait mode.
|
|
195
|
+
*/
|
|
196
|
+
isPortrait() {
|
|
197
|
+
return this.win.matchMedia?.('(orientation: portrait)').matches;
|
|
198
|
+
}
|
|
199
|
+
testUserAgent(expression) {
|
|
200
|
+
const nav = this.win.navigator;
|
|
201
|
+
return !!(nav?.userAgent && nav.userAgent.indexOf(expression) >= 0);
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* Get the current url.
|
|
205
|
+
*/
|
|
206
|
+
url() {
|
|
207
|
+
return this.win.location.href;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Gets the width of the platform's viewport using `window.innerWidth`.
|
|
211
|
+
*/
|
|
212
|
+
width() {
|
|
213
|
+
return this.win.innerWidth;
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* Gets the height of the platform's viewport using `window.innerHeight`.
|
|
217
|
+
*/
|
|
218
|
+
height() {
|
|
219
|
+
return this.win.innerHeight;
|
|
220
|
+
}
|
|
221
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: Platform, deps: [{ token: DOCUMENT }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
222
|
+
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: Platform, providedIn: 'root' });
|
|
223
|
+
}
|
|
224
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.0", ngImport: i0, type: Platform, decorators: [{
|
|
225
|
+
type: Injectable,
|
|
226
|
+
args: [{
|
|
227
|
+
providedIn: 'root',
|
|
228
|
+
}]
|
|
229
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
230
|
+
type: Inject,
|
|
231
|
+
args: [DOCUMENT]
|
|
232
|
+
}] }, { type: i0.NgZone }] });
|
|
233
|
+
const readQueryParam = (url, key) => {
|
|
234
|
+
key = key.replace(/[[\]\\]/g, '\\$&');
|
|
235
|
+
const regex = new RegExp('[\\?&]' + key + '=([^&#]*)');
|
|
236
|
+
const results = regex.exec(url);
|
|
237
|
+
return results ? decodeURIComponent(results[1].replace(/\+/g, ' ')) : null;
|
|
238
|
+
};
|
|
239
|
+
const proxyEvent = (emitter, el, eventName, zone) => {
|
|
240
|
+
if (el) {
|
|
241
|
+
el.addEventListener(eventName, (ev) => {
|
|
242
|
+
/**
|
|
243
|
+
* `zone.run` is required to make sure that we are running inside the Angular zone
|
|
244
|
+
* at all times. This is necessary since an app that has Capacitor will
|
|
245
|
+
* override the `document.addEventListener` with its own implementation.
|
|
246
|
+
* The override causes the event to no longer be in the Angular zone.
|
|
247
|
+
*/
|
|
248
|
+
zone.run(() => {
|
|
249
|
+
// ?? cordova might emit "null" events
|
|
250
|
+
const value = ev != null ? ev.detail : undefined;
|
|
251
|
+
emitter.next(value);
|
|
252
|
+
});
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
};
|
|
256
|
+
//# sourceMappingURL=platform.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform.js","sourceRoot":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WAAW,CAAC;IACnB,oCAAoC,CAAC,EAAE,CAAC,EAAE,EAAE,oBAAoB,KAAK,MAAM,CAAC;CAC7E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/common/types/interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ionic-lifecycle-hooks.d.ts","sourceRoot":"","sources":["../../../src/common/types/ionic-lifecycle-hooks.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,gBAAgB,IAAI,IAAI,CAAC;CAC1B;AAED,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,eAAe,IAAI,IAAI,CAAC;CACzB;AAED,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,gBAAgB,IAAI,IAAI,CAAC;CAC1B;AAED,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,eAAe,IAAI,IAAI,CAAC;CACzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ionic-lifecycle-hooks.js","sourceRoot":"","sources":["../../../src/common/types/ionic-lifecycle-hooks.ts"],"names":[],"mappings":"AAAA;;GAEG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overlay-options.d.ts","sourceRoot":"","sources":["../../../src/common/types/overlay-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,EACV,YAAY,EACZ,YAAY,IAAI,gBAAgB,EAChC,cAAc,IAAI,kBAAkB,EACrC,MAAM,wBAAwB,CAAC;AAEhC;;;GAGG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,YAAY,GAAG,YAAY,IAAI,gBAAgB,CAAC,CAAC,CAAC,GAAG;IACtF,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,cAAc,CAAC,CAAC,SAAS,YAAY,GAAG,YAAY,IAAI,kBAAkB,CAAC,CAAC,CAAC,GAAG;IAC1F,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overlay-options.js","sourceRoot":"","sources":["../../../src/common/types/overlay-options.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../../src/common/utils/overlay.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,eAAe,CAAC,IAAI,EAAE,OAAO;IAC5C,MAAM,CAAC,OAAO,EAAE,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IACxC,OAAO,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAClE,MAAM,IAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CACxC;AAED,qBAAa,qBAAqB,CAAC,IAAI,EAAE,OAAO,CAAE,YAAW,eAAe,CAAC,IAAI,EAAE,OAAO,CAAC;IAC7E,OAAO,CAAC,IAAI;gBAAJ,IAAI,EAAE,eAAe,CAAC,IAAI,EAAE,OAAO,CAAC;IAExD;;OAEG;IACH,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC;IAIrC;;OAEG;IACH,OAAO,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAIjE;;OAEG;IACH,MAAM,IAAI,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC;CAGvC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// TODO(FW-2827): types
|
|
2
|
+
export class OverlayBaseController {
|
|
3
|
+
ctrl;
|
|
4
|
+
constructor(ctrl) {
|
|
5
|
+
this.ctrl = ctrl;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Creates a new overlay
|
|
9
|
+
*/
|
|
10
|
+
create(opts) {
|
|
11
|
+
return this.ctrl.create((opts || {}));
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* When `id` is not provided, it dismisses the top overlay.
|
|
15
|
+
*/
|
|
16
|
+
dismiss(data, role, id) {
|
|
17
|
+
return this.ctrl.dismiss(data, role, id);
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Returns the top overlay.
|
|
21
|
+
*/
|
|
22
|
+
getTop() {
|
|
23
|
+
return this.ctrl.getTop();
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=overlay.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overlay.js","sourceRoot":"","sources":["../../../src/common/utils/overlay.ts"],"names":[],"mappings":"AAAA,uBAAuB;AAQvB,MAAM,OAAO,qBAAqB;IACZ;IAApB,YAAoB,IAAoC;QAApC,SAAI,GAAJ,IAAI,CAAgC;IAAG,CAAC;IAE5D;;OAEG;IACH,MAAM,CAAC,IAAW;QAChB,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,IAAI,EAAE,CAAQ,CAAC,CAAC;IAC/C,CAAC;IAED;;OAEG;IACH,OAAO,CAAC,IAAU,EAAE,IAAa,EAAE,EAAW;QAC5C,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC;IAC3C,CAAC;IAED;;OAEG;IACH,MAAM;QACJ,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC;IAC5B,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"proxy.d.ts","sourceRoot":"","sources":["../../../src/common/utils/proxy.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,WAAW,GAAI,KAAK,GAAG,EAAE,QAAQ,MAAM,EAAE,SAYrD,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,KAAK,GAAG,EAAE,SAAS,MAAM,EAAE,SAQvD,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,UAAU,GAAG,EAAE,IAAI,GAAG,EAAE,QAAQ,MAAM,EAAE,SAEpE,CAAC;AAGF,wBAAgB,QAAQ,CAAC,IAAI,EAAE;IAAE,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;IAAC,MAAM,CAAC,EAAE,GAAG,CAAC;IAAC,OAAO,CAAC,EAAE,GAAG,CAAA;CAAE,SAC/D,GAAG,SAgBrC"}
|