kfb-view 3.0.1 → 3.0.3

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.
@@ -39,10 +39,12 @@
39
39
  </select>
40
40
  </component>
41
41
  <component name="ChangeListManager">
42
- <list default="true" id="55024232-8108-4dc9-9bd3-0fd2aa2f34f8" name="Default Changelist" comment="截图区域范围数值保留2位小数">
42
+ <list default="true" id="55024232-8108-4dc9-9bd3-0fd2aa2f34f8" name="Default Changelist" comment="build:3.0.1">
43
43
  <change beforePath="$PROJECT_DIR$/config/webpack.dev.conf.js" beforeDir="false" afterPath="$PROJECT_DIR$/config/webpack.dev.conf.js" afterDir="false" />
44
44
  <change beforePath="$PROJECT_DIR$/example/index.js" beforeDir="false" afterPath="$PROJECT_DIR$/example/index.js" afterDir="false" />
45
45
  <change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
46
+ <change beforePath="$PROJECT_DIR$/src/components/tailoring/index.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/components/tailoring/index.js" afterDir="false" />
47
+ <change beforePath="$PROJECT_DIR$/src/view.js" beforeDir="false" afterPath="$PROJECT_DIR$/src/view.js" afterDir="false" />
46
48
  </list>
47
49
  <option name="SHOW_DIALOG" value="false" />
48
50
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -78,24 +80,25 @@
78
80
  <option name="hideEmptyMiddlePackages" value="true" />
79
81
  <option name="showLibraryContents" value="true" />
80
82
  </component>
