@feedmepos/mf-inventory-portal 1.2.24 → 1.2.25-dev.2
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-pG3igEbR.js +297 -0
- package/dist/{ApprovalView-D8SozxgZ.js → ApprovalView-JoTq2Bdf.js} +13 -13
- package/dist/{BindingsDialog-DpD-srnA.js → BindingsDialog-D44lDz_m.js} +2 -2
- package/dist/{BindingsPicker-TraPSRn0.js → BindingsPicker-BwaLwmiz.js} +1 -1
- package/dist/{BindingsTable-geCwbXg4.js → BindingsTable-C5y3yr5d.js} +1 -1
- package/dist/{ClosingDraftView-DsYJZvGk.js → ClosingDraftView-BxBEDZ8r.js} +5 -4
- package/dist/ClosingHistoryView-DU0Dv4IW.js +363 -0
- package/dist/{ClosingTemplateView-CHkzO1Nu.js → ClosingTemplateView-tigOzz56.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-skDykYOJ.js → DeliveryOrderPrintPreview-BSxjnk3a.js} +9 -9
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BgSCX-LL.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-eUMrmGD4.js} +21 -21
- package/dist/{FmMultiselectDialog-CDbPF9Jh.js → FmMultiselectDialog-s0EntbOX.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-CqDOpQBo.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DQuvByaf.js} +1 -1
- package/dist/{ImportView-CskoJZ8f.js → ImportView-D6c6oNby.js} +4 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-IrrYBFeM.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-Ko8B7MYK.js} +1 -1
- package/dist/{IngredientGroupView-RledP9Ba.js → IngredientGroupView-oCZpkxZO.js} +2 -2
- package/dist/{IngredientsView-C3AXdYSs.js → IngredientsView-C8WzhNAH.js} +7 -7
- package/dist/{IntegrationView-B_mGrVu5.js → IntegrationView-DD1QWlE3.js} +141 -141
- package/dist/{InventoryBindingForm-CAqsJlFM.js → InventoryBindingForm-ChoO3SrA.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-C3hmrMQB.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DXe0VwF9.js} +3 -3
- package/dist/{InventoryBindingSummary-CX05dIVw.js → InventoryBindingSummary-BGmUNPfu.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-wWuCVuRM.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DDXfvqWA.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BU0Npweo.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BwW92Whg.js} +1 -1
- package/dist/{PublishView-CfVJ65by.js → PublishView-CzS06kO-.js} +4 -4
- package/dist/{PurchaseOrderPrintPreview-DTsz2K_J.js → PurchaseOrderPrintPreview-YCg4lu_a.js} +10 -10
- package/dist/{ReceiveRequestView-CgJZis38.js → ReceiveRequestView-WjbYB-a0.js} +8 -8
- package/dist/{RecipeView-CLipp4YX.js → RecipeView-Cl4_vFBE.js} +3 -3
- package/dist/{StockView-BwZ2pl_P.js → StockView-dyF-JQbP.js} +18 -17
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-jmEYs9QV.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-B-fQRg6q.js} +1 -1
- package/dist/{SupplierView-BpwchJuw.js → SupplierView-BN_pPxS7.js} +4 -4
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CkkFDzSi.js → TransferDetails.vue_vue_type_script_setup_true_lang-DR9qQoBL.js} +174 -174
- package/dist/{TransferTemplateView-BoVhRHqn.js → TransferTemplateView-CSA2wNJR.js} +7 -7
- package/dist/{UnitView-DvOXmefs.js → UnitView-C69iwndm.js} +3 -3
- package/dist/{WarehouseView-CuSv-A_N.js → WarehouseView-BkSvBJg_.js} +1 -1
- package/dist/api/closing.d.ts +1 -0
- package/dist/api/stock.d.ts +2 -44
- package/dist/{app-Cl-v2EjQ.js → app-NmiyG_NE.js} +6561 -6389
- package/dist/app.d.ts +108 -0
- package/dist/app.js +1 -1
- package/dist/{decimal-Cd_xkdIL.js → decimal-B-SPLtwh.js} +1 -1
- package/dist/{format-unit-display-UAp-LCyp.js → format-unit-display-jXD4D_J4.js} +20 -20
- package/dist/{import-export.helper-0uVecFKH.js → import-export.helper-BOFJJxVC.js} +1 -1
- package/dist/{index-BO1KynNa.js → index-BvtleP-f.js} +1 -1
- package/dist/{index-CL9QvjgU.js → index-DY1lwU0l.js} +1 -1
- package/dist/{purchase-order-template-D7DZ6S2H.js → purchase-order-template-BNtdgrTt.js} +1 -1
- package/dist/router/name.d.ts +1 -0
- package/dist/stock-Basa-Xi7.js +74 -0
- package/dist/stock-F2A8gqHx.js +83 -0
- package/dist/stores/inventory.d.ts +1 -0
- package/dist/{supplier-D49_CDEa.js → supplier-CBUmza-i.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-CCLEsRrk.js → use-ingredient-select-dialog-ogRof947.js} +1 -1
- package/dist/{use-inventory-binding-dialog-CvRGlhsk.js → use-inventory-binding-dialog-D9P4uH3I.js} +1 -1
- package/dist/views/closing-history/ClosingHistoryView.vue.d.ts +2 -0
- package/dist/views/stock/components/dialog/RecalculationDialog.vue.d.ts +11 -0
- package/dist/views/stock/components/dialog/RecalculationDialogProps.d.ts +3 -0
- package/package.json +4 -4
- package/dist/App-hvbk1R9p.js +0 -286
- package/dist/stock-DJ9usOfe.js +0 -146
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as ee, computed as _, reactive as ne, resolveComponent as k, openBlock as r, createElementBlock as p, createVNode as y, withCtx as U, createElementVNode as n, toDisplayString as m, unref as i, createBlock as B, createCommentVNode as v, Fragment as E, renderList as C, nextTick as oe } from "vue";
|
|
2
|
-
import { a as te, a3 as le, bd as ie, n as h, be as T, a1 as G, a0 as se, F as de } from "./app-
|
|
3
|
-
import { u as re } from "./use-inventory-binding-dialog-
|
|
4
|
-
import { _ as ae, c as ue, d as me } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { a as te, a3 as le, bd as ie, n as h, be as T, a1 as G, a0 as se, F as de } from "./app-NmiyG_NE.js";
|
|
3
|
+
import { u as re } from "./use-inventory-binding-dialog-D9P4uH3I.js";
|
|
4
|
+
import { _ as ae, c as ue, d as me } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-DQuvByaf.js";
|
|
5
5
|
import { useI18n as ce } from "@feedmepos/mf-common";
|
|
6
6
|
const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-16" }, fe = { class: "flex items-center" }, ve = { class: "flex-1 fm-typo-en-title-sm-600" }, be = { class: "flex flex-col" }, ge = { class: "flex py-8 px-12 border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-100 h-[44px] items-center" }, _e = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, xe = { class: "flex flex-col w-full border-b border-fm-color-neutral-gray-100" }, he = {
|
|
7
7
|
class: "flex items-center",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as l, resolveComponent as m, openBlock as c, createBlock as d, h as g } from "vue";
|
|
2
2
|
import { useI18n as p } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as u } from "@feedmepos/ui-library";
|
|
4
|
-
import { F as r } from "./app-
|
|
4
|
+
import { F as r } from "./app-NmiyG_NE.js";
|
|
5
5
|
const w = /* @__PURE__ */ l({
|
|
6
6
|
__name: "InventoryBindingSummary",
|
|
7
7
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as V, computed as w, ref as h, watch as u, resolveComponent as i, openBlock as F, createBlock as g, withCtx as d, createVNode as A, createElementVNode as k, normalizeClass as K } from "vue";
|
|
2
|
-
import { a0 as s } from "./app-
|
|
2
|
+
import { a0 as s } from "./app-NmiyG_NE.js";
|
|
3
3
|
const _ = ["value", "disabled"], C = /* @__PURE__ */ V({
|
|
4
4
|
__name: "NumberPrecisionInput",
|
|
5
5
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aR as u, aS as _, aa as h, u as F } from "./app-NmiyG_NE.js";
|
|
2
2
|
import { useCoreStore as y } from "@feedmepos/mf-common";
|
|
3
3
|
import { ref as v, defineComponent as k, resolveComponent as l, openBlock as g, createElementBlock as S, renderSlot as x, createVNode as m, withCtx as O } from "vue";
|
|
4
4
|
function w(e, t) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as Q, ref as D, computed as c, watch as X, resolveComponent as l, openBlock as W, createBlock as z, unref as h, createSlots as Z, withCtx as u, createElementVNode as f, normalizeClass as ee, createVNode as a, normalizeStyle as te, Teleport as oe, h as g } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { aM as ne, u as ae, a as se, b7 as le, G as ie, I as re, ab as B } from "./app-NmiyG_NE.js";
|
|
3
3
|
import { useBreakpoints as ce, useDialog as ue, useSnackbar as me, components as H } from "@feedmepos/ui-library";
|
|
4
4
|
const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ye = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, ge = /* @__PURE__ */ Q({
|
|
5
5
|
__name: "PublishView",
|
|
@@ -169,18 +169,18 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
|
|
|
169
169
|
"list-row": u((r) => [
|
|
170
170
|
a(d, { row: r }, {
|
|
171
171
|
default: u((y) => {
|
|
172
|
-
var C, F, k, b,
|
|
172
|
+
var C, F, k, b, M, L, P, T, v, V;
|
|
173
173
|
return [
|
|
174
174
|
f("div", pe, [
|
|
175
175
|
f("div", de, [
|
|
176
176
|
a(p, {
|
|
177
177
|
render: (k = (F = (C = y.code) == null ? void 0 : C.column) == null ? void 0 : F.columnDef) == null ? void 0 : k.cell,
|
|
178
|
-
props: (
|
|
178
|
+
props: (M = (b = y.code) == null ? void 0 : b.getContext) == null ? void 0 : M.call(b)
|
|
179
179
|
}, null, 8, ["render", "props"])
|
|
180
180
|
]),
|
|
181
181
|
f("div", ye, [
|
|
182
182
|
a(p, {
|
|
183
|
-
render: (T = (P = (
|
|
183
|
+
render: (T = (P = (L = y.name) == null ? void 0 : L.column) == null ? void 0 : P.columnDef) == null ? void 0 : T.cell,
|
|
184
184
|
props: (V = (v = y.name) == null ? void 0 : v.getContext) == null ? void 0 : V.call(v)
|
|
185
185
|
}, null, 8, ["render", "props"])
|
|
186
186
|
])
|
package/dist/{PurchaseOrderPrintPreview-DTsz2K_J.js → PurchaseOrderPrintPreview-YCg4lu_a.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as b, computed as m, ref as x, onMounted as f, openBlock as u, createElementBlock as n, createElementVNode as t, toDisplayString as e, normalizeStyle as g, createTextVNode as i, Fragment as o, createCommentVNode as p, renderList as v } from "vue";
|
|
2
2
|
import { useRoute as w } from "vue-router";
|
|
3
|
-
import {
|
|
4
|
-
const A = { class: "purchase-box" }, C = { valign: "bottom" }, R = { class: "title" }, N = { class: "text-right" }, O = { class: "header" }, P = { class: "sub-header" }, D = { class: "caption" }, E = { class: "address" }, S = { class: "text-right" }, T = { class: "sub-header" }, F = { class: "address" },
|
|
3
|
+
import { aL as y, aw as k } from "./app-NmiyG_NE.js";
|
|
4
|
+
const A = { class: "purchase-box" }, C = { valign: "bottom" }, R = { class: "title" }, N = { class: "text-right" }, O = { class: "header" }, P = { class: "sub-header" }, D = { class: "caption" }, E = { class: "address" }, S = { class: "text-right" }, T = { class: "sub-header" }, F = { class: "address" }, L = { class: "purchase-body" }, q = { class: "text-left" }, U = { class: "text-left" }, V = { class: "text-right" }, B = { class: "text-right" }, H = { class: "text-right" }, I = { style: { "padding-top": "30px" } }, M = { valign: "bottom" }, z = { class: "header" }, J = { class: "caption" }, Q = {
|
|
5
5
|
class: "text-left",
|
|
6
6
|
style: { width: "20%" }
|
|
7
|
-
},
|
|
7
|
+
}, j = { class: "text-left" }, G = {
|
|
8
8
|
class: "text-right",
|
|
9
9
|
style: { width: "15%" }
|
|
10
|
-
},
|
|
10
|
+
}, K = {
|
|
11
11
|
class: "text-right",
|
|
12
12
|
style: { width: "15%" }
|
|
13
13
|
}, W = /* @__PURE__ */ b({
|
|
@@ -79,7 +79,7 @@ const A = { class: "purchase-box" }, C = { valign: "bottom" }, R = { class: "tit
|
|
|
79
79
|
])
|
|
80
80
|
])
|
|
81
81
|
]),
|
|
82
|
-
t("div",
|
|
82
|
+
t("div", L, [
|
|
83
83
|
t("table", null, [
|
|
84
84
|
l[10] || (l[10] = t("thead", { class: "item-header" }, [
|
|
85
85
|
t("tr", null, [
|
|
@@ -104,7 +104,7 @@ const A = { class: "purchase-box" }, C = { valign: "bottom" }, R = { class: "tit
|
|
|
104
104
|
], -1)),
|
|
105
105
|
t("tbody", null, [
|
|
106
106
|
(u(!0), n(o, null, v(s.value.items, (r, a) => (u(), n("tr", { key: a }, [
|
|
107
|
-
t("td",
|
|
107
|
+
t("td", q, e(r.code), 1),
|
|
108
108
|
t("td", U, e(r.description), 1),
|
|
109
109
|
t("td", V, e(r.quantity), 1),
|
|
110
110
|
t("td", B, e(r.unit), 1),
|
|
@@ -135,10 +135,10 @@ const A = { class: "purchase-box" }, C = { valign: "bottom" }, R = { class: "tit
|
|
|
135
135
|
t("table", null, [
|
|
136
136
|
t("tbody", null, [
|
|
137
137
|
(u(!0), n(o, null, v(r.items, (d, h) => (u(), n("tr", { key: h }, [
|
|
138
|
-
t("td",
|
|
139
|
-
t("td",
|
|
140
|
-
t("td",
|
|
141
|
-
t("td",
|
|
138
|
+
t("td", Q, e(d.code), 1),
|
|
139
|
+
t("td", j, e(d.description), 1),
|
|
140
|
+
t("td", G, e(d.quantity), 1),
|
|
141
|
+
t("td", K, e(d.unit), 1)
|
|
142
142
|
]))), 128))
|
|
143
143
|
])
|
|
144
144
|
])
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { reactive as gt, onMounted as Ke, watch as be, computed as N, h as L, defineComponent as ce, openBlock as S, createElementBlock as T, Fragment as de, renderList as Se, createElementVNode as n, toDisplayString as M, unref as s, resolveComponent as $, createVNode as y, withCtx as A, createCommentVNode as j, ref as q, createBlock as W, normalizeClass as G, normalizeStyle as _t, createTextVNode as Te, nextTick as It, mergeProps as Je, isRef as xe, createSlots as $t, Teleport as Tt, normalizeProps as Dt, guardReactiveProps as Pt } from "vue";
|
|
2
|
-
import { b as Ue, $ as Ge, c as We, r as Me, n as Ce, af as Ye, a0 as Vt,
|
|
3
|
-
import { u as ts, P as Ze, a as ss, _ as os, g as as } from "./TransferDetails.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { _ as Ct, u as ns, i as ls, e as rs } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { b as Ue, $ as Ge, c as We, r as Me, n as Ce, af as Ye, a0 as Vt, aI as Rt, A as qe, M as At, s as ht, am as et, L as fe, ay as Et, aJ as tt, aK as Ot, aL as Mt, ac as qt, aM as Ut, Q as kt, u as st, a as ot, aN as Nt, aO as Bt, ae as zt, a6 as Lt, aP as Ht, K as xt, x as jt, e as Oe, aQ as Qt, as as Yt, C as Kt, E as Xt, m as Qe, ag as ft, G as Zt, N as Jt, H as Gt, I as Wt, J as es, a2 as vt } from "./app-NmiyG_NE.js";
|
|
3
|
+
import { u as ts, P as Ze, a as ss, _ as os, g as as } from "./TransferDetails.vue_vue_type_script_setup_true_lang-DR9qQoBL.js";
|
|
4
|
+
import { _ as Ct, u as ns, i as ls, e as rs } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-BwW92Whg.js";
|
|
5
5
|
import { u as is } from "./useTabStorage-BkIVScW_.js";
|
|
6
6
|
import { useBreakpoints as at, components as ye, FmButtonVariant as us, useSnackbar as De, useDialog as ds, useProxiedModel as St } from "@feedmepos/ui-library";
|
|
7
|
-
import { P as ae, u as wt } from "./format-unit-display-
|
|
8
|
-
import { _ as cs, F as ms, a as ps, b as fs } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { c as $e, u as vs, _ as ys } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { P as ae, u as wt } from "./format-unit-display-jXD4D_J4.js";
|
|
8
|
+
import { _ as cs, F as ms, a as ps, b as fs } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-DQuvByaf.js";
|
|
9
|
+
import { c as $e, u as vs, _ as ys } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-eUMrmGD4.js";
|
|
10
10
|
import { useI18n as ge } from "@feedmepos/mf-common";
|
|
11
|
-
import "./FmMultiselectDialog-
|
|
12
|
-
import { u as nt } from "./supplier-
|
|
11
|
+
import "./FmMultiselectDialog-s0EntbOX.js";
|
|
12
|
+
import { u as nt } from "./supplier-CBUmza-i.js";
|
|
13
13
|
import { _ as bs } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
|
|
14
14
|
var te = /* @__PURE__ */ ((g) => (g.Code = "Code", g.Name = "Name", g.TemplateName = "TemplateName", g.Amount = "Amount", g.Cost = "Cost", g.TotalCost = "TotalCost", g.Delete = "Delete", g))(te || {});
|
|
15
15
|
const gs = () => (ge(), L(
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as j, ref as E, onMounted as ie, resolveComponent as I, openBlock as k, createElementBlock as B, Fragment as ue, createElementVNode as x, toDisplayString as ce, createVNode as y, createCommentVNode as q, computed as F, watch as de, createBlock as G, withCtx as U, unref as g, isRef as te, normalizeClass as me, normalizeStyle as pe, Teleport as fe, normalizeProps as ve, guardReactiveProps as ye } from "vue";
|
|
2
|
-
import { a as A, e as C, f as W, S as ge, i as be, D as ne, j as Y, n as P, F as H, r as _e, U as Re, A as he, c as we, y as oe, W as Se, X as xe, Y as Ve, u as Ce, G as Ee, I as ke, J as Ie, K as Fe, L as ae } from "./app-
|
|
2
|
+
import { a as A, e as C, f as W, S as ge, i as be, D as ne, j as Y, n as P, F as H, r as _e, U as Re, A as he, c as we, y as oe, W as Se, X as xe, Y as Ve, u as Ce, G as Ee, I as ke, J as Ie, K as Fe, L as ae } from "./app-NmiyG_NE.js";
|
|
3
3
|
import { useDialog as le, useSnackbar as X, useProxiedModel as se, useBreakpoints as $e } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as De, _ as Ae } from "./is-linked-ingredient-error-fJ2TJb3z.js";
|
|
5
|
-
import { _ as re } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-
|
|
5
|
+
import { _ as re } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-Ko8B7MYK.js";
|
|
6
6
|
import { defineStore as Be, storeToRefs as Pe } from "pinia";
|
|
7
7
|
import { useI18n as O } from "@feedmepos/mf-common";
|
|
8
|
-
import { _ as Ue } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as Ue } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-DXe0VwF9.js";
|
|
9
9
|
import { _ as Te } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js";
|
|
10
10
|
const Me = {
|
|
11
11
|
key: 0,
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { defineComponent as ue, ref as O, computed as P, resolveComponent as U, openBlock as A, createBlock as z, withCtx as T, createElementVNode as e, normalizeClass as he, toDisplayString as v, createVNode as y, createElementBlock as L, Fragment as ne, renderList as ie, unref as s, h as ye, watch as xe, isRef as je, createCommentVNode as se, reactive as nt, mergeModels as qe, useModel as pt, onMounted as Le, createTextVNode as de, normalizeStyle as ot, Teleport as ft, normalizeProps as Te, mergeProps as He } from "vue";
|
|
2
|
-
import { u as ke, a2 as fe, f as De, h as ze, i as vt, a as Be, F as Xe, a3 as yt, z as Ne, n as ve, Z as _t, t as Ae, a1 as Ve, A as kt, M as bt, a0 as _e, a4 as gt, a5 as te, a6 as ht, a7 as Je, a8 as st, a9 as Ge, r as xt, x as at, aa as St, ab as wt, ac as Ft, ad as Ee, $ as Z, ae as $t, Y as lt, af as Fe, ag as At, ah as Vt, v as Pe, w as Ct, q as jt, c as Dt, ai as Bt, aj as Mt, ak as It, al as Ut, am as Tt, b as Ht, N as Et, H as Pt, G as Rt, I as Ot, J as Nt, K as Yt, L as Qe } from "./app-
|
|
3
|
-
import { u as Me
|
|
4
|
-
import { g as Se } from "./decimal-
|
|
5
|
-
import { e as Lt, u as rt, i as it, _ as Ze } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { _ as Ye, S as Re, g as ut, a as zt } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as ke, a2 as fe, f as De, h as ze, i as vt, a as Be, F as Xe, a3 as yt, z as Ne, n as ve, Z as _t, t as Ae, a1 as Ve, A as kt, M as bt, a0 as _e, a4 as gt, a5 as te, a6 as ht, a7 as Je, a8 as st, a9 as Ge, r as xt, x as at, aa as St, ab as wt, ac as Ft, ad as Ee, $ as Z, ae as $t, Y as lt, af as Fe, ag as At, ah as Vt, v as Pe, w as Ct, q as jt, c as Dt, ai as Bt, aj as Mt, ak as It, al as Ut, am as Tt, b as Ht, N as Et, H as Pt, G as Rt, I as Ot, J as Nt, K as Yt, L as Qe } from "./app-NmiyG_NE.js";
|
|
3
|
+
import { u as Me } from "./stock-Basa-Xi7.js";
|
|
4
|
+
import { g as Se } from "./decimal-B-SPLtwh.js";
|
|
5
|
+
import { e as Lt, u as rt, i as it, _ as Ze } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-BwW92Whg.js";
|
|
6
|
+
import { _ as Ye, S as Re, g as ut, a as zt } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-B-fQRg6q.js";
|
|
7
7
|
import { _ as Gt } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
|
|
8
8
|
import { useI18n as ce, useCoreStore as Ke } from "@feedmepos/mf-common";
|
|
9
|
-
import { useSnackbar as
|
|
9
|
+
import { useSnackbar as be, useDialog as Ie, useProxiedModel as Ue, useBreakpoints as Kt } from "@feedmepos/ui-library";
|
|
10
10
|
import { defineStore as Wt } from "pinia";
|
|
11
|
-
import { u as
|
|
12
|
-
import {
|
|
11
|
+
import { u as ge } from "./stock-F2A8gqHx.js";
|
|
12
|
+
import { u as qt } from "./use-inventory-binding-dialog-D9P4uH3I.js";
|
|
13
|
+
import { _ as Xt } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DDXfvqWA.js";
|
|
13
14
|
import { E as Jt } from "./empty-placeholder-wf6-BWE8.js";
|
|
14
15
|
var $e = /* @__PURE__ */ ((_) => (_.History = "History", _.Convert = "Convert", _.Adjust = "Adjust", _))($e || {});
|
|
15
16
|
const Qt = [
|
|
@@ -178,7 +179,7 @@ const tn = { class: "fm-typo-en-body-md-400 flex-grow" }, ct = /* @__PURE__ */ u
|
|
|
178
179
|
}));
|
|
179
180
|
}
|
|
180
181
|
}), dt = Wt("stockActions", () => {
|
|
181
|
-
const _ = O(!1), g = ke(), d = Me(), o = rt(), $ =
|
|
182
|
+
const _ = O(!1), g = ke(), d = Me(), o = rt(), $ = be(), S = Ie(), { t: m } = ce();
|
|
182
183
|
async function i() {
|
|
183
184
|
if (g._currentLocation) {
|
|
184
185
|
_.value = !0;
|
|
@@ -403,7 +404,7 @@ const ln = { class: "flex items-center" }, rn = { class: "fm-typo-en-title-md-80
|
|
|
403
404
|
},
|
|
404
405
|
emits: ["update:show", "submitted"],
|
|
405
406
|
setup(_, { expose: g, emit: d }) {
|
|
406
|
-
const o = _, $ = d, S = qt(), m = Be(), i =
|
|
407
|
+
const o = _, $ = d, S = qt(), m = Be(), i = ge(), w = be(), { t: j } = ce(), F = O(0), u = O(null), k = P(() => m.skus), V = P(
|
|
407
408
|
() => {
|
|
408
409
|
var p, n;
|
|
409
410
|
return (((n = (p = o.sku) == null ? void 0 : p.convert) == null ? void 0 : n.inventoryBindings) ?? []).filter(
|
|
@@ -897,7 +898,7 @@ const Oe = {
|
|
|
897
898
|
},
|
|
898
899
|
emits: ["update:show", "submitted"],
|
|
899
900
|
setup(_, { expose: g, emit: d }) {
|
|
900
|
-
const o = _, $ = d, S = Be(), m = Ie(), i =
|
|
901
|
+
const o = _, $ = d, S = Be(), m = Ie(), i = ge(), w = be(), j = O(!1), { t: F } = ce();
|
|
901
902
|
function u() {
|
|
902
903
|
D(De(B));
|
|
903
904
|
}
|
|
@@ -1074,7 +1075,7 @@ const Oe = {
|
|
|
1074
1075
|
},
|
|
1075
1076
|
emits: ["update:show", "submitted"],
|
|
1076
1077
|
setup(_, { emit: g }) {
|
|
1077
|
-
const d = _, o = g, { t: $ } = ce(), S = Be(), m =
|
|
1078
|
+
const d = _, o = g, { t: $ } = ce(), S = Be(), m = ge(), i = Ie(), w = be(), j = Ue(d, "show"), F = O(!1), u = nt({
|
|
1078
1079
|
remark: "",
|
|
1079
1080
|
effectiveAt: /* @__PURE__ */ new Date(),
|
|
1080
1081
|
adjustments: []
|
|
@@ -1284,7 +1285,7 @@ const Oe = {
|
|
|
1284
1285
|
}),
|
|
1285
1286
|
emits: /* @__PURE__ */ qe(["refreshHistory"], ["update:modelValue"]),
|
|
1286
1287
|
setup(_, { emit: g }) {
|
|
1287
|
-
const d = _, o = g, $ =
|
|
1288
|
+
const d = _, o = g, $ = ge(), S = pt(_, "modelValue"), m = O(!1), i = O(!1), w = O(!1), j = O({
|
|
1288
1289
|
_id: `inventoryAdjustment_${(/* @__PURE__ */ new Date()).toISOString()}_XXXXX`,
|
|
1289
1290
|
skus: []
|
|
1290
1291
|
}), F = O();
|
|
@@ -1724,7 +1725,7 @@ const _o = { class: "flex items-center w-full fm-typo-en-title-md-800" }, ko = {
|
|
|
1724
1725
|
},
|
|
1725
1726
|
emits: ["update:show"],
|
|
1726
1727
|
setup(_) {
|
|
1727
|
-
const g = Ke(), d = Me(), o =
|
|
1728
|
+
const g = Ke(), d = Me(), o = ge(), $ = Ln(), S = ke(), m = Dt(), { t: i } = ce(), w = _, j = O(!1), F = be(), u = O(At(0));
|
|
1728
1729
|
async function k() {
|
|
1729
1730
|
j.value = !0;
|
|
1730
1731
|
try {
|
|
@@ -2129,10 +2130,10 @@ const _o = { class: "flex items-center w-full fm-typo-en-title-md-800" }, ko = {
|
|
|
2129
2130
|
}), vs = {
|
|
2130
2131
|
key: 0,
|
|
2131
2132
|
class: "flex items-center gap-1"
|
|
2132
|
-
}, ys = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, _s = { class: "flex flex-col gap-8" }, ks = { class: "flex flex-col" }, bs = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, gs = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" },
|
|
2133
|
+
}, ys = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, _s = { class: "flex flex-col gap-8" }, ks = { class: "flex flex-col" }, bs = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, gs = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Us = /* @__PURE__ */ ue({
|
|
2133
2134
|
__name: "StockView",
|
|
2134
2135
|
setup(_) {
|
|
2135
|
-
const { t: g } = ce(), d = Be(), o = ke(), $ = Me(), S = dt(), m =
|
|
2136
|
+
const { t: g } = ce(), d = Be(), o = ke(), $ = Me(), S = dt(), m = ge(), i = rt(), w = Ht(), { columnDefs: j } = sn(), F = Ie(), u = be();
|
|
2136
2137
|
o.watchLocation(D);
|
|
2137
2138
|
const k = P(
|
|
2138
2139
|
() => new Set(w.getAvailableItems(w.businessSubsidiaryId))
|
|
@@ -2380,5 +2381,5 @@ const _o = { class: "flex items-center w-full fm-typo-en-title-md-800" }, ko = {
|
|
|
2380
2381
|
}
|
|
2381
2382
|
});
|
|
2382
2383
|
export {
|
|
2383
|
-
|
|
2384
|
+
Us as default
|
|
2384
2385
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as I, computed as x, openBlock as l, createElementBlock as d, createElementVNode as e, normalizeClass as b, toDisplayString as u, unref as p, ref as D, resolveComponent as B, Fragment as $, createVNode as k, createCommentVNode as N, withCtx as C, renderList as E } from "vue";
|
|
2
2
|
import { useI18n as F, useCoreStore as A } from "@feedmepos/mf-common";
|
|
3
|
-
import { b as U } from "./app-
|
|
3
|
+
import { b as U } from "./app-NmiyG_NE.js";
|
|
4
4
|
function ee(o, n = !1) {
|
|
5
5
|
var c;
|
|
6
6
|
return o ? [
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as ie, mergeModels as Hd, computed as E, useModel as ed, resolveComponent as L, openBlock as S, createElementBlock as w, createElementVNode as h, createVNode as C, withCtx as U, toDisplayString as A, unref as p, Fragment as oe, renderList as le, ref as k, createBlock as z, createCommentVNode as W, createTextVNode as wd, isRef as dd, normalizeClass as ae, watch as Td, createSlots as jd, normalizeStyle as Kd, Teleport as Wd } from "vue";
|
|
2
|
-
import { u as ce } from "./supplier-
|
|
3
|
-
import { b as ke, i as Yd, D as td, j as ye, f as we, a as Ve, v as rd, w as nd, o as Xd, x as Zd, ar as Ad, u as Pe, r as Z, c as Ce, e as B, z as qd, W as Rd, Y as zd, X as Md, as as Jd, C as Qd, E as et, G as dt, I as tt, J as rt, K as nt, L as ve } from "./app-
|
|
2
|
+
import { u as ce } from "./supplier-CBUmza-i.js";
|
|
3
|
+
import { b as ke, i as Yd, D as td, j as ye, f as we, a as Ve, v as rd, w as nd, o as Xd, x as Zd, ar as Ad, u as Pe, r as Z, c as Ce, e as B, z as qd, W as Rd, Y as zd, X as Md, as as Jd, C as Qd, E as et, G as dt, I as tt, J as rt, K as nt, L as ve } from "./app-NmiyG_NE.js";
|
|
4
4
|
import { useI18n as ee, useCoreStore as Ne } from "@feedmepos/mf-common";
|
|
5
5
|
import { useDialog as Se, useSnackbar as xe, useProxiedModel as od, useDialogChild as ot, useBreakpoints as at } from "@feedmepos/ui-library";
|
|
6
6
|
import { _ as it } 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 lt } from "./purchase-order-template-
|
|
7
|
+
import { _ as $t } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-DQuvByaf.js";
|
|
8
|
+
import { u as lt } from "./purchase-order-template-BNtdgrTt.js";
|
|
9
9
|
import { defineStore as st } from "pinia";
|
|
10
10
|
function ut(e, d) {
|
|
11
11
|
const { t } = ee(), r = ke();
|