@feedmepos/mf-inventory-portal 1.2.30-dev.1 → 1.2.31-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-kX4bqoEe.js → App-DfKh34ES.js} +43 -41
- package/dist/{ApprovalView-DCNKqVE2.js → ApprovalView-DyoKsEqh.js} +34 -28
- package/dist/{BindingsDialog-d7f1f8gf.js → BindingsDialog-7rGLzkyA.js} +8 -8
- package/dist/{BindingsPicker-2HJOx0QW.js → BindingsPicker-Cj1DvhQN.js} +6 -5
- package/dist/{BindingsTable-CPAjxOZG.js → BindingsTable-CAreptqr.js} +28 -24
- package/dist/{ClosingDraftView-CUng41eo.js → ClosingDraftView-DoDGz9Y8.js} +183 -175
- package/dist/{ClosingHistoryView-CcGc2NwU.js → ClosingHistoryView-BJSE7ZSv.js} +43 -41
- package/dist/{ClosingTemplateView-D8IAdhDb.js → ClosingTemplateView-Dr2eJk4h.js} +94 -76
- package/dist/{DeliveryOrderPrintPreview-BsM-CCc5.js → DeliveryOrderPrintPreview-BzYLm6J6.js} +15 -14
- package/dist/FmDroppableField-J0xUsOTV.js +154 -0
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-cuggJ5Xd.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-16r_hkBE.js} +74 -72
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Csesow4V.js +279 -0
- package/dist/FmMultiselectDialog-BGhSjgbj.js +597 -0
- package/dist/{FmMultiselectDialog-BGbrqXUF.js → FmMultiselectDialog-DUrpqAkF.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-isogcN1O.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CSv7osJW.js} +51 -49
- package/dist/{ImportView-wAVrMEwL.js → ImportView-BAkyTU_3.js} +81 -74
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DVUF4I2Q.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-z0IAsrH_.js} +5 -5
- package/dist/{IngredientGroupView-BZczeXdL.js → IngredientGroupView-D7gurA7T.js} +73 -65
- package/dist/{IngredientsView-D5N5Y1ZY.js → IngredientsView-hwfpMtTX.js} +358 -345
- package/dist/{IntegrationView-Hrslmuc1.js → IntegrationView-DwqzQ6E3.js} +1618 -1593
- package/dist/{InventoryBindingForm-DH6wgxOG.js → InventoryBindingForm-CwjM6Rqk.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Drr5vD6f.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BPr8PDwu.js} +41 -40
- package/dist/{InventoryBindingSummary-BU1ehpQZ.js → InventoryBindingSummary-B7UFFMkm.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-1ueC4GfZ.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Djo2b2Ix.js} +5 -5
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-FHcU1zZt.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BSgGGiN6.js} +22 -21
- package/dist/{PublishView-CQtj0f31.js → PublishView-CA9gFV_r.js} +26 -23
- package/dist/{PurchaseOrderPrintPreview-BQyXtHST.js → PurchaseOrderPrintPreview-BeHd82Y0.js} +10 -9
- package/dist/{ReceiveRequestView-Dm-h_SrY.js → ReceiveRequestView-DEthRdM1.js} +472 -456
- package/dist/{RecipeView-DNNRvr1w.js → RecipeView-D45gkYHY.js} +73 -64
- package/dist/SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js +251 -0
- package/dist/{StockView-CaOm5BCx.js → StockView-COx7A4Ac.js} +292 -282
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Z91XRszD.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DX35xDkm.js} +1 -1
- package/dist/{SupplierView-JSII9qwL.js → SupplierView-DHM3dJMZ.js} +92 -80
- package/dist/SystemTrailDialog.vue_vue_type_script_setup_true_lang-Bg2K2ULw.js +177 -0
- package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js +135 -0
- package/dist/TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CyMEGFh5.js +123 -0
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-Mehd4lGs.js → TransferDetails.vue_vue_type_script_setup_true_lang-CVm2bXic.js} +318 -305
- package/dist/{TransferTemplateView-DyCpNKJd.js → TransferTemplateView-BtYozLuk.js} +228 -216
- package/dist/{UnitView-CqN7mlJ2.js → UnitView-B4mqodQa.js} +70 -63
- package/dist/{WarehouseView-gFWD-m8e.js → WarehouseView-CjDM8L_V.js} +123 -114
- package/dist/WastageTemplateView-Be4Y_zV8.js +2288 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/api/netsuite.d.ts +9 -3
- package/dist/app-DYsP0gKj.js +64121 -0
- package/dist/app-rgirz_52.js +8024 -0
- package/dist/app.js +6 -6
- package/dist/closing-template-BVy1ga2g.js +117 -0
- package/dist/date2-BO7HiZTk.js +116 -0
- package/dist/dayjs.min-HNt4C1ja.js +282 -0
- package/dist/{decimal-DfF_g5rc.js → decimal-BJ8rKm1R.js} +4 -3
- package/dist/defineDeepModel-CidpVmK7.js +19 -0
- package/dist/duplicate-template-C25Z0lvq.js +34 -0
- package/dist/feature-DCia3aqG.js +20162 -0
- package/dist/form-mode.enum-BKiNVH6A.js +4 -0
- package/dist/format-time-from-id-BPws326b.js +15 -0
- package/dist/{format-unit-display-ivAljvlo.js → format-unit-display-C2P3mS8l.js} +308 -297
- package/dist/{import-export.helper-B2MWv9v7.js → import-export.helper-Dt6ZMAPT.js} +56 -52
- package/dist/{index-DZaT0ZaL.js → index-6zxXdF-V.js} +1 -1
- package/dist/index-BjUDHtA2.js +45 -0
- package/dist/{index-BbhuWHyh.js → index-tZj47B-j.js} +16 -14
- package/dist/lodash-DLMgBu6M.js +3678 -0
- package/dist/netsuite-BSMLXIQa.js +4979 -0
- package/dist/{purchase-order-template-DdybMC_P.js → purchase-order-template-D5NGCbI2.js} +1 -1
- package/dist/router/shared.spec.d.ts +1 -0
- package/dist/row-action.enum-BcW_L_nE.js +67 -0
- package/dist/rules-BiaGzhvQ.js +201 -0
- package/dist/{stock-BYagIdsj.js → stock-DOCQ91Jh.js} +1 -1
- package/dist/{stock-V4ciPiBe.js → stock-Ty-89Ap8.js} +11 -10
- package/dist/stores/integration/netsuite.d.ts +5 -1
- package/dist/style.css +1 -1
- package/dist/{supplier-CgtB1I9I.js → supplier-Dxb5ULjF.js} +27 -26
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-BIQovyZX.js → use-ingredient-select-dialog-BI0yIG6A.js} +4 -3
- package/dist/{use-inventory-binding-dialog-DyjicXgc.js → use-inventory-binding-dialog-CbZC-VuL.js} +4 -3
- package/dist/use-template-enabled-locations-2-Dhttpl0B.js +111 -0
- package/dist/views/adjustment-template/wastage-template/table.d.ts +1 -1
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +1 -1
- package/dist/views/integration/components/netsuite/business/BusinessNetSuiteSideSheet.vue.d.ts +6 -2
- package/dist/vue-i18n-Cqx7gNJF.js +2365 -0
- package/dist/xlsx-ex8Bmftq.js +24004 -0
- package/dist/xlsx.util-C8YXEqEl.js +78 -0
- package/package.json +2 -2
- package/dist/app-CnQ49Lyb.js +0 -131483
|
@@ -1,11 +1,20 @@
|
|
|
1
|
-
import { ref as D, defineComponent as j, watch as ee, onMounted as te, onUnmounted as $e, openBlock as W, createElementBlock as
|
|
2
|
-
import {
|
|
3
|
-
import { useCoreStore as
|
|
4
|
-
import {
|
|
1
|
+
import { ref as D, defineComponent as j, watch as ee, onMounted as te, onUnmounted as $e, openBlock as W, createElementBlock as B, 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 Re } from "vue";
|
|
2
|
+
import { o as Pe, p as Ue, q as Ee, c as G, r as Ne, S as Le, u as Ie } from "./app-DYsP0gKj.js";
|
|
3
|
+
import { useCoreStore as Fe, useI18n as O } from "@feedmepos/mf-common";
|
|
4
|
+
import { D as _e, R as J } from "./row-action.enum-BcW_L_nE.js";
|
|
5
|
+
import { c as qe, _ as Be, F as Q } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
6
|
+
import { u as ze, _ as je } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
|
|
7
|
+
import { F as U } from "./form-mode.enum-BKiNVH6A.js";
|
|
8
|
+
import { useDialogChild as Oe, useDialog as Ce, useSnackbar as le, useProxiedModel as oe, useBreakpoints as Ge } from "@feedmepos/ui-library";
|
|
9
|
+
import { R as L } from "./rules-BiaGzhvQ.js";
|
|
5
10
|
import { c as se, u as re } from "./googlemap-Dm8ERVai.js";
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
11
|
+
import { d as Ke } from "./index-BjUDHtA2.js";
|
|
12
|
+
import { _ as He } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
+
import { _ as Ye } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js";
|
|
14
|
+
import { u as Ze } from "./feature-DCia3aqG.js";
|
|
15
|
+
import { _ as Je } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Csesow4V.js";
|
|
16
|
+
const X = Pe((v, h) => {
|
|
17
|
+
const b = Fe();
|
|
9
18
|
return {
|
|
10
19
|
async readWarehouses() {
|
|
11
20
|
var i;
|
|
@@ -73,11 +82,11 @@ function xe() {
|
|
|
73
82
|
}
|
|
74
83
|
function Xe(v, h) {
|
|
75
84
|
function b(r, l) {
|
|
76
|
-
if (r ===
|
|
85
|
+
if (r === J.Edit) {
|
|
77
86
|
v(G(l));
|
|
78
87
|
return;
|
|
79
88
|
}
|
|
80
|
-
if (r ===
|
|
89
|
+
if (r === J.Delete) {
|
|
81
90
|
h(G(l));
|
|
82
91
|
return;
|
|
83
92
|
}
|
|
@@ -107,8 +116,8 @@ function Xe(v, h) {
|
|
|
107
116
|
id: "action",
|
|
108
117
|
header: "",
|
|
109
118
|
cell(r) {
|
|
110
|
-
return
|
|
111
|
-
[_e[
|
|
119
|
+
return qe(
|
|
120
|
+
[_e[J.Edit], _e[J.Delete]],
|
|
112
121
|
(l) => {
|
|
113
122
|
b(l, r.row.original.original);
|
|
114
123
|
}
|
|
@@ -187,26 +196,26 @@ const eo = /* @__PURE__ */ j({
|
|
|
187
196
|
const p = i.maps.event.addListener(s, y, _);
|
|
188
197
|
d.push(p);
|
|
189
198
|
}
|
|
190
|
-
const
|
|
199
|
+
const C = D([]);
|
|
191
200
|
function T(s, y, _) {
|
|
192
201
|
w(s, y, _);
|
|
193
202
|
}
|
|
194
203
|
function x(s) {
|
|
195
|
-
|
|
204
|
+
P(null), C.value = s.map((y, _) => {
|
|
196
205
|
const p = new i.maps.Marker({
|
|
197
206
|
position: y,
|
|
198
207
|
draggable: !0
|
|
199
208
|
});
|
|
200
|
-
return T(p, "dragend", (
|
|
201
|
-
n("marker-change", { index: _, position: M(
|
|
209
|
+
return T(p, "dragend", (R) => {
|
|
210
|
+
n("marker-change", { index: _, position: M(R) });
|
|
202
211
|
}), p;
|
|
203
|
-
}),
|
|
212
|
+
}), P(l.value);
|
|
204
213
|
}
|
|
205
|
-
function
|
|
206
|
-
|
|
214
|
+
function P(s) {
|
|
215
|
+
C.value.map((y) => we(y).setMap(s));
|
|
207
216
|
}
|
|
208
217
|
const c = D([]);
|
|
209
|
-
function
|
|
218
|
+
function F(s, y, _) {
|
|
210
219
|
w(s, y, _);
|
|
211
220
|
}
|
|
212
221
|
function S(s, y, _) {
|
|
@@ -223,10 +232,10 @@ const eo = /* @__PURE__ */ j({
|
|
|
223
232
|
n("polygon-change", { index: s, path: y });
|
|
224
233
|
}
|
|
225
234
|
function A(s, y) {
|
|
226
|
-
const p = m(s).filter((
|
|
235
|
+
const p = m(s).filter((R, K) => K !== y);
|
|
227
236
|
n("polygon-change", { index: s, path: p });
|
|
228
237
|
}
|
|
229
|
-
function
|
|
238
|
+
function q(s, y) {
|
|
230
239
|
y.vertex !== void 0 ? A(s, y.vertex) : n("polygon-right-click", s);
|
|
231
240
|
}
|
|
232
241
|
function V(s) {
|
|
@@ -238,8 +247,8 @@ const eo = /* @__PURE__ */ j({
|
|
|
238
247
|
fillOpacity: 0.5,
|
|
239
248
|
editable: a.editable
|
|
240
249
|
});
|
|
241
|
-
return
|
|
242
|
-
S(
|
|
250
|
+
return F(p, "contextmenu", (R) => q(_, R)), p.getPaths().forEach((R) => {
|
|
251
|
+
S(R, "insert_at", () => f(_)), S(R, "set_at", () => f(_));
|
|
243
252
|
}), p;
|
|
244
253
|
}), o(l.value);
|
|
245
254
|
}
|
|
@@ -263,7 +272,7 @@ const eo = /* @__PURE__ */ j({
|
|
|
263
272
|
!r.value || !i || (t(), x(a.markers), V(a.polygons));
|
|
264
273
|
}), $e(() => {
|
|
265
274
|
d.forEach((s) => s.remove());
|
|
266
|
-
}), (s, y) => (W(),
|
|
275
|
+
}), (s, y) => (W(), B("div", {
|
|
267
276
|
ref_key: "mapRef",
|
|
268
277
|
ref: r,
|
|
269
278
|
class: "map app-map"
|
|
@@ -282,9 +291,9 @@ const eo = /* @__PURE__ */ j({
|
|
|
282
291
|
}
|
|
283
292
|
},
|
|
284
293
|
setup(v) {
|
|
285
|
-
const h = v, b =
|
|
294
|
+
const h = v, b = Oe(), a = re(), { t: n } = O(), i = Se(
|
|
286
295
|
G(h.coordinate ? h.coordinate : se.jb)
|
|
287
|
-
), r = D(""), l =
|
|
296
|
+
), r = D(""), l = Ke(async function() {
|
|
288
297
|
r.value = await a.getFirstMatchingAddress(
|
|
289
298
|
i.lat,
|
|
290
299
|
i.lng
|
|
@@ -297,7 +306,7 @@ const eo = /* @__PURE__ */ j({
|
|
|
297
306
|
i.lat = w.lat, i.lng = w.lng, b.emitData(G(i)), l();
|
|
298
307
|
}
|
|
299
308
|
const M = D();
|
|
300
|
-
return (w,
|
|
309
|
+
return (w, C) => (W(), B("div", oo, [
|
|
301
310
|
g("div", to, [
|
|
302
311
|
g("div", null, [
|
|
303
312
|
g("span", ao, E(u(n)("inventory.formField.coordinate.address")) + ": ", 1),
|
|
@@ -320,11 +329,11 @@ const eo = /* @__PURE__ */ j({
|
|
|
320
329
|
center: i,
|
|
321
330
|
markers: [i],
|
|
322
331
|
onMarkerChange: d,
|
|
323
|
-
onMapClick:
|
|
332
|
+
onMapClick: C[0] || (C[0] = (T) => d({ position: T }))
|
|
324
333
|
}, null, 8, ["center", "markers"])
|
|
325
334
|
]));
|
|
326
335
|
}
|
|
327
|
-
}), co = /* @__PURE__ */
|
|
336
|
+
}), co = /* @__PURE__ */ He(io, [["__scopeId", "data-v-272f5e8b"]]);
|
|
328
337
|
function Ae([v, h]) {
|
|
329
338
|
return {
|
|
330
339
|
lat: h,
|
|
@@ -351,14 +360,14 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
351
360
|
},
|
|
352
361
|
emits: ["update:modelValue"],
|
|
353
362
|
setup(v, { emit: h }) {
|
|
354
|
-
const b = v, a = h, n = re(), i =
|
|
363
|
+
const b = v, a = h, n = re(), i = Ce(), r = le(), l = oe(b, "modelValue"), d = D(!1), { t: M } = O();
|
|
355
364
|
function w(c) {
|
|
356
365
|
if (c != null && c[0] && (c != null && c[1]))
|
|
357
366
|
return M("inventory.formField.coordinate.longLat", [c[0].toFixed(3), c[1].toFixed(3)]);
|
|
358
367
|
}
|
|
359
|
-
async function
|
|
368
|
+
async function C(c) {
|
|
360
369
|
var f, A;
|
|
361
|
-
const
|
|
370
|
+
const F = b.modelValue, S = !F && ((f = b.address) != null && f.formatted) ? await n.getFirstMatchingCoordinate(b.address.formatted) : null, m = F ? Ae(F) : S ? Ae(S) : se.jb;
|
|
362
371
|
i.open({
|
|
363
372
|
title: b.dialogTitle ?? b.label ?? M("inventory.formField.coordinate.pinLocation"),
|
|
364
373
|
closeButton: !0,
|
|
@@ -388,15 +397,15 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
388
397
|
});
|
|
389
398
|
return;
|
|
390
399
|
}
|
|
391
|
-
|
|
400
|
+
C(T);
|
|
392
401
|
}
|
|
393
402
|
}
|
|
394
|
-
function
|
|
403
|
+
function P() {
|
|
395
404
|
a("update:modelValue", null);
|
|
396
405
|
}
|
|
397
|
-
return (c,
|
|
406
|
+
return (c, F) => {
|
|
398
407
|
const S = N("FmField"), m = N("FmButton"), f = N("FmFormGroup");
|
|
399
|
-
return W(),
|
|
408
|
+
return W(), B("div", mo, [
|
|
400
409
|
k(f, {
|
|
401
410
|
class: "flex-1",
|
|
402
411
|
"model-value": u(l),
|
|
@@ -409,20 +418,20 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
409
418
|
focused: d.value,
|
|
410
419
|
"helper-text": c.helperText,
|
|
411
420
|
"helper-state": c.helperState,
|
|
412
|
-
onClick:
|
|
421
|
+
onClick: F[0] || (F[0] = (A) => x())
|
|
413
422
|
}, Te({
|
|
414
|
-
default:
|
|
415
|
-
c.modelValue && c.modelValue[0] && c.modelValue[1] ? (W(),
|
|
423
|
+
default: I(({ invalid: A }) => [
|
|
424
|
+
c.modelValue && c.modelValue[0] && c.modelValue[1] ? (W(), B("div", fo, [
|
|
416
425
|
k(S, {
|
|
417
426
|
invalid: A,
|
|
418
427
|
class: "fm-typo-en-body-lg-400"
|
|
419
428
|
}, {
|
|
420
|
-
default:
|
|
429
|
+
default: I(() => [
|
|
421
430
|
Me(E(w(c.modelValue)), 1)
|
|
422
431
|
]),
|
|
423
432
|
_: 2
|
|
424
433
|
}, 1032, ["invalid"])
|
|
425
|
-
])) : (W(),
|
|
434
|
+
])) : (W(), B("div", yo, [
|
|
426
435
|
k(m, {
|
|
427
436
|
label: u(M)("inventory.formField.coordinate.addCoordinate"),
|
|
428
437
|
"prepend-icon": "add",
|
|
@@ -434,7 +443,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
434
443
|
}, [
|
|
435
444
|
c.$slots.label ? {
|
|
436
445
|
name: "label",
|
|
437
|
-
fn:
|
|
446
|
+
fn: I(() => [
|
|
438
447
|
De(c.$slots, "label")
|
|
439
448
|
]),
|
|
440
449
|
key: "0"
|
|
@@ -444,7 +453,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
444
453
|
key: 0,
|
|
445
454
|
"prepend-icon": "delete",
|
|
446
455
|
variant: "tertiary",
|
|
447
|
-
onClick:
|
|
456
|
+
onClick: F[1] || (F[1] = (A) => P())
|
|
448
457
|
})) : ae("", !0)
|
|
449
458
|
]);
|
|
450
459
|
};
|
|
@@ -452,7 +461,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
452
461
|
}), 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
462
|
key: 0,
|
|
454
463
|
class: "flex flex-col gap-8"
|
|
455
|
-
}, Mo = { class: "fm-typo-en-title-sm-600" },
|
|
464
|
+
}, Mo = { class: "fm-typo-en-title-sm-600" }, Fo = { class: "flex flex-col gap-8" }, Co = { class: "fm-typo-en-title-sm-600" }, xo = { class: "flex flex-col gap-16" }, $o = /* @__PURE__ */ j({
|
|
456
465
|
__name: "WarehouseForm",
|
|
457
466
|
props: {
|
|
458
467
|
modelValue: {},
|
|
@@ -460,7 +469,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
460
469
|
},
|
|
461
470
|
emits: ["update:modelValue", "validation-success"],
|
|
462
471
|
setup(v, { expose: h, emit: b }) {
|
|
463
|
-
const a = v, n = b, i =
|
|
472
|
+
const a = v, n = b, i = Ze(), { t: r } = O(), l = $({
|
|
464
473
|
get() {
|
|
465
474
|
var o, e;
|
|
466
475
|
return ((e = (o = a.modelValue) == null ? void 0 : o.profile) == null ? void 0 : e.name) ?? "";
|
|
@@ -498,7 +507,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
498
507
|
const e = a.modelValue ?? {};
|
|
499
508
|
e.profile ?? (e.profile = {}), (t = e.profile).address ?? (t.address = {}), e.profile.address.line2 = o, n("update:modelValue", e);
|
|
500
509
|
}
|
|
501
|
-
}),
|
|
510
|
+
}), C = $({
|
|
502
511
|
get() {
|
|
503
512
|
var o, e, t;
|
|
504
513
|
return ((t = (e = (o = a.modelValue) == null ? void 0 : o.profile) == null ? void 0 : e.address) == null ? void 0 : t.city) ?? "";
|
|
@@ -528,7 +537,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
528
537
|
const e = a.modelValue ?? {};
|
|
529
538
|
e.profile ?? (e.profile = {}), (t = e.profile).address ?? (t.address = {}), e.profile.address.state = o, n("update:modelValue", e);
|
|
530
539
|
}
|
|
531
|
-
}),
|
|
540
|
+
}), P = $({
|
|
532
541
|
get() {
|
|
533
542
|
var o, e, t;
|
|
534
543
|
return ((t = (e = (o = a.modelValue) == null ? void 0 : o.profile) == null ? void 0 : e.address) == null ? void 0 : t.country) ?? "";
|
|
@@ -548,10 +557,10 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
548
557
|
const e = a.modelValue ?? {};
|
|
549
558
|
e.profile ?? (e.profile = {}), e.preparationTime = {
|
|
550
559
|
value: parseInt(o),
|
|
551
|
-
unit:
|
|
560
|
+
unit: Ne.Enum.day
|
|
552
561
|
}, n("update:modelValue", e);
|
|
553
562
|
}
|
|
554
|
-
}),
|
|
563
|
+
}), F = $({
|
|
555
564
|
get() {
|
|
556
565
|
var o, e, t;
|
|
557
566
|
return ((t = (e = (o = a.modelValue) == null ? void 0 : o.profile) == null ? void 0 : e.address) == null ? void 0 : t.coordinates) ?? null;
|
|
@@ -570,7 +579,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
570
579
|
const e = a.modelValue ?? {};
|
|
571
580
|
e.profile ?? (e.profile = {}), e.profile.phoneNo = o, n("update:modelValue", e);
|
|
572
581
|
}
|
|
573
|
-
}), { enabledCountries: m, currentCountry: f } =
|
|
582
|
+
}), { enabledCountries: m, currentCountry: f } = Fe(), A = $({
|
|
574
583
|
get() {
|
|
575
584
|
var o, e;
|
|
576
585
|
return ((e = (o = a.modelValue) == null ? void 0 : o.profile) == null ? void 0 : e.email) ?? "";
|
|
@@ -579,7 +588,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
579
588
|
const e = a.modelValue ?? {};
|
|
580
589
|
e.profile ?? (e.profile = {}), e.profile.email = o, n("update:modelValue", e);
|
|
581
590
|
}
|
|
582
|
-
}),
|
|
591
|
+
}), q = $({
|
|
583
592
|
get() {
|
|
584
593
|
var o;
|
|
585
594
|
return ((o = a.modelValue) == null ? void 0 : o.customAttributes) ?? {};
|
|
@@ -611,12 +620,12 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
611
620
|
ref: V,
|
|
612
621
|
onValidationSuccess: e[13] || (e[13] = (p) => n("validation-success"))
|
|
613
622
|
}, {
|
|
614
|
-
default:
|
|
623
|
+
default: I(() => [
|
|
615
624
|
g("div", ho, [
|
|
616
625
|
g("div", bo, [
|
|
617
626
|
k(t, {
|
|
618
627
|
disabled: o.disabled,
|
|
619
|
-
rules: [u(
|
|
628
|
+
rules: [u(L)()],
|
|
620
629
|
"label-mark": "required",
|
|
621
630
|
label: u(r)("inventory.warehouse.companyName"),
|
|
622
631
|
modelValue: l.value,
|
|
@@ -624,7 +633,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
624
633
|
}, null, 8, ["disabled", "rules", "label", "modelValue"]),
|
|
625
634
|
k(t, {
|
|
626
635
|
disabled: o.disabled,
|
|
627
|
-
rules: [u(
|
|
636
|
+
rules: [u(L)()],
|
|
628
637
|
"label-mark": "required",
|
|
629
638
|
label: u(r)("inventory.warehouse.registrationNo"),
|
|
630
639
|
modelValue: d.value,
|
|
@@ -636,7 +645,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
636
645
|
g("div", Vo, [
|
|
637
646
|
k(t, {
|
|
638
647
|
disabled: o.disabled,
|
|
639
|
-
rules: [u(
|
|
648
|
+
rules: [u(L)()],
|
|
640
649
|
"label-mark": "required",
|
|
641
650
|
label: u(r)("inventory.warehouse.address.line1"),
|
|
642
651
|
modelValue: M.value,
|
|
@@ -651,15 +660,15 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
651
660
|
}, null, 8, ["disabled", "label", "modelValue"]),
|
|
652
661
|
k(t, {
|
|
653
662
|
disabled: o.disabled,
|
|
654
|
-
rules: [u(
|
|
663
|
+
rules: [u(L)()],
|
|
655
664
|
"label-mark": "required",
|
|
656
665
|
label: u(r)("inventory.warehouse.address.city"),
|
|
657
|
-
modelValue:
|
|
658
|
-
"onUpdate:modelValue": e[4] || (e[4] = (p) =>
|
|
666
|
+
modelValue: C.value,
|
|
667
|
+
"onUpdate:modelValue": e[4] || (e[4] = (p) => C.value = p)
|
|
659
668
|
}, null, 8, ["disabled", "rules", "label", "modelValue"]),
|
|
660
669
|
k(t, {
|
|
661
670
|
disabled: o.disabled,
|
|
662
|
-
rules: [u(
|
|
671
|
+
rules: [u(L)()],
|
|
663
672
|
"label-mark": "required",
|
|
664
673
|
label: u(r)("inventory.warehouse.address.postcode"),
|
|
665
674
|
modelValue: T.value,
|
|
@@ -667,7 +676,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
667
676
|
}, null, 8, ["disabled", "rules", "label", "modelValue"]),
|
|
668
677
|
k(t, {
|
|
669
678
|
disabled: o.disabled,
|
|
670
|
-
rules: [u(
|
|
679
|
+
rules: [u(L)()],
|
|
671
680
|
"label-mark": "required",
|
|
672
681
|
label: u(r)("inventory.warehouse.address.state"),
|
|
673
682
|
modelValue: x.value,
|
|
@@ -675,11 +684,11 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
675
684
|
}, null, 8, ["disabled", "rules", "label", "modelValue"]),
|
|
676
685
|
k(t, {
|
|
677
686
|
disabled: o.disabled,
|
|
678
|
-
rules: [u(
|
|
687
|
+
rules: [u(L)()],
|
|
679
688
|
"label-mark": "required",
|
|
680
689
|
label: u(r)("inventory.warehouse.address.country"),
|
|
681
|
-
modelValue:
|
|
682
|
-
"onUpdate:modelValue": e[7] || (e[7] = (p) =>
|
|
690
|
+
modelValue: P.value,
|
|
691
|
+
"onUpdate:modelValue": e[7] || (e[7] = (p) => P.value = p)
|
|
683
692
|
}, null, 8, ["disabled", "rules", "label", "modelValue"])
|
|
684
693
|
])
|
|
685
694
|
]),
|
|
@@ -687,13 +696,13 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
687
696
|
g("div", ko, E(u(r)("inventory.warehouse.coordinate.title")), 1),
|
|
688
697
|
k(vo, {
|
|
689
698
|
disabled: o.disabled,
|
|
690
|
-
rules: [u(
|
|
699
|
+
rules: [u(L)()],
|
|
691
700
|
"label-mark": "required",
|
|
692
|
-
modelValue:
|
|
693
|
-
"onUpdate:modelValue": e[8] || (e[8] = (p) =>
|
|
701
|
+
modelValue: F.value,
|
|
702
|
+
"onUpdate:modelValue": e[8] || (e[8] = (p) => F.value = p)
|
|
694
703
|
}, null, 8, ["disabled", "rules", "modelValue"])
|
|
695
704
|
]),
|
|
696
|
-
u(i).enableSupplierPreparationTime ? (W(),
|
|
705
|
+
u(i).enableSupplierPreparationTime ? (W(), B("div", Ao, [
|
|
697
706
|
g("div", Mo, [
|
|
698
707
|
Me(E(u(r)("inventory.supplier.delivery.title")) + " ", 1),
|
|
699
708
|
k(s, { variant: "beta" })
|
|
@@ -706,12 +715,12 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
706
715
|
type: "number"
|
|
707
716
|
}, null, 8, ["disabled", "label", "modelValue"])
|
|
708
717
|
])) : ae("", !0),
|
|
709
|
-
g("div",
|
|
710
|
-
g("div",
|
|
718
|
+
g("div", Fo, [
|
|
719
|
+
g("div", Co, E(u(r)("inventory.warehouse.contact.title")), 1),
|
|
711
720
|
g("div", xo, [
|
|
712
721
|
k(y, {
|
|
713
722
|
disabled: o.disabled,
|
|
714
|
-
rules: [u(
|
|
723
|
+
rules: [u(L)()],
|
|
715
724
|
"label-mark": "required",
|
|
716
725
|
label: u(r)("inventory.warehouse.contact.phoneNumber"),
|
|
717
726
|
modelValue: S.value,
|
|
@@ -729,10 +738,10 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
729
738
|
])
|
|
730
739
|
]),
|
|
731
740
|
g("div", null, [
|
|
732
|
-
k(
|
|
741
|
+
k(Ye, {
|
|
733
742
|
entity: "warehouse",
|
|
734
|
-
modelValue:
|
|
735
|
-
"onUpdate:modelValue": e[12] || (e[12] = (p) =>
|
|
743
|
+
modelValue: q.value,
|
|
744
|
+
"onUpdate:modelValue": e[12] || (e[12] = (p) => q.value = p)
|
|
736
745
|
}, null, 8, ["modelValue"])
|
|
737
746
|
])
|
|
738
747
|
])
|
|
@@ -770,25 +779,25 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
770
779
|
return l("common.add");
|
|
771
780
|
}
|
|
772
781
|
return "";
|
|
773
|
-
}),
|
|
782
|
+
}), C = D();
|
|
774
783
|
h({
|
|
775
784
|
validateInputs: () => {
|
|
776
785
|
var m, f;
|
|
777
|
-
(f = (m =
|
|
786
|
+
(f = (m = C.value) == null ? void 0 : m.validateInputs) == null || f.call(m);
|
|
778
787
|
},
|
|
779
788
|
resetInputsValidation: () => {
|
|
780
789
|
var m, f;
|
|
781
|
-
(f = (m =
|
|
790
|
+
(f = (m = C.value) == null ? void 0 : m.resetInputsValidation) == null || f.call(m);
|
|
782
791
|
},
|
|
783
792
|
resetInputs: () => {
|
|
784
793
|
var m, f;
|
|
785
|
-
(f = (m =
|
|
794
|
+
(f = (m = C.value) == null ? void 0 : m.resetInputs) == null || f.call(m);
|
|
786
795
|
}
|
|
787
796
|
});
|
|
788
797
|
const T = oe(a, "show"), x = oe(a, "warehouse");
|
|
789
|
-
function
|
|
798
|
+
function P() {
|
|
790
799
|
var m, f;
|
|
791
|
-
(f = (m =
|
|
800
|
+
(f = (m = C.value) == null ? void 0 : m.validateInputs) == null || f.call(m);
|
|
792
801
|
}
|
|
793
802
|
function c() {
|
|
794
803
|
switch (a.mode) {
|
|
@@ -797,10 +806,10 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
797
806
|
case U.UPDATE:
|
|
798
807
|
return S();
|
|
799
808
|
case U.CREATE:
|
|
800
|
-
return
|
|
809
|
+
return F();
|
|
801
810
|
}
|
|
802
811
|
}
|
|
803
|
-
async function
|
|
812
|
+
async function F() {
|
|
804
813
|
var m, f;
|
|
805
814
|
i.value = !0;
|
|
806
815
|
try {
|
|
@@ -815,7 +824,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
815
824
|
} catch (A) {
|
|
816
825
|
r.open({
|
|
817
826
|
title: l("inventory.warehouse.create.error.title"),
|
|
818
|
-
message: A instanceof
|
|
827
|
+
message: A instanceof Le ? A.message : l("inventory.warehouse.create.error.message"),
|
|
819
828
|
type: "error"
|
|
820
829
|
}), console.error("cannot create warehouse", A);
|
|
821
830
|
} finally {
|
|
@@ -853,8 +862,8 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
853
862
|
}
|
|
854
863
|
}
|
|
855
864
|
return (m, f) => {
|
|
856
|
-
const A = N("FmButton"),
|
|
857
|
-
return W(), z(
|
|
865
|
+
const A = N("FmButton"), q = N("FmSideSheet");
|
|
866
|
+
return W(), z(q, {
|
|
858
867
|
header: M.value,
|
|
859
868
|
modelValue: u(T),
|
|
860
869
|
"onUpdate:modelValue": f[1] || (f[1] = (V) => Ve(T) ? T.value = V : null),
|
|
@@ -862,13 +871,13 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
862
871
|
"close-button": "",
|
|
863
872
|
"max-width": 500
|
|
864
873
|
}, {
|
|
865
|
-
default:
|
|
874
|
+
default: I(() => {
|
|
866
875
|
var V;
|
|
867
876
|
return [
|
|
868
877
|
(W(), z($o, {
|
|
869
878
|
class: "w-full",
|
|
870
879
|
ref_key: "formRef",
|
|
871
|
-
ref:
|
|
880
|
+
ref: C,
|
|
872
881
|
modelValue: u(x),
|
|
873
882
|
"onUpdate:modelValue": f[0] || (f[0] = (o) => Ve(x) ? x.value = o : null),
|
|
874
883
|
onValidationSuccess: c,
|
|
@@ -877,12 +886,12 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
877
886
|
}, null, 8, ["modelValue", "disabled"]))
|
|
878
887
|
];
|
|
879
888
|
}),
|
|
880
|
-
"side-sheet-footer":
|
|
889
|
+
"side-sheet-footer": I(() => [
|
|
881
890
|
g("div", So, [
|
|
882
891
|
k(A, {
|
|
883
892
|
loading: i.value,
|
|
884
893
|
label: w.value,
|
|
885
|
-
onClick:
|
|
894
|
+
onClick: P
|
|
886
895
|
}, null, 8, ["loading", "label"])
|
|
887
896
|
])
|
|
888
897
|
]),
|
|
@@ -890,13 +899,13 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
890
899
|
}, 8, ["header", "modelValue", "dismiss-away"]);
|
|
891
900
|
};
|
|
892
901
|
}
|
|
893
|
-
}), Do = { class: "flex flex-col py-8" }, Wo = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" },
|
|
902
|
+
}), Do = { class: "flex flex-col py-8" }, Wo = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Ro = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Po = {
|
|
894
903
|
key: 0,
|
|
895
904
|
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" },
|
|
905
|
+
}, Uo = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary line-clamp-3" }, Qo = /* @__PURE__ */ j({
|
|
897
906
|
__name: "WarehouseView",
|
|
898
907
|
setup(v) {
|
|
899
|
-
const h = xe(), b =
|
|
908
|
+
const h = xe(), b = Ie(), a = $(() => h.warehouses), n = Ce(), i = le(), r = D(!1), { t: l } = O();
|
|
900
909
|
te(() => {
|
|
901
910
|
b._currentLocation && S();
|
|
902
911
|
}), ee([() => b._currentLocation], () => {
|
|
@@ -909,7 +918,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
909
918
|
function w(V) {
|
|
910
919
|
d.value.mode = U.UPDATE, d.value.warehouse = V, d.value.show = !0;
|
|
911
920
|
}
|
|
912
|
-
async function
|
|
921
|
+
async function C(V) {
|
|
913
922
|
n.open({
|
|
914
923
|
title: l("inventory.warehouse.delete.confirm"),
|
|
915
924
|
message: l("inventory.warehouse.delete.confirmMessage", { name: V.profile.name }),
|
|
@@ -945,14 +954,14 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
945
954
|
n.close();
|
|
946
955
|
}
|
|
947
956
|
}
|
|
948
|
-
const { columnDefs: x, formatRowData:
|
|
957
|
+
const { columnDefs: x, formatRowData: P } = Xe(
|
|
949
958
|
w,
|
|
950
|
-
|
|
959
|
+
C
|
|
951
960
|
);
|
|
952
961
|
function c(V) {
|
|
953
962
|
V === "create" && M();
|
|
954
963
|
}
|
|
955
|
-
const
|
|
964
|
+
const F = D("");
|
|
956
965
|
async function S(V = !1) {
|
|
957
966
|
r.value = !0;
|
|
958
967
|
try {
|
|
@@ -966,10 +975,10 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
966
975
|
r.value = !1;
|
|
967
976
|
}
|
|
968
977
|
}
|
|
969
|
-
const { breakpoints: m } =
|
|
978
|
+
const { breakpoints: m } = Ge(), f = $(() => m.value.xs || m.value.sm), A = $(() => f.value ? 10 : 20), q = ze();
|
|
970
979
|
return (V, o) => {
|
|
971
980
|
const e = N("FmTable");
|
|
972
|
-
return W(), z(
|
|
981
|
+
return W(), z(je, {
|
|
973
982
|
title: u(l)("inventory.warehouse.title"),
|
|
974
983
|
actions: [
|
|
975
984
|
{
|
|
@@ -981,7 +990,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
981
990
|
],
|
|
982
991
|
"onClick:action": c
|
|
983
992
|
}, {
|
|
984
|
-
default:
|
|
993
|
+
default: I(() => [
|
|
985
994
|
g("div", {
|
|
986
995
|
class: We([
|
|
987
996
|
"flex flex-col gap-8 max-h-full",
|
|
@@ -991,52 +1000,52 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
991
1000
|
}
|
|
992
1001
|
])
|
|
993
1002
|
}, [
|
|
994
|
-
k(
|
|
1003
|
+
k(Je, {
|
|
995
1004
|
searchable: "",
|
|
996
|
-
search:
|
|
997
|
-
"onUpdate:search": o[0] || (o[0] = (t) =>
|
|
1005
|
+
search: F.value,
|
|
1006
|
+
"onUpdate:search": o[0] || (o[0] = (t) => F.value = t)
|
|
998
1007
|
}, null, 8, ["search"]),
|
|
999
1008
|
(W(), z(e, {
|
|
1000
|
-
style:
|
|
1009
|
+
style: Re(u(q).tableHeight),
|
|
1001
1010
|
"column-defs": u(x),
|
|
1002
|
-
"row-data": u(
|
|
1003
|
-
"search-value":
|
|
1011
|
+
"row-data": u(P)(a.value),
|
|
1012
|
+
"search-value": F.value,
|
|
1004
1013
|
loading: !u(b)._currentLocation || r.value,
|
|
1005
1014
|
onRowClick: o[1] || (o[1] = (t) => w(t.original.original)),
|
|
1006
1015
|
key: a.value.length,
|
|
1007
1016
|
"page-size": A.value
|
|
1008
1017
|
}, {
|
|
1009
|
-
"list-row":
|
|
1010
|
-
k(
|
|
1018
|
+
"list-row": I((t) => [
|
|
1019
|
+
k(Be, {
|
|
1011
1020
|
row: t,
|
|
1012
1021
|
onRowClick: (s) => w(s.original)
|
|
1013
1022
|
}, {
|
|
1014
|
-
default:
|
|
1015
|
-
var y, _, p,
|
|
1023
|
+
default: I((s) => {
|
|
1024
|
+
var y, _, p, R, K, ne, ue, ie, H, de, ce, pe, me, fe, Y, ye, ve, he, be, Z, ge;
|
|
1016
1025
|
return [
|
|
1017
1026
|
g("div", Do, [
|
|
1018
1027
|
g("div", Wo, [
|
|
1019
1028
|
k(u(Q), {
|
|
1020
1029
|
render: (p = (_ = (y = s.warehouse) == null ? void 0 : y.column) == null ? void 0 : _.columnDef) == null ? void 0 : p.cell,
|
|
1021
|
-
props: (K = (
|
|
1030
|
+
props: (K = (R = s.warehouse) == null ? void 0 : R.getContext) == null ? void 0 : K.call(R)
|
|
1022
1031
|
}, null, 8, ["render", "props"])
|
|
1023
1032
|
]),
|
|
1024
|
-
g("div",
|
|
1033
|
+
g("div", Ro, [
|
|
1025
1034
|
k(u(Q), {
|
|
1026
1035
|
render: (ie = (ue = (ne = s.contact) == null ? void 0 : ne.column) == null ? void 0 : ue.columnDef) == null ? void 0 : ie.cell,
|
|
1027
1036
|
props: (de = (H = s.contact) == null ? void 0 : H.getContext) == null ? void 0 : de.call(H)
|
|
1028
1037
|
}, null, 8, ["render", "props"])
|
|
1029
1038
|
]),
|
|
1030
|
-
(ce = t.original) != null && ce.email ? (W(),
|
|
1039
|
+
(ce = t.original) != null && ce.email ? (W(), B("div", Po, [
|
|
1031
1040
|
k(u(Q), {
|
|
1032
1041
|
render: (fe = (me = (pe = s.email) == null ? void 0 : pe.column) == null ? void 0 : me.columnDef) == null ? void 0 : fe.cell,
|
|
1033
|
-
props: (ye = (
|
|
1042
|
+
props: (ye = (Y = s.email) == null ? void 0 : Y.getContext) == null ? void 0 : ye.call(Y)
|
|
1034
1043
|
}, null, 8, ["render", "props"])
|
|
1035
1044
|
])) : ae("", !0),
|
|
1036
1045
|
g("div", Uo, [
|
|
1037
1046
|
k(u(Q), {
|
|
1038
1047
|
render: (be = (he = (ve = s.address) == null ? void 0 : ve.column) == null ? void 0 : he.columnDef) == null ? void 0 : be.cell,
|
|
1039
|
-
props: (ge = (
|
|
1048
|
+
props: (ge = (Z = s.address) == null ? void 0 : Z.getContext) == null ? void 0 : ge.call(Z)
|
|
1040
1049
|
}, null, 8, ["render", "props"])
|
|
1041
1050
|
])
|
|
1042
1051
|
])
|
|
@@ -1062,5 +1071,5 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
|
|
|
1062
1071
|
}
|
|
1063
1072
|
});
|
|
1064
1073
|
export {
|
|
1065
|
-
|
|
1074
|
+
Qo as default
|
|
1066
1075
|
};
|