@feedmepos/mf-inventory-portal 0.0.23-dev.41 → 0.0.23-dev.42
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-DW2K97Bb.js → App-Cr-n7HVf.js} +104 -98
- package/dist/{ApprovalView-BgSxdrwt.js → ApprovalView-BYHDmt9W.js} +5 -5
- package/dist/{BindingsDialog-CQtusdvp.js → BindingsDialog-CI0nYM1_.js} +2 -2
- package/dist/{BindingsPicker-BnEjRAah.js → BindingsPicker-BVzF3C8O.js} +3 -3
- package/dist/{BindingsTable-DpTPAef_.js → BindingsTable-B21_9L2o.js} +1 -1
- package/dist/ClosingDraftView-k2Vsz8-W.js +1225 -0
- package/dist/{ClosingTemplateView-CMTJHywt.js → ClosingTemplateView-BLda7tYC.js} +21 -21
- package/dist/{FmCustomAttribute.vue_vue_type_script_setup_true_lang-zOmcCdDR.js → FmCustomAttribute.vue_vue_type_script_setup_true_lang-DUDOaU6F.js} +8 -8
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-mAPA5_sB.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CXuer_x5.js} +3 -3
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BjNpfucZ.js → FmUnitInput.vue_vue_type_script_setup_true_lang-Ds3yBf9U.js} +12 -12
- package/dist/{IngredientGroupView-CrEfiZvn.js → IngredientGroupView-CgZ4YT3i.js} +1 -1
- package/dist/{IngredientsView-BB8LQlU9.js → IngredientsView-tPERrF9O.js} +4 -4
- package/dist/{IntegrationView-D2wTkDyX.js → IntegrationView-CoF_rdWv.js} +1 -1
- package/dist/{InventoryBindingForm-DW7rJDc1.js → InventoryBindingForm-BSnofTIL.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Ci8UI1eQ.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-4d9oz7Xh.js} +18 -18
- package/dist/{InventoryBindingSummary-B40KofiI.js → InventoryBindingSummary-qm9ZUFny.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DD7VT9MS.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CQY98Hj6.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BGuXTfn6.js → PremiumBadge.vue_vue_type_script_setup_true_lang-NUkiVop4.js} +1 -1
- package/dist/{PurchaseOrderPrintPreview-DQmx28Be.js → PurchaseOrderPrintPreview-CIWiq2NB.js} +1 -1
- package/dist/{ReceiveRequestView-CJknzKfd.js → ReceiveRequestView-Dgt3FeGb.js} +10 -10
- package/dist/{RecipeView-D5oWQ9Yd.js → RecipeView-CzWlx1Xv.js} +3 -3
- package/dist/{StockView-U59PHCy2.js → StockView-IPXGJNN8.js} +103 -103
- package/dist/{SupplierView-CLjjpTNZ.js → SupplierView-DuL3NXc0.js} +4 -4
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-DLDDXnyG.js → TransferDetails.vue_vue_type_script_setup_true_lang-82Bu89OE.js} +43 -43
- package/dist/{TransferTemplateView-CFoVrPIX.js → TransferTemplateView-BEaRafuO.js} +25 -25
- package/dist/{UnitView-CAopphN_.js → UnitView-Cwo0mthQ.js} +14 -14
- package/dist/{WarehouseView-DUZku5U6.js → WarehouseView-DzjQrpyv.js} +140 -140
- package/dist/{app-0klJzLit.js → app-CpuFfqWF.js} +226 -226
- package/dist/app.js +1 -1
- package/dist/{decimal-Cu4rlnvU.js → decimal-bSGrDlvd.js} +1 -1
- package/dist/{feature-C1wCaXKQ.js → feature-D8aRYGen.js} +199 -183
- package/dist/{format-unit-display-CMa5UhY1.js → format-unit-display-D4gi2D-O.js} +58 -58
- package/dist/{index-HTBqkVVr.js → index-COeURijn.js} +3 -3
- package/dist/{index-BJaMpEVJ.js → index-Cn1ato-l.js} +1 -1
- package/dist/{stock-CB4yNRMO.js → stock-B1Rchi6n.js} +1 -1
- package/dist/stores/feature.d.ts +3 -0
- package/dist/style.css +1 -1
- package/dist/{supplier-biIIXGyr.js → supplier-CeY_Gro-.js} +1 -1
- package/dist/{use-inventory-binding-dialog-BopoOOxB.js → use-inventory-binding-dialog-BXqY40wn.js} +1 -1
- package/package.json +1 -1
- package/dist/ClosingDraftView-CXKYLCZS.js +0 -1190
|
@@ -1,90 +1,90 @@
|
|
|
1
|
-
import { ref as x, onUnmounted as F, defineComponent as h, watch as y, onMounted as G, computed as g, resolveComponent as R, openBlock as S, createElementBlock as I, unref as v, createVNode as
|
|
2
|
-
import { u as k, a as D, b as H, R as e, g as
|
|
1
|
+
import { ref as x, onUnmounted as F, defineComponent as h, watch as y, onMounted as G, computed as g, resolveComponent as R, openBlock as S, createElementBlock as I, unref as v, createVNode as _, createElementVNode as p, toDisplayString as w, createBlock as U, createCommentVNode as M } from "vue";
|
|
2
|
+
import { u as k, a as D, b as H, R as e, g as a, c as W } from "./app-CpuFfqWF.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
|
|
7
|
-
import { u as
|
|
4
|
+
import { useRouter as C, useRoute as K } from "vue-router";
|
|
5
|
+
import { u as O } from "./feature-D8aRYGen.js";
|
|
6
|
+
import { u as $ } from "./useTabStorage-BkIVScW_.js";
|
|
7
|
+
import { u as Q } from "./googlemap-Dm8ERVai.js";
|
|
8
8
|
import "./array-hChJVZLE.js";
|
|
9
|
-
function
|
|
9
|
+
function j() {
|
|
10
10
|
return {
|
|
11
11
|
loadingHookInstalled: !1,
|
|
12
12
|
isLoading: !1
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
|
-
const
|
|
16
|
-
function
|
|
15
|
+
const E = x(j());
|
|
16
|
+
function z() {
|
|
17
17
|
const l = C();
|
|
18
|
-
if (!
|
|
19
|
-
|
|
18
|
+
if (!E.value.loadingHookInstalled) {
|
|
19
|
+
E.value.loadingHookInstalled = !0;
|
|
20
20
|
const n = l.beforeEach(() => {
|
|
21
|
-
|
|
21
|
+
E.value.isLoading = !0;
|
|
22
22
|
}), i = l.afterEach(() => {
|
|
23
|
-
|
|
23
|
+
E.value.isLoading = !1;
|
|
24
24
|
});
|
|
25
25
|
F(() => {
|
|
26
|
-
|
|
26
|
+
E.value.loadingHookInstalled = !1, n(), i();
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
return {
|
|
30
30
|
get isLoading() {
|
|
31
|
-
return
|
|
31
|
+
return E.value.isLoading;
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
|
-
const
|
|
35
|
+
const q = {
|
|
36
36
|
key: 0,
|
|
37
37
|
class: "flex flex-col items-center w-full h-full gap-24"
|
|
38
|
-
},
|
|
38
|
+
}, J = {
|
|
39
39
|
key: 1,
|
|
40
40
|
class: "flex flex-col pt-[200px] gap-32 items-center"
|
|
41
|
-
},
|
|
41
|
+
}, X = { class: "flex flex-col gap-12 items-center text-center px-24 max-w-[1000px]" }, Y = { class: "fm-typo-en-title-lg-600" }, Z = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, ee = { class: "flex gap-16" }, te = { href: "https://feedme.ai/product/inventory/features?tab=plans_%26_prices" }, oe = { href: "https://feedme.ai/form" }, ne = /* @__PURE__ */ h({
|
|
42
42
|
__name: "InventoryView",
|
|
43
43
|
setup(l) {
|
|
44
|
-
const n = k(), i = D(), u = H(),
|
|
44
|
+
const n = k(), i = D(), u = H(), s = A(), c = C(), o = z(), b = O(), { t: d } = B();
|
|
45
45
|
y(
|
|
46
|
-
[() =>
|
|
47
|
-
([t,
|
|
48
|
-
f(t,
|
|
46
|
+
[() => s.sessionUser.value, () => s.currentBusiness.value],
|
|
47
|
+
([t, r]) => {
|
|
48
|
+
f(t, r);
|
|
49
49
|
}
|
|
50
50
|
), G(async () => {
|
|
51
|
-
await b.init(), await
|
|
52
|
-
const t =
|
|
53
|
-
f(t,
|
|
51
|
+
await b.init(), await s.readBusinesses();
|
|
52
|
+
const t = s.sessionUser.value, r = s.currentBusiness.value;
|
|
53
|
+
f(t, r);
|
|
54
54
|
});
|
|
55
|
-
function f(t,
|
|
56
|
-
!t || !
|
|
55
|
+
function f(t, r) {
|
|
56
|
+
!t || !r || T();
|
|
57
57
|
}
|
|
58
58
|
async function T() {
|
|
59
59
|
return await n.init(), await u.readSetting().catch((t) => {
|
|
60
60
|
console.error("error on reading netsuite store", t);
|
|
61
61
|
}), await i.init();
|
|
62
62
|
}
|
|
63
|
-
const
|
|
64
|
-
return (t,
|
|
65
|
-
const m = R("FmSpacer"),
|
|
63
|
+
const P = g(() => c.currentRoute.value.name === e.TRANSFER_TEMPLATE ? b.enablePoTemplate : !0);
|
|
64
|
+
return (t, r) => {
|
|
65
|
+
const m = R("FmSpacer"), N = R("FmCircularProgress"), L = R("FmButton"), V = R("RouterView");
|
|
66
66
|
return S(), I("div", null, [
|
|
67
|
-
v(o).isLoading ? (S(), I("div",
|
|
68
|
-
|
|
67
|
+
v(o).isLoading ? (S(), I("div", q, [
|
|
68
|
+
_(m),
|
|
69
69
|
p("div", null, [
|
|
70
|
-
|
|
70
|
+
_(N, { size: "xl" })
|
|
71
71
|
]),
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
])) :
|
|
75
|
-
p("div",
|
|
76
|
-
p("div",
|
|
77
|
-
p("div",
|
|
72
|
+
r[0] || (r[0] = p("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary pl-8" }, "Loading page...", -1)),
|
|
73
|
+
_(m)
|
|
74
|
+
])) : P.value ? v(s).sessionUser.value ? (S(), U(V, { key: 2 })) : M("", !0) : (S(), I("div", J, [
|
|
75
|
+
p("div", X, [
|
|
76
|
+
p("div", Y, w(v(d)("inventory.common.proPlan.title")), 1),
|
|
77
|
+
p("div", Z, w(v(d)("inventory.common.proPlan.subtitle")), 1)
|
|
78
78
|
]),
|
|
79
|
-
p("div",
|
|
80
|
-
p("a",
|
|
81
|
-
|
|
79
|
+
p("div", ee, [
|
|
80
|
+
p("a", te, [
|
|
81
|
+
_(L, {
|
|
82
82
|
label: v(d)("inventory.common.proPlan.comparePlans"),
|
|
83
83
|
variant: "secondary"
|
|
84
84
|
}, null, 8, ["label"])
|
|
85
85
|
]),
|
|
86
|
-
p("a",
|
|
87
|
-
|
|
86
|
+
p("a", oe, [
|
|
87
|
+
_(L, {
|
|
88
88
|
label: v(d)("inventory.common.proPlan.callUs"),
|
|
89
89
|
"prepend-icon": "call"
|
|
90
90
|
}, null, 8, ["label"])
|
|
@@ -94,60 +94,66 @@ const J = {
|
|
|
94
94
|
]);
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
}), re = { class: "h-full flex flex-col overflow-auto py-16" },
|
|
97
|
+
}), re = { class: "h-full flex flex-col overflow-auto py-16" }, se = /* @__PURE__ */ h({
|
|
98
98
|
__name: "NavigationTab",
|
|
99
99
|
setup(l) {
|
|
100
|
-
const n =
|
|
101
|
-
y([() => u.currentBusiness.value, () => n.name], ([t,
|
|
102
|
-
(t == null ? void 0 : t.menuVersion) === "v3" && (
|
|
100
|
+
const n = K(), i = C(), u = A(), s = O(), c = $(), { t: o } = B();
|
|
101
|
+
y([() => u.currentBusiness.value, () => n.name], ([t, r]) => {
|
|
102
|
+
(t == null ? void 0 : t.menuVersion) === "v3" && (r === e.INGREDIENTS || r === e.RECIPE || r === e.UNIT) && i.push({ name: e.STOCK });
|
|
103
103
|
});
|
|
104
104
|
const b = g(() => {
|
|
105
|
-
var
|
|
105
|
+
var r;
|
|
106
106
|
const t = [
|
|
107
107
|
{
|
|
108
|
-
label:
|
|
108
|
+
label: a(e.STOCK, o),
|
|
109
109
|
// icon: 'inventory_2',
|
|
110
110
|
children: [
|
|
111
111
|
{
|
|
112
112
|
label: "Stock balance",
|
|
113
113
|
value: e.STOCK
|
|
114
114
|
},
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
{
|
|
122
|
-
label: "Closing",
|
|
123
|
-
children: [
|
|
124
|
-
{
|
|
125
|
-
label: r(e.CLOSING_TEMPLATE, o),
|
|
126
|
-
value: e.CLOSING_TEMPLATE
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
label: r(e.CLOSING_DRAFT, o),
|
|
130
|
-
value: e.CLOSING_DRAFT
|
|
131
|
-
}
|
|
115
|
+
...s.enableWastageTemplate ? [
|
|
116
|
+
{
|
|
117
|
+
label: a(e.WASTAGE_TEMPLATE, o),
|
|
118
|
+
value: e.WASTAGE_TEMPLATE
|
|
119
|
+
}
|
|
120
|
+
] : []
|
|
132
121
|
]
|
|
133
122
|
},
|
|
123
|
+
...s.enableClosingTemplate ? [
|
|
124
|
+
{
|
|
125
|
+
label: "Closing",
|
|
126
|
+
children: [
|
|
127
|
+
{
|
|
128
|
+
label: a(e.CLOSING_TEMPLATE, o),
|
|
129
|
+
value: e.CLOSING_TEMPLATE
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
label: a(e.CLOSING_DRAFT, o),
|
|
133
|
+
value: e.CLOSING_DRAFT
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
}
|
|
137
|
+
] : [],
|
|
134
138
|
{
|
|
135
|
-
label:
|
|
139
|
+
label: a(e.INGREDIENTS, o),
|
|
136
140
|
// icon: 'grocery',
|
|
137
141
|
value: e.INGREDIENTS
|
|
138
142
|
},
|
|
143
|
+
...s.enableIngredientGroup ? [
|
|
144
|
+
{
|
|
145
|
+
label: a(e.INGREDIENT_GROUP, o),
|
|
146
|
+
// icon: 'grocery',
|
|
147
|
+
value: e.INGREDIENT_GROUP
|
|
148
|
+
}
|
|
149
|
+
] : [],
|
|
139
150
|
{
|
|
140
|
-
label:
|
|
141
|
-
// icon: 'grocery',
|
|
142
|
-
value: e.INGREDIENT_GROUP
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
label: r(e.RECIPE, o),
|
|
151
|
+
label: a(e.RECIPE, o),
|
|
146
152
|
// icon: 'weight',
|
|
147
153
|
value: e.RECIPE
|
|
148
154
|
},
|
|
149
155
|
{
|
|
150
|
-
label:
|
|
156
|
+
label: a(e.UNIT, o),
|
|
151
157
|
// icon: 'fastfood',
|
|
152
158
|
value: e.UNIT
|
|
153
159
|
},
|
|
@@ -156,38 +162,38 @@ const J = {
|
|
|
156
162
|
// icon: 'swap_horiz',
|
|
157
163
|
children: [
|
|
158
164
|
{
|
|
159
|
-
label:
|
|
165
|
+
label: a(e.RECEIVE_REQUEST, o),
|
|
160
166
|
value: e.RECEIVE_REQUEST
|
|
161
167
|
},
|
|
162
168
|
{
|
|
163
|
-
label:
|
|
169
|
+
label: a(e.APPROVAL, o),
|
|
164
170
|
value: e.APPROVAL
|
|
165
171
|
},
|
|
166
|
-
...
|
|
172
|
+
...s.enablePoTemplate ? [
|
|
167
173
|
{
|
|
168
|
-
label:
|
|
174
|
+
label: a(e.TRANSFER_TEMPLATE, o),
|
|
169
175
|
value: e.TRANSFER_TEMPLATE
|
|
170
176
|
}
|
|
171
177
|
] : []
|
|
172
178
|
]
|
|
173
179
|
},
|
|
174
180
|
{
|
|
175
|
-
label:
|
|
181
|
+
label: a(e.SUPPLIER, o),
|
|
176
182
|
// icon: 'group',
|
|
177
183
|
value: e.SUPPLIER
|
|
178
184
|
},
|
|
179
185
|
{
|
|
180
|
-
label:
|
|
186
|
+
label: a(e.WAREHOUSE, o),
|
|
181
187
|
// icon: 'warehouse',
|
|
182
188
|
value: e.WAREHOUSE
|
|
183
189
|
},
|
|
184
190
|
{
|
|
185
|
-
label:
|
|
191
|
+
label: a(e.INTEGRATION, o),
|
|
186
192
|
// icon: 'integration_instructions',
|
|
187
193
|
value: e.INTEGRATION
|
|
188
194
|
}
|
|
189
195
|
];
|
|
190
|
-
return ((
|
|
196
|
+
return ((r = u.currentBusiness.value) == null ? void 0 : r.menuVersion) === "v3" ? t.filter(
|
|
191
197
|
(m) => m.value !== e.INGREDIENTS && m.value !== e.RECIPE && m.value !== e.UNIT
|
|
192
198
|
) : t;
|
|
193
199
|
}), d = g({
|
|
@@ -203,7 +209,7 @@ const J = {
|
|
|
203
209
|
var t;
|
|
204
210
|
return `NavigationTab.${(t = u.currentBusiness.value) == null ? void 0 : t._id}`;
|
|
205
211
|
}
|
|
206
|
-
), T = x(!1),
|
|
212
|
+
), T = x(!1), P = g({
|
|
207
213
|
get() {
|
|
208
214
|
return T.value;
|
|
209
215
|
},
|
|
@@ -213,45 +219,45 @@ const J = {
|
|
|
213
219
|
});
|
|
214
220
|
return y([() => f.value], () => {
|
|
215
221
|
T.value = !1, setTimeout(() => {
|
|
216
|
-
|
|
222
|
+
P.value = !c.getItem(f.value);
|
|
217
223
|
}, 2e3);
|
|
218
|
-
}), (t,
|
|
224
|
+
}), (t, r) => {
|
|
219
225
|
const m = R("FmCollapsibleTabs");
|
|
220
226
|
return S(), I("div", re, [
|
|
221
|
-
|
|
227
|
+
_(m, {
|
|
222
228
|
modelValue: d.value,
|
|
223
|
-
"onUpdate:modelValue":
|
|
229
|
+
"onUpdate:modelValue": r[0] || (r[0] = (N) => d.value = N),
|
|
224
230
|
items: b.value
|
|
225
231
|
}, null, 8, ["modelValue", "items"])
|
|
226
232
|
]);
|
|
227
233
|
};
|
|
228
234
|
}
|
|
229
|
-
})
|
|
235
|
+
});
|
|
230
236
|
typeof Promise.withResolvers > "u" && (Promise.withResolvers = () => {
|
|
231
237
|
let l, n;
|
|
232
|
-
return { promise: new Promise((u,
|
|
233
|
-
l = u, n =
|
|
238
|
+
return { promise: new Promise((u, s) => {
|
|
239
|
+
l = u, n = s;
|
|
234
240
|
}), resolve: l, reject: n };
|
|
235
241
|
});
|
|
236
242
|
typeof Promise.prototype.delayed > "u" && (Promise.prototype.delayed = async function(l) {
|
|
237
243
|
return await new Promise((n) => setTimeout(n, l)), Promise.resolve(this);
|
|
238
244
|
});
|
|
239
|
-
const
|
|
245
|
+
const fe = /* @__PURE__ */ h({
|
|
240
246
|
__name: "App",
|
|
241
247
|
setup(l) {
|
|
242
|
-
const n = A(), i =
|
|
248
|
+
const n = A(), i = Q(), u = W();
|
|
243
249
|
G(() => {
|
|
244
250
|
if (window.location.href.includes("print-preview")) {
|
|
245
251
|
n.setEmbedded(!0);
|
|
246
252
|
return;
|
|
247
253
|
}
|
|
248
|
-
n.registerSidebarComponent(
|
|
254
|
+
n.registerSidebarComponent(se), i.initGoogleMap(u.appApi.googleMap).catch(() => {
|
|
249
255
|
console.error("Google map cannot be loaded");
|
|
250
256
|
});
|
|
251
257
|
}), y([() => n.currentCountry.value], () => {
|
|
252
|
-
|
|
258
|
+
s();
|
|
253
259
|
});
|
|
254
|
-
async function
|
|
260
|
+
async function s() {
|
|
255
261
|
var c;
|
|
256
262
|
try {
|
|
257
263
|
await n.readBusinesses(), n.currentBusiness.value = (c = n.businesses.value) == null ? void 0 : c.find((o) => o);
|
|
@@ -259,9 +265,9 @@ const _e = /* @__PURE__ */ h({
|
|
|
259
265
|
console.error("error when trying to reset businesses:", o);
|
|
260
266
|
}
|
|
261
267
|
}
|
|
262
|
-
return (c, o) => (S(), U(
|
|
268
|
+
return (c, o) => (S(), U(ne));
|
|
263
269
|
}
|
|
264
270
|
});
|
|
265
271
|
export {
|
|
266
|
-
|
|
272
|
+
fe as default
|
|
267
273
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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, au as v, aE as de,
|
|
3
|
-
import { a as De, b as ge, _ as be } from "./TransferDetails.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as me, au as v, aE as de, a7 as K, y as fe, _ as ve, z as _e, B as he, E as _ } from "./app-CpuFfqWF.js";
|
|
3
|
+
import { a as De, b as ge, _ as be } from "./TransferDetails.vue_vue_type_script_setup_true_lang-82Bu89OE.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 = {
|
|
@@ -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, z, M, $, u, E, F, p, V, m, Y, q, L, N, P, d, j, A, H,
|
|
88
|
+
var O, S, T, i, C, z, M, $, u, E, F, p, V, m, Y, q, L, N, P, d, j, A, H, U, f, G;
|
|
89
89
|
return [
|
|
90
90
|
s("div", we, [
|
|
91
91
|
s("div", Re, [
|
|
@@ -109,8 +109,8 @@ const we = { class: "flex flex-col py-8" }, Re = { class: "fm-typo-en-body-md-40
|
|
|
109
109
|
])) : ie("", !0),
|
|
110
110
|
s("div", Te, [
|
|
111
111
|
n(e(_), {
|
|
112
|
-
render: (
|
|
113
|
-
props: (
|
|
112
|
+
render: (U = (H = (A = t.purchaseOrder_status) == null ? void 0 : A.column) == null ? void 0 : H.columnDef) == null ? void 0 : U.cell,
|
|
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
|
])
|
|
116
116
|
])
|
|
@@ -1,6 +1,6 @@
|
|
|
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 L } from "vue";
|
|
2
|
-
import { _ as P } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { a as V, aL as S } from "./app-
|
|
2
|
+
import { _ as P } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-4d9oz7Xh.js";
|
|
3
|
+
import { a as V, aL as S } from "./app-CpuFfqWF.js";
|
|
4
4
|
const U = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "flex justify-end gap-8 items-center"
|
|
@@ -1,12 +1,12 @@
|
|
|
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 M, aL as x,
|
|
2
|
+
import { a as M, aL as x, H as z } from "./app-CpuFfqWF.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
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) => ({
|
|
@@ -119,5 +119,5 @@ const F = {
|
|
|
119
119
|
}
|
|
120
120
|
});
|
|
121
121
|
export {
|
|
122
|
-
|
|
122
|
+
H as default
|
|
123
123
|
};
|
|
@@ -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 L } from "vue";
|
|
2
|
-
import { F as v, a as x, aL as E } from "./app-
|
|
2
|
+
import { F as v, a as x, aL as E } from "./app-CpuFfqWF.js";
|
|
3
3
|
import { components as F } from "@feedmepos/ui-library";
|
|
4
4
|
import "@feedmepos/mf-common";
|
|
5
5
|
const P = /* @__PURE__ */ _({
|