@koi-br/ocr-web-sdk 1.0.9 → 1.0.11

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.
@@ -7,49 +7,49 @@
7
7
  {{ Math.round(scale * 100) }}%
8
8
  </span>
9
9
  <div class="toolbar-divider"></div>
10
- <a-tooltip mini position="bottom" content="重置">
11
- <a-button
10
+ <ATooltip mini position="bottom" content="重置">
11
+ <AButton
12
12
  size="small"
13
13
  type="outline"
14
14
  @click="reset"
15
15
  >
16
16
  <RefreshCcw :size="16" />
17
- </a-button>
18
- </a-tooltip>
19
- <a-tooltip mini position="bottom" content="缩小">
20
- <a-button
17
+ </AButton>
18
+ </ATooltip>
19
+ <ATooltip mini position="bottom" content="缩小">
20
+ <AButton
21
21
  size="small"
22
22
  type="outline"
23
23
  :disabled="scale <= 0.5"
24
24
  @click="zoom(-0.1)"
25
25
  >
26
26
  <ZoomOut :size="16" />
27
- </a-button>
28
- </a-tooltip>
29
- <a-tooltip mini position="bottom" content="放大">
30
- <a-button
27
+ </AButton>
28
+ </ATooltip>
29
+ <ATooltip mini position="bottom" content="放大">
30
+ <AButton
31
31
  size="small"
32
32
  type="outline"
33
33
  :disabled="scale >= 2"
34
34
  @click="zoom(0.1)"
35
35
  >
36
36
  <ZoomIn :size="16" />
37
- </a-button>
38
- </a-tooltip>
39
- <a-tooltip
37
+ </AButton>
38
+ </ATooltip>
39
+ <ATooltip
40
40
  v-if="isDownload"
41
41
  mini
42
42
  position="bottom"
43
43
  content="下载"
44
44
  >
45
- <a-button
45
+ <AButton
46
46
  size="small"
47
47
  type="outline"
48
48
  @click="emit('download')"
49
49
  >
50
50
  <Download :size="16" />
51
- </a-button>
52
- </a-tooltip>
51
+ </AButton>
52
+ </ATooltip>
53
53
  </div>
54
54
  </div>
55
55
  <div
@@ -69,7 +69,7 @@
69
69
 
70
70
  <script setup>
71
71
  import { ref, watch } from 'vue';
72
- import { Message } from '@arco-design/web-vue';
72
+ import { Message, Button as AButton, Tooltip as ATooltip } from '@arco-design/web-vue';
73
73
  import { ZoomIn, ZoomOut, RefreshCcw, Download } from 'lucide-vue-next';
74
74
  import VueOfficeExcel from '@vue-office/excel/lib/v3/index';
75
75
  import '@vue-office/excel/lib/v3/index.css';