@feedmepos/mf-transaction 0.0.9-beta → 0.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.
- package/dist/{app-4CSVpzdb.js → Receipt-c49Fjexj.js} +7153 -7169
- package/dist/app.js +30 -3
- package/dist/apps/mf-transaction/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index.es-D829-gQC.js → index.es-CpsGOIMG.js} +457 -457
- package/dist/packages/shared/src/components/form/RestaurantSelector.vue.d.ts +9 -0
- package/dist/packages/shared/src/components/layout/LottieAnimation.vue.d.ts +39 -0
- package/dist/packages/shared/src/components/layout/MobileXScrollable.vue.d.ts +9 -0
- package/dist/packages/shared/src/components/loading/AppLoading.vue.d.ts +20 -0
- package/dist/packages/shared/src/components/menu/BottomSheetMenu.vue.d.ts +1 -0
- package/dist/packages/shared/src/components/menu/BottomSheetMenuItem.vue.d.ts +9 -2
- package/dist/packages/shared/src/components/menu/ResponsiveContextMenu.vue.d.ts +1 -1
- package/dist/packages/shared/src/components/table/EmptyDataTemplate/Icon.vue.d.ts +2 -0
- package/dist/packages/shared/src/components/table/EmptyDataTemplate/index.d.ts +1 -0
- package/dist/packages/shared/src/components/table/EmptyDataTemplate/index.vue.d.ts +27 -0
- package/dist/packages/shared/src/composable/dateRange.d.ts +18 -0
- package/package.json +24 -27
|
@@ -10,6 +10,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
10
10
|
excludeRestaurants: {
|
|
11
11
|
type: import("vue").PropType<string[]>;
|
|
12
12
|
};
|
|
13
|
+
autoSelectFirst: {
|
|
14
|
+
type: import("vue").PropType<boolean>;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
13
17
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
18
|
modelValue: import("vue").PropType<string>;
|
|
15
19
|
label: {
|
|
@@ -22,7 +26,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
22
26
|
excludeRestaurants: {
|
|
23
27
|
type: import("vue").PropType<string[]>;
|
|
24
28
|
};
|
|
29
|
+
autoSelectFirst: {
|
|
30
|
+
type: import("vue").PropType<boolean>;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
25
33
|
}>> & Readonly<{}>, {
|
|
26
34
|
managableOnly: boolean;
|
|
35
|
+
autoSelectFirst: boolean;
|
|
27
36
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
28
37
|
export default _default;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
link: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: undefined;
|
|
5
|
+
};
|
|
6
|
+
json: {
|
|
7
|
+
type: ObjectConstructor;
|
|
8
|
+
default: undefined;
|
|
9
|
+
};
|
|
10
|
+
width: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
height: {
|
|
15
|
+
type: NumberConstructor;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
link: {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: undefined;
|
|
22
|
+
};
|
|
23
|
+
json: {
|
|
24
|
+
type: ObjectConstructor;
|
|
25
|
+
default: undefined;
|
|
26
|
+
};
|
|
27
|
+
width: {
|
|
28
|
+
type: NumberConstructor;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
height: {
|
|
32
|
+
type: NumberConstructor;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
}>> & Readonly<{}>, {
|
|
36
|
+
link: string;
|
|
37
|
+
json: Record<string, any>;
|
|
38
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
39
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
width: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
height: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
width: {
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
height: {
|
|
16
|
+
type: NumberConstructor;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
20
|
+
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
2
|
+
button?(_: {}): any;
|
|
2
3
|
default?(_: {}): any;
|
|
3
4
|
}>;
|
|
4
5
|
export default _default;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
interface BottomSheetMenuItemProps {
|
|
2
|
-
label
|
|
2
|
+
label?: string;
|
|
3
3
|
icon?: string;
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
itemClass?: string;
|
|
6
6
|
}
|
|
7
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<BottomSheetMenuItemProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<BottomSheetMenuItemProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<BottomSheetMenuItemProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<BottomSheetMenuItemProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
8
|
+
content?(_: {}): any;
|
|
9
|
+
}>;
|
|
8
10
|
export default _default;
|
|
9
11
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
12
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -15,3 +17,8 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
15
17
|
required: true;
|
|
16
18
|
};
|
|
17
19
|
};
|
|
20
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./index.vue";
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
title: string;
|
|
3
|
+
subtitle: string;
|
|
4
|
+
action?: {
|
|
5
|
+
text: string;
|
|
6
|
+
icon?: string;
|
|
7
|
+
callback: () => void;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
11
|
+
action?(_: {}): any;
|
|
12
|
+
}>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
+
} : {
|
|
19
|
+
type: import('vue').PropType<T[K]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare function useDateRange(): {
|
|
2
|
+
dateRange: import("vue").Ref<{
|
|
3
|
+
startDate: string;
|
|
4
|
+
endDate: string;
|
|
5
|
+
}, {
|
|
6
|
+
startDate: string;
|
|
7
|
+
endDate: string;
|
|
8
|
+
} | {
|
|
9
|
+
startDate: string;
|
|
10
|
+
endDate: string;
|
|
11
|
+
}>;
|
|
12
|
+
parsedDateRange: import("vue").ComputedRef<{
|
|
13
|
+
startDate: Date;
|
|
14
|
+
endDate: Date;
|
|
15
|
+
}>;
|
|
16
|
+
dateRangeLabel: import("vue").ComputedRef<string>;
|
|
17
|
+
setRange: (manipulate: "subtract" | "add") => void;
|
|
18
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@feedmepos/mf-transaction",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -14,33 +14,10 @@
|
|
|
14
14
|
},
|
|
15
15
|
"./style": "./dist/style.css"
|
|
16
16
|
},
|
|
17
|
-
"publishConfig": {
|
|
18
|
-
"registry": "https://npm.pkg.github.com/"
|
|
19
|
-
},
|
|
20
|
-
"scripts": {
|
|
21
|
-
"dev": "vite --mode dev --port 5179",
|
|
22
|
-
"start": "vite --mode prod",
|
|
23
|
-
"build": "run-p type-check \"build-only {@}\" --",
|
|
24
|
-
"build:mf": "vite build --mode fmmf",
|
|
25
|
-
"build:dts": "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist",
|
|
26
|
-
"publish-npm": "npm publish --no-git-checks . --access public --@feedmepos:registry=https://registry.npmjs.org/",
|
|
27
|
-
"publish-npm:beta": "npm publish --tag beta --no-git-checks . --access public --@feedmepos:registry=https://registry.npmjs.org/",
|
|
28
|
-
"publish-github": "npm publish --no-git-checks . --access public --@feedmepos:registry=https://npm.pkg.github.com/",
|
|
29
|
-
"publish-github:beta": "npm publish --tag beta --no-git-checks . --access public --@feedmepos:registry=https://npm.pkg.github.com/",
|
|
30
|
-
"build-only": "pnpm build:mf && pnpm build:dts",
|
|
31
|
-
"deploy": "pnpm run build-only && pnpm run publish-npm && pnpm run publish-github && pnpm run purge:prod",
|
|
32
|
-
"deploy:beta": "pnpm run build-only && pnpm run publish-npm:beta && pnpm run publish-github:beta && pnpm run purge:beta",
|
|
33
|
-
"type-check": "vue-tsc --noEmit -p tsconfig.app.json --composite false",
|
|
34
|
-
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
|
35
|
-
"format": "prettier --write src/",
|
|
36
|
-
"purge:beta": "curl https://purge.jsdelivr.net/npm/@feedmepos/mf-team@beta/dist/app.js",
|
|
37
|
-
"purge:prod": "curl https://purge.jsdelivr.net/npm/@feedmepos/mf-team@latest/dist/app.js"
|
|
38
|
-
},
|
|
39
17
|
"dependencies": {
|
|
40
|
-
"@feedmepos/ui-library": "
|
|
18
|
+
"@feedmepos/ui-library": "1.2.53",
|
|
41
19
|
"@feedmepos/core": "^2.12.10",
|
|
42
20
|
"@feedmepos/core-dart": "^0.2.6",
|
|
43
|
-
"@feedmepos/mf-common": "workspace:^",
|
|
44
21
|
"@feedmepos/print": "file:../../core-legacy-0.1.tar.gz",
|
|
45
22
|
"@feedmepos/payment-model": "0.0.12",
|
|
46
23
|
"@vitejs/plugin-vue-jsx": "^4.0.0",
|
|
@@ -53,7 +30,8 @@
|
|
|
53
30
|
"jspdf": "^2.5.1",
|
|
54
31
|
"rasterizehtml": "^1.3.1",
|
|
55
32
|
"xlsx": "^0.18.5",
|
|
56
|
-
"change-case": "^4.1.2"
|
|
33
|
+
"change-case": "^4.1.2",
|
|
34
|
+
"@feedmepos/mf-common": "^1.9.6-beta.4"
|
|
57
35
|
},
|
|
58
36
|
"devDependencies": {
|
|
59
37
|
"@casl/ability": "^3.4.0",
|
|
@@ -76,5 +54,24 @@
|
|
|
76
54
|
"typescript": "~5.2.0",
|
|
77
55
|
"vite": "^5.1.4",
|
|
78
56
|
"vue-tsc": "^1.8.11"
|
|
57
|
+
},
|
|
58
|
+
"scripts": {
|
|
59
|
+
"dev": "vite --mode dev --port 5179",
|
|
60
|
+
"start": "vite --mode prod",
|
|
61
|
+
"build": "run-p type-check \"build-only {@}\" --",
|
|
62
|
+
"build:mf": "vite build --mode fmmf",
|
|
63
|
+
"build:dts": "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist",
|
|
64
|
+
"publish-npm": "npm publish --no-git-checks . --access public --@feedmepos:registry=https://registry.npmjs.org/",
|
|
65
|
+
"publish-npm:beta": "npm publish --tag beta --no-git-checks . --access public --@feedmepos:registry=https://registry.npmjs.org/",
|
|
66
|
+
"publish-github": "npm publish --no-git-checks . --access public --@feedmepos:registry=https://npm.pkg.github.com/",
|
|
67
|
+
"publish-github:beta": "npm publish --tag beta --no-git-checks . --access public --@feedmepos:registry=https://npm.pkg.github.com/",
|
|
68
|
+
"build-only": "pnpm build:mf && pnpm build:dts",
|
|
69
|
+
"deploy": "pnpm run build-only && pnpm run publish-npm && pnpm run publish-github && pnpm run purge:prod",
|
|
70
|
+
"deploy:beta": "pnpm run build-only && pnpm run publish-npm:beta && pnpm run publish-github:beta && pnpm run purge:beta",
|
|
71
|
+
"type-check": "vue-tsc --noEmit -p tsconfig.app.json --composite false",
|
|
72
|
+
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
|
73
|
+
"format": "prettier --write src/",
|
|
74
|
+
"purge:beta": "curl https://purge.jsdelivr.net/npm/@feedmepos/mf-team@beta/dist/app.js",
|
|
75
|
+
"purge:prod": "curl https://purge.jsdelivr.net/npm/@feedmepos/mf-team@latest/dist/app.js"
|
|
79
76
|
}
|
|
80
|
-
}
|
|
77
|
+
}
|