@feedmepos/mf-inventory-portal 1.0.36-dev.5 → 1.0.36-dev.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 (52) hide show
  1. package/dist/{App-Cs8Mz8tH.js → App-p0OfVvta.js} +2 -2
  2. package/dist/{ApprovalView-BSD-MC_u.js → ApprovalView-DPBSTlsb.js} +10 -10
  3. package/dist/{BindingsDialog-CGchHUzn.js → BindingsDialog-ADhnq8rd.js} +8 -8
  4. package/dist/{BindingsPicker-CiaHH36T.js → BindingsPicker-C27I8rla.js} +1 -1
  5. package/dist/{BindingsTable-DkfQdD96.js → BindingsTable-BCrjUyRA.js} +1 -1
  6. package/dist/{ClosingDraftView-J2kZsW8i.js → ClosingDraftView-CAeA34YR.js} +2 -2
  7. package/dist/ClosingTemplateView-DdtZPTyt.js +1849 -0
  8. package/dist/{DeliveryOrderPrintPreview-DJ4fS5qL.js → DeliveryOrderPrintPreview-BHaatock.js} +4 -4
  9. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-OrdlFnqj.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-n7mTgY-4.js} +12 -12
  10. package/dist/{FmMultiselectDialog-mGstRt_T.js → FmMultiselectDialog-D3hCA4Hk.js} +1 -1
  11. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BBl9A8_y.js → FmUnitInput.vue_vue_type_script_setup_true_lang-GRMblS9k.js} +7 -7
  12. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BUkFYOsx.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BMTgY6ZR.js} +1 -1
  13. package/dist/{IngredientGroupView-Cj2acZaD.js → IngredientGroupView-CoQ5jJq-.js} +2 -2
  14. package/dist/{IngredientsView-Hnvq4CwU.js → IngredientsView-B0n-ed2z.js} +5 -5
  15. package/dist/{IntegrationView-obgHFLft.js → IntegrationView-CUacWvt2.js} +5 -5
  16. package/dist/{InventoryBindingForm-sQtgIpya.js → InventoryBindingForm-rBxn4aQn.js} +1 -1
  17. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CGKxVZj6.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DeAbgkjo.js} +3 -3
  18. package/dist/{InventoryBindingSummary-DTrMI00e.js → InventoryBindingSummary-DRnfFnXw.js} +1 -1
  19. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Dr5d-8td.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CFimf-EA.js} +1 -1
  20. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BRR2ODrb.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CkLC3e7r.js} +8 -8
  21. package/dist/{PublishView-C3ja_Jnb.js → PublishView-CWPu6VU5.js} +17 -17
  22. package/dist/{PurchaseOrderPrintPreview-DFhvJ1ak.js → PurchaseOrderPrintPreview-BB-UHWyM.js} +7 -7
  23. package/dist/{ReceiveRequestView-DNXrE_zC.js → ReceiveRequestView-DzE2O14-.js} +10 -10
  24. package/dist/{RecipeView-hakd-0Kz.js → RecipeView-CdFqHWFg.js} +4 -4
  25. package/dist/{StockView-B6fsYKsL.js → StockView-2QkNXA2I.js} +7 -7
  26. package/dist/{SupplierView-6zAJ_LgY.js → SupplierView-BmIvZtRX.js} +4 -4
  27. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-dQO810-u.js → TransferDetails.vue_vue_type_script_setup_true_lang-KakO6jI_.js} +6 -6
  28. package/dist/{TransferTemplateView-6Bvh_9zt.js → TransferTemplateView-CiwTECtX.js} +65 -65
  29. package/dist/{UnitView-CBJAcjS1.js → UnitView-xcRT1636.js} +3 -3
  30. package/dist/{WarehouseView-CNU580Yx.js → WarehouseView-DFUkzdn3.js} +1 -1
  31. package/dist/api/duplicate-template.d.ts +5 -0
  32. package/dist/{app-BByPDRJA.js → app-D8WIbWK8.js} +15280 -15206
  33. package/dist/app.d.ts +3 -0
  34. package/dist/app.js +1 -1
  35. package/dist/components/row-action.enum.d.ts +2 -1
  36. package/dist/{decimal-FeI9cJv9.js → decimal-tvbOiScu.js} +1 -1
  37. package/dist/{feature-Cmy9S6Vn.js → feature-CXf7RRWE.js} +2 -2
  38. package/dist/format-unit-display-C42DxO2e.js +1275 -0
  39. package/dist/{index-B0c0oboJ.js → index-5P4r_6vv.js} +2 -2
  40. package/dist/{index-CPKjDgUn.js → index-DunD6flC.js} +1 -1
  41. package/dist/{stock-BfiDgmop.js → stock-D4Q1lqHe.js} +1 -1
  42. package/dist/{supplier-DqAL0ree.js → supplier-nyMBwI1e.js} +2 -2
  43. package/dist/tsconfig.app.tsbuildinfo +1 -1
  44. package/dist/{use-ingredient-select-dialog-DQ49cN0k.js → use-ingredient-select-dialog-CucQZ-Oc.js} +1 -1
  45. package/dist/{use-inventory-binding-dialog-DzTRcmSy.js → use-inventory-binding-dialog-ZF-LeZNi.js} +1 -1
  46. package/dist/views/adjustment-template/wastage-template/actions.d.ts +4 -1
  47. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +4 -1
  48. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +4 -1
  49. package/dist/{vue-i18n-BNQA3oEG.js → vue-i18n-BmNDS6W5.js} +201 -201
  50. package/package.json +1 -1
  51. package/dist/ClosingTemplateView-DyIR5Hxb.js +0 -1804
  52. package/dist/format-unit-display-BnWRZayd.js +0 -1230
