@feedmepos/mf-inventory-portal 1.1.4 → 1.1.6-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{App-CWly44Cw.js → App-Y3jnuLk5.js} +1 -1
- package/dist/{ApprovalView-BvNL_PkW.js → ApprovalView-hZtL3Sua.js} +12 -12
- package/dist/{BindingsDialog-C1WfUo1d.js → BindingsDialog-D9ti8JsW.js} +2 -2
- package/dist/{BindingsPicker-B9cxaEAQ.js → BindingsPicker-9FxsKtvd.js} +1 -1
- package/dist/{BindingsTable-BIG538-m.js → BindingsTable-DxdQOwbf.js} +1 -1
- package/dist/{ClosingDraftView-fxIkO0qv.js → ClosingDraftView-BTuZHGjn.js} +2 -2
- package/dist/ClosingTemplateView-CE0tWxSQ.js +1908 -0
- package/dist/{DeliveryOrderPrintPreview-ChCusfMS.js → DeliveryOrderPrintPreview-CsM1VMSs.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C9nf-Bvv.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-D7NiMP9x.js} +16 -16
- package/dist/{FmMultiselectDialog-B88ntsa7.js → FmMultiselectDialog-AUVC5_8U.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BXokJA-1.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BujCH0Hv.js} +20 -20
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-SnZRXnGT.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CK786OeU.js} +1 -1
- package/dist/{IngredientGroupView-BbQJH6wG.js → IngredientGroupView-aK1emYCJ.js} +2 -2
- package/dist/{IngredientsView-DuRBYR4c.js → IngredientsView-CqL_zM0S.js} +4 -4
- package/dist/{IntegrationView-HWsrefRe.js → IntegrationView-DJdRbi4v.js} +50 -51
- package/dist/{InventoryBindingForm-2KEHVzvO.js → InventoryBindingForm-CrIqBVXt.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Cclzuz1Y.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BGrSJsKM.js} +3 -3
- package/dist/{InventoryBindingSummary-CWs5HgWm.js → InventoryBindingSummary-DWG59xhc.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-rXndajqj.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Dy7HIgLl.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DVifBu9J.js → PremiumBadge.vue_vue_type_script_setup_true_lang-NEqCvCvz.js} +6 -6
- package/dist/{PublishView-P7K2kgWN.js → PublishView-Chk6c4or.js} +22 -23
- package/dist/{PurchaseOrderPrintPreview-CDXyqt-T.js → PurchaseOrderPrintPreview-CY2Zzcaf.js} +6 -6
- package/dist/{ReceiveRequestView-CXxyChNa.js → ReceiveRequestView-DOCTQ6zm.js} +122 -123
- package/dist/{RecipeView-DNJypRUA.js → RecipeView-BlWs9gRL.js} +3 -3
- package/dist/{StockView-gG5rmqtK.js → StockView-6wts4hQa.js} +6 -6
- package/dist/{SupplierView-3XnnzuU-.js → SupplierView-Di7PdPIc.js} +3 -3
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BY0O0xOh.js → TransferDetails.vue_vue_type_script_setup_true_lang-BOV7ntEz.js} +812 -847
- package/dist/{TransferTemplateView-BqZIeHXq.js → TransferTemplateView-CMmuNxry.js} +70 -70
- package/dist/{UnitView-DVP_J89e.js → UnitView-B-ba0CCd.js} +3 -3
- package/dist/{WarehouseView-CrW_FwAy.js → WarehouseView-DMeecKhM.js} +1 -1
- package/dist/api/adjustment-template.d.ts +2 -0
- package/dist/api/closing-template.d.ts +2 -0
- package/dist/{app-C94dIU_J.js → app-CrnHc0xr.js} +32601 -29816
- 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-D0e4N7PE.js → decimal-D8iEMhaw.js} +1 -1
- package/dist/{format-unit-display-DKtx102F.js → format-unit-display-DRKgUUX9.js} +22 -22
- package/dist/{index-BxbnRGBe.js → index-CaI4x97V.js} +1 -1
- package/dist/{index-CSsaj5DD.js → index-z0AxAVmq.js} +1 -1
- package/dist/{stock-C5gzau0Q.js → stock-D4ij2Bnb.js} +1 -1
- package/dist/{supplier-Dqc19jEh.js → supplier-CuLUQnUj.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-CNndD6oV.js → use-ingredient-select-dialog-BbL7y_hv.js} +1 -1
- package/dist/{use-inventory-binding-dialog-Df93j5R7.js → use-inventory-binding-dialog-BkGX5Rc4.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 +3 -3
- package/dist/ClosingTemplateView-tFcvCzUt.js +0 -1863
- package/dist/vue-i18n-Baz9B8gA.js +0 -2365
|
@@ -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-CrnHc0xr.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-CDXyqt-T.js → PurchaseOrderPrintPreview-CY2Zzcaf.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-CrnHc0xr.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
|
};
|