@feedmepos/mf-inventory-portal 1.2.42-dev.2 → 1.2.42

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 (94) hide show
  1. package/dist/{App-tCZXxWWi.js → App-DtXK9euh.js} +3 -3
  2. package/dist/{ApprovalView-DsoqQiwe.js → ApprovalView-Dbgrg06o.js} +6 -6
  3. package/dist/{BindingsDialog-BCXWR50h.js → BindingsDialog-CmdawNsd.js} +8 -8
  4. package/dist/{BindingsPicker-B3O_g_Nv.js → BindingsPicker-D69EpcEe.js} +3 -3
  5. package/dist/{BindingsTable-C9WLnkpX.js → BindingsTable-DWmPKyfq.js} +3 -3
  6. package/dist/ClosingDraftView-MP_8pz-s.js +2122 -0
  7. package/dist/{ClosingHistoryView-DZnzhSNn.js → ClosingHistoryView-R8R3Uh7o.js} +22 -22
  8. package/dist/{ClosingTemplateView-VKu9x3Nz.js → ClosingTemplateView-DvxGKgi5.js} +15 -15
  9. package/dist/{DeliveryOrderPrintPreview-CD_43MIv.js → DeliveryOrderPrintPreview-D72ZCCD0.js} +9 -9
  10. package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DbVm-oVE.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-D0_DI2RM.js} +60 -59
  11. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-UocERxk1.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-10nrUrma.js} +2 -2
  12. package/dist/{FmMultiselectDialog-CsohyGSW.js → FmMultiselectDialog-CDG-TGVz.js} +2 -2
  13. package/dist/{FmMultiselectDialog-BnSC4X04.js → FmMultiselectDialog-Cu1rrU1D.js} +1 -1
  14. package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BiRrQ1MQ.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CBjUDNbp.js} +3 -3
  15. package/dist/{ImportView-uqB1qMsv.js → ImportView-D6xhqe-Q.js} +6 -6
  16. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CfypjWW9.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-QqXJLVHH.js} +1 -1
  17. package/dist/{IngredientGroupView-eN4sBErO.js → IngredientGroupView-ii3vnUZZ.js} +6 -6
  18. package/dist/{IngredientsView-DQvn_4YD.js → IngredientsView-PEJSbU0k.js} +15 -15
  19. package/dist/{IntegrationView-DCy2Ovro.js → IntegrationView-BT1gaSY6.js} +12 -12
  20. package/dist/{InventoryBindingForm-Bi_8m5gH.js → InventoryBindingForm-Cne6-kuv.js} +1 -1
  21. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CO_qBo1J.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BElyB9Bl.js} +14 -14
  22. package/dist/{InventoryBindingSummary-BGFGNEaq.js → InventoryBindingSummary-DFT9v5ol.js} +1 -1
  23. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CTzDO5jB.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DaHkM-BT.js} +1 -1
  24. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-Bcs3g9F2.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Cjv7KcJ4.js} +2 -2
  25. package/dist/{PublishView-BX8Ed4Fw.js → PublishView-DQrfrhE4.js} +3 -3
  26. package/dist/{PurchaseOrderPrintPreview-D6N8SLTM.js → PurchaseOrderPrintPreview-Chx37AA-.js} +9 -9
  27. package/dist/ReceiveRequestView-BoSyXZpP.js +2841 -0
  28. package/dist/{RecipeView-qjmtVVz0.js → RecipeView-wmMe34eS.js} +9 -9
  29. package/dist/{StockView-CKjuCvQc.js → StockView-CT3gj0bi.js} +342 -345
  30. package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BpsE9HjF.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BURlS6_T.js} +1 -1
  31. package/dist/{SupplierView-0Wkmi0vZ.js → SupplierView-DPV9FxB5.js} +12 -12
  32. package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-js9xKiOh.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-Dy43ya9v.js} +2 -2
  33. package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-cfFHDIwQ.js +162 -0
  34. package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CFQjYlPf.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CsM4QiJy.js} +1 -1
  35. package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-EHUIhMvO.js → TransferDetails.vue_vue_type_script_setup_true_lang-BZUCFAt1.js} +431 -431
  36. package/dist/{TransferTemplateView-B686QVLm.js → TransferTemplateView-r5_D5Uoq.js} +355 -355
  37. package/dist/{UnitView-D3TwY-Rl.js → UnitView-Lat5ebwQ.js} +7 -7
  38. package/dist/{WarehouseView-wuSCGpc4.js → WarehouseView-OyG_RNCJ.js} +6 -6
  39. package/dist/{WastageTemplateView-BhVG1haN.js → WastageTemplateView-BsNcFdwO.js} +15 -15
  40. package/dist/api/closing-draft.d.ts +1 -0
  41. package/dist/{app-lUdYxPdT.js → app-BKNLF6m8.js} +2302 -2346
  42. package/dist/app.d.ts +3 -0
  43. package/dist/app.js +7 -7
  44. package/dist/{closing-template-5nZX2GD3.js → closing-template-BqKkRwOR.js} +1 -1
  45. package/dist/{date2-BPDWKAmI.js → date2-CPwYAyn5.js} +1 -1
  46. package/dist/{dayjs.min-CRgiNB25.js → dayjs.min-GA1Bp4dz.js} +21 -21
  47. package/dist/{decimal-xfLGGBXv.js → decimal-Di9UOYVh.js} +2 -2
  48. package/dist/{defineDeepModel-D_Oxy2Kx.js → defineDeepModel-BeUc-GyS.js} +1 -1
  49. package/dist/{duplicate-template-Blu_HX7A.js → duplicate-template-CPBBWXPV.js} +1 -1
  50. package/dist/feature-BHauwKBN.js +20162 -0
  51. package/dist/{format-time-from-id-DUZwcLw9.js → format-time-from-id-CYrBLIMG.js} +1 -1
  52. package/dist/{format-unit-display-D-X5mzYF.js → format-unit-display-DdLrmVRx.js} +246 -245
  53. package/dist/helper/component.d.ts +1 -1
  54. package/dist/helper/object.d.ts +0 -21
  55. package/dist/{import-export.helper-BgbvcSvd.js → import-export.helper-CdNxlvYU.js} +5 -5
  56. package/dist/{index-BaMcL6nD.js → index-B-9oJBGk.js} +9 -9
  57. package/dist/{index-tnlv1Cb_.js → index-BmtNZLpm.js} +1 -1
  58. package/dist/{index-BvxQIPJI.js → index-DmM3AECr.js} +3 -3
  59. package/dist/{lodash-C9Qka4SS.js → lodash--jDaTvRg.js} +1 -1
  60. package/dist/{netsuite-Dns3RQor.js → netsuite-D1TanQZF.js} +70 -70
  61. package/dist/{purchase-order-template-Yfp5lQ6o.js → purchase-order-template-CkP2Bv2a.js} +1 -1
  62. package/dist/{rules-2gDRiI3y.js → rules-VFDmrMwu.js} +3 -3
  63. package/dist/{stock-DMwTxyEy.js → stock-BoT5SHQs.js} +3 -3
  64. package/dist/{stock-D3amnnvm.js → stock-D73TmDS2.js} +1 -1
  65. package/dist/{supplier-Bi2nswlc.js → supplier-KMVv2AQj.js} +2 -2
  66. package/dist/tsconfig.app.tsbuildinfo +1 -1
  67. package/dist/{use-ingredient-select-dialog-B3j2244S.js → use-ingredient-select-dialog-BUghUhSb.js} +2 -2
  68. package/dist/{use-inventory-binding-dialog-cEzQyw4F.js → use-inventory-binding-dialog-CWOyVIFk.js} +2 -2
  69. package/dist/{use-template-enabled-locations-2-CnbMSpm9.js → use-template-enabled-locations-2-CxHgMmfO.js} +2 -2
  70. package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +4 -1
  71. package/dist/views/receive-request/components/netsuite/NetSuitePanel.vue.d.ts +2 -3
  72. package/dist/views/receive-request/components/netsuite/NetSuiteProps.d.ts +2 -3
  73. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +2554 -23
  74. package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +0 -6
  75. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +2 -3
  76. package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +1 -1
  77. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +6 -6
  78. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +7 -7
  79. package/dist/views/receive-request/constants/purchase-order-transaction-type.d.ts +4 -0
  80. package/dist/views/receive-request/helper/get-transfer-type.d.ts +2 -1
  81. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +2 -3
  82. package/dist/views/transfer-template/components/transfer-template-import/TransferTemplateImportItemProps.d.ts +2 -3
  83. package/dist/views/transfer-template/helpers/import-export.helper.d.ts +3 -4
  84. package/dist/{vue-i18n-D6IE7fks.js → vue-i18n-DxedrFlV.js} +523 -523
  85. package/dist/{xlsx-By0V1CHo.js → xlsx-Dp__km89.js} +398 -398
  86. package/dist/{xlsx.util-DH2bvm7W.js → xlsx.util-BkGzpJpQ.js} +1 -1
  87. package/package.json +3 -3
  88. package/dist/ClosingDraftView-SgUfLfsI.js +0 -2089
  89. package/dist/ReceiveRequestView-CbP7cF9S.js +0 -2873
  90. package/dist/TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js +0 -135
  91. package/dist/feature-BQk-YWoV.js +0 -25699
  92. package/dist/helper/reactivity.d.ts +0 -11
  93. package/dist/helper/reactivity.spec.d.ts +0 -1
  94. package/dist/views/receive-request/components/transfer-form/composables/use-purchase-order-form-controller.d.ts +0 -22
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as I, computed as x, openBlock as l, createElementBlock as d, createElementVNode as e, normalizeClass as b, toDisplayString as u, unref as p, ref as D, resolveComponent as B, Fragment as $, createVNode as k, createCommentVNode as N, withCtx as C, renderList as E } from "vue";
2
2
  import { useI18n as F, useCoreStore as A } from "@feedmepos/mf-common";
