@feedmepos/mf-inventory-portal 1.2.49 → 1.2.50-dev.2

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 (91) hide show
  1. package/dist/{App-w_Dbl-jn.js → App-DAO7XF9h.js} +72 -68
  2. package/dist/{ApprovalView-CuOM9Ych.js → ApprovalView-BUHefc15.js} +34 -34
  3. package/dist/{BindingsDialog-DkMSnr51.js → BindingsDialog-Cx9ngX7X.js} +2 -2
  4. package/dist/{BindingsPicker-DrXdWUTh.js → BindingsPicker-CIZ9FVgv.js} +2 -2
  5. package/dist/{BindingsTable-Bj0eBYdU.js → BindingsTable-CMyZkvyn.js} +4 -4
  6. package/dist/{ClosingDraftView-D1oohB8Y.js → ClosingDraftView-D4CMfSvf.js} +19 -18
  7. package/dist/{ClosingHistoryView-BCYNhLDg.js → ClosingHistoryView-J_2EA-F4.js} +3 -3
  8. package/dist/{ClosingTemplateView-DIvZkCgT.js → ClosingTemplateView-Bz21bJLn.js} +18 -17
  9. package/dist/{DeliveryOrderPrintPreview-C83_a-LI.js → DeliveryOrderPrintPreview-D9xRJSBT.js} +1 -1
  10. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Bmas1qkC.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-ifkxhq6-.js} +4 -4
  11. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CQ_Er40u.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BcJ1ydJ1.js} +12 -12
  12. package/dist/FmMultiselectDialog-B5F93-xV.js +621 -0
  13. package/dist/{FmMultiselectDialog-BtvZkE6p.js → FmMultiselectDialog-Cxj6_Bbq.js} +1 -1
  14. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BN9OeQF3.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CJsg-6qm.js} +3 -3
  15. package/dist/{ImportView-CRdvYxW3.js → ImportView-mq9p_YKN.js} +7 -7
  16. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-D6J1wcU6.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CvdNblLJ.js} +1 -1
  17. package/dist/{IngredientGroupView-DCdnjh-f.js → IngredientGroupView-1YQdweWW.js} +108 -107
  18. package/dist/{IngredientsView-DhZadYV8.js → IngredientsView-rZZDO37M.js} +126 -125
  19. package/dist/{IntegrationView-B_D6Sgj-.js → IntegrationView-0KCNTL9w.js} +80 -80
  20. package/dist/{InventoryBindingForm-CM47I9t9.js → InventoryBindingForm-Cz6tMVlQ.js} +1 -1
  21. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BYKUWI9e.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-9jHxMOEn.js} +4 -4
  22. package/dist/{InventoryBindingSummary-BSuJMrFU.js → InventoryBindingSummary-DarjH7Dn.js} +1 -1
  23. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-9TTwcC8s.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BR6U0SpT.js} +1 -1
  24. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-D2vWMBZF.js → PremiumBadge.vue_vue_type_script_setup_true_lang-C9ffyR0d.js} +2 -2
  25. package/dist/{PublishView-DxhE5g9_.js → PublishView-Bam4W7ko.js} +3 -3
  26. package/dist/{PurchaseOrderPrintPreview-BzIwRI7z.js → PurchaseOrderPrintPreview-DEKkUMB6.js} +1 -1
  27. package/dist/ReceiveRequestView-DDfHVcG2.js +3028 -0
  28. package/dist/{RecipeView-Azx2MoPR.js → RecipeView-CwwKtDRg.js} +83 -82
  29. package/dist/{StockView-D51RBHWQ.js → StockView-CVN5MKbj.js} +113 -112
  30. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-R0yauCbz.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Bm1MxmBR.js} +1 -1
  31. package/dist/{SupplierView-BeHjJ0xJ.js → SupplierView-BhnmPv7N.js} +28 -27
  32. package/dist/SurchargeView-nlkL3YIK.js +460 -0
  33. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-DG1p3Rim.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-DdPVsOZY.js} +2 -2
  34. package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js +84 -0
  35. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-cPIomfPb.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Bp49G_dV.js} +13 -13
  36. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BZR_EozX.js → TransferDetails.vue_vue_type_script_setup_true_lang-BQFBZ0CH.js} +15 -15
  37. package/dist/{TransferTemplateView-BwdhVKO4.js → TransferTemplateView-7AJGTAAy.js} +16 -16
  38. package/dist/{UnitView-BT23dBtV.js → UnitView-Dz4bgzmW.js} +20 -19
  39. package/dist/{WarehouseView-PWigQlHk.js → WarehouseView-DEYOa_Ol.js} +21 -20
  40. package/dist/{WastageTemplateView-BGO19Pux.js → WastageTemplateView-DdPkFfyQ.js} +165 -164
  41. package/dist/api/netsuite.d.ts +8 -0
  42. package/dist/api/surcharge.d.ts +31 -0
  43. package/dist/app-DiX-EfV6.js +8167 -0
  44. package/dist/{app-C0a15lwm.js → app-kim0oKgm.js} +4511 -4408
  45. package/dist/app.d.ts +52 -0
  46. package/dist/app.js +1 -1
  47. package/dist/{closing-template-C9jSN68K.js → closing-template-MLHUWgwA.js} +1 -1
  48. package/dist/component-DpCUABT3.js +82 -0
  49. package/dist/components/FmInventoryTableToolbar.vue.d.ts +8 -0
  50. package/dist/components/FmMultiselectDialogProps.d.ts +5 -0
  51. package/dist/{date2-DND2dkpu.js → date2-Ck1fxOS1.js} +1 -1
  52. package/dist/{dayjs.min-CvewwBuM.js → dayjs.min-CgHxLw1P.js} +1 -1
  53. package/dist/{decimal-C11049RC.js → decimal-DVjzMCmx.js} +2 -2
  54. package/dist/{defineDeepModel-BYmk9G2K.js → defineDeepModel-CLo1ie3w.js} +1 -1
  55. package/dist/{duplicate-template-CJLrmGdo.js → duplicate-template-B_f_fYhs.js} +1 -1
  56. package/dist/{feature-D2GGGVQh.js → feature-D4HcMaGK.js} +3442 -2812
  57. package/dist/{format-time-from-id-DuUqVP8F.js → format-time-from-id-CwtHJpC0.js} +1 -1
  58. package/dist/{format-unit-display-BwBGMuCk.js → format-unit-display-DRIOlVir.js} +11 -11
  59. package/dist/{import-export.helper-ejk_vT2V.js → import-export.helper-BrcydEPI.js} +5 -5
  60. package/dist/{index-D65a-5cn.js → index-ChruXaud.js} +1 -1
  61. package/dist/{index-Cy-YW3O0.js → index-D9dtwK1d.js} +1 -1
  62. package/dist/{index-C9F5LU0v.js → index-Wd74fJNj.js} +3 -3
  63. package/dist/{lodash-DNLSknxF.js → lodash-MkfFbMhZ.js} +1 -1
  64. package/dist/netsuite-D4cXyIr7.js +5402 -0
  65. package/dist/{purchase-order-template-C7J9I7o4.js → purchase-order-template-BdKUiSPI.js} +1 -1
  66. package/dist/router/name.d.ts +1 -0
  67. package/dist/{rules-DQNuaKK6.js → rules-KSzt3qOJ.js} +3 -3
  68. package/dist/{stock-bYU0NTHD.js → stock-BHWNLsBc.js} +1 -1
  69. package/dist/{stock-1aynIWpi.js → stock-DZliLQNR.js} +3 -3
  70. package/dist/stores/integration/netsuite.d.ts +5 -0
  71. package/dist/stores/surcharge.d.ts +18 -0
  72. package/dist/style.css +1 -1
  73. package/dist/{supplier-B72SAF3j.js → supplier-CiMOpHKx.js} +2 -2
  74. package/dist/surcharge-CjdNdcm1.js +71 -0
  75. package/dist/tsconfig.app.tsbuildinfo +1 -1
  76. package/dist/{use-ingredient-select-dialog-DO20RWUv.js → use-ingredient-select-dialog-CK_Ldhwm.js} +2 -2
  77. package/dist/{use-inventory-binding-dialog-R2VQakMR.js → use-inventory-binding-dialog-jfME3m3c.js} +2 -2
  78. package/dist/{use-template-enabled-locations-2-C7L_vyIF.js → use-template-enabled-locations-2-Dbk_RoRj.js} +2 -2
  79. package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +714 -0
  80. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +5 -0
  81. package/dist/views/surcharge/SurchargeView.vue.d.ts +2 -0
  82. package/dist/vue-i18n-DUlOMRWF.js +2365 -0
  83. package/dist/{xlsx-DZcSBj-s.js → xlsx-CiNXr9Ie.js} +1 -1
  84. package/dist/{xlsx.util-DMCjqrHn.js → xlsx.util-D81JjCsx.js} +1 -1
  85. package/package.json +2 -2
  86. package/dist/FmMultiselectDialog-IU5C9o_F.js +0 -598
  87. package/dist/ReceiveRequestView-C5wqi0jE.js +0 -2913
  88. package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-cfFHDIwQ.js +0 -162
  89. package/dist/app-uBuHtW8m.js +0 -8127
  90. package/dist/netsuite-TqUeqkqw.js +0 -5131
  91. package/dist/vue-i18n-BLzLoy1U.js +0 -2365