81
- <component name="PropertiesComponent">{
82
- &quot;keyToString&quot;: {
83
- &quot;DefaultHtmlFileTemplate&quot;: &quot;HTML File&quot;,
84
- &quot;Project.color&quot;: &quot;4c401d&quot;,
85
- &quot;WebServerToolWindowFactoryState&quot;: &quot;false&quot;,
86
- &quot;dart.analysis.tool.window.visible&quot;: &quot;false&quot;,
87
- &quot;last_opened_file_path&quot;: &quot;/home/fanqifeng/WebstormProjects/kfb-view&quot;,
88
- &quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
89
- &quot;node.js.detected.package.tslint&quot;: &quot;true&quot;,
90
- &quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
91
- &quot;node.js.selected.package.tslint&quot;: &quot;(autodetect)&quot;,
92
- &quot;nodejs_interpreter_path&quot;: &quot;/home/fanqifeng/.nvm/versions/node/v10.15.1/bin/node&quot;,
93
- &quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
94
- &quot;settings.editor.selected.configurable&quot;: &quot;settings.nodejs&quot;,
95
- &quot;ts.external.directory.path&quot;: &quot;/opt/WebStorm/plugins/javascript-impl/jsLanguageServicesImpl/external&quot;,
96
- &quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
83
+ <component name="PropertiesComponent"><![CDATA[{
84
+ "keyToString": {
85
+ "DefaultHtmlFileTemplate": "HTML File",
86
+ "Project.color": "4c401d",
87
+ "WebServerToolWindowFactoryState": "false",
88
+ "dart.analysis.tool.window.visible": "false",
89
+ "git-widget-placeholder": "master",
90
+ "last_opened_file_path": "/home/fanqifeng/WebstormProjects/kfb-view",
91
+ "node.js.detected.package.eslint": "true",
92
+ "node.js.detected.package.tslint": "true",
93
+ "node.js.selected.package.eslint": "(autodetect)",
94
+ "node.js.selected.package.tslint": "(autodetect)",
95
+ "nodejs_interpreter_path": "/home/fanqifeng/.nvm/versions/node/v10.15.1/bin/node",
96
+ "nodejs_package_manager_path": "npm",
97
+ "settings.editor.selected.configurable": "settings.nodejs",
98
+ "ts.external.directory.path": "/opt/WebStorm/plugins/javascript-impl/jsLanguageServicesImpl/external",
99
+ "vue.rearranger.settings.migration": "true"
97
100
  }
98
- }</component>
101
+ }]]></component>
99
102
  <component name="RecentsManager">
100
103
  <key name="CopyFile.RECENT_KEYS">
101
104
  <recent name="$PROJECT_DIR$/src/plugin/openseadragon" />
@@ -112,7 +115,7 @@
112
115
  <recent name="$PROJECT_DIR$/src/tool" />
113
116
  </key>
114
117
  </component>
115
- <component name="RunManager" selected="npm.build:lib">
118
+ <component name="RunManager" selected="npm.server:hot">
116
119
  <configuration name="build:lib" type="js.build_tools.npm" temporary="true" nameIsGenerated="true">
117
120
  <package-json value="$PROJECT_DIR$/package.json" />
118
121
  <command value="run" />
@@ -175,8 +178,8 @@
175
178
  </list>
176
179
  <recent_temporary>
177
180
  <list>
178
- <item itemvalue="npm.build:lib" />
179
181
  <item itemvalue="npm.server:hot" />
182
+ <item itemvalue="npm.build:lib" />
180
183
  <item itemvalue="npm.server" />
181
184
  <item itemvalue="npm.clean:lib" />
182
185
  <item itemvalue="npm.build:prod" />
@@ -406,21 +409,12 @@
406
409
  <workItem from="1676680577748" duration="1197000" />
407
410
  <workItem from="1676690227544" duration="597000" />
408
411
  <workItem from="1676722969064" duration="565000" />
409
- <workItem from="1678926296962" duration="2236000" />
410
- </task>
411
- <task id="LOCAL-00074" summary="2.1.20">
412
- <created>1657539914133</created>
413
- <option name="number" value="00074" />
414
- <option name="presentableId" value="LOCAL-00074" />
415
- <option name="project" value="LOCAL" />
416
- <updated>1657539914133</updated>
417
- </task>
418
- <task id="LOCAL-00075" summary="view.js">
419
- <created>1657540107150</created>
420
- <option name="number" value="00075" />
421
- <option name="presentableId" value="LOCAL-00075" />
422
- <option name="project" value="LOCAL" />
423
- <updated>1657540107150</updated>
412
+ <workItem from="1678926296962" duration="2385000" />
413
+ <workItem from="1679708561519" duration="550000" />
414
+ <workItem from="1679728741473" duration="161000" />
415
+ <workItem from="1680268962874" duration="1136000" />
416
+ <workItem from="1680271989452" duration="591000" />
417
+ <workItem from="1680437372638" duration="2675000" />
424
418
  </task>
425
419
  <task id="LOCAL-00076" summary="优化选中点">
426
420
  <created>1657588323251</created>
@@ -751,7 +745,21 @@
751
745
  <option name="project" value="LOCAL" />
752
746
  <updated>1678929084617</updated>
753
747
  </task>
754
- <option name="localTasksCounter" value="123" />
748
+ <task id="LOCAL-00123" summary="build:3.0.1">
749
+ <created>1678929156803</created>
750
+ <option name="number" value="00123" />
751
+ <option name="presentableId" value="LOCAL-00123" />
752
+ <option name="project" value="LOCAL" />
753
+ <updated>1678929156803</updated>
754
+ </task>
755
+ <task id="LOCAL-00124" summary="build:3.0.2 截图图片格式自定义">
756
+ <created>1680269167145</created>
757
+ <option name="number" value="00124" />
758
+ <option name="presentableId" value="LOCAL-00124" />
759
+ <option name="project" value="LOCAL" />
760
+ <updated>1680269167145</updated>
761
+ </task>
762
+ <option name="localTasksCounter" value="125" />
755
763
  <servers />
756
764
  </component>
757
765
  <component name="TypeScriptGeneratedFilesManager">
@@ -794,8 +802,6 @@
794
802
  <component name="VcsManagerConfiguration">
795
803
  <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
796
804
  <option name="LOCAL_CHANGES_DETAILS_PREVIEW_SHOWN" value="false" />
797
- <MESSAGE value="defaultShow" />
798
- <MESSAGE value="2.2.9" />
799
805
  <MESSAGE value="矩形框的选中点变成线" />
800
806
  <MESSAGE value="2.3.0" />
801
807
  <MESSAGE value="矩形移动点默认隐藏,悬浮显示" />
@@ -819,7 +825,9 @@
819
825
  <MESSAGE value="升级openseadragon插件" />
820
826
  <MESSAGE value="feat:增加停止绘画事件" />
821
827
  <MESSAGE value="feat:截图生成的图片保留标注信息" />
822
- <option name="LAST_COMMIT_MESSAGE" value="feat:截图生成的图片保留标注信息" />
828
+ <MESSAGE value="build:3.0.1" />
829
+ <MESSAGE value="build:3.0.2 截图图片格式自定义" />
830
+ <option name="LAST_COMMIT_MESSAGE" value="build:3.0.2 截图图片格式自定义" />
823
831
  <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="true" />
824
832
  </component>
825
833
  <component name="XSLT-Support.FileAssociations.UIState">
package/example/index.js CHANGED
@@ -78,6 +78,9 @@ instance.get(`/process/info?file=${fileName}`).then(({data}) => {
78
78
  unit: 'um',
79
79
  imageCapRes: data.imageCapRes || 1,
80
80
  },
81
+ tailoring: {
82
+ suffix: 'png',
83
+ },
81
84
  grid: {
82
85
  show: false,
83
86
  ruler: false,
@@ -406,14 +409,14 @@ instance.get(`/process/info?file=${fileName}`).then(({data}) => {
406
409
  }
407
410
  });
408
411
 
409
- /* kv.tailoring.init(
410
- {
411
- left: width / 2 - 100,
412
- top: height / 2 - 100,
413
- height: 200,
414
- width: 200,
415
- color: '#F00',
416
- });*/
412
+ kv.tailoring.init(
413
+ {
414
+ left: 0,
415
+ top: 0,
416
+ height: 900,
417
+ width: 1600,
418
+ color: '#F00',
419
+ });
417
420
  setTimeout(() => {
418
421
  // kv.destroy();
419
422
  setTimeout(() => {
@@ -458,15 +461,15 @@ instance.get(`/process/info?file=${fileName}`).then(({data}) => {
458
461
  document.querySelector('#g').value = 0;
459
462
  document.querySelector('#b').value = 0;
460
463
  kv.viewer.forceRedraw();
461
- /* const { width, height } = kv.$options;
462
- kv.tailoring.init(
463
- {
464
- left: width / 2 - 100,
465
- top: height / 2 - 100,
466
- height: 200,
467
- width: 200,
468
- color: '#ff0000',
469
- });*/
464
+ /* const { width, height } = kv.$options;
465
+ kv.tailoring.init(
466
+ {
467
+ left: width / 2 - 100,
468
+ top: height / 2 - 100,
469
+ height: 200,
470
+ width: 200,
471
+ color: '#ff0000',
472
+ });*/
470
473
  });
471
474
 
472
475
  /*