@feedmepos/mf-inventory-portal 1.0.7-dev.1 → 1.0.7
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-zspCOQeF.js → App-DF14rGlK.js} +49 -50
- package/dist/{ApprovalView-CKJV87es.js → ApprovalView-C_xhq-_c.js} +24 -24
- package/dist/{BindingsDialog-CTmuzAWi.js → BindingsDialog-CCY1fDj8.js} +4 -4
- package/dist/{BindingsPicker-Dabonsov.js → BindingsPicker-CnXbK5O3.js} +6 -6
- package/dist/{BindingsTable-L0yzAoQq.js → BindingsTable-cQIUUuVv.js} +8 -8
- package/dist/{ClosingDraftView-CddxqfNi.js → ClosingDraftView-DUZ31x3s.js} +463 -464
- package/dist/{ClosingTemplateView-BsW-nPec.js → ClosingTemplateView-6ysEDEcV.js} +10 -10
- package/dist/{DeliveryOrderPrintPreview-DQ4msDpJ.js → DeliveryOrderPrintPreview-BGjFS8h7.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-TnVI2vdF.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CanJ2fzb.js} +32 -32
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BRvXmLV6.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BcKtJQMt.js} +86 -86
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BHLx7Lbo.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-Bb9xMoX-.js} +1 -1
- package/dist/{IngredientGroupView-CF2GLMSD.js → IngredientGroupView-i08KHlW7.js} +11 -11
- package/dist/{IngredientsView-DopQVz7u.js → IngredientsView-D0tBukwK.js} +14 -15
- package/dist/{IntegrationView-EnD2l7af.js → IntegrationView-BqCrKL13.js} +85 -86
- package/dist/{InventoryBindingForm-VP2_coNH.js → InventoryBindingForm-BJwIFQVS.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-dQF7h_Jp.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DU9j1Q8M.js} +27 -27
- package/dist/{InventoryBindingSummary-BCEXzmFu.js → InventoryBindingSummary-B2M3Th8T.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-RfkBlwxw.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BH4A_Lc5.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CGgxjz4P.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CdxCyEBi.js} +10 -10
- package/dist/{PublishView-ExvxeKR_.js → PublishView-B9x92vDM.js} +7 -7
- package/dist/{PurchaseOrderPrintPreview-59AaXtZ_.js → PurchaseOrderPrintPreview-MbGDNmgh.js} +4 -4
- package/dist/{ReceiveRequestView-BxGss8gu.js → ReceiveRequestView-CTNycYUr.js} +52 -53
- package/dist/{RecipeView-BqTsG4xX.js → RecipeView-sHTcJgzP.js} +32 -32
- package/dist/{StockView-D-WvydHv.js → StockView-CUv4dcGJ.js} +72 -73
- package/dist/{SupplierView-C6ruAEih.js → SupplierView-hu6OhDss.js} +11 -12
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CCKlQGMf.js +1746 -0
- package/dist/{TransferTemplateView-qSA3Txpn.js → TransferTemplateView-DMSkUc0D.js} +290 -291
- package/dist/{UnitView-oHDOLM8k.js → UnitView-B5q7IVbT.js} +23 -23
- package/dist/{WarehouseView-C3EqYfCf.js → WarehouseView-Ds6z4Vz6.js} +26 -26
- package/dist/api/bill.d.ts +2 -2
- package/dist/api/food-market-hub.d.ts +1 -1
- package/dist/api/inventory.d.ts +44 -44
- package/dist/api/netsuite.d.ts +3 -3
- package/dist/api/purchase-order.d.ts +1 -5
- package/dist/{app-DqrcGlGd.js → app-BmsY87Mv.js} +17641 -17171
- package/dist/app.d.ts +7 -7
- package/dist/app.js +1 -1
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +8 -8
- package/dist/components/shell/inventory/binding-dialog.vue.d.ts +2 -2
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +5 -5
- package/dist/{decimal-rgCB5DGy.js → decimal-Baw9w4_A.js} +1 -1
- package/dist/{format-unit-display-DUWzu8vU.js → format-unit-display-D0_KiU3j.js} +60 -60
- package/dist/{index-YgIaxVhw.js → index-CDydl7WA.js} +1 -1
- package/dist/{index-CH3OzDYK.js → index-C_GU5Tc8.js} +6 -7
- package/dist/{stock-BPNYXwz1.js → stock-C-hm8Kdq.js} +1 -1
- package/dist/stores/feature.d.ts +20 -3
- package/dist/stores/integration/foodmarkethub.d.ts +1 -1
- package/dist/stores/integration/netsuite.d.ts +7 -7
- package/dist/stores/inventory.d.ts +44 -44
- package/dist/stores/location.d.ts +137 -137
- package/dist/{supplier-CnrH580K.js → supplier-RX_yr24c.js} +4 -4
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-CpnJoeWb.js → use-ingredient-select-dialog-BZhczMUl.js} +1 -1
- package/dist/{use-inventory-binding-dialog-DHvNwt_F.js → use-inventory-binding-dialog-dV-92pLe.js} +1 -1
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +228 -228
- package/dist/views/adjustment-template/wastage-template/form/WastageTemplateItemTable.vue.d.ts +2 -2
- package/dist/views/adjustment-template/wastage-template/form/useAdjustmentTemplateItems.d.ts +1 -1
- package/dist/views/adjustment-template/wastage-template/table.d.ts +234 -234
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +68 -68
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +408 -408
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +4 -4
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +252 -252
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +252 -252
- package/dist/views/ingredient-group/composables/use-ingredient-group-table.d.ts +12 -12
- package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +2 -2
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +8 -8
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +3 -3
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +4 -4
- package/dist/views/integration/components/ApplyProduct.vue.d.ts +2 -2
- package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +2 -2
- package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +2 -2
- package/dist/views/integration/components/netsuite/AddLocationDialog.vue.d.ts +204 -204
- package/dist/views/integration/components/netsuite/LocationConfigurationDialog.vue.d.ts +2 -2
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +647 -675
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +22 -22
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +44 -44
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +11 -11
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1146 -1194
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1170 -1218
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +2 -2
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +14 -14
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +22 -22
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +17 -17
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +11 -11
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +813 -813
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +813 -813
- package/dist/views/transfer-template/composables/useTransferTemplateHelper.d.ts +33 -33
- package/dist/{vue-i18n-4m7yAqU2.js → vue-i18n-sbHu6D5a.js} +426 -426
- package/package.json +3 -5
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CQ-Om_rI.js +0 -1894
- package/dist/composable/usePromise.d.ts +0 -41
- package/dist/feature-CifIpcNk.js +0 -17345
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +0 -614
- package/dist/views/receive-request/constants/po-action-to-ui-style.d.ts +0 -6
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { defineComponent as Q, mergeModels as Bd, computed as I, useModel as Gd, resolveComponent as T, openBlock as S, createElementBlock as F, createElementVNode as g, createVNode as N, withCtx as k, toDisplayString as w, unref as f, Fragment as q, renderList as ee, ref as D, createBlock as j, createCommentVNode as K, isRef as Je, normalizeClass as J, createTextVNode as Hd, watch as Id, createSlots as jd, normalizeStyle as Kd, Teleport as Wd } from "vue";
|
|
2
|
-
import { u as re } from "./supplier-
|
|
3
|
-
import { b as Ie,
|
|
2
|
+
import { u as re } from "./supplier-RX_yr24c.js";
|
|
3
|
+
import { b as Ie, h as Yd, D as Qe, i as ie, f as _e, a as Fd, o as ed, p as dd, k as Xd, J as Zd, w as Od, u as pe, m as G, c as wd, e as V, r as Ad, s as zd, v as Td, x as qd, y as Jd, z as Qd, B as et, _ as dt, C as tt, E as rt, G as le } from "./app-BmsY87Mv.js";
|
|
4
4
|
import { useI18n as X, useCoreStore as Fe } from "@feedmepos/mf-common";
|
|
5
5
|
import { useDialog as Oe, useSnackbar as me, useProxiedModel as td, useDialogChild as nt, useBreakpoints as ot } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as at } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
|
|
7
|
-
import { _ as $t } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { u as Td } from "./feature-CifIpcNk.js";
|
|
7
|
+
import { _ as $t } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-BcKtJQMt.js";
|
|
9
8
|
import { defineStore as it } from "pinia";
|
|
10
9
|
function lt(e, d) {
|
|
11
10
|
const { t } = X(), r = Ie();
|
|
@@ -244,7 +243,7 @@ const st = { class: "flex flex-col gap-12" }, ut = { class: "flex flex-col" }, c
|
|
|
244
243
|
},
|
|
245
244
|
emits: ["update:modelValue", "validation-success"],
|
|
246
245
|
setup(e, { expose: d, emit: t }) {
|
|
247
|
-
const r = e, n = t, o =
|
|
246
|
+
const r = e, n = t, o = wd(), a = Fd(), i = I(() => Od(a.skus, "_id")), { t: l } = X(), u = pe(), p = I(() => u.businessLevel), y = I({
|
|
248
247
|
get() {
|
|
249
248
|
var s;
|
|
250
249
|
return ((s = r.modelValue) == null ? void 0 : s.name) ?? "";
|
|
@@ -2358,8 +2357,8 @@ function Y1() {
|
|
|
2358
2357
|
[],
|
|
2359
2358
|
a.map((y) => y.name),
|
|
2360
2359
|
...r.map((y) => a.map((c) => y[c.id]))
|
|
2361
|
-
], l = a.map((y) => `system:${y.id}`), u =
|
|
2362
|
-
return
|
|
2360
|
+
], l = a.map((y) => `system:${y.id}`), u = Ad(i, l), p = `${o == null ? void 0 : o.name} suppliers (${zd(/* @__PURE__ */ new Date())}).xlsx`;
|
|
2361
|
+
return Td(u, p), p;
|
|
2363
2362
|
}
|
|
2364
2363
|
function X1() {
|
|
2365
2364
|
const d = Fe().currentBusiness.value, t = Ud(), r = [
|
|
@@ -2368,8 +2367,8 @@ function X1() {
|
|
|
2368
2367
|
["Menu version", d == null ? void 0 : d.menuVersion],
|
|
2369
2368
|
[],
|
|
2370
2369
|
t.map((i) => i.name)
|
|
2371
|
-
], n = t.map((i) => `system:${i.id}`), o =
|
|
2372
|
-
return
|
|
2370
|
+
], n = t.map((i) => `system:${i.id}`), o = Ad(r, n), a = "FeedMe supplier template.xlsx";
|
|
2371
|
+
return Td(o, a), a;
|
|
2373
2372
|
}
|
|
2374
2373
|
function Z1(e) {
|
|
2375
2374
|
const [
|
|
@@ -2807,10 +2806,10 @@ const q1 = { class: "flex items-center gap-12 pl-8" }, J1 = { class: "flex flex-
|
|
|
2807
2806
|
}), mr = { class: "flex flex-col py-8" }, yr = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, vr = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, gr = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, hr = {
|
|
2808
2807
|
key: 0,
|
|
2809
2808
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
2810
|
-
}, br = "You are managing business-level supplier list. These suppliers will be made visible to all locations.",
|
|
2809
|
+
}, br = "You are managing business-level supplier list. These suppliers will be made visible to all locations.", Fr = /* @__PURE__ */ Q({
|
|
2811
2810
|
__name: "SupplierView",
|
|
2812
2811
|
setup(e) {
|
|
2813
|
-
const { importSuppliers: d, exportSuppliers: t } = pr(), r = re(), n = pe(), o =
|
|
2812
|
+
const { importSuppliers: d, exportSuppliers: t } = pr(), r = re(), n = pe(), o = wd(), a = Ie(), i = D(!1), l = Oe(), u = me(), { t: p } = X();
|
|
2814
2813
|
n.watchLocation(c);
|
|
2815
2814
|
const y = I(() => n.businessLevel);
|
|
2816
2815
|
Id(y, c);
|
|
@@ -3015,5 +3014,5 @@ const q1 = { class: "flex items-center gap-12 pl-8" }, J1 = { class: "flex flex-
|
|
|
3015
3014
|
}
|
|
3016
3015
|
});
|
|
3017
3016
|
export {
|
|
3018
|
-
|
|
3017
|
+
Fr as default
|
|
3019
3018
|
};
|