@tmesoft/data-screen-set 0.0.5 → 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 +228 -228
  44. package/dist/data-screen-set-lib.es.js +1978 -2043
  45. package/dist/data-screen-set-lib.umd.js +23 -18
  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,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 { VNodeProps } from 'vue';
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
- customCardCoordinateList: {
28
- type: {
29
- (arrayLength: number): {
30
- id: number;
31
- detail: IbigScreenCoordinate;
32
- }[];
33
- (...items: {
34
- id: number;
35
- detail: IbigScreenCoordinate;
36
- }[]): {
37
- id: number;
38
- detail: IbigScreenCoordinate;
39
- }[];
40
- new (arrayLength: number): {
41
- id: number;
42
- detail: IbigScreenCoordinate;
43
- }[];
44
- new (...items: {
45
- id: number;
46
- detail: IbigScreenCoordinate;
47
- }[]): {
48
- id: number;
49
- detail: IbigScreenCoordinate;
50
- }[];
51
- isArray(arg: any): arg is any[];
52
- readonly prototype: any[];
53
- from<T>(arrayLike: ArrayLike<T>): T[];
54
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
55
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
56
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
57
- of<T_4>(...items: T_4[]): T_4[];
58
- readonly [Symbol.species]: ArrayConstructor;
59
- };
60
- default: () => never[];
61
- };
62
- customCardList: {
63
- type: {
64
- (arrayLength: number): CustomListPage[];
65
- (...items: CustomListPage[]): CustomListPage[];
66
- new (arrayLength: number): CustomListPage[];
67
- new (...items: CustomListPage[]): CustomListPage[];
68
- isArray(arg: any): arg is any[];
69
- readonly prototype: any[];
70
- from<T>(arrayLike: ArrayLike<T>): T[];
71
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
72
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
73
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
74
- of<T_4>(...items: T_4[]): T_4[];
75
- readonly [Symbol.species]: ArrayConstructor;
76
- };
77
- default: () => never[];
78
- };
79
- dataCardCoordinateList: {
80
- type: {
81
- (arrayLength: number): {
82
- id: number;
83
- detail: IbigScreenCoordinate;
84
- }[];
85
- (...items: {
86
- id: number;
87
- detail: IbigScreenCoordinate;
88
- }[]): {
89
- id: number;
90
- detail: IbigScreenCoordinate;
91
- }[];
92
- new (arrayLength: number): {
93
- id: number;
94
- detail: IbigScreenCoordinate;
95
- }[];
96
- new (...items: {
97
- id: number;
98
- detail: IbigScreenCoordinate;
99
- }[]): {
100
- id: number;
101
- detail: IbigScreenCoordinate;
102
- }[];
103
- isArray(arg: any): arg is any[];
104
- readonly prototype: any[];
105
- from<T>(arrayLike: ArrayLike<T>): T[];
106
- from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
107
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
108
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
109
- of<T_4>(...items: T_4[]): T_4[];
110
- readonly [Symbol.species]: ArrayConstructor;
111
- };
112
- default: () => never[];
113
- };
114
- activeId: {
115
- type: NumberConstructor;
116
- default: undefined;
117
- };
118
- activeType: {
119
- type: PropType<CardType>;
120
- default: undefined;
121
- };
122
- title: {
123
- type: StringConstructor;
124
- default: string;
125
- };
126
- }, {
127
- setRootWidthHeight: (rootWidthHeighObject: any) => void;
128
- setDataCardListJson: (_dataCardListJson: any) => void;
129
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
130
- editBtnClick: (...args: any[]) => void;
131
- addOrUpCoordinate: (...args: any[]) => void;
132
- changeActive: (...args: any[]) => void;
133
- }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, 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_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
162
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
163
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
164
- of<T_4>(...items: T_4[]): T_4[];
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_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
179
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
180
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
181
- of<T_4>(...items: T_4[]): T_4[];
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_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
214
- from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
215
- from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
216
- of<T_4>(...items: T_4[]): T_4[];
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
- }>> & {
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
- }, {}>;
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
251
  export default _default;
252
252
 
253
253
  declare const enum EbigScreenCustomCardType {