@feedmepos/mf-inventory-portal 0.0.22-dev.2 → 0.0.22-dev.20

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 (81) hide show
  1. package/dist/App.vue.d.ts +2 -0
  2. package/dist/{ApprovalView-D7WEr35k.js → ApprovalView-DrlB6QmP.js} +14 -14
  3. package/dist/{BindingsDialog-C-3uO6pD.js → BindingsDialog-BIsmJCcX.js} +1 -1
  4. package/dist/{BindingsPicker-B3tGisCE.js → BindingsPicker-_ozgYyoy.js} +8 -8
  5. package/dist/{BindingsTable-CPtiH3vj.js → BindingsTable-BdaYKCU2.js} +1 -1
  6. package/dist/ClosingTemplateView-BNOjDN_Y.js +1067 -0
  7. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-ohHZLOuR.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BhZWV_te.js} +14 -16
  8. package/dist/{IngredientsView-D-EKGLq9.js → IngredientsView-OWTMcqVt.js} +5 -6
  9. package/dist/{IntegrationView-BVAO_vch.js → IntegrationView-DqQV8FK2.js} +2 -2
  10. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CJYmB7Ct.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-eag0ZVsT.js} +1 -1
  11. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BxkM-SOw.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DC3nWhhu.js} +1 -1
  12. package/dist/{PurchaseOrderPrintPreview-CP-mK62z.js → PurchaseOrderPrintPreview-BPJbSiQf.js} +1 -1
  13. package/dist/{ReceiveRequestView-x8WTvuDk.js → ReceiveRequestView-6qYBopZt.js} +25 -26
  14. package/dist/RecipeView-BKGDLAhE.js +590 -0
  15. package/dist/Standalone.vue.d.ts +2 -0
  16. package/dist/{StockView-SyWxT4Ee.js → StockView-DV-VVzVM.js} +602 -585
  17. package/dist/{SupplierView-a0HAZJau.js → SupplierView-BebHHZhB.js} +37 -37
  18. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-dzrP2NYq.js +843 -0
  19. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-CCn6h2lC.js +1511 -0
  20. package/dist/TransferTemplateView-DyG0qZqJ.js +1209 -0
  21. package/dist/{UnitView-B3c7W5lw.js → UnitView-sesi0MIU.js} +4 -4
  22. package/dist/{WarehouseView-DDV-yslF.js → WarehouseView-zZCKnbbu.js} +18 -18
  23. package/dist/api/closing-template.d.ts +14 -0
  24. package/dist/api/inventory.d.ts +5 -7
  25. package/dist/api/netsuite.d.ts +46 -0
  26. package/dist/api/purchase-order-template.d.ts +0 -4
  27. package/dist/{app-DURkcZal.js → app-b4xcXRca.js} +12614 -12209
  28. package/dist/app.d.ts +6 -0
  29. package/dist/app.js +2 -2
  30. package/dist/components/FmMinMaxInputRules.d.ts +2 -0
  31. package/dist/components/FmUnitInputRules.d.ts +2 -0
  32. package/dist/{decimal-BGJlFDm8.js → decimal-DgBMe5Xq.js} +1 -1
  33. package/dist/{defineDeepModel-pATZSiCT.js → defineDeepModel-DR6GH0Fd.js} +1 -1
  34. package/dist/extensions/promises.d.ts +14 -0
  35. package/dist/{format-time-from-id-BCAuJEq2.js → format-time-from-id-Bsbw1i2y.js} +1 -1
  36. package/dist/helper/date2.d.ts +1 -0
  37. package/dist/helper/rules.d.ts +7 -0
  38. package/dist/helper/rules.spec.d.ts +1 -0
  39. package/dist/{id-to-date-CVHmTOJk.js → id-to-date-Bh9HmRRo.js} +1 -1
  40. package/dist/purchase-order-transaction-type-CFy_l7aK.js +680 -0
  41. package/dist/stores/api.d.ts +1 -0
  42. package/dist/stores/feature.d.ts +0 -1
  43. package/dist/stores/helper/core-store-proxy.d.ts +3 -0
  44. package/dist/stores/helper/generate-backend-urls.d.ts +1 -0
  45. package/dist/stores/inventory.d.ts +7 -0
  46. package/dist/stores/location.d.ts +24 -42
  47. package/dist/stores/netsuite.d.ts +56 -0
  48. package/dist/stores/route.d.ts +0 -5
  49. package/dist/stores/warehouse.d.ts +4 -7
  50. package/dist/style.css +1 -1
  51. package/dist/{supplier-DmBbGAwf.js → supplier-DZuEtW07.js} +1 -1
  52. package/dist/tsconfig.app.tsbuildinfo +1 -1
  53. package/dist/use-template-enabled-locations-2-BjtiCP8N.js +85 -0
  54. package/dist/views/closing-template/components/closing-template-publish/ClosingTemplatePublish.vue.d.ts +6 -0
  55. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +276 -84
  56. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +341 -85
  57. package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +1 -0
  58. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +916 -0
  59. package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -0
  60. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +788 -152
  61. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +800 -164
  62. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations-2.d.ts +13 -0
  63. package/dist/views/transfer-template/components/transfer-template-form/composables/use-template-enabled-locations.d.ts +4 -7
  64. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +2 -2
  65. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1285 -109
  66. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +399 -993
  67. package/dist/views/transfer-template/helpers/remove-deleted-skus.helper.d.ts +345 -0
  68. package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +8 -14
  69. package/dist/{xlsx-1DLm6bBD.js → xlsx-B3eLI4Oa.js} +1 -1
  70. package/dist/{xlsx.util-DLtch7r5.js → xlsx.util-CmEykrDA.js} +2 -2
  71. package/package.json +5 -5
  72. package/dist/ClosingTemplateView-Df0lgpjS.js +0 -928
  73. package/dist/RecipeView-BysIWI1W.js +0 -581
  74. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-ckp8gcT_.js +0 -740
  75. package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-BSvpuWY9.js +0 -1409
  76. package/dist/TransferTemplateView-BGi6zd6d.js +0 -1350
  77. package/dist/array-ClJzD_Lt.js +0 -30
  78. package/dist/layout/InventoryLayout.vue.d.ts +0 -2
  79. package/dist/layout/layout-routes.d.ts +0 -6
  80. package/dist/purchase-order-transaction-type-DvSpCSXr.js +0 -712
  81. package/dist/use-template-enabled-locations-BiuOdu1M.js +0 -57
