@feedmepos/mf-inventory-portal 1.2.48 → 1.2.50-dev.1

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-DPGaFV4B.js → App-DkCjc9Ei.js} +72 -68
  2. package/dist/{ApprovalView-833HS5kH.js → ApprovalView-CVBi-iKx.js} +34 -34
  3. package/dist/{BindingsDialog-ChODu5A1.js → BindingsDialog-D1EDPBOt.js} +2 -2
  4. package/dist/{BindingsPicker-DvX4GyKv.js → BindingsPicker-BhtMvuQY.js} +2 -2
  5. package/dist/{BindingsTable-DNAiQ3jC.js → BindingsTable-UI5TuSBx.js} +4 -4
  6. package/dist/{ClosingDraftView-BNmLpJEn.js → ClosingDraftView-Dsj4ZYEi.js} +19 -18
  7. package/dist/{ClosingHistoryView-BWCsFzL4.js → ClosingHistoryView-DoW-S9iS.js} +3 -3
  8. package/dist/{ClosingTemplateView-oZwROzRq.js → ClosingTemplateView-vvlSzfDQ.js} +18 -17
  9. package/dist/{DeliveryOrderPrintPreview-CgF6Ah_t.js → DeliveryOrderPrintPreview-obetnJsJ.js} +1 -1
  10. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-COu3S25S.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BQiI8aOT.js} +4 -4
  11. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Br-AzVal.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B746F-IR.js} +12 -12
  12. package/dist/{FmMultiselectDialog-nOXJfHcT.js → FmMultiselectDialog-CCvkuTS3.js} +1 -1
  13. package/dist/FmMultiselectDialog-NSDOnWEh.js +621 -0
  14. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-B0TLNBD_.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DWwF_0sR.js} +3 -3
  15. package/dist/{ImportView-DiCAaSmP.js → ImportView-COQQTu8N.js} +7 -7
  16. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CjzJ3O5a.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BeXoFMVr.js} +1 -1
  17. package/dist/{IngredientGroupView-DJ_gq48z.js → IngredientGroupView-RR_JvJ28.js} +108 -107
  18. package/dist/{IngredientsView-B2tdcbaR.js → IngredientsView-C3X5o2k_.js} +126 -125
  19. package/dist/{IntegrationView-siGNamS4.js → IntegrationView-B5eHHOqw.js} +80 -80
  20. package/dist/{InventoryBindingForm-CMH2losI.js → InventoryBindingForm-BUmVxK-a.js} +1 -1
  21. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-D68w7k0f.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-jXzjJ0Kk.js} +4 -4
  22. package/dist/{InventoryBindingSummary-DAGsx_Mo.js → InventoryBindingSummary-BX1xdZX3.js} +1 -1
  23. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Cyl5cUO6.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BCcSPsw6.js} +1 -1
  24. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CNze8ZJ7.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BUPtyu3J.js} +2 -2
  25. package/dist/{PublishView-D1AKbuKs.js → PublishView-CzxnrErB.js} +3 -3
  26. package/dist/{PurchaseOrderPrintPreview-BzGcJK1f.js → PurchaseOrderPrintPreview-fVyn0zFN.js} +1 -1
  27. package/dist/ReceiveRequestView-CkYyKxe-.js +3028 -0
  28. package/dist/{RecipeView-BcnjGf_a.js → RecipeView-DFCFRYey.js} +83 -82
  29. package/dist/{StockView-DdgYT4_P.js → StockView-BRcgulQk.js} +113 -112
  30. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DRPzgTm4.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BOYDCjdV.js} +1 -1
  31. package/dist/{SupplierView-LRNOgWQk.js → SupplierView-DIPr4lvP.js} +28 -27
  32. package/dist/SurchargeView-Cszy8Wqp.js +460 -0
  33. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CQJJ3XRC.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-v8ef-mpz.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-KBs8Dq8C.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-B-oyRnPC.js} +13 -13
  36. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-bP-1-mLN.js → TransferDetails.vue_vue_type_script_setup_true_lang-BlLY3DLp.js} +995 -996
  37. package/dist/{TransferTemplateView-Dp2W2doS.js → TransferTemplateView-DSpZoO9t.js} +16 -16
  38. package/dist/{UnitView-N5l93VfY.js → UnitView-IJsE_qkc.js} +20 -19
  39. package/dist/{WarehouseView-D7FGBKUP.js → WarehouseView-Dyd2kUli.js} +21 -20
  40. package/dist/{WastageTemplateView-BmSNPRPI.js → WastageTemplateView-Dk_bWOam.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-CfCaSzjl.js → app-DavdITF-.js} +23188 -14546
  44. package/dist/app-DiX-EfV6.js +8167 -0
  45. package/dist/app.d.ts +1185 -0
  46. package/dist/app.js +1 -1
  47. package/dist/{closing-template-CJ4VCKvB.js → closing-template-DR9_kQ8D.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-BcmOfaME.js → date2-8GI9HBWH.js} +1 -1
  52. package/dist/{dayjs.min-CiFpY16f.js → dayjs.min-BlY4XBqj.js} +1 -1
  53. package/dist/{decimal-DtLL5qsA.js → decimal-DL6mE527.js} +2 -2
  54. package/dist/{defineDeepModel-DBV1M6fx.js → defineDeepModel-BfjUieWa.js} +1 -1
  55. package/dist/{duplicate-template-DjhY01M8.js → duplicate-template-Bgv9_gY3.js} +1 -1
  56. package/dist/{feature-0OR7WTHu.js → feature-Cw8ehb86.js} +3399 -2620
  57. package/dist/{format-time-from-id-DATUhiz_.js → format-time-from-id-BGWQ_4he.js} +1 -1
  58. package/dist/{format-unit-display-9qQdeD4R.js → format-unit-display-DLGhl4yz.js} +11 -11
  59. package/dist/{import-export.helper-isWO7OKw.js → import-export.helper-BquBG7Ja.js} +5 -5
  60. package/dist/{index-BvtrCC8o.js → index-CU0XsNCT.js} +1 -1
  61. package/dist/{index-CG0HXAUt.js → index-CUO2gkjR.js} +3 -3
  62. package/dist/{index-YLMXpUuG.js → index-E5tuyI2k.js} +1 -1
  63. package/dist/locales/ja/common.json +7 -0
  64. package/dist/{lodash-D1GaTimh.js → lodash-CBzRp2rs.js} +1 -1
  65. package/dist/netsuite-fKE8zkqA.js +5402 -0
  66. package/dist/{purchase-order-template-C8k-zHLA.js → purchase-order-template-3KsyDF00.js} +1 -1
  67. package/dist/router/name.d.ts +1 -0
  68. package/dist/{rules-DCfupVMX.js → rules-nrlXpIxl.js} +3 -3
  69. package/dist/{stock-BwYeYuFG.js → stock-BDzZUQ12.js} +1 -1
  70. package/dist/{stock-AXiQCAeU.js → stock-BOXAynI6.js} +3 -3
  71. package/dist/stores/integration/netsuite.d.ts +5 -0
  72. package/dist/stores/surcharge.d.ts +18 -0
  73. package/dist/style.css +1 -1
  74. package/dist/{supplier-p9r9OqFz.js → supplier-ImcuOQDw.js} +2 -2
  75. package/dist/surcharge-B8ym7Px4.js +71 -0
  76. package/dist/tsconfig.app.tsbuildinfo +1 -1
  77. package/dist/{use-ingredient-select-dialog-Cpmsu92V.js → use-ingredient-select-dialog-DyzX-ffV.js} +2 -2
  78. package/dist/{use-inventory-binding-dialog-BPm1TXkw.js → use-inventory-binding-dialog-CSGz0tLk.js} +2 -2
  79. package/dist/{use-template-enabled-locations-2-Batk5Jq7.js → use-template-enabled-locations-2-BgCxeCaB.js} +2 -2
  80. package/dist/views/receive-request/components/transfer-form/TransferFormWithController.vue.d.ts +714 -0
  81. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +5 -0
  82. package/dist/views/surcharge/SurchargeView.vue.d.ts +2 -0
  83. package/dist/{vue-i18n-Xu3ISvbS.js → vue-i18n-DQB_dR_X.js} +376 -376
  84. package/dist/{xlsx-DTdVIUTe.js → xlsx-qb-9b1qs.js} +1 -1
  85. package/dist/{xlsx.util-twnxgS4l.js → xlsx.util-BCW4ouE2.js} +1 -1
  86. package/package.json +3 -3
  87. package/dist/FmMultiselectDialog-BcnuMvBx.js +0 -598
  88. package/dist/ReceiveRequestView-hvDCU729.js +0 -2913
  89. package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-cfFHDIwQ.js +0 -162
  90. package/dist/app-uBuHtW8m.js +0 -8127
  91. package/dist/netsuite-C3C6Uju7.js +0 -5131
@@ -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-Xu3ISvbS.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-DQB_dR_X.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