UNPKG

@npmxiaowu/h-ui-plus

Version:

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

623 lines (622 loc) 22.9 kB
declare const HProcessTrace: ({ props: { resourceId: { type: StringConstructor; default: string; }; resourceYear: { type: NumberConstructor; default: string; }; operateControlParams: { type: ObjectConstructor; default: {}; }; }; emits: string[]; setup(__props: any, { expose: __expose, emit: __emit }: { expose: any; emit: any; }): { props: any; emits: 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<{}, {}>; modifyDetailDialogRef: import("vue").Ref<any, any>; opinionDialogRef: import("vue").Ref<any, any>; sendReadDialogRef: import("vue").Ref<any, any>; ajustFlowDialogRef: import("vue").Ref<any, any>; processId: import("vue").Ref<string, string>; treeRef: import("vue").Ref<any, any>; showCancleBtn: import("vue").ComputedRef<any>; showWithdrawBtn: import("vue").ComputedRef<any>; showSendToReadBtn: import("vue").ComputedRef<any>; showAjustFlowBtn: import("vue").ComputedRef<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: (row: any) => void; openModifyDetailDialog: (row: any) => void; openSendReadDialog: () => void; openAjustFlowDialog: () => void; cancleProcess: () => void; withdrawProcess: () => void; closeDialog: () => void; onMounted: (hook: any, target?: import("vue").ComponentInternalInstance | null | undefined) => void; ref: typeof import("vue").ref; nextTick: typeof import("vue").nextTick; computed: typeof import("@vue/reactivity").computed; 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; modifyDetailDialog: { emits: string[]; setup(__props: any, { expose: __expose, emit: __emit }: { expose: any; emit: any; }): { emit: any; activeName: import("vue").Ref<never[], never[]>; visible: import("vue").Ref<boolean, boolean>; dataList: import("vue").Ref<{ id: number; creatorUserName: string; createTime: string; result: { description: string; oldValue: string; newValue: string; }[]; }[], { id: number; creatorUserName: string; createTime: string; result: { description: string; oldValue: string; newValue: string; }[]; }[] | { id: number; creatorUserName: string; createTime: string; result: { description: string; oldValue: string; newValue: string; }[]; }[]>; init: (activityId: any) => void; getData: (activityId: any) => void; handleCancel: () => void; ref: typeof import("vue").ref; readonly getCurrentOpinion: any; }; }; opinionDailog: { emits: string[]; setup(__props: any, { expose: __expose, emit: __emit }: { expose: any; emit: any; }): { emit: any; visible: import("vue").Ref<boolean, boolean>; dataList: import("vue").Ref<never[], never[]>; init: (activityId: any) => void; getData: (activityId: any) => void; handleCancel: () => void; ref: typeof import("vue").ref; readonly getCurrentOpinion: any; }; }; sendReadDialog: { props: { processId: { type: StringConstructor; default: string; }; resourceId: { type: StringConstructor; default: string; }; }; setup(__props: any, { expose: __expose }: { expose: any; }): { props: any; visible: import("vue").Ref<boolean, boolean>; activeName: import("vue").Ref<string, string>; sendDataList: import("vue").Ref<never[], never[]>; sendOptionsDataList: import("vue").Ref<never[], never[]>; loading: import("vue").Ref<boolean, boolean>; init: () => void; getData: () => Promise<void>; handleRefresh: () => void; handleClose: () => void; ref: typeof import("vue").ref; readonly Refresh: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; readonly Close: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; readonly getReadList: any; readonly getReadOpinionList: any; }; }; ajustFlowDialog: { props: { processId: { type: StringConstructor; default: string; }; resourceId: { type: StringConstructor; default: string; }; resourceYear: { type: NumberConstructor; default: string; }; importParams: { type: ObjectConstructor; default: {}; }; }; setup(__props: any, { expose: __expose }: { expose: any; }): { props: any; visible: import("vue").Ref<boolean, boolean>; selectedNodeValue: import("vue").Ref<string, string>; nodeDataList: import("vue").Ref<never[], never[]>; opinionData: import("vue").Ref<string, string>; toUserName: import("vue").Ref<string, string>; dialogShow: import("vue").Ref<boolean, boolean>; Updatev: import("vue").Ref<boolean, boolean>; inputv: import("vue").Ref<string, string>; switchv: import("vue").Ref<boolean, boolean>; userTreeDataList: import("vue").Ref<never[], never[]>; userSelectedDataList: import("vue").Ref<never[], never[]>; selectType: import("vue").Ref<string, string>; defaultExpandAll: import("vue").Ref<boolean, boolean>; init: () => void; resetFormData: () => void; getNodeData: () => Promise<void>; getIconColor: (item: any) => "green" | "red" | "blue"; handleNodeChange: () => void; openUserDialog: () => Promise<void>; confirmCallback: (data: any) => Promise<void>; filterUsers: (data: any) => any[]; handleConfirm: () => void; handleCancel: () => void; readonly List: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; readonly getProcessNodeList: any; readonly getNodeResource: any; readonly moveTo: any; ref: typeof import("vue").ref; readonly ElMessage: import("element-plus/es/utils").SFCInstallWithContext<import("element-plus").Message>; }; }; readonly getProcessTraceTree: any; readonly getProcessTraceDetail: any; readonly getProcessDiagram: any; readonly withdrawProcessApi: any; readonly cancleProcessApi: any; }; } & import("vue").Plugin<any[]> & { label?: string | undefined; }) & { label: string; }; export default HProcessTrace;