@feedmepos/mf-transaction 0.0.1-beta

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.
Files changed (82) hide show
  1. package/README.md +31 -0
  2. package/dist/app-BOlyScCe.js +141127 -0
  3. package/dist/app.js +5 -0
  4. package/dist/favicon.ico +0 -0
  5. package/dist/html2canvas.esm-DgRhIRvu.js +4870 -0
  6. package/dist/index.es-6a79NHf-.js +5618 -0
  7. package/dist/purify.es-CFivMm59.js +471 -0
  8. package/dist/src/App.vue.d.ts +2 -0
  9. package/dist/src/Entry.vue.d.ts +2 -0
  10. package/dist/src/api/bill/index.d.ts +3 -0
  11. package/dist/src/api/employee/index.d.ts +13 -0
  12. package/dist/src/api/index.d.ts +4 -0
  13. package/dist/src/api/inventory/index.d.ts +5 -0
  14. package/dist/src/api/payment/index.d.ts +3 -0
  15. package/dist/src/api/role/index.d.ts +9 -0
  16. package/dist/src/api/team/index.d.ts +9 -0
  17. package/dist/src/api/timesheet/index.d.ts +6 -0
  18. package/dist/src/api/transaction/index.d.ts +32 -0
  19. package/dist/src/api/user/index.d.ts +6 -0
  20. package/dist/src/app.d.ts +2 -0
  21. package/dist/src/components/AppForm.vue.d.ts +41 -0
  22. package/dist/src/components/CheckboxInput.vue.d.ts +140 -0
  23. package/dist/src/components/FilterDialog.vue.d.ts +13 -0
  24. package/dist/src/components/Navigator.vue.d.ts +2 -0
  25. package/dist/src/components/RestaurantSelector.vue.d.ts +6 -0
  26. package/dist/src/composables/dateRange.d.ts +17 -0
  27. package/dist/src/composables/message.d.ts +4 -0
  28. package/dist/src/helpers/component.d.ts +12 -0
  29. package/dist/src/helpers/createComponent.d.ts +7 -0
  30. package/dist/src/helpers/createForm.d.ts +2 -0
  31. package/dist/src/helpers/export.d.ts +12 -0
  32. package/dist/src/helpers/idToDate.d.ts +1 -0
  33. package/dist/src/helpers/iteration.d.ts +10 -0
  34. package/dist/src/helpers/random.d.ts +3 -0
  35. package/dist/src/helpers/rule.d.ts +29 -0
  36. package/dist/src/helpers/string.d.ts +5 -0
  37. package/dist/src/helpers/time.d.ts +7 -0
  38. package/dist/src/helpers/utils.d.ts +5 -0
  39. package/dist/src/main.d.ts +2 -0
  40. package/dist/src/router/index.d.ts +2 -0
  41. package/dist/src/router/shared.d.ts +4 -0
  42. package/dist/src/stores/employee.d.ts +539 -0
  43. package/dist/src/stores/role.d.ts +205 -0
  44. package/dist/src/stores/timesheet.d.ts +253 -0
  45. package/dist/src/types/employee.d.ts +29 -0
  46. package/dist/src/types/permission.d.ts +68 -0
  47. package/dist/src/types/restaurant.d.ts +18 -0
  48. package/dist/src/types/role.d.ts +37 -0
  49. package/dist/src/types/team.d.ts +47 -0
  50. package/dist/src/types/timesheet.d.ts +16 -0
  51. package/dist/src/types/transaction.d.ts +6 -0
  52. package/dist/src/views/online/OnlineTransaction.vue.d.ts +2 -0
  53. package/dist/src/views/online/PaymentTable.vue.d.ts +112 -0
  54. package/dist/src/views/online/SettlementTable.vue.d.ts +66 -0
  55. package/dist/src/views/online/detail/FmSettlement.vue.d.ts +32 -0
  56. package/dist/src/views/online/detail/RmsSettlement.vue.d.ts +22 -0
  57. package/dist/src/views/online/detail/SettlementDetail.vue.d.ts +5 -0
  58. package/dist/src/views/online/settlement.d.ts +52 -0
  59. package/dist/src/views/receipt/ExportReceipt.vue.d.ts +36 -0
  60. package/dist/src/views/receipt/Receipt.vue.d.ts +2 -0
  61. package/dist/src/views/receipt/detail/ReceiptDetail.vue.d.ts +26 -0
  62. package/dist/src/views/receipt/detail/activity/ReceiptActivities.vue.d.ts +14 -0
  63. package/dist/src/views/receipt/detail/info/InfoBasic.vue.d.ts +20 -0
  64. package/dist/src/views/receipt/detail/info/InfoRow.vue.d.ts +30 -0
  65. package/dist/src/views/receipt/detail/info/ReceiptInfo.vue.d.ts +14 -0
  66. package/dist/src/views/receipt/detail/info/ReceiptItem.vue.d.ts +14 -0
  67. package/dist/src/views/receipt/detail/info/ReceiptPreview.vue.d.ts +14 -0
  68. package/dist/src/views/receipt/detail/info/ReceiptSubItem.vue.d.ts +24 -0
  69. package/dist/src/views/receipt/detail/item/ReceiptGroupItem.vue.d.ts +14 -0
  70. package/dist/src/views/receipt/form.d.ts +3 -0
  71. package/dist/src/views/receipt/receipt.d.ts +118 -0
  72. package/dist/src/views/team/TeamMemberList.vue.d.ts +2 -0
  73. package/dist/src/views/team/components/AddMemberForm.vue.d.ts +40 -0
  74. package/dist/src/views/team/components/PortalPermissionEditor.vue.d.ts +38 -0
  75. package/dist/src/views/team/components/PortalUserSearcher.vue.d.ts +40 -0
  76. package/dist/src/views/team/components/TeamMemberBasePermission.vue.d.ts +36 -0
  77. package/dist/src/views/team/components/TeamMemberConditionPermission.vue.d.ts +50 -0
  78. package/dist/src/views/team/components/TeamMemberMasterUser.vue.d.ts +836 -0
  79. package/dist/src/views/team/components/TeamMemberRolePermission.vue.d.ts +46 -0
  80. package/dist/style.css +1 -0
  81. package/dist/tsconfig.app.tsbuildinfo +1 -0
  82. package/package.json +79 -0