@@ -0,0 +1,84 @@
1
+ import { defineComponent as I, h as R, computed as h, openBlock as l, createBlock as V, resolveDynamicComponent as B, unref as c, normalizeClass as F, withCtx as D, createElementVNode as d, renderSlot as N, normalizeProps as z, guardReactiveProps as E, createElementBlock as u, Fragment as g, renderList as L, createVNode as k, createCommentVNode as y } from "vue";
2
+ import { components as P } from "@feedmepos/ui-library";
3
+ /**
4
+ * vue-table
5
+ *
6
+ * Copyright (c) TanStack
7
+ *
8
+ * This source code is licensed under the MIT license found in the
9
+ * LICENSE.md file in the root directory of this source tree.
10
+ *
11
+ * @license MIT
12
+ */
13
+ const b = I({
14
+ props: ["render", "props"],
15
+ setup: (o) => () => typeof o.render == "function" || typeof o.render == "object" ? R(o.render, o.props) : o.render
16
+ }), S = { class: "flex gap-4 w-full" }, _ = { class: "flex-1" }, $ = { class: "flex flex-col" }, j = { key: 0 }, A = { key: 0 }, G = /* @__PURE__ */ I({
17
+ __name: "TableActionableRow",
18
+ props: {
19
+ row: {},
20
+ onRowClick: {},
21
+ actionColumnId: { default: "action" }
22
+ },
23
+ setup(o) {
24
+ const m = o, s = h(
25
+ () => m.row.getVisibleCells().reduce(
26
+ (e, r) => (e[r.column.id] = r, e),
27
+ {}
28
+ )
29
+ );
30
+ return (e, r) => (l(), V(B(e.onRowClick ? c(P).FmListItem : "div"), {
31
+ class: F([
32
+ "w-full border-b border-fm-color-neutral-gray-100",
33
+ {
34
+ "bg-fm-color-neutral-gray-100": e.row.getIsSelected(),
35
+ "cursor-pointer": typeof e.onRowClick == "function"
36
+ }
37
+ ]),
38
+ onClick: r[0] || (r[0] = (a) => {
39
+ var t;
40
+ return (t = e.onRowClick) == null ? void 0 : t.call(e, e.row.original);
41
+ })
42
+ }, {
43
+ default: D(() => {
44
+ var a, t, p, i, f;
45
+ return [
46
+ d("div", S, [
47
+ d("div", _, [
48
+ N(e.$slots, "default", z(E(s.value)), () => [
49
+ d("div", $, [
50
+ (l(!0), u(g, null, L(m.row.getVisibleCells(), (n) => {
51
+ var C, v, w;
52
+ return l(), u(g, {
53
+ key: n.id
54
+ }, [
55
+ n.column.id !== e.actionColumnId ? (l(), u("div", j, [
56
+ k(c(b), {
57
+ render: (v = (C = n.column) == null ? void 0 : C.columnDef) == null ? void 0 : v.cell,
58
+ props: (w = n.getContext) == null ? void 0 : w.call(n)
59
+ }, null, 8, ["render", "props"])
60
+ ])) : y("", !0)
61
+ ], 64);
62
+ }), 128))
63
+ ])
64
+ ])
65
+ ]),
66
+ s.value[e.actionColumnId ?? ""] ? (l(), u("div", A, [
67
+ d("div", null, [
68
+ k(c(b), {
69
+ render: (p = (t = (a = s.value[e.actionColumnId ?? ""]) == null ? void 0 : a.column) == null ? void 0 : t.columnDef) == null ? void 0 : p.cell,
70
+ props: (f = (i = s.value[e.actionColumnId ?? ""]) == null ? void 0 : i.getContext) == null ? void 0 : f.call(i)
71
+ }, null, 8, ["render", "props"])
72
+ ])
73
+ ])) : y("", !0)
74
+ ])
75
+ ];
76
+ }),
77
+ _: 3
78
+ }, 8, ["class"]));
79
+ }
80
+ });
81
+ export {
82
+ b as F,
83
+ G as _
84
+ };
@@ -1,11 +1,11 @@
1
- import { defineComponent as C, ref as c, computed as f, resolveComponent as y, openBlock as E, createElementBlock as P, createElementVNode as d, toDisplayString as A, createVNode as v, unref as x, h as g } from "vue";
2
- import { u as T } from "./vue-i18n-BLzLoy1U.js";
3
- import { components as R } from "@feedmepos/ui-library";
4
- import { E as D, b as S } from "./app-uBuHtW8m.js";
5
- const z = {
1
+ import { defineComponent as C, ref as c, computed as f, resolveComponent as y, openBlock as P, createElementBlock as A, createElementVNode as d, toDisplayString as D, createVNode as v, unref as x, h as g } from "vue";
2
+ import { u as T } from "./vue-i18n-DUlOMRWF.js";
3
+ import { components as E } from "@feedmepos/ui-library";
4
+ import { K as R, D as K } from "./app-DiX-EfV6.js";
5
+ const S = {
6
6
  class: "flex flex-col gap-24",
7
7
  style: { height: "400px" }
8
- }, U = { class: "flex items-center" }, j = { class: "fm-typo-en-body-lg-600 flex-1" }, I = { class: "flex flex-col gap-4 w-full flex-1 min-h-0" }, q = /* @__PURE__ */ C({
8
+ }, z = { class: "flex items-center" }, U = { class: "fm-typo-en-body-lg-600 flex-1" }, j = { class: "flex flex-col gap-4 w-full flex-1 min-h-0" }, q = /* @__PURE__ */ C({
9
9
  __name: "TemplatePublishDialog",
10
10
  props: {
11
11
  title: {},
@@ -38,7 +38,7 @@ const z = {
38
38
  }
39
39
  ], r = f(() => {
40
40
  const l = p.value.toLowerCase();
41
- return L.value.filter((e) => D(e, b.value)).filter(({ name: e }) => l ? e.toLowerCase().includes(l) : !0);
41
+ return L.value.filter((e) => R(e, b.value)).filter(({ name: e }) => l ? e.toLowerCase().includes(l) : !0);
42
42
  });
43
43
  function F() {
44
44
  const l = Object.keys(i.value).map(Number).filter((e) => i.value[e]);
@@ -68,7 +68,7 @@ const z = {
68
68
  },
69
69
  u(a ? "inventory.publish.status.published" : "inventory.publish.status.outdated")
70
70
  ),
71
- g(R.FmButton, {
71
+ g(E.FmButton, {
72
72
  class: "tertiary",
73
73
  variant: "secondary",
74
74
  icon: "ios_share",
@@ -107,9 +107,9 @@ const z = {
107
107
  });
108
108
  return (l, e) => {
109
109
  const a = y("FmButton"), n = y("FmTextField"), h = y("FmTable");
110
- return E(), P("div", z, [
111
- d("div", U, [
112
- d("div", j, A(l.title), 1),
110
+ return P(), A("div", S, [
111
+ d("div", z, [
112
+ d("div", U, D(l.title), 1),
113
113
  d("div", null, [
114
114
  v(a, {
115
115
  label: B.value,
@@ -120,7 +120,7 @@ const z = {
120
120
  }, null, 8, ["label", "loading", "disabled"])
121
121
  ])
122
122
  ]),
123
- d("div", I, [
123
+ d("div", j, [
124
124
  v(n, {
125
125
  modelValue: p.value,
126
126
  "onUpdate:modelValue": e[1] || (e[1] = (o) => p.value = o),
@@ -128,7 +128,7 @@ const z = {
128
128
  placeholder: x(u)("inventory.publish.search.placeholder"),
129
129
  "prepend-icon": "search"
130
130
  }, null, 8, ["modelValue", "placeholder"]),
131
- v(x(S), {
131
+ v(x(K), {
132
132
  modelValue: b.value,
133
133
  "onUpdate:modelValue": e[2] || (e[2] = (o) => b.value = o),
134
134
  attributes: V
@@ -1,26 +1,26 @@
1
- import { p as Ct, f as We } from "./format-time-from-id-DuUqVP8F.js";
1
+ import { p as Ct, f as We } from "./format-time-from-id-CwtHJpC0.js";
2
2
  import { ref as J, computed as Y, h as L, defineComponent as $e, reactive as Rt, onMounted as yt, resolveComponent as H, openBlock as l, createBlock as re, withCtx as ee, createElementVNode as e, createVNode as D, unref as v, createElementBlock as h, toDisplayString as y, createCommentVNode as U, Fragment as de, renderList as xe, createTextVNode as ke, normalizeClass as Me, watch as kt, isRef as Dt, resolveDynamicComponent as At } from "vue";
3
- import { c as mt } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-cfFHDIwQ.js";
3
+ import { c as mt } from "./component-DpCUABT3.js";
4
4
  import { R as ye, D as Se } from "./row-action.enum-BcW_L_nE.js";
5
- import { o as Nt, u as De, W as M, X as Ze, M as se, D as Ft, c as vt, v as it, Y as bt, t as Ge, J as Ce, A as Ye, s as qe, B as Pe } from "./app-C0a15lwm.js";
6
- import { l as ht, d as gt, a as he, t as Qe, e as Ke } from "./rules-DQNuaKK6.js";
7
- import { F as Tt } from "./decimal-C11049RC.js";
8
- import { t as It, c as Pt, h as _t, a as He } from "./date2-DND2dkpu.js";
9
- import { u as Ue, F as qt, a as st } from "./feature-D2GGGVQh.js";
5
+ import { o as Nt, u as De, W as M, X as Ze, M as se, D as Ft, c as vt, v as it, Y as bt, t as Ge, J as Ce, A as Ye, s as qe, B as Pe } from "./app-kim0oKgm.js";
6
+ import { l as ht, d as gt, a as he, t as Qe, e as Ke } from "./rules-KSzt3qOJ.js";
7
+ import { F as Tt } from "./decimal-DVjzMCmx.js";
8
+ import { t as It, c as Pt, h as _t, a as He } from "./date2-Ck1fxOS1.js";
9
+ import { u as Ue, F as qt, a as st } from "./feature-D4HcMaGK.js";
10
10
  import { useCoreStore as ct, useI18n as ut } from "@feedmepos/mf-common";
11
- import { u as et, a as dt, S as we } from "./netsuite-TqUeqkqw.js";
11
+ import { u as et, a as dt, S as we } from "./netsuite-D4cXyIr7.js";
12
12
  import { useDialog as tt, useSnackbar as Be, components as Je, FmButtonVariant as ge, useProxiedModel as Vt } from "@feedmepos/ui-library";
13
13
  import { F as Ve } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
14
14
  import { E as Et } from "./empty-placeholder-wf6-BWE8.js";
15
- import { u as Lt, a as Mt, f as Ut } from "./format-unit-display-BwBGMuCk.js";
16
- import { u as je, _ as Bt } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-DG1p3Rim.js";
17
- import { _ as jt, a as zt, b as Kt } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-BN9OeQF3.js";
15
+ import { u as Lt, a as Mt, f as Ut } from "./format-unit-display-DRIOlVir.js";
16
+ import { u as je, _ as Bt } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-DdPVsOZY.js";
17
+ import { _ as jt, a as zt, b as Kt } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-CJsg-6qm.js";
18
18
  import { u as Gt, R as pt } from "./usePromise-CbVUCxhj.js";
19
- import { c as Ht } from "./index-C9F5LU0v.js";
20
- import { i as Wt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CQ_Er40u.js";
19
+ import { c as Ht } from "./index-Wd74fJNj.js";
20
+ import { i as Wt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BcJ1ydJ1.js";
21
21
  import { F as ft } from "./form-mode.enum-BKiNVH6A.js";
22
- import { d as St } from "./defineDeepModel-BYmk9G2K.js";
23
- import { u as Yt } from "./vue-i18n-BLzLoy1U.js";
22
+ import { d as St } from "./defineDeepModel-CLo1ie3w.js";
23
+ import { u as Yt } from "./vue-i18n-DUlOMRWF.js";
24
24
  const Qt = Nt((C, a) => {
25
25
  const o = De();
26
26
  return {
@@ -1,26 +1,26 @@
1
1
  import { defineComponent as ae, onMounted as Te, computed as N, ref as H, watch as Fe, inject as ot, resolveComponent as V, openBlock as S, createElementBlock as L, createElementVNode as e, createVNode as c, withCtx as B, renderSlot as _e, withDirectives as Ue, normalizeClass as re, vModelText as qe, reactive as st, h as Q, toDisplayString as I, unref as t, createCommentVNode as oe, Fragment as pe, normalizeStyle as xe, renderList as Qe, createBlock as ne, mergeProps as Ye, createTextVNode as le, mergeModels as Pe, useModel as nt, isRef as He, Teleport as lt, normalizeProps as at, guardReactiveProps as rt } from "vue";
2
2
  import { u as it, _ as ut } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
3
3
  import { useI18n as me } from "@feedmepos/mf-common";
4
- import { f as dt, t as mt, u as Le, a as pt } from "./format-unit-display-BwBGMuCk.js";
4
+ import { f as dt, t as mt, u as Le, a as pt } from "./format-unit-display-DRIOlVir.js";
5
5
  import { R as Ne } from "./row-action.enum-BcW_L_nE.js";
6
- import { a as We, s as Ee, t as X, u as Ge, v as ct, k as ye } from "./app-C0a15lwm.js";
7
- import { _ as ft } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CQ_Er40u.js";
6
+ import { a as We, s as Ee, t as X, u as Ge, v as ct, k as ye } from "./app-kim0oKgm.js";
7
+ import { _ as ft } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BcJ1ydJ1.js";
8
8
  import { components as ue, useSnackbar as yt, useProxiedModel as Ke, useBreakpoints as vt } from "@feedmepos/ui-library";
9
9
  import { defineStore as bt, storeToRefs as ze } from "pinia";
10
10
  import { F as de } from "./form-mode.enum-BKiNVH6A.js";
11
- import { u as he, t as je, I as gt, b as ht, n as _t, a as se, c as xt, R as ke, g as be, d as ve, A as we, M as kt, e as wt } from "./rules-DQNuaKK6.js";
12
- import { d as Ze } from "./defineDeepModel-BYmk9G2K.js";
13
- import { _ as Tt, F as Ft, a as Ct, b as It } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-BN9OeQF3.js";
14
- import { u as ge } from "./feature-D2GGGVQh.js";
15
- import { c as Mt, u as $t, _ as St } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Bmas1qkC.js";
16
- import { u as Je } from "./netsuite-TqUeqkqw.js";
17
- import { u as Ot } from "./supplier-B72SAF3j.js";
18
- import { u as Dt } from "./use-ingredient-select-dialog-DO20RWUv.js";
19
- import { F as ee, _ as Xe } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-cfFHDIwQ.js";
20
- import { u as Vt } from "./use-template-enabled-locations-2-C7L_vyIF.js";
21
- import { u as At } from "./purchase-order-template-C7J9I7o4.js";
22
- import { f as Rt } from "./format-time-from-id-DuUqVP8F.js";
23
- import { f as Bt } from "./date2-DND2dkpu.js";
11
+ import { u as he, t as je, I as gt, b as ht, n as _t, a as se, c as xt, R as ke, g as be, d as ve, A as we, M as kt, e as wt } from "./rules-KSzt3qOJ.js";
12
+ import { d as Ze } from "./defineDeepModel-CLo1ie3w.js";
13
+ import { _ as Tt, F as Ft, a as Ct, b as It } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-CJsg-6qm.js";
14
+ import { u as ge } from "./feature-D4HcMaGK.js";
15
+ import { c as Mt, u as $t, _ as St } from "./FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-ifkxhq6-.js";
16
+ import { u as Je } from "./netsuite-D4cXyIr7.js";
17
+ import { u as Ot } from "./supplier-CiMOpHKx.js";
18
+ import { u as Dt } from "./use-ingredient-select-dialog-CK_Ldhwm.js";
19
+ import { F as ee, _ as Xe } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
20
+ import { u as Vt } from "./use-template-enabled-locations-2-Dbk_RoRj.js";
21
+ import { u as At } from "./purchase-order-template-BdKUiSPI.js";
22
+ import { f as Rt } from "./format-time-from-id-CwtHJpC0.js";
23
+ import { f as Bt } from "./date2-Ck1fxOS1.js";
24
24
  const Ut = { class: "flex flex-col" }, qt = { class: "flex flex-col" }, Pt = { class: "flex-1" }, Lt = { class: "flex items-center" }, Nt = { class: "flex-1" }, Et = { class: "flex-1" }, zt = /* @__PURE__ */ ae({
25
25
  __name: "FmMinMaxInput",
26
26
  props: {
@@ -1,18 +1,19 @@
1
1
  import { defineComponent as O, computed as b, openBlock as v, createElementBlock as w, createElementVNode as s, Fragment as K, renderList as G, toDisplayString as h, createCommentVNode as Q, ref as I, watch as oe, resolveComponent as $, createBlock as T, withCtx as A, createVNode as f, unref as i, isRef as le, normalizeClass as me, normalizeStyle as ce, Teleport as pe, normalizeProps as ve, guardReactiveProps as fe } from "vue";
2
- import { a as Y, S as ye, c as ie, s as be, j as se, u as ge } from "./app-C0a15lwm.js";
2
+ import { a as Y, S as ye, c as ie, s as be, j as se, u as ge } from "./app-kim0oKgm.js";
3
3
  import { useDialog as ue, useSnackbar as Z, useProxiedModel as ae, useBreakpoints as xe } from "@feedmepos/ui-library";
4
4
  import { i as _e, _ as he } from "./is-linked-ingredient-error-fJ2TJb3z.js";
5
5
  import { F as U } from "./form-mode.enum-BKiNVH6A.js";
6
6
  import { defineStore as Ve, storeToRefs as Ue } from "pinia";
7
7
  import { D as re, R as q } from "./row-action.enum-BcW_L_nE.js";
8
- import { c as we, _ as Ce, F as Se } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-cfFHDIwQ.js";
8
+ import { c as we } from "./component-DpCUABT3.js";
9
9
  import { useI18n as J } from "@feedmepos/mf-common";
10
- import { u as Fe, _ as ke } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
11
- import { R as H, A as Ee, a as W, d as $e, h as Ie } from "./rules-DQNuaKK6.js";
12
- import { F as Ae } from "./decimal-C11049RC.js";
13
- import { _ as De } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-9TTwcC8s.js";
14
- import { _ as Re } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CQ_Er40u.js";
15
- import { u as Me } from "./netsuite-TqUeqkqw.js";
10
+ import { u as Ce, _ as Se } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
11
+ import { R as H, A as Fe, a as W, d as ke, h as Ee } from "./rules-KSzt3qOJ.js";
12
+ import { F as $e } from "./decimal-DVjzMCmx.js";
13
+ import { _ as Ie } from "./NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BR6U0SpT.js";
14
+ import { _ as Ae, F as De } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
15
+ import { _ as Re } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BcJ1ydJ1.js";
16
+ import { u as Me } from "./netsuite-D4cXyIr7.js";
16
17
  const Pe = { class: "flex flex-col gap-8" }, Te = {
17
18
  key: 0,
18
19
  class: "flex flex-col"
@@ -382,7 +383,7 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
382
383
  label: i(a)("inventory.unit.precision"),
383
384
  modelValue: t.value,
384
385
  "onUpdate:modelValue": o[2] || (o[2] = (x) => t.value = x),
385
- rules: [i(Ee)(0)]
386
+ rules: [i(Fe)(0)]
386
387
  }, null, 8, ["disabled", "label", "modelValue", "rules"])
387
388
  ])
388
389
  ]),
@@ -435,7 +436,7 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
435
436
  }, null, 8, ["disabled", "label", "modelValue", "onUpdate:modelValue", "rules"])
436
437
  ])
437
438
  ]),
438
- f(De, {
439
+ f(Ie, {
439
440
  disabled: e.disabled,
440
441
  class: "col-span-3",
441
442
  label: i(a)("inventory.unit.measurement.conversion"),
@@ -443,13 +444,13 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
443
444
  "onUpdate:modelValue": (k) => u.value = u.value.map(
444
445
  (P, L) => L === _ ? {
445
446
  ...P,
446
- conversion: i(Ae).toPrecision(
447
- i($e)(k),
447
+ conversion: i($e).toPrecision(
448
+ i(ke)(k),
448
449
  t.value
449
450
  )
450
451
  } : P
451
452
  ),
452
- rules: [i(Ie)(0)],
453
+ rules: [i(Ee)(0)],
453
454
  step: +i(W)({ amount: 1, precision: t.value }),
454
455
  "helper-text": i(a)("inventory.unit.measurement.conversionHelper", {
455
456
  measurementSymbol: e.modelValue.measurements[_].name || " measurement unit",
@@ -589,7 +590,7 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
589
590
  }, 8, ["model-value", "header"]);
590
591
  };
591
592
  }
592
- }), it = { class: "flex flex-col py-8" }, ut = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, dt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, St = /* @__PURE__ */ O({
593
+ }), it = { class: "flex flex-col py-8" }, ut = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, dt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ft = /* @__PURE__ */ O({
593
594
  __name: "UnitView",
594
595
  setup(S) {
595
596
  const c = Y(), g = ge(), m = Me();
@@ -601,7 +602,7 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
601
602
  return m.isEnabled ? void 0 : d();
602
603
  }
603
604
  }
604
- const y = I(""), F = I(!1), E = b(() => F.value || r.value), { breakpoints: e } = xe(), o = b(() => e.value.xs || e.value.sm), V = b(() => o.value ? 10 : 20), R = Fe(), C = b(() => [
605
+ const y = I(""), F = I(!1), E = b(() => F.value || r.value), { breakpoints: e } = xe(), o = b(() => e.value.xs || e.value.sm), V = b(() => o.value ? 10 : 20), R = Ce(), C = b(() => [
605
606
  ...m.isEnabled ? [] : [
606
607
  {
607
608
  label: l("inventory.unit.create.title"),
@@ -613,7 +614,7 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
613
614
  ]);
614
615
  return (M, D) => {
615
616
  const B = $("FmTable");
616
- return v(), T(ke, {
617
+ return v(), T(Se, {
617
618
  title: i(l)("inventory.unit.title"),
618
619
  actions: C.value,
619
620
  "onClick:action": u
@@ -643,7 +644,7 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
643
644
  "page-size": V.value
644
645
  }, {
645
646
  "list-row": A((x) => [
646
- f(Ce, {
647
+ f(Ae, {
647
648
  row: x,
648
649
  onRowClick: i(n)
649
650
  }, {
@@ -652,7 +653,7 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
652
653
  return [
653
654
  s("div", it, [
654
655
  s("div", ut, [
655
- f(i(Se), {
656
+ f(i(De), {
656
657
  render: (L = (P = (k = _.name) == null ? void 0 : k.column) == null ? void 0 : P.columnDef) == null ? void 0 : L.cell,
657
658
  props: (ee = (N = _.name) == null ? void 0 : N.getContext) == null ? void 0 : ee.call(N)
658
659
  }, null, 8, ["render", "props"])
@@ -677,5 +678,5 @@ const Ye = { class: "flex flex-col gap-24" }, Je = { class: "flex gap-24" }, Qe
677
678
  }
678
679
  });
679
680
  export {
680
- St as default
681
+ Ft as default
681
682
  };
@@ -1,18 +1,19 @@
1
1
  import { ref as D, defineComponent as j, watch as ee, onMounted as te, onUnmounted as $e, openBlock as W, createElementBlock as B, toRaw as we, reactive as Se, createElementVNode as g, toDisplayString as E, unref as u, createVNode as k, resolveComponent as N, createSlots as Te, withCtx as I, createTextVNode as Me, renderSlot as De, createBlock as z, createCommentVNode as ae, computed as $, isRef as Ve, normalizeClass as We, normalizeStyle as Re } from "vue";
2
- import { o as Pe, p as Ue, q as Ee, c as G, r as Ne, S as Le, u as Ie } from "./app-C0a15lwm.js";
2
+ import { o as Pe, p as Ue, q as Ee, c as G, r as Ne, S as Le, u as Ie } from "./app-kim0oKgm.js";
3
3
  import { useCoreStore as Fe, useI18n as O } from "@feedmepos/mf-common";
4
4
  import { D as _e, R as J } from "./row-action.enum-BcW_L_nE.js";
5
- import { c as qe, _ as Be, F as Q } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-cfFHDIwQ.js";
6
- import { u as ze, _ as je } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
5
+ import { c as qe } from "./component-DpCUABT3.js";
6
+ import { u as Be, _ as ze } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
7
7
  import { F as U } from "./form-mode.enum-BKiNVH6A.js";
8
- import { useDialogChild as Oe, useDialog as Ce, useSnackbar as le, useProxiedModel as oe, useBreakpoints as Ge } from "@feedmepos/ui-library";
9
- import { R as L } from "./rules-DQNuaKK6.js";
8
+ import { useDialogChild as je, useDialog as Ce, useSnackbar as le, useProxiedModel as oe, useBreakpoints as Oe } from "@feedmepos/ui-library";
9
+ import { R as L } from "./rules-KSzt3qOJ.js";
10
10
  import { c as se, u as re } from "./googlemap-Dm8ERVai.js";
11
- import { d as Ke } from "./index-Cy-YW3O0.js";
12
- import { _ as He } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
- import { _ as Ye } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js";
14
- import { u as Ze } from "./feature-D2GGGVQh.js";
15
- import { _ as Je } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CQ_Er40u.js";
11
+ import { d as Ge } from "./index-D9dtwK1d.js";
12
+ import { _ as Ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ import { _ as He } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-D-IWRjRD.js";
14
+ import { u as Ye } from "./feature-D4HcMaGK.js";
15
+ import { _ as Ze, F as Q } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
16
+ import { _ as Je } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BcJ1ydJ1.js";
16
17
  const X = Pe((v, h) => {
17
18
  const b = Fe();
18
19
  return {
@@ -291,9 +292,9 @@ const eo = /* @__PURE__ */ j({
291
292
  }
292
293
  },
293
294
  setup(v) {
294
- const h = v, b = Oe(), a = re(), { t: n } = O(), i = Se(
295
+ const h = v, b = je(), a = re(), { t: n } = O(), i = Se(
295
296
  G(h.coordinate ? h.coordinate : se.jb)
296
- ), r = D(""), l = Ke(async function() {
297
+ ), r = D(""), l = Ge(async function() {
297
298
  r.value = await a.getFirstMatchingAddress(
298
299
  i.lat,
299
300
  i.lng
@@ -333,7 +334,7 @@ const eo = /* @__PURE__ */ j({
333
334
  }, null, 8, ["center", "markers"])
334
335
  ]));
335
336
  }
336
- }), co = /* @__PURE__ */ He(io, [["__scopeId", "data-v-272f5e8b"]]);
337
+ }), co = /* @__PURE__ */ Ke(io, [["__scopeId", "data-v-272f5e8b"]]);
337
338
  function Ae([v, h]) {
338
339
  return {
339
340
  lat: h,
@@ -469,7 +470,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
469
470
  },
470
471
  emits: ["update:modelValue", "validation-success"],
471
472
  setup(v, { expose: h, emit: b }) {
472
- const a = v, n = b, i = Ze(), { t: r } = O(), l = $({
473
+ const a = v, n = b, i = Ye(), { t: r } = O(), l = $({
473
474
  get() {
474
475
  var o, e;
475
476
  return ((e = (o = a.modelValue) == null ? void 0 : o.profile) == null ? void 0 : e.name) ?? "";
@@ -738,7 +739,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
738
739
  ])
739
740
  ]),
740
741
  g("div", null, [
741
- k(Ye, {
742
+ k(He, {
742
743
  entity: "warehouse",
743
744
  modelValue: q.value,
744
745
  "onUpdate:modelValue": e[12] || (e[12] = (p) => q.value = p)
@@ -902,7 +903,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
902
903
  }), Do = { class: "flex flex-col py-8" }, Wo = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Ro = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Po = {
903
904
  key: 0,
904
905
  class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
905
- }, Uo = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary line-clamp-3" }, Qo = /* @__PURE__ */ j({
906
+ }, Uo = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary line-clamp-3" }, Xo = /* @__PURE__ */ j({
906
907
  __name: "WarehouseView",
907
908
  setup(v) {
908
909
  const h = xe(), b = Ie(), a = $(() => h.warehouses), n = Ce(), i = le(), r = D(!1), { t: l } = O();
@@ -975,10 +976,10 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
975
976
  r.value = !1;
976
977
  }
977
978
  }
978
- const { breakpoints: m } = Ge(), f = $(() => m.value.xs || m.value.sm), A = $(() => f.value ? 10 : 20), q = ze();
979
+ const { breakpoints: m } = Oe(), f = $(() => m.value.xs || m.value.sm), A = $(() => f.value ? 10 : 20), q = Be();
979
980
  return (V, o) => {
980
981
  const e = N("FmTable");
981
- return W(), z(je, {
982
+ return W(), z(ze, {
982
983
  title: u(l)("inventory.warehouse.title"),
983
984
  actions: [
984
985
  {
@@ -1016,7 +1017,7 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
1016
1017
  "page-size": A.value
1017
1018
  }, {
1018
1019
  "list-row": I((t) => [
1019
- k(Be, {
1020
+ k(Ze, {
1020
1021
  row: t,
1021
1022
  onRowClick: (s) => w(s.original)
1022
1023
  }, {
@@ -1071,5 +1072,5 @@ const mo = { class: "flex gap-8 items-center" }, fo = { key: 0 }, yo = { key: 1
1071
1072
  }
1072
1073
  });
1073
1074
  export {
1074
- Qo as default
1075
+ Xo as default
1075
1076
  };