@opencor/opencor 0.20260410.0 → 0.20260416.1
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/dist/index.d.ts +33 -2
- package/dist/opencor.css +1 -1
- package/dist/opencor.es.js +1649 -1585
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -11,19 +11,50 @@ export interface IOpenCORExpose {
|
|
|
11
11
|
}
|
|
12
12
|
export interface IOpenCOREmits extends /* @vue-ignore */ Record<string, unknown[]> {
|
|
13
13
|
externalData: [IOpenCORExternalDataEvent];
|
|
14
|
+
file: [IOpenCORFileEvent];
|
|
14
15
|
simulationData: [IOpenCORSimulationDataEvent];
|
|
15
16
|
}
|
|
16
17
|
export interface IOpenCORSimulationDataValue {
|
|
17
18
|
data: Float64Array;
|
|
18
19
|
unit: string;
|
|
19
20
|
}
|
|
20
|
-
export interface
|
|
21
|
+
export interface IOpenCORExternalDataAddedEvent {
|
|
22
|
+
type: 'added';
|
|
21
23
|
csv: string;
|
|
22
24
|
issues: string[];
|
|
23
25
|
}
|
|
26
|
+
export interface IOpenCORExternalDataIssueEvent {
|
|
27
|
+
type: 'issue';
|
|
28
|
+
csv: string;
|
|
29
|
+
issues: string[];
|
|
30
|
+
}
|
|
31
|
+
export type IOpenCORExternalDataEvent = IOpenCORExternalDataAddedEvent | IOpenCORExternalDataIssueEvent;
|
|
32
|
+
export interface IOpenCORFileOpenedEvent {
|
|
33
|
+
type: 'opened';
|
|
34
|
+
filePath: string;
|
|
35
|
+
issues: string[];
|
|
36
|
+
}
|
|
37
|
+
export interface IOpenCORFileClosedEvent {
|
|
38
|
+
type: 'closed';
|
|
39
|
+
filePath: string;
|
|
40
|
+
issues: string[];
|
|
41
|
+
}
|
|
42
|
+
export interface IOpenCORFileIssueEvent {
|
|
43
|
+
type: 'issue';
|
|
44
|
+
filePath: string;
|
|
45
|
+
issues: string[];
|
|
46
|
+
}
|
|
47
|
+
export type IOpenCORFileEvent = IOpenCORFileOpenedEvent | IOpenCORFileClosedEvent | IOpenCORFileIssueEvent;
|
|
24
48
|
export type OpenCORSimulationData = Record<string, IOpenCORSimulationDataValue>;
|
|
25
|
-
export interface
|
|
49
|
+
export interface IOpenCORSimulationDataUpdatedEvent {
|
|
50
|
+
type: 'updated';
|
|
51
|
+
simulationData: OpenCORSimulationData;
|
|
52
|
+
issues: string[];
|
|
53
|
+
}
|
|
54
|
+
export interface IOpenCORSimulationDataIssueEvent {
|
|
55
|
+
type: 'issue';
|
|
26
56
|
simulationData: OpenCORSimulationData;
|
|
27
57
|
issues: string[];
|
|
28
58
|
}
|
|
59
|
+
export type IOpenCORSimulationDataEvent = IOpenCORSimulationDataUpdatedEvent | IOpenCORSimulationDataIssueEvent;
|
|
29
60
|
export { default, default as OpenCOR } from './src/components/OpenCOR.vue';
|