mg-ocr-invoice 0.2.9 → 0.3.1
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.
- package/README.md +8 -8
- package/dist/index.es.js +3725 -3654
- package/dist/index.umd.js +36 -34
- package/dist/style.css +1 -1
- package/dist/types/components/Invoice/index.vue.d.ts +3 -1
- package/dist/types/components/Invoice copy/index.vue.d.ts +3 -1
- package/dist/types/components/InvoiceList/index.vue.d.ts +4 -1
- package/dist/types/components/OCRInvoice/index.vue.d.ts +3 -1
- package/dist/types/components/PaymentMode/index.vue.d.ts +3 -1
- package/package.json +44 -43
- package/src/components/Invoice/const.ts +4 -4
- package/src/components/Invoice/index.vue +564 -565
- package/src/components/Invoice copy/index.vue +343 -343
- package/src/components/InvoiceList/const.ts +79 -79
- package/src/components/InvoiceList/index.vue +750 -750
- package/src/components/OCRInvoice/const.ts +70 -70
- package/src/components/OCRInvoice/index.vue +116 -116
- package/src/components/PaymentMode/index.vue +144 -144
- package/src/components/index.ts +5 -5
|
@@ -2,7 +2,9 @@ import '@/utils/disableZoom';
|
|
|
2
2
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
3
3
|
ids?: any;
|
|
4
4
|
invoiceData?: any;
|
|
5
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
saveSuccess: (...args: any[]) => void;
|
|
7
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
6
8
|
ids?: any;
|
|
7
9
|
invoiceData?: any;
|
|
8
10
|
}>>> & {
|
|
@@ -8,7 +8,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8
8
|
type: ObjectConstructor;
|
|
9
9
|
required: true;
|
|
10
10
|
};
|
|
11
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
11
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
saveSuccess: (...args: any[]) => void;
|
|
13
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
14
|
ids: {
|
|
13
15
|
type: ObjectConstructor;
|
|
14
16
|
required: true;
|
|
@@ -10,7 +10,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10
10
|
type: BooleanConstructor;
|
|
11
11
|
};
|
|
12
12
|
catchList: {};
|
|
13
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
13
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
ok: (...args: any[]) => void;
|
|
15
|
+
edit: (...args: any[]) => void;
|
|
16
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
17
|
listId: {
|
|
15
18
|
required: false;
|
|
16
19
|
type: StringConstructor;
|
|
@@ -16,7 +16,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
16
|
batchId: {
|
|
17
17
|
required: false;
|
|
18
18
|
};
|
|
19
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
19
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
+
submit: (...args: any[]) => void;
|
|
21
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
22
|
token: {
|
|
21
23
|
required: false;
|
|
22
24
|
type: StringConstructor;
|
|
@@ -2,7 +2,9 @@ import '@/utils/disableZoom';
|
|
|
2
2
|
declare const _default: import("vue").DefineComponent<Readonly<{
|
|
3
3
|
multiple?: any;
|
|
4
4
|
batchId?: any;
|
|
5
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
uploadSuccess: (...args: any[]) => void;
|
|
7
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Readonly<{
|
|
6
8
|
multiple?: any;
|
|
7
9
|
batchId?: any;
|
|
8
10
|
}>>> & {
|
package/package.json
CHANGED
|
@@ -1,43 +1,44 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "mg-ocr-invoice",
|
|
3
|
-
"private": false,
|
|
4
|
-
"version": "0.
|
|
5
|
-
"type": "module",
|
|
6
|
-
"types": "dist/types/index.d.ts",
|
|
7
|
-
"module": "dist/index.es.js",
|
|
8
|
-
"main": "dist/index.umd.js",
|
|
9
|
-
"files": [
|
|
10
|
-
"dist",
|
|
11
|
-
"src/components"
|
|
12
|
-
],
|
|
13
|
-
"scripts": {
|
|
14
|
-
"dev": "vite",
|
|
15
|
-
"build": "rimraf dist && vue-tsc && vite build --mode build",
|
|
16
|
-
"preview": "vite preview"
|
|
17
|
-
},
|
|
18
|
-
"dependencies": {
|
|
19
|
-
"@types/js-cookie": "^3.0.3",
|
|
20
|
-
"axios": "^1.4.0",
|
|
21
|
-
"compressorjs": "^1.2.1",
|
|
22
|
-
"decimal.js": "^10.4.3",
|
|
23
|
-
"element-plus": "^2.3.7",
|
|
24
|
-
"js-cookie": "^3.0.5",
|
|
25
|
-
"swiper": "^9.3.2",
|
|
26
|
-
"vant": "^4.4.1",
|
|
27
|
-
"vconsole": "^3.15.1",
|
|
28
|
-
"vue": "^3.2.47"
|
|
29
|
-
},
|
|
30
|
-
"devDependencies": {
|
|
31
|
-
"@types/node": "^20.2.5",
|
|
32
|
-
"@vitejs/plugin-vue": "^4.1.0",
|
|
33
|
-
"autoprefixer": "^10.4.14",
|
|
34
|
-
"postcss": "^8.4.24",
|
|
35
|
-
"rimraf": "^5.0.1",
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "mg-ocr-invoice",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "0.3.1",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"types": "dist/types/index.d.ts",
|
|
7
|
+
"module": "dist/index.es.js",
|
|
8
|
+
"main": "dist/index.umd.js",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"src/components"
|
|
12
|
+
],
|
|
13
|
+
"scripts": {
|
|
14
|
+
"dev": "vite",
|
|
15
|
+
"build": "rimraf dist && vue-tsc && vite build --mode build",
|
|
16
|
+
"preview": "vite preview"
|
|
17
|
+
},
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"@types/js-cookie": "^3.0.3",
|
|
20
|
+
"axios": "^1.4.0",
|
|
21
|
+
"compressorjs": "^1.2.1",
|
|
22
|
+
"decimal.js": "^10.4.3",
|
|
23
|
+
"element-plus": "^2.3.7",
|
|
24
|
+
"js-cookie": "^3.0.5",
|
|
25
|
+
"swiper": "^9.3.2",
|
|
26
|
+
"vant": "^4.4.1",
|
|
27
|
+
"vconsole": "^3.15.1",
|
|
28
|
+
"vue": "^3.2.47"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@types/node": "^20.2.5",
|
|
32
|
+
"@vitejs/plugin-vue": "^4.1.0",
|
|
33
|
+
"autoprefixer": "^10.4.14",
|
|
34
|
+
"postcss": "^8.4.24",
|
|
35
|
+
"rimraf": "^5.0.1",
|
|
36
|
+
"sass": "^1.69.5",
|
|
37
|
+
"typescript": "^5.0.2",
|
|
38
|
+
"vite": "^4.3.9",
|
|
39
|
+
"vue-tsc": "^1.4.2"
|
|
40
|
+
},
|
|
41
|
+
"peerDependencies": {
|
|
42
|
+
"sass": "^1.63.2"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface RowAttribute {
|
|
2
|
-
itemExTaxAmount?: number | string
|
|
3
|
-
itemTaxRate?: number | string
|
|
4
|
-
}
|
|
1
|
+
export interface RowAttribute {
|
|
2
|
+
itemExTaxAmount?: number | string
|
|
3
|
+
itemTaxRate?: number | string
|
|
4
|
+
}
|