package/dist/App.vue.d.ts CHANGED
@@ -1,2 +1,4 @@
1
+ import '@/extensions/array';
2
+ import '@/extensions/promises';
1
3
  declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
4
  export default _default;
@@ -1,15 +1,15 @@
1
1
  import { defineComponent as ee, ref as h, watch as te, computed as U, resolveComponent as ae, openBlock as g, createBlock as G, unref as e, withCtx as b, createElementVNode as s, normalizeClass as oe, createVNode as n, normalizeStyle as re, toDisplayString as ne, createElementBlock as se, createCommentVNode as le, Teleport as ie, mergeProps as ce } from "vue";
2
- import { Y as f, O as J, j as pe } from "./app-DURkcZal.js";
3
- import { b as ue, u as me, _ as de, a as fe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-ohHZLOuR.js";
4
- import { u as _e } from "./purchase-order-transaction-type-DvSpCSXr.js";
5
- import { u as ve, _ as De } from "./TransferDetails.vue_vue_type_script_setup_true_lang-ckp8gcT_.js";
2
+ import { $ as f, P as J, j as pe } from "./app-b4xcXRca.js";
3
+ import { b as ue, u as me, _ as de, a as fe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BhZWV_te.js";
4
+ import { u as _e } from "./purchase-order-transaction-type-CFy_l7aK.js";
5
+ import { u as ve, _ as De } from "./TransferDetails.vue_vue_type_script_setup_true_lang-dzrP2NYq.js";
6
6
  import { _ as he, F as _ } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
7
7
  import { useBreakpoints as ge } from "@feedmepos/ui-library";
8
8
  import { useI18n as be } from "@feedmepos/mf-common";
9
- const xe = { class: "flex flex-col py-8" }, ye = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, we = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Oe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, Re = {
9
+ const xe = { class: "flex flex-col py-8" }, ye = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, we = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Re = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, ke = {
10
10
  key: 0,
11
11
  class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
12
- }, ke = { class: "pt-8" }, je = /* @__PURE__ */ ee({
12
+ }, Oe = { class: "pt-8" }, je = /* @__PURE__ */ ee({
13
13
  __name: "ApprovalView",
14
14
  setup(Se) {
15
15
  const o = _e("approval"), { columnDefs: K } = ve("approval", o), Q = pe();
@@ -76,31 +76,31 @@ const xe = { class: "flex flex-col py-8" }, ye = { class: "fm-typo-en-body-md-40
76
76
  onRowClick: (t) => e(o).promptShowTransferDetails(t.purchaseOrder, t)
77
77
  }, {
78
78
  default: b((t) => {
79
- var O, R, k, i, S, T, C, z, c, F, M, p, Y, u, $, V, j, q, L, m, N, E, P, A, d, H;
79
+ var R, k, O, i, S, T, C, $, c, z, F, p, M, u, V, Y, j, q, L, m, N, P, E, A, d, H;
80
80
  return [
81
81
  s("div", xe, [
82
82
  s("div", ye, [
83
83
  n(e(_), {
84
- render: (k = (R = (O = t.purchaseOrder__id) == null ? void 0 : O.column) == null ? void 0 : R.columnDef) == null ? void 0 : k.cell,
84
+ render: (O = (k = (R = t.purchaseOrder__id) == null ? void 0 : R.column) == null ? void 0 : k.columnDef) == null ? void 0 : O.cell,
85
85
  props: (S = (i = t.purchaseOrder__id) == null ? void 0 : i.getContext) == null ? void 0 : S.call(i)
86
86
  }, null, 8, ["render", "props"])
87
87
  ]),
88
88
  s("div", we, [
89
89
  n(e(_), {
90
- render: (z = (C = (T = t.to_name) == null ? void 0 : T.column) == null ? void 0 : C.columnDef) == null ? void 0 : z.cell,
91
- props: (F = (c = t.to_name) == null ? void 0 : c.getContext) == null ? void 0 : F.call(c)
90
+ render: ($ = (C = (T = t.to_name) == null ? void 0 : T.column) == null ? void 0 : C.columnDef) == null ? void 0 : $.cell,
91
+ props: (z = (c = t.to_name) == null ? void 0 : c.getContext) == null ? void 0 : z.call(c)
92
92
  }, null, 8, ["render", "props"])
93
93
  ]),
94
- s("div", Oe, ne(($ = (u = (Y = (p = (M = r.original.purchaseOrder) == null ? void 0 : M.items) == null ? void 0 : p.map) == null ? void 0 : Y.call(p, (I) => `${I.name}`)) == null ? void 0 : u.join) == null ? void 0 : $.call(u, ", ")), 1),
95
- (V = r.original.purchaseOrder) != null && V.ref ? (g(), se("div", Re, [
94
+ s("div", Re, ne((V = (u = (M = (p = (F = r.original.purchaseOrder) == null ? void 0 : F.items) == null ? void 0 : p.map) == null ? void 0 : M.call(p, (I) => `${I.name}`)) == null ? void 0 : u.join) == null ? void 0 : V.call(u, ", ")), 1),
95
+ (Y = r.original.purchaseOrder) != null && Y.ref ? (g(), se("div", ke, [
96
96
  n(e(_), {
97
97
  render: (L = (q = (j = t.purchaseOrder_ref) == null ? void 0 : j.column) == null ? void 0 : q.columnDef) == null ? void 0 : L.cell,
98
98
  props: (N = (m = t.purchaseOrder_ref) == null ? void 0 : m.getContext) == null ? void 0 : N.call(m)
99
99
  }, null, 8, ["render", "props"])
100
100
  ])) : le("", !0),
101
- s("div", ke, [
101
+ s("div", Oe, [
102
102
  n(e(_), {
103
- render: (A = (P = (E = t.purchaseOrder_status) == null ? void 0 : E.column) == null ? void 0 : P.columnDef) == null ? void 0 : A.cell,
103
+ render: (A = (E = (P = t.purchaseOrder_status) == null ? void 0 : P.column) == null ? void 0 : E.columnDef) == null ? void 0 : A.cell,
104
104
  props: (H = (d = t.purchaseOrder_status) == null ? void 0 : d.getContext) == null ? void 0 : H.call(d)
105
105
  }, null, 8, ["render", "props"])
106
106
  ])
@@ -1,5 +1,5 @@
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 d, createBlock as I, withCtx as R, createVNode as a, createCommentVNode as z, createElementVNode as P } from "vue";
2
- import { u as V, am as L, _ as S } from "./app-DURkcZal.js";
2
+ import { u as V, ar as L, _ as S } from "./app-b4xcXRca.js";
3
3
  const U = {
4
4
  key: 0,
5
5
  class: "flex justify-end gap-8 items-center"
@@ -1,15 +1,15 @@
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 { u as x, am as M, y as z } from "./app-DURkcZal.js";
3
- const K = {
2
+ import { u as M, ar as x, z } from "./app-b4xcXRca.js";
3
+ const F = {
4
4
  key: 0,
5
5
  class: "flex flex-col gap-16"
6
- }, w = { class: "flex justify-end gap-8 items-center" }, F = {
6
+ }, K = { class: "flex justify-end gap-8 items-center" }, w = {
7
7
  key: 1,
8
8
  class: "p-24 flex items-center justify-center gap-16"
9
9
  }, N = /* @__PURE__ */ S({
10
10
  __name: "BindingsPicker",
11
11
  setup(L) {
12
- const d = x(), C = r(() => d.recipes), I = r(() => d.skus), g = l(!0), i = l(new Array()), a = l("RECIPE"), c = r(() => a.value === "SKU" ? I.value.map((s) => ({
12
+ const d = M(), C = r(() => d.recipes), I = r(() => d.skus), g = l(!0), i = l(new Array()), a = l("RECIPE"), c = r(() => a.value === "SKU" ? I.value.map((s) => ({
13
13
  label: s.name,
14
14
  sublabel: s.code,
15
15
  value: s
@@ -62,7 +62,7 @@ const K = {
62
62
  ];
63
63
  }
64
64
  }
65
- }), _ = l(), o = M(B);
65
+ }), _ = l(), o = x(B);
66
66
  async function B() {
67
67
  await d.readInventory(), _.value = o.onMessage(
68
68
  "props:binding-items",
@@ -93,16 +93,16 @@ const K = {
93
93
  ref_key: "resizeableRef",
94
94
  ref: y
95
95
  }, [
96
- g.value ? (p(), f("div", F, [
96
+ g.value ? (p(), f("div", w, [
97
97
  u(t, { size: "md" }),
98
98
  s[1] || (s[1] = k("div", null, "Loading bindings dialog...", -1))
99
- ])) : (p(), f("div", K, [
99
+ ])) : (p(), f("div", F, [
100
100
  u(z, {
101
101
  "model-value": b.value,
102
102
  "onUpdate:modelValue": s[0] || (s[0] = (m) => b.value = m),
103
103
  items: c.value
104
104
  }, null, 8, ["model-value", "items"]),
105
- k("div", w, [
105
+ k("div", K, [
106
106
  u(n, {
107
107
  variant: "tertiary",
108
108
  label: "Close",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as _, ref as c, provide as C, computed as f, resolveComponent as b, openBlock as p, createBlock as h, h as z, onMounted as B, onUnmounted as I, createElementBlock as y, createVNode as N, createElementVNode as x } from "vue";
2
- import { q as v, u as E, am as L } from "./app-DURkcZal.js";
2
+ import { k as v, u as E, ar as L } from "./app-b4xcXRca.js";
3
3
  import { components as F } from "@feedmepos/ui-library";
4
4
  import "@feedmepos/mf-common";
5
5
  const P = /* @__PURE__ */ _({