kfb-view 2.3.1 → 2.3.2
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/.idea/workspace.xml +23 -21
- package/example/index.js +2 -2
- package/lib/kfb-view.js +1 -1
- package/package.json +1 -1
- package/src/components/area/index.js +10 -7
- package/src/components/common/common.js +3 -5
- package/src/components/shape/index.js +10 -10
package/.idea/workspace.xml
CHANGED
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
<recent name="$PROJECT_DIR$/src/tool" />
|
|
106
106
|
</key>
|
|
107
107
|
</component>
|
|
108
|
-
<component name="RunManager" selected="npm.
|
|
108
|
+
<component name="RunManager" selected="npm.build:lib">
|
|
109
109
|
<configuration name="build:lib" type="js.build_tools.npm" temporary="true" nameIsGenerated="true">
|
|
110
110
|
<package-json value="$PROJECT_DIR$/package.json" />
|
|
111
111
|
<command value="run" />
|
|
@@ -168,8 +168,8 @@
|
|
|
168
168
|
</list>
|
|
169
169
|
<recent_temporary>
|
|
170
170
|
<list>
|
|
171
|
-
<item itemvalue="npm.server" />
|
|
172
171
|
<item itemvalue="npm.build:lib" />
|
|
172
|
+
<item itemvalue="npm.server" />
|
|
173
173
|
<item itemvalue="npm.server:hot" />
|
|
174
174
|
<item itemvalue="npm.clean:lib" />
|
|
175
175
|
<item itemvalue="npm.build:prod" />
|
|
@@ -353,21 +353,9 @@
|
|
|
353
353
|
<workItem from="1664000144854" duration="598000" />
|
|
354
354
|
<workItem from="1664151796082" duration="593000" />
|
|
355
355
|
<workItem from="1664237971278" duration="500000" />
|
|
356
|
-
<workItem from="1664521013893" duration="
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
<created>1650964615093</created>
|
|
360
|
-
<option name="number" value="00056" />
|
|
361
|
-
<option name="presentableId" value="LOCAL-00056" />
|
|
362
|
-
<option name="project" value="LOCAL" />
|
|
363
|
-
<updated>1650964615095</updated>
|
|
364
|
-
</task>
|
|
365
|
-
<task id="LOCAL-00057" summary="2.1.14">
|
|
366
|
-
<created>1650964634147</created>
|
|
367
|
-
<option name="number" value="00057" />
|
|
368
|
-
<option name="presentableId" value="LOCAL-00057" />
|
|
369
|
-
<option name="project" value="LOCAL" />
|
|
370
|
-
<updated>1650964634147</updated>
|
|
356
|
+
<workItem from="1664521013893" duration="3516000" />
|
|
357
|
+
<workItem from="1664527271315" duration="101000" />
|
|
358
|
+
<workItem from="1666923133420" duration="3201000" />
|
|
371
359
|
</task>
|
|
372
360
|
<task id="LOCAL-00058" summary="闭合区域">
|
|
373
361
|
<created>1650965871446</created>
|
|
@@ -698,7 +686,21 @@
|
|
|
698
686
|
<option name="project" value="LOCAL" />
|
|
699
687
|
<updated>1664522337674</updated>
|
|
700
688
|
</task>
|
|
701
|
-
<
|
|
689
|
+
<task id="LOCAL-00105" summary="2.3.1">
|
|
690
|
+
<created>1664524087925</created>
|
|
691
|
+
<option name="number" value="00105" />
|
|
692
|
+
<option name="presentableId" value="LOCAL-00105" />
|
|
693
|
+
<option name="project" value="LOCAL" />
|
|
694
|
+
<updated>1664524087925</updated>
|
|
695
|
+
</task>
|
|
696
|
+
<task id="LOCAL-00106" summary="优化渲染速度">
|
|
697
|
+
<created>1666926328902</created>
|
|
698
|
+
<option name="number" value="00106" />
|
|
699
|
+
<option name="presentableId" value="LOCAL-00106" />
|
|
700
|
+
<option name="project" value="LOCAL" />
|
|
701
|
+
<updated>1666926328903</updated>
|
|
702
|
+
</task>
|
|
703
|
+
<option name="localTasksCounter" value="107" />
|
|
702
704
|
<servers />
|
|
703
705
|
</component>
|
|
704
706
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -740,8 +742,6 @@
|
|
|
740
742
|
<component name="VcsManagerConfiguration">
|
|
741
743
|
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
|
|
742
744
|
<option name="LOCAL_CHANGES_DETAILS_PREVIEW_SHOWN" value="false" />
|
|
743
|
-
<MESSAGE value="2.20.0" />
|
|
744
|
-
<MESSAGE value="2.2.0" />
|
|
745
745
|
<MESSAGE value="加载速度优化" />
|
|
746
746
|
<MESSAGE value="2.2.1" />
|
|
747
747
|
<MESSAGE value="index.js" />
|
|
@@ -765,7 +765,9 @@
|
|
|
765
765
|
<MESSAGE value="矩形移动点默认隐藏,悬浮显示" />
|
|
766
766
|
<MESSAGE value="label.model.js" />
|
|
767
767
|
<MESSAGE value="解决反向绘制时,标注信息显示错误" />
|
|
768
|
-
<
|
|
768
|
+
<MESSAGE value="2.3.1" />
|
|
769
|
+
<MESSAGE value="优化渲染速度" />
|
|
770
|
+
<option name="LAST_COMMIT_MESSAGE" value="优化渲染速度" />
|
|
769
771
|
<option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="true" />
|
|
770
772
|
</component>
|
|
771
773
|
<component name="XSLT-Support.FileAssociations.UIState">
|
package/example/index.js
CHANGED
|
@@ -193,7 +193,7 @@ instance.get(`/slide/info?file=${fileName}`).then(({data}) => {
|
|
|
193
193
|
handler(content, label) {
|
|
194
194
|
return ['标注类别:ASC-HS'];
|
|
195
195
|
},
|
|
196
|
-
|
|
196
|
+
defaultShow: true,
|
|
197
197
|
},
|
|
198
198
|
labelDrawing(canvas, label, region) {
|
|
199
199
|
/* console.log(label, region);
|
|
@@ -357,7 +357,7 @@ instance.get(`/slide/info?file=${fileName}`).then(({data}) => {
|
|
|
357
357
|
}, 6000);
|
|
358
358
|
}, 6000);
|
|
359
359
|
|
|
360
|
-
|
|
360
|
+
initLabels();
|
|
361
361
|
|
|
362
362
|
function initLabels() {
|
|
363
363
|
const labels = [];
|