@feedmepos/mf-inventory-portal 0.0.23-dev.36 → 0.0.23-dev.38

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 (79) hide show
  1. package/dist/{App-CRVwCmFX.js → App-DQgtWkQj.js} +20 -20
  2. package/dist/{ApprovalView-CfJQdSRz.js → ApprovalView-CvSK9fGA.js} +10 -10
  3. package/dist/{BindingsDialog-BKL8E0Ni.js → BindingsDialog-BAC0_xCP.js} +8 -8
  4. package/dist/{BindingsPicker-M9-ARPgB.js → BindingsPicker-ecWMwsNp.js} +3 -3
  5. package/dist/{BindingsTable-BUs8wO0p.js → BindingsTable-D5kQydOU.js} +10 -10
  6. package/dist/{ClosingDraftView-BI3P4oS4.js → ClosingDraftView-CnHQ59rX.js} +46 -46
  7. package/dist/{ClosingTemplateView-D732hJJj.js → ClosingTemplateView-vRTsVZ0c.js} +21 -21
  8. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DzXJBW2r.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CpIzIvkU.js} +17 -17
  9. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BPOPaW5x.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CNzEHF-R.js} +37 -37
  10. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DCYtyGvl.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DBhBaRrd.js} +1 -1
  11. package/dist/{IngredientGroupView-CnnqKFGA.js → IngredientGroupView-BLsABZ3h.js} +1 -1
  12. package/dist/IngredientsView-Cs4TIf6V.js +1794 -0
  13. package/dist/{IntegrationView-6-Qvhwbr.js → IntegrationView-BqAqngtM.js} +137 -137
  14. package/dist/{InventoryBindingForm-F3o3dWhJ.js → InventoryBindingForm-D54V_qZQ.js} +1 -1
  15. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-B1hTEubD.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-KIW9J7Xn.js} +106 -96
  16. package/dist/{InventoryBindingSummary-B9ziVhZr.js → InventoryBindingSummary-htT7GNto.js} +1 -1
  17. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BquI8s88.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BlEgALMj.js} +1 -1
  18. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BHRxlIxi.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DHbxXDGy.js} +9 -9
  19. package/dist/{PurchaseOrderPrintPreview-DyjA8BsV.js → PurchaseOrderPrintPreview-hmzxKuIa.js} +5 -5
  20. package/dist/{ReceiveRequestView-BQoADy5j.js → ReceiveRequestView-_YioyWqU.js} +182 -182
  21. package/dist/{RecipeView-DOEPiT-V.js → RecipeView-88KJ0nvU.js} +3 -3
  22. package/dist/StockView-R4cnEbHQ.js +1818 -0
  23. package/dist/{SupplierView-BX6T3B40.js → SupplierView-CevGG507.js} +4 -4
  24. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-C-8uS9KA.js → TransferDetails.vue_vue_type_script_setup_true_lang-CeWP9msS.js} +52 -52
  25. package/dist/{TransferTemplateView-D3smZIqo.js → TransferTemplateView-QDniAq8o.js} +114 -114
  26. package/dist/{UnitView-PZthqb2i.js → UnitView-SjwJ3lZ0.js} +14 -14
  27. package/dist/{WarehouseView-Qqqwk353.js → WarehouseView-55LiPQXG.js} +70 -70
  28. package/dist/api/adjustment-template.d.ts +2 -0
  29. package/dist/api/bill.d.ts +240 -84
  30. package/dist/api/inventory.d.ts +15 -6
  31. package/dist/{app-Dzll4soM.js → app-UTiudUUR.js} +6779 -6514
  32. package/dist/app.d.ts +8 -0
  33. package/dist/app.js +1 -1
  34. package/dist/components/FmCustomAttribute.vue.d.ts +23 -0
  35. package/dist/components/FmLockableField.vue.d.ts +37 -0
  36. package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +3 -1
  37. package/dist/components/shell/inventory/binding-ui.vue.d.ts +3 -1
  38. package/dist/{decimal-CSwcVJ9W.js → decimal-tyBgHJ47.js} +1 -1
  39. package/dist/feature-z7inw9y6.js +946 -0
  40. package/dist/{format-unit-display-D2-2_8Wo.js → format-unit-display-DN0KtCh2.js} +61 -61
  41. package/dist/index-Dj2Ccgp1.js +29202 -0
  42. package/dist/{StockView-CyJlLOjk.js → index-DlhdTaa8.js} +2218 -3854
  43. package/dist/{stock-VALQOiWM.js → stock-CxRxidDu.js} +1 -1
  44. package/dist/stores/feature.d.ts +5 -0
  45. package/dist/stores/inventory.d.ts +20 -8
  46. package/dist/stores/supplier.d.ts +1 -1
  47. package/dist/{supplier-CYRocBpq.js → supplier-BhyiTwSJ.js} +1 -1
  48. package/dist/tsconfig.app.tsbuildinfo +1 -1
  49. package/dist/{use-inventory-binding-dialog-SiBEsYI-.js → use-inventory-binding-dialog-DwSvUvRl.js} +1 -1
  50. package/dist/views/adjustment-template/wastage-template/WastageTemplateReason.vue.d.ts +18 -0
  51. package/dist/views/adjustment-template/wastage-template/actions.d.ts +37 -3
  52. package/dist/views/adjustment-template/wastage-template/props.d.ts +7 -0
  53. package/dist/views/adjustment-template/wastage-template/table.d.ts +32 -2
  54. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +8 -4
  55. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +48 -24
  56. package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +2 -1
  57. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +24 -12
  58. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +24 -12
  59. package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +6 -3
  60. package/dist/views/ingredients/components/convert/ConvertFormProps.d.ts +1 -0
  61. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +4 -2
  62. package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +1 -0
  63. package/dist/views/ingredients/composables/use-ingredient-table.d.ts +2 -1
  64. package/dist/views/receive-request/components/transfer-form/SparkIcon.vue.d.ts +1 -1
  65. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +34 -17
  66. package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +4 -2
  67. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +2 -1
  68. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +48 -24
  69. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +48 -24
  70. package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +2 -0
  71. package/dist/views/stock/components/StockRecordCard.vue.d.ts +120 -42
  72. package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +4 -2
  73. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +2 -1
  74. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +24 -12
  75. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +24 -12
  76. package/package.json +7 -6
  77. package/dist/IngredientsView-DZS3wyBm.js +0 -1657
  78. package/dist/feature-CFAsUae4.js +0 -92
  79. package/dist/index-CLdXLjws.js +0 -12087
