@ionic/angular 7.6.7-dev.11706625796.1b3c1ab2 → 7.6.7-dev.11706824245.18d35376
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/common/directives/navigation/router-outlet.d.ts +4 -3
- package/css/core.css +101 -34
- package/css/core.css.map +1 -1
- package/css/global.bundle.css +1 -1
- package/css/ionic.bundle.css +1 -1
- package/css/ionic.bundle.css.map +1 -1
- package/css/themes/dark.always.css +160 -0
- package/css/themes/dark.always.css.map +1 -0
- package/css/themes/dark.class.css +160 -0
- package/css/themes/dark.class.css.map +1 -0
- package/css/themes/dark.css +3 -0
- package/css/themes/dark.css.map +1 -0
- package/css/themes/dark.system.css +162 -0
- package/css/themes/dark.system.css.map +1 -0
- package/css/themes/high-contrast-dark.always.css +177 -0
- package/css/themes/high-contrast-dark.always.css.map +1 -0
- package/css/themes/high-contrast-dark.class.css +177 -0
- package/css/themes/high-contrast-dark.class.css.map +1 -0
- package/css/themes/high-contrast-dark.css +3 -0
- package/css/themes/high-contrast-dark.css.map +1 -0
- package/css/themes/high-contrast-dark.system.css +179 -0
- package/css/themes/high-contrast-dark.system.css.map +1 -0
- package/css/themes/high-contrast-light.always.css +93 -0
- package/css/themes/high-contrast-light.always.css.map +1 -0
- package/css/themes/high-contrast-light.class.css +93 -0
- package/css/themes/high-contrast-light.class.css.map +1 -0
- package/css/themes/high-contrast-light.css +3 -0
- package/css/themes/high-contrast-light.css.map +1 -0
- package/css/themes/high-contrast-light.system.css +95 -0
- package/css/themes/high-contrast-light.system.css.map +1 -0
- package/css/typography.css +1 -1
- package/directives/control-value-accessors/index.d.ts +0 -1
- package/directives/navigation/ion-router-outlet.d.ts +12 -4
- package/directives/proxies-list.d.ts +1 -1
- package/directives/proxies.d.ts +38 -6
- package/esm2020/common/directives/navigation/router-outlet.mjs +15 -6
- package/esm2020/common/directives/navigation/stack-controller.mjs +1 -4
- package/esm2020/common/providers/nav-controller.mjs +3 -3
- package/esm2020/directives/control-value-accessors/index.mjs +1 -2
- package/esm2020/directives/navigation/ion-router-outlet.mjs +13 -9
- package/esm2020/directives/navigation/ion-tabs.mjs +1 -1
- package/esm2020/directives/proxies-list.mjs +4 -1
- package/esm2020/directives/proxies.mjs +82 -5
- package/esm2020/index.mjs +1 -2
- package/esm2020/ionic-module.mjs +4 -7
- package/esm2020/providers/picker-controller.mjs +4 -1
- package/esm2020/standalone/directives/index.mjs +1 -2
- package/esm2020/standalone/directives/proxies.mjs +120 -5
- package/esm2020/standalone/index.mjs +2 -2
- package/esm2020/standalone/navigation/router-outlet.mjs +13 -9
- package/esm2020/standalone/navigation/tabs.mjs +1 -1
- package/esm2020/standalone/providers/picker-controller.mjs +5 -2
- package/fesm2015/ionic-angular-common.mjs +16 -10
- package/fesm2015/ionic-angular-common.mjs.map +1 -1
- package/fesm2015/ionic-angular-standalone.mjs +208 -145
- package/fesm2015/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2015/ionic-angular.mjs +100 -57
- package/fesm2015/ionic-angular.mjs.map +1 -1
- package/fesm2020/ionic-angular-common.mjs +16 -10
- package/fesm2020/ionic-angular-common.mjs.map +1 -1
- package/fesm2020/ionic-angular-standalone.mjs +208 -145
- package/fesm2020/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2020/ionic-angular.mjs +100 -57
- package/fesm2020/ionic-angular.mjs.map +1 -1
- package/index.d.ts +0 -1
- package/ionic-module.d.ts +11 -12
- package/package.json +2 -2
- package/providers/picker-controller.d.ts +4 -1
- package/scripts/README.md +21 -0
- package/standalone/directives/index.d.ts +0 -1
- package/standalone/directives/proxies.d.ts +55 -6
- package/standalone/index.d.ts +1 -1
- package/standalone/navigation/router-outlet.d.ts +12 -4
- package/standalone/providers/picker-controller.d.ts +4 -1
- package/directives/control-value-accessors/radio-value-accessor.d.ts +0 -9
- package/esm2020/directives/control-value-accessors/radio-value-accessor.mjs +0 -42
- package/esm2020/standalone/directives/radio.mjs +0 -62
- package/standalone/directives/radio.d.ts +0 -22
package/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export { BooleanValueAccessorDirective as BooleanValueAccessor } from './directives/control-value-accessors/boolean-value-accessor';
|
|
2
2
|
export { NumericValueAccessorDirective as NumericValueAccessor } from './directives/control-value-accessors/numeric-value-accessor';
|
|
3
|
-
export { RadioValueAccessorDirective as RadioValueAccessor } from './directives/control-value-accessors/radio-value-accessor';
|
|
4
3
|
export { SelectValueAccessorDirective as SelectValueAccessor } from './directives/control-value-accessors/select-value-accessor';
|
|
5
4
|
export { TextValueAccessorDirective as TextValueAccessor } from './directives/control-value-accessors/text-value-accessor';
|
|
6
5
|
export { IonTabs } from './directives/navigation/ion-tabs';
|
package/ionic-module.d.ts
CHANGED
|
@@ -6,20 +6,19 @@ import * as i2 from "./directives/overlays/modal";
|
|
|
6
6
|
import * as i3 from "./directives/overlays/popover";
|
|
7
7
|
import * as i4 from "./directives/control-value-accessors/boolean-value-accessor";
|
|
8
8
|
import * as i5 from "./directives/control-value-accessors/numeric-value-accessor";
|
|
9
|
-
import * as i6 from "./directives/control-value-accessors/
|
|
10
|
-
import * as i7 from "./directives/control-value-accessors/
|
|
11
|
-
import * as i8 from "./directives/
|
|
12
|
-
import * as i9 from "./directives/navigation/ion-
|
|
13
|
-
import * as i10 from "./directives/navigation/ion-
|
|
14
|
-
import * as i11 from "./directives/navigation/ion-
|
|
15
|
-
import * as i12 from "./directives/navigation/
|
|
16
|
-
import * as i13 from "./directives/
|
|
17
|
-
import * as i14 from "./directives/validators/
|
|
18
|
-
import * as i15 from "
|
|
19
|
-
import * as i16 from "@angular/common";
|
|
9
|
+
import * as i6 from "./directives/control-value-accessors/select-value-accessor";
|
|
10
|
+
import * as i7 from "./directives/control-value-accessors/text-value-accessor";
|
|
11
|
+
import * as i8 from "./directives/navigation/ion-tabs";
|
|
12
|
+
import * as i9 from "./directives/navigation/ion-router-outlet";
|
|
13
|
+
import * as i10 from "./directives/navigation/ion-back-button";
|
|
14
|
+
import * as i11 from "./directives/navigation/ion-nav";
|
|
15
|
+
import * as i12 from "./directives/navigation/router-link-delegate";
|
|
16
|
+
import * as i13 from "./directives/validators/min-validator";
|
|
17
|
+
import * as i14 from "./directives/validators/max-validator";
|
|
18
|
+
import * as i15 from "@angular/common";
|
|
20
19
|
export declare class IonicModule {
|
|
21
20
|
static forRoot(config?: IonicConfig): ModuleWithProviders<IonicModule>;
|
|
22
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<IonicModule, never>;
|
|
23
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IonicModule, [typeof i1.IonAccordion, typeof i1.IonAccordionGroup, typeof i1.IonActionSheet, typeof i1.IonAlert, typeof i1.IonApp, typeof i1.IonAvatar, typeof i1.IonBackdrop, typeof i1.IonBadge, typeof i1.IonBreadcrumb, typeof i1.IonBreadcrumbs, typeof i1.IonButton, typeof i1.IonButtons, typeof i1.IonCard, typeof i1.IonCardContent, typeof i1.IonCardHeader, typeof i1.IonCardSubtitle, typeof i1.IonCardTitle, typeof i1.IonCheckbox, typeof i1.IonChip, typeof i1.IonCol, typeof i1.IonContent, typeof i1.IonDatetime, typeof i1.IonDatetimeButton, typeof i1.IonFab, typeof i1.IonFabButton, typeof i1.IonFabList, typeof i1.IonFooter, typeof i1.IonGrid, typeof i1.IonHeader, typeof i1.IonIcon, typeof i1.IonImg, typeof i1.IonInfiniteScroll, typeof i1.IonInfiniteScrollContent, typeof i1.IonInput, typeof i1.IonItem, typeof i1.IonItemDivider, typeof i1.IonItemGroup, typeof i1.IonItemOption, typeof i1.IonItemOptions, typeof i1.IonItemSliding, typeof i1.IonLabel, typeof i1.IonList, typeof i1.IonListHeader, typeof i1.IonLoading, typeof i1.IonMenu, typeof i1.IonMenuButton, typeof i1.IonMenuToggle, typeof i1.IonNavLink, typeof i1.IonNote, typeof i1.IonPicker, typeof i1.IonProgressBar, typeof i1.IonRadio, typeof i1.IonRadioGroup, typeof i1.IonRange, typeof i1.IonRefresher, typeof i1.IonRefresherContent, typeof i1.IonReorder, typeof i1.IonReorderGroup, typeof i1.IonRippleEffect, typeof i1.IonRow, typeof i1.IonSearchbar, typeof i1.IonSegment, typeof i1.IonSegmentButton, typeof i1.IonSelect, typeof i1.IonSelectOption, typeof i1.IonSkeletonText, typeof i1.IonSpinner, typeof i1.IonSplitPane, typeof i1.IonTabBar, typeof i1.IonTabButton, typeof i1.IonText, typeof i1.IonTextarea, typeof i1.IonThumbnail, typeof i1.IonTitle, typeof i1.IonToast, typeof i1.IonToggle, typeof i1.IonToolbar, typeof i2.IonModal, typeof i3.IonPopover, typeof i4.BooleanValueAccessorDirective, typeof i5.NumericValueAccessorDirective, typeof i6.
|
|
22
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IonicModule, [typeof i1.IonAccordion, typeof i1.IonAccordionGroup, typeof i1.IonActionSheet, typeof i1.IonAlert, typeof i1.IonApp, typeof i1.IonAvatar, typeof i1.IonBackdrop, typeof i1.IonBadge, typeof i1.IonBreadcrumb, typeof i1.IonBreadcrumbs, typeof i1.IonButton, typeof i1.IonButtons, typeof i1.IonCard, typeof i1.IonCardContent, typeof i1.IonCardHeader, typeof i1.IonCardSubtitle, typeof i1.IonCardTitle, typeof i1.IonCheckbox, typeof i1.IonChip, typeof i1.IonCol, typeof i1.IonContent, typeof i1.IonDatetime, typeof i1.IonDatetimeButton, typeof i1.IonFab, typeof i1.IonFabButton, typeof i1.IonFabList, typeof i1.IonFooter, typeof i1.IonGrid, typeof i1.IonHeader, typeof i1.IonIcon, typeof i1.IonImg, typeof i1.IonInfiniteScroll, typeof i1.IonInfiniteScrollContent, typeof i1.IonInput, typeof i1.IonItem, typeof i1.IonItemDivider, typeof i1.IonItemGroup, typeof i1.IonItemOption, typeof i1.IonItemOptions, typeof i1.IonItemSliding, typeof i1.IonLabel, typeof i1.IonList, typeof i1.IonListHeader, typeof i1.IonLoading, typeof i1.IonMenu, typeof i1.IonMenuButton, typeof i1.IonMenuToggle, typeof i1.IonNavLink, typeof i1.IonNote, typeof i1.IonPicker, typeof i1.IonPickerColumn, typeof i1.IonPickerColumnOption, typeof i1.IonPickerLegacy, typeof i1.IonProgressBar, typeof i1.IonRadio, typeof i1.IonRadioGroup, typeof i1.IonRange, typeof i1.IonRefresher, typeof i1.IonRefresherContent, typeof i1.IonReorder, typeof i1.IonReorderGroup, typeof i1.IonRippleEffect, typeof i1.IonRow, typeof i1.IonSearchbar, typeof i1.IonSegment, typeof i1.IonSegmentButton, typeof i1.IonSelect, typeof i1.IonSelectOption, typeof i1.IonSkeletonText, typeof i1.IonSpinner, typeof i1.IonSplitPane, typeof i1.IonTabBar, typeof i1.IonTabButton, typeof i1.IonText, typeof i1.IonTextarea, typeof i1.IonThumbnail, typeof i1.IonTitle, typeof i1.IonToast, typeof i1.IonToggle, typeof i1.IonToolbar, typeof i2.IonModal, typeof i3.IonPopover, typeof i4.BooleanValueAccessorDirective, typeof i5.NumericValueAccessorDirective, typeof i6.SelectValueAccessorDirective, typeof i7.TextValueAccessorDirective, typeof i8.IonTabs, typeof i9.IonRouterOutlet, typeof i10.IonBackButton, typeof i11.IonNav, typeof i12.RouterLinkDelegateDirective, typeof i12.RouterLinkWithHrefDelegateDirective, typeof i13.IonMinValidator, typeof i14.IonMaxValidator], [typeof i15.CommonModule], [typeof i1.IonAccordion, typeof i1.IonAccordionGroup, typeof i1.IonActionSheet, typeof i1.IonAlert, typeof i1.IonApp, typeof i1.IonAvatar, typeof i1.IonBackdrop, typeof i1.IonBadge, typeof i1.IonBreadcrumb, typeof i1.IonBreadcrumbs, typeof i1.IonButton, typeof i1.IonButtons, typeof i1.IonCard, typeof i1.IonCardContent, typeof i1.IonCardHeader, typeof i1.IonCardSubtitle, typeof i1.IonCardTitle, typeof i1.IonCheckbox, typeof i1.IonChip, typeof i1.IonCol, typeof i1.IonContent, typeof i1.IonDatetime, typeof i1.IonDatetimeButton, typeof i1.IonFab, typeof i1.IonFabButton, typeof i1.IonFabList, typeof i1.IonFooter, typeof i1.IonGrid, typeof i1.IonHeader, typeof i1.IonIcon, typeof i1.IonImg, typeof i1.IonInfiniteScroll, typeof i1.IonInfiniteScrollContent, typeof i1.IonInput, typeof i1.IonItem, typeof i1.IonItemDivider, typeof i1.IonItemGroup, typeof i1.IonItemOption, typeof i1.IonItemOptions, typeof i1.IonItemSliding, typeof i1.IonLabel, typeof i1.IonList, typeof i1.IonListHeader, typeof i1.IonLoading, typeof i1.IonMenu, typeof i1.IonMenuButton, typeof i1.IonMenuToggle, typeof i1.IonNavLink, typeof i1.IonNote, typeof i1.IonPicker, typeof i1.IonPickerColumn, typeof i1.IonPickerColumnOption, typeof i1.IonPickerLegacy, typeof i1.IonProgressBar, typeof i1.IonRadio, typeof i1.IonRadioGroup, typeof i1.IonRange, typeof i1.IonRefresher, typeof i1.IonRefresherContent, typeof i1.IonReorder, typeof i1.IonReorderGroup, typeof i1.IonRippleEffect, typeof i1.IonRow, typeof i1.IonSearchbar, typeof i1.IonSegment, typeof i1.IonSegmentButton, typeof i1.IonSelect, typeof i1.IonSelectOption, typeof i1.IonSkeletonText, typeof i1.IonSpinner, typeof i1.IonSplitPane, typeof i1.IonTabBar, typeof i1.IonTabButton, typeof i1.IonText, typeof i1.IonTextarea, typeof i1.IonThumbnail, typeof i1.IonTitle, typeof i1.IonToast, typeof i1.IonToggle, typeof i1.IonToolbar, typeof i2.IonModal, typeof i3.IonPopover, typeof i4.BooleanValueAccessorDirective, typeof i5.NumericValueAccessorDirective, typeof i6.SelectValueAccessorDirective, typeof i7.TextValueAccessorDirective, typeof i8.IonTabs, typeof i9.IonRouterOutlet, typeof i10.IonBackButton, typeof i11.IonNav, typeof i12.RouterLinkDelegateDirective, typeof i12.RouterLinkWithHrefDelegateDirective, typeof i13.IonMinValidator, typeof i14.IonMaxValidator]>;
|
|
24
23
|
static ɵinj: i0.ɵɵInjectorDeclaration<IonicModule>;
|
|
25
24
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ionic/angular",
|
|
3
|
-
"version": "7.6.7-dev.
|
|
3
|
+
"version": "7.6.7-dev.11706824245.18d35376",
|
|
4
4
|
"description": "Angular specific wrappers for @ionic/core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ionic",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@ionic/core": "7.6.7-dev.
|
|
59
|
+
"@ionic/core": "7.6.7-dev.11706824245.18d35376",
|
|
60
60
|
"ionicons": "^7.0.0",
|
|
61
61
|
"jsonc-parser": "^3.0.0",
|
|
62
62
|
"tslib": "^2.3.0"
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { OverlayBaseController } from '@ionic/angular/common';
|
|
2
2
|
import type { PickerOptions } from '@ionic/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated Use the inline ion-picker component instead.
|
|
6
|
+
*/
|
|
7
|
+
export declare class PickerController extends OverlayBaseController<PickerOptions, HTMLIonPickerLegacyElement> {
|
|
5
8
|
constructor();
|
|
6
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<PickerController, never>;
|
|
7
10
|
static ɵprov: i0.ɵɵInjectableDeclaration<PickerController>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Local @ionic/angular test/testapp development
|
|
2
|
+
|
|
3
|
+
1. `npm install` at the root of `angular`
|
|
4
|
+
2. `npm run build.dev` to build local `@ionic/angular` and `@ionic/core`
|
|
5
|
+
3. `cd test/testapp` to the test app
|
|
6
|
+
4. `npm install` in the test app directory
|
|
7
|
+
5. `npm run serve` copies packages and serve the app (see package.json for more options)
|
|
8
|
+
6. [http://localhost:4200/](http://localhost:4200/)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
# npm link local development
|
|
12
|
+
|
|
13
|
+
`npm link` doesn't work as expected due to the `devDependency` on `@angular/core`. This is the work around...
|
|
14
|
+
|
|
15
|
+
npm run build.link ../ionic-conference-app
|
|
16
|
+
|
|
17
|
+
When the command above is ran from the `angular` directory, it will build `@ionic/angular` and copy the `dist` directory to the correct location of another local project. In the example above, the end result is that it copies the `dist` directory to `../ionic-conference-app/node_modules/@ionic/angular/dist`. The path given should be relative to the root of this mono repo.
|
|
18
|
+
|
|
19
|
+
## package.json note
|
|
20
|
+
|
|
21
|
+
The `package.json` file in this directory references __Ionic 3__ and is in here to get GitHub to properly show the Used By counts on the repo. __Do not remove it!__
|
|
@@ -7,7 +7,8 @@ import type { BreadcrumbCollapsedClickEventDetail as IIonBreadcrumbsBreadcrumbCo
|
|
|
7
7
|
import type { ScrollBaseDetail as IIonContentScrollBaseDetail } from '@ionic/core/components';
|
|
8
8
|
import type { ScrollDetail as IIonContentScrollDetail } from '@ionic/core/components';
|
|
9
9
|
import type { OverlayEventDetail as IIonLoadingOverlayEventDetail } from '@ionic/core/components';
|
|
10
|
-
import type {
|
|
10
|
+
import type { PickerColumnChangeEventDetail as IIonPickerColumnPickerColumnChangeEventDetail } from '@ionic/core/components';
|
|
11
|
+
import type { OverlayEventDetail as IIonPickerLegacyOverlayEventDetail } from '@ionic/core/components';
|
|
11
12
|
import type { RefresherEventDetail as IIonRefresherRefresherEventDetail } from '@ionic/core/components';
|
|
12
13
|
import type { ItemReorderEventDetail as IIonReorderGroupItemReorderEventDetail } from '@ionic/core/components';
|
|
13
14
|
import type { OverlayEventDetail as IIonToastOverlayEventDetail } from '@ionic/core/components';
|
|
@@ -627,9 +628,40 @@ export declare class IonPicker {
|
|
|
627
628
|
protected el: HTMLElement;
|
|
628
629
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
629
630
|
static ɵfac: i0.ɵɵFactoryDeclaration<IonPicker, never>;
|
|
630
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IonPicker, "ion-picker", never, { "
|
|
631
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IonPicker, "ion-picker", never, { "mode": "mode"; }, {}, never, ["*"], true>;
|
|
631
632
|
}
|
|
632
633
|
export declare interface IonPicker extends Components.IonPicker {
|
|
634
|
+
}
|
|
635
|
+
export declare class IonPickerColumn {
|
|
636
|
+
protected z: NgZone;
|
|
637
|
+
protected el: HTMLElement;
|
|
638
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
639
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IonPickerColumn, never>;
|
|
640
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IonPickerColumn, "ion-picker-column", never, { "color": "color"; "disabled": "disabled"; "mode": "mode"; "value": "value"; }, {}, never, ["*"], true>;
|
|
641
|
+
}
|
|
642
|
+
export declare interface IonPickerColumn extends Components.IonPickerColumn {
|
|
643
|
+
/**
|
|
644
|
+
* Emitted when the value has changed.
|
|
645
|
+
*/
|
|
646
|
+
ionChange: EventEmitter<CustomEvent<IIonPickerColumnPickerColumnChangeEventDetail>>;
|
|
647
|
+
}
|
|
648
|
+
export declare class IonPickerColumnOption {
|
|
649
|
+
protected z: NgZone;
|
|
650
|
+
protected el: HTMLElement;
|
|
651
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
652
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IonPickerColumnOption, never>;
|
|
653
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IonPickerColumnOption, "ion-picker-column-option", never, { "color": "color"; "disabled": "disabled"; "value": "value"; }, {}, never, ["*"], true>;
|
|
654
|
+
}
|
|
655
|
+
export declare interface IonPickerColumnOption extends Components.IonPickerColumnOption {
|
|
656
|
+
}
|
|
657
|
+
export declare class IonPickerLegacy {
|
|
658
|
+
protected z: NgZone;
|
|
659
|
+
protected el: HTMLElement;
|
|
660
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
661
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IonPickerLegacy, never>;
|
|
662
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IonPickerLegacy, "ion-picker-legacy", never, { "animated": "animated"; "backdropDismiss": "backdropDismiss"; "buttons": "buttons"; "columns": "columns"; "cssClass": "cssClass"; "duration": "duration"; "enterAnimation": "enterAnimation"; "htmlAttributes": "htmlAttributes"; "isOpen": "isOpen"; "keyboardClose": "keyboardClose"; "leaveAnimation": "leaveAnimation"; "mode": "mode"; "showBackdrop": "showBackdrop"; "trigger": "trigger"; }, {}, never, ["*"], true>;
|
|
663
|
+
}
|
|
664
|
+
export declare interface IonPickerLegacy extends Components.IonPickerLegacy {
|
|
633
665
|
/**
|
|
634
666
|
* Emitted after the picker has presented.
|
|
635
667
|
*/
|
|
@@ -641,11 +673,11 @@ export declare interface IonPicker extends Components.IonPicker {
|
|
|
641
673
|
/**
|
|
642
674
|
* Emitted before the picker has dismissed.
|
|
643
675
|
*/
|
|
644
|
-
ionPickerWillDismiss: EventEmitter<CustomEvent<
|
|
676
|
+
ionPickerWillDismiss: EventEmitter<CustomEvent<IIonPickerLegacyOverlayEventDetail>>;
|
|
645
677
|
/**
|
|
646
678
|
* Emitted after the picker has dismissed.
|
|
647
679
|
*/
|
|
648
|
-
ionPickerDidDismiss: EventEmitter<CustomEvent<
|
|
680
|
+
ionPickerDidDismiss: EventEmitter<CustomEvent<IIonPickerLegacyOverlayEventDetail>>;
|
|
649
681
|
/**
|
|
650
682
|
* Emitted after the picker has presented.
|
|
651
683
|
Shorthand for ionPickerWillDismiss.
|
|
@@ -660,12 +692,12 @@ export declare interface IonPicker extends Components.IonPicker {
|
|
|
660
692
|
* Emitted before the picker has dismissed.
|
|
661
693
|
Shorthand for ionPickerWillDismiss.
|
|
662
694
|
*/
|
|
663
|
-
willDismiss: EventEmitter<CustomEvent<
|
|
695
|
+
willDismiss: EventEmitter<CustomEvent<IIonPickerLegacyOverlayEventDetail>>;
|
|
664
696
|
/**
|
|
665
697
|
* Emitted after the picker has dismissed.
|
|
666
698
|
Shorthand for ionPickerDidDismiss.
|
|
667
699
|
*/
|
|
668
|
-
didDismiss: EventEmitter<CustomEvent<
|
|
700
|
+
didDismiss: EventEmitter<CustomEvent<IIonPickerLegacyOverlayEventDetail>>;
|
|
669
701
|
}
|
|
670
702
|
export declare class IonProgressBar {
|
|
671
703
|
protected z: NgZone;
|
|
@@ -676,6 +708,23 @@ export declare class IonProgressBar {
|
|
|
676
708
|
}
|
|
677
709
|
export declare interface IonProgressBar extends Components.IonProgressBar {
|
|
678
710
|
}
|
|
711
|
+
export declare class IonRadio {
|
|
712
|
+
protected z: NgZone;
|
|
713
|
+
protected el: HTMLElement;
|
|
714
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
715
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IonRadio, never>;
|
|
716
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IonRadio, "ion-radio", never, { "alignment": "alignment"; "color": "color"; "disabled": "disabled"; "justify": "justify"; "labelPlacement": "labelPlacement"; "legacy": "legacy"; "mode": "mode"; "name": "name"; "value": "value"; }, {}, never, ["*"], true>;
|
|
717
|
+
}
|
|
718
|
+
export declare interface IonRadio extends Components.IonRadio {
|
|
719
|
+
/**
|
|
720
|
+
* Emitted when the radio button has focus.
|
|
721
|
+
*/
|
|
722
|
+
ionFocus: EventEmitter<CustomEvent<void>>;
|
|
723
|
+
/**
|
|
724
|
+
* Emitted when the radio button loses focus.
|
|
725
|
+
*/
|
|
726
|
+
ionBlur: EventEmitter<CustomEvent<void>>;
|
|
727
|
+
}
|
|
679
728
|
export declare class IonRefresher {
|
|
680
729
|
protected z: NgZone;
|
|
681
730
|
protected el: HTMLElement;
|
package/standalone/index.d.ts
CHANGED
|
@@ -17,6 +17,6 @@ export { PopoverController } from './providers/popover-controller';
|
|
|
17
17
|
export { ToastController } from './providers/toast-controller';
|
|
18
18
|
export { DomController, NavController, Config, Platform, NavParams, IonicRouteStrategy, ViewWillEnter, ViewDidEnter, ViewWillLeave, ViewDidLeave, } from '@ionic/angular/common';
|
|
19
19
|
export { IonNav } from './navigation/nav';
|
|
20
|
-
export { IonCheckbox, IonDatetime, IonInput, IonIcon, IonRadioGroup,
|
|
20
|
+
export { IonCheckbox, IonDatetime, IonInput, IonIcon, IonRadioGroup, IonRange, IonSearchbar, IonSegment, IonSelect, IonTextarea, IonToggle, } from './directives';
|
|
21
21
|
export * from './directives/proxies';
|
|
22
22
|
export { createAnimation, createGesture, iosTransitionAnimation, mdTransitionAnimation, IonicSlides, getPlatforms, isPlatform, getTimeGivenProgression, Animation, AnimationBuilder, AnimationCallbackOptions, AnimationDirection, AnimationFill, AnimationKeyFrames, AnimationLifecycle, Gesture, GestureConfig, GestureDetail, NavComponentWithProps, SpinnerTypes, AccordionGroupCustomEvent, AccordionGroupChangeEventDetail, BreadcrumbCustomEvent, BreadcrumbCollapsedClickEventDetail, ActionSheetOptions, ActionSheetButton, AlertOptions, AlertInput, AlertButton, BackButtonEvent, CheckboxCustomEvent, CheckboxChangeEventDetail, DatetimeCustomEvent, DatetimeChangeEventDetail, InfiniteScrollCustomEvent, InputCustomEvent, InputChangeEventDetail, ItemReorderEventDetail, ItemReorderCustomEvent, ItemSlidingCustomEvent, IonicSafeString, LoadingOptions, MenuCustomEvent, ModalOptions, NavCustomEvent, PickerOptions, PickerButton, PickerColumn, PickerColumnOption, PlatformConfig, PopoverOptions, RadioGroupCustomEvent, RadioGroupChangeEventDetail, RangeCustomEvent, RangeChangeEventDetail, RangeKnobMoveStartEventDetail, RangeKnobMoveEndEventDetail, RefresherCustomEvent, RefresherEventDetail, RouterEventDetail, RouterCustomEvent, ScrollBaseCustomEvent, ScrollBaseDetail, ScrollDetail, ScrollCustomEvent, SearchbarCustomEvent, SearchbarChangeEventDetail, SearchbarInputEventDetail, SegmentChangeEventDetail, SegmentCustomEvent, SegmentValue, SelectChangeEventDetail, SelectCustomEvent, TabsCustomEvent, TextareaChangeEventDetail, TextareaCustomEvent, ToastOptions, ToastButton, ToastLayout, ToggleChangeEventDetail, ToggleCustomEvent, } from '@ionic/core/components';
|
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
import { Location } from '@angular/common';
|
|
2
|
-
import { ElementRef, NgZone } from '@angular/core';
|
|
2
|
+
import { ViewContainerRef, ElementRef, NgZone } from '@angular/core';
|
|
3
3
|
import { Router, ActivatedRoute } from '@angular/router';
|
|
4
4
|
import { IonRouterOutlet as IonRouterOutletBase } from '@ionic/angular/common';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class IonRouterOutlet extends IonRouterOutletBase {
|
|
7
7
|
readonly parentOutlet?: IonRouterOutlet | undefined;
|
|
8
|
+
/**
|
|
9
|
+
* `static: true` must be set so the query results are resolved
|
|
10
|
+
* before change detection runs. Otherwise, the view container
|
|
11
|
+
* ref will be ion-router-outlet instead of ng-container, and
|
|
12
|
+
* the first view will be added as a sibling of ion-router-outlet
|
|
13
|
+
* instead of a child.
|
|
14
|
+
*/
|
|
15
|
+
outletContent: ViewContainerRef;
|
|
8
16
|
/**
|
|
9
17
|
* We need to pass in the correct instance of IonRouterOutlet
|
|
10
18
|
* otherwise parentOutlet will be null in a nested outlet context.
|
|
11
19
|
* This results in APIs such as NavController.pop not working
|
|
12
20
|
* in nested outlets because the parent outlet cannot be found.
|
|
13
21
|
*/
|
|
14
|
-
constructor(name: string, tabs: string, commonLocation: Location, elementRef: ElementRef, router: Router, zone: NgZone, activatedRoute: ActivatedRoute, parentOutlet?: IonRouterOutlet | undefined);
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IonRouterOutlet, [{ attribute: "name"; }, { attribute: "tabs"; optional: true; }, null, null, null, null, null, { optional: true; skipSelf: true; }]>;
|
|
16
|
-
static
|
|
22
|
+
constructor(name: string, tabs: string, commonLocation: Location, elementRef: ElementRef, router: Router, zone: NgZone, activatedRoute: ActivatedRoute, outletContent: ViewContainerRef, parentOutlet?: IonRouterOutlet | undefined);
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IonRouterOutlet, [{ attribute: "name"; }, { attribute: "tabs"; optional: true; }, null, null, null, null, null, null, { optional: true; skipSelf: true; }]>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IonRouterOutlet, "ion-router-outlet", never, {}, {}, never, ["*"], true>;
|
|
17
25
|
}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { OverlayBaseController } from '@ionic/angular/common';
|
|
2
2
|
import type { PickerOptions } from '@ionic/core/components';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated Use the inline ion-picker component instead.
|
|
6
|
+
*/
|
|
7
|
+
export declare class PickerController extends OverlayBaseController<PickerOptions, HTMLIonPickerLegacyElement> {
|
|
5
8
|
constructor();
|
|
6
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<PickerController, never>;
|
|
7
10
|
static ɵprov: i0.ɵɵInjectableDeclaration<PickerController>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ElementRef, Injector } from '@angular/core';
|
|
2
|
-
import { ValueAccessor } from '@ionic/angular/common';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class RadioValueAccessorDirective extends ValueAccessor {
|
|
5
|
-
constructor(injector: Injector, el: ElementRef);
|
|
6
|
-
_handleIonSelect(el: any): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RadioValueAccessorDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RadioValueAccessorDirective, "ion-radio", never, {}, {}, never, never, false>;
|
|
9
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { Directive, HostListener } from '@angular/core';
|
|
2
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
-
import { ValueAccessor } from '@ionic/angular/common';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class RadioValueAccessorDirective extends ValueAccessor {
|
|
6
|
-
constructor(injector, el) {
|
|
7
|
-
super(injector, el);
|
|
8
|
-
}
|
|
9
|
-
_handleIonSelect(el) {
|
|
10
|
-
/**
|
|
11
|
-
* The `el` type is any to access the `checked` state property
|
|
12
|
-
* that is not exposed on the type interface.
|
|
13
|
-
*/
|
|
14
|
-
this.handleValueChange(el, el.checked);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
/** @nocollapse */ RadioValueAccessorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RadioValueAccessorDirective, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
18
|
-
/** @nocollapse */ RadioValueAccessorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: RadioValueAccessorDirective, selector: "ion-radio", host: { listeners: { "ionSelect": "_handleIonSelect($event.target)" } }, providers: [
|
|
19
|
-
{
|
|
20
|
-
provide: NG_VALUE_ACCESSOR,
|
|
21
|
-
useExisting: RadioValueAccessorDirective,
|
|
22
|
-
multi: true,
|
|
23
|
-
},
|
|
24
|
-
], usesInheritance: true, ngImport: i0 });
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: RadioValueAccessorDirective, decorators: [{
|
|
26
|
-
type: Directive,
|
|
27
|
-
args: [{
|
|
28
|
-
/* tslint:disable-next-line:directive-selector */
|
|
29
|
-
selector: 'ion-radio',
|
|
30
|
-
providers: [
|
|
31
|
-
{
|
|
32
|
-
provide: NG_VALUE_ACCESSOR,
|
|
33
|
-
useExisting: RadioValueAccessorDirective,
|
|
34
|
-
multi: true,
|
|
35
|
-
},
|
|
36
|
-
],
|
|
37
|
-
}]
|
|
38
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { _handleIonSelect: [{
|
|
39
|
-
type: HostListener,
|
|
40
|
-
args: ['ionSelect',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W5kbGVJb25TZWxlY3QoZWw6IGFueSk6IHZvaWQge1xuICAgIC8qKlxuICAgICAqIFRoZSBgZWxgIHR5cGUgaXMgYW55IHRvIGFjY2VzcyB0aGUgYGNoZWNrZWRgIHN0YXRlIHByb3BlcnR5XG4gICAgICogdGhhdCBpcyBub3QgZXhwb3NlZCBvbiB0aGUgdHlwZSBpbnRlcmZhY2UuXG4gICAgICovXG4gICAgdGhpcy5oYW5kbGVWYWx1ZUNoYW5nZShlbCwgZWwuY2hlY2tlZCk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { ChangeDetectionStrategy, Component, HostListener, forwardRef, } from '@angular/core';
|
|
3
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
4
|
-
import { ValueAccessor } from '@ionic/angular/common';
|
|
5
|
-
import { defineCustomElement } from '@ionic/core/components/ion-radio.js';
|
|
6
|
-
import { ProxyCmp, proxyOutputs } from './angular-component-lib/utils';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
const RADIO_INPUTS = ['color', 'disabled', 'justify', 'labelPlacement', 'legacy', 'mode', 'name', 'value'];
|
|
9
|
-
/**
|
|
10
|
-
* Pulling the provider into an object and using PURE works
|
|
11
|
-
* around an ng-packagr issue that causes
|
|
12
|
-
* components with multiple decorators and
|
|
13
|
-
* a provider to be re-assigned. This re-assignment
|
|
14
|
-
* is not supported by Webpack and causes treeshaking
|
|
15
|
-
* to not work on these kinds of components.
|
|
16
|
-
*/
|
|
17
|
-
const accessorProvider = {
|
|
18
|
-
provide: NG_VALUE_ACCESSOR,
|
|
19
|
-
useExisting: /*@__PURE__*/ forwardRef(() => IonRadio),
|
|
20
|
-
multi: true,
|
|
21
|
-
};
|
|
22
|
-
let IonRadio = class IonRadio extends ValueAccessor {
|
|
23
|
-
constructor(c, r, z, injector) {
|
|
24
|
-
super(injector, r);
|
|
25
|
-
this.z = z;
|
|
26
|
-
c.detach();
|
|
27
|
-
this.el = r.nativeElement;
|
|
28
|
-
proxyOutputs(this, this.el, ['ionFocus', 'ionBlur']);
|
|
29
|
-
}
|
|
30
|
-
handleIonSelect(el) {
|
|
31
|
-
/**
|
|
32
|
-
* The `el` type is any to access the `checked` state property
|
|
33
|
-
* that is not exposed on the type interface.
|
|
34
|
-
*/
|
|
35
|
-
this.handleValueChange(el, el.checked);
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
/** @nocollapse */ IonRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRadio, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
39
|
-
/** @nocollapse */ IonRadio.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: IonRadio, isStandalone: true, selector: "ion-radio", inputs: { color: "color", disabled: "disabled", justify: "justify", labelPlacement: "labelPlacement", legacy: "legacy", mode: "mode", name: "name", value: "value" }, host: { listeners: { "ionSelect": "handleIonSelect($event.target)" } }, providers: [accessorProvider], usesInheritance: true, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
40
|
-
IonRadio = __decorate([
|
|
41
|
-
ProxyCmp({
|
|
42
|
-
defineCustomElementFn: defineCustomElement,
|
|
43
|
-
inputs: RADIO_INPUTS,
|
|
44
|
-
})
|
|
45
|
-
], IonRadio);
|
|
46
|
-
export { IonRadio };
|
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRadio, decorators: [{
|
|
48
|
-
type: Component,
|
|
49
|
-
args: [{
|
|
50
|
-
selector: 'ion-radio',
|
|
51
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
52
|
-
template: '<ng-content></ng-content>',
|
|
53
|
-
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
54
|
-
inputs: RADIO_INPUTS,
|
|
55
|
-
providers: [accessorProvider],
|
|
56
|
-
standalone: true,
|
|
57
|
-
}]
|
|
58
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Injector }]; }, propDecorators: { handleIonSelect: [{
|
|
59
|
-
type: HostListener,
|
|
60
|
-
args: ['ionSelect', ['$event.target']]
|
|
61
|
-
}] } });
|
|
62
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmFkaW8uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zdGFuZGFsb25lL3NyYy9kaXJlY3RpdmVzL3JhZGlvLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQ0wsdUJBQXVCLEVBRXZCLFNBQVMsRUFHVCxZQUFZLEVBR1osVUFBVSxHQUNYLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ25ELE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUV0RCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxxQ0FBcUMsQ0FBQztBQUUxRSxPQUFPLEVBQUUsUUFBUSxFQUFFLFlBQVksRUFBRSxNQUFNLCtCQUErQixDQUFDOztBQUV2RSxNQUFNLFlBQVksR0FBRyxDQUFDLE9BQU8sRUFBRSxVQUFVLEVBQUUsU0FBUyxFQUFFLGdCQUFnQixFQUFFLFFBQVEsRUFBRSxNQUFNLEVBQUUsTUFBTSxFQUFFLE9BQU8sQ0FBQyxDQUFDO0FBRTNHOzs7Ozs7O0dBT0c7QUFDSCxNQUFNLGdCQUFnQixHQUFHO0lB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0dGVkIHdoZW4gdGhlIHJhZGlvIGJ1dHRvbiBsb3NlcyBmb2N1cy5cbiAgICovXG4gIGlvbkJsdXI6IEV2ZW50RW1pdHRlcjxDdXN0b21FdmVudDx2b2lkPj47XG59XG4iXX0=
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, NgZone } from '@angular/core';
|
|
2
|
-
import { ValueAccessor } from '@ionic/angular/common';
|
|
3
|
-
import type { Components } from '@ionic/core/components';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class IonRadio extends ValueAccessor {
|
|
6
|
-
protected z: NgZone;
|
|
7
|
-
protected el: HTMLElement;
|
|
8
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone, injector: Injector);
|
|
9
|
-
handleIonSelect(el: any): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IonRadio, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IonRadio, "ion-radio", never, { "color": "color"; "disabled": "disabled"; "justify": "justify"; "labelPlacement": "labelPlacement"; "legacy": "legacy"; "mode": "mode"; "name": "name"; "value": "value"; }, {}, never, ["*"], true>;
|
|
12
|
-
}
|
|
13
|
-
export declare interface IonRadio extends Components.IonRadio {
|
|
14
|
-
/**
|
|
15
|
-
* Emitted when the radio button has focus.
|
|
16
|
-
*/
|
|
17
|
-
ionFocus: EventEmitter<CustomEvent<void>>;
|
|
18
|
-
/**
|
|
19
|
-
* Emitted when the radio button loses focus.
|
|
20
|
-
*/
|
|
21
|
-
ionBlur: EventEmitter<CustomEvent<void>>;
|
|
22
|
-
}
|