@ionic/angular 8.2.8-dev.11725452518.16aa47d3 → 8.2.8-dev.11725551706.17fc02b4
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/tabs.d.ts +10 -3
- package/directives/navigation/ion-tabs.d.ts +3 -2
- package/directives/proxies-list.d.ts +1 -1
- package/directives/proxies.d.ts +9 -0
- package/esm2022/app-initialize.mjs +2 -2
- package/esm2022/common/directives/navigation/tabs.mjs +58 -1
- package/esm2022/directives/navigation/ion-tabs.mjs +14 -5
- package/esm2022/directives/proxies-list.mjs +2 -1
- package/esm2022/directives/proxies.mjs +29 -1
- package/esm2022/ionic-module.mjs +2 -2
- package/esm2022/standalone/directives/proxies.mjs +32 -1
- package/esm2022/standalone/navigation/tabs.mjs +14 -5
- package/fesm2022/ionic-angular-common.mjs +57 -0
- package/fesm2022/ionic-angular-common.mjs.map +1 -1
- package/fesm2022/ionic-angular-standalone.mjs +82 -44
- package/fesm2022/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2022/ionic-angular.mjs +42 -6
- package/fesm2022/ionic-angular.mjs.map +1 -1
- package/ionic-module.d.ts +1 -1
- package/package.json +2 -2
- package/standalone/directives/proxies.d.ts +9 -0
- package/standalone/navigation/tabs.d.ts +3 -2
|
@@ -2139,6 +2139,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2139
2139
|
inputs: ['contentId', 'disabled', 'mode', 'theme', 'when'],
|
|
2140
2140
|
}]
|
|
2141
2141
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2142
|
+
let IonTab = class IonTab {
|
|
2143
|
+
z;
|
|
2144
|
+
el;
|
|
2145
|
+
constructor(c, r, z) {
|
|
2146
|
+
this.z = z;
|
|
2147
|
+
c.detach();
|
|
2148
|
+
this.el = r.nativeElement;
|
|
2149
|
+
}
|
|
2150
|
+
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonTab, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2151
|
+
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: IonTab, selector: "ion-tab", inputs: { component: "component", mode: "mode", tab: "tab", theme: "theme" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2152
|
+
};
|
|
2153
|
+
IonTab = __decorate([
|
|
2154
|
+
ProxyCmp({
|
|
2155
|
+
inputs: ['component', 'mode', 'tab', 'theme'],
|
|
2156
|
+
methods: ['setActive']
|
|
2157
|
+
})
|
|
2158
|
+
], IonTab);
|
|
2159
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonTab, decorators: [{
|
|
2160
|
+
type: Component,
|
|
2161
|
+
args: [{
|
|
2162
|
+
selector: 'ion-tab',
|
|
2163
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2164
|
+
template: '<ng-content></ng-content>',
|
|
2165
|
+
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2166
|
+
inputs: ['component', 'mode', 'tab', 'theme'],
|
|
2167
|
+
}]
|
|
2168
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
|
|
2142
2169
|
let IonTabBar = class IonTabBar {
|
|
2143
2170
|
z;
|
|
2144
2171
|
el;
|
|
@@ -2431,19 +2458,22 @@ class IonTabs extends IonTabs$1 {
|
|
|
2431
2458
|
outlet;
|
|
2432
2459
|
tabBar;
|
|
2433
2460
|
tabBars;
|
|
2461
|
+
tabs;
|
|
2434
2462
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonTabs, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
2435
|
-
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: IonTabs, selector: "ion-tabs", queries: [{ propertyName: "tabBar", first: true, predicate: IonTabBar, descendants: true }, { propertyName: "tabBars", predicate: IonTabBar }], viewQueries: [{ propertyName: "outlet", first: true, predicate: ["outlet"], descendants: true, read: IonRouterOutlet }], usesInheritance: true, ngImport: i0, template: `
|
|
2463
|
+
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: IonTabs, selector: "ion-tabs", queries: [{ propertyName: "tabBar", first: true, predicate: IonTabBar, descendants: true }, { propertyName: "tabBars", predicate: IonTabBar }, { propertyName: "tabs", predicate: IonTab }], viewQueries: [{ propertyName: "outlet", first: true, predicate: ["outlet"], descendants: true, read: IonRouterOutlet }], usesInheritance: true, ngImport: i0, template: `
|
|
2436
2464
|
<ng-content select="[slot=top]"></ng-content>
|
|
2437
2465
|
<div class="tabs-inner" #tabsInner>
|
|
2438
2466
|
<ion-router-outlet
|
|
2467
|
+
*ngIf="tabs.length === 0"
|
|
2439
2468
|
#outlet
|
|
2440
2469
|
tabs="true"
|
|
2441
2470
|
(stackWillChange)="onStackWillChange($event)"
|
|
2442
2471
|
(stackDidChange)="onStackDidChange($event)"
|
|
2443
2472
|
></ion-router-outlet>
|
|
2473
|
+
<ng-content *ngIf="tabs.length > 0" select="ion-tab"></ng-content>
|
|
2444
2474
|
</div>
|
|
2445
2475
|
<ng-content></ng-content>
|
|
2446
|
-
`, isInline: true, styles: [":host{display:flex;position:absolute;inset:0;flex-direction:column;width:100%;height:100%;contain:layout size style}.tabs-inner{position:relative;flex:1;contain:layout size style}\n"], dependencies: [{ kind: "component", type: IonRouterOutlet, selector: "ion-router-outlet" }] });
|
|
2476
|
+
`, isInline: true, styles: [":host{display:flex;position:absolute;inset:0;flex-direction:column;width:100%;height:100%;contain:layout size style}.tabs-inner{position:relative;flex:1;contain:layout size style}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IonRouterOutlet, selector: "ion-router-outlet" }] });
|
|
2447
2477
|
}
|
|
2448
2478
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonTabs, decorators: [{
|
|
2449
2479
|
type: Component,
|
|
@@ -2451,11 +2481,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2451
2481
|
<ng-content select="[slot=top]"></ng-content>
|
|
2452
2482
|
<div class="tabs-inner" #tabsInner>
|
|
2453
2483
|
<ion-router-outlet
|
|
2484
|
+
*ngIf="tabs.length === 0"
|
|
2454
2485
|
#outlet
|
|
2455
2486
|
tabs="true"
|
|
2456
2487
|
(stackWillChange)="onStackWillChange($event)"
|
|
2457
2488
|
(stackDidChange)="onStackDidChange($event)"
|
|
2458
2489
|
></ion-router-outlet>
|
|
2490
|
+
<ng-content *ngIf="tabs.length > 0" select="ion-tab"></ng-content>
|
|
2459
2491
|
</div>
|
|
2460
2492
|
<ng-content></ng-content>
|
|
2461
2493
|
`, styles: [":host{display:flex;position:absolute;inset:0;flex-direction:column;width:100%;height:100%;contain:layout size style}.tabs-inner{position:relative;flex:1;contain:layout size style}\n"] }]
|
|
@@ -2468,6 +2500,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2468
2500
|
}], tabBars: [{
|
|
2469
2501
|
type: ContentChildren,
|
|
2470
2502
|
args: [IonTabBar]
|
|
2503
|
+
}], tabs: [{
|
|
2504
|
+
type: ContentChildren,
|
|
2505
|
+
args: [IonTab]
|
|
2471
2506
|
}] } });
|
|
2472
2507
|
|
|
2473
2508
|
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
@@ -2808,7 +2843,7 @@ const appInitialize = (config, doc, zone) => {
|
|
|
2808
2843
|
const aelFn = '__zone_symbol__addEventListener' in doc.body ? '__zone_symbol__addEventListener' : 'addEventListener';
|
|
2809
2844
|
return applyPolyfills().then(() => {
|
|
2810
2845
|
return defineCustomElements(win, {
|
|
2811
|
-
exclude: ['ion-tabs'
|
|
2846
|
+
exclude: ['ion-tabs'],
|
|
2812
2847
|
syncQueue: true,
|
|
2813
2848
|
raf,
|
|
2814
2849
|
jmp: (h) => zone.runOutsideAngular(h),
|
|
@@ -2897,6 +2932,7 @@ const DIRECTIVES = [
|
|
|
2897
2932
|
IonSkeletonText,
|
|
2898
2933
|
IonSpinner,
|
|
2899
2934
|
IonSplitPane,
|
|
2935
|
+
IonTab,
|
|
2900
2936
|
IonTabBar,
|
|
2901
2937
|
IonTabButton,
|
|
2902
2938
|
IonText,
|
|
@@ -2951,7 +2987,7 @@ class IonicModule {
|
|
|
2951
2987
|
};
|
|
2952
2988
|
}
|
|
2953
2989
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: IonicModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2954
|
-
/** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: IonicModule, declarations: [IonAccordion, IonAccordionGroup, IonActionSheet, IonAlert, IonApp, IonAvatar, IonBackdrop, IonBadge, IonBreadcrumb, IonBreadcrumbs, IonButton, IonButtons, IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle, IonCheckbox, IonChip, IonCol, IonContent, IonDatetime, IonDatetimeButton, IonFab, IonFabButton, IonFabList, IonFooter, IonGrid, IonHeader, IonIcon, IonImg, IonInfiniteScroll, IonInfiniteScrollContent, IonInput, IonInputPasswordToggle, IonItem, IonItemDivider, IonItemGroup, IonItemOption, IonItemOptions, IonItemSliding, IonLabel, IonList, IonListHeader, IonLoading, IonMenu, IonMenuButton, IonMenuToggle, IonNavLink, IonNote, IonPicker, IonPickerColumn, IonPickerColumnOption, IonPickerLegacy, IonProgressBar, IonRadio, IonRadioGroup, IonRange, IonRefresher, IonRefresherContent, IonReorder, IonReorderGroup, IonRippleEffect, IonRow, IonSearchbar, IonSegment, IonSegmentButton, IonSelect, IonSelectOption, IonSkeletonText, IonSpinner, IonSplitPane, IonTabBar, IonTabButton, IonText, IonTextarea, IonThumbnail, IonTitle, IonToast, IonToggle, IonToolbar,
|
|
2990
|
+
/** @nocollapse */ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: IonicModule, declarations: [IonAccordion, IonAccordionGroup, IonActionSheet, IonAlert, IonApp, IonAvatar, IonBackdrop, IonBadge, IonBreadcrumb, IonBreadcrumbs, IonButton, IonButtons, IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle, IonCheckbox, IonChip, IonCol, IonContent, IonDatetime, IonDatetimeButton, IonFab, IonFabButton, IonFabList, IonFooter, IonGrid, IonHeader, IonIcon, IonImg, IonInfiniteScroll, IonInfiniteScrollContent, IonInput, IonInputPasswordToggle, IonItem, IonItemDivider, IonItemGroup, IonItemOption, IonItemOptions, IonItemSliding, IonLabel, IonList, IonListHeader, IonLoading, IonMenu, IonMenuButton, IonMenuToggle, IonNavLink, IonNote, IonPicker, IonPickerColumn, IonPickerColumnOption, IonPickerLegacy, IonProgressBar, IonRadio, IonRadioGroup, IonRange, IonRefresher, IonRefresherContent, IonReorder, IonReorderGroup, IonRippleEffect, IonRow, IonSearchbar, IonSegment, IonSegmentButton, IonSelect, IonSelectOption, IonSkeletonText, IonSpinner, IonSplitPane, IonTab, IonTabBar, IonTabButton, IonText, IonTextarea, IonThumbnail, IonTitle, IonToast, IonToggle, IonToolbar,
|
|
2955
2991
|
// manual proxies
|
|
2956
2992
|
IonModal,
|
|
2957
2993
|
IonPopover,
|
|
@@ -2969,7 +3005,7 @@ class IonicModule {
|
|
|
2969
3005
|
RouterLinkWithHrefDelegateDirective,
|
|
2970
3006
|
// validators
|
|
2971
3007
|
IonMinValidator,
|
|
2972
|
-
IonMaxValidator], imports: [CommonModule], exports: [IonAccordion, IonAccordionGroup, IonActionSheet, IonAlert, IonApp, IonAvatar, IonBackdrop, IonBadge, IonBreadcrumb, IonBreadcrumbs, IonButton, IonButtons, IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle, IonCheckbox, IonChip, IonCol, IonContent, IonDatetime, IonDatetimeButton, IonFab, IonFabButton, IonFabList, IonFooter, IonGrid, IonHeader, IonIcon, IonImg, IonInfiniteScroll, IonInfiniteScrollContent, IonInput, IonInputPasswordToggle, IonItem, IonItemDivider, IonItemGroup, IonItemOption, IonItemOptions, IonItemSliding, IonLabel, IonList, IonListHeader, IonLoading, IonMenu, IonMenuButton, IonMenuToggle, IonNavLink, IonNote, IonPicker, IonPickerColumn, IonPickerColumnOption, IonPickerLegacy, IonProgressBar, IonRadio, IonRadioGroup, IonRange, IonRefresher, IonRefresherContent, IonReorder, IonReorderGroup, IonRippleEffect, IonRow, IonSearchbar, IonSegment, IonSegmentButton, IonSelect, IonSelectOption, IonSkeletonText, IonSpinner, IonSplitPane, IonTabBar, IonTabButton, IonText, IonTextarea, IonThumbnail, IonTitle, IonToast, IonToggle, IonToolbar,
|
|
3008
|
+
IonMaxValidator], imports: [CommonModule], exports: [IonAccordion, IonAccordionGroup, IonActionSheet, IonAlert, IonApp, IonAvatar, IonBackdrop, IonBadge, IonBreadcrumb, IonBreadcrumbs, IonButton, IonButtons, IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle, IonCheckbox, IonChip, IonCol, IonContent, IonDatetime, IonDatetimeButton, IonFab, IonFabButton, IonFabList, IonFooter, IonGrid, IonHeader, IonIcon, IonImg, IonInfiniteScroll, IonInfiniteScrollContent, IonInput, IonInputPasswordToggle, IonItem, IonItemDivider, IonItemGroup, IonItemOption, IonItemOptions, IonItemSliding, IonLabel, IonList, IonListHeader, IonLoading, IonMenu, IonMenuButton, IonMenuToggle, IonNavLink, IonNote, IonPicker, IonPickerColumn, IonPickerColumnOption, IonPickerLegacy, IonProgressBar, IonRadio, IonRadioGroup, IonRange, IonRefresher, IonRefresherContent, IonReorder, IonReorderGroup, IonRippleEffect, IonRow, IonSearchbar, IonSegment, IonSegmentButton, IonSelect, IonSelectOption, IonSkeletonText, IonSpinner, IonSplitPane, IonTab, IonTabBar, IonTabButton, IonText, IonTextarea, IonThumbnail, IonTitle, IonToast, IonToggle, IonToolbar,
|
|
2973
3009
|
// manual proxies
|
|
2974
3010
|
IonModal,
|
|
2975
3011
|
IonPopover,
|
|
@@ -3006,5 +3042,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
3006
3042
|
* Generated bundle index. Do not edit.
|
|
3007
3043
|
*/
|
|
3008
3044
|
|
|
3009
|
-
export { ActionSheetController, AlertController, AnimationController, BooleanValueAccessorDirective as BooleanValueAccessor, GestureController, ION_MAX_VALIDATOR, ION_MIN_VALIDATOR, IonAccordion, IonAccordionGroup, IonActionSheet, IonAlert, IonApp, IonAvatar, IonBackButton, IonBackdrop, IonBadge, IonBreadcrumb, IonBreadcrumbs, IonButton, IonButtons, IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle, IonCheckbox, IonChip, IonCol, IonContent, IonDatetime, IonDatetimeButton, IonFab, IonFabButton, IonFabList, IonFooter, IonGrid, IonHeader, IonIcon, IonImg, IonInfiniteScroll, IonInfiniteScrollContent, IonInput, IonInputPasswordToggle, IonItem, IonItemDivider, IonItemGroup, IonItemOption, IonItemOptions, IonItemSliding, IonLabel, IonList, IonListHeader, IonLoading, IonMaxValidator, IonMenu, IonMenuButton, IonMenuToggle, IonMinValidator, IonModal, IonNav, IonNavLink, IonNote, IonPicker, IonPickerColumn, IonPickerColumnOption, IonPickerLegacy, IonPopover, IonProgressBar, IonRadio, IonRadioGroup, IonRange, IonRefresher, IonRefresherContent, IonReorder, IonReorderGroup, IonRippleEffect, IonRouterOutlet, IonRow, IonSearchbar, IonSegment, IonSegmentButton, IonSelect, IonSelectOption, IonSkeletonText, IonSpinner, IonSplitPane, IonTabBar, IonTabButton, IonTabs, IonText, IonTextarea, IonThumbnail, IonTitle, IonToast, IonToggle, IonToolbar, IonicModule, LoadingController, MenuController, ModalController, NumericValueAccessorDirective as NumericValueAccessor, PickerController, PopoverController, RouterLinkDelegateDirective as RouterLinkDelegate, RouterLinkWithHrefDelegateDirective as RouterLinkWithHrefDelegate, SelectValueAccessorDirective as SelectValueAccessor, TextValueAccessorDirective as TextValueAccessor, ToastController };
|
|
3045
|
+
export { ActionSheetController, AlertController, AnimationController, BooleanValueAccessorDirective as BooleanValueAccessor, GestureController, ION_MAX_VALIDATOR, ION_MIN_VALIDATOR, IonAccordion, IonAccordionGroup, IonActionSheet, IonAlert, IonApp, IonAvatar, IonBackButton, IonBackdrop, IonBadge, IonBreadcrumb, IonBreadcrumbs, IonButton, IonButtons, IonCard, IonCardContent, IonCardHeader, IonCardSubtitle, IonCardTitle, IonCheckbox, IonChip, IonCol, IonContent, IonDatetime, IonDatetimeButton, IonFab, IonFabButton, IonFabList, IonFooter, IonGrid, IonHeader, IonIcon, IonImg, IonInfiniteScroll, IonInfiniteScrollContent, IonInput, IonInputPasswordToggle, IonItem, IonItemDivider, IonItemGroup, IonItemOption, IonItemOptions, IonItemSliding, IonLabel, IonList, IonListHeader, IonLoading, IonMaxValidator, IonMenu, IonMenuButton, IonMenuToggle, IonMinValidator, IonModal, IonNav, IonNavLink, IonNote, IonPicker, IonPickerColumn, IonPickerColumnOption, IonPickerLegacy, IonPopover, IonProgressBar, IonRadio, IonRadioGroup, IonRange, IonRefresher, IonRefresherContent, IonReorder, IonReorderGroup, IonRippleEffect, IonRouterOutlet, IonRow, IonSearchbar, IonSegment, IonSegmentButton, IonSelect, IonSelectOption, IonSkeletonText, IonSpinner, IonSplitPane, IonTab, IonTabBar, IonTabButton, IonTabs, IonText, IonTextarea, IonThumbnail, IonTitle, IonToast, IonToggle, IonToolbar, IonicModule, LoadingController, MenuController, ModalController, NumericValueAccessorDirective as NumericValueAccessor, PickerController, PopoverController, RouterLinkDelegateDirective as RouterLinkDelegate, RouterLinkWithHrefDelegateDirective as RouterLinkWithHrefDelegate, SelectValueAccessorDirective as SelectValueAccessor, TextValueAccessorDirective as TextValueAccessor, ToastController };
|
|
3010
3046
|
//# sourceMappingURL=ionic-angular.mjs.map
|