@feedmepos/mf-inventory-portal 0.0.22-dev.8 → 0.0.22-dev.9
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-BNeTV3TV.js → ApprovalView-BPsScR5_.js} +4 -4
- package/dist/{BindingsDialog-pBelBtiH.js → BindingsDialog-GzX9Bo2g.js} +1 -1
- package/dist/{BindingsPicker-VHr76FFM.js → BindingsPicker-SbOetc0-.js} +1 -1
- package/dist/{BindingsTable-CgIp6DKB.js → BindingsTable-CAcE5y8U.js} +1 -1
- package/dist/{ClosingTemplateView-FleQasJi.js → ClosingTemplateView-DECwEnlK.js} +72 -71
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BYfojQsH.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DnogYrRE.js} +1 -1
- package/dist/{IngredientsView-BEW8_MJ0.js → IngredientsView-8fT1Ljd5.js} +3 -3
- package/dist/{IntegrationView-NnpJ8nYO.js → IntegrationView-CjGLRM78.js} +2 -2
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CJMb1aR1.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-1FCwvO8A.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DWSq3JsJ.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DlhNc8Vk.js} +1 -1
- package/dist/{PurchaseOrderPrintPreview-BZ5uhyRy.js → PurchaseOrderPrintPreview-5HIWHR_f.js} +1 -1
- package/dist/{ReceiveRequestView-DN9u5HLn.js → ReceiveRequestView-CXZv8g5U.js} +6 -6
- package/dist/{RecipeView-DM20cOk3.js → RecipeView-sB0Lgmob.js} +3 -3
- package/dist/{StockView-LppKR-nM.js → StockView-CY2kNohB.js} +6 -6
- package/dist/{SupplierView-DHh6MhoI.js → SupplierView-DTqeZPts.js} +3 -3
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-KHwccWdi.js → TransferDetails.vue_vue_type_script_setup_true_lang-BBby29tW.js} +121 -113
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-ByNQap9n.js +1498 -0
- package/dist/TransferTemplateView-DkRVfAox.js +1277 -0
- package/dist/{UnitView-D8XJca7H.js → UnitView-BpU0Yk7X.js} +4 -4
- package/dist/{WarehouseView-DTnx3-Fi.js → WarehouseView-DqxWgogc.js} +2 -2
- package/dist/api/inventory.d.ts +4 -7
- package/dist/{app-Cn0UYdAW.js → app-BuyAj4kw.js} +6668 -6630
- package/dist/app.js +1 -1
- package/dist/{decimal-BiLgcnqq.js → decimal-DWbwRn_v.js} +1 -1
- package/dist/{defineDeepModel-CXCb8GcR.js → defineDeepModel-DuVmbMwq.js} +1 -1
- package/dist/{format-time-from-id-5QzQNKlI.js → format-time-from-id-BnmaRuab.js} +1 -1
- package/dist/{id-to-date-C-LYuoim.js → id-to-date-CI5Vv0Ji.js} +1 -1
- package/dist/{purchase-order-transaction-type-BV80Rx9h.js → purchase-order-transaction-type-DrFJFvtK.js} +3 -3
- package/dist/stores/feature.d.ts +0 -1
- package/dist/stores/helper/core-store-proxy.d.ts +2 -26
- package/dist/stores/location.d.ts +24 -42
- package/dist/stores/warehouse.d.ts +4 -7
- package/dist/style.css +1 -1
- package/dist/{supplier-Bg9MjX_y.js → supplier-BQyK2eSZ.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-template-enabled-locations-2-CzY-UFrc.js → use-template-enabled-locations-2-ClBq9FjN.js} +1 -1
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +48 -84
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +48 -84
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +4 -7
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +48 -84
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +16 -28
- package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +4 -7
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +8 -14
- package/dist/{xlsx-BsdfXPiA.js → xlsx-DiOKvJ6l.js} +1 -1
- package/dist/{xlsx.util-B_ynXZ3Q.js → xlsx.util-CZ7zYxdP.js} +2 -2
- package/package.json +1 -1
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-2QZK3Iu5.js +0 -1485
- package/dist/TransferTemplateView-CUQSQR8U.js +0 -1278
|
@@ -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-BuyAj4kw.js";
|
|
3
|
+
import { b as ue, u as me, _ as de, a as fe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DnogYrRE.js";
|
|
4
|
+
import { u as _e } from "./purchase-order-transaction-type-DrFJFvtK.js";
|
|
5
|
+
import { u as ve, _ as De } from "./TransferDetails.vue_vue_type_script_setup_true_lang-BBby29tW.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-BuyAj4kw.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-BuyAj4kw.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-BuyAj4kw.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
|
|
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 u, 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-DnogYrRE.js";
|
|
3
3
|
import { useCoreStore as Be, useI18n as q } from "@feedmepos/mf-common";
|
|
4
|
-
import { useDialog as Q, useSnackbar as W, FmButtonVariant as be, components as
|
|
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-BuyAj4kw.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-BnmaRuab.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-DuVmbMwq.js";
|
|
12
|
+
import { u as We } from "./use-template-enabled-locations-2-ClBq9FjN.js";
|
|
13
13
|
const G = je((m, g) => {
|
|
14
14
|
function v() {
|
|
15
15
|
var t;
|
|
@@ -46,7 +46,7 @@ const G = je((m, g) => {
|
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
48
|
}), O = we("closingTemplateActions", () => {
|
|
49
|
-
const m = Q(), g = W(), v = G(), s =
|
|
49
|
+
const m = Q(), g = W(), v = G(), s = S({});
|
|
50
50
|
function n() {
|
|
51
51
|
s.value = {
|
|
52
52
|
mode: U.CREATE,
|
|
@@ -107,7 +107,7 @@ const G = je((m, g) => {
|
|
|
107
107
|
}
|
|
108
108
|
});
|
|
109
109
|
}
|
|
110
|
-
const a =
|
|
110
|
+
const a = S({});
|
|
111
111
|
function i(d) {
|
|
112
112
|
a.value = {
|
|
113
113
|
template: d,
|
|
@@ -131,7 +131,7 @@ const G = je((m, g) => {
|
|
|
131
131
|
}), De = we(
|
|
132
132
|
"closingTable",
|
|
133
133
|
function() {
|
|
134
|
-
const { t: g } = q(), { viewTemplate: v, updateTemplate: s, deleteTemplate: n } = O(), t =
|
|
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
135
|
async function c() {
|
|
136
136
|
if (b.value = [], !!i._currentLocation) {
|
|
137
137
|
a.value = !0;
|
|
@@ -229,22 +229,23 @@ const G = je((m, g) => {
|
|
|
229
229
|
header: () => "Status",
|
|
230
230
|
enableSorting: !1,
|
|
231
231
|
cell(e) {
|
|
232
|
-
var
|
|
233
|
-
const o = e.row.original, h = o._rev, D = (
|
|
234
|
-
return
|
|
235
|
-
|
|
236
|
-
{
|
|
237
|
-
class: "fm-chip-success-secondary",
|
|
238
|
-
compact: !0
|
|
239
|
-
},
|
|
240
|
-
"Published"
|
|
241
|
-
) : x(
|
|
242
|
-
V.FmChip,
|
|
232
|
+
var C;
|
|
233
|
+
const o = e.row.original, h = o._rev, D = (C = t.value.publishedRevs) == null ? void 0 : C[o._id], $ = h === D;
|
|
234
|
+
return x(
|
|
235
|
+
"div",
|
|
243
236
|
{
|
|
244
|
-
class: "
|
|
245
|
-
compact: !0
|
|
237
|
+
class: "flex"
|
|
246
238
|
},
|
|
247
|
-
|
|
239
|
+
x(
|
|
240
|
+
"div",
|
|
241
|
+
{
|
|
242
|
+
class: [
|
|
243
|
+
"fm-status-badge",
|
|
244
|
+
$ ? "fm-status-badge-success-secondary" : "fm-status-badge-info-secondary"
|
|
245
|
+
]
|
|
246
|
+
},
|
|
247
|
+
$ ? "Published" : "Unpublished"
|
|
248
|
+
)
|
|
248
249
|
);
|
|
249
250
|
}
|
|
250
251
|
},
|
|
@@ -276,7 +277,7 @@ const G = je((m, g) => {
|
|
|
276
277
|
var L = /* @__PURE__ */ ((m) => (m.Name = "Name", m.Unit = "Unit", m.Delete = "Delete", m))(L || {});
|
|
277
278
|
function Xe(m) {
|
|
278
279
|
return {
|
|
279
|
-
columnDefs:
|
|
280
|
+
columnDefs: P(() => {
|
|
280
281
|
const v = m.items.map((n) => n.sku.unit.measurements.length).reduce((n, t) => Math.max(n, t), 0);
|
|
281
282
|
return [
|
|
282
283
|
{
|
|
@@ -315,7 +316,7 @@ function Xe(m) {
|
|
|
315
316
|
var b, a, i;
|
|
316
317
|
const t = n.row.original;
|
|
317
318
|
return x(
|
|
318
|
-
|
|
319
|
+
R.FmFormGroup,
|
|
319
320
|
{
|
|
320
321
|
value: t.sku.unit._id,
|
|
321
322
|
modelValue: !((b = t.disabledMeasurements) != null && b.includes(t.sku.unit._id))
|
|
@@ -326,7 +327,7 @@ function Xe(m) {
|
|
|
326
327
|
class: "flex items-center gap-4"
|
|
327
328
|
},
|
|
328
329
|
[
|
|
329
|
-
x(
|
|
330
|
+
x(R.FmCheckbox, {
|
|
330
331
|
value: t.sku.unit._id,
|
|
331
332
|
modelValue: !((a = t.disabledMeasurements) != null && a.includes(t.sku.unit._id)),
|
|
332
333
|
disabled: m.disabled || !((i = t.disabledMeasurements) != null && i.includes(t.sku.unit._id)) && t.sku.unit.measurements.every(
|
|
@@ -354,7 +355,7 @@ function Xe(m) {
|
|
|
354
355
|
}
|
|
355
356
|
}),
|
|
356
357
|
x(
|
|
357
|
-
|
|
358
|
+
R.FmTooltip,
|
|
358
359
|
{ zIndex: 51 },
|
|
359
360
|
{
|
|
360
361
|
content() {
|
|
@@ -384,7 +385,7 @@ function Xe(m) {
|
|
|
384
385
|
var d, c, y, p;
|
|
385
386
|
const a = b.row.original, i = a.sku.unit.measurements[t];
|
|
386
387
|
return i ? x(
|
|
387
|
-
|
|
388
|
+
R.FmFormGroup,
|
|
388
389
|
{
|
|
389
390
|
modelValue: !((d = a.disabledMeasurements) != null && d.includes(i.id)),
|
|
390
391
|
value: i.id
|
|
@@ -395,7 +396,7 @@ function Xe(m) {
|
|
|
395
396
|
class: "flex items-center gap-4"
|
|
396
397
|
},
|
|
397
398
|
[
|
|
398
|
-
x(
|
|
399
|
+
x(R.FmCheckbox, {
|
|
399
400
|
value: i.id,
|
|
400
401
|
modelValue: !((c = a.disabledMeasurements) != null && c.includes(i.id)),
|
|
401
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((_) => {
|
|
@@ -421,7 +422,7 @@ function Xe(m) {
|
|
|
421
422
|
}
|
|
422
423
|
}),
|
|
423
424
|
x(
|
|
424
|
-
|
|
425
|
+
R.FmTooltip,
|
|
425
426
|
{ zIndex: 51 },
|
|
426
427
|
{
|
|
427
428
|
content() {
|
|
@@ -450,7 +451,7 @@ function Xe(m) {
|
|
|
450
451
|
return x(
|
|
451
452
|
"div",
|
|
452
453
|
{ class: "w-full flex justify-end" },
|
|
453
|
-
x(
|
|
454
|
+
x(R.FmButton, {
|
|
454
455
|
class: "delete-button",
|
|
455
456
|
key: t.sku._id,
|
|
456
457
|
type: "button",
|
|
@@ -482,7 +483,7 @@ const Ze = { class: "flex flex-col gap-16 py-12" }, et = { class: "flex" }, tt =
|
|
|
482
483
|
row: {}
|
|
483
484
|
},
|
|
484
485
|
setup(m) {
|
|
485
|
-
const g = m, v =
|
|
486
|
+
const g = m, v = P(() => g.row), s = P(
|
|
486
487
|
() => v.value.getVisibleCells().filter((n) => n.column.id !== L.Name && n.column.id !== L.Delete)
|
|
487
488
|
);
|
|
488
489
|
return (n, t) => {
|
|
@@ -535,7 +536,7 @@ const Ze = { class: "flex flex-col gap-16 py-12" }, et = { class: "flex" }, tt =
|
|
|
535
536
|
setLocations(e) {
|
|
536
537
|
s.locations = e;
|
|
537
538
|
}
|
|
538
|
-
}), c =
|
|
539
|
+
}), c = S();
|
|
539
540
|
g({
|
|
540
541
|
validateInputs: () => {
|
|
541
542
|
var e, o;
|
|
@@ -563,7 +564,7 @@ const Ze = { class: "flex flex-col gap-16 py-12" }, et = { class: "flex" }, tt =
|
|
|
563
564
|
get disabled() {
|
|
564
565
|
return v.disabled;
|
|
565
566
|
}
|
|
566
|
-
}), p =
|
|
567
|
+
}), p = P(() => y.columnDefs.value);
|
|
567
568
|
function _() {
|
|
568
569
|
const e = t.skus.map((h) => ({
|
|
569
570
|
label: h.name,
|
|
@@ -592,24 +593,24 @@ const Ze = { class: "flex flex-col gap-16 py-12" }, et = { class: "flex" }, tt =
|
|
|
592
593
|
variant: "tertiary"
|
|
593
594
|
}
|
|
594
595
|
}).onPrimary((h) => {
|
|
595
|
-
const D = s.items ?? [], $ = h.map((
|
|
596
|
-
const l = D.find((N) => N.sku._id ===
|
|
596
|
+
const D = s.items ?? [], $ = h.map((C) => {
|
|
597
|
+
const l = D.find((N) => N.sku._id === C._id);
|
|
597
598
|
return l || {
|
|
598
|
-
sku:
|
|
599
|
+
sku: C
|
|
599
600
|
};
|
|
600
601
|
});
|
|
601
|
-
$.sort((
|
|
602
|
+
$.sort((C, l) => C.sku.code.localeCompare(l.sku.code)), s.items = $;
|
|
602
603
|
});
|
|
603
604
|
}
|
|
604
605
|
return (e, o) => {
|
|
605
|
-
const h =
|
|
606
|
-
return k(), z(
|
|
606
|
+
const h = V("FmTextField"), D = V("FmButton"), $ = V("FmTable"), C = V("FmForm");
|
|
607
|
+
return k(), z(C, {
|
|
607
608
|
ref_key: "formRef",
|
|
608
609
|
ref: c,
|
|
609
610
|
class: "flex flex-col gap-32",
|
|
610
611
|
disabled: e.disabled
|
|
611
612
|
}, {
|
|
612
|
-
default:
|
|
613
|
+
default: I(() => [
|
|
613
614
|
f("div", at, [
|
|
614
615
|
f("div", it, [
|
|
615
616
|
w(h, {
|
|
@@ -665,12 +666,12 @@ const Ze = { class: "flex flex-col gap-16 py-12" }, et = { class: "flex" }, tt =
|
|
|
665
666
|
key: u(s).items.map((l) => l.sku._id).join("."),
|
|
666
667
|
"hide-footer": ""
|
|
667
668
|
}, {
|
|
668
|
-
"list-row":
|
|
669
|
+
"list-row": I((l) => [
|
|
669
670
|
(k(), z(Te, {
|
|
670
671
|
row: l,
|
|
671
672
|
key: u(s).items.map((r) => r.sku._id).join(".")
|
|
672
673
|
}, {
|
|
673
|
-
default:
|
|
674
|
+
default: I((r) => [
|
|
674
675
|
w(nt, {
|
|
675
676
|
row: l,
|
|
676
677
|
"cell-by-col-id": r
|
|
@@ -696,7 +697,7 @@ const Ze = { class: "flex flex-col gap-16 py-12" }, et = { class: "flex" }, tt =
|
|
|
696
697
|
},
|
|
697
698
|
emits: ["update:show", "submitted"],
|
|
698
699
|
setup(m, { expose: g, emit: v }) {
|
|
699
|
-
var
|
|
700
|
+
var C;
|
|
700
701
|
const s = m, n = v, t = G(), b = W(), { t: a } = q(), i = ze(s, "show");
|
|
701
702
|
function d() {
|
|
702
703
|
return {
|
|
@@ -705,7 +706,7 @@ const Ze = { class: "flex flex-col gap-16 py-12" }, et = { class: "flex" }, tt =
|
|
|
705
706
|
items: []
|
|
706
707
|
};
|
|
707
708
|
}
|
|
708
|
-
const c =
|
|
709
|
+
const c = S(s.modelValue ?? d()), y = S(((C = s.modelValue) == null ? void 0 : C._id) ?? `${Math.random()}`);
|
|
709
710
|
Me(
|
|
710
711
|
() => s.show,
|
|
711
712
|
(l) => {
|
|
@@ -713,7 +714,7 @@ const Ze = { class: "flex flex-col gap-16 py-12" }, et = { class: "flex" }, tt =
|
|
|
713
714
|
l && (c.value = s.modelValue ?? d(), y.value = ((r = s.modelValue) == null ? void 0 : r._id) ?? `${Math.random()}`);
|
|
714
715
|
}
|
|
715
716
|
);
|
|
716
|
-
const p =
|
|
717
|
+
const p = S(!1), _ = P(() => {
|
|
717
718
|
switch (s.mode) {
|
|
718
719
|
case U.READ:
|
|
719
720
|
return "";
|
|
@@ -723,7 +724,7 @@ const Ze = { class: "flex flex-col gap-16 py-12" }, et = { class: "flex" }, tt =
|
|
|
723
724
|
return a("inventory.closing.template.update.title");
|
|
724
725
|
}
|
|
725
726
|
return "";
|
|
726
|
-
}), e =
|
|
727
|
+
}), e = S();
|
|
727
728
|
g({
|
|
728
729
|
validateInputs: () => {
|
|
729
730
|
var l, r;
|
|
@@ -793,20 +794,20 @@ const Ze = { class: "flex flex-col gap-16 py-12" }, et = { class: "flex" }, tt =
|
|
|
793
794
|
(r = (l = e.value) == null ? void 0 : l.validateInputs) == null || r.call(l);
|
|
794
795
|
}
|
|
795
796
|
return (l, r) => {
|
|
796
|
-
const N =
|
|
797
|
-
return k(), z(
|
|
797
|
+
const N = V("FmButton"), M = V("FmSideSheet");
|
|
798
|
+
return k(), z(M, {
|
|
798
799
|
modelValue: u(i),
|
|
799
800
|
"onUpdate:modelValue": r[2] || (r[2] = (T) => Pe(i) ? i.value = T : null),
|
|
800
801
|
"dismiss-away": "",
|
|
801
802
|
"close-button": "",
|
|
802
803
|
"max-width": 800
|
|
803
804
|
}, {
|
|
804
|
-
"side-sheet-header":
|
|
805
|
+
"side-sheet-header": I(() => [
|
|
805
806
|
f("div", ft, [
|
|
806
807
|
f("div", gt, A(_.value), 1)
|
|
807
808
|
])
|
|
808
809
|
]),
|
|
809
|
-
default:
|
|
810
|
+
default: I(() => [
|
|
810
811
|
(k(), z(pt, {
|
|
811
812
|
class: "w-full",
|
|
812
813
|
ref_key: "formRef",
|
|
@@ -818,7 +819,7 @@ const Ze = { class: "flex flex-col gap-16 py-12" }, et = { class: "flex" }, tt =
|
|
|
818
819
|
key: y.value
|
|
819
820
|
}, null, 8, ["model-value", "disabled"]))
|
|
820
821
|
]),
|
|
821
|
-
"side-sheet-footer":
|
|
822
|
+
"side-sheet-footer": I(() => [
|
|
822
823
|
f("div", vt, [
|
|
823
824
|
w(N, {
|
|
824
825
|
loading: p.value,
|
|
@@ -854,7 +855,7 @@ const _t = /* @__PURE__ */ qe(yt, [["render", ht]]), wt = { class: "flex flex-co
|
|
|
854
855
|
__name: "ClosingTemplatePublish",
|
|
855
856
|
emits: ["close"],
|
|
856
857
|
setup(m, { emit: g }) {
|
|
857
|
-
const v =
|
|
858
|
+
const v = S(!1), s = W(), n = G(), t = De(), b = g;
|
|
858
859
|
async function a() {
|
|
859
860
|
v.value = !0;
|
|
860
861
|
try {
|
|
@@ -873,14 +874,14 @@ const _t = /* @__PURE__ */ qe(yt, [["render", ht]]), wt = { class: "flex flex-co
|
|
|
873
874
|
v.value = !1;
|
|
874
875
|
}
|
|
875
876
|
}
|
|
876
|
-
const i =
|
|
877
|
+
const i = P(() => t.recentPublish.recentJob), d = P(
|
|
877
878
|
() => t.templates.length && (!i.value || i.value.outlets.length === i.value.completed.length)
|
|
878
879
|
);
|
|
879
880
|
function c() {
|
|
880
881
|
b("close");
|
|
881
882
|
}
|
|
882
883
|
return (y, p) => {
|
|
883
|
-
const _ =
|
|
884
|
+
const _ = V("FmCircularProgress"), e = V("FmButton");
|
|
884
885
|
return k(), F("div", wt, [
|
|
885
886
|
u(t).templates.length ? v.value ? (k(), F("div", kt, [
|
|
886
887
|
f("div", null, [
|
|
@@ -921,7 +922,7 @@ const _t = /* @__PURE__ */ qe(yt, [["render", ht]]), wt = { class: "flex flex-co
|
|
|
921
922
|
setup(m) {
|
|
922
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: c } = Le();
|
|
923
924
|
b.watchLocation(i.fetchTemplates);
|
|
924
|
-
const y =
|
|
925
|
+
const y = P(() => i.loading), p = S(""), _ = P(() => c.value.xs || c.value.sm), e = P(() => _.value ? 10 : 20);
|
|
925
926
|
function o(l) {
|
|
926
927
|
switch (l) {
|
|
927
928
|
case E.Add:
|
|
@@ -944,7 +945,7 @@ const _t = /* @__PURE__ */ qe(yt, [["render", ht]]), wt = { class: "flex flex-co
|
|
|
944
945
|
function D(l) {
|
|
945
946
|
return l;
|
|
946
947
|
}
|
|
947
|
-
const $ =
|
|
948
|
+
const $ = P(() => {
|
|
948
949
|
const l = [
|
|
949
950
|
{
|
|
950
951
|
label: g("inventory.closing.template.create.title"),
|
|
@@ -961,19 +962,19 @@ const _t = /* @__PURE__ */ qe(yt, [["render", ht]]), wt = { class: "flex flex-co
|
|
|
961
962
|
isPrimary: !1
|
|
962
963
|
}
|
|
963
964
|
];
|
|
964
|
-
}),
|
|
965
|
+
}), C = P(() => {
|
|
965
966
|
const l = [{ icon: "refresh", onClick: i.fetchTemplates }];
|
|
966
967
|
return _.value ? [{ icon: "publish", onClick: h }, ...l] : l;
|
|
967
968
|
});
|
|
968
969
|
return (l, r) => {
|
|
969
|
-
const N =
|
|
970
|
+
const N = V("FmTable");
|
|
970
971
|
return k(), F(_e, null, [
|
|
971
972
|
w(Ee, {
|
|
972
973
|
title: u(g)("inventory.closing.template.title"),
|
|
973
974
|
actions: $.value,
|
|
974
975
|
"onClick:action": o
|
|
975
976
|
}, {
|
|
976
|
-
default:
|
|
977
|
+
default: I(() => [
|
|
977
978
|
f("div", {
|
|
978
979
|
class: Se([
|
|
979
980
|
"flex flex-col gap-8 max-h-full",
|
|
@@ -986,8 +987,8 @@ const _t = /* @__PURE__ */ qe(yt, [["render", ht]]), wt = { class: "flex flex-co
|
|
|
986
987
|
w(Ne, {
|
|
987
988
|
searchable: "",
|
|
988
989
|
search: p.value,
|
|
989
|
-
"onUpdate:search": r[0] || (r[0] = (
|
|
990
|
-
actions:
|
|
990
|
+
"onUpdate:search": r[0] || (r[0] = (M) => p.value = M),
|
|
991
|
+
actions: C.value
|
|
991
992
|
}, null, 8, ["search", "actions"]),
|
|
992
993
|
w(N, {
|
|
993
994
|
style: Fe(u(d).tableHeight),
|
|
@@ -995,15 +996,15 @@ const _t = /* @__PURE__ */ qe(yt, [["render", ht]]), wt = { class: "flex flex-co
|
|
|
995
996
|
"row-data": u(i).templates,
|
|
996
997
|
"search-value": p.value,
|
|
997
998
|
loading: y.value,
|
|
998
|
-
onRowClick: r[1] || (r[1] = (
|
|
999
|
+
onRowClick: r[1] || (r[1] = (M) => u(s)(M.original)),
|
|
999
1000
|
"page-size": e.value
|
|
1000
1001
|
}, {
|
|
1001
|
-
"list-row":
|
|
1002
|
+
"list-row": I((M) => [
|
|
1002
1003
|
w(Te, {
|
|
1003
|
-
row:
|
|
1004
|
+
row: M,
|
|
1004
1005
|
onRowClick: (T) => u(s)(T)
|
|
1005
1006
|
}, {
|
|
1006
|
-
default:
|
|
1007
|
+
default: I((T) => {
|
|
1007
1008
|
var X, Z, ee, j, te, se, le, oe, K, ne, ae, ie, re, ce, ue, H, de, me, pe, fe, J, ge;
|
|
1008
1009
|
return [
|
|
1009
1010
|
f("div", Pt, [
|
|
@@ -1020,10 +1021,10 @@ const _t = /* @__PURE__ */ qe(yt, [["render", ht]]), wt = { class: "flex flex-co
|
|
|
1020
1021
|
props: (ne = (K = T.name) == null ? void 0 : K.getContext) == null ? void 0 : ne.call(K)
|
|
1021
1022
|
}, null, 8, ["render", "props"])
|
|
1022
1023
|
]),
|
|
1023
|
-
f("div", null, A((ae =
|
|
1024
|
+
f("div", null, A((ae = M.original.locations) != null && ae.length ? `Enabled for ${(ie = M.original.locations) == null ? void 0 : ie.length} outlets` : "Enabled for all outlets"), 1),
|
|
1024
1025
|
f("div", Vt, A([
|
|
1025
|
-
...
|
|
1026
|
-
...
|
|
1026
|
+
...M.original.items.slice(0, 3).map(($e) => $e.sku.name),
|
|
1027
|
+
...M.original.items.length >= 3 ? [`and ${M.original.items.length - 3} more items`] : []
|
|
1027
1028
|
].join(", ")), 1),
|
|
1028
1029
|
f("div", It, [
|
|
1029
1030
|
w(u(B), {
|
|
@@ -1053,7 +1054,7 @@ const _t = /* @__PURE__ */ qe(yt, [["render", ht]]), wt = { class: "flex flex-co
|
|
|
1053
1054
|
(k(), z(Ae, { to: "body" }, [
|
|
1054
1055
|
w(_t, Ve(Ie(u(t))), null, 16),
|
|
1055
1056
|
w(bt, Re(u(n), {
|
|
1056
|
-
onSubmitted: r[2] || (r[2] = (
|
|
1057
|
+
onSubmitted: r[2] || (r[2] = (M) => u(i).fetchTemplates())
|
|
1057
1058
|
}), null, 16)
|
|
1058
1059
|
]))
|
|
1059
1060
|
], 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-BuyAj4kw.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-BuyAj4kw.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-DnogYrRE.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-CZ7zYxdP.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-BuyAj4kw.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-DnogYrRE.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-BuyAj4kw.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-BuyAj4kw.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-BZ5uhyRy.js → PurchaseOrderPrintPreview-5HIWHR_f.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-BuyAj4kw.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-BuyAj4kw.js";
|
|
3
|
+
import { i as X, u as be, _ as he, a as Se } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DnogYrRE.js";
|
|
4
|
+
import { u as xe } from "./purchase-order-transaction-type-DrFJFvtK.js";
|
|
5
|
+
import { u as Re, _ as Ce, g as ke } from "./TransferDetails.vue_vue_type_script_setup_true_lang-BBby29tW.js";
|
|
6
|
+
import { i as qe, e as we } from "./id-to-date-CI5Vv0Ji.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-ByNQap9n.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-BuyAj4kw.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-CZ7zYxdP.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-DnogYrRE.js";
|
|
11
11
|
const Te = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "flex flex-col items-center w-full h-full gap-24"
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { ref as H, defineComponent as re, computed as U, resolveComponent as M, openBlock as B, createBlock as O, withCtx as D, createElementVNode as n, normalizeClass as he, toDisplayString as b, createVNode as x, createElementBlock as L, Fragment as ne, renderList as ae, unref as v, h as ye, watch as ge, isRef as Ue, createCommentVNode as te, reactive as it, onMounted as Je, normalizeStyle as Qe, createTextVNode as ve, Teleport as ut, normalizeProps as we, mergeProps as Be } from "vue";
|
|
2
|
-
import { i as ct, u as dt, _ as mt, a as pt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { n as Xe, j as ue, o as vt, c as Pe, p as ft, u as Te, q as Oe, r as De, a as ie, k as yt, t as be, m as Me, A as _t, M as kt, l as fe, s as ht, v as ee, w as gt, x as ze, R as bt, y as xt, z as St, B as Ze, D as W, E as $t, f as et, G as je, H as wt, d as Ye, b as Bt, J as Ft, K as At, C as Fe, L as Vt, N as Ct, O as Dt, P as Mt } from "./app-
|
|
2
|
+
import { i as ct, u as dt, _ as mt, a as pt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DnogYrRE.js";
|
|
3
|
+
import { n as Xe, j as ue, o as vt, c as Pe, p as ft, u as Te, q as Oe, r as De, a as ie, k as yt, t as be, m as Me, A as _t, M as kt, l as fe, s as ht, v as ee, w as gt, x as ze, R as bt, y as xt, z as St, B as Ze, D as W, E as $t, f as et, G as je, H as wt, d as Ye, b as Bt, J as Ft, K as At, C as Fe, L as Vt, N as Ct, O as Dt, P as Mt } from "./app-BuyAj4kw.js";
|
|
4
4
|
import { useCoreStore as tt, useI18n as le } from "@feedmepos/mf-common";
|
|
5
5
|
import { useSnackbar as de, useDialog as nt, useProxiedModel as Re, useBreakpoints as jt } from "@feedmepos/ui-library";
|
|
6
6
|
import { c as It, _ as Ut, F as Ke } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
7
|
-
import { g as xe } from "./decimal-
|
|
8
|
-
import { e as Pt, i as ot } from "./id-to-date-
|
|
7
|
+
import { g as xe } from "./decimal-DWbwRn_v.js";
|
|
8
|
+
import { e as Pt, i as ot } from "./id-to-date-CI5Vv0Ji.js";
|
|
9
9
|
import { _ as Ie, S as Ae, g as st } from "./StockForecast.vue_vue_type_style_index_0_lang-KLXSWvo5.js";
|
|
10
10
|
import { _ as Tt } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
|
|
11
|
-
import { u as at, _ as Ge } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-
|
|
11
|
+
import { u as at, _ as Ge } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-DlhNc8Vk.js";
|
|
12
12
|
import { defineStore as Rt } from "pinia";
|
|
13
|
-
import { _ as Ht } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-
|
|
13
|
+
import { _ as Ht } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-1FCwvO8A.js";
|
|
14
14
|
import { E as Et } from "./empty-placeholder-wf6-BWE8.js";
|
|
15
15
|
const $e = Xe((c, d) => {
|
|
16
16
|
const r = ue(), s = tt(), S = de();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as W, mergeModels as xe, computed as b, useModel as ke, resolveComponent as P, openBlock as D, createElementBlock as B, createElementVNode as r, createVNode as m, withCtx as N, toDisplayString as T, unref as l, Fragment as Ce, renderList as Ie, ref as L, createBlock as z, createCommentVNode as Z, isRef as ve, watch as Me, onMounted as $e, normalizeClass as Ae, normalizeStyle as De, Teleport as Fe } from "vue";
|
|
2
|
-
import { u as ge } from "./supplier-
|
|
2
|
+
import { u as ge } from "./supplier-BQyK2eSZ.js";
|
|
3
3
|
import { D as fe, R as J, F as A } from "./row-action.enum-PMKMRrZR.js";
|
|
4
4
|
import { c as Ue, _ as Re, F as Q } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
5
|
-
import { c as ee, u as Ve, a3 as Pe, d as ye, g as Ne, y as Ee, C as X, h as Te, R as U, b as _e, j as he } from "./app-
|
|
5
|
+
import { c as ee, u as Ve, a3 as Pe, d as ye, g as Ne, y as Ee, C as X, h as Te, R as U, b as _e, j as he } from "./app-BuyAj4kw.js";
|
|
6
6
|
import { useI18n as q, useCoreStore as Be } from "@feedmepos/mf-common";
|
|
7
7
|
import { useDialog as Se, useSnackbar as we, useProxiedModel as be, useBreakpoints as Le } from "@feedmepos/ui-library";
|
|
8
|
-
import { u as ze, _ as qe, a as Ye } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { u as ze, _ as qe, a as Ye } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DnogYrRE.js";
|
|
9
9
|
import { _ as He } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
|
|
10
10
|
function Ke(R, C) {
|
|
11
11
|
const { t: h } = q();
|