@tmesoft/data-screen-set 0.0.5 → 0.0.7
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 +2 -0
- package/dist/data-screen-set-lib.d.ts +228 -228
- package/dist/data-screen-set-lib.es.js +2464 -2499
- package/dist/data-screen-set-lib.umd.js +23 -18
- package/dist/public/3d/border.png +0 -0
- package/dist/public/3d/icon.png +0 -0
- package/dist/public/3d/image.png +0 -0
- package/dist/public/3d/main/arrow1.png +0 -0
- package/dist/public/3d/main/arrow2.png +0 -0
- package/dist/public/3d/main/bg.png +0 -0
- package/dist/public/3d/main/device-icon.png +0 -0
- package/dist/public/3d/main/laboratory-icon.png +0 -0
- package/dist/public/3d/main/stage1.png +0 -0
- package/dist/public/3d/main/stage2.png +0 -0
- package/dist/public/appointment-open/icon.png +0 -0
- package/dist/public/appointment-open/image.png +0 -0
- package/dist/public/bg.png +0 -0
- package/dist/public/btn-active.png +0 -0
- package/dist/public/btn-hover.png +0 -0
- package/dist/public/device-assets/icon.png +0 -0
- package/dist/public/device-assets/image.png +0 -0
- package/dist/public/dialog-bg.png +0 -0
- package/dist/public/dialog-bg1.png +0 -0
- package/dist/public/edit-hover.png +0 -0
- package/dist/public/edit.png +0 -0
- package/dist/public/image/icon.png +0 -0
- package/dist/public/image-set.png +0 -0
- package/dist/public/lab-discuss/icon.png +0 -0
- package/dist/public/lab-discuss/image.png +0 -0
- package/dist/public/lab-grade/icon.png +0 -0
- package/dist/public/lab-grade/image.png +0 -0
- package/dist/public/lab-number/icon.png +0 -0
- package/dist/public/lab-number/image.png +0 -0
- package/dist/public/lab-report/icon.png +0 -0
- package/dist/public/lab-report/image.png +0 -0
- package/dist/public/normal-box.png +0 -0
- package/dist/public/research-result/icon.png +0 -0
- package/dist/public/research-result/image.png +0 -0
- package/dist/public/safe/border.png +0 -0
- package/dist/public/safe/image.png +0 -0
- package/dist/public/seting.png +0 -0
- package/dist/public/teach-team/icon.png +0 -0
- package/dist/public/teach-team/image.png +0 -0
- package/dist/public/text/icon.png +0 -0
- package/dist/public/video/icon.png +0 -0
- package/package.json +4 -2
- package/dist/style.css +0 -1
package/README.md
CHANGED
|
@@ -139,6 +139,7 @@ const activeId = ref<number>()
|
|
|
139
139
|
| setRootWidthHeight | 设置大屏宽高 | object {width:number,height:number} |
|
|
140
140
|
| setDataCardListJson | 获取组件内的数据卡json内容 | |
|
|
141
141
|
|
|
142
|
+
|
|
142
143
|
## 事件
|
|
143
144
|
|
|
144
145
|
| Name | Description |
|
|
@@ -146,3 +147,4 @@ const activeId = ref<number>()
|
|
|
146
147
|
| addOrUpCoordinate | 更新坐标信息 |
|
|
147
148
|
| changeActive | 修改当前拖拽元素 |
|
|
148
149
|
| editBtnClick | 点击数据卡、自定义卡的编辑上传按钮 |
|
|
150
|
+
| handleTextScroll | 文字滚动 |
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { AllowedComponentProps } from 'vue';
|
|
2
|
-
import { ComponentCustomProps } from 'vue';
|
|
3
1
|
import { ComponentOptionsMixin } from 'vue';
|
|
2
|
+
import { ComponentProvideOptions } from 'vue';
|
|
4
3
|
import { DefineComponent } from 'vue';
|
|
5
4
|
import { ExtractPropTypes } from 'vue';
|
|
6
5
|
import { PropType } from 'vue';
|
|
7
|
-
import {
|
|
6
|
+
import { PublicProps } from 'vue';
|
|
8
7
|
|
|
9
8
|
declare enum CardType {
|
|
10
9
|
'数据卡' = "data-target",
|
|
@@ -23,231 +22,232 @@ declare interface CustomListPage {
|
|
|
23
22
|
isEdit: boolean;
|
|
24
23
|
}
|
|
25
24
|
|
|
26
|
-
declare const _default: DefineComponent<{
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
25
|
+
declare const _default: DefineComponent<ExtractPropTypes< {
|
|
26
|
+
customCardCoordinateList: {
|
|
27
|
+
type: {
|
|
28
|
+
(arrayLength: number): {
|
|
29
|
+
id: number;
|
|
30
|
+
detail: IbigScreenCoordinate;
|
|
31
|
+
}[];
|
|
32
|
+
(...items: {
|
|
33
|
+
id: number;
|
|
34
|
+
detail: IbigScreenCoordinate;
|
|
35
|
+
}[]): {
|
|
36
|
+
id: number;
|
|
37
|
+
detail: IbigScreenCoordinate;
|
|
38
|
+
}[];
|
|
39
|
+
new (arrayLength: number): {
|
|
40
|
+
id: number;
|
|
41
|
+
detail: IbigScreenCoordinate;
|
|
42
|
+
}[];
|
|
43
|
+
new (...items: {
|
|
44
|
+
id: number;
|
|
45
|
+
detail: IbigScreenCoordinate;
|
|
46
|
+
}[]): {
|
|
47
|
+
id: number;
|
|
48
|
+
detail: IbigScreenCoordinate;
|
|
49
|
+
}[];
|
|
50
|
+
isArray(arg: any): arg is any[];
|
|
51
|
+
readonly prototype: any[];
|
|
52
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
53
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
54
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
55
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
56
|
+
of<T>(...items: T[]): T[];
|
|
57
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
58
|
+
};
|
|
59
|
+
default: () => never[];
|
|
60
|
+
};
|
|
61
|
+
customCardList: {
|
|
62
|
+
type: {
|
|
63
|
+
(arrayLength: number): CustomListPage[];
|
|
64
|
+
(...items: CustomListPage[]): CustomListPage[];
|
|
65
|
+
new (arrayLength: number): CustomListPage[];
|
|
66
|
+
new (...items: CustomListPage[]): CustomListPage[];
|
|
67
|
+
isArray(arg: any): arg is any[];
|
|
68
|
+
readonly prototype: any[];
|
|
69
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
70
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
71
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
72
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
73
|
+
of<T>(...items: T[]): T[];
|
|
74
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
75
|
+
};
|
|
76
|
+
default: () => never[];
|
|
77
|
+
};
|
|
78
|
+
dataCardCoordinateList: {
|
|
79
|
+
type: {
|
|
80
|
+
(arrayLength: number): {
|
|
81
|
+
id: number;
|
|
82
|
+
detail: IbigScreenCoordinate;
|
|
83
|
+
}[];
|
|
84
|
+
(...items: {
|
|
85
|
+
id: number;
|
|
86
|
+
detail: IbigScreenCoordinate;
|
|
87
|
+
}[]): {
|
|
88
|
+
id: number;
|
|
89
|
+
detail: IbigScreenCoordinate;
|
|
90
|
+
}[];
|
|
91
|
+
new (arrayLength: number): {
|
|
92
|
+
id: number;
|
|
93
|
+
detail: IbigScreenCoordinate;
|
|
94
|
+
}[];
|
|
95
|
+
new (...items: {
|
|
96
|
+
id: number;
|
|
97
|
+
detail: IbigScreenCoordinate;
|
|
98
|
+
}[]): {
|
|
99
|
+
id: number;
|
|
100
|
+
detail: IbigScreenCoordinate;
|
|
101
|
+
}[];
|
|
102
|
+
isArray(arg: any): arg is any[];
|
|
103
|
+
readonly prototype: any[];
|
|
104
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
105
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
106
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
107
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
108
|
+
of<T>(...items: T[]): T[];
|
|
109
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
110
|
+
};
|
|
111
|
+
default: () => never[];
|
|
112
|
+
};
|
|
113
|
+
activeId: {
|
|
114
|
+
type: NumberConstructor;
|
|
115
|
+
default: undefined;
|
|
116
|
+
};
|
|
117
|
+
activeType: {
|
|
118
|
+
type: PropType<CardType>;
|
|
119
|
+
default: undefined;
|
|
120
|
+
};
|
|
121
|
+
title: {
|
|
122
|
+
type: StringConstructor;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
}>, {
|
|
126
|
+
setRootWidthHeight: (rootWidthHeighObject: any) => void;
|
|
127
|
+
setDataCardListJson: (_dataCardListJson: any) => void;
|
|
128
|
+
handleTextScroll: (id: number) => void;
|
|
129
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
130
|
+
editBtnClick: (...args: any[]) => void;
|
|
131
|
+
addOrUpCoordinate: (...args: any[]) => void;
|
|
132
|
+
changeActive: (...args: any[]) => void;
|
|
133
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
134
|
+
customCardCoordinateList: {
|
|
135
|
+
type: {
|
|
136
|
+
(arrayLength: number): {
|
|
137
|
+
id: number;
|
|
138
|
+
detail: IbigScreenCoordinate;
|
|
139
|
+
}[];
|
|
140
|
+
(...items: {
|
|
141
|
+
id: number;
|
|
142
|
+
detail: IbigScreenCoordinate;
|
|
143
|
+
}[]): {
|
|
144
|
+
id: number;
|
|
145
|
+
detail: IbigScreenCoordinate;
|
|
146
|
+
}[];
|
|
147
|
+
new (arrayLength: number): {
|
|
148
|
+
id: number;
|
|
149
|
+
detail: IbigScreenCoordinate;
|
|
150
|
+
}[];
|
|
151
|
+
new (...items: {
|
|
152
|
+
id: number;
|
|
153
|
+
detail: IbigScreenCoordinate;
|
|
154
|
+
}[]): {
|
|
155
|
+
id: number;
|
|
156
|
+
detail: IbigScreenCoordinate;
|
|
157
|
+
}[];
|
|
158
|
+
isArray(arg: any): arg is any[];
|
|
159
|
+
readonly prototype: any[];
|
|
160
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
161
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
162
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
163
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
164
|
+
of<T>(...items: T[]): T[];
|
|
165
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
166
|
+
};
|
|
167
|
+
default: () => never[];
|
|
168
|
+
};
|
|
169
|
+
customCardList: {
|
|
170
|
+
type: {
|
|
171
|
+
(arrayLength: number): CustomListPage[];
|
|
172
|
+
(...items: CustomListPage[]): CustomListPage[];
|
|
173
|
+
new (arrayLength: number): CustomListPage[];
|
|
174
|
+
new (...items: CustomListPage[]): CustomListPage[];
|
|
175
|
+
isArray(arg: any): arg is any[];
|
|
176
|
+
readonly prototype: any[];
|
|
177
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
178
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
179
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
180
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
181
|
+
of<T>(...items: T[]): T[];
|
|
182
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
183
|
+
};
|
|
184
|
+
default: () => never[];
|
|
185
|
+
};
|
|
186
|
+
dataCardCoordinateList: {
|
|
187
|
+
type: {
|
|
188
|
+
(arrayLength: number): {
|
|
189
|
+
id: number;
|
|
190
|
+
detail: IbigScreenCoordinate;
|
|
191
|
+
}[];
|
|
192
|
+
(...items: {
|
|
193
|
+
id: number;
|
|
194
|
+
detail: IbigScreenCoordinate;
|
|
195
|
+
}[]): {
|
|
196
|
+
id: number;
|
|
197
|
+
detail: IbigScreenCoordinate;
|
|
198
|
+
}[];
|
|
199
|
+
new (arrayLength: number): {
|
|
200
|
+
id: number;
|
|
201
|
+
detail: IbigScreenCoordinate;
|
|
202
|
+
}[];
|
|
203
|
+
new (...items: {
|
|
204
|
+
id: number;
|
|
205
|
+
detail: IbigScreenCoordinate;
|
|
206
|
+
}[]): {
|
|
207
|
+
id: number;
|
|
208
|
+
detail: IbigScreenCoordinate;
|
|
209
|
+
}[];
|
|
210
|
+
isArray(arg: any): arg is any[];
|
|
211
|
+
readonly prototype: any[];
|
|
212
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
213
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
214
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
215
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
216
|
+
of<T>(...items: T[]): T[];
|
|
217
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
218
|
+
};
|
|
219
|
+
default: () => never[];
|
|
220
|
+
};
|
|
221
|
+
activeId: {
|
|
222
|
+
type: NumberConstructor;
|
|
223
|
+
default: undefined;
|
|
224
|
+
};
|
|
225
|
+
activeType: {
|
|
226
|
+
type: PropType<CardType>;
|
|
227
|
+
default: undefined;
|
|
228
|
+
};
|
|
229
|
+
title: {
|
|
230
|
+
type: StringConstructor;
|
|
231
|
+
default: string;
|
|
232
|
+
};
|
|
233
|
+
}>> & Readonly<{
|
|
234
|
+
onEditBtnClick?: ((...args: any[]) => any) | undefined;
|
|
235
|
+
onAddOrUpCoordinate?: ((...args: any[]) => any) | undefined;
|
|
236
|
+
onChangeActive?: ((...args: any[]) => any) | undefined;
|
|
237
|
+
}>, {
|
|
238
|
+
title: string;
|
|
239
|
+
customCardCoordinateList: {
|
|
240
|
+
id: number;
|
|
241
|
+
detail: IbigScreenCoordinate;
|
|
242
|
+
}[];
|
|
243
|
+
customCardList: CustomListPage[];
|
|
244
|
+
dataCardCoordinateList: {
|
|
245
|
+
id: number;
|
|
246
|
+
detail: IbigScreenCoordinate;
|
|
247
|
+
}[];
|
|
248
|
+
activeId: number;
|
|
249
|
+
activeType: CardType;
|
|
250
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
251
251
|
export default _default;
|
|
252
252
|
|
|
253
253
|
declare const enum EbigScreenCustomCardType {
|