kfb-view 2.2.9 → 2.3.0

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.
@@ -37,7 +37,6 @@
37
37
  </component>
38
38
  <component name="ChangeListManager">
39
39
  <list default="true" id="55024232-8108-4dc9-9bd3-0fd2aa2f34f8" name="Default Changelist" comment="">
40
- <change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
41
40
  <change beforePath="$PROJECT_DIR$/src/components/area/index.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/area/index.js" afterDir="false" />
42
41
  <change beforePath="$PROJECT_DIR$/src/view.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/view.js" afterDir="false" />
43
42
  </list>
@@ -75,22 +74,22 @@
75
74
  <option name="hideEmptyMiddlePackages" value="true" />
76
75
  <option name="showLibraryContents" value="true" />
77
76
  </component>
78
- <component name="PropertiesComponent"><![CDATA[{
79
- "keyToString": {
80
- "DefaultHtmlFileTemplate": "HTML File",
81
- "Project.color": "4c401d",
82
- "WebServerToolWindowFactoryState": "false",
83
- "dart.analysis.tool.window.visible": "false",
84
- "last_opened_file_path": "/home/fanqifeng/WebstormProjects/kfb-view",
85
- "node.js.detected.package.eslint": "true",
86
- "node.js.selected.package.eslint": "(autodetect)",
87
- "nodejs_interpreter_path": "/home/fanqifeng/.nvm/versions/node/v10.15.1/bin/node",
88
- "nodejs_package_manager_path": "npm",
89
- "settings.editor.selected.configurable": "settings.nodejs",
90
- "ts.external.directory.path": "/opt/WebStorm/plugins/JavaScriptLanguage/jsLanguageServicesImpl/external",
91
- "vue.rearranger.settings.migration": "true"
77
+ <component name="PropertiesComponent">{
78
+ &quot;keyToString&quot;: {
79
+ &quot;DefaultHtmlFileTemplate&quot;: &quot;HTML File&quot;,
80
+ &quot;Project.color&quot;: &quot;4c401d&quot;,
81
+ &quot;WebServerToolWindowFactoryState&quot;: &quot;false&quot;,
82
+ &quot;dart.analysis.tool.window.visible&quot;: &quot;false&quot;,
83
+ &quot;last_opened_file_path&quot;: &quot;/home/fanqifeng/WebstormProjects/kfb-view&quot;,
84
+ &quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
85
+ &quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
86
+ &quot;nodejs_interpreter_path&quot;: &quot;/home/fanqifeng/.nvm/versions/node/v10.15.1/bin/node&quot;,
87
+ &quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
88
+ &quot;settings.editor.selected.configurable&quot;: &quot;settings.nodejs&quot;,
89
+ &quot;ts.external.directory.path&quot;: &quot;/opt/WebStorm/plugins/JavaScriptLanguage/jsLanguageServicesImpl/external&quot;,
90
+ &quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
92
91
  }
93
- }]]></component>
92
+ }</component>
94
93
  <component name="RecentsManager">
95
94
  <key name="CopyFile.RECENT_KEYS">
96
95
  <recent name="$PROJECT_DIR$/example" />
@@ -107,7 +106,7 @@
107
106
  <recent name="$PROJECT_DIR$/src/tool" />
108
107
  </key>
109
108
  </component>
110
- <component name="RunManager" selected="npm.server:hot">
109
+ <component name="RunManager" selected="npm.build:lib">
111
110
  <configuration name="build:lib" type="js.build_tools.npm" temporary="true" nameIsGenerated="true">
112
111
  <package-json value="$PROJECT_DIR$/package.json" />
113
112
  <command value="run" />
@@ -170,8 +169,8 @@
170
169
  </list>
171
170
  <recent_temporary>
172
171
  <list>
173
- <item itemvalue="npm.server:hot" />
174
172
  <item itemvalue="npm.build:lib" />
173
+ <item itemvalue="npm.server:hot" />
175
174
  <item itemvalue="npm.clean:lib" />
176
175
  <item itemvalue="npm.server" />
177
176
  <item itemvalue="npm.build:prod" />
@@ -338,35 +337,8 @@
338
337
  <workItem from="1661147230248" duration="648000" />
339
338
  <workItem from="1661304066625" duration="1482000" />
340
339
  <workItem from="1661307403631" duration="1194000" />
341
- <workItem from="1663305397647" duration="5412000" />
342
- </task>
343
- <task id="LOCAL-00049" summary="2.1.9">
344
- <created>1646293508969</created>
345
- <option name="number" value="00049" />
346
- <option name="presentableId" value="LOCAL-00049" />
347
- <option name="project" value="LOCAL" />
348
- <updated>1646293508969</updated>
349
- </task>
350
- <task id="LOCAL-00050" summary="增加图像处理操作">
351
- <created>1647827904359</created>
352
- <option name="number" value="00050" />
353
- <option name="presentableId" value="LOCAL-00050" />
354
- <option name="project" value="LOCAL" />
355
- <updated>1647827904359</updated>
356
- </task>
357
- <task id="LOCAL-00051" summary="2.1.10">
358
- <created>1648457445389</created>
359
- <option name="number" value="00051" />
360
- <option name="presentableId" value="LOCAL-00051" />
361
- <option name="project" value="LOCAL" />
362
- <updated>1648457445389</updated>
363
- </task>
364
- <task id="LOCAL-00052" summary="2.1.11 截图优化">
365
- <created>1649917728743</created>
366
- <option name="number" value="00052" />
367
- <option name="presentableId" value="LOCAL-00052" />
368
- <option name="project" value="LOCAL" />
369
- <updated>1649917728743</updated>
340
+ <workItem from="1663305397647" duration="8243000" />
341
+ <workItem from="1663546294976" duration="3345000" />
370
342
  </task>
371
343
  <task id="LOCAL-00053" summary="2.1.12 导出OpenSeadragon">
372
344
  <created>1649924762254</created>
@@ -683,7 +655,35 @@
683
655
  <option name="project" value="LOCAL" />
684
656
  <updated>1663310718298</updated>
685
657
  </task>
686
- <option name="localTasksCounter" value="98" />
658
+ <task id="LOCAL-00098" summary="defaultShow">
659
+ <created>1663310824880</created>
660
+ <option name="number" value="00098" />
661
+ <option name="presentableId" value="LOCAL-00098" />
662
+ <option name="project" value="LOCAL" />
663
+ <updated>1663310824880</updated>
664
+ </task>
665
+ <task id="LOCAL-00099" summary="2.2.9">
666
+ <created>1663310831082</created>
667
+ <option name="number" value="00099" />
668
+ <option name="presentableId" value="LOCAL-00099" />
669
+ <option name="project" value="LOCAL" />
670
+ <updated>1663310831082</updated>
671
+ </task>
672
+ <task id="LOCAL-00100" summary="矩形框的选中点变成线">
673
+ <created>1663552353207</created>
674
+ <option name="number" value="00100" />
675
+ <option name="presentableId" value="LOCAL-00100" />
676
+ <option name="project" value="LOCAL" />
677
+ <updated>1663552353207</updated>
678
+ </task>
679
+ <task id="LOCAL-00101" summary="2.3.0">
680
+ <created>1663552368658</created>
681
+ <option name="number" value="00101" />
682
+ <option name="presentableId" value="LOCAL-00101" />
683
+ <option name="project" value="LOCAL" />
684
+ <updated>1663552368658</updated>
685
+ </task>
686
+ <option name="localTasksCounter" value="102" />
687
687
  <servers />
688
688
  </component>
689
689
  <component name="TypeScriptGeneratedFilesManager">
@@ -725,9 +725,6 @@
725
725
  <component name="VcsManagerConfiguration">
726
726
  <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
727
727
  <option name="LOCAL_CHANGES_DETAILS_PREVIEW_SHOWN" value="false" />
728
- <MESSAGE value="enableDbClickClose" />
729
- <MESSAGE value="2.1.20" />
730
- <MESSAGE value="view.js" />
731
728
  <MESSAGE value="优化选中点" />
732
729
  <MESSAGE value="优化标注图形显示,一次最多绘制5000个点,超过的标注延迟加载" />
733
730
  <MESSAGE value="键盘事件更新,delete可删除曲线标注点,双击可添加曲线标注点" />
@@ -749,8 +746,11 @@
749
746
  <MESSAGE value="2.2.8" />
750
747
  <MESSAGE value="优化标注信息显示" />
751
748
  <MESSAGE value="标注事件回调" />
749
+ <MESSAGE value="defaultShow" />
752
750
  <MESSAGE value="2.2.9" />
753
- <option name="LAST_COMMIT_MESSAGE" value="2.2.9" />
751
+ <MESSAGE value="矩形框的选中点变成线" />
752
+ <MESSAGE value="2.3.0" />
753
+ <option name="LAST_COMMIT_MESSAGE" value="2.3.0" />
754
754
  <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="true" />
755
755
  </component>
756
756
  <component name="XSLT-Support.FileAssociations.UIState">
package/example/index.js CHANGED
@@ -247,13 +247,9 @@ instance.get(`/slide/info?file=${fileName}`).then(({data}) => {
247
247
  rect.onclick = () => {
248
248
  kv.board.startDraw({
249
249
  tool: KfbView.marks.RECTANGLE,
250
- lineWidth: 10,
251
250
  isROI: false,
252
251
  once: true,
253
252
  measure: true,
254
- resize: false,
255
- move: false,
256
- fillStyle: '#ff00ff8d',
257
253
  });
258
254
  };
259
255
  line.onclick = () => {