@nywqs/scada-engine 1.1.31 → 2.0.0
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/LICENSE +21 -21
- package/README.md +359 -193
- package/dist/index.d.ts +3 -0
- package/dist/scada-engine.css +1 -1
- package/dist/scada-engine.es.js +47937 -40
- package/dist/scada-engine.umd.js +3752 -3843
- package/dist/src/components/canvas/composables/index.d.ts +12 -0
- package/dist/src/components/canvas/composables/useAutoSave.d.ts +9 -0
- package/dist/src/components/canvas/composables/useCanvasScale.d.ts +12 -0
- package/dist/src/components/canvas/composables/useDataSource.d.ts +87 -0
- package/dist/src/components/canvas/composables/useFileOperations.d.ts +37 -0
- package/dist/src/components/canvas/composables/useGraphEvents.d.ts +22 -0
- package/dist/src/components/canvas/composables/useNodeOperations.d.ts +35 -0
- package/dist/src/components/canvas/config/graphConfig.d.ts +64 -0
- package/dist/src/components/canvas/config/pluginConfig.d.ts +5 -0
- package/dist/src/components/canvas/config/scadaEdgeShape.d.ts +14 -0
- package/dist/src/components/canvas/config/scadaEdgeView.d.ts +4 -0
- package/dist/src/components/canvas/types/canvas.d.ts +41 -0
- package/dist/src/components/configurators/BindingCard.d.ts +24 -0
- package/dist/src/components/configurators/ComponentPointSelector.d.ts +16 -0
- package/dist/src/components/{EventCard.d.ts → configurators/EventCard.d.ts} +13 -26
- package/dist/src/components/configurators/MappingConfigurator.d.ts +15 -0
- package/dist/src/components/dialogs/AttributeConfigDialog.d.ts +28 -0
- package/dist/src/components/dialogs/CustomCodeDialog.d.ts +20 -0
- package/dist/src/components/dialogs/DataSourceDialog.d.ts +16 -0
- package/dist/src/components/dialogs/ScadaModal.d.ts +37 -0
- package/dist/src/components/{WorkflowSelectorDialog.d.ts → dialogs/WorkflowSelectorDialog.d.ts} +3 -3
- package/dist/src/components/layout/Footer.d.ts +16 -0
- package/dist/src/components/layout/Header.d.ts +56 -0
- package/dist/src/components/panels/CanvasConfigPanel.d.ts +4 -0
- package/dist/src/components/panels/ComponentLibrary.d.ts +6 -0
- package/dist/src/components/panels/ContextMenu.d.ts +26 -0
- package/dist/src/components/panels/PropertyPanel.d.ts +22 -0
- package/dist/src/components/property-tabs/BasicPropertiesTab.d.ts +37 -0
- package/dist/src/components/property-tabs/DataPropertiesTab.d.ts +14 -0
- package/dist/src/components/property-tabs/EdgePropertiesTab.d.ts +16 -0
- package/dist/src/constants/animation.d.ts +5 -0
- package/dist/src/constants/index.d.ts +3 -0
- package/dist/src/constants/layout.d.ts +16 -0
- package/dist/src/constants/theme.d.ts +17 -0
- package/dist/src/index.d.ts +16 -15
- package/dist/src/main.d.ts +0 -1
- package/dist/src/scada-components/basic/circle.d.ts +0 -1
- package/dist/src/scada-components/basic/rect.d.ts +0 -1
- package/dist/src/scada-components/basic/text.d.ts +0 -1
- package/dist/src/scada-components/canvas/config.d.ts +0 -1
- package/dist/src/scada-components/canvas/manager.d.ts +0 -1
- package/dist/src/scada-components/iot/echarts-gauge/EChartsGauge.d.ts +3 -10
- package/dist/src/scada-components/iot/echarts-gauge/index.d.ts +0 -1
- package/dist/src/scada-components/iot/echarts-line/EChartsLine.d.ts +3 -10
- package/dist/src/scada-components/iot/echarts-line/index.d.ts +0 -1
- package/dist/src/scada-components/iot/index.d.ts +0 -6
- package/dist/src/scada-components/registry.d.ts +0 -1
- package/dist/src/scada-components/svg/core/index.d.ts +7 -0
- package/dist/src/scada-components/svg/core/loader.d.ts +71 -0
- package/dist/src/scada-components/svg/core/parser.d.ts +40 -0
- package/dist/src/scada-components/svg/core/types.d.ts +297 -0
- package/dist/src/scada-components/svg/helpers/demo.d.ts +20 -0
- package/dist/src/scada-components/svg/helpers/index.d.ts +5 -0
- package/dist/src/scada-components/svg/helpers/utils.d.ts +24 -0
- package/dist/src/scada-components/svg/index.d.ts +9 -0
- package/dist/src/scada-components/svg/rendering/SVGRenderer.d.ts +14 -0
- package/dist/src/scada-components/svg/rendering/animationTemplates.d.ts +81 -0
- package/dist/src/scada-components/svg/rendering/index.d.ts +6 -0
- package/dist/src/scada-components/types.d.ts +0 -1
- package/dist/src/types/context-menu.d.ts +13 -0
- package/dist/src/types/model3d.d.ts +106 -0
- package/dist/src/types/zone.d.ts +54 -0
- package/dist/src/utils/animation/index.d.ts +6 -0
- package/dist/src/utils/{canvasConfigWatcher.d.ts → canvas/config-watcher.d.ts} +19 -9
- package/dist/src/utils/{canvasDataHandler.d.ts → canvas/data-handler.d.ts} +0 -29
- package/dist/src/utils/{edgeOperations.d.ts → canvas/edge-operations.d.ts} +6 -3
- package/dist/src/utils/{graphOperations.d.ts → canvas/graph-operations.d.ts} +0 -1
- package/dist/src/utils/canvas/index.d.ts +10 -0
- package/dist/src/utils/{canvasLayerManager.d.ts → canvas/layer-manager.d.ts} +0 -1
- package/dist/src/utils/{nodeOperations.d.ts → canvas/node-operations.d.ts} +0 -1
- package/dist/src/utils/core/index.d.ts +8 -0
- package/dist/src/utils/{dataBindingService.d.ts → data/binding-service.d.ts} +1 -2
- package/dist/src/utils/data/index.d.ts +6 -0
- package/dist/src/utils/{contextMenuManager.d.ts → events/context-menu.d.ts} +1 -2
- package/dist/src/utils/{eventManager.d.ts → events/event-manager.d.ts} +1 -2
- package/dist/src/utils/events/index.d.ts +7 -0
- package/dist/src/utils/index.d.ts +30 -20
- package/dist/src/utils/{dracoLoader.d.ts → integrations/draco-loader.d.ts} +0 -1
- package/dist/src/utils/integrations/index.d.ts +6 -0
- package/dist/src/utils/performance/index.d.ts +6 -0
- package/dist/src/utils/{viewportCulling.d.ts → performance/viewport-culling.d.ts} +0 -1
- package/dist/src/views/Preview.d.ts +4 -0
- package/dist/src/views/workflow/WorkflowDialog.d.ts +10 -30
- package/dist/src/views/workflow/components/AddNodeMenu.d.ts +5 -14
- package/dist/src/views/workflow/components/ElementSelector.d.ts +5 -27
- package/dist/src/views/workflow/components/PropertyPanel.d.ts +8 -15
- package/dist/src/views/workflow/components/node-configs/ClearTimerConfig.d.ts +4 -14
- package/dist/src/views/workflow/components/node-configs/ConditionConfig.d.ts +4 -14
- package/dist/src/views/workflow/components/node-configs/CustomCodeConfig.d.ts +4 -14
- package/dist/src/views/workflow/components/node-configs/GetPropertyConfig.d.ts +4 -14
- package/dist/src/views/workflow/components/node-configs/HttpRequestConfig.d.ts +4 -14
- package/dist/src/views/workflow/components/node-configs/SetPropertyConfig.d.ts +4 -14
- package/dist/src/views/workflow/components/node-configs/TimerConfig.d.ts +4 -14
- package/dist/src/views/workflow/config/nodeConfigRegistry.d.ts +0 -1
- package/dist/src/views/workflow/services/canvasElementService.d.ts +0 -1
- package/package.json +86 -84
- package/dist/Tank3DThree-DYRGEi5G.js +0 -108
- package/dist/draco/gltf/draco_decoder.js +0 -33
- package/dist/draco/gltf/draco_decoder.wasm +0 -0
- package/dist/draco/gltf/draco_encoder.js +0 -33
- package/dist/draco/gltf/draco_wasm_wrapper.js +0 -116
- package/dist/index-Bp0lBzVu.js +0 -45027
- package/dist/src/components/AttributeConfigDialog.d.ts +0 -39
- package/dist/src/components/BasicPropertiesTab.d.ts +0 -51
- package/dist/src/components/BindingCard.d.ts +0 -39
- package/dist/src/components/CanvasArea.d.ts +0 -4
- package/dist/src/components/ComponentLibrary.d.ts +0 -34
- package/dist/src/components/ComponentPointSelector.d.ts +0 -29
- package/dist/src/components/ContextMenu.d.ts +0 -63
- package/dist/src/components/CustomCodeDialog.d.ts +0 -30
- package/dist/src/components/DataPropertiesTab.d.ts +0 -24
- package/dist/src/components/DataSourceDialog.d.ts +0 -26
- package/dist/src/components/EdgePropertiesTab.d.ts +0 -22
- package/dist/src/components/Footer.d.ts +0 -41
- package/dist/src/components/Header.d.ts +0 -73
- package/dist/src/components/MappingConfigurator.d.ts +0 -27
- package/dist/src/components/PropertyPanel.d.ts +0 -45
- package/dist/src/scada-components/iot/industrial-3d/Motor3D.d.ts +0 -14
- package/dist/src/scada-components/iot/industrial-3d/Pump3D.d.ts +0 -14
- package/dist/src/scada-components/iot/industrial-3d/PumpGLB.d.ts +0 -14
- package/dist/src/scada-components/iot/industrial-3d/Tank3D.d.ts +0 -14
- package/dist/src/scada-components/iot/industrial-3d/Valve3D.d.ts +0 -14
- package/dist/src/scada-components/iot/industrial-3d/index.d.ts +0 -22
- package/dist/src/scada-components/iot/industrial-3d-extended/AlarmLight3D.d.ts +0 -14
- package/dist/src/scada-components/iot/industrial-3d-extended/Conveyor3D.d.ts +0 -14
- package/dist/src/scada-components/iot/industrial-3d-extended/Cylinder3D.d.ts +0 -14
- package/dist/src/scada-components/iot/industrial-3d-extended/TemperatureSensor3D.d.ts +0 -14
- package/dist/src/scada-components/iot/industrial-3d-extended/index.d.ts +0 -18
- package/dist/src/scada-components/iot/industrial-3d-fluid/Filter3D.d.ts +0 -14
- package/dist/src/scada-components/iot/industrial-3d-fluid/HeatExchanger3D.d.ts +0 -14
- package/dist/src/scada-components/iot/industrial-3d-fluid/Pipe3D.d.ts +0 -14
- package/dist/src/scada-components/iot/industrial-3d-fluid/Tee3D.d.ts +0 -14
- package/dist/src/scada-components/iot/industrial-3d-fluid/index.d.ts +0 -18
- package/dist/src/scada-components/iot/light/Light3D.d.ts +0 -14
- package/dist/src/scada-components/iot/light/index.d.ts +0 -6
- package/dist/src/scada-components/iot/switch/Switch3D.d.ts +0 -14
- package/dist/src/scada-components/iot/switch/index.d.ts +0 -6
- package/dist/src/scada-components/iot/tank-3d-three/Tank3DThree.d.ts +0 -14
- package/dist/src/scada-components/iot/tank-3d-three/index.d.ts +0 -7
- package/dist/src/views/workflow/WorkflowEditor.d.ts +0 -38
- package/dist/src/views/workflow/components/WorkflowToolbar.d.ts +0 -24
- /package/dist/src/{components/CanvasConfigPanel.d.ts → App.d.ts} +0 -0
- /package/dist/src/utils/{animationEngine.d.ts → animation/animation-engine.d.ts} +0 -0
- /package/dist/src/utils/{animationScheduler.d.ts → animation/animation-scheduler.d.ts} +0 -0
- /package/dist/src/utils/{commonUtils.d.ts → core/common.d.ts} +0 -0
- /package/dist/src/utils/{fileUtils.d.ts → core/file.d.ts} +0 -0
- /package/dist/src/utils/{messageUtils.d.ts → core/message.d.ts} +0 -0
- /package/dist/src/utils/{storageUtils.d.ts → core/storage.d.ts} +0 -0
- /package/dist/src/utils/{nodePropertyUtils.d.ts → data/node-property.d.ts} +0 -0
- /package/dist/src/utils/{eventUtils.d.ts → events/event-utils.d.ts} +0 -0
- /package/dist/src/utils/{authCrypto.d.ts → integrations/auth-crypto.d.ts} +0 -0
- /package/dist/src/utils/{workerManager.d.ts → performance/worker-manager.d.ts} +0 -0
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
interface AttributeGroup {
|
|
2
|
-
target: string;
|
|
3
|
-
property: string;
|
|
4
|
-
value: string;
|
|
5
|
-
}
|
|
6
|
-
interface NodeProperty {
|
|
7
|
-
key: string;
|
|
8
|
-
label: string;
|
|
9
|
-
type: string;
|
|
10
|
-
}
|
|
11
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
-
attributeGroups: AttributeGroup[];
|
|
13
|
-
nodeProperties: NodeProperty[];
|
|
14
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
-
save: () => void;
|
|
16
|
-
close: () => void;
|
|
17
|
-
"add-group": () => void;
|
|
18
|
-
"remove-group": (index: number) => void;
|
|
19
|
-
"update-group": (index: number, field: keyof AttributeGroup, value: string) => void;
|
|
20
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
21
|
-
attributeGroups: AttributeGroup[];
|
|
22
|
-
nodeProperties: NodeProperty[];
|
|
23
|
-
}>>> & Readonly<{
|
|
24
|
-
onSave?: (() => any) | undefined;
|
|
25
|
-
onClose?: (() => any) | undefined;
|
|
26
|
-
"onAdd-group"?: (() => any) | undefined;
|
|
27
|
-
"onRemove-group"?: ((index: number) => any) | undefined;
|
|
28
|
-
"onUpdate-group"?: ((index: number, field: keyof AttributeGroup, value: string) => any) | undefined;
|
|
29
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
30
|
-
export default _default;
|
|
31
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
32
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
33
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
34
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
35
|
-
} : {
|
|
36
|
-
type: import('vue').PropType<T[K]>;
|
|
37
|
-
required: true;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { Node } from '@antv/x6';
|
|
2
|
-
|
|
3
|
-
interface NodePosition {
|
|
4
|
-
x: number;
|
|
5
|
-
y: number;
|
|
6
|
-
}
|
|
7
|
-
interface NodeSize {
|
|
8
|
-
width: number;
|
|
9
|
-
height: number;
|
|
10
|
-
}
|
|
11
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
-
selectedNode: Node;
|
|
13
|
-
nodePosition: NodePosition;
|
|
14
|
-
nodeSize: NodeSize;
|
|
15
|
-
nodeAttrs: any;
|
|
16
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
-
"update-position": (axis: "x" | "y", event: Event) => void;
|
|
18
|
-
"update-size": (dimension: "height" | "width", event: Event) => void;
|
|
19
|
-
"update-label": (event: Event) => void;
|
|
20
|
-
"update-fill": (event: Event) => void;
|
|
21
|
-
"update-stroke": (event: Event) => void;
|
|
22
|
-
"update-stroke-width": (event: Event) => void;
|
|
23
|
-
"update-opacity": (event: Event) => void;
|
|
24
|
-
"update-component-name": (event: Event) => void;
|
|
25
|
-
"update-dynamic-prop": (path: string, value: any) => void;
|
|
26
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
27
|
-
selectedNode: Node;
|
|
28
|
-
nodePosition: NodePosition;
|
|
29
|
-
nodeSize: NodeSize;
|
|
30
|
-
nodeAttrs: any;
|
|
31
|
-
}>>> & Readonly<{
|
|
32
|
-
"onUpdate-position"?: ((axis: "x" | "y", event: Event) => any) | undefined;
|
|
33
|
-
"onUpdate-size"?: ((dimension: "height" | "width", event: Event) => any) | undefined;
|
|
34
|
-
"onUpdate-label"?: ((event: Event) => any) | undefined;
|
|
35
|
-
"onUpdate-fill"?: ((event: Event) => any) | undefined;
|
|
36
|
-
"onUpdate-stroke"?: ((event: Event) => any) | undefined;
|
|
37
|
-
"onUpdate-stroke-width"?: ((event: Event) => any) | undefined;
|
|
38
|
-
"onUpdate-opacity"?: ((event: Event) => any) | undefined;
|
|
39
|
-
"onUpdate-component-name"?: ((event: Event) => any) | undefined;
|
|
40
|
-
"onUpdate-dynamic-prop"?: ((path: string, value: any) => any) | undefined;
|
|
41
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
42
|
-
export default _default;
|
|
43
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
44
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
45
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
46
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
47
|
-
} : {
|
|
48
|
-
type: import('vue').PropType<T[K]>;
|
|
49
|
-
required: true;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { ComponentPoint } from '../scada-components/types';
|
|
2
|
-
import { BindingConfig } from '../types/binding';
|
|
3
|
-
|
|
4
|
-
interface NodeProperty {
|
|
5
|
-
key: string;
|
|
6
|
-
label: string;
|
|
7
|
-
type: string;
|
|
8
|
-
}
|
|
9
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
-
binding: BindingConfig;
|
|
11
|
-
index: number;
|
|
12
|
-
isCollapsed: boolean;
|
|
13
|
-
nodeProperties: NodeProperty[];
|
|
14
|
-
componentPoints: ComponentPoint[];
|
|
15
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
-
"toggle-collapse": () => void;
|
|
17
|
-
remove: () => void;
|
|
18
|
-
"update-field": (field: string, event: Event) => void;
|
|
19
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
20
|
-
binding: BindingConfig;
|
|
21
|
-
index: number;
|
|
22
|
-
isCollapsed: boolean;
|
|
23
|
-
nodeProperties: NodeProperty[];
|
|
24
|
-
componentPoints: ComponentPoint[];
|
|
25
|
-
}>>> & Readonly<{
|
|
26
|
-
"onToggle-collapse"?: (() => any) | undefined;
|
|
27
|
-
onRemove?: (() => any) | undefined;
|
|
28
|
-
"onUpdate-field"?: ((field: string, event: Event) => any) | undefined;
|
|
29
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
30
|
-
export default _default;
|
|
31
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
32
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
33
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
34
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
35
|
-
} : {
|
|
36
|
-
type: import('vue').PropType<T[K]>;
|
|
37
|
-
required: true;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
-
containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
3
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
4
|
-
export default _default;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
interface Props {
|
|
2
|
-
isCollapsed?: boolean;
|
|
3
|
-
}
|
|
4
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
5
|
-
isCollapsed: boolean;
|
|
6
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
-
addComponent: (type: string) => void;
|
|
8
|
-
"update:collapsed": (value: boolean) => void;
|
|
9
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
10
|
-
isCollapsed: boolean;
|
|
11
|
-
}>>> & Readonly<{
|
|
12
|
-
onAddComponent?: ((type: string) => any) | undefined;
|
|
13
|
-
"onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
|
|
14
|
-
}>, {
|
|
15
|
-
isCollapsed: boolean;
|
|
16
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
17
|
-
export default _default;
|
|
18
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
20
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
-
} : {
|
|
23
|
-
type: import('vue').PropType<T[K]>;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
type __VLS_WithDefaults<P, D> = {
|
|
28
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
29
|
-
default: D[K];
|
|
30
|
-
}> : P[K];
|
|
31
|
-
};
|
|
32
|
-
type __VLS_Prettify<T> = {
|
|
33
|
-
[K in keyof T]: T[K];
|
|
34
|
-
} & {};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ComponentPoint } from '../scada-components/types';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
visible: boolean;
|
|
5
|
-
modelValue?: string;
|
|
6
|
-
componentPoints: ComponentPoint[];
|
|
7
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
-
"update:visible": (value: boolean) => void;
|
|
9
|
-
"update:modelValue": (value: string) => void;
|
|
10
|
-
confirm: (pointId: string, point: ComponentPoint) => void;
|
|
11
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
-
visible: boolean;
|
|
13
|
-
modelValue?: string;
|
|
14
|
-
componentPoints: ComponentPoint[];
|
|
15
|
-
}>>> & Readonly<{
|
|
16
|
-
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
17
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
18
|
-
onConfirm?: ((pointId: string, point: ComponentPoint) => any) | undefined;
|
|
19
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
20
|
-
export default _default;
|
|
21
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
23
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
-
} : {
|
|
26
|
-
type: import('vue').PropType<T[K]>;
|
|
27
|
-
required: true;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
export interface MenuItem {
|
|
2
|
-
key: string;
|
|
3
|
-
label?: string;
|
|
4
|
-
icon?: string;
|
|
5
|
-
hotkey?: string;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
divider?: boolean;
|
|
8
|
-
onClick?: () => void;
|
|
9
|
-
}
|
|
10
|
-
interface Props {
|
|
11
|
-
visible: boolean;
|
|
12
|
-
position: {
|
|
13
|
-
x: number;
|
|
14
|
-
y: number;
|
|
15
|
-
};
|
|
16
|
-
menuItems: MenuItem[];
|
|
17
|
-
}
|
|
18
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
19
|
-
visible: boolean;
|
|
20
|
-
position: () => {
|
|
21
|
-
x: number;
|
|
22
|
-
y: number;
|
|
23
|
-
};
|
|
24
|
-
menuItems: () => never[];
|
|
25
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
|
-
"update:visible": (value: boolean) => void;
|
|
27
|
-
"menu-click": (key: string) => void;
|
|
28
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
29
|
-
visible: boolean;
|
|
30
|
-
position: () => {
|
|
31
|
-
x: number;
|
|
32
|
-
y: number;
|
|
33
|
-
};
|
|
34
|
-
menuItems: () => never[];
|
|
35
|
-
}>>> & Readonly<{
|
|
36
|
-
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
37
|
-
"onMenu-click"?: ((key: string) => any) | undefined;
|
|
38
|
-
}>, {
|
|
39
|
-
visible: boolean;
|
|
40
|
-
position: {
|
|
41
|
-
x: number;
|
|
42
|
-
y: number;
|
|
43
|
-
};
|
|
44
|
-
menuItems: MenuItem[];
|
|
45
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
46
|
-
export default _default;
|
|
47
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
48
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
49
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
50
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
51
|
-
} : {
|
|
52
|
-
type: import('vue').PropType<T[K]>;
|
|
53
|
-
required: true;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
type __VLS_WithDefaults<P, D> = {
|
|
57
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
58
|
-
default: D[K];
|
|
59
|
-
}> : P[K];
|
|
60
|
-
};
|
|
61
|
-
type __VLS_Prettify<T> = {
|
|
62
|
-
[K in keyof T]: T[K];
|
|
63
|
-
} & {};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Node } from '@antv/x6';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
code: string;
|
|
5
|
-
selectedNode: Node | null;
|
|
6
|
-
}>>, {
|
|
7
|
-
previewContainer: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
8
|
-
DEFAULT_CODE: string;
|
|
9
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
-
save: () => void;
|
|
11
|
-
close: () => void;
|
|
12
|
-
"update:code": (value: string) => void;
|
|
13
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
14
|
-
code: string;
|
|
15
|
-
selectedNode: Node | null;
|
|
16
|
-
}>>> & Readonly<{
|
|
17
|
-
onSave?: (() => any) | undefined;
|
|
18
|
-
onClose?: (() => any) | undefined;
|
|
19
|
-
"onUpdate:code"?: ((value: string) => any) | undefined;
|
|
20
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
21
|
-
export default _default;
|
|
22
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
24
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
-
} : {
|
|
27
|
-
type: import('vue').PropType<T[K]>;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Node } from '@antv/x6';
|
|
2
|
-
|
|
3
|
-
interface Props {
|
|
4
|
-
selectedNode: Node;
|
|
5
|
-
}
|
|
6
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
-
"update-data-source": (config: {
|
|
8
|
-
dataSourceId: string;
|
|
9
|
-
}) => void;
|
|
10
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
11
|
-
"onUpdate-data-source"?: ((config: {
|
|
12
|
-
dataSourceId: string;
|
|
13
|
-
}) => any) | undefined;
|
|
14
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
15
|
-
export default _default;
|
|
16
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
18
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
|
-
} : {
|
|
21
|
-
type: import('vue').PropType<T[K]>;
|
|
22
|
-
required: true;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { DataSource } from '../services/dataSourceManager';
|
|
2
|
-
|
|
3
|
-
interface Props {
|
|
4
|
-
dataSources: DataSource[];
|
|
5
|
-
}
|
|
6
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
-
save: (dataSource: DataSource) => void;
|
|
8
|
-
delete: (id: string) => void;
|
|
9
|
-
add: (dataSource: Omit<DataSource, "id" | "status" | "devices">) => void;
|
|
10
|
-
close: () => void;
|
|
11
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
12
|
-
onSave?: ((dataSource: DataSource) => any) | undefined;
|
|
13
|
-
onDelete?: ((id: string) => any) | undefined;
|
|
14
|
-
onAdd?: ((dataSource: Omit<DataSource, "id" | "status" | "devices">) => any) | undefined;
|
|
15
|
-
onClose?: (() => any) | undefined;
|
|
16
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
17
|
-
export default _default;
|
|
18
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
20
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
-
} : {
|
|
23
|
-
type: import('vue').PropType<T[K]>;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Edge } from '@antv/x6';
|
|
2
|
-
|
|
3
|
-
interface Props {
|
|
4
|
-
selectedEdge: Edge | null;
|
|
5
|
-
}
|
|
6
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
-
updateEdge: (updates: any) => void;
|
|
8
|
-
deleteEdge: () => void;
|
|
9
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
10
|
-
onUpdateEdge?: ((updates: any) => any) | undefined;
|
|
11
|
-
onDeleteEdge?: (() => any) | undefined;
|
|
12
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
13
|
-
export default _default;
|
|
14
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
-
} : {
|
|
19
|
-
type: import('vue').PropType<T[K]>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
interface CustomFooterConfig {
|
|
2
|
-
copyright?: string;
|
|
3
|
-
license?: string;
|
|
4
|
-
contact?: string;
|
|
5
|
-
}
|
|
6
|
-
interface Props {
|
|
7
|
-
authCode?: string;
|
|
8
|
-
publicKeyPem?: string;
|
|
9
|
-
customFooter?: CustomFooterConfig;
|
|
10
|
-
}
|
|
11
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
12
|
-
authCode: string;
|
|
13
|
-
publicKeyPem: undefined;
|
|
14
|
-
customFooter: undefined;
|
|
15
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
16
|
-
authCode: string;
|
|
17
|
-
publicKeyPem: undefined;
|
|
18
|
-
customFooter: undefined;
|
|
19
|
-
}>>> & Readonly<{}>, {
|
|
20
|
-
authCode: string;
|
|
21
|
-
publicKeyPem: string;
|
|
22
|
-
customFooter: CustomFooterConfig;
|
|
23
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
24
|
-
export default _default;
|
|
25
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
27
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
28
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
29
|
-
} : {
|
|
30
|
-
type: import('vue').PropType<T[K]>;
|
|
31
|
-
required: true;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
type __VLS_WithDefaults<P, D> = {
|
|
35
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
36
|
-
default: D[K];
|
|
37
|
-
}> : P[K];
|
|
38
|
-
};
|
|
39
|
-
type __VLS_Prettify<T> = {
|
|
40
|
-
[K in keyof T]: T[K];
|
|
41
|
-
} & {};
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
interface Props {
|
|
2
|
-
selectedNodesCount?: number;
|
|
3
|
-
}
|
|
4
|
-
declare function __VLS_template(): {
|
|
5
|
-
left?(_: {}): any;
|
|
6
|
-
};
|
|
7
|
-
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
8
|
-
selectedNodesCount: number;
|
|
9
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
-
save: () => void;
|
|
11
|
-
import: () => void;
|
|
12
|
-
workflow: () => void;
|
|
13
|
-
preview: () => void;
|
|
14
|
-
export: () => void;
|
|
15
|
-
dataSource: () => void;
|
|
16
|
-
zoomIn: () => void;
|
|
17
|
-
zoomOut: () => void;
|
|
18
|
-
clearAll: () => void;
|
|
19
|
-
alignLeft: () => void;
|
|
20
|
-
alignCenter: () => void;
|
|
21
|
-
alignRight: () => void;
|
|
22
|
-
alignTop: () => void;
|
|
23
|
-
alignMiddle: () => void;
|
|
24
|
-
alignBottom: () => void;
|
|
25
|
-
distributeHorizontal: () => void;
|
|
26
|
-
distributeVertical: () => void;
|
|
27
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
28
|
-
selectedNodesCount: number;
|
|
29
|
-
}>>> & Readonly<{
|
|
30
|
-
onSave?: (() => any) | undefined;
|
|
31
|
-
onImport?: (() => any) | undefined;
|
|
32
|
-
onWorkflow?: (() => any) | undefined;
|
|
33
|
-
onPreview?: (() => any) | undefined;
|
|
34
|
-
onExport?: (() => any) | undefined;
|
|
35
|
-
onDataSource?: (() => any) | undefined;
|
|
36
|
-
onZoomIn?: (() => any) | undefined;
|
|
37
|
-
onZoomOut?: (() => any) | undefined;
|
|
38
|
-
onClearAll?: (() => any) | undefined;
|
|
39
|
-
onAlignLeft?: (() => any) | undefined;
|
|
40
|
-
onAlignCenter?: (() => any) | undefined;
|
|
41
|
-
onAlignRight?: (() => any) | undefined;
|
|
42
|
-
onAlignTop?: (() => any) | undefined;
|
|
43
|
-
onAlignMiddle?: (() => any) | undefined;
|
|
44
|
-
onAlignBottom?: (() => any) | undefined;
|
|
45
|
-
onDistributeHorizontal?: (() => any) | undefined;
|
|
46
|
-
onDistributeVertical?: (() => any) | undefined;
|
|
47
|
-
}>, {
|
|
48
|
-
selectedNodesCount: number;
|
|
49
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
50
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
51
|
-
export default _default;
|
|
52
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
53
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
54
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
55
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
56
|
-
} : {
|
|
57
|
-
type: import('vue').PropType<T[K]>;
|
|
58
|
-
required: true;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
type __VLS_WithDefaults<P, D> = {
|
|
62
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
63
|
-
default: D[K];
|
|
64
|
-
}> : P[K];
|
|
65
|
-
};
|
|
66
|
-
type __VLS_Prettify<T> = {
|
|
67
|
-
[K in keyof T]: T[K];
|
|
68
|
-
} & {};
|
|
69
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
70
|
-
new (): {
|
|
71
|
-
$slots: S;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { MappingConfig } from '../types/binding';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
visible: boolean;
|
|
5
|
-
modelValue?: MappingConfig;
|
|
6
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
-
"update:visible": (value: boolean) => void;
|
|
8
|
-
"update:modelValue": (value: MappingConfig) => void;
|
|
9
|
-
confirm: (value: MappingConfig) => void;
|
|
10
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
-
visible: boolean;
|
|
12
|
-
modelValue?: MappingConfig;
|
|
13
|
-
}>>> & Readonly<{
|
|
14
|
-
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
15
|
-
"onUpdate:modelValue"?: ((value: MappingConfig) => any) | undefined;
|
|
16
|
-
onConfirm?: ((value: MappingConfig) => any) | undefined;
|
|
17
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
18
|
-
export default _default;
|
|
19
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
21
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
-
} : {
|
|
24
|
-
type: import('vue').PropType<T[K]>;
|
|
25
|
-
required: true;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { Node, Edge } from '@antv/x6';
|
|
2
|
-
|
|
3
|
-
interface Props {
|
|
4
|
-
selectedNode: Node | null;
|
|
5
|
-
selectedEdge: Edge | null;
|
|
6
|
-
deviceData?: any;
|
|
7
|
-
isCollapsed?: boolean;
|
|
8
|
-
}
|
|
9
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
10
|
-
isCollapsed: boolean;
|
|
11
|
-
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
-
"update:collapsed": (value: boolean) => void;
|
|
13
|
-
updateEdge: (data: any) => void;
|
|
14
|
-
deleteEdge: () => void;
|
|
15
|
-
updateNode: (data: any) => void;
|
|
16
|
-
deleteNode: () => void;
|
|
17
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
18
|
-
isCollapsed: boolean;
|
|
19
|
-
}>>> & Readonly<{
|
|
20
|
-
"onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
|
|
21
|
-
onUpdateEdge?: ((data: any) => any) | undefined;
|
|
22
|
-
onDeleteEdge?: (() => any) | undefined;
|
|
23
|
-
onUpdateNode?: ((data: any) => any) | undefined;
|
|
24
|
-
onDeleteNode?: (() => any) | undefined;
|
|
25
|
-
}>, {
|
|
26
|
-
isCollapsed: boolean;
|
|
27
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
28
|
-
export default _default;
|
|
29
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
30
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
31
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
32
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
33
|
-
} : {
|
|
34
|
-
type: import('vue').PropType<T[K]>;
|
|
35
|
-
required: true;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
type __VLS_WithDefaults<P, D> = {
|
|
39
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
40
|
-
default: D[K];
|
|
41
|
-
}> : P[K];
|
|
42
|
-
};
|
|
43
|
-
type __VLS_Prettify<T> = {
|
|
44
|
-
[K in keyof T]: T[K];
|
|
45
|
-
} & {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
interface Props {
|
|
2
|
-
node?: any;
|
|
3
|
-
}
|
|
4
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5
|
-
export default _default;
|
|
6
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
7
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
8
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
9
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
10
|
-
} : {
|
|
11
|
-
type: import('vue').PropType<T[K]>;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
interface Props {
|
|
2
|
-
node?: any;
|
|
3
|
-
}
|
|
4
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5
|
-
export default _default;
|
|
6
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
7
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
8
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
9
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
10
|
-
} : {
|
|
11
|
-
type: import('vue').PropType<T[K]>;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
interface Props {
|
|
2
|
-
node?: any;
|
|
3
|
-
}
|
|
4
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5
|
-
export default _default;
|
|
6
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
7
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
8
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
9
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
10
|
-
} : {
|
|
11
|
-
type: import('vue').PropType<T[K]>;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
interface Props {
|
|
2
|
-
node?: any;
|
|
3
|
-
}
|
|
4
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5
|
-
export default _default;
|
|
6
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
7
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
8
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
9
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
10
|
-
} : {
|
|
11
|
-
type: import('vue').PropType<T[K]>;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
interface Props {
|
|
2
|
-
node?: any;
|
|
3
|
-
}
|
|
4
|
-
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5
|
-
export default _default;
|
|
6
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
7
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
8
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
9
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
10
|
-
} : {
|
|
11
|
-
type: import('vue').PropType<T[K]>;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
};
|