@feedmepos/mf-inventory-portal 1.2.7-dev.2 → 1.2.7-dev.4

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-CBwWCCOM.js → App-C36fMhxq.js} +1 -1
  2. package/dist/{ApprovalView-BrRGheio.js → ApprovalView-BK-UXBwv.js} +26 -26
  3. package/dist/{BindingsDialog-BSPkkRis.js → BindingsDialog-C5ry8Cg7.js} +2 -2
  4. package/dist/{BindingsPicker-L3XnC3__.js → BindingsPicker-D1lrIB-Y.js} +1 -1
  5. package/dist/{BindingsTable-CgUm0Ity.js → BindingsTable-CoWyge2-.js} +1 -1
  6. package/dist/{ClosingDraftView-D_gq2fCk.js → ClosingDraftView-FFi85ylu.js} +203 -203
  7. package/dist/{ClosingTemplateView-Q16zr6EV.js → ClosingTemplateView-BvSH7TM0.js} +53 -53
  8. package/dist/{DeliveryOrderPrintPreview-mVDQO6Xq.js → DeliveryOrderPrintPreview-BVVWnadB.js} +9 -9
  9. package/dist/{FmAdminBadge-Cjy6QPoR.js → FmAdminBadge-DtBVrN_M.js} +6 -6
  10. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DnH2Qxnr.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CSigrMC2.js} +21 -21
  11. package/dist/{FmMultiselectDialog-BbYhJk_O.js → FmMultiselectDialog-Df50mxnw.js} +1 -1
  12. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-D0qlxGgo.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CdSQVfaU.js} +27 -27
  13. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CCuLSITo.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-A7Pgq3Sl.js} +1 -1
  14. package/dist/{IngredientGroupView-CJ9Rsfg-.js → IngredientGroupView-BVM3Um9Z.js} +12 -12
  15. package/dist/IngredientsView-75ahXQeJ.js +2271 -0
  16. package/dist/{IntegrationView-B4giJ-Zl.js → IntegrationView-DEUOEn_W.js} +84 -84
  17. package/dist/{InventoryBindingForm-bNRoyTsA.js → InventoryBindingForm-C2HvBwlT.js} +1 -1
  18. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DAaoOXUY.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CXJSFCLP.js} +41 -41
  19. package/dist/{InventoryBindingSummary-NfFve-nM.js → InventoryBindingSummary-B-V9QkyH.js} +1 -1
  20. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DP11tzty.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BELqcyvD.js} +1 -1
  21. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-yjjkBSqL.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BBE5_txM.js} +5 -5
  22. package/dist/{PublishView-w9GYA6kf.js → PublishView-DKkCs9F8.js} +17 -17
  23. package/dist/{PurchaseOrderPrintPreview-DmdDJmEq.js → PurchaseOrderPrintPreview-BvFR-uQk.js} +9 -9
  24. package/dist/{ReceiveRequestView-z4o7lZvK.js → ReceiveRequestView-BIrBMqdY.js} +80 -80
  25. package/dist/{RecipeView-DiiQtfXn.js → RecipeView-CI_Tec4J.js} +49 -49
  26. package/dist/{StockView-DKR2nFdm.js → StockView-Bx3lqHZg.js} +327 -327
  27. package/dist/{SupplierView-BJcU4iQk.js → SupplierView-BT2aZGQE.js} +1103 -1016
  28. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-UNVxzRmJ.js → TransferDetails.vue_vue_type_script_setup_true_lang-DWdnLRCB.js} +245 -245
  29. package/dist/{TransferTemplateView-rCbAWlh_.js → TransferTemplateView-DQtlCFze.js} +88 -87
  30. package/dist/{UnitView-BW9hbVHL.js → UnitView-h61yFjgP.js} +59 -59
  31. package/dist/{WarehouseView-BO0hf42-.js → WarehouseView-I8GqyD2C.js} +25 -25
  32. package/dist/api/netsuite.d.ts +3 -0
  33. package/dist/api/purchase-order-template.d.ts +1 -0
  34. package/dist/{app-ChezCkd5.js → app-CxSrmhCK.js} +6888 -6786
  35. package/dist/app.d.ts +57 -0
  36. package/dist/app.js +3 -3
  37. package/dist/components/FmInventoryTableToolbar.vue.d.ts +9 -2
  38. package/dist/components/SubsidiaryTreeDialog.vue.d.ts +2 -0
  39. package/dist/{decimal-1sc-GcXN.js → decimal-DpfcXNky.js} +1 -1
  40. package/dist/{format-unit-display-BK2TkQOA.js → format-unit-display-xov4MvuI.js} +368 -400
  41. package/dist/{index-CWivxw9k.js → index-B4hWNXtZ.js} +1 -1
  42. package/dist/{index-cLW2Uxz3.js → index-CwzV_5fz.js} +1 -1
  43. package/dist/purchase-order-template-DkBl6qMP.js +41 -0
  44. package/dist/{stock-FEj_v-SS.js → stock-Nt176YY7.js} +1 -1
  45. package/dist/stores/integration/netsuite.d.ts +10 -0
  46. package/dist/{supplier-2r8VFThu.js → supplier-B7gAUwhb.js} +1 -1
  47. package/dist/tsconfig.app.tsbuildinfo +1 -1
  48. package/dist/{use-ingredient-select-dialog-CvgFQA-k.js → use-ingredient-select-dialog-9HkEvXXS.js} +5 -5
  49. package/dist/{use-inventory-binding-dialog-BNp88Pjt.js → use-inventory-binding-dialog-pSVgqxMM.js} +8 -8
  50. package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +16 -0
  51. package/dist/views/ingredients/components/ingredient-form/IngredientFormProps.d.ts +4 -0
  52. package/dist/views/integration/components/netsuite/business/BusinessNetSuiteSideSheet.vue.d.ts +2 -0
  53. package/dist/views/supplier/components/SupplierSupplyItemField.vue.d.ts +3 -0
  54. package/package.json +1 -1
  55. package/dist/IngredientsView-BbKzQnQP.js +0 -1886
