@feedmepos/mf-inventory-portal 1.1.6-dev.3 → 1.1.6

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 (56) hide show
  1. package/dist/{App-B-nI29_9.js → App-eXCck7a5.js} +1 -1
  2. package/dist/{ApprovalView-BfPeHvSD.js → ApprovalView-B0WnIbbC.js} +12 -12
  3. package/dist/{BindingsDialog-C7F9iWm8.js → BindingsDialog-CrE8Bq81.js} +2 -2
  4. package/dist/{BindingsPicker-Co-yI_sT.js → BindingsPicker-BYfPxsQb.js} +1 -1
  5. package/dist/{BindingsTable-BdIxsyz3.js → BindingsTable-w-9rhRKt.js} +1 -1
  6. package/dist/{ClosingDraftView-Cb_yM-zH.js → ClosingDraftView-DvOzoK_0.js} +2 -2
  7. package/dist/ClosingTemplateView-DLL1XO9L.js +1863 -0
  8. package/dist/{DeliveryOrderPrintPreview-Drere-i3.js → DeliveryOrderPrintPreview-B1IkUCtx.js} +1 -1
  9. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Boejs9ce.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-zrZa5u48.js} +16 -16
  10. package/dist/{FmMultiselectDialog-DY6sGXeT.js → FmMultiselectDialog-bxhXcTjC.js} +1 -1
  11. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-dJ5ogZkp.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DjryjX5D.js} +20 -20
  12. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-3KMq32uv.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DIwVPQfD.js} +1 -1
  13. package/dist/{IngredientGroupView-BQ9sVyyo.js → IngredientGroupView-DlqotAv3.js} +2 -2
  14. package/dist/{IngredientsView-Ckc38Pmx.js → IngredientsView-xysz7RCf.js} +4 -4
  15. package/dist/{IntegrationView-u4NrNGsu.js → IntegrationView-Bl9tz77r.js} +766 -729
  16. package/dist/{InventoryBindingForm-DdEH5h1a.js → InventoryBindingForm-Cpyi3HHr.js} +1 -1
  17. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CEBg3W7N.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DaYCH25K.js} +3 -3
  18. package/dist/{InventoryBindingSummary-CrJ_gJtY.js → InventoryBindingSummary-Yx9OMEM9.js} +1 -1
  19. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-T1FCwDNT.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CVYPx1Tq.js} +1 -1
  20. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang--iqMiaAR.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BH5KgYxB.js} +6 -6
  21. package/dist/{PublishView-CI0ZcCdg.js → PublishView-B6lG5RXd.js} +23 -22
  22. package/dist/{PurchaseOrderPrintPreview-N8RQIyXL.js → PurchaseOrderPrintPreview-BYmfHMdm.js} +6 -6
  23. package/dist/{ReceiveRequestView-BhFmuwna.js → ReceiveRequestView-BRJq_4JE.js} +123 -122
  24. package/dist/{RecipeView-DGMRC95R.js → RecipeView-_8gHbL19.js} +3 -3
  25. package/dist/{StockView-DsaJFBfk.js → StockView-ZfGClrtp.js} +6 -6
  26. package/dist/{SupplierView-CJ8GoKDm.js → SupplierView-BJmiYNly.js} +3 -3
  27. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-D_ZaY1CU.js → TransferDetails.vue_vue_type_script_setup_true_lang-Bi5M4cFg.js} +781 -762
  28. package/dist/{TransferTemplateView-D3LLpBHC.js → TransferTemplateView-D2DTO0s8.js} +70 -70
  29. package/dist/{UnitView-y-mN7vfi.js → UnitView-BHKpH-Aq.js} +3 -3
  30. package/dist/{WarehouseView-DAxqUFNw.js → WarehouseView-DW6OJ2eV.js} +1 -1
  31. package/dist/api/adjustment-template.d.ts +0 -2
  32. package/dist/api/closing-template.d.ts +0 -2
  33. package/dist/api/netsuite.d.ts +1 -0
  34. package/dist/{app-LANrJGcw.js → app-uQHV9FP_.js} +30143 -32521
  35. package/dist/app.js +5 -5
  36. package/dist/components/FmMultiselectDialogTemporary.vue.d.ts +41 -0
  37. package/dist/components/row-action.enum.d.ts +0 -1
  38. package/dist/{decimal-BVHw1oWk.js → decimal-DKCv75cs.js} +1 -1
  39. package/dist/{format-unit-display-DYMpvtXq.js → format-unit-display-X3MUIbit.js} +22 -22
  40. package/dist/{index-vXejDFcV.js → index-BvaM_9NR.js} +1 -1
  41. package/dist/{index-ChUdGYpp.js → index-D_mBZNHv.js} +1 -1
  42. package/dist/router/index.d.ts +2 -2
  43. package/dist/{stock-C44UfJRT.js → stock-B-RknLfQ.js} +1 -1
  44. package/dist/style.css +1 -1
  45. package/dist/{supplier-bSKffDOa.js → supplier-BVmAwcSb.js} +1 -1
  46. package/dist/tsconfig.app.tsbuildinfo +1 -1
  47. package/dist/{use-ingredient-select-dialog-DcC9S3Gs.js → use-ingredient-select-dialog-C-A9SI3K.js} +1 -1
  48. package/dist/{use-inventory-binding-dialog-BWn08ETN.js → use-inventory-binding-dialog-q_8cEc3p.js} +1 -1
  49. package/dist/views/receive-request/composables/fn.d.ts +4 -3
  50. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +1 -618
  51. package/dist/vue-i18n-4cOdM_m_.js +2365 -0
  52. package/package.json +4 -4
  53. package/dist/ClosingTemplateView-BFJfFFAM.js +0 -1908
  54. package/dist/components/TemplatePublishDialog.d.ts +0 -13
  55. package/dist/components/TemplatePublishDialog.vue.d.ts +0 -12
  56. package/dist/views/dev/components/TemplatePublishDialogTest.vue.d.ts +0 -2
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-CEBg3W7N.js";
1
+ import { _ as f } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-DaYCH25K.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, b4 as ie, j as h, b5 as N, V as G, T as se, F as de } from "./app-LANrJGcw.js";
3
- import { u as re } from "./use-inventory-binding-dialog-BWn08ETN.js";
4
- import { _ as ae, c as ue, d as me } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-dJ5ogZkp.js";
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-uQHV9FP_.js";
3
+ import { u as re } from "./use-inventory-binding-dialog-q_8cEc3p.js";
4
+ import { _ as ae, c as ue, d as me } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-DjryjX5D.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-LANrJGcw.js";
4
+ import { F as r } from "./app-uQHV9FP_.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-LANrJGcw.js";
2
+ import { T as s } from "./app-uQHV9FP_.js";
3
3
  const T = ["value", "disabled"], B = /* @__PURE__ */ V({
4
4
  __name: "NumberPrecisionInput",
5
5
  props: {
@@ -1,4 +1,4 @@
1
- import { aG as u, aH as _, a3 as h, u as F } from "./app-LANrJGcw.js";
1
+ import { aE as u, aF as _, a3 as F, u as h } from "./app-uQHV9FP_.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 = h((e, t) => {
26
- const r = F(), n = y();
25
+ const f = F((e, t) => {
26
+ const r = h(), 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 b = { class: "flex items-center gap-8" }, B = "Experience enhanced inventory features with premium plan.", L = /* @__PURE__ */ k({
85
+ const E = { 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 b = { 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", b, [
93
+ return g(), S("div", E, [
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,10 +1,11 @@
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-LANrJGcw.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({
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-uQHV9FP_.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-4cOdM_m_.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({
5
6
  __name: "PublishView",
6
7
  setup(ye) {
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(() => [
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(() => [
8
9
  {
9
10
  label: t("inventory.common.refresh"),
10
11
  value: "refresh",
@@ -47,7 +48,7 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
47
48
  header: () => t("inventory.publish.columns.type"),
48
49
  enableSorting: !0,
49
50
  cell(e) {
50
- return f(R.FmChip, {
51
+ return f(H.FmChip, {
51
52
  color: "primary",
52
53
  label: e.row.original.type
53
54
  });
@@ -65,7 +66,7 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
65
66
  enableSorting: !0,
66
67
  cell(e) {
67
68
  var o, a;
68
- return (o = e.row.original.inventory) != null && o.updatedAt ? H((a = e.row.original.inventory) == null ? void 0 : a.updatedAt) : "";
69
+ return (o = e.row.original.inventory) != null && o.updatedAt ? Y((a = e.row.original.inventory) == null ? void 0 : a.updatedAt) : "";
69
70
  }
70
71
  },
71
72
  {
@@ -74,9 +75,9 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
74
75
  enableSorting: !0,
75
76
  cell(e) {
76
77
  var p;
77
- if (!u.value)
78
+ if (!c.value)
78
79
  return "";
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";
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";
80
81
  return f(
81
82
  "div",
82
83
  {
@@ -93,7 +94,7 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
93
94
  },
94
95
  t(o ? "inventory.publish.status.published" : "inventory.publish.status.outdated")
95
96
  ),
96
- !o && !m ? f(R.FmButton, {
97
+ !o && !m ? f(H.FmButton, {
97
98
  class: "tertiary",
98
99
  variant: "secondary",
99
100
  icon: "sync",
@@ -104,7 +105,7 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
104
105
  primaryActions: { text: t("inventory.common.publish"), close: !0 },
105
106
  secondaryActions: { text: "Cancel", close: !0 }
106
107
  }).onPrimary(async () => {
107
- await S.publishInventory(a.split("_")[1]), await l.readLocations(), $.open({ message: "Publish request submitted", type: "success" });
108
+ await S.publishInventory(a.split("_")[1]), await l.readLocations(), N.open({ message: "Publish request submitted", type: "success" });
108
109
  });
109
110
  }
110
111
  }) : null
@@ -133,12 +134,12 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
133
134
  ];
134
135
  return (e, o) => {
135
136
  const a = s("FmChip"), m = s("FlexRender"), p = s("TableActionableRow"), G = s("FmTable"), J = s("FmCollapsibleTabs"), O = s("FmBottomSheet");
136
- return I(), B(ie, {
137
+ return I(), B(le, {
137
138
  title: v(t)("inventory.publish.title"),
138
139
  actions: q.value,
139
140
  "onClick:action": E
140
141
  }, X({
141
- default: c(() => [
142
+ default: u(() => [
142
143
  h("div", {
143
144
  class: Z([
144
145
  "flex flex-col gap-8 max-h-full",
@@ -149,16 +150,16 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
149
150
  ])
150
151
  }, [
151
152
  n(G, {
152
- style: ee(v(Y).tableHeight),
153
+ style: ee(v(R).tableHeight),
153
154
  "column-defs": j,
154
- "row-data": N.value,
155
+ "row-data": $.value,
155
156
  loading: !v(l)._currentLocation || g.value,
156
157
  "loading-text": "Loading",
157
158
  "page-size": U.value
158
159
  }, {
159
- "list-row": c((i) => [
160
+ "list-row": u((i) => [
160
161
  n(p, { row: i }, {
161
- default: c((d) => {
162
+ default: u((d) => {
162
163
  var F, k, M, y, P, L, T, V, b, D;
163
164
  return [
164
165
  h("div", me, [
@@ -189,7 +190,7 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
189
190
  modelValue: w.value,
190
191
  "onUpdate:modelValue": o[1] || (o[1] = (i) => w.value = i)
191
192
  }, {
192
- default: c(() => [
193
+ default: u(() => [
193
194
  n(J, {
194
195
  class: "pb-8",
195
196
  items: K,
@@ -202,12 +203,12 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
202
203
  ]),
203
204
  _: 2
204
205
  }, [
205
- u.value ? {
206
+ c.value ? {
206
207
  name: "headerInfo",
207
- fn: c(() => [
208
+ fn: u(() => [
208
209
  n(a, {
209
210
  variant: "info",
210
- label: `Latest: ${v(H)(u.value)}`
211
+ label: `Latest: ${v(Y)(c.value)}`
211
212
  }, null, 8, ["label"])
212
213
  ]),
213
214
  key: "0"
@@ -217,5 +218,5 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
217
218
  }
218
219
  });
219
220
  export {
220
- fe as default
221
+ ge as default
221
222
  };
@@ -1,6 +1,6 @@
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-LANrJGcw.js";
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-uQHV9FP_.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 = m(() => {
16
+ const c = x(() => {
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
- }), _ = w(), s = x(JSON.parse(_.query.data));
25
+ }), _ = k(), s = m(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__ */ k(W, [["__scopeId", "data-v-3cb85541"]]);
150
+ }), et = /* @__PURE__ */ w(W, [["__scopeId", "data-v-3cb85541"]]);
151
151
  export {
152
152
  et as default
153
153
  };