antd-management-fast-flow 1.0.35 → 1.0.38

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.
@@ -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
- let defaultProps: {};
19
- }
20
- import React from 'react';
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
+ const defaultProps: {};
19
+ }
20
+ import React from "react";
@@ -1,9 +1,9 @@
1
- export class CarbonCopyEdge 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 CarbonCopyEdge {
7
- let defaultProps: {};
8
- }
9
- import React from 'react';
1
+ export class CarbonCopyEdge 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 CarbonCopyEdge {
7
+ const defaultProps: {};
8
+ }
9
+ import React from "react";
@@ -1,13 +1,13 @@
1
- export class CarbonCopyNode 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 CarbonCopyNode {
7
- namespace defaultProps {
8
- let color: string;
9
- let data: {};
10
- let size: string;
11
- }
12
- }
13
- import React from 'react';
1
+ export class CarbonCopyNode 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 CarbonCopyNode {
7
+ namespace defaultProps {
8
+ const color: string;
9
+ const data: {};
10
+ const size: string;
11
+ }
12
+ }
13
+ import React from "react";
@@ -1,5 +1,5 @@
1
- export function EndNode(properties: any): React.JSX.Element;
2
- export namespace EndNode {
3
- let defaultProps: {};
4
- }
5
- import React from 'react';
1
+ export function EndNode(properties: any): React.JSX.Element;
2
+ export namespace EndNode {
3
+ const 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
- let defaultProps: {};
8
- }
9
- import React from 'react';
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
+ const defaultProps: {};
8
+ }
9
+ import React from "react";
@@ -1,2 +1,2 @@
1
- export function GraphicDescription(): React.JSX.Element;
2
- import React from 'react';
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 'react';
1
+ export function GraphicHelper(): React.JSX.Element;
2
+ import React from "react";
@@ -1,13 +1,13 @@
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
- let data: {};
10
- let size: string;
11
- }
12
- }
13
- import React from 'react';
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
+ const color: string;
9
+ const data: {};
10
+ const size: string;
11
+ }
12
+ }
13
+ import React from "react";
@@ -1,5 +1,5 @@
1
- export function StartNode(properties: any): React.JSX.Element;
2
- export namespace StartNode {
3
- let defaultProps: {};
4
- }
5
- import React from 'react';
1
+ export function StartNode(properties: any): React.JSX.Element;
2
+ export namespace StartNode {
3
+ const defaultProps: {};
4
+ }
5
+ import React from "react";
@@ -1,25 +1,25 @@
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 forwardEdgeLabelBackground: "#ffcc00";
7
- export const backwardEdgeColor: "#ea7f5b";
8
- export const backwardEdgeTextColor: "rgba(52, 231, 228, .6)";
9
- export const backwardEdgeLabelBackground: "#bed2bb";
10
- export const carbonCopyEdgeColor: "#FF0072";
11
- export const carbonCopyEdgeTextColor: "rgba(921, 120, 90, .6)";
12
- export const carbonCopyEdgeLabelBackground: "#a4baea";
13
- export const startNodeBackgroundColor: "#e895d2";
14
- export const intermediateNodeBackgroundColor: "#f66902";
15
- export const endNodeBackgroundColor: "#c2fa32";
16
- export const carbonCopyNodeBackgroundColor: "#05ea7f";
17
- export namespace startNodeHeaderStyle {
18
- export { startNodeBackgroundColor as backgroundColor };
19
- }
20
- export namespace endNodeHeaderStyle {
21
- export { endNodeBackgroundColor as backgroundColor };
22
- }
23
- export namespace carbonCopyHeaderStyle {
24
- export { carbonCopyNodeBackgroundColor as backgroundColor };
25
- }
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 forwardEdgeLabelBackground: "#ffcc00";
7
+ export const backwardEdgeColor: "#ea7f5b";
8
+ export const backwardEdgeTextColor: "rgba(52, 231, 228, .6)";
9
+ export const backwardEdgeLabelBackground: "#bed2bb";
10
+ export const carbonCopyEdgeColor: "#FF0072";
11
+ export const carbonCopyEdgeTextColor: "rgba(921, 120, 90, .6)";
12
+ export const carbonCopyEdgeLabelBackground: "#a4baea";
13
+ export const startNodeBackgroundColor: "#e895d2";
14
+ export const intermediateNodeBackgroundColor: "#f66902";
15
+ export const endNodeBackgroundColor: "#c2fa32";
16
+ export const carbonCopyNodeBackgroundColor: "#05ea7f";
17
+ export namespace startNodeHeaderStyle {
18
+ export { startNodeBackgroundColor as backgroundColor };
19
+ }
20
+ export namespace endNodeHeaderStyle {
21
+ export { endNodeBackgroundColor as backgroundColor };
22
+ }
23
+ export namespace carbonCopyHeaderStyle {
24
+ export { carbonCopyNodeBackgroundColor as backgroundColor };
25
+ }
@@ -1,18 +1,18 @@
1
- export namespace nodeTypes {
2
- export { IntermediateNode as intermediate };
3
- export { CarbonCopyNode as carbonCopy };
4
- export { StartNode as start };
5
- export { EndNode as end };
6
- }
7
- export namespace edgeTypes {
8
- export { ForwardEdge as forward };
9
- export { BackwardEdge as backward };
10
- export { CarbonCopyEdge as carbonCopy };
11
- }
12
- import { IntermediateNode } from './IntermediateNode';
13
- import { CarbonCopyNode } from './CarbonCopyNode';
14
- import { StartNode } from './StartNode';
15
- import { EndNode } from './EndNode';
16
- import { ForwardEdge } from './ForwardEdge';
17
- import { BackwardEdge } from './BackwardEdge';
18
- import { CarbonCopyEdge } from './CarbonCopyEdge';
1
+ export namespace nodeTypes {
2
+ export { IntermediateNode as intermediate };
3
+ export { CarbonCopyNode as carbonCopy };
4
+ export { StartNode as start };
5
+ export { EndNode as end };
6
+ }
7
+ export namespace edgeTypes {
8
+ export { ForwardEdge as forward };
9
+ export { BackwardEdge as backward };
10
+ export { CarbonCopyEdge as carbonCopy };
11
+ }
12
+ import { IntermediateNode } from "./IntermediateNode";
13
+ import { CarbonCopyNode } from "./CarbonCopyNode";
14
+ import { StartNode } from "./StartNode";
15
+ import { EndNode } from "./EndNode";
16
+ import { ForwardEdge } from "./ForwardEdge";
17
+ import { BackwardEdge } from "./BackwardEdge";
18
+ import { CarbonCopyEdge } from "./CarbonCopyEdge";
@@ -1,16 +1,16 @@
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 multibranch: boolean;
7
- let nodeNameKey: string;
8
- let listInLineKey: string;
9
- let listOutLineKey: string;
10
- let listApproverKey: string;
11
- let personnelNameKey: string;
12
- let personnelNameLabel: string;
13
- function onEdgeCreate(): void;
14
- }
15
- }
16
- import React from 'react';
1
+ export * from "./tools";
2
+ export function Flow(properties: any): React.JSX.Element;
3
+ export namespace Flow {
4
+ namespace defaultProps {
5
+ const canEdit: boolean;
6
+ const multibranch: boolean;
7
+ const nodeNameKey: string;
8
+ const listInLineKey: string;
9
+ const listOutLineKey: string;
10
+ const listApproverKey: string;
11
+ const personnelNameKey: string;
12
+ const personnelNameLabel: string;
13
+ function onEdgeCreate(): void;
14
+ }
15
+ }
16
+ 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,15 +1,15 @@
1
- export function FlowProcessHistory(properties: any): React.JSX.Element;
2
- export namespace FlowProcessHistory {
3
- namespace defaultProps {
4
- let style: {};
5
- let title: string;
6
- let showTitle: boolean;
7
- let showLeftDivider: boolean;
8
- let canEdit: boolean;
9
- let list: never[];
10
- let listItemConvert: null;
11
- let nextData: null;
12
- let nextDataConvert: null;
13
- }
14
- }
15
- import React from 'react';
1
+ export function FlowProcessHistory(properties: any): React.JSX.Element;
2
+ export namespace FlowProcessHistory {
3
+ namespace defaultProps {
4
+ const style: {};
5
+ const title: string;
6
+ const showTitle: boolean;
7
+ const showLeftDivider: boolean;
8
+ const canEdit: boolean;
9
+ const list: never[];
10
+ const listItemConvert: null;
11
+ const nextData: null;
12
+ const nextDataConvert: null;
13
+ }
14
+ }
15
+ import React from "react";
@@ -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.35",
3
+ "version": "1.0.38",
4
4
  "keywords": [
5
5
  "antd-management-fast-flow"
6
6
  ],
