@byteluck-fe/model-driven-core-all 6.2.0-1-beta.10 → 6.2.0-1-beta.12

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.
@@ -1,23 +1,23 @@
1
- export declare function getHackerControl(comid: string, type: 'runtime' | 'designer', tipMessage: string): {
2
- Runtime: any;
3
- Designer: any;
4
- Property: any;
5
- Setting: never[];
6
- Views: {
7
- Desktop: {
8
- template: string;
9
- };
10
- Mobile: {
11
- template: string;
12
- };
13
- Designer: {
14
- template: string;
15
- };
16
- Settings: {
17
- error: {
18
- template: string;
19
- };
20
- };
21
- };
22
- upgrade: (schema: any) => any;
23
- };
1
+ export declare function getHackerControl(comid: string, type: 'runtime' | 'designer', tipMessage: string): {
2
+ Runtime: any;
3
+ Designer: any;
4
+ Property: any;
5
+ Setting: never[];
6
+ Views: {
7
+ Desktop: {
8
+ template: string;
9
+ };
10
+ Mobile: {
11
+ template: string;
12
+ };
13
+ Designer: {
14
+ template: string;
15
+ };
16
+ Settings: {
17
+ error: {
18
+ template: string;
19
+ };
20
+ };
21
+ };
22
+ upgrade: (schema: any) => any;
23
+ };
@@ -1,9 +1,9 @@
1
- export * from '@byteluck-fe/model-driven-core';
2
- export * from '@byteluck-fe/model-driven-shared';
3
- export * from '@byteluck-fe/model-driven-controls';
4
- export * from '@byteluck-fe/model-driven-upgrade';
5
- export * from './loadRemoteScripts';
6
- export * from './registerCustomControls';
7
- export * from './upgradeCustomControlSchema';
8
- export * from './registerByteluckControls';
9
- export * from './getHackerControl';
1
+ export * from '@byteluck-fe/model-driven-core';
2
+ export * from '@byteluck-fe/model-driven-shared';
3
+ export * from '@byteluck-fe/model-driven-controls';
4
+ export * from '@byteluck-fe/model-driven-upgrade';
5
+ export * from './loadRemoteScripts';
6
+ export * from './registerCustomControls';
7
+ export * from './upgradeCustomControlSchema';
8
+ export * from './registerByteluckControls';
9
+ export * from './getHackerControl';
@@ -1,7 +1,7 @@
1
- export declare function loadScriptFromTag(url: string, globalModules: Record<string, any>): Promise<any>;
2
- export declare function nativeFetch(url: string): Promise<string>;
3
- export declare function loadScriptFromFetch(url: string, globalModules: Record<string, any>, options?: {
4
- fetch: typeof nativeFetch;
5
- }): Promise<any>;
6
- export declare function loadRemoteControl(url: string, globalModules: Record<string, any>): Promise<any>;
7
- export declare function loadRemoteControls(urls: string[], globalModules: Record<string, any>): Promise<any[]>;
1
+ export declare function loadScriptFromTag(url: string, globalModules: Record<string, any>): Promise<any>;
2
+ export declare function nativeFetch(url: string): Promise<string>;
3
+ export declare function loadScriptFromFetch(url: string, globalModules: Record<string, any>, options?: {
4
+ fetch: typeof nativeFetch;
5
+ }): Promise<any>;
6
+ export declare function loadRemoteControl(url: string, globalModules: Record<string, any>): Promise<any>;
7
+ export declare function loadRemoteControls(urls: string[], globalModules: Record<string, any>): Promise<any[]>;
@@ -1,7 +1,7 @@
1
- import { CustomComponentBox } from './registerCustomControls';
2
- export declare function registerByteluckControls(url: string, payload: {
3
- type: 'runtime' | 'designer';
4
- version: string;
5
- globalModules: Record<string, any>;
6
- isPc?: boolean;
7
- }): Promise<Map<string, CustomComponentBox>>;
1
+ import { CustomComponentBox } from './registerCustomControls';
2
+ export declare function registerByteluckControls(url: string, payload: {
3
+ type: 'runtime' | 'designer';
4
+ version: string;
5
+ globalModules: Record<string, any>;
6
+ isPc?: boolean;
7
+ }): Promise<Map<string, CustomComponentBox>>;
@@ -1,23 +1,23 @@
1
- import { ExportedControl } from '@byteluck-fe/model-driven-core';
2
- export type CustomComponentDefinition = {
3
- fieldType: string;
4
- id: string;
5
- name: string;
6
- runtime: string;
7
- runtimecss?: string;
8
- designer: string;
9
- designercss?: string;
10
- type: string;
11
- version: string;
12
- };
13
- export type CustomComponentBox = {
14
- props: any;
15
- version: string;
16
- isLoaded: boolean;
17
- control: ExportedControl;
18
- };
19
- export declare function registerCustomControls(componentList: string[], components: CustomComponentDefinition[], refLibs: Record<string, any>, payload: {
20
- type: 'runtime' | 'designer';
21
- tipMessage: string;
22
- isPc?: boolean;
23
- }): Promise<Map<string, CustomComponentBox>>;
1
+ import { ExportedControl } from '@byteluck-fe/model-driven-core';
2
+ export type CustomComponentDefinition = {
3
+ fieldType: string;
4
+ id: string;
5
+ name: string;
6
+ runtime: string;
7
+ runtimecss?: string;
8
+ designer: string;
9
+ designercss?: string;
10
+ type: string;
11
+ version: string;
12
+ };
13
+ export type CustomComponentBox = {
14
+ props: any;
15
+ version: string;
16
+ isLoaded: boolean;
17
+ control: ExportedControl;
18
+ };
19
+ export declare function registerCustomControls(componentList: string[], components: CustomComponentDefinition[], refLibs: Record<string, any>, payload: {
20
+ type: 'runtime' | 'designer';
21
+ tipMessage: string;
22
+ isPc?: boolean;
23
+ }): Promise<Map<string, CustomComponentBox>>;
@@ -1,2 +1,2 @@
1
- import { CustomComponentBox } from './registerCustomControls';
2
- export declare function upgradeCustomControlSchema(schema: any, registered: Map<string, CustomComponentBox>, componentList: string[], payload: any): any;
1
+ import { CustomComponentBox } from './registerCustomControls';
2
+ export declare function upgradeCustomControlSchema(schema: any, registered: Map<string, CustomComponentBox>, componentList: string[], payload: any): any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/model-driven-core-all",
3
- "version": "6.2.0-1-beta.10",
3
+ "version": "6.2.0-1-beta.12",
4
4
  "description": "> TODO: description",
5
5
  "author": "郝晨光 <2293885211@qq.com>",
6
6
  "homepage": "",
@@ -26,10 +26,10 @@
26
26
  "postpublish": "node ../../scripts/postpublish.js"
27
27
  },
28
28
  "dependencies": {
29
- "@byteluck-fe/model-driven-controls": "6.2.0-1-beta.10",
29
+ "@byteluck-fe/model-driven-controls": "6.2.0-1-beta.12",
30
30
  "@byteluck-fe/model-driven-core": "6.2.0-1-beta.9",
31
31
  "@byteluck-fe/model-driven-shared": "6.2.0-1-beta.9",
32
- "@byteluck-fe/model-driven-upgrade": "6.2.0-1-beta.10"
32
+ "@byteluck-fe/model-driven-upgrade": "6.2.0-1-beta.12"
33
33
  },
34
- "gitHead": "588ab7a0af669942037c568bd5dc4afb19e1518a"
34
+ "gitHead": "c04887e5b6b2c42f79055dec648bb71f4eb2169d"
35
35
  }