@logicflow/core 2.0.14 → 2.0.16
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/.turbo/turbo-build$colon$dev.log +2 -2
- package/.turbo/turbo-build.log +5 -5
- package/CHANGELOG.md +12 -0
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/es/LogicFlow.js +1 -1
- package/es/view/edge/BaseEdge.js +1 -1
- package/lib/LogicFlow.js +1 -1
- package/lib/view/edge/BaseEdge.js +1 -1
- package/package.json +1 -1
- package/src/LogicFlow.tsx +1 -1
- package/src/view/edge/BaseEdge.tsx +1 -1
- package/stats.html +1 -1
package/es/LogicFlow.js
CHANGED
|
@@ -1211,7 +1211,7 @@ var LogicFlow = /** @class */ (function () {
|
|
|
1211
1211
|
this.graphModel.destroy();
|
|
1212
1212
|
this.tool.destroy();
|
|
1213
1213
|
this.history.destroy();
|
|
1214
|
-
|
|
1214
|
+
clearThemeMode();
|
|
1215
1215
|
for (var extensionName in this.extension) {
|
|
1216
1216
|
var extensionInstance = this.extension[extensionName];
|
|
1217
1217
|
if ('destroy' in extensionInstance) {
|
package/es/view/edge/BaseEdge.js
CHANGED
|
@@ -331,7 +331,7 @@ var BaseEdge = /** @class */ (function (_super) {
|
|
|
331
331
|
*/
|
|
332
332
|
BaseEdge.prototype.getStartArrow = function () {
|
|
333
333
|
var model = this.props.model;
|
|
334
|
-
var _a = model.getArrowStyle(), stroke = _a.stroke, strokeWidth = _a.strokeWidth, offset = _a.offset, verticalLength = _a.verticalLength, _b = _a.startArrowType, startArrowType = _b === void 0 ? '
|
|
334
|
+
var _a = model.getArrowStyle(), stroke = _a.stroke, strokeWidth = _a.strokeWidth, offset = _a.offset, verticalLength = _a.verticalLength, _b = _a.startArrowType, startArrowType = _b === void 0 ? 'none' : _b, strokeLinecap = _a.strokeLinecap, strokeLinejoin = _a.strokeLinejoin;
|
|
335
335
|
return this.getArrowPath(startArrowType, {
|
|
336
336
|
stroke: stroke,
|
|
337
337
|
strokeWidth: strokeWidth,
|
package/lib/LogicFlow.js
CHANGED
|
@@ -1240,7 +1240,7 @@ var LogicFlow = /** @class */ (function () {
|
|
|
1240
1240
|
this.graphModel.destroy();
|
|
1241
1241
|
this.tool.destroy();
|
|
1242
1242
|
this.history.destroy();
|
|
1243
|
-
|
|
1243
|
+
(0, util_1.clearThemeMode)();
|
|
1244
1244
|
for (var extensionName in this.extension) {
|
|
1245
1245
|
var extensionInstance = this.extension[extensionName];
|
|
1246
1246
|
if ('destroy' in extensionInstance) {
|
|
@@ -357,7 +357,7 @@ var BaseEdge = /** @class */ (function (_super) {
|
|
|
357
357
|
*/
|
|
358
358
|
BaseEdge.prototype.getStartArrow = function () {
|
|
359
359
|
var model = this.props.model;
|
|
360
|
-
var _a = model.getArrowStyle(), stroke = _a.stroke, strokeWidth = _a.strokeWidth, offset = _a.offset, verticalLength = _a.verticalLength, _b = _a.startArrowType, startArrowType = _b === void 0 ? '
|
|
360
|
+
var _a = model.getArrowStyle(), stroke = _a.stroke, strokeWidth = _a.strokeWidth, offset = _a.offset, verticalLength = _a.verticalLength, _b = _a.startArrowType, startArrowType = _b === void 0 ? 'none' : _b, strokeLinecap = _a.strokeLinecap, strokeLinejoin = _a.strokeLinejoin;
|
|
361
361
|
return this.getArrowPath(startArrowType, {
|
|
362
362
|
stroke: stroke,
|
|
363
363
|
strokeWidth: strokeWidth,
|
package/package.json
CHANGED
package/src/LogicFlow.tsx
CHANGED
|
@@ -1432,7 +1432,7 @@ export class LogicFlow {
|
|
|
1432
1432
|
this.graphModel.destroy()
|
|
1433
1433
|
this.tool.destroy()
|
|
1434
1434
|
this.history.destroy()
|
|
1435
|
-
|
|
1435
|
+
clearThemeMode()
|
|
1436
1436
|
for (const extensionName in this.extension) {
|
|
1437
1437
|
const extensionInstance = this.extension[extensionName]
|
|
1438
1438
|
if ('destroy' in extensionInstance) {
|