Commit f0b4c7eb authored by 涂茜's avatar 涂茜

🎨 chore(release): Publish

- @wisdom-components/ec_configurationview@1.1.0 - @wisdom-components/ec_historyinfo@1.2.15
parent a6d9ca17
Pipeline #31679 passed with stages
in 4 minutes 55 seconds
# Change Log
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# 1.1.0 (2021-07-16)
### Features
- add ConfigurationView ([a6d9ca1](https://g.civnet.cn:8443/ReactWeb5/wisdom-components/commits/a6d9ca1758c2d2bdbe33bfa7f96e10662023d36d))
{ {
"name": "@wisdom-components/ec_configurationview", "name": "@wisdom-components/ec_configurationview",
"version": "1.0.0", "version": "1.1.0",
"description": "> TODO: description", "description": "> TODO: description",
"author": "tuqian <webtuqian@163.com>", "author": "tuqian <webtuqian@163.com>",
"homepage": "", "homepage": "",
......
...@@ -164,8 +164,8 @@ export default class DrawCommandHandler extends go.CommandHandler { ...@@ -164,8 +164,8 @@ export default class DrawCommandHandler extends go.CommandHandler {
diagram.commitTransaction('aligning Center Y'); diagram.commitTransaction('aligning Center Y');
} }
/** /**
* Aligns selected parts top-to-bottom in order of the order selected. Distance between parts * Aligns selected parts top-to-bottom in order of the order selected. Distance between parts can
* can be specified. Default distance is 0. * be specified. Default distance is 0.
*/ */
alignColumn(distance) { alignColumn(distance) {
const diagram = this.diagram; const diagram = this.diagram;
...@@ -187,8 +187,8 @@ export default class DrawCommandHandler extends go.CommandHandler { ...@@ -187,8 +187,8 @@ export default class DrawCommandHandler extends go.CommandHandler {
diagram.commitTransaction('align Column'); diagram.commitTransaction('align Column');
} }
/** /**
* Aligns selected parts left-to-right in order of the order selected. Distance between parts * Aligns selected parts left-to-right in order of the order selected. Distance between parts can
* can be specified. Default distance is 0. * be specified. Default distance is 0.
*/ */
alignRow(distance) { alignRow(distance) {
if (distance === undefined) distance = 0; // for aligning edge to edge if (distance === undefined) distance = 0; // for aligning edge to edge
...@@ -224,8 +224,8 @@ export default class DrawCommandHandler extends go.CommandHandler { ...@@ -224,8 +224,8 @@ export default class DrawCommandHandler extends go.CommandHandler {
return true; return true;
} }
/** /**
* Change the angle of the parts connected with the given part. This is in the command handler * Change the angle of the parts connected with the given part. This is in the command handler so
* so it can be easily accessed for the purpose of creating commands that change the rotation of a part. * it can be easily accessed for the purpose of creating commands that change the rotation of a part.
* *
* @param {number} angle The positive (clockwise) or negative (counter-clockwise) change in the * @param {number} angle The positive (clockwise) or negative (counter-clockwise) change in the
* rotation angle of each Part, in degrees. * rotation angle of each Part, in degrees.
...@@ -432,8 +432,8 @@ export default class DrawCommandHandler extends go.CommandHandler { ...@@ -432,8 +432,8 @@ export default class DrawCommandHandler extends go.CommandHandler {
} }
} }
/** /**
* Finds the nearest Part in the specified direction, based on their center points. if it * Finds the nearest Part in the specified direction, based on their center points. if it doesn't
* doesn't find anything, it just returns the current Part. * find anything, it just returns the current Part.
* *
* @param {number} dir The direction, in degrees * @param {number} dir The direction, in degrees
* @returns {Part} The closest Part found in the given direction * @returns {Part} The closest Part found in the given direction
......
...@@ -250,9 +250,9 @@ export default class GuidedDraggingTool extends go.DraggingTool { ...@@ -250,9 +250,9 @@ export default class GuidedDraggingTool extends go.DraggingTool {
} }
} }
/** /**
* When nodes are shifted due to being guided upon a drop, make sure all connected link routes * When nodes are shifted due to being guided upon a drop, make sure all connected link routes are
* are invalidated, since the node is likely to have moved a different amount than all its * invalidated, since the node is likely to have moved a different amount than all its connected
* connected links in the regular operation of the DraggingTool. * links in the regular operation of the DraggingTool.
*/ */
invalidateLinks(node) { invalidateLinks(node) {
if (node instanceof go.Node) node.invalidateConnectedLinks(); if (node instanceof go.Node) node.invalidateConnectedLinks();
...@@ -389,10 +389,10 @@ export default class GuidedDraggingTool extends go.DraggingTool { ...@@ -389,10 +389,10 @@ export default class GuidedDraggingTool extends go.DraggingTool {
} }
} }
/** /**
* This finds parts that are aligned near the selected part along vertical lines. It compares * This finds parts that are aligned near the selected part along vertical lines. It compares the
* the selected part to all parts within a rectangle approximately twice the {@link * selected part to all parts within a rectangle approximately twice the {@link #searchDistance}
* #searchDistance} tall. The guidelines appear when a part is aligned within a margin-of-error * tall. The guidelines appear when a part is aligned within a margin-of-error equal to {@link
* equal to {@link #guidelineSnapDistance}. * #guidelineSnapDistance}.
* *
* @param {Part} part * @param {Part} part
* @param {boolean} guideline If true, show guideline * @param {boolean} guideline If true, show guideline
......
...@@ -2,6 +2,12 @@ ...@@ -2,6 +2,12 @@
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.2.15](https://g.civnet.cn:8443/ReactWeb5/wisdom-components/compare/@wisdom-components/ec_historyinfo@1.2.13...@wisdom-components/ec_historyinfo@1.2.15) (2021-07-16)
### Bug Fixes
- bug ([d43bba2](https://g.civnet.cn:8443/ReactWeb5/wisdom-components/commits/d43bba2dee3401d9d118c08d9eff10359b0ff272))
## [1.2.14](https://g.civnet.cn:8443/ReactWeb5/wisdom-components/compare/@wisdom-components/ec_historyinfo@1.2.13...@wisdom-components/ec_historyinfo@1.2.14) (2021-06-24) ## [1.2.14](https://g.civnet.cn:8443/ReactWeb5/wisdom-components/compare/@wisdom-components/ec_historyinfo@1.2.13...@wisdom-components/ec_historyinfo@1.2.14) (2021-06-24)
### Bug Fixes ### Bug Fixes
......
{ {
"name": "@wisdom-components/ec_historyinfo", "name": "@wisdom-components/ec_historyinfo",
"version": "1.2.14", "version": "1.2.15",
"description": "> TODO: description", "description": "> TODO: description",
"author": "tuqian <webtuqian@163.com>", "author": "tuqian <webtuqian@163.com>",
"homepage": "", "homepage": "",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment