@feedmepos/mf-transaction 0.0.23 → 0.0.25
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 +7 -28
- package/dist/App-BwJtXF-A.js +23 -0
- package/dist/{Receipt-C5y6QkRz.js → Receipt-C9855rS9.js} +18875 -18710
- package/dist/{app-k9bCbSNc.js → app-B2pLl8m3.js} +6 -4
- package/dist/app.js +1 -1
- package/dist/apps/mf-transaction/src/api/bill/index.d.ts +2 -0
- package/dist/apps/mf-transaction/src/app.d.ts +2 -0
- package/dist/apps/mf-transaction/src/views/receipt/detail/transaction/ReceiptTransaction.vue.d.ts +14 -0
- package/dist/apps/mf-transaction/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-DkCUBXQb.js → index-BueM5PVd.js} +1206 -1206
- package/dist/{index.es-Bgillj3g.js → index.es-BYis0Txf.js} +4 -4
- package/dist/packages/shared/src/components/form/DynamicSheet.vue.d.ts +19 -0
- package/dist/packages/shared/src/components/layout/ListLayout.vue.d.ts +2 -0
- package/dist/packages/shared/src/composable/prompt.d.ts +9 -0
- package/dist/packages/shared/src/composable/sheet.d.ts +17 -0
- package/dist/packages/shared/src/helpers/string.d.ts +12 -0
- package/package.json +2 -2
- package/dist/App-mYNB5Fxn.js +0 -17
package/README.md
CHANGED
|
@@ -1,31 +1,10 @@
|
|
|
1
|
-
# @feedmepos/mf-
|
|
1
|
+
# @feedmepos/mf-transaction
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
This project was scaffolded using [create-mf-app]. It includes Vue 3, Vite, TypeScript, Vue Router, Pinia, Feedme UI Library, and Tailwind CSS.
|
|
6
|
-
|
|
7
|
-
## Project Setup
|
|
8
|
-
|
|
9
|
-
To get started with the project, run the following commands:
|
|
10
|
-
|
|
11
|
-
```sh
|
|
12
|
-
pnpm install
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
### Compile and Hot-Reload for Development
|
|
16
|
-
|
|
17
|
-
```sh
|
|
18
|
-
pnpm dev
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
### Type-Check, Compile and Minify for Production
|
|
22
|
-
|
|
23
|
-
```sh
|
|
24
|
-
pnpm build
|
|
3
|
+
1. brew install for canvas, $brew install pkg-config cairo pango libpng jpeg giflib librsvg pixman
|
|
4
|
+
2. Add .npmrc to the root directory with
|
|
25
5
|
```
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
```sh
|
|
30
|
-
pnpm lint
|
|
6
|
+
@feedmepos:mf-core-ui:registry=https://registry.npmjs.org
|
|
7
|
+
@feedmepos:auth:registry=https://registry.npmjs.org
|
|
31
8
|
```
|
|
9
|
+
3. after `pnpm i` , go to `packages/common` and run `pnpm build`
|
|
10
|
+
4. continue `pnpm dev` at the mf repo you need.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { defineComponent as t, resolveComponent as n, openBlock as c, createBlock as s } from "vue";
|
|
2
|
+
import { storeToRefs as p } from "pinia";
|
|
3
|
+
import { k as u, s as m } from "./index-BueM5PVd.js";
|
|
4
|
+
import { useCoreStore as a } from "@feedmepos/mf-common";
|
|
5
|
+
const g = /* @__PURE__ */ t({
|
|
6
|
+
__name: "App",
|
|
7
|
+
setup(i) {
|
|
8
|
+
const { currentCountry: o } = p(a());
|
|
9
|
+
u.setCountry(o.value);
|
|
10
|
+
try {
|
|
11
|
+
m(o.value);
|
|
12
|
+
} catch (r) {
|
|
13
|
+
console.error("Error setting country config for legacy core", r);
|
|
14
|
+
}
|
|
15
|
+
return (r, f) => {
|
|
16
|
+
const e = n("RouterView");
|
|
17
|
+
return c(), s(e);
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
export {
|
|
22
|
+
g as default
|
|
23
|
+
};
|