@feedmepos/mf-inventory-portal 1.2.10-dev.3 → 1.2.10
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-D9otYMgh.js → App-DYqxMYB9.js} +1 -1
- package/dist/{ApprovalView-Bue46U6e.js → ApprovalView-DGwyBskr.js} +17 -17
- package/dist/{BindingsDialog-Xleskmvg.js → BindingsDialog-DPTaXP5d.js} +2 -2
- package/dist/{BindingsPicker-BeNF1NcZ.js → BindingsPicker-Bf0njj4d.js} +4 -4
- package/dist/{BindingsTable-ecWz3SHk.js → BindingsTable-BPe63ZWt.js} +1 -1
- package/dist/{ClosingDraftView-DkxOW9Ns.js → ClosingDraftView-ChH3hzk5.js} +123 -123
- package/dist/{ClosingTemplateView-BbnpVNYF.js → ClosingTemplateView-Ck92tjyp.js} +26 -26
- package/dist/{DeliveryOrderPrintPreview-CH-IzSM9.js → DeliveryOrderPrintPreview-DH6Zb9fP.js} +9 -9
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DOR_Iu0w.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-cSUU8S9I.js} +16 -16
- package/dist/{FmMultiselectDialog-DBgk0_mV.js → FmMultiselectDialog-BTYol2SU.js} +4 -4
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DdxSlJRz.js → FmUnitInput.vue_vue_type_script_setup_true_lang-YbBghEyh.js} +43 -43
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-C22gncaQ.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-Dnme2biR.js} +7 -7
- package/dist/{IngredientGroupView-CrNLRll8.js → IngredientGroupView--T3MBGwZ.js} +13 -13
- package/dist/IngredientsView-DZyx9OC9.js +2467 -0
- package/dist/{IntegrationView-DRwnqCf9.js → IntegrationView-evwSnY6R.js} +24 -25
- package/dist/{InventoryBindingForm-DU6B0J0B.js → InventoryBindingForm-PaQ8Cq5r.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CLCDb25h.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Ah0DptUu.js} +12 -12
- package/dist/{InventoryBindingSummary-BH2bWICt.js → InventoryBindingSummary-CrI4xTEO.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BD2hneTA.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DxTP40bM.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-GabOf_-7.js → PremiumBadge.vue_vue_type_script_setup_true_lang-B-ttqDcQ.js} +1 -1
- package/dist/{PublishView-B510iDYx.js → PublishView-D2WXGfZr.js} +19 -19
- package/dist/{PurchaseOrderPrintPreview-Cbsl8gcZ.js → PurchaseOrderPrintPreview-B1QrfsNt.js} +7 -7
- package/dist/{ReceiveRequestView-rKyNjRbk.js → ReceiveRequestView-BtdOm43O.js} +80 -80
- package/dist/{RecipeView-C9dw-1_E.js → RecipeView-okupvj-0.js} +39 -39
- package/dist/{StockView-scnHVHGB.js → StockView-Bb9AQQlK.js} +833 -830
- package/dist/SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BOJrQc5Z.js +172 -0
- package/dist/{SupplierView-to6stKYV.js → SupplierView-CPG7eyiI.js} +4 -4
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-laVp-HrL.js → TransferDetails.vue_vue_type_script_setup_true_lang-DuaXDXxy.js} +11 -12
- package/dist/{TransferTemplateView-VOgIhPGW.js → TransferTemplateView-BLVlhF0T.js} +109 -109
- package/dist/{UnitView-sr5QkKex.js → UnitView-BIoDigC1.js} +16 -16
- package/dist/{WarehouseView-CB3luO1P.js → WarehouseView-C5SVRgJG.js} +16 -16
- package/dist/{app-BpyxIAaY.js → app-BpzSrMFG.js} +8610 -8548
- package/dist/app.js +1 -1
- package/dist/{closing-template-CEJaVQKn.js → closing-template-DgyNw_vj.js} +1 -1
- package/dist/components/FmInventoryTableToolbar.vue.d.ts +7 -0
- package/dist/components/netsuite/ItemSubsidiaryTreeDialog.vue.d.ts +16 -0
- package/dist/{decimal-Dqff6QMJ.js → decimal-CvU6JXwM.js} +1 -1
- package/dist/{format-unit-display-DcORb0K7.js → format-unit-display-ChcvhEq_.js} +3 -3
- package/dist/{index-rTyWq-0n.js → index-L2DfU-le.js} +1 -1
- package/dist/{index-CFfIlNHC.js → index-UnM6VgqL.js} +1 -1
- package/dist/{purchase-order-template-BFPrzfeR.js → purchase-order-template-BGNA5mhv.js} +1 -1
- package/dist/{stock-CkgmiPOr.js → stock-BzHLD7VH.js} +1 -1
- package/dist/stores/integration/netsuite.d.ts +25 -3
- package/dist/style.css +1 -1
- package/dist/{supplier-Db_-hKgm.js → supplier-DjmGXRXx.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-CEEFJa9x.js → use-ingredient-select-dialog-DEtTZkz4.js} +4 -4
- package/dist/{use-inventory-binding-dialog-C6Ev4777.js → use-inventory-binding-dialog-DUVVkJpV.js} +1 -1
- package/package.json +2 -2
- package/dist/FmAdminBadge-D4rqYlKu.js +0 -44
- package/dist/IngredientsView-DLK0Seww.js +0 -2319
- package/dist/SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Dt1S8tTH.js +0 -158
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as K, computed as b, openBlock as v, createElementBlock as w, createElementVNode as s, Fragment as q, renderList as H, toDisplayString as V, createCommentVNode as Y, ref as R, watch as ee, resolveComponent as I, createBlock as T, withCtx as A, createVNode as f, unref as l, isRef as te, normalizeClass as ie, normalizeStyle as ue, Teleport as de, normalizeProps as me, guardReactiveProps as ce } from "vue";
|
|
2
|
-
import { a as O, e as U, S as pe,
|
|
2
|
+
import { a as O, e as U, S as pe, i as ve, D as ne, j as z, f as se, $ as fe, p as j, A as ye, l as J, a0 as be, a1 as ge, w as oe, u as xe, b as _e, L as he, O as Ve, P as Ue, Q as we, T as Ce } from "./app-BpzSrMFG.js";
|
|
3
3
|
import { useDialog as Se, useSnackbar as ae, useProxiedModel as le, useBreakpoints as ke } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as Fe, _ as $e } from "./is-linked-ingredient-error-fJ2TJb3z.js";
|
|
5
5
|
import { defineStore as Ee, storeToRefs as Ie } from "pinia";
|
|
6
6
|
import { useI18n as G } from "@feedmepos/mf-common";
|
|
7
|
-
import { F as De } from "./decimal-
|
|
8
|
-
import { _ as Ae } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { F as De } from "./decimal-CvU6JXwM.js";
|
|
8
|
+
import { _ as Ae } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DxTP40bM.js";
|
|
9
9
|
const Re = { class: "flex flex-col gap-8" }, Me = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "flex flex-col"
|
|
@@ -92,7 +92,7 @@ const Re = { class: "flex flex-col gap-8" }, Me = {
|
|
|
92
92
|
])) : Y("", !0)
|
|
93
93
|
]));
|
|
94
94
|
}
|
|
95
|
-
}),
|
|
95
|
+
}), W = Ee("unitForm", function() {
|
|
96
96
|
const c = Se(), y = ae(), m = O(), a = R(!1), r = R();
|
|
97
97
|
function d() {
|
|
98
98
|
const t = {
|
|
@@ -187,7 +187,7 @@ const Re = { class: "flex flex-col gap-8" }, Me = {
|
|
|
187
187
|
};
|
|
188
188
|
});
|
|
189
189
|
function Ke() {
|
|
190
|
-
const { updateUnit: F, deleteUnit: c } =
|
|
190
|
+
const { updateUnit: F, deleteUnit: c } = W(), { t: y } = G();
|
|
191
191
|
async function m(r, d) {
|
|
192
192
|
const n = se(d);
|
|
193
193
|
if (r === z.Edit) {
|
|
@@ -232,7 +232,7 @@ function Ke() {
|
|
|
232
232
|
}
|
|
233
233
|
] };
|
|
234
234
|
}
|
|
235
|
-
const Oe = { class: "flex flex-col gap-24" }, Ge = { class: "flex gap-24" }, Qe = { class: "flex-1" }, Ye = { class: "flex-1" },
|
|
235
|
+
const Oe = { class: "flex flex-col gap-24" }, Ge = { class: "flex gap-24" }, Qe = { class: "flex-1" }, Ye = { class: "flex-1" }, Je = { class: "flex" }, We = { class: "flex items-center" }, Xe = { class: "fm-typo-en-body-lg-600 flex-grow" }, Ze = { class: "flex flex-col gap-24" }, et = { class: "flex gap-24" }, tt = { class: "flex-1" }, nt = { class: "flex-1" }, ot = /* @__PURE__ */ K({
|
|
236
236
|
__name: "UnitForm",
|
|
237
237
|
props: {
|
|
238
238
|
mode: {},
|
|
@@ -379,7 +379,7 @@ const Oe = { class: "flex flex-col gap-24" }, Ge = { class: "flex gap-24" }, Qe
|
|
|
379
379
|
}, null, 8, ["disabled", "label", "modelValue", "rules"])
|
|
380
380
|
])
|
|
381
381
|
]),
|
|
382
|
-
s("div",
|
|
382
|
+
s("div", Je, [
|
|
383
383
|
f(_, {
|
|
384
384
|
disabled: e.disabled,
|
|
385
385
|
type: "button",
|
|
@@ -395,8 +395,8 @@ const Oe = { class: "flex flex-col gap-24" }, Ge = { class: "flex gap-24" }, Qe
|
|
|
395
395
|
key: k.id
|
|
396
396
|
}, {
|
|
397
397
|
default: A(() => [
|
|
398
|
-
s("div",
|
|
399
|
-
s("div",
|
|
398
|
+
s("div", We, [
|
|
399
|
+
s("div", Xe, V(l(r)("inventory.unit.measurement.measurementDefault", [h + 1])), 1),
|
|
400
400
|
f(_, {
|
|
401
401
|
disabled: e.disabled,
|
|
402
402
|
variant: "tertiary",
|
|
@@ -404,7 +404,7 @@ const Oe = { class: "flex flex-col gap-24" }, Ge = { class: "flex gap-24" }, Qe
|
|
|
404
404
|
onClick: ($) => C(h)
|
|
405
405
|
}, null, 8, ["disabled", "onClick"])
|
|
406
406
|
]),
|
|
407
|
-
s("div",
|
|
407
|
+
s("div", Ze, [
|
|
408
408
|
s("div", et, [
|
|
409
409
|
s("div", tt, [
|
|
410
410
|
f(x, {
|
|
@@ -432,7 +432,7 @@ const Oe = { class: "flex flex-col gap-24" }, Ge = { class: "flex gap-24" }, Qe
|
|
|
432
432
|
disabled: e.disabled,
|
|
433
433
|
class: "col-span-3",
|
|
434
434
|
label: l(r)("inventory.unit.measurement.conversion"),
|
|
435
|
-
"model-value": +l(
|
|
435
|
+
"model-value": +l(J)(e.modelValue.measurements[h].conversion),
|
|
436
436
|
"onUpdate:modelValue": ($) => u.value = u.value.map(
|
|
437
437
|
(D, B) => B === h ? {
|
|
438
438
|
...D,
|
|
@@ -443,10 +443,10 @@ const Oe = { class: "flex flex-col gap-24" }, Ge = { class: "flex gap-24" }, Qe
|
|
|
443
443
|
} : D
|
|
444
444
|
),
|
|
445
445
|
rules: [l(ge)(0)],
|
|
446
|
-
step: +l(
|
|
446
|
+
step: +l(J)({ amount: 1, precision: t.value }),
|
|
447
447
|
"helper-text": l(r)("inventory.unit.measurement.conversionHelper", {
|
|
448
448
|
measurementSymbol: e.modelValue.measurements[h].name || " measurement unit",
|
|
449
|
-
conversion: +l(
|
|
449
|
+
conversion: +l(J)(e.modelValue.measurements[h].conversion),
|
|
450
450
|
unitSymbol: i.value || "base unit"
|
|
451
451
|
})
|
|
452
452
|
}, null, 8, ["disabled", "label", "model-value", "onUpdate:modelValue", "rules", "step", "helper-text"])
|
|
@@ -585,7 +585,7 @@ const Oe = { class: "flex flex-col gap-24" }, Ge = { class: "flex gap-24" }, Qe
|
|
|
585
585
|
}), at = { class: "flex flex-col py-8" }, rt = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, it = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, bt = /* @__PURE__ */ K({
|
|
586
586
|
__name: "UnitView",
|
|
587
587
|
setup(F) {
|
|
588
|
-
const c = O(), y = xe(), m = _e(), a = b(() => c.units), { createUnit: r, updateUnit: d } =
|
|
588
|
+
const c = O(), y = xe(), m = _e(), a = b(() => c.units), { createUnit: r, updateUnit: d } = W(), { unitDialogProps: n, unitViewLoading: p } = Ie(W()), { columnDefs: i } = Ke();
|
|
589
589
|
function t(M) {
|
|
590
590
|
M === "add" && r();
|
|
591
591
|
}
|
|
@@ -634,7 +634,7 @@ const Oe = { class: "flex flex-col gap-24" }, Ge = { class: "flex gap-24" }, Qe
|
|
|
634
634
|
onRowClick: l(d)
|
|
635
635
|
}, {
|
|
636
636
|
default: A((P) => {
|
|
637
|
-
var k, h, $, D, B, L,
|
|
637
|
+
var k, h, $, D, B, L, X, N, Z;
|
|
638
638
|
return [
|
|
639
639
|
s("div", at, [
|
|
640
640
|
s("div", rt, [
|
|
@@ -643,7 +643,7 @@ const Oe = { class: "flex flex-col gap-24" }, Ge = { class: "flex gap-24" }, Qe
|
|
|
643
643
|
props: (B = (D = P.name) == null ? void 0 : D.getContext) == null ? void 0 : B.call(D)
|
|
644
644
|
}, null, 8, ["render", "props"])
|
|
645
645
|
]),
|
|
646
|
-
s("div", it, V((
|
|
646
|
+
s("div", it, V((Z = (N = (X = (L = E.original.measurements) == null ? void 0 : L.map) == null ? void 0 : X.call(L, (re) => re.name)) == null ? void 0 : N.join) == null ? void 0 : Z.call(N, ", ")), 1)
|
|
647
647
|
])
|
|
648
648
|
];
|
|
649
649
|
}),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ref as D, defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import { useCoreStore as Ce, useI18n as
|
|
1
|
+
import { ref as D, defineComponent as j, watch as ee, onMounted as te, onUnmounted as $e, openBlock as W, createElementBlock as q, toRaw as we, reactive as Se, createElementVNode as g, toDisplayString as E, unref as u, createVNode as k, resolveComponent as N, createSlots as Te, withCtx as I, createTextVNode as Me, renderSlot as De, createBlock as z, createCommentVNode as ae, computed as $, isRef as Ve, normalizeClass as We, normalizeStyle as Pe } from "vue";
|
|
2
|
+
import { a8 as Re, aA as Ue, aB as Ee, i as Ne, D as _e, j as Z, f as G, aC as Le, at as Ie, aD as Be, p as L, c as qe, e as U, S as ze, u as je, L as Oe, O as Ge, P as Ke, Q as He, T as J } from "./app-BpzSrMFG.js";
|
|
3
|
+
import { useCoreStore as Ce, useI18n as O } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as Qe, useDialog as xe, useSnackbar as le, useProxiedModel as oe, useBreakpoints as Ye } from "@feedmepos/ui-library";
|
|
5
5
|
import { c as se, u as re } from "./googlemap-Dm8ERVai.js";
|
|
6
6
|
import { _ as Ze } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js";
|
|
@@ -82,7 +82,7 @@ function Xe(v, h) {
|
|
|
82
82
|
return;
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
|
-
const { t: a } =
|
|
85
|
+
const { t: a } = O(), n = [
|
|
86
86
|
{
|
|
87
87
|
accessorKey: "warehouse",
|
|
88
88
|
header: () => a("inventory.warehouse.table.warehouse"),
|
|
@@ -143,7 +143,7 @@ function Xe(v, h) {
|
|
|
143
143
|
}
|
|
144
144
|
return { columnDefs: n, formatRowData: i };
|
|
145
145
|
}
|
|
146
|
-
const eo = /* @__PURE__ */
|
|
146
|
+
const eo = /* @__PURE__ */ j({
|
|
147
147
|
__name: "GoogleMap",
|
|
148
148
|
props: {
|
|
149
149
|
markers: {
|
|
@@ -269,7 +269,7 @@ const eo = /* @__PURE__ */ O({
|
|
|
269
269
|
class: "map app-map"
|
|
270
270
|
}, null, 512));
|
|
271
271
|
}
|
|
272
|
-
}), oo = { class: "flex flex-col gap-24" }, to = { class: "flex flex-col gap-8" }, ao = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, lo = { class: "fm-typo-en-body-lg-600" }, so = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, ro = { class: "fm-typo-en-body-lg-600" }, no = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, uo = { class: "fm-typo-en-body-lg-600" }, io = /* @__PURE__ */
|
|
272
|
+
}), oo = { class: "flex flex-col gap-24" }, to = { class: "flex flex-col gap-8" }, ao = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, lo = { class: "fm-typo-en-body-lg-600" }, so = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, ro = { class: "fm-typo-en-body-lg-600" }, no = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, uo = { class: "fm-typo-en-body-lg-600" }, io = /* @__PURE__ */ j({
|
|
273
273
|
__name: "CoordinateDialog",
|
|
274
274
|
props: {
|
|
275
275
|
address: {
|
|
@@ -282,7 +282,7 @@ const eo = /* @__PURE__ */ O({
|
|
|
282
282
|
}
|
|
283
283
|
},
|
|
284
284
|
setup(v) {
|
|
285
|
-
const h = v, b = Qe(), a = re(), { t: n } =
|
|
285
|
+
const h = v, b = Qe(), a = re(), { t: n } = O(), i = Se(
|
|
286
286
|
G(h.coordinate ? h.coordinate : se.jb)
|
|
287
287
|
), r = D(""), l = Le(async function() {
|
|
288
288
|
r.value = await a.getFirstMatchingAddress(
|
|
@@ -334,7 +334,7 @@ function Ae([v, h]) {
|
|
|
334
334
|
function po({ lng: v, lat: h }) {
|
|
335
335
|
return [v, h];
|
|
336
336
|
}
|
|
337
|
-
const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1 }, vo = /* @__PURE__ */
|
|
337
|
+
const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1 }, vo = /* @__PURE__ */ j({
|
|
338
338
|
__name: "FmCoordinateInput",
|
|
339
339
|
props: {
|
|
340
340
|
address: {},
|
|
@@ -351,7 +351,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
351
351
|
},
|
|
352
352
|
emits: ["update:modelValue"],
|
|
353
353
|
setup(v, { emit: h }) {
|
|
354
|
-
const b = v, a = h, n = re(), i = xe(), r = le(), l = oe(b, "modelValue"), d = D(!1), { t: M } =
|
|
354
|
+
const b = v, a = h, n = re(), i = xe(), r = le(), l = oe(b, "modelValue"), d = D(!1), { t: M } = O();
|
|
355
355
|
function w(c) {
|
|
356
356
|
if (c != null && c[0] && (c != null && c[1]))
|
|
357
357
|
return M("inventory.formField.coordinate.longLat", [c[0].toFixed(3), c[1].toFixed(3)]);
|
|
@@ -452,7 +452,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
452
452
|
}), ho = { class: "flex flex-col gap-40" }, bo = { class: "flex flex-col gap-16" }, go = { class: "flex flex-col gap-8" }, wo = { class: "fm-typo-en-title-sm-600" }, Vo = { class: "grid grid-cols-2 gap-24" }, _o = { class: "flex flex-col gap-8" }, ko = { class: "fm-typo-en-title-sm-600" }, Ao = {
|
|
453
453
|
key: 0,
|
|
454
454
|
class: "flex flex-col gap-8"
|
|
455
|
-
}, Mo = { class: "fm-typo-en-title-sm-600" }, Co = { class: "flex flex-col gap-8" }, xo = { class: "fm-typo-en-title-sm-600" }, Fo = { class: "flex flex-col gap-16" }, $o = /* @__PURE__ */
|
|
455
|
+
}, Mo = { class: "fm-typo-en-title-sm-600" }, Co = { class: "flex flex-col gap-8" }, xo = { class: "fm-typo-en-title-sm-600" }, Fo = { class: "flex flex-col gap-16" }, $o = /* @__PURE__ */ j({
|
|
456
456
|
__name: "WarehouseForm",
|
|
457
457
|
props: {
|
|
458
458
|
modelValue: {},
|
|
@@ -460,7 +460,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
460
460
|
},
|
|
461
461
|
emits: ["update:modelValue", "validation-success"],
|
|
462
462
|
setup(v, { expose: h, emit: b }) {
|
|
463
|
-
const a = v, n = b, i = qe(), { t: r } =
|
|
463
|
+
const a = v, n = b, i = qe(), { t: r } = O(), l = $({
|
|
464
464
|
get() {
|
|
465
465
|
var o, e;
|
|
466
466
|
return ((e = (o = a.modelValue) == null ? void 0 : o.profile) == null ? void 0 : e.name) ?? "";
|
|
@@ -741,7 +741,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
741
741
|
}, 512);
|
|
742
742
|
};
|
|
743
743
|
}
|
|
744
|
-
}), So = { class: "flex gap-4" }, To = /* @__PURE__ */
|
|
744
|
+
}), So = { class: "flex gap-4" }, To = /* @__PURE__ */ j({
|
|
745
745
|
__name: "WarehouseDialog",
|
|
746
746
|
props: {
|
|
747
747
|
mode: {},
|
|
@@ -750,7 +750,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
750
750
|
},
|
|
751
751
|
emits: ["update:show", "submitted"],
|
|
752
752
|
setup(v, { expose: h, emit: b }) {
|
|
753
|
-
const a = v, n = b, i = D(!1), r = le(), { t: l } =
|
|
753
|
+
const a = v, n = b, i = D(!1), r = le(), { t: l } = O(), d = Fe(), M = $(() => {
|
|
754
754
|
switch (a.mode) {
|
|
755
755
|
case U.READ:
|
|
756
756
|
return "";
|
|
@@ -893,10 +893,10 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
893
893
|
}), Do = { class: "flex flex-col py-8" }, Wo = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Po = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ro = {
|
|
894
894
|
key: 0,
|
|
895
895
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
896
|
-
}, Uo = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary line-clamp-3" }, zo = /* @__PURE__ */
|
|
896
|
+
}, Uo = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary line-clamp-3" }, zo = /* @__PURE__ */ j({
|
|
897
897
|
__name: "WarehouseView",
|
|
898
898
|
setup(v) {
|
|
899
|
-
const h = Fe(), b =
|
|
899
|
+
const h = Fe(), b = je(), a = $(() => h.warehouses), n = xe(), i = le(), r = D(!1), { t: l } = O();
|
|
900
900
|
te(() => {
|
|
901
901
|
b._currentLocation && S();
|
|
902
902
|
}), ee([() => b._currentLocation], () => {
|
|
@@ -966,7 +966,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
966
966
|
r.value = !1;
|
|
967
967
|
}
|
|
968
968
|
}
|
|
969
|
-
const { breakpoints: m } = Ye(), f = $(() => m.value.xs || m.value.sm), A = $(() => f.value ? 10 : 20), B =
|
|
969
|
+
const { breakpoints: m } = Ye(), f = $(() => m.value.xs || m.value.sm), A = $(() => f.value ? 10 : 20), B = Oe();
|
|
970
970
|
return (V, o) => {
|
|
971
971
|
const e = N("FmTable");
|
|
972
972
|
return W(), z(Ge, {
|