render-core 1.4.31 → 1.4.33

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 (64) hide show
  1. package/index.d.ts +62 -29
  2. package/index.js +52 -44
  3. package/kernel/delivery/delivery.d.ts +4 -10
  4. package/kernel/delivery/delivery.js +4 -17
  5. package/kernel/directive/data/v-el.d.ts +1 -1
  6. package/kernel/directive/data/v-html.d.ts +1 -1
  7. package/kernel/directive/data/v-txt.d.ts +1 -1
  8. package/kernel/directive/justify/v-if.js +2 -2
  9. package/kernel/directive/slot/v-slot.d.ts +1 -1
  10. package/kernel/proxyer/getProxy.d.ts +1 -1
  11. package/kernel/renderer/initRender.d.ts +3 -3
  12. package/kernel/renderer/initRender.js +6 -5
  13. package/kernel/renderer/pageRender.d.ts +9 -0
  14. package/kernel/renderer/pageRender.js +53 -0
  15. package/kernel/renderer/postRender.d.ts +3 -3
  16. package/kernel/renderer/postRender.js +4 -3
  17. package/kernel/renderer/rawRender.d.ts +3 -3
  18. package/kernel/renderer/rawRender.js +4 -3
  19. package/kernel/renderer/updateRender.d.ts +1 -1
  20. package/kernel/router/router.d.ts +3 -9
  21. package/kernel/router/router.js +10 -30
  22. package/package.json +1 -1
  23. package/system/generic/component/ComponentGeneric.d.ts +2 -2
  24. package/{tension/prototype → system/generic/component/instance}/AbstractComponent.d.ts +9 -11
  25. package/{tension/prototype → system/generic/component/instance}/AbstractComponent.js +9 -24
  26. package/system/generic/controller/ControllerGeneric.d.ts +3 -3
  27. package/system/{prototype → generic/controller/prototype}/ContextController.d.ts +6 -6
  28. package/system/{prototype → generic/controller/prototype}/HttpAction.d.ts +1 -1
  29. package/system/generic/data/ComputedDataGeneric.d.ts +1 -1
  30. package/system/generic/data/OriginalDataGeneric.d.ts +1 -1
  31. package/system/generic/data/WatcherDataGeneric.d.ts +1 -1
  32. package/system/generic/render/RenderGeneric.d.ts +2 -4
  33. package/system/injection/injection.d.ts +1 -1
  34. package/system/injection/injector.d.ts +5 -5
  35. package/system/lifecycle/lifeCycle.d.ts +1 -1
  36. package/system/lifecycle/mount.d.ts +3 -3
  37. package/system/lifecycle/mount.js +1 -1
  38. package/system/recorder/table0/system_func_0.d.ts +5 -5
  39. package/system/recorder/table0/system_t_0.d.ts +2 -2
  40. package/system/recorder/table1/system_func_1.d.ts +2 -0
  41. package/system/recorder/table1/system_func_1.js +6 -0
  42. package/system/recorder/table3/system_func_3.d.ts +1 -1
  43. package/system/utility/directive/cmdUtility.d.ts +3 -3
  44. package/system/utility/initiate/templateUtility.d.ts +2 -2
  45. package/system/utility/react/inputType.d.ts +1 -1
  46. package/system/utility/react/sectionUtility.d.ts +1 -1
  47. package/system/utility/style/styleUtility.d.ts +2 -2
  48. package/tension/SystemInitPlugin.js +1 -1
  49. package/tension/generic/plugin/hooks/HooksGeneric.d.ts +0 -2
  50. package/tension/generic/plugin/preface/PrefaceGeneric.d.ts +3 -3
  51. package/tension/generic/router/RouterGeneric.d.ts +6 -3
  52. package/tension/prototype/HooksAction.d.ts +0 -2
  53. package/tension/prototype/HooksAction.js +0 -4
  54. package/tension/prototype/PrefaceAction.d.ts +3 -3
  55. package/verify/directive-linter.d.ts +0 -4
  56. package/verify/directive-linter.js +152 -123
  57. package/xboot/entrance.d.ts +1 -13
  58. package/xboot/entrance.js +3 -49
  59. package/xboot/renderProcessor.d.ts +1 -1
  60. package/xboot/tagProcessor.d.ts +2 -2
  61. package/kernel/directive/salt/v-solt.d.ts +0 -13
  62. package/kernel/directive/salt/v-solt.js +0 -46
  63. /package/system/{prototype → generic/controller/prototype}/ContextController.js +0 -0
  64. /package/system/{prototype → generic/controller/prototype}/HttpAction.js +0 -0
