@feedmepos/mf-inventory-portal 0.0.22-dev.42 → 0.0.22-dev.44
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-DJhk8ORX.js +140 -0
- package/dist/{BindingsDialog-lGoLNJyU.js → BindingsDialog-CNY83IzG.js} +1 -1
- package/dist/{BindingsPicker-CdvkacXh.js → BindingsPicker-BCeGBlTl.js} +1 -1
- package/dist/{BindingsTable-B8G9Ckdk.js → BindingsTable-DwN0rUr_.js} +1 -1
- package/dist/{ClosingTemplateView-Dcy08dPm.js → ClosingTemplateView-BE1JMBGd.js} +342 -349
- package/dist/{FmDroppableField-DeW5xBTW.js → FmDroppableField-DeZRIGOb.js} +13 -13
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DBpTwDEI.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CptHxbFO.js} +3 -3
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BGYVXLcj.js +435 -0
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DFHzlUVu.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-C0liaZ9Y.js} +1 -1
- package/dist/{IngredientsView-DKJjOK_4.js → IngredientsView-B6BPG_MN.js} +414 -417
- package/dist/{IntegrationView-CgqU4EBV.js → IntegrationView-CXurxj5t.js} +2 -2
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-gvpXGm1X.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-C4np_znK.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-B3JDjoOu.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CvSRvT_i.js} +2 -2
- package/dist/{PurchaseOrderPrintPreview-olI-JfjI.js → PurchaseOrderPrintPreview-BYSkl_zL.js} +3 -3
- package/dist/{ReceiveRequestView-flhI8D2c.js → ReceiveRequestView-DWKEL17S.js} +31 -27
- package/dist/{RecipeView-CoMyQ92u.js → RecipeView-DEZblbQT.js} +91 -88
- package/dist/{StockView-Dae47pLA.js → StockView-hijQ7wQL.js} +533 -525
- package/dist/SupplierView-B2xKGKCF.js +3011 -0
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-DoEEedkk.js → TransferDetails.vue_vue_type_script_setup_true_lang-CBwT8yGC.js} +5 -5
- package/dist/TransferTemplateView--2vvQWBW.js +1258 -0
- package/dist/{UnitView-B0E2nG3J.js → UnitView-B30FwZGg.js} +4 -4
- package/dist/{WarehouseView-NQ2JwyWK.js → WarehouseView-BwbqpKwn.js} +14 -14
- package/dist/api/supplier.d.ts +1 -0
- package/dist/{app-tiUQG6R0.js → app-DXZpbt33.js} +7355 -7252
- package/dist/app.d.ts +20 -0
- package/dist/app.js +1 -1
- package/dist/{decimal-BOvNv58m.js → decimal-BVO6jH4l.js} +1 -1
- package/dist/{defineDeepModel-CNgIKGt8.js → defineDeepModel-DlkycC_t.js} +1 -1
- package/dist/{format-time-from-id-DWlH-AZV.js → format-time-from-id-Dhgv47T9.js} +1 -1
- package/dist/{format-unit-display-DIhXvTxN.js → format-unit-display-D4D1b9F7.js} +15 -15
- package/dist/stores/supplier.d.ts +4 -1
- package/dist/supplier-Beauc4QC.js +77 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-template-enabled-locations-2-BrK8SKvw.js → use-template-enabled-locations-2-DbnvkOM9.js} +1 -1
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +30 -0
- package/dist/views/supplier/components/supplier-import/SupplierImport.vue.d.ts +2 -0
- package/dist/views/supplier/components/supplier-import/SupplierImportItem.vue.d.ts +12 -0
- package/dist/views/supplier/components/supplier-import/SupplierImportItemProps.d.ts +6 -0
- package/dist/views/supplier/composables/use-supplier-actions.d.ts +10 -0
- package/dist/views/supplier/helpers/import-export.helper.d.ts +50 -0
- package/dist/{xlsx-DGqkxpZX.js → xlsx-DXqCVrb5.js} +1 -1
- package/dist/{xlsx.util-CvycJwUf.js → xlsx.util-7VhQushh.js} +1 -1
- package/package.json +2 -1
- package/dist/ApprovalView-5YpqaJKy.js +0 -128
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-cSTp7zUx.js +0 -359
- package/dist/SupplierView-CxYZUHrc.js +0 -827
- package/dist/TransferTemplateView-DdB7z0b4.js +0 -1302
- package/dist/supplier-rpkSwf7L.js +0 -70
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as K, computed as _, openBlock as v, createElementBlock as w, createElementVNode as l, Fragment as q, renderList as H, toDisplayString as V, createCommentVNode as Y, ref as M, resolveComponent as I, createBlock as T, withCtx as R, createVNode as y, unref as a, isRef as Z, normalizeClass as ae, normalizeStyle as re, Teleport as ie, normalizeProps as ue, guardReactiveProps as de } from "vue";
|
|
2
|
-
import { u as G, S as me, c as oe, R as N, A as ce, a as J, l as pe, m as fe, e as ee, i as ve } from "./app-
|
|
2
|
+
import { u as G, S as me, c as oe, R as N, A as ce, a as J, l as pe, m as fe, e as ee, i as ve } from "./app-DXZpbt33.js";
|
|
3
3
|
import { useDialog as ye, useSnackbar as le, useProxiedModel as te, useBreakpoints as be } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as ge, _ as xe } from "./is-linked-ingredient-error-fJ2TJb3z.js";
|
|
5
5
|
import { F as U, D as ne, R as j } from "./row-action.enum-PMKMRrZR.js";
|
|
6
6
|
import { defineStore as _e, storeToRefs as he } from "pinia";
|
|
7
7
|
import { c as Ve, _ as Ue, F as we } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
8
8
|
import { useI18n as O } from "@feedmepos/mf-common";
|
|
9
|
-
import { u as Ce, _ as ke, a as Fe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { F as Se } from "./decimal-
|
|
11
|
-
import { _ as $e } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { u as Ce, _ as ke, a as Fe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BGYVXLcj.js";
|
|
10
|
+
import { F as Se } from "./decimal-BVO6jH4l.js";
|
|
11
|
+
import { _ as $e } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-C4np_znK.js";
|
|
12
12
|
const Ee = { class: "flex flex-col gap-8" }, Ie = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "flex flex-col"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ref as W, defineComponent as I, watch as ee, onMounted as te, onUnmounted as Fe, openBlock as S, createElementBlock as q, toRaw as be, reactive as xe, createElementVNode as g, toDisplayString as U, unref as c, createVNode as V, resolveComponent as L, createSlots as $e, withCtx as N, createTextVNode as We, renderSlot as De, createBlock as z, createCommentVNode as Ae, computed as F, isRef as we, normalizeClass as Se, normalizeStyle as Re } from "vue";
|
|
2
|
-
import { n as Pe,
|
|
2
|
+
import { n as Pe, Y as Te, Z as Ue, c as O, $ as ae, a0 as le, a1 as Ee, W as Le, R as E, i as Ne } from "./app-DXZpbt33.js";
|
|
3
3
|
import { useCoreStore as Be, useI18n as j } from "@feedmepos/mf-common";
|
|
4
|
-
import { D as Ve, R as
|
|
4
|
+
import { D as Ve, R as Y, F as T } from "./row-action.enum-PMKMRrZR.js";
|
|
5
5
|
import { c as qe, _ as ze, F as J } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
|
|
6
|
-
import { u as Ie, _ as je, a as Oe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { u as Ie, _ as je, a as Oe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BGYVXLcj.js";
|
|
7
7
|
import { useDialogChild as Ge, useDialog as Me, useSnackbar as se, useProxiedModel as oe, useBreakpoints as Ke } from "@feedmepos/ui-library";
|
|
8
8
|
const Q = Pe((m, h) => {
|
|
9
9
|
const y = Be();
|
|
@@ -71,11 +71,11 @@ function Ce() {
|
|
|
71
71
|
}
|
|
72
72
|
function Ze(m, h) {
|
|
73
73
|
function y(p, s) {
|
|
74
|
-
if (p ===
|
|
74
|
+
if (p === Y.Edit) {
|
|
75
75
|
m(O(s));
|
|
76
76
|
return;
|
|
77
77
|
}
|
|
78
|
-
if (p ===
|
|
78
|
+
if (p === Y.Delete) {
|
|
79
79
|
h(O(s));
|
|
80
80
|
return;
|
|
81
81
|
}
|
|
@@ -106,7 +106,7 @@ function Ze(m, h) {
|
|
|
106
106
|
header: "",
|
|
107
107
|
cell(p) {
|
|
108
108
|
return qe(
|
|
109
|
-
[Ve[
|
|
109
|
+
[Ve[Y.Edit], Ve[Y.Delete]],
|
|
110
110
|
(s) => {
|
|
111
111
|
y(s, p.row.original.original);
|
|
112
112
|
}
|
|
@@ -141,7 +141,7 @@ function Ze(m, h) {
|
|
|
141
141
|
}
|
|
142
142
|
return { columnDefs: n, formatRowData: l };
|
|
143
143
|
}
|
|
144
|
-
const
|
|
144
|
+
const Ye = /* @__PURE__ */ I({
|
|
145
145
|
__name: "GoogleMap",
|
|
146
146
|
props: {
|
|
147
147
|
markers: {
|
|
@@ -244,7 +244,7 @@ const Xe = /* @__PURE__ */ I({
|
|
|
244
244
|
function d(r) {
|
|
245
245
|
i.value.map((f) => be(f).setMap(r));
|
|
246
246
|
}
|
|
247
|
-
function
|
|
247
|
+
function X(r, f, b) {
|
|
248
248
|
v(r, f, b);
|
|
249
249
|
}
|
|
250
250
|
function P() {
|
|
@@ -255,7 +255,7 @@ const Xe = /* @__PURE__ */ I({
|
|
|
255
255
|
streetViewControl: !1,
|
|
256
256
|
draggable: !0,
|
|
257
257
|
scrollwheel: !0
|
|
258
|
-
}),
|
|
258
|
+
}), X(s.value, "click", (r) => n("map-click", _(r)));
|
|
259
259
|
}
|
|
260
260
|
return ee(() => a.markers, C, { deep: !0 }), ee(() => a.polygons, w, { deep: !0 }), te(() => {
|
|
261
261
|
!p.value || !l || (P(), C(a.markers), w(a.polygons));
|
|
@@ -267,7 +267,7 @@ const Xe = /* @__PURE__ */ I({
|
|
|
267
267
|
class: "map app-map"
|
|
268
268
|
}, null, 512));
|
|
269
269
|
}
|
|
270
|
-
}), Je = { class: "flex flex-col gap-24" }, Qe = { class: "flex flex-col gap-8" },
|
|
270
|
+
}), Je = { class: "flex flex-col gap-24" }, Qe = { class: "flex flex-col gap-8" }, Xe = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, eo = { class: "fm-typo-en-body-lg-600" }, oo = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, to = { class: "fm-typo-en-body-lg-600" }, ao = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, lo = { class: "fm-typo-en-body-lg-600" }, so = /* @__PURE__ */ I({
|
|
271
271
|
__name: "CoordinateDialog",
|
|
272
272
|
props: {
|
|
273
273
|
address: {
|
|
@@ -298,7 +298,7 @@ const Xe = /* @__PURE__ */ I({
|
|
|
298
298
|
return (v, M) => (S(), q("div", Je, [
|
|
299
299
|
g("div", Qe, [
|
|
300
300
|
g("div", null, [
|
|
301
|
-
g("span",
|
|
301
|
+
g("span", Xe, U(c(n)("inventory.formField.coordinate.address")) + ": ", 1),
|
|
302
302
|
g("span", eo, U(p.value), 1)
|
|
303
303
|
]),
|
|
304
304
|
g("div", null, [
|
|
@@ -310,7 +310,7 @@ const Xe = /* @__PURE__ */ I({
|
|
|
310
310
|
g("span", lo, U(l.lat), 1)
|
|
311
311
|
])
|
|
312
312
|
]),
|
|
313
|
-
V(
|
|
313
|
+
V(Ye, {
|
|
314
314
|
ref_key: "gmapRef",
|
|
315
315
|
ref: _,
|
|
316
316
|
class: "h-[272px] sm:h-[240px] xs:h-[240px]",
|
|
@@ -917,7 +917,7 @@ const uo = { class: "flex gap-8 items-center" }, io = { key: 0 }, co = { key: 1
|
|
|
917
917
|
}
|
|
918
918
|
const { breakpoints: o } = Ke(), e = F(() => o.value.xs || o.value.sm), t = F(() => e.value ? 10 : 20), B = Ie();
|
|
919
919
|
return (w, d) => {
|
|
920
|
-
const
|
|
920
|
+
const X = L("FmTable");
|
|
921
921
|
return S(), z(je, {
|
|
922
922
|
title: c(s)("inventory.warehouse.title"),
|
|
923
923
|
actions: [
|
|
@@ -946,7 +946,7 @@ const uo = { class: "flex gap-8 items-center" }, io = { key: 0 }, co = { key: 1
|
|
|
946
946
|
search: k.value,
|
|
947
947
|
"onUpdate:search": d[0] || (d[0] = (P) => k.value = P)
|
|
948
948
|
}, null, 8, ["search"]),
|
|
949
|
-
(S(), z(
|
|
949
|
+
(S(), z(X, {
|
|
950
950
|
style: Re(c(B).tableHeight),
|
|
951
951
|
"column-defs": c(C),
|
|
952
952
|
"row-data": c(R)(a.value),
|
package/dist/api/supplier.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export declare const useSupplierApi: () => {
|
|
|
4
4
|
readLocationSuppliers(): Promise<WithRev<FdoSupplier>[]>;
|
|
5
5
|
readBusinessSuppliers(): Promise<WithRev<FdoSupplier>[]>;
|
|
6
6
|
createSupplier(supplier: CreateType<FdoSupplier>): Promise<WithRev<FdoSupplier>[]>;
|
|
7
|
+
importSuppliers(suppliers: (FdoSupplier | CreateType<FdoSupplier>)[]): Promise<void>;
|
|
7
8
|
updateSupplier(supplier: FdoSupplier): Promise<WithRev<FdoSupplier>[]>;
|
|
8
9
|
deleteSupplier(supplier: FdoSupplier): Promise<WithRev<boolean>>;
|
|
9
10
|
};
|