kfb-view 2.2.4 → 2.2.5

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.
@@ -36,16 +36,7 @@
36
36
  </select>
37
37
  </component>
38
38
  <component name="ChangeListManager">
39
- <list default="true" id="55024232-8108-4dc9-9bd3-0fd2aa2f34f8" name="Default Changelist" comment="">
40
- <change beforePath="$PROJECT_DIR$/example/index.js" beforeDir="false" afterPath="$PROJECT_DIR$/example/index.js" afterDir="false" />
41
- <change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
42
- <change beforePath="$PROJECT_DIR$/src/components/area/index.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/area/index.js" afterDir="false" />
43
- <change beforePath="$PROJECT_DIR$/src/components/board/index.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/board/index.js" afterDir="false" />
44
- <change beforePath="$PROJECT_DIR$/src/components/navigator/index.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/navigator/index.js" afterDir="false" />
45
- <change beforePath="$PROJECT_DIR$/src/tool/Brush.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/tool/Brush.js" afterDir="false" />
46
- <change beforePath="$PROJECT_DIR$/src/tool/Polygon.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/tool/Polygon.js" afterDir="false" />
47
- <change beforePath="$PROJECT_DIR$/src/view.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/view.js" afterDir="false" />
48
- </list>
39
+ <list default="true" id="55024232-8108-4dc9-9bd3-0fd2aa2f34f8" name="Default Changelist" comment="" />
49
40
  <option name="SHOW_DIALOG" value="false" />
50
41
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
51
42
  <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@@ -80,26 +71,26 @@
80
71
  <option name="hideEmptyMiddlePackages" value="true" />
81
72
  <option name="showLibraryContents" value="true" />
82
73
  </component>
