render-core 1.4.12 → 1.4.14

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.
Files changed (140) hide show
  1. package/index.d.ts +90 -90
  2. package/index.js +131 -131
  3. package/kernel/delivery/delivery.d.ts +29 -29
  4. package/kernel/delivery/delivery.js +83 -83
  5. package/kernel/directive/data/v-el.d.ts +8 -8
  6. package/kernel/directive/data/v-el.js +28 -28
  7. package/kernel/directive/data/v-html.d.ts +8 -8
  8. package/kernel/directive/data/v-html.js +26 -26
  9. package/kernel/directive/data/v-txt.d.ts +8 -8
  10. package/kernel/directive/data/v-txt.js +29 -29
  11. package/kernel/directive/justify/v-if.d.ts +6 -6
  12. package/kernel/directive/justify/v-if.js +43 -43
  13. package/kernel/directive/justify/v-render.d.ts +6 -6
  14. package/kernel/directive/justify/v-render.js +26 -26
  15. package/kernel/directive/justify/v-show.d.ts +6 -6
  16. package/kernel/directive/justify/v-show.js +26 -26
  17. package/kernel/directive/justify/v-switch.d.ts +6 -6
  18. package/kernel/directive/justify/v-switch.js +35 -35
  19. package/kernel/directive/loop/v-for-utility.d.ts +14 -14
  20. package/kernel/directive/loop/v-for-utility.js +66 -66
  21. package/kernel/directive/loop/v-for.d.ts +22 -22
  22. package/kernel/directive/loop/v-for.js +64 -64
  23. package/kernel/directive/loop/v-map-utility.d.ts +12 -12
  24. package/kernel/directive/loop/v-map-utility.js +73 -73
  25. package/kernel/directive/loop/v-map.d.ts +6 -6
  26. package/kernel/directive/loop/v-map.js +24 -24
  27. package/kernel/directive/method/v-on.d.ts +8 -8
  28. package/kernel/directive/method/v-on.js +40 -40
  29. package/kernel/directive/property/v-bind.d.ts +6 -6
  30. package/kernel/directive/property/v-bind.js +33 -33
  31. package/kernel/directive/react/v-model.d.ts +6 -6
  32. package/kernel/directive/react/v-model.js +22 -22
  33. package/kernel/directive/ref/v-ref.d.ts +6 -6
  34. package/kernel/directive/ref/v-ref.js +16 -16
  35. package/kernel/directive/salt/v-solt.d.ts +13 -13
  36. package/kernel/directive/salt/v-solt.js +46 -46
  37. package/kernel/proxyer/getProxy.d.ts +14 -14
  38. package/kernel/proxyer/getProxy.js +43 -43
  39. package/kernel/renderer/initRender.d.ts +10 -10
  40. package/kernel/renderer/initRender.js +67 -67
  41. package/kernel/renderer/postRender.d.ts +10 -10
  42. package/kernel/renderer/postRender.js +68 -68
  43. package/kernel/renderer/rawRender.d.ts +10 -10
  44. package/kernel/renderer/rawRender.js +68 -68
  45. package/kernel/renderer/updateRender.d.ts +6 -6
  46. package/kernel/renderer/updateRender.js +34 -34
  47. package/kernel/router/router.d.ts +12 -12
  48. package/kernel/router/router.js +37 -37
  49. package/package.json +22 -19
  50. package/system/generic/component/ComponentGeneric.d.ts +13 -13
  51. package/system/generic/component/ComponentGeneric.js +1 -1
  52. package/system/generic/controller/ControllerGeneric.d.ts +27 -27
  53. package/system/generic/controller/ControllerGeneric.js +1 -1
  54. package/system/generic/data/ComputedDataGeneric.d.ts +14 -14
  55. package/system/generic/data/ComputedDataGeneric.js +1 -1
  56. package/system/generic/data/OriginalDataGeneric.d.ts +14 -14
  57. package/system/generic/data/OriginalDataGeneric.js +1 -1
  58. package/system/generic/data/WatcherDataGeneric.d.ts +14 -14
  59. package/system/generic/data/WatcherDataGeneric.js +1 -1
  60. package/system/generic/http/HttpGeneric.d.ts +4 -4
  61. package/system/generic/http/HttpGeneric.js +1 -1
  62. package/system/generic/render/RenderGeneric.d.ts +9 -9
  63. package/system/generic/render/RenderGeneric.js +1 -1
  64. package/system/injection/injection.d.ts +21 -21
  65. package/system/injection/injection.js +50 -50
  66. package/system/injection/injector.d.ts +78 -78
  67. package/system/injection/injector.js +123 -123
  68. package/system/lifecycle/lifeCycle.d.ts +14 -14
  69. package/system/lifecycle/lifeCycle.js +21 -21
  70. package/system/lifecycle/mount.d.ts +17 -17
  71. package/system/lifecycle/mount.js +47 -47
  72. package/system/loader/loader.d.ts +7 -7
  73. package/system/loader/loader.js +18 -18
  74. package/system/output/error.js +4 -4
  75. package/system/output/errorUtility.d.ts +3 -3
  76. package/system/output/errorUtility.js +9 -9
  77. package/system/prototype/ContextController.d.ts +30 -30
  78. package/system/prototype/ContextController.js +17 -17
  79. package/system/prototype/HttpAction.d.ts +9 -9
  80. package/system/prototype/HttpAction.js +37 -37
  81. package/system/recorder/table0/system_func_0.d.ts +30 -30
  82. package/system/recorder/table0/system_func_0.js +47 -47
  83. package/system/recorder/table0/system_t_0.d.ts +7 -7
  84. package/system/recorder/table0/system_t_0.js +5 -5
  85. package/system/recorder/table1/system_func_1.d.ts +8 -8
  86. package/system/recorder/table1/system_func_1.js +25 -25
  87. package/system/recorder/table1/system_t_1.d.ts +8 -8
  88. package/system/recorder/table1/system_t_1.js +7 -7
  89. package/system/recorder/table2/system_func_2.d.ts +5 -5
  90. package/system/recorder/table2/system_func_2.js +8 -8
  91. package/system/recorder/table2/system_t_2.d.ts +2 -2
  92. package/system/recorder/table2/system_t_2.js +26 -26
  93. package/system/recorder/table3/system_func_3.d.ts +10 -10
  94. package/system/recorder/table3/system_func_3.js +25 -25
  95. package/system/recorder/table3/system_t_3.d.ts +10 -10
  96. package/system/recorder/table3/system_t_3.js +9 -9
  97. package/system/resolver/props.d.ts +18 -18
  98. package/system/resolver/props.js +64 -64
  99. package/system/resolver/query.d.ts +4 -4
  100. package/system/resolver/query.js +15 -15
  101. package/system/utility/data/dataUtility.d.ts +5 -5
  102. package/system/utility/data/dataUtility.js +12 -12
  103. package/system/utility/directive/cmdUtility.d.ts +15 -15
  104. package/system/utility/directive/cmdUtility.js +43 -43
  105. package/system/utility/initiate/miscUtility.d.ts +6 -6
  106. package/system/utility/initiate/miscUtility.js +12 -12
  107. package/system/utility/initiate/templateUtility.d.ts +6 -6
  108. package/system/utility/initiate/templateUtility.js +11 -11
  109. package/system/utility/react/inputType.d.ts +25 -25
  110. package/system/utility/react/inputType.js +40 -40
  111. package/system/utility/react/inputUtility.d.ts +19 -19
  112. package/system/utility/react/inputUtility.js +125 -125
  113. package/system/utility/react/modelUtility.d.ts +15 -15
  114. package/system/utility/react/modelUtility.js +64 -64
  115. package/system/utility/react/sectionUtility.d.ts +6 -6
  116. package/system/utility/react/sectionUtility.js +123 -123
  117. package/system/utility/style/styleUtility.d.ts +29 -29
  118. package/system/utility/style/styleUtility.js +102 -102
  119. package/tension/SystemInitPlugin.d.ts +6 -6
  120. package/tension/SystemInitPlugin.js +10 -10
  121. package/tension/generic/plugin/PluginGeneric.d.ts +5 -5
  122. package/tension/generic/plugin/PluginGeneric.js +1 -1
  123. package/tension/generic/plugin/hooks/HooksGeneric.d.ts +6 -6
  124. package/tension/generic/plugin/hooks/HooksGeneric.js +1 -1
  125. package/tension/generic/plugin/preface/PrefaceGeneric.d.ts +11 -11
  126. package/tension/generic/plugin/preface/PrefaceGeneric.js +1 -1
  127. package/tension/generic/router/RouterGeneric.d.ts +5 -5
  128. package/tension/generic/router/RouterGeneric.js +1 -1
  129. package/tension/prototype/AbstractComponent.d.ts +43 -43
  130. package/tension/prototype/AbstractComponent.js +113 -113
  131. package/tension/prototype/HooksAction.d.ts +7 -7
  132. package/tension/prototype/HooksAction.js +19 -19
  133. package/tension/prototype/PrefaceAction.d.ts +12 -12
  134. package/tension/prototype/PrefaceAction.js +27 -27
  135. package/xboot/entrance.d.ts +16 -16
  136. package/xboot/entrance.js +53 -53
  137. package/xboot/renderProcessor.d.ts +7 -7
  138. package/xboot/renderProcessor.js +21 -21
  139. package/xboot/tagProcessor.d.ts +7 -7
  140. package/xboot/tagProcessor.js +22 -22
