@feedmepos/mf-inventory-portal 1.1.2 → 1.1.3-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 (54) hide show
  1. package/dist/{App-BhEtjLqO.js → App-Y70p19Gp.js} +1 -1
  2. package/dist/ApprovalView-BVyt_mNb.js +219 -0
  3. package/dist/{BindingsDialog-CX3Hu_r6.js → BindingsDialog-BULs3OTl.js} +4 -4
  4. package/dist/{BindingsPicker-BbinQ8Hl.js → BindingsPicker-DpAk5M6U.js} +1 -1
  5. package/dist/{BindingsTable-DxlSz6Ev.js → BindingsTable-DzQzbNFw.js} +4 -4
  6. package/dist/ClosingDraftView-BpRIs-2B.js +1676 -0
  7. package/dist/{ClosingTemplateView-CB9_JOl4.js → ClosingTemplateView-B-kRLpTZ.js} +487 -473
  8. package/dist/{DeliveryOrderPrintPreview-BlE3fIAT.js → DeliveryOrderPrintPreview-CSZndykZ.js} +1 -1
  9. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DxKFFyWs.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CDvzOUsD.js} +3 -3
  10. package/dist/{FmMultiselectDialog-DcviKwNR.js → FmMultiselectDialog-DSJ2MFmR.js} +1 -1
  11. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-CepHeClt.js → FmUnitInput.vue_vue_type_script_setup_true_lang-XUPKPUMs.js} +1 -1
  12. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-Dg8VdQzg.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-c0_HwN-t.js} +1 -1
  13. package/dist/{IngredientGroupView-EE8lN8JL.js → IngredientGroupView-DQ-EBjd-.js} +2 -2
  14. package/dist/{IngredientsView-BkDpHVvn.js → IngredientsView-CQgltl5_.js} +4 -4
  15. package/dist/{IntegrationView-Bj7sb1gO.js → IntegrationView-CNcVeIFO.js} +1170 -1141
  16. package/dist/{InventoryBindingForm-BkazprFH.js → InventoryBindingForm-BuKXc_Sa.js} +1 -1
  17. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BbQqYyzL.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DQaufX7H.js} +3 -3
  18. package/dist/{InventoryBindingSummary-D0XiOdR4.js → InventoryBindingSummary-D68_zXou.js} +1 -1
  19. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Pf8BPDZw.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-d2nPZ3lt.js} +1 -1
  20. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-D2Tx3xSj.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DkRWn5u5.js} +1 -1
  21. package/dist/{PublishView-BUIcrw8m.js → PublishView-CpQ71JIU.js} +18 -18
  22. package/dist/{PurchaseOrderPrintPreview-lO7Bilm5.js → PurchaseOrderPrintPreview-DZo7aY7C.js} +1 -1
  23. package/dist/{ReceiveRequestView-BZV-8Ib3.js → ReceiveRequestView-C4546P-_.js} +697 -694
  24. package/dist/{RecipeView-2Tm12Zuk.js → RecipeView-BRwqCYV9.js} +3 -3
  25. package/dist/{StockView-DaWS_HQl.js → StockView-cvnJr_oX.js} +6 -6
  26. package/dist/{SupplierView-nfxqynuY.js → SupplierView-DwS-SiXQ.js} +648 -646
  27. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-B2NLmIxb.js +2280 -0
  28. package/dist/{TransferTemplateView-CGjfCELA.js → TransferTemplateView-CGKjXln1.js} +6 -6
  29. package/dist/{UnitView-Cm5WuuEN.js → UnitView-BabatKhp.js} +3 -3
  30. package/dist/{WarehouseView-BSLX0g3B.js → WarehouseView-BtEuG-Iw.js} +1 -1
  31. package/dist/api/duplicate-template.d.ts +3 -3
  32. package/dist/api/netsuite.d.ts +1 -0
  33. package/dist/{app-CnDLBWW7.js → app-cN81pzZd.js} +23769 -23459
  34. package/dist/app.d.ts +9 -0
  35. package/dist/app.js +5 -5
  36. package/dist/{decimal-DmezA5YT.js → decimal-CC3JyA3f.js} +1 -1
  37. package/dist/{format-unit-display-Bcq6wldv.js → format-unit-display-B7SHcLn9.js} +216 -202
  38. package/dist/{index-C476dvi7.js → index-D-5LSVee.js} +2686 -2650
  39. package/dist/{index-R97nRHsF.js → index-DldWujwI.js} +1 -1
  40. package/dist/{stock-Dd0YSjSF.js → stock-DBkA5bTB.js} +1 -1
  41. package/dist/style.css +1 -1
  42. package/dist/{supplier-C4s3SHui.js → supplier-C_xP9tgW.js} +1 -1
  43. package/dist/tsconfig.app.tsbuildinfo +1 -1
  44. package/dist/{use-ingredient-select-dialog-DaXBOLhz.js → use-ingredient-select-dialog-mXti22kH.js} +1 -1
  45. package/dist/{use-inventory-binding-dialog-CsFwoUbg.js → use-inventory-binding-dialog-0b-ngROc.js} +1 -1
  46. package/dist/views/closing-draft/components/closing-draft-action/RefreshBalanceAction.vue.d.ts +19 -0
  47. package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +4 -1
  48. package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +8 -0
  49. package/dist/views/receive-request/composables/fn.d.ts +32 -0
  50. package/dist/{vue-i18n-CdkMdZ30.js → vue-i18n-DB3u4gQS.js} +492 -492
  51. package/package.json +4 -4
  52. package/dist/ApprovalView-BHIVSsbz.js +0 -213
  53. package/dist/ClosingDraftView-B5gQ2k-T.js +0 -1520
  54. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-g74nRiM0.js +0 -2213
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-BbQqYyzL.js";
1
+ import { _ as f } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-DQaufX7H.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, b0 as ie, j as h, b1 as N, V as G, T as se, F as de } from "./app-CnDLBWW7.js";
3
- import { u as re } from "./use-inventory-binding-dialog-CsFwoUbg.js";
4
- import { _ as ae, c as ue, d as me } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-CepHeClt.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-cN81pzZd.js";
3
+ import { u as re } from "./use-inventory-binding-dialog-0b-ngROc.js";
4
+ import { _ as ae, c as ue, d as me } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-XUPKPUMs.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-CnDLBWW7.js";
4
+ import { F as r } from "./app-cN81pzZd.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-CnDLBWW7.js";
2
+ import { T as s } from "./app-cN81pzZd.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-CnDLBWW7.js";
1
+ import { aE as u, aF as _, a3 as F, u as h } from "./app-cN81pzZd.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) {
@@ -1,11 +1,11 @@
1
- import { defineComponent as O, ref as z, computed as r, resolveComponent as s, openBlock as I, createBlock as B, unref as v, createSlots as Q, 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, aX as ae, B as se, _ as le, al as H } from "./app-CnDLBWW7.js";
3
- import { useBreakpoints as ie, useDialog as re, useSnackbar as ue, components as R } from "@feedmepos/ui-library";
4
- import { u as ce } from "./vue-i18n-CdkMdZ30.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__ */ O({
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-cN81pzZd.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-DB3u4gQS.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({
6
6
  __name: "PublishView",
7
7
  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), Y = se(), C = re(), N = ue(), $ = 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(() => [
9
9
  {
10
10
  label: t("inventory.common.refresh"),
11
11
  value: "refresh",
@@ -42,13 +42,13 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
42
42
  console.log("publish all");
43
43
  }
44
44
  }
45
- const X = [
45
+ const j = [
46
46
  {
47
47
  id: "type",
48
48
  header: () => t("inventory.publish.columns.type"),
49
49
  enableSorting: !0,
50
50
  cell(e) {
51
- return f(R.FmChip, {
51
+ return f(H.FmChip, {
52
52
  color: "primary",
53
53
  label: e.row.original.type
54
54
  });
@@ -66,7 +66,7 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
66
66
  enableSorting: !0,
67
67
  cell(e) {
68
68
  var o, a;
69
- 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) : "";
70
70
  }
71
71
  },
72
72
  {
@@ -94,7 +94,7 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
94
94
  },
95
95
  t(o ? "inventory.publish.status.published" : "inventory.publish.status.outdated")
96
96
  ),
97
- !o && !m ? f(R.FmButton, {
97
+ !o && !m ? f(H.FmButton, {
98
98
  class: "tertiary",
99
99
  variant: "secondary",
100
100
  icon: "sync",
@@ -133,12 +133,12 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
133
133
  // }
134
134
  ];
135
135
  return (e, o) => {
136
- const a = s("FmChip"), m = s("FlexRender"), p = s("TableActionableRow"), j = s("FmTable"), G = s("FmCollapsibleTabs"), J = s("FmBottomSheet");
136
+ const a = s("FmChip"), m = s("FlexRender"), p = s("TableActionableRow"), G = s("FmTable"), J = s("FmCollapsibleTabs"), O = s("FmBottomSheet");
137
137
  return I(), B(le, {
138
138
  title: v(t)("inventory.publish.title"),
139
139
  actions: q.value,
140
140
  "onClick:action": E
141
- }, Q({
141
+ }, X({
142
142
  default: u(() => [
143
143
  h("div", {
144
144
  class: Z([
@@ -149,9 +149,9 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
149
149
  }
150
150
  ])
151
151
  }, [
152
- n(j, {
153
- style: ee(v(Y).tableHeight),
154
- "column-defs": X,
152
+ n(G, {
153
+ style: ee(v(R).tableHeight),
154
+ "column-defs": j,
155
155
  "row-data": $.value,
156
156
  loading: !v(l)._currentLocation || g.value,
157
157
  "loading-text": "Loading",
@@ -185,13 +185,13 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
185
185
  }, 8, ["style", "row-data", "loading", "page-size"])
186
186
  ], 2),
187
187
  (I(), B(te, { to: "body" }, [
188
- n(J, {
188
+ n(O, {
189
189
  "dismiss-away": "",
190
190
  modelValue: w.value,
191
191
  "onUpdate:modelValue": o[1] || (o[1] = (i) => w.value = i)
192
192
  }, {
193
193
  default: u(() => [
194
- n(G, {
194
+ n(J, {
195
195
  class: "pb-8",
196
196
  items: K,
197
197
  "onUpdate:modelValue": o[0] || (o[0] = (i) => W(i))
@@ -208,7 +208,7 @@ const me = { class: "flex flex-col py-8" }, pe = { class: "fm-typo-en-body-md-40
208
208
  fn: u(() => [
209
209
  n(a, {
210
210
  variant: "info",
211
- label: `Latest: ${v(H)(c.value)}`
211
+ label: `Latest: ${v(Y)(c.value)}`
212
212
  }, null, 8, ["label"])
213
213
  ]),
214
214
  key: "0"
@@ -1,6 +1,6 @@
1
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
2
  import { useRoute as k } from "vue-router";
3
- import { ax as y, ak as w } from "./app-CnDLBWW7.js";
3
+ import { ax as y, ak as w } from "./app-cN81pzZd.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%" }