@ionic/angular 7.6.2-dev.11704998705.1e1f9850 → 7.6.2-dev.11705694334.11b34c62

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.
Files changed (40) hide show
  1. package/common/directives/navigation/router-outlet.d.ts +3 -4
  2. package/css/core.css +34 -101
  3. package/css/core.css.map +1 -1
  4. package/css/global.bundle.css +1 -1
  5. package/css/ionic.bundle.css +1 -1
  6. package/css/ionic.bundle.css.map +1 -1
  7. package/css/typography.css +1 -1
  8. package/directives/navigation/ion-router-outlet.d.ts +4 -12
  9. package/directives/proxies.d.ts +1 -1
  10. package/esm2020/common/directives/navigation/router-outlet.mjs +6 -15
  11. package/esm2020/common/directives/navigation/stack-controller.mjs +4 -1
  12. package/esm2020/directives/navigation/ion-router-outlet.mjs +9 -13
  13. package/esm2020/directives/navigation/ion-tabs.mjs +1 -1
  14. package/esm2020/directives/proxies.mjs +4 -4
  15. package/esm2020/standalone/directives/proxies.mjs +4 -4
  16. package/esm2020/standalone/navigation/router-outlet.mjs +9 -13
  17. package/esm2020/standalone/navigation/tabs.mjs +1 -1
  18. package/fesm2015/ionic-angular-common.mjs +8 -14
  19. package/fesm2015/ionic-angular-common.mjs.map +1 -1
  20. package/fesm2015/ionic-angular-standalone.mjs +12 -16
  21. package/fesm2015/ionic-angular-standalone.mjs.map +1 -1
  22. package/fesm2015/ionic-angular.mjs +12 -16
  23. package/fesm2015/ionic-angular.mjs.map +1 -1
  24. package/fesm2020/ionic-angular-common.mjs +8 -14
  25. package/fesm2020/ionic-angular-common.mjs.map +1 -1
  26. package/fesm2020/ionic-angular-standalone.mjs +12 -16
  27. package/fesm2020/ionic-angular-standalone.mjs.map +1 -1
  28. package/fesm2020/ionic-angular.mjs +12 -16
  29. package/fesm2020/ionic-angular.mjs.map +1 -1
  30. package/package.json +2 -2
  31. package/standalone/directives/proxies.d.ts +1 -1
  32. package/standalone/navigation/router-outlet.d.ts +4 -12
  33. package/css/themes/dark.always.css +0 -122
  34. package/css/themes/dark.always.css.map +0 -1
  35. package/css/themes/dark.class.css +0 -122
  36. package/css/themes/dark.class.css.map +0 -1
  37. package/css/themes/dark.css +0 -3
  38. package/css/themes/dark.css.map +0 -1
  39. package/css/themes/dark.system.css +0 -124
  40. package/css/themes/dark.system.css.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { __decorate } from 'tslib';
2
2
  import * as i0 from '@angular/core';
3
- import { ViewContainerRef, Component, Attribute, Optional, SkipSelf, ViewChild, ChangeDetectionStrategy, Directive, ContentChild, ContentChildren, inject, Injector, EnvironmentInjector, Injectable, APP_INITIALIZER, forwardRef, HostListener } from '@angular/core';
3
+ import { Directive, Attribute, Optional, SkipSelf, Component, ChangeDetectionStrategy, ViewChild, ContentChild, ContentChildren, inject, Injector, EnvironmentInjector, Injectable, APP_INITIALIZER, forwardRef, HostListener } from '@angular/core';
4
4
  import * as i2$1 from '@ionic/angular/common';
5
5
  import { IonRouterOutlet as IonRouterOutlet$1, ProxyCmp as ProxyCmp$1, IonBackButton as IonBackButton$1, IonModal as IonModal$1, IonPopover as IonPopover$1, RouterLinkDelegateDirective, RouterLinkWithHrefDelegateDirective, IonTabs as IonTabs$1, OverlayBaseController, AngularDelegate, ConfigToken, provideComponentInputBinding, MenuController as MenuController$1, IonNav as IonNav$1, ValueAccessor, setIonicClasses } from '@ionic/angular/common';
6
6
  export { Config, DomController, IonicRouteStrategy, NavController, NavParams, Platform } from '@ionic/angular/common';