@@ -1,5 +1,5 @@
1
1
  import { ref as U, onUnmounted as F, defineComponent as h, watch as P, onMounted as w, computed as R, resolveComponent as b, openBlock as S, createElementBlock as I, unref as v, createVNode as _, createElementVNode as d, toDisplayString as G, createBlock as x, createCommentVNode as k } from "vue";
2
- import { u as M, a as D, b as H, R as e, c as B, g as s, d as W } from "./app-ChezCkd5.js";
2
+ import { u as M, a as D, b as H, R as e, c as B, g as s, d as W } from "./app-CxSrmhCK.js";
3
3
  import { useCoreStore as A, useI18n as O } from "@feedmepos/mf-common";
4
4
  import { useRouter as L, useRoute as K } from "vue-router";
5
5
  import { u as $ } from "./useTabStorage-BkIVScW_.js";
@@ -1,26 +1,26 @@
1
1
  import { defineComponent as ue, ref as y, watch as ie, computed as d, resolveComponent as ce, openBlock as x, createBlock as X, unref as n, withCtx as k, createElementVNode as c, normalizeClass as pe, createVNode as i, normalizeStyle as de, toDisplayString as me, createElementBlock as fe, createCommentVNode as ve, Teleport as he, mergeProps as _e } from "vue";