package/package.json ADDED
@@ -0,0 +1,79 @@
1
+ {
2
+ "name": "@feedmepos/mf-transaction",
3
+ "version": "0.0.1-beta",
4
+ "files": [
5
+ "dist"
6
+ ],
7
+ "type": "module",
8
+ "module": "./dist/app.js",
9
+ "license": "UNLICENSED",
10
+ "exports": {
11
+ ".": {
12
+ "import": "./dist/app.js",
13
+ "types": "./dist/src/app.d.ts"
14
+ },
15
+ "./style": "./dist/style.css"
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
+ "dependencies": {
40
+ "@feedmepos/core": "^2.5.3",
41
+ "@feedmepos/core-dart": "^0.2.6",
42
+ "@feedmepos/mf-common": "workspace:^",
43
+ "@feedmepos/payment-model": "0.0.12",
44
+ "@feedmepos/print": "file:~/project/monorepo-merged/typescript/packages/core/",
45
+ "@vitejs/plugin-vue-jsx": "^4.0.0",
46
+ "axios": "^1.6.2",
47
+ "dayjs": "^1.11.10",
48
+ "moment": "^2.30.0",
49
+ "pinia": "^2.1.7",
50
+ "vue": "^3.4.21",
51
+ "vue-router": "^4.3.0",
52
+ "jspdf": "^2.5.1",
53
+ "rasterizehtml": "^1.3.1",
54
+ "xlsx": "^0.18.5",
55
+ "change-case": "^4.1.2"
56
+ },
57
+ "devDependencies": {
58
+ "@casl/ability": "^3.4.0",
59
+ "@rushstack/eslint-patch": "^1.3.3",
60
+ "@tsconfig/node18": "^18.2.2",
61
+ "@types/node": "^18.17.17",
62
+ "@vitejs/plugin-vue": "^4.3.4",
63
+ "@vue/eslint-config-prettier": "^8.0.0",
64
+ "@vue/eslint-config-typescript": "^12.0.0",
65
+ "@vue/tsconfig": "^0.4.0",
66
+ "autoprefixer": "^10.4.16",
67
+ "eslint": "^8.49.0",
68
+ "eslint-plugin-tailwindcss": "^3.14.0",
69
+ "eslint-plugin-vue": "^9.17.0",
70
+ "npm-run-all2": "^6.0.6",
71
+ "postcss": "^8.4.31",
72
+ "prettier": "^3.0.3",
73
+ "sass": "1.69.5",
74
+ "tailwindcss": "^3.3.3",
75
+ "typescript": "~5.2.0",
76
+ "vite": "^5.1.4",
77
+ "vue-tsc": "^1.8.11"
78
+ }
79
+ }