@@ -1,8 +1,8 @@
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 p, 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, g as s, c as W } from "./app-BByPDRJA.js";
2
+ import { u as M, a as D, b as H, R as e, g as s, c as W } from "./app-D8WIbWK8.js";
3
3
  import { useCoreStore as A, useI18n as B } from "@feedmepos/mf-common";
4
4
  import { useRouter as L, useRoute as K } from "vue-router";
5
- import { u as O } from "./feature-Cmy9S6Vn.js";
5
+ import { u as O } from "./feature-CXf7RRWE.js";
6
6
  import { u as $ } from "./useTabStorage-BkIVScW_.js";
7
7
  import { u as Q } from "./googlemap-Dm8ERVai.js";
8
8
  import "./array-Ca8T3f_G.js";
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as le, ref as D, watch as ue, computed as d, resolveComponent as ie, openBlock as x, createBlock as W, unref as n, withCtx as k, createElementVNode as i, normalizeClass as ce, createVNode as u, normalizeStyle as pe, toDisplayString as de, createElementBlock as me, createCommentVNode as fe, Teleport as ve, mergeProps as he } from "vue";
2
- import { u as _e, b as ge, aA as b, aL as ye, ad as X, z as De, N as be, H as Oe, _ as Re, B as Se, C as xe, E as O } from "./app-BByPDRJA.js";
3
- import { a as ke, P as q, b as qe, _ as we } from "./TransferDetails.vue_vue_type_script_setup_true_lang-dQO810-u.js";
2
+ import { u as _e, b as ge, aB as b, aM as ye, ad as X, z as De, N as be, H as Oe, _ as Re, B as Se, C as xe, E as O } from "./app-D8WIbWK8.js";
3
+ import { a as ke, P as q, b as qe, _ as we } from "./TransferDetails.vue_vue_type_script_setup_true_lang-KakO6jI_.js";
4
4
  import { useBreakpoints as Pe } from "@feedmepos/ui-library";
5
5
  import { useI18n as Ne } from "@feedmepos/mf-common";
