antd-management-fast-flow 1.0.7 → 1.0.9
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/es/components/Flow/BackwardEdge/index.d.ts +20 -20
- package/es/components/Flow/EndNode/index.d.ts +5 -5
- package/es/components/Flow/ForwardEdge/index.d.ts +9 -9
- package/es/components/Flow/GraphicDescription/index.d.ts +2 -2
- package/es/components/Flow/GraphicHelper/index.d.ts +2 -2
- package/es/components/Flow/IntermediateNode/index.d.ts +11 -11
- package/es/components/Flow/StartNode/index.d.ts +5 -5
- package/es/components/Flow/constant.d.ts +16 -16
- package/es/components/Flow/definition.d.ts +14 -14
- package/es/components/Flow/index.d.ts +13 -13
- package/es/components/Flow/tools.d.ts +2 -2
- package/es/components/FlowProcessHistory/index.d.ts +12 -12
- package/es/components/index.d.ts +2 -2
- package/es/index.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export function BackwardEdge({ id, data, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, borderRadius, centerX, centerY, offset, style, markerEnd, }: {
|
|
2
|
-
id: any;
|
|
3
|
-
data: any;
|
|
4
|
-
sourceX: any;
|
|
5
|
-
sourceY: any;
|
|
6
|
-
targetX: any;
|
|
7
|
-
targetY: any;
|
|
8
|
-
sourcePosition: any;
|
|
9
|
-
targetPosition: any;
|
|
10
|
-
borderRadius: any;
|
|
11
|
-
centerX: any;
|
|
12
|
-
centerY: any;
|
|
13
|
-
offset: any;
|
|
14
|
-
style?: {} | undefined;
|
|
15
|
-
markerEnd: any;
|
|
16
|
-
}): React.JSX.Element;
|
|
17
|
-
export namespace BackwardEdge {
|
|
18
|
-
|
|
19
|
-
}
|
|
20
|
-
import React from
|
|
1
|
+
export function BackwardEdge({ id, data, sourceX, sourceY, targetX, targetY, sourcePosition, targetPosition, borderRadius, centerX, centerY, offset, style, markerEnd, }: {
|
|
2
|
+
id: any;
|
|
3
|
+
data: any;
|
|
4
|
+
sourceX: any;
|
|
5
|
+
sourceY: any;
|
|
6
|
+
targetX: any;
|
|
7
|
+
targetY: any;
|
|
8
|
+
sourcePosition: any;
|
|
9
|
+
targetPosition: any;
|
|
10
|
+
borderRadius: any;
|
|
11
|
+
centerX: any;
|
|
12
|
+
centerY: any;
|
|
13
|
+
offset: any;
|
|
14
|
+
style?: {} | undefined;
|
|
15
|
+
markerEnd: any;
|
|
16
|
+
}): React.JSX.Element;
|
|
17
|
+
export namespace BackwardEdge {
|
|
18
|
+
let defaultProps: {};
|
|
19
|
+
}
|
|
20
|
+
import React from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export function EndNode(properties: any): React.JSX.Element;
|
|
2
|
-
export namespace EndNode {
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
import React from
|
|
1
|
+
export function EndNode(properties: any): React.JSX.Element;
|
|
2
|
+
export namespace EndNode {
|
|
3
|
+
let defaultProps: {};
|
|
4
|
+
}
|
|
5
|
+
import React from 'react';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export class ForwardEdge extends React.PureComponent<any, any, any> {
|
|
2
|
-
constructor(props: any);
|
|
3
|
-
constructor(props: any, context: any);
|
|
4
|
-
render(): React.JSX.Element;
|
|
5
|
-
}
|
|
6
|
-
export namespace ForwardEdge {
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
import React from
|
|
1
|
+
export class ForwardEdge extends React.PureComponent<any, any, any> {
|
|
2
|
+
constructor(props: any);
|
|
3
|
+
constructor(props: any, context: any);
|
|
4
|
+
render(): React.JSX.Element;
|
|
5
|
+
}
|
|
6
|
+
export namespace ForwardEdge {
|
|
7
|
+
let defaultProps: {};
|
|
8
|
+
}
|
|
9
|
+
import React from 'react';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function GraphicDescription(): React.JSX.Element;
|
|
2
|
-
import React from
|
|
1
|
+
export function GraphicDescription(): React.JSX.Element;
|
|
2
|
+
import React from 'react';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function GraphicHelper(): React.JSX.Element;
|
|
2
|
-
import React from
|
|
1
|
+
export function GraphicHelper(): React.JSX.Element;
|
|
2
|
+
import React from 'react';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export class IntermediateNode extends React.PureComponent<any, any, any> {
|
|
2
|
-
constructor(props: any);
|
|
3
|
-
constructor(props: any, context: any);
|
|
4
|
-
render(): React.JSX.Element;
|
|
5
|
-
}
|
|
6
|
-
export namespace IntermediateNode {
|
|
7
|
-
namespace defaultProps {
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
import React from
|
|
1
|
+
export class IntermediateNode extends React.PureComponent<any, any, any> {
|
|
2
|
+
constructor(props: any);
|
|
3
|
+
constructor(props: any, context: any);
|
|
4
|
+
render(): React.JSX.Element;
|
|
5
|
+
}
|
|
6
|
+
export namespace IntermediateNode {
|
|
7
|
+
namespace defaultProps {
|
|
8
|
+
let color: string;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
import React from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export function StartNode(properties: any): React.JSX.Element;
|
|
2
|
-
export namespace StartNode {
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
import React from
|
|
1
|
+
export function StartNode(properties: any): React.JSX.Element;
|
|
2
|
+
export namespace StartNode {
|
|
3
|
+
let defaultProps: {};
|
|
4
|
+
}
|
|
5
|
+
import React from 'react';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export const styleClassPrefix: "antd-management-fast-flow";
|
|
2
|
-
export const targetPointColor: "#4e44f2";
|
|
3
|
-
export const sourcePointColor: "#a98477";
|
|
4
|
-
export const forwardEdgeColor: "#b1b1b7";
|
|
5
|
-
export const forwardEdgeTextColor: "rgba(211, 220, 50, .6)";
|
|
6
|
-
export const backwardEdgeColor: "#FF0072";
|
|
7
|
-
export const backwardEdgeTextColor: "rgba(921, 120, 90, .6)";
|
|
8
|
-
export const startNodeBackgroundColor: "#e895d2";
|
|
9
|
-
export const intermediateNodeBackgroundColor: "#f66902";
|
|
10
|
-
export const endNodeBackgroundColor: "#c2fa32";
|
|
11
|
-
export namespace startNodeHeaderStyle {
|
|
12
|
-
export { startNodeBackgroundColor as backgroundColor };
|
|
13
|
-
}
|
|
14
|
-
export namespace endNodeHeaderStyle {
|
|
15
|
-
export { endNodeBackgroundColor as backgroundColor };
|
|
16
|
-
}
|
|
1
|
+
export const styleClassPrefix: "antd-management-fast-flow";
|
|
2
|
+
export const targetPointColor: "#4e44f2";
|
|
3
|
+
export const sourcePointColor: "#a98477";
|
|
4
|
+
export const forwardEdgeColor: "#b1b1b7";
|
|
5
|
+
export const forwardEdgeTextColor: "rgba(211, 220, 50, .6)";
|
|
6
|
+
export const backwardEdgeColor: "#FF0072";
|
|
7
|
+
export const backwardEdgeTextColor: "rgba(921, 120, 90, .6)";
|
|
8
|
+
export const startNodeBackgroundColor: "#e895d2";
|
|
9
|
+
export const intermediateNodeBackgroundColor: "#f66902";
|
|
10
|
+
export const endNodeBackgroundColor: "#c2fa32";
|
|
11
|
+
export namespace startNodeHeaderStyle {
|
|
12
|
+
export { startNodeBackgroundColor as backgroundColor };
|
|
13
|
+
}
|
|
14
|
+
export namespace endNodeHeaderStyle {
|
|
15
|
+
export { endNodeBackgroundColor as backgroundColor };
|
|
16
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export namespace nodeTypes {
|
|
2
|
-
export { IntermediateNode as intermediate };
|
|
3
|
-
export { StartNode as start };
|
|
4
|
-
export { EndNode as end };
|
|
5
|
-
}
|
|
6
|
-
export namespace edgeTypes {
|
|
7
|
-
export { ForwardEdge as forward };
|
|
8
|
-
export { BackwardEdge as backward };
|
|
9
|
-
}
|
|
10
|
-
import { IntermediateNode } from
|
|
11
|
-
import { StartNode } from
|
|
12
|
-
import { EndNode } from
|
|
13
|
-
import { ForwardEdge } from
|
|
14
|
-
import { BackwardEdge } from
|
|
1
|
+
export namespace nodeTypes {
|
|
2
|
+
export { IntermediateNode as intermediate };
|
|
3
|
+
export { StartNode as start };
|
|
4
|
+
export { EndNode as end };
|
|
5
|
+
}
|
|
6
|
+
export namespace edgeTypes {
|
|
7
|
+
export { ForwardEdge as forward };
|
|
8
|
+
export { BackwardEdge as backward };
|
|
9
|
+
}
|
|
10
|
+
import { IntermediateNode } from './IntermediateNode';
|
|
11
|
+
import { StartNode } from './StartNode';
|
|
12
|
+
import { EndNode } from './EndNode';
|
|
13
|
+
import { ForwardEdge } from './ForwardEdge';
|
|
14
|
+
import { BackwardEdge } from './BackwardEdge';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export * from "./tools";
|
|
2
|
-
export function Flow(properties: any): React.JSX.Element;
|
|
3
|
-
export namespace Flow {
|
|
4
|
-
namespace defaultProps {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
function onEdgeCreate(): void;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
import React from
|
|
1
|
+
export * from "./tools";
|
|
2
|
+
export function Flow(properties: any): React.JSX.Element;
|
|
3
|
+
export namespace Flow {
|
|
4
|
+
namespace defaultProps {
|
|
5
|
+
let canEdit: boolean;
|
|
6
|
+
let nodeNameKey: string;
|
|
7
|
+
let listApproverKey: string;
|
|
8
|
+
let personnelNameKey: string;
|
|
9
|
+
let personnelNameLabel: string;
|
|
10
|
+
function onEdgeCreate(): void;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
import React from 'react';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function adjustNode(o: any): any;
|
|
2
|
-
export function adjustEdge(o: any): any;
|
|
1
|
+
export function adjustNode(o: any): any;
|
|
2
|
+
export function adjustEdge(o: any): any;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export function FlowProcessHistory(properties: any): React.JSX.Element;
|
|
2
|
-
export namespace FlowProcessHistory {
|
|
3
|
-
namespace defaultProps {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
import React from
|
|
1
|
+
export function FlowProcessHistory(properties: any): React.JSX.Element;
|
|
2
|
+
export namespace FlowProcessHistory {
|
|
3
|
+
namespace defaultProps {
|
|
4
|
+
let style: {};
|
|
5
|
+
let canEdit: boolean;
|
|
6
|
+
let list: never[];
|
|
7
|
+
let listItemConvert: null;
|
|
8
|
+
let nextData: null;
|
|
9
|
+
let nextDataConvert: null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
import React from 'react';
|
package/es/components/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./Flow";
|
|
2
|
-
export * from "./FlowProcessHistory";
|
|
1
|
+
export * from "./Flow";
|
|
2
|
+
export * from "./FlowProcessHistory";
|
package/es/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./components";
|
|
1
|
+
export * from "./components";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "antd-management-fast-flow",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"antd-management-fast-flow"
|
|
6
6
|
],
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"antd": "^5.11.0",
|
|
61
|
-
"antd-management-fast-common": "^2.6.
|
|
62
|
-
"antd-management-fast-component": "^2.6.
|
|
61
|
+
"antd-management-fast-common": "^2.6.42",
|
|
62
|
+
"antd-management-fast-component": "^2.6.61",
|
|
63
63
|
"classnames": "^2.3.2",
|
|
64
64
|
"easy-soft-utility": "^2.7.23",
|
|
65
65
|
"react": "^18.2.0",
|