@feedmepos/mf-inventory-portal 1.3.16-dev.2 → 1.3.16
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-BckRpjrE.js → App-JcVy7z89.js} +4 -4
- package/dist/{ApprovalView-C5rVI_O7.js → ApprovalView-TTCe-eqc.js} +7 -7
- package/dist/{BindingsDialog-Y530TN7D.js → BindingsDialog-lrqjnmk3.js} +2 -2
- package/dist/{BindingsPicker-BbQ9Ygep.js → BindingsPicker-B_ks2aoD.js} +2 -2
- package/dist/{BindingsTable-ClHmMFLP.js → BindingsTable-BTzb7bl6.js} +3 -3
- package/dist/{ClosingDraftView-Dn16j97_.js → ClosingDraftView-CT3BYmhy.js} +14 -14
- package/dist/{ClosingHistoryView-BK7KJbbf.js → ClosingHistoryView-D22YN948.js} +5 -5
- package/dist/{ClosingTemplateView-D2petgop.js → ClosingTemplateView-DWZlbRNR.js} +14 -14
- package/dist/{DefaultView-CdCpGT5n.js → DefaultView-B55cXPDQ.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-C_S4SG8h.js → DeliveryOrderPrintPreview-C2OsEmYL.js} +2 -2
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-vYqITtJe.js +188 -0
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-q8fQfbEV.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-C2VqHIzn.js} +2 -2
- package/dist/{FmMultiselectDialog-BEkAAZZp.js → FmMultiselectDialog-Bf5LoETU.js} +2 -2
- package/dist/{FmMultiselectDialog-6JADZ5xC.js → FmMultiselectDialog-CtqcYKez.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-kaW8FwP5.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D0fbjDen.js} +5 -6
- package/dist/{ImportView-D8i5_GO9.js → ImportView-C6VMwns6.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-baV8qK0P.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-Bbp6FwaC.js} +1 -1
- package/dist/{IngredientGroupView-BiqFuJx0.js → IngredientGroupView-Cq6HSE9I.js} +5 -5
- package/dist/{IngredientsView-CQHobUvF.js → IngredientsView-g_VlbWO3.js} +15 -15
- package/dist/{IntegrationExplorerView-BFbGH5-S.js → IntegrationExplorerView-CuLRbx45.js} +5 -5
- package/dist/{IntegrationView-UF8UwPNk.js → IntegrationView-Deu36yy_.js} +13 -13
- package/dist/{InventoryBindingForm-DB4LwgzC.js → InventoryBindingForm-BY9a4LbA.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Dc0sxYMV.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BDS8xAAy.js} +5 -5
- package/dist/{InventoryBindingSummary-Bwn4HZy5.js → InventoryBindingSummary-wRACZM3H.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BvBOo5wi.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Cln33pev.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-D2wiVygJ.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Bhubwroc.js} +1 -1
- package/dist/{PublishView-BFac9M5C.js → PublishView-Bz4DwRln.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-tree07u5.js → PurchaseOrderPrintPreview-CwMUlAzW.js} +2 -2
- package/dist/{ReceiveRequestView-DLERk28I.js → ReceiveRequestView-jzKL7wwc.js} +29 -30
- package/dist/RecipeView-DhSB9pz6.js +1692 -0
- package/dist/{SettingsView-BWw7AhqT.js → SettingsView-BGK8xDQj.js} +4 -4
- package/dist/{StockView-D0wW54eN.js → StockView-D_1M2j2H.js} +19 -19
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Btor1W6X.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DmAHd2Ma.js} +1 -1
- package/dist/{SupplierView-Bd_PLuYt.js → SupplierView-_HVROcl0.js} +12 -12
- package/dist/{SurchargeView-F1B_fcv-.js → SurchargeView-C9uFLUHz.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-95m2qnoM.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-DDq5fRab.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DHKDRFgr.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DDgl-JA-.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BC0PNCtM.js → TransferDetails.vue_vue_type_script_setup_true_lang-CIs8k2X-.js} +20 -20
- package/dist/{TransferTemplateView-DM8qOCpO.js → TransferTemplateView-f2jqyWDC.js} +19 -20
- package/dist/{UnitCostHistoryView-Bzocbij3.js → UnitCostHistoryView-CDRVItD5.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-BDzz91rl.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-DvHmw68v.js} +4 -4
- package/dist/{UnitView-EndrhMnI.js → UnitView-B-4VmAZ1.js} +7 -7
- package/dist/{WarehouseView-BJZELae1.js → WarehouseView-DTuDf6uX.js} +5 -5
- package/dist/{WastageTemplateView-s6ZiQR8E.js → WastageTemplateView-CNbBRdic.js} +14 -14
- package/dist/{app-CaGW5ogt.js → app-DAjgWaIt.js} +566 -694
- package/dist/app.d.ts +0 -126
- package/dist/app.js +1 -1
- package/dist/{closing-template-CUgXd6Na.js → closing-template-Cr5yjIGk.js} +1 -1
- package/dist/{date2-fQDP1Rtk.js → date2-Dc-LkH4Q.js} +1 -1
- package/dist/{dayjs.min-UwaUKDHA.js → dayjs.min-C6TKmoSA.js} +1 -1
- package/dist/{decimal-CKysiOcn.js → decimal-BiUxwHW1.js} +2 -2
- package/dist/{defineDeepModel-CwM7TJuT.js → defineDeepModel-DgkjK79L.js} +1 -1
- package/dist/{duplicate-template-Bb5b_40t.js → duplicate-template-D2C8HFBF.js} +1 -1
- package/dist/{export-nbyx5EYR.js → export-wJraMdL-.js} +1 -1
- package/dist/{feature-Dqme8-Xr.js → feature-DDNuIU5x.js} +2 -2
- package/dist/{format-time-from-id-DsRN_JB-.js → format-time-from-id-CZFp1tYB.js} +1 -1
- package/dist/{format-unit-display-Df1v6CMC.js → format-unit-display-TmmuJhva.js} +11 -11
- package/dist/{import-export.helper-QInnTLhY.js → import-export.helper-CvnY5IpI.js} +6 -6
- package/dist/{index-CbwjQK_M.js → index-BjGCVl4C.js} +1 -1
- package/dist/{index-BCwp1fKe.js → index-CSQXsQbV.js} +3 -3
- package/dist/{index-Cij7rBSm.js → index-DhLglBIu.js} +1 -1
- package/dist/{inventory-core-dart.default-Bgq3Sd7C.js → inventory-core-dart.default-Cy3rCrre.js} +1 -1
- package/dist/{lodash-B15PREHg.js → lodash-BqVoI4i-.js} +1 -1
- package/dist/{lz-string-DdnEcXDA.js → lz-string-CCV8vJiL.js} +1 -1
- package/dist/{netsuite-NcBlI9QO.js → netsuite-Fuewxz8C.js} +3 -3
- package/dist/{number-DQ-rkxYN.js → number-TlKuaioM.js} +3 -3
- package/dist/{predefined-templates-zYAuXO9-.js → predefined-templates-DwR19gNy.js} +1 -1
- package/dist/{purchase-order-template-DcoKKoiW.js → purchase-order-template-DAkHu-9-.js} +1 -1
- package/dist/{recalculationUtils-MW6hf5oz.js → recalculationUtils-blkN0S5G.js} +1 -1
- package/dist/{rules-CxC7ePEb.js → rules-BT_bX_zP.js} +2 -2
- package/dist/{stock-Bqk5_C4b.js → stock-D9jClHC1.js} +3 -3
- package/dist/{stock-Bly2vXJq.js → stock-Do-AQ1Rj.js} +1 -1
- package/dist/{supplier-B0yIc028.js → supplier-DI8witR9.js} +2 -2
- package/dist/{surcharge-BZa9y16I.js → surcharge-CLd8VHwX.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-BGPPfGO-.js → use-ingredient-select-dialog-CKFmldHx.js} +2 -2
- package/dist/{use-inventory-binding-dialog-DUsjKdNr.js → use-inventory-binding-dialog-eMJtDSHG.js} +2 -2
- package/dist/{use-template-enabled-locations-D2EWKhWK.js → use-template-enabled-locations-CEeVrUI2.js} +2 -2
- package/dist/{useHrmPermission-BZSfcBwi.js → useHrmPermission-C1l7OOr5.js} +1 -1
- package/dist/{useNavigationMenu-C7F5h-H5.js → useNavigationMenu-DAk6M_hW.js} +2 -2
- package/dist/{vue-i18n-BuXEP0EQ.js → vue-i18n-CdJcBjBL.js} +493 -493
- package/dist/{xlsx-C0BSmeBh.js → xlsx-CWLyQh30.js} +1 -1
- package/dist/{xlsx.util-CyLHh8k-.js → xlsx.util-DXzmppo9.js} +1 -1
- package/package.json +5 -5
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-GT5YUrJz.js +0 -76
- package/dist/RecipeView-DDgN0DkI.js +0 -2898
- package/dist/use-transfer-locations-BRQbfZYI.js +0 -116
- package/dist/views/recipe/components/recipe-bulk-editor/RecipeBulkEditorDialog.vue.d.ts +0 -19
- package/dist/views/recipe/components/recipe-bulk-editor/RecipeBulkEditorQueryStep.vue.d.ts +0 -2
- package/dist/views/recipe/components/recipe-bulk-editor/RecipeBulkEditorSummaryStep.vue.d.ts +0 -2
- package/dist/views/recipe/composables/use-recipe-bulk-editor.d.ts +0 -634
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { u as w, r as l, Q as R, W as g } from "./app-CaGW5ogt.js";
|
|
2
|
-
import { u as E } from "./supplier-B0yIc028.js";
|
|
3
|
-
import { computed as u } from "vue";
|
|
4
|
-
function d(o) {
|
|
5
|
-
const c = g.safeParse(o);
|
|
6
|
-
if (c.success) return c.data;
|
|
7
|
-
throw new Error("Invalid supplier data");
|
|
8
|
-
}
|
|
9
|
-
function _(o) {
|
|
10
|
-
return {
|
|
11
|
-
_id: o.doc._id,
|
|
12
|
-
internal: o.type,
|
|
13
|
-
contactName: o.doc.profile.name,
|
|
14
|
-
name: o.doc.profile.name ?? "",
|
|
15
|
-
email: o.doc.profile.email,
|
|
16
|
-
phoneNumber: o.doc.profile.phoneNo,
|
|
17
|
-
registrationNumber: o.doc.profile.regNo,
|
|
18
|
-
address: o.doc.profile.address ?? {
|
|
19
|
-
line1: "",
|
|
20
|
-
state: "",
|
|
21
|
-
city: "",
|
|
22
|
-
postcode: "",
|
|
23
|
-
country: ""
|
|
24
|
-
},
|
|
25
|
-
preparationTime: o.preparationTime
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
function F(o, c, v = !1, f = !1) {
|
|
29
|
-
const p = E(), r = w();
|
|
30
|
-
r.watchLocation(async () => {
|
|
31
|
-
var a;
|
|
32
|
-
await p.readSuppliers();
|
|
33
|
-
const e = o();
|
|
34
|
-
if ((a = e.supplier) != null && a._id) return;
|
|
35
|
-
const s = f ? p.suppliers[0] : p.businessSuppliers[0], n = (v ? r.locations.filter((i) => i.doc._id !== r.currentLocation.doc._id) : r.locations)[0];
|
|
36
|
-
c({
|
|
37
|
-
...e,
|
|
38
|
-
supplier: s ? d(s) : n ? _(n) : e.supplier
|
|
39
|
-
});
|
|
40
|
-
});
|
|
41
|
-
const y = u(
|
|
42
|
-
() => {
|
|
43
|
-
var e, s;
|
|
44
|
-
return typeof ((s = (e = o()) == null ? void 0 : e.supplier) == null ? void 0 : s.internal) == "string" ? l.enum.transfer : l.enum.purchase;
|
|
45
|
-
}
|
|
46
|
-
), h = u({
|
|
47
|
-
get() {
|
|
48
|
-
var e, s;
|
|
49
|
-
return (s = (e = o()) == null ? void 0 : e.supplier) == null ? void 0 : s._id;
|
|
50
|
-
},
|
|
51
|
-
set(e) {
|
|
52
|
-
const s = o() ?? {};
|
|
53
|
-
if (y.value === l.enum.purchase) {
|
|
54
|
-
const m = (f ? p.suppliers : p.businessSuppliers).find((N) => N._id === e);
|
|
55
|
-
c({
|
|
56
|
-
...s,
|
|
57
|
-
supplier: m ? d(m) : s.supplier
|
|
58
|
-
});
|
|
59
|
-
return;
|
|
60
|
-
}
|
|
61
|
-
const a = (v ? r.allLocations.filter(
|
|
62
|
-
(i) => i.doc._id !== r.currentLocation.doc._id
|
|
63
|
-
) : r.allLocations).find((i) => i.doc._id === e);
|
|
64
|
-
c({
|
|
65
|
-
...s,
|
|
66
|
-
supplier: a ? _(a) : s.supplier
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
}), L = u(() => p.locationSuppliers.map(d)), T = u(() => p.businessSuppliers.map(d)), S = u(() => {
|
|
70
|
-
const e = [...L.value], s = [...T.value];
|
|
71
|
-
return f ? [...s, ...e] : s;
|
|
72
|
-
}), b = u(() => {
|
|
73
|
-
var t;
|
|
74
|
-
const e = ((t = r._currentLocation) == null ? void 0 : t.type) === R.warehouse;
|
|
75
|
-
return (v ? r.allLocations.filter(
|
|
76
|
-
(n) => n.doc._id !== r.currentLocation.doc._id
|
|
77
|
-
) : r.allLocations).filter((n) => e || n.acceptRequest).map(_);
|
|
78
|
-
}), O = u(() => {
|
|
79
|
-
if (y.value === l.enum.purchase) {
|
|
80
|
-
const s = L.value.map((n) => ({
|
|
81
|
-
label: n.name,
|
|
82
|
-
value: n._id
|
|
83
|
-
})), t = T.value.map((n) => ({
|
|
84
|
-
label: n.name,
|
|
85
|
-
sublabel: "Business supplier",
|
|
86
|
-
value: n._id
|
|
87
|
-
}));
|
|
88
|
-
return f ? [...s, ...t] : t;
|
|
89
|
-
}
|
|
90
|
-
return b.value.map((s) => ({
|
|
91
|
-
label: s.name,
|
|
92
|
-
sublabel: s.internal ? `${s.internal}` : void 0,
|
|
93
|
-
value: s._id
|
|
94
|
-
}));
|
|
95
|
-
}), P = u(() => {
|
|
96
|
-
var n, a;
|
|
97
|
-
const e = (a = (n = o()) == null ? void 0 : n.supplier) == null ? void 0 : a._id;
|
|
98
|
-
if (y.value === l.enum.purchase) {
|
|
99
|
-
const i = p.suppliers.find((m) => m._id === e);
|
|
100
|
-
return i ? d(i) : null;
|
|
101
|
-
}
|
|
102
|
-
const t = r.allLocations.find((i) => i.doc._id);
|
|
103
|
-
return t ? _(t) : null;
|
|
104
|
-
});
|
|
105
|
-
return {
|
|
106
|
-
transferLocationModel: h,
|
|
107
|
-
transferLocationOptions: O,
|
|
108
|
-
locationOptionsTypePurchase: S,
|
|
109
|
-
locationOptionsTypePurchaseLocationLevel: L,
|
|
110
|
-
locationOptionsTypeTransfer: b,
|
|
111
|
-
selectedLocation: P
|
|
112
|
-
};
|
|
113
|
-
}
|
|
114
|
-
export {
|
|
115
|
-
F as u
|
|
116
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
-
show?: boolean | undefined;
|
|
3
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
-
"update:show": (value: boolean) => void;
|
|
5
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
-
show?: boolean | undefined;
|
|
7
|
-
}>>> & Readonly<{
|
|
8
|
-
"onUpdate:show"?: ((value: boolean) => any) | undefined;
|
|
9
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
|
-
export default _default;
|
|
11
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
-
} : {
|
|
16
|
-
type: import('vue').PropType<T[K]>;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
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;
|
package/dist/views/recipe/components/recipe-bulk-editor/RecipeBulkEditorSummaryStep.vue.d.ts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
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;
|