6
- const Te = { class: "flex flex-col py-8" }, Ae = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ce = { 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 = {
6
+ const Te = { class: "flex flex-col py-8" }, Ce = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ae = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Me = { 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" }, Ue = /* @__PURE__ */ le({
10
10
  __name: "ApprovalView",
11
- setup(Me) {
11
+ setup(Le) {
12
12
  const s = ke(q.APPROVAL), { columnDefs: Z } = qe(q.APPROVAL, s), B = _e(), I = ge();
13
13
  b.object({
14
14
  name: b.string().optional().nullable(),
@@ -158,22 +158,22 @@ const Te = { class: "flex flex-col py-8" }, Ae = { class: "fm-typo-en-body-md-40
158
158
  onRowClick: (a) => n(s).promptShowTransferDetails(a.purchaseOrder, a)
159
159
  }, {
160
160
  default: k((a) => {
161
- var c, p, T, f, A, C, L, V, v, z, M, h, E, _, F, $, H, Y, U, g, j, G, J, K, y, Q;
161
+ var c, p, T, f, C, A, M, V, v, z, L, h, E, _, F, $, H, Y, U, g, j, G, J, K, y, Q;
162
162
  return [
163
163
  i("div", Te, [
164
- i("div", Ae, [
164
+ i("div", Ce, [
165
165
  u(n(O), {
166
166
  render: (T = (p = (c = a.purchaseOrder__id) == null ? void 0 : c.column) == null ? void 0 : p.columnDef) == null ? void 0 : T.cell,
167
- props: (A = (f = a.purchaseOrder__id) == null ? void 0 : f.getContext) == null ? void 0 : A.call(f)
167
+ props: (C = (f = a.purchaseOrder__id) == null ? void 0 : f.getContext) == null ? void 0 : C.call(f)
168
168
  }, null, 8, ["render", "props"])
169
169
  ]),
170
- i("div", Ce, [
170
+ i("div", Ae, [
171
171
  u(n(O), {
172
- render: (V = (L = (C = a.to_name) == null ? void 0 : C.column) == null ? void 0 : L.columnDef) == null ? void 0 : V.cell,
172
+ render: (V = (M = (A = a.to_name) == null ? void 0 : A.column) == null ? void 0 : M.columnDef) == null ? void 0 : V.cell,
173
173
  props: (z = (v = a.to_name) == null ? void 0 : v.getContext) == null ? void 0 : z.call(v)
174
174
  }, null, 8, ["render", "props"])
175
175
  ]),
176
- i("div", Le, de((F = (_ = (E = (h = (M = e.original.purchaseOrder) == null ? void 0 : M.items) == null ? void 0 : h.map) == null ? void 0 : E.call(h, (oe) => `${oe.name}`)) == null ? void 0 : _.join) == null ? void 0 : F.call(_, ", ")), 1),
176
+ i("div", Me, de((F = (_ = (E = (h = (L = e.original.purchaseOrder) == null ? void 0 : L.items) == null ? void 0 : h.map) == null ? void 0 : E.call(h, (oe) => `${oe.name}`)) == null ? void 0 : _.join) == null ? void 0 : F.call(_, ", ")), 1),
177
177
  ($ = e.original.purchaseOrder) != null && $.ref ? (x(), me("div", Ve, [
178
178
  u(n(O), {
179
179
  render: (U = (Y = (H = a.purchaseOrder_ref) == null ? void 0 : H.column) == null ? void 0 : Y.columnDef) == null ? void 0 : U.cell,
@@ -1,6 +1,6 @@
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-CGKxVZj6.js";
3
- import { a as L, bc as S } from "./app-BByPDRJA.js";
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 d, 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-DeAbgkjo.js";
3
+ import { a as L, bd as S } from "./app-D8WIbWK8.js";
4
4
  const U = {
5
5
  key: 0,
6
6
  class: "flex justify-end gap-8 items-center"
@@ -10,10 +10,10 @@ const U = {
10
10
  }, D = /* @__PURE__ */ C({
11
11
  __name: "BindingsDialog",
12
12
  setup(N) {
13
- const p = L(), d = o(!0), s = o(new Array()), u = o(), t = S(y);
13
+ const p = L(), c = o(!0), s = o(new Array()), u = o(), t = S(y);
14
14
  async function y() {
15
15
  await p.readInventory(), u.value = t.onMessage("props:inventory-bindings", (e) => {
16
- d.value = !1, s.value = e;
16
+ c.value = !1, s.value = e;
17
17
  }).onMessage("props:inventory-bindings:validate", () => {
18
18
  var e;
19
19
  (e = f.value) == null || e.validateInputs();
@@ -48,12 +48,12 @@ const U = {
48
48
  const f = o();
49
49
  return (e, n) => {
50
50
  const g = l("FmButton"), B = l("FmForm"), h = l("FmCircularProgress");
51
- return i(), c("div", {
51
+ return i(), d("div", {
52
52
  class: "bg-white",
53
53
  ref_key: "resizeableRef",
54
54
  ref: m
55
55
  }, [
56
- d.value ? (i(), c("div", E, [
56
+ c.value ? (i(), d("div", E, [
57
57
  a(h, { size: "md" }),
58
58
  n[2] || (n[2] = P("div", null, "Loading bindings dialog...", -1))
59
59
  ])) : (i(), I(B, {
@@ -70,7 +70,7 @@ const U = {
70
70
  "iframe-mode": "",
71
71
  "onClick:pickInventoryBindings": k
72
72
  }, null, 8, ["model-value"]),
73
- r.value ? z("", !0) : (i(), c("div", U, [
73
+ r.value ? z("", !0) : (i(), d("div", U, [
74
74
  a(g, {
75
75
  type: "button",
76
76
  variant: "tertiary",
@@ -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, bc as x, a1 as z } from "./app-BByPDRJA.js";
2
+ import { a as M, bd as x, a1 as z } from "./app-D8WIbWK8.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, bc as R } from "./app-BByPDRJA.js";
2
+ import { F as b, a as P, bd as R } from "./app-D8WIbWK8.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({
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as Te, ref as N, computed as P, onMounted as Ie, resolveComponent as I, openBlock as A, createElementBlock as R, Fragment as q, createTextVNode as pe, createBlock as J, withCtx as Y, createElementVNode as r, toDisplayString as O, unref as D, createVNode as x, createCommentVNode as Q, h as F, reactive as Ze, watch as Qe, isRef as Le, normalizeClass as ve, renderList as he, normalizeStyle as Ee, Teleport as Je, mergeProps as Xe } from "vue";
2
- import { a2 as et, u as Se, ak as M, ad as tt, al as at, l as nt, O as Re, i as L, t as ot, Q as Ae, q as st, r as rt, s as lt, am as He, an as ze, a8 as Ne, ao as ne, ae as ct, aj as re, $ as Be, D as Ue, h as _e, f as it, e as ut, a as dt, z as mt, _ as ft, B as pt, C as vt, E as we } from "./app-BByPDRJA.js";
2
+ import { a2 as et, u as Se, al as M, ad as tt, am as at, l as nt, O as Re, i as L, t as ot, Q as Ae, q as st, r as rt, s as lt, an as He, ao as ze, a8 as Ne, ap as ne, ae as ct, ak as re, $ as Be, D as Ue, h as _e, f as it, e as ut, a as dt, z as mt, _ as ft, B as pt, C as vt, E as we } from "./app-D8WIbWK8.js";
3
3
  import { useCoreStore as yt, useI18n as Ve } from "@feedmepos/mf-common";
4
4
  import { useSnackbar as Me, useDialog as gt, useProxiedModel as bt, components as fe, useBreakpoints as ht } from "@feedmepos/ui-library";
5
5
  import { defineStore as Oe, storeToRefs as At } from "pinia";
6
- import { a as Ye, u as Ke } from "./stock-BfiDgmop.js";
6
+ import { a as Ye, u as Ke } from "./stock-D4Q1lqHe.js";
7
7
  import { E as Dt } from "./empty-placeholder-wf6-BWE8.js";
8
8
  const $e = et((s, l) => {
9
9
  function e() {