@acorex/components 5.0.54 → 5.0.57

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.
@@ -0,0 +1,15 @@
1
+ import { ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
2
+ import { AXBaseComponent, AXButtonClickEvent, AXStyleColorType } from '../base';
3
+ import * as i0 from "@angular/core";
4
+ export declare class AXActionSheetItemComponent extends AXBaseComponent {
5
+ text: string;
6
+ color: AXStyleColorType;
7
+ onClick: EventEmitter<AXButtonClickEvent>;
8
+ /**
9
+ * @ignore
10
+ */
11
+ constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef);
12
+ handleOnClick(e: any): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXActionSheetItemComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXActionSheetItemComponent, "ax-action-sheet-item", never, { "text": "text"; "color": "color"; }, { "onClick": "onClick"; }, never, never>;
15
+ }
@@ -0,0 +1,20 @@
1
+ import { ChangeDetectorRef, ElementRef } from '@angular/core';
2
+ import { AXBaseComponent } from '../base';
3
+ import * as i0 from "@angular/core";
4
+ export declare class AXActionSheetComponent extends AXBaseComponent {
5
+ caption: string;
6
+ closeOnBackdrop: boolean;
7
+ isOpen: boolean;
8
+ _backdrop: HTMLElement;
9
+ /**
10
+ * @ignore
11
+ */
12
+ constructor(_elementRef: ElementRef, _cdr: ChangeDetectorRef);
13
+ _handleBackdropClick(): void;
14
+ ngAfterViewInit(): void;
15
+ open(): void;
16
+ close(): void;
17
+ toggle(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXActionSheetComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXActionSheetComponent, "ax-action-sheet", never, { "caption": "caption"; "closeOnBackdrop": "closeOnBackdrop"; }, {}, never, ["ax-content", "ax-action-sheet-item"]>;
20
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./action-sheet.component";
3
+ import * as i2 from "./action-sheet-item.component";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "../drawer/drawer.module";
6
+ import * as i5 from "../button/button.module";
7
+ export declare class AXActionSheetModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXActionSheetModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXActionSheetModule, [typeof i1.AXActionSheetComponent, typeof i2.AXActionSheetItemComponent], [typeof i3.CommonModule, typeof i4.AXDrawerModule, typeof i5.AXButtonModule], [typeof i1.AXActionSheetComponent, typeof i2.AXActionSheetItemComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXActionSheetModule>;
11
+ }
@@ -0,0 +1,3 @@
1
+ export * from './action-sheet.component';
2
+ export * from './action-sheet-item.component';
3
+ export * from './action-sheet.module';
@@ -9,5 +9,5 @@ export declare class AXDrawerContainerComponent extends AXBaseComponentMixin {
9
9
  onViewInit(): void;
10
10
  private _updateWidth;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<AXDrawerContainerComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<AXDrawerContainerComponent, "ax-drawer-container", never, { "rtl": "rtl"; }, {}, ["drawers"], ["ax-drawer[location='start']", "ax-drawer-content", "ax-drawer[location='end']"]>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<AXDrawerContainerComponent, "ax-drawer-container", never, { "rtl": "rtl"; }, {}, ["drawers"], ["ax-drawer[location='top']", "ax-drawer[location='start']", "ax-drawer-content", "ax-drawer[location='end']", "ax-drawer[location='bottom']"]>;
13
13
  }
@@ -8,12 +8,13 @@ export declare class AXDrawerComponent extends AXBaseComponentMixin {
8
8
  onChanged: EventEmitter<AXEvent>;
9
9
  mode: 'push' | 'overlay';
10
10
  _currentMode: 'push' | 'overlay';
11
- location: 'start' | 'end';
11
+ location: 'start' | 'end' | 'top' | 'bottom';
12
12
  private _backdrop;
13
13
  private _collapsed;
14
14
  get collapsed(): boolean;
15
15
  set collapsed(v: boolean);
16
16
  onInit(): void;
17
+ private _setLocation;
17
18
  private _updateClass;
18
19
  onViewInit(): void;
19
20
  toggle(): void;
@@ -1,6 +1,7 @@
1
- import { EventEmitter } from '@angular/core';
1
+ import { ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
2
2
  import { AXEvent } from '../base/events.class';
3
3
  import { AXPageFooterComponent } from './page-footer.component';
4
+ import { AXBaseComponentMixin } from '../base';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare const TAB_META_KEY = "__meta__";
6
7
  export declare class AXPageCloseEvent extends AXEvent {
@@ -22,9 +23,14 @@ export declare class AXPageClosedPromise extends Promise<AXPageResult> {
22
23
  constructor(executor: (resolve: (value?: AXPageResult | PromiseLike<AXPageResult>) => void, reject: (reason?: any) => void) => void);
23
24
  close(): void;
24
25
  }
25
- export declare class AXBasePageComponent {
26
+ export declare class AXBasePageComponent extends AXBaseComponentMixin {
27
+ /**
28
+ * @ignore
29
+ */
30
+ constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
26
31
  private pageContainer;
27
32
  footer: AXPageFooterComponent;
33
+ isLoadingChange: EventEmitter<boolean>;
28
34
  private _isLoading;
29
35
  get isLoading(): boolean;
30
36
  set isLoading(v: boolean);
@@ -1,10 +1,11 @@
1
- import { ChangeDetectorRef, ElementRef } from "@angular/core";
1
+ import { ChangeDetectorRef, ElementRef, EventEmitter } from "@angular/core";
2
2
  import { AXBaseComponentMixin } from "../base";
3
3
  import * as i0 from "@angular/core";
4
4
  export declare abstract class AXPageComponent extends AXBaseComponentMixin {
5
5
  private _loadingService;
6
6
  constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, _loadingService: any);
7
7
  private _loadingId;
8
+ isLoadingChange: EventEmitter<boolean>;
8
9
  private _isLoading;
9
10
  get isLoading(): boolean;
10
11
  set isLoading(v: boolean);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acorex/components",
3
- "version": "5.0.54",
3
+ "version": "5.0.57",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.3.2",
6
6
  "@angular/core": "^13.3.2",
package/public-api.d.ts CHANGED
@@ -2,6 +2,7 @@
2
2
  * Public API refrences of components
3
3
  * @module @acorex/components
4
4
  */
5
+ export * from "./lib/action-sheet";
5
6
  export * from "./lib/alert";
6
7
  export * from "./lib/avatar";
7
8
  export * from "./lib/badge";