@feedmepos/mf-inventory-portal 1.0.13 → 1.0.15-dev.1
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-D3tAuqoa.js → App-DtuHbzaj.js} +3 -3
- package/dist/{ApprovalView-CZSEkuxs.js → ApprovalView-C8gHcI4o.js} +2 -2
- package/dist/{BindingsDialog-BCw5xmh3.js → BindingsDialog-CLp5DbdF.js} +2 -2
- package/dist/{BindingsPicker-B--B9aT5.js → BindingsPicker-ChB_dM_r.js} +1 -1
- package/dist/{BindingsTable-z4ohAK-T.js → BindingsTable-usQiwRyf.js} +1 -1
- package/dist/{ClosingDraftView-5fVFzVpD.js → ClosingDraftView-C7mlsyK5.js} +20 -20
- package/dist/{ClosingTemplateView-BuJtrXgC.js → ClosingTemplateView-C3csSJ5x.js} +10 -10
- package/dist/{DeliveryOrderPrintPreview-DPlR2qhc.js → DeliveryOrderPrintPreview-DGI0Mk4p.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-P1dvKMS3.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-D8iQyzaJ.js} +3 -3
- package/dist/{FmMultiselectDialog-CVNqlp0n.js → FmMultiselectDialog-B3MYE2b7.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-ublLlB16.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DFidOxdU.js} +12 -12
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-MSbWAo1i.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CIKQ6nC1.js} +1 -1
- package/dist/{IngredientGroupView-CgNdkuae.js → IngredientGroupView-91WE1P4g.js} +2 -2
- package/dist/{IngredientsView-Bg9XhCNT.js → IngredientsView-CLZX2W7Y.js} +4 -4
- package/dist/{IntegrationView-DKzLjZig.js → IntegrationView-D8VbNV6H.js} +1009 -1000
- package/dist/{InventoryBindingForm-CZl0uidf.js → InventoryBindingForm-rGVDi4T8.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BhxHbT2g.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Dx4rHyb5.js} +24 -24
- package/dist/{InventoryBindingSummary-BTO2qsNW.js → InventoryBindingSummary-BGLbSQRD.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-B4GyfLV-.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CJ5FPRac.js} +26 -20
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Cfup6M3u.js → PremiumBadge.vue_vue_type_script_setup_true_lang-qUWKfasI.js} +1 -1
- package/dist/{PublishView-CjmtkaiI.js → PublishView-ClqhWcBu.js} +8 -8
- package/dist/{PurchaseOrderPrintPreview-KG9VkV-7.js → PurchaseOrderPrintPreview-s2TN-ZJL.js} +1 -1
- package/dist/{ReceiveRequestView-Og_mkJHQ.js → ReceiveRequestView-0r85gHww.js} +63 -63
- package/dist/{RecipeView-SvMt9zdS.js → RecipeView-FRHv7v2K.js} +4 -4
- package/dist/{StockView-DjO6wmxl.js → StockView-DeE60k1a.js} +7 -7
- package/dist/{SupplierView-CMatOKL0.js → SupplierView-DQSYItBZ.js} +37 -37
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-Bm9lLcf5.js +2020 -0
- package/dist/{TransferTemplateView-CNZtqhhI.js → TransferTemplateView-rPjPeB7z.js} +88 -88
- package/dist/UnitView-BLfRD-MZ.js +667 -0
- package/dist/{WarehouseView-C9Yi9nQV.js → WarehouseView-DmzmdKUj.js} +12 -12
- package/dist/api/netsuite.d.ts +3 -0
- package/dist/api/purchase-order.d.ts +1 -1
- package/dist/{app-9KyslrXV.js → app-BmrQUin8.js} +4445 -4396
- package/dist/app.d.ts +1 -0
- package/dist/app.js +1 -1
- package/dist/{decimal-CX0eUEB3.js → decimal-Ba0cFNkn.js} +1 -1
- package/dist/{feature-CmWqoog1.js → feature-CAfGclDp.js} +1856 -965
- package/dist/{format-unit-display-UiaVS36D.js → format-unit-display-6JZPqi0z.js} +29 -29
- package/dist/{index-CKAZMrqi.js → index-0LAqB9Nf.js} +2 -2
- package/dist/{index-BRtGevm6.js → index-Df8rBaGT.js} +4070 -4049
- package/dist/{stock-CT3LESH2.js → stock-Ca2xlSi5.js} +1 -1
- package/dist/{supplier-BrQo7L81.js → supplier-BFRlDSmN.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-BLcnX7uY.js → use-ingredient-select-dialog-BleZLcKu.js} +1 -1
- package/dist/{use-inventory-binding-dialog-CegZeDD6.js → use-inventory-binding-dialog-C8-NZufG.js} +1 -1
- package/dist/views/receive-request/components/netsuite/NetSuiteLog.vue.d.ts +17 -0
- package/dist/views/receive-request/components/netsuite/NetSuitePanel.vue.d.ts +21 -0
- package/dist/views/receive-request/components/transfer-details/usePurchaseOrderFn.d.ts +1 -0
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +4 -4
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +6 -2
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +6 -6
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +6 -6
- package/dist/views/receive-request/constants/po-action-to-ui-style.d.ts +1 -0
- package/dist/views/unit/components/unit-form/UnitFormProps.d.ts +1 -1
- package/dist/{vue-i18n-C2C5um-s.js → vue-i18n-CLUATIwy.js} +222 -222
- package/package.json +3 -3
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-BDbUensL.js +0 -1898
- package/dist/UnitView-D75e_8B3.js +0 -648
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref as U, onUnmounted as F, defineComponent as h, watch as P, onMounted as w, computed as R, resolveComponent as I, openBlock as S, createElementBlock as b, unref as v, createVNode as _, createElementVNode as p, toDisplayString as G, createBlock as x, createCommentVNode as k } from "vue";
|
|
2
|
-
import { u as M, a as D, b as H, R as e, g as s, c as W } from "./app-
|
|
2
|
+
import { u as M, a as D, b as H, R as e, g as s, c as W } from "./app-BmrQUin8.js";
|
|
3
3
|
import { useCoreStore as A, useI18n as B } from "@feedmepos/mf-common";
|
|
4
4
|
import { useRouter as L, useRoute as K } from "vue-router";
|
|
5
|
-
import { u as O } from "./feature-
|
|
5
|
+
import { u as O } from "./feature-CAfGclDp.js";
|
|
6
6
|
import { u as $ } from "./useTabStorage-BkIVScW_.js";
|
|
7
7
|
import { u as Q } from "./googlemap-Dm8ERVai.js";
|
|
8
8
|
import "./array-Ca8T3f_G.js";
|
|
@@ -57,7 +57,7 @@ const q = {
|
|
|
57
57
|
}
|
|
58
58
|
async function g() {
|
|
59
59
|
return await n.init(), await u.readSetting().catch((t) => {
|
|
60
|
-
console.error("error on reading netsuite store", t);
|
|
60
|
+
console.error("[all] error on reading netsuite store", t);
|
|
61
61
|
}), await i.init();
|
|
62
62
|
}
|
|
63
63
|
const y = R(() => c.currentRoute.value.name === e.TRANSFER_TEMPLATE ? T.enablePoTemplate : c.currentRoute.value.name === e.INGREDIENT_GROUP ? T.enableIngredientGroup : !0);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as oe, ref as g, watch as re, computed as b, resolveComponent as ne, openBlock as y, createBlock as K, unref as e, withCtx as x, createElementVNode as l, normalizeClass as se, createVNode as n, normalizeStyle as le, toDisplayString as ie, createElementBlock as ce, createCommentVNode as ue, Teleport as pe, mergeProps as me } from "vue";
|
|
2
|
-
import { u as de, av as v, aG as fe, a8 as Q, z as ve, _ as _e, B as De, C as he, E as _ } from "./app-
|
|
3
|
-
import { a as ge, P as R, b as be, _ as ye } from "./TransferDetails.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as de, av as v, aG as fe, a8 as Q, z as ve, _ as _e, B as De, C as he, E as _ } from "./app-BmrQUin8.js";
|
|
3
|
+
import { a as ge, P as R, b as be, _ as ye } from "./TransferDetails.vue_vue_type_script_setup_true_lang-Bm9lLcf5.js";
|
|
4
4
|
import { useBreakpoints as xe } from "@feedmepos/ui-library";
|
|
5
5
|
import { useI18n as Re } from "@feedmepos/mf-common";
|
|
6
6
|
const Oe = { class: "flex flex-col py-8" }, we = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Pe = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, ke = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, Ce = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as C, ref as o, onMounted as M, onUnmounted as F, watch as x, resolveComponent as l, openBlock as i, createElementBlock as c, createBlock as I, withCtx as R, createVNode as a, createCommentVNode as z, createElementVNode as P } from "vue";
|
|
2
|
-
import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { a as L, b6 as S } from "./app-
|
|
2
|
+
import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-Dx4rHyb5.js";
|
|
3
|
+
import { a as L, b6 as S } from "./app-BmrQUin8.js";
|
|
4
4
|
const U = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "flex justify-end gap-8 items-center"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as S, computed as r, ref as l, onMounted as U, onUnmounted as V, resolveComponent as E, openBlock as p, createElementBlock as f, createVNode as u, createElementVNode as k } from "vue";
|
|
2
|
-
import { a as M, b6 as x,
|
|
2
|
+
import { a as M, b6 as x, X as z } from "./app-BmrQUin8.js";
|
|
3
3
|
const F = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "flex flex-col gap-16"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as x, ref as r, provide as C, computed as g, resolveComponent as h, openBlock as l, createElementBlock as u, createStaticVNode as F, Fragment as L, renderList as I, createElementVNode as p, toDisplayString as v, createVNode as w, withModifiers as N, onMounted as E, onUnmounted as z, createBlock as M } from "vue";
|
|
2
|
-
import { F as b, a as P, b6 as R } from "./app-
|
|
2
|
+
import { F as b, a as P, b6 as R } from "./app-BmrQUin8.js";
|
|
3
3
|
import "@feedmepos/ui-library";
|
|
4
4
|
import "@feedmepos/mf-common";
|
|
5
5
|
const U = { class: "" }, D = ["onClick"], O = { class: "flex-grow-0 flex-shrink-0 basis-5/12 py-8 pl-8" }, V = { class: "flex-grow-0 flex-shrink-0 basis-3/12 py-8" }, S = { class: "flex-grow-0 flex-shrink-0 basis-3/12 py-8" }, $ = { class: "flex-grow-0 flex-shrink-0 basis-1/12 py-4" }, T = /* @__PURE__ */ x({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as $e, ref as z, onMounted as Ie, computed as H, resolveComponent as I, openBlock as x, createElementBlock as T, Fragment as K, createTextVNode as pe, createBlock as J, withCtx as O, createElementVNode as o, toDisplayString as V, unref as h, createVNode as w, createCommentVNode as Z, h as F, reactive as Ze, watch as Je, isRef as Ue, normalizeClass as ve, renderList as he, normalizeStyle as He, Teleport as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as $e, ref as z, onMounted as Ie, computed as H, resolveComponent as I, openBlock as x, createElementBlock as T, Fragment as K, createTextVNode as pe, createBlock as J, withCtx as O, createElementVNode as o, toDisplayString as V, unref as h, createVNode as w, createCommentVNode as Z, h as F, reactive as Ze, watch as Je, isRef as Ue, normalizeClass as ve, renderList as he, normalizeStyle as He, Teleport as Qe, mergeProps as Xe } from "vue";
|
|
2
|
+
import { Y as et, u as je, a8 as tt, af as at, ag as G, l as nt, H as Be, i as E, t as ot, K as De, q as st, r as rt, s as lt, ah as Ee, ai as Le, a3 as ze, aj as ne, a9 as ct, ae, V as Ne, D as Me, h as ke, f as it, e as ut, a as dt, z as mt, _ as ft, B as pt, C as vt, E as we } from "./app-BmrQUin8.js";
|
|
3
3
|
import { useCoreStore as yt, useI18n as Ve } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as Te, useDialog as gt, useProxiedModel as bt, components as fe, useBreakpoints as ht } from "@feedmepos/ui-library";
|
|
5
5
|
import { defineStore as Oe, storeToRefs as Dt } from "pinia";
|
|
6
|
-
import { a as Ye, u as Ke } from "./stock-
|
|
6
|
+
import { a as Ye, u as Ke } from "./stock-Ca2xlSi5.js";
|
|
7
7
|
import { E as xt } from "./empty-placeholder-wf6-BWE8.js";
|
|
8
8
|
const Fe = et((n, s) => {
|
|
9
9
|
function e() {
|
|
@@ -264,9 +264,9 @@ function Rt(n, s) {
|
|
|
264
264
|
($) => $.id,
|
|
265
265
|
($) => $.balance
|
|
266
266
|
), i = [...n.items, ...n.negativeStockItems ?? []], u = qe(i), A = i.map(($) => {
|
|
267
|
-
var
|
|
268
|
-
const
|
|
269
|
-
return Ft($,
|
|
267
|
+
var X, se;
|
|
268
|
+
const Q = ((X = e.get($.sku._id)) == null ? void 0 : X[0]) ?? St, oe = ((se = u == null ? void 0 : u.get($.sku._id)) == null ? void 0 : se[0]) ?? [];
|
|
269
|
+
return Ft($, Q, oe);
|
|
270
270
|
}), v = Bt(i), y = yt().currentBusiness.value, j = Tt(v), U = [
|
|
271
271
|
["Business name:", y == null ? void 0 : y.name],
|
|
272
272
|
["Business ID:", y == null ? void 0 : y._id],
|
|
@@ -290,7 +290,7 @@ function Rt(n, s) {
|
|
|
290
290
|
],
|
|
291
291
|
[],
|
|
292
292
|
j.map(($) => $.name),
|
|
293
|
-
...A.map(($) => j.map((
|
|
293
|
+
...A.map(($) => j.map((Q) => $[Q.id]))
|
|
294
294
|
], k = j.map(($) => `system:${$.id}`), g = st(U, k), l = `[${y == null ? void 0 : y.name}] closing draft (${rt(new Date(n.updatedAt))}).xlsx`;
|
|
295
295
|
return lt(g, l), l;
|
|
296
296
|
}
|
|
@@ -603,10 +603,10 @@ const Mt = Oe(
|
|
|
603
603
|
}, Zt = {
|
|
604
604
|
key: 0,
|
|
605
605
|
class: "flex flex-col items-center gap-8 h-full"
|
|
606
|
-
}, Jt = ["src"],
|
|
606
|
+
}, Jt = ["src"], Qt = {
|
|
607
607
|
key: 1,
|
|
608
608
|
class: "px-4 flex flex-col"
|
|
609
|
-
},
|
|
609
|
+
}, Xt = { class: "flex gap-12 content-stretch" }, ea = {
|
|
610
610
|
class: "flex flex-col w-24",
|
|
611
611
|
name: "circles"
|
|
612
612
|
}, ta = { class: "flex-1 flex flex-col items-center" }, aa = { class: "flex-1 flex flex-col items-center" }, na = {
|
|
@@ -648,7 +648,7 @@ const Mt = Oe(
|
|
|
648
648
|
a && (q.value = ue[0], oe());
|
|
649
649
|
}
|
|
650
650
|
);
|
|
651
|
-
const $ = De(0),
|
|
651
|
+
const $ = De(0), Q = De(100);
|
|
652
652
|
async function oe() {
|
|
653
653
|
var t, r, f;
|
|
654
654
|
if (!d._currentLocation) return;
|
|
@@ -685,7 +685,7 @@ const Mt = Oe(
|
|
|
685
685
|
v.value = !1;
|
|
686
686
|
}
|
|
687
687
|
}
|
|
688
|
-
async function
|
|
688
|
+
async function X() {
|
|
689
689
|
var c, p, R;
|
|
690
690
|
const a = ((c = e.draft) == null ? void 0 : c.effectiveAt) ?? ((p = e.draft) == null ? void 0 : p.updatedAt);
|
|
691
691
|
if (!a) {
|
|
@@ -941,7 +941,7 @@ const Mt = Oe(
|
|
|
941
941
|
const f = Ge(t), c = Ee(f, r), p = r.amount === 0 ? null : Le(c, {
|
|
942
942
|
...r,
|
|
943
943
|
amount: Math.abs(r.amount)
|
|
944
|
-
}), R = p ? Be(p,
|
|
944
|
+
}), R = p ? Be(p, Q) : null;
|
|
945
945
|
return {
|
|
946
946
|
code: a.code,
|
|
947
947
|
name: a.name,
|
|
@@ -1181,7 +1181,7 @@ const Mt = Oe(
|
|
|
1181
1181
|
"bg-color": "transparent",
|
|
1182
1182
|
"border-color": "primary",
|
|
1183
1183
|
loading: M.value,
|
|
1184
|
-
onClick:
|
|
1184
|
+
onClick: X
|
|
1185
1185
|
}, null, 8, ["loading"])) : Z("", !0),
|
|
1186
1186
|
w(p, {
|
|
1187
1187
|
label: "Export data",
|
|
@@ -1254,9 +1254,9 @@ const Mt = Oe(
|
|
|
1254
1254
|
])
|
|
1255
1255
|
], 64)) : Z("", !0),
|
|
1256
1256
|
q.value.value === "history" ? (x(), T("div", Wt, [
|
|
1257
|
-
ee.value.length ? (x(), T("div",
|
|
1257
|
+
ee.value.length ? (x(), T("div", Qt, [
|
|
1258
1258
|
(x(!0), T(K, null, he(ee.value, (C, N) => (x(), T(K, { key: N }, [
|
|
1259
|
-
o("div",
|
|
1259
|
+
o("div", Xt, [
|
|
1260
1260
|
o("div", ea, [
|
|
1261
1261
|
o("div", ta, [
|
|
1262
1262
|
o("div", {
|
|
@@ -1414,14 +1414,14 @@ const Mt = Oe(
|
|
|
1414
1414
|
onRowClick: (P) => h(e)(P)
|
|
1415
1415
|
}, {
|
|
1416
1416
|
default: O((P) => {
|
|
1417
|
-
var $,
|
|
1417
|
+
var $, Q, oe, X, se, xe, le, ye, ce, ie, ge, Ae, ue, q, ee, be, a, t, r, f;
|
|
1418
1418
|
return [
|
|
1419
1419
|
o("div", va, [
|
|
1420
1420
|
o("div", ya, [
|
|
1421
1421
|
o("div", ga, [
|
|
1422
1422
|
w(h(we), {
|
|
1423
|
-
render: (oe = (
|
|
1424
|
-
props: (se = (
|
|
1423
|
+
render: (oe = (Q = ($ = P._id) == null ? void 0 : $.column) == null ? void 0 : Q.columnDef) == null ? void 0 : oe.cell,
|
|
1424
|
+
props: (se = (X = P._id) == null ? void 0 : X.getContext) == null ? void 0 : se.call(X)
|
|
1425
1425
|
}, null, 8, ["render", "props"])
|
|
1426
1426
|
]),
|
|
1427
1427
|
o("div", ba, [
|
|
@@ -1459,8 +1459,8 @@ const Mt = Oe(
|
|
|
1459
1459
|
]),
|
|
1460
1460
|
_: 1
|
|
1461
1461
|
}, 8, ["title", "actions"]),
|
|
1462
|
-
(x(), J(
|
|
1463
|
-
w(pa,
|
|
1462
|
+
(x(), J(Qe, { to: "body" }, [
|
|
1463
|
+
w(pa, Xe(h(i), {
|
|
1464
1464
|
show: h(u),
|
|
1465
1465
|
"onUpdate:show": _[2] || (_[2] = (D) => Ue(u) ? u.value = D : null),
|
|
1466
1466
|
onSubmitted: _[3] || (_[3] = () => (u.value = !1, h(v).fetchDrafts())),
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref as D, h as F, defineComponent as O, resolveComponent as R, openBlock as T, createElementBlock as I, createElementVNode as _, normalizeClass as Y, createTextVNode as Fe, toDisplayString as C, unref as v, createCommentVNode as K, createVNode as $, withCtx as P, Fragment as H, renderList as J, computed as E, watch as Re, createSlots as Pe, createBlock as V, isRef as je, normalizeStyle as Ye, Teleport as Ge, normalizeProps as Ke, guardReactiveProps as Je, mergeProps as We } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { Y as qe, u as le, a9 as Qe, D as Se, h as N, f as Xe, e as Ae, aa as oe, r as Ze, ab as Ee, s as Ue, a as ae, b as et, v as tt, w as Ve, x as nt, y as ot, d as z, E as j, G as st, ac as lt, l as at, C as Ne, A as rt, ad as it, ae as ne, z as ct, _ as mt, B as ut } from "./app-BmrQUin8.js";
|
|
3
3
|
import { useCoreStore as re, useI18n as B } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as dt, useSnackbar as Z, useDialog as ie, FmButtonVariant as De, components as L, useProxiedModel as pt, useBreakpoints as ft } from "@feedmepos/ui-library";
|
|
5
5
|
import { defineStore as Be, storeToRefs as Le } from "pinia";
|
|
6
|
-
import { u as vt } from "./use-ingredient-select-dialog-
|
|
6
|
+
import { u as vt } from "./use-ingredient-select-dialog-BleZLcKu.js";
|
|
7
7
|
const ee = qe((i, o) => {
|
|
8
8
|
function s() {
|
|
9
9
|
var t;
|
|
@@ -96,7 +96,7 @@ const ee = qe((i, o) => {
|
|
|
96
96
|
accessorKey: "_id",
|
|
97
97
|
header: () => o("inventory.closing.table.createdAt"),
|
|
98
98
|
cell(y) {
|
|
99
|
-
return
|
|
99
|
+
return Qe(`${y.getValue()}`);
|
|
100
100
|
},
|
|
101
101
|
enableSorting: !0
|
|
102
102
|
},
|
|
@@ -171,7 +171,7 @@ const ee = qe((i, o) => {
|
|
|
171
171
|
Se[N.Edit],
|
|
172
172
|
Se[N.Delete]
|
|
173
173
|
];
|
|
174
|
-
return
|
|
174
|
+
return Xe(u, (n) => m(n, b));
|
|
175
175
|
},
|
|
176
176
|
enableSorting: !1,
|
|
177
177
|
size: 40,
|
|
@@ -1178,7 +1178,7 @@ const Ht = { class: "flex flex-col gap-16 py-12" }, Ot = { class: "flex" }, jt =
|
|
|
1178
1178
|
]);
|
|
1179
1179
|
};
|
|
1180
1180
|
}
|
|
1181
|
-
}), Wt = { class: "flex flex-col gap-16" }, qt = { class: "flex flex-col gap-24" },
|
|
1181
|
+
}), Wt = { class: "flex flex-col gap-16" }, qt = { class: "flex flex-col gap-24" }, Qt = { class: "flex flex-col gap-16" }, Xt = { class: "flex items-center" }, Zt = { class: "flex-1 fm-typo-en-title-sm-600" }, en = { class: "flex flex-col gap-16" }, tn = { class: "flex items-center" }, nn = { class: "flex-1 gap-8 fm-typo-en-title-sm-600" }, on = /* @__PURE__ */ O({
|
|
1182
1182
|
__name: "ClosingTemplateForm",
|
|
1183
1183
|
props: {
|
|
1184
1184
|
modelValue: {},
|
|
@@ -1272,8 +1272,8 @@ const Ht = { class: "flex flex-col gap-16 py-12" }, Ot = { class: "flex" }, jt =
|
|
|
1272
1272
|
}, null, 8, ["label", "modelValue"])
|
|
1273
1273
|
])
|
|
1274
1274
|
]),
|
|
1275
|
-
_("div",
|
|
1276
|
-
_("div",
|
|
1275
|
+
_("div", Qt, [
|
|
1276
|
+
_("div", Xt, [
|
|
1277
1277
|
_("div", Zt, C(v(e)("inventory.closing.form.locations")), 1),
|
|
1278
1278
|
$(c, {
|
|
1279
1279
|
disabled: n.disabled,
|
|
@@ -1741,7 +1741,7 @@ const un = /* @__PURE__ */ it(cn, [["render", mn]]), dn = { class: "flex flex-co
|
|
|
1741
1741
|
onRowClick: (U) => v(l)(U)
|
|
1742
1742
|
}, {
|
|
1743
1743
|
default: P((U) => {
|
|
1744
|
-
var me, ue, de, W, pe, fe, ve, ge, q, ye, he, be, _e, xe, we,
|
|
1744
|
+
var me, ue, de, W, pe, fe, ve, ge, q, ye, he, be, _e, xe, we, Q, ke, Te, $e, Ce, X, Ie;
|
|
1745
1745
|
return [
|
|
1746
1746
|
_("div", $n, [
|
|
1747
1747
|
_("div", Cn, [
|
|
@@ -1767,14 +1767,14 @@ const un = /* @__PURE__ */ it(cn, [["render", mn]]), dn = { class: "flex flex-co
|
|
|
1767
1767
|
_("div", Mn, [
|
|
1768
1768
|
$(v(j), {
|
|
1769
1769
|
render: (we = (xe = (_e = U.ref) == null ? void 0 : _e.column) == null ? void 0 : xe.columnDef) == null ? void 0 : we.cell,
|
|
1770
|
-
props: (ke = (
|
|
1770
|
+
props: (ke = (Q = U.ref) == null ? void 0 : Q.getContext) == null ? void 0 : ke.call(Q)
|
|
1771
1771
|
}, null, 8, ["render", "props"])
|
|
1772
1772
|
])
|
|
1773
1773
|
]),
|
|
1774
1774
|
_("div", null, [
|
|
1775
1775
|
$(v(j), {
|
|
1776
1776
|
render: (Ce = ($e = (Te = U.status) == null ? void 0 : Te.column) == null ? void 0 : $e.columnDef) == null ? void 0 : Ce.cell,
|
|
1777
|
-
props: (Ie = (
|
|
1777
|
+
props: (Ie = (X = U.status) == null ? void 0 : X.getContext) == null ? void 0 : Ie.call(X)
|
|
1778
1778
|
}, null, 8, ["render", "props"])
|
|
1779
1779
|
])
|
|
1780
1780
|
])
|
package/dist/{DeliveryOrderPrintPreview-DPlR2qhc.js → DeliveryOrderPrintPreview-DGI0Mk4p.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as x, computed as f, ref as h, onMounted as g, openBlock as u, createElementBlock as i, createElementVNode as t, createTextVNode as n, toDisplayString as e, createCommentVNode as d, Fragment as o, renderList as p, normalizeClass as _ } from "vue";
|
|
2
2
|
import { useRoute as k } from "vue-router";
|
|
3
|
-
import { aq as y, ad as w } from "./app-
|
|
3
|
+
import { aq as y, ad as w } from "./app-BmrQUin8.js";
|
|
4
4
|
const c = { class: "purchase-box" }, A = { valign: "bottom" }, N = { class: "sub-header" }, O = ["src"], P = { style: { "padding-left": "10px" } }, C = { class: "address" }, D = { class: "text-right" }, R = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "subtitle"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as T, t as I, ao as w, u as R, as as B, aD as H, aE as D, aF as U } from "./app-
|
|
2
|
-
import { u as z } from "./supplier-
|
|
3
|
-
import { P as F } from "./format-unit-display-
|
|
1
|
+
import { i as T, t as I, ao as w, u as R, as as B, aD as H, aE as D, aF as U } from "./app-BmrQUin8.js";
|
|
2
|
+
import { u as z } from "./supplier-BFRlDSmN.js";
|
|
3
|
+
import { P as F } from "./format-unit-display-6JZPqi0z.js";
|
|
4
4
|
import { computed as f, defineComponent as j, mergeModels as q, useModel as x, ref as W, resolveComponent as V, openBlock as S, createElementBlock as N, normalizeStyle as $, createElementVNode as O, createVNode as J, withCtx as K, createBlock as g, createCommentVNode as A, Fragment as Q, renderList as X, unref as M } from "vue";
|
|
5
5
|
function Y(t, i, a) {
|
|
6
6
|
var o;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineStore as p } from "pinia";
|
|
2
2
|
import { useDialog as y } from "@feedmepos/ui-library";
|
|
3
3
|
import { useI18n as v } from "@feedmepos/mf-common";
|
|
4
|
-
import {
|
|
4
|
+
import { X as a } from "./app-BmrQUin8.js";
|
|
5
5
|
import { h as S } from "vue";
|
|
6
6
|
const w = p("inventoryMultiSelectDialog", () => {
|
|
7
7
|
const l = y(), { t: n } = v();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as se, mergeModels as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as se, mergeModels as z, useModel as ie, computed as v, ref as k, watch as O, onBeforeUnmount as le, inject as ae, resolveComponent as b, openBlock as f, createElementBlock as y, createElementVNode as u, createVNode as M, withCtx as F, renderSlot as q, normalizeClass as T, toDisplayString as A, withDirectives as ue, vModelText as re, createCommentVNode as W, createTextVNode as me, createBlock as H, Fragment as ce, renderList as de } from "vue";
|
|
2
|
+
import { J as B, I as D, P as L, K as pe, i as h, aB as fe, t as ve, H as be, ai as ye, az as Me, ay as he } from "./app-BmrQUin8.js";
|
|
3
3
|
import "@feedmepos/ui-library";
|
|
4
4
|
function E() {
|
|
5
5
|
return {
|
|
@@ -54,9 +54,9 @@ const ge = { class: "flex flex-col" }, xe = { class: "flex flex-col" }, Fe = { c
|
|
|
54
54
|
}, Ce = {
|
|
55
55
|
class: "flex items-center",
|
|
56
56
|
style: { "pointer-events": "none" }
|
|
57
|
-
},
|
|
57
|
+
}, je = /* @__PURE__ */ se({
|
|
58
58
|
__name: "FmUnitInput",
|
|
59
|
-
props: /* @__PURE__ */
|
|
59
|
+
props: /* @__PURE__ */ z({
|
|
60
60
|
modelValue: {},
|
|
61
61
|
unit: {},
|
|
62
62
|
rules: {},
|
|
@@ -103,7 +103,7 @@ const ge = { class: "flex flex-col" }, xe = { class: "flex flex-col" }, Fe = { c
|
|
|
103
103
|
modelValue: {},
|
|
104
104
|
modelModifiers: {}
|
|
105
105
|
}),
|
|
106
|
-
emits: /* @__PURE__ */
|
|
106
|
+
emits: /* @__PURE__ */ z(["update:amount", "update:measurement"], ["update:modelValue"]),
|
|
107
107
|
setup(l, { emit: p }) {
|
|
108
108
|
const t = l, m = p, s = ie(l, "modelValue"), _ = D(), R = v(() => {
|
|
109
109
|
var n;
|
|
@@ -114,7 +114,7 @@ const ge = { class: "flex flex-col" }, xe = { class: "flex flex-col" }, Fe = { c
|
|
|
114
114
|
return h(a);
|
|
115
115
|
})());
|
|
116
116
|
let x = null;
|
|
117
|
-
|
|
117
|
+
O(d, (e) => {
|
|
118
118
|
x && clearTimeout(x), x = setTimeout(() => {
|
|
119
119
|
var r;
|
|
120
120
|
const n = _(e), i = t.precision ?? R.value, o = typeof t.formatMinimumPrecision == "number" && t.formatMinimumPrecision > i ? t.formatMinimumPrecision : i;
|
|
@@ -130,7 +130,7 @@ const ge = { class: "flex flex-col" }, xe = { class: "flex flex-col" }, Fe = { c
|
|
|
130
130
|
}), le(() => {
|
|
131
131
|
x && clearTimeout(x);
|
|
132
132
|
});
|
|
133
|
-
const
|
|
133
|
+
const Z = Symbol.for("fm:form-state"), U = ae(Z, null), P = v(() => t.disabled ?? (U == null ? void 0 : U.getDisabled()) ?? !1), Q = k(), w = k(!1), $ = k(!1), X = v(() => w.value || $.value), Y = v(() => {
|
|
134
134
|
var a;
|
|
135
135
|
const i = [...t.unit.measurements.filter((o) => !o.name.toLocaleLowerCase().includes("inactive")).filter((o) => o.abbrev !== t.unit.abbrev || +h(o.conversion) != 1).groupBy(
|
|
136
136
|
(o) => `${o.abbrev}${h(o.conversion)}`
|
|
@@ -165,7 +165,7 @@ const ge = { class: "flex flex-col" }, xe = { class: "flex flex-col" }, Fe = { c
|
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
});
|
|
168
|
-
|
|
168
|
+
O(C, (e, n) => {
|
|
169
169
|
var c;
|
|
170
170
|
if (!t.convertAmountOnChangeUnit)
|
|
171
171
|
return;
|
|
@@ -189,7 +189,7 @@ const ge = { class: "flex flex-col" }, xe = { class: "flex flex-col" }, Fe = { c
|
|
|
189
189
|
J(),
|
|
190
190
|
typeof t.precision == "number" ? G(t.precision) : G(t.unit)
|
|
191
191
|
] : [], ...ee.value]);
|
|
192
|
-
function
|
|
192
|
+
function j(e) {
|
|
193
193
|
const n = t.precision ?? R.value, a = typeof t.formatMinimumPrecision == "number" && t.formatMinimumPrecision > n ? t.formatMinimumPrecision : n, o = e.toFixed(a), r = o.includes(".") ? o.replace(/0+$/, "") : o;
|
|
194
194
|
return r.endsWith(".") ? r.slice(0, r.length - 1) : r;
|
|
195
195
|
}
|
|
@@ -197,13 +197,13 @@ const ge = { class: "flex flex-col" }, xe = { class: "flex flex-col" }, Fe = { c
|
|
|
197
197
|
if (!t.stepper)
|
|
198
198
|
return;
|
|
199
199
|
const e = +d.value + +h(t.stepper);
|
|
200
|
-
d.value =
|
|
200
|
+
d.value = j(e);
|
|
201
201
|
}
|
|
202
202
|
function oe() {
|
|
203
203
|
if (!t.stepper)
|
|
204
204
|
return;
|
|
205
205
|
const e = +d.value - +h(t.stepper);
|
|
206
|
-
d.value =
|
|
206
|
+
d.value = j(e);
|
|
207
207
|
}
|
|
208
208
|
return (e, n) => {
|
|
209
209
|
const i = b("FmLabel"), a = b("FmIcon"), o = b("FmMenuItem"), r = b("FmMenu"), g = b("FmTooltip"), S = b("FmField"), V = b("FmFormGroup");
|
|
@@ -330,7 +330,7 @@ const ge = { class: "flex flex-col" }, xe = { class: "flex flex-col" }, Fe = { c
|
|
|
330
330
|
});
|
|
331
331
|
export {
|
|
332
332
|
Te as F,
|
|
333
|
-
|
|
333
|
+
je as _,
|
|
334
334
|
Le as a,
|
|
335
335
|
$e as b,
|
|
336
336
|
J as c,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as p, openBlock as s, createElementBlock as n, createElementVNode as r, toDisplayString as o, unref as l, Fragment as d, renderList as x } from "vue";
|
|
2
|
-
import { i as a, H as y } from "./app-
|
|
2
|
+
import { i as a, H as y } from "./app-BmrQUin8.js";
|
|
3
3
|
import { useI18n as _ } from "@feedmepos/mf-common";
|
|
4
4
|
const v = { class: "flex flex-col" }, g = { class: "flex flex-row fm-typo-en-body-md-600 bg-fm-color-neutral-gray-100 text-fm-color-typo-secondary h-48 items-center" }, h = { class: "flex-1 py-8 px-16" }, b = {
|
|
5
5
|
class: "flex-0 py-8 px-16",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ref as he, computed as je, defineComponent as He, mergeModels as rl, useModel as by, onMounted as xy, openBlock as Z, createElementBlock as ce, Fragment as Oe, unref as L, createBlock as se, createCommentVNode as Te, watch as Gn, resolveComponent as G, createElementVNode as P, renderList as Ct, withCtx as $e, createVNode as T, toDisplayString as mt, renderSlot as wy, mergeProps as ky, normalizeClass as cl, h as Gt, createTextVNode as $y, isRef as Cy, normalizeStyle as Ay, createSlots as Sy, Teleport as Vy, normalizeProps as Iy, guardReactiveProps as Ry } from "vue";
|
|
2
|
-
import { a as jr, d as ht, e as gr, f as Ty, D as al, h as Fa, G as dl, l as fl, p as il, u as jy, z as Oy, _ as Fy, B as Ey, C as Zy, E as ul } from "./app-
|
|
2
|
+
import { a as jr, d as ht, e as gr, f as Ty, D as al, h as Fa, G as dl, l as fl, p as il, u as jy, z as Oy, _ as Fy, B as Ey, C as Zy, E as ul } from "./app-BmrQUin8.js";
|
|
3
3
|
import { useDialog as pl, useSnackbar as xu, useBreakpoints as hl, useDialogChild as Ny, components as Ea, useProxiedModel as Py } from "@feedmepos/ui-library";
|
|
4
4
|
import { useI18n as Or, useCoreStore as My } from "@feedmepos/mf-common";
|
|
5
5
|
import { defineStore as ml, storeToRefs as ol } from "pinia";
|
|
6
6
|
import "./array-Ca8T3f_G.js";
|
|
7
|
-
import { u as Dy } from "./FmMultiselectDialog-
|
|
7
|
+
import { u as Dy } from "./FmMultiselectDialog-B3MYE2b7.js";
|
|
8
8
|
import { r as vl } from "./random-CSbEbElR.js";
|
|
9
9
|
import { u as Uy, R as zy } from "./usePromise-CbVUCxhj.js";
|
|
10
10
|
const vu = ml(
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ref as Y, defineComponent as te, computed as S, resolveComponent as w, openBlock as f, createBlock as B, withCtx as V, createVNode as c, unref as d, createElementBlock as A, Fragment as X, createElementVNode as m, createCommentVNode as j, renderSlot as ce, createTextVNode as Ie, toDisplayString as T, normalizeClass as ee, onMounted as st, watch as qe, renderList as se, isRef as De, createSlots as Ge, normalizeStyle as rt, Teleport as Pe, normalizeProps as it, guardReactiveProps as ut } from "vue";
|
|
2
|
-
import { a as ne, d as K, e as We, S as dt, f as mt, D as Be, h as be, A as _e, b as Me, i as Ke, j as xe, t as Ze, k as ve, l as Ve, U as ct, m as pt, M as vt, n as Ne, o as Le, p as ze, q as Je, r as ft, s as Qe, v as yt, w as gt, I as bt, x as ht, y as _t, u as xt, z as kt, _ as Vt, B as St, C as Ct, E as He } from "./app-
|
|
2
|
+
import { a as ne, d as K, e as We, S as dt, f as mt, D as Be, h as be, A as _e, b as Me, i as Ke, j as xe, t as Ze, k as ve, l as Ve, U as ct, m as pt, M as vt, n as Ne, o as Le, p as ze, q as Je, r as ft, s as Qe, v as yt, w as gt, I as bt, x as ht, y as _t, u as xt, z as kt, _ as Vt, B as St, C as Ct, E as He } from "./app-BmrQUin8.js";
|
|
3
3
|
import { useDialog as Xe, useSnackbar as ke, useProxiedModel as Oe, useDialogChild as wt, useBreakpoints as Ft } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as It, _ as Mt } from "./is-linked-ingredient-error-fJ2TJb3z.js";
|
|
5
5
|
import { useI18n as oe, useCoreStore as fe } from "@feedmepos/mf-common";
|
|
6
6
|
import { defineStore as $t, storeToRefs as Et } from "pinia";
|
|
7
7
|
import { g as Ut, _ as Se, S as Ce } from "./StockForecast.vue_vue_type_style_index_0_lang-KLXSWvo5.js";
|
|
8
|
-
import { _ as Rt } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
9
|
-
import { _ as we } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { u as et } from "./feature-
|
|
8
|
+
import { _ as Rt } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-Dx4rHyb5.js";
|
|
9
|
+
import { _ as we } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-CIKQ6nC1.js";
|
|
10
|
+
import { u as et } from "./feature-CAfGclDp.js";
|
|
11
11
|
import { _ as he } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
|
|
12
12
|
import { _ as At } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js";
|
|
13
13
|
import { r as Tt } from "./random-CSbEbElR.js";
|