render-core 1.4.14 → 1.4.15
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/index.d.ts +90 -90
- package/index.js +131 -131
- package/kernel/delivery/delivery.d.ts +29 -29
- package/kernel/delivery/delivery.js +83 -83
- package/kernel/directive/data/v-el.d.ts +8 -8
- package/kernel/directive/data/v-el.js +28 -28
- package/kernel/directive/data/v-html.d.ts +8 -8
- package/kernel/directive/data/v-html.js +26 -26
- package/kernel/directive/data/v-txt.d.ts +8 -8
- package/kernel/directive/data/v-txt.js +29 -29
- package/kernel/directive/justify/v-if.d.ts +6 -6
- package/kernel/directive/justify/v-if.js +43 -43
- package/kernel/directive/justify/v-render.d.ts +6 -6
- package/kernel/directive/justify/v-render.js +26 -26
- package/kernel/directive/justify/v-show.d.ts +6 -6
- package/kernel/directive/justify/v-show.js +26 -26
- package/kernel/directive/justify/v-switch.d.ts +6 -6
- package/kernel/directive/justify/v-switch.js +35 -35
- package/kernel/directive/loop/v-for-utility.d.ts +14 -14
- package/kernel/directive/loop/v-for-utility.js +58 -66
- package/kernel/directive/loop/v-for.d.ts +22 -22
- package/kernel/directive/loop/v-for.js +64 -64
- package/kernel/directive/loop/v-map-utility.d.ts +12 -12
- package/kernel/directive/loop/v-map-utility.js +73 -73
- package/kernel/directive/loop/v-map.d.ts +6 -6
- package/kernel/directive/loop/v-map.js +24 -24
- package/kernel/directive/method/v-on.d.ts +8 -8
- package/kernel/directive/method/v-on.js +40 -40
- package/kernel/directive/property/v-bind.d.ts +6 -6
- package/kernel/directive/property/v-bind.js +33 -33
- package/kernel/directive/react/v-model.d.ts +6 -6
- package/kernel/directive/react/v-model.js +22 -22
- package/kernel/directive/ref/v-ref.d.ts +6 -6
- package/kernel/directive/ref/v-ref.js +16 -16
- package/kernel/directive/salt/v-solt.d.ts +13 -13
- package/kernel/directive/salt/v-solt.js +46 -46
- package/kernel/proxyer/getProxy.d.ts +14 -14
- package/kernel/proxyer/getProxy.js +43 -43
- package/kernel/renderer/initRender.d.ts +10 -10
- package/kernel/renderer/initRender.js +67 -67
- package/kernel/renderer/postRender.d.ts +10 -10
- package/kernel/renderer/postRender.js +68 -68
- package/kernel/renderer/rawRender.d.ts +10 -10
- package/kernel/renderer/rawRender.js +68 -68
- package/kernel/renderer/updateRender.d.ts +6 -6
- package/kernel/renderer/updateRender.js +34 -34
- package/kernel/router/router.d.ts +12 -12
- package/kernel/router/router.js +37 -37
- package/package.json +19 -22
- package/system/generic/component/ComponentGeneric.d.ts +13 -13
- package/system/generic/component/ComponentGeneric.js +1 -1
- package/system/generic/controller/ControllerGeneric.d.ts +27 -27
- package/system/generic/controller/ControllerGeneric.js +1 -1
- package/system/generic/data/ComputedDataGeneric.d.ts +14 -14
- package/system/generic/data/ComputedDataGeneric.js +1 -1
- package/system/generic/data/OriginalDataGeneric.d.ts +14 -14
- package/system/generic/data/OriginalDataGeneric.js +1 -1
- package/system/generic/data/WatcherDataGeneric.d.ts +14 -14
- package/system/generic/data/WatcherDataGeneric.js +1 -1
- package/system/generic/http/HttpGeneric.d.ts +4 -4
- package/system/generic/http/HttpGeneric.js +1 -1
- package/system/generic/render/RenderGeneric.d.ts +9 -9
- package/system/generic/render/RenderGeneric.js +1 -1
- package/system/injection/injection.d.ts +21 -21
- package/system/injection/injection.js +50 -50
- package/system/injection/injector.d.ts +78 -78
- package/system/injection/injector.js +123 -123
- package/system/lifecycle/lifeCycle.d.ts +14 -14
- package/system/lifecycle/lifeCycle.js +21 -21
- package/system/lifecycle/mount.d.ts +17 -17
- package/system/lifecycle/mount.js +47 -47
- package/system/loader/loader.d.ts +7 -7
- package/system/loader/loader.js +18 -18
- package/system/output/error.js +4 -4
- package/system/output/errorUtility.d.ts +3 -3
- package/system/output/errorUtility.js +9 -9
- package/system/prototype/ContextController.d.ts +30 -30
- package/system/prototype/ContextController.js +17 -17
- package/system/prototype/HttpAction.d.ts +9 -9
- package/system/prototype/HttpAction.js +37 -37
- package/system/recorder/table0/system_func_0.d.ts +30 -30
- package/system/recorder/table0/system_func_0.js +47 -47
- package/system/recorder/table0/system_t_0.d.ts +7 -7
- package/system/recorder/table0/system_t_0.js +5 -5
- package/system/recorder/table1/system_func_1.d.ts +8 -8
- package/system/recorder/table1/system_func_1.js +25 -25
- package/system/recorder/table1/system_t_1.d.ts +8 -8
- package/system/recorder/table1/system_t_1.js +7 -7
- package/system/recorder/table2/system_func_2.d.ts +5 -5
- package/system/recorder/table2/system_func_2.js +8 -8
- package/system/recorder/table2/system_t_2.d.ts +2 -2
- package/system/recorder/table2/system_t_2.js +26 -26
- package/system/recorder/table3/system_func_3.d.ts +10 -10
- package/system/recorder/table3/system_func_3.js +25 -25
- package/system/recorder/table3/system_t_3.d.ts +10 -10
- package/system/recorder/table3/system_t_3.js +9 -9
- package/system/resolver/props.d.ts +18 -18
- package/system/resolver/props.js +64 -64
- package/system/resolver/query.d.ts +4 -4
- package/system/resolver/query.js +15 -15
- package/system/utility/data/dataUtility.d.ts +5 -5
- package/system/utility/data/dataUtility.js +12 -12
- package/system/utility/directive/cmdUtility.d.ts +15 -15
- package/system/utility/directive/cmdUtility.js +43 -43
- package/system/utility/initiate/miscUtility.d.ts +6 -6
- package/system/utility/initiate/miscUtility.js +12 -12
- package/system/utility/initiate/templateUtility.d.ts +6 -6
- package/system/utility/initiate/templateUtility.js +11 -11
- package/system/utility/react/inputType.d.ts +25 -25
- package/system/utility/react/inputType.js +40 -40
- package/system/utility/react/inputUtility.d.ts +19 -19
- package/system/utility/react/inputUtility.js +125 -125
- package/system/utility/react/modelUtility.d.ts +15 -15
- package/system/utility/react/modelUtility.js +64 -64
- package/system/utility/react/sectionUtility.d.ts +6 -6
- package/system/utility/react/sectionUtility.js +123 -123
- package/system/utility/style/styleUtility.d.ts +29 -29
- package/system/utility/style/styleUtility.js +102 -102
- package/tension/SystemInitPlugin.d.ts +6 -6
- package/tension/SystemInitPlugin.js +10 -10
- package/tension/generic/plugin/PluginGeneric.d.ts +5 -5
- package/tension/generic/plugin/PluginGeneric.js +1 -1
- package/tension/generic/plugin/hooks/HooksGeneric.d.ts +6 -6
- package/tension/generic/plugin/hooks/HooksGeneric.js +1 -1
- package/tension/generic/plugin/preface/PrefaceGeneric.d.ts +11 -11
- package/tension/generic/plugin/preface/PrefaceGeneric.js +1 -1
- package/tension/generic/router/RouterGeneric.d.ts +5 -5
- package/tension/generic/router/RouterGeneric.js +1 -1
- package/tension/prototype/AbstractComponent.d.ts +43 -43
- package/tension/prototype/AbstractComponent.js +113 -113
- package/tension/prototype/HooksAction.d.ts +7 -7
- package/tension/prototype/HooksAction.js +19 -19
- package/tension/prototype/PrefaceAction.d.ts +12 -12
- package/tension/prototype/PrefaceAction.js +27 -27
- package/xboot/entrance.d.ts +16 -16
- package/xboot/entrance.js +53 -53
- package/xboot/renderProcessor.d.ts +7 -7
- package/xboot/renderProcessor.js +21 -21
- package/xboot/tagProcessor.d.ts +7 -7
- package/xboot/tagProcessor.js +22 -22
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
var HttpAction = /** @class */ (function () {
|
|
2
|
-
function HttpAction() {
|
|
3
|
-
}
|
|
4
|
-
HttpAction.prototype.redirect = function (url, parameters) {
|
|
5
|
-
if (parameters !== null) {
|
|
6
|
-
var params = Object.getOwnPropertyNames(parameters);
|
|
7
|
-
if (params.length !== 0) {
|
|
8
|
-
var queries_1 = "";
|
|
9
|
-
params.forEach(function (value) {
|
|
10
|
-
if (queries_1 === "") {
|
|
11
|
-
queries_1 = queries_1 + value + "=" + parameters[value].toString();
|
|
12
|
-
}
|
|
13
|
-
else {
|
|
14
|
-
queries_1 = queries_1 + "&" + value + "=" + parameters[value].toString();
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
queries_1 = encodeURI(queries_1);
|
|
18
|
-
location.href = url + "?" + queries_1;
|
|
19
|
-
}
|
|
20
|
-
else {
|
|
21
|
-
location.href = url;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
location.href = url;
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* locate the position
|
|
30
|
-
* @param position
|
|
31
|
-
*/
|
|
32
|
-
HttpAction.prototype.relocate = function (position) {
|
|
33
|
-
location.hash = position;
|
|
34
|
-
};
|
|
35
|
-
return HttpAction;
|
|
36
|
-
}());
|
|
37
|
-
export { HttpAction };
|
|
1
|
+
var HttpAction = /** @class */ (function () {
|
|
2
|
+
function HttpAction() {
|
|
3
|
+
}
|
|
4
|
+
HttpAction.prototype.redirect = function (url, parameters) {
|
|
5
|
+
if (parameters !== null) {
|
|
6
|
+
var params = Object.getOwnPropertyNames(parameters);
|
|
7
|
+
if (params.length !== 0) {
|
|
8
|
+
var queries_1 = "";
|
|
9
|
+
params.forEach(function (value) {
|
|
10
|
+
if (queries_1 === "") {
|
|
11
|
+
queries_1 = queries_1 + value + "=" + parameters[value].toString();
|
|
12
|
+
}
|
|
13
|
+
else {
|
|
14
|
+
queries_1 = queries_1 + "&" + value + "=" + parameters[value].toString();
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
queries_1 = encodeURI(queries_1);
|
|
18
|
+
location.href = url + "?" + queries_1;
|
|
19
|
+
}
|
|
20
|
+
else {
|
|
21
|
+
location.href = url;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
location.href = url;
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* locate the position
|
|
30
|
+
* @param position
|
|
31
|
+
*/
|
|
32
|
+
HttpAction.prototype.relocate = function (position) {
|
|
33
|
+
location.hash = position;
|
|
34
|
+
};
|
|
35
|
+
return HttpAction;
|
|
36
|
+
}());
|
|
37
|
+
export { HttpAction };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { Component } from "../../../index";
|
|
2
|
-
import { ContextController } from "../../prototype/ContextController";
|
|
3
|
-
/**
|
|
4
|
-
* Use the func to inject a tag component to the tag-library.
|
|
5
|
-
* @param tagName The tag name
|
|
6
|
-
* @param tagDefine The tag prototype class
|
|
7
|
-
*/
|
|
8
|
-
export declare function tag_library_inject(tagName: string, tagDefine: Component): void;
|
|
9
|
-
/**
|
|
10
|
-
* Use the func to get a tag prototype class
|
|
11
|
-
* @param tagName The name of tag you want to search
|
|
12
|
-
*/
|
|
13
|
-
export declare function tag_library_search(tagName: string): Component | null;
|
|
14
|
-
/**
|
|
15
|
-
* From the system_t_0 table, get tag library
|
|
16
|
-
*/
|
|
17
|
-
export declare function get_tag_library(): Map<string, Component>;
|
|
18
|
-
/**
|
|
19
|
-
* From the system_t_0 table, get style library
|
|
20
|
-
*/
|
|
21
|
-
export declare function get_style_library(): Map<string, Map<string, string>>;
|
|
22
|
-
/**
|
|
23
|
-
* Get context controller from system_t_0
|
|
24
|
-
*/
|
|
25
|
-
export declare function get_context_controller(): ContextController;
|
|
26
|
-
/**
|
|
27
|
-
* Set context controller to system_t_0
|
|
28
|
-
* @param context
|
|
29
|
-
*/
|
|
30
|
-
export declare function set_context_controller(context: ContextController): void;
|
|
1
|
+
import { Component } from "../../../index";
|
|
2
|
+
import { ContextController } from "../../prototype/ContextController";
|
|
3
|
+
/**
|
|
4
|
+
* Use the func to inject a tag component to the tag-library.
|
|
5
|
+
* @param tagName The tag name
|
|
6
|
+
* @param tagDefine The tag prototype class
|
|
7
|
+
*/
|
|
8
|
+
export declare function tag_library_inject(tagName: string, tagDefine: Component): void;
|
|
9
|
+
/**
|
|
10
|
+
* Use the func to get a tag prototype class
|
|
11
|
+
* @param tagName The name of tag you want to search
|
|
12
|
+
*/
|
|
13
|
+
export declare function tag_library_search(tagName: string): Component | null;
|
|
14
|
+
/**
|
|
15
|
+
* From the system_t_0 table, get tag library
|
|
16
|
+
*/
|
|
17
|
+
export declare function get_tag_library(): Map<string, Component>;
|
|
18
|
+
/**
|
|
19
|
+
* From the system_t_0 table, get style library
|
|
20
|
+
*/
|
|
21
|
+
export declare function get_style_library(): Map<string, Map<string, string>>;
|
|
22
|
+
/**
|
|
23
|
+
* Get context controller from system_t_0
|
|
24
|
+
*/
|
|
25
|
+
export declare function get_context_controller(): ContextController;
|
|
26
|
+
/**
|
|
27
|
+
* Set context controller to system_t_0
|
|
28
|
+
* @param context
|
|
29
|
+
*/
|
|
30
|
+
export declare function set_context_controller(context: ContextController): void;
|
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import system_t_0 from "./system_t_0";
|
|
2
|
-
/**
|
|
3
|
-
* Use the func to inject a tag component to the tag-library.
|
|
4
|
-
* @param tagName The tag name
|
|
5
|
-
* @param tagDefine The tag prototype class
|
|
6
|
-
*/
|
|
7
|
-
export function tag_library_inject(tagName, tagDefine) {
|
|
8
|
-
if (system_t_0.tagLib.has(tagName))
|
|
9
|
-
console.log("no");
|
|
10
|
-
else
|
|
11
|
-
system_t_0.tagLib.set(tagName, tagDefine);
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Use the func to get a tag prototype class
|
|
15
|
-
* @param tagName The name of tag you want to search
|
|
16
|
-
*/
|
|
17
|
-
export function tag_library_search(tagName) {
|
|
18
|
-
if (system_t_0.tagLib.has(tagName))
|
|
19
|
-
return system_t_0.tagLib.get(tagName);
|
|
20
|
-
else
|
|
21
|
-
return null;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* From the system_t_0 table, get tag library
|
|
25
|
-
*/
|
|
26
|
-
export function get_tag_library() {
|
|
27
|
-
return system_t_0.tagLib;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* From the system_t_0 table, get style library
|
|
31
|
-
*/
|
|
32
|
-
export function get_style_library() {
|
|
33
|
-
return system_t_0.styleLib;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Get context controller from system_t_0
|
|
37
|
-
*/
|
|
38
|
-
export function get_context_controller() {
|
|
39
|
-
return system_t_0.contextController;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Set context controller to system_t_0
|
|
43
|
-
* @param context
|
|
44
|
-
*/
|
|
45
|
-
export function set_context_controller(context) {
|
|
46
|
-
Reflect.set(system_t_0, "contextController", context);
|
|
47
|
-
}
|
|
1
|
+
import system_t_0 from "./system_t_0";
|
|
2
|
+
/**
|
|
3
|
+
* Use the func to inject a tag component to the tag-library.
|
|
4
|
+
* @param tagName The tag name
|
|
5
|
+
* @param tagDefine The tag prototype class
|
|
6
|
+
*/
|
|
7
|
+
export function tag_library_inject(tagName, tagDefine) {
|
|
8
|
+
if (system_t_0.tagLib.has(tagName))
|
|
9
|
+
console.log("no");
|
|
10
|
+
else
|
|
11
|
+
system_t_0.tagLib.set(tagName, tagDefine);
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Use the func to get a tag prototype class
|
|
15
|
+
* @param tagName The name of tag you want to search
|
|
16
|
+
*/
|
|
17
|
+
export function tag_library_search(tagName) {
|
|
18
|
+
if (system_t_0.tagLib.has(tagName))
|
|
19
|
+
return system_t_0.tagLib.get(tagName);
|
|
20
|
+
else
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* From the system_t_0 table, get tag library
|
|
25
|
+
*/
|
|
26
|
+
export function get_tag_library() {
|
|
27
|
+
return system_t_0.tagLib;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* From the system_t_0 table, get style library
|
|
31
|
+
*/
|
|
32
|
+
export function get_style_library() {
|
|
33
|
+
return system_t_0.styleLib;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Get context controller from system_t_0
|
|
37
|
+
*/
|
|
38
|
+
export function get_context_controller() {
|
|
39
|
+
return system_t_0.contextController;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Set context controller to system_t_0
|
|
43
|
+
* @param context
|
|
44
|
+
*/
|
|
45
|
+
export function set_context_controller(context) {
|
|
46
|
+
Reflect.set(system_t_0, "contextController", context);
|
|
47
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Component } from "../../../index";
|
|
2
|
-
declare const _default: {
|
|
3
|
-
tagLib: Map<string, Component>;
|
|
4
|
-
styleLib: Map<string, Map<string, string>>;
|
|
5
|
-
contextController: any;
|
|
6
|
-
};
|
|
7
|
-
export default _default;
|
|
1
|
+
import { Component } from "../../../index";
|
|
2
|
+
declare const _default: {
|
|
3
|
+
tagLib: Map<string, Component>;
|
|
4
|
+
styleLib: Map<string, Map<string, string>>;
|
|
5
|
+
contextController: any;
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
tagLib: new Map,
|
|
3
|
-
styleLib: new Map,
|
|
4
|
-
contextController: null
|
|
5
|
-
};
|
|
1
|
+
export default {
|
|
2
|
+
tagLib: new Map,
|
|
3
|
+
styleLib: new Map,
|
|
4
|
+
contextController: null
|
|
5
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export declare function get_theme_style(): string;
|
|
2
|
-
export declare function set_theme_style(style: string): void;
|
|
3
|
-
export declare function set_router_mode(value: boolean): void;
|
|
4
|
-
export declare function get_route_mode(): boolean;
|
|
5
|
-
export declare function set_path_variable(value: object): void;
|
|
6
|
-
export declare function get_path_variable(): Map<string, string>;
|
|
7
|
-
export declare function get_route_table(): object;
|
|
8
|
-
export declare function set_route_table(value: object): void;
|
|
1
|
+
export declare function get_theme_style(): string;
|
|
2
|
+
export declare function set_theme_style(style: string): void;
|
|
3
|
+
export declare function set_router_mode(value: boolean): void;
|
|
4
|
+
export declare function get_route_mode(): boolean;
|
|
5
|
+
export declare function set_path_variable(value: object): void;
|
|
6
|
+
export declare function get_path_variable(): Map<string, string>;
|
|
7
|
+
export declare function get_route_table(): object;
|
|
8
|
+
export declare function set_route_table(value: object): void;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import system_t_1 from "./system_t_1";
|
|
2
|
-
export function get_theme_style() {
|
|
3
|
-
return Reflect.get(system_t_1, "styleTheme");
|
|
4
|
-
}
|
|
5
|
-
export function set_theme_style(style) {
|
|
6
|
-
Reflect.set(system_t_1, "styleTheme", style);
|
|
7
|
-
}
|
|
8
|
-
export function set_router_mode(value) {
|
|
9
|
-
Reflect.set(system_t_1, "routerMode", value);
|
|
10
|
-
}
|
|
11
|
-
export function get_route_mode() {
|
|
12
|
-
return Reflect.get(system_t_1, "routeMode");
|
|
13
|
-
}
|
|
14
|
-
export function set_path_variable(value) {
|
|
15
|
-
Reflect.set(system_t_1, "pathVariable", value);
|
|
16
|
-
}
|
|
17
|
-
export function get_path_variable() {
|
|
18
|
-
return Reflect.get(system_t_1, "pathVariable");
|
|
19
|
-
}
|
|
20
|
-
export function get_route_table() {
|
|
21
|
-
return Reflect.get(system_t_1, "routeTable");
|
|
22
|
-
}
|
|
23
|
-
export function set_route_table(value) {
|
|
24
|
-
Reflect.set(system_t_1, "routeTable", value);
|
|
25
|
-
}
|
|
1
|
+
import system_t_1 from "./system_t_1";
|
|
2
|
+
export function get_theme_style() {
|
|
3
|
+
return Reflect.get(system_t_1, "styleTheme");
|
|
4
|
+
}
|
|
5
|
+
export function set_theme_style(style) {
|
|
6
|
+
Reflect.set(system_t_1, "styleTheme", style);
|
|
7
|
+
}
|
|
8
|
+
export function set_router_mode(value) {
|
|
9
|
+
Reflect.set(system_t_1, "routerMode", value);
|
|
10
|
+
}
|
|
11
|
+
export function get_route_mode() {
|
|
12
|
+
return Reflect.get(system_t_1, "routeMode");
|
|
13
|
+
}
|
|
14
|
+
export function set_path_variable(value) {
|
|
15
|
+
Reflect.set(system_t_1, "pathVariable", value);
|
|
16
|
+
}
|
|
17
|
+
export function get_path_variable() {
|
|
18
|
+
return Reflect.get(system_t_1, "pathVariable");
|
|
19
|
+
}
|
|
20
|
+
export function get_route_table() {
|
|
21
|
+
return Reflect.get(system_t_1, "routeTable");
|
|
22
|
+
}
|
|
23
|
+
export function set_route_table(value) {
|
|
24
|
+
Reflect.set(system_t_1, "routeTable", value);
|
|
25
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
styleTheme: string;
|
|
3
|
-
routerMode: boolean;
|
|
4
|
-
simpleRouteTable: any;
|
|
5
|
-
getPathVariable: any;
|
|
6
|
-
userEnvironment: {};
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
styleTheme: string;
|
|
3
|
+
routerMode: boolean;
|
|
4
|
+
simpleRouteTable: any;
|
|
5
|
+
getPathVariable: any;
|
|
6
|
+
userEnvironment: {};
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
styleTheme: "default",
|
|
3
|
-
routerMode: false,
|
|
4
|
-
simpleRouteTable: null,
|
|
5
|
-
getPathVariable: null,
|
|
6
|
-
userEnvironment: {}
|
|
7
|
-
};
|
|
1
|
+
export default {
|
|
2
|
+
styleTheme: "default",
|
|
3
|
+
routerMode: false,
|
|
4
|
+
simpleRouteTable: null,
|
|
5
|
+
getPathVariable: null,
|
|
6
|
+
userEnvironment: {}
|
|
7
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This func used the check the tag
|
|
3
|
-
* @param element
|
|
4
|
-
*/
|
|
5
|
-
export declare function tag_unknown_check(element: string): boolean;
|
|
1
|
+
/**
|
|
2
|
+
* This func used the check the tag
|
|
3
|
+
* @param element
|
|
4
|
+
*/
|
|
5
|
+
export declare function tag_unknown_check(element: string): boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import system_t_2 from "./system_t_2";
|
|
2
|
-
/**
|
|
3
|
-
* This func used the check the tag
|
|
4
|
-
* @param element
|
|
5
|
-
*/
|
|
6
|
-
export function tag_unknown_check(element) {
|
|
7
|
-
return !system_t_2.some(function (ele) { return ele == element; });
|
|
8
|
-
}
|
|
1
|
+
import system_t_2 from "./system_t_2";
|
|
2
|
+
/**
|
|
3
|
+
* This func used the check the tag
|
|
4
|
+
* @param element
|
|
5
|
+
*/
|
|
6
|
+
export function tag_unknown_check(element) {
|
|
7
|
+
return !system_t_2.some(function (ele) { return ele == element; });
|
|
8
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare let system_t_2: string[];
|
|
2
|
-
export default system_t_2;
|
|
1
|
+
declare let system_t_2: string[];
|
|
2
|
+
export default system_t_2;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
var system_t_2 = [];
|
|
2
|
-
var tableTag = ["FORM", "INPUT", "TEXTAREA", "BUTTON", "SELECT", "OPTGROUP", "OPTION", "LABEL", "FIELDSET", "LEGEND", "DATALIST", "KEYGEN", "OUTPUT"];
|
|
3
|
-
system_t_2 = system_t_2.concat(tableTag);
|
|
4
|
-
var frameTag = ["FRAME", "FRAMESET", "NOFRAMES", "IFRAME"];
|
|
5
|
-
system_t_2 = system_t_2.concat(frameTag);
|
|
6
|
-
var imgTag = ["IMG", "MAP", "AREA", "CANVAS", "FIGCAPTION", "FIGURE", "AUDIO", "VIDEO", "SOURCE", "TRACK"];
|
|
7
|
-
system_t_2 = system_t_2.concat(imgTag);
|
|
8
|
-
var linkTag = ["A", "LINK", "MAIN", "NAV"];
|
|
9
|
-
system_t_2 = system_t_2.concat(linkTag);
|
|
10
|
-
var listTag = ["UL", "OL", "LI", "DIR", "DL", "DT", "DD", "MENU", "COMMAND"];
|
|
11
|
-
system_t_2 = system_t_2.concat(listTag);
|
|
12
|
-
var titleTag = ["H1", "H2", "H3", "H4", "H5", "H6"];
|
|
13
|
-
system_t_2 = system_t_2.concat(titleTag);
|
|
14
|
-
var tbTag = ["TABLE", "CAPTION", "TH", "TR", "TD", "THEAD", "TBODY", "TFOOT", "COL", "COLGROUP"];
|
|
15
|
-
system_t_2 = system_t_2.concat(tbTag);
|
|
16
|
-
var styleTag = ["STYLE", "DIV", "SPAN", "HEADER", "FOOTER", "SECTION", "ARTICLE", "ASIDE", "DETAILS", "DIALOG", "SUMMARY"];
|
|
17
|
-
system_t_2 = system_t_2.concat(styleTag);
|
|
18
|
-
var metaTag = ["HEAD", "META", "BASE", "BASEFONT"];
|
|
19
|
-
system_t_2 = system_t_2.concat(metaTag);
|
|
20
|
-
var programTag = ["SCRIPT", "NOSCRIPT", "APPLET", "EMBED", "OBJECT", "PARAM"];
|
|
21
|
-
system_t_2 = system_t_2.concat(programTag);
|
|
22
|
-
var formTag = ["ACRONYM", "ABBR", "ADDRESS", "B", "BDI", "BDO", "BIG", "BLOCKQUOTE", "CENTER", "CITE", "CODE", "DEL", "DFN", "EM", "FONT", "I", "INS", "KBD", "MARK", "METER", "PRE", "PROGRESS", "Q", "RP", "RT", "RUBY", "S", "SAMP", "SMALL", "STRIKE", "STRONG", "SUB", "SUP", "TIME", "TT", "U", "VAR", "WBR"];
|
|
23
|
-
system_t_2 = system_t_2.concat(formTag);
|
|
24
|
-
var baseTag = ["!DOCTYPE", "HTML", "TITLE", "BODY", "P", "BR", "HR", "!--...--"];
|
|
25
|
-
system_t_2 = system_t_2.concat(baseTag);
|
|
26
|
-
export default system_t_2;
|
|
1
|
+
var system_t_2 = [];
|
|
2
|
+
var tableTag = ["FORM", "INPUT", "TEXTAREA", "BUTTON", "SELECT", "OPTGROUP", "OPTION", "LABEL", "FIELDSET", "LEGEND", "DATALIST", "KEYGEN", "OUTPUT"];
|
|
3
|
+
system_t_2 = system_t_2.concat(tableTag);
|
|
4
|
+
var frameTag = ["FRAME", "FRAMESET", "NOFRAMES", "IFRAME"];
|
|
5
|
+
system_t_2 = system_t_2.concat(frameTag);
|
|
6
|
+
var imgTag = ["IMG", "MAP", "AREA", "CANVAS", "FIGCAPTION", "FIGURE", "AUDIO", "VIDEO", "SOURCE", "TRACK"];
|
|
7
|
+
system_t_2 = system_t_2.concat(imgTag);
|
|
8
|
+
var linkTag = ["A", "LINK", "MAIN", "NAV"];
|
|
9
|
+
system_t_2 = system_t_2.concat(linkTag);
|
|
10
|
+
var listTag = ["UL", "OL", "LI", "DIR", "DL", "DT", "DD", "MENU", "COMMAND"];
|
|
11
|
+
system_t_2 = system_t_2.concat(listTag);
|
|
12
|
+
var titleTag = ["H1", "H2", "H3", "H4", "H5", "H6"];
|
|
13
|
+
system_t_2 = system_t_2.concat(titleTag);
|
|
14
|
+
var tbTag = ["TABLE", "CAPTION", "TH", "TR", "TD", "THEAD", "TBODY", "TFOOT", "COL", "COLGROUP"];
|
|
15
|
+
system_t_2 = system_t_2.concat(tbTag);
|
|
16
|
+
var styleTag = ["STYLE", "DIV", "SPAN", "HEADER", "FOOTER", "SECTION", "ARTICLE", "ASIDE", "DETAILS", "DIALOG", "SUMMARY"];
|
|
17
|
+
system_t_2 = system_t_2.concat(styleTag);
|
|
18
|
+
var metaTag = ["HEAD", "META", "BASE", "BASEFONT"];
|
|
19
|
+
system_t_2 = system_t_2.concat(metaTag);
|
|
20
|
+
var programTag = ["SCRIPT", "NOSCRIPT", "APPLET", "EMBED", "OBJECT", "PARAM"];
|
|
21
|
+
system_t_2 = system_t_2.concat(programTag);
|
|
22
|
+
var formTag = ["ACRONYM", "ABBR", "ADDRESS", "B", "BDI", "BDO", "BIG", "BLOCKQUOTE", "CENTER", "CITE", "CODE", "DEL", "DFN", "EM", "FONT", "I", "INS", "KBD", "MARK", "METER", "PRE", "PROGRESS", "Q", "RP", "RT", "RUBY", "S", "SAMP", "SMALL", "STRIKE", "STRONG", "SUB", "SUP", "TIME", "TT", "U", "VAR", "WBR"];
|
|
23
|
+
system_t_2 = system_t_2.concat(formTag);
|
|
24
|
+
var baseTag = ["!DOCTYPE", "HTML", "TITLE", "BODY", "P", "BR", "HR", "!--...--"];
|
|
25
|
+
system_t_2 = system_t_2.concat(baseTag);
|
|
26
|
+
export default system_t_2;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { HttpAction } from "../../prototype/HttpAction";
|
|
2
|
-
import { RouterGeneric } from "../../../tension/generic/router/RouterGeneric";
|
|
3
|
-
export declare function set_system_ext_router(router: RouterGeneric): void;
|
|
4
|
-
export declare function get_system_ext_router(): RouterGeneric;
|
|
5
|
-
export declare function get_user_ext_http(): HttpAction;
|
|
6
|
-
export declare function set_user_ext_http(http: HttpAction): void;
|
|
7
|
-
export declare function set_user_anonymous_ext(name: string, ext: any): void;
|
|
8
|
-
export declare function get_user_anonymous_ext(name: string): any;
|
|
9
|
-
export declare function set_user_anonymous_field(name: string, value: any): void;
|
|
10
|
-
export declare function get_user_anonymous_field(name: string): any;
|
|
1
|
+
import { HttpAction } from "../../prototype/HttpAction";
|
|
2
|
+
import { RouterGeneric } from "../../../tension/generic/router/RouterGeneric";
|
|
3
|
+
export declare function set_system_ext_router(router: RouterGeneric): void;
|
|
4
|
+
export declare function get_system_ext_router(): RouterGeneric;
|
|
5
|
+
export declare function get_user_ext_http(): HttpAction;
|
|
6
|
+
export declare function set_user_ext_http(http: HttpAction): void;
|
|
7
|
+
export declare function set_user_anonymous_ext(name: string, ext: any): void;
|
|
8
|
+
export declare function get_user_anonymous_ext(name: string): any;
|
|
9
|
+
export declare function set_user_anonymous_field(name: string, value: any): void;
|
|
10
|
+
export declare function get_user_anonymous_field(name: string): any;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import system_t_3 from "./system_t_3";
|
|
2
|
-
export function set_system_ext_router(router) {
|
|
3
|
-
Reflect.set(system_t_3, "router", router);
|
|
4
|
-
}
|
|
5
|
-
export function get_system_ext_router() {
|
|
6
|
-
return Reflect.get(system_t_3, "router");
|
|
7
|
-
}
|
|
8
|
-
export function get_user_ext_http() {
|
|
9
|
-
return Reflect.get(system_t_3.user, "http");
|
|
10
|
-
}
|
|
11
|
-
export function set_user_ext_http(http) {
|
|
12
|
-
Reflect.set(system_t_3.user, "http", http);
|
|
13
|
-
}
|
|
14
|
-
export function set_user_anonymous_ext(name, ext) {
|
|
15
|
-
Reflect.set(system_t_3.user.Anonymous, name, ext);
|
|
16
|
-
}
|
|
17
|
-
export function get_user_anonymous_ext(name) {
|
|
18
|
-
return Reflect.get(system_t_3.user.Anonymous, name);
|
|
19
|
-
}
|
|
20
|
-
export function set_user_anonymous_field(name, value) {
|
|
21
|
-
Reflect.set(system_t_3.user.Anonymous, name, value);
|
|
22
|
-
}
|
|
23
|
-
export function get_user_anonymous_field(name) {
|
|
24
|
-
return Reflect.get(system_t_3.user.Anonymous, name);
|
|
25
|
-
}
|
|
1
|
+
import system_t_3 from "./system_t_3";
|
|
2
|
+
export function set_system_ext_router(router) {
|
|
3
|
+
Reflect.set(system_t_3, "router", router);
|
|
4
|
+
}
|
|
5
|
+
export function get_system_ext_router() {
|
|
6
|
+
return Reflect.get(system_t_3, "router");
|
|
7
|
+
}
|
|
8
|
+
export function get_user_ext_http() {
|
|
9
|
+
return Reflect.get(system_t_3.user, "http");
|
|
10
|
+
}
|
|
11
|
+
export function set_user_ext_http(http) {
|
|
12
|
+
Reflect.set(system_t_3.user, "http", http);
|
|
13
|
+
}
|
|
14
|
+
export function set_user_anonymous_ext(name, ext) {
|
|
15
|
+
Reflect.set(system_t_3.user.Anonymous, name, ext);
|
|
16
|
+
}
|
|
17
|
+
export function get_user_anonymous_ext(name) {
|
|
18
|
+
return Reflect.get(system_t_3.user.Anonymous, name);
|
|
19
|
+
}
|
|
20
|
+
export function set_user_anonymous_field(name, value) {
|
|
21
|
+
Reflect.set(system_t_3.user.Anonymous, name, value);
|
|
22
|
+
}
|
|
23
|
+
export function get_user_anonymous_field(name) {
|
|
24
|
+
return Reflect.get(system_t_3.user.Anonymous, name);
|
|
25
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
system: {
|
|
3
|
-
router: any;
|
|
4
|
-
};
|
|
5
|
-
user: {
|
|
6
|
-
http: any;
|
|
7
|
-
Anonymous: {};
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
system: {
|
|
3
|
+
router: any;
|
|
4
|
+
};
|
|
5
|
+
user: {
|
|
6
|
+
http: any;
|
|
7
|
+
Anonymous: {};
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
system: {
|
|
3
|
-
router: null
|
|
4
|
-
},
|
|
5
|
-
user: {
|
|
6
|
-
http: null,
|
|
7
|
-
Anonymous: {}
|
|
8
|
-
}
|
|
9
|
-
};
|
|
1
|
+
export default {
|
|
2
|
+
system: {
|
|
3
|
+
router: null
|
|
4
|
+
},
|
|
5
|
+
user: {
|
|
6
|
+
http: null,
|
|
7
|
+
Anonymous: {}
|
|
8
|
+
}
|
|
9
|
+
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This function is used to resolve tag properties.
|
|
3
|
-
* @param tag
|
|
4
|
-
* @param properties
|
|
5
|
-
*/
|
|
6
|
-
export declare function resolve_props(tag: ChildNode, properties: {} | []): Map<string, string>;
|
|
7
|
-
/**
|
|
8
|
-
*
|
|
9
|
-
* @param node
|
|
10
|
-
* @param array
|
|
11
|
-
*/
|
|
12
|
-
export declare function getAllPropsByArray(node: ChildNode, array: Array<string>): Map<string, string>;
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @param node
|
|
16
|
-
* @param object
|
|
17
|
-
*/
|
|
18
|
-
export declare function getAllPropsByObject(node: ChildNode, object: {}): Map<string, any>;
|
|
1
|
+
/**
|
|
2
|
+
* This function is used to resolve tag properties.
|
|
3
|
+
* @param tag
|
|
4
|
+
* @param properties
|
|
5
|
+
*/
|
|
6
|
+
export declare function resolve_props(tag: ChildNode, properties: {} | []): Map<string, string>;
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
* @param node
|
|
10
|
+
* @param array
|
|
11
|
+
*/
|
|
12
|
+
export declare function getAllPropsByArray(node: ChildNode, array: Array<string>): Map<string, string>;
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @param node
|
|
16
|
+
* @param object
|
|
17
|
+
*/
|
|
18
|
+
export declare function getAllPropsByObject(node: ChildNode, object: {}): Map<string, any>;
|