xframelib 1.0.7 → 1.0.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.
package/README.md CHANGED
@@ -13,6 +13,7 @@
13
13
 
14
14
  > 基于 VUE3+Hprose+Typescript+Widget 的前端框架,与ElementUI、AntDesign VUE、Quasar等界面库无关,一直是来源于项目和服务于项目。
15
15
 
16
+ - v1.0.8 优化LayoutContainer组件,增加属性(默认值为false):noTop、noMain、noBack、noFront、noLeft、noRight、noBottom来支持移除无用布局层,用noMain来取代enableRouterView属性;优化XWindow组件,增加right和bottom属性来进行窗体初始化定位;更新依赖库版本;
16
17
  - v1.0.7 解决LayoutContainer与LayoutManager生命周期不一致导致的BUG;为LayoutManager增加dispose释放资源方法;更新依赖库版本;
17
18
  - v1.0.6 移除vuewindow组件;修改XWindow组件:默认不显示最小化按钮和窗体图标,对外暴露updatePosition方法允许代码修改位置;更新基础依赖库版本;
18
19
  - v1.0.5 补充积累CommonTool公共方法;新增Grid计算工具类;更新基础依赖库版本;
@@ -37,7 +37,53 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
37
37
  layoutStyle: {
38
38
  type: ObjectConstructor;
39
39
  };
40
- enableRouterView: {
40
+ /**
41
+ * 移除左侧left层
42
+ */
43
+ noLeft: {
44
+ type: BooleanConstructor;
45
+ default: boolean;
46
+ };
47
+ /**
48
+ * 移除右侧侧层级
49
+ */
50
+ noRight: {
51
+ type: BooleanConstructor;
52
+ default: boolean;
53
+ };
54
+ /**
55
+ * 移除底侧bottom层级
56
+ */
57
+ noBottom: {
58
+ type: BooleanConstructor;
59
+ default: boolean;
60
+ };
61
+ /**
62
+ * 移除右侧right层级
63
+ */
64
+ noTop: {
65
+ type: BooleanConstructor;
66
+ default: boolean;
67
+ };
68
+ /**
69
+ * 移除中间front前层
70
+ */
71
+ noFront: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ };
75
+ /**
76
+ * 移除中间back侧层
77
+ */
78
+ noBack: {
79
+ type: BooleanConstructor;
80
+ default: boolean;
81
+ };
82
+ /**
83
+ * 移除中间主层
84
+ * 是否启用默认路由视图,默认启用:false
85
+ */
86
+ noMain: {
41
87
  type: BooleanConstructor;
42
88
  default: boolean;
43
89
  };
@@ -56,7 +102,53 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
56
102
  layoutStyle: {
57
103
  type: ObjectConstructor;
58
104
  };
59
- enableRouterView: {
105
+ /**
106
+ * 移除左侧left层
107
+ */
108
+ noLeft: {
109
+ type: BooleanConstructor;
110
+ default: boolean;
111
+ };
112
+ /**
113
+ * 移除右侧侧层级
114
+ */
115
+ noRight: {
116
+ type: BooleanConstructor;
117
+ default: boolean;
118
+ };
119
+ /**
120
+ * 移除底侧bottom层级
121
+ */
122
+ noBottom: {
123
+ type: BooleanConstructor;
124
+ default: boolean;
125
+ };
126
+ /**
127
+ * 移除右侧right层级
128
+ */
129
+ noTop: {
130
+ type: BooleanConstructor;
131
+ default: boolean;
132
+ };
133
+ /**
134
+ * 移除中间front前层
135
+ */
136
+ noFront: {
137
+ type: BooleanConstructor;
138
+ default: boolean;
139
+ };
140
+ /**
141
+ * 移除中间back侧层
142
+ */
143
+ noBack: {
144
+ type: BooleanConstructor;
145
+ default: boolean;
146
+ };
147
+ /**
148
+ * 移除中间主层
149
+ * 是否启用默认路由视图,默认启用:false
150
+ */
151
+ noMain: {
60
152
  type: BooleanConstructor;
61
153
  default: boolean;
62
154
  };
@@ -65,7 +157,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
65
157
  }>, {
66
158
  layoutID: string;
67
159
  widgetConfig: IWidgetConfig[];
68
- enableRouterView: boolean;
160
+ noLeft: boolean;
161
+ noRight: boolean;
162
+ noBottom: boolean;
163
+ noTop: boolean;
164
+ noFront: boolean;
165
+ noBack: boolean;
166
+ noMain: boolean;
69
167
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
70
168
  topContainer: HTMLDivElement;
71
169
  centerMainContainer: HTMLDivElement;
@@ -73,6 +73,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
73
73
  type: (StringConstructor | ObjectConstructor | ArrayConstructor | NumberConstructor)[];
74
74
  default: string;
75
75
  };
76
+ right: {
77
+ type: (StringConstructor | NumberConstructor)[];
78
+ default: string;
79
+ };
80
+ bottom: {
81
+ type: (StringConstructor | NumberConstructor)[];
82
+ default: string;
83
+ };
76
84
  }>, {
77
85
  id: string;
78
86
  isShow: import('vue').ComputedRef<boolean>;
@@ -141,6 +149,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
141
149
  type: (StringConstructor | ObjectConstructor | ArrayConstructor | NumberConstructor)[];
142
150
  default: string;
143
151
  };
152
+ right: {
153
+ type: (StringConstructor | NumberConstructor)[];
154
+ default: string;
155
+ };
156
+ bottom: {
157
+ type: (StringConstructor | NumberConstructor)[];
158
+ default: string;
159
+ };
144
160
  }>> & Readonly<{
145
161
  onClose?: ((...args: any[]) => any) | undefined;
146
162
  onOpen?: ((...args: any[]) => any) | undefined;
@@ -150,6 +166,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
150
166
  title: string;
151
167
  top: string | number;
152
168
  left: string | number;
169
+ right: string | number;
170
+ bottom: string | number;
153
171
  icon: string;
154
172
  tag: string | number | unknown[] | Record<string, any>;
155
173
  nWidth: string | number;