@feedmepos/mf-inventory-portal 1.2.7-dev.4 → 1.2.7-dev.5
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-C36fMhxq.js → App-D-KXb_V4.js} +1 -1
- package/dist/{ApprovalView-BK-UXBwv.js → ApprovalView-CsKOxurA.js} +2 -2
- package/dist/{BindingsDialog-C5ry8Cg7.js → BindingsDialog-kjERSnxa.js} +2 -2
- package/dist/{BindingsPicker-D1lrIB-Y.js → BindingsPicker-EVKOOG5B.js} +1 -1
- package/dist/{BindingsTable-CoWyge2-.js → BindingsTable-B1JqtkAz.js} +1 -1
- package/dist/{ClosingDraftView-FFi85ylu.js → ClosingDraftView-DHMT4v-d.js} +2 -2
- package/dist/{ClosingTemplateView-BvSH7TM0.js → ClosingTemplateView-BOkJvuFp.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-BVVWnadB.js → DeliveryOrderPrintPreview-CPKPeJQI.js} +1 -1
- package/dist/{FmAdminBadge-DtBVrN_M.js → FmAdminBadge-pU1X5Yn4.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CSigrMC2.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BqmttydS.js} +3 -3
- package/dist/{FmMultiselectDialog-Df50mxnw.js → FmMultiselectDialog-CwqvhCpx.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-CdSQVfaU.js → FmUnitInput.vue_vue_type_script_setup_true_lang-Dbej6KBu.js} +1 -1
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-A7Pgq3Sl.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-XjYJ03c6.js} +1 -1
- package/dist/{IngredientGroupView-BVM3Um9Z.js → IngredientGroupView-Dj1wbUXi.js} +2 -2
- package/dist/IngredientsView-B7AKdwz5.js +2194 -0
- package/dist/{IntegrationView-DEUOEn_W.js → IntegrationView-Dyb-shZZ.js} +4 -4
- package/dist/{InventoryBindingForm-C2HvBwlT.js → InventoryBindingForm-8Mo0N4ti.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CXJSFCLP.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-3Q8zHn_i.js} +3 -3
- package/dist/{InventoryBindingSummary-B-V9QkyH.js → InventoryBindingSummary-B9-I5Jo_.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BELqcyvD.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-8vhGMGrt.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BBE5_txM.js → PremiumBadge.vue_vue_type_script_setup_true_lang-B-wDdcG4.js} +1 -1
- package/dist/{PublishView-DKkCs9F8.js → PublishView-BsTvJ-rb.js} +1 -1
- package/dist/{PurchaseOrderPrintPreview-BvFR-uQk.js → PurchaseOrderPrintPreview-B4S020Dy.js} +1 -1
- package/dist/{ReceiveRequestView-BIrBMqdY.js → ReceiveRequestView-BpH2TvAE.js} +8 -8
- package/dist/{RecipeView-CI_Tec4J.js → RecipeView-CnE96AES.js} +3 -3
- package/dist/StockView-DSxsDKW2.js +2101 -0
- package/dist/SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Bc0fwGq2.js +158 -0
- package/dist/{SupplierView-BT2aZGQE.js → SupplierView-Cv-FJVM7.js} +4 -4
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-DWdnLRCB.js → TransferDetails.vue_vue_type_script_setup_true_lang-DDnhftMb.js} +6 -6
- package/dist/{TransferTemplateView-DQtlCFze.js → TransferTemplateView-CpguVi60.js} +7 -7
- package/dist/{UnitView-h61yFjgP.js → UnitView-CbtWqtXO.js} +3 -3
- package/dist/{WarehouseView-I8GqyD2C.js → WarehouseView-JYKSCpwD.js} +1 -1
- package/dist/{app-CxSrmhCK.js → app-CoQo_jq8.js} +1152 -1142
- package/dist/app.js +1 -1
- package/dist/{decimal-DpfcXNky.js → decimal-IHcKpXSH.js} +1 -1
- package/dist/{format-unit-display-xov4MvuI.js → format-unit-display-I8vKcqcG.js} +3 -3
- package/dist/{index-CwzV_5fz.js → index-C5WsQ8SM.js} +1 -1
- package/dist/{index-B4hWNXtZ.js → index-Dr4zDNEV.js} +1 -1
- package/dist/{purchase-order-template-DkBl6qMP.js → purchase-order-template-R8t_fJYZ.js} +1 -1
- package/dist/{stock-Nt176YY7.js → stock-BRaT53YB.js} +1 -1
- package/dist/stores/integration/netsuite.d.ts +12 -3
- package/dist/{supplier-B7gAUwhb.js → supplier-C6KmsrC2.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-9HkEvXXS.js → use-ingredient-select-dialog-DkjF8Xtg.js} +1 -1
- package/dist/{use-inventory-binding-dialog-pSVgqxMM.js → use-inventory-binding-dialog-mzDIl-dW.js} +1 -1
- package/package.json +2 -2
- package/dist/IngredientsView-75ahXQeJ.js +0 -2271
- package/dist/StockForecast.vue_vue_type_style_index_0_lang-KLXSWvo5.js +0 -59
- package/dist/StockView-Bx3lqHZg.js +0 -2086
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { defineComponent as m, computed as p, openBlock as i, createElementBlock as l, createElementVNode as r, normalizeClass as c, toDisplayString as d, unref as f } from "vue";
|
|
2
|
-
import { useI18n as y } from "@feedmepos/mf-common";
|
|
3
|
-
function $(e, o = !1) {
|
|
4
|
-
var t;
|
|
5
|
-
return e ? [
|
|
6
|
-
{
|
|
7
|
-
label: o ? e.abbrev : `1 ${e.name} (${e.abbrev})`,
|
|
8
|
-
abbrev: e.abbrev,
|
|
9
|
-
value: null
|
|
10
|
-
},
|
|
11
|
-
...((t = e.measurements) == null ? void 0 : t.map((n) => ({
|
|
12
|
-
label: o ? n.abbrev : `1 ${n.name} (${n.abbrev})`,
|
|
13
|
-
abbrev: n.abbrev,
|
|
14
|
-
value: n.id
|
|
15
|
-
}))) ?? []
|
|
16
|
-
] : [];
|
|
17
|
-
}
|
|
18
|
-
var a = /* @__PURE__ */ ((e) => (e.noInfo = "no-info", e.low = "low", e.mid = "mid", e.high = "high", e))(a || {});
|
|
19
|
-
const u = {
|
|
20
|
-
key: 0,
|
|
21
|
-
class: "flex"
|
|
22
|
-
}, b = {
|
|
23
|
-
key: 1,
|
|
24
|
-
class: "flex"
|
|
25
|
-
}, v = { class: "flex px-8 py-4 bg-fm-color-neutral-gray-100 fm-corner-radius-md gap-8" }, _ = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, k = /* @__PURE__ */ m({
|
|
26
|
-
__name: "StockForecast",
|
|
27
|
-
props: {
|
|
28
|
-
days: {},
|
|
29
|
-
level: {}
|
|
30
|
-
},
|
|
31
|
-
setup(e) {
|
|
32
|
-
const o = e, { t: s } = y(), t = p(() => o.level ? o.level : typeof o.days != "number" ? a.noInfo : o.days > 14 ? a.high : o.days >= 7 && o.days <= 14 ? a.mid : a.low);
|
|
33
|
-
return (n, g) => typeof o.days == "number" ? (i(), l("div", u, [
|
|
34
|
-
r("div", {
|
|
35
|
-
class: c([
|
|
36
|
-
`fm-forecast-notification-${t.value}`,
|
|
37
|
-
"flex items-center gap-8 p-4 fm-corner-radius-md fm-typo-en-body-md-600"
|
|
38
|
-
])
|
|
39
|
-
}, [
|
|
40
|
-
r("div", {
|
|
41
|
-
class: c([
|
|
42
|
-
"fm-forecast-notification-indicator",
|
|
43
|
-
`fm-forecast-notification-indicator-${t.value}`
|
|
44
|
-
])
|
|
45
|
-
}, null, 2),
|
|
46
|
-
r("div", null, d(f(s)("inventory.stock.prediction.days", [o.days])), 1)
|
|
47
|
-
], 2)
|
|
48
|
-
])) : (i(), l("div", b, [
|
|
49
|
-
r("div", v, [
|
|
50
|
-
r("p", _, d(f(s)("inventory.stock.prediction.noData")), 1)
|
|
51
|
-
])
|
|
52
|
-
]));
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
export {
|
|
56
|
-
a as S,
|
|
57
|
-
k as _,
|
|
58
|
-
$ as g
|
|
59
|
-
};
|