@feedmepos/mf-inventory-portal 0.0.22-dev.6 → 0.0.22-dev.8
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/{ApprovalView-C3pfc3dI.js → ApprovalView-BNeTV3TV.js} +4 -4
- package/dist/{BindingsDialog-B5Wslo-f.js → BindingsDialog-pBelBtiH.js} +1 -1
- package/dist/{BindingsPicker-DvI3H5lb.js → BindingsPicker-VHr76FFM.js} +19 -19
- package/dist/{BindingsTable-B6yXjwVZ.js → BindingsTable-CgIp6DKB.js} +1 -1
- package/dist/ClosingTemplateView-FleQasJi.js +1065 -0
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BTw7Szfi.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BYfojQsH.js} +1 -1
- package/dist/{IngredientsView-J-HwciIj.js → IngredientsView-BEW8_MJ0.js} +3 -3
- package/dist/{IntegrationView-CJgc6NQo.js → IntegrationView-NnpJ8nYO.js} +2 -2
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CzCVf08r.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CJMb1aR1.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BJHZI0SZ.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DWSq3JsJ.js} +1 -1
- package/dist/{PurchaseOrderPrintPreview-DQlHM7ar.js → PurchaseOrderPrintPreview-BZ5uhyRy.js} +1 -1
- package/dist/{ReceiveRequestView-l-agN7yj.js → ReceiveRequestView-DN9u5HLn.js} +6 -6
- package/dist/{RecipeView-Bo85tc7w.js → RecipeView-DM20cOk3.js} +3 -3
- package/dist/{StockView-CqORznbJ.js → StockView-LppKR-nM.js} +6 -6
- package/dist/{SupplierView-BSc10_7O.js → SupplierView-DHh6MhoI.js} +37 -37
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-KHwccWdi.js +754 -0
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-2QZK3Iu5.js +1485 -0
- package/dist/TransferTemplateView-CUQSQR8U.js +1278 -0
- package/dist/{UnitView-C4Ynhnes.js → UnitView-D8XJca7H.js} +4 -4
- package/dist/{WarehouseView-CXhsdB6L.js → WarehouseView-DTnx3-Fi.js} +2 -2
- package/dist/api/inventory.d.ts +1 -0
- package/dist/api/netsuite.d.ts +40 -0
- package/dist/api/purchase-order-template.d.ts +0 -4
- package/dist/{app-CEx_CAFE.js → app-Cn0UYdAW.js} +8183 -7946
- package/dist/app.d.ts +6 -0
- package/dist/app.js +3 -3
- package/dist/{decimal-c4am8-9x.js → decimal-BiLgcnqq.js} +1 -1
- package/dist/{defineDeepModel-DstjIWV3.js → defineDeepModel-CXCb8GcR.js} +4 -4
- package/dist/{format-time-from-id-C7eIbCJx.js → format-time-from-id-5QzQNKlI.js} +1 -1
- package/dist/{id-to-date-BvvYzy9E.js → id-to-date-C-LYuoim.js} +1 -1
- package/dist/purchase-order-transaction-type-BV80Rx9h.js +676 -0
- package/dist/stores/api.d.ts +1 -0
- package/dist/stores/helper/core-store-proxy.d.ts +27 -0
- package/dist/stores/helper/generate-backend-urls.d.ts +1 -0
- package/dist/stores/netsuite.d.ts +49 -0
- package/dist/style.css +1 -1
- package/dist/{supplier-Buou9AeW.js → supplier-Bg9MjX_y.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/use-template-enabled-locations-2-CzY-UFrc.js +85 -0
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +14 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +42 -0
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +42 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +13 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +2 -2
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +84 -0
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +28 -986
- package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +7 -0
- package/dist/{xlsx-_u-mXW67.js → xlsx-BsdfXPiA.js} +1 -1
- package/dist/{xlsx.util-C_mH9WMn.js → xlsx.util-B_ynXZ3Q.js} +2 -2
- package/package.json +5 -5
- package/dist/ClosingTemplateView-YW5Sw9M5.js +0 -1030
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-qfnlbLSa.js +0 -740
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-CW4b6og_.js +0 -1409
- package/dist/TransferTemplateView-Djn47L76.js +0 -1230
- package/dist/purchase-order-transaction-type-DpJe0L78.js +0 -702
- package/dist/use-template-enabled-locations-BPap1ER6.js +0 -57
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as ee, ref as h, watch as te, computed as U, resolveComponent as ae, openBlock as g, createBlock as Z, unref as e, withCtx as b, createElementVNode as s, normalizeClass as oe, createVNode as n, normalizeStyle as re, toDisplayString as ne, createElementBlock as se, createCommentVNode as le, Teleport as ie, mergeProps as ce } from "vue";
|
|
2
|
-
import { Z as f, O as G, j as pe } from "./app-
|
|
3
|
-
import { b as ue, u as me, _ as de, a as fe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { u as _e } from "./purchase-order-transaction-type-
|
|
5
|
-
import { u as ve, _ as De } from "./TransferDetails.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { Z as f, O as G, j as pe } from "./app-Cn0UYdAW.js";
|
|
3
|
+
import { b as ue, u as me, _ as de, a as fe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BYfojQsH.js";
|
|
4
|
+
import { u as _e } from "./purchase-order-transaction-type-BV80Rx9h.js";
|
|
5
|
+
import { u as ve, _ as De } from "./TransferDetails.vue_vue_type_script_setup_true_lang-KHwccWdi.js";
|
|
6
6
|
import { _ as he, F as _ } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
7
7
|
import { useBreakpoints as ge } from "@feedmepos/ui-library";
|
|
8
8
|
import { useI18n as be } from "@feedmepos/mf-common";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as C, ref as o, onMounted as M, onUnmounted as F, watch as x, resolveComponent as l, openBlock as i, createElementBlock as d, createBlock as I, withCtx as R, createVNode as a, createCommentVNode as z, createElementVNode as P } from "vue";
|
|
2
|
-
import { u as V,
|
|
2
|
+
import { u as V, ao as L, _ as S } from "./app-Cn0UYdAW.js";
|
|
3
3
|
const U = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "flex justify-end gap-8 items-center"
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as S, computed as
|
|
2
|
-
import { u as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as S, computed as u, ref as l, onMounted as U, onUnmounted as V, resolveComponent as E, openBlock as p, createElementBlock as f, createVNode as r, createElementVNode as k } from "vue";
|
|
2
|
+
import { u as M, ao as x, y as z } from "./app-Cn0UYdAW.js";
|
|
3
|
+
const F = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "flex flex-col gap-16"
|
|
6
|
-
},
|
|
6
|
+
}, K = { class: "flex justify-end gap-8 items-center" }, w = {
|
|
7
7
|
key: 1,
|
|
8
8
|
class: "p-24 flex items-center justify-center gap-16"
|
|
9
9
|
}, N = /* @__PURE__ */ S({
|
|
10
10
|
__name: "BindingsPicker",
|
|
11
11
|
setup(L) {
|
|
12
|
-
const d =
|
|
12
|
+
const d = M(), C = u(() => d.recipes), I = u(() => d.skus), g = l(!0), i = l(new Array()), a = l("RECIPE"), c = u(() => a.value === "SKU" ? I.value.map((s) => ({
|
|
13
13
|
label: s.name,
|
|
14
14
|
sublabel: s.code,
|
|
15
15
|
value: s
|
|
16
16
|
})) : C.value.map((s) => ({
|
|
17
17
|
label: s.name,
|
|
18
18
|
value: s
|
|
19
|
-
}))), b =
|
|
19
|
+
}))), b = u({
|
|
20
20
|
get() {
|
|
21
21
|
if (a.value === "SKU") {
|
|
22
22
|
const e = i.value.filter((n) => n.type === "SKU");
|
|
@@ -62,9 +62,9 @@ const K = {
|
|
|
62
62
|
];
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
}),
|
|
65
|
+
}), y = l(), o = x(B);
|
|
66
66
|
async function B() {
|
|
67
|
-
await d.readInventory(),
|
|
67
|
+
await d.readInventory(), y.value = o.onMessage(
|
|
68
68
|
"props:binding-items",
|
|
69
69
|
(e) => {
|
|
70
70
|
g.value = !1, a.value = e.type, i.value = e.bindings;
|
|
@@ -77,38 +77,38 @@ const K = {
|
|
|
77
77
|
function R() {
|
|
78
78
|
o.sendMessage("@submit:items", i.value);
|
|
79
79
|
}
|
|
80
|
-
const
|
|
80
|
+
const _ = l();
|
|
81
81
|
return U(() => {
|
|
82
|
-
const e =
|
|
82
|
+
const e = _.value;
|
|
83
83
|
e && new ResizeObserver(() => {
|
|
84
84
|
o.sendMessage("resize", e.scrollHeight);
|
|
85
85
|
}).observe(e);
|
|
86
86
|
}), V(() => {
|
|
87
87
|
var e, s;
|
|
88
|
-
(s = (e =
|
|
88
|
+
(s = (e = y.value) == null ? void 0 : e.removeEventListener) == null || s.call(e);
|
|
89
89
|
}), (e, s) => {
|
|
90
90
|
const n = E("FmButton"), t = E("FmCircularProgress");
|
|
91
91
|
return p(), f("div", {
|
|
92
92
|
class: "bg-white",
|
|
93
93
|
ref_key: "resizeableRef",
|
|
94
|
-
ref:
|
|
94
|
+
ref: _
|
|
95
95
|
}, [
|
|
96
|
-
g.value ? (p(), f("div",
|
|
97
|
-
|
|
96
|
+
g.value ? (p(), f("div", w, [
|
|
97
|
+
r(t, { size: "md" }),
|
|
98
98
|
s[1] || (s[1] = k("div", null, "Loading bindings dialog...", -1))
|
|
99
|
-
])) : (p(), f("div",
|
|
100
|
-
|
|
99
|
+
])) : (p(), f("div", F, [
|
|
100
|
+
r(z, {
|
|
101
101
|
"model-value": b.value,
|
|
102
102
|
"onUpdate:modelValue": s[0] || (s[0] = (m) => b.value = m),
|
|
103
103
|
items: c.value
|
|
104
104
|
}, null, 8, ["model-value", "items"]),
|
|
105
|
-
k("div",
|
|
106
|
-
|
|
105
|
+
k("div", K, [
|
|
106
|
+
r(n, {
|
|
107
107
|
variant: "tertiary",
|
|
108
108
|
label: "Close",
|
|
109
109
|
onClick: P
|
|
110
110
|
}),
|
|
111
|
-
|
|
111
|
+
r(n, {
|
|
112
112
|
label: "Submit",
|
|
113
113
|
onClick: R
|
|
114
114
|
})
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as _, ref as c, provide as C, computed as f, resolveComponent as b, openBlock as p, createBlock as h, h as z, onMounted as B, onUnmounted as I, createElementBlock as y, createVNode as N, createElementVNode as x } from "vue";
|
|
2
|
-
import { q as v, u as E,
|
|
2
|
+
import { q as v, u as E, ao as L } from "./app-Cn0UYdAW.js";
|
|
3
3
|
import { components as F } from "@feedmepos/ui-library";
|
|
4
4
|
import "@feedmepos/mf-common";
|
|
5
5
|
const P = /* @__PURE__ */ _({
|