@tmesoft/data-screen-set 0.0.4 → 0.0.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.
Files changed (47) hide show
  1. package/README.md +1 -0
  2. package/dist/assets/3d/border.png +0 -0
  3. package/dist/assets/3d/icon.png +0 -0
  4. package/dist/assets/3d/image.png +0 -0
  5. package/dist/assets/3d/main/arrow1.png +0 -0
  6. package/dist/assets/3d/main/arrow2.png +0 -0
  7. package/dist/assets/3d/main/bg.png +0 -0
  8. package/dist/assets/3d/main/device-icon.png +0 -0
  9. package/dist/assets/3d/main/laboratory-icon.png +0 -0
  10. package/dist/assets/3d/main/stage1.png +0 -0
  11. package/dist/assets/3d/main/stage2.png +0 -0
  12. package/dist/assets/appointment-open/icon.png +0 -0
  13. package/dist/assets/appointment-open/image.png +0 -0
  14. package/dist/assets/bg.png +0 -0
  15. package/dist/assets/btn-active.png +0 -0
  16. package/dist/assets/btn-hover.png +0 -0
  17. package/dist/assets/device-assets/icon.png +0 -0
  18. package/dist/assets/device-assets/image.png +0 -0
  19. package/dist/assets/dialog-bg.png +0 -0
  20. package/dist/assets/dialog-bg1.png +0 -0
  21. package/dist/assets/edit-hover.png +0 -0
  22. package/dist/assets/edit.png +0 -0
  23. package/dist/assets/image/icon.png +0 -0
  24. package/dist/assets/image-set.png +0 -0
  25. package/dist/assets/lab-discuss/icon.png +0 -0
  26. package/dist/assets/lab-discuss/image.png +0 -0
  27. package/dist/assets/lab-grade/icon.png +0 -0
  28. package/dist/assets/lab-grade/image.png +0 -0
  29. package/dist/assets/lab-number/icon.png +0 -0
  30. package/dist/assets/lab-number/image.png +0 -0
  31. package/dist/assets/lab-report/icon.png +0 -0
  32. package/dist/assets/lab-report/image.png +0 -0
  33. package/dist/assets/normal-box.png +0 -0
  34. package/dist/assets/research-result/icon.png +0 -0
  35. package/dist/assets/research-result/image.png +0 -0
  36. package/dist/assets/safe/border.png +0 -0
  37. package/dist/assets/safe/image.png +0 -0
  38. package/dist/assets/seting.png +0 -0
  39. package/dist/assets/teach-team/icon.png +0 -0
  40. package/dist/assets/teach-team/image.png +0 -0
  41. package/dist/assets/text/icon.png +0 -0
  42. package/dist/assets/video/icon.png +0 -0
  43. package/dist/data-screen-set-lib.d.ts +260 -4
  44. package/dist/data-screen-set-lib.es.js +3096 -3165
  45. package/dist/data-screen-set-lib.umd.js +24 -19
  46. package/package.json +6 -3
  47. package/dist/style.css +0 -1
package/README.md CHANGED
@@ -146,3 +146,4 @@ const activeId = ref<number>()
146
146
  | addOrUpCoordinate | 更新坐标信息 |
147
147
  | changeActive | 修改当前拖拽元素 |
148
148
  | editBtnClick | 点击数据卡、自定义卡的编辑上传按钮 |
149
+ | handleScroll | 自定义文本卡滚动 |
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,10 +1,266 @@
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
- import { VNodeProps } from 'vue';
5
+ import { PropType } from 'vue';
6
+ import { PublicProps } from 'vue';
7
7
 
8
- export declare const App: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}, {}>;
8
+ declare enum CardType {
9
+ '数据卡' = "data-target",
10
+ '自定义卡' = "target"
11
+ }
12
+
13
+ declare interface CustomListPage {
14
+ id: number;
15
+ bigScreenVersionId: number;
16
+ type: EbigScreenCustomCardType;
17
+ name: string;
18
+ list: any[];
19
+ swiperTime?: number;
20
+ isLoop?: boolean;
21
+ volume?: boolean;
22
+ isEdit: boolean;
23
+ }
24
+
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
+ handleScroll: (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
+ export default _default;
252
+
253
+ declare const enum EbigScreenCustomCardType {
254
+ '图片' = 1,
255
+ '视频' = 2,
256
+ '文本' = 3
257
+ }
258
+
259
+ declare interface IbigScreenCoordinate {
260
+ left: number;
261
+ width: number;
262
+ top: number;
263
+ height: number;
264
+ }
9
265
 
10
266
  export { }