@feedmepos/mf-inventory-portal 0.0.25-dev.17 → 0.0.25-dev.19

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 (57) hide show
  1. package/dist/{App-7ReqlqA4.js → App-Hgn8IBaK.js} +2 -2
  2. package/dist/{ApprovalView-qAV_1bug.js → ApprovalView-BSk9kEGm.js} +15 -9
  3. package/dist/{BindingsDialog-D8KPqrv8.js → BindingsDialog-SxUwbW5x.js} +2 -2
  4. package/dist/{BindingsPicker-BnnpoQfF.js → BindingsPicker-_zOGJ17i.js} +5 -5
  5. package/dist/{BindingsTable-Dnc5yg5v.js → BindingsTable-I8MLwuIR.js} +5 -5
  6. package/dist/{ClosingDraftView-DV-dP-0G.js → ClosingDraftView-D80vDRO7.js} +53 -53
  7. package/dist/{ClosingTemplateView-Bo5uzKK2.js → ClosingTemplateView-BCE-SHm9.js} +2 -2
  8. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BmLxDo6V.js +215 -0
  9. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-Bycca0S5.js → FmUnitInput.vue_vue_type_script_setup_true_lang-D21lpws0.js} +1 -1
  10. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-sVM6cQes.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-WTlNX0f8.js} +1 -1
  11. package/dist/{IngredientGroupView-CmkSvOxJ.js → IngredientGroupView-DDD_-og5.js} +1 -1
  12. package/dist/{IngredientsView-DIn-3Jee.js → IngredientsView-CJ4F7BwZ.js} +4 -4
  13. package/dist/{IntegrationView-CtawckJy.js → IntegrationView-B0TjX4yz.js} +1 -1
  14. package/dist/{InventoryBindingForm-Dmd68jKK.js → InventoryBindingForm-DGXN2PXz.js} +1 -1
  15. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DBAwheaI.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-gQNCKIfa.js} +3 -3
  16. package/dist/{InventoryBindingSummary-Dho1qrPY.js → InventoryBindingSummary-CDAivJA8.js} +1 -1
  17. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Dja0BjOa.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CfaZ1GtI.js} +1 -1
  18. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CjvQTt0Y.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DmhP_O3l.js} +1 -1
  19. package/dist/{PublishView-DG9ppOMN.js → PublishView-DvriUy_9.js} +13 -13
  20. package/dist/{PurchaseOrderPrintPreview-BfogmnuA.js → PurchaseOrderPrintPreview-Dr-I6VKI.js} +1 -1
  21. package/dist/ReceiveRequestView-FcC0nStC.js +2318 -0
  22. package/dist/{RecipeView-B3t6mU2N.js → RecipeView-BMYzOsb2.js} +3 -3
  23. package/dist/{StockView-DfylYVkd.js → StockView-gTmg4gih.js} +7 -7
  24. package/dist/{SupplierView-BQHWrUpw.js → SupplierView-CrixDjq3.js} +4 -4
  25. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-15cqyqCC.js +1567 -0
  26. package/dist/{TransferTemplateView-BxO2UFyf.js → TransferTemplateView-DhgyCwnD.js} +7 -7
  27. package/dist/{UnitView-Cl299OpQ.js → UnitView-Bll1VTnD.js} +3 -3
  28. package/dist/{WarehouseView-C9oa2Jis.js → WarehouseView-KstzwWxq.js} +1 -1
  29. package/dist/{app-DZ9U0oko.js → app-qyqp2u_f.js} +7576 -7525
  30. package/dist/app.js +1 -1
  31. package/dist/components/FmMultiselectDialog.d.ts +24 -1
  32. package/dist/components/MountListener.vue.d.ts +15 -0
  33. package/dist/{decimal-Q0qpn1nX.js → decimal-BQ6Hkwom.js} +1 -1
  34. package/dist/{feature-CwrW1toS.js → feature-C6Z6N_iv.js} +52 -63
  35. package/dist/{format-unit-display-Cijlq5k5.js → format-unit-display-T-fT7FAg.js} +13 -13
  36. package/dist/{index-CG9f2hcH.js → index-B6HIaHJq.js} +2 -2
  37. package/dist/{stock-B8OABZwR.js → stock-Cd6rXnhv.js} +1 -1
  38. package/dist/stores/feature.d.ts +0 -4
  39. package/dist/{supplier-OhriR4IQ.js → supplier-b6qWYeQu.js} +1 -1
  40. package/dist/tsconfig.app.tsbuildinfo +1 -1
  41. package/dist/{use-ingredient-select-dialog-P6o_ZU_Z.js → use-ingredient-select-dialog-C8sylcwR.js} +1 -1
  42. package/dist/{use-inventory-binding-dialog-8a_D3hzG.js → use-inventory-binding-dialog-D7wI4_lU.js} +1 -1
  43. package/dist/views/receive-request/components/transfer-details/TransferDetails.vue.d.ts +1387 -0
  44. package/dist/views/receive-request/components/transfer-details/TransferDetailsProps.d.ts +3 -1
  45. package/dist/views/receive-request/components/transfer-dialog/TransferDialogProps.d.ts +3 -0
  46. package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -2
  47. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +0 -1
  48. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +27 -9
  49. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +22 -9
  50. package/dist/views/receive-request/helper/po-to-po-template.util.d.ts +1 -0
  51. package/dist/views/transfer-template/helpers/location-to-po-supplier.util.d.ts +75 -0
  52. package/dist/{vue-i18n-BmOal3Ap.js → vue-i18n-BmWUvN1e.js} +261 -261
  53. package/package.json +1 -1
  54. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BPNKuOjZ.js +0 -211
  55. package/dist/ReceiveRequestView-DcshoUs1.js +0 -2239
  56. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-aQkAoXb3.js +0 -1501
  57. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +0 -3006
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as Q, ref as z, computed as r, resolveComponent as s, openBlock as I, createBlock as R, unref as h, createSlots as X, withCtx as u, createElementVNode as v, 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, aO as ae, y as se, _ as le, ai as B } from "./app-DZ9U0oko.js";
2
+ import { u as oe, a as ne, aN as ae, y as se, _ as le, ai as B } from "./app-qyqp2u_f.js";
3
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-BmOal3Ap.js";
4
+ import { u as ce } from "./vue-i18n-BmWUvN1e.js";
5
5
  const me = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, pe = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, ge = /* @__PURE__ */ Q({
6
6
  __name: "PublishView",
7
7
  setup(be) {
8
- const { t: o } = 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(), P = re(), N = ue(), $ = r(() => l.locations), _ = r(() => x.value.xs || x.value.sm), O = r(() => _.value ? 10 : 20), U = r(() => [
8
+ const { t: o } = ce(), { breakpoints: x } = ie(), l = oe(), A = ne(), S = ae(), g = z(!1), c = r(() => A.state.inventory.updatedAt ? A.state.inventory.updatedAt : null), N = se(), P = re(), Y = ue(), $ = r(() => l.locations), _ = r(() => x.value.xs || x.value.sm), U = r(() => _.value ? 10 : 20), q = r(() => [
9
9
  {
10
10
  label: "Refresh",
11
11
  value: "refresh",
@@ -13,7 +13,7 @@ const me = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
13
13
  },
14
14
  { label: o("inventory.publish.actions.publishAll"), value: "publish", isPrimary: !0 }
15
15
  ]);
16
- async function q(e) {
16
+ async function E(e) {
17
17
  switch (e) {
18
18
  case "publish":
19
19
  P.open({
@@ -30,13 +30,13 @@ const me = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
30
30
  break;
31
31
  }
32
32
  }
33
- const w = z(!1), E = [
33
+ const w = z(!1), K = [
34
34
  {
35
35
  value: "publish",
36
36
  label: o("inventory.publish.actions.publishAll")
37
37
  }
38
38
  ];
39
- function K(e) {
39
+ function O(e) {
40
40
  switch (w.value = !1, e) {
41
41
  case "publish":
42
42
  console.log("publish all");
@@ -105,7 +105,7 @@ const me = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
105
105
  primaryActions: { text: "Publish", close: !0 },
106
106
  secondaryActions: { text: "Cancel", close: !0 }
107
107
  }).onPrimary(async () => {
108
- await S.publishInventory(a.split("_")[1]), await l.readLocations(), N.open({ message: "Publish request submitted", type: "success" });
108
+ await S.publishInventory(a.split("_")[1]), await l.readLocations(), Y.open({ message: "Publish request submitted", type: "success" });
109
109
  });
110
110
  }
111
111
  }) : null
@@ -136,8 +136,8 @@ const me = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
136
136
  const a = s("FmChip"), m = s("FlexRender"), d = s("TableActionableRow"), j = s("FmTable"), G = s("FmCollapsibleTabs"), J = s("FmBottomSheet");
137
137
  return I(), R(le, {
138
138
  title: h(o)("inventory.publish.title"),
139
- actions: U.value,
140
- "onClick:action": q
139
+ actions: q.value,
140
+ "onClick:action": E
141
141
  }, X({
142
142
  default: u(() => [
143
143
  v("div", {
@@ -150,12 +150,12 @@ const me = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
150
150
  ])
151
151
  }, [
152
152
  n(j, {
153
- style: ee(h(Y).tableHeight),
153
+ style: ee(h(N).tableHeight),
154
154
  "column-defs": W,
155
155
  "row-data": $.value,
156
156
  loading: !h(l)._currentLocation || g.value,
157
157
  "loading-text": "Loading",
158
- "page-size": O.value
158
+ "page-size": U.value
159
159
  }, {
160
160
  "list-row": u((i) => [
161
161
  n(d, { row: i }, {
@@ -193,8 +193,8 @@ const me = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
193
193
  default: u(() => [
194
194
  n(G, {
195
195
  class: "pb-8",
196
- items: E,
197
- "onUpdate:modelValue": t[0] || (t[0] = (i) => K(i))
196
+ items: K,
197
+ "onUpdate:modelValue": t[0] || (t[0] = (i) => O(i))
198
198
  })
199
199
  ]),
200
200
  _: 1
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as h, computed as x, ref as m, onMounted as f, openBlock as n, createElementBlock as u, createElementVNode as t, toDisplayString as l, normalizeStyle as g, createTextVNode as i, Fragment as d, createCommentVNode as p, renderList as v, normalizeClass as w } from "vue";
2
2
  import { useRoute as k } from "vue-router";
3
- import { av as y, ah as C } from "./app-DZ9U0oko.js";
3
+ import { av as y, ah as C } from "./app-qyqp2u_f.js";
4
4
  const P = { class: "purchase-box" }, R = { valign: "bottom" }, A = { class: "text-right" }, N = { class: "header" }, E = { class: "sub-header" }, O = { class: "caption" }, S = { class: "address" }, D = { class: "text-right" }, T = { class: "sub-header" }, q = { class: "address" }, F = { class: "purchase-body" }, L = { class: "text-left" }, U = { class: "text-left" }, V = { class: "text-right" }, z = { style: { "padding-top": "30px" } }, B = { valign: "bottom" }, H = { class: "header" }, I = { class: "caption" }, M = {
5
5
  class: "text-left",
6
6
  style: { width: "20%" }