@ibiz-template/runtime 0.5.3-beta.3 → 0.5.3-beta.4

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,4 +1,4 @@
1
1
  export { PluginStaticResource } from './plugin-static-resource/plugin-static-resource';
2
- export type { RemotePluginConfig } from './remote-plugin-item/remote-plugin-item';
2
+ export type { ISystemImportMap, RemotePluginConfig, } from './remote-plugin-item/remote-plugin-item';
3
3
  export { RemotePluginItem } from './remote-plugin-item/remote-plugin-item';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/plugin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,iDAAiD,CAAC;AACvF,YAAY,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAClF,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/plugin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,iDAAiD,CAAC;AACvF,YAAY,EACV,gBAAgB,EAChB,kBAAkB,GACnB,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC"}
@@ -1,3 +1,41 @@
1
+ /**
2
+ * systemjs importmap 配置定义
3
+ *
4
+ * @author chitanda
5
+ * @date 2024-01-11 20:01:45
6
+ * @export
7
+ * @interface ISystemImportMap
8
+ */
9
+ export interface ISystemImportMap {
10
+ /**
11
+ * 基础路径
12
+ *
13
+ * @author chitanda
14
+ * @date 2024-01-11 20:01:53
15
+ * @type {string}
16
+ */
17
+ baseUrl?: string;
18
+ /**
19
+ * 脚本
20
+ *
21
+ * @author chitanda
22
+ * @date 2024-01-11 20:01:57
23
+ * @type {{ [key: string]: string }}
24
+ */
25
+ imports: {
26
+ [key: string]: string;
27
+ };
28
+ /**
29
+ * 样式
30
+ *
31
+ * @author chitanda
32
+ * @date 2024-01-11 20:01:38
33
+ * @type {({ [key: string]: string | string[] })}
34
+ */
35
+ styles: {
36
+ [key: string]: string | string[];
37
+ };
38
+ }
1
39
  /**
2
40
  * 远程插件配置
3
41
  *
@@ -67,10 +105,10 @@ export interface RemotePluginConfig {
67
105
  * 额外的 systemjs 模块声明
68
106
  *
69
107
  * @author chitanda
70
- * @date 2024-01-11 16:01:14
71
- * @type {IParams}
108
+ * @date 2024-01-11 20:01:37
109
+ * @type {ISystemImportMap}
72
110
  */
73
- 'systemjs-importmap'?: IParams;
111
+ 'systemjs-importmap'?: ISystemImportMap;
74
112
  }
75
113
  /**
76
114
  * 远程插件项
@@ -1 +1 @@
1
- {"version":3,"file":"remote-plugin-item.d.ts","sourceRoot":"","sources":["../../../src/plugin/remote-plugin-item/remote-plugin-item.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;;;;OAMG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;;;OAMG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;;;OAMG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;;;OAMG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;;;OAMG;IACH,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC1B;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IACd;;;;;;OAMG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED;;;;;;;GAOG;AACH,qBAAa,gBAAgB;IAC3B;;;;;;OAMG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IAErB;;;;;;OAMG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB;;;;;;OAMG;IACH,QAAQ,CAAC,MAAM,EAAE,kBAAkB,CAAC;IAEpC;;;;;;;;OAQG;gBACS,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB;CAKlE"}
1
+ {"version":3,"file":"remote-plugin-item.d.ts","sourceRoot":"","sources":["../../../src/plugin/remote-plugin-item/remote-plugin-item.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;;;OAMG;IACH,OAAO,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACnC;;;;;;OAMG;IACH,MAAM,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;KAAE,CAAC;CAC9C;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;;;;OAMG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;;;OAMG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;;;OAMG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;;;OAMG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;;;OAMG;IACH,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC1B;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IACd;;;;;;OAMG;IACH,oBAAoB,CAAC,EAAE,gBAAgB,CAAC;CACzC;AAED;;;;;;;GAOG;AACH,qBAAa,gBAAgB;IAC3B;;;;;;OAMG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IAErB;;;;;;OAMG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAEtB;;;;;;OAMG;IACH,QAAQ,CAAC,MAAM,EAAE,kBAAkB,CAAC;IAEpC;;;;;;;;OAQG;gBACS,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB;CAKlE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ibiz-template/runtime",
3
- "version": "0.5.3-beta.3",
3
+ "version": "0.5.3-beta.4",
4
4
  "description": "控制器包",
5
5
  "type": "module",
6
6
  "main": "out/index.js",
@@ -59,5 +59,5 @@
59
59
  "qx-util": "^0.4.8",
60
60
  "ramda": "^0.29.0"
61
61
  },
62
- "gitHead": "aa4b5154d71ba589f28f90128db1e309db7c578a"
62
+ "gitHead": "ed060fe1367c03eb252f52ac33a93ee7350733e3"
63
63
  }
@@ -1,3 +1,6 @@
1
1
  export { PluginStaticResource } from './plugin-static-resource/plugin-static-resource';
2
- export type { RemotePluginConfig } from './remote-plugin-item/remote-plugin-item';
2
+ export type {
3
+ ISystemImportMap,
4
+ RemotePluginConfig,
5
+ } from './remote-plugin-item/remote-plugin-item';
3
6
  export { RemotePluginItem } from './remote-plugin-item/remote-plugin-item';
@@ -1,3 +1,38 @@
1
+ /**
2
+ * systemjs importmap 配置定义
3
+ *
4
+ * @author chitanda
5
+ * @date 2024-01-11 20:01:45
6
+ * @export
7
+ * @interface ISystemImportMap
8
+ */
9
+ export interface ISystemImportMap {
10
+ /**
11
+ * 基础路径
12
+ *
13
+ * @author chitanda
14
+ * @date 2024-01-11 20:01:53
15
+ * @type {string}
16
+ */
17
+ baseUrl?: string;
18
+ /**
19
+ * 脚本
20
+ *
21
+ * @author chitanda
22
+ * @date 2024-01-11 20:01:57
23
+ * @type {{ [key: string]: string }}
24
+ */
25
+ imports: { [key: string]: string };
26
+ /**
27
+ * 样式
28
+ *
29
+ * @author chitanda
30
+ * @date 2024-01-11 20:01:38
31
+ * @type {({ [key: string]: string | string[] })}
32
+ */
33
+ styles: { [key: string]: string | string[] };
34
+ }
35
+
1
36
  /**
2
37
  * 远程插件配置
3
38
  *
@@ -67,10 +102,10 @@ export interface RemotePluginConfig {
67
102
  * 额外的 systemjs 模块声明
68
103
  *
69
104
  * @author chitanda
70
- * @date 2024-01-11 16:01:14
71
- * @type {IParams}
105
+ * @date 2024-01-11 20:01:37
106
+ * @type {ISystemImportMap}
72
107
  */
73
- 'systemjs-importmap'?: IParams;
108
+ 'systemjs-importmap'?: ISystemImportMap;
74
109
  }
75
110
 
76
111
  /**