@feedmepos/mf-inventory-portal 1.2.7-dev.3 → 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-JINYgYlH.js → App-D-KXb_V4.js} +1 -1
- package/dist/{ApprovalView-BOVW2i8o.js → ApprovalView-CsKOxurA.js} +26 -26
- package/dist/{BindingsDialog-BKGLpdd-.js → BindingsDialog-kjERSnxa.js} +2 -2
- package/dist/{BindingsPicker-Tml6Oxod.js → BindingsPicker-EVKOOG5B.js} +1 -1
- package/dist/{BindingsTable-DixFHTyC.js → BindingsTable-B1JqtkAz.js} +1 -1
- package/dist/{ClosingDraftView-nYSugXo0.js → ClosingDraftView-DHMT4v-d.js} +203 -203
- package/dist/{ClosingTemplateView-C-gfh6s5.js → ClosingTemplateView-BOkJvuFp.js} +53 -53
- package/dist/{DeliveryOrderPrintPreview-BM9ZkrEw.js → DeliveryOrderPrintPreview-CPKPeJQI.js} +9 -9
- package/dist/{FmAdminBadge-CiWXN0lw.js → FmAdminBadge-pU1X5Yn4.js} +6 -6
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Dn_c22ms.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BqmttydS.js} +21 -21
- package/dist/{FmMultiselectDialog-Bvekm8TI.js → FmMultiselectDialog-CwqvhCpx.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-D62ZdWwZ.js → FmUnitInput.vue_vue_type_script_setup_true_lang-Dbej6KBu.js} +27 -27
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BudJCuVV.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-XjYJ03c6.js} +1 -1
- package/dist/{IngredientGroupView-DTQzZBKp.js → IngredientGroupView-Dj1wbUXi.js} +12 -12
- package/dist/IngredientsView-B7AKdwz5.js +2194 -0
- package/dist/{IntegrationView-CN6amPy_.js → IntegrationView-Dyb-shZZ.js} +84 -84
- package/dist/{InventoryBindingForm-Dl9n2GJn.js → InventoryBindingForm-8Mo0N4ti.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-4N9XvkmZ.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-3Q8zHn_i.js} +41 -41
- package/dist/{InventoryBindingSummary-eAPN3X_L.js → InventoryBindingSummary-B9-I5Jo_.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CSp3zFJ3.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-8vhGMGrt.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-D2L9cWwt.js → PremiumBadge.vue_vue_type_script_setup_true_lang-B-wDdcG4.js} +5 -5
- package/dist/{PublishView-BzN2wu_M.js → PublishView-BsTvJ-rb.js} +17 -17
- package/dist/{PurchaseOrderPrintPreview-BR40N-ew.js → PurchaseOrderPrintPreview-B4S020Dy.js} +9 -9
- package/dist/{ReceiveRequestView-DtYFO3Wi.js → ReceiveRequestView-BpH2TvAE.js} +80 -80
- package/dist/{RecipeView-DlK-VV0_.js → RecipeView-CnE96AES.js} +49 -49
- package/dist/StockView-DSxsDKW2.js +2101 -0
- package/dist/SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Bc0fwGq2.js +158 -0
- package/dist/{SupplierView-Cs8-A2B0.js → SupplierView-Cv-FJVM7.js} +1103 -1016
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-Dzm9Q3SP.js → TransferDetails.vue_vue_type_script_setup_true_lang-DDnhftMb.js} +6 -6
- package/dist/{TransferTemplateView-DlzKEqem.js → TransferTemplateView-CpguVi60.js} +88 -87
- package/dist/{UnitView-BsYiE8aM.js → UnitView-CbtWqtXO.js} +59 -59
- package/dist/{WarehouseView-DIW3iPB6.js → WarehouseView-JYKSCpwD.js} +25 -25
- package/dist/api/netsuite.d.ts +3 -0
- package/dist/api/purchase-order-template.d.ts +1 -0
- package/dist/{app-Bszzf6y-.js → app-CoQo_jq8.js} +2401 -2294
- package/dist/app.d.ts +57 -0
- package/dist/app.js +3 -3
- package/dist/components/FmInventoryTableToolbar.vue.d.ts +9 -2
- package/dist/components/SubsidiaryTreeDialog.vue.d.ts +2 -0
- package/dist/{decimal-BoNXDQoB.js → decimal-IHcKpXSH.js} +1 -1
- package/dist/{format-unit-display-Dbabkv1O.js → format-unit-display-I8vKcqcG.js} +368 -400
- package/dist/{index-Dk2QEFDL.js → index-C5WsQ8SM.js} +1 -1
- package/dist/{index-DlhdJ3A4.js → index-Dr4zDNEV.js} +1 -1
- package/dist/purchase-order-template-R8t_fJYZ.js +41 -0
- package/dist/{stock-BXV3de2I.js → stock-BRaT53YB.js} +1 -1
- package/dist/stores/integration/netsuite.d.ts +19 -0
- package/dist/{supplier-CKKYVzDf.js → supplier-C6KmsrC2.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-DEmxBaQb.js → use-ingredient-select-dialog-DkjF8Xtg.js} +5 -5
- package/dist/{use-inventory-binding-dialog-DCN0J-F8.js → use-inventory-binding-dialog-mzDIl-dW.js} +8 -8
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +16 -0
- package/dist/views/ingredients/components/ingredient-form/IngredientFormProps.d.ts +4 -0
- package/dist/views/integration/components/netsuite/business/BusinessNetSuiteSideSheet.vue.d.ts +2 -0
- package/dist/views/supplier/components/SupplierSupplyItemField.vue.d.ts +3 -0
- package/package.json +2 -2
- package/dist/IngredientsView-DOUCnkCT.js +0 -1886
- package/dist/StockForecast.vue_vue_type_style_index_0_lang-KLXSWvo5.js +0 -59
- package/dist/StockView-B4acF5it.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
|
-
};
|