UNPKG

@npmxiaowu/h-ui-plus

Version:

Vue3 中基于Element-plus二次封装基础组件文档

477 lines (476 loc) 16.1 kB
declare const HProcessTrace: ({ props: { resourceId: { type: StringConstructor; default: string; }; resourceYear: { type: StringConstructor; default: string; }; }; setup(__props: any, { expose: __expose }: { expose: any; }): { props: any; dataList: import("vue").Ref<any, any>; defaultProps: import("vue").Ref<{ children: string; label: string; isLeaf: string; }, { children: string; label: string; isLeaf: string; } | { children: string; label: string; isLeaf: string; }>; treeData: import("vue").Ref<never[], never[]>; graph: import("vue").Ref<any, any>; stencil: import("vue").Ref<any, any>; nowRouter: import("vue").Ref<string, string>; procData: import("vue").Ref<{}, {}>; opinionDailogRef: import("vue").Ref<any, any>; processId: import("vue").Ref<string, string>; treeRef: import("vue").Ref<any, any>; getProcessTraceTreeApi: () => Promise<void>; getProcessTraceDetailApi: () => Promise<void>; getProcessDiagramApi: () => Promise<void>; handleNodeClick: (data: any, node: any, component: any) => void; initData: () => void; loadStencil: () => void; initStencil: () => void; initGraph: () => void; openOpinionDialog: () => void; onMounted: (hook: any, target?: import("vue").ComponentInternalInstance | null | undefined) => void; ref: typeof import("vue").ref; nextTick: typeof import("vue").nextTick; readonly Graph: typeof import("@antv/x6").Graph; readonly Shape: typeof import("@antv/x6/lib/shape/standard"); readonly Addon: typeof import("@antv/x6/lib/addon"); readonly Node: typeof import("@antv/x6").Node; readonly Edge: typeof import("@antv/x6").Edge; readonly registAttrs: { grid: boolean; panning: boolean; mousewheel: { enabled: boolean; zoomAtMousePosition: boolean; modifiers: string; minScale: number; maxScale: number; }; routers: { defaultRouter: { name: string; }; selfLoopRouter: { name: string; args: { padding: number; }; }; guaixianRouter: { name: string; }; zhengguanxiRouter: { name: string; args: { offset: string; }; }; xieguanxiRouter: { name: string; args: { offset: number; }; }; zhinengRouter: { name: string; args: { startDirections: string[]; endDirections: string[]; }; }; ditieRouter: { name: string; args: { startDirections: string[]; endDirections: string[]; }; }; rightSdieRouter: { name: string; args: { side: string; padding: number; }; }; leftSideRouter: { name: string; args: { side: string; padding: number; }; }; }; connector: { name: string; args: { radius: number; }; }; anchor: string; allowBlank: boolean; allowLoop: boolean; highlighting: { magnetAdsorbed: { name: string; args: { attrs: { fill: string; stroke: string; }; }; }; }; resizing: boolean; rotating: boolean; selecting: { enabled: boolean; showNodeSelectionBox: boolean; showEdgeSelectionBox: boolean; }; snapline: boolean; keyboard: boolean; clipboard: boolean; history: boolean; curNodeAttrs: { body: { strokeWidth: number; stroke: string; fill: string; }; text: { fontSize: number; fill: string; }; }; addedNodeAttrs: { body: { strokeWidth: number; fill: string; }; text: { fontSize: number; fill: string; }; }; nodeSelectedAttrs: { body: { strokeWidth: number; stroke: string; }; }; norNodeBody: { body: { strokeWidth: number; stroke: string; fill: string; }; }; edge: { attrs: { line: { stroke: string; strokeWidth: number; strokeDasharray: number; targetMarker: { name: string; width: number; height: number; }; }; }; zIndex: number; vertices: never[]; tools: { name: string; addable: boolean; args: { attrs: { fill: string; }; }; }; }; edgeAttrs: { selected: { line: { strokeWidth: number; stroke: string; strokeDasharray: number; targetMarker: { name: string; width: number; height: number; }; }; }; connected: { line: { strokeWidth: number; stroke: string; strokeDasharray: number; targetMarker: { name: string; width: number; height: number; }; }; }; strokeSelected: { line: { strokeWidth: number; stroke: string; strokeDasharray: number; targetMarker: { name: string; width: number; height: number; }; }; }; strokeUnselected: { line: { strokeWidth: number; stroke: string; strokeDasharray: number; targetMarker: { name: string; width: number; height: number; }; }; }; }; tools: { name: string; args: { attrs: { fill: string; width: number; height: number; x: number; y: number; rx: number; ry: number; stroke: string; 'stroke-width': number; }; addable: boolean; removable: boolean; }; }; tools2: { name: string; args: { addable: boolean; removable: boolean; removeRedundancies: boolean; attrs: { fill: string; }; }; }; ports: { groups: { top: { attrs: { circle: { r: number; magnet: boolean; stroke: string; strokeWidth: number; fill: string; style: { visibility: string; }; }; }; position: { name: string; }; }; }; items: { group: string; id: string; args: { x: string; y: string; }; attrs: { circle: { r: number; magnet: boolean; stroke: string; strokeWidth: number; fill: string; style: { visibility: string; }; }; }; }[]; }; stencil: { rect: { inherit: string; width: number; height: number; attrs: { body: { strokeWidth: number; stroke: string; fill: string; }; text: { fill: string; }; }; }; text: { inherit: string; width: number; height: number; attrs: { body: { rx: number; ry: number; fill: string; stroke: string; }; }; }; textdark: { inherit: string; width: number; height: number; attrs: { body: { rx: number; ry: number; fill: string; stroke: string; 'background-color': string; }; }; }; polygon: { inherit: string; width: number; height: number; attrs: { body: { strokeWidth: number; stroke: string; fill: string; }; text: { fontSize: number; fill: string; }; }; }; }; nodeBodyAttrs: { genTextAttr: { body: { stroke: string; fill: string; }; text: { fill: string; }; }; genTextDarkAttr: { body: { stroke: string; fill: string; }; text: { fill: string; }; }; startAttr: { body: { stroke: string; fill: string; }; }; endAttr: { body: { stroke: string; fill: string; }; }; selfEndAttr: { body: { stroke: string; fill: string; }; }; polygonAttr: { body: { stroke: string; fill: string; }; }; genNodeAttr: { body: { stroke: string; fill: string; }; }; }; }; readonly _nodeDef: typeof import("./flow/config/fieldSetting")._nodeDef; readonly _edgeDef: typeof import("./flow/config/fieldSetting")._edgeDef; readonly makeStartNode: typeof import("./flow/config/fieldSetting").makeStartNode; readonly makeEndNode: typeof import("./flow/config/fieldSetting").makeEndNode; readonly makeGenNode: typeof import("./flow/config/fieldSetting").makeGenNode; opinionDailog: import("vue").DefineComponent<{}, { emit: (event: "refreshDataList", ...args: any[]) => void; visible: import("vue").Ref<boolean, boolean>; dataList: import("vue").Ref<{ appendPersonName: string; opinionDateTime: string; content: string; }[], { appendPersonName: string; opinionDateTime: string; content: string; }[] | { appendPersonName: string; opinionDateTime: string; content: string; }[]>; init: (id?: number | undefined) => void; getData: (id: number) => void; handleCancel: () => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "refreshDataList"[], "refreshDataList", import("vue").PublicProps, Readonly<{}> & Readonly<{ onRefreshDataList?: ((...args: any[]) => any) | undefined; }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; readonly getProcessTraceTree: any; readonly getProcessTraceDetail: any; readonly getProcessDiagram: any; }; } & import("vue").Plugin<any[]> & { label?: string | undefined; }) & { label: string; }; export default HProcessTrace;