@noldova/browser.window 0.0.0-stage → 0.0.2
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/LICENSE +21 -0
- package/README.md +6 -2
- package/package.json +62 -4
- package/src/api/index.d.ts +1922 -0
- package/src/api/index.js +33 -0
- package/src/api/index.js.map +1 -0
- package/src/app/components/agent-bar/agent-bar.component.js +42 -0
- package/src/app/components/agent-bar/agent-bar.component.js.map +1 -0
- package/src/app/components/agent-mark/agent-mark.component.js +58 -0
- package/src/app/components/agent-mark/agent-mark.component.js.map +1 -0
- package/src/app/components/clear-data-dialog/clear-data-dialog.component.js +23 -0
- package/src/app/components/clear-data-dialog/clear-data-dialog.component.js.map +1 -0
- package/src/app/components/page/page.component.js +264 -0
- package/src/app/components/page/page.component.js.map +1 -0
- package/src/app/components/page-state/page-state.component.js +100 -0
- package/src/app/components/page-state/page-state.component.js.map +1 -0
- package/src/app/components/pane-toolbar/pane-toolbar.component.js +295 -0
- package/src/app/components/pane-toolbar/pane-toolbar.component.js.map +1 -0
- package/src/app/components/request-notice/request-notice.component.js +73 -0
- package/src/app/components/request-notice/request-notice.component.js.map +1 -0
- package/src/app/enums/address-refusal.js +18 -0
- package/src/app/enums/address-refusal.js.map +1 -0
- package/src/app/enums/page-state-action.js +17 -0
- package/src/app/enums/page-state-action.js.map +1 -0
- package/src/app/enums/pane-state.js +17 -0
- package/src/app/enums/pane-state.js.map +1 -0
- package/src/app/enums/refused-request.js +17 -0
- package/src/app/enums/refused-request.js.map +1 -0
- package/src/app/enums/view-event-kind.js +20 -0
- package/src/app/enums/view-event-kind.js.map +1 -0
- package/src/app/enums/zoom-step.js +13 -0
- package/src/app/enums/zoom-step.js.map +1 -0
- package/src/app/exceptions/app-name-answer-malformed.exception.js +16 -0
- package/src/app/exceptions/app-name-answer-malformed.exception.js.map +1 -0
- package/src/app/exceptions/browser-window.exception.js +14 -0
- package/src/app/exceptions/browser-window.exception.js.map +1 -0
- package/src/app/exceptions/held-pages-answer-malformed.exception.js +16 -0
- package/src/app/exceptions/held-pages-answer-malformed.exception.js.map +1 -0
- package/src/app/exceptions/link-refused.exception.js +18 -0
- package/src/app/exceptions/link-refused.exception.js.map +1 -0
- package/src/app/exceptions/open-page-arguments-invalid.exception.js +16 -0
- package/src/app/exceptions/open-page-arguments-invalid.exception.js.map +1 -0
- package/src/app/exceptions/page-activities-answer-malformed.exception.js +16 -0
- package/src/app/exceptions/page-activities-answer-malformed.exception.js.map +1 -0
- package/src/app/exceptions/page-activity-event-malformed.exception.js +16 -0
- package/src/app/exceptions/page-activity-event-malformed.exception.js.map +1 -0
- package/src/app/exceptions/page-claim-answer-malformed.exception.js +16 -0
- package/src/app/exceptions/page-claim-answer-malformed.exception.js.map +1 -0
- package/src/app/exceptions/page-in-another-window.exception.js +18 -0
- package/src/app/exceptions/page-in-another-window.exception.js.map +1 -0
- package/src/app/exceptions/page-on-other-workspace.exception.js +20 -0
- package/src/app/exceptions/page-on-other-workspace.exception.js.map +1 -0
- package/src/app/exceptions/page-record-answer-malformed.exception.js +16 -0
- package/src/app/exceptions/page-record-answer-malformed.exception.js.map +1 -0
- package/src/app/exceptions/pages-inactive.exception.js +16 -0
- package/src/app/exceptions/pages-inactive.exception.js.map +1 -0
- package/src/app/exceptions/pane-unavailable.exception.js +16 -0
- package/src/app/exceptions/pane-unavailable.exception.js.map +1 -0
- package/src/app/exceptions/runtime-answer-malformed.exception.js +16 -0
- package/src/app/exceptions/runtime-answer-malformed.exception.js.map +1 -0
- package/src/app/exceptions/typed-address-answer-malformed.exception.js +16 -0
- package/src/app/exceptions/typed-address-answer-malformed.exception.js.map +1 -0
- package/src/app/models/page-opening.js +18 -0
- package/src/app/models/page-opening.js.map +1 -0
- package/src/app/models/page-state-text.js +18 -0
- package/src/app/models/page-state-text.js.map +1 -0
- package/src/app/models/pane-states.js +15 -0
- package/src/app/models/pane-states.js.map +1 -0
- package/src/app/models/pane-status.js +99 -0
- package/src/app/models/pane-status.js.map +1 -0
- package/src/app/models/pane-tab.js +29 -0
- package/src/app/models/pane-tab.js.map +1 -0
- package/src/app/models/popup-offer.js +18 -0
- package/src/app/models/popup-offer.js.map +1 -0
- package/src/app/models/read-address.js +17 -0
- package/src/app/models/read-address.js.map +1 -0
- package/src/app/models/refused-page.js +18 -0
- package/src/app/models/refused-page.js.map +1 -0
- package/src/app/models/request-notice.js +18 -0
- package/src/app/models/request-notice.js.map +1 -0
- package/src/app/models/site-list.js +54 -0
- package/src/app/models/site-list.js.map +1 -0
- package/src/app/models/typed-load.js +29 -0
- package/src/app/models/typed-load.js.map +1 -0
- package/src/app/models/view-close-event.js +24 -0
- package/src/app/models/view-close-event.js.map +1 -0
- package/src/app/models/view-crash-event.js +23 -0
- package/src/app/models/view-crash-event.js.map +1 -0
- package/src/app/models/view-event.js +10 -0
- package/src/app/models/view-event.js.map +1 -0
- package/src/app/models/view-key-event.js +25 -0
- package/src/app/models/view-key-event.js.map +1 -0
- package/src/app/models/view-load-failure-event.js +29 -0
- package/src/app/models/view-load-failure-event.js.map +1 -0
- package/src/app/models/view-new-window-event.js +29 -0
- package/src/app/models/view-new-window-event.js.map +1 -0
- package/src/app/models/view-profile-cleared-event.js +25 -0
- package/src/app/models/view-profile-cleared-event.js.map +1 -0
- package/src/app/models/view-refusal-event.js +31 -0
- package/src/app/models/view-refusal-event.js.map +1 -0
- package/src/app/models/view-request-refusal-event.js +27 -0
- package/src/app/models/view-request-refusal-event.js.map +1 -0
- package/src/app/models/view-state-event.js +33 -0
- package/src/app/models/view-state-event.js.map +1 -0
- package/src/app/models/view-zoom-event.js +25 -0
- package/src/app/models/view-zoom-event.js.map +1 -0
- package/src/app/services/address-reader.js +35 -0
- package/src/app/services/address-reader.js.map +1 -0
- package/src/app/services/agent-pages.js +50 -0
- package/src/app/services/agent-pages.js.map +1 -0
- package/src/app/services/browser-window-part.js +46 -0
- package/src/app/services/browser-window-part.js.map +1 -0
- package/src/app/services/link-places.js +49 -0
- package/src/app/services/link-places.js.map +1 -0
- package/src/app/services/local-site-check.js +16 -0
- package/src/app/services/local-site-check.js.map +1 -0
- package/src/app/services/mark-layer.js +51 -0
- package/src/app/services/mark-layer.js.map +1 -0
- package/src/app/services/open-page-arguments.js +35 -0
- package/src/app/services/open-page-arguments.js.map +1 -0
- package/src/app/services/page-answers.js +59 -0
- package/src/app/services/page-answers.js.map +1 -0
- package/src/app/services/page-keys.js +31 -0
- package/src/app/services/page-keys.js.map +1 -0
- package/src/app/services/pages.js +552 -0
- package/src/app/services/pages.js.map +1 -0
- package/src/app/services/pane-controller.js +138 -0
- package/src/app/services/pane-controller.js.map +1 -0
- package/src/app/services/pane-hearing.js +80 -0
- package/src/app/services/pane-hearing.js.map +1 -0
- package/src/app/services/placeholder-tracker.js +33 -0
- package/src/app/services/placeholder-tracker.js.map +1 -0
- package/src/app/services/web-view-event-reader.js +76 -0
- package/src/app/services/web-view-event-reader.js.map +1 -0
- package/src/app/types/address-reading.js +8 -0
- package/src/app/types/address-reading.js.map +1 -0
- package/src/app/types/page-place.js +8 -0
- package/src/app/types/page-place.js.map +1 -0
- package/src/resources.js +372 -0
- package/src/resources.js.map +1 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
export const PageStateAction = {
|
|
9
|
+
TryAgain: "TryAgain",
|
|
10
|
+
CopyAddress: "CopyAddress",
|
|
11
|
+
Back: "Back",
|
|
12
|
+
Reload: "Reload",
|
|
13
|
+
Close: "Close",
|
|
14
|
+
AllowSite: "AllowSite",
|
|
15
|
+
NotNow: "NotNow"
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=page-state-action.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-state-action.js","sourceRoot":"","sources":["../../../../../../src/noldova.browser.window/src/app/enums/page-state-action.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,QAAQ,EAAE,UAAU;IACpB,WAAW,EAAE,aAAa;IAC1B,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;CACR,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
export const PaneState = {
|
|
9
|
+
Empty: "Empty",
|
|
10
|
+
Loading: "Loading",
|
|
11
|
+
Loaded: "Loaded",
|
|
12
|
+
Failed: "Failed",
|
|
13
|
+
Refused: "Refused",
|
|
14
|
+
Crashed: "Crashed",
|
|
15
|
+
Unavailable: "Unavailable"
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=pane-state.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pane-state.js","sourceRoot":"","sources":["../../../../../../src/noldova.browser.window/src/app/enums/pane-state.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;CAClB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
export const RefusedRequest = {
|
|
9
|
+
Download: "Download",
|
|
10
|
+
NewWindow: "NewWindow",
|
|
11
|
+
Permission: "Permission",
|
|
12
|
+
FileChooser: "FileChooser",
|
|
13
|
+
Authentication: "Authentication",
|
|
14
|
+
Certificate: "Certificate",
|
|
15
|
+
NestedView: "NestedView"
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=refused-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refused-request.js","sourceRoot":"","sources":["../../../../../../src/noldova.browser.window/src/app/enums/refused-request.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,QAAQ,EAAE,UAAU;IACpB,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,YAAY;IACxB,WAAW,EAAE,aAAa;IAC1B,cAAc,EAAE,gBAAgB;IAChC,WAAW,EAAE,aAAa;IAC1B,UAAU,EAAE,YAAY;CAChB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
export const ViewEventKind = {
|
|
9
|
+
Closed: "Closed",
|
|
10
|
+
State: "State",
|
|
11
|
+
LoadFailed: "LoadFailed",
|
|
12
|
+
NavigationRefused: "NavigationRefused",
|
|
13
|
+
Crashed: "Crashed",
|
|
14
|
+
ProfileCleared: "ProfileCleared",
|
|
15
|
+
RequestRefused: "RequestRefused",
|
|
16
|
+
NewWindowRequested: "NewWindowRequested",
|
|
17
|
+
Key: "Key",
|
|
18
|
+
Zoom: "Zoom"
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=view-event-kind.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"view-event-kind.js","sourceRoot":"","sources":["../../../../../../src/noldova.browser.window/src/app/enums/view-event-kind.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,MAAM,EAAE,QAAQ;IAChB,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,YAAY;IACxB,iBAAiB,EAAE,mBAAmB;IACtC,OAAO,EAAE,SAAS;IAClB,cAAc,EAAE,gBAAgB;IAChC,cAAc,EAAE,gBAAgB;IAChC,kBAAkB,EAAE,oBAAoB;IACxC,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;CACJ,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
export const ZoomStep = {
|
|
9
|
+
In: "In",
|
|
10
|
+
Out: "Out",
|
|
11
|
+
Reset: "Reset"
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=zoom-step.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zoom-step.js","sourceRoot":"","sources":["../../../../../../src/noldova.browser.window/src/app/enums/zoom-step.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,EAAE,EAAE,IAAI;IACR,GAAG,EAAE,KAAK;IACV,KAAK,EAAE,OAAO;CACN,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { Resources } from "../../resources.js";
|
|
9
|
+
import { RuntimeAnswerMalformedException } from "./runtime-answer-malformed.exception.js";
|
|
10
|
+
export class AppNameAnswerMalformedException extends RuntimeAnswerMalformedException {
|
|
11
|
+
name = "AppNameAnswerMalformedException";
|
|
12
|
+
constructor(path, options) {
|
|
13
|
+
super(Resources.appNameAnswer, path, options);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=app-name-answer-malformed.exception.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-name-answer-malformed.exception.js","sourceRoot":"","sources":["../../../../../../src/noldova.browser.window/src/app/exceptions/app-name-answer-malformed.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAE1F,MAAM,OAAO,+BAAgC,SAAQ,+BAA+B;IACzD,IAAI,GAAW,iCAAiC,CAAC;IAE1E,YAAmB,IAAY,EAAE,OAA0B;QACzD,KAAK,CAAC,SAAS,CAAC,aAAa,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;IAChD,CAAC;CACF"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { Exception } from "@noldova/context.exceptions";
|
|
9
|
+
export class BrowserWindowException extends Exception {
|
|
10
|
+
constructor(message, options) {
|
|
11
|
+
super(message, options);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=browser-window.exception.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"browser-window.exception.js","sourceRoot":"","sources":["../../../../../../src/noldova.browser.window/src/app/exceptions/browser-window.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAyB,MAAM,6BAA6B,CAAC;AAE/E,MAAM,OAAgB,sBAAuB,SAAQ,SAAS;IAC5D,YAAsB,OAAe,EAAE,OAA0B;QAC/D,KAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC1B,CAAC;CACF"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { Resources } from "../../resources.js";
|
|
9
|
+
import { RuntimeAnswerMalformedException } from "./runtime-answer-malformed.exception.js";
|
|
10
|
+
export class HeldPagesAnswerMalformedException extends RuntimeAnswerMalformedException {
|
|
11
|
+
name = "HeldPagesAnswerMalformedException";
|
|
12
|
+
constructor(path, options) {
|
|
13
|
+
super(Resources.heldPagesAnswer, path, options);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=held-pages-answer-malformed.exception.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"held-pages-answer-malformed.exception.js","sourceRoot":"","sources":["../../../../../../src/noldova.browser.window/src/app/exceptions/held-pages-answer-malformed.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAE1F,MAAM,OAAO,iCAAkC,SAAQ,+BAA+B;IAC3D,IAAI,GAAW,mCAAmC,CAAC;IAE5E,YAAmB,IAAY,EAAE,OAA0B;QACzD,KAAK,CAAC,SAAS,CAAC,eAAe,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;IAClD,CAAC;CACF"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { Resources } from "../../resources.js";
|
|
9
|
+
import { BrowserWindowException } from "./browser-window.exception.js";
|
|
10
|
+
export class LinkRefusedException extends BrowserWindowException {
|
|
11
|
+
name = "LinkRefusedException";
|
|
12
|
+
reason;
|
|
13
|
+
constructor(reason) {
|
|
14
|
+
super(Resources.formatLinkRefused(reason));
|
|
15
|
+
this.reason = reason;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=link-refused.exception.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"link-refused.exception.js","sourceRoot":"","sources":["../../../../../../src/noldova.browser.window/src/app/exceptions/link-refused.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAEvE,MAAM,OAAO,oBAAqB,SAAQ,sBAAsB;IACrC,IAAI,GAAW,sBAAsB,CAAC;IAC/C,MAAM,CAAsB;IAE5C,YAAmB,MAA2B;QAC5C,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC;QAE3C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;CACF"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { Resources } from "../../resources.js";
|
|
9
|
+
import { BrowserWindowException } from "./browser-window.exception.js";
|
|
10
|
+
export class OpenPageArgumentsInvalidException extends BrowserWindowException {
|
|
11
|
+
name = "OpenPageArgumentsInvalidException";
|
|
12
|
+
constructor() {
|
|
13
|
+
super(Resources.openPageArguments);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=open-page-arguments-invalid.exception.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"open-page-arguments-invalid.exception.js","sourceRoot":"","sources":["../../../../../../src/noldova.browser.window/src/app/exceptions/open-page-arguments-invalid.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAEvE,MAAM,OAAO,iCAAkC,SAAQ,sBAAsB;IAClD,IAAI,GAAW,mCAAmC,CAAC;IAE5E;QACE,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC;IACrC,CAAC;CACF"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { Resources } from "../../resources.js";
|
|
9
|
+
import { RuntimeAnswerMalformedException } from "./runtime-answer-malformed.exception.js";
|
|
10
|
+
export class PageActivitiesAnswerMalformedException extends RuntimeAnswerMalformedException {
|
|
11
|
+
name = "PageActivitiesAnswerMalformedException";
|
|
12
|
+
constructor(path, options) {
|
|
13
|
+
super(Resources.pageActivitiesAnswer, path, options);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=page-activities-answer-malformed.exception.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-activities-answer-malformed.exception.js","sourceRoot":"","sources":["../../../../../../src/noldova.browser.window/src/app/exceptions/page-activities-answer-malformed.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAE1F,MAAM,OAAO,sCAAuC,SAAQ,+BAA+B;IAChE,IAAI,GAAW,wCAAwC,CAAC;IAEjF,YAAmB,IAAY,EAAE,OAA0B;QACzD,KAAK,CAAC,SAAS,CAAC,oBAAoB,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;IACvD,CAAC;CACF"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { Resources } from "../../resources.js";
|
|
9
|
+
import { RuntimeAnswerMalformedException } from "./runtime-answer-malformed.exception.js";
|
|
10
|
+
export class PageActivityEventMalformedException extends RuntimeAnswerMalformedException {
|
|
11
|
+
name = "PageActivityEventMalformedException";
|
|
12
|
+
constructor(path, options) {
|
|
13
|
+
super(Resources.pageActivityEvent, path, options);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=page-activity-event-malformed.exception.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-activity-event-malformed.exception.js","sourceRoot":"","sources":["../../../../../../src/noldova.browser.window/src/app/exceptions/page-activity-event-malformed.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAE1F,MAAM,OAAO,mCAAoC,SAAQ,+BAA+B;IAC7D,IAAI,GAAW,qCAAqC,CAAC;IAE9E,YAAmB,IAAY,EAAE,OAA0B;QACzD,KAAK,CAAC,SAAS,CAAC,iBAAiB,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;IACpD,CAAC;CACF"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { Resources } from "../../resources.js";
|
|
9
|
+
import { RuntimeAnswerMalformedException } from "./runtime-answer-malformed.exception.js";
|
|
10
|
+
export class PageClaimAnswerMalformedException extends RuntimeAnswerMalformedException {
|
|
11
|
+
name = "PageClaimAnswerMalformedException";
|
|
12
|
+
constructor(path, options) {
|
|
13
|
+
super(Resources.pageClaimAnswer, path, options);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=page-claim-answer-malformed.exception.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-claim-answer-malformed.exception.js","sourceRoot":"","sources":["../../../../../../src/noldova.browser.window/src/app/exceptions/page-claim-answer-malformed.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAE1F,MAAM,OAAO,iCAAkC,SAAQ,+BAA+B;IAC3D,IAAI,GAAW,mCAAmC,CAAC;IAE5E,YAAmB,IAAY,EAAE,OAA0B;QACzD,KAAK,CAAC,SAAS,CAAC,eAAe,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;IAClD,CAAC;CACF"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { Resources } from "../../resources.js";
|
|
9
|
+
import { BrowserWindowException } from "./browser-window.exception.js";
|
|
10
|
+
export class PageInAnotherWindowException extends BrowserWindowException {
|
|
11
|
+
name = "PageInAnotherWindowException";
|
|
12
|
+
instance;
|
|
13
|
+
constructor(instance) {
|
|
14
|
+
super(Resources.formatPageInAnotherWindow(instance));
|
|
15
|
+
this.instance = instance;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=page-in-another-window.exception.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-in-another-window.exception.js","sourceRoot":"","sources":["../../../../../../src/noldova.browser.window/src/app/exceptions/page-in-another-window.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAEvE,MAAM,OAAO,4BAA6B,SAAQ,sBAAsB;IAC7C,IAAI,GAAW,8BAA8B,CAAC;IACvD,QAAQ,CAAS;IAEjC,YAAmB,QAAgB;QACjC,KAAK,CAAC,SAAS,CAAC,yBAAyB,CAAC,QAAQ,CAAC,CAAC,CAAC;QAErD,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;CACF"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { Resources } from "../../resources.js";
|
|
9
|
+
import { BrowserWindowException } from "./browser-window.exception.js";
|
|
10
|
+
export class PageOnOtherWorkspaceException extends BrowserWindowException {
|
|
11
|
+
name = "PageOnOtherWorkspaceException";
|
|
12
|
+
instance;
|
|
13
|
+
profileKey;
|
|
14
|
+
constructor(instance, profileKey) {
|
|
15
|
+
super(Resources.formatPageOnOtherWorkspace(instance));
|
|
16
|
+
this.instance = instance;
|
|
17
|
+
this.profileKey = profileKey;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=page-on-other-workspace.exception.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-on-other-workspace.exception.js","sourceRoot":"","sources":["../../../../../../src/noldova.browser.window/src/app/exceptions/page-on-other-workspace.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAEvE,MAAM,OAAO,6BAA8B,SAAQ,sBAAsB;IAC9C,IAAI,GAAW,+BAA+B,CAAC;IACxD,QAAQ,CAAS;IACjB,UAAU,CAAS;IAEnC,YAAmB,QAAgB,EAAE,UAAkB;QACrD,KAAK,CAAC,SAAS,CAAC,0BAA0B,CAAC,QAAQ,CAAC,CAAC,CAAC;QAEtD,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;IAC/B,CAAC;CACF"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { Resources } from "../../resources.js";
|
|
9
|
+
import { RuntimeAnswerMalformedException } from "./runtime-answer-malformed.exception.js";
|
|
10
|
+
export class PageRecordAnswerMalformedException extends RuntimeAnswerMalformedException {
|
|
11
|
+
name = "PageRecordAnswerMalformedException";
|
|
12
|
+
constructor(path, options) {
|
|
13
|
+
super(Resources.pageRecordAnswer, path, options);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=page-record-answer-malformed.exception.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-record-answer-malformed.exception.js","sourceRoot":"","sources":["../../../../../../src/noldova.browser.window/src/app/exceptions/page-record-answer-malformed.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAE1F,MAAM,OAAO,kCAAmC,SAAQ,+BAA+B;IAC5D,IAAI,GAAW,oCAAoC,CAAC;IAE7E,YAAmB,IAAY,EAAE,OAA0B;QACzD,KAAK,CAAC,SAAS,CAAC,gBAAgB,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;CACF"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { Resources } from "../../resources.js";
|
|
9
|
+
import { BrowserWindowException } from "./browser-window.exception.js";
|
|
10
|
+
export class PagesInactiveException extends BrowserWindowException {
|
|
11
|
+
name = "PagesInactiveException";
|
|
12
|
+
constructor() {
|
|
13
|
+
super(Resources.pagesInactive);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=pages-inactive.exception.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pages-inactive.exception.js","sourceRoot":"","sources":["../../../../../../src/noldova.browser.window/src/app/exceptions/pages-inactive.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAEvE,MAAM,OAAO,sBAAuB,SAAQ,sBAAsB;IACvC,IAAI,GAAW,wBAAwB,CAAC;IAEjE;QACE,KAAK,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;IACjC,CAAC;CACF"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { Resources } from "../../resources.js";
|
|
9
|
+
import { BrowserWindowException } from "./browser-window.exception.js";
|
|
10
|
+
export class PaneUnavailableException extends BrowserWindowException {
|
|
11
|
+
name = "PaneUnavailableException";
|
|
12
|
+
constructor() {
|
|
13
|
+
super(Resources.paneUnavailable);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=pane-unavailable.exception.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pane-unavailable.exception.js","sourceRoot":"","sources":["../../../../../../src/noldova.browser.window/src/app/exceptions/pane-unavailable.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAEvE,MAAM,OAAO,wBAAyB,SAAQ,sBAAsB;IACzC,IAAI,GAAW,0BAA0B,CAAC;IAEnE;QACE,KAAK,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC;IACnC,CAAC;CACF"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { BrowserWindowException } from "./browser-window.exception.js";
|
|
9
|
+
export class RuntimeAnswerMalformedException extends BrowserWindowException {
|
|
10
|
+
path;
|
|
11
|
+
constructor(message, path, options) {
|
|
12
|
+
super(message, options);
|
|
13
|
+
this.path = path;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=runtime-answer-malformed.exception.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runtime-answer-malformed.exception.js","sourceRoot":"","sources":["../../../../../../src/noldova.browser.window/src/app/exceptions/runtime-answer-malformed.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAEvE,MAAM,OAAgB,+BAAgC,SAAQ,sBAAsB;IAClE,IAAI,CAAS;IAE7B,YAAsB,OAAe,EAAE,IAAY,EAAE,OAA0B;QAC7E,KAAK,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;QAExB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACnB,CAAC;CACF"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { Resources } from "../../resources.js";
|
|
9
|
+
import { RuntimeAnswerMalformedException } from "./runtime-answer-malformed.exception.js";
|
|
10
|
+
export class TypedAddressAnswerMalformedException extends RuntimeAnswerMalformedException {
|
|
11
|
+
name = "TypedAddressAnswerMalformedException";
|
|
12
|
+
constructor(path, options) {
|
|
13
|
+
super(Resources.typedAddressAnswer, path, options);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=typed-address-answer-malformed.exception.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"typed-address-answer-malformed.exception.js","sourceRoot":"","sources":["../../../../../../src/noldova.browser.window/src/app/exceptions/typed-address-answer-malformed.exception.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,+BAA+B,EAAE,MAAM,yCAAyC,CAAC;AAE1F,MAAM,OAAO,oCAAqC,SAAQ,+BAA+B;IAC9D,IAAI,GAAW,sCAAsC,CAAC;IAE/E,YAAmB,IAAY,EAAE,OAA0B;QACzD,KAAK,CAAC,SAAS,CAAC,kBAAkB,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;IACrD,CAAC;CACF"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
export class PageOpening {
|
|
9
|
+
profileKey;
|
|
10
|
+
url;
|
|
11
|
+
instance;
|
|
12
|
+
constructor(profileKey, url, instance) {
|
|
13
|
+
this.profileKey = profileKey;
|
|
14
|
+
this.url = url;
|
|
15
|
+
this.instance = instance;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=page-opening.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-opening.js","sourceRoot":"","sources":["../../../../../../src/noldova.browser.window/src/app/models/page-opening.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,OAAO,WAAW;IACN,UAAU,CAAS;IACnB,GAAG,CAAgB;IACnB,QAAQ,CAAgB;IAExC,YAAmB,UAAkB,EAAE,GAAkB,EAAE,QAAuB;QAChF,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;IAC3B,CAAC;CACF"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
export class PageStateText {
|
|
9
|
+
glyph;
|
|
10
|
+
heading;
|
|
11
|
+
detail;
|
|
12
|
+
constructor(glyph, heading, detail) {
|
|
13
|
+
this.glyph = glyph;
|
|
14
|
+
this.heading = heading;
|
|
15
|
+
this.detail = detail;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=page-state-text.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"page-state-text.js","sourceRoot":"","sources":["../../../../../../src/noldova.browser.window/src/app/models/page-state-text.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,MAAM,OAAO,aAAa;IACR,KAAK,CAAS;IACd,OAAO,CAAS;IAChB,MAAM,CAAgB;IAEtC,YAAmB,KAAa,EAAE,OAAe,EAAE,MAAqB;QACtE,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;CACF"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { PaneState } from "../enums/pane-state.js";
|
|
9
|
+
export class PaneStates {
|
|
10
|
+
static all = Object.values(PaneState);
|
|
11
|
+
static includes(value) {
|
|
12
|
+
return PaneStates.all.some(t => t === value);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=pane-states.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pane-states.js","sourceRoot":"","sources":["../../../../../../src/noldova.browser.window/src/app/models/pane-states.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAEnD,MAAM,OAAO,UAAU;IACd,MAAM,CAAU,GAAG,GAAyB,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;IAErE,MAAM,CAAC,QAAQ,CAAC,KAAa;QAClC,OAAO,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,KAAK,CAAC,CAAC;IAC/C,CAAC"}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) Noldova.
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the license found in the
|
|
6
|
+
* LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
import { PaneState } from "../enums/pane-state.js";
|
|
9
|
+
export class PaneStatus {
|
|
10
|
+
static empty = new PaneStatus(PaneState.Empty, "", "", false, false, null, null, null, null, null, null);
|
|
11
|
+
static unavailable = new PaneStatus(PaneState.Unavailable, "", "", false, false, null, null, null, null, null, null);
|
|
12
|
+
static NAMING_STATES = [PaneState.Failed, PaneState.Refused];
|
|
13
|
+
replaced;
|
|
14
|
+
holdsRefusedLoad;
|
|
15
|
+
state;
|
|
16
|
+
url;
|
|
17
|
+
title;
|
|
18
|
+
canGoBack;
|
|
19
|
+
canGoForward;
|
|
20
|
+
failureReason;
|
|
21
|
+
refusedOrigin;
|
|
22
|
+
refusedRequest;
|
|
23
|
+
refusedTarget;
|
|
24
|
+
refusedAddress;
|
|
25
|
+
popup;
|
|
26
|
+
constructor(state, url, title, canGoBack, canGoForward, failureReason, refusedOrigin, refusedRequest, refusedTarget, refusedAddress, popup, replaced = null, holdsRefusedLoad = false) {
|
|
27
|
+
this.state = state;
|
|
28
|
+
this.url = url;
|
|
29
|
+
this.title = title;
|
|
30
|
+
this.canGoBack = canGoBack;
|
|
31
|
+
this.canGoForward = canGoForward;
|
|
32
|
+
this.failureReason = failureReason;
|
|
33
|
+
this.refusedOrigin = refusedOrigin;
|
|
34
|
+
this.refusedRequest = refusedRequest;
|
|
35
|
+
this.refusedTarget = refusedTarget;
|
|
36
|
+
this.refusedAddress = refusedAddress;
|
|
37
|
+
this.popup = popup;
|
|
38
|
+
this.replaced = replaced;
|
|
39
|
+
this.holdsRefusedLoad = holdsRefusedLoad;
|
|
40
|
+
}
|
|
41
|
+
apply(event) {
|
|
42
|
+
return event.applyTo(this);
|
|
43
|
+
}
|
|
44
|
+
show(state) {
|
|
45
|
+
if (state.isLoading && this.holdsRefusedLoad && state.address === this.url)
|
|
46
|
+
return new PaneStatus(PaneState.Refused, this.url, this.title, state.canGoBack, state.canGoForward, null, this.refusedOrigin, this.refusedRequest, this.refusedTarget, null, this.popup);
|
|
47
|
+
if (state.isLoading)
|
|
48
|
+
return new PaneStatus(PaneState.Loading, state.address, state.title, state.canGoBack, state.canGoForward, null, null, null, null, null, null);
|
|
49
|
+
return new PaneStatus(this.state === PaneState.Loading ? PaneState.Loaded : this.state, state.address, state.title, state.canGoBack, state.canGoForward, this.failureReason, this.refusedOrigin, this.refusedRequest, this.refusedTarget, this.refusedAddress, this.popup, this.replaced);
|
|
50
|
+
}
|
|
51
|
+
fail(failure) {
|
|
52
|
+
return new PaneStatus(PaneState.Failed, failure.address, this.title, this.canGoBack, this.canGoForward, failure.description, null, null, null, null, null);
|
|
53
|
+
}
|
|
54
|
+
crash() {
|
|
55
|
+
return new PaneStatus(PaneState.Crashed, this.url, this.title, this.canGoBack, this.canGoForward, null, null, this.refusedRequest, this.refusedTarget, this.refusedAddress, this.popup);
|
|
56
|
+
}
|
|
57
|
+
refuse(origin, holdsRefusedLoad = false) {
|
|
58
|
+
return this.state === PaneState.Refused && this.refusedOrigin === origin && this.refusedAddress === null && this.holdsRefusedLoad === holdsRefusedLoad
|
|
59
|
+
? this
|
|
60
|
+
: new PaneStatus(PaneState.Refused, this.url, this.title, this.canGoBack, this.canGoForward, null, origin, this.refusedRequest, this.refusedTarget, null, this.popup, null, holdsRefusedLoad);
|
|
61
|
+
}
|
|
62
|
+
navigate() {
|
|
63
|
+
return this.holdsRefusedLoad
|
|
64
|
+
? new PaneStatus(this.state, this.url, this.title, this.canGoBack, this.canGoForward, this.failureReason, this.refusedOrigin, this.refusedRequest, this.refusedTarget, this.refusedAddress, this.popup, this.replaced)
|
|
65
|
+
: this;
|
|
66
|
+
}
|
|
67
|
+
refuseAddress(reason, origin = null) {
|
|
68
|
+
if (origin !== null && PaneStatus.NAMING_STATES.includes(this.state))
|
|
69
|
+
return this.state === PaneState.Refused && this.refusedOrigin === origin && this.refusedAddress === reason
|
|
70
|
+
? this
|
|
71
|
+
: new PaneStatus(PaneState.Refused, this.url, this.title, this.canGoBack, this.canGoForward, null, origin, null, null, reason, null, this.replaced ?? this);
|
|
72
|
+
return this.refusedAddress === reason
|
|
73
|
+
? this
|
|
74
|
+
: new PaneStatus(this.state, this.url, this.title, this.canGoBack, this.canGoForward, this.failureReason, this.refusedOrigin, null, null, reason, null, this.replaced);
|
|
75
|
+
}
|
|
76
|
+
dismissRequest() {
|
|
77
|
+
return this.refusedRequest === null && this.popup === null
|
|
78
|
+
? this
|
|
79
|
+
: new PaneStatus(this.state, this.url, this.title, this.canGoBack, this.canGoForward, this.failureReason, this.refusedOrigin, null, null, this.refusedAddress, null, this.replaced);
|
|
80
|
+
}
|
|
81
|
+
dismissAddress() {
|
|
82
|
+
if (this.replaced !== null)
|
|
83
|
+
return this.replaced.dismissAddress().dismissRequest();
|
|
84
|
+
return this.refusedAddress === null
|
|
85
|
+
? this
|
|
86
|
+
: new PaneStatus(this.state, this.url, this.title, this.canGoBack, this.canGoForward, this.failureReason, this.refusedOrigin, this.refusedRequest, this.refusedTarget, null, this.popup);
|
|
87
|
+
}
|
|
88
|
+
refuseRequest(request, target = null) {
|
|
89
|
+
const base = this.replaced ?? this;
|
|
90
|
+
return this.refusedRequest === request && this.refusedTarget === target
|
|
91
|
+
? this
|
|
92
|
+
: new PaneStatus(base.state, base.url, base.title, base.canGoBack, base.canGoForward, base.failureReason, base.refusedOrigin, request, target, null, null);
|
|
93
|
+
}
|
|
94
|
+
offerPopup(popup) {
|
|
95
|
+
const base = this.replaced ?? this;
|
|
96
|
+
return new PaneStatus(base.state, base.url, base.title, base.canGoBack, base.canGoForward, base.failureReason, base.refusedOrigin, null, null, null, popup);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
//# sourceMappingURL=pane-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pane-status.js","sourceRoot":"","sources":["../../../../../../src/noldova.browser.window/src/app/models/pane-status.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAOnD,MAAM,OAAO,UAAU;IACd,MAAM,CAAU,KAAK,GAAe,IAAI,UAAU,CAAC,SAAS,CAAC,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IAC9H,MAAM,CAAU,WAAW,GAAe,IAAI,UAAU,CAAC,SAAS,CAAC,WAAW,EAAE,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IAEzI,MAAM,CAAU,aAAa,GAAyB,CAAC,SAAS,CAAC,MAAM,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;IACnF,QAAQ,CAAoB;IAC5B,gBAAgB,CAAU;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