@@ -1,92 +0,0 @@
1
- import { useCoreStore as t } from "@feedmepos/mf-common";
2
- import { u as o, aw as a, a as i } from "./app-Dzll4soM.js";
3
- const c = /* @__PURE__ */ new Set([
4
- // vivo pizza prod
5
- "business_6687e91fa7240b001ba3f4c2",
6
- // vivo dev
7
- "business_669a1d2efc050a001cfbb5a2"
8
- ]), b = /* @__PURE__ */ new Set([
9
- // vivo pizza prod
10
- "business_6687e91fa7240b001ba3f4c2",
11
- // vivo dev
12
- "business_669a1d2efc050a001cfbb5a2",
13
- // kfc dev
14
- "business_655b25254fe3be001b123f0b",
15
- // King Menu V4
16
- "business_646ee00ebffa92001b84c4c7"
17
- ]), l = /* @__PURE__ */ new Set([
18
- // kfc dev
19
- "business_655b25254fe3be001b123f0b",
20
- // zus dev
21
- "business_671005de24a7f4001c87e25e"
22
- ]), m = /* @__PURE__ */ new Set([
23
- // kfc dev
24
- "business_655b25254fe3be001b123f0b",
25
- // zus dev
26
- "business_671005de24a7f4001c87e25e"
27
- ]), S = /* @__PURE__ */ new Set([
28
- // zus dev
29
- "business_671005de24a7f4001c87e25e"
30
- ]), h = () => ({
31
- get businessDbName() {
32
- var n;
33
- return `business_${((n = t().currentBusiness.value) == null ? void 0 : n._id) ?? ""}`;
34
- },
35
- get isWarehouse() {
36
- var e;
37
- return ((e = o()._currentLocation) == null ? void 0 : e.type) === a.warehouse;
38
- },
39
- get restaurantPosVersion() {
40
- var n;
41
- const s = o();
42
- return (n = t().restaurants.value.find(
43
- (u) => {
44
- var r;
45
- return u._id === ((r = s._currentLocation) == null ? void 0 : r.doc._id);
46
- }
47
- )) == null ? void 0 : n.posVersion;
48
- },
49
- get enableTotalCost() {
50
- var e;
51
- return ((e = t().currentBusiness.value) == null ? void 0 : e.menuVersion) === "v4";
52
- },
53
- get enableBackdatePo() {
54
- const s = i();
55
- return b.has(this.businessDbName) && (this.isWarehouse || s.state.closing !== null);
56
- },
57
- get autoReceiveWarehouse() {
58
- return this.isWarehouse ? !this.manualReceive : !1;
59
- },
60
- get manualReceive() {
61
- var e;
62
- return (
63
- // if menu v4, must manual receive && must use outlet app
64
- ((e = t().currentBusiness.value) == null ? void 0 : e.menuVersion) === "v4" && // more guard for businesses using menu v4, only those listed for manual receive will be included
65
- // TODO: may be removed to use menu version only
66
- c.has(this.businessDbName)
67
- );
68
- },
69
- get enablePoTemplate() {
70
- var e;
71
- const s = t();
72
- return ((e = s.currentBusiness.value) == null ? void 0 : e.menuVersion) === "v4" && s.namespace.value === "dev";
73
- },
74
- get enableSupplierMasterList() {
75
- var e;
76
- const s = t();
77
- return ((e = s.currentBusiness.value) == null ? void 0 : e.menuVersion) === "v4" && s.namespace.value === "dev";
78
- },
79
- get mustUsePoTemplate() {
80
- const s = t();
81
- return l.has(this.businessDbName) && s.namespace.value === "dev";
82
- },
83
- get mustUseDefaultCost() {
84
- return m.has(this.businessDbName);
85
- },
86
- get businessSupplierOnly() {
87
- return S.has(this.businessDbName);
88
- }
89
- });
90
- export {
91
- h as u
92
- };