@feedmepos/mf-inventory-portal 1.1.5 → 1.1.6-dev.2

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.
Files changed (55) hide show
  1. package/dist/{App-CyCxXYWb.js → App-ZdPyRgoK.js} +1 -1
  2. package/dist/{ApprovalView-U_0mloUl.js → ApprovalView-VNUUoGaD.js} +12 -12
  3. package/dist/{BindingsDialog-MU1VXpRz.js → BindingsDialog-CqrwH8Le.js} +2 -2
  4. package/dist/{BindingsPicker-B0DtgYMV.js → BindingsPicker-CBrr3QOo.js} +1 -1
  5. package/dist/{BindingsTable-CSZw1l9L.js → BindingsTable-CM_qgGzX.js} +1 -1
  6. package/dist/{ClosingDraftView-DwUlj7ta.js → ClosingDraftView-EJxncQHK.js} +2 -2
  7. package/dist/ClosingTemplateView-P3-3w7LP.js +1908 -0
  8. package/dist/{DeliveryOrderPrintPreview-D7-jS3K1.js → DeliveryOrderPrintPreview-B_0diddC.js} +1 -1
  9. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BnL2z9Or.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C_pIvqso.js} +16 -16
  10. package/dist/{FmMultiselectDialog-BTjE3FDA.js → FmMultiselectDialog-B3_QQAyt.js} +1 -1
  11. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-D-hrdDvI.js → FmUnitInput.vue_vue_type_script_setup_true_lang-FPaLEdx0.js} +20 -20
  12. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DqY-ppJ9.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BOMcifaU.js} +1 -1
  13. package/dist/{IngredientGroupView-R5cNGeUG.js → IngredientGroupView-C4qAQE49.js} +2 -2
  14. package/dist/{IngredientsView-BkRv5-9o.js → IngredientsView-BuUCuN_-.js} +4 -4
  15. package/dist/{IntegrationView-DJzLUlBA.js → IntegrationView-Ww16O2-h.js} +729 -766
  16. package/dist/{InventoryBindingForm-SBCpdUlA.js → InventoryBindingForm-BdGh-FcD.js} +1 -1
  17. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DQ9-3Y3R.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DkqxNffc.js} +3 -3
  18. package/dist/{InventoryBindingSummary-DRJTEG5M.js → InventoryBindingSummary-immSfENb.js} +1 -1
  19. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BTyKsubT.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-ChP4yc96.js} +1 -1
  20. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Bn5b1Ur-.js → PremiumBadge.vue_vue_type_script_setup_true_lang-D-GMVZlu.js} +6 -6
  21. package/dist/{PublishView-ClOkwACw.js → PublishView-BYymYGs5.js} +22 -23
  22. package/dist/{PurchaseOrderPrintPreview-BV_-rfm2.js → PurchaseOrderPrintPreview-D3WKx7pj.js} +6 -6
  23. package/dist/{ReceiveRequestView-BEA8WYAJ.js → ReceiveRequestView-Ba5ONN7U.js} +122 -123
  24. package/dist/{RecipeView-CgS5UMwE.js → RecipeView-DoD3paRP.js} +3 -3
  25. package/dist/{StockView-DfNZOW1U.js → StockView-fO7PGIdp.js} +6 -6
  26. package/dist/{SupplierView-nAtRIngl.js → SupplierView-DNhVDIF0.js} +3 -3
  27. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-0fKqK-Yg.js → TransferDetails.vue_vue_type_script_setup_true_lang-D4noOVzU.js} +812 -847
  28. package/dist/{TransferTemplateView-B7P8MaPd.js → TransferTemplateView-788yoUXj.js} +70 -70
  29. package/dist/{UnitView-B5bqeT_p.js → UnitView-iQCflI7n.js} +3 -3
  30. package/dist/{WarehouseView-yIhVXIOL.js → WarehouseView-ComVJ9Ub.js} +1 -1
  31. package/dist/api/adjustment-template.d.ts +2 -0
  32. package/dist/api/closing-template.d.ts +2 -0
  33. package/dist/api/netsuite.d.ts +0 -1
  34. package/dist/{app-CktPIZfH.js → app-DDQ8iM43.js} +32520 -30121
  35. package/dist/app.js +5 -5
  36. package/dist/components/TemplatePublishDialog.d.ts +13 -0
  37. package/dist/components/TemplatePublishDialog.vue.d.ts +12 -0
  38. package/dist/components/row-action.enum.d.ts +1 -0
  39. package/dist/{decimal-ClHMtypx.js → decimal-Cj3dpSJu.js} +1 -1
  40. package/dist/{format-unit-display--5ianNK1.js → format-unit-display-DBZ-CswW.js} +22 -22
  41. package/dist/{index-ynBWdY_c.js → index-DkQGplv5.js} +1 -1
  42. package/dist/{index-KMubbPxS.js → index-TCig0pJv.js} +1 -1
  43. package/dist/{stock-Bsrt9B9a.js → stock-cW_hYhb6.js} +1 -1
  44. package/dist/style.css +1 -1
  45. package/dist/{supplier-BXmGBQ24.js → supplier-CmLYcKmg.js} +1 -1
  46. package/dist/tsconfig.app.tsbuildinfo +1 -1
  47. package/dist/{use-ingredient-select-dialog-Pg9yaoJS.js → use-ingredient-select-dialog-J1mw_EQM.js} +1 -1
  48. package/dist/{use-inventory-binding-dialog-Deyh6NeE.js → use-inventory-binding-dialog-CgxQ2cgb.js} +1 -1
  49. package/dist/views/dev/components/TemplatePublishDialogTest.vue.d.ts +2 -0
  50. package/dist/views/receive-request/composables/fn.d.ts +3 -4
  51. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +618 -1
  52. package/package.json +1 -1
  53. package/dist/ClosingTemplateView-DcUMrx5w.js +0 -1863
  54. package/dist/components/FmMultiselectDialogTemporary.vue.d.ts +0 -41
  55. package/dist/vue-i18n-Dybwy_8K.js +0 -2365
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-DQ9-3Y3R.js";
1
+ import { _ as f } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-DkqxNffc.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as ee, computed as _, reactive as ne, resolveComponent as k, openBlock as r, createElementBlock as p, createVNode as y, withCtx as U, createElementVNode as n, toDisplayString as m, unref as i, createBlock as B, createCommentVNode as v, Fragment as E, renderList as C, nextTick as oe } from "vue";
2
- import { a as te, X as le, b1 as ie, j as h, b2 as N, V as G, T as se, F as de } from "./app-CktPIZfH.js";
3
- import { u as re } from "./use-inventory-binding-dialog-Deyh6NeE.js";
4
- import { _ as ae, c as ue, d as me } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-D-hrdDvI.js";
2
+ import { a as te, X as le, b4 as ie, j as h, b5 as N, V as G, T as se, F as de } from "./app-DDQ8iM43.js";
3
+ import { u as re } from "./use-inventory-binding-dialog-CgxQ2cgb.js";
4
+ import { _ as ae, c as ue, d as me } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-FPaLEdx0.js";
5
5
  import { useI18n as ce } from "@feedmepos/mf-common";
