@feedmepos/mf-inventory-portal 0.0.22-dev.10 → 0.0.22-dev.11
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/{ApprovalView-FwJEAzkU.js → ApprovalView-D0WHopPL.js} +4 -4
- package/dist/{BindingsDialog-DFLnNDpl.js → BindingsDialog-Ddv46-I4.js} +1 -1
- package/dist/{BindingsPicker-Dsd2wQUR.js → BindingsPicker-CbNehOQo.js} +1 -1
- package/dist/{BindingsTable-CTvUEEjT.js → BindingsTable-C-z5jzGu.js} +1 -1
- package/dist/{ClosingTemplateView-CPbDZmei.js → ClosingTemplateView-Bs59bML_.js} +79 -78
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-MW-Ni07p.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CGIfL24N.js} +1 -1
- package/dist/{IngredientsView-C07TvvCQ.js → IngredientsView-Bk0U9IrL.js} +3 -3
- package/dist/{IntegrationView-BAnrTgio.js → IntegrationView-hEv2Fe67.js} +2 -2
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-YAjDfJ_v.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-ButZx6Cm.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CvzA5XrI.js → PremiumBadge.vue_vue_type_script_setup_true_lang-D1WcEO5R.js} +1 -1
- package/dist/{PurchaseOrderPrintPreview-FiOxyAL2.js → PurchaseOrderPrintPreview-wJLaWy-I.js} +1 -1
- package/dist/{ReceiveRequestView-BTZ_99LY.js → ReceiveRequestView-CT7_gSPj.js} +6 -6
- package/dist/{RecipeView-BTRlXuIp.js → RecipeView-smOk18iy.js} +3 -3
- package/dist/{StockView-B50nZjP-.js → StockView-CE00jzyG.js} +6 -6
- package/dist/{SupplierView-CYEdoZ7g.js → SupplierView-D346tx42.js} +3 -3
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CMMMgbwA.js → TransferDetails.vue_vue_type_script_setup_true_lang-ixxW-kNE.js} +4 -4
- package/dist/{TransferDialog.vue_vue_type_script_setup_true_lang-BKmp6Emq.js → TransferDialog.vue_vue_type_script_setup_true_lang-Cf9TVjj7.js} +5 -5
- package/dist/{TransferTemplateView-DJYoQWDE.js → TransferTemplateView-Cz6Hlmtm.js} +345 -360
- package/dist/{UnitView-Cg9lop9G.js → UnitView-BdEvCjCv.js} +4 -4
- package/dist/{WarehouseView-DQKq_W8l.js → WarehouseView-CtqTSV9B.js} +2 -2
- package/dist/{app-CRbOk4dN.js → app-BbLqKVBN.js} +311 -311
- package/dist/app.js +1 -1
- package/dist/{decimal-BrFW4i9P.js → decimal-BXH34eZD.js} +1 -1
- package/dist/{defineDeepModel-Dihj57Tu.js → defineDeepModel-CN2db5nM.js} +1 -1
- package/dist/{format-time-from-id-CAMmsTAi.js → format-time-from-id-mDqFHPw7.js} +1 -1
- package/dist/helper/rules.d.ts +1 -0
- package/dist/{id-to-date-CLOPCZAL.js → id-to-date-CRXORa4v.js} +1 -1
- package/dist/{purchase-order-transaction-type-C6B_s24N.js → purchase-order-transaction-type-DHsIlV8_.js} +3 -3
- package/dist/{supplier-CQ57ob8j.js → supplier-DTKB6s-P.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-template-enabled-locations-2-D5I1uMwS.js → use-template-enabled-locations-2-BVp9gXZX.js} +1 -1
- package/dist/{xlsx-WWSZpgZu.js → xlsx-CZubj3Ki.js} +1 -1
- package/dist/{xlsx.util-DjCdSP8D.js → xlsx.util-DjhsRAqO.js} +2 -2
- package/package.json +3 -3
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as ee, ref as h, watch as te, computed as U, resolveComponent as ae, openBlock as g, createBlock as Z, unref as e, withCtx as b, createElementVNode as s, normalizeClass as oe, createVNode as n, normalizeStyle as re, toDisplayString as ne, createElementBlock as se, createCommentVNode as le, Teleport as ie, mergeProps as ce } from "vue";
|
|
2
|
-
import { Z as f, O as G, j as pe } from "./app-
|
|
3
|
-
import { b as ue, u as me, _ as de, a as fe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { u as _e } from "./purchase-order-transaction-type-
|
|
5
|
-
import { u as ve, _ as De } from "./TransferDetails.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { Z as f, O as G, j as pe } from "./app-BbLqKVBN.js";
|
|
3
|
+
import { b as ue, u as me, _ as de, a as fe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CGIfL24N.js";
|
|
4
|
+
import { u as _e } from "./purchase-order-transaction-type-DHsIlV8_.js";
|
|
5
|
+
import { u as ve, _ as De } from "./TransferDetails.vue_vue_type_script_setup_true_lang-ixxW-kNE.js";
|
|
6
6
|
import { _ as he, F as _ } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
7
7
|
import { useBreakpoints as ge } from "@feedmepos/ui-library";
|
|
8
8
|
import { useI18n as be } from "@feedmepos/mf-common";
|
|
@@ -1,5 +1,5 @@
|
|
|
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 d, createBlock as I, withCtx as R, createVNode as a, createCommentVNode as z, createElementVNode as P } from "vue";
|
|
2
|
-
import { u as V, ao as L, _ as S } from "./app-
|
|
2
|
+
import { u as V, ao as L, _ as S } from "./app-BbLqKVBN.js";
|
|
3
3
|
const U = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "flex justify-end gap-8 items-center"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as S, computed as u, ref as l, onMounted as U, onUnmounted as V, resolveComponent as E, openBlock as p, createElementBlock as f, createVNode as r, createElementVNode as k } from "vue";
|
|
2
|
-
import { u as M, ao as x, y as z } from "./app-
|
|
2
|
+
import { u as M, ao as x, y as z } from "./app-BbLqKVBN.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 _, ref as c, provide as C, computed as f, resolveComponent as b, openBlock as p, createBlock as h, h as z, onMounted as B, onUnmounted as I, createElementBlock as y, createVNode as N, createElementVNode as x } from "vue";
|
|
2
|
-
import { q as v, u as E, ao as L } from "./app-
|
|
2
|
+
import { q as v, u as E, ao as L } from "./app-BbLqKVBN.js";
|
|
3
3
|
import { components as F } from "@feedmepos/ui-library";
|
|
4
4
|
import "@feedmepos/mf-common";
|
|
5
5
|
const P = /* @__PURE__ */ _({
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { ref as S, h as x, computed as P, defineComponent as Y, openBlock as k, createElementBlock as F, createElementVNode as f, toDisplayString as A, createVNode as w, unref as
|
|
2
|
-
import { u as Ue, _ as Ee, a as Ne } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { ref as S, h as x, computed as P, defineComponent as Y, openBlock as k, createElementBlock as F, createElementVNode as f, toDisplayString as A, createVNode as w, unref as c, Fragment as _e, renderList as Ce, resolveComponent as V, createBlock as z, withCtx as I, watch as Me, isRef as Pe, createTextVNode as ve, normalizeClass as Se, normalizeStyle as Fe, Teleport as Ae, normalizeProps as Ve, guardReactiveProps as Ie, mergeProps as Re } from "vue";
|
|
2
|
+
import { u as Ue, _ as Ee, a as Ne } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CGIfL24N.js";
|
|
3
3
|
import { useCoreStore as Be, useI18n as q } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialog as Q, useSnackbar as W, FmButtonVariant as be, components as R, useProxiedModel as ze, useBreakpoints as Le } from "@feedmepos/ui-library";
|
|
5
5
|
import { defineStore as we, storeToRefs as Ye } from "pinia";
|
|
6
6
|
import { F as U, D as ye, R as E } from "./row-action.enum-PMKMRrZR.js";
|
|
7
|
-
import { n as je, c as xe, j as ke, u as Ke, R as He, y as Je, i as qe, Q as he } from "./app-
|
|
7
|
+
import { n as je, c as xe, j as ke, u as Ke, R as He, y as Je, i as qe, Q as he } from "./app-BbLqKVBN.js";
|
|
8
8
|
import { c as Ge, F as B, _ as Te } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
9
|
-
import { f as Oe } from "./format-time-from-id-
|
|
9
|
+
import { f as Oe } from "./format-time-from-id-mDqFHPw7.js";
|
|
10
10
|
import "vue-router";
|
|
11
|
-
import { d as Qe } from "./defineDeepModel-
|
|
12
|
-
import { u as We } from "./use-template-enabled-locations-2-
|
|
11
|
+
import { d as Qe } from "./defineDeepModel-CN2db5nM.js";
|
|
12
|
+
import { u as We } from "./use-template-enabled-locations-2-BVp9gXZX.js";
|
|
13
13
|
const G = je((m, g) => {
|
|
14
14
|
function v() {
|
|
15
15
|
var t;
|
|
@@ -61,12 +61,12 @@ const G = je((m, g) => {
|
|
|
61
61
|
mode: U.UPDATE,
|
|
62
62
|
modelValue: d,
|
|
63
63
|
show: !0,
|
|
64
|
-
"onUpdate:show"(
|
|
65
|
-
s.value.show =
|
|
64
|
+
"onUpdate:show"(u) {
|
|
65
|
+
s.value.show = u;
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
|
-
function b(d,
|
|
69
|
+
function b(d, u, y) {
|
|
70
70
|
m.open({
|
|
71
71
|
title: `Confirm deleting template ${d.name}?`,
|
|
72
72
|
message: "Deleted template can no longer be retrieved",
|
|
@@ -86,7 +86,7 @@ const G = je((m, g) => {
|
|
|
86
86
|
type: "info"
|
|
87
87
|
});
|
|
88
88
|
try {
|
|
89
|
-
|
|
89
|
+
u.value = !0;
|
|
90
90
|
const [p] = await Promise.allSettled([
|
|
91
91
|
v.deleteTemplate(d),
|
|
92
92
|
new Promise((_) => setTimeout(_, 1e3))
|
|
@@ -103,7 +103,7 @@ const G = je((m, g) => {
|
|
|
103
103
|
type: "error"
|
|
104
104
|
}), console.error("error on deleting closing template", p);
|
|
105
105
|
} finally {
|
|
106
|
-
|
|
106
|
+
u.value = !1, y();
|
|
107
107
|
}
|
|
108
108
|
});
|
|
109
109
|
}
|
|
@@ -112,8 +112,8 @@ const G = je((m, g) => {
|
|
|
112
112
|
a.value = {
|
|
113
113
|
template: d,
|
|
114
114
|
show: !0,
|
|
115
|
-
"onUpdate:show"(
|
|
116
|
-
a.value.show =
|
|
115
|
+
"onUpdate:show"(u) {
|
|
116
|
+
a.value.show = u;
|
|
117
117
|
},
|
|
118
118
|
"onAction:edit"() {
|
|
119
119
|
a.value.show = !1, t(xe(d));
|
|
@@ -132,7 +132,7 @@ const G = je((m, g) => {
|
|
|
132
132
|
"closingTable",
|
|
133
133
|
function() {
|
|
134
134
|
const { t: g } = q(), { viewTemplate: v, updateTemplate: s, deleteTemplate: n } = O(), t = S({}), b = S(new Array()), a = S(!1), i = ke(), d = G();
|
|
135
|
-
async function
|
|
135
|
+
async function u() {
|
|
136
136
|
if (b.value = [], !!i._currentLocation) {
|
|
137
137
|
a.value = !0;
|
|
138
138
|
try {
|
|
@@ -171,7 +171,7 @@ const G = je((m, g) => {
|
|
|
171
171
|
case E.Edit:
|
|
172
172
|
return s(o);
|
|
173
173
|
case E.Delete:
|
|
174
|
-
return n(o, a,
|
|
174
|
+
return n(o, a, u);
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
return {
|
|
@@ -269,7 +269,7 @@ const G = je((m, g) => {
|
|
|
269
269
|
recentPublish: t,
|
|
270
270
|
templates: b,
|
|
271
271
|
loading: a,
|
|
272
|
-
fetchTemplates:
|
|
272
|
+
fetchTemplates: u,
|
|
273
273
|
loadTemplate: y
|
|
274
274
|
};
|
|
275
275
|
}
|
|
@@ -332,16 +332,16 @@ function Xe(m) {
|
|
|
332
332
|
modelValue: !((a = t.disabledMeasurements) != null && a.includes(t.sku.unit._id)),
|
|
333
333
|
disabled: m.disabled || !((i = t.disabledMeasurements) != null && i.includes(t.sku.unit._id)) && t.sku.unit.measurements.every(
|
|
334
334
|
(d) => {
|
|
335
|
-
var
|
|
336
|
-
return (
|
|
335
|
+
var u;
|
|
336
|
+
return (u = t.disabledMeasurements) == null ? void 0 : u.includes(d.id);
|
|
337
337
|
}
|
|
338
338
|
),
|
|
339
339
|
"onUpdate:modelValue"(d) {
|
|
340
|
-
var
|
|
340
|
+
var u;
|
|
341
341
|
if (d)
|
|
342
342
|
m.updateItem({
|
|
343
343
|
...t,
|
|
344
|
-
disabledMeasurements: (
|
|
344
|
+
disabledMeasurements: (u = t.disabledMeasurements) == null ? void 0 : u.filter(
|
|
345
345
|
(y) => y !== t.sku.unit._id
|
|
346
346
|
)
|
|
347
347
|
});
|
|
@@ -382,7 +382,7 @@ function Xe(m) {
|
|
|
382
382
|
enableSorting: !1,
|
|
383
383
|
size: "auto",
|
|
384
384
|
cell(b) {
|
|
385
|
-
var d,
|
|
385
|
+
var d, u, y, p;
|
|
386
386
|
const a = b.row.original, i = a.sku.unit.measurements[t];
|
|
387
387
|
return i ? x(
|
|
388
388
|
R.FmFormGroup,
|
|
@@ -398,7 +398,7 @@ function Xe(m) {
|
|
|
398
398
|
[
|
|
399
399
|
x(R.FmCheckbox, {
|
|
400
400
|
value: i.id,
|
|
401
|
-
modelValue: !((
|
|
401
|
+
modelValue: !((u = a.disabledMeasurements) != null && u.includes(i.id)),
|
|
402
402
|
disabled: m.disabled || !((y = a.disabledMeasurements) != null && y.includes(i.id)) && ((p = a.disabledMeasurements) == null ? void 0 : p.includes(a.sku.unit._id)) && a.sku.unit.measurements.filter((_) => _.id != i.id).every((_) => {
|
|
403
403
|
var e;
|
|
404
404
|
return (e = a.disabledMeasurements) == null ? void 0 : e.includes(_.id);
|
|
@@ -487,7 +487,7 @@ const Ze = { class: "flex flex-col gap-16 py-12" }, et = { class: "flex" }, tt =
|
|
|
487
487
|
() => v.value.getVisibleCells().filter((n) => n.column.id !== L.Name && n.column.id !== L.Delete)
|
|
488
488
|
);
|
|
489
489
|
return (n, t) => {
|
|
490
|
-
var b, a, i, d,
|
|
490
|
+
var b, a, i, d, u;
|
|
491
491
|
return k(), F("div", Ze, [
|
|
492
492
|
f("div", et, [
|
|
493
493
|
f("div", tt, [
|
|
@@ -495,9 +495,9 @@ const Ze = { class: "flex flex-col gap-16 py-12" }, et = { class: "flex" }, tt =
|
|
|
495
495
|
f("div", lt, A(v.value.original.sku.code), 1)
|
|
496
496
|
]),
|
|
497
497
|
f("div", null, [
|
|
498
|
-
w(
|
|
499
|
-
render: (i = (a = (b = n.cellByColId[
|
|
500
|
-
props: (
|
|
498
|
+
w(c(B), {
|
|
499
|
+
render: (i = (a = (b = n.cellByColId[c(L).Delete]) == null ? void 0 : b.column) == null ? void 0 : a.columnDef) == null ? void 0 : i.cell,
|
|
500
|
+
props: (u = (d = n.cellByColId[c(L).Delete]) == null ? void 0 : d.getContext) == null ? void 0 : u.call(d)
|
|
501
501
|
}, null, 8, ["render", "props"])
|
|
502
502
|
])
|
|
503
503
|
]),
|
|
@@ -508,7 +508,7 @@ const Ze = { class: "flex flex-col gap-16 py-12" }, et = { class: "flex" }, tt =
|
|
|
508
508
|
return k(), F("div", {
|
|
509
509
|
key: y.id
|
|
510
510
|
}, [
|
|
511
|
-
w(
|
|
511
|
+
w(c(B), {
|
|
512
512
|
render: (_ = (p = y.column) == null ? void 0 : p.columnDef) == null ? void 0 : _.cell,
|
|
513
513
|
props: (e = y.getContext) == null ? void 0 : e.call(y)
|
|
514
514
|
}, null, 8, ["render", "props"])
|
|
@@ -536,19 +536,19 @@ const Ze = { class: "flex flex-col gap-16 py-12" }, et = { class: "flex" }, tt =
|
|
|
536
536
|
setLocations(e) {
|
|
537
537
|
s.locations = e;
|
|
538
538
|
}
|
|
539
|
-
}),
|
|
539
|
+
}), u = S();
|
|
540
540
|
g({
|
|
541
541
|
validateInputs: () => {
|
|
542
542
|
var e, o;
|
|
543
|
-
(o = (e =
|
|
543
|
+
(o = (e = u.value) == null ? void 0 : e.validateInputs) == null || o.call(e);
|
|
544
544
|
},
|
|
545
545
|
resetInputsValidation: () => {
|
|
546
546
|
var e, o;
|
|
547
|
-
(o = (e =
|
|
547
|
+
(o = (e = u.value) == null ? void 0 : e.resetInputsValidation) == null || o.call(e);
|
|
548
548
|
},
|
|
549
549
|
resetInputs: () => {
|
|
550
550
|
var e, o;
|
|
551
|
-
(o = (e =
|
|
551
|
+
(o = (e = u.value) == null ? void 0 : e.resetInputs) == null || o.call(e);
|
|
552
552
|
}
|
|
553
553
|
});
|
|
554
554
|
const y = Xe({
|
|
@@ -606,7 +606,7 @@ const Ze = { class: "flex flex-col gap-16 py-12" }, et = { class: "flex" }, tt =
|
|
|
606
606
|
const h = V("FmTextField"), D = V("FmButton"), $ = V("FmTable"), C = V("FmForm");
|
|
607
607
|
return k(), z(C, {
|
|
608
608
|
ref_key: "formRef",
|
|
609
|
-
ref:
|
|
609
|
+
ref: u,
|
|
610
610
|
class: "flex flex-col gap-32",
|
|
611
611
|
disabled: e.disabled
|
|
612
612
|
}, {
|
|
@@ -614,17 +614,17 @@ const Ze = { class: "flex flex-col gap-16 py-12" }, et = { class: "flex" }, tt =
|
|
|
614
614
|
f("div", at, [
|
|
615
615
|
f("div", it, [
|
|
616
616
|
w(h, {
|
|
617
|
-
label:
|
|
617
|
+
label: c(n)("inventory.closing.form.name"),
|
|
618
618
|
"label-mark": "required",
|
|
619
|
-
modelValue:
|
|
620
|
-
"onUpdate:modelValue": o[0] || (o[0] = (l) =>
|
|
621
|
-
rules: [
|
|
619
|
+
modelValue: c(s).name,
|
|
620
|
+
"onUpdate:modelValue": o[0] || (o[0] = (l) => c(s).name = l),
|
|
621
|
+
rules: [c(He)()]
|
|
622
622
|
}, null, 8, ["label", "modelValue", "rules"]),
|
|
623
623
|
w(h, {
|
|
624
|
-
label:
|
|
624
|
+
label: c(n)("inventory.closing.form.reference"),
|
|
625
625
|
"label-mark": "optional",
|
|
626
|
-
modelValue:
|
|
627
|
-
"onUpdate:modelValue": o[1] || (o[1] = (l) =>
|
|
626
|
+
modelValue: c(s).ref,
|
|
627
|
+
"onUpdate:modelValue": o[1] || (o[1] = (l) => c(s).ref = l)
|
|
628
628
|
}, null, 8, ["label", "modelValue"])
|
|
629
629
|
])
|
|
630
630
|
]),
|
|
@@ -637,22 +637,23 @@ const Ze = { class: "flex flex-col gap-16 py-12" }, et = { class: "flex" }, tt =
|
|
|
637
637
|
"prepend-icon": "add",
|
|
638
638
|
variant: "plain",
|
|
639
639
|
class: "border-2 rounded-lg border-fm-color-primary",
|
|
640
|
-
onClick:
|
|
640
|
+
onClick: c(a)
|
|
641
641
|
}, null, 8, ["disabled", "onClick"])
|
|
642
642
|
]),
|
|
643
643
|
w($, {
|
|
644
|
-
"column-defs":
|
|
645
|
-
"row-data":
|
|
644
|
+
"column-defs": c(i),
|
|
645
|
+
"row-data": c(d),
|
|
646
646
|
"shrink-at": 9999,
|
|
647
|
+
onRowClick: c(a),
|
|
647
648
|
"hide-footer": ""
|
|
648
|
-
}, null, 8, ["column-defs", "row-data"])
|
|
649
|
+
}, null, 8, ["column-defs", "row-data", "onRowClick"])
|
|
649
650
|
]),
|
|
650
651
|
f("div", ut, [
|
|
651
652
|
f("div", dt, [
|
|
652
|
-
f("div", mt, A(
|
|
653
|
+
f("div", mt, A(c(n)("inventory.closing.form.items.title")), 1),
|
|
653
654
|
w(D, {
|
|
654
655
|
disabled: e.disabled,
|
|
655
|
-
label:
|
|
656
|
+
label: c(n)("inventory.closing.form.items.addItem"),
|
|
656
657
|
"prepend-icon": "add",
|
|
657
658
|
variant: "plain",
|
|
658
659
|
class: "border-2 rounded-lg border-fm-color-primary",
|
|
@@ -662,14 +663,14 @@ const Ze = { class: "flex flex-col gap-16 py-12" }, et = { class: "flex" }, tt =
|
|
|
662
663
|
]),
|
|
663
664
|
(k(), z($, {
|
|
664
665
|
"column-defs": p.value,
|
|
665
|
-
"row-data":
|
|
666
|
-
key:
|
|
666
|
+
"row-data": c(s).items,
|
|
667
|
+
key: c(s).items.map((l) => l.sku._id).join("."),
|
|
667
668
|
"hide-footer": ""
|
|
668
669
|
}, {
|
|
669
670
|
"list-row": I((l) => [
|
|
670
671
|
(k(), z(Te, {
|
|
671
672
|
row: l,
|
|
672
|
-
key:
|
|
673
|
+
key: c(s).items.map((r) => r.sku._id).join(".")
|
|
673
674
|
}, {
|
|
674
675
|
default: I((r) => [
|
|
675
676
|
w(nt, {
|
|
@@ -706,12 +707,12 @@ const Ze = { class: "flex flex-col gap-16 py-12" }, et = { class: "flex" }, tt =
|
|
|
706
707
|
items: []
|
|
707
708
|
};
|
|
708
709
|
}
|
|
709
|
-
const
|
|
710
|
+
const u = S(s.modelValue ?? d()), y = S(((C = s.modelValue) == null ? void 0 : C._id) ?? `${Math.random()}`);
|
|
710
711
|
Me(
|
|
711
712
|
() => s.show,
|
|
712
713
|
(l) => {
|
|
713
714
|
var r;
|
|
714
|
-
l && (
|
|
715
|
+
l && (u.value = s.modelValue ?? d(), y.value = ((r = s.modelValue) == null ? void 0 : r._id) ?? `${Math.random()}`);
|
|
715
716
|
}
|
|
716
717
|
);
|
|
717
718
|
const p = S(!1), _ = P(() => {
|
|
@@ -740,7 +741,7 @@ const Ze = { class: "flex flex-col gap-16 py-12" }, et = { class: "flex" }, tt =
|
|
|
740
741
|
}
|
|
741
742
|
});
|
|
742
743
|
async function o() {
|
|
743
|
-
const l =
|
|
744
|
+
const l = u.value;
|
|
744
745
|
if (l) {
|
|
745
746
|
p.value = !0;
|
|
746
747
|
try {
|
|
@@ -761,7 +762,7 @@ const Ze = { class: "flex flex-col gap-16 py-12" }, et = { class: "flex" }, tt =
|
|
|
761
762
|
}
|
|
762
763
|
}
|
|
763
764
|
async function h() {
|
|
764
|
-
const l =
|
|
765
|
+
const l = u.value;
|
|
765
766
|
if (l) {
|
|
766
767
|
p.value = !0;
|
|
767
768
|
try {
|
|
@@ -796,7 +797,7 @@ const Ze = { class: "flex flex-col gap-16 py-12" }, et = { class: "flex" }, tt =
|
|
|
796
797
|
return (l, r) => {
|
|
797
798
|
const N = V("FmButton"), M = V("FmSideSheet");
|
|
798
799
|
return k(), z(M, {
|
|
799
|
-
modelValue:
|
|
800
|
+
modelValue: c(i),
|
|
800
801
|
"onUpdate:modelValue": r[2] || (r[2] = (T) => Pe(i) ? i.value = T : null),
|
|
801
802
|
"dismiss-away": "",
|
|
802
803
|
"close-button": "",
|
|
@@ -813,8 +814,8 @@ const Ze = { class: "flex flex-col gap-16 py-12" }, et = { class: "flex" }, tt =
|
|
|
813
814
|
ref_key: "formRef",
|
|
814
815
|
ref: e,
|
|
815
816
|
onValidationSuccess: D,
|
|
816
|
-
"model-value":
|
|
817
|
-
"onUpdate:modelValue": r[0] || (r[0] = (T) =>
|
|
817
|
+
"model-value": u.value,
|
|
818
|
+
"onUpdate:modelValue": r[0] || (r[0] = (T) => u.value = T),
|
|
818
819
|
disabled: p.value,
|
|
819
820
|
key: y.value
|
|
820
821
|
}, null, 8, ["model-value", "disabled"]))
|
|
@@ -823,13 +824,13 @@ const Ze = { class: "flex flex-col gap-16 py-12" }, et = { class: "flex" }, tt =
|
|
|
823
824
|
f("div", vt, [
|
|
824
825
|
w(N, {
|
|
825
826
|
loading: p.value,
|
|
826
|
-
label:
|
|
827
|
+
label: c(a)("common.save"),
|
|
827
828
|
onClick: $
|
|
828
829
|
}, null, 8, ["loading", "label"]),
|
|
829
830
|
w(N, {
|
|
830
831
|
disabled: p.value,
|
|
831
832
|
variant: "tertiary",
|
|
832
|
-
label:
|
|
833
|
+
label: c(a)("common.close"),
|
|
833
834
|
onClick: r[1] || (r[1] = (T) => n("update:show", !1))
|
|
834
835
|
}, null, 8, ["disabled", "label"])
|
|
835
836
|
])
|
|
@@ -863,7 +864,7 @@ const _t = /* @__PURE__ */ qe(yt, [["render", ht]]), wt = { class: "flex flex-co
|
|
|
863
864
|
title: "Success",
|
|
864
865
|
message: "You may refresh after a while to review publish status",
|
|
865
866
|
type: "success"
|
|
866
|
-
}),
|
|
867
|
+
}), u();
|
|
867
868
|
} catch (y) {
|
|
868
869
|
s.open({
|
|
869
870
|
title: "Something went wrong",
|
|
@@ -877,13 +878,13 @@ const _t = /* @__PURE__ */ qe(yt, [["render", ht]]), wt = { class: "flex flex-co
|
|
|
877
878
|
const i = P(() => t.recentPublish.recentJob), d = P(
|
|
878
879
|
() => t.templates.length && (!i.value || i.value.outlets.length === i.value.completed.length)
|
|
879
880
|
);
|
|
880
|
-
function
|
|
881
|
+
function u() {
|
|
881
882
|
b("close");
|
|
882
883
|
}
|
|
883
884
|
return (y, p) => {
|
|
884
885
|
const _ = V("FmCircularProgress"), e = V("FmButton");
|
|
885
886
|
return k(), F("div", wt, [
|
|
886
|
-
|
|
887
|
+
c(t).templates.length ? v.value ? (k(), F("div", kt, [
|
|
887
888
|
f("div", null, [
|
|
888
889
|
w(_, {
|
|
889
890
|
size: "md",
|
|
@@ -895,9 +896,9 @@ const _t = /* @__PURE__ */ qe(yt, [["render", ht]]), wt = { class: "flex flex-co
|
|
|
895
896
|
], -1))
|
|
896
897
|
])) : i.value ? i.value.outlets.length === i.value.completed.length ? (k(), F("div", Dt, [
|
|
897
898
|
f("p", null, [
|
|
898
|
-
ve(" Your recent publishing task at " + A(
|
|
899
|
+
ve(" Your recent publishing task at " + A(c(he)(new Date(i.value.createdAt))) + " has ", 1),
|
|
899
900
|
p[1] || (p[1] = f("span", { class: "fm-typo-en-body-lg-600" }, "completed", -1)),
|
|
900
|
-
ve(" at " + A(
|
|
901
|
+
ve(" at " + A(c(he)(new Date(i.value.updatedAt))) + ". ", 1)
|
|
901
902
|
]),
|
|
902
903
|
p[2] || (p[2] = f("p", null, "Do you want to publish to all outlets?", -1))
|
|
903
904
|
])) : (k(), F("div", $t, " Your recent publishing task is still pending (" + A(i.value.completed.length) + " / " + A(i.value.outlets.length) + "). Please wait until all publishing task has completed. ", 1)) : (k(), F("div", Tt, " You have no recent publish activity. Do you want to publish to all outlets? ")) : (k(), F("div", xt, "You have no template to publish.")),
|
|
@@ -911,7 +912,7 @@ const _t = /* @__PURE__ */ qe(yt, [["render", ht]]), wt = { class: "flex flex-co
|
|
|
911
912
|
w(e, {
|
|
912
913
|
variant: "tertiary",
|
|
913
914
|
label: "Close",
|
|
914
|
-
onClick:
|
|
915
|
+
onClick: u
|
|
915
916
|
})
|
|
916
917
|
])
|
|
917
918
|
]);
|
|
@@ -920,9 +921,9 @@ const _t = /* @__PURE__ */ qe(yt, [["render", ht]]), wt = { class: "flex flex-co
|
|
|
920
921
|
}), Pt = { class: "flex-1 flex flex-col gap-8" }, St = { class: "flex flex-col" }, Ft = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, At = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Vt = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary line-clamp-2" }, It = { class: "fm-typo-en-body-lg-400 line-clamp-2" }, qt = /* @__PURE__ */ Y({
|
|
921
922
|
__name: "ClosingTemplateView",
|
|
922
923
|
setup(m) {
|
|
923
|
-
const { t: g } = q(), { createTemplate: v, updateTemplate: s } = O(), { templateDialogProps: n, templateDetailsProps: t } = Ye(O()), b = ke(), a = Q(), i = De(), d = Ue(), { breakpoints:
|
|
924
|
+
const { t: g } = q(), { createTemplate: v, updateTemplate: s } = O(), { templateDialogProps: n, templateDetailsProps: t } = Ye(O()), b = ke(), a = Q(), i = De(), d = Ue(), { breakpoints: u } = Le();
|
|
924
925
|
b.watchLocation(i.fetchTemplates);
|
|
925
|
-
const y = P(() => i.loading), p = S(""), _ = P(() =>
|
|
926
|
+
const y = P(() => i.loading), p = S(""), _ = P(() => u.value.xs || u.value.sm), e = P(() => _.value ? 10 : 20);
|
|
926
927
|
function o(l) {
|
|
927
928
|
switch (l) {
|
|
928
929
|
case E.Add:
|
|
@@ -970,7 +971,7 @@ const _t = /* @__PURE__ */ qe(yt, [["render", ht]]), wt = { class: "flex flex-co
|
|
|
970
971
|
const N = V("FmTable");
|
|
971
972
|
return k(), F(_e, null, [
|
|
972
973
|
w(Ee, {
|
|
973
|
-
title:
|
|
974
|
+
title: c(g)("inventory.closing.template.title"),
|
|
974
975
|
actions: $.value,
|
|
975
976
|
"onClick:action": o
|
|
976
977
|
}, {
|
|
@@ -991,18 +992,18 @@ const _t = /* @__PURE__ */ qe(yt, [["render", ht]]), wt = { class: "flex flex-co
|
|
|
991
992
|
actions: C.value
|
|
992
993
|
}, null, 8, ["search", "actions"]),
|
|
993
994
|
w(N, {
|
|
994
|
-
style: Fe(
|
|
995
|
-
"column-defs":
|
|
996
|
-
"row-data":
|
|
995
|
+
style: Fe(c(d).tableHeight),
|
|
996
|
+
"column-defs": c(i).columnDefs,
|
|
997
|
+
"row-data": c(i).templates,
|
|
997
998
|
"search-value": p.value,
|
|
998
999
|
loading: y.value,
|
|
999
|
-
onRowClick: r[1] || (r[1] = (M) =>
|
|
1000
|
+
onRowClick: r[1] || (r[1] = (M) => c(s)(M.original)),
|
|
1000
1001
|
"page-size": e.value
|
|
1001
1002
|
}, {
|
|
1002
1003
|
"list-row": I((M) => [
|
|
1003
1004
|
w(Te, {
|
|
1004
1005
|
row: M,
|
|
1005
|
-
onRowClick: (T) =>
|
|
1006
|
+
onRowClick: (T) => c(s)(T)
|
|
1006
1007
|
}, {
|
|
1007
1008
|
default: I((T) => {
|
|
1008
1009
|
var X, Z, ee, j, te, se, le, oe, K, ne, ae, ie, re, ce, ue, H, de, me, pe, fe, J, ge;
|
|
@@ -1010,13 +1011,13 @@ const _t = /* @__PURE__ */ qe(yt, [["render", ht]]), wt = { class: "flex flex-co
|
|
|
1010
1011
|
f("div", Pt, [
|
|
1011
1012
|
f("div", St, [
|
|
1012
1013
|
f("div", Ft, [
|
|
1013
|
-
w(
|
|
1014
|
+
w(c(B), {
|
|
1014
1015
|
render: (ee = (Z = (X = T._id) == null ? void 0 : X.column) == null ? void 0 : Z.columnDef) == null ? void 0 : ee.cell,
|
|
1015
1016
|
props: (te = (j = T._id) == null ? void 0 : j.getContext) == null ? void 0 : te.call(j)
|
|
1016
1017
|
}, null, 8, ["render", "props"])
|
|
1017
1018
|
]),
|
|
1018
1019
|
f("div", At, [
|
|
1019
|
-
w(
|
|
1020
|
+
w(c(B), {
|
|
1020
1021
|
render: (oe = (le = (se = T.name) == null ? void 0 : se.column) == null ? void 0 : le.columnDef) == null ? void 0 : oe.cell,
|
|
1021
1022
|
props: (ne = (K = T.name) == null ? void 0 : K.getContext) == null ? void 0 : ne.call(K)
|
|
1022
1023
|
}, null, 8, ["render", "props"])
|
|
@@ -1027,14 +1028,14 @@ const _t = /* @__PURE__ */ qe(yt, [["render", ht]]), wt = { class: "flex flex-co
|
|
|
1027
1028
|
...M.original.items.length >= 3 ? [`and ${M.original.items.length - 3} more items`] : []
|
|
1028
1029
|
].join(", ")), 1),
|
|
1029
1030
|
f("div", It, [
|
|
1030
|
-
w(
|
|
1031
|
+
w(c(B), {
|
|
1031
1032
|
render: (ue = (ce = (re = T.ref) == null ? void 0 : re.column) == null ? void 0 : ce.columnDef) == null ? void 0 : ue.cell,
|
|
1032
1033
|
props: (de = (H = T.ref) == null ? void 0 : H.getContext) == null ? void 0 : de.call(H)
|
|
1033
1034
|
}, null, 8, ["render", "props"])
|
|
1034
1035
|
])
|
|
1035
1036
|
]),
|
|
1036
1037
|
f("div", null, [
|
|
1037
|
-
w(
|
|
1038
|
+
w(c(B), {
|
|
1038
1039
|
render: (fe = (pe = (me = T.status) == null ? void 0 : me.column) == null ? void 0 : pe.columnDef) == null ? void 0 : fe.cell,
|
|
1039
1040
|
props: (ge = (J = T.status) == null ? void 0 : J.getContext) == null ? void 0 : ge.call(J)
|
|
1040
1041
|
}, null, 8, ["render", "props"])
|
|
@@ -1052,9 +1053,9 @@ const _t = /* @__PURE__ */ qe(yt, [["render", ht]]), wt = { class: "flex flex-co
|
|
|
1052
1053
|
_: 1
|
|
1053
1054
|
}, 8, ["title", "actions"]),
|
|
1054
1055
|
(k(), z(Ae, { to: "body" }, [
|
|
1055
|
-
w(_t, Ve(Ie(
|
|
1056
|
-
w(bt, Re(
|
|
1057
|
-
onSubmitted: r[2] || (r[2] = (M) =>
|
|
1056
|
+
w(_t, Ve(Ie(c(t))), null, 16),
|
|
1057
|
+
w(bt, Re(c(n), {
|
|
1058
|
+
onSubmitted: r[2] || (r[2] = (M) => c(i).fetchTemplates())
|
|
1058
1059
|
}), null, 16)
|
|
1059
1060
|
]))
|
|
1060
1061
|
], 64);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { reactive as E, onUnmounted as q, defineComponent as V, computed as _, resolveComponent as h, openBlock as a, createElementBlock as b, Fragment as F, createElementVNode as f, unref as u, normalizeClass as D, toDisplayString as L, createCommentVNode as y, renderList as R, createBlock as w, createVNode as v, renderSlot as G, Teleport as J, ref as z, withCtx as T, watch as K, mergeModels as W, useModel as S } from "vue";
|
|
2
2
|
import { FmButtonVariant as X, useBreakpoints as O } from "@feedmepos/ui-library";
|
|
3
|
-
import { j as P, O as U } from "./app-
|
|
3
|
+
import { j as P, O as U } from "./app-BbLqKVBN.js";
|
|
4
4
|
import { useCoreStore as Z, useI18n as j } from "@feedmepos/mf-common";
|
|
5
5
|
const I = E({});
|
|
6
6
|
function A() {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { ref as z, defineComponent as le, computed as C, resolveComponent as R, openBlock as y, createBlock as B, withCtx as $, createVNode as f, unref as d, createElementBlock as U, Fragment as X, createElementVNode as c, createCommentVNode as O, onMounted as nt, watch as je, normalizeClass as Q, createTextVNode as He, toDisplayString as L, renderList as oe, isRef as Ee, renderSlot as ge, createSlots as Oe, normalizeStyle as ot, Teleport as De, normalizeProps as lt, guardReactiveProps as at } from "vue";
|
|
2
|
-
import { u as ae, c as Ye, S as rt, _ as st, A as _e, a as Ge, g as xe, t as qe, F as ve, R as be, U as it, M as ut, d as Ae, b as We, C as Ce, e as Te, f as dt, h as ct, I as mt, i as pt, j as vt } from "./app-
|
|
2
|
+
import { u as ae, c as Ye, S as rt, _ as st, A as _e, a as Ge, g as xe, t as qe, F as ve, R as be, U as it, M as ut, d as Ae, b as We, C as Ce, e as Te, f as dt, h as ct, I as mt, i as pt, j as vt } from "./app-BbLqKVBN.js";
|
|
3
3
|
import { useDialog as Ke, useSnackbar as Ve, useProxiedModel as Pe, useDialogChild as ft, useBreakpoints as yt } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as gt, _ as bt } from "./is-linked-ingredient-error-fJ2TJb3z.js";
|
|
5
5
|
import { F as K, D as Be, R as he } from "./row-action.enum-PMKMRrZR.js";
|
|
6
6
|
import { useI18n as re, useCoreStore as fe } from "@feedmepos/mf-common";
|
|
7
7
|
import { defineStore as ht, storeToRefs as _t } from "pinia";
|
|
8
8
|
import { c as xt, _ as Vt, F as ze } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
9
|
-
import { u as kt, _ as Ct, a as Ft } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { u as kt, _ as Ct, a as Ft } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CGIfL24N.js";
|
|
10
10
|
import { g as St, _ as Fe, S as Se } from "./StockForecast.vue_vue_type_style_index_0_lang-KLXSWvo5.js";
|
|
11
|
-
import { _ as we, t as Je, d as Qe, s as wt, r as Mt } from "./xlsx.util-
|
|
11
|
+
import { _ as we, t as Je, d as Qe, s as wt, r as Mt } from "./xlsx.util-DjhsRAqO.js";
|
|
12
12
|
import { _ as Me } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
|
|
13
13
|
const $e = ht("ingredientForm", function() {
|
|
14
14
|
const i = Ke(), m = Ve(), r = ae(), n = z(!1), { t: l } = re(), o = z();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as z, mergeModels as le, useModel as re, onMounted as ae, ref as P, computed as K, resolveComponent as L, openBlock as F, createElementBlock as B, createElementVNode as u, toDisplayString as I, createVNode as V, createBlock as U, withCtx as D, Fragment as E, renderList as G, normalizeClass as R, normalizeStyle as de, createSlots as ue, unref as w, createCommentVNode as O, withModifiers as ce, reactive as J, watch as Q, isRef as X, Teleport as fe } from "vue";
|
|
2
2
|
import { E as me } from "./empty-placeholder-wf6-BWE8.js";
|
|
3
|
-
import { al as ee, am as pe, c as q, an as ge, j as ve } from "./app-
|
|
3
|
+
import { al as ee, am as pe, c as q, an as ge, j as ve } from "./app-BbLqKVBN.js";
|
|
4
4
|
import { useDialogChild as ye, useDialog as te, useProxiedModel as ne, useSnackbar as be, useBreakpoints as he } from "@feedmepos/ui-library";
|
|
5
5
|
import { useI18n as T, useCoreStore as _e } from "@feedmepos/mf-common";
|
|
6
|
-
import { _ as Ce, a as xe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as Ce, a as xe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CGIfL24N.js";
|
|
7
7
|
const He = "data:image/svg+xml,%3csvg%20width='200'%20height='101'%20viewBox='0%200%20200%20101'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M98.9161%2038.4456V24.1772H108.527V27.1988H102.12V30.2202H107.347V32.7382H102.12V38.4456H98.9161Z'%20fill='%235D5359'/%3e%3cpath%20d='M110.382%2031.2276C110.382%2027.5345%20113.249%2024.1772%20117.127%2024.1772C121.174%2024.1772%20123.872%2027.7024%20123.872%2031.3953C123.872%2035.0884%20121.005%2038.6133%20117.127%2038.6133C113.08%2038.4456%20110.382%2034.9204%20110.382%2031.2276ZM117.127%2035.5919C119.487%2035.5919%20120.499%2033.4096%20120.499%2031.2276C120.499%2029.0452%20119.319%2027.0309%20117.127%2027.0309C114.935%2027.0309%20113.754%2029.213%20113.754%2031.2276C113.754%2033.5776%20114.935%2035.5919%20117.127%2035.5919Z'%20fill='%235D5359'/%3e%3cpath%20d='M126.232%2031.2276C126.232%2027.5345%20129.099%2024.1772%20132.977%2024.1772C137.024%2024.1772%20139.722%2027.7024%20139.722%2031.3953C139.722%2035.0884%20136.855%2038.6133%20132.977%2038.6133C128.93%2038.4456%20126.232%2034.9204%20126.232%2031.2276ZM132.977%2035.5919C135.337%2035.5919%20136.349%2033.4096%20136.349%2031.2276C136.349%2029.0452%20135.169%2027.0309%20132.977%2027.0309C130.785%2027.0309%20129.604%2029.213%20129.604%2031.2276C129.604%2033.5776%20130.785%2035.5919%20132.977%2035.5919Z'%20fill='%235D5359'/%3e%3cpath%20d='M142.926%2038.4455V24.345H148.153C152.874%2024.345%20155.235%2027.5343%20155.235%2031.3952C155.235%2035.5918%20152.368%2038.4455%20148.153%2038.4455H142.926ZM148.153%2027.0308H146.129V35.4238H148.153C150.513%2035.4238%20151.862%2033.5775%20151.862%2031.2272C151.862%2028.8773%20150.513%2027.0308%20148.153%2027.0308Z'%20fill='%235D5359'/%3e%3cpath%20d='M110.045%2057.5607V49.1676L107.009%2055.2107H105.324L102.12%2049.1676V57.5607H98.9161V43.4604H102.457L106.167%2050.8465L109.876%2043.4604H113.417V57.5607H110.045Z'%20fill='%235D5359'/%3e%3cpath%20d='M115.947%2057.5607L121.342%2043.4604H124.04L129.436%2057.5607H125.895L124.715%2054.3716H120.331L119.319%2057.5607H115.947ZM122.691%2046.9856L121.005%2052.1893H124.378L122.691%2046.9856Z'%20fill='%235D5359'/%3e%3cpath%20d='M131.965%2057.5607V43.4604H138.373C141.07%2043.4604%20142.925%2045.8105%20142.925%2048.1605C142.925%2049.8393%20142.082%2051.5179%20140.565%2052.1893L143.768%2057.393H140.059L137.192%2052.8607H135V57.393H131.965V57.5607ZM135.169%2050.175H138.204C139.047%2050.175%20139.553%2049.3356%20139.553%2048.1605C139.553%2046.9856%20138.71%2046.3142%20138.035%2046.3142H135.169V50.175Z'%20fill='%235D5359'/%3e%3cpath%20d='M146.635%2057.5607V43.4604H150.007V49.8393L155.403%2043.4604H158.776L153.548%2049.6713L159.281%2057.5607H155.74L151.693%2051.5179L150.007%2053.3642V57.5607H146.635Z'%20fill='%235D5359'/%3e%3cpath%20d='M171.422%2054.7073V57.5607H161.474V43.4604H171.253V46.3142H164.677V48.9999H170.242V51.6856H164.677V54.7073H171.422Z'%20fill='%235D5359'/%3e%3cpath%20d='M185.417%2046.3142H181.202V57.5607H177.829V46.3142H173.614V43.4604H185.417V46.3142Z'%20fill='%235D5359'/%3e%3cpath%20d='M111.057%2062.5967V76.6973H107.853V70.9898H102.12V76.6973H98.9161V62.5967H102.12V68.1361H107.853V62.5967H111.057Z'%20fill='%235D5359'/%3e%3cpath%20d='M124.04%2069.815V62.5967H127.244V69.815C127.244%2073.6758%20125.389%2076.865%20121.005%2076.865C116.453%2076.865%20114.766%2073.5078%20114.766%2069.815V62.5967H117.97V69.815C117.97%2071.997%20118.813%2074.0115%20121.005%2074.0115C123.366%2074.0115%20124.04%2071.997%20124.04%2069.815Z'%20fill='%235D5359'/%3e%3cpath%20d='M138.036%2076.6973H131.122V62.5967H139.047C141.071%2062.5967%20142.251%2064.4433%20142.251%2066.2898C142.251%2067.6327%20141.576%2068.9755%20140.228%2069.4793C141.914%2069.9827%20142.926%2071.1578%20142.926%2073.1721C142.757%2075.5221%20140.733%2076.6973%20138.036%2076.6973ZM134.326%2065.4504V68.3041H137.53C138.204%2068.3041%20138.879%2067.8004%20138.879%2066.7933C138.879%2065.7861%20138.373%2065.2827%20137.698%2065.2827H134.326V65.4504ZM138.204%2070.8221H134.494V73.8435H138.204C139.047%2073.8435%20139.722%2073.1721%20139.722%2072.3327C139.553%2071.6613%20138.879%2070.8221%20138.204%2070.8221Z'%20fill='%235D5359'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M73.4753%2051.4994C78.7281%2050.5396%2082.8911%2046.4891%2083.9954%2041.3137L84.1232%2040.7134L83.9445%2040.1256C80.5804%2029.066%2071.9945%2020.2704%2061.0373%2016.5726C57.4%2015.3451%2053.5046%2014.6804%2049.458%2014.6804C45.4112%2014.6804%2041.5158%2015.3451%2037.8784%2016.5726C26.9214%2020.2704%2018.3354%2029.066%2014.9712%2040.1256L14.7924%2040.7134L14.9206%2041.3137C16.0247%2046.4891%2020.1875%2050.5396%2025.4405%2051.4994V58.8839H14.4183C14.6758%2059.9557%2014.9818%2061.0088%2015.3337%2062.0411C20.1553%2076.1811%2033.6083%2086.3619%2049.458%2086.3619C65.3074%2086.3619%2078.7606%2076.1811%2083.5822%2062.0411C83.9342%2061.0088%2084.2399%2059.9557%2084.4974%2058.8839H73.4753V51.4994ZM41.0517%2020.5973V38.5742C41.0517%2043.1931%2044.8155%2046.9371%2049.458%2046.9371C54.1005%2046.9371%2057.8641%2043.1931%2057.8641%2038.5742V20.5973C55.1919%2019.856%2052.3732%2019.4592%2049.458%2019.4592C46.5428%2019.4592%2043.7241%2019.856%2041.0517%2020.5973ZM62.6675%2022.3673V38.5742C62.6675%2043.1931%2066.431%2046.9371%2071.0735%2046.9371C74.9051%2046.9371%2078.1425%2044.3848%2079.1528%2040.8942C76.4672%2032.6902%2070.4379%2025.9824%2062.6675%2022.3673ZM60.2658%2046.1322C57.8753%2049.5094%2053.9255%2051.7159%2049.458%2051.7159C44.9902%2051.7159%2041.0408%2049.5094%2038.65%2046.1322C36.6982%2048.8894%2033.7074%2050.8662%2030.2439%2051.4994V58.8839H68.6718V51.4994C65.2083%2050.8662%2062.2175%2048.8894%2060.2658%2046.1322ZM21.1583%2063.6628C26.1349%2074.2514%2036.9382%2081.5834%2049.458%2081.5834C61.9776%2081.5834%2072.781%2074.2514%2077.7574%2063.6628H21.1583ZM36.2482%2038.5742V22.3673C28.4779%2025.9824%2022.4486%2032.6902%2019.7631%2040.8942C20.7733%2044.3848%2024.0106%2046.9371%2027.8422%2046.9371C32.4847%2046.9371%2036.2482%2043.1931%2036.2482%2038.5742Z'%20fill='%23FFC35D'/%3e%3c/svg%3e";
|
|
8
8
|
function Y(x, v) {
|
|
9
9
|
return ee.filter(x, v).length > 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as y, computed as V, ref as w, watch as h, resolveComponent as u, openBlock as F, createBlock as A, withCtx as s, createVNode as g, createElementVNode as k, normalizeClass as K } from "vue";
|
|
2
|
-
import { l as d } from "./app-
|
|
2
|
+
import { l as d } from "./app-BbLqKVBN.js";
|
|
3
3
|
const _ = ["value", "disabled"], D = /* @__PURE__ */ y({
|
|
4
4
|
__name: "NumberPrecisionInput",
|
|
5
5
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as m, j as F } from "./app-
|
|
1
|
+
import { n as m, j as F } from "./app-BbLqKVBN.js";
|
|
2
2
|
import { useCoreStore as v } from "@feedmepos/mf-common";
|
|
3
3
|
import { ref as h, defineComponent as y, resolveComponent as d, openBlock as _, createElementBlock as f, renderSlot as k, createVNode as p, withCtx as g } from "vue";
|
|
4
4
|
const l = m((e, t) => {
|
package/dist/{PurchaseOrderPrintPreview-FiOxyAL2.js → PurchaseOrderPrintPreview-wJLaWy-I.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as h, computed as x, ref as m, onMounted as f, openBlock as n, createElementBlock as u, createElementVNode as t, toDisplayString as l, normalizeStyle as g, createTextVNode as i, Fragment as d, createCommentVNode as p, renderList as v, normalizeClass as w } from "vue";
|
|
2
2
|
import { useRoute as k } from "vue-router";
|
|
3
|
-
import { ae as y, i as C } from "./app-
|
|
3
|
+
import { ae as y, i as C } from "./app-BbLqKVBN.js";
|
|
4
4
|
const P = { class: "purchase-box" }, R = { valign: "bottom" }, A = { class: "text-right" }, N = { class: "header" }, E = { class: "sub-header" }, O = { class: "caption" }, S = { class: "address" }, D = { class: "text-right" }, T = { class: "sub-header" }, q = { class: "address" }, F = { class: "purchase-body" }, L = { class: "text-left" }, U = { class: "text-left" }, V = { class: "text-right" }, z = { style: { "padding-top": "30px" } }, B = { valign: "bottom" }, H = { class: "header" }, I = { class: "caption" }, M = {
|
|
5
5
|
class: "text-left",
|
|
6
6
|
style: { width: "20%" }
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as ce, ref as C, watch as Q, computed as k, resolveComponent as le, openBlock as b, createBlock as q, unref as e, withCtx as w, createElementVNode as u, normalizeClass as ue, createVNode as c, normalizeStyle as me, toDisplayString as de, createElementBlock as pe, createCommentVNode as fe, Teleport as ve, mergeProps as G } from "vue";
|
|
2
|
-
import { Z as h, j as _e, o as Z, a as W, G as ye, $ as ge, b as De } from "./app-
|
|
3
|
-
import { i as X, u as be, _ as he, a as Se } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { u as xe } from "./purchase-order-transaction-type-
|
|
5
|
-
import { u as Re, _ as Ce, g as ke } from "./TransferDetails.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { i as qe, e as we } from "./id-to-date-
|
|
2
|
+
import { Z as h, j as _e, o as Z, a as W, G as ye, $ as ge, b as De } from "./app-BbLqKVBN.js";
|
|
3
|
+
import { i as X, u as be, _ as he, a as Se } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CGIfL24N.js";
|
|
4
|
+
import { u as xe } from "./purchase-order-transaction-type-DHsIlV8_.js";
|
|
5
|
+
import { u as Re, _ as Ce, g as ke } from "./TransferDetails.vue_vue_type_script_setup_true_lang-ixxW-kNE.js";
|
|
6
|
+
import { i as qe, e as we } from "./id-to-date-CRXORa4v.js";
|
|
7
7
|
import { useSnackbar as Te, useBreakpoints as Fe } from "@feedmepos/ui-library";
|
|
8
|
-
import { _ as Me } from "./TransferDialog.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { _ as Me } from "./TransferDialog.vue_vue_type_script_setup_true_lang-Cf9TVjj7.js";
|
|
9
9
|
import { _ as Oe, F as S } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
10
10
|
import { useI18n as $e } from "@feedmepos/mf-common";
|
|
11
11
|
const Ee = { class: "flex flex-col py-8" }, Pe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ue = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Ye = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, Ne = {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as N, ref as x, onMounted as le, resolveComponent as F, openBlock as h, createElementBlock as $, Fragment as re, createElementVNode as b, toDisplayString as ie, createVNode as y, createCommentVNode as H, computed as V, watch as ce, createBlock as M, withCtx as I, unref as v, isRef as Z, normalizeClass as ue, normalizeStyle as de, Teleport as me, normalizeProps as pe, guardReactiveProps as fe } from "vue";
|
|
2
|
-
import { u as P, c as G, S as ve, a as q, R as ye, U as ge, _ as be, A as _e, e as ee, f as we, j as Re } from "./app-
|
|
2
|
+
import { u as P, c as G, S as ve, a as q, R as ye, U as ge, _ as be, A as _e, e as ee, f as we, j as Re } from "./app-BbLqKVBN.js";
|
|
3
3
|
import { useDialog as he, useSnackbar as ae, useProxiedModel as te, useBreakpoints as Ce } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as xe, _ as Ee } from "./is-linked-ingredient-error-fJ2TJb3z.js";
|
|
5
5
|
import { F as R, D as ne, R as z } from "./row-action.enum-PMKMRrZR.js";
|
|
6
|
-
import { _ as se, t as Fe, d as ke } from "./xlsx.util-
|
|
6
|
+
import { _ as se, t as Fe, d as ke } from "./xlsx.util-DjhsRAqO.js";
|
|
7
7
|
import { defineStore as Ve, storeToRefs as Se } from "pinia";
|
|
8
8
|
import { c as De, _ as Ae, F as oe } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
9
9
|
import { useI18n as Y } from "@feedmepos/mf-common";
|
|
10
|
-
import { u as $e, _ as Ie, a as Pe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
10
|
+
import { u as $e, _ as Ie, a as Pe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CGIfL24N.js";
|
|
11
11
|
const Te = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "flex flex-col items-center w-full h-full gap-24"
|