2
- import { u as De, b as ge, aI as b, aS as ye, ai as Z, C as be, N as Oe, H as Re, _ as Se, E as xe, G as ke, J as O } from "./app-ChezCkd5.js";
3
- import { a as qe, P as q, b as we, _ as Pe } from "./TransferDetails.vue_vue_type_script_setup_true_lang-UNVxzRmJ.js";
4
- import { useBreakpoints as Ne } from "@feedmepos/ui-library";
5
- import { useI18n as Te } from "@feedmepos/mf-common";
6
- const Ce = { class: "flex flex-col py-8" }, Ae = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Me = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Ve = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, Le = {
2
+ import { u as De, b as ge, aK as b, aT as ye, ak as Z, K as be, N as Oe, J as Re, _ as Se, L as xe, O as ke, P as O } from "./app-CxSrmhCK.js";
3
+ import { a as Pe, P, b as qe, _ as we } from "./TransferDetails.vue_vue_type_script_setup_true_lang-DWdnLRCB.js";
4
+ import { useBreakpoints as Te } from "@feedmepos/ui-library";
5
+ import { useI18n as Ne } from "@feedmepos/mf-common";
6
+ const Ae = { class: "flex flex-col py-8" }, Ce = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Me = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Le = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, Ve = {
7
7
  key: 0,
8
8
  class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
9
9
  }, ze = { class: "pt-8" }, je = /* @__PURE__ */ ue({
10
10
  __name: "ApprovalView",
11
- setup(Ee) {
12
- const a = qe(q.APPROVAL), { columnDefs: I } = we(q.APPROVAL, a, a.shipments), B = De(), ee = ge();
11
+ setup(Fe) {
12
+ const a = Pe(P.APPROVAL), { columnDefs: I } = qe(P.APPROVAL, a, a.shipments), B = De(), ee = ge();
13
13
  b.object({
14
14
  name: b.string().optional().nullable(),
15
15
  start: b.date().optional().nullable(),
16
16
  end: b.date().optional().nullable()
17
17
  });
18
- const w = y({
18
+ const q = y({
19
19
  name: "",
20
20
  ...ye()
21
21
  }), l = y({
22
- startDate: Z(w.value.start ?? /* @__PURE__ */ new Date()),
23
- endDate: Z(w.value.end ?? /* @__PURE__ */ new Date())
22
+ startDate: Z(q.value.start ?? /* @__PURE__ */ new Date()),
23
+ endDate: Z(q.value.end ?? /* @__PURE__ */ new Date())
24
24
  });
25
25
  ie([() => l.value.startDate], () => {
26
26
  if (!l.value.startDate)
@@ -36,9 +36,9 @@ const Ce = { class: "flex flex-col py-8" }, Ae = { class: "fm-typo-en-body-md-40
36
36
  }
37
37
  a.updateDateRange(l.value.startDate, l.value.endDate);
38
38
  });
39
- const R = y(""), { breakpoints: P } = Ne(), S = d(() => P.value.xs || P.value.sm), te = d(() => S.value ? 10 : 20), ae = be(), { t: N } = Te(), re = d(() => [
39
+ const R = y(""), { breakpoints: w } = Te(), S = d(() => w.value.xs || w.value.sm), te = d(() => S.value ? 10 : 20), ae = be(), { t: T } = Ne(), re = d(() => [
40
40
  {
41
- label: N("inventory.common.refresh"),
41
+ label: T("inventory.common.refresh"),
42
42
  value: "refresh"
43
43
  }
44
44
  ]);
@@ -113,7 +113,7 @@ const Ce = { class: "flex flex-col py-8" }, Ae = { class: "fm-typo-en-body-md-40
113
113
  return (u, s) => {
114
114
  const e = ce("FmTable");
115
115
  return x(), X(Se, {
116
- title: n(N)("inventory.transfer.approval.title"),
116
+ title: n(T)("inventory.transfer.approval.title"),
117
117
  actions: re.value,
118
118
  "onClick:action": se
119
119
  }, {
@@ -160,31 +160,31 @@ const Ce = { class: "flex flex-col py-8" }, Ae = { class: "fm-typo-en-body-md-40
160
160
  onRowClick: (o) => n(a).promptShowTransferDetails(o.purchaseOrder, o)
161
161
  }, {
162
162
  default: k((o) => {
163
- var p, T, C, f, A, M, V, L, v, z, E, h, F, _, $, H, Y, U, j, D, G, J, K, Q, g, W;
163
+ var p, N, A, f, C, M, L, V, v, z, F, h, $, _, E, Y, H, U, j, D, K, J, G, Q, g, W;
164
164
  return [
165
- c("div", Ce, [
166
- c("div", Ae, [
165
+ c("div", Ae, [
166
+ c("div", Ce, [
167
167
  i(n(O), {
168
- render: (C = (T = (p = o.purchaseOrder__id) == null ? void 0 : p.column) == null ? void 0 : T.columnDef) == null ? void 0 : C.cell,
169
- props: (A = (f = o.purchaseOrder__id) == null ? void 0 : f.getContext) == null ? void 0 : A.call(f)
168
+ render: (A = (N = (p = o.purchaseOrder__id) == null ? void 0 : p.column) == null ? void 0 : N.columnDef) == null ? void 0 : A.cell,
169
+ props: (C = (f = o.purchaseOrder__id) == null ? void 0 : f.getContext) == null ? void 0 : C.call(f)
170
170
  }, null, 8, ["render", "props"])
171
171
  ]),
172
172
  c("div", Me, [
173
173
  i(n(O), {
174
- render: (L = (V = (M = o.to_name) == null ? void 0 : M.column) == null ? void 0 : V.columnDef) == null ? void 0 : L.cell,
174
+ render: (V = (L = (M = o.to_name) == null ? void 0 : M.column) == null ? void 0 : L.columnDef) == null ? void 0 : V.cell,
175
175
  props: (z = (v = o.to_name) == null ? void 0 : v.getContext) == null ? void 0 : z.call(v)
176
176
  }, null, 8, ["render", "props"])
177
177
  ]),
178
- c("div", Ve, me(($ = (_ = (F = (h = (E = t.original.purchaseOrder) == null ? void 0 : E.items) == null ? void 0 : h.map) == null ? void 0 : F.call(h, (le) => `${le.name}`)) == null ? void 0 : _.join) == null ? void 0 : $.call(_, ", ")), 1),
179
- (H = t.original.purchaseOrder) != null && H.ref ? (x(), fe("div", Le, [
178
+ c("div", Le, me((E = (_ = ($ = (h = (F = t.original.purchaseOrder) == null ? void 0 : F.items) == null ? void 0 : h.map) == null ? void 0 : $.call(h, (le) => `${le.name}`)) == null ? void 0 : _.join) == null ? void 0 : E.call(_, ", ")), 1),
179
+ (Y = t.original.purchaseOrder) != null && Y.ref ? (x(), fe("div", Ve, [
180
180
  i(n(O), {
181
- render: (j = (U = (Y = o.purchaseOrder_ref) == null ? void 0 : Y.column) == null ? void 0 : U.columnDef) == null ? void 0 : j.cell,
182
- props: (G = (D = o.purchaseOrder_ref) == null ? void 0 : D.getContext) == null ? void 0 : G.call(D)
181
+ render: (j = (U = (H = o.purchaseOrder_ref) == null ? void 0 : H.column) == null ? void 0 : U.columnDef) == null ? void 0 : j.cell,
182
+ props: (K = (D = o.purchaseOrder_ref) == null ? void 0 : D.getContext) == null ? void 0 : K.call(D)
183
183
  }, null, 8, ["render", "props"])
184
184
  ])) : ve("", !0),
185
185
  c("div", ze, [
186
186
  i(n(O), {
187
- render: (Q = (K = (J = o.purchaseOrder_status) == null ? void 0 : J.column) == null ? void 0 : K.columnDef) == null ? void 0 : Q.cell,
187
+ render: (Q = (G = (J = o.purchaseOrder_status) == null ? void 0 : J.column) == null ? void 0 : G.columnDef) == null ? void 0 : Q.cell,
188
188
  props: (W = (g = o.purchaseOrder_status) == null ? void 0 : g.getContext) == null ? void 0 : W.call(g)
189
189
  }, null, 8, ["render", "props"])
190
190
  ])
@@ -198,8 +198,8 @@ const Ce = { class: "flex flex-col py-8" }, Ae = { class: "fm-typo-en-body-md-40
198
198
  }, 8, ["style", "column-defs", "row-data", "search-value", "loading", "page-size"])
199
199
  ], 2),
200
200
  (x(), X(he, { to: "body" }, [
201
- i(Pe, _e({
202
- scope: n(q).APPROVAL
201
+ i(we, _e({
202
+ scope: n(P).APPROVAL
203
203
  }, {
204
204
  ...n(a).transferDetailsProps.value,
205
205
  receivedMap: ((r = n(a).transferDetailsProps.value) == null ? void 0 : r.receivedMap) ?? {},
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as C, ref as o, onMounted as M, onUnmounted as F, watch as x, resolveComponent as l, openBlock as i, createElementBlock as c, createBlock as I, withCtx as R, createVNode as a, createCommentVNode as z, createElementVNode as P } from "vue";
2
- import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-DAaoOXUY.js";
3
- import { a as L, b5 as S } from "./app-ChezCkd5.js";
2
+ import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-CXJSFCLP.js";
3
+ import { a as L, b6 as S } from "./app-CxSrmhCK.js";
4
4
  const U = {
5
5
  key: 0,
6
6
  class: "flex justify-end gap-8 items-center"
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as S, computed as r, ref as l, onMounted as U, onUnmounted as V, resolveComponent as E, openBlock as p, createElementBlock as f, createVNode as u, createElementVNode as k } from "vue";
2
- import { a as M, b5 as x, a3 as z } from "./app-ChezCkd5.js";
2
+ import { a as M, b6 as x, s as z } from "./app-CxSrmhCK.js";
3
3
  const F = {
4
4
  key: 0,
5
5
  class: "flex flex-col gap-16"
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as x, ref as r, provide as C, computed as g, resolveComponent as h, openBlock as l, createElementBlock as u, createStaticVNode as F, Fragment as L, renderList as I, createElementVNode as p, toDisplayString as v, createVNode as w, withModifiers as N, onMounted as E, onUnmounted as z, createBlock as M } from "vue";
2
- import { F as b, a as P, b5 as R } from "./app-ChezCkd5.js";
2
+ import { F as b, a as P, b6 as R } from "./app-CxSrmhCK.js";
3
3
  import "@feedmepos/ui-library";
4
4
  import "@feedmepos/mf-common";
5
5
  const U = { class: "" }, D = ["onClick"], O = { class: "flex-grow-0 flex-shrink-0 basis-5/12 py-8 pl-8" }, V = { class: "flex-grow-0 flex-shrink-0 basis-3/12 py-8" }, S = { class: "flex-grow-0 flex-shrink-0 basis-3/12 py-8" }, $ = { class: "flex-grow-0 flex-shrink-0 basis-1/12 py-4" }, T = /* @__PURE__ */ x({