@feedmepos/mf-inventory-portal 1.2.12-dev.3 → 1.2.13

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 (74) hide show
  1. package/dist/{App-D5hXQpVn.js → App-ZoXow3DD.js} +40 -44
  2. package/dist/{ApprovalView-B__WDklZ.js → ApprovalView-BWX6xBQs.js} +30 -30
  3. package/dist/{BindingsDialog-DXdwRSnn.js → BindingsDialog-CuwkcDKX.js} +2 -2
  4. package/dist/{BindingsPicker-CqAD3aHc.js → BindingsPicker-BibFsY0g.js} +1 -1
  5. package/dist/{BindingsTable-DVNjpusl.js → BindingsTable-AdjKwSPH.js} +1 -1
  6. package/dist/{ClosingDraftView-DL678GBB.js → ClosingDraftView-DWFHP9nE.js} +129 -129
  7. package/dist/{ClosingTemplateView-DThiXLtp.js → ClosingTemplateView-DOCF5f_u.js} +28 -28
  8. package/dist/{DeliveryOrderPrintPreview-B2MB9S6a.js → DeliveryOrderPrintPreview-DNDtL_Vo.js} +1 -1
  9. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BNxs6Bcr.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BWhINOE8.js} +3 -3
  10. package/dist/{FmMultiselectDialog-B45ZLjVp.js → FmMultiselectDialog-Dfo04ak5.js} +1 -1
  11. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-D8ks6AEM.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DGVs4zLl.js} +45 -45
  12. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-C5zIvG2h.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BESx2u4Y.js} +1 -1
  13. package/dist/{IngredientGroupView-D95dFXIZ.js → IngredientGroupView-M9sXlnE0.js} +32 -31
  14. package/dist/IngredientsView-DUwhH3j1.js +2475 -0
  15. package/dist/{IntegrationView-9m3N_9lW.js → IntegrationView-BlUNz1yc.js} +57 -57
  16. package/dist/{InventoryBindingForm-kLoQskao.js → InventoryBindingForm-CvQ5zh6v.js} +1 -1
  17. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BytErBcK.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BEAEmPsU.js} +31 -31
  18. package/dist/{InventoryBindingSummary-Dg0FH7ad.js → InventoryBindingSummary-CsJ-6G2P.js} +1 -1
  19. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BKrUNLuG.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DjN_ktl1.js} +1 -1
  20. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BL1f817e.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BN_e7k7U.js} +1 -1
  21. package/dist/{PublishView-BcOHSAj3.js → PublishView-DZgCyLK2.js} +15 -15
  22. package/dist/{PurchaseOrderPrintPreview-UfF8RVkv.js → PurchaseOrderPrintPreview-CB2xvQ33.js} +1 -1
  23. package/dist/{ReceiveRequestView-D_y_xNUb.js → ReceiveRequestView-DgDHOS-Y.js} +63 -62
  24. package/dist/RecipeView-DQDfwCJd.js +621 -0
  25. package/dist/{StockView-ciU6aAV7.js → StockView-eJOngk08.js} +166 -165
  26. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-XwDTGpR-.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BMFfegsk.js} +1 -1
  27. package/dist/{SupplierView-DFwtALPg.js → SupplierView-BS8rBAKC.js} +492 -490
  28. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-w98ibfql.js +3060 -0
  29. package/dist/{TransferTemplateView-BXr_GqTi.js → TransferTemplateView-By5Ci4Yg.js} +48 -48
  30. package/dist/UnitView-DmuWMFlA.js +667 -0
  31. package/dist/{WarehouseView-BYd0bPhi.js → WarehouseView-4ZLSJXYc.js} +32 -32
  32. package/dist/api/inventory.d.ts +0 -306
  33. package/dist/api/purchase-order.d.ts +0 -1
  34. package/dist/{app-Bb0-8bRg.js → app-D2lun71R.js} +11108 -11723
  35. package/dist/app.d.ts +0 -421
  36. package/dist/app.js +1 -1
  37. package/dist/array-Ca8T3f_G.js +44 -0
  38. package/dist/{closing-template-DPVNEyI7.js → closing-template-Cm1TtVzm.js} +1 -1
  39. package/dist/{decimal-BdBZYISm.js → decimal-eeicE4jp.js} +1 -1
  40. package/dist/{format-unit-display-DlmCwWo_.js → format-unit-display-vHKazw0l.js} +25 -25
  41. package/dist/helper/number.d.ts +0 -1
  42. package/dist/{index-CqBKFj1B.js → index-C5s-1g7c.js} +1 -1
  43. package/dist/{index-CKFmV1Pk.js → index-DvX9cMJV.js} +1 -1
  44. package/dist/{purchase-order-template-CLtEYr5E.js → purchase-order-template-uTs7bR89.js} +1 -1
  45. package/dist/router/name.d.ts +0 -1
  46. package/dist/{stock-nHQhfe2W.js → stock-CL2LNdXp.js} +1 -1
  47. package/dist/stores/feature.d.ts +0 -2
  48. package/dist/stores/inventory.d.ts +199 -26
  49. package/dist/{supplier-DuOjLpOa.js → supplier-CuzoW2k4.js} +1 -1
  50. package/dist/tsconfig.app.tsbuildinfo +1 -1
  51. package/dist/{use-ingredient-select-dialog-B-11Eqlm.js → use-ingredient-select-dialog-Cpg4lHHC.js} +1 -1
  52. package/dist/{use-inventory-binding-dialog-DhLSdRtp.js → use-inventory-binding-dialog-h4M4ICQK.js} +1 -1
  53. package/dist/views/ingredients/helper/import-export.helper.d.ts +1 -3
  54. package/dist/views/recipe/RecipeView.vue.d.ts +0 -1
  55. package/dist/views/unit/UnitView.vue.d.ts +0 -1
  56. package/package.json +2 -2
  57. package/dist/ImportView-EXm_g_jD.js +0 -1303
  58. package/dist/IngredientsView-MF1USuZI.js +0 -2240
  59. package/dist/RecipeView-DOaU9GIF.js +0 -636
  60. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-CdA5_lEz.js +0 -3221
  61. package/dist/UnitView-CAXHvh3n.js +0 -674
  62. package/dist/import-export.helper-B04wszRI.js +0 -243
  63. package/dist/views/import/ImportView.vue.d.ts +0 -3
  64. package/dist/views/import/components/ImportDialog.vue.d.ts +0 -2
  65. package/dist/views/import/helper/import-export.helper.d.ts +0 -4
  66. package/dist/views/receive-request/components/delivery-order-form/SystemTrailDialog.vue.d.ts +0 -17
  67. package/dist/views/recipe/components/import-recipes/ImportRecipeItem.vue.d.ts +0 -16
  68. package/dist/views/recipe/components/import-recipes/ImportRecipes.vue.d.ts +0 -2
  69. package/dist/views/recipe/helper/import-recipe.d.ts +0 -48
  70. package/dist/views/unit/components/import-units/ImportUnitItem.vue.d.ts +0 -12
  71. package/dist/views/unit/components/import-units/ImportUnitItemProps.d.ts +0 -6
  72. package/dist/views/unit/components/import-units/ImportUnits.vue.d.ts +0 -9
  73. package/dist/views/unit/components/import-units/ImportUnitsProps.d.ts +0 -5
  74. package/dist/views/unit/helper/import-export.helper.d.ts +0 -40
