@feedmepos/mf-inventory-portal 0.0.23-dev.24 → 0.0.23-dev.26
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-dQy0_X6Q.js → App-C0hXAs5E.js} +49 -45
- package/dist/{ApprovalView-CxwAuXae.js → ApprovalView-Db5Aq3gK.js} +15 -15
- package/dist/{BindingsDialog-BX8J03Uc.js → BindingsDialog-dKNKrWKv.js} +9 -9
- package/dist/{BindingsPicker-CAW_3sSv.js → BindingsPicker-dN1bNnc0.js} +5 -5
- package/dist/{BindingsTable-7UmxSmdW.js → BindingsTable-BA461fcU.js} +8 -8
- package/dist/{ClosingDraftView-DukJAMlK.js → ClosingDraftView-aRHVKTA6.js} +68 -69
- package/dist/{ClosingTemplateView-Dm7_gMTo.js → ClosingTemplateView-BYnC4Whw.js} +58 -61
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DN3N20Nb.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BdjeCWX1.js} +13 -13
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BrPRiS_u.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CP2euPwM.js} +46 -46
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-Bln1lReW.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-C4aYGbW2.js} +7 -7
- package/dist/{IngredientGroupView-BKIJHeh9.js → IngredientGroupView-vdG6npct.js} +40 -40
- package/dist/{IngredientsView-Blnohl3I.js → IngredientsView-DWRAoLHx.js} +207 -210
- package/dist/{IntegrationView-Dna4bUA7.js → IntegrationView-Dp_A-Swf.js} +89 -90
- package/dist/{InventoryBindingForm-D6HSF8Wn.js → InventoryBindingForm-D_wSUUKv.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CnWvwNjJ.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-2Mnqz6HN.js} +27 -27
- package/dist/{InventoryBindingSummary-CNNCv8NX.js → InventoryBindingSummary-oyRdM7Pd.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CrMkMTAt.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CSabNdfV.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Cw3E2NKS.js → PremiumBadge.vue_vue_type_script_setup_true_lang-tu1Al7wM.js} +17 -18
- package/dist/{PurchaseOrderPrintPreview-PEN03dZK.js → PurchaseOrderPrintPreview-B4m8t90I.js} +1 -1
- package/dist/{ReceiveRequestView-rTUhjMLY.js → ReceiveRequestView-DIJb_dU2.js} +26 -27
- package/dist/{RecipeView-V1hx1AUG.js → RecipeView-Ch5KMGLJ.js} +47 -48
- package/dist/{StockView-B5nDn8nO.js → StockView-BVuzsMG7.js} +7 -7
- package/dist/{SupplierView-DyyRxm6k.js → SupplierView-DEC2LmtN.js} +203 -206
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-D6oZOwHL.js → TransferDetails.vue_vue_type_script_setup_true_lang-9UZWws3P.js} +61 -62
- package/dist/{TransferTemplateView-OTR9Re51.js → TransferTemplateView-DAMQ_Whn.js} +144 -145
- package/dist/{UnitView-DGhm1JXD.js → UnitView-CFwHRgQ-.js} +3 -3
- package/dist/{WarehouseView-DMAvFisd.js → WarehouseView-HE71bVOX.js} +52 -52
- package/dist/app-CRSuR04o.js +84133 -0
- package/dist/app.js +1 -1
- package/dist/{decimal-DuJEFEYp.js → decimal-B5DqWjel.js} +1 -1
- package/dist/{feature-BRqas45f.js → feature-DxNphYNO.js} +1 -1
- package/dist/{format-unit-display-G6VtlQe7.js → format-unit-display-D40MKAIU.js} +50 -53
- package/dist/{index-D3f51k-I.js → index-BWDsx2Ik.js} +1 -1
- package/dist/{stock-DZkj2LE0.js → stock-BAPZYfON.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{supplier-Cm5Cw3u7.js → supplier-Bp7xaTFX.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-inventory-binding-dialog-DCt0wUiw.js → use-inventory-binding-dialog-cxY29PPx.js} +1 -1
- package/dist/views/adjustment-template/import/AdjustmentTemplateImport.vue.d.ts +2 -0
- package/dist/views/adjustment-template/import/AdjustmentTemplateImportItem.vue.d.ts +18 -0
- package/dist/views/adjustment-template/import/export.d.ts +60 -0
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +1 -1
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +1 -1
- package/package.json +1 -1
- package/dist/FmDroppableField-BqZcDO2v.js +0 -154
- package/dist/app-DQRbwx-z.js +0 -58903
- package/dist/netsuite-D4b5JceM.js +0 -251
- package/dist/xlsx-9Gc42bxv.js +0 -24004
- package/dist/xlsx.util-CEvUL8mk.js +0 -78
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { ref as w, onUnmounted as F, defineComponent as h, watch as I, onMounted as G, computed as g, resolveComponent as R, openBlock as S, createElementBlock as b, unref as v, createVNode as E, createElementVNode as p, toDisplayString as x, createBlock as U, createCommentVNode as M } from "vue";
|
|
2
|
-
import { u as k, a as D, R as e, g as
|
|
2
|
+
import { u as k, a as D, b as H, R as e, g as r, _ as K, c as W } from "./app-CRSuR04o.js";
|
|
3
3
|
import { useCoreStore as A, useI18n as B } from "@feedmepos/mf-common";
|
|
4
|
-
import { useRouter as C, useRoute as
|
|
5
|
-
import { u as O } from "./feature-
|
|
6
|
-
import { u as $ } from "./netsuite-D4b5JceM.js";
|
|
4
|
+
import { useRouter as C, useRoute as $ } from "vue-router";
|
|
5
|
+
import { u as O } from "./feature-DxNphYNO.js";
|
|
7
6
|
import { u as Q } from "./useTabStorage-BkIVScW_.js";
|
|
8
7
|
import { u as j } from "./googlemap-Dm8ERVai.js";
|
|
9
8
|
import "./array-hChJVZLE.js";
|
|
@@ -39,22 +38,22 @@ const J = {
|
|
|
39
38
|
}, X = {
|
|
40
39
|
key: 1,
|
|
41
40
|
class: "flex flex-col pt-[200px] gap-32 items-center"
|
|
42
|
-
}, Y = { class: "flex flex-col gap-12 items-center text-center px-24 max-w-[1000px]" }, Z = { class: "fm-typo-en-title-lg-600" }, ee = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, te = { class: "flex gap-16" }, oe = { href: "https://feedme.ai/product/inventory/features?tab=plans_%26_prices" }, ne = { href: "https://feedme.ai/form" },
|
|
41
|
+
}, Y = { class: "flex flex-col gap-12 items-center text-center px-24 max-w-[1000px]" }, Z = { class: "fm-typo-en-title-lg-600" }, ee = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, te = { class: "flex gap-16" }, oe = { href: "https://feedme.ai/product/inventory/features?tab=plans_%26_prices" }, ne = { href: "https://feedme.ai/form" }, se = /* @__PURE__ */ h({
|
|
43
42
|
__name: "InventoryView",
|
|
44
43
|
setup(l) {
|
|
45
|
-
const n = k(), i = D(), u =
|
|
44
|
+
const n = k(), i = D(), u = H(), a = A(), c = C(), o = q(), y = O(), { t: d } = B();
|
|
46
45
|
I(
|
|
47
46
|
[() => a.sessionUser.value, () => a.currentBusiness.value],
|
|
48
|
-
([t,
|
|
49
|
-
f(t,
|
|
47
|
+
([t, s]) => {
|
|
48
|
+
f(t, s);
|
|
50
49
|
}
|
|
51
50
|
), G(async () => {
|
|
52
51
|
await a.readBusinesses();
|
|
53
|
-
const t = a.sessionUser.value,
|
|
54
|
-
f(t,
|
|
52
|
+
const t = a.sessionUser.value, s = a.currentBusiness.value;
|
|
53
|
+
f(t, s);
|
|
55
54
|
});
|
|
56
|
-
function f(t,
|
|
57
|
-
!t || !
|
|
55
|
+
function f(t, s) {
|
|
56
|
+
!t || !s || T();
|
|
58
57
|
}
|
|
59
58
|
async function T() {
|
|
60
59
|
return await n.init(), await u.readSetting().catch((t) => {
|
|
@@ -62,7 +61,7 @@ const J = {
|
|
|
62
61
|
}), await i.init();
|
|
63
62
|
}
|
|
64
63
|
const N = g(() => c.currentRoute.value.name === e.TRANSFER_TEMPLATE ? y.enablePoTemplate : !0);
|
|
65
|
-
return (t,
|
|
64
|
+
return (t, s) => {
|
|
66
65
|
const m = R("FmSpacer"), P = R("FmCircularProgress"), L = R("FmButton"), V = R("RouterView");
|
|
67
66
|
return S(), b("div", null, [
|
|
68
67
|
v(o).isLoading ? (S(), b("div", J, [
|
|
@@ -70,7 +69,7 @@ const J = {
|
|
|
70
69
|
p("div", null, [
|
|
71
70
|
E(P, { size: "xl" })
|
|
72
71
|
]),
|
|
73
|
-
|
|
72
|
+
s[0] || (s[0] = p("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary pl-8" }, "Loading page...", -1)),
|
|
74
73
|
E(m)
|
|
75
74
|
])) : N.value ? v(a).sessionUser.value ? (S(), U(V, { key: 2 })) : M("", !0) : (S(), b("div", X, [
|
|
76
75
|
p("div", Y, [
|
|
@@ -95,18 +94,18 @@ const J = {
|
|
|
95
94
|
]);
|
|
96
95
|
};
|
|
97
96
|
}
|
|
98
|
-
}),
|
|
97
|
+
}), re = { class: "h-full flex flex-col overflow-auto py-16" }, ae = /* @__PURE__ */ h({
|
|
99
98
|
__name: "NavigationTab",
|
|
100
99
|
setup(l) {
|
|
101
|
-
const n =
|
|
102
|
-
I([() => u.currentBusiness.value, () => n.name], ([t,
|
|
103
|
-
(t == null ? void 0 : t.menuVersion) === "v3" && (
|
|
100
|
+
const n = $(), i = C(), u = A(), a = O(), c = Q(), { t: o } = B();
|
|
101
|
+
I([() => u.currentBusiness.value, () => n.name], ([t, s]) => {
|
|
102
|
+
(t == null ? void 0 : t.menuVersion) === "v3" && (s === e.INGREDIENTS || s === e.RECIPE || s === e.UNIT) && i.push({ name: e.STOCK });
|
|
104
103
|
});
|
|
105
104
|
const y = g(() => {
|
|
106
|
-
var
|
|
105
|
+
var s;
|
|
107
106
|
const t = [
|
|
108
107
|
{
|
|
109
|
-
label:
|
|
108
|
+
label: r(e.STOCK, o),
|
|
110
109
|
// icon: 'inventory_2',
|
|
111
110
|
children: [
|
|
112
111
|
{
|
|
@@ -114,36 +113,41 @@ const J = {
|
|
|
114
113
|
value: e.STOCK
|
|
115
114
|
},
|
|
116
115
|
{
|
|
117
|
-
label:
|
|
116
|
+
label: r(e.WASTAGE_TEMPLATE, o),
|
|
117
|
+
value: e.WASTAGE_TEMPLATE
|
|
118
|
+
}
|
|
119
|
+
]
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
label: "Closing",
|
|
123
|
+
children: [
|
|
124
|
+
{
|
|
125
|
+
label: r(e.CLOSING_TEMPLATE, o),
|
|
118
126
|
value: e.CLOSING_TEMPLATE
|
|
119
127
|
},
|
|
120
128
|
{
|
|
121
|
-
label:
|
|
129
|
+
label: r(e.CLOSING_DRAFT, o),
|
|
122
130
|
value: e.CLOSING_DRAFT
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
label: s(e.WASTAGE_TEMPLATE, o),
|
|
126
|
-
value: e.WASTAGE_TEMPLATE
|
|
127
131
|
}
|
|
128
132
|
]
|
|
129
133
|
},
|
|
130
134
|
{
|
|
131
|
-
label:
|
|
135
|
+
label: r(e.INGREDIENTS, o),
|
|
132
136
|
// icon: 'grocery',
|
|
133
137
|
value: e.INGREDIENTS
|
|
134
138
|
},
|
|
135
139
|
{
|
|
136
|
-
label:
|
|
140
|
+
label: r(e.INGREDIENT_GROUP, o),
|
|
137
141
|
// icon: 'grocery',
|
|
138
142
|
value: e.INGREDIENT_GROUP
|
|
139
143
|
},
|
|
140
144
|
{
|
|
141
|
-
label:
|
|
145
|
+
label: r(e.RECIPE, o),
|
|
142
146
|
// icon: 'weight',
|
|
143
147
|
value: e.RECIPE
|
|
144
148
|
},
|
|
145
149
|
{
|
|
146
|
-
label:
|
|
150
|
+
label: r(e.UNIT, o),
|
|
147
151
|
// icon: 'fastfood',
|
|
148
152
|
value: e.UNIT
|
|
149
153
|
},
|
|
@@ -152,38 +156,38 @@ const J = {
|
|
|
152
156
|
// icon: 'swap_horiz',
|
|
153
157
|
children: [
|
|
154
158
|
{
|
|
155
|
-
label:
|
|
159
|
+
label: r(e.RECEIVE_REQUEST, o),
|
|
156
160
|
value: e.RECEIVE_REQUEST
|
|
157
161
|
},
|
|
158
162
|
{
|
|
159
|
-
label:
|
|
163
|
+
label: r(e.APPROVAL, o),
|
|
160
164
|
value: e.APPROVAL
|
|
161
165
|
},
|
|
162
166
|
...a.enablePoTemplate ? [
|
|
163
167
|
{
|
|
164
|
-
label:
|
|
168
|
+
label: r(e.TRANSFER_TEMPLATE, o),
|
|
165
169
|
value: e.TRANSFER_TEMPLATE
|
|
166
170
|
}
|
|
167
171
|
] : []
|
|
168
172
|
]
|
|
169
173
|
},
|
|
170
174
|
{
|
|
171
|
-
label:
|
|
175
|
+
label: r(e.SUPPLIER, o),
|
|
172
176
|
// icon: 'group',
|
|
173
177
|
value: e.SUPPLIER
|
|
174
178
|
},
|
|
175
179
|
{
|
|
176
|
-
label:
|
|
180
|
+
label: r(e.WAREHOUSE, o),
|
|
177
181
|
// icon: 'warehouse',
|
|
178
182
|
value: e.WAREHOUSE
|
|
179
183
|
},
|
|
180
184
|
{
|
|
181
|
-
label:
|
|
185
|
+
label: r(e.INTEGRATION, o),
|
|
182
186
|
// icon: 'integration_instructions',
|
|
183
187
|
value: e.INTEGRATION
|
|
184
188
|
}
|
|
185
189
|
];
|
|
186
|
-
return ((
|
|
190
|
+
return ((s = u.currentBusiness.value) == null ? void 0 : s.menuVersion) === "v3" ? t.filter(
|
|
187
191
|
(m) => m.value !== e.INGREDIENTS && m.value !== e.RECIPE && m.value !== e.UNIT
|
|
188
192
|
) : t;
|
|
189
193
|
}), d = g({
|
|
@@ -211,18 +215,18 @@ const J = {
|
|
|
211
215
|
T.value = !1, setTimeout(() => {
|
|
212
216
|
N.value = !c.getItem(f.value);
|
|
213
217
|
}, 2e3);
|
|
214
|
-
}), (t,
|
|
218
|
+
}), (t, s) => {
|
|
215
219
|
const m = R("FmCollapsibleTabs");
|
|
216
|
-
return S(), b("div",
|
|
220
|
+
return S(), b("div", re, [
|
|
217
221
|
E(m, {
|
|
218
222
|
modelValue: d.value,
|
|
219
|
-
"onUpdate:modelValue":
|
|
223
|
+
"onUpdate:modelValue": s[0] || (s[0] = (P) => d.value = P),
|
|
220
224
|
items: y.value
|
|
221
225
|
}, null, 8, ["modelValue", "items"])
|
|
222
226
|
]);
|
|
223
227
|
};
|
|
224
228
|
}
|
|
225
|
-
}), le = /* @__PURE__ */
|
|
229
|
+
}), le = /* @__PURE__ */ K(ae, [["__scopeId", "data-v-4515fce1"]]);
|
|
226
230
|
typeof Promise.withResolvers > "u" && (Promise.withResolvers = () => {
|
|
227
231
|
let l, n;
|
|
228
232
|
return { promise: new Promise((u, a) => {
|
|
@@ -232,10 +236,10 @@ typeof Promise.withResolvers > "u" && (Promise.withResolvers = () => {
|
|
|
232
236
|
typeof Promise.prototype.delayed > "u" && (Promise.prototype.delayed = async function(l) {
|
|
233
237
|
return await new Promise((n) => setTimeout(n, l)), Promise.resolve(this);
|
|
234
238
|
});
|
|
235
|
-
const
|
|
239
|
+
const _e = /* @__PURE__ */ h({
|
|
236
240
|
__name: "App",
|
|
237
241
|
setup(l) {
|
|
238
|
-
const n = A(), i = j(), u =
|
|
242
|
+
const n = A(), i = j(), u = W();
|
|
239
243
|
G(() => {
|
|
240
244
|
if (window.location.href.includes("print-preview")) {
|
|
241
245
|
n.setEmbedded(!0);
|
|
@@ -255,9 +259,9 @@ const Ee = /* @__PURE__ */ h({
|
|
|
255
259
|
console.error("error when trying to reset businesses:", o);
|
|
256
260
|
}
|
|
257
261
|
}
|
|
258
|
-
return (c, o) => (S(), U(
|
|
262
|
+
return (c, o) => (S(), U(se));
|
|
259
263
|
}
|
|
260
264
|
});
|
|
261
265
|
export {
|
|
262
|
-
|
|
266
|
+
_e as default
|
|
263
267
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { defineComponent as ae, ref as g, watch as oe, computed as b, resolveComponent as re, openBlock as y, createBlock as J, unref as e, withCtx as x, createElementVNode as s, normalizeClass as ne, createVNode as n, normalizeStyle as se, toDisplayString as le, createElementBlock as ce, createCommentVNode as ie, Teleport as
|
|
2
|
-
import { u as me,
|
|
3
|
-
import { a as De, b as ge, _ as be } from "./TransferDetails.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { defineComponent as ae, ref as g, watch as oe, computed as b, resolveComponent as re, openBlock as y, createBlock as J, unref as e, withCtx as x, createElementVNode as s, normalizeClass as ne, createVNode as n, normalizeStyle as se, toDisplayString as le, createElementBlock as ce, createCommentVNode as ie, Teleport as ue, mergeProps as pe } from "vue";
|
|
2
|
+
import { u as me, ay as v, aI as de, ab as K, x as fe, y as ve, z as _e, B as he, E as _ } from "./app-CRSuR04o.js";
|
|
3
|
+
import { a as De, b as ge, _ as be } from "./TransferDetails.vue_vue_type_script_setup_true_lang-9UZWws3P.js";
|
|
4
4
|
import { useBreakpoints as ye } from "@feedmepos/ui-library";
|
|
5
5
|
import { useI18n as xe } from "@feedmepos/mf-common";
|
|
6
6
|
const we = { class: "flex flex-col py-8" }, Re = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ke = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Oe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, Se = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
|
|
9
|
-
}, Te = { class: "pt-8" },
|
|
9
|
+
}, Te = { class: "pt-8" }, Ye = /* @__PURE__ */ ae({
|
|
10
10
|
__name: "ApprovalView",
|
|
11
11
|
setup(Ce) {
|
|
12
12
|
const o = De("approval"), { columnDefs: Q } = ge("approval", o), W = me();
|
|
@@ -85,7 +85,7 @@ const we = { class: "flex flex-col py-8" }, Re = { class: "fm-typo-en-body-md-40
|
|
|
85
85
|
onRowClick: (t) => e(o).promptShowTransferDetails(t.purchaseOrder, t)
|
|
86
86
|
}, {
|
|
87
87
|
default: x((t) => {
|
|
88
|
-
var O, S, T, i, C,
|
|
88
|
+
var O, S, T, i, C, z, M, $, u, F, V, p, Y, m, q, E, L, N, P, d, j, A, H, U, f, G;
|
|
89
89
|
return [
|
|
90
90
|
s("div", we, [
|
|
91
91
|
s("div", Re, [
|
|
@@ -96,20 +96,20 @@ const we = { class: "flex flex-col py-8" }, Re = { class: "fm-typo-en-body-md-40
|
|
|
96
96
|
]),
|
|
97
97
|
s("div", ke, [
|
|
98
98
|
n(e(_), {
|
|
99
|
-
render: (
|
|
100
|
-
props: (
|
|
99
|
+
render: ($ = (M = (z = t.to_name) == null ? void 0 : z.column) == null ? void 0 : M.columnDef) == null ? void 0 : $.cell,
|
|
100
|
+
props: (F = (u = t.to_name) == null ? void 0 : u.getContext) == null ? void 0 : F.call(u)
|
|
101
101
|
}, null, 8, ["render", "props"])
|
|
102
102
|
]),
|
|
103
|
-
s("div", Oe, le((
|
|
104
|
-
(
|
|
103
|
+
s("div", Oe, le((q = (m = (Y = (p = (V = r.original.purchaseOrder) == null ? void 0 : V.items) == null ? void 0 : p.map) == null ? void 0 : Y.call(p, (te) => `${te.name}`)) == null ? void 0 : m.join) == null ? void 0 : q.call(m, ", ")), 1),
|
|
104
|
+
(E = r.original.purchaseOrder) != null && E.ref ? (y(), ce("div", Se, [
|
|
105
105
|
n(e(_), {
|
|
106
|
-
render: (
|
|
107
|
-
props: (
|
|
106
|
+
render: (P = (N = (L = t.purchaseOrder_ref) == null ? void 0 : L.column) == null ? void 0 : N.columnDef) == null ? void 0 : P.cell,
|
|
107
|
+
props: (j = (d = t.purchaseOrder_ref) == null ? void 0 : d.getContext) == null ? void 0 : j.call(d)
|
|
108
108
|
}, null, 8, ["render", "props"])
|
|
109
109
|
])) : ie("", !0),
|
|
110
110
|
s("div", Te, [
|
|
111
111
|
n(e(_), {
|
|
112
|
-
render: (U = (H = (
|
|
112
|
+
render: (U = (H = (A = t.purchaseOrder_status) == null ? void 0 : A.column) == null ? void 0 : H.columnDef) == null ? void 0 : U.cell,
|
|
113
113
|
props: (G = (f = t.purchaseOrder_status) == null ? void 0 : f.getContext) == null ? void 0 : G.call(f)
|
|
114
114
|
}, null, 8, ["render", "props"])
|
|
115
115
|
])
|
|
@@ -122,8 +122,8 @@ const we = { class: "flex flex-col py-8" }, Re = { class: "fm-typo-en-body-md-40
|
|
|
122
122
|
_: 1
|
|
123
123
|
}, 8, ["style", "column-defs", "row-data", "search-value", "loading", "page-size"])
|
|
124
124
|
], 2),
|
|
125
|
-
(y(), J(
|
|
126
|
-
n(be,
|
|
125
|
+
(y(), J(ue, { to: "body" }, [
|
|
126
|
+
n(be, pe(e(o).transferDetailsProps.value, {
|
|
127
127
|
onSubmitted: e(o).fetchData
|
|
128
128
|
}), null, 16, ["onSubmitted"])
|
|
129
129
|
]))
|
|
@@ -134,5 +134,5 @@ const we = { class: "flex flex-col py-8" }, Re = { class: "fm-typo-en-body-md-40
|
|
|
134
134
|
}
|
|
135
135
|
});
|
|
136
136
|
export {
|
|
137
|
-
|
|
137
|
+
Ye as default
|
|
138
138
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { defineComponent as C, ref as o, onMounted as M, onUnmounted as F, watch as x, resolveComponent as l, openBlock as i, createElementBlock as c, createBlock as I, withCtx as R, createVNode as a, createCommentVNode as z, createElementVNode as P } from "vue";
|
|
2
|
-
import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { a as
|
|
4
|
-
const
|
|
2
|
+
import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-2Mnqz6HN.js";
|
|
3
|
+
import { a as L, aO as S } from "./app-CRSuR04o.js";
|
|
4
|
+
const U = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "flex justify-end gap-8 items-center"
|
|
7
|
-
},
|
|
7
|
+
}, E = {
|
|
8
8
|
key: 1,
|
|
9
9
|
class: "p-24 flex items-center justify-center gap-16"
|
|
10
|
-
},
|
|
10
|
+
}, A = /* @__PURE__ */ C({
|
|
11
11
|
__name: "BindingsDialog",
|
|
12
12
|
setup(N) {
|
|
13
|
-
const p =
|
|
13
|
+
const p = L(), d = o(!0), s = o(new Array()), u = o(), t = S(y);
|
|
14
14
|
async function y() {
|
|
15
15
|
await p.readInventory(), u.value = t.onMessage("props:inventory-bindings", (e) => {
|
|
16
16
|
d.value = !1, s.value = e;
|
|
@@ -53,7 +53,7 @@ const S = {
|
|
|
53
53
|
ref_key: "resizeableRef",
|
|
54
54
|
ref: m
|
|
55
55
|
}, [
|
|
56
|
-
d.value ? (i(), c("div",
|
|
56
|
+
d.value ? (i(), c("div", E, [
|
|
57
57
|
a(h, { size: "md" }),
|
|
58
58
|
n[2] || (n[2] = P("div", null, "Loading bindings dialog...", -1))
|
|
59
59
|
])) : (i(), I(B, {
|
|
@@ -70,7 +70,7 @@ const S = {
|
|
|
70
70
|
"iframe-mode": "",
|
|
71
71
|
"onClick:pickInventoryBindings": k
|
|
72
72
|
}, null, 8, ["model-value"]),
|
|
73
|
-
r.value ? z("", !0) : (i(), c("div",
|
|
73
|
+
r.value ? z("", !0) : (i(), c("div", U, [
|
|
74
74
|
a(g, {
|
|
75
75
|
type: "button",
|
|
76
76
|
variant: "tertiary",
|
|
@@ -90,5 +90,5 @@ const S = {
|
|
|
90
90
|
}
|
|
91
91
|
});
|
|
92
92
|
export {
|
|
93
|
-
|
|
93
|
+
A as default
|
|
94
94
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as S, computed as r, ref as l, onMounted as U, onUnmounted as V, resolveComponent as E, openBlock as p, createElementBlock as f, createVNode as u, createElementVNode as k } from "vue";
|
|
2
|
-
import { a as
|
|
2
|
+
import { a as M, aO as x, H as z } from "./app-CRSuR04o.js";
|
|
3
3
|
const F = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "flex flex-col gap-16"
|
|
6
6
|
}, K = { class: "flex justify-end gap-8 items-center" }, w = {
|
|
7
7
|
key: 1,
|
|
8
8
|
class: "p-24 flex items-center justify-center gap-16"
|
|
9
|
-
},
|
|
9
|
+
}, H = /* @__PURE__ */ S({
|
|
10
10
|
__name: "BindingsPicker",
|
|
11
11
|
setup(L) {
|
|
12
|
-
const d =
|
|
12
|
+
const d = M(), C = r(() => d.recipes), I = r(() => d.skus), g = l(!0), i = l(new Array()), a = l("RECIPE"), c = r(() => a.value === "SKU" ? I.value.map((s) => ({
|
|
13
13
|
label: s.name,
|
|
14
14
|
sublabel: s.code,
|
|
15
15
|
value: s
|
|
@@ -62,7 +62,7 @@ const F = {
|
|
|
62
62
|
];
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
}), _ = l(), o =
|
|
65
|
+
}), _ = l(), o = x(B);
|
|
66
66
|
async function B() {
|
|
67
67
|
await d.readInventory(), _.value = o.onMessage(
|
|
68
68
|
"props:binding-items",
|
|
@@ -119,5 +119,5 @@ const F = {
|
|
|
119
119
|
}
|
|
120
120
|
});
|
|
121
121
|
export {
|
|
122
|
-
|
|
122
|
+
H as default
|
|
123
123
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
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
|
|
2
|
-
import { F as v, a as
|
|
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 { F as v, a as E, aO as F } from "./app-CRSuR04o.js";
|
|
3
3
|
import { components as L } from "@feedmepos/ui-library";
|
|
4
4
|
import "@feedmepos/mf-common";
|
|
5
|
-
const
|
|
5
|
+
const O = /* @__PURE__ */ _({
|
|
6
6
|
__name: "binding-ui",
|
|
7
7
|
props: {
|
|
8
8
|
items: { default: () => [] },
|
|
@@ -87,13 +87,13 @@ const P = /* @__PURE__ */ _({
|
|
|
87
87
|
}, null, 8, ["row-data"]);
|
|
88
88
|
};
|
|
89
89
|
}
|
|
90
|
-
}),
|
|
90
|
+
}), P = {
|
|
91
91
|
key: 1,
|
|
92
92
|
class: "p-24 flex items-center justify-center gap-16"
|
|
93
93
|
}, D = /* @__PURE__ */ _({
|
|
94
94
|
__name: "BindingsTable",
|
|
95
95
|
setup(k) {
|
|
96
|
-
const d =
|
|
96
|
+
const d = E(), u = c(!0), o = c(new Array()), m = f(() => d.recipes), a = f(() => d.skus), g = c(""), i = F(n), e = c();
|
|
97
97
|
async function n() {
|
|
98
98
|
await d.readInventory(), e.value = i.onMessage(
|
|
99
99
|
"props:grouped-bindings",
|
|
@@ -124,10 +124,10 @@ const P = /* @__PURE__ */ _({
|
|
|
124
124
|
ref_key: "resizeableRef",
|
|
125
125
|
ref: l
|
|
126
126
|
}, [
|
|
127
|
-
u.value ? (p(), y("div",
|
|
127
|
+
u.value ? (p(), y("div", P, [
|
|
128
128
|
N(w, { size: "md" }),
|
|
129
|
-
r[0] || (r[0] =
|
|
130
|
-
])) : (p(), h(
|
|
129
|
+
r[0] || (r[0] = x("div", null, "Loading bindings table...", -1))
|
|
130
|
+
])) : (p(), h(O, {
|
|
131
131
|
key: 0,
|
|
132
132
|
items: o.value,
|
|
133
133
|
recipes: m.value,
|