kfb-view 2.2.3 → 2.2.4

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,14 @@
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$/example/index.js" beforeDir="false" afterPath="$PROJECT_DIR$/example/index.js" afterDir="false" />
40
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" />
41
48
  </list>
42
49
  <option name="SHOW_DIALOG" value="false" />
43
50
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -104,7 +111,7 @@
104
111
  <recent name="$PROJECT_DIR$/src/tool" />
105
112
  </key>
106
113
  </component>
107
- <component name="RunManager" selected="npm.build:lib">
114
+ <component name="RunManager" selected="npm.server:hot">
108
115
  <configuration name="build:lib" type="js.build_tools.npm" temporary="true" nameIsGenerated="true">
109
116
  <package-json value="$PROJECT_DIR$/package.json" />
110
117
  <command value="run" />
@@ -302,21 +309,10 @@
302
309
  <workItem from="1658398367362" duration="1815000" />
303
310
  <workItem from="1658401123366" duration="603000" />
304
311
  <workItem from="1658513789094" duration="298000" />
305
- <workItem from="1658666796644" duration="14031000" />
306
- </task>
307
- <task id="LOCAL-00040" summary="修复navigator中图片宽高一致时不显示">
308
- <created>1632364163945</created>
309
- <option name="number" value="00040" />
310
- <option name="presentableId" value="LOCAL-00040" />
311
- <option name="project" value="LOCAL" />
312
- <updated>1632364163945</updated>
313
- </task>
314
- <task id="LOCAL-00041" summary="2.1.3">
315
- <created>1632364173513</created>
316
- <option name="number" value="00041" />
317
- <option name="presentableId" value="LOCAL-00041" />
318
- <option name="project" value="LOCAL" />
319
- <updated>1632364173513</updated>
312
+ <workItem from="1658666796644" duration="14873000" />
313
+ <workItem from="1658714844889" duration="5805000" />
314
+ <workItem from="1658796588637" duration="759000" />
315
+ <workItem from="1659404898003" duration="4027000" />
320
316
  </task>
321
317
  <task id="LOCAL-00042" summary="2.1.4">
322
318
  <created>1632364377230</created>
@@ -647,7 +643,21 @@
647
643
  <option name="project" value="LOCAL" />
648
644
  <updated>1658713081785</updated>
649
645
  </task>
650
- <option name="localTasksCounter" value="89" />
646
+ <task id="LOCAL-00089" summary="2.2.3">
647
+ <created>1658713100852</created>
648
+ <option name="number" value="00089" />
649
+ <option name="presentableId" value="LOCAL-00089" />
650
+ <option name="project" value="LOCAL" />
651
+ <updated>1658713100852</updated>
652
+ </task>
653
+ <task id="LOCAL-00090" summary="grid优化">
654
+ <created>1658715904288</created>
655
+ <option name="number" value="00090" />
656
+ <option name="presentableId" value="LOCAL-00090" />
657
+ <option name="project" value="LOCAL" />
658
+ <updated>1658715904291</updated>
659
+ </task>
660
+ <option name="localTasksCounter" value="91" />
651
661
  <servers />
652
662
  </component>
653
663
  <component name="TypeScriptGeneratedFilesManager">
@@ -689,8 +699,6 @@
689
699
  <component name="VcsManagerConfiguration">
690
700
  <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
691
701
  <option name="LOCAL_CHANGES_DETAILS_PREVIEW_SHOWN" value="false" />
692
- <MESSAGE value="2.1.17" />
693
- <MESSAGE value="2.1.18" />
694
702
  <MESSAGE value="增加曲线开始点显示" />
695
703
  <MESSAGE value="2.1.19" />
696
704
  <MESSAGE value="绘制起点提示" />
@@ -714,7 +722,9 @@
714
722
  <MESSAGE value="2.2.2" />
715
723
  <MESSAGE value="增加网格线和标尺" />
716
724
  <MESSAGE value="标注信息优化显示" />
717
- <option name="LAST_COMMIT_MESSAGE" value="标注信息优化显示" />
725
+ <MESSAGE value="2.2.3" />
726
+ <MESSAGE value="grid优化" />
727
+ <option name="LAST_COMMIT_MESSAGE" value="grid优化" />
718
728
  <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="true" />
719
729
  </component>
720
730
  <component name="XSLT-Support.FileAssociations.UIState">
package/example/index.js CHANGED
@@ -40,6 +40,7 @@ instance.get(`/slide/info?file=${fileName}`).then(({data}) => {
40
40
  ROI: false,
41
41
  },
42
42
  graduation: {
43
+ show: true,
43
44
  left: 30,
44
45
  bottom: 10,
45
46
  },
@@ -142,7 +143,7 @@ instance.get(`/slide/info?file=${fileName}`).then(({data}) => {
142
143
  }
143
144
  if (rangeB !== 0) {
144
145
  b = b * (1 + rangeB);
145
- g = g > 255 ? 255 : g;
146
+ b = b > 255 ? 255 : b;
146
147
  }
147
148
  if (rangeS !== 0) {
148
149
  let {h, s, l} = rgbToHsl(r, g, b);
@@ -187,7 +188,7 @@ instance.get(`/slide/info?file=${fileName}`).then(({data}) => {
187
188
  },
188
189
  measure: {
189
190
  handler(content, label) {
190
- return [...content, '标注人: xxx'];
191
+ return [...content];
191
192
  },
192
193
  },
193
194
  });
@@ -336,10 +337,8 @@ instance.get(`/slide/info?file=${fileName}`).then(({data}) => {
336
337
  });*/
337
338
  setTimeout(() => {
338
339
  // kv.destroy();
339
- kv.navigator.toggleNavigator();
340
340
  setTimeout(() => {
341
341
  // kv.destroy();
342
- kv.navigator.toggleNavigator();
343
342
  }, 6000);
344
343
  }, 6000);
345
344