@@ -1,37 +1,17 @@
1
1
  import { get_context_controller } from "../../system/recorder/table0/system_func_0";
2
2
  import { spa_delivery } from "../delivery/delivery";
3
3
  import { get_system_ext_router } from "../../system/recorder/table3/system_func_3";
4
- import { set_path_variable } from "../../system/recorder/table1/system_func_1";
4
+ import { set_params_variable, set_path_variable } from "../../system/recorder/table1/system_func_1";
5
5
  /**
6
- *
7
6
  * @param view
7
+ * @param params
8
+ * @param pathParams
8
9
  */
9
- export function router_listener_with_router(view) {
10
- if (!get_system_ext_router())
11
- console.warn("Router not supported");
12
- else {
13
- if (view !== null) {
14
- var controller = get_context_controller();
15
- var router = get_system_ext_router();
16
- var component = router.getComponent();
17
- var variable = router.getPathVariable();
18
- set_path_variable(variable);
19
- spa_delivery(component, view.parentNode, view, controller);
20
- }
21
- else
22
- console.warn("Without view element to render");
23
- }
24
- }
25
- /**
26
- *
27
- * @param component
28
- * @param mounter
29
- */
30
- export function router_listener_without_router(component, mounter) {
31
- if (mounter !== null) {
32
- var controller = get_context_controller();
33
- spa_delivery(component, mounter.parentNode, mounter, controller);
34
- }
35
- else
36
- console.warn("Without mounter element to render");
10
+ export function router_listener_with_router(view, params, pathParams) {
11
+ var controller = get_context_controller();
12
+ var router = get_system_ext_router();
13
+ var component = router.getComponent();
14
+ set_params_variable(params);
15
+ set_path_variable(pathParams);
16
+ spa_delivery(component.component, view, controller);
37
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "render-core",
3
- "version": "1.4.31",
3
+ "version": "1.4.33",
4
4
  "description": "The extendable javascript web framework",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -1,8 +1,8 @@
1
1
  export interface ComponentGeneric {
2
2
  getName(): string;
3
3
  getTemplate(): string;
4
- getConfig(): {};
5
- getBoxStyle(): string;
4
+ getStyle(): string;
5
+ getVDate(): string;
6
6
  getProps(): {};
7
7
  getData(): {};
8
8
  getMethods(): {};
@@ -1,12 +1,10 @@
1
- import { ComponentGeneric } from "../../system/generic/component/ComponentGeneric";
1
+ import { ComponentGeneric } from "../ComponentGeneric";
2
2
  /**
3
3
  * This is the component prototype.
4
4
  */
5
5
  export declare abstract class AbstractComponent implements ComponentGeneric {
6
- private readonly name;
7
6
  private readonly template;
8
- private readonly config;
9
- private readonly boxStyle?;
7
+ private readonly style;
10
8
  private readonly props?;
11
9
  private readonly data?;
12
10
  private readonly methods?;
@@ -15,12 +13,12 @@ export declare abstract class AbstractComponent implements ComponentGeneric {
15
13
  private readonly beforeRender?;
16
14
  private readonly afterRender?;
17
15
  protected constructor(config: {
18
- name: string;
19
- template: string;
20
- config?: {
21
- boxMode: boolean;
16
+ template: {
17
+ name: string;
18
+ vDate: string;
19
+ template: string;
22
20
  };
23
- boxStyle?: string;
21
+ style?: string;
24
22
  props?: {} | string[];
25
23
  data?: {};
26
24
  computed?: {};
@@ -31,8 +29,8 @@ export declare abstract class AbstractComponent implements ComponentGeneric {
31
29
  });
32
30
  getName(): string;
33
31
  getTemplate(): string;
34
- getConfig(): {};
35
- getBoxStyle(): string;
32
+ getVDate(): string;
33
+ getStyle(): string;
36
34
  getProps(): {};
37
35
  getData(): {};
38
36
  getMethods(): {};
@@ -3,28 +3,13 @@
3
3
  */
4
4
  var AbstractComponent = /** @class */ (function () {
5
5
  function AbstractComponent(config) {
6
- //标签名称
7
- this.name = config.name;
8
6
  //标签模板样式
9
7
  this.template = config.template;
10
- //添加box样式
11
- if (typeof config === "undefined") {
12
- this.config = {
13
- boxMode: true
14
- };
8
+ if (typeof config.style === "undefined") {
9
+ this.style = "";
15
10
  }
16
11
  else {
17
- this.config = config.config;
18
- }
19
- //添加box样式
20
- if (typeof config.boxStyle === "undefined") {
21
- this.boxStyle = "";
22
- }
23
- else {
24
- this.boxStyle = config.boxStyle.replace(/^{/, "");
25
- this.boxStyle = this.boxStyle.replace(/}$/, "");
26
- this.boxStyle = this.boxStyle.replace(/\n/, "");
27
- this.boxStyle = this.boxStyle.trim();
12
+ this.style = config.style;
28
13
  }
29
14
  //props validate
30
15
  if (typeof config.props === "undefined") {
@@ -76,16 +61,16 @@ var AbstractComponent = /** @class */ (function () {
76
61
  }
77
62
  }
78
63
  AbstractComponent.prototype.getName = function () {
79
- return this.name;
64
+ return this.template.name;
80
65
  };
81
66
  AbstractComponent.prototype.getTemplate = function () {
82
- return this.template;
67
+ return this.template.template;
83
68
  };
84
- AbstractComponent.prototype.getConfig = function () {
85
- return this.config;
69
+ AbstractComponent.prototype.getVDate = function () {
70
+ return this.template.vDate;
86
71
  };
87
- AbstractComponent.prototype.getBoxStyle = function () {
88
- return this.boxStyle;
72
+ AbstractComponent.prototype.getStyle = function () {
73
+ return this.style;
89
74
  };
90
75
  AbstractComponent.prototype.getProps = function () {
91
76
  return this.props;
@@ -1,12 +1,12 @@
1
- import { ContextController } from "../../prototype/ContextController";
2
- import { Component } from "../../../index";
1
+ import { ContextController } from "./prototype/ContextController";
2
+ import { AdjustComponent, ControlComponent } from "../../../index";
3
3
  import { OriginalDataGeneric } from "../data/OriginalDataGeneric";
4
4
  /**
5
5
  * The class is the prototype of controller
6
6
  */
7
7
  export interface ControllerGeneric {
8
8
  componentAttachedRootElement: ParentNode;
9
- prototypeOfComponent: Component;
9
+ prototypeOfComponent: AdjustComponent | ControlComponent;
10
10
  parentController: ContextController;
11
11
  anchorBegin: HTMLElement;
12
12
  anchorEnd: HTMLElement;
@@ -1,11 +1,11 @@
1
- import { ControllerGeneric } from "../generic/controller/ControllerGeneric";
2
- import { Component } from "../../index";
3
- import { OriginalDataGeneric } from "../generic/data/OriginalDataGeneric";
4
- import { ComputedDataGeneric } from "../generic/data/ComputedDataGeneric";
5
- import { WatcherDataGeneric } from "../generic/data/WatcherDataGeneric";
1
+ import { ControllerGeneric } from "../ControllerGeneric";
2
+ import { AdjustComponent, ControlComponent } from "../../../../index";
3
+ import { OriginalDataGeneric } from "../../data/OriginalDataGeneric";
4
+ import { ComputedDataGeneric } from "../../data/ComputedDataGeneric";
5
+ import { WatcherDataGeneric } from "../../data/WatcherDataGeneric";
6
6
  export declare class ContextController implements ControllerGeneric {
7
7
  componentAttachedRootElement: ParentNode | Element;
8
- prototypeOfComponent: Component;
8
+ prototypeOfComponent: AdjustComponent | ControlComponent;
9
9
  parentController: ContextController;
10
10
  anchorBegin: HTMLElement;
11
11
  anchorEnd: HTMLElement;
@@ -1,4 +1,4 @@
1
- import { HttpGeneric } from "../generic/http/HttpGeneric";
1
+ import { HttpGeneric } from "../../http/HttpGeneric";
2
2
  export declare class HttpAction implements HttpGeneric {
3
3
  redirect(url: string, parameters: {}): void;
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { HttpAction } from "../../prototype/HttpAction";
1
+ import { HttpAction } from "../controller/prototype/HttpAction";
2
2
  export interface ComputedDataGeneric {
3
3
  $name?: string;
4
4
  $props?: Map<string, any>;
@@ -1,4 +1,4 @@
1
- import { HttpAction } from "../../prototype/HttpAction";
1
+ import { HttpAction } from "../controller/prototype/HttpAction";
2
2
  export interface OriginalDataGeneric {
3
3
  $name?: string;
4
4
  $props?: Map<string, any>;
@@ -1,4 +1,4 @@
1
- import { HttpAction } from "../../prototype/HttpAction";
1
+ import { HttpAction } from "../controller/prototype/HttpAction";
2
2
  export interface WatcherDataGeneric {
3
3
  $name?: string;
4
4
  $props?: Map<string, any>;
@@ -1,9 +1,7 @@
1
1
  import { PluginGeneric } from "../../../tension/generic/plugin/PluginGeneric";
2
- import { Component } from "../../../index";
2
+ import { AdjustComponent, ControlComponent } from "../../../index";
3
3
  export interface RenderGeneric {
4
4
  use_plugin(plugin: PluginGeneric): void;
5
- add_tag(component: Component): void;
5
+ add_tag(component: AdjustComponent | ControlComponent): void;
6
6
  listen(): void;
7
- render(component: Component, mounter: string): void;
8
- weave(mounter: string): void;
9
7
  }
@@ -1,4 +1,4 @@
1
- import { ContextController } from "../prototype/ContextController";
1
+ import { ContextController } from "../generic/controller/prototype/ContextController";
2
2
  /**
3
3
  *
4
4
  * @param controller
@@ -1,5 +1,5 @@
1
- import { ContextController } from "../prototype/ContextController";
2
- import { Component } from "../../index";
1
+ import { ContextController } from "../generic/controller/prototype/ContextController";
2
+ import { AdjustComponent, ControlComponent } from "../../index";
3
3
  /**
4
4
  *
5
5
  * @param name
@@ -63,16 +63,16 @@ export declare function inject_$getter_to_data(data: {}, getter: any): void;
63
63
  * @param controller
64
64
  * @param proto
65
65
  */
66
- export declare function inject_method_to_data(controller: ContextController, proto: Component): void;
66
+ export declare function inject_method_to_data(controller: ContextController, proto: AdjustComponent | ControlComponent): void;
67
67
  /**
68
68
  *
69
69
  * @param controller
70
70
  * @param proto
71
71
  */
72
- export declare function inject_watcher_to_controller(controller: ContextController, proto: Component): void;
72
+ export declare function inject_watcher_to_controller(controller: ContextController, proto: AdjustComponent | ControlComponent): void;
73
73
  /**
74
74
  *
75
75
  * @param controller
76
76
  * @param proto
77
77
  */
78
- export declare function inject_computed_to_controller(controller: ContextController, proto: Component): void;
78
+ export declare function inject_computed_to_controller(controller: ContextController, proto: AdjustComponent | ControlComponent): void;
@@ -1,4 +1,4 @@
1
- import { ContextController } from "../prototype/ContextController";
1
+ import { ContextController } from "../generic/controller/prototype/ContextController";
2
2
  /**
3
3
  * This function handles pre-render operations
4
4
  * @param currenController
@@ -1,5 +1,5 @@
1
- import { ContextController } from "../prototype/ContextController";
2
- import { Component } from "../../index";
1
+ import { ContextController } from "../generic/controller/prototype/ContextController";
2
+ import { AdjustComponent, ControlComponent } from "../../index";
3
3
  /**
4
4
  * This function is used to mount the dom to the HTML document.
5
5
  * @param controller
@@ -8,7 +8,7 @@ import { Component } from "../../index";
8
8
  * @param child
9
9
  * @param tagTemplate
10
10
  */
11
- export declare function archive_mount(controller: ContextController, proto: Component, parent: ParentNode, child: ChildNode, tagTemplate: Element): void;
11
+ export declare function archive_mount(controller: ContextController, proto: AdjustComponent | ControlComponent, parent: ParentNode, child: ChildNode, tagTemplate: Element): void;
12
12
  /**
13
13
  * Insert elements without div element
14
14
  * @param root
@@ -10,7 +10,7 @@ export function archive_mount(controller, proto, parent, child, tagTemplate) {
10
10
  //mount
11
11
  var renderSpace = document.createElement("div");
12
12
  //给box添加样式
13
- renderSpace.setAttribute("style", proto.getBoxStyle());
13
+ renderSpace.setAttribute("style", proto.getStyle());
14
14
  //指定渲染空间
15
15
  controller.componentAttachedRootElement = renderSpace;
16
16
  //开始渲染
@@ -1,20 +1,20 @@
1
- import { Component } from "../../../index";
2
- import { ContextController } from "../../prototype/ContextController";
1
+ import { AdjustComponent, ControlComponent } from "../../../index";
2
+ import { ContextController } from "../../generic/controller/prototype/ContextController";
3
3
  /**
4
4
  * Use the func to inject a tag component to the tag-library.
5
5
  * @param tagName The tag name
6
6
  * @param tagDefine The tag prototype class
7
7
  */
8
- export declare function tag_library_inject(tagName: string, tagDefine: Component): void;
8
+ export declare function tag_library_inject(tagName: string, tagDefine: AdjustComponent | ControlComponent): void;
9
9
  /**
10
10
  * Use the func to get a tag prototype class
11
11
  * @param tagName The name of tag you want to search
12
12
  */
13
- export declare function tag_library_search(tagName: string): Component | null;
13
+ export declare function tag_library_search(tagName: string): AdjustComponent | ControlComponent | null;
14
14
  /**
15
15
  * From the system_t_0 table, get tag library
16
16
  */
17
- export declare function get_tag_library(): Map<string, Component>;
17
+ export declare function get_tag_library(): Map<string, AdjustComponent | ControlComponent>;
18
18
  /**
19
19
  * From the system_t_0 table, get style library
20
20
  */
@@ -1,6 +1,6 @@
1
- import { Component } from "../../../index";
1
+ import { AdjustComponent, ControlComponent } from "../../../index";
2
2
  declare const _default: {
3
- tagLib: Map<string, Component>;
3
+ tagLib: Map<string, AdjustComponent | ControlComponent>;
4
4
  styleLib: Map<string, Map<string, string>>;
5
5
  contextController: any;
6
6
  };
@@ -4,5 +4,7 @@ export declare function set_router_mode(value: boolean): void;
4
4
  export declare function get_route_mode(): boolean;
5
5
  export declare function set_path_variable(value: object): void;
6
6
  export declare function get_path_variable(): Map<string, string>;
7
+ export declare function set_params_variable(value: object): void;
8
+ export declare function get_params_variable(): Map<string, string>;
7
9
  export declare function get_route_table(): object;
8
10
  export declare function set_route_table(value: object): void;
@@ -17,6 +17,12 @@ export function set_path_variable(value) {
17
17
  export function get_path_variable() {
18
18
  return Reflect.get(system_t_1, "pathVariable");
19
19
  }
20
+ export function set_params_variable(value) {
21
+ Reflect.set(system_t_1, "params", value);
22
+ }
23
+ export function get_params_variable() {
24
+ return Reflect.get(system_t_1, "params");
25
+ }
20
26
  export function get_route_table() {
21
27
  return Reflect.get(system_t_1, "routeTable");
22
28
  }
@@ -1,4 +1,4 @@
1
- import { HttpAction } from "../../prototype/HttpAction";
1
+ import { HttpAction } from "../../generic/controller/prototype/HttpAction";
2
2
  import { RouterGeneric } from "../../../tension/generic/router/RouterGeneric";
3
3
  export declare function set_system_ext_router(router: RouterGeneric): void;
4
4
  export declare function get_system_ext_router(): RouterGeneric;
@@ -1,12 +1,12 @@
1
- import { ContextController } from "../../prototype/ContextController";
2
- import { Component } from "../../../index";
1
+ import { ContextController } from "../../generic/controller/prototype/ContextController";
2
+ import { AdjustComponent, ControlComponent } from "../../../index";
3
3
  /**
4
4
  * This function is used to parse_directive those commands which should be executed before mount.
5
5
  * @param tagTemplate
6
6
  * @param proto
7
7
  * @param controller
8
8
  */
9
- export declare function directive_parse_collection_for_before(tagTemplate: Element, proto: Component, controller: ContextController): void;
9
+ export declare function directive_parse_collection_for_before(tagTemplate: Element, proto: AdjustComponent | ControlComponent, controller: ContextController): void;
10
10
  /**
11
11
  * This function is used to parse_directive those commands which should be executed after mount.
12
12
  * @param templateSpace
@@ -1,6 +1,6 @@
1
- import { Component } from "../../../index";
1
+ import { AdjustComponent, ControlComponent } from "../../../index";
2
2
  /**
3
3
  * This func used to get the view tag from the template
4
4
  * @param proto
5
5
  */
6
- export declare function getTemplate(proto: Component): Element;
6
+ export declare function getTemplate(proto: AdjustComponent | ControlComponent): Element;
@@ -1,4 +1,4 @@
1
- import { ContextController } from "../../prototype/ContextController";
1
+ import { ContextController } from "../../generic/controller/prototype/ContextController";
2
2
  /**
3
3
  * This func used to resolve input-data which is the text type
4
4
  * @param target
@@ -1,4 +1,4 @@
1
- import { ContextController } from "../../prototype/ContextController";
1
+ import { ContextController } from "../../generic/controller/prototype/ContextController";
2
2
  /**
3
3
  *
4
4
  * @param controller
@@ -1,4 +1,4 @@
1
- import { Component } from "../../../index";
1
+ import { AdjustComponent, ControlComponent } from "../../../index";
2
2
  /**
3
3
  *
4
4
  * @param tag
@@ -9,7 +9,7 @@ export declare function checkStyleLabel(tag: string): boolean;
9
9
  * @param component
10
10
  * @param styleLib
11
11
  */
12
- export declare function themeStyle(component: Component, styleLib: Map<string, object>): void;
12
+ export declare function themeStyle(component: AdjustComponent | ControlComponent, styleLib: Map<string, object>): void;
13
13
  /**
14
14
  * Here is the function to resolve
15
15
  * @param tag
@@ -1,4 +1,4 @@
1
- import { HttpAction } from "../system/prototype/HttpAction";
1
+ import { HttpAction } from "../system/generic/controller/prototype/HttpAction";
2
2
  /**
3
3
  *
4
4
  */
@@ -1,6 +1,4 @@
1
- import { Component } from "../../../../index";
2
1
  export interface HooksGeneric {
3
2
  changeStyle(tag: string, theme: string): void;
4
3
  changeTheme(theme: string): void;
5
- directDelivery(component: Component): void;
6
4
  }
@@ -1,11 +1,11 @@
1
- import { HttpAction } from "../../../../system/prototype/HttpAction";
2
- import { Component } from "../../../../index";
1
+ import { HttpAction } from "../../../../system/generic/controller/prototype/HttpAction";
2
+ import { AdjustComponent, ControlComponent } from "../../../../index";
3
3
  import { RouterGeneric } from "../../router/RouterGeneric";
4
4
  export interface PrefaceGeneric {
5
5
  add_system_router(router: RouterGeneric): void;
6
6
  add_user_http(http: HttpAction): void;
7
7
  add_anonymous_extension(name: string, plugin: object): void;
8
8
  add_anonymous_filed(name: string, value: any): void;
9
- register_component(component: Component): void;
9
+ register_component(component: AdjustComponent | ControlComponent): void;
10
10
  set_field_route_mode(value: boolean): void;
11
11
  }
@@ -1,5 +1,8 @@
1
- import { Component } from "../../../index";
1
+ import { PageComponent } from "../../../index";
2
2
  export interface RouterGeneric {
3
- getComponent(): Component;
4
- getPathVariable(): Map<string, any>;
3
+ getComponent(): {
4
+ params: Map<string, any>;
5
+ pathParams: Map<string, any>;
6
+ component: PageComponent;
7
+ };
5
8
  }
@@ -1,7 +1,5 @@
1
1
  import { HooksGeneric } from "../generic/plugin/hooks/HooksGeneric";
2
- import { Component } from "../../index";
3
2
  export declare class HooksAction implements HooksGeneric {
4
3
  changeStyle(tag: string, theme: string): void;
5
4
  changeTheme(theme: string): void;
6
- directDelivery(component: Component): void;
7
5
  }
@@ -1,5 +1,4 @@
1
1
  import { changeStyle, changeTheme } from "../../system/utility/style/styleUtility";
2
- import { direct_delivery } from "../../kernel/delivery/delivery";
3
2
  var HooksAction = /** @class */ (function () {
4
3
  function HooksAction() {
5
4
  }
@@ -11,9 +10,6 @@ var HooksAction = /** @class */ (function () {
11
10
  HooksAction.prototype.changeTheme = function (theme) {
12
11
  changeTheme(theme);
13
12
  };
14
- HooksAction.prototype.directDelivery = function (component) {
15
- direct_delivery(component);
16
- };
17
13
  return HooksAction;
18
14
  }());
19
15
  export { HooksAction };
@@ -1,12 +1,12 @@
1
1
  import { PrefaceGeneric } from "../generic/plugin/preface/PrefaceGeneric";
2
- import { Component } from "../../index";
3
- import { HttpAction } from "../../system/prototype/HttpAction";
2
+ import { AdjustComponent, ControlComponent } from "../../index";
3
+ import { HttpAction } from "../../system/generic/controller/prototype/HttpAction";
4
4
  import { RouterGeneric } from "../generic/router/RouterGeneric";
5
5
  export declare class PrefaceAction implements PrefaceGeneric {
6
6
  add_anonymous_extension(name: string, plugin: object): void;
7
7
  add_anonymous_filed(name: string, value: any): void;
8
8
  add_system_router(router: RouterGeneric): void;
9
9
  add_user_http(http: HttpAction): void;
10
- register_component(component: Component): void;
10
+ register_component(component: AdjustComponent | ControlComponent): void;
11
11
  set_field_route_mode(value: boolean): void;
12
12
  }
@@ -1,4 +0,0 @@
1
- import { Component } from "../index";
2
- import LintError from "./generic/lintError";
3
- export declare function lintComponent(component: Component): LintError[];
4
- export declare function lintComponents(components: Component[]): Map<string, LintError[]>;