@tmesoft/data-screen-set 1.2.5 → 1.2.6

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
@@ -74,6 +74,9 @@ const title = ref('智慧化实验室')
74
74
  // 传入主题
75
75
  const theme = ref('blue')
76
76
 
77
+ // 版本id
78
+ const versionId = ref(3)
79
+
77
80
  // 数据卡显示数据来源
78
81
  const dataCardInfoData = ref<any>({})
79
82
  // 所有的数据卡id集合
@@ -191,7 +194,8 @@ const deleteBtnClick = (type: CardType, id: number) => {
191
194
  }
192
195
 
193
196
  <!--template-->
194
- <data-screen-set :activeId="activeId"
197
+ <data-screen-set :versionId="versionId"
198
+ :activeId="activeId"
195
199
  :activeType="activeType"
196
200
  :changeCustomCardConfig="changeCustomCardConfig"
197
201
  :changeDataCardConfig="changeDataCardConfig"
@@ -6,6 +6,10 @@ import { PropType } from 'vue';
6
6
  import { PublicProps } from 'vue';
7
7
 
8
8
  declare const __VLS_component: DefineComponent<ExtractPropTypes< {
9
+ versionId: {
10
+ type: NumberConstructor;
11
+ default: number;
12
+ };
9
13
  customCardCoordinateList: {
10
14
  type: {
11
15
  (arrayLength: number): {
@@ -157,6 +161,10 @@ deleteBtnClick: (...args: any[]) => void;
157
161
  addOrUpCoordinate: (...args: any[]) => void;
158
162
  changeActive: (...args: any[]) => void;
159
163
  }, string, PublicProps, Readonly<ExtractPropTypes< {
164
+ versionId: {
165
+ type: NumberConstructor;
166
+ default: number;
167
+ };
160
168
  customCardCoordinateList: {
161
169
  type: {
162
170
  (arrayLength: number): {
@@ -306,6 +314,7 @@ onChangeActive?: ((...args: any[]) => any) | undefined;
306
314
  title: string;
307
315
  changeDataCardConfig: Function;
308
316
  changeCustomCardConfig: Function;
317
+ versionId: number;
309
318
  customCardCoordinateList: {
310
319
  id: number;
311
320
  detail: IbigScreenCoordinate;