@yuwenovo/ocr-result-view 2.1.0 → 2.2.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.
@@ -9,6 +9,7 @@ type __VLS_Props = {
9
9
  /** 当前激活的 tab */
10
10
  activeTab?: 'all' | 'modify' | 'delete' | 'insert';
11
11
  };
12
+ declare function scrollToCard(index: number): void;
12
13
  declare var __VLS_1: {
13
14
  item: import("..").DeleteItem | import("..").InsertItem | import("..").ModifyItem;
14
15
  index: number;
@@ -19,7 +20,9 @@ declare var __VLS_1: {
19
20
  type __VLS_Slots = {} & {
20
21
  default?: (props: typeof __VLS_1) => any;
21
22
  };
22
- declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
24
+ scrollToCard: typeof scrollToCard;
25
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
26
  select: (index: number) => any;
24
27
  ignore: (diffId: string, ignored: boolean) => any;
25
28
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
@@ -13,13 +13,13 @@ declare var __VLS_1: {
13
13
  filename: string | undefined;
14
14
  }, __VLS_25: {
15
15
  filename: string | undefined;
16
- }, __VLS_47: {}, __VLS_74: {
16
+ }, __VLS_47: {}, __VLS_76: {
17
17
  item: import("../types").DeleteItem | import("../types").InsertItem | import("../types").ModifyItem;
18
18
  index: number;
19
19
  active: boolean;
20
20
  select: () => void;
21
21
  ignore: (ignored: boolean) => void;
22
- }, __VLS_86: {
22
+ }, __VLS_88: {
23
23
  activeIndex: number;
24
24
  review: import("../types").ComparisonReview | undefined;
25
25
  };
@@ -32,9 +32,9 @@ type __VLS_Slots = {} & {
32
32
  } & {
33
33
  empty?: (props: typeof __VLS_47) => any;
34
34
  } & {
35
- 'diff-card'?: (props: typeof __VLS_74) => any;
35
+ 'diff-card'?: (props: typeof __VLS_76) => any;
36
36
  } & {
37
- footer?: (props: typeof __VLS_86) => any;
37
+ footer?: (props: typeof __VLS_88) => any;
38
38
  };
39
39
  declare const __VLS_base: import("vue").DefineComponent<OcrResultViewProps, {
40
40
  selectDiff: typeof selectDiff;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuwenovo/ocr-result-view",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "description": "Vue 3 OCR document comparison result viewer with virtualized Canvas rendering",
5
5
  "repository": {
6
6
  "type": "git",