-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(): restructure components to loosen coupling, move overlay-p…
…ortal, click-block, menu-controller and other app-level functionality to app directory. The motivation for this change is logical grouping, decoupling components from each other, and improving the ability to drop more unused components from bundle
- Loading branch information
1 parent
83509db
commit 59eb9a3
Showing
92 changed files
with
475 additions
and
1,650 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import { Animation } from '../../animations/animation'; | ||
|
||
export interface Menu { | ||
setOpen(shouldOpen: boolean, animated: boolean): Promise<boolean>; | ||
open(): Promise<boolean>; | ||
close(): Promise<boolean>; | ||
toggle(): Promise<boolean>; | ||
enable(shouldEnable: boolean, menuId?: string): Menu; | ||
swipeEnable(shouldEnable: boolean): Menu; | ||
isOpen: boolean; | ||
enabled: boolean; | ||
side: string; | ||
id: string; | ||
isAnimating(): boolean; | ||
width(): number; | ||
getContentElement(): HTMLElement; | ||
getMenuElement(): HTMLElement; | ||
getBackdropElement(): HTMLElement; | ||
_canOpen(): boolean; | ||
persistent: boolean; | ||
}; | ||
|
||
export interface MenuType { | ||
ani: Animation; | ||
isOpening: boolean; | ||
setOpen(shouldOpen: boolean, animated: boolean, done: Function): void; | ||
setProgressStart(isOpen: boolean): void; | ||
setProgessStep(stepValue: number): void; | ||
setProgressEnd(shouldComplete: boolean, currentStepValue: number, velocity: number, done: Function): void; | ||
destroy(): void; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,5 +12,6 @@ import { Directive } from '@angular/core'; | |
selector: 'ion-avatar' | ||
}) | ||
export class Avatar { | ||
|
||
constructor() { | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.