@mx-sose-front/mx-sose-graph 1.2.7 → 1.2.8
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 +3 -5259
- package/dist/index.esm.js +18 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/src/components/Common/index.d.ts +3 -0
- package/dist/src/components/Common/index.d.ts.map +1 -0
- package/dist/src/components/ContextMenu/ContextMenu.vue.d.ts +55 -0
- package/dist/src/components/ContextMenu/ContextMenu.vue.d.ts.map +1 -0
- package/dist/src/components/Diagram/StrategicTaxonomyDiagram.vue.d.ts +21 -0
- package/dist/src/components/Diagram/StrategicTaxonomyDiagram.vue.d.ts.map +1 -0
- package/dist/src/components/DiagramListTooltip/DiagramListTooltip.vue.d.ts +32 -0
- package/dist/src/components/DiagramListTooltip/DiagramListTooltip.vue.d.ts.map +1 -0
- package/dist/src/components/Edge/Edge.vue.d.ts +36 -0
- package/dist/src/components/Edge/Edge.vue.d.ts.map +1 -0
- package/dist/src/components/Gantt/Gantt.vue.d.ts +17 -0
- package/dist/src/components/Gantt/Gantt.vue.d.ts.map +1 -0
- package/dist/src/components/GanttContextMenu/GanttContextMenu.vue.d.ts +37 -0
- package/dist/src/components/GanttContextMenu/GanttContextMenu.vue.d.ts.map +1 -0
- package/dist/src/components/InteractionLayer.vue.d.ts +28 -0
- package/dist/src/components/InteractionLayer.vue.d.ts.map +1 -0
- package/dist/src/components/LineStyle/ConnectionLine.vue.d.ts +30 -0
- package/dist/src/components/LineStyle/ConnectionLine.vue.d.ts.map +1 -0
- package/dist/src/components/LineStyle/LineStyleMarker.vue.d.ts +15 -0
- package/dist/src/components/LineStyle/LineStyleMarker.vue.d.ts.map +1 -0
- package/dist/src/components/Matrix/Matrix.vue.d.ts +9 -0
- package/dist/src/components/Matrix/Matrix.vue.d.ts.map +1 -0
- package/dist/src/components/Matrix/index.d.ts +34 -0
- package/dist/src/components/Matrix/index.d.ts.map +1 -0
- package/dist/src/components/MatrixContextMenu/MatrixContextMenu.vue.d.ts +31 -0
- package/dist/src/components/MatrixContextMenu/MatrixContextMenu.vue.d.ts.map +1 -0
- package/dist/src/components/NameEditor/NameEditor.vue.d.ts +30 -0
- package/dist/src/components/NameEditor/NameEditor.vue.d.ts.map +1 -0
- package/dist/src/components/Pin/Pin.vue.d.ts +25 -0
- package/dist/src/components/Pin/Pin.vue.d.ts.map +1 -0
- package/dist/src/components/Pin/Port.vue.d.ts +23 -0
- package/dist/src/components/Pin/Port.vue.d.ts.map +1 -0
- package/dist/src/components/SelectionBox/SelectionBox.vue.d.ts +30 -0
- package/dist/src/components/SelectionBox/SelectionBox.vue.d.ts.map +1 -0
- package/dist/src/components/Shape/Action.vue.d.ts +25 -0
- package/dist/src/components/Shape/Action.vue.d.ts.map +1 -0
- package/dist/src/components/Shape/ActivityAction.vue.d.ts +25 -0
- package/dist/src/components/Shape/ActivityAction.vue.d.ts.map +1 -0
- package/dist/src/components/Shape/Block.vue.d.ts +25 -0
- package/dist/src/components/Shape/Block.vue.d.ts.map +1 -0
- package/dist/src/components/Shape/ConceptualRole.vue.d.ts +25 -0
- package/dist/src/components/Shape/ConceptualRole.vue.d.ts.map +1 -0
- package/dist/src/components/Shape/Diagram.vue.d.ts +25 -0
- package/dist/src/components/Shape/Diagram.vue.d.ts.map +1 -0
- package/dist/src/components/Shape/DividingLine.vue.d.ts +36 -0
- package/dist/src/components/Shape/DividingLine.vue.d.ts.map +1 -0
- package/dist/src/components/Shape/DogEar.vue.d.ts +25 -0
- package/dist/src/components/Shape/DogEar.vue.d.ts.map +1 -0
- package/dist/src/components/Shape/Package.vue.d.ts +25 -0
- package/dist/src/components/Shape/Package.vue.d.ts.map +1 -0
- package/dist/src/components/Table/Table.vue.d.ts +20 -0
- package/dist/src/components/Table/Table.vue.d.ts.map +1 -0
- package/dist/src/constants/edgeShapeKeys.d.ts +46 -0
- package/dist/src/constants/edgeShapeKeys.d.ts.map +1 -0
- package/dist/src/constants/index.d.ts +668 -0
- package/dist/src/constants/index.d.ts.map +1 -0
- package/dist/src/hooks/index.d.ts +6 -0
- package/dist/src/hooks/index.d.ts.map +1 -0
- package/dist/src/hooks/useChartRowSelection.d.ts +89 -0
- package/dist/src/hooks/useChartRowSelection.d.ts.map +1 -0
- package/dist/src/hooks/useHighlight.d.ts +82 -0
- package/dist/src/hooks/useHighlight.d.ts.map +1 -0
- package/dist/src/hooks/useNameEdit.d.ts +76 -0
- package/dist/src/hooks/useNameEdit.d.ts.map +1 -0
- package/dist/src/hooks/useResize.d.ts +65 -0
- package/dist/src/hooks/useResize.d.ts.map +1 -0
- package/dist/src/hooks/useVirtualScroll.d.ts +110 -0
- package/dist/src/hooks/useVirtualScroll.d.ts.map +1 -0
- package/dist/src/index.d.ts +18 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/render/shape-registry.d.ts +9 -0
- package/dist/src/render/shape-registry.d.ts.map +1 -0
- package/dist/src/render/shape-renderer.d.ts +12 -0
- package/dist/src/render/shape-renderer.d.ts.map +1 -0
- package/dist/src/store/eventBus.d.ts +10 -0
- package/dist/src/store/eventBus.d.ts.map +1 -0
- package/dist/src/store/graphStore.d.ts +4644 -0
- package/dist/src/store/graphStore.d.ts.map +1 -0
- package/dist/src/store/index.d.ts +3 -0
- package/dist/src/store/index.d.ts.map +1 -0
- package/dist/src/types/index.d.ts +279 -0
- package/dist/src/types/index.d.ts.map +1 -0
- package/dist/src/types/interactionLayer.d.ts +23 -0
- package/dist/src/types/interactionLayer.d.ts.map +1 -0
- package/dist/src/utils/autoExpandParent.d.ts +38 -0
- package/dist/src/utils/autoExpandParent.d.ts.map +1 -0
- package/dist/src/utils/batchAutoExpand.d.ts +12 -0
- package/dist/src/utils/batchAutoExpand.d.ts.map +1 -0
- package/dist/src/utils/colorUtils.d.ts +38 -0
- package/dist/src/utils/colorUtils.d.ts.map +1 -0
- package/dist/src/utils/compartment.d.ts +92 -0
- package/dist/src/utils/compartment.d.ts.map +1 -0
- package/dist/src/utils/containers.d.ts +119 -0
- package/dist/src/utils/containers.d.ts.map +1 -0
- package/dist/src/utils/contextMenuUtils.d.ts +108 -0
- package/dist/src/utils/contextMenuUtils.d.ts.map +1 -0
- package/dist/src/utils/dateUtils.d.ts +77 -0
- package/dist/src/utils/dateUtils.d.ts.map +1 -0
- package/dist/src/utils/diagram.d.ts +289 -0
- package/dist/src/utils/diagram.d.ts.map +1 -0
- package/dist/src/utils/dom.d.ts +2 -0
- package/dist/src/utils/dom.d.ts.map +1 -0
- package/dist/src/utils/drag.d.ts +65 -0
- package/dist/src/utils/drag.d.ts.map +1 -0
- package/dist/src/utils/edgeUtils.d.ts +326 -0
- package/dist/src/utils/edgeUtils.d.ts.map +1 -0
- package/dist/src/utils/edgeWorker.d.ts +182 -0
- package/dist/src/utils/edgeWorker.d.ts.map +1 -0
- package/dist/src/utils/geom.d.ts +103 -0
- package/dist/src/utils/geom.d.ts.map +1 -0
- package/dist/src/utils/graphDragService.d.ts +62 -0
- package/dist/src/utils/graphDragService.d.ts.map +1 -0
- package/dist/src/utils/hittest.d.ts +27 -0
- package/dist/src/utils/hittest.d.ts.map +1 -0
- package/dist/src/utils/iconLoader.d.ts +16 -0
- package/dist/src/utils/iconLoader.d.ts.map +1 -0
- package/dist/src/utils/index.d.ts +8 -0
- package/dist/src/utils/index.d.ts.map +1 -0
- package/dist/src/utils/keyboardUtils.d.ts +25 -0
- package/dist/src/utils/keyboardUtils.d.ts.map +1 -0
- package/dist/src/utils/license-guard.d.ts +10 -0
- package/dist/src/utils/license-guard.d.ts.map +1 -0
- package/dist/src/utils/packageOutline.d.ts +32 -0
- package/dist/src/utils/packageOutline.d.ts.map +1 -0
- package/dist/src/utils/pinUtils.d.ts +79 -0
- package/dist/src/utils/pinUtils.d.ts.map +1 -0
- package/dist/src/utils/policy.d.ts +44 -0
- package/dist/src/utils/policy.d.ts.map +1 -0
- package/dist/src/utils/rafThrottle.d.ts +63 -0
- package/dist/src/utils/rafThrottle.d.ts.map +1 -0
- package/dist/src/utils/shapeOps/shapeOps.d.ts +21 -0
- package/dist/src/utils/shapeOps/shapeOps.d.ts.map +1 -0
- package/dist/src/utils/viewportCulling.d.ts +73 -0
- package/dist/src/utils/viewportCulling.d.ts.map +1 -0
- package/dist/src/utils/workerManager.d.ts +86 -0
- package/dist/src/utils/workerManager.d.ts.map +1 -0
- package/dist/src/utils/zorder.d.ts +4 -0
- package/dist/src/utils/zorder.d.ts.map +1 -0
- package/dist/src/view/graph.vue.d.ts +180 -0
- package/dist/src/view/graph.vue.d.ts.map +1 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/ContextMenu/ContextMenu.vue +2 -2
- package/src/utils/workerManager.ts +4 -1
- package/src/vite-env.d.ts +2 -2
- package/dist/assets/edgeWorker-b57ca007.js +0 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Common/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,YAAY,CAAA;AAClD,YAAY,EAAE,SAAS,EAAE,MAAM,YAAY,CAAA"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
visible: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
position: {
|
|
7
|
+
type: ObjectConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
validator: (value: any) => boolean;
|
|
10
|
+
};
|
|
11
|
+
selectedShape: {
|
|
12
|
+
type: ObjectConstructor;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
delete: (...args: any[]) => void;
|
|
17
|
+
copy: (...args: any[]) => void;
|
|
18
|
+
cut: (...args: any[]) => void;
|
|
19
|
+
paste: (...args: any[]) => void;
|
|
20
|
+
"show-property-panel": (...args: any[]) => void;
|
|
21
|
+
"locate-chart": (...args: any[]) => void;
|
|
22
|
+
"update:visible": (...args: any[]) => void;
|
|
23
|
+
rename: (...args: any[]) => void;
|
|
24
|
+
highlight: (...args: any[]) => void;
|
|
25
|
+
"new-chart": (...args: any[]) => void;
|
|
26
|
+
"apply-links": (...args: any[]) => void;
|
|
27
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
28
|
+
visible: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
position: {
|
|
33
|
+
type: ObjectConstructor;
|
|
34
|
+
required: true;
|
|
35
|
+
validator: (value: any) => boolean;
|
|
36
|
+
};
|
|
37
|
+
selectedShape: {
|
|
38
|
+
type: ObjectConstructor;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
}>> & Readonly<{
|
|
42
|
+
onDelete?: ((...args: any[]) => any) | undefined;
|
|
43
|
+
onCopy?: ((...args: any[]) => any) | undefined;
|
|
44
|
+
onCut?: ((...args: any[]) => any) | undefined;
|
|
45
|
+
onPaste?: ((...args: any[]) => any) | undefined;
|
|
46
|
+
"onShow-property-panel"?: ((...args: any[]) => any) | undefined;
|
|
47
|
+
"onLocate-chart"?: ((...args: any[]) => any) | undefined;
|
|
48
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
49
|
+
onRename?: ((...args: any[]) => any) | undefined;
|
|
50
|
+
onHighlight?: ((...args: any[]) => any) | undefined;
|
|
51
|
+
"onNew-chart"?: ((...args: any[]) => any) | undefined;
|
|
52
|
+
"onApply-links"?: ((...args: any[]) => any) | undefined;
|
|
53
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
54
|
+
export default _default;
|
|
55
|
+
//# sourceMappingURL=ContextMenu.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContextMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ContextMenu/ContextMenu.vue"],"names":[],"mappings":"AAmHA;;;;;;;;;2BA09BuB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;2BAAH,GAAG;;;;;;;;;;;;;;;;;;;AAb1B,wBAuBG"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Shape } from '../../types';
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
shape: Shape;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
"shape-click": (shape: Shape, event: MouseEvent) => void;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
9
|
+
"onShape-click"?: ((shape: Shape, event: MouseEvent) => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
14
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
16
|
+
} : {
|
|
17
|
+
type: import('vue').PropType<T[K]>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=StrategicTaxonomyDiagram.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StrategicTaxonomyDiagram.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Diagram/StrategicTaxonomyDiagram.vue"],"names":[],"mappings":"AAYA;AAGA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAKzC,UAAU,KAAK;IACb,KAAK,EAAE,KAAK,CAAC;CACd;;;;;;AAqKD,wBAOG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { locationChart } from '../../types';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
visible: boolean;
|
|
5
|
+
x: number;
|
|
6
|
+
y: number;
|
|
7
|
+
currentDiagramId: string;
|
|
8
|
+
diagramLocationData?: locationChart[] | null | undefined;
|
|
9
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
close: () => void;
|
|
11
|
+
locationChartClick: (diagram: locationChart) => void;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
+
visible: boolean;
|
|
14
|
+
x: number;
|
|
15
|
+
y: number;
|
|
16
|
+
currentDiagramId: string;
|
|
17
|
+
diagramLocationData?: locationChart[] | null | undefined;
|
|
18
|
+
}>>> & Readonly<{
|
|
19
|
+
onClose?: (() => any) | undefined;
|
|
20
|
+
onLocationChartClick?: ((diagram: locationChart) => any) | undefined;
|
|
21
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
24
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
25
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
26
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
27
|
+
} : {
|
|
28
|
+
type: import('vue').PropType<T[K]>;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=DiagramListTooltip.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DiagramListTooltip.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/DiagramListTooltip/DiagramListTooltip.vue"],"names":[],"mappings":"AAmBA;AAKA,OAAO,KAAK,EAAW,aAAa,EAAE,MAAM,aAAa,CAAA;;aAqN9C,OAAO;OACb,MAAM;OACN,MAAM;sBACS,MAAM;;;;;;aAHf,OAAO;OACb,MAAM;OACN,MAAM;sBACS,MAAM;;;;;;AAT1B,wBAaG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Shape } from '../../types';
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
shape: Shape;
|
|
5
|
+
isSelected?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
8
|
+
isSelected: boolean;
|
|
9
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
"edge-click": (shape: Shape, event: MouseEvent) => void;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
12
|
+
isSelected: boolean;
|
|
13
|
+
}>>> & Readonly<{
|
|
14
|
+
"onEdge-click"?: ((shape: Shape, event: MouseEvent) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
isSelected: boolean;
|
|
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
|
+
};
|
|
28
|
+
type __VLS_WithDefaults<P, D> = {
|
|
29
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
30
|
+
default: D[K];
|
|
31
|
+
}> : P[K];
|
|
32
|
+
};
|
|
33
|
+
type __VLS_Prettify<T> = {
|
|
34
|
+
[K in keyof T]: T[K];
|
|
35
|
+
} & {};
|
|
36
|
+
//# sourceMappingURL=Edge.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Edge.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Edge/Edge.vue"],"names":[],"mappings":"AAmFA;AAGA,OAAO,KAAK,EAAE,KAAK,EAAY,MAAM,aAAa,CAAA;AAYlD,UAAU,KAAK;IACb,KAAK,EAAE,KAAK,CAAA;IACZ,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB;;;;;;;;;;;;AAwbD,wBAOG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Shape } from '../../types';
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
shape: Shape;
|
|
5
|
+
}
|
|
6
|
+
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>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
+
} : {
|
|
13
|
+
type: import('vue').PropType<T[K]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=Gantt.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Gantt.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Gantt/Gantt.vue"],"names":[],"mappings":"AA4KA;AAGA,OAAO,KAAK,EAAE,KAAK,EAAa,MAAM,aAAa,CAAA;AAUnD,UAAU,KAAK;IACb,KAAK,EAAE,KAAK,CAAA;CACb;;AA+zDD,wBAMG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
visible: boolean;
|
|
3
|
+
position: {
|
|
4
|
+
x: number;
|
|
5
|
+
y: number;
|
|
6
|
+
};
|
|
7
|
+
canMoveUp: boolean;
|
|
8
|
+
canMoveDown: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
"update:visible": (value: boolean) => void;
|
|
12
|
+
"property-config": () => void;
|
|
13
|
+
"tree-highlight": () => void;
|
|
14
|
+
"move-up": () => void;
|
|
15
|
+
"move-down": () => void;
|
|
16
|
+
delete: () => void;
|
|
17
|
+
remove: () => void;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
19
|
+
onDelete?: (() => any) | undefined;
|
|
20
|
+
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
21
|
+
"onProperty-config"?: (() => any) | undefined;
|
|
22
|
+
"onTree-highlight"?: (() => any) | undefined;
|
|
23
|
+
"onMove-up"?: (() => any) | undefined;
|
|
24
|
+
"onMove-down"?: (() => any) | undefined;
|
|
25
|
+
onRemove?: (() => any) | undefined;
|
|
26
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
29
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
30
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
31
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
32
|
+
} : {
|
|
33
|
+
type: import('vue').PropType<T[K]>;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=GanttContextMenu.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GanttContextMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/GanttContextMenu/GanttContextMenu.vue"],"names":[],"mappings":"AA4DA;AAOA,UAAU,KAAK;IACb,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,EAAE;QACR,CAAC,EAAE,MAAM,CAAA;QACT,CAAC,EAAE,MAAM,CAAA;KACV,CAAA;IACD,SAAS,EAAE,OAAO,CAAA;IAClB,WAAW,EAAE,OAAO,CAAA;CACrB;;;;;;;;;;;;;;;;;;AAkhBD,wBAOG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Shape } from '../types';
|
|
2
|
+
import { InteractionLayerProps } from '../types/interactionLayer';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<InteractionLayerProps>>, {
|
|
5
|
+
continueExternalCreateDrag: (payload: {
|
|
6
|
+
clientX: number;
|
|
7
|
+
clientY: number;
|
|
8
|
+
shapeData?: any;
|
|
9
|
+
}) => Promise<void>;
|
|
10
|
+
finishExternalCreateDrag: (payload: {
|
|
11
|
+
clientX: number;
|
|
12
|
+
clientY: number;
|
|
13
|
+
}) => Promise<void>;
|
|
14
|
+
handleEdgeClick: (shape: Shape, event: MouseEvent) => void;
|
|
15
|
+
tryCompleteConnectionFromShapeClick: (shape: Shape) => boolean;
|
|
16
|
+
getBoundingClientRect: () => DOMRect | undefined;
|
|
17
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<InteractionLayerProps>>> & Readonly<{}>, {}, {}, {}, {}, 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
|
+
};
|
|
28
|
+
//# sourceMappingURL=InteractionLayer.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InteractionLayer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/InteractionLayer.vue"],"names":[],"mappings":"AAoFA;AAYA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEtC,OAAO,KAAK,EACV,qBAAqB,EAEtB,MAAM,2BAA2B,CAAC;;;;;;;;;;;;;;;AAonEnC,wBAQG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { CSSProperties } from 'vue';
|
|
2
|
+
|
|
3
|
+
type StrokeLinecap = 'inherit' | 'round' | 'butt' | 'square';
|
|
4
|
+
type StrokeLinejoin = 'inherit' | 'round' | 'miter' | 'bevel';
|
|
5
|
+
export interface LineStyle {
|
|
6
|
+
stroke: string;
|
|
7
|
+
strokeWidth: number | string;
|
|
8
|
+
strokeLinecap: StrokeLinecap;
|
|
9
|
+
strokeLinejoin: StrokeLinejoin;
|
|
10
|
+
strokeDasharray?: string;
|
|
11
|
+
fill?: string;
|
|
12
|
+
}
|
|
13
|
+
interface Props {
|
|
14
|
+
showLine: boolean;
|
|
15
|
+
points: string;
|
|
16
|
+
shapeKey?: string;
|
|
17
|
+
style?: CSSProperties & Partial<LineStyle>;
|
|
18
|
+
}
|
|
19
|
+
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>;
|
|
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
|
+
};
|
|
30
|
+
//# sourceMappingURL=ConnectionLine.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConnectionLine.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/LineStyle/ConnectionLine.vue"],"names":[],"mappings":"AAaA;AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AAKzC,KAAK,aAAa,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAA;AAC5D,KAAK,cAAc,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAA;AAC7D,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,MAAM,GAAG,MAAM,CAAA;IAC5B,aAAa,EAAE,aAAa,CAAA;IAC5B,cAAc,EAAE,cAAc,CAAA;IAC9B,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,UAAU,KAAK;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,SAAS,CAAC,CAAA;CAC3C;;AA8JD,wBAMG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
shapeKey?: string;
|
|
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
|
+
};
|
|
15
|
+
//# sourceMappingURL=LineStyleMarker.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LineStyleMarker.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/LineStyle/LineStyleMarker.vue"],"names":[],"mappings":"AAuEA;AAOA,UAAU,KAAK;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;;AA6OD,wBAMG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Matrix } from '../../types';
|
|
2
|
+
|
|
3
|
+
/** 供主项目通过 ref 调用:直接设置矩阵数据(与 matrix-data-change 语义一致) */
|
|
4
|
+
declare function setMatrixData(data: Matrix): void;
|
|
5
|
+
declare const _default: import('vue').DefineComponent<{}, {
|
|
6
|
+
setMatrixData: typeof setMatrixData;
|
|
7
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
export default _default;
|
|
9
|
+
//# sourceMappingURL=Matrix.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Matrix.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Matrix/Matrix.vue"],"names":[],"mappings":"AAkKA;AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AA4SzC,wDAAwD;AACxD,iBAAS,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAEzC;;;;AAisBD,wBAMG"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { TreeNode, ColumnHeaderCell } from '../../types';
|
|
2
|
+
|
|
3
|
+
/** 递归收集树中所有叶子节点(按遍历顺序) */
|
|
4
|
+
export declare function getLeafNodes(nodes: TreeNode[]): TreeNode[];
|
|
5
|
+
/** 根据 rowId + colId 从 matrixNodes 中取单元格数据 */
|
|
6
|
+
export declare function getMatrixCell(matrixNodes: ColumnHeaderCell[], rowNodeId: string, columnNodeId: string): ColumnHeaderCell | undefined;
|
|
7
|
+
export interface FlattenRowItem {
|
|
8
|
+
node: TreeNode;
|
|
9
|
+
depth: number;
|
|
10
|
+
}
|
|
11
|
+
/** 按展开状态扁平化行树:行方向可展开,每行一个节点 */
|
|
12
|
+
export declare function flattenRowTree(nodes: TreeNode[], expandedIds: Set<string>, depth?: number): FlattenRowItem[];
|
|
13
|
+
/** 按展开状态得到可见的列叶子(最深一层),用于数据列 */
|
|
14
|
+
export declare function getVisibleColumnLeaves(nodes: TreeNode[], expandedIds: Set<string>): TreeNode[];
|
|
15
|
+
/** 递归收集树中所有节点 id(用于判断某 id 是否属于该树,折叠时子节点不应当「补列」) */
|
|
16
|
+
export declare function getAllColumnNodeIds(nodes: TreeNode[]): Set<string>;
|
|
17
|
+
/**
|
|
18
|
+
* 与行对齐的列顺序:先根(战略层(1))算一列,再子节点(能力…)。
|
|
19
|
+
* 单根且已展开且有子节点时,返回 [根, ...叶子];否则仅返回叶子。
|
|
20
|
+
*/
|
|
21
|
+
export declare function getVisibleColumnNodesWithRoot(nodes: TreeNode[], expandedIds: Set<string>): TreeNode[];
|
|
22
|
+
export interface ColHeaderCell {
|
|
23
|
+
node: TreeNode;
|
|
24
|
+
colspan: number;
|
|
25
|
+
rowspan: number;
|
|
26
|
+
isEmpty?: boolean;
|
|
27
|
+
}
|
|
28
|
+
/** 计算列头多行:列方向竖着展开,每层表头一行;叶子节点用 rowspan 跨到最底行 */
|
|
29
|
+
export declare function getColumnHeaderRows(nodes: TreeNode[], expandedIds: Set<string>): ColHeaderCell[][];
|
|
30
|
+
/** 判断行节点是否用「文件夹+方框」样式(Strategy、123 等),否则用「橙圆 C+三角」 */
|
|
31
|
+
export declare function isFolderLikeNode(node: TreeNode): boolean;
|
|
32
|
+
/** 递归收集树中所有有子节点的节点 id(用于默认全部展开) */
|
|
33
|
+
export declare function getAllExpandableIds(nodes: TreeNode[]): Set<string>;
|
|
34
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Matrix/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE7D,0BAA0B;AAC1B,wBAAgB,YAAY,CAAC,KAAK,EAAE,QAAQ,EAAE,GAAG,QAAQ,EAAE,CAa1D;AAED,6CAA6C;AAC7C,wBAAgB,aAAa,CAC3B,WAAW,EAAE,gBAAgB,EAAE,EAC/B,SAAS,EAAE,MAAM,EACjB,YAAY,EAAE,MAAM,GACnB,gBAAgB,GAAG,SAAS,CAI9B;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,QAAQ,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;CACd;AAED,+BAA+B;AAC/B,wBAAgB,cAAc,CAC5B,KAAK,EAAE,QAAQ,EAAE,EACjB,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,EACxB,KAAK,SAAI,GACR,cAAc,EAAE,CAUlB;AAED,gCAAgC;AAChC,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,QAAQ,EAAE,EACjB,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,GACvB,QAAQ,EAAE,CAcZ;AAED,mDAAmD;AACnD,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,QAAQ,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,CAUlE;AAED;;;GAGG;AACH,wBAAgB,6BAA6B,CAC3C,KAAK,EAAE,QAAQ,EAAE,EACjB,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,GACvB,QAAQ,EAAE,CAOZ;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,QAAQ,CAAA;IACd,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,gDAAgD;AAChD,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,QAAQ,EAAE,EACjB,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,GACvB,aAAa,EAAE,EAAE,CAoCnB;AAED,sDAAsD;AACtD,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,QAAQ,GAAG,OAAO,CAExD;AAED,mCAAmC;AACnC,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,QAAQ,EAAE,GAAG,GAAG,CAAC,MAAM,CAAC,CAYlE"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
visible: boolean;
|
|
3
|
+
position: {
|
|
4
|
+
x: number;
|
|
5
|
+
y: number;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
"update:visible": (value: boolean) => void;
|
|
10
|
+
"property-config": () => void;
|
|
11
|
+
"tree-highlight": () => void;
|
|
12
|
+
delete: () => void;
|
|
13
|
+
remove: () => void;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
15
|
+
onDelete?: (() => any) | undefined;
|
|
16
|
+
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
17
|
+
"onProperty-config"?: (() => any) | undefined;
|
|
18
|
+
"onTree-highlight"?: (() => any) | undefined;
|
|
19
|
+
onRemove?: (() => 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
|
+
};
|
|
31
|
+
//# sourceMappingURL=MatrixContextMenu.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MatrixContextMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/MatrixContextMenu/MatrixContextMenu.vue"],"names":[],"mappings":"AA4CA;AAOA,UAAU,KAAK;IACb,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,EAAE;QACR,CAAC,EAAE,MAAM,CAAA;QACT,CAAC,EAAE,MAAM,CAAA;KACV,CAAA;CACF;;;;;;;;;;;;;;AAyYD,wBAOG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Shape } from '../../types';
|
|
2
|
+
import { INameEditManager } from '../../hooks/useNameEdit';
|
|
3
|
+
|
|
4
|
+
interface NameEditorProps {
|
|
5
|
+
selectedShape: Shape | null;
|
|
6
|
+
canEdit: boolean;
|
|
7
|
+
isEditingName: boolean;
|
|
8
|
+
editingName: string;
|
|
9
|
+
nameEditManager: INameEditManager;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<NameEditorProps>>, {
|
|
12
|
+
startEditName: () => Promise<void>;
|
|
13
|
+
canEdit: (shape: Shape | null) => boolean;
|
|
14
|
+
cancelEdit: () => void;
|
|
15
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
editName: (shape: Shape, newName: string, oldName: string) => void;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<NameEditorProps>>> & Readonly<{
|
|
18
|
+
onEditName?: ((shape: Shape, newName: string, oldName: string) => 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
|
+
};
|
|
30
|
+
//# sourceMappingURL=NameEditor.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NameEditor.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/NameEditor/NameEditor.vue"],"names":[],"mappings":"AAyCA;AAGA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAKhE,UAAU,eAAe;IACvB,aAAa,EAAE,KAAK,GAAG,IAAI,CAAC;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,OAAO,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,gBAAgB,CAAC;CACnC;;;;;;;;;;AAwOD,wBAQG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Shape } from '../../types';
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
shape: Shape;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
"shape-click": (shape: Shape, event: MouseEvent) => void;
|
|
8
|
+
"keywords-click": (shape: Shape, event: MouseEvent) => void;
|
|
9
|
+
"name-click": (shape: Shape, event: MouseEvent) => void;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
11
|
+
"onShape-click"?: ((shape: Shape, event: MouseEvent) => any) | undefined;
|
|
12
|
+
"onKeywords-click"?: ((shape: Shape, event: MouseEvent) => any) | undefined;
|
|
13
|
+
"onName-click"?: ((shape: Shape, event: MouseEvent) => 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
|
+
};
|
|
25
|
+
//# sourceMappingURL=Pin.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Pin.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Pin/Pin.vue"],"names":[],"mappings":"AA2DA;AAGE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAOxC,UAAU,KAAK;IACb,KAAK,EAAE,KAAK,CAAA;CACb;;;;;;;;;;AAqTH,wBAOG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Shape } from '../../types';
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
shape: Shape;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
"shape-click": (shape: Shape, event: MouseEvent) => void;
|
|
8
|
+
"name-click": (shape: Shape, event: MouseEvent) => void;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
10
|
+
"onShape-click"?: ((shape: Shape, event: MouseEvent) => any) | undefined;
|
|
11
|
+
"onName-click"?: ((shape: Shape, event: MouseEvent) => 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
|
+
};
|
|
23
|
+
//# sourceMappingURL=Port.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Port.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Pin/Port.vue"],"names":[],"mappings":"AA6CA;AAGA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAOxC,UAAU,KAAK;IACb,KAAK,EAAE,KAAK,CAAA;CACb;;;;;;;;AAgQD,wBAOG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Shape } from '../../types';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
shape: Shape;
|
|
5
|
+
isBusy: boolean;
|
|
6
|
+
isMultiSelected: boolean;
|
|
7
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
"resize-start": (event: MouseEvent, position: "nw" | "ne" | "sw" | "se", shape: Shape) => void;
|
|
9
|
+
"action-button-click": (code: string, shape: Shape) => void;
|
|
10
|
+
"model-type-property-id-click": (value: string, shape: Shape) => void;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
+
shape: Shape;
|
|
13
|
+
isBusy: boolean;
|
|
14
|
+
isMultiSelected: boolean;
|
|
15
|
+
}>>> & Readonly<{
|
|
16
|
+
"onResize-start"?: ((event: MouseEvent, position: "nw" | "ne" | "sw" | "se", shape: Shape) => any) | undefined;
|
|
17
|
+
"onAction-button-click"?: ((code: string, shape: Shape) => any) | undefined;
|
|
18
|
+
"onModel-type-property-id-click"?: ((value: string, shape: Shape) => 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
|
+
};
|
|
30
|
+
//# sourceMappingURL=SelectionBox.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectionBox.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/SelectionBox/SelectionBox.vue"],"names":[],"mappings":"AAwCA;AAGA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;;WAsPhC,KAAK;YACJ,OAAO;qBACE,OAAO;;;;;;WAFjB,KAAK;YACJ,OAAO;qBACE,OAAO;;;;;;AAR1B,wBAWG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Shape } from '../../types';
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
shape: Shape;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
"shape-click": (shape: Shape, event: MouseEvent) => void;
|
|
8
|
+
"keywords-click": (shape: Shape, event: MouseEvent) => void;
|
|
9
|
+
"name-click": (shape: Shape, event: MouseEvent) => void;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
11
|
+
"onShape-click"?: ((shape: Shape, event: MouseEvent) => any) | undefined;
|
|
12
|
+
"onKeywords-click"?: ((shape: Shape, event: MouseEvent) => any) | undefined;
|
|
13
|
+
"onName-click"?: ((shape: Shape, event: MouseEvent) => 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
|
+
};
|
|
25
|
+
//# sourceMappingURL=Action.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Action.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Shape/Action.vue"],"names":[],"mappings":"AA6BA;AAGA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAQxC,UAAU,KAAK;IACb,KAAK,EAAE,KAAK,CAAA;CACb;;;;;;;;;;AAgMD,wBAOG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Shape } from '../../types';
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
shape: Shape;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
"shape-click": (shape: Shape, event: MouseEvent) => void;
|
|
8
|
+
"keywords-click": (shape: Shape, event: MouseEvent) => void;
|
|
9
|
+
"name-click": (shape: Shape, event: MouseEvent) => void;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{
|
|
11
|
+
"onShape-click"?: ((shape: Shape, event: MouseEvent) => any) | undefined;
|
|
12
|
+
"onKeywords-click"?: ((shape: Shape, event: MouseEvent) => any) | undefined;
|
|
13
|
+
"onName-click"?: ((shape: Shape, event: MouseEvent) => 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
|
+
};
|
|
25
|
+
//# sourceMappingURL=ActivityAction.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActivityAction.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Shape/ActivityAction.vue"],"names":[],"mappings":"AA+CA;AAGA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAUxC,UAAU,KAAK;IACb,KAAK,EAAE,KAAK,CAAA;CACb;;;;;;;;;;AAgQD,wBAOG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
|