xframelib 0.5.7 → 0.5.8

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.
@@ -24,6 +24,10 @@ export interface IWidgetLayout {
24
24
  height?: string;
25
25
  }
26
26
  export interface IWidgetConfig {
27
+ /**
28
+ * Layout标识名,以支撑多个布局使用
29
+ */
30
+ layoutID?: string;
27
31
  /**
28
32
  * 唯一ID,与组件名一致
29
33
  */
@@ -57,13 +61,13 @@ export interface IWidgetConfig {
57
61
  */
58
62
  preload?: boolean;
59
63
  /**
60
- * 前置容器ID,一般也就是bindid
64
+ * 前置组件 ID,一般也就是bindid
61
65
  */
62
66
  afterid?: string;
63
67
  /**
64
- * 绑定依赖容器ID,不一定有afterid
68
+ * 20220424 WM:暂时去掉,容易混乱和循环引用
69
+ * 绑定依赖组件ID,不一定有afterid
65
70
  */
66
- bindid?: string;
67
71
  /**
68
72
  * 所属组,用于业务分类
69
73
  */
@@ -72,4 +76,8 @@ export interface IWidgetConfig {
72
76
  * 外部定义布局(备用)
73
77
  */
74
78
  layout?: IWidgetLayout;
79
+ /**
80
+ * 扩展属性,支持应用
81
+ */
82
+ [props: string]: any;
75
83
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "xframelib",
3
- "version": "0.5.7",
3
+ "version": "0.5.8",
4
4
  "description": "积累的前端开发基础库",
5
5
  "main": "dist/index.js",
6
6
  "common": "dist/index.cjs",
7
7
  "typings": "dist/index.d.ts",
8
8
  "scripts": {
9
- "dev": "vite",
9
+ "dev": "vite --port 8090",
10
10
  "build": "vite build",
11
11
  "lib": "rollup -c ",
12
12
  "serve": "vite preview",
@@ -34,26 +34,26 @@
34
34
  },
35
35
  "devDependencies": {
36
36
  "@rollup/plugin-alias": "^3.1.9",
37
- "@rollup/plugin-commonjs": "^21.0.3",
37
+ "@rollup/plugin-commonjs": "^22.0.0",
38
38
  "@rollup/plugin-json": "^4.1.0",
39
- "@rollup/plugin-node-resolve": "^13.1.3",
40
- "@rollup/plugin-typescript": "^8.3.1",
39
+ "@rollup/plugin-node-resolve": "^13.2.1",
40
+ "@rollup/plugin-typescript": "^8.3.2",
41
41
  "@types/streamsaver": "^2.0.1",
42
- "@vitejs/plugin-vue": "^2.2.4",
43
- "@vue/compiler-sfc": "^3.2.31",
44
- "esbuild": "^0.14.28",
42
+ "@vitejs/plugin-vue": "^2.3.1",
43
+ "@vue/compiler-sfc": "^3.2.33",
44
+ "esbuild": "^0.14.38",
45
45
  "rimraf": "^3.0.2",
46
46
  "rollup-plugin-copy": "^3.4.0",
47
- "rollup-plugin-esbuild": "^4.8.2",
47
+ "rollup-plugin-esbuild": "^4.9.1",
48
48
  "rollup-plugin-scss": "^3.0.0",
49
49
  "rollup-plugin-terser": "^7.0.2",
50
50
  "rollup-plugin-typescript2": "^0.31.2",
51
51
  "rollup-plugin-vue": "^6.0.0",
52
- "sass": "^1.49.9",
52
+ "sass": "^1.50.1",
53
53
  "typescript": "^4.6.3",
54
- "vite": "^2.8.6",
55
- "vue": "^3.2.31",
54
+ "vite": "^2.9.5",
55
+ "vue": "^3.2.33",
56
56
  "vue-router": "^4.0.14",
57
- "vue-tsc": "^0.33.9"
57
+ "vue-tsc": "^0.34.10"
58
58
  }
59
59
  }