83
- <component name="PropertiesComponent">{
84
- &quot;keyToString&quot;: {
85
- &quot;DefaultHtmlFileTemplate&quot;: &quot;HTML File&quot;,
86
- &quot;WebServerToolWindowFactoryState&quot;: &quot;false&quot;,
87
- &quot;dart.analysis.tool.window.visible&quot;: &quot;false&quot;,
88
- &quot;last_opened_file_path&quot;: &quot;/home/fanqifeng/WebstormProjects/kfb-view&quot;,
89
- &quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
90
- &quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
91
- &quot;nodejs_interpreter_path&quot;: &quot;/home/fanqifeng/.nvm/versions/node/v10.15.1/bin/node&quot;,
92
- &quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
93
- &quot;settings.editor.selected.configurable&quot;: &quot;settings.nodejs&quot;,
94
- &quot;ts.external.directory.path&quot;: &quot;/opt/WebStorm/plugins/JavaScriptLanguage/jsLanguageServicesImpl/external&quot;,
95
- &quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
74
+ <component name="PropertiesComponent"><![CDATA[{
75
+ "keyToString": {
76
+ "DefaultHtmlFileTemplate": "HTML File",
77
+ "WebServerToolWindowFactoryState": "false",
78
+ "dart.analysis.tool.window.visible": "false",
79
+ "last_opened_file_path": "/home/fanqifeng/WebstormProjects/kfb-view/example",
80
+ "node.js.detected.package.eslint": "true",
81
+ "node.js.selected.package.eslint": "(autodetect)",
82
+ "nodejs_interpreter_path": "/home/fanqifeng/.nvm/versions/node/v10.15.1/bin/node",
83
+ "nodejs_package_manager_path": "npm",
84
+ "settings.editor.selected.configurable": "settings.nodejs",
85
+ "ts.external.directory.path": "/opt/WebStorm/plugins/JavaScriptLanguage/jsLanguageServicesImpl/external",
86
+ "vue.rearranger.settings.migration": "true"
96
87
  }
97
- }</component>
88
+ }]]></component>
98
89
  <component name="RecentsManager">
99
90
  <key name="CopyFile.RECENT_KEYS">
91
+ <recent name="$PROJECT_DIR$/example" />
100
92
  <recent name="$PROJECT_DIR$/src/image" />
101
93
  <recent name="$PROJECT_DIR$/src/plugin" />
102
- <recent name="$PROJECT_DIR$/example" />
103
94
  <recent name="$PROJECT_DIR$/src/components/cache" />
104
95
  <recent name="$PROJECT_DIR$/src/components/rotation" />
105
96
  </key>
@@ -111,7 +102,7 @@
111
102
  <recent name="$PROJECT_DIR$/src/tool" />
112
103
  </key>
113
104
  </component>
114
- <component name="RunManager" selected="npm.server:hot">
105
+ <component name="RunManager" selected="npm.build:lib">
115
106
  <configuration name="build:lib" type="js.build_tools.npm" temporary="true" nameIsGenerated="true">
116
107
  <package-json value="$PROJECT_DIR$/package.json" />
117
108
  <command value="run" />
@@ -174,8 +165,8 @@
174
165
  </list>
175
166
  <recent_temporary>
176
167
  <list>
177
- <item itemvalue="npm.server:hot" />
178
168
  <item itemvalue="npm.build:lib" />
169
+ <item itemvalue="npm.server:hot" />
179
170
  <item itemvalue="npm.clean:lib" />
180
171
  <item itemvalue="npm.server" />
181
172
  <item itemvalue="npm.build:prod" />
@@ -312,28 +303,15 @@
312
303
  <workItem from="1658666796644" duration="14873000" />
313
304
  <workItem from="1658714844889" duration="5805000" />
314
305
  <workItem from="1658796588637" duration="759000" />
315
- <workItem from="1659404898003" duration="4027000" />
316
- </task>
317
- <task id="LOCAL-00042" summary="2.1.4">
318
- <created>1632364377230</created>
319
- <option name="number" value="00042" />
320
- <option name="presentableId" value="LOCAL-00042" />
321
- <option name="project" value="LOCAL" />
322
- <updated>1632364377230</updated>
323
- </task>
324
- <task id="LOCAL-00043" summary="navigator 获取元素方式修改">
325
- <created>1632379605009</created>
326
- <option name="number" value="00043" />
327
- <option name="presentableId" value="LOCAL-00043" />
328
- <option name="project" value="LOCAL" />
329
- <updated>1632379605009</updated>
330
- </task>
331
- <task id="LOCAL-00044" summary="chrome 49版本兼容">
332
- <created>1634268789961</created>
333
- <option name="number" value="00044" />
334
- <option name="presentableId" value="LOCAL-00044" />
335
- <option name="project" value="LOCAL" />
336
- <updated>1634268789961</updated>
306
+ <workItem from="1659404898003" duration="5697000" />
307
+ <workItem from="1659486429990" duration="597000" />
308
+ <workItem from="1659504598946" duration="598000" />
309
+ <workItem from="1659509611001" duration="599000" />
310
+ <workItem from="1659522580871" duration="599000" />
311
+ <workItem from="1659572503492" duration="1041000" />
312
+ <workItem from="1659582596490" duration="598000" />
313
+ <workItem from="1659683032926" duration="599000" />
314
+ <workItem from="1659952433819" duration="4309000" />
337
315
  </task>
338
316
  <task id="LOCAL-00045" summary="刻度线显示异常">
339
317
  <created>1634437932304</created>
@@ -657,7 +635,28 @@
657
635
  <option name="project" value="LOCAL" />
658
636
  <updated>1658715904291</updated>
659
637
  </task>
660
- <option name="localTasksCounter" value="91" />
638
+ <task id="LOCAL-00091" summary="触发限制优化">
639
+ <created>1659410472728</created>
640
+ <option name="number" value="00091" />
641
+ <option name="presentableId" value="LOCAL-00091" />
642
+ <option name="project" value="LOCAL" />
643
+ <updated>1659410472729</updated>
644
+ </task>
645
+ <task id="LOCAL-00092" summary="增加图片绘制">
646
+ <created>1659956040931</created>
647
+ <option name="number" value="00092" />
648
+ <option name="presentableId" value="LOCAL-00092" />
649
+ <option name="project" value="LOCAL" />
650
+ <updated>1659956040931</updated>
651
+ </task>
652
+ <task id="LOCAL-00093" summary="2.2.5">
653
+ <created>1659956059809</created>
654
+ <option name="number" value="00093" />
655
+ <option name="presentableId" value="LOCAL-00093" />
656
+ <option name="project" value="LOCAL" />
657
+ <updated>1659956059809</updated>
658
+ </task>
659
+ <option name="localTasksCounter" value="94" />
661
660
  <servers />
662
661
  </component>
663
662
  <component name="TypeScriptGeneratedFilesManager">
@@ -699,9 +698,6 @@
699
698
  <component name="VcsManagerConfiguration">
700
699
  <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
701
700
  <option name="LOCAL_CHANGES_DETAILS_PREVIEW_SHOWN" value="false" />
702
- <MESSAGE value="增加曲线开始点显示" />
703
- <MESSAGE value="2.1.19" />
704
- <MESSAGE value="绘制起点提示" />
705
701
  <MESSAGE value="曲线双击结束绘制" />
706
702
  <MESSAGE value="标注时增加右键拖动视野" />
707
703
  <MESSAGE value="曲线绘制中,按删除键,删除上一个标注点" />
@@ -724,7 +720,10 @@
724
720
  <MESSAGE value="标注信息优化显示" />
725
721
  <MESSAGE value="2.2.3" />
726
722
  <MESSAGE value="grid优化" />
727
- <option name="LAST_COMMIT_MESSAGE" value="grid优化" />
723
+ <MESSAGE value="触发限制优化" />
724
+ <MESSAGE value="增加图片绘制" />
725
+ <MESSAGE value="2.2.5" />
726
+ <option name="LAST_COMMIT_MESSAGE" value="2.2.5" />
728
727
  <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="true" />
729
728
  </component>
730
729
  <component name="XSLT-Support.FileAssociations.UIState">
package/example/index.js CHANGED
@@ -191,6 +191,12 @@ instance.get(`/slide/info?file=${fileName}`).then(({data}) => {
191
191
  return [...content];
192
192
  },
193
193
  },
194
+ labelList: [
195
+ {
196
+ tool: 'Image',
197
+ points: [{x: 10000, y: 3000}, {x: 11000, y: 4000}],
198
+ src: `/api/slide/getImage?file=${fileName}&type=thumbnail`,
199
+ }],
194
200
  });
195
201
  /* kv.board.startDraw({
196
202
  tool: KfbView.marks.POLYGON,