@feedmepos/mf-inventory-portal 1.2.50 → 1.2.51-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-DssF0b6P.js → App-bY_YcLwH.js} +75 -70
- package/dist/{ApprovalView-DTCayLqE.js → ApprovalView-vzIiBqt2.js} +34 -34
- package/dist/{BindingsDialog-C2-THIG0.js → BindingsDialog-DCh2ORem.js} +2 -2
- package/dist/{BindingsPicker-Q9W92GzO.js → BindingsPicker-DcNG03p-.js} +2 -2
- package/dist/{BindingsTable-BQo8HpbF.js → BindingsTable-B_Yaq-z3.js} +4 -4
- package/dist/{ClosingDraftView-B0spMbZd.js → ClosingDraftView-C0T8cWEB.js} +19 -18
- package/dist/{ClosingHistoryView-DDVibMzL.js → ClosingHistoryView-DkKAjh7T.js} +27 -27
- package/dist/{ClosingTemplateView-BSiNTpkH.js → ClosingTemplateView-DpH1EyW5.js} +18 -17
- package/dist/{DeliveryOrderPrintPreview-P9JASYcM.js → DeliveryOrderPrintPreview-B2ecLaLu.js} +1 -1
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CI4z5XYQ.js +188 -0
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CaQq9jpc.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-kVpsL4cx.js} +12 -12
- package/dist/FmMultiselectDialog-BviFuAM5.js +618 -0
- package/dist/{FmMultiselectDialog-DKEGwdyz.js → FmMultiselectDialog-DGUwruxs.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-H5xYFc6B.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CRTG3VFo.js} +3 -3
- package/dist/{ImportView-CKg0Z3Bz.js → ImportView-Bk4Z7nGh.js} +7 -7
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-y1qeqeUV.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BEJ19Uej.js} +1 -1
- package/dist/{IngredientGroupView-DntDNlVX.js → IngredientGroupView-8GHMMOux.js} +108 -107
- package/dist/{IngredientsView-B93tavZW.js → IngredientsView-DbmODx-v.js} +126 -125
- package/dist/{IntegrationView-CqEe7SWR.js → IntegrationView-DC0O_Lk4.js} +80 -80
- package/dist/{InventoryBindingForm-9E3VsD4v.js → InventoryBindingForm-ln0q25n_.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Dgy_eFxJ.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CFgk9rSe.js} +21 -21
- package/dist/{InventoryBindingSummary-DTcoWk_n.js → InventoryBindingSummary-BlNXhS4v.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CIDw4WOz.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BY_mXqPr.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Dao7XifY.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BhNjwE3X.js} +2 -2
- package/dist/{PublishView-GDJsOfeY.js → PublishView-5GkTzxbi.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-DFeZT5Zi.js → PurchaseOrderPrintPreview-Dj5lJ5Ou.js} +1 -1
- package/dist/ReceiveRequestView-BAYczSpW.js +2913 -0
- package/dist/{RecipeView-DyJs2lsk.js → RecipeView-OLPRwnVx.js} +83 -82
- package/dist/{StockView-Cvwfcsf7.js → StockView-TcA5zJqr.js} +113 -112
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CMFiW6FL.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DZ6TDkKR.js} +1 -1
- package/dist/{SupplierView-C6rIxQOg.js → SupplierView-77qI9YCg.js} +28 -27
- package/dist/SurchargeView-CxW2ZZ8a.js +460 -0
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-6C5vAumx.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-_8YeihNH.js} +2 -2
- package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js +84 -0
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Bc0MVyK_.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-ByPIjcED.js} +13 -13
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BSNIRZx3.js → TransferDetails.vue_vue_type_script_setup_true_lang-7BoFD5wV.js} +129 -129
- package/dist/{TransferTemplateView-BVRXLZGK.js → TransferTemplateView-CI0U36Tr.js} +82 -81
- package/dist/{UnitView-B9n1vDtN.js → UnitView-fNFFUNlb.js} +20 -19
- package/dist/{WarehouseView-oyEVpI9M.js → WarehouseView-BAXgnZnO.js} +21 -20
- package/dist/{WastageTemplateView-DCdR4fhu.js → WastageTemplateView-C5qCXWqZ.js} +165 -164
- package/dist/api/netsuite.d.ts +8 -0
- package/dist/api/surcharge.d.ts +31 -0
- package/dist/{app-_hCz0958.js → app-CddcvygU.js} +4513 -4410
- package/dist/app-DiX-EfV6.js +8167 -0
- package/dist/app.d.ts +52 -0
- package/dist/app.js +1 -1
- package/dist/{closing-template-y0kvKjaN.js → closing-template-DxdLqlb1.js} +1 -1
- package/dist/component-DpCUABT3.js +82 -0
- package/dist/components/FmInventoryTableToolbar.vue.d.ts +8 -0
- package/dist/components/FmMultiselectDialogProps.d.ts +5 -0
- package/dist/{date2-Ct3mwV73.js → date2-CVZy20Q_.js} +1 -1
- package/dist/{dayjs.min-iDh15Qvq.js → dayjs.min-NrRtjg32.js} +26 -26
- package/dist/{decimal-DliTT0vp.js → decimal-Du3Grkk9.js} +2 -2
- package/dist/{defineDeepModel-DmVg-VGa.js → defineDeepModel-DgRoiQBp.js} +1 -1
- package/dist/{duplicate-template-BO8LvPWq.js → duplicate-template-DvnZ4BW6.js} +1 -1
- package/dist/{feature-Dk3_0hiC.js → feature-CTA18HlL.js} +8947 -6212
- package/dist/{format-time-from-id-DOmxxVYQ.js → format-time-from-id-6kt1RMWs.js} +1 -1
- package/dist/{format-unit-display-BuliV6Fn.js → format-unit-display-mVJ-nuJe.js} +11 -11
- package/dist/{import-export.helper-DpWf4zh7.js → import-export.helper-DWwlJy7N.js} +5 -5
- package/dist/{index-CY6-px7W.js → index-BEcj1jGd.js} +3 -3
- package/dist/{index-C6nEuFpg.js → index-BfcdagSF.js} +1 -1
- package/dist/{index-BZ9fyZbO.js → index-By-jyWOP.js} +1 -1
- package/dist/{lodash-DDMf37Aw.js → lodash-D0COOw3m.js} +1 -1
- package/dist/netsuite-3LgQ5ztL.js +5402 -0
- package/dist/{purchase-order-template-C9GqlQL3.js → purchase-order-template-CJCmABzP.js} +1 -1
- package/dist/router/name.d.ts +1 -0
- package/dist/{rules-9-OxHCjJ.js → rules-hQBVd1Mn.js} +9 -9
- package/dist/{stock-CjJKvKsB.js → stock-4xGaezEy.js} +3 -3
- package/dist/{stock-D7gYQHth.js → stock-B6QW-S14.js} +1 -1
- package/dist/stores/feature.d.ts +4 -0
- package/dist/stores/integration/netsuite.d.ts +5 -0
- package/dist/stores/surcharge.d.ts +18 -0
- package/dist/style.css +1 -1
- package/dist/{supplier-z1X1B4yZ.js → supplier-C-dmFnqw.js} +2 -2
- package/dist/surcharge-Db4IiSEQ.js +71 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-B4u8ttOK.js → use-ingredient-select-dialog-DgYSZDN8.js} +2 -2
- package/dist/{use-inventory-binding-dialog-CaFu9DlH.js → use-inventory-binding-dialog-CnYcA_Fo.js} +2 -2
- package/dist/{use-template-enabled-locations-2-KQU0hLX3.js → use-template-enabled-locations-2-B_aZrMUU.js} +2 -2
- package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +714 -0
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +8 -1
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
- package/dist/views/surcharge/SurchargeView.vue.d.ts +2 -0
- package/dist/{vue-i18n-UG5lCeUG.js → vue-i18n-BCEDBY4T.js} +563 -563
- package/dist/{xlsx-INrtkMe5.js → xlsx-CJsXiiEq.js} +398 -398
- package/dist/{xlsx.util-OqI8IJfw.js → xlsx.util-CSudzOii.js} +1 -1
- package/package.json +5 -5
- package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DkvLYf5A.js +0 -231
- package/dist/FmMultiselectDialog-BgLyRNeD.js +0 -598
- package/dist/ReceiveRequestView-BvYpGKEB.js +0 -2913
- package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-cfFHDIwQ.js +0 -162
- package/dist/app-uBuHtW8m.js +0 -8127
- package/dist/cypress/component/receive-request/KDI-15-total-price-currency.cy.d.ts +0 -2
- package/dist/netsuite-CVg13Lx5.js +0 -5131
- package/dist/views/ingredients/helper/calculate-default-cost.d.ts +0 -9
- package/dist/views/receive-request/components/transfer-form/TransferForm2.vue.d.ts +0 -22
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { defineComponent as I, h as R, computed as h, openBlock as l, createBlock as V, resolveDynamicComponent as B, unref as c, normalizeClass as F, withCtx as D, createElementVNode as d, renderSlot as N, normalizeProps as z, guardReactiveProps as E, createElementBlock as u, Fragment as g, renderList as L, createVNode as k, createCommentVNode as y } from "vue";
|
|
2
|
+
import { components as P } from "@feedmepos/ui-library";
|
|
3
|
+
/**
|
|
4
|
+
* vue-table
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) TanStack
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
10
|
+
*
|
|
11
|
+
* @license MIT
|
|
12
|
+
*/
|
|
13
|
+
const b = I({
|
|
14
|
+
props: ["render", "props"],
|
|
15
|
+
setup: (o) => () => typeof o.render == "function" || typeof o.render == "object" ? R(o.render, o.props) : o.render
|
|
16
|
+
}), S = { class: "flex gap-4 w-full" }, _ = { class: "flex-1" }, $ = { class: "flex flex-col" }, j = { key: 0 }, A = { key: 0 }, G = /* @__PURE__ */ I({
|
|
17
|
+
__name: "TableActionableRow",
|
|
18
|
+
props: {
|
|
19
|
+
row: {},
|
|
20
|
+
onRowClick: {},
|
|
21
|
+
actionColumnId: { default: "action" }
|
|
22
|
+
},
|
|
23
|
+
setup(o) {
|
|
24
|
+
const m = o, s = h(
|
|
25
|
+
() => m.row.getVisibleCells().reduce(
|
|
26
|
+
(e, r) => (e[r.column.id] = r, e),
|
|
27
|
+
{}
|
|
28
|
+
)
|
|
29
|
+
);
|
|
30
|
+
return (e, r) => (l(), V(B(e.onRowClick ? c(P).FmListItem : "div"), {
|
|
31
|
+
class: F([
|
|
32
|
+
"w-full border-b border-fm-color-neutral-gray-100",
|
|
33
|
+
{
|
|
34
|
+
"bg-fm-color-neutral-gray-100": e.row.getIsSelected(),
|
|
35
|
+
"cursor-pointer": typeof e.onRowClick == "function"
|
|
36
|
+
}
|
|
37
|
+
]),
|
|
38
|
+
onClick: r[0] || (r[0] = (a) => {
|
|
39
|
+
var t;
|
|
40
|
+
return (t = e.onRowClick) == null ? void 0 : t.call(e, e.row.original);
|
|
41
|
+
})
|
|
42
|
+
}, {
|
|
43
|
+
default: D(() => {
|
|
44
|
+
var a, t, p, i, f;
|
|
45
|
+
return [
|
|
46
|
+
d("div", S, [
|
|
47
|
+
d("div", _, [
|
|
48
|
+
N(e.$slots, "default", z(E(s.value)), () => [
|
|
49
|
+
d("div", $, [
|
|
50
|
+
(l(!0), u(g, null, L(m.row.getVisibleCells(), (n) => {
|
|
51
|
+
var C, v, w;
|
|
52
|
+
return l(), u(g, {
|
|
53
|
+
key: n.id
|
|
54
|
+
}, [
|
|
55
|
+
n.column.id !== e.actionColumnId ? (l(), u("div", j, [
|
|
56
|
+
k(c(b), {
|
|
57
|
+
render: (v = (C = n.column) == null ? void 0 : C.columnDef) == null ? void 0 : v.cell,
|
|
58
|
+
props: (w = n.getContext) == null ? void 0 : w.call(n)
|
|
59
|
+
}, null, 8, ["render", "props"])
|
|
60
|
+
])) : y("", !0)
|
|
61
|
+
], 64);
|
|
62
|
+
}), 128))
|
|
63
|
+
])
|
|
64
|
+
])
|
|
65
|
+
]),
|
|
66
|
+
s.value[e.actionColumnId ?? ""] ? (l(), u("div", A, [
|
|
67
|
+
d("div", null, [
|
|
68
|
+
k(c(b), {
|
|
69
|
+
render: (p = (t = (a = s.value[e.actionColumnId ?? ""]) == null ? void 0 : a.column) == null ? void 0 : t.columnDef) == null ? void 0 : p.cell,
|
|
70
|
+
props: (f = (i = s.value[e.actionColumnId ?? ""]) == null ? void 0 : i.getContext) == null ? void 0 : f.call(i)
|
|
71
|
+
}, null, 8, ["render", "props"])
|
|
72
|
+
])
|
|
73
|
+
])) : y("", !0)
|
|
74
|
+
])
|
|
75
|
+
];
|
|
76
|
+
}),
|
|
77
|
+
_: 3
|
|
78
|
+
}, 8, ["class"]));
|
|
79
|
+
}
|
|
80
|
+
});
|
|
81
|
+
export {
|
|
82
|
+
b as F,
|
|
83
|
+
G as _
|
|
84
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as C, ref as c, computed as f, resolveComponent as y, openBlock as
|
|
2
|
-
import { u as T } from "./vue-i18n-
|
|
3
|
-
import { components as
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
1
|
+
import { defineComponent as C, ref as c, computed as f, resolveComponent as y, openBlock as P, createElementBlock as A, createElementVNode as d, toDisplayString as D, createVNode as v, unref as x, h as g } from "vue";
|
|
2
|
+
import { u as T } from "./vue-i18n-BCEDBY4T.js";
|
|
3
|
+
import { components as E } from "@feedmepos/ui-library";
|
|
4
|
+
import { K as R, D as K } from "./app-DiX-EfV6.js";
|
|
5
|
+
const S = {
|
|
6
6
|
class: "flex flex-col gap-24",
|
|
7
7
|
style: { height: "400px" }
|
|
8
|
-
},
|
|
8
|
+
}, z = { class: "flex items-center" }, U = { class: "fm-typo-en-body-lg-600 flex-1" }, j = { class: "flex flex-col gap-4 w-full flex-1 min-h-0" }, q = /* @__PURE__ */ C({
|
|
9
9
|
__name: "TemplatePublishDialog",
|
|
10
10
|
props: {
|
|
11
11
|
title: {},
|
|
@@ -38,7 +38,7 @@ const z = {
|
|
|
38
38
|
}
|
|
39
39
|
], r = f(() => {
|
|
40
40
|
const l = p.value.toLowerCase();
|
|
41
|
-
return L.value.filter((e) =>
|
|
41
|
+
return L.value.filter((e) => R(e, b.value)).filter(({ name: e }) => l ? e.toLowerCase().includes(l) : !0);
|
|
42
42
|
});
|
|
43
43
|
function F() {
|
|
44
44
|
const l = Object.keys(i.value).map(Number).filter((e) => i.value[e]);
|
|
@@ -68,7 +68,7 @@ const z = {
|
|
|
68
68
|
},
|
|
69
69
|
u(a ? "inventory.publish.status.published" : "inventory.publish.status.outdated")
|
|
70
70
|
),
|
|
71
|
-
g(
|
|
71
|
+
g(E.FmButton, {
|
|
72
72
|
class: "tertiary",
|
|
73
73
|
variant: "secondary",
|
|
74
74
|
icon: "ios_share",
|
|
@@ -107,9 +107,9 @@ const z = {
|
|
|
107
107
|
});
|
|
108
108
|
return (l, e) => {
|
|
109
109
|
const a = y("FmButton"), n = y("FmTextField"), h = y("FmTable");
|
|
110
|
-
return
|
|
111
|
-
d("div",
|
|
112
|
-
d("div",
|
|
110
|
+
return P(), A("div", S, [
|
|
111
|
+
d("div", z, [
|
|
112
|
+
d("div", U, D(l.title), 1),
|
|
113
113
|
d("div", null, [
|
|
114
114
|
v(a, {
|
|
115
115
|
label: B.value,
|
|
@@ -120,7 +120,7 @@ const z = {
|
|
|
120
120
|
}, null, 8, ["label", "loading", "disabled"])
|
|
121
121
|
])
|
|
122
122
|
]),
|
|
123
|
-
d("div",
|
|
123
|
+
d("div", j, [
|
|
124
124
|
v(n, {
|
|
125
125
|
modelValue: p.value,
|
|
126
126
|
"onUpdate:modelValue": e[1] || (e[1] = (o) => p.value = o),
|
|
@@ -128,7 +128,7 @@ const z = {
|
|
|
128
128
|
placeholder: x(u)("inventory.publish.search.placeholder"),
|
|
129
129
|
"prepend-icon": "search"
|
|
130
130
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
131
|
-
v(x(
|
|
131
|
+
v(x(K), {
|
|
132
132
|
modelValue: b.value,
|
|
133
133
|
"onUpdate:modelValue": e[2] || (e[2] = (o) => b.value = o),
|
|
134
134
|
attributes: V
|