@feedmepos/mf-inventory-portal 1.0.36-dev.6 → 1.0.36
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-p0OfVvta.js → App-BM-ivBnF.js} +46 -47
- package/dist/{ApprovalView-DPBSTlsb.js → ApprovalView-C4hE43Zp.js} +8 -8
- package/dist/{BindingsDialog-ADhnq8rd.js → BindingsDialog-BqjiXxGY.js} +8 -8
- package/dist/{BindingsPicker-C27I8rla.js → BindingsPicker-DqCR7P5k.js} +1 -1
- package/dist/{BindingsTable-BCrjUyRA.js → BindingsTable-DD_mVBtS.js} +1 -1
- package/dist/{ClosingDraftView-CAeA34YR.js → ClosingDraftView-CL09Xu9q.js} +49 -49
- package/dist/ClosingTemplateView-CDWMdZOk.js +1804 -0
- package/dist/{DeliveryOrderPrintPreview-BHaatock.js → DeliveryOrderPrintPreview-CNPUHnpX.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-n7mTgY-4.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DB6m8oSF.js} +3 -3
- package/dist/{FmMultiselectDialog-D3hCA4Hk.js → FmMultiselectDialog-DJ5cyN7G.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-GRMblS9k.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CPAnSCWa.js} +17 -17
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BMTgY6ZR.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CauBVtK9.js} +1 -1
- package/dist/{IngredientGroupView-CoQ5jJq-.js → IngredientGroupView-D0U1ivRz.js} +21 -21
- package/dist/IngredientsView-pgJWthql.js +1838 -0
- package/dist/IntegrationView-hERgFYsT.js +3303 -0
- package/dist/{InventoryBindingForm-rBxn4aQn.js → InventoryBindingForm-vO00BnZP.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DeAbgkjo.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-Bku7tdc-.js} +37 -37
- package/dist/{InventoryBindingSummary-DRnfFnXw.js → InventoryBindingSummary-DWOniuG6.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CFimf-EA.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-C4_atZsW.js} +4 -4
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CkLC3e7r.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DUdI1WOL.js} +1 -1
- package/dist/{PublishView-CWPu6VU5.js → PublishView-enVS6QHQ.js} +8 -8
- package/dist/{PurchaseOrderPrintPreview-BB-UHWyM.js → PurchaseOrderPrintPreview-Z769Yvkh.js} +1 -1
- package/dist/{ReceiveRequestView-DzE2O14-.js → ReceiveRequestView-BYYWrgNX.js} +773 -789
- package/dist/{RecipeView-CdFqHWFg.js → RecipeView-CU9pkFiv.js} +38 -39
- package/dist/{StockView-2QkNXA2I.js → StockView-iqR-h1Mg.js} +68 -69
- package/dist/{SupplierView-BmIvZtRX.js → SupplierView-DFzgQ53O.js} +11 -12
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-KakO6jI_.js → TransferDetails.vue_vue_type_script_setup_true_lang-BEVlutvf.js} +67 -68
- package/dist/{TransferTemplateView-CiwTECtX.js → TransferTemplateView-EZ_z14kY.js} +107 -108
- package/dist/{UnitView-xcRT1636.js → UnitView-gYD75UdW.js} +19 -19
- package/dist/{WarehouseView-DFUkzdn3.js → WarehouseView-COLgYw-j.js} +14 -14
- package/dist/api/inventory.d.ts +0 -4
- package/dist/api/netsuite.d.ts +2 -7
- package/dist/app-DMbkakEB.js +124324 -0
- package/dist/app.d.ts +0 -9
- package/dist/app.js +6 -6
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +0 -1
- package/dist/components/row-action.enum.d.ts +1 -2
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +0 -1
- package/dist/{decimal-tvbOiScu.js → decimal-BLjZMddB.js} +1 -1
- package/dist/format-unit-display-BkXJg2Ux.js +1230 -0
- package/dist/{index-5P4r_6vv.js → index-Bj0hlHvy.js} +3 -4
- package/dist/{index-DunD6flC.js → index-C5rv3Yu2.js} +1 -1
- package/dist/{stock-D4Q1lqHe.js → stock-DjOpPBxG.js} +1 -1
- package/dist/stores/feature.d.ts +2 -0
- package/dist/stores/integration/netsuite.d.ts +2 -7
- package/dist/stores/inventory.d.ts +0 -9
- package/dist/{supplier-nyMBwI1e.js → supplier-BRKfl2V3.js} +25 -26
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-CucQZ-Oc.js → use-ingredient-select-dialog-DRIWNN3P.js} +1 -1
- package/dist/{use-inventory-binding-dialog-ZF-LeZNi.js → use-inventory-binding-dialog-DLnKkFpe.js} +1 -1
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +1 -4
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +0 -8
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +0 -24
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +0 -1
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +1 -16
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +0 -12
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +0 -2
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +0 -1
- package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +0 -2
- package/dist/views/integration/components/netsuite/InventoryTransferOutTable.vue.d.ts +2 -0
- package/dist/views/integration/components/netsuite/business/BusinessNetSuiteSideSheet.vue.d.ts +0 -4
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +0 -17
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +0 -2
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +0 -4
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +0 -1
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +0 -4
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +0 -24
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +0 -24
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +0 -2
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +0 -2
- package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +0 -2
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +0 -2
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +0 -1
- package/dist/views/transfer-template/composables/use-netsuite-custom-field.d.ts +0 -3
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1 -16
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +0 -12
- package/dist/vue-i18n-x8-PdKzv.js +2365 -0
- package/package.json +1 -1
- package/dist/ClosingTemplateView-DdtZPTyt.js +0 -1849
- package/dist/IngredientsView-B0n-ed2z.js +0 -1885
- package/dist/IntegrationView-CUacWvt2.js +0 -6531
- package/dist/api/duplicate-template.d.ts +0 -5
- package/dist/app-D8WIbWK8.js +0 -102338
- package/dist/feature-CXf7RRWE.js +0 -19100
- package/dist/format-unit-display-C42DxO2e.js +0 -1275
- package/dist/vue-i18n-BmNDS6W5.js +0 -2365
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { a as
|
|
1
|
+
import { defineComponent as G, 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 K, e as U, S as pe, h as ve, D as ne, i as L, f as se, Q as fe, m as j, A as ye, j as J, T as be, V as ge, q as oe, u as xe, b as _e, B as he, _ as Ve, C as Ue, E as we, G as Ce } from "./app-DMbkakEB.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 Ee } from "./is-linked-ingredient-error-fJ2TJb3z.js";
|
|
5
5
|
import { defineStore as $e, storeToRefs as Ie } from "pinia";
|
|
6
6
|
import { useI18n as O } 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-BLjZMddB.js";
|
|
8
|
+
import { _ as Ae } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-C4_atZsW.js";
|
|
9
9
|
const Re = { class: "flex flex-col gap-8" }, Me = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "flex flex-col"
|
|
@@ -15,7 +15,7 @@ const Re = { class: "flex flex-col gap-8" }, Me = {
|
|
|
15
15
|
}, Be = {
|
|
16
16
|
key: 1,
|
|
17
17
|
class: "flex flex-col"
|
|
18
|
-
},
|
|
18
|
+
}, Ne = { class: "flex-1 py-8 px-16" }, ze = {
|
|
19
19
|
class: "flex-0 py-8 px-16",
|
|
20
20
|
style: { "flex-basis": "240px" }
|
|
21
21
|
}, Le = {
|
|
@@ -24,13 +24,13 @@ const Re = { class: "flex flex-col gap-8" }, Me = {
|
|
|
24
24
|
}, je = { class: "flex-1 py-8 px-16" }, qe = {
|
|
25
25
|
class: "flex-0 py-8 px-16",
|
|
26
26
|
style: { "flex-basis": "240px" }
|
|
27
|
-
}, He = /* @__PURE__ */
|
|
27
|
+
}, He = /* @__PURE__ */ G({
|
|
28
28
|
__name: "UnitUsedBy",
|
|
29
29
|
props: {
|
|
30
30
|
unit: {}
|
|
31
31
|
},
|
|
32
32
|
setup(F) {
|
|
33
|
-
const c = F, y =
|
|
33
|
+
const c = F, y = K(), m = b(() => y.validateUnitUsage(c.unit)), a = b(() => m.value.filter((n) => n.from === "INGREDIENT")), r = b(() => m.value.filter((n) => n.from === "RECIPE")), d = b(() => m.value.filter((n) => n.from === "MENU"));
|
|
34
34
|
return (n, p) => (v(), w("div", Re, [
|
|
35
35
|
p[3] || (p[3] = s("div", { class: "fm-typo-en-body-md-400" }, "Sorry, this unit is used in the following modules:", -1)),
|
|
36
36
|
a.value.length ? (v(), w("div", Me, [
|
|
@@ -66,8 +66,8 @@ const Re = { class: "flex flex-col gap-8" }, Me = {
|
|
|
66
66
|
key: i.code,
|
|
67
67
|
class: "flex flex-row fm-typo-en-body-md-400 h-48 items-center border-b border-b-fm-color-neutral-gray-100"
|
|
68
68
|
}, [
|
|
69
|
-
s("div",
|
|
70
|
-
s("div",
|
|
69
|
+
s("div", Ne, V(i.code) + " " + V(i.name), 1),
|
|
70
|
+
s("div", ze, 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),
|
|
@@ -93,7 +93,7 @@ const Re = { class: "flex flex-col gap-8" }, Me = {
|
|
|
93
93
|
]));
|
|
94
94
|
}
|
|
95
95
|
}), W = $e("unitForm", function() {
|
|
96
|
-
const c = Se(), y = ae(), m =
|
|
96
|
+
const c = Se(), y = ae(), m = K(), a = R(!1), r = R();
|
|
97
97
|
function d() {
|
|
98
98
|
const t = {
|
|
99
99
|
unit: {},
|
|
@@ -186,7 +186,7 @@ const Re = { class: "flex flex-col gap-8" }, Me = {
|
|
|
186
186
|
unitViewLoading: a
|
|
187
187
|
};
|
|
188
188
|
});
|
|
189
|
-
function
|
|
189
|
+
function Ge() {
|
|
190
190
|
const { updateUnit: F, deleteUnit: c } = W(), { t: y } = O();
|
|
191
191
|
async function m(r, d) {
|
|
192
192
|
const n = se(d);
|
|
@@ -232,7 +232,7 @@ function Ke() {
|
|
|
232
232
|
}
|
|
233
233
|
] };
|
|
234
234
|
}
|
|
235
|
-
const
|
|
235
|
+
const Ke = { class: "flex flex-col gap-24" }, Oe = { 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__ */ G({
|
|
236
236
|
__name: "UnitForm",
|
|
237
237
|
props: {
|
|
238
238
|
mode: {},
|
|
@@ -345,7 +345,7 @@ const Ge = { class: "flex flex-col gap-24" }, Oe = { class: "flex gap-24" }, Qe
|
|
|
345
345
|
default: A(() => {
|
|
346
346
|
var P;
|
|
347
347
|
return [
|
|
348
|
-
s("div",
|
|
348
|
+
s("div", Ke, [
|
|
349
349
|
s("div", Oe, [
|
|
350
350
|
s("div", Qe, [
|
|
351
351
|
f(x, {
|
|
@@ -460,7 +460,7 @@ const Ge = { class: "flex flex-col gap-24" }, Oe = { class: "flex gap-24" }, Qe
|
|
|
460
460
|
}, 512);
|
|
461
461
|
};
|
|
462
462
|
}
|
|
463
|
-
}), lt = { class: "flex gap-4" }, st = /* @__PURE__ */
|
|
463
|
+
}), lt = { class: "flex gap-4" }, st = /* @__PURE__ */ G({
|
|
464
464
|
__name: "UnitDialog",
|
|
465
465
|
props: {
|
|
466
466
|
show: { type: Boolean },
|
|
@@ -469,7 +469,7 @@ const Ge = { class: "flex flex-col gap-24" }, Oe = { class: "flex gap-24" }, Qe
|
|
|
469
469
|
},
|
|
470
470
|
emits: ["update:show"],
|
|
471
471
|
setup(F) {
|
|
472
|
-
const c = F, y =
|
|
472
|
+
const c = F, y = K(), m = ae(), { t: a } = O(), r = le(c, "show"), d = le(c, "unit"), n = b(() => {
|
|
473
473
|
switch (c.mode) {
|
|
474
474
|
case U.READ:
|
|
475
475
|
return "";
|
|
@@ -582,10 +582,10 @@ const Ge = { class: "flex flex-col gap-24" }, Oe = { class: "flex gap-24" }, Qe
|
|
|
582
582
|
}, 8, ["model-value", "header"]);
|
|
583
583
|
};
|
|
584
584
|
}
|
|
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__ */
|
|
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__ */ G({
|
|
586
586
|
__name: "UnitView",
|
|
587
587
|
setup(F) {
|
|
588
|
-
const c =
|
|
588
|
+
const c = K(), y = xe(), m = _e(), a = b(() => c.units), { createUnit: r, updateUnit: d } = W(), { unitDialogProps: n, unitViewLoading: p } = Ie(W()), { columnDefs: i } = Ge();
|
|
589
589
|
function t(M) {
|
|
590
590
|
M === "add" && r();
|
|
591
591
|
}
|
|
@@ -634,7 +634,7 @@ const Ge = { class: "flex flex-col gap-24" }, Oe = { class: "flex gap-24" }, Qe
|
|
|
634
634
|
onRowClick: l(d)
|
|
635
635
|
}, {
|
|
636
636
|
default: A((P) => {
|
|
637
|
-
var k, h, E, D, B,
|
|
637
|
+
var k, h, E, D, B, N, X, z, Z;
|
|
638
638
|
return [
|
|
639
639
|
s("div", at, [
|
|
640
640
|
s("div", rt, [
|
|
@@ -643,7 +643,7 @@ const Ge = { class: "flex flex-col gap-24" }, Oe = { 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((Z = (
|
|
646
|
+
s("div", it, V((Z = (z = (X = (N = $.original.measurements) == null ? void 0 : N.map) == null ? void 0 : X.call(N, (re) => re.name)) == null ? void 0 : z.join) == null ? void 0 : Z.call(z, ", ")), 1)
|
|
647
647
|
])
|
|
648
648
|
];
|
|
649
649
|
}),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as W, defineComponent as I, watch as ee, onMounted as te, onUnmounted as Fe, openBlock as R, createElementBlock as q, toRaw as ge, reactive as $e, createElementVNode as g, toDisplayString as T, unref as c, createVNode as _, resolveComponent as N, createSlots as Se, withCtx as B, createTextVNode as We, renderSlot as De, createBlock as z, createCommentVNode as Ae, computed as x, isRef as we, normalizeClass as Pe, normalizeStyle as Re } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { a3 as Ue, ar as Ee, as as Te, h as Le, D as Ve, i as Q, f as O, at as Ne, aj as Be, m as L, e as E, S as qe, u as ze, B as Ie, _ as je, C as Ge, E as Oe, G as X } from "./app-DMbkakEB.js";
|
|
3
3
|
import { useCoreStore as Me, useI18n as j } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as Ke, useDialog as Ce, useSnackbar as ae, useProxiedModel as oe, useBreakpoints as He } from "@feedmepos/ui-library";
|
|
5
5
|
import { c as le, u as se } from "./googlemap-Dm8ERVai.js";
|
|
@@ -71,11 +71,11 @@ function xe() {
|
|
|
71
71
|
function Qe(f, h) {
|
|
72
72
|
function v(m, r) {
|
|
73
73
|
if (m === Q.Edit) {
|
|
74
|
-
f(
|
|
74
|
+
f(O(r));
|
|
75
75
|
return;
|
|
76
76
|
}
|
|
77
77
|
if (m === Q.Delete) {
|
|
78
|
-
h(
|
|
78
|
+
h(O(r));
|
|
79
79
|
return;
|
|
80
80
|
}
|
|
81
81
|
}
|
|
@@ -243,7 +243,7 @@ const Xe = /* @__PURE__ */ I({
|
|
|
243
243
|
function a(t) {
|
|
244
244
|
i.value.map((y) => ge(y).setMap(t));
|
|
245
245
|
}
|
|
246
|
-
function
|
|
246
|
+
function G(t, y, V) {
|
|
247
247
|
w(t, y, V);
|
|
248
248
|
}
|
|
249
249
|
function D() {
|
|
@@ -254,7 +254,7 @@ const Xe = /* @__PURE__ */ I({
|
|
|
254
254
|
streetViewControl: !1,
|
|
255
255
|
draggable: !0,
|
|
256
256
|
scrollwheel: !0
|
|
257
|
-
}),
|
|
257
|
+
}), G(r.value, "click", (t) => n("map-click", k(t)));
|
|
258
258
|
}
|
|
259
259
|
return ee(() => l.markers, M, { deep: !0 }), ee(() => l.polygons, e, { deep: !0 }), te(() => {
|
|
260
260
|
!m.value || !s || (D(), M(l.markers), e(l.polygons));
|
|
@@ -280,7 +280,7 @@ const Xe = /* @__PURE__ */ I({
|
|
|
280
280
|
},
|
|
281
281
|
setup(f) {
|
|
282
282
|
const h = f, v = Ke(), l = se(), { t: n } = j(), s = $e(
|
|
283
|
-
|
|
283
|
+
O(h.coordinate ? h.coordinate : le.jb)
|
|
284
284
|
), m = W(""), r = Ne(async function() {
|
|
285
285
|
m.value = await l.getFirstMatchingAddress(
|
|
286
286
|
s.lat,
|
|
@@ -288,10 +288,10 @@ const Xe = /* @__PURE__ */ I({
|
|
|
288
288
|
);
|
|
289
289
|
}, 1e3);
|
|
290
290
|
te(() => {
|
|
291
|
-
v.emitData(
|
|
291
|
+
v.emitData(O(s)), r();
|
|
292
292
|
});
|
|
293
293
|
function u({ position: w }) {
|
|
294
|
-
s.lat = w.lat, s.lng = w.lng, v.emitData(
|
|
294
|
+
s.lat = w.lat, s.lng = w.lng, v.emitData(O(s)), r();
|
|
295
295
|
}
|
|
296
296
|
const k = W();
|
|
297
297
|
return (w, A) => (R(), q("div", Ye, [
|
|
@@ -586,7 +586,7 @@ const co = { class: "flex gap-8 items-center" }, po = { key: 0 }, mo = { key: 1
|
|
|
586
586
|
(e = (o = b.value) == null ? void 0 : o.resetInputs) == null || e.call(o);
|
|
587
587
|
}
|
|
588
588
|
}), (o, e) => {
|
|
589
|
-
const a = N("FmTextField"),
|
|
589
|
+
const a = N("FmTextField"), G = N("FmPhoneNumber"), D = N("FmForm");
|
|
590
590
|
return R(), z(D, {
|
|
591
591
|
ref_key: "formRef",
|
|
592
592
|
ref: b,
|
|
@@ -677,7 +677,7 @@ const co = { class: "flex gap-8 items-center" }, po = { key: 0 }, mo = { key: 1
|
|
|
677
677
|
g("div", _o, [
|
|
678
678
|
g("div", ko, T(c(s)("inventory.warehouse.contact.title")), 1),
|
|
679
679
|
g("div", Ao, [
|
|
680
|
-
_(
|
|
680
|
+
_(G, {
|
|
681
681
|
disabled: o.disabled,
|
|
682
682
|
rules: [c(L)()],
|
|
683
683
|
"label-mark": "required",
|
|
@@ -936,7 +936,7 @@ const co = { class: "flex gap-8 items-center" }, po = { key: 0 }, mo = { key: 1
|
|
|
936
936
|
}
|
|
937
937
|
const { breakpoints: d } = He(), p = x(() => d.value.xs || d.value.sm), b = x(() => p.value ? 10 : 20), o = Ie();
|
|
938
938
|
return (e, a) => {
|
|
939
|
-
const
|
|
939
|
+
const G = N("FmTable");
|
|
940
940
|
return R(), z(je, {
|
|
941
941
|
title: c(r)("inventory.warehouse.title"),
|
|
942
942
|
actions: [
|
|
@@ -959,12 +959,12 @@ const co = { class: "flex gap-8 items-center" }, po = { key: 0 }, mo = { key: 1
|
|
|
959
959
|
}
|
|
960
960
|
])
|
|
961
961
|
}, [
|
|
962
|
-
_(
|
|
962
|
+
_(Ge, {
|
|
963
963
|
searchable: "",
|
|
964
964
|
search: C.value,
|
|
965
965
|
"onUpdate:search": a[0] || (a[0] = (D) => C.value = D)
|
|
966
966
|
}, null, 8, ["search"]),
|
|
967
|
-
(R(), z(
|
|
967
|
+
(R(), z(G, {
|
|
968
968
|
style: Re(c(o).tableHeight),
|
|
969
969
|
"column-defs": c(M),
|
|
970
970
|
"row-data": c(U)(l.value),
|
|
@@ -975,7 +975,7 @@ const co = { class: "flex gap-8 items-center" }, po = { key: 0 }, mo = { key: 1
|
|
|
975
975
|
"page-size": b.value
|
|
976
976
|
}, {
|
|
977
977
|
"list-row": B((D) => [
|
|
978
|
-
_(
|
|
978
|
+
_(Oe, {
|
|
979
979
|
row: D,
|
|
980
980
|
onRowClick: (t) => w(t.original)
|
|
981
981
|
}, {
|
package/dist/api/inventory.d.ts
CHANGED
|
@@ -221,7 +221,6 @@ export declare const useInventoryApi: () => {
|
|
|
221
221
|
}[];
|
|
222
222
|
}[] | null | undefined;
|
|
223
223
|
sku?: {
|
|
224
|
-
isInactive?: boolean | null | undefined;
|
|
225
224
|
trackingMeasurement?: string | null | undefined;
|
|
226
225
|
convert?: {
|
|
227
226
|
measurement?: string | null | undefined;
|
|
@@ -349,7 +348,6 @@ export declare const useInventoryApi: () => {
|
|
|
349
348
|
}[];
|
|
350
349
|
}[] | null | undefined;
|
|
351
350
|
sku?: {
|
|
352
|
-
isInactive?: boolean | null | undefined;
|
|
353
351
|
trackingMeasurement?: string | null | undefined;
|
|
354
352
|
convert?: {
|
|
355
353
|
measurement?: string | null | undefined;
|
|
@@ -478,7 +476,6 @@ export declare const useInventoryApi: () => {
|
|
|
478
476
|
}[];
|
|
479
477
|
}[] | null | undefined;
|
|
480
478
|
sku?: {
|
|
481
|
-
isInactive?: boolean | null | undefined;
|
|
482
479
|
trackingMeasurement?: string | null | undefined;
|
|
483
480
|
convert?: {
|
|
484
481
|
measurement?: string | null | undefined;
|
|
@@ -571,7 +568,6 @@ export declare const useInventoryApi: () => {
|
|
|
571
568
|
errors: {
|
|
572
569
|
error?: any;
|
|
573
570
|
data: {
|
|
574
|
-
isInactive?: boolean | null | undefined;
|
|
575
571
|
trackingMeasurement?: string | null | undefined;
|
|
576
572
|
convert?: {
|
|
577
573
|
measurement?: string | null | undefined;
|
package/dist/api/netsuite.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { FdtoNetSuiteInventoryTransferRecord } from '@feedmepos/netsuite-core';
|
|
1
2
|
export declare const useNetSuiteApi: () => {
|
|
2
3
|
readSetting(): Promise<{
|
|
3
4
|
accessToken?: string | null | undefined;
|
|
@@ -9,7 +10,6 @@ export declare const useNetSuiteApi: () => {
|
|
|
9
10
|
}[] | null | undefined;
|
|
10
11
|
_id: string;
|
|
11
12
|
items: {
|
|
12
|
-
name?: string | null | undefined;
|
|
13
13
|
externalId?: string | null | undefined;
|
|
14
14
|
cogsAccount?: {
|
|
15
15
|
id: string;
|
|
@@ -33,7 +33,6 @@ export declare const useNetSuiteApi: () => {
|
|
|
33
33
|
subsidiaryId: string;
|
|
34
34
|
}[];
|
|
35
35
|
childItems: {
|
|
36
|
-
name?: string | null | undefined;
|
|
37
36
|
externalId?: string | null | undefined;
|
|
38
37
|
cogsAccount?: {
|
|
39
38
|
id: string;
|
|
@@ -87,7 +86,6 @@ export declare const useNetSuiteApi: () => {
|
|
|
87
86
|
}[] | null | undefined;
|
|
88
87
|
_id: string;
|
|
89
88
|
items: {
|
|
90
|
-
name?: string | null | undefined;
|
|
91
89
|
externalId?: string | null | undefined;
|
|
92
90
|
cogsAccount?: {
|
|
93
91
|
id: string;
|
|
@@ -111,7 +109,6 @@ export declare const useNetSuiteApi: () => {
|
|
|
111
109
|
subsidiaryId: string;
|
|
112
110
|
}[];
|
|
113
111
|
childItems: {
|
|
114
|
-
name?: string | null | undefined;
|
|
115
112
|
externalId?: string | null | undefined;
|
|
116
113
|
cogsAccount?: {
|
|
117
114
|
id: string;
|
|
@@ -164,7 +161,6 @@ export declare const useNetSuiteApi: () => {
|
|
|
164
161
|
}[] | null | undefined;
|
|
165
162
|
_id: string;
|
|
166
163
|
items: {
|
|
167
|
-
name?: string | null | undefined;
|
|
168
164
|
externalId?: string | null | undefined;
|
|
169
165
|
cogsAccount?: {
|
|
170
166
|
id: string;
|
|
@@ -188,7 +184,6 @@ export declare const useNetSuiteApi: () => {
|
|
|
188
184
|
subsidiaryId: string;
|
|
189
185
|
}[];
|
|
190
186
|
childItems: {
|
|
191
|
-
name?: string | null | undefined;
|
|
192
187
|
externalId?: string | null | undefined;
|
|
193
188
|
cogsAccount?: {
|
|
194
189
|
id: string;
|
|
@@ -303,7 +298,6 @@ export declare const useNetSuiteApi: () => {
|
|
|
303
298
|
};
|
|
304
299
|
}[] | null | undefined;
|
|
305
300
|
sku: {
|
|
306
|
-
isInactive?: boolean | null | undefined;
|
|
307
301
|
trackingMeasurement?: string | null | undefined;
|
|
308
302
|
convert?: {
|
|
309
303
|
measurement?: string | null | undefined;
|
|
@@ -418,6 +412,7 @@ export declare const useNetSuiteApi: () => {
|
|
|
418
412
|
salesAdjustmentId?: string | null | undefined;
|
|
419
413
|
_id: string;
|
|
420
414
|
}>;
|
|
415
|
+
getInventoryTransferHistory(locationId: string, startDate?: Date, endDate?: Date): Promise<FdtoNetSuiteInventoryTransferRecord[]>;
|
|
421
416
|
getLogs(query: string): Promise<{
|
|
422
417
|
url: string;
|
|
423
418
|
}>;
|