simple-boot-front 1.0.98 → 1.0.99
Sign up to get free protection for your applications and to get access to all the features.
- package/README.MD +335 -335
- package/SimpleBootFront.d.ts +32 -25
- package/SimpleBootFront.js +327 -239
- package/decorators/Component.d.ts +11 -11
- package/decorators/Component.js +30 -54
- package/decorators/Script.d.ts +10 -10
- package/decorators/Script.js +31 -31
- package/decorators/inject/InjectFrontSituationType.d.ts +3 -0
- package/decorators/inject/InjectFrontSituationType.js +7 -0
- package/fetch/Fetcher.d.ts +4 -4
- package/fetch/Fetcher.js +9 -9
- package/lifecycle/OnChangedRender.d.ts +3 -3
- package/lifecycle/OnChangedRender.js +2 -2
- package/lifecycle/OnDestroy.d.ts +3 -3
- package/lifecycle/OnDestroy.js +2 -2
- package/lifecycle/OnFinish.d.ts +3 -3
- package/lifecycle/OnFinish.js +2 -2
- package/lifecycle/OnInit.d.ts +8 -3
- package/lifecycle/OnInit.js +2 -2
- package/lifecycle/OnInitedChild.d.ts +3 -3
- package/lifecycle/OnInitedChild.js +2 -2
- package/option/SimFrontOption.d.ts +14 -14
- package/option/SimFrontOption.js +45 -45
- package/package.json +84 -82
- package/script/ScriptRunnable.d.ts +7 -7
- package/script/ScriptRunnable.js +22 -22
- package/service/CookieService.d.ts +11 -8
- package/service/CookieService.js +54 -42
- package/service/HttpService.d.ts +3 -3
- package/service/HttpService.js +23 -23
- package/service/MetaTagService.d.ts +11 -0
- package/service/MetaTagService.js +52 -0
- package/service/Navigation.d.ts +18 -12
- package/service/Navigation.js +117 -75
- package/service/ScriptService.d.ts +7 -7
- package/service/ScriptService.js +39 -39
- package/service/StorageService.d.ts +12 -0
- package/service/StorageService.js +67 -0
- package/service/view/View.d.ts +6 -6
- package/service/view/View.js +29 -29
- package/service/view/ViewService.d.ts +7 -7
- package/service/view/ViewService.js +46 -46
- package/throwable/RouterError.d.ts +4 -4
- package/throwable/RouterError.js +27 -27
- package/throwable/RouterIntentError.d.ts +4 -4
- package/throwable/RouterIntentError.js +27 -27
- package/throwable/RouterNotFount.d.ts +4 -4
- package/throwable/RouterNotFount.js +27 -27
- package/utils/dom/DomUtils.d.ts +0 -13
- package/utils/dom/DomUtils.js +0 -45
- package/utils/node/NodeUtils.d.ts +0 -10
- package/utils/node/NodeUtils.js +0 -25
- package/utils/window/LocationUtils.d.ts +0 -8
- package/utils/window/LocationUtils.js +0 -34
package/SimpleBootFront.d.ts
CHANGED
@@ -1,25 +1,32 @@
|
|
1
|
-
import { SimFrontOption } from './option/SimFrontOption';
|
2
|
-
import { ConstructorType } from 'simple-boot-core/types/Types';
|
3
|
-
import {
|
4
|
-
import {
|
5
|
-
import {
|
6
|
-
import {
|
7
|
-
import {
|
8
|
-
import {
|
9
|
-
import {
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
1
|
+
import { SimFrontOption } from './option/SimFrontOption';
|
2
|
+
import { ConstructorType } from 'simple-boot-core/types/Types';
|
3
|
+
import { SimAtomic } from 'simple-boot-core/simstance/SimAtomic';
|
4
|
+
import { SimpleApplication } from 'simple-boot-core/SimpleApplication';
|
5
|
+
import { Navigation } from './service/Navigation';
|
6
|
+
import { HttpService } from './service/HttpService';
|
7
|
+
import { SimstanceManager } from 'simple-boot-core/simstance/SimstanceManager';
|
8
|
+
import { IntentManager } from 'simple-boot-core/intent/IntentManager';
|
9
|
+
import { RouterManager } from 'simple-boot-core/route/RouterManager';
|
10
|
+
import { Config, TargetElement, TargetAttr } from 'dom-render/Config';
|
11
|
+
import { RouterModule } from 'simple-boot-core/route/RouterModule';
|
12
|
+
export declare class SimpleBootFront extends SimpleApplication {
|
13
|
+
rootRouter: ConstructorType<any>;
|
14
|
+
option: SimFrontOption;
|
15
|
+
navigation: Navigation;
|
16
|
+
domRendoerExcludeProxy: (typeof SimFrontOption | typeof SimstanceManager | typeof IntentManager | typeof RouterManager | typeof SimpleApplication | typeof Navigation | typeof HttpService)[];
|
17
|
+
domRenderTargetElements: TargetElement[];
|
18
|
+
domRenderTargetAttrs: TargetAttr[];
|
19
|
+
domRenderConfig: Config;
|
20
|
+
constructor(rootRouter: ConstructorType<any>, option: SimFrontOption);
|
21
|
+
getComponentInnerHtml(targetObj: any): string;
|
22
|
+
createDomRender<T extends object>(obj: T): T;
|
23
|
+
private initRun;
|
24
|
+
goRouting(url: string): Promise<RouterModule<SimAtomic<Object>, any>>;
|
25
|
+
runRouting(otherInstanceSim?: Map<ConstructorType<any>, any>, url?: string): Promise<RouterModule<SimAtomic<Object>, any>>;
|
26
|
+
run(otherInstanceSim?: Map<ConstructorType<any>, any>, url?: string): SimpleBootFront;
|
27
|
+
private afterSetting;
|
28
|
+
initDomRenderScripts(): void;
|
29
|
+
private initDomRenderTargetElements;
|
30
|
+
getSimstanceManager(): SimstanceManager;
|
31
|
+
go(url: string): void;
|
32
|
+
}
|