@@ -104,24 +104,23 @@ let IonRouterOutlet = class IonRouterOutlet extends IonRouterOutlet$1 {
104
104
  * This results in APIs such as NavController.pop not working
105
105
  * in nested outlets because the parent outlet cannot be found.
106
106
  */
107
- constructor(name, tabs, commonLocation, elementRef, router, zone, activatedRoute, outletContent, parentOutlet) {
108
- super(name, tabs, commonLocation, elementRef, router, zone, activatedRoute, outletContent, parentOutlet);
107
+ constructor(name, tabs, commonLocation, elementRef, router, zone, activatedRoute, parentOutlet) {
108
+ super(name, tabs, commonLocation, elementRef, router, zone, activatedRoute, parentOutlet);
109
109
  this.parentOutlet = parentOutlet;
110
110
  }
111
111
  };
112
- /** @nocollapse */ IonRouterOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRouterOutlet, deps: [{ token: 'name', attribute: true }, { token: 'tabs', attribute: true, optional: true }, { token: i1.Location }, { token: i0.ElementRef }, { token: i2.Router }, { token: i0.NgZone }, { token: i2.ActivatedRoute }, { token: i0.ViewContainerRef }, { token: IonRouterOutlet, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
113
- /** @nocollapse */ IonRouterOutlet.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: IonRouterOutlet, isStandalone: true, selector: "ion-router-outlet", viewQueries: [{ propertyName: "outletContent", first: true, predicate: ["outletContent"], descendants: true, read: ViewContainerRef, static: true }], usesInheritance: true, ngImport: i0, template: '<ng-container #outletContent><ng-content></ng-content></ng-container>', isInline: true });
112
+ /** @nocollapse */ IonRouterOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRouterOutlet, deps: [{ token: 'name', attribute: true }, { token: 'tabs', attribute: true, optional: true }, { token: i1.Location }, { token: i0.ElementRef }, { token: i2.Router }, { token: i0.NgZone }, { token: i2.ActivatedRoute }, { token: IonRouterOutlet, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Directive });
113
+ /** @nocollapse */ IonRouterOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: IonRouterOutlet, isStandalone: true, selector: "ion-router-outlet", usesInheritance: true, ngImport: i0 });
114
114
  IonRouterOutlet = __decorate([
115
115
  ProxyCmp$1({
116
116
  defineCustomElementFn: defineCustomElement$1,
117
117
  })
118
118
  ], IonRouterOutlet);
119
119
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonRouterOutlet, decorators: [{
120
- type: Component,
120
+ type: Directive,
121
121
  args: [{
122
122
  selector: 'ion-router-outlet',
123
123
  standalone: true,
124
- template: '<ng-container #outletContent><ng-content></ng-content></ng-container>',
125
124
  }]
126
125
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
127
126
  type: Attribute,
@@ -131,14 +130,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
131
130
  }, {
132
131
  type: Attribute,
133
132
  args: ['tabs']
134
- }] }, { type: i1.Location }, { type: i0.ElementRef }, { type: i2.Router }, { type: i0.NgZone }, { type: i2.ActivatedRoute }, { type: i0.ViewContainerRef }, { type: IonRouterOutlet, decorators: [{
133
+ }] }, { type: i1.Location }, { type: i0.ElementRef }, { type: i2.Router }, { type: i0.NgZone }, { type: i2.ActivatedRoute }, { type: IonRouterOutlet, decorators: [{
135
134
  type: SkipSelf
136
135
  }, {
137
136
  type: Optional
138
- }] }]; }, propDecorators: { outletContent: [{
139
- type: ViewChild,
140
- args: ['outletContent', { read: ViewContainerRef, static: true }]
141
- }] } });
137
+ }] }]; } });
142
138
 
143
139
  let IonBackButton = class IonBackButton extends IonBackButton$1 {
144
140
  constructor(routerOutlet, navCtrl, config, r, z, c) {
@@ -1223,11 +1219,11 @@ let IonItemSliding = class IonItemSliding {
1223
1219
  }
1224
1220
  };
1225
1221
  /** @nocollapse */ IonItemSliding.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonItemSliding, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
1226
- /** @nocollapse */ IonItemSliding.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: IonItemSliding, isStandalone: true, selector: "ion-item-sliding", inputs: { disabled: "disabled" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1222
+ /** @nocollapse */ IonItemSliding.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: IonItemSliding, isStandalone: true, selector: "ion-item-sliding", inputs: { animationType: "animationType", disabled: "disabled" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
1227
1223
  IonItemSliding = __decorate([
1228
1224
  ProxyCmp({
1229
1225
  defineCustomElementFn: defineCustomElement$E,
1230
- inputs: ['disabled'],
1226
+ inputs: ['animationType', 'disabled'],
1231
1227
  methods: ['getOpenAmount', 'getSlidingRatio', 'open', 'close', 'closeOpened']
1232
1228
  })
1233
1229
  ], IonItemSliding);
@@ -1238,7 +1234,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
1238
1234
  changeDetection: ChangeDetectionStrategy.OnPush,
1239
1235
  template: '<ng-content></ng-content>',
1240
1236
  // eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
1241
- inputs: ['disabled'],
1237
+ inputs: ['animationType', 'disabled'],
1242
1238
  standalone: true
1243
1239
  }]
1244
1240
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }]; } });
@@ -2131,7 +2127,7 @@ class IonTabs extends IonTabs$1 {
2131
2127
  ></ion-router-outlet>
2132
2128
  </div>
2133
2129
  <ng-content></ng-content>
2134
- `, 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" }] });
2130
+ `, 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: IonRouterOutlet, selector: "ion-router-outlet" }] });
2135
2131
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: IonTabs, decorators: [{
2136
2132
  type: Component,
2137
2133
  args: [{ selector: 'ion-tabs', template: `