@feedmepos/mf-inventory-portal 1.2.9 → 1.2.10-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{App-XpX30-FV.js → App-Bg2M5RwP.js} +1 -1
- package/dist/{ApprovalView-D2J7D_Nm.js → ApprovalView-C46UDXnc.js} +24 -24
- package/dist/{BindingsDialog-Uso69RV0.js → BindingsDialog-CtJjpbw-.js} +2 -2
- package/dist/{BindingsPicker-7w_Pih9R.js → BindingsPicker-B6Er5Lea.js} +1 -1
- package/dist/{BindingsTable-CbV4JqKs.js → BindingsTable-MPeTr_ip.js} +1 -1
- package/dist/{ClosingDraftView-Cs1hLPBv.js → ClosingDraftView-BaD3MLeG.js} +33 -33
- package/dist/{ClosingTemplateView-CzDxdTM8.js → ClosingTemplateView-C4z3GXwd.js} +3 -3
- package/dist/{DeliveryOrderPrintPreview-hVu8tti_.js → DeliveryOrderPrintPreview-BfafKFMa.js} +8 -8
- package/dist/{FmAdminBadge-UDCFElb7.js → FmAdminBadge-Dg5rl1fj.js} +4 -4
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CeEFXW2z.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BATVvC9u.js} +11 -11
- package/dist/{FmMultiselectDialog-Bevvx1r8.js → FmMultiselectDialog-DJ-dIe8C.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-C0mdy9Mc.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BBWaPrlm.js} +38 -38
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BKIf5UrZ.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-oaujHoaU.js} +1 -1
- package/dist/{IngredientGroupView-_eiXCYvr.js → IngredientGroupView-u4ubHtNF.js} +15 -15
- package/dist/{IngredientsView-okGkhfX0.js → IngredientsView-CXbJifY6.js} +831 -809
- package/dist/{IntegrationView-DYNRksif.js → IntegrationView-XEypfcAW.js} +137 -137
- package/dist/{InventoryBindingForm-DyFPXbNg.js → InventoryBindingForm-CETOb5Nj.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-1AvpT307.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DC52GJ2Y.js} +22 -22
- package/dist/{InventoryBindingSummary-BnzY__W8.js → InventoryBindingSummary-DbyJW8z0.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-iCRT5ZID.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BQWWQxaq.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CxhPTM5O.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BruydtsG.js} +9 -9
- package/dist/{PublishView-BGI8t6ZI.js → PublishView-Cl3IluMR.js} +12 -12
- package/dist/{PurchaseOrderPrintPreview-BY0m_m2t.js → PurchaseOrderPrintPreview-BG_uBL4o.js} +7 -7
- package/dist/{ReceiveRequestView-BN63OwrJ.js → ReceiveRequestView-BvGlUVTp.js} +191 -191
- package/dist/{RecipeView-C6SFIYEV.js → RecipeView-C-7XU5F8.js} +12 -12
- package/dist/{StockView-DxAqF_Uz.js → StockView-rYhlg4fr.js} +680 -665
- package/dist/SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-D0kASPO9.js +158 -0
- package/dist/{SupplierView-BGWP3TQ0.js → SupplierView-BoGoqUS-.js} +4 -4
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-Dr6Bst81.js → TransferDetails.vue_vue_type_script_setup_true_lang-D53vhWDq.js} +6 -6
- package/dist/{TransferTemplateView-CSMou2uQ.js → TransferTemplateView-DZIDXFp7.js} +143 -143
- package/dist/{UnitView-Dvn2OFBI.js → UnitView-CvHIFkue.js} +27 -27
- package/dist/{WarehouseView-DFIFxlqz.js → WarehouseView-Dh_WZz5L.js} +18 -18
- package/dist/{app-cExTkfVB.js → app-BT34Yv61.js} +9120 -9069
- package/dist/app.d.ts +6 -6
- package/dist/app.js +4 -4
- package/dist/{closing-template-CIbh7GpK.js → closing-template-JDCk0_lU.js} +1 -1
- package/dist/{decimal-DDB6xkYA.js → decimal-BTgTm2JD.js} +1 -1
- package/dist/{format-unit-display-C5nl2Pn9.js → format-unit-display-HHCA1rN3.js} +48 -48
- package/dist/{index-5McubZjo.js → index-Bz_lEYOD.js} +1 -1
- package/dist/{index-CYvmWIx7.js → index-CdamrmzX.js} +1 -1
- package/dist/{purchase-order-template-DqsMgrgI.js → purchase-order-template-DJiYiY6t.js} +1 -1
- package/dist/{stock-DzSlKGZm.js → stock-C8afHO4C.js} +1 -1
- package/dist/stores/integration/netsuite.d.ts +1 -0
- package/dist/{supplier-m9aBkFoK.js → supplier-C8RMKqQX.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-et1B0WDI.js → use-ingredient-select-dialog-fLK9yq-0.js} +1 -1
- package/dist/{use-inventory-binding-dialog-B7_YL7HE.js → use-inventory-binding-dialog--7tzpXgV.js} +1 -1
- package/dist/views/ingredients/components/ingredient-dialog/IngredientDialogProps.d.ts +1 -1
- package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +2 -0
- package/package.json +1 -1
- package/dist/StockForecast.vue_vue_type_style_index_0_lang-KLXSWvo5.js +0 -59
|
@@ -1,11 +1,11 @@
|
|
|
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
|
|
2
|
-
import { a as O, e as U, S as pe, h as ve, D as ne, i as z, f as se,
|
|
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, h as ve, D as ne, i as z, f as se, Z as fe, o as j, A as ye, k as Z, $ as be, a0 as ge, v as oe, u as xe, b as _e, K as he, L as Ve, O as Ue, P as we, Q as Ce } from "./app-BT34Yv61.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
|
-
import { useI18n as
|
|
7
|
-
import { F as De } from "./decimal-
|
|
8
|
-
import { _ as Ae } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { useI18n as G } from "@feedmepos/mf-common";
|
|
7
|
+
import { F as De } from "./decimal-BTgTm2JD.js";
|
|
8
|
+
import { _ as Ae } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BQWWQxaq.js";
|
|
9
9
|
const Re = { class: "flex flex-col gap-8" }, Me = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "flex flex-col"
|
|
@@ -51,7 +51,7 @@ const Re = { class: "flex flex-col gap-8" }, Me = {
|
|
|
51
51
|
s("div", Te, V((t = i.bindedIngredient) != null && t.length ? "Convert binding" : "Item unit"), 1)
|
|
52
52
|
]);
|
|
53
53
|
}), 128))
|
|
54
|
-
])) :
|
|
54
|
+
])) : Y("", !0),
|
|
55
55
|
r.value.length ? (v(), w("div", Be, [
|
|
56
56
|
p[1] || (p[1] = s("div", { 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" }, [
|
|
57
57
|
s("div", { class: "flex-1 py-8 px-16" }, "Recipe"),
|
|
@@ -70,7 +70,7 @@ const Re = { class: "flex flex-col gap-8" }, Me = {
|
|
|
70
70
|
s("div", Ne, V((t = i.bindedIngredient) == null ? void 0 : t.slice(0, 3).map((C) => C.code).join(", ")) + " " + V(i.bindedIngredient && ((u = i.bindedIngredient) == null ? void 0 : u.length) > 3 ? `and ${((g = i.bindedIngredient) == null ? void 0 : g.length) - 3} more` : ""), 1)
|
|
71
71
|
]);
|
|
72
72
|
}), 128))
|
|
73
|
-
])) :
|
|
73
|
+
])) : Y("", !0),
|
|
74
74
|
d.value.length ? (v(), w("div", ze, [
|
|
75
75
|
p[2] || (p[2] = s("div", { 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" }, [
|
|
76
76
|
s("div", { class: "flex-1 py-8 px-16" }, "Menu"),
|
|
@@ -89,10 +89,10 @@ const Re = { class: "flex flex-col gap-8" }, Me = {
|
|
|
89
89
|
s("div", qe, V((t = i.bindedIngredient) == null ? void 0 : t.slice(0, 3).map((C) => C.code).join(", ")) + " " + V(i.bindedIngredient && ((u = i.bindedIngredient) == null ? void 0 : u.length) > 3 ? `and ${((g = i.bindedIngredient) == null ? void 0 : g.length) - 3} more` : ""), 1)
|
|
90
90
|
]);
|
|
91
91
|
}), 128))
|
|
92
|
-
])) :
|
|
92
|
+
])) : Y("", !0)
|
|
93
93
|
]));
|
|
94
94
|
}
|
|
95
|
-
}),
|
|
95
|
+
}), J = 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 } = J(), { 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" },
|
|
235
|
+
const Oe = { class: "flex flex-col gap-24" }, Ge = { class: "flex gap-24" }, Qe = { class: "flex-1" }, Ye = { class: "flex-1" }, Ze = { class: "flex" }, Je = { class: "flex items-center" }, We = { class: "fm-typo-en-body-lg-600 flex-grow" }, Xe = { 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: {},
|
|
@@ -241,7 +241,7 @@ const Oe = { class: "flex flex-col gap-24" }, Ye = { class: "flex gap-24" }, Ge
|
|
|
241
241
|
},
|
|
242
242
|
emits: ["update:modelValue", "click:submit"],
|
|
243
243
|
setup(F, { expose: c, emit: y }) {
|
|
244
|
-
const m = F, a = y, { t: r } =
|
|
244
|
+
const m = F, a = y, { t: r } = G();
|
|
245
245
|
function d() {
|
|
246
246
|
a("click:submit");
|
|
247
247
|
}
|
|
@@ -335,7 +335,7 @@ const Oe = { class: "flex flex-col gap-24" }, Ye = { class: "flex gap-24" }, Ge
|
|
|
335
335
|
(o = (e = S.value) == null ? void 0 : e.resetInputs) == null || o.call(e);
|
|
336
336
|
}
|
|
337
337
|
}), (e, o) => {
|
|
338
|
-
const x = I("FmTextField"), M = I("FmStepperField"), _ = I("FmButton"),
|
|
338
|
+
const x = I("FmTextField"), M = I("FmStepperField"), _ = I("FmButton"), Q = I("FmCard"), E = I("FmForm");
|
|
339
339
|
return v(), T(E, {
|
|
340
340
|
ref_key: "formRef",
|
|
341
341
|
ref: S,
|
|
@@ -346,8 +346,8 @@ const Oe = { class: "flex flex-col gap-24" }, Ye = { class: "flex gap-24" }, Ge
|
|
|
346
346
|
var P;
|
|
347
347
|
return [
|
|
348
348
|
s("div", Oe, [
|
|
349
|
-
s("div",
|
|
350
|
-
s("div",
|
|
349
|
+
s("div", Ge, [
|
|
350
|
+
s("div", Qe, [
|
|
351
351
|
f(x, {
|
|
352
352
|
disabled: e.disabled,
|
|
353
353
|
label: l(r)("inventory.unit.name"),
|
|
@@ -357,7 +357,7 @@ const Oe = { class: "flex flex-col gap-24" }, Ye = { class: "flex gap-24" }, Ge
|
|
|
357
357
|
"label-mark": "required"
|
|
358
358
|
}, null, 8, ["disabled", "label", "modelValue", "rules"])
|
|
359
359
|
]),
|
|
360
|
-
s("div",
|
|
360
|
+
s("div", Ye, [
|
|
361
361
|
f(x, {
|
|
362
362
|
disabled: e.disabled,
|
|
363
363
|
label: l(r)("inventory.unit.symbol"),
|
|
@@ -379,7 +379,7 @@ const Oe = { class: "flex flex-col gap-24" }, Ye = { class: "flex gap-24" }, Ge
|
|
|
379
379
|
}, null, 8, ["disabled", "label", "modelValue", "rules"])
|
|
380
380
|
])
|
|
381
381
|
]),
|
|
382
|
-
s("div",
|
|
382
|
+
s("div", Ze, [
|
|
383
383
|
f(_, {
|
|
384
384
|
disabled: e.disabled,
|
|
385
385
|
type: "button",
|
|
@@ -389,13 +389,13 @@ const Oe = { class: "flex flex-col gap-24" }, Ye = { class: "flex gap-24" }, Ge
|
|
|
389
389
|
onClick: g
|
|
390
390
|
}, null, 8, ["disabled", "label"])
|
|
391
391
|
]),
|
|
392
|
-
(v(!0), w(q, null, H((P = e.modelValue) == null ? void 0 : P.measurements, (k, h) => (v(), T(
|
|
392
|
+
(v(!0), w(q, null, H((P = e.modelValue) == null ? void 0 : P.measurements, (k, h) => (v(), T(Q, {
|
|
393
393
|
class: "flex flex-col gap-16 p-16",
|
|
394
394
|
variant: "outlined",
|
|
395
395
|
key: k.id
|
|
396
396
|
}, {
|
|
397
397
|
default: A(() => [
|
|
398
|
-
s("div",
|
|
398
|
+
s("div", Je, [
|
|
399
399
|
s("div", We, V(l(r)("inventory.unit.measurement.measurementDefault", [h + 1])), 1),
|
|
400
400
|
f(_, {
|
|
401
401
|
disabled: e.disabled,
|
|
@@ -432,7 +432,7 @@ const Oe = { class: "flex flex-col gap-24" }, Ye = { class: "flex gap-24" }, Ge
|
|
|
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(Z)(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" }, Ye = { class: "flex gap-24" }, Ge
|
|
|
443
443
|
} : D
|
|
444
444
|
),
|
|
445
445
|
rules: [l(ge)(0)],
|
|
446
|
-
step: +l(
|
|
446
|
+
step: +l(Z)({ 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(Z)(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"])
|
|
@@ -469,7 +469,7 @@ const Oe = { class: "flex flex-col gap-24" }, Ye = { class: "flex gap-24" }, Ge
|
|
|
469
469
|
},
|
|
470
470
|
emits: ["update:show"],
|
|
471
471
|
setup(F) {
|
|
472
|
-
const c = F, y = O(), m = ae(), { t: a } =
|
|
472
|
+
const c = F, y = O(), m = ae(), { t: a } = G(), r = le(c, "show"), d = le(c, "unit"), n = b(() => {
|
|
473
473
|
switch (c.mode) {
|
|
474
474
|
case U.READ:
|
|
475
475
|
return "";
|
|
@@ -585,13 +585,13 @@ const Oe = { class: "flex flex-col gap-24" }, Ye = { class: "flex gap-24" }, Ge
|
|
|
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 } = J(), { unitDialogProps: n, unitViewLoading: p } = Ie(J()), { columnDefs: i } = Ke();
|
|
589
589
|
function t(M) {
|
|
590
590
|
M === "add" && r();
|
|
591
591
|
}
|
|
592
|
-
const u = R(""), g = b(() => p.value), { breakpoints: C } = ke(), S = b(() => C.value.xs || C.value.sm), e = b(() => S.value ? 10 : 20), o = he(), { t: x } =
|
|
592
|
+
const u = R(""), g = b(() => p.value), { breakpoints: C } = ke(), S = b(() => C.value.xs || C.value.sm), e = b(() => S.value ? 10 : 20), o = he(), { t: x } = G();
|
|
593
593
|
return (M, _) => {
|
|
594
|
-
const
|
|
594
|
+
const Q = I("FmTable");
|
|
595
595
|
return v(), T(Ve, {
|
|
596
596
|
title: l(x)("inventory.unit.title"),
|
|
597
597
|
actions: l(m).isEnabled ? [] : [
|
|
@@ -619,7 +619,7 @@ const Oe = { class: "flex flex-col gap-24" }, Ye = { class: "flex gap-24" }, Ge
|
|
|
619
619
|
search: u.value,
|
|
620
620
|
"onUpdate:search": _[0] || (_[0] = (E) => u.value = E)
|
|
621
621
|
}, null, 8, ["search"]),
|
|
622
|
-
f(
|
|
622
|
+
f(Q, {
|
|
623
623
|
style: ue(l(o).tableHeight),
|
|
624
624
|
"column-defs": l(i),
|
|
625
625
|
"row-data": a.value,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref as D, defineComponent as O, 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 {
|
|
2
|
+
import { a7 as Re, az as Ue, aA as Ee, h as Ne, D as _e, i as Z, f as G, aB as Le, as as Ie, aC as Be, o as L, c as qe, e as U, S as ze, u as Oe, K as je, L as Ge, O as Ke, P as He, Q as J } from "./app-BT34Yv61.js";
|
|
3
3
|
import { useCoreStore as Ce, useI18n as j } from "@feedmepos/mf-common";
|
|
4
|
-
import { useDialogChild as
|
|
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
|
-
import { _ as
|
|
6
|
+
import { _ as Ze } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js";
|
|
7
7
|
const X = Re((v, h) => {
|
|
8
8
|
const b = Ce();
|
|
9
9
|
return {
|
|
@@ -29,12 +29,12 @@ const X = Re((v, h) => {
|
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
});
|
|
32
|
-
function
|
|
32
|
+
function Je() {
|
|
33
33
|
return {
|
|
34
34
|
warehouses: []
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
|
-
const ke = D(
|
|
37
|
+
const ke = D(Je());
|
|
38
38
|
function Fe() {
|
|
39
39
|
return {
|
|
40
40
|
// state
|
|
@@ -73,11 +73,11 @@ function Fe() {
|
|
|
73
73
|
}
|
|
74
74
|
function Xe(v, h) {
|
|
75
75
|
function b(r, l) {
|
|
76
|
-
if (r ===
|
|
76
|
+
if (r === Z.Edit) {
|
|
77
77
|
v(G(l));
|
|
78
78
|
return;
|
|
79
79
|
}
|
|
80
|
-
if (r ===
|
|
80
|
+
if (r === Z.Delete) {
|
|
81
81
|
h(G(l));
|
|
82
82
|
return;
|
|
83
83
|
}
|
|
@@ -108,7 +108,7 @@ function Xe(v, h) {
|
|
|
108
108
|
header: "",
|
|
109
109
|
cell(r) {
|
|
110
110
|
return Ne(
|
|
111
|
-
[_e[
|
|
111
|
+
[_e[Z.Edit], _e[Z.Delete]],
|
|
112
112
|
(l) => {
|
|
113
113
|
b(l, r.row.original.original);
|
|
114
114
|
}
|
|
@@ -282,7 +282,7 @@ const eo = /* @__PURE__ */ O({
|
|
|
282
282
|
}
|
|
283
283
|
},
|
|
284
284
|
setup(v) {
|
|
285
|
-
const h = v, b =
|
|
285
|
+
const h = v, b = Qe(), a = re(), { t: n } = j(), 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(
|
|
@@ -729,7 +729,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
729
729
|
])
|
|
730
730
|
]),
|
|
731
731
|
g("div", null, [
|
|
732
|
-
k(
|
|
732
|
+
k(Ze, {
|
|
733
733
|
entity: "warehouse",
|
|
734
734
|
modelValue: B.value,
|
|
735
735
|
"onUpdate:modelValue": e[12] || (e[12] = (p) => B.value = p)
|
|
@@ -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 } =
|
|
969
|
+
const { breakpoints: m } = Ye(), f = $(() => m.value.xs || m.value.sm), A = $(() => f.value ? 10 : 20), B = je();
|
|
970
970
|
return (V, o) => {
|
|
971
971
|
const e = N("FmTable");
|
|
972
972
|
return W(), z(Ge, {
|
|
@@ -1012,31 +1012,31 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
1012
1012
|
onRowClick: (s) => w(s.original)
|
|
1013
1013
|
}, {
|
|
1014
1014
|
default: I((s) => {
|
|
1015
|
-
var y, _, p, P, K, ne, ue, ie, H, de, ce, pe, me, fe,
|
|
1015
|
+
var y, _, p, P, K, ne, ue, ie, H, de, ce, pe, me, fe, Q, ye, ve, he, be, Y, ge;
|
|
1016
1016
|
return [
|
|
1017
1017
|
g("div", Do, [
|
|
1018
1018
|
g("div", Wo, [
|
|
1019
|
-
k(u(
|
|
1019
|
+
k(u(J), {
|
|
1020
1020
|
render: (p = (_ = (y = s.warehouse) == null ? void 0 : y.column) == null ? void 0 : _.columnDef) == null ? void 0 : p.cell,
|
|
1021
1021
|
props: (K = (P = s.warehouse) == null ? void 0 : P.getContext) == null ? void 0 : K.call(P)
|
|
1022
1022
|
}, null, 8, ["render", "props"])
|
|
1023
1023
|
]),
|
|
1024
1024
|
g("div", Po, [
|
|
1025
|
-
k(u(
|
|
1025
|
+
k(u(J), {
|
|
1026
1026
|
render: (ie = (ue = (ne = s.contact) == null ? void 0 : ne.column) == null ? void 0 : ue.columnDef) == null ? void 0 : ie.cell,
|
|
1027
1027
|
props: (de = (H = s.contact) == null ? void 0 : H.getContext) == null ? void 0 : de.call(H)
|
|
1028
1028
|
}, null, 8, ["render", "props"])
|
|
1029
1029
|
]),
|
|
1030
1030
|
(ce = t.original) != null && ce.email ? (W(), q("div", Ro, [
|
|
1031
|
-
k(u(
|
|
1031
|
+
k(u(J), {
|
|
1032
1032
|
render: (fe = (me = (pe = s.email) == null ? void 0 : pe.column) == null ? void 0 : me.columnDef) == null ? void 0 : fe.cell,
|
|
1033
|
-
props: (ye = (
|
|
1033
|
+
props: (ye = (Q = s.email) == null ? void 0 : Q.getContext) == null ? void 0 : ye.call(Q)
|
|
1034
1034
|
}, null, 8, ["render", "props"])
|
|
1035
1035
|
])) : ae("", !0),
|
|
1036
1036
|
g("div", Uo, [
|
|
1037
|
-
k(u(
|
|
1037
|
+
k(u(J), {
|
|
1038
1038
|
render: (be = (he = (ve = s.address) == null ? void 0 : ve.column) == null ? void 0 : he.columnDef) == null ? void 0 : be.cell,
|
|
1039
|
-
props: (ge = (
|
|
1039
|
+
props: (ge = (Y = s.address) == null ? void 0 : Y.getContext) == null ? void 0 : ge.call(Y)
|
|
1040
1040
|
}, null, 8, ["render", "props"])
|
|
1041
1041
|
])
|
|
1042
1042
|
])
|