v0.57.0
- fix(core): add operation type for setFragment #WIK-15279 by @huanhuanwa in https://github.com/worktile/plait/pull/853
- fix(draw): set property for some basic shapes #WIK-15298 by @huanhuanwa in https://github.com/worktile/plait/pull/854
- Refactor flow by @pubuzhixing8 in https://github.com/worktile/plait/pull/857
- fix(draw): delete text memory property when remove this property #WIK… by @huanhuanwa in https://github.com/worktile/plait/pull/859
- fix(draw): update points when keyup #WIK-15334 by @huanhuanwa in https://github.com/worktile/plait/pull/860
- feat(core): init table and swimlane by @huanhuanwa in https://github.com/worktile/plait/pull/858
- fix(draw): adjust start text position by @huanhuanwa in https://github.com/worktile/plait/pull/861
- feat(core): add getBoundingRectangleByElements function #WIK-15311 by @MissLixf in https://github.com/worktile/plait/pull/862
- refactor(core): remove get component bridge officially by @pubuzhixing8 in https://github.com/worktile/plait/pull/863
- feat(draw): add display shape for flowchart #WIK-15411 by @MissLixf in https://github.com/worktile/plait/pull/865
- fix(geometry): correct active and cursor state when editing text by @pubuzhixing8 in https://github.com/worktile/plait/pull/866
- fix: adjusting the execution order of plugins #WIK-15413 by @huanhuanwa in https://github.com/worktile/plait/pull/867
Full Changelog: https://github.com/worktile/plait/compare/v0.56.0...v0.57.0
v0.56.0
- fix(draw): fix angle snap error when rotate #WIK-15209 by @MissLixf in https://github.com/worktile/plait/pull/843
- fix(common): prevent draw group rectangleG when pointer type is not selection or resizing #WIK-15210 by @huanhuanwa in https://github.com/worktile/plait/pull/844
- refactor(core): try to remove ELEMENT_TO_COMPONENT and getComponent by @pubuzhixing8 in https://github.com/worktile/plait/pull/845
- refactor: remove circle engine and move function getNearestPointBetwe… by @MissLixf in https://github.com/worktile/plait/pull/847
- feat(draw): add document and multiDocument shape for flowchart #WIK-1… by @MissLixf in https://github.com/worktile/plait/pull/846
- feat(draw): add noteSquare, noteCurlyLeft and noteCurlyRight shape fo… by @MissLixf in https://github.com/worktile/plait/pull/848
- feat(core): support alt key duplicate #WIK-15159 by @huanhuanwa in https://github.com/worktile/plait/pull/851
- fix(draw): hide middlePoints on line when edit text #WIK-15244 by @huanhuanwa in https://github.com/worktile/plait/pull/852
- feat(draw): add database,hardDisk and internalStorage shape for flowc… by @MissLixf in https://github.com/worktile/plait/pull/850
Full Changelog: https://github.com/worktile/plait/compare/v0.55.1...v0.56.0
v0.55.1
- fix(core): only deals with the hierarchy of direct child elements #WIK-15198 by @huanhuanwa in https://github.com/worktile/plait/pull/837
- fix(group): fix group status rendering issue #WIK-15171 by @pubuzhixing8 in https://github.com/worktile/plait/pull/838
- fix(duplicate-element): fix console error after duplicate content by @pubuzhixing8 in https://github.com/worktile/plait/pull/839
- fix(common): return null when hover selected element #WIK-15199 by @huanhuanwa in https://github.com/worktile/plait/pull/840
- fix(list-render): fix g hierarchy when add group and move element #WIK-15207 by @pubuzhixing8 in https://github.com/worktile/plait/pull/841
Full Changelog: https://github.com/worktile/plait/compare/v0.55.0...v0.55.1
Release 0.55.0
- feat(draw): add cloud shape #WIK-15004 by @huanhuanwa in https://github.com/worktile/plait/pull/802
- fix(draw): fix manualInput shape line error #WIK-15063 by @MissLixf in https://github.com/worktile/plait/pull/811
- feat(draw): support render snap line when create and refactor snap handle #OSP-707 by @huanhuanwa in https://github.com/worktile/plait/pull/810
- fix: fix type error by @huanhuanwa in https://github.com/worktile/plait/pull/813
- fix(core): transform.moveNode performance optimize #WIK-15103 by @huanhuanwa in https://github.com/worktile/plait/pull/815
- fix(core): get selectedGroups from board.childen when remove #WIK-15102 by @huanhuanwa in https://github.com/worktile/plait/pull/814
- feat(draw): add offPage shape #WIK-15056 by @MissLixf in https://github.com/worktile/plait/pull/809
- fix(core): fix remove group error when multiple groups are selected #WIK-15105 by @huanhuanwa in https://github.com/worktile/plait/pull/816
- test: add flow test by @huanhuanwa in https://github.com/worktile/plait/pull/819
- feat(common): support zIndex by @huanhuanwa in https://github.com/worktile/plait/pull/817
- feat(draw): add predefinedProcess shape #WIK-15019 by @MissLixf in https://github.com/worktile/plait/pull/808
- feat(common): support moveToTop and moveToBottom #WIK-14766 by @huanhuanwa in https://github.com/worktile/plait/pull/823
- fix(common): fix the issue of inconsistent element order when pasting #WIK-15106 by @huanhuanwa in https://github.com/worktile/plait/pull/822
- feat(common): ensuring consistent hierarchy of all selected elements when add group #WIK-14768 by @huanhuanwa in https://github.com/worktile/plait/pull/824
- fix(core): fix getTargetIndex error #WIK-15117 by @huanhuanwa in https://github.com/worktile/plait/pull/826
- feat(core): render element g by list-render by @pubuzhixing8 in https://github.com/worktile/plait/pull/821
- feat(core): support z index hotkey #WIK-14764 by @huanhuanwa in https://github.com/worktile/plait/pull/825
- fix(core): fix set z index error when selected indices not continuous… by @huanhuanwa in https://github.com/worktile/plait/pull/827
- feat(draw): add or and summingJunction shape for flow and add createC… by @MissLixf in https://github.com/worktile/plait/pull/812
- feat(draw): support rotate interaction #WIK-15087 by @MissLixf in https://github.com/worktile/plait/pull/820
- fix(common): do not handle the hierarchy of the group element when addGroup #WIK-15137 by @huanhuanwa in https://github.com/worktile/plait/pull/829
- fix(core): fix select elements error after move node #WIK-15141 by @huanhuanwa in https://github.com/worktile/plait/pull/832
- feat(core): support duplicate elements #WIK-15134 by @huanhuanwa in https://github.com/worktile/plait/pull/828
- feat(draw): support dotted line #WIK-15077 by @huanhuanwa in https://github.com/worktile/plait/pull/835
- fix(mind): fix the issues caused by list-render by @pubuzhixing8 in https://github.com/worktile/plait/pull/836
- fix(core): fix moving up/down one layer when adjacent groups and elem… by @huanhuanwa in https://github.com/worktile/plait/pull/834
- Create ci.yml by @pubuzhixing8 in https://github.com/worktile/plait/pull/830
- feat(draw): support snap angle when rotate with hotkey #WIK-15113 by @MissLixf in https://github.com/worktile/plait/pull/833
Full Changelog: https://github.com/worktile/plait/compare/v0.54.0...v0.55.0
Release 0.54.0
- feat(common): support group copy and paste #WIK-14655 by @huanhuanwa in https://github.com/worktile/plait/pull/775
- feat(draw): support rotate resize #WIK-14735 by @MissLixf in https://github.com/worktile/plait/pull/773
- feat(group): remove group with only one element #WIK-14744 by @huanhuanwa in https://github.com/worktile/plait/pull/779
- feat(debug): add debug util methods to help developer to generate tem… by @pubuzhixing8 in https://github.com/worktile/plait/pull/780
- fix(core): concat outer elements when find group #WIK-14901 by @huanhuanwa in https://github.com/worktile/plait/pull/782
- feat(mind): support mindmap group and add canAddToGroup #WIK-14841 by @huanhuanwa in https://github.com/worktile/plait/pull/781
- feat(core): export GroupTransforms and support group hotkey #WIK-14841 by @huanhuanwa in https://github.com/worktile/plait/pull/783
- fix(common): insert group at the end #WIK-14900 by @huanhuanwa in https://github.com/worktile/plait/pull/784
- fix(common): fix remove group error #WIK-14921 by @huanhuanwa in https://github.com/worktile/plait/pull/786
- fix(common): adjust group element select#WIK-14920 by @huanhuanwa in https://github.com/worktile/plait/pull/787
- fix(core): should move hitting element when hitting element in select… by @pubuzhixing8 in https://github.com/worktile/plait/pull/788
- fix(draw): edit hitElement text when dblClick #WIK-14917 by @huanhuanwa in https://github.com/worktile/plait/pull/789
- fix(core): set all elemnts to cache when temporaryElements.length > 1 #WIK-14943 by @huanhuanwa in https://github.com/worktile/plait/pull/790
- fix(core): move addSelectionWithTemporaryElements to pointerMove #WIK-14957 by @huanhuanwa in https://github.com/worktile/plait/pull/791
- feat(draw): support draw line for element with angle #WIK-14850 by @MissLixf in https://github.com/worktile/plait/pull/785
- test(group): add group test #WIK-14774 by @huanhuanwa in https://github.com/worktile/plait/pull/792
- feat(common): support group align and distribute #WIK-14961 by @huanhuanwa in https://github.com/worktile/plait/pull/794
- fix(common): fix image with angle drag error #WIK-14971 by @MissLixf in https://github.com/worktile/plait/pull/793
- feat(core): add setSelectedElementsWithGroup function and test #WIK-14954 by @huanhuanwa in https://github.com/worktile/plait/pull/795
- test(common): add test for withGroup plugin #WIK-14774 by @huanhuanwa in https://github.com/worktile/plait/pull/796
- refactor(core): extract util methods deleteFragment by @pubuzhixing8 in https://github.com/worktile/plait/pull/797
- fix(common): align elbow line points without custom points #WIK-14875 by @huanhuanwa in https://github.com/worktile/plait/pull/799
- feat(draw): support batching resize with different angle #WIK-14878 by @pubuzhixing8 in https://github.com/worktile/plait/pull/801
- fix(draw): check element angle when rotate #WIK-14940 by @MissLixf in https://github.com/worktile/plait/pull/798
- fix(setting-panel): add set angle input in panel #WIK-14959 by @MissLixf in https://github.com/worktile/plait/pull/804
- feat(core): add overridable method drawActiveRectangle to implement c… by @pubuzhixing8 in https://github.com/worktile/plait/pull/805
- fix(draw): align for rotate element #WIK-14761 by @MissLixf in https://github.com/worktile/plait/pull/803
- fix(common): set angle for group hover rectangle and selected rectangle #WIK-15027 by @MissLixf in https://github.com/worktile/plait/pull/807
Full Changelog: https://github.com/worktile/plait/compare/v0.51.4...v0.54.0
Release 0.51.4
- fix(flow): use pointer event #OSP-696 by @huanhuanwa in https://github.com/worktile/plait/pull/761
- fix(flow): fix can't move node after refresh page #OSP-697 by @huanhuanwa in https://github.com/worktile/plait/pull/762
- build: release 0.51.1 by @huanhuanwa in https://github.com/worktile/plait/pull/763
- #wik 14664 by @MissLixf in https://github.com/worktile/plait/pull/766
- feat(core): support select group #WIK-14428 by @huanhuanwa in https://github.com/worktile/plait/pull/764
- fix(draw): hit select correct when element has angle by @MissLixf in https://github.com/worktile/plait/pull/767
- fix(core): fix selection contain element but not selected #WIK-14712 by @MissLixf in https://github.com/worktile/plait/pull/769
- feat(core): support shift select in group #WIK-14670 by @huanhuanwa in https://github.com/worktile/plait/pull/770
- feat(core): support addGroup and removeGroup function #WIK-14654 by @huanhuanwa in https://github.com/worktile/plait/pull/771
- build: release 0.51.3 by @huanhuanwa in https://github.com/worktile/plait/pull/774
- fix(draw): fix can not hit image #WIK-14786 by @MissLixf in https://github.com/worktile/plait/pull/776
- fix(draw): select correct elements with angle #WIK-14779 by @MissLixf in https://github.com/worktile/plait/pull/777
Full Changelog: https://github.com/worktile/plait/compare/v0.51.0...v0.51.4
v0.51.0
What's Changed
- feat(core): compat firefox contextmenu copy and fix mind image copy #WIK-14309 by @huanhuanwa in https://github.com/worktile/plait/pull/702
- feat(core): support resize entire draw elements by @pubuzhixing8 in https://github.com/worktile/plait/pull/709
- Adjust elbow line by @huanhuanwa in https://github.com/worktile/plait/pull/714
- fix(draw): improve getMidElbowPoints to get a more precise key points by @pubuzhixing8 in https://github.com/worktile/plait/pull/715
- feat(draw): handle data mismatch when resize line #WIK-14427 by @huanhuanwa in https://github.com/worktile/plait/pull/716
- fix(draw): return getPoints result when source and target intersect by @pubuzhixing8 in https://github.com/worktile/plait/pull/717
- fix(draw): fix add point index error when resize #WIK-14435 by @huanhuanwa in https://github.com/worktile/plait/pull/718
- fix(draw): rename removeIntermediatePointsInSegment to simplifyPoints and fix it's issue by @pubuzhixing8 in https://github.com/worktile/plait/pull/719
- feat(draw): add line resize snapping effect #WIK-14439 by @huanhuanwa in https://github.com/worktile/plait/pull/720
- feat(draw): merge same points after line resize #WIK-14439 by @huanhuanwa in https://github.com/worktile/plait/pull/723
- feat(draw): adjust elbow line data points by key points by @pubuzhixing8 in https://github.com/worktile/plait/pull/722
- refactor(draw): resize line utils folder by @pubuzhixing8 in https://github.com/worktile/plait/pull/724
- feat(draw): rerender middle point style after resize line #WIK-14434 by @huanhuanwa in https://github.com/worktile/plait/pull/725
- refactor: rename next key points by @pubuzhixing8 in https://github.com/worktile/plait/pull/726
- feat(draw): prevent render middle point when source and target intersect #WIK-14445 by @huanhuanwa in https://github.com/worktile/plait/pull/727
- fix(draw): adjust getIndexAndDeleteCountByKeyPoint return value #WIK-14454 by @huanhuanwa in https://github.com/worktile/plait/pull/728
- feat(draw): add getMirrorDataPoints method to get correctly turning p… by @pubuzhixing8 in https://github.com/worktile/plait/pull/730
- feat(draw): remove the call to getMidKeyPoints in method getMirrorDat… by @pubuzhixing8 in https://github.com/worktile/plait/pull/731
- refactor(draw): find update point index by mirrorDataPoints #WIK-14446 by @huanhuanwa in https://github.com/worktile/plait/pull/732
- fix(draw): exec getIndexAndDeleteCountByKeyPoint when resizeRef.handle is not source or target #WIK-14465 by @huanhuanwa in https://github.com/worktile/plait/pull/733
- feat(draw): revert the pr of 'remove the call of getMidKeyPoints' and… by @pubuzhixing8 in https://github.com/worktile/plait/pull/734
- refactor(draw): rename getResizeReferencePoints to getResizedPrevious… by @pubuzhixing8 in https://github.com/worktile/plait/pull/735
- fix(draw): render middle points by render points #WIK-14475 by @huanhuanwa in https://github.com/worktile/plait/pull/736
- refactor(core): move getRectangleByPoints to RectangleClient instance by @pubuzhixing8 in https://github.com/worktile/plait/pull/737
- fix(draw): fix return handleIndex error #WIK-14488 by @huanhuanwa in https://github.com/worktile/plait/pull/740
- feat(draw): throttleRAF support set key and board to avoid the effect… by @pubuzhixing8 in https://github.com/worktile/plait/pull/742
- feat(core): support equal line when resize #WIK-14483 by @huanhuanwa in https://github.com/worktile/plait/pull/741
- fix(draw): fix get vector error when resize to other side #WIK-14525 by @huanhuanwa in https://github.com/worktile/plait/pull/743
- fix(core): optimize the code for drawing equal lines #WIK-14499 by @huanhuanwa in https://github.com/worktile/plait/pull/744
- refactor(draw): refactor ResizeAlignReaction#WIK-14500 by @huanhuanwa in https://github.com/worktile/plait/pull/745
- refactor: rename deltaWidth to deltaX, deltaHeight to deltaY by @pubuzhixing8 in https://github.com/worktile/plait/pull/746
- feat(draw): draw equal line when aspect ratio resize #WIK-14486 by @huanhuanwa in https://github.com/worktile/plait/pull/747
- refactor: extract direction factor type by @pubuzhixing8 in https://github.com/worktile/plait/pull/748
- fix(draw): modify getMirrorDataPoints logic by @pubuzhixing8 in https://github.com/worktile/plait/pull/749
- feat(draw): render align lines #WIK-14486 by @huanhuanwa in https://github.com/worktile/plait/pull/750
- fix(draw): get correct deltaX by deltaHeight by @pubuzhixing8 in https://github.com/worktile/plait/pull/751
- fix(draw): remove all midDataPoints when renderPoints is a straight line and dataPoints are not on the line #WIK-14550 by @huanhuanwa in https://github.com/worktile/plait/pull/753
- fix(draw): draw align line for different scenarios #WIK-14487 by @huanhuanwa in https://github.com/worktile/plait/pull/752
- feat(draw): preserve custom points when switching line shapes #WIK-14256 by @huanhuanwa in https://github.com/worktile/plait/pull/755
- test(draw): add getIndexAndDeleteCountByKeyPoint test #WIK-14549 by @huanhuanwa in https://github.com/worktile/plait/pull/754
- chore: add warning data and unit test case by @pubuzhixing8 in https://github.com/worktile/plait/pull/757
- chore: english note by @pubuzhixing8 in https://github.com/worktile/plait/pull/706
- fix(draw): correct getMirrorDataPoints by @pubuzhixing8 in https://github.com/worktile/plait/pull/759
- feat(draw): rotate demo #WIK-14442 by @MissLixf in https://github.com/worktile/plait/pull/758
- fix(draw): add next point to simplifiedNextKeyPoints by @huanhuanwa in https://github.com/worktile/plait/pull/760
Full Changelog: https://github.com/worktile/plait/compare/v0.50.0...v0.51.0
Release v0.50.0
What's Changed
- feat(core): support shape align by @WBbug in https://github.com/worktile/plait/pull/695
- feat(common): support distribute by @WBbug in https://github.com/worktile/plait/pull/696
- fix(common): setTextAlign deletes useless parameters by @Maple13 in https://github.com/worktile/plait/pull/697
- refactor(core): remove x-plait-fragment key and use text/html as stan… by @pubuzhixing8 in https://github.com/worktile/plait/pull/699
- feat(core): add navigator.clipboard handle #WIK-4306 by @huanhuanwa in https://github.com/worktile/plait/pull/700
- refactor(core): uniformly handle clipboard data and add parameter for setFragment and insertFragment #WIK-14309 by @huanhuanwa in https://github.com/worktile/plait/pull/701
Full Changelog: https://github.com/worktile/plait/compare/v0.47.0...v0.50.0
Release 0.47.0
What's Changed
- feat(core): support arrow move element by @WBbug in https://github.com/worktile/plait/pull/692
- feat(draw): correct line drag condition by @WBbug in https://github.com/worktile/plait/pull/693
Full Changelog: https://github.com/worktile/plait/compare/v0.45.0...0.47
Release 0.45.0
What's Changed
- feat(draw): optimize geometry create by @WBbug in https://github.com/worktile/plait/pull/670
- fix(draw): fix create wrong by @WBbug in https://github.com/worktile/plait/pull/671
- feat(common): support match by @WBbug in https://github.com/worktile/plait/pull/673
- feat(draw): support all points align by @WBbug in https://github.com/worktile/plait/pull/672
- fix(draw): fix draw wrong shape by @WBbug in https://github.com/worktile/plait/pull/675
- feat(draw): support move text by @WBbug in https://github.com/worktile/plait/pull/674
- fix(draw): export plugin key by @WBbug in https://github.com/worktile/plait/pull/676
- feat(draw): change text moving style by @WBbug in https://github.com/worktile/plait/pull/677
- fix(core): fix image node conversion error by @Maple13 in https://github.com/worktile/plait/pull/679
- feat(draw): change bound line when geometry shape change by @WBbug in https://github.com/worktile/plait/pull/678
- fix(draw): use handle ref points by @WBbug in https://github.com/worktile/plait/pull/680
- feat(core): add toScreenPoint method by @pubuzhixing8 in https://github.com/worktile/plait/pull/681
- feat(draw): add collect refs by @WBbug in https://github.com/worktile/plait/pull/682
- fix(draw): fix align by @WBbug in https://github.com/worktile/plait/pull/683
- feat(mind): add insertChildNode and insertSiblingNode #WIK-14171 by @huanhuanwa in https://github.com/worktile/plait/pull/686
- feat(draw): create fake element by @WBbug in https://github.com/worktile/plait/pull/685
- feat(draw): add setLineAutoComplete #WIK-14146 by @huanhuanwa in https://github.com/worktile/plait/pull/684
- fix(draw): fix can't paste text by @WBbug in https://github.com/worktile/plait/pull/687
- fix(draw): remove same point by @WBbug in https://github.com/worktile/plait/pull/688
- fix(draw): adjust points when has boundId by @WBbug in https://github.com/worktile/plait/pull/689
- fix(draw): add getRelatedFragment by @WBbug in https://github.com/worktile/plait/pull/690
- refactor(core): move set_selection to pointerUp by @pubuzhixing8 in https://github.com/worktile/plait/pull/691
Full Changelog: https://github.com/worktile/plait/compare/v0.38.0...v0.45.0