@feedmepos/mf-inventory-portal 1.1.5 → 1.1.6-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{App-CyCxXYWb.js → App-ZdPyRgoK.js} +1 -1
- package/dist/{ApprovalView-U_0mloUl.js → ApprovalView-VNUUoGaD.js} +12 -12
- package/dist/{BindingsDialog-MU1VXpRz.js → BindingsDialog-CqrwH8Le.js} +2 -2
- package/dist/{BindingsPicker-B0DtgYMV.js → BindingsPicker-CBrr3QOo.js} +1 -1
- package/dist/{BindingsTable-CSZw1l9L.js → BindingsTable-CM_qgGzX.js} +1 -1
- package/dist/{ClosingDraftView-DwUlj7ta.js → ClosingDraftView-EJxncQHK.js} +2 -2
- package/dist/ClosingTemplateView-P3-3w7LP.js +1908 -0
- package/dist/{DeliveryOrderPrintPreview-D7-jS3K1.js → DeliveryOrderPrintPreview-B_0diddC.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BnL2z9Or.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C_pIvqso.js} +16 -16
- package/dist/{FmMultiselectDialog-BTjE3FDA.js → FmMultiselectDialog-B3_QQAyt.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-D-hrdDvI.js → FmUnitInput.vue_vue_type_script_setup_true_lang-FPaLEdx0.js} +20 -20
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DqY-ppJ9.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BOMcifaU.js} +1 -1
- package/dist/{IngredientGroupView-R5cNGeUG.js → IngredientGroupView-C4qAQE49.js} +2 -2
- package/dist/{IngredientsView-BkRv5-9o.js → IngredientsView-BuUCuN_-.js} +4 -4
- package/dist/{IntegrationView-DJzLUlBA.js → IntegrationView-Ww16O2-h.js} +729 -766
- package/dist/{InventoryBindingForm-SBCpdUlA.js → InventoryBindingForm-BdGh-FcD.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DQ9-3Y3R.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DkqxNffc.js} +3 -3
- package/dist/{InventoryBindingSummary-DRJTEG5M.js → InventoryBindingSummary-immSfENb.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BTyKsubT.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-ChP4yc96.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Bn5b1Ur-.js → PremiumBadge.vue_vue_type_script_setup_true_lang-D-GMVZlu.js} +6 -6
- package/dist/{PublishView-ClOkwACw.js → PublishView-BYymYGs5.js} +22 -23
- package/dist/{PurchaseOrderPrintPreview-BV_-rfm2.js → PurchaseOrderPrintPreview-D3WKx7pj.js} +6 -6
- package/dist/{ReceiveRequestView-BEA8WYAJ.js → ReceiveRequestView-Ba5ONN7U.js} +122 -123
- package/dist/{RecipeView-CgS5UMwE.js → RecipeView-DoD3paRP.js} +3 -3
- package/dist/{StockView-DfNZOW1U.js → StockView-fO7PGIdp.js} +6 -6
- package/dist/{SupplierView-nAtRIngl.js → SupplierView-DNhVDIF0.js} +3 -3
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-0fKqK-Yg.js → TransferDetails.vue_vue_type_script_setup_true_lang-D4noOVzU.js} +812 -847
- package/dist/{TransferTemplateView-B7P8MaPd.js → TransferTemplateView-788yoUXj.js} +70 -70
- package/dist/{UnitView-B5bqeT_p.js → UnitView-iQCflI7n.js} +3 -3
- package/dist/{WarehouseView-yIhVXIOL.js → WarehouseView-ComVJ9Ub.js} +1 -1
- package/dist/api/adjustment-template.d.ts +2 -0
- package/dist/api/closing-template.d.ts +2 -0
- package/dist/api/netsuite.d.ts +0 -1
- package/dist/{app-CktPIZfH.js → app-DDQ8iM43.js} +32520 -30121
- package/dist/app.js +5 -5
- package/dist/components/TemplatePublishDialog.d.ts +13 -0
- package/dist/components/TemplatePublishDialog.vue.d.ts +12 -0
- package/dist/components/row-action.enum.d.ts +1 -0
- package/dist/{decimal-ClHMtypx.js → decimal-Cj3dpSJu.js} +1 -1
- package/dist/{format-unit-display--5ianNK1.js → format-unit-display-DBZ-CswW.js} +22 -22
- package/dist/{index-ynBWdY_c.js → index-DkQGplv5.js} +1 -1
- package/dist/{index-KMubbPxS.js → index-TCig0pJv.js} +1 -1
- package/dist/{stock-Bsrt9B9a.js → stock-cW_hYhb6.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{supplier-BXmGBQ24.js → supplier-CmLYcKmg.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-Pg9yaoJS.js → use-ingredient-select-dialog-J1mw_EQM.js} +1 -1
- package/dist/{use-inventory-binding-dialog-Deyh6NeE.js → use-inventory-binding-dialog-CgxQ2cgb.js} +1 -1
- package/dist/views/dev/components/TemplatePublishDialogTest.vue.d.ts +2 -0
- package/dist/views/receive-request/composables/fn.d.ts +3 -4
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +618 -1
- package/package.json +1 -1
- package/dist/ClosingTemplateView-DcUMrx5w.js +0 -1863
- package/dist/components/FmMultiselectDialogTemporary.vue.d.ts +0 -41
- package/dist/vue-i18n-Dybwy_8K.js +0 -2365
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as ee, computed as _, reactive as ne, resolveComponent as k, openBlock as r, createElementBlock as p, createVNode as y, withCtx as U, createElementVNode as n, toDisplayString as m, unref as i, createBlock as B, createCommentVNode as v, Fragment as E, renderList as C, nextTick as oe } from "vue";
|
|
2
|
-
import { a as te, X as le,
|
|
3
|
-
import { u as re } from "./use-inventory-binding-dialog-
|
|
4
|
-
import { _ as ae, c as ue, d as me } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { a as te, X as le, b4 as ie, j as h, b5 as N, V as G, T as se, F as de } from "./app-DDQ8iM43.js";
|
|
3
|
+
import { u as re } from "./use-inventory-binding-dialog-CgxQ2cgb.js";
|
|
4
|
+
import { _ as ae, c as ue, d as me } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-FPaLEdx0.js";
|
|
5
5
|
import { useI18n as ce } from "@feedmepos/mf-common";
|
|
6
6
|
const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-16" }, fe = { class: "flex items-center" }, ve = { class: "flex-1 fm-typo-en-title-sm-600" }, be = { class: "flex flex-col" }, ge = { class: "flex py-8 px-12 border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-100 h-[44px] items-center" }, _e = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, xe = { class: "flex flex-col w-full border-b border-fm-color-neutral-gray-100" }, he = {
|
|
7
7
|
class: "flex items-center",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as l, resolveComponent as m, openBlock as c, createBlock as d, h as g } from "vue";
|
|
2
2
|
import { useI18n as p } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as u } from "@feedmepos/ui-library";
|
|
4
|
-
import { F as r } from "./app-
|
|
4
|
+
import { F as r } from "./app-DDQ8iM43.js";
|
|
5
5
|
const w = /* @__PURE__ */ l({
|
|
6
6
|
__name: "InventoryBindingSummary",
|
|
7
7
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as V, computed as w, ref as h, watch as u, resolveComponent as i, openBlock as F, createBlock as g, withCtx as d, createVNode as A, createElementVNode as k, normalizeClass as K } from "vue";
|
|
2
|
-
import { T as s } from "./app-
|
|
2
|
+
import { T as s } from "./app-DDQ8iM43.js";
|
|
3
3
|
const T = ["value", "disabled"], B = /* @__PURE__ */ V({
|
|
4
4
|
__name: "NumberPrecisionInput",
|
|
5
5
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aG as u, aH as _, a3 as h, u as F } from "./app-DDQ8iM43.js";
|
|
2
2
|
import { useCoreStore as y } from "@feedmepos/mf-common";
|
|
3
3
|
import { ref as v, defineComponent as k, resolveComponent as l, openBlock as g, createElementBlock as S, renderSlot as x, createVNode as m, withCtx as O } from "vue";
|
|
4
4
|
function w(e, t) {
|
|
@@ -22,8 +22,8 @@ async function C(e, t) {
|
|
|
22
22
|
}
|
|
23
23
|
await _(r, t);
|
|
24
24
|
}
|
|
25
|
-
const f =
|
|
26
|
-
const r =
|
|
25
|
+
const f = h((e, t) => {
|
|
26
|
+
const r = F(), n = y();
|
|
27
27
|
return {
|
|
28
28
|
async getInventoryForecast() {
|
|
29
29
|
var s;
|
|
@@ -82,7 +82,7 @@ function N(e) {
|
|
|
82
82
|
let t = e.substring(e.indexOf("_") + 1);
|
|
83
83
|
return t.includes("_") && (t = t.substring(0, t.lastIndexOf("_"))), Number.isNaN(Date.parse(t)) ? null : new Date(t).toISOString();
|
|
84
84
|
}
|
|
85
|
-
const
|
|
85
|
+
const b = { class: "flex items-center gap-8" }, B = "Experience enhanced inventory features with premium plan.", L = /* @__PURE__ */ k({
|
|
86
86
|
__name: "PremiumBadge",
|
|
87
87
|
props: {
|
|
88
88
|
zIndex: {}
|
|
@@ -90,12 +90,12 @@ const E = { class: "flex items-center gap-8" }, b = "Experience enhanced invento
|
|
|
90
90
|
setup(e) {
|
|
91
91
|
return (t, r) => {
|
|
92
92
|
const n = l("FmPill"), o = l("FmTooltip");
|
|
93
|
-
return g(), S("div",
|
|
93
|
+
return g(), S("div", b, [
|
|
94
94
|
x(t.$slots, "default"),
|
|
95
95
|
m(o, {
|
|
96
96
|
variant: "plain",
|
|
97
97
|
placement: "top",
|
|
98
|
-
content:
|
|
98
|
+
content: B,
|
|
99
99
|
"z-index": t.zIndex
|
|
100
100
|
}, {
|
|
101
101
|
default: O(() => [
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { defineComponent as Q, ref as z, computed as r, resolveComponent as s, openBlock as I, createBlock as B, unref as v, createSlots as X, withCtx as
|
|
2
|
-
import {
|
|
3
|
-
import { useBreakpoints as
|
|
4
|
-
|
|
5
|
-
const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, de = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, ge = /* @__PURE__ */ Q({
|
|
1
|
+
import { defineComponent as Q, ref as z, computed as r, resolveComponent as s, openBlock as I, createBlock as B, unref as v, createSlots as X, withCtx as c, createElementVNode as h, normalizeClass as Z, createVNode as n, normalizeStyle as ee, Teleport as te, h as f } from "vue";
|
|
2
|
+
import { aA as oe, u as ne, a as ae, a$ as se, B as le, _ as ie, am as H } from "./app-DDQ8iM43.js";
|
|
3
|
+
import { useBreakpoints as re, useDialog as ce, useSnackbar as ue, components as R } from "@feedmepos/ui-library";
|
|
4
|
+
const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, de = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, fe = /* @__PURE__ */ Q({
|
|
6
5
|
__name: "PublishView",
|
|
7
6
|
setup(ye) {
|
|
8
|
-
const { t } =
|
|
7
|
+
const { t } = oe(), { breakpoints: x } = re(), l = ne(), A = ae(), S = se(), g = z(!1), u = r(() => A.state.inventory.updatedAt ? A.state.inventory.updatedAt : null), Y = le(), C = ce(), $ = ue(), N = r(() => l.locations), _ = r(() => x.value.xs || x.value.sm), U = r(() => _.value ? 10 : 20), q = r(() => [
|
|
9
8
|
{
|
|
10
9
|
label: t("inventory.common.refresh"),
|
|
11
10
|
value: "refresh",
|
|
@@ -48,7 +47,7 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
|
|
|
48
47
|
header: () => t("inventory.publish.columns.type"),
|
|
49
48
|
enableSorting: !0,
|
|
50
49
|
cell(e) {
|
|
51
|
-
return f(
|
|
50
|
+
return f(R.FmChip, {
|
|
52
51
|
color: "primary",
|
|
53
52
|
label: e.row.original.type
|
|
54
53
|
});
|
|
@@ -66,7 +65,7 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
|
|
|
66
65
|
enableSorting: !0,
|
|
67
66
|
cell(e) {
|
|
68
67
|
var o, a;
|
|
69
|
-
return (o = e.row.original.inventory) != null && o.updatedAt ?
|
|
68
|
+
return (o = e.row.original.inventory) != null && o.updatedAt ? H((a = e.row.original.inventory) == null ? void 0 : a.updatedAt) : "";
|
|
70
69
|
}
|
|
71
70
|
},
|
|
72
71
|
{
|
|
@@ -75,9 +74,9 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
|
|
|
75
74
|
enableSorting: !0,
|
|
76
75
|
cell(e) {
|
|
77
76
|
var p;
|
|
78
|
-
if (!
|
|
77
|
+
if (!u.value)
|
|
79
78
|
return "";
|
|
80
|
-
const o = ((p = e.row.original.inventory) == null ? void 0 : p.updatedAt) ==
|
|
79
|
+
const o = ((p = e.row.original.inventory) == null ? void 0 : p.updatedAt) == u.value, a = e.row.original.dbName, m = e.row.original.type === "warehouse";
|
|
81
80
|
return f(
|
|
82
81
|
"div",
|
|
83
82
|
{
|
|
@@ -94,7 +93,7 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
|
|
|
94
93
|
},
|
|
95
94
|
t(o ? "inventory.publish.status.published" : "inventory.publish.status.outdated")
|
|
96
95
|
),
|
|
97
|
-
!o && !m ? f(
|
|
96
|
+
!o && !m ? f(R.FmButton, {
|
|
98
97
|
class: "tertiary",
|
|
99
98
|
variant: "secondary",
|
|
100
99
|
icon: "sync",
|
|
@@ -105,7 +104,7 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
|
|
|
105
104
|
primaryActions: { text: t("inventory.common.publish"), close: !0 },
|
|
106
105
|
secondaryActions: { text: "Cancel", close: !0 }
|
|
107
106
|
}).onPrimary(async () => {
|
|
108
|
-
await S.publishInventory(a.split("_")[1]), await l.readLocations(),
|
|
107
|
+
await S.publishInventory(a.split("_")[1]), await l.readLocations(), $.open({ message: "Publish request submitted", type: "success" });
|
|
109
108
|
});
|
|
110
109
|
}
|
|
111
110
|
}) : null
|
|
@@ -134,12 +133,12 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
|
|
|
134
133
|
];
|
|
135
134
|
return (e, o) => {
|
|
136
135
|
const a = s("FmChip"), m = s("FlexRender"), p = s("TableActionableRow"), G = s("FmTable"), J = s("FmCollapsibleTabs"), O = s("FmBottomSheet");
|
|
137
|
-
return I(), B(
|
|
136
|
+
return I(), B(ie, {
|
|
138
137
|
title: v(t)("inventory.publish.title"),
|
|
139
138
|
actions: q.value,
|
|
140
139
|
"onClick:action": E
|
|
141
140
|
}, X({
|
|
142
|
-
default:
|
|
141
|
+
default: c(() => [
|
|
143
142
|
h("div", {
|
|
144
143
|
class: Z([
|
|
145
144
|
"flex flex-col gap-8 max-h-full",
|
|
@@ -150,16 +149,16 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
|
|
|
150
149
|
])
|
|
151
150
|
}, [
|
|
152
151
|
n(G, {
|
|
153
|
-
style: ee(v(
|
|
152
|
+
style: ee(v(Y).tableHeight),
|
|
154
153
|
"column-defs": j,
|
|
155
|
-
"row-data":
|
|
154
|
+
"row-data": N.value,
|
|
156
155
|
loading: !v(l)._currentLocation || g.value,
|
|
157
156
|
"loading-text": "Loading",
|
|
158
157
|
"page-size": U.value
|
|
159
158
|
}, {
|
|
160
|
-
"list-row":
|
|
159
|
+
"list-row": c((i) => [
|
|
161
160
|
n(p, { row: i }, {
|
|
162
|
-
default:
|
|
161
|
+
default: c((d) => {
|
|
163
162
|
var F, k, M, y, P, L, T, V, b, D;
|
|
164
163
|
return [
|
|
165
164
|
h("div", me, [
|
|
@@ -190,7 +189,7 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
|
|
|
190
189
|
modelValue: w.value,
|
|
191
190
|
"onUpdate:modelValue": o[1] || (o[1] = (i) => w.value = i)
|
|
192
191
|
}, {
|
|
193
|
-
default:
|
|
192
|
+
default: c(() => [
|
|
194
193
|
n(J, {
|
|
195
194
|
class: "pb-8",
|
|
196
195
|
items: K,
|
|
@@ -203,12 +202,12 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
|
|
|
203
202
|
]),
|
|
204
203
|
_: 2
|
|
205
204
|
}, [
|
|
206
|
-
|
|
205
|
+
u.value ? {
|
|
207
206
|
name: "headerInfo",
|
|
208
|
-
fn:
|
|
207
|
+
fn: c(() => [
|
|
209
208
|
n(a, {
|
|
210
209
|
variant: "info",
|
|
211
|
-
label: `Latest: ${v(
|
|
210
|
+
label: `Latest: ${v(H)(u.value)}`
|
|
212
211
|
}, null, 8, ["label"])
|
|
213
212
|
]),
|
|
214
213
|
key: "0"
|
|
@@ -218,5 +217,5 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
|
|
|
218
217
|
}
|
|
219
218
|
});
|
|
220
219
|
export {
|
|
221
|
-
|
|
220
|
+
fe as default
|
|
222
221
|
};
|
package/dist/{PurchaseOrderPrintPreview-BV_-rfm2.js → PurchaseOrderPrintPreview-D3WKx7pj.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as b, computed as
|
|
2
|
-
import { useRoute as
|
|
3
|
-
import {
|
|
1
|
+
import { defineComponent as b, computed as m, ref as x, onMounted as f, openBlock as u, createElementBlock as n, createElementVNode as t, toDisplayString as e, normalizeStyle as g, createTextVNode as i, Fragment as o, createCommentVNode as p, renderList as v } from "vue";
|
|
2
|
+
import { useRoute as w } from "vue-router";
|
|
3
|
+
import { ay as y, al as k } from "./app-DDQ8iM43.js";
|
|
4
4
|
const A = { class: "purchase-box" }, C = { valign: "bottom" }, R = { class: "title" }, N = { class: "text-right" }, O = { class: "header" }, P = { class: "sub-header" }, D = { class: "caption" }, E = { class: "address" }, S = { class: "text-right" }, T = { class: "sub-header" }, F = { class: "address" }, q = { class: "purchase-body" }, L = { class: "text-left" }, U = { class: "text-left" }, V = { class: "text-right" }, B = { class: "text-right" }, H = { class: "text-right" }, I = { style: { "padding-top": "30px" } }, M = { valign: "bottom" }, z = { class: "header" }, J = { class: "caption" }, Q = {
|
|
5
5
|
class: "text-left",
|
|
6
6
|
style: { width: "20%" }
|
|
@@ -13,7 +13,7 @@ const A = { class: "purchase-box" }, C = { valign: "bottom" }, R = { class: "tit
|
|
|
13
13
|
}, W = /* @__PURE__ */ b({
|
|
14
14
|
__name: "PurchaseOrderPrintPreview",
|
|
15
15
|
setup(X) {
|
|
16
|
-
const c =
|
|
16
|
+
const c = m(() => {
|
|
17
17
|
switch (s.value.status) {
|
|
18
18
|
case y.enum.CANCEL:
|
|
19
19
|
return "#FF0000";
|
|
@@ -22,7 +22,7 @@ const A = { class: "purchase-box" }, C = { valign: "bottom" }, R = { class: "tit
|
|
|
22
22
|
default:
|
|
23
23
|
return "#7A7A7A";
|
|
24
24
|
}
|
|
25
|
-
}), _ =
|
|
25
|
+
}), _ = w(), s = x(JSON.parse(_.query.data));
|
|
26
26
|
return f(() => {
|
|
27
27
|
setTimeout(() => window.print(), 500);
|
|
28
28
|
}), (Y, l) => (u(), n("div", A, [
|
|
@@ -147,7 +147,7 @@ const A = { class: "purchase-box" }, C = { valign: "bottom" }, R = { class: "tit
|
|
|
147
147
|
])
|
|
148
148
|
]));
|
|
149
149
|
}
|
|
150
|
-
}), et = /* @__PURE__ */
|
|
150
|
+
}), et = /* @__PURE__ */ k(W, [["__scopeId", "data-v-3cb85541"]]);
|
|
151
151
|
export {
|
|
152
152
|
et as default
|
|
153
153
|
};
|