6
6
  const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-16" }, fe = { class: "flex items-center" }, ve = { class: "flex-1 fm-typo-en-title-sm-600" }, be = { class: "flex flex-col" }, ge = { class: "flex py-8 px-12 border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-100 h-[44px] items-center" }, _e = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, xe = { class: "flex flex-col w-full border-b border-fm-color-neutral-gray-100" }, he = {
7
7
  class: "flex items-center",
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as l, resolveComponent as m, openBlock as c, createBlock as d, h as g } from "vue";
2
2
  import { useI18n as p } from "@feedmepos/mf-common";
3
3
  import { components as u } from "@feedmepos/ui-library";
4
- import { F as r } from "./app-CktPIZfH.js";
4
+ import { F as r } from "./app-DDQ8iM43.js";
5
5
  const w = /* @__PURE__ */ l({
6
6
  __name: "InventoryBindingSummary",
7
7
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as V, computed as w, ref as h, watch as u, resolveComponent as i, openBlock as F, createBlock as g, withCtx as d, createVNode as A, createElementVNode as k, normalizeClass as K } from "vue";
2
- import { T as s } from "./app-CktPIZfH.js";
2
+ import { T as s } from "./app-DDQ8iM43.js";
3
3
  const T = ["value", "disabled"], B = /* @__PURE__ */ V({
4
4
  __name: "NumberPrecisionInput",
5
5
  props: {
@@ -1,4 +1,4 @@
1
- import { aE as u, aF as _, a3 as F, u as h } from "./app-CktPIZfH.js";
1
+ import { aG as u, aH as _, a3 as h, u as F } from "./app-DDQ8iM43.js";
2
2
  import { useCoreStore as y } from "@feedmepos/mf-common";
3
3
  import { ref as v, defineComponent as k, resolveComponent as l, openBlock as g, createElementBlock as S, renderSlot as x, createVNode as m, withCtx as O } from "vue";
4
4
  function w(e, t) {
@@ -22,8 +22,8 @@ async function C(e, t) {
22
22
  }
23
23
  await _(r, t);
24
24
  }
25
- const f = F((e, t) => {
26
- const r = h(), n = y();
25
+ const f = h((e, t) => {
26
+ const r = F(), n = y();
27
27
  return {
28
28
  async getInventoryForecast() {
29
29
  var s;
@@ -82,7 +82,7 @@ function N(e) {
82
82
  let t = e.substring(e.indexOf("_") + 1);
83
83
  return t.includes("_") && (t = t.substring(0, t.lastIndexOf("_"))), Number.isNaN(Date.parse(t)) ? null : new Date(t).toISOString();
84
84
  }
85
- const E = { class: "flex items-center gap-8" }, b = "Experience enhanced inventory features with premium plan.", L = /* @__PURE__ */ k({
85
+ const b = { class: "flex items-center gap-8" }, B = "Experience enhanced inventory features with premium plan.", L = /* @__PURE__ */ k({
86
86
  __name: "PremiumBadge",
87
87
  props: {
88
88
  zIndex: {}
@@ -90,12 +90,12 @@ const E = { class: "flex items-center gap-8" }, b = "Experience enhanced invento
90
90
  setup(e) {
91
91
  return (t, r) => {
92
92
  const n = l("FmPill"), o = l("FmTooltip");
93
- return g(), S("div", E, [
93
+ return g(), S("div", b, [
94
94
  x(t.$slots, "default"),
95
95
  m(o, {
96
96
  variant: "plain",
97
97
  placement: "top",
98
- content: b,
98
+ content: B,
99
99
  "z-index": t.zIndex
100
100
  }, {
101
101
  default: O(() => [
@@ -1,11 +1,10 @@
1
- import { defineComponent as Q, ref as z, computed as r, resolveComponent as s, openBlock as I, createBlock as B, unref as v, createSlots as X, withCtx as u, createElementVNode as h, normalizeClass as Z, createVNode as n, normalizeStyle as ee, Teleport as te, h as f } from "vue";
2
- import { u as oe, a as ne, aY as ae, B as se, _ as le, al as Y } from "./app-CktPIZfH.js";
3
- import { useBreakpoints as ie, useDialog as re, useSnackbar as ue, components as H } from "@feedmepos/ui-library";
4
- import { u as ce } from "./vue-i18n-Dybwy_8K.js";
5
- const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, de = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, ge = /* @__PURE__ */ Q({
1
+ import { defineComponent as Q, ref as z, computed as r, resolveComponent as s, openBlock as I, createBlock as B, unref as v, createSlots as X, withCtx as c, createElementVNode as h, normalizeClass as Z, createVNode as n, normalizeStyle as ee, Teleport as te, h as f } from "vue";
2
+ import { aA as oe, u as ne, a as ae, a$ as se, B as le, _ as ie, am as H } from "./app-DDQ8iM43.js";
3
+ import { useBreakpoints as re, useDialog as ce, useSnackbar as ue, components as R } from "@feedmepos/ui-library";
4
+ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, de = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, fe = /* @__PURE__ */ Q({
6
5
  __name: "PublishView",
7
6
  setup(ye) {
8
- const { t } = ce(), { breakpoints: x } = ie(), l = oe(), A = ne(), S = ae(), g = z(!1), c = r(() => A.state.inventory.updatedAt ? A.state.inventory.updatedAt : null), R = se(), C = re(), N = ue(), $ = r(() => l.locations), _ = r(() => x.value.xs || x.value.sm), U = r(() => _.value ? 10 : 20), q = r(() => [
7
+ const { t } = oe(), { breakpoints: x } = re(), l = ne(), A = ae(), S = se(), g = z(!1), u = r(() => A.state.inventory.updatedAt ? A.state.inventory.updatedAt : null), Y = le(), C = ce(), $ = ue(), N = r(() => l.locations), _ = r(() => x.value.xs || x.value.sm), U = r(() => _.value ? 10 : 20), q = r(() => [
9
8
  {
10
9
  label: t("inventory.common.refresh"),
11
10
  value: "refresh",
@@ -48,7 +47,7 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
48
47
  header: () => t("inventory.publish.columns.type"),
49
48
  enableSorting: !0,
50
49
  cell(e) {
51
- return f(H.FmChip, {
50
+ return f(R.FmChip, {
52
51
  color: "primary",
53
52
  label: e.row.original.type
54
53
  });
@@ -66,7 +65,7 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
66
65
  enableSorting: !0,
67
66
  cell(e) {
68
67
  var o, a;
69
- return (o = e.row.original.inventory) != null && o.updatedAt ? Y((a = e.row.original.inventory) == null ? void 0 : a.updatedAt) : "";
68
+ return (o = e.row.original.inventory) != null && o.updatedAt ? H((a = e.row.original.inventory) == null ? void 0 : a.updatedAt) : "";
70
69
  }
71
70
  },
72
71
  {
@@ -75,9 +74,9 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
75
74
  enableSorting: !0,
76
75
  cell(e) {
77
76
  var p;
78
- if (!c.value)
77
+ if (!u.value)
79
78
  return "";
80
- const o = ((p = e.row.original.inventory) == null ? void 0 : p.updatedAt) == c.value, a = e.row.original.dbName, m = e.row.original.type === "warehouse";
79
+ const o = ((p = e.row.original.inventory) == null ? void 0 : p.updatedAt) == u.value, a = e.row.original.dbName, m = e.row.original.type === "warehouse";
81
80
  return f(
82
81
  "div",
83
82
  {
@@ -94,7 +93,7 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
94
93
  },
95
94
  t(o ? "inventory.publish.status.published" : "inventory.publish.status.outdated")
96
95
  ),
97
- !o && !m ? f(H.FmButton, {
96
+ !o && !m ? f(R.FmButton, {
98
97
  class: "tertiary",
99
98
  variant: "secondary",
100
99
  icon: "sync",
@@ -105,7 +104,7 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
105
104
  primaryActions: { text: t("inventory.common.publish"), close: !0 },
106
105
  secondaryActions: { text: "Cancel", close: !0 }
107
106
  }).onPrimary(async () => {
108
- await S.publishInventory(a.split("_")[1]), await l.readLocations(), N.open({ message: "Publish request submitted", type: "success" });
107
+ await S.publishInventory(a.split("_")[1]), await l.readLocations(), $.open({ message: "Publish request submitted", type: "success" });
109
108
  });
110
109
  }
111
110
  }) : null
@@ -134,12 +133,12 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
134
133
  ];
135
134
  return (e, o) => {
136
135
  const a = s("FmChip"), m = s("FlexRender"), p = s("TableActionableRow"), G = s("FmTable"), J = s("FmCollapsibleTabs"), O = s("FmBottomSheet");
137
- return I(), B(le, {
136
+ return I(), B(ie, {
138
137
  title: v(t)("inventory.publish.title"),
139
138
  actions: q.value,
140
139
  "onClick:action": E
141
140
  }, X({
142
- default: u(() => [
141
+ default: c(() => [
143
142
  h("div", {
144
143
  class: Z([
145
144
  "flex flex-col gap-8 max-h-full",
@@ -150,16 +149,16 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
150
149
  ])
151
150
  }, [
152
151
  n(G, {
153
- style: ee(v(R).tableHeight),
152
+ style: ee(v(Y).tableHeight),
154
153
  "column-defs": j,
155
- "row-data": $.value,
154
+ "row-data": N.value,
156
155
  loading: !v(l)._currentLocation || g.value,
157
156
  "loading-text": "Loading",
158
157
  "page-size": U.value
159
158
  }, {
160
- "list-row": u((i) => [
159
+ "list-row": c((i) => [
161
160
  n(p, { row: i }, {
162
- default: u((d) => {
161
+ default: c((d) => {
163
162
  var F, k, M, y, P, L, T, V, b, D;
164
163
  return [
165
164
  h("div", me, [
@@ -190,7 +189,7 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
190
189
  modelValue: w.value,
191
190
  "onUpdate:modelValue": o[1] || (o[1] = (i) => w.value = i)
192
191
  }, {
193
- default: u(() => [
192
+ default: c(() => [
194
193
  n(J, {
195
194
  class: "pb-8",
196
195
  items: K,
@@ -203,12 +202,12 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
203
202
  ]),
204
203
  _: 2
205
204
  }, [
206
- c.value ? {
205
+ u.value ? {
207
206
  name: "headerInfo",
208
- fn: u(() => [
207
+ fn: c(() => [
209
208
  n(a, {
210
209
  variant: "info",
211
- label: `Latest: ${v(Y)(c.value)}`
210
+ label: `Latest: ${v(H)(u.value)}`
212
211
  }, null, 8, ["label"])
213
212
  ]),
214
213
  key: "0"
@@ -218,5 +217,5 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
218
217
  }
219
218
  });
220
219
  export {
221
- ge as default
220
+ fe as default
222
221
  };
@@ -1,6 +1,6 @@
1
- import { defineComponent as b, computed as x, ref as m, onMounted as f, openBlock as u, createElementBlock as n, createElementVNode as t, toDisplayString as e, normalizeStyle as g, createTextVNode as i, Fragment as o, createCommentVNode as p, renderList as v } from "vue";
2
- import { useRoute as k } from "vue-router";
3
- import { ax as y, ak as w } from "./app-CktPIZfH.js";
1
+ import { defineComponent as b, computed as m, ref as x, onMounted as f, openBlock as u, createElementBlock as n, createElementVNode as t, toDisplayString as e, normalizeStyle as g, createTextVNode as i, Fragment as o, createCommentVNode as p, renderList as v } from "vue";
2
+ import { useRoute as w } from "vue-router";
3
+ import { ay as y, al as k } from "./app-DDQ8iM43.js";
4
4
  const A = { class: "purchase-box" }, C = { valign: "bottom" }, R = { class: "title" }, N = { class: "text-right" }, O = { class: "header" }, P = { class: "sub-header" }, D = { class: "caption" }, E = { class: "address" }, S = { class: "text-right" }, T = { class: "sub-header" }, F = { class: "address" }, q = { class: "purchase-body" }, L = { class: "text-left" }, U = { class: "text-left" }, V = { class: "text-right" }, B = { class: "text-right" }, H = { class: "text-right" }, I = { style: { "padding-top": "30px" } }, M = { valign: "bottom" }, z = { class: "header" }, J = { class: "caption" }, Q = {
5
5
  class: "text-left",
6
6
  style: { width: "20%" }
@@ -13,7 +13,7 @@ const A = { class: "purchase-box" }, C = { valign: "bottom" }, R = { class: "tit
13
13
  }, W = /* @__PURE__ */ b({
14
14
  __name: "PurchaseOrderPrintPreview",
15
15
  setup(X) {
16
- const c = x(() => {
16
+ const c = m(() => {
17
17
  switch (s.value.status) {
18
18
  case y.enum.CANCEL:
19
19
  return "#FF0000";
@@ -22,7 +22,7 @@ const A = { class: "purchase-box" }, C = { valign: "bottom" }, R = { class: "tit
22
22
  default:
23
23
  return "#7A7A7A";
24
24
  }
25
- }), _ = k(), s = m(JSON.parse(_.query.data));
25
+ }), _ = w(), s = x(JSON.parse(_.query.data));
26
26
  return f(() => {
27
27
  setTimeout(() => window.print(), 500);
28
28
  }), (Y, l) => (u(), n("div", A, [
@@ -147,7 +147,7 @@ const A = { class: "purchase-box" }, C = { valign: "bottom" }, R = { class: "tit
147
147
  ])
148
148
  ]));
149
149
  }
150
- }), et = /* @__PURE__ */ w(W, [["__scopeId", "data-v-3cb85541"]]);
150
+ }), et = /* @__PURE__ */ k(W, [["__scopeId", "data-v-3cb85541"]]);
151
151
  export {
152
152
  et as default
153
153
  };