@@ -57,37 +57,37 @@
57
57
  "z:tsc:build": "echo show tsc version and create declaration file && tsc -v && tsc -p ./tsconfig.types.json && echo declaration file generate complete"
58
58
  },
59
59
  "dependencies": {
60
- "antd": "^5.12.5",
61
- "antd-management-fast-common": "^2.6.71",
62
- "antd-management-fast-component": "^2.6.114",
63
- "classnames": "^2.3.2",
64
- "easy-soft-utility": "^2.8.2",
60
+ "antd": "^5.12.7",
61
+ "antd-management-fast-common": "^2.6.75",
62
+ "antd-management-fast-component": "^2.6.119",
63
+ "classnames": "^2.5.1",
64
+ "easy-soft-utility": "^2.8.3",
65
65
  "react": "^18.2.0",
66
66
  "react-dom": "^18.2.0",
67
67
  "reactflow": "^11.10.1"
68
68
  },
69
69
  "devDependencies": {
70
- "@babel/core": "^7.23.6",
70
+ "@babel/core": "^7.23.7",
71
71
  "@babel/eslint-parser": "^7.23.3",
72
72
  "@babel/plugin-external-helpers": "^7.23.3",
73
- "@babel/plugin-proposal-decorators": "^7.23.6",
73
+ "@babel/plugin-proposal-decorators": "^7.23.7",
74
74
  "@babel/plugin-transform-class-properties": "^7.23.3",
75
- "@babel/plugin-transform-runtime": "^7.23.6",
76
- "@babel/preset-env": "^7.23.6",
75
+ "@babel/plugin-transform-runtime": "^7.23.7",
76
+ "@babel/preset-env": "^7.23.7",
77
77
  "@babel/preset-react": "^7.23.3",
78
- "@babel/runtime": "^7.23.6",
78
+ "@babel/runtime": "^7.23.7",
79
79
  "@changesets/cli": "^2.27.1",
80
- "@commitlint/cli": "^18.4.3",
81
- "@commitlint/config-conventional": "^18.4.3",
82
- "@commitlint/config-pnpm-scopes": "^18.4.3",
83
- "@commitlint/cz-commitlint": "^18.4.3",
80
+ "@commitlint/cli": "^18.4.4",
81
+ "@commitlint/config-conventional": "^18.4.4",
82
+ "@commitlint/config-pnpm-scopes": "^18.4.4",
83
+ "@commitlint/cz-commitlint": "^18.4.4",
84
84
  "@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
85
85
  "@types/jest": "^29.5.11",
86
- "@types/node": "^20.10.5",
87
- "@types/react": "^18.2.45",
86
+ "@types/node": "^20.10.6",
87
+ "@types/react": "^18.2.46",
88
88
  "@types/react-dom": "^18.2.18",
89
- "@typescript-eslint/parser": "^6.15.0",
90
- "antd": "^5.12.5",
89
+ "@typescript-eslint/parser": "^6.17.0",
90
+ "antd": "^5.12.7",
91
91
  "babel-jest": "^29.7.0",
92
92
  "commitizen": "^4.3.0",
93
93
  "conventional-changelog-conventionalcommits": "^7.0.2",
@@ -98,11 +98,11 @@
98
98
  "eslint-config-airbnb": "^19.0.4",
99
99
  "eslint-config-airbnb-typescript": "^17.1.0",
100
100
  "eslint-config-prettier": "^9.1.0",
101
- "eslint-formatter-pretty": "^6.0.0",
101
+ "eslint-formatter-pretty": "^6.0.1",
102
102
  "eslint-import-resolver-typescript": "^3.6.1",
103
103
  "eslint-plugin-eslint-comments": "^3.2.0",
104
104
  "eslint-plugin-import": "^2.29.1",
105
- "eslint-plugin-jest": "^27.6.0",
105
+ "eslint-plugin-jest": "^27.6.1",
106
106
  "eslint-plugin-jsx-a11y": "^6.8.0",
107
107
  "eslint-plugin-prettier": "^5.1.2",
108
108
  "eslint-plugin-promise": "^6.1.1",
@@ -115,10 +115,10 @@
115
115
  "lint-staged": "^15.2.0",
116
116
  "prettier": "^3.1.1",
117
117
  "prettier-plugin-organize-imports": "^3.2.4",
118
- "prettier-plugin-packagejson": "^2.4.7",
118
+ "prettier-plugin-packagejson": "^2.4.8",
119
119
  "rimraf": "^5.0.5",
120
- "stylelint": "^16.0.2",
120
+ "stylelint": "^16.1.0",
121
121
  "stylelint-config-prettier": "^9.0.5",
122
- "stylelint-config-standard": "^35.0.0"
122
+ "stylelint-config-standard": "^36.0.0"
123
123
  }
124
124
  }