@@ -1,29 +1,29 @@
1
- import { Component } from "../../../index";
2
- /**
3
- *
4
- * @param tag
5
- */
6
- export declare function checkStyleLabel(tag: string): boolean;
7
- /**
8
- * Here is the function go get all styles associated with the tag component.
9
- * @param component
10
- * @param styleLib
11
- */
12
- export declare function themeStyle(component: Component, styleLib: Map<string, object>): void;
13
- /**
14
- * Here is the function to resolve
15
- * @param tag
16
- * @param styleLib
17
- */
18
- export declare function loader_tag_style(tag: string, styleLib: Map<string, Map<string, string>>): void;
19
- /**
20
- *
21
- * @param tag
22
- * @param theme
23
- */
24
- export declare function changeStyle(tag: string, theme: string): void;
25
- /**
26
- *
27
- * @param theme
28
- */
29
- export declare function changeTheme(theme: string): void;
1
+ import { Component } from "../../../index";
2
+ /**
3
+ *
4
+ * @param tag
5
+ */
6
+ export declare function checkStyleLabel(tag: string): boolean;
7
+ /**
8
+ * Here is the function go get all styles associated with the tag component.
9
+ * @param component
10
+ * @param styleLib
11
+ */
12
+ export declare function themeStyle(component: Component, styleLib: Map<string, object>): void;
13
+ /**
14
+ * Here is the function to resolve
15
+ * @param tag
16
+ * @param styleLib
17
+ */
18
+ export declare function loader_tag_style(tag: string, styleLib: Map<string, Map<string, string>>): void;
19
+ /**
20
+ *
21
+ * @param tag
22
+ * @param theme
23
+ */
24
+ export declare function changeStyle(tag: string, theme: string): void;
25
+ /**
26
+ *
27
+ * @param theme
28
+ */
29
+ export declare function changeTheme(theme: string): void;
@@ -1,102 +1,102 @@
1
- import { loadStyle } from "../../loader/loader";
2
- import { get_theme_style, set_theme_style } from "../../recorder/table1/system_func_1";
3
- import { get_style_library } from "../../recorder/table0/system_func_0";
4
- /**
5
- *
6
- * @param tag
7
- */
8
- export function checkStyleLabel(tag) {
9
- //获取所有的style标签
10
- var styles = document.getElementsByTagName("style");
11
- //遍历标签,查看是否已经加载tag样式
12
- for (var i = 0; i < styles.length; i++) {
13
- if (styles[i].getAttribute("tag") === tag.toUpperCase())
14
- //样式已经加载
15
- return true;
16
- }
17
- //样式未加载
18
- return false;
19
- }
20
- /**
21
- * Here is the function go get all styles associated with the tag component.
22
- * @param component
23
- * @param styleLib
24
- */
25
- export function themeStyle(component, styleLib) {
26
- var template = component.getTemplate();
27
- var dom = document.createElement("div");
28
- dom.innerHTML = template;
29
- var styles = dom.getElementsByTagName("template")[0].content.querySelectorAll("style");
30
- var componentStyleList = new Map();
31
- for (var i = 0; i < styles.length; i++) {
32
- componentStyleList.set(styles[i].getAttribute("theme"), styles[i].innerText);
33
- }
34
- styleLib.set(component.getName().toUpperCase(), componentStyleList);
35
- }
36
- /**
37
- * Here is the function to resolve
38
- * @param tag
39
- * @param styleLib
40
- */
41
- export function loader_tag_style(tag, styleLib) {
42
- //获取到启动样式
43
- var theme = get_theme_style();
44
- if (styleLib.get(tag.toUpperCase())) {
45
- if (styleLib.get(tag.toUpperCase()).get(theme) === undefined) {
46
- console.log("tag:" + tag + " has no theme " + theme);
47
- if (styleLib.get(tag.toUpperCase()).get("default") === undefined) {
48
- console.log("tag:" + tag + " has no theme " + "default");
49
- }
50
- else {
51
- loadStyle(tag, "default", styleLib.get(tag.toUpperCase()).get("default"));
52
- }
53
- }
54
- else {
55
- loadStyle(tag, theme, styleLib.get(tag.toUpperCase()).get(theme));
56
- }
57
- }
58
- }
59
- /**
60
- *
61
- * @param tag
62
- * @param theme
63
- */
64
- export function changeStyle(tag, theme) {
65
- var styleTxt = get_style_library().get(tag.toUpperCase()).get(theme);
66
- if (styleTxt === undefined) {
67
- console.log("Dont`t find this style!");
68
- }
69
- else {
70
- var style = document.createElement('style');
71
- var text = document.createTextNode(styleTxt);
72
- style.appendChild(text);
73
- style.setAttribute("tag", tag.toUpperCase());
74
- style.setAttribute("theme", theme);
75
- var head = document.getElementsByTagName('head')[0];
76
- var target = head.querySelector("style" + "[tag=" + tag.toUpperCase() + "]");
77
- head.replaceChild(style, target);
78
- }
79
- }
80
- /**
81
- *
82
- * @param theme
83
- */
84
- export function changeTheme(theme) {
85
- get_style_library().forEach(function (value, key) {
86
- var styles = document.getElementsByTagName("style");
87
- for (var i = 0; i < styles.length; i++) {
88
- if (styles[i].getAttribute("tag") === key) {
89
- var style = document.createElement('style');
90
- if (value.get(theme)) {
91
- var text = document.createTextNode(value.get(theme));
92
- style.appendChild(text);
93
- style.setAttribute("tag", key.toUpperCase());
94
- style.setAttribute("theme", theme);
95
- var head = document.getElementsByTagName('head')[0];
96
- head.replaceChild(style, styles[i]);
97
- }
98
- }
99
- }
100
- });
101
- set_theme_style(theme);
102
- }
1
+ import { loadStyle } from "../../loader/loader";
2
+ import { get_theme_style, set_theme_style } from "../../recorder/table1/system_func_1";
3
+ import { get_style_library } from "../../recorder/table0/system_func_0";
4
+ /**
5
+ *
6
+ * @param tag
7
+ */
8
+ export function checkStyleLabel(tag) {
9
+ //获取所有的style标签
10
+ var styles = document.getElementsByTagName("style");
11
+ //遍历标签,查看是否已经加载tag样式
12
+ for (var i = 0; i < styles.length; i++) {
13
+ if (styles[i].getAttribute("tag") === tag.toUpperCase())
14
+ //样式已经加载
15
+ return true;
16
+ }
17
+ //样式未加载
18
+ return false;
19
+ }
20
+ /**
21
+ * Here is the function go get all styles associated with the tag component.
22
+ * @param component
23
+ * @param styleLib
24
+ */
25
+ export function themeStyle(component, styleLib) {
26
+ var template = component.getTemplate();
27
+ var dom = document.createElement("div");
28
+ dom.innerHTML = template;
29
+ var styles = dom.getElementsByTagName("template")[0].content.querySelectorAll("style");
30
+ var componentStyleList = new Map();
31
+ for (var i = 0; i < styles.length; i++) {
32
+ componentStyleList.set(styles[i].getAttribute("theme"), styles[i].innerText);
33
+ }
34
+ styleLib.set(component.getName().toUpperCase(), componentStyleList);
35
+ }
36
+ /**
37
+ * Here is the function to resolve
38
+ * @param tag
39
+ * @param styleLib
40
+ */
41
+ export function loader_tag_style(tag, styleLib) {
42
+ //获取到启动样式
43
+ var theme = get_theme_style();
44
+ if (styleLib.get(tag.toUpperCase())) {
45
+ if (styleLib.get(tag.toUpperCase()).get(theme) === undefined) {
46
+ console.log("tag:" + tag + " has no theme " + theme);
47
+ if (styleLib.get(tag.toUpperCase()).get("default") === undefined) {
48
+ console.log("tag:" + tag + " has no theme " + "default");
49
+ }
50
+ else {
51
+ loadStyle(tag, "default", styleLib.get(tag.toUpperCase()).get("default"));
52
+ }
53
+ }
54
+ else {
55
+ loadStyle(tag, theme, styleLib.get(tag.toUpperCase()).get(theme));
56
+ }
57
+ }
58
+ }
59
+ /**
60
+ *
61
+ * @param tag
62
+ * @param theme
63
+ */
64
+ export function changeStyle(tag, theme) {
65
+ var styleTxt = get_style_library().get(tag.toUpperCase()).get(theme);
66
+ if (styleTxt === undefined) {
67
+ console.log("Dont`t find this style!");
68
+ }
69
+ else {
70
+ var style = document.createElement('style');
71
+ var text = document.createTextNode(styleTxt);
72
+ style.appendChild(text);
73
+ style.setAttribute("tag", tag.toUpperCase());
74
+ style.setAttribute("theme", theme);
75
+ var head = document.getElementsByTagName('head')[0];
76
+ var target = head.querySelector("style" + "[tag=" + tag.toUpperCase() + "]");
77
+ head.replaceChild(style, target);
78
+ }
79
+ }
80
+ /**
81
+ *
82
+ * @param theme
83
+ */
84
+ export function changeTheme(theme) {
85
+ get_style_library().forEach(function (value, key) {
86
+ var styles = document.getElementsByTagName("style");
87
+ for (var i = 0; i < styles.length; i++) {
88
+ if (styles[i].getAttribute("tag") === key) {
89
+ var style = document.createElement('style');
90
+ if (value.get(theme)) {
91
+ var text = document.createTextNode(value.get(theme));
92
+ style.appendChild(text);
93
+ style.setAttribute("tag", key.toUpperCase());
94
+ style.setAttribute("theme", theme);
95
+ var head = document.getElementsByTagName('head')[0];
96
+ head.replaceChild(style, styles[i]);
97
+ }
98
+ }
99
+ }
100
+ });
101
+ set_theme_style(theme);
102
+ }
@@ -1,6 +1,6 @@
1
- import { PrefaceGeneric } from "./generic/plugin/preface/PrefaceGeneric";
2
- import { HooksGeneric } from "./generic/plugin/hooks/HooksGeneric";
3
- import { PluginGeneric } from "./generic/plugin/PluginGeneric";
4
- export declare class SystemInitPlugin implements PluginGeneric {
5
- plugin(preface: PrefaceGeneric, hooks: HooksGeneric): void;
6
- }
1
+ import { PrefaceGeneric } from "./generic/plugin/preface/PrefaceGeneric";
2
+ import { HooksGeneric } from "./generic/plugin/hooks/HooksGeneric";
3
+ import { PluginGeneric } from "./generic/plugin/PluginGeneric";
4
+ export declare class SystemInitPlugin implements PluginGeneric {
5
+ plugin(preface: PrefaceGeneric, hooks: HooksGeneric): void;
6
+ }
@@ -1,10 +1,10 @@
1
- import { HttpAction } from "../system/prototype/HttpAction";
2
- var SystemInitPlugin = /** @class */ (function () {
3
- function SystemInitPlugin() {
4
- }
5
- SystemInitPlugin.prototype.plugin = function (preface, hooks) {
6
- preface.add_user_http(new HttpAction());
7
- };
8
- return SystemInitPlugin;
9
- }());
10
- export { SystemInitPlugin };
1
+ import { HttpAction } from "../system/prototype/HttpAction";
2
+ var SystemInitPlugin = /** @class */ (function () {
3
+ function SystemInitPlugin() {
4
+ }
5
+ SystemInitPlugin.prototype.plugin = function (preface, hooks) {
6
+ preface.add_user_http(new HttpAction());
7
+ };
8
+ return SystemInitPlugin;
9
+ }());
10
+ export { SystemInitPlugin };
@@ -1,5 +1,5 @@
1
- import { HooksGeneric } from "./hooks/HooksGeneric";
2
- import { PrefaceGeneric } from "./preface/PrefaceGeneric";
3
- export interface PluginGeneric {
4
- plugin(preface: PrefaceGeneric, hooks: HooksGeneric): void;
5
- }
1
+ import { HooksGeneric } from "./hooks/HooksGeneric";
2
+ import { PrefaceGeneric } from "./preface/PrefaceGeneric";
3
+ export interface PluginGeneric {
4
+ plugin(preface: PrefaceGeneric, hooks: HooksGeneric): void;
5
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,6 +1,6 @@
1
- import { Component } from "../../../../index";
2
- export interface HooksGeneric {
3
- changeStyle(tag: string, theme: string): void;
4
- changeTheme(theme: string): void;
5
- directDelivery(component: Component): void;
6
- }
1
+ import { Component } from "../../../../index";
2
+ export interface HooksGeneric {
3
+ changeStyle(tag: string, theme: string): void;
4
+ changeTheme(theme: string): void;
5
+ directDelivery(component: Component): void;
6
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,11 +1,11 @@
1
- import { HttpAction } from "../../../../system/prototype/HttpAction";
2
- import { Component } from "../../../../index";
3
- import { RouterGeneric } from "../../router/RouterGeneric";
4
- export interface PrefaceGeneric {
5
- add_system_router(router: RouterGeneric): void;
6
- add_user_http(http: HttpAction): void;
7
- add_anonymous_extension(name: string, plugin: object): void;
8
- add_anonymous_filed(name: string, value: any): void;
9
- register_component(component: Component): void;
10
- set_field_route_mode(value: boolean): void;
11
- }
1
+ import { HttpAction } from "../../../../system/prototype/HttpAction";
2
+ import { Component } from "../../../../index";
3
+ import { RouterGeneric } from "../../router/RouterGeneric";
4
+ export interface PrefaceGeneric {
5
+ add_system_router(router: RouterGeneric): void;
6
+ add_user_http(http: HttpAction): void;
7
+ add_anonymous_extension(name: string, plugin: object): void;
8
+ add_anonymous_filed(name: string, value: any): void;
9
+ register_component(component: Component): void;
10
+ set_field_route_mode(value: boolean): void;
11
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,5 +1,5 @@
1
- import { Component } from "../../../index";
2
- export interface RouterGeneric {
3
- getComponent(): Component;
4
- getPathVariable(): Map<string, any>;
5
- }
1
+ import { Component } from "../../../index";
2
+ export interface RouterGeneric {
3
+ getComponent(): Component;
4
+ getPathVariable(): Map<string, any>;
5
+ }
@@ -1 +1 @@
1
- export {};
1
+ export {};
@@ -1,43 +1,43 @@
1
- import { ComponentGeneric } from "../../system/generic/component/ComponentGeneric";
2
- /**
3
- * This is the component prototype.
4
- */
5
- export declare abstract class AbstractComponent implements ComponentGeneric {
6
- private readonly name;
7
- private readonly template;
8
- private readonly config;
9
- private readonly boxStyle?;
10
- private readonly props?;
11
- private readonly data?;
12
- private readonly methods?;
13
- private readonly computed?;
14
- private readonly watcher?;
15
- private readonly beforeRender?;
16
- private readonly afterRender?;
17
- protected constructor(config: {
18
- name: string;
19
- template: string;
20
- config?: {
21
- boxMode: boolean;
22
- };
23
- boxStyle?: string;
24
- props?: {} | string[];
25
- data?: {};
26
- computed?: {};
27
- methods?: {};
28
- watcher?: {};
29
- beforeRender?: () => void;
30
- afterRender?: () => void;
31
- });
32
- getName(): string;
33
- getTemplate(): string;
34
- getConfig(): {};
35
- getBoxStyle(): string;
36
- getProps(): {};
37
- getData(): {};
38
- getMethods(): {};
39
- getComputed(): {};
40
- getWatcher(): {};
41
- getBeforeRender(): () => void;
42
- getAfterRender(): () => void;
43
- }
1
+ import { ComponentGeneric } from "../../system/generic/component/ComponentGeneric";
2
+ /**
3
+ * This is the component prototype.
4
+ */
5
+ export declare abstract class AbstractComponent implements ComponentGeneric {
6
+ private readonly name;
7
+ private readonly template;
8
+ private readonly config;
9
+ private readonly boxStyle?;
10
+ private readonly props?;
11
+ private readonly data?;
12
+ private readonly methods?;
13
+ private readonly computed?;
14
+ private readonly watcher?;
15
+ private readonly beforeRender?;
16
+ private readonly afterRender?;
17
+ protected constructor(config: {
18
+ name: string;
19
+ template: string;
20
+ config?: {
21
+ boxMode: boolean;
22
+ };
23
+ boxStyle?: string;
24
+ props?: {} | string[];
25
+ data?: {};
26
+ computed?: {};
27
+ methods?: {};
28
+ watcher?: {};
29
+ beforeRender?: () => void;
30
+ afterRender?: () => void;
31
+ });
32
+ getName(): string;
33
+ getTemplate(): string;
34
+ getConfig(): {};
35
+ getBoxStyle(): string;
36
+ getProps(): {};
37
+ getData(): {};
38
+ getMethods(): {};
39
+ getComputed(): {};
40
+ getWatcher(): {};
41
+ getBeforeRender(): () => void;
42
+ getAfterRender(): () => void;
43
+ }