@@ -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, a1 as le, bb as ie, l as h, bc as T, $ as G, Z as se, F as de } from "./app-Bb0-8bRg.js";
3
- import { u as re } from "./use-inventory-binding-dialog-DhLSdRtp.js";
4
- import { _ as ae, c as ue, d as me } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-D8ks6AEM.js";
2
+ import { a as te, a4 as le, ba as ie, l as h, bb as T, a2 as G, a1 as se, F as de } from "./app-D2lun71R.js";
3
+ import { u as re } from "./use-inventory-binding-dialog-h4M4ICQK.js";
4
+ import { _ as ae, c as ue, d as me } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-DGVs4zLl.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",
@@ -21,16 +21,16 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
21
21
  }, Pe = {
22
22
  class: "flex items-center",
23
23
  style: { "min-height": "48px" }
24
- }, Ne = { class: "flex-1 fm-typo-en-body-md-400 py-8 px-12" }, Te = { class: "flex flex-col" }, Me = { class: "w-[200px]" }, $e = {
24
+ }, Ne = { class: "flex-1 fm-typo-en-body-md-400 py-8 px-12" }, Te = { class: "flex flex-col" }, Me = { class: "w-[200px]" }, De = {
25
25
  key: 0,
26
26
  class: "w-[52px]"
27
- }, De = { class: "flex flex-col gap-16" }, Ke = { class: "flex items-center" }, je = { class: "flex-1 fm-typo-en-title-sm-600" }, ze = { class: "flex flex-col" }, Le = { class: "flex py-8 px-12 border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-100 h-[44px] items-center" }, Oe = { class: "flex-1 fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, Ye = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary w-[150px] px-16" }, We = {
27
+ }, Ke = { class: "flex flex-col gap-16" }, $e = { class: "flex items-center" }, je = { class: "flex-1 fm-typo-en-title-sm-600" }, ze = { class: "flex flex-col" }, Le = { class: "flex py-8 px-12 border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-100 h-[44px] items-center" }, Oe = { class: "flex-1 fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, Ye = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary w-[150px] px-16" }, We = {
28
28
  class: "flex items-center w-full",
29
29
  style: { "min-height": "48px" }
30
- }, Ze = { class: "flex-1 fm-typo-en-body-md-400 py-8 px-12" }, qe = { class: "line-clamp-1" }, He = { class: "w-[150px]" }, Je = {
30
+ }, qe = { class: "flex-1 fm-typo-en-body-md-400 py-8 px-12" }, He = { class: "line-clamp-1" }, Je = { class: "w-[150px]" }, Qe = {
31
31
  key: 0,
32
32
  class: "w-[52px]"
33
- }, Qe = { class: "flex flex-col px-12 pb-4" }, ln = /* @__PURE__ */ ee({
33
+ }, Xe = { class: "flex flex-col px-12 pb-4" }, ln = /* @__PURE__ */ ee({
34
34
  __name: "InventoryBindingForm",
35
35
  props: {
36
36
  id: {},
@@ -43,8 +43,8 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
43
43
  enableIngredientGroup: { type: Boolean }
44
44
  },
45
45
  emits: ["update:modelValue", "click:pick-inventory-bindings"],
46
- setup(M, { emit: $ }) {
47
- const { t: a } = ce(), x = te(), D = _(() => x.recipeById), I = _(() => x.skuById), K = _(() => x.skuGroupById), s = M, b = $, A = _(() => le({
46
+ setup(M, { emit: D }) {
47
+ const { t: a } = ce(), x = te(), K = _(() => x.recipeById), I = _(() => x.skuById), $ = _(() => x.skuGroupById), s = M, b = D, A = _(() => le({
48
48
  parentId: s.id,
49
49
  bindings: s.modelValue,
50
50
  recipes: x.recipes.map((o) => o._id === s.id ? {
@@ -76,7 +76,7 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
76
76
  );
77
77
  }
78
78
  const W = _(() => s.modelValue.filter((e) => e.type === "SKU_GROUP"));
79
- async function Z() {
79
+ async function q() {
80
80
  O(
81
81
  s.modelValue,
82
82
  (e) => b("update:modelValue", e),
@@ -84,7 +84,7 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
84
84
  );
85
85
  }
86
86
  const R = _(() => s.modelValue.filter((e) => e.type === "SKU") ?? []);
87
- async function q() {
87
+ async function H() {
88
88
  if (s.iframeMode) {
89
89
  b("click:pick-inventory-bindings", "SKU");
90
90
  return;
@@ -113,10 +113,10 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
113
113
  throw new Error(`Cannot find ingredient: ${e.id}`);
114
114
  return (d = I.value[e.id]) == null ? void 0 : d.unit;
115
115
  }
116
- function H(e) {
116
+ function J(e) {
117
117
  return { amount: e.amount, measurement: e.measurement };
118
118
  }
119
- function J(e, t, o) {
119
+ function Q(e, t, o) {
120
120
  const d = o.map((f) => f.id !== e ? f : {
121
121
  ...f,
122
122
  amount: t.amount,
@@ -125,7 +125,7 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
125
125
  b("update:modelValue", d);
126
126
  }
127
127
  const N = ne({});
128
- function Q(e) {
128
+ function X(e) {
129
129
  return N[e.id] ?? {
130
130
  modelValue: {
131
131
  amount: e.amount,
@@ -134,7 +134,7 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
134
134
  amountAsString: h(e.amount)
135
135
  };
136
136
  }
137
- function X(e, t) {
137
+ function Z(e, t) {
138
138
  oe(() => {
139
139
  N[e.id] = {
140
140
  modelValue: {
@@ -192,7 +192,7 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
192
192
  n("div", xe, [
193
193
  n("div", he, [
194
194
  n("div", Ve, [
195
- n("div", Be, m((g = D.value[l.id]) == null ? void 0 : g.name), 1)
195
+ n("div", Be, m((g = K.value[l.id]) == null ? void 0 : g.name), 1)
196
196
  ]),
197
197
  n("div", ke, [
198
198
  y(f, {
@@ -239,7 +239,7 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
239
239
  "border-color": "primary",
240
240
  label: i(a)("inventory.inventoryBindings.linkIngredientGroup"),
241
241
  "prepend-icon": "link",
242
- onClick: Z
242
+ onClick: q
243
243
  }, null, 8, ["label"]))
244
244
  ]),
245
245
  n("div", Ce, [
@@ -268,7 +268,7 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
268
268
  ])) : v("", !0),
269
269
  n("div", Pe, [
270
270
  n("div", Ne, [
271
- n("div", Te, m((g = K.value[l.id]) == null ? void 0 : g.name), 1)
271
+ n("div", Te, m((g = $.value[l.id]) == null ? void 0 : g.name), 1)
272
272
  ]),
273
273
  n("div", Me, [
274
274
  y(f, {
@@ -279,7 +279,7 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
279
279
  invalid: V
280
280
  }, null, 8, ["disabled", "modelValue", "onUpdate:modelValue", "invalid"])
281
281
  ]),
282
- e.readonly ? v("", !0) : (r(), p("div", $e, [
282
+ e.readonly ? v("", !0) : (r(), p("div", De, [
283
283
  y(d, {
284
284
  disabled: e.disabled,
285
285
  type: "button",
@@ -297,8 +297,8 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
297
297
  }, 1032, ["disabled", "modelValue", "rules"]))), 128))
298
298
  ])
299
299
  ])) : v("", !0),
300
- n("div", De, [
301
- n("div", Ke, [
300
+ n("div", Ke, [
301
+ n("div", $e, [
302
302
  n("div", je, m(i(a)("inventory.inventoryBindings.ingredient")), 1),
303
303
  e.readonly ? v("", !0) : (r(), B(d, {
304
304
  key: 0,
@@ -307,7 +307,7 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
307
307
  "border-color": "primary",
308
308
  label: i(a)("inventory.inventoryBindings.linkIngredient"),
309
309
  "prepend-icon": "link",
310
- onClick: q
310
+ onClick: H
311
311
  }, null, 8, ["label"]))
312
312
  ]),
313
313
  n("div", ze, [
@@ -323,21 +323,21 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
323
323
  class: "flex flex-col border-b border-fm-color-neutral-gray-100"
324
324
  }, [
325
325
  n("div", We, [
326
- n("div", Ze, [
327
- n("span", qe, m((g = I.value[l.id]) == null ? void 0 : g.name), 1)
326
+ n("div", qe, [
327
+ n("span", He, m((g = I.value[l.id]) == null ? void 0 : g.name), 1)
328
328
  ]),
329
- n("div", He, [
329
+ n("div", Je, [
330
330
  y(ae, {
331
- "model-value": H(l),
332
- "onUpdate:modelValue": (c) => c && J(l.id, c, e.modelValue),
333
- "onUpdate:amount": (c) => X(l, c),
331
+ "model-value": J(l),
332
+ "onUpdate:modelValue": (c) => c && Q(l.id, c, e.modelValue),
333
+ "onUpdate:amount": (c) => Z(l, c),
334
334
  unit: P(l),
335
335
  placement: V === R.value.length - 1 ? "top" : "bottom",
336
336
  "convert-amount-on-change-unit": "",
337
337
  disabled: e.readonly
338
338
  }, null, 8, ["model-value", "onUpdate:modelValue", "onUpdate:amount", "unit", "placement", "disabled"])
339
339
  ]),
340
- e.readonly ? v("", !0) : (r(), p("div", Je, [
340
+ e.readonly ? v("", !0) : (r(), p("div", Qe, [
341
341
  y(d, {
342
342
  disabled: e.disabled,
343
343
  type: "button",
@@ -347,13 +347,13 @@ const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-1
347
347
  }, null, 8, ["disabled", "onClick"])
348
348
  ]))
349
349
  ]),
350
- n("div", Qe, [
350
+ n("div", Xe, [
351
351
  y(o, {
352
352
  modelValue: +i(h)(l.amount ?? { amount: 1, precision: 0 }),
353
353
  rules: [i(G)(0)]
354
354
  }, null, 8, ["modelValue", "rules"]),
355
355
  y(o, {
356
- modelValue: Q(l),
356
+ modelValue: X(l),
357
357
  rules: [
358
358
  i(ue)(),
359
359
  i(me)(P(l)),
@@ -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-Bb0-8bRg.js";
4
+ import { F as r } from "./app-D2lun71R.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 { Z as s } from "./app-Bb0-8bRg.js";
2
+ import { a1 as s } from "./app-D2lun71R.js";
3
3
  const _ = ["value", "disabled"], C = /* @__PURE__ */ V({
4
4
  __name: "NumberPrecisionInput",
5
5
  props: {
@@ -1,4 +1,4 @@
1
- import { aN as u, aO as _, a6 as h, u as F } from "./app-Bb0-8bRg.js";
1
+ import { aN as u, aO as _, a8 as h, u as F } from "./app-D2lun71R.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,5 +1,5 @@
1
1
  import { defineComponent as Q, ref as D, computed as c, watch as X, resolveComponent as l, openBlock as W, createBlock as z, unref as h, createSlots as Z, withCtx as u, createElementVNode as f, normalizeClass as ee, createVNode as a, normalizeStyle as te, Teleport as oe, h as g } from "vue";
2
- import { aH as ne, u as ae, a as se, b4 as le, C as ie, E as re, a7 as H } from "./app-Bb0-8bRg.js";
2
+ import { aH as ne, u as ae, a as se, b4 as le, O as ie, P as re, a9 as H } from "./app-D2lun71R.js";
3
3
  import { useBreakpoints as ce, useDialog as ue, useSnackbar as me, components as B } from "@feedmepos/ui-library";
4
4
  const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ye = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, ge = /* @__PURE__ */ Q({
5
5
  __name: "PublishView",
@@ -14,7 +14,7 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
14
14
  { immediate: !0 }
15
15
  // Optional: triggers the watcher immediately on mount
16
16
  );
17
- const E = c(() => [
17
+ const U = c(() => [
18
18
  {
19
19
  label: t("inventory.common.refresh"),
20
20
  value: "refresh",
@@ -22,7 +22,7 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
22
22
  },
23
23
  { label: t("inventory.publish.actions.publishAll"), value: "publish", isPrimary: !0 }
24
24
  ]);
25
- async function U(e) {
25
+ async function q(e) {
26
26
  switch (e) {
27
27
  case "publish":
28
28
  C.open({
@@ -39,7 +39,7 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
39
39
  break;
40
40
  }
41
41
  }
42
- const w = D(!1), q = [
42
+ const w = D(!1), E = [
43
43
  {
44
44
  value: "publish",
45
45
  label: t("inventory.publish.actions.publishAll")
@@ -51,7 +51,7 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
51
51
  console.log("publish all");
52
52
  }
53
53
  }
54
- const j = [
54
+ const O = [
55
55
  {
56
56
  id: "type",
57
57
  header: () => t("inventory.publish.columns.type"),
@@ -142,11 +142,11 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
142
142
  // }
143
143
  ];
144
144
  return (e, o) => {
145
- const s = l("FmChip"), p = l("FlexRender"), d = l("TableActionableRow"), G = l("FmTable"), J = l("FmCollapsibleTabs"), O = l("FmBottomSheet");
145
+ const s = l("FmChip"), p = l("FlexRender"), d = l("TableActionableRow"), j = l("FmTable"), G = l("FmCollapsibleTabs"), J = l("FmBottomSheet");
146
146
  return W(), z(re, {
147
147
  title: h(t)("inventory.publish.title"),
148
- actions: E.value,
149
- "onClick:action": U
148
+ actions: U.value,
149
+ "onClick:action": q
150
150
  }, Z({
151
151
  default: u(() => [
152
152
  f("div", {
@@ -158,9 +158,9 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
158
158
  }
159
159
  ])
160
160
  }, [
161
- a(G, {
161
+ a(j, {
162
162
  style: te(h(R).tableHeight),
163
- "column-defs": j,
163
+ "column-defs": O,
164
164
  "row-data": N.value,
165
165
  loading: !h(n)._currentLocation || i.value,
166
166
  "loading-text": "Loading",
@@ -169,7 +169,7 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
169
169
  "list-row": u((r) => [
170
170
  a(d, { row: r }, {
171
171
  default: u((y) => {
172
- var F, I, k, b, M, L, P, T, v, V;
172
+ var F, I, k, b, M, P, L, T, v, V;
173
173
  return [
174
174
  f("div", pe, [
175
175
  f("div", de, [
@@ -180,7 +180,7 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
180
180
  ]),
181
181
  f("div", ye, [
182
182
  a(p, {
183
- render: (T = (P = (L = y.name) == null ? void 0 : L.column) == null ? void 0 : P.columnDef) == null ? void 0 : T.cell,
183
+ render: (T = (L = (P = y.name) == null ? void 0 : P.column) == null ? void 0 : L.columnDef) == null ? void 0 : T.cell,
184
184
  props: (V = (v = y.name) == null ? void 0 : v.getContext) == null ? void 0 : V.call(v)
185
185
  }, null, 8, ["render", "props"])
186
186
  ])
@@ -194,15 +194,15 @@ const pe = { class: "flex flex-col py-8" }, de = { class: "fm-typo-en-body-md-40
194
194
  }, 8, ["style", "row-data", "loading", "page-size"])
195
195
  ], 2),
196
196
  (W(), z(oe, { to: "body" }, [
197
- a(O, {
197
+ a(J, {
198
198
  "dismiss-away": "",
199
199
  modelValue: w.value,
200
200
  "onUpdate:modelValue": o[1] || (o[1] = (r) => w.value = r)
201
201
  }, {
202
202
  default: u(() => [
203
- a(J, {
203
+ a(G, {
204
204
  class: "pb-8",
205
- items: q,
205
+ items: E,
206
206
  "onUpdate:modelValue": o[0] || (o[0] = (r) => K(r))
207
207
  })
208
208
  ]),
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as b, computed as m, ref as x, 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 w } from "vue-router";
3
- import { aG as y, at as k } from "./app-Bb0-8bRg.js";
3
+ import { aG as y, at as k } from "./app-D2lun71R.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" }, G = { class: "caption" }, J = {
5
5
  class: "text-left",
6
6
  style: { width: "20%" }