@feedmepos/mf-inventory-portal 1.3.2-dev.1 → 1.3.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-Du6_r9ca.js → App-BuMcho9m.js} +36 -35
- package/dist/{ApprovalView-BiXB2qNB.js → ApprovalView-huPigqS3.js} +5 -5
- package/dist/{BindingsDialog-C9BsbHUh.js → BindingsDialog-CpJlzKew.js} +2 -2
- package/dist/{BindingsPicker-B82nNFQP.js → BindingsPicker-BzvYMHZ2.js} +2 -2
- package/dist/{BindingsTable-Bf8-w46M.js → BindingsTable-BumQNuUO.js} +3 -3
- package/dist/{ClosingDraftView-ScrUq8t5.js → ClosingDraftView-D3QGXd5d.js} +11 -11
- package/dist/{ClosingHistoryView-BnwJG_K8.js → ClosingHistoryView-RjB1oL3f.js} +4 -4
- package/dist/{ClosingTemplateView-eGgpFczg.js → ClosingTemplateView-BqK_AP-M.js} +14 -14
- package/dist/{DeliveryOrderPrintPreview-Mp8O9Olm.js → DeliveryOrderPrintPreview-ImPHiGrH.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BGjQfo2D.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-4973tHEa.js} +3 -3
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DILgA8hn.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-6ISoc3Vl.js} +2 -2
- package/dist/{FmMultiselectDialog-CppA3a5d.js → FmMultiselectDialog-BGk_NQLP.js} +1 -1
- package/dist/{FmMultiselectDialog-Z5lW6hDk.js → FmMultiselectDialog-C2CsWDaS.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-w8BdS8M1.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D2PW1FEg.js} +4 -4
- package/dist/{ImportView-C0tBwugD.js → ImportView-DJko8hI2.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-zojIv_cB.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BjEBU0e1.js} +1 -1
- package/dist/{IngredientGroupView-T5m76fK5.js → IngredientGroupView-BwgTgQsw.js} +5 -5
- package/dist/{IngredientsView-BzHyz1DS.js → IngredientsView-eqDGg2wT.js} +15 -15
- package/dist/{IntegrationView-DIpI8AKV.js → IntegrationView-BvQX5Ih1.js} +13 -13
- package/dist/{InventoryBindingForm-Clf2Qw2Y.js → InventoryBindingForm-D8W-AQ4O.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-xBaZkZxZ.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Dud1uIMO.js} +5 -5
- package/dist/{InventoryBindingSummary-6j6Bk8Vj.js → InventoryBindingSummary-DGw0qWkq.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-C2NvTzdh.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BEIQo86W.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-hO5xXKN-.js → PremiumBadge.vue_vue_type_script_setup_true_lang-sEbx9mY7.js} +1 -1
- package/dist/{PublishView-B9H8mtZz.js → PublishView-BvsgW4hy.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-gZ-aKt1Q.js → PurchaseOrderPrintPreview-Cf3bK1qQ.js} +1 -1
- package/dist/{ReceiveRequestView-C-4zNB4-.js → ReceiveRequestView-BYVHpcKV.js} +21 -21
- package/dist/{RecipeView-BkWuC8bx.js → RecipeView-BSRDe4kI.js} +14 -14
- package/dist/{StockView-BkP8Uzwy.js → StockView-DLudVAu5.js} +17 -17
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DoHhVRRu.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CoeImPuM.js} +1 -1
- package/dist/{SupplierView-BkYJ2mMz.js → SupplierView-CFAt9hGD.js} +12 -12
- package/dist/{SurchargeView-BNm5Uakk.js → SurchargeView-Dpr3QNMC.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-BHx3dzgs.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-dXcJ7K7E.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BxYz7cYt.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-segC1UrJ.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-fKHZP4aY.js → TransferDetails.vue_vue_type_script_setup_true_lang-6GSg50p6.js} +16 -16
- package/dist/{TransferTemplateView-7bfFf-6M.js → TransferTemplateView-CwmeOBJ-.js} +16 -16
- package/dist/{UnitCostHistoryView-DGCT1AyU.js → UnitCostHistoryView-CO0EuVPn.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-CJnLDyAq.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CbijYDXP.js} +4 -4
- package/dist/{UnitView-BNBQcJmg.js → UnitView-BV3bZhIW.js} +7 -7
- package/dist/{WarehouseView-C4DZ-ZWy.js → WarehouseView-BqrvgHA9.js} +5 -5
- package/dist/{WastageTemplateView-CjN32Gyz.js → WastageTemplateView-CbXj0LLy.js} +14 -14
- package/dist/{app-Cfuyw1PI.js → app-D408Dojy.js} +151 -149
- package/dist/app.js +1 -1
- package/dist/{closing-template-DvFbRP5R.js → closing-template-BA9gd1S5.js} +1 -1
- package/dist/{date2-BeSpe5ec.js → date2-BVZv5PZF.js} +1 -1
- package/dist/{dayjs.min-Dcf635HB.js → dayjs.min-dLv45JOf.js} +1 -1
- package/dist/{decimal-svtUC4ge.js → decimal-Bil19rhK.js} +2 -2
- package/dist/{defineDeepModel-C8WKTZrr.js → defineDeepModel-gV3wX8Ff.js} +1 -1
- package/dist/{duplicate-template-rRW43OxX.js → duplicate-template-3syPYZex.js} +1 -1
- package/dist/{export-DC_wl-Dk.js → export-W5DCXrRW.js} +1 -1
- package/dist/{feature-CPR9MJWH.js → feature-cWRnzIYw.js} +2 -2
- package/dist/{format-time-from-id-CKx8MY5G.js → format-time-from-id-DLhEvP9s.js} +1 -1
- package/dist/{format-unit-display-CMJn5gDk.js → format-unit-display-BluuOYqR.js} +11 -11
- package/dist/{import-export.helper-DVHFuv4z.js → import-export.helper-3944FCzf.js} +6 -6
- package/dist/{index-CuLnlSa8.js → index-5h5349fv.js} +3 -3
- package/dist/{index-C6oC8otk.js → index-BPWk5Trz.js} +1 -1
- package/dist/{index-BfGnS3bh.js → index-D_gbNiEn.js} +1 -1
- package/dist/{lodash-PhWBxAVK.js → lodash-jsvsD07q.js} +1 -1
- package/dist/{netsuite-D-LfwH8-.js → netsuite-DNAw7VpR.js} +3 -3
- package/dist/{number-DzBM0ABJ.js → number-B5Z9FPhR.js} +3 -3
- package/dist/{purchase-order-template-Cl7m5WxH.js → purchase-order-template-CEOgOHWA.js} +1 -1
- package/dist/{rules-BpHiEGKU.js → rules-DEdBsOel.js} +2 -2
- package/dist/{stock-yCQ3qxle.js → stock-BXznPDbY.js} +3 -3
- package/dist/{stock-BBPxm87K.js → stock-C1OjP0Vd.js} +1 -1
- package/dist/{supplier-BYpQxujp.js → supplier-CQ_1jwYn.js} +2 -2
- package/dist/{surcharge-DgBbec3k.js → surcharge-MGXZNcCS.js} +1 -1
- package/dist/{use-ingredient-select-dialog-wqra7pcJ.js → use-ingredient-select-dialog-CWJs1r2Q.js} +2 -2
- package/dist/{use-inventory-binding-dialog-Cv_-JDEx.js → use-inventory-binding-dialog-BiHdxMN4.js} +2 -2
- package/dist/{use-template-enabled-locations-2-CDn88Ich.js → use-template-enabled-locations-2-BURagrfJ.js} +2 -2
- package/dist/{vue-i18n-tlX_B83_.js → vue-i18n-DbPOI14K.js} +394 -394
- package/dist/{xlsx-CAlwHgO2.js → xlsx-BQKzXIKK.js} +1 -1
- package/dist/{xlsx.util-D248baYh.js → xlsx.util-3sT22-fZ.js} +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ref as B, onUnmounted as D, defineComponent as U, watch as
|
|
2
|
-
import { u as K, a as Y, R as e, m as _, g as a, b as F } from "./app-
|
|
1
|
+
import { ref as B, onUnmounted as D, defineComponent as U, watch as A, onMounted as H, computed as P, resolveComponent as y, openBlock as g, createElementBlock as C, unref as b, createVNode as R, createElementVNode as v, toDisplayString as x, createBlock as M, createCommentVNode as W } from "vue";
|
|
2
|
+
import { u as K, a as Y, R as e, m as _, g as a, b as F } from "./app-D408Dojy.js";
|
|
3
3
|
import { useCoreStore as O, useI18n as V } from "@feedmepos/mf-common";
|
|
4
4
|
import { useRouter as w, useRoute as $ } from "vue-router";
|
|
5
|
-
import { u as k } from "./feature-
|
|
6
|
-
import { u as j } from "./netsuite-
|
|
5
|
+
import { u as k } from "./feature-cWRnzIYw.js";
|
|
6
|
+
import { u as j } from "./netsuite-DNAw7VpR.js";
|
|
7
7
|
import { u as z } from "./useTabStorage-BkIVScW_.js";
|
|
8
8
|
import { u as Q } from "./googlemap-Dm8ERVai.js";
|
|
9
9
|
function q() {
|
|
@@ -41,15 +41,15 @@ const X = {
|
|
|
41
41
|
}, ee = { class: "flex flex-col gap-12 items-center text-center px-24 max-w-[1000px]" }, te = { class: "fm-typo-en-title-lg-600" }, oe = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, ne = { class: "flex gap-16" }, ae = { href: "https://feedme.ai/product/inventory/features?tab=plans_%26_prices" }, re = { href: "https://feedme.ai/form" }, le = /* @__PURE__ */ U({
|
|
42
42
|
__name: "InventoryView",
|
|
43
43
|
setup(c) {
|
|
44
|
-
const r = K(), d = Y(), p = j(),
|
|
45
|
-
|
|
46
|
-
[() =>
|
|
44
|
+
const r = K(), d = Y(), p = j(), s = O(), l = w(), m = J(), t = k(), { t: E } = V();
|
|
45
|
+
A(
|
|
46
|
+
[() => s.sessionUser.value, () => s.currentBusiness.value],
|
|
47
47
|
([u, i]) => {
|
|
48
48
|
h(u, i);
|
|
49
49
|
}
|
|
50
50
|
), H(async () => {
|
|
51
|
-
await t.init(), await
|
|
52
|
-
const u =
|
|
51
|
+
await t.init(), await s.readBusinesses();
|
|
52
|
+
const u = s.sessionUser.value, i = s.currentBusiness.value;
|
|
53
53
|
h(u, i);
|
|
54
54
|
});
|
|
55
55
|
function h(u, i) {
|
|
@@ -60,18 +60,18 @@ const X = {
|
|
|
60
60
|
console.error("[all] error on reading netsuite store", u);
|
|
61
61
|
}), await d.init();
|
|
62
62
|
}
|
|
63
|
-
const L = P(() =>
|
|
63
|
+
const L = P(() => l.currentRoute.value.name === e.TRANSFER_TEMPLATE ? t.enablePoTemplate : l.currentRoute.value.name === e.INGREDIENT_GROUP ? t.enableIngredientGroup : !0);
|
|
64
64
|
return (u, i) => {
|
|
65
65
|
const S = y("FmSpacer"), G = y("FmCircularProgress"), o = y("FmButton"), n = y("RouterView");
|
|
66
|
-
return g(),
|
|
67
|
-
b(m).isLoading ? (g(),
|
|
66
|
+
return g(), C("div", null, [
|
|
67
|
+
b(m).isLoading ? (g(), C("div", X, [
|
|
68
68
|
R(S),
|
|
69
69
|
v("div", null, [
|
|
70
70
|
R(G, { size: "xl" })
|
|
71
71
|
]),
|
|
72
72
|
i[0] || (i[0] = v("div", { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary pl-8" }, "Loading page...", -1)),
|
|
73
73
|
R(S)
|
|
74
|
-
])) : L.value ? b(
|
|
74
|
+
])) : L.value ? b(s).sessionUser.value ? (g(), M(n, { key: 2 })) : W("", !0) : (g(), C("div", Z, [
|
|
75
75
|
v("div", ee, [
|
|
76
76
|
v("div", te, x(b(E)("inventory.common.proPlan.title")), 1),
|
|
77
77
|
v("div", oe, x(b(E)("inventory.common.proPlan.subtitle")), 1)
|
|
@@ -103,8 +103,8 @@ const X = {
|
|
|
103
103
|
icon: _.string().optional(),
|
|
104
104
|
hide: _.boolean().optional(),
|
|
105
105
|
children: _.array(_.lazy(() => r)).optional()
|
|
106
|
-
}), d = $(), p = w(),
|
|
107
|
-
|
|
106
|
+
}), d = $(), p = w(), s = O(), l = k(), m = z(), { t } = V(), { isDev: E } = F();
|
|
107
|
+
A([() => s.currentBusiness.value, () => d.name], ([o, n]) => {
|
|
108
108
|
(o == null ? void 0 : o.menuVersion) === "v3" && (n === e.INGREDIENTS || n === e.RECIPE || n === e.UNIT) && p.push({ name: e.STOCK });
|
|
109
109
|
});
|
|
110
110
|
const h = (o) => o.filter((n) => !n.hide).map((n) => n.children ? { ...n, children: h(n.children) } : n), N = (o) => o.map((n) => {
|
|
@@ -130,12 +130,13 @@ const X = {
|
|
|
130
130
|
},
|
|
131
131
|
{
|
|
132
132
|
label: a(e.UNIT_COST_HISTORY, t),
|
|
133
|
-
value: e.UNIT_COST_HISTORY
|
|
133
|
+
value: e.UNIT_COST_HISTORY,
|
|
134
|
+
hide: !l.enableTotalCost
|
|
134
135
|
},
|
|
135
136
|
{
|
|
136
137
|
label: a(e.WASTAGE_TEMPLATE, t),
|
|
137
138
|
value: e.WASTAGE_TEMPLATE,
|
|
138
|
-
hide: !
|
|
139
|
+
hide: !l.enableWastageTemplate
|
|
139
140
|
}
|
|
140
141
|
]
|
|
141
142
|
},
|
|
@@ -149,12 +150,12 @@ const X = {
|
|
|
149
150
|
{
|
|
150
151
|
label: a(e.CLOSING_TEMPLATE, t),
|
|
151
152
|
value: e.CLOSING_TEMPLATE,
|
|
152
|
-
hide: !
|
|
153
|
+
hide: !l.enableClosingTemplate
|
|
153
154
|
},
|
|
154
155
|
{
|
|
155
156
|
label: a(e.CLOSING_DRAFT, t),
|
|
156
157
|
value: e.CLOSING_DRAFT,
|
|
157
|
-
hide: !
|
|
158
|
+
hide: !l.enableClosingTemplate
|
|
158
159
|
}
|
|
159
160
|
]
|
|
160
161
|
},
|
|
@@ -167,7 +168,7 @@ const X = {
|
|
|
167
168
|
label: a(e.INGREDIENT_GROUP, t),
|
|
168
169
|
// icon: 'grocery',
|
|
169
170
|
value: e.INGREDIENT_GROUP,
|
|
170
|
-
hide: !
|
|
171
|
+
hide: !l.enableIngredientGroup
|
|
171
172
|
},
|
|
172
173
|
{
|
|
173
174
|
label: a(e.RECIPE, t),
|
|
@@ -194,12 +195,12 @@ const X = {
|
|
|
194
195
|
{
|
|
195
196
|
label: a(e.SURCHARGE, t),
|
|
196
197
|
value: e.SURCHARGE,
|
|
197
|
-
hide: !
|
|
198
|
+
hide: !l.enableSurcharge
|
|
198
199
|
},
|
|
199
200
|
{
|
|
200
201
|
label: a(e.TRANSFER_TEMPLATE, t),
|
|
201
202
|
value: e.TRANSFER_TEMPLATE,
|
|
202
|
-
hide: !
|
|
203
|
+
hide: !l.enablePoTemplate
|
|
203
204
|
}
|
|
204
205
|
]
|
|
205
206
|
},
|
|
@@ -220,7 +221,7 @@ const X = {
|
|
|
220
221
|
{
|
|
221
222
|
label: a(e.IMPORT, t),
|
|
222
223
|
value: e.IMPORT,
|
|
223
|
-
hide: !
|
|
224
|
+
hide: !l.enableBulkImport
|
|
224
225
|
},
|
|
225
226
|
{
|
|
226
227
|
label: a(e.INTEGRATION, t),
|
|
@@ -228,7 +229,7 @@ const X = {
|
|
|
228
229
|
value: e.INTEGRATION
|
|
229
230
|
}
|
|
230
231
|
], n = N(h(o));
|
|
231
|
-
return ((f =
|
|
232
|
+
return ((f = s.currentBusiness.value) == null ? void 0 : f.menuVersion) === "v3" ? n.filter(
|
|
232
233
|
(T) => T.value !== e.INGREDIENTS && T.value !== e.RECIPE && T.value !== e.UNIT && T.value !== e.PUBLISH
|
|
233
234
|
) : n;
|
|
234
235
|
}), u = P({
|
|
@@ -242,7 +243,7 @@ const X = {
|
|
|
242
243
|
}), i = P(
|
|
243
244
|
() => {
|
|
244
245
|
var o;
|
|
245
|
-
return `NavigationTab.${(o =
|
|
246
|
+
return `NavigationTab.${(o = s.currentBusiness.value) == null ? void 0 : o._id}`;
|
|
246
247
|
}
|
|
247
248
|
), S = B(!1), G = P({
|
|
248
249
|
get() {
|
|
@@ -252,13 +253,13 @@ const X = {
|
|
|
252
253
|
S.value = o, o || m.setItem(i.value, "true");
|
|
253
254
|
}
|
|
254
255
|
});
|
|
255
|
-
return
|
|
256
|
+
return A([() => i.value], () => {
|
|
256
257
|
S.value = !1, setTimeout(() => {
|
|
257
258
|
G.value = !m.getItem(i.value);
|
|
258
259
|
}, 2e3);
|
|
259
260
|
}), (o, n) => {
|
|
260
261
|
const f = y("FmCollapsibleTabs");
|
|
261
|
-
return g(),
|
|
262
|
+
return g(), C("div", se, [
|
|
262
263
|
R(f, {
|
|
263
264
|
modelValue: u.value,
|
|
264
265
|
"onUpdate:modelValue": n[0] || (n[0] = (T) => u.value = T),
|
|
@@ -270,8 +271,8 @@ const X = {
|
|
|
270
271
|
});
|
|
271
272
|
typeof Promise.withResolvers > "u" && (Promise.withResolvers = () => {
|
|
272
273
|
let c, r;
|
|
273
|
-
return { promise: new Promise((p,
|
|
274
|
-
c = p, r =
|
|
274
|
+
return { promise: new Promise((p, s) => {
|
|
275
|
+
c = p, r = s;
|
|
275
276
|
}), resolve: c, reject: r };
|
|
276
277
|
});
|
|
277
278
|
typeof Promise.prototype.delayed > "u" && (Promise.prototype.delayed = async function(c) {
|
|
@@ -289,18 +290,18 @@ const Ee = /* @__PURE__ */ U({
|
|
|
289
290
|
r.registerSidebarComponent(ie), d.initGoogleMap(p.appApi.googleMap).catch(() => {
|
|
290
291
|
console.error("Google map cannot be loaded");
|
|
291
292
|
});
|
|
292
|
-
}),
|
|
293
|
-
|
|
293
|
+
}), A([() => r.currentCountry.value], () => {
|
|
294
|
+
s();
|
|
294
295
|
});
|
|
295
|
-
async function
|
|
296
|
-
var
|
|
296
|
+
async function s() {
|
|
297
|
+
var l;
|
|
297
298
|
try {
|
|
298
|
-
await r.readBusinesses(), r.currentBusiness.value = (
|
|
299
|
+
await r.readBusinesses(), r.currentBusiness.value = (l = r.businesses.value) == null ? void 0 : l.find((m) => m);
|
|
299
300
|
} catch (m) {
|
|
300
301
|
console.error("error when trying to reset businesses:", m);
|
|
301
302
|
}
|
|
302
303
|
}
|
|
303
|
-
return (
|
|
304
|
+
return (l, m) => (g(), M(le));
|
|
304
305
|
}
|
|
305
306
|
});
|
|
306
307
|
export {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as ue, ref as y, watch as ie, computed as d, resolveComponent as ce, openBlock as x, createBlock as X, unref as n, withCtx as P, createElementVNode as c, normalizeClass as pe, createVNode as i, normalizeStyle as de, toDisplayString as me, createElementBlock as fe, createCommentVNode as ve, Teleport as he, mergeProps as _e } from "vue";
|
|
2
|
-
import { u as De, m as b } from "./app-
|
|
3
|
-
import { a as ge, _ as ye } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { a as be, P as k, b as Oe, _ as Re } from "./TransferDetails.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { d as Z } from "./date2-
|
|
2
|
+
import { u as De, m as b } from "./app-D408Dojy.js";
|
|
3
|
+
import { a as ge, _ as ye } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-6ISoc3Vl.js";
|
|
4
|
+
import { a as be, P as k, b as Oe, _ as Re } from "./TransferDetails.vue_vue_type_script_setup_true_lang-6GSg50p6.js";
|
|
5
|
+
import { d as Z } from "./date2-BVZv5PZF.js";
|
|
6
6
|
import { u as Se, _ as xe } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-mvRR4CrP.js";
|
|
7
7
|
import { _ as Pe, F as O } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
8
8
|
import { useBreakpoints as ke } from "@feedmepos/ui-library";
|
|
9
9
|
import { useI18n as qe } from "@feedmepos/mf-common";
|
|
10
10
|
import { P as we, J as Te } from "./app-DiX-EfV6.js";
|
|
11
|
-
import { u as Ae } from "./netsuite-
|
|
11
|
+
import { u as Ae } from "./netsuite-DNAw7VpR.js";
|
|
12
12
|
const Ce = { class: "flex flex-col py-8" }, Ne = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Me = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Ve = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, Fe = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
|
|
@@ -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 P } from "vue";
|
|
2
|
-
import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { a as L, aj as S } from "./app-
|
|
2
|
+
import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-Dud1uIMO.js";
|
|
3
|
+
import { a as L, aj as S } from "./app-D408Dojy.js";
|
|
4
4
|
const U = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "flex justify-end gap-8 items-center"
|
|
@@ -1,6 +1,6 @@
|
|
|
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 } from "./FmMultiselectDialog-
|
|
3
|
-
import { a as x, aj as z } from "./app-
|
|
2
|
+
import { a as M } from "./FmMultiselectDialog-C2CsWDaS.js";
|
|
3
|
+
import { a as x, aj as z } from "./app-D408Dojy.js";
|
|
4
4
|
const F = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "flex flex-col gap-16"
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as x, ref as r, provide as C, computed as g, resolveComponent as h, openBlock as l, createElementBlock as u, createStaticVNode as F, Fragment as L, renderList as I, createElementVNode as p, toDisplayString as v, createVNode as w, withModifiers as N, onMounted as E, onUnmounted as z, createBlock as M } from "vue";
|
|
2
|
-
import { F as b, a as P, aj as R } from "./app-
|
|
3
|
-
import "./dayjs.min-
|
|
2
|
+
import { F as b, a as P, aj as R } from "./app-D408Dojy.js";
|
|
3
|
+
import "./dayjs.min-dLv45JOf.js";
|
|
4
4
|
import "@feedmepos/ui-library";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import "@feedmepos/mf-common";
|
|
7
7
|
import "./app-DiX-EfV6.js";
|
|
8
|
-
import "./lodash-
|
|
8
|
+
import "./lodash-jsvsD07q.js";
|
|
9
9
|
const U = { class: "" }, D = ["onClick"], O = { class: "flex-grow-0 flex-shrink-0 basis-5/12 py-8 pl-8" }, V = { class: "flex-grow-0 flex-shrink-0 basis-3/12 py-8" }, S = { class: "flex-grow-0 flex-shrink-0 basis-3/12 py-8" }, $ = { class: "flex-grow-0 flex-shrink-0 basis-1/12 py-4" }, T = /* @__PURE__ */ x({
|
|
10
10
|
__name: "binding-ui",
|
|
11
11
|
props: {
|
|
@@ -2,21 +2,21 @@ import { defineComponent as Ve, ref as Y, computed as U, onMounted as et, resolv
|
|
|
2
2
|
import { F as bt, u as Ht, _ as Ot } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-mvRR4CrP.js";
|
|
3
3
|
import { useCoreStore as Dt, useI18n as tt } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as at, useDialog as Kt, components as ke, useProxiedModel as Yt, useBreakpoints as qt } from "@feedmepos/ui-library";
|
|
5
|
-
import { o as Gt, u as Ge, K as Z, y as H, s as At, v as Ue, L as _e, D as Oe, c as Qt, a as wt } from "./app-
|
|
5
|
+
import { o as Gt, u as Ge, K as Z, y as H, s as At, v as Ue, L as _e, D as Oe, c as Qt, a as wt } from "./app-D408Dojy.js";
|
|
6
6
|
import { defineStore as St, storeToRefs as Wt } from "pinia";
|
|
7
|
-
import { d as Ye, e as Ct, f as Zt, a as De } from "./date2-
|
|
8
|
-
import { R as Jt } from "./rules-
|
|
9
|
-
import { e as nt, a as Xe, t as Xt, c as Re, l as $t, m as Ft, j as Bt, k as Tt, o as te } from "./number-
|
|
10
|
-
import { b as ea, d as ta } from "./xlsx.util-
|
|
11
|
-
import { u as jt } from "./stock-
|
|
12
|
-
import { u as ot } from "./stock-
|
|
7
|
+
import { d as Ye, e as Ct, f as Zt, a as De } from "./date2-BVZv5PZF.js";
|
|
8
|
+
import { R as Jt } from "./rules-DEdBsOel.js";
|
|
9
|
+
import { e as nt, a as Xe, t as Xt, c as Re, l as $t, m as Ft, j as Bt, k as Tt, o as te } from "./number-B5Z9FPhR.js";
|
|
10
|
+
import { b as ea, d as ta } from "./xlsx.util-3sT22-fZ.js";
|
|
11
|
+
import { u as jt } from "./stock-BXznPDbY.js";
|
|
12
|
+
import { u as ot } from "./stock-C1OjP0Vd.js";
|
|
13
13
|
import { D as ht, R as Te } from "./row-action.enum-BcW_L_nE.js";
|
|
14
14
|
import { c as aa } from "./component-DpCUABT3.js";
|
|
15
|
-
import { f as na } from "./format-time-from-id-
|
|
16
|
-
import { _ as oa } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
15
|
+
import { f as na } from "./format-time-from-id-DLhEvP9s.js";
|
|
16
|
+
import { _ as oa } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-6ISoc3Vl.js";
|
|
17
17
|
import { E as sa } from "./empty-placeholder-wf6-BWE8.js";
|
|
18
|
-
import { u as ra } from "./vue-i18n-
|
|
19
|
-
import { F as la } from "./decimal-
|
|
18
|
+
import { u as ra } from "./vue-i18n-DbPOI14K.js";
|
|
19
|
+
import { F as la } from "./decimal-Bil19rhK.js";
|
|
20
20
|
import { _ as ia, F as ze } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
21
21
|
const Qe = Gt((c, s) => {
|
|
22
22
|
function e() {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as le, ref as g, computed as V, watch as me, resolveComponent as $, openBlock as c, createElementBlock as y, createBlock as H, withModifiers as fe, createCommentVNode as k, createVNode as b, withCtx as I, createElementVNode as n, toDisplayString as i, unref as r, Fragment as z, createTextVNode as Z, renderList as ne, normalizeClass as pe, h as X, Teleport as ge } from "vue";
|
|
2
2
|
import { F as de, _ as he } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-mvRR4CrP.js";
|
|
3
3
|
import { useI18n as se, useCoreStore as be } from "@feedmepos/mf-common";
|
|
4
|
-
import { D as P, H as ce, a as _e, u as ke } from "./app-
|
|
5
|
-
import { _ as xe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { D as P, H as ce, a as _e, u as ke } from "./app-D408Dojy.js";
|
|
5
|
+
import { _ as xe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-6ISoc3Vl.js";
|
|
6
6
|
import { useSnackbar as re, useDialog as De } from "@feedmepos/ui-library";
|
|
7
|
-
import { u as ye } from "./stock-
|
|
8
|
-
import { _ as Se } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { u as ye } from "./stock-C1OjP0Vd.js";
|
|
8
|
+
import { _ as Se } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-CbijYDXP.js";
|
|
9
9
|
function ie(B) {
|
|
10
10
|
return Math.floor(B.getTime() / 1e3) * 1e3;
|
|
11
11
|
}
|
|
@@ -4,24 +4,24 @@ import { useI18n as W, useCoreStore as de } from "@feedmepos/mf-common";
|
|
|
4
4
|
import { useDialog as pe, useDialogChild as Ze, useSnackbar as ce, FmButtonVariant as oe, components as Y, FmAdvancedSort as et, useProxiedModel as tt, useBreakpoints as nt } from "@feedmepos/ui-library";
|
|
5
5
|
import { defineStore as Ve, storeToRefs as Ne } from "pinia";
|
|
6
6
|
import { F as G } from "./form-mode.enum-BKiNVH6A.js";
|
|
7
|
-
import { a as me } from "./closing-template-
|
|
8
|
-
import { u as fe, c as Ue, a as ve, n as ot } from "./app-
|
|
9
|
-
import { t as re, a as ge, d as ye, s as Le, r as st } from "./xlsx.util-
|
|
7
|
+
import { a as me } from "./closing-template-BA9gd1S5.js";
|
|
8
|
+
import { u as fe, c as Ue, a as ve, n as ot } from "./app-D408Dojy.js";
|
|
9
|
+
import { t as re, a as ge, d as ye, s as Le, r as st } from "./xlsx.util-3sT22-fZ.js";
|
|
10
10
|
import { F as lt } from "./FmDroppableField-J0xUsOTV.js";
|
|
11
|
-
import { f as Be, a as le } from "./date2-
|
|
11
|
+
import { f as Be, a as le } from "./date2-BVZv5PZF.js";
|
|
12
12
|
import { D as se, R as z } from "./row-action.enum-BcW_L_nE.js";
|
|
13
13
|
import { c as at } from "./component-DpCUABT3.js";
|
|
14
|
-
import { f as rt } from "./format-time-from-id-
|
|
15
|
-
import { _ as it } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { u as ct } from "./netsuite-
|
|
17
|
-
import { u as mt } from "./duplicate-template-
|
|
18
|
-
import { _ as ut } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
19
|
-
import { R as dt, A as pt } from "./rules-
|
|
20
|
-
import { u as ft } from "./use-ingredient-select-dialog-
|
|
21
|
-
import { d as vt } from "./defineDeepModel-
|
|
14
|
+
import { f as rt } from "./format-time-from-id-DLhEvP9s.js";
|
|
15
|
+
import { _ as it } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-segC1UrJ.js";
|
|
16
|
+
import { u as ct } from "./netsuite-DNAw7VpR.js";
|
|
17
|
+
import { u as mt } from "./duplicate-template-3syPYZex.js";
|
|
18
|
+
import { _ as ut } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-6ISoc3Vl.js";
|
|
19
|
+
import { R as dt, A as pt } from "./rules-DEdBsOel.js";
|
|
20
|
+
import { u as ft } from "./use-ingredient-select-dialog-CWJs1r2Q.js";
|
|
21
|
+
import { d as vt } from "./defineDeepModel-gV3wX8Ff.js";
|
|
22
22
|
import { F as X, _ as ze } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
23
|
-
import { u as gt } from "./use-template-enabled-locations-2-
|
|
24
|
-
import { _ as yt } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-
|
|
23
|
+
import { u as gt } from "./use-template-enabled-locations-2-BURagrfJ.js";
|
|
24
|
+
import { _ as yt } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-dXcJ7K7E.js";
|
|
25
25
|
import { _ as ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
26
26
|
const ue = Ve(
|
|
27
27
|
"closingTemplateTable",
|
package/dist/{DeliveryOrderPrintPreview-Mp8O9Olm.js → DeliveryOrderPrintPreview-ImPHiGrH.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as x, computed as f, ref as h, onMounted as _, openBlock as u, createElementBlock as i, createElementVNode as t, createTextVNode as n, toDisplayString as e, createCommentVNode as d, Fragment as o, renderList as p, normalizeClass as g } from "vue";
|
|
2
2
|
import { useRoute as k } from "vue-router";
|
|
3
|
-
import { O as y } from "./app-
|
|
3
|
+
import { O as y } from "./app-D408Dojy.js";
|
|
4
4
|
import { _ as w } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const c = { class: "purchase-box" }, A = { valign: "bottom" }, N = { class: "sub-header" }, O = ["src"], P = { style: { "padding-left": "10px" } }, C = { class: "address" }, D = { class: "text-right" }, R = {
|
|
6
6
|
key: 0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { u as B, t as h, P as E, T as R, B as V } from "./app-
|
|
2
|
-
import { u as z } from "./supplier-
|
|
1
|
+
import { u as B, t as h, P as E, T as R, B as V } from "./app-D408Dojy.js";
|
|
2
|
+
import { u as z } from "./supplier-CQ_1jwYn.js";
|
|
3
3
|
import { computed as u, defineComponent as A, mergeModels as q, useModel as D, ref as H, resolveComponent as g, openBlock as y, createElementBlock as O, normalizeStyle as U, createElementVNode as M, createVNode as $, withCtx as x, createBlock as I, createCommentVNode as P, Fragment as W, renderList as Y, unref as N } from "vue";
|
|
4
|
-
import { F as j } from "./FmMultiselectDialog-
|
|
4
|
+
import { F as j } from "./FmMultiselectDialog-C2CsWDaS.js";
|
|
5
5
|
function _(o) {
|
|
6
6
|
const c = R.safeParse(o);
|
|
7
7
|
if (c.success) return c.data;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as S, computed as w, ref as P, resolveComponent as h, openBlock as n, createElementBlock as p, createVNode as x, withCtx as $, createElementVNode as b, Fragment as V, createTextVNode as R, toDisplayString as D, unref as r, createBlock as v, createCommentVNode as k, renderList as N, watch as O, mergeModels as H, useModel as I, renderSlot as W, normalizeClass as A } from "vue";
|
|
2
2
|
import { useCoreStore as q, useI18n as Q } from "@feedmepos/mf-common";
|
|
3
|
-
import { u as G } from "./app-
|
|
4
|
-
import { d as T } from "./date2-
|
|
3
|
+
import { u as G } from "./app-D408Dojy.js";
|
|
4
|
+
import { d as T } from "./date2-BVZv5PZF.js";
|
|
5
5
|
import { useBreakpoints as J } from "@feedmepos/ui-library";
|
|
6
6
|
import { u as K, F as X } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-mvRR4CrP.js";
|
|
7
7
|
import { D as z } from "./app-DiX-EfV6.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineStore as p } from "pinia";
|
|
2
2
|
import { useDialog as y } from "@feedmepos/ui-library";
|
|
3
3
|
import { useI18n as v } from "@feedmepos/mf-common";
|
|
4
|
-
import { a } from "./FmMultiselectDialog-
|
|
4
|
+
import { a } from "./FmMultiselectDialog-C2CsWDaS.js";
|
|
5
5
|
import { h as S } from "vue";
|
|
6
6
|
const w = p("inventoryMultiSelectDialog", () => {
|
|
7
7
|
const l = y(), { t: n } = v();
|
|
@@ -3,8 +3,8 @@ var Pe = (F, i, l) => i in F ? He(F, i, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var ve = (F, i, l) => Pe(F, typeof i != "symbol" ? i + "" : i, l);
|
|
4
4
|
import { defineComponent as be, computed as x, ref as $, watch as ge, openBlock as d, createElementBlock as f, normalizeStyle as G, Fragment as V, renderList as O, renderSlot as ke, createCommentVNode as D, useSlots as Oe, onMounted as Ue, onUnmounted as Ee, reactive as ee, resolveComponent as T, createElementVNode as B, createVNode as k, createTextVNode as Ke, toDisplayString as P, unref as L, createSlots as je, withCtx as w, createBlock as I, resolveDynamicComponent as pe, normalizeClass as fe, withModifiers as Ne, Transition as Ge } from "vue";
|
|
5
5
|
import { useDialogChild as ze } from "@feedmepos/ui-library";
|
|
6
|
-
import { B as he } from "./app-
|
|
7
|
-
import { d as Je } from "./index-
|
|
6
|
+
import { B as he } from "./app-D408Dojy.js";
|
|
7
|
+
import { d as Je } from "./index-D_gbNiEn.js";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import { useI18n as Re } from "@feedmepos/mf-common";
|
|
10
10
|
import { P as We, J as ye, D as Qe } from "./app-DiX-EfV6.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as ie, mergeModels as W, useModel as le, computed as v, ref as B, watch as E, onBeforeUnmount as ae, inject as ue, resolveComponent as b, openBlock as d, createElementBlock as y, createElementVNode as u, createVNode as h, withCtx as F, renderSlot as G, normalizeClass as j, toDisplayString as _, withDirectives as re, vModelText as me, createCommentVNode as I, createTextVNode as ce, createBlock as U, Fragment as de, renderList as pe } from "vue";
|
|
2
|
-
import { l as fe } from "./lodash-
|
|
3
|
-
import { y as D } from "./app-
|
|
4
|
-
import { g as O, c as ve, a as M, t as be, e as ye, m as he, b as Me, u as ge } from "./number-
|
|
5
|
-
import { I as R, a as xe } from "./rules-
|
|
2
|
+
import { l as fe } from "./lodash-jsvsD07q.js";
|
|
3
|
+
import { y as D } from "./app-D408Dojy.js";
|
|
4
|
+
import { g as O, c as ve, a as M, t as be, e as ye, m as he, b as Me, u as ge } from "./number-B5Z9FPhR.js";
|
|
5
|
+
import { I as R, a as xe } from "./rules-DEdBsOel.js";
|
|
6
6
|
import "@feedmepos/ui-library";
|
|
7
7
|
function H() {
|
|
8
8
|
return {
|
|
@@ -2,14 +2,14 @@ import { defineComponent as De, ref as F, computed as J, watch as ze, resolveCom
|
|
|
2
2
|
import { u as Ve, _ as ke } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-mvRR4CrP.js";
|
|
3
3
|
import { useCoreStore as Re, useI18n as je } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as We, useSnackbar as Oe, useDialog as Le, useBreakpoints as Je } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as Xe } from "./feature-
|
|
6
|
-
import { a as ie } from "./app-
|
|
7
|
-
import "./dayjs.min-
|
|
5
|
+
import { u as Xe } from "./feature-cWRnzIYw.js";
|
|
6
|
+
import { a as ie } from "./app-D408Dojy.js";
|
|
7
|
+
import "./dayjs.min-dLv45JOf.js";
|
|
8
8
|
import "./app-DiX-EfV6.js";
|
|
9
|
-
import { s as He, a as qe, d as Qe, t as Ce, r as Ye } from "./xlsx.util-
|
|
10
|
-
import { s as Ze, g as et, b as tt, d as Fe } from "./import-export.helper-
|
|
9
|
+
import { s as He, a as qe, d as Qe, t as Ce, r as Ye } from "./xlsx.util-3sT22-fZ.js";
|
|
10
|
+
import { s as Ze, g as et, b as tt, d as Fe } from "./import-export.helper-3944FCzf.js";
|
|
11
11
|
import { r as nt } from "./random-CSbEbElR.js";
|
|
12
|
-
import { c as Ae, a as pe } from "./number-
|
|
12
|
+
import { c as Ae, a as pe } from "./number-B5Z9FPhR.js";
|
|
13
13
|
import { F as ot } from "./FmDroppableField-J0xUsOTV.js";
|
|
14
14
|
function Ee() {
|
|
15
15
|
return `measurement_${(/* @__PURE__ */ new Date()).toISOString()}_${nt()}`;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as p, openBlock as s, createElementBlock as n, createElementVNode as r, toDisplayString as o, unref as l, Fragment as d, renderList as x } from "vue";
|
|
2
|
-
import { a, e as y } from "./number-
|
|
2
|
+
import { a, e as y } from "./number-B5Z9FPhR.js";
|
|
3
3
|
import { useI18n as _ } from "@feedmepos/mf-common";
|
|
4
4
|
const v = { class: "flex flex-col" }, g = { class: "flex flex-row fm-typo-en-body-md-600 bg-fm-color-neutral-gray-100 text-fm-color-typo-secondary h-48 items-center" }, h = { class: "flex-1 py-8 px-16" }, b = {
|
|
5
5
|
class: "flex-0 py-8 px-16",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as A, computed as G, h as C, defineComponent as j, watch as re, resolveComponent as R, openBlock as F, createElementBlock as B, createVNode as b, unref as i, createElementVNode as c, toDisplayString as $, createBlock as M, withCtx as T, Fragment as pe, renderList as ve, createTextVNode as ye, createCommentVNode as se, isRef as ge, normalizeClass as _e, normalizeStyle as be, createSlots as ke, Teleport as xe, normalizeProps as he, guardReactiveProps as we } from "vue";
|
|
2
|
-
import { a as P, c as L, j as oe, u as Re } from "./app-
|
|
2
|
+
import { a as P, c as L, j as oe, u as Re } from "./app-D408Dojy.js";
|
|
3
3
|
import { useDialog as Ie, useSnackbar as Y, components as U, useProxiedModel as Se, useBreakpoints as Fe } from "@feedmepos/ui-library";
|
|
4
4
|
import { F as S } from "./form-mode.enum-BKiNVH6A.js";
|
|
5
5
|
import { useI18n as z, useCoreStore as Ge } from "@feedmepos/mf-common";
|
|
@@ -8,11 +8,11 @@ import { D as ie, R as K } from "./row-action.enum-BcW_L_nE.js";
|
|
|
8
8
|
import { c as Ve } from "./component-DpCUABT3.js";
|
|
9
9
|
import { u as Ce, _ as De } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-mvRR4CrP.js";
|
|
10
10
|
import { _ as Ae, F as le } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
11
|
-
import { _ as $e } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
12
|
-
import { d as de } from "./defineDeepModel-
|
|
13
|
-
import { I as Te, A as Ee, U as Me, R as ce } from "./rules-
|
|
11
|
+
import { _ as $e } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-6ISoc3Vl.js";
|
|
12
|
+
import { d as de } from "./defineDeepModel-gV3wX8Ff.js";
|
|
13
|
+
import { I as Te, A as Ee, U as Me, R as ce } from "./rules-DEdBsOel.js";
|
|
14
14
|
import { L as Ue, P as Be, D as Le } from "./app-DiX-EfV6.js";
|
|
15
|
-
import { u as Pe } from "./FmMultiselectDialog-
|
|
15
|
+
import { u as Pe } from "./FmMultiselectDialog-BGk_NQLP.js";
|
|
16
16
|
import { r as me } from "./random-CSbEbElR.js";
|
|
17
17
|
import { u as ze, R as Ne } from "./usePromise-CbVUCxhj.js";
|
|
18
18
|
const H = ue(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as B, defineComponent as pe, computed as b, resolveComponent as C, openBlock as c, createElementBlock as T, Fragment as X, unref as l, createVNode as s, withModifiers as Bt, createCommentVNode as L, withCtx as g, createElementVNode as n, toDisplayString as F, normalizeClass as te, renderList as ue, createBlock as O, h as Q, renderSlot as xe, createSlots as He, createTextVNode as Ye, mergeModels as dt, onMounted as Dt, watch as Tt, useModel as Ot, isRef as ut, normalizeStyle as Nt, Teleport as ct, normalizeProps as zt, guardReactiveProps as Lt } from "vue";
|
|
2
|
-
import { a as Ce, c as wt, S as jt, d as mt, e as pt, f as Wt, h as vt, i as ft, j as yt, k as gt, u as qt, l as Ht } from "./app-
|
|
2
|
+
import { a as Ce, c as wt, S as jt, d as mt, e as pt, f as Wt, h as vt, i as ft, j as yt, k as gt, u as qt, l as Ht } from "./app-D408Dojy.js";
|
|
3
3
|
import { useDialog as Ge, useSnackbar as Fe, components as Oe, useProxiedModel as bt, useDialogChild as Yt, useBreakpoints as Gt } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as Kt, _ as Jt } from "./is-linked-ingredient-error-fJ2TJb3z.js";
|
|
5
5
|
import { F as q } from "./form-mode.enum-BKiNVH6A.js";
|
|
@@ -7,25 +7,25 @@ import { useI18n as ve, useCoreStore as Ke } from "@feedmepos/mf-common";
|
|
|
7
7
|
import { defineStore as Zt, storeToRefs as Qt } from "pinia";
|
|
8
8
|
import { D as ht, R as Me } from "./row-action.enum-BcW_L_nE.js";
|
|
9
9
|
import { c as Xt } from "./component-DpCUABT3.js";
|
|
10
|
-
import { u as Ae, _ as en } from "./netsuite-
|
|
10
|
+
import { u as Ae, _ as en } from "./netsuite-DNAw7VpR.js";
|
|
11
11
|
import { F as Re, u as tn, _ as nn } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-mvRR4CrP.js";
|
|
12
|
-
import { A as Pe, R as Ne, U as on, M as ln } from "./rules-
|
|
13
|
-
import { g as an, _ as ze, S as Le, a as sn } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-
|
|
14
|
-
import { _ as rn } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { _ as je } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { u as Vt } from "./feature-
|
|
17
|
-
import { a as dn, t as un, g as cn } from "./number-
|
|
12
|
+
import { A as Pe, R as Ne, U as on, M as ln } from "./rules-DEdBsOel.js";
|
|
13
|
+
import { g as an, _ as ze, S as Le, a as sn } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CoeImPuM.js";
|
|
14
|
+
import { _ as rn } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-Dud1uIMO.js";
|
|
15
|
+
import { _ as je } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-BjEBU0e1.js";
|
|
16
|
+
import { u as Vt } from "./feature-cWRnzIYw.js";
|
|
17
|
+
import { a as dn, t as un, g as cn } from "./number-B5Z9FPhR.js";
|
|
18
18
|
import { _ as he } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
|
|
19
|
-
import { d as Ue, g as mn, e as pn, a as vn } from "./import-export.helper-
|
|
19
|
+
import { d as Ue, g as mn, e as pn, a as vn } from "./import-export.helper-3944FCzf.js";
|
|
20
20
|
import { _ as fn } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js";
|
|
21
|
-
import { F as yn, a as We } from "./FmMultiselectDialog-
|
|
22
|
-
import { u as It } from "./purchase-order-template-
|
|
23
|
-
import { u as St, a as Ct } from "./closing-template-
|
|
21
|
+
import { F as yn, a as We } from "./FmMultiselectDialog-C2CsWDaS.js";
|
|
22
|
+
import { u as It } from "./purchase-order-template-CEOgOHWA.js";
|
|
23
|
+
import { u as St, a as Ct } from "./closing-template-BA9gd1S5.js";
|
|
24
24
|
import { _ as gn, F as _t } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
25
|
-
import { r as bn } from "./xlsx.util-
|
|
25
|
+
import { r as bn } from "./xlsx.util-3sT22-fZ.js";
|
|
26
26
|
import { F as hn } from "./FmDroppableField-J0xUsOTV.js";
|
|
27
|
-
import { _ as _n } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
28
|
-
import { u as xn } from "./FmMultiselectDialog-
|
|
27
|
+
import { _ as _n } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-6ISoc3Vl.js";
|
|
28
|
+
import { u as xn } from "./FmMultiselectDialog-BGk_NQLP.js";
|
|
29
29
|
import { P as kn, J as Tn } from "./app-DiX-EfV6.js";
|
|
30
30
|
const qe = Zt("ingredientForm", function() {
|
|
31
31
|
const r = Ge(), k = Fe(), d = Ce(), h = B(!1), { t: I } = ve(), E = B();
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { defineComponent as P, mergeModels as Ye, useModel as ke, onMounted as ie, ref as L, computed as O, resolveComponent as F, openBlock as x, createElementBlock as E, createElementVNode as l, toDisplayString as R, unref as V, createVNode as A, createBlock as H, withCtx as N, Fragment as Y, renderList as ee, normalizeClass as q, normalizeStyle as Qe, createSlots as oe, createCommentVNode as j, withModifiers as Je, reactive as Fe, watch as Ce, isRef as re, Teleport as pe, h as k, createTextVNode as K, watchEffect as Ke } from "vue";
|
|
2
2
|
import { E as qe } from "./empty-placeholder-wf6-BWE8.js";
|
|
3
|
-
import { A as Ge, B as Ze, c as ae, u as se, C as We, a as ce, N as ge, D as Ae, E as $, y as ne, G as Be, H as Ve, v as fe } from "./app-
|
|
3
|
+
import { A as Ge, B as Ze, c as ae, u as se, C as We, a as ce, N as ge, D as Ae, E as $, y as ne, G as Be, H as Ve, v as fe } from "./app-D408Dojy.js";
|
|
4
4
|
import { useDialogChild as $e, useDialog as be, useProxiedModel as ue, useSnackbar as G, useBreakpoints as _e, components as J } from "@feedmepos/ui-library";
|
|
5
5
|
import { F as Ee, _ as et } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-mvRR4CrP.js";
|
|
6
6
|
import { useI18n as Z, useCoreStore as le } from "@feedmepos/mf-common";
|
|
7
|
-
import { _ as tt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { u as nt, a as st, b as ot, c as at } from "./index-
|
|
9
|
-
import { u as te, a as me } from "./netsuite-
|
|
10
|
-
import { b as lt, a as it } from "./FmMultiselectDialog-
|
|
11
|
-
import { R as rt } from "./rules-
|
|
7
|
+
import { _ as tt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-6ISoc3Vl.js";
|
|
8
|
+
import { u as nt, a as st, b as ot, c as at } from "./index-5h5349fv.js";
|
|
9
|
+
import { u as te, a as me } from "./netsuite-DNAw7VpR.js";
|
|
10
|
+
import { b as lt, a as it } from "./FmMultiselectDialog-C2CsWDaS.js";
|
|
11
|
+
import { R as rt } from "./rules-DEdBsOel.js";
|
|
12
12
|
import { P as Ne, J as Le, D as De } from "./app-DiX-EfV6.js";
|
|
13
|
-
import { u as ut } from "./supplier-
|
|
14
|
-
import { u as ve } from "./vue-i18n-
|
|
15
|
-
import { _ as dt, a as ct } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { a as mt } from "./number-
|
|
17
|
-
import { a as he, f as Te } from "./date2-
|
|
18
|
-
import { u as Re } from "./feature-
|
|
13
|
+
import { u as ut } from "./supplier-CQ_1jwYn.js";
|
|
14
|
+
import { u as ve } from "./vue-i18n-DbPOI14K.js";
|
|
15
|
+
import { _ as dt, a as ct } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-D2PW1FEg.js";
|
|
16
|
+
import { a as mt } from "./number-B5Z9FPhR.js";
|
|
17
|
+
import { a as he, f as Te } from "./date2-BVZv5PZF.js";
|
|
18
|
+
import { u as Re } from "./feature-cWRnzIYw.js";
|
|
19
19
|
import { F as Oe } from "./FmDroppableField-J0xUsOTV.js";
|
|
20
|
-
import { r as Me, u as ze } from "./xlsx-
|
|
20
|
+
import { r as Me, u as ze } from "./xlsx-BQKzXIKK.js";
|
|
21
21
|
const ft = "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";
|
|
22
22
|
var je = { exports: {} };
|
|
23
23
|
(function(_, h) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as ne, computed as g, reactive as oe, resolveComponent as B, openBlock as a, createElementBlock as y, createVNode as m, withCtx as k, createElementVNode as n, toDisplayString as p, unref as i, createBlock as I, createCommentVNode as v, Fragment as E, renderList as C, nextTick as te } from "vue";
|
|
2
|
-
import { a as le, w as ie, x as se, F as de } from "./app-
|
|
3
|
-
import { a as h, c as re } from "./number-
|
|
4
|
-
import { u as ae } from "./use-inventory-binding-dialog-
|
|
5
|
-
import { b as D, c as G } from "./rules-
|
|
6
|
-
import { _ as ue, c as me, d as ce } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { a as le, w as ie, x as se, F as de } from "./app-D408Dojy.js";
|
|
3
|
+
import { a as h, c as re } from "./number-B5Z9FPhR.js";
|
|
4
|
+
import { u as ae } from "./use-inventory-binding-dialog-BiHdxMN4.js";
|
|
5
|
+
import { b as D, c as G } from "./rules-DEdBsOel.js";
|
|
6
|
+
import { _ as ue, c as me, d as ce } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-D2PW1FEg.js";
|
|
7
7
|
import { useI18n as pe } from "@feedmepos/mf-common";
|
|
8
8
|
const ye = { class: "flex flex-col gap-24" }, fe = { class: "flex flex-col gap-16" }, ve = { class: "flex items-center" }, be = { class: "flex-1 fm-typo-en-title-sm-600" }, _e = { 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" }, xe = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, he = { class: "flex flex-col w-full border-b border-fm-color-neutral-gray-100" }, Ve = {
|
|
9
9
|
class: "flex items-center",
|