@frui.ts/screens
Advanced tools
Comparing version 0.15.0-alpha.1 to 0.15.0-alpha.2
@@ -10,3 +10,3 @@ import ConductorBase from "./conductorBase"; | ||
protected onActivate(): Promise<any[]>; | ||
protected onDeactivate(close: boolean): Promise<void>; | ||
protected onDeactivate(isClosing: boolean): Promise<void>; | ||
protected connectChild(child: TChild): void; | ||
@@ -13,0 +13,0 @@ protected findNavigationChild(name: string): Promise<TChild | undefined> | TChild | undefined; |
@@ -148,3 +148,3 @@ "use strict"; | ||
}; | ||
ConductorAllChildrenActive.prototype.onDeactivate = function (close) { | ||
ConductorAllChildrenActive.prototype.onDeactivate = function (isClosing) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
@@ -163,3 +163,3 @@ var _a, _b, child, e_2_1; | ||
if (!helpers_2.isDeactivatable(child)) return [3, 3]; | ||
return [4, child.deactivate(close)]; | ||
return [4, child.deactivate(isClosing)]; | ||
case 2: | ||
@@ -183,3 +183,3 @@ _d.sent(); | ||
case 7: | ||
if (close) { | ||
if (isClosing) { | ||
this.children.clear(); | ||
@@ -186,0 +186,0 @@ } |
@@ -24,3 +24,3 @@ import { NavigationPath } from "../navigation/navigationPath"; | ||
protected onActivate(): Promise<any> | void; | ||
protected onDeactivate(close: boolean): Promise<any> | void; | ||
protected onDeactivate(isClosing: boolean): Promise<any> | void; | ||
protected get canBeNavigationActiveScreen(): boolean; | ||
@@ -27,0 +27,0 @@ protected notifyNavigationChanged(): void; |
@@ -170,3 +170,3 @@ "use strict"; | ||
ScreenBase.prototype.onActivate = function () { }; | ||
ScreenBase.prototype.onDeactivate = function (close) { }; | ||
ScreenBase.prototype.onDeactivate = function (isClosing) { }; | ||
Object.defineProperty(ScreenBase.prototype, "canBeNavigationActiveScreen", { | ||
@@ -173,0 +173,0 @@ get: function () { |
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "0.15.0-alpha.1", | ||
"version": "0.15.0-alpha.2", | ||
"description": "Frui.ts core classes for application structure and navigation", | ||
@@ -38,3 +38,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@frui.ts/helpers": "^0.15.0-alpha.1", | ||
"@frui.ts/helpers": "^0.15.0-alpha.2", | ||
"query-string": "^6.9.0", | ||
@@ -49,3 +49,3 @@ "route-parser": "^0.0.5" | ||
}, | ||
"gitHead": "cacc87f118565a66e67579070fb8186820e097b5" | ||
"gitHead": "c284a116ec1f9f17be366936544e2a07bae554b6" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
152931