3
- import { u as U } from "./netsuite-Dns3RQor.js";
3
+ import { u as U } from "./netsuite-D1TanQZF.js";
4
4
  function ee(o, n = !1) {
5
5
  var c;
6
6
  return o ? [
@@ -1,23 +1,23 @@
1
1
  import { defineComponent as ie, mergeModels as Hd, computed as E, useModel as ed, resolveComponent as D, openBlock as S, createElementBlock as w, createElementVNode as h, createVNode as C, withCtx as U, toDisplayString as A, unref as p, Fragment as oe, renderList as le, ref as k, createBlock as z, createCommentVNode as W, createTextVNode as wd, isRef as dd, normalizeClass as ae, watch as Td, createSlots as jd, normalizeStyle as Kd, Teleport as Wd } from "vue";
2
- import { u as ce } from "./supplier-Bi2nswlc.js";
2
+ import { u as ce } from "./supplier-KMVv2AQj.js";
3
3
  import { D as td, R as ye } from "./row-action.enum-BcW_L_nE.js";
4
- import { c as Yd, _ as Xd, F as ve } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
5
- import { c as we, a as ke, h as rd, i as nd, d as Zd, n as Ad, u as Pe } from "./app-lUdYxPdT.js";
4
+ import { c as Yd, _ as Xd, F as ve } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-cfFHDIwQ.js";
5
+ import { c as we, a as ke, h as rd, i as nd, d as Zd, n as Ad, u as Pe } from "./app-BKNLF6m8.js";
6
6
  import { useI18n as ee, useCoreStore as Ce } from "@feedmepos/mf-common";
7
- import { u as Ve } from "./netsuite-Dns3RQor.js";
7
+ import { u as Ve } from "./netsuite-D1TanQZF.js";
8
8
  import { useDialog as Ne, useSnackbar as Se, useProxiedModel as od, useDialogChild as qd, useBreakpoints as zd } from "@feedmepos/ui-library";
9
9
  import { u as Jd, _ as Qd } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
10
10
  import { F as B } from "./form-mode.enum-BKiNVH6A.js";
11
- import { R as Z, g as et } from "./rules-2gDRiI3y.js";
12
- import { a as dt } from "./FmMultiselectDialog-CsohyGSW.js";
11
+ import { R as Z, g as et } from "./rules-VFDmrMwu.js";
12
+ import { a as dt } from "./FmMultiselectDialog-CDG-TGVz.js";
13
13
  import { _ as tt } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
14
- import { _ as rt } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-BiRrQ1MQ.js";
15
- import { u as xe } from "./feature-BQk-YWoV.js";
16
- import { u as nt } from "./purchase-order-template-Yfp5lQ6o.js";
17
- import { _ as ot } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-UocERxk1.js";
14
+ import { _ as rt } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-CBjUDNbp.js";
15
+ import { u as xe } from "./feature-BHauwKBN.js";
16
+ import { u as nt } from "./purchase-order-template-CkP2Bv2a.js";
17
+ import { _ as ot } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-10nrUrma.js";
18
18
  import { defineStore as at } from "pinia";
19
- import { b as Rd, d as Md, s as it, r as $t } from "./xlsx.util-DH2bvm7W.js";
20
- import { f as lt } from "./date2-BPDWKAmI.js";
19
+ import { b as Rd, d as Md, s as it, r as $t } from "./xlsx.util-BkGzpJpQ.js";
20
+ import { f as lt } from "./date2-CPwYAyn5.js";
21
21
  import { F as st } from "./FmDroppableField-J0xUsOTV.js";
22
22
  function ut(e, d) {
23
23
  const { t } = ee(), r = Ve();
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as I, ref as m, resolveComponent as p, openBlock as i, createBlock as O, withCtx as u, createVNode as y, createElementBlock as v, toDisplayString as g, createElementVNode as T, h as B } from "vue";
2
2
  import { F as L } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-CWZkVCAj.js";
3
- import { o as U, u as _ } from "./app-lUdYxPdT.js";
3
+ import { o as U, u as _ } from "./app-BKNLF6m8.js";
4
4
  import { useCoreStore as A } from "@feedmepos/mf-common";
5
5
  import { useDialog as C, components as V } from "@feedmepos/ui-library";
6
- import { u as F, a as j } from "./closing-template-5nZX2GD3.js";
6
+ import { u as F, a as j } from "./closing-template-BqKkRwOR.js";
7
7
  const q = U((o, t) => {
8
8
  const c = _(), l = A();
9
9
  return {
@@ -0,0 +1,162 @@
1
+ import { useI18n as B } from "@feedmepos/mf-common";
2
+ import { components as F } from "@feedmepos/ui-library";
3
+ import { h as n, defineComponent as R, computed as M, openBlock as c, createBlock as V, resolveDynamicComponent as D, unref as f, normalizeClass as _, withCtx as z, createElementVNode as m, renderSlot as N, normalizeProps as P, guardReactiveProps as E, createElementBlock as p, Fragment as k, renderList as L, createVNode as w, createCommentVNode as y } from "vue";
4
+ const { FmMenu: S, FmButton: $, FmMenuItem: I, FmMenuHeader: j, FmMenuDivider: A } = F;
5
+ function U(r, d, s = []) {
6
+ const { t: e } = B(), l = [
7
+ ...r.map(({ translationKey: i, color: t, value: u }) => {
8
+ const o = e(i);
9
+ return n(
10
+ I,
11
+ {
12
+ onClick() {
13
+ d(u ?? o);
14
+ }
15
+ },
16
+ {
17
+ label: () => n(
18
+ "span",
19
+ {
20
+ class: t
21
+ },
22
+ o
23
+ )
24
+ }
25
+ );
26
+ })
27
+ ];
28
+ return s.length > 0 && l.push(
29
+ n(j, { label: "Admin Only" }),
30
+ n(A),
31
+ ...s.map(({ translationKey: i, color: t, value: u }) => {
32
+ const o = e(i);
33
+ return n(
34
+ I,
35
+ {
36
+ onClick() {
37
+ d(u ?? o);
38
+ },
39
+ icon: "support_agent"
40
+ },
41
+ {
42
+ label: () => n(
43
+ "span",
44
+ {
45
+ class: t
46
+ },
47
+ o
48
+ )
49
+ }
50
+ );
51
+ })
52
+ ), n(
53
+ S,
54
+ {
55
+ trigger: "click",
56
+ stopClickPropagation: !0
57
+ },
58
+ {
59
+ "menu-button": () => n($, {
60
+ type: "button",
61
+ variant: "tertiary",
62
+ icon: "more_vert",
63
+ iconColor: "#000000",
64
+ size: "md"
65
+ }),
66
+ default: () => n(
67
+ "div",
68
+ {
69
+ style: {
70
+ backgroundColor: "white",
71
+ padding: "4px",
72
+ width: "160px"
73
+ }
74
+ },
75
+ l
76
+ )
77
+ }
78
+ );
79
+ }
80
+ /**
81
+ * vue-table
82
+ *
83
+ * Copyright (c) TanStack
84
+ *
85
+ * This source code is licensed under the MIT license found in the
86
+ * LICENSE.md file in the root directory of this source tree.
87
+ *
88
+ * @license MIT
89
+ */
90
+ const h = R({
91
+ props: ["render", "props"],
92
+ setup: (r) => () => typeof r.render == "function" || typeof r.render == "object" ? n(r.render, r.props) : r.render
93
+ }), H = { class: "flex gap-4 w-full" }, O = { class: "flex-1" }, T = { class: "flex flex-col" }, q = { key: 0 }, G = { key: 0 }, W = /* @__PURE__ */ R({
94
+ __name: "TableActionableRow",
95
+ props: {
96
+ row: {},
97
+ onRowClick: {},
98
+ actionColumnId: { default: "action" }
99
+ },
100
+ setup(r) {
101
+ const d = r, s = M(
102
+ () => d.row.getVisibleCells().reduce(
103
+ (e, l) => (e[l.column.id] = l, e),
104
+ {}
105
+ )
106
+ );
107
+ return (e, l) => (c(), V(D(e.onRowClick ? f(F).FmListItem : "div"), {
108
+ class: _([
109
+ "w-full border-b border-fm-color-neutral-gray-100",
110
+ {
111
+ "bg-fm-color-neutral-gray-100": e.row.getIsSelected(),
112
+ "cursor-pointer": typeof e.onRowClick == "function"
113
+ }
114
+ ]),
115
+ onClick: l[0] || (l[0] = (i) => {
116
+ var t;
117
+ return (t = e.onRowClick) == null ? void 0 : t.call(e, e.row.original);
118
+ })
119
+ }, {
120
+ default: z(() => {
121
+ var i, t, u, o, C;
122
+ return [
123
+ m("div", H, [
124
+ m("div", O, [
125
+ N(e.$slots, "default", P(E(s.value)), () => [
126
+ m("div", T, [
127
+ (c(!0), p(k, null, L(d.row.getVisibleCells(), (a) => {
128
+ var g, v, b;
129
+ return c(), p(k, {
130
+ key: a.id
131
+ }, [
132
+ a.column.id !== e.actionColumnId ? (c(), p("div", q, [
133
+ w(f(h), {
134
+ render: (v = (g = a.column) == null ? void 0 : g.columnDef) == null ? void 0 : v.cell,
135
+ props: (b = a.getContext) == null ? void 0 : b.call(a)
136
+ }, null, 8, ["render", "props"])
137
+ ])) : y("", !0)
138
+ ], 64);
139
+ }), 128))
140
+ ])
141
+ ])
142
+ ]),
143
+ s.value[e.actionColumnId ?? ""] ? (c(), p("div", G, [
144
+ m("div", null, [
145
+ w(f(h), {
146
+ render: (u = (t = (i = s.value[e.actionColumnId ?? ""]) == null ? void 0 : i.column) == null ? void 0 : t.columnDef) == null ? void 0 : u.cell,
147
+ props: (C = (o = s.value[e.actionColumnId ?? ""]) == null ? void 0 : o.getContext) == null ? void 0 : C.call(o)
148
+ }, null, 8, ["render", "props"])
149
+ ])
150
+ ])) : y("", !0)
151
+ ])
152
+ ];
153
+ }),
154
+ _: 3
155
+ }, 8, ["class"]));
156
+ }
157
+ });
158
+ export {
159
+ h as F,
160
+ W as _,
161
+ U as c
162
+ };
@@ -1,5 +1,5 @@
1
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-D6IE7fks.js";
2
+ import { u as T } from "./vue-i18n-DxedrFlV.js";
3
3
  import { components as R } from "@feedmepos/ui-library";
4
4
  import { E as D, b as S } from "./app-uBuHtW8m.js";
5
5
  const z = {