@feedmepos/mf-inventory-portal 1.0.15-dev.4 → 1.0.16
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-C2-uZBjX.js → App-DLe8MywH.js} +2 -2
- package/dist/{ApprovalView-BYSG24mC.js → ApprovalView-mxcrI7Ws.js} +13 -13
- package/dist/{BindingsDialog-BVgAl7QB.js → BindingsDialog-Cps5iMAS.js} +2 -2
- package/dist/{BindingsPicker-CTqO6MTh.js → BindingsPicker-BnY2nyRk.js} +1 -1
- package/dist/{BindingsTable-DAkGh7yD.js → BindingsTable-Crqc1Toy.js} +1 -1
- package/dist/{ClosingDraftView-CJe3za1B.js → ClosingDraftView-xzxcHsG2.js} +24 -24
- package/dist/{ClosingTemplateView-CzuyG1NM.js → ClosingTemplateView-BDzluWjL.js} +33 -33
- package/dist/{DeliveryOrderPrintPreview-DC-S5Jkp.js → DeliveryOrderPrintPreview-CoFsVj7v.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BIR8hIIx.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DYywd7de.js} +37 -37
- package/dist/{FmMultiselectDialog-CyhyAmUf.js → FmMultiselectDialog-yBek9I71.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DbASoXHB.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DBw8E-lP.js} +40 -40
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BNcVcxkw.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CyQVlLJN.js} +1 -1
- package/dist/{IngredientGroupView-CoVSqi7W.js → IngredientGroupView-B1VuTznd.js} +2 -2
- package/dist/IngredientsView-D9owzWAW.js +1815 -0
- package/dist/{IntegrationView-BCGzax4k.js → IntegrationView-m5khiLP9.js} +724 -718
- package/dist/{InventoryBindingForm-BlpwH-je.js → InventoryBindingForm-CC4BIA2x.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DJxy3D57.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BuY0gbH-.js} +54 -54
- package/dist/{InventoryBindingSummary-B1dzBf4n.js → InventoryBindingSummary-DwRj2rIK.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BqxFQWOu.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-0uTRGWlr.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-COUgrdWW.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DVL1yxig.js} +3 -3
- package/dist/{PublishView-DRiyZ8D8.js → PublishView-wqdT_Xcc.js} +20 -20
- package/dist/{PurchaseOrderPrintPreview-DQjCaQ1U.js → PurchaseOrderPrintPreview-BO7y_wR8.js} +1 -1
- package/dist/{ReceiveRequestView-B88Nfuck.js → ReceiveRequestView-Bdps6Tkn.js} +153 -151
- package/dist/{RecipeView-B-PR_bJO.js → RecipeView-DXM3yob3.js} +4 -4
- package/dist/{StockView-DWZ9OiPc.js → StockView-D2mRUzX_.js} +7 -7
- package/dist/{SupplierView-BXLJkj_P.js → SupplierView-BgmS_v_I.js} +4 -4
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-GMAU4wTt.js → TransferDetails.vue_vue_type_script_setup_true_lang-BYmOYkyh.js} +72 -72
- package/dist/{TransferTemplateView-BU4CJAi6.js → TransferTemplateView-CFR_HCmC.js} +76 -76
- package/dist/{UnitView-6Z2MUNL0.js → UnitView-BvCl-BQQ.js} +14 -14
- package/dist/{WarehouseView-TVrrr6uJ.js → WarehouseView-5-1UF6-S.js} +1 -1
- package/dist/api/inventory.d.ts +164 -94
- package/dist/{app-BFIrvTDw.js → app-qbG0y7FC.js} +8217 -8181
- package/dist/app.js +4 -4
- package/dist/{decimal-wpLnNWZL.js → decimal-BYXpoIsD.js} +1 -1
- package/dist/{feature-BvpauT6E.js → feature-DC--7NYs.js} +131 -131
- package/dist/{format-unit-display-BbK1Rcd3.js → format-unit-display-C3tB-dzm.js} +29 -29
- package/dist/{index-C2nfh-Rm.js → index-CP5BcGNL.js} +1 -1
- package/dist/{index-DI7DUbNm.js → index-DkptV8zS.js} +4 -4
- package/dist/{stock-DkHVa1PB.js → stock-B-x8xRA7.js} +1 -1
- package/dist/stores/inventory.d.ts +197 -1
- package/dist/{supplier-BiJ-_4RN.js → supplier-h4yTBgES.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-Bkt9TvKm.js → use-ingredient-select-dialog-DSYWRwcn.js} +1 -1
- package/dist/{use-inventory-binding-dialog-ClzflO2S.js → use-inventory-binding-dialog-CEZ8ISmT.js} +1 -1
- package/dist/{vue-i18n-Bvbu7J8Z.js → vue-i18n-C68epl1Q.js} +504 -504
- package/package.json +1 -1
- package/dist/IngredientsView-auG4thna.js +0 -1778
|
@@ -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-qbG0y7FC.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-DC--7NYs.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";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as le, ref as D, watch as ue, computed as d, resolveComponent as ie, openBlock as x, createBlock as W, unref as n, withCtx as k, createElementVNode as i, normalizeClass as ce, createVNode as u, normalizeStyle as pe, toDisplayString as de, createElementBlock as me, createCommentVNode as fe, Teleport as ve, mergeProps as he } from "vue";
|
|
2
|
-
import { u as _e, b as ge,
|
|
3
|
-
import { a as ke, P as q, b as qe, _ as we } from "./TransferDetails.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as _e, b as ge, aA as b, aL as ye, ad as X, z as De, N as be, H as Oe, _ as Re, B as Se, C as xe, E as O } from "./app-qbG0y7FC.js";
|
|
3
|
+
import { a as ke, P as q, b as qe, _ as we } from "./TransferDetails.vue_vue_type_script_setup_true_lang-BYmOYkyh.js";
|
|
4
4
|
import { useBreakpoints as Pe } from "@feedmepos/ui-library";
|
|
5
5
|
import { useI18n as Ne } from "@feedmepos/mf-common";
|
|
6
|
-
const Te = { class: "flex flex-col py-8" },
|
|
6
|
+
const Te = { class: "flex flex-col py-8" }, Ae = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ce = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Le = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, Ve = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
|
|
9
|
-
},
|
|
9
|
+
}, ze = { class: "pt-8" }, Ue = /* @__PURE__ */ le({
|
|
10
10
|
__name: "ApprovalView",
|
|
11
11
|
setup(Me) {
|
|
12
12
|
const s = ke(q.APPROVAL), { columnDefs: Z } = qe(q.APPROVAL, s), B = _e(), I = ge();
|
|
@@ -158,31 +158,31 @@ const Te = { class: "flex flex-col py-8" }, Ce = { class: "fm-typo-en-body-md-40
|
|
|
158
158
|
onRowClick: (a) => n(s).promptShowTransferDetails(a.purchaseOrder, a)
|
|
159
159
|
}, {
|
|
160
160
|
default: k((a) => {
|
|
161
|
-
var c, p, T, f,
|
|
161
|
+
var c, p, T, f, A, C, L, V, v, z, M, h, E, _, F, $, H, Y, U, g, j, G, J, K, y, Q;
|
|
162
162
|
return [
|
|
163
163
|
i("div", Te, [
|
|
164
|
-
i("div",
|
|
164
|
+
i("div", Ae, [
|
|
165
165
|
u(n(O), {
|
|
166
166
|
render: (T = (p = (c = a.purchaseOrder__id) == null ? void 0 : c.column) == null ? void 0 : p.columnDef) == null ? void 0 : T.cell,
|
|
167
|
-
props: (
|
|
167
|
+
props: (A = (f = a.purchaseOrder__id) == null ? void 0 : f.getContext) == null ? void 0 : A.call(f)
|
|
168
168
|
}, null, 8, ["render", "props"])
|
|
169
169
|
]),
|
|
170
|
-
i("div",
|
|
170
|
+
i("div", Ce, [
|
|
171
171
|
u(n(O), {
|
|
172
|
-
render: (V = (
|
|
173
|
-
props: (
|
|
172
|
+
render: (V = (L = (C = a.to_name) == null ? void 0 : C.column) == null ? void 0 : L.columnDef) == null ? void 0 : V.cell,
|
|
173
|
+
props: (z = (v = a.to_name) == null ? void 0 : v.getContext) == null ? void 0 : z.call(v)
|
|
174
174
|
}, null, 8, ["render", "props"])
|
|
175
175
|
]),
|
|
176
|
-
i("div",
|
|
176
|
+
i("div", Le, de((F = (_ = (E = (h = (M = e.original.purchaseOrder) == null ? void 0 : M.items) == null ? void 0 : h.map) == null ? void 0 : E.call(h, (oe) => `${oe.name}`)) == null ? void 0 : _.join) == null ? void 0 : F.call(_, ", ")), 1),
|
|
177
177
|
($ = e.original.purchaseOrder) != null && $.ref ? (x(), me("div", Ve, [
|
|
178
178
|
u(n(O), {
|
|
179
179
|
render: (U = (Y = (H = a.purchaseOrder_ref) == null ? void 0 : H.column) == null ? void 0 : Y.columnDef) == null ? void 0 : U.cell,
|
|
180
180
|
props: (j = (g = a.purchaseOrder_ref) == null ? void 0 : g.getContext) == null ? void 0 : j.call(g)
|
|
181
181
|
}, null, 8, ["render", "props"])
|
|
182
182
|
])) : fe("", !0),
|
|
183
|
-
i("div",
|
|
183
|
+
i("div", ze, [
|
|
184
184
|
u(n(O), {
|
|
185
|
-
render: (
|
|
185
|
+
render: (K = (J = (G = a.purchaseOrder_status) == null ? void 0 : G.column) == null ? void 0 : J.columnDef) == null ? void 0 : K.cell,
|
|
186
186
|
props: (Q = (y = a.purchaseOrder_status) == null ? void 0 : y.getContext) == null ? void 0 : Q.call(y)
|
|
187
187
|
}, null, 8, ["render", "props"])
|
|
188
188
|
])
|
|
@@ -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,
|
|
2
|
+
import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-BuY0gbH-.js";
|
|
3
|
+
import { a as L, bb as S } from "./app-qbG0y7FC.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,
|
|
2
|
+
import { a as M, bb as x, a1 as z } from "./app-qbG0y7FC.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,
|
|
2
|
+
import { F as b, a as P, bb as R } from "./app-qbG0y7FC.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 E, resolveComponent as I, openBlock as x, createElementBlock as T, Fragment as K, createTextVNode as pe, createBlock as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as $e, ref as z, onMounted as Ie, computed as E, resolveComponent as I, openBlock as x, createElementBlock as T, Fragment as K, createTextVNode as pe, createBlock as Q, 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 Qe, isRef as Ue, normalizeClass as ve, renderList as he, normalizeStyle as Ee, Teleport as Je, mergeProps as Xe } from "vue";
|
|
2
|
+
import { a2 as et, u as je, ad as tt, ak as at, al as G, l as nt, O as Be, i as H, t as ot, Q as De, q as st, r as rt, s as lt, am as He, an as Le, a8 as ze, ao as ne, ae as ct, aj as ae, $ 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-qbG0y7FC.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-B-x8xRA7.js";
|
|
7
7
|
import { E as xt } from "./empty-placeholder-wf6-BWE8.js";
|
|
8
8
|
const Fe = et((n, s) => {
|
|
9
9
|
function e() {
|
|
@@ -100,7 +100,7 @@ const Fe = et((n, s) => {
|
|
|
100
100
|
}
|
|
101
101
|
return (k, g) => {
|
|
102
102
|
const l = I("FmLabel"), d = I("FmDatePicker"), m = I("FmTimePicker"), b = I("FmTextField"), _ = I("FmButton"), L = I("FmForm");
|
|
103
|
-
return M.value ? (x(),
|
|
103
|
+
return M.value ? (x(), Q(L, {
|
|
104
104
|
key: 1,
|
|
105
105
|
onValidationSuccess: U,
|
|
106
106
|
class: "flex flex-col gap-32",
|
|
@@ -265,8 +265,8 @@ function Rt(n, s) {
|
|
|
265
265
|
($) => $.balance
|
|
266
266
|
), i = [...n.items, ...n.negativeStockItems ?? []], u = qe(i), A = i.map(($) => {
|
|
267
267
|
var X, se;
|
|
268
|
-
const
|
|
269
|
-
return Ft($,
|
|
268
|
+
const J = ((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($, J, 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((J) => $[J.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,7 +603,7 @@ const Mt = Oe(
|
|
|
603
603
|
}, Zt = {
|
|
604
604
|
key: 0,
|
|
605
605
|
class: "flex flex-col items-center gap-8 h-full"
|
|
606
|
-
},
|
|
606
|
+
}, Qt = ["src"], Jt = {
|
|
607
607
|
key: 1,
|
|
608
608
|
class: "px-4 flex flex-col"
|
|
609
609
|
}, Xt = { class: "flex gap-12 content-stretch" }, ea = {
|
|
@@ -642,13 +642,13 @@ const Mt = Oe(
|
|
|
642
642
|
(t) => t.sku._id,
|
|
643
643
|
(t) => t.measurementsAmounts.filter((r) => !r.measurement.abbrev.toLocaleLowerCase().includes("inactive")).map((r) => r.measurement.id)
|
|
644
644
|
));
|
|
645
|
-
Ie(oe),
|
|
645
|
+
Ie(oe), Qe(
|
|
646
646
|
() => e.show,
|
|
647
647
|
(a) => {
|
|
648
648
|
a && (q.value = ue[0], oe());
|
|
649
649
|
}
|
|
650
650
|
);
|
|
651
|
-
const $ = De(0),
|
|
651
|
+
const $ = De(0), J = De(100);
|
|
652
652
|
async function oe() {
|
|
653
653
|
var t, r, f;
|
|
654
654
|
if (!d._currentLocation) return;
|
|
@@ -941,7 +941,7 @@ const Mt = Oe(
|
|
|
941
941
|
const f = Ge(t), c = He(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, J) : null;
|
|
945
945
|
return {
|
|
946
946
|
code: a.code,
|
|
947
947
|
name: a.name,
|
|
@@ -1069,7 +1069,7 @@ const Mt = Oe(
|
|
|
1069
1069
|
});
|
|
1070
1070
|
return (a, t) => {
|
|
1071
1071
|
const r = I("FmButtonGroup"), f = I("FmMenuDivider"), c = I("FmCard"), p = I("FmButton"), R = I("FmCircularProgress"), S = I("FmTextField"), B = I("FmIcon"), de = I("FmChip"), te = I("FmTable"), W = I("FmSpacer"), re = I("FmTooltip"), _e = I("FmSideSheet");
|
|
1072
|
-
return x(),
|
|
1072
|
+
return x(), Q(_e, {
|
|
1073
1073
|
"dismiss-away": "",
|
|
1074
1074
|
"max-width": 9999,
|
|
1075
1075
|
"model-value": h(A),
|
|
@@ -1081,7 +1081,7 @@ const Mt = Oe(
|
|
|
1081
1081
|
return [
|
|
1082
1082
|
o("div", fa, [
|
|
1083
1083
|
((C = e.draft) == null ? void 0 : C.status) === h(ne).enum.DRAFT ? (x(), T(K, { key: 0 }, [
|
|
1084
|
-
be.value ? (x(),
|
|
1084
|
+
be.value ? (x(), Q(re, {
|
|
1085
1085
|
key: 0,
|
|
1086
1086
|
"z-index": 51
|
|
1087
1087
|
}, {
|
|
@@ -1097,19 +1097,19 @@ const Mt = Oe(
|
|
|
1097
1097
|
})
|
|
1098
1098
|
]),
|
|
1099
1099
|
_: 1
|
|
1100
|
-
})) : (x(),
|
|
1100
|
+
})) : (x(), Q(p, {
|
|
1101
1101
|
key: "approve key",
|
|
1102
1102
|
label: "Approve",
|
|
1103
1103
|
onClick: t[4] || (t[4] = () => e.draft && h(u).approveDraft(e.draft, () => _("submitted")))
|
|
1104
1104
|
}))
|
|
1105
1105
|
], 64)) : Z("", !0),
|
|
1106
|
-
((N = e.draft) == null ? void 0 : N.status) === h(ne).enum.DRAFT ? (x(),
|
|
1106
|
+
((N = e.draft) == null ? void 0 : N.status) === h(ne).enum.DRAFT ? (x(), Q(p, {
|
|
1107
1107
|
key: 1,
|
|
1108
1108
|
label: "Reject",
|
|
1109
1109
|
variant: "destructive",
|
|
1110
1110
|
onClick: t[5] || (t[5] = () => e.draft && h(u).rejectDraft(e.draft, () => _("submitted")))
|
|
1111
1111
|
})) : Z("", !0),
|
|
1112
|
-
(Y = e.draft) != null && Y.approvedAt && ((me = e.draft) == null ? void 0 : me.status) !== h(ne).enum.COMPLETED ? (x(),
|
|
1112
|
+
(Y = e.draft) != null && Y.approvedAt && ((me = e.draft) == null ? void 0 : me.status) !== h(ne).enum.COMPLETED ? (x(), Q(p, {
|
|
1113
1113
|
key: 2,
|
|
1114
1114
|
label: "Sync",
|
|
1115
1115
|
loading: y.value,
|
|
@@ -1172,7 +1172,7 @@ const Mt = Oe(
|
|
|
1172
1172
|
o("div", Vt, [
|
|
1173
1173
|
t[10] || (t[10] = o("div", { class: "flex-1 fm-typo-en-title-sm-600 text-fm-color-typo-primary" }, " Closing items ", -1)),
|
|
1174
1174
|
v.value ? Z("", !0) : (x(), T("div", Ot, [
|
|
1175
|
-
a.draft && a.draft.status !== h(ne).enum.COMPLETED ? (x(),
|
|
1175
|
+
a.draft && a.draft.status !== h(ne).enum.COMPLETED ? (x(), Q(p, {
|
|
1176
1176
|
key: 0,
|
|
1177
1177
|
label: "Refresh balance",
|
|
1178
1178
|
"prepend-icon": "refresh",
|
|
@@ -1212,7 +1212,7 @@ const Mt = Oe(
|
|
|
1212
1212
|
}, null, 8, ["modelValue"])
|
|
1213
1213
|
]),
|
|
1214
1214
|
h(l).skuTags.size ? (x(), T("div", Gt, [
|
|
1215
|
-
(x(!0), T(K, null, he(h(l).skuTags.keys(), (C) => (x(),
|
|
1215
|
+
(x(!0), T(K, null, he(h(l).skuTags.keys(), (C) => (x(), Q(de, {
|
|
1216
1216
|
key: `${C}`,
|
|
1217
1217
|
label: `${C}`,
|
|
1218
1218
|
selectable: "",
|
|
@@ -1220,7 +1220,7 @@ const Mt = Oe(
|
|
|
1220
1220
|
onClick: (N) => m[`${C}`] = !m[`${C}`]
|
|
1221
1221
|
}, {
|
|
1222
1222
|
default: O(() => [
|
|
1223
|
-
m[`${C}`] ? (x(),
|
|
1223
|
+
m[`${C}`] ? (x(), Q(B, {
|
|
1224
1224
|
key: 0,
|
|
1225
1225
|
name: "check",
|
|
1226
1226
|
class: "text-white",
|
|
@@ -1254,7 +1254,7 @@ 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", Jt, [
|
|
1258
1258
|
(x(!0), T(K, null, he(ee.value, (C, N) => (x(), T(K, { key: N }, [
|
|
1259
1259
|
o("div", Xt, [
|
|
1260
1260
|
o("div", ea, [
|
|
@@ -1333,7 +1333,7 @@ const Mt = Oe(
|
|
|
1333
1333
|
o("img", {
|
|
1334
1334
|
src: h(xt),
|
|
1335
1335
|
alt: "List is empty"
|
|
1336
|
-
}, null, 8,
|
|
1336
|
+
}, null, 8, Qt)
|
|
1337
1337
|
]),
|
|
1338
1338
|
t[14] || (t[14] = o("div", { class: "fm-typo-en-body-lg-600" }, V("No records found"), -1)),
|
|
1339
1339
|
t[15] || (t[15] = o("div", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary px-16" }, V("You can track approval and rejection history here"), -1)),
|
|
@@ -1414,13 +1414,13 @@ const Mt = Oe(
|
|
|
1414
1414
|
onRowClick: (P) => h(e)(P)
|
|
1415
1415
|
}, {
|
|
1416
1416
|
default: O((P) => {
|
|
1417
|
-
var $,
|
|
1417
|
+
var $, J, 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 = (
|
|
1423
|
+
render: (oe = (J = ($ = P._id) == null ? void 0 : $.column) == null ? void 0 : J.columnDef) == null ? void 0 : oe.cell,
|
|
1424
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
|
]),
|
|
@@ -1459,7 +1459,7 @@ const Mt = Oe(
|
|
|
1459
1459
|
]),
|
|
1460
1460
|
_: 1
|
|
1461
1461
|
}, 8, ["title", "actions"]),
|
|
1462
|
-
(x(),
|
|
1462
|
+
(x(), Q(Je, { to: "body" }, [
|
|
1463
1463
|
w(pa, Xe(h(i), {
|
|
1464
1464
|
show: h(u),
|
|
1465
1465
|
"onUpdate:show": _[2] || (_[2] = (D) => Ue(u) ? u.value = D : null),
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ref as D, h as F, defineComponent as
|
|
2
|
-
import {
|
|
1
|
+
import { ref as D, h as F, defineComponent as j, 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 G, 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 Oe, normalizeStyle as Ye, Teleport as Ke, normalizeProps as Ge, guardReactiveProps as Je, mergeProps as We } from "vue";
|
|
2
|
+
import { a2 as qe, u as le, ae as Qe, D as Se, h as N, f as Xe, e as Ae, af as oe, r as Ze, ag 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 O, J as st, ah as lt, l as at, C as Ne, A as rt, ai as it, aj as ne, z as ct, _ as mt, B as ut } from "./app-qbG0y7FC.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-DSYWRwcn.js";
|
|
7
7
|
const ee = qe((i, o) => {
|
|
8
8
|
function s() {
|
|
9
9
|
var t;
|
|
@@ -524,7 +524,7 @@ function kt(i) {
|
|
|
524
524
|
const Tt = { class: "flex items-center gap-12 pl-8" }, $t = { class: "flex flex-col" }, Ct = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary flex items-center gap-4" }, It = {
|
|
525
525
|
key: 0,
|
|
526
526
|
class: "text-fm-color-typo-secondary fm-typo-en-body-sm-400"
|
|
527
|
-
}, St = { key: 0 }, Me = /* @__PURE__ */
|
|
527
|
+
}, St = { key: 0 }, Me = /* @__PURE__ */ j({
|
|
528
528
|
__name: "ClosingTemplateImportItem",
|
|
529
529
|
props: {
|
|
530
530
|
type: {},
|
|
@@ -548,7 +548,7 @@ const Tt = { class: "flex items-center gap-12 pl-8" }, $t = { class: "flex flex-
|
|
|
548
548
|
})
|
|
549
549
|
}, [
|
|
550
550
|
Fe(C(s.name) + " ", 1),
|
|
551
|
-
s.type === "create" ? (T(), I("span", It, "(" + C(v(o)("inventory.closing.template.import.new")) + ")", 1)) :
|
|
551
|
+
s.type === "create" ? (T(), I("span", It, "(" + C(v(o)("inventory.closing.template.import.new")) + ")", 1)) : G("", !0)
|
|
552
552
|
], 2),
|
|
553
553
|
s.errors.length ? (T(), I("div", St, [
|
|
554
554
|
$(t, { "z-index": 50 }, {
|
|
@@ -566,7 +566,7 @@ const Tt = { class: "flex items-center gap-12 pl-8" }, $t = { class: "flex flex-
|
|
|
566
566
|
]),
|
|
567
567
|
_: 1
|
|
568
568
|
})
|
|
569
|
-
])) :
|
|
569
|
+
])) : G("", !0)
|
|
570
570
|
]),
|
|
571
571
|
_("div", {
|
|
572
572
|
class: Y([
|
|
@@ -593,7 +593,7 @@ const Tt = { class: "flex items-center gap-12 pl-8" }, $t = { class: "flex flex-
|
|
|
593
593
|
}, Vt = { class: "text-fm-color-system-error-300 fm-typo-en-body-sm-400" }, Nt = {
|
|
594
594
|
key: 0,
|
|
595
595
|
class: "max-h-[200px] overflow-y-auto flex flex-col gap-8"
|
|
596
|
-
}, Bt = { class: "fm-typo-en-body-lg-600" }, Lt = /* @__PURE__ */
|
|
596
|
+
}, Bt = { class: "fm-typo-en-body-lg-600" }, Lt = /* @__PURE__ */ j({
|
|
597
597
|
__name: "ClosingTemplateImport",
|
|
598
598
|
setup(i) {
|
|
599
599
|
const o = D(null), s = dt(), l = Z(), e = D(!1), t = D(!1), f = D(new Array()), g = D([]), p = D([]), r = E(
|
|
@@ -701,7 +701,7 @@ const Tt = { class: "flex items-center gap-12 pl-8" }, $t = { class: "flex flex-
|
|
|
701
701
|
}, [
|
|
702
702
|
_("div", At, C(o.value.name), 1)
|
|
703
703
|
], 2),
|
|
704
|
-
e.value ?
|
|
704
|
+
e.value ? G("", !0) : (T(), I("div", Et, [
|
|
705
705
|
$(k, {
|
|
706
706
|
label: v(d)("inventory.ingredient.import.replaceFile"),
|
|
707
707
|
variant: r.value ? "destructive" : "secondary",
|
|
@@ -722,7 +722,7 @@ const Tt = { class: "flex items-center gap-12 pl-8" }, $t = { class: "flex flex-
|
|
|
722
722
|
}),
|
|
723
723
|
_("div", Vt, C(w), 1)
|
|
724
724
|
]))), 128))
|
|
725
|
-
])) :
|
|
725
|
+
])) : G("", !0)
|
|
726
726
|
])
|
|
727
727
|
]),
|
|
728
728
|
key: "0"
|
|
@@ -746,7 +746,7 @@ const Tt = { class: "flex items-center gap-12 pl-8" }, $t = { class: "flex flex-
|
|
|
746
746
|
errors: c.errors,
|
|
747
747
|
type: "update"
|
|
748
748
|
}, null, 8, ["name", "locations", "items", "errors"]))), 128))
|
|
749
|
-
])) :
|
|
749
|
+
])) : G("", !0)
|
|
750
750
|
], 64))
|
|
751
751
|
]);
|
|
752
752
|
};
|
|
@@ -934,7 +934,7 @@ const Tt = { class: "flex items-center gap-12 pl-8" }, $t = { class: "flex flex-
|
|
|
934
934
|
templateDetailsProps: m
|
|
935
935
|
};
|
|
936
936
|
});
|
|
937
|
-
var
|
|
937
|
+
var K = /* @__PURE__ */ ((i) => (i.Name = "Name", i.Unit = "Unit", i.Delete = "Delete", i))(K || {});
|
|
938
938
|
function zt(i) {
|
|
939
939
|
return {
|
|
940
940
|
columnDefs: E(() => {
|
|
@@ -1136,7 +1136,7 @@ function zt(i) {
|
|
|
1136
1136
|
})
|
|
1137
1137
|
};
|
|
1138
1138
|
}
|
|
1139
|
-
const Ht = { class: "flex flex-col gap-16 py-12" },
|
|
1139
|
+
const Ht = { class: "flex flex-col gap-16 py-12" }, jt = { class: "flex" }, Ot = { class: "flex-1 flex flex-col" }, Yt = { class: "fm-typo-en-title-sm-600 text-fm-color-typo-primary" }, Kt = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, Gt = { class: "flex flex-col gap-4" }, Jt = /* @__PURE__ */ j({
|
|
1140
1140
|
__name: "ClosingTemplateItem",
|
|
1141
1141
|
props: {
|
|
1142
1142
|
cellByColId: {},
|
|
@@ -1144,31 +1144,31 @@ const Ht = { class: "flex flex-col gap-16 py-12" }, Ot = { class: "flex" }, jt =
|
|
|
1144
1144
|
},
|
|
1145
1145
|
setup(i) {
|
|
1146
1146
|
const o = i, s = E(() => o.row), l = E(
|
|
1147
|
-
() => s.value.getVisibleCells().filter((e) => e.column.id !==
|
|
1147
|
+
() => s.value.getVisibleCells().filter((e) => e.column.id !== K.Name && e.column.id !== K.Delete)
|
|
1148
1148
|
);
|
|
1149
1149
|
return (e, t) => {
|
|
1150
1150
|
var f, g, p, r, m;
|
|
1151
1151
|
return T(), I("div", Ht, [
|
|
1152
|
-
_("div",
|
|
1153
|
-
_("div",
|
|
1152
|
+
_("div", jt, [
|
|
1153
|
+
_("div", Ot, [
|
|
1154
1154
|
_("div", Yt, C(s.value.original.sku.name), 1),
|
|
1155
|
-
_("div",
|
|
1155
|
+
_("div", Kt, C(s.value.original.sku.code), 1)
|
|
1156
1156
|
]),
|
|
1157
1157
|
_("div", null, [
|
|
1158
|
-
$(v(
|
|
1159
|
-
render: (p = (g = (f = e.cellByColId[v(
|
|
1160
|
-
props: (m = (r = e.cellByColId[v(
|
|
1158
|
+
$(v(O), {
|
|
1159
|
+
render: (p = (g = (f = e.cellByColId[v(K).Delete]) == null ? void 0 : f.column) == null ? void 0 : g.columnDef) == null ? void 0 : p.cell,
|
|
1160
|
+
props: (m = (r = e.cellByColId[v(K).Delete]) == null ? void 0 : r.getContext) == null ? void 0 : m.call(r)
|
|
1161
1161
|
}, null, 8, ["render", "props"])
|
|
1162
1162
|
])
|
|
1163
1163
|
]),
|
|
1164
|
-
_("div",
|
|
1164
|
+
_("div", Gt, [
|
|
1165
1165
|
t[0] || (t[0] = _("div", { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, null, -1)),
|
|
1166
1166
|
(T(!0), I(H, null, J(l.value, (d) => {
|
|
1167
1167
|
var y, b, u;
|
|
1168
1168
|
return T(), I("div", {
|
|
1169
1169
|
key: d.id
|
|
1170
1170
|
}, [
|
|
1171
|
-
$(v(
|
|
1171
|
+
$(v(O), {
|
|
1172
1172
|
render: (b = (y = d.column) == null ? void 0 : y.columnDef) == null ? void 0 : b.cell,
|
|
1173
1173
|
props: (u = d.getContext) == null ? void 0 : u.call(d)
|
|
1174
1174
|
}, null, 8, ["render", "props"])
|
|
@@ -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" }, 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__ */
|
|
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__ */ j({
|
|
1182
1182
|
__name: "ClosingTemplateForm",
|
|
1183
1183
|
props: {
|
|
1184
1184
|
modelValue: {},
|
|
@@ -1356,7 +1356,7 @@ const Ht = { class: "flex flex-col gap-16 py-12" }, Ot = { class: "flex" }, jt =
|
|
|
1356
1356
|
}, 8, ["disabled"]);
|
|
1357
1357
|
};
|
|
1358
1358
|
}
|
|
1359
|
-
}), sn = { class: "flex items-center" }, ln = { class: "fm-typo-en-title-md-600" }, an = { class: "flex gap-4" }, rn = /* @__PURE__ */
|
|
1359
|
+
}), sn = { class: "flex items-center" }, ln = { class: "fm-typo-en-title-md-600" }, an = { class: "flex gap-4" }, rn = /* @__PURE__ */ j({
|
|
1360
1360
|
__name: "ClosingTemplateDialog",
|
|
1361
1361
|
props: {
|
|
1362
1362
|
mode: {},
|
|
@@ -1468,7 +1468,7 @@ const Ht = { class: "flex flex-col gap-16 py-12" }, Ot = { class: "flex" }, jt =
|
|
|
1468
1468
|
const A = R("FmButton"), M = R("FmSideSheet");
|
|
1469
1469
|
return T(), V(M, {
|
|
1470
1470
|
modelValue: v(p),
|
|
1471
|
-
"onUpdate:modelValue": x[2] || (x[2] = (S) =>
|
|
1471
|
+
"onUpdate:modelValue": x[2] || (x[2] = (S) => Oe(p) ? p.value = S : null),
|
|
1472
1472
|
"dismiss-away": "",
|
|
1473
1473
|
"close-button": "",
|
|
1474
1474
|
"max-width": 800
|
|
@@ -1522,7 +1522,7 @@ const un = /* @__PURE__ */ it(cn, [["render", mn]]), dn = { class: "flex flex-co
|
|
|
1522
1522
|
}, yn = {
|
|
1523
1523
|
key: 3,
|
|
1524
1524
|
class: "fm-typo-en-body-lg-400 text-fm-color-typo-primary flex flex-col gap-12"
|
|
1525
|
-
}, hn = { class: "fm-typo-en-body-md-600" }, bn = { class: "fm-typo-en-body-md-600" }, _n = { key: 4 }, xn = { class: "fm-typo-en-body-md-600" }, wn = { class: "fm-typo-en-body-md-600" }, kn = { class: "flex sm:flex-col xs:flex-col justify-end gap-8 w-full mb-16" }, Tn = /* @__PURE__ */
|
|
1525
|
+
}, hn = { class: "fm-typo-en-body-md-600" }, bn = { class: "fm-typo-en-body-md-600" }, _n = { key: 4 }, xn = { class: "fm-typo-en-body-md-600" }, wn = { class: "fm-typo-en-body-md-600" }, kn = { class: "flex sm:flex-col xs:flex-col justify-end gap-8 w-full mb-16" }, Tn = /* @__PURE__ */ j({
|
|
1526
1526
|
__name: "ClosingTemplatePublish",
|
|
1527
1527
|
emits: ["close"],
|
|
1528
1528
|
setup(i, { emit: o }) {
|
|
@@ -1614,7 +1614,7 @@ const un = /* @__PURE__ */ it(cn, [["render", mn]]), dn = { class: "flex flex-co
|
|
|
1614
1614
|
]);
|
|
1615
1615
|
};
|
|
1616
1616
|
}
|
|
1617
|
-
}), $n = { class: "flex-1 flex flex-col gap-8" }, Cn = { class: "flex flex-col" }, In = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Sn = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Dn = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary line-clamp-2" }, Mn = { class: "fm-typo-en-body-lg-400 line-clamp-2" }, Vn = /* @__PURE__ */
|
|
1617
|
+
}), $n = { class: "flex-1 flex flex-col gap-8" }, Cn = { class: "flex flex-col" }, In = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Sn = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Dn = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary line-clamp-2" }, Mn = { class: "fm-typo-en-body-lg-400 line-clamp-2" }, Vn = /* @__PURE__ */ j({
|
|
1618
1618
|
__name: "ClosingTemplateView",
|
|
1619
1619
|
setup(i) {
|
|
1620
1620
|
const { t: o } = B(), { createTemplate: s, updateTemplate: l, exportTemplates: e, importTemplates: t } = se(), { templateDialogProps: f, templateDetailsProps: g } = Le(se()), p = le(), r = ie(), m = te(), d = ct(), { breakpoints: y } = ft();
|
|
@@ -1746,13 +1746,13 @@ const un = /* @__PURE__ */ it(cn, [["render", mn]]), dn = { class: "flex flex-co
|
|
|
1746
1746
|
_("div", $n, [
|
|
1747
1747
|
_("div", Cn, [
|
|
1748
1748
|
_("div", In, [
|
|
1749
|
-
$(v(
|
|
1749
|
+
$(v(O), {
|
|
1750
1750
|
render: (de = (ue = (me = U._id) == null ? void 0 : me.column) == null ? void 0 : ue.columnDef) == null ? void 0 : de.cell,
|
|
1751
1751
|
props: (pe = (W = U._id) == null ? void 0 : W.getContext) == null ? void 0 : pe.call(W)
|
|
1752
1752
|
}, null, 8, ["render", "props"])
|
|
1753
1753
|
]),
|
|
1754
1754
|
_("div", Sn, [
|
|
1755
|
-
$(v(
|
|
1755
|
+
$(v(O), {
|
|
1756
1756
|
render: (ge = (ve = (fe = U.name) == null ? void 0 : fe.column) == null ? void 0 : ve.columnDef) == null ? void 0 : ge.cell,
|
|
1757
1757
|
props: (ye = (q = U.name) == null ? void 0 : q.getContext) == null ? void 0 : ye.call(q)
|
|
1758
1758
|
}, null, 8, ["render", "props"])
|
|
@@ -1761,18 +1761,18 @@ const un = /* @__PURE__ */ it(cn, [["render", mn]]), dn = { class: "flex flex-co
|
|
|
1761
1761
|
count: ((be = S.original.locations) == null ? void 0 : be.length) ?? 0
|
|
1762
1762
|
}) : v(o)("inventory.closing.table.enabledForAll")), 1),
|
|
1763
1763
|
_("div", Dn, C([
|
|
1764
|
-
...S.original.items.slice(0, 3).map((
|
|
1764
|
+
...S.original.items.slice(0, 3).map((je) => je.sku.name),
|
|
1765
1765
|
...S.original.items.length >= 3 ? [`and ${S.original.items.length - 3} more items`] : []
|
|
1766
1766
|
].join(", ")), 1),
|
|
1767
1767
|
_("div", Mn, [
|
|
1768
|
-
$(v(
|
|
1768
|
+
$(v(O), {
|
|
1769
1769
|
render: (we = (xe = (_e = U.ref) == null ? void 0 : _e.column) == null ? void 0 : xe.columnDef) == null ? void 0 : we.cell,
|
|
1770
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
|
-
$(v(
|
|
1775
|
+
$(v(O), {
|
|
1776
1776
|
render: (Ce = ($e = (Te = U.status) == null ? void 0 : Te.column) == null ? void 0 : $e.columnDef) == null ? void 0 : Ce.cell,
|
|
1777
1777
|
props: (Ie = (X = U.status) == null ? void 0 : X.getContext) == null ? void 0 : Ie.call(X)
|
|
1778
1778
|
}, null, 8, ["render", "props"])
|
|
@@ -1789,8 +1789,8 @@ const un = /* @__PURE__ */ it(cn, [["render", mn]]), dn = { class: "flex flex-co
|
|
|
1789
1789
|
]),
|
|
1790
1790
|
_: 1
|
|
1791
1791
|
}, 8, ["title", "actions"]),
|
|
1792
|
-
(T(), V(
|
|
1793
|
-
$(un,
|
|
1792
|
+
(T(), V(Ke, { to: "body" }, [
|
|
1793
|
+
$(un, Ge(Je(v(g))), null, 16),
|
|
1794
1794
|
$(rn, We(v(f), {
|
|
1795
1795
|
onSubmitted: A[2] || (A[2] = (S) => v(m).fetchTemplates())
|
|
1796
1796
|
}), null, 16)
|
package/dist/{DeliveryOrderPrintPreview-DC-S5Jkp.js → DeliveryOrderPrintPreview-CoFsVj7v.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 {
|
|
3
|
+
import { av as y, ai as w } from "./app-qbG0y7FC.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"
|