@feedmepos/mf-inventory-portal 1.7.8-dev.2 → 1.7.8-dev.3
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.
- package/dist/App-CBsRWkj_.js +1137 -0
- package/dist/{ApprovalView-B9FANJAO.js → ApprovalView-C6GsWCKQ.js} +9 -9
- package/dist/{BindingsDialog-BgSDKyBG.js → BindingsDialog-Bl_HAU79.js} +2 -2
- package/dist/{BindingsPicker-D0vxwn7C.js → BindingsPicker-DJrs86YQ.js} +2 -2
- package/dist/{BindingsTable-C5reUXmA.js → BindingsTable-DNdoG6PE.js} +3 -3
- package/dist/{BulkReceiveRequestView-DwLRo67t.js → BulkReceiveRequestView-BMW4y8wq.js} +19 -19
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-BUTlcssb.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-D-Jhmd9M.js} +1 -1
- package/dist/{ClosingDraftView-B1zZ3aIa.js → ClosingDraftView-BhpFYLYc.js} +19 -19
- package/dist/{ClosingHistoryView-CU18j78j.js → ClosingHistoryView-CPydANcK.js} +5 -5
- package/dist/{ClosingTemplateView-BqDtL7ow.js → ClosingTemplateView-C2uj5joy.js} +16 -16
- package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-Cl_pGeUh.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-C13UItSM.js} +1 -1
- package/dist/{DefaultView-Gid5oA6p.js → DefaultView-BmTBHuuQ.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-9xYdwvYj.js → DeliveryOrderPrintPreview-BrCEuxEF.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-DJpX9Krf.js → EmailDialog.vue_vue_type_script_setup_true_lang-DCL0xAhX.js} +23 -23
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-nl3FRdHk.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-DKHAGpNh.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Bny1eKDG.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BwtibERp.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DjSnlgdR.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D8v1crGI.js} +2 -2
- package/dist/{FmMultiselectDialog-b3oeCeNm.js → FmMultiselectDialog-By8fqjFR.js} +1 -1
- package/dist/{FmMultiselectDialog-TqAkWUct.js → FmMultiselectDialog-xxrFWb3q.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-C05vgRcd.js → FmUnitInput.vue_vue_type_script_setup_true_lang-B63rSBGN.js} +5 -5
- package/dist/{ImportView-xUT7qw16.js → ImportView-NaCC5b2q.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-Rb3mLGHB.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-B3_MiB6m.js} +1 -1
- package/dist/{IngredientGroupView-DEmt1Nt2.js → IngredientGroupView-U1AiTEHe.js} +5 -5
- package/dist/{IngredientsView-C71EIjYh.js → IngredientsView-Bl-dCEX-.js} +15 -15
- package/dist/{IntegrationExplorerView-J-CDF7z3.js → IntegrationExplorerView-Ca2fJhT4.js} +4 -4
- package/dist/{IntegrationView-DQz4LVNR.js → IntegrationView-4tcbMVJS.js} +57 -56
- package/dist/{InventoryBindingForm-DhLq-Usu.js → InventoryBindingForm-Ba-8JLfE.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-D0jdszMn.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-BmoN_Vsb.js} +5 -5
- package/dist/{InventoryBindingSummary-D8uUEt6E.js → InventoryBindingSummary-D9x3e4uy.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DyA3ldCI.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-FKoTUH0_.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DxBIFJBj.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DGLRNcmC.js} +1 -1
- package/dist/{ProductionView--6IWl-7i.js → ProductionView-x969AnUN.js} +7 -7
- package/dist/{PublishView-Db2agQ9W.js → PublishView-Dw0L44C_.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-YconyHNq.js → PurchaseOrderPrintPreview-DiFNEpo1.js} +2 -2
- package/dist/{ReceiveRequestView-Difh1lL5.js → ReceiveRequestView-BJP08Dfc.js} +14 -14
- package/dist/{RecipeView-BW72z99u.js → RecipeView-B2CiKk4b.js} +17 -17
- package/dist/{SettingsView-CmaWy05N.js → SettingsView-D6MJ8Ay1.js} +4 -4
- package/dist/{StockView-D0rgzA23.js → StockView-XHhkUTZq.js} +21 -21
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-CXFnxoxS.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Ca3AhLCS.js} +1 -1
- package/dist/{SupplierView-CRd_rgz2.js → SupplierView-D7_m0j6O.js} +12 -12
- package/dist/{SurchargeView-Bwyn5pGN.js → SurchargeView-DuLhRIyk.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-bwBYqedG.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-OWrqjYI4.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-B1Ygs7u3.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CQX4tkTl.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-B8WiPRIm.js → TransferDetails.vue_vue_type_script_setup_true_lang-BBOf7fYV.js} +20 -20
- package/dist/{TransferTemplateView-DsrX-RtB.js → TransferTemplateView-Dq1XO937.js} +20 -20
- package/dist/{UnitCostHistoryView-BAxvHdRS.js → UnitCostHistoryView-CeDuHLOj.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-Cr65A-G_.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-CIrcPZpw.js} +4 -4
- package/dist/{UnitView-BHd4lqWW.js → UnitView-BgoL5_WS.js} +7 -7
- package/dist/{WarehouseView-DYifatvo.js → WarehouseView-Dr9qywVZ.js} +5 -5
- package/dist/{WastageTemplateView-xL8JVZek.js → WastageTemplateView-DQwTCvoj.js} +14 -14
- package/dist/{app-COKbtOA1.js → app-3LTTUXGV.js} +15 -15
- package/dist/app.js +1 -1
- package/dist/{closing-template-Bq6pmQSd.js → closing-template-4edAN5DM.js} +1 -1
- package/dist/{date2-CofSmYX_.js → date2-COxwsvjC.js} +1 -1
- package/dist/{dayjs.min-trXBuULa.js → dayjs.min-DWnoqqjY.js} +1 -1
- package/dist/{decimal-DYB7G8ew.js → decimal-DCr2Utpg.js} +2 -2
- package/dist/{defineDeepModel-C6XCyElP.js → defineDeepModel-5ozCcHO5.js} +1 -1
- package/dist/{duplicate-template-CZLpC0rN.js → duplicate-template-DXmaDw4S.js} +1 -1
- package/dist/{feature-Cbh3pnRj.js → feature-DfTXKj23.js} +2 -2
- package/dist/{format-time-from-id-OaWsMH6F.js → format-time-from-id-BSya-iAS.js} +1 -1
- package/dist/{format-unit-display-DKOe2Ppl.js → format-unit-display-DnG2rSlI.js} +12 -12
- package/dist/{import-export.helper-ZIrat15C.js → import-export.helper-CRsoCU-m.js} +6 -6
- package/dist/{index-BpO95fSn.js → index-D2E7H5mB.js} +1 -1
- package/dist/{index-BHemLKdK.js → index-DHfBDNsF.js} +3 -3
- package/dist/{index-Dcn2QZGA.js → index-wWhxE3V8.js} +1 -1
- package/dist/{inventory-core-dart.default-Dd6MmFba.js → inventory-core-dart.default-bCvDtSox.js} +1 -1
- package/dist/{lz-string-CVdKtz16.js → lz-string-Bv6l1f_h.js} +1 -1
- package/dist/{netsuite-C0SGMd47.js → netsuite-Ct4Xp9dB.js} +2 -2
- package/dist/{number-Bi7AWAN2.js → number-ynuXPnjL.js} +3 -3
- package/dist/{predefined-templates-L1kkS5g4.js → predefined-templates-D71vyBjg.js} +1 -1
- package/dist/{purchase-order-template-Brk4EUzk.js → purchase-order-template-CnwaGonR.js} +1 -1
- package/dist/{recalculationUtils-D6xZMdzy.js → recalculationUtils-BXROZ5jL.js} +1 -1
- package/dist/{rules--pM-Unx3.js → rules-D0cU-FtY.js} +2 -2
- package/dist/{stock-CYOnWr3j.js → stock-BfChfntQ.js} +3 -3
- package/dist/{stock-Cu6RYbIs.js → stock-Cwl0vTFc.js} +1 -1
- package/dist/{supplier-CA8KF1mH.js → supplier-2nfUbrKO.js} +2 -2
- package/dist/{surcharge-DF9qRHpB.js → surcharge-2ZG-5-eD.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-BG4sWtFl.js → uom-rules-181vYwLD.js} +1 -1
- package/dist/{use-ingredient-select-dialog-Hg6ZfIBZ.js → use-ingredient-select-dialog-N_iuQftv.js} +2 -2
- package/dist/{use-inventory-binding-dialog-BIMMsFZL.js → use-inventory-binding-dialog--wF55IkR.js} +2 -2
- package/dist/{use-template-enabled-locations-DbPL-RjZ.js → use-template-enabled-locations-Us6B270b.js} +2 -2
- package/dist/{use-transfer-locations-CAy8I4Gf.js → use-transfer-locations-DvJVBUdu.js} +2 -2
- package/dist/{useHrmPermission-Cp3-GUqd.js → useHrmPermission-D9OK8mzq.js} +1 -1
- package/dist/{useNavigationMenu-ClMKGUkQ.js → useNavigationMenu-Cc-asJpO.js} +2 -2
- package/dist/{useSseClient-DV1y9ywo.js → useSseClient-DJQH6YW6.js} +1 -1
- package/dist/views/changelog/composables/json-line-diff.d.ts +10 -0
- package/dist/views/changelog/composables/json-line-diff.spec.d.ts +1 -0
- package/dist/{vue-i18n-CwUASG3Y.js → vue-i18n-BflylyI6.js} +1 -1
- package/dist/{xlsx.util-uIqKDV5h.js → xlsx.util-Cb7xhVWQ.js} +2 -2
- package/package.json +2 -2
- package/dist/App-U47rY2Jb.js +0 -1047
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as A, computed as G, h as C, defineComponent as j, watch as re, resolveComponent as R, createElementBlock as B, openBlock as F, createVNode as b, createElementVNode as c, unref as i, toDisplayString as $, createBlock as M, withCtx as T, Fragment as pe, renderList as ve, createTextVNode as ye, createCommentVNode as se, isRef as ge, normalizeClass as _e, normalizeStyle as be, createSlots as ke, Teleport as xe, normalizeProps as he, guardReactiveProps as we } from "vue";
|
|
2
|
-
import { a as L, c as P, j as oe, u as Re } from "./app-
|
|
2
|
+
import { a as L, c as P, j as oe, u as Re } from "./app-3LTTUXGV.js";
|
|
3
3
|
import { useDialog as Ie, useSnackbar as Y, components as U, useProxiedModel as Se, useBreakpoints as Fe } from "@feedmepos/ui-library";
|
|
4
4
|
import { F as S } from "./form-mode.enum-BKiNVH6A.js";
|
|
5
5
|
import { useI18n as z, useCoreStore as Ge } from "@feedmepos/mf-common";
|
|
@@ -8,11 +8,11 @@ import { D as ie, R as K } from "./row-action.enum-ncgDYAjP.js";
|
|
|
8
8
|
import { c as Ve } from "./component-BmLAdDiY.js";
|
|
9
9
|
import { u as Ce, _ as De } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
|
|
10
10
|
import { _ as Ae, F as le } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
11
|
-
import { _ as $e } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
12
|
-
import { d as de } from "./defineDeepModel-
|
|
13
|
-
import { I as Te, A as Ee, U as Me, R as ce } from "./rules
|
|
11
|
+
import { _ as $e } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D8v1crGI.js";
|
|
12
|
+
import { d as de } from "./defineDeepModel-5ozCcHO5.js";
|
|
13
|
+
import { I as Te, A as Ee, U as Me, R as ce } from "./rules-D0cU-FtY.js";
|
|
14
14
|
import { L as Ue, P as Be, D as Pe } from "./app-C39bYJmq.js";
|
|
15
|
-
import { u as Le } from "./FmMultiselectDialog-
|
|
15
|
+
import { u as Le } from "./FmMultiselectDialog-By8fqjFR.js";
|
|
16
16
|
import { r as me } from "./random-CSbEbElR.js";
|
|
17
17
|
import { u as ze, R as Ne } from "./usePromise-CbVUCxhj.js";
|
|
18
18
|
const H = ue(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as P, defineComponent as pe, computed as h, resolveComponent as T, createElementBlock as w, openBlock as c, Fragment as ee, createCommentVNode as z, createVNode as s, unref as l, withModifiers as Bt, withCtx as g, createElementVNode as n, renderList as de, createBlock as O, toDisplayString as A, normalizeClass as ne, h as X, renderSlot as Te, createSlots as Ge, createTextVNode as Je, mergeModels as dt, onMounted as Ot, watch as Tt, useModel as Dt, isRef as ut, normalizeStyle as Nt, Teleport as mt, normalizeProps as zt, guardReactiveProps as Lt } from "vue";
|
|
2
|
-
import { a as Ae, c as wt, S as jt, g as ct, e as pt, f as Wt, h as vt, i as ft, j as yt, k as gt, u as qt, l as Ht } from "./app-
|
|
2
|
+
import { a as Ae, c as wt, S as jt, g as ct, e as pt, f as Wt, h as vt, i as ft, j as yt, k as gt, u as qt, l as Ht } from "./app-3LTTUXGV.js";
|
|
3
3
|
import { useDialog as Ze, useSnackbar as $e, components as Le, useProxiedModel as bt, useDialogChild as Yt, useBreakpoints as Kt } from "@feedmepos/ui-library";
|
|
4
4
|
import { i as Gt, _ as Jt, m as Zt } from "./menu-usage-module-BdjYEk3s.js";
|
|
5
5
|
import { F as q } from "./form-mode.enum-BKiNVH6A.js";
|
|
@@ -7,26 +7,26 @@ import { useI18n as ve, useCoreStore as Qe } from "@feedmepos/mf-common";
|
|
|
7
7
|
import { defineStore as Qt, storeToRefs as Xt } from "pinia";
|
|
8
8
|
import { D as ht, R as Re } from "./row-action.enum-ncgDYAjP.js";
|
|
9
9
|
import { c as en } from "./component-BmLAdDiY.js";
|
|
10
|
-
import { u as Ee, _ as tn } from "./netsuite-
|
|
10
|
+
import { u as Ee, _ as tn } from "./netsuite-Ct4Xp9dB.js";
|
|
11
11
|
import { F as De } from "./FmAdminBadge-DlplQOHb.js";
|
|
12
12
|
import { u as nn, _ as ln } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
|
|
13
|
-
import { A as Oe, R as je, U as on, M as an } from "./rules
|
|
14
|
-
import { g as sn, _ as We, S as qe, a as rn } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-
|
|
15
|
-
import { _ as dn } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { _ as He } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-
|
|
17
|
-
import { u as Vt } from "./feature-
|
|
18
|
-
import { t as un, a as mn, g as cn } from "./number-
|
|
13
|
+
import { A as Oe, R as je, U as on, M as an } from "./rules-D0cU-FtY.js";
|
|
14
|
+
import { g as sn, _ as We, S as qe, a as rn } from "./SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Ca3AhLCS.js";
|
|
15
|
+
import { _ as dn } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-BmoN_Vsb.js";
|
|
16
|
+
import { _ as He } from "./IngredientBindedItem.vue_vue_type_script_setup_true_lang-B3_MiB6m.js";
|
|
17
|
+
import { u as Vt } from "./feature-DfTXKj23.js";
|
|
18
|
+
import { t as un, a as mn, g as cn } from "./number-ynuXPnjL.js";
|
|
19
19
|
import { _ as ke } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-DX2MJqL4.js";
|
|
20
|
-
import { d as Be, g as pn, e as vn, a as fn } from "./import-export.helper-
|
|
20
|
+
import { d as Be, g as pn, e as vn, a as fn } from "./import-export.helper-CRsoCU-m.js";
|
|
21
21
|
import { _ as yn } from "./FmCustomAttribute.vue_vue_type_script_setup_true_lang-CG1m-B2p.js";
|
|
22
|
-
import { F as gn, a as Ye } from "./FmMultiselectDialog-
|
|
23
|
-
import { u as It } from "./purchase-order-template-
|
|
24
|
-
import { u as Ft, a as St } from "./closing-template-
|
|
22
|
+
import { F as gn, a as Ye } from "./FmMultiselectDialog-xxrFWb3q.js";
|
|
23
|
+
import { u as It } from "./purchase-order-template-CnwaGonR.js";
|
|
24
|
+
import { u as Ft, a as St } from "./closing-template-4edAN5DM.js";
|
|
25
25
|
import { _ as bn, F as _t } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
26
|
-
import { r as hn } from "./xlsx.util-
|
|
26
|
+
import { r as hn } from "./xlsx.util-Cb7xhVWQ.js";
|
|
27
27
|
import { F as _n } from "./FmDroppableField-J0tG_U3w.js";
|
|
28
|
-
import { _ as xn } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
29
|
-
import { u as kn } from "./FmMultiselectDialog-
|
|
28
|
+
import { _ as xn } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D8v1crGI.js";
|
|
29
|
+
import { u as kn } from "./FmMultiselectDialog-By8fqjFR.js";
|
|
30
30
|
import { P as Tn, J as wn } from "./app-C39bYJmq.js";
|
|
31
31
|
const Ke = Qt("ingredientForm", function() {
|
|
32
32
|
const i = Ze(), k = $e(), d = Ae(), _ = P(!1), { t: F } = ve(), C = P();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as ne, ref as f, computed as B, watch as Oe, onMounted as _e, resolveComponent as se, createElementBlock as a, openBlock as t, createElementVNode as e, createBlock as H, createCommentVNode as r, normalizeClass as j, createTextVNode as re, toDisplayString as o, createVNode as T, Fragment as M, renderList as X, unref as g, withCtx as te, withModifiers as de, withDirectives as Ve, withKeys as we, vModelText as Ue, h as q, watchEffect as Be } from "vue";
|
|
2
|
-
import { d as Se, N as be, C as xe, u as Ce } from "./app-
|
|
2
|
+
import { d as Se, N as be, C as xe, u as Ce } from "./app-3LTTUXGV.js";
|
|
3
3
|
import { components as oe, useBreakpoints as Pe } from "@feedmepos/ui-library";
|
|
4
4
|
import { _ as Ae } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
|
|
5
|
-
import { _ as Ee } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { u as Ie, a as Te, S as ge } from "./netsuite-
|
|
5
|
+
import { _ as Ee } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D8v1crGI.js";
|
|
6
|
+
import { u as Ie, a as Te, S as ge } from "./netsuite-Ct4Xp9dB.js";
|
|
7
7
|
import { P as he, J as ke, D as De } from "./app-C39bYJmq.js";
|
|
8
8
|
import { useCoreStore as Le } from "@feedmepos/mf-common";
|
|
9
9
|
import { _ as ye } from "./JsonViewer.vue_vue_type_script_setup_true_lang-ig2zSXAB.js";
|
|
10
|
-
import { c as ue } from "./date2-
|
|
10
|
+
import { c as ue } from "./date2-COxwsvjC.js";
|
|
11
11
|
const ce = Se((W, P) => {
|
|
12
12
|
const n = Le();
|
|
13
13
|
function N() {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { defineComponent as W, mergeModels as cn, useModel as Et, onMounted as
|
|
1
|
+
import { defineComponent as W, mergeModels as cn, useModel as Et, onMounted as Le, ref as O, computed as z, resolveComponent as L, createElementBlock as N, openBlock as x, createElementVNode as n, createBlock as H, toDisplayString as B, unref as F, createVNode as h, withCtx as M, Fragment as Z, renderList as ae, normalizeClass as se, normalizeStyle as Bt, createSlots as Se, createCommentVNode as j, withModifiers as mn, reactive as at, watch as _e, isRef as Fe, h as V, Teleport as Te, createTextVNode as le, watchEffect as pn, withDirectives as tt, vShow as nt, onUnmounted as fn } from "vue";
|
|
2
2
|
import { _ as Vt } from "./empty-placeholder-B0QU467o.js";
|
|
3
|
-
import { y as vn, z as gn, c as pe, u as ye, A as yn, a as Ue, N as Ge, B as lt, C as fe, D, w as he, E as Nt, G as Dt, s as He } from "./app-
|
|
4
|
-
import { useDialogChild as Lt, useDialog as
|
|
3
|
+
import { y as vn, z as gn, c as pe, u as ye, A as yn, a as Ue, N as Ge, B as lt, C as fe, D, w as he, E as Nt, G as Dt, s as He } from "./app-3LTTUXGV.js";
|
|
4
|
+
import { useDialogChild as Lt, useDialog as Re, useProxiedModel as Ee, useSnackbar as ue, useBreakpoints as it, components as ne } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as bn } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
|
|
6
6
|
import { useI18n as ie, useCoreStore as be } from "@feedmepos/mf-common";
|
|
7
|
-
import { _ as xn } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { u as An, a as hn, b as In, c as Sn, d as wn, e as Cn } from "./index-
|
|
9
|
-
import { b as kn, d as _n, s as Fn, r as En, c as Tt, u as Rt } from "./xlsx.util-
|
|
7
|
+
import { _ as xn } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D8v1crGI.js";
|
|
8
|
+
import { u as An, a as hn, b as In, c as Sn, d as wn, e as Cn } from "./index-DHfBDNsF.js";
|
|
9
|
+
import { b as kn, d as _n, s as Fn, r as En, c as Tt, u as Rt } from "./xlsx.util-Cb7xhVWQ.js";
|
|
10
10
|
import { F as rt } from "./FmDroppableField-J0tG_U3w.js";
|
|
11
|
-
import { f as ut, b as dt } from "./date2-
|
|
12
|
-
import { u as xe, a as ze } from "./netsuite-
|
|
13
|
-
import { b as Bn, a as Vn } from "./FmMultiselectDialog-
|
|
14
|
-
import { R as Nn } from "./rules
|
|
11
|
+
import { f as ut, b as dt } from "./date2-COxwsvjC.js";
|
|
12
|
+
import { u as xe, a as ze } from "./netsuite-Ct4Xp9dB.js";
|
|
13
|
+
import { b as Bn, a as Vn } from "./FmMultiselectDialog-xxrFWb3q.js";
|
|
14
|
+
import { R as Nn } from "./rules-D0cU-FtY.js";
|
|
15
15
|
import { P as Mt, J as Ot, D as Ut } from "./app-C39bYJmq.js";
|
|
16
|
-
import { u as Dn } from "./supplier-
|
|
17
|
-
import { u as qe } from "./vue-i18n-
|
|
18
|
-
import { _ as Ln, a as Tn } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
19
|
-
import { a as Rn } from "./number-
|
|
16
|
+
import { u as Dn } from "./supplier-2nfUbrKO.js";
|
|
17
|
+
import { u as qe } from "./vue-i18n-BflylyI6.js";
|
|
18
|
+
import { _ as Ln, a as Tn } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-B63rSBGN.js";
|
|
19
|
+
import { a as Rn } from "./number-ynuXPnjL.js";
|
|
20
20
|
import { F as ct } from "./FmAdminBadge-DlplQOHb.js";
|
|
21
|
-
import { i as St, _ as Mn } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-
|
|
21
|
+
import { i as St, _ as Mn } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-DKHAGpNh.js";
|
|
22
22
|
import { _ as Je } from "./JsonViewer.vue_vue_type_script_setup_true_lang-ig2zSXAB.js";
|
|
23
23
|
import "./dinero-DMLEtkS9.js";
|
|
24
|
-
import { u as zt } from "./feature-
|
|
24
|
+
import { u as zt } from "./feature-DfTXKj23.js";
|
|
25
25
|
const On = "data:image/svg+xml,%3csvg%20width='200'%20height='101'%20viewBox='0%200%20200%20101'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M98.9161%2038.4456V24.1772H108.527V27.1988H102.12V30.2202H107.347V32.7382H102.12V38.4456H98.9161Z'%20fill='%235D5359'/%3e%3cpath%20d='M110.382%2031.2276C110.382%2027.5345%20113.249%2024.1772%20117.127%2024.1772C121.174%2024.1772%20123.872%2027.7024%20123.872%2031.3953C123.872%2035.0884%20121.005%2038.6133%20117.127%2038.6133C113.08%2038.4456%20110.382%2034.9204%20110.382%2031.2276ZM117.127%2035.5919C119.487%2035.5919%20120.499%2033.4096%20120.499%2031.2276C120.499%2029.0452%20119.319%2027.0309%20117.127%2027.0309C114.935%2027.0309%20113.754%2029.213%20113.754%2031.2276C113.754%2033.5776%20114.935%2035.5919%20117.127%2035.5919Z'%20fill='%235D5359'/%3e%3cpath%20d='M126.232%2031.2276C126.232%2027.5345%20129.099%2024.1772%20132.977%2024.1772C137.024%2024.1772%20139.722%2027.7024%20139.722%2031.3953C139.722%2035.0884%20136.855%2038.6133%20132.977%2038.6133C128.93%2038.4456%20126.232%2034.9204%20126.232%2031.2276ZM132.977%2035.5919C135.337%2035.5919%20136.349%2033.4096%20136.349%2031.2276C136.349%2029.0452%20135.169%2027.0309%20132.977%2027.0309C130.785%2027.0309%20129.604%2029.213%20129.604%2031.2276C129.604%2033.5776%20130.785%2035.5919%20132.977%2035.5919Z'%20fill='%235D5359'/%3e%3cpath%20d='M142.926%2038.4455V24.345H148.153C152.874%2024.345%20155.235%2027.5343%20155.235%2031.3952C155.235%2035.5918%20152.368%2038.4455%20148.153%2038.4455H142.926ZM148.153%2027.0308H146.129V35.4238H148.153C150.513%2035.4238%20151.862%2033.5775%20151.862%2031.2272C151.862%2028.8773%20150.513%2027.0308%20148.153%2027.0308Z'%20fill='%235D5359'/%3e%3cpath%20d='M110.045%2057.5607V49.1676L107.009%2055.2107H105.324L102.12%2049.1676V57.5607H98.9161V43.4604H102.457L106.167%2050.8465L109.876%2043.4604H113.417V57.5607H110.045Z'%20fill='%235D5359'/%3e%3cpath%20d='M115.947%2057.5607L121.342%2043.4604H124.04L129.436%2057.5607H125.895L124.715%2054.3716H120.331L119.319%2057.5607H115.947ZM122.691%2046.9856L121.005%2052.1893H124.378L122.691%2046.9856Z'%20fill='%235D5359'/%3e%3cpath%20d='M131.965%2057.5607V43.4604H138.373C141.07%2043.4604%20142.925%2045.8105%20142.925%2048.1605C142.925%2049.8393%20142.082%2051.5179%20140.565%2052.1893L143.768%2057.393H140.059L137.192%2052.8607H135V57.393H131.965V57.5607ZM135.169%2050.175H138.204C139.047%2050.175%20139.553%2049.3356%20139.553%2048.1605C139.553%2046.9856%20138.71%2046.3142%20138.035%2046.3142H135.169V50.175Z'%20fill='%235D5359'/%3e%3cpath%20d='M146.635%2057.5607V43.4604H150.007V49.8393L155.403%2043.4604H158.776L153.548%2049.6713L159.281%2057.5607H155.74L151.693%2051.5179L150.007%2053.3642V57.5607H146.635Z'%20fill='%235D5359'/%3e%3cpath%20d='M171.422%2054.7073V57.5607H161.474V43.4604H171.253V46.3142H164.677V48.9999H170.242V51.6856H164.677V54.7073H171.422Z'%20fill='%235D5359'/%3e%3cpath%20d='M185.417%2046.3142H181.202V57.5607H177.829V46.3142H173.614V43.4604H185.417V46.3142Z'%20fill='%235D5359'/%3e%3cpath%20d='M111.057%2062.5967V76.6973H107.853V70.9898H102.12V76.6973H98.9161V62.5967H102.12V68.1361H107.853V62.5967H111.057Z'%20fill='%235D5359'/%3e%3cpath%20d='M124.04%2069.815V62.5967H127.244V69.815C127.244%2073.6758%20125.389%2076.865%20121.005%2076.865C116.453%2076.865%20114.766%2073.5078%20114.766%2069.815V62.5967H117.97V69.815C117.97%2071.997%20118.813%2074.0115%20121.005%2074.0115C123.366%2074.0115%20124.04%2071.997%20124.04%2069.815Z'%20fill='%235D5359'/%3e%3cpath%20d='M138.036%2076.6973H131.122V62.5967H139.047C141.071%2062.5967%20142.251%2064.4433%20142.251%2066.2898C142.251%2067.6327%20141.576%2068.9755%20140.228%2069.4793C141.914%2069.9827%20142.926%2071.1578%20142.926%2073.1721C142.757%2075.5221%20140.733%2076.6973%20138.036%2076.6973ZM134.326%2065.4504V68.3041H137.53C138.204%2068.3041%20138.879%2067.8004%20138.879%2066.7933C138.879%2065.7861%20138.373%2065.2827%20137.698%2065.2827H134.326V65.4504ZM138.204%2070.8221H134.494V73.8435H138.204C139.047%2073.8435%20139.722%2073.1721%20139.722%2072.3327C139.553%2071.6613%20138.879%2070.8221%20138.204%2070.8221Z'%20fill='%235D5359'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M73.4753%2051.4994C78.7281%2050.5396%2082.8911%2046.4891%2083.9954%2041.3137L84.1232%2040.7134L83.9445%2040.1256C80.5804%2029.066%2071.9945%2020.2704%2061.0373%2016.5726C57.4%2015.3451%2053.5046%2014.6804%2049.458%2014.6804C45.4112%2014.6804%2041.5158%2015.3451%2037.8784%2016.5726C26.9214%2020.2704%2018.3354%2029.066%2014.9712%2040.1256L14.7924%2040.7134L14.9206%2041.3137C16.0247%2046.4891%2020.1875%2050.5396%2025.4405%2051.4994V58.8839H14.4183C14.6758%2059.9557%2014.9818%2061.0088%2015.3337%2062.0411C20.1553%2076.1811%2033.6083%2086.3619%2049.458%2086.3619C65.3074%2086.3619%2078.7606%2076.1811%2083.5822%2062.0411C83.9342%2061.0088%2084.2399%2059.9557%2084.4974%2058.8839H73.4753V51.4994ZM41.0517%2020.5973V38.5742C41.0517%2043.1931%2044.8155%2046.9371%2049.458%2046.9371C54.1005%2046.9371%2057.8641%2043.1931%2057.8641%2038.5742V20.5973C55.1919%2019.856%2052.3732%2019.4592%2049.458%2019.4592C46.5428%2019.4592%2043.7241%2019.856%2041.0517%2020.5973ZM62.6675%2022.3673V38.5742C62.6675%2043.1931%2066.431%2046.9371%2071.0735%2046.9371C74.9051%2046.9371%2078.1425%2044.3848%2079.1528%2040.8942C76.4672%2032.6902%2070.4379%2025.9824%2062.6675%2022.3673ZM60.2658%2046.1322C57.8753%2049.5094%2053.9255%2051.7159%2049.458%2051.7159C44.9902%2051.7159%2041.0408%2049.5094%2038.65%2046.1322C36.6982%2048.8894%2033.7074%2050.8662%2030.2439%2051.4994V58.8839H68.6718V51.4994C65.2083%2050.8662%2062.2175%2048.8894%2060.2658%2046.1322ZM21.1583%2063.6628C26.1349%2074.2514%2036.9382%2081.5834%2049.458%2081.5834C61.9776%2081.5834%2072.781%2074.2514%2077.7574%2063.6628H21.1583ZM36.2482%2038.5742V22.3673C28.4779%2025.9824%2022.4486%2032.6902%2019.7631%2040.8942C20.7733%2044.3848%2024.0106%2046.9371%2027.8422%2046.9371C32.4847%2046.9371%2036.2482%2043.1931%2036.2482%2038.5742Z'%20fill='%23FFC35D'/%3e%3c/svg%3e";
|
|
26
26
|
var jt = { exports: {} };
|
|
27
27
|
(function(S, c) {
|
|
@@ -119,7 +119,7 @@ const jn = { class: "flex flex-col gap-12 h-[350px]" }, Pn = { class: "flex item
|
|
|
119
119
|
emits: ["update:modelValue"],
|
|
120
120
|
setup(S) {
|
|
121
121
|
const c = Et(S, "modelValue"), e = Lt();
|
|
122
|
-
|
|
122
|
+
Le(() => {
|
|
123
123
|
e.emitData(c.value);
|
|
124
124
|
});
|
|
125
125
|
const p = O(""), { t } = ie();
|
|
@@ -372,7 +372,7 @@ const jn = { class: "flex flex-col gap-12 h-[350px]" }, Pn = { class: "flex item
|
|
|
372
372
|
},
|
|
373
373
|
emits: ["update:modifiers"],
|
|
374
374
|
setup(S, { emit: c }) {
|
|
375
|
-
const e = S, p = c, t =
|
|
375
|
+
const e = S, p = c, t = Re(), u = z(() => {
|
|
376
376
|
const f = e.groups.flatMap((b) => b.items.map((v) => {
|
|
377
377
|
const C = e.items.find((E) => E._id === v._id);
|
|
378
378
|
return {
|
|
@@ -614,7 +614,7 @@ const io = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
614
614
|
},
|
|
615
615
|
emits: ["update:bindings"],
|
|
616
616
|
setup(S, { emit: c }) {
|
|
617
|
-
const e = S, p = c, t =
|
|
617
|
+
const e = S, p = c, t = Re(), u = z(() => e.isAddon ? "Addons" : "Products"), s = z(() => e.isAddon ? [] : e.categories), a = z(
|
|
618
618
|
() => $t(s.value, e.variants, e.menus)
|
|
619
619
|
), I = z(() => {
|
|
620
620
|
if (e.isAddon)
|
|
@@ -1093,7 +1093,7 @@ function Co(S, c, e, p, t) {
|
|
|
1093
1093
|
}
|
|
1094
1094
|
return wo(u, So(c, p), e, t);
|
|
1095
1095
|
}
|
|
1096
|
-
function
|
|
1096
|
+
function Oe(S) {
|
|
1097
1097
|
return S.rows.filter(
|
|
1098
1098
|
(c) => (c.status === "NEW" || c.status === "OVERRIDE") && !c.errors.length && !!c.binding
|
|
1099
1099
|
).map((c) => c.binding);
|
|
@@ -1206,7 +1206,7 @@ const Fo = { class: "flex flex-col gap-24" }, Eo = { class: "fm-typo-en-body-md-
|
|
|
1206
1206
|
}
|
|
1207
1207
|
},
|
|
1208
1208
|
setup(S) {
|
|
1209
|
-
const c = S, e = Lt(), { t: p } = ie(), t = O(null), u = O(!1), s = O(null), a = O(null), I = z(() => a.value ? Ht(a.value) : null), A = z(() => a.value ?
|
|
1209
|
+
const c = S, e = Lt(), { t: p } = ie(), t = O(null), u = O(!1), s = O(null), a = O(null), I = z(() => a.value ? Ht(a.value) : null), A = z(() => a.value ? Oe(a.value).length : 0), m = z(() => !s.value && A.value > 0);
|
|
1210
1210
|
function f() {
|
|
1211
1211
|
e.emitData(m.value ? a.value : null);
|
|
1212
1212
|
}
|
|
@@ -1457,7 +1457,7 @@ const Fo = { class: "flex flex-col gap-24" }, Eo = { class: "fm-typo-en-body-md-
|
|
|
1457
1457
|
function m(o) {
|
|
1458
1458
|
t.bindings = [...I.value, ...o];
|
|
1459
1459
|
}
|
|
1460
|
-
const f = O(), b =
|
|
1460
|
+
const f = O(), b = Re(), v = ue(), C = be();
|
|
1461
1461
|
function E() {
|
|
1462
1462
|
var i;
|
|
1463
1463
|
const { filename: o } = Xt(
|
|
@@ -1500,7 +1500,7 @@ const Fo = { class: "flex flex-col gap-24" }, Eo = { class: "fm-typo-en-body-md-
|
|
|
1500
1500
|
variant: "plain"
|
|
1501
1501
|
}
|
|
1502
1502
|
}).onPrimary((o) => {
|
|
1503
|
-
if (!o || !
|
|
1503
|
+
if (!o || !Oe(o).length) {
|
|
1504
1504
|
v.open({
|
|
1505
1505
|
title: d("inventory.integration.bindingImport.nothingToImport.title"),
|
|
1506
1506
|
message: d("inventory.integration.bindingImport.nothingToImport.message"),
|
|
@@ -1529,7 +1529,7 @@ const Fo = { class: "flex flex-col gap-24" }, Eo = { class: "fm-typo-en-body-md-
|
|
|
1529
1529
|
close: !0
|
|
1530
1530
|
}
|
|
1531
1531
|
}).onPrimary(() => {
|
|
1532
|
-
const i =
|
|
1532
|
+
const i = Oe(o);
|
|
1533
1533
|
t.bindings = qt(t.bindings, i), v.open({
|
|
1534
1534
|
title: d("inventory.integration.bindingImport.importSuccess.title"),
|
|
1535
1535
|
message: d("inventory.integration.bindingImport.importSuccess.message", { count: i.length }),
|
|
@@ -1678,7 +1678,7 @@ const Fo = { class: "flex flex-col gap-24" }, Eo = { class: "fm-typo-en-body-md-
|
|
|
1678
1678
|
_: 1
|
|
1679
1679
|
}, 8, ["class"]),
|
|
1680
1680
|
F(u).state.setting ? (x(), N("div", ns, [
|
|
1681
|
-
(x(), H(
|
|
1681
|
+
(x(), H(Te, { to: "body" }, [
|
|
1682
1682
|
f.value === "v3" ? (x(), H(xo, {
|
|
1683
1683
|
key: 0,
|
|
1684
1684
|
menus: s.value,
|
|
@@ -2024,7 +2024,7 @@ const Fo = { class: "flex flex-col gap-24" }, Eo = { class: "fm-typo-en-body-md-
|
|
|
2024
2024
|
values: ["warehouse", "restaurant"]
|
|
2025
2025
|
}
|
|
2026
2026
|
];
|
|
2027
|
-
|
|
2027
|
+
Le(async () => {
|
|
2028
2028
|
if (e.isReady && e.isEnabled)
|
|
2029
2029
|
try {
|
|
2030
2030
|
I.value = await e.getNetSuiteLocationOptions();
|
|
@@ -2382,7 +2382,7 @@ const Fo = { class: "flex flex-col gap-24" }, Eo = { class: "fm-typo-en-body-md-
|
|
|
2382
2382
|
__name: "VendorsTab",
|
|
2383
2383
|
setup(S) {
|
|
2384
2384
|
const c = Dn(), e = xe(), p = ue(), t = O(""), u = O(!1), s = O([]), a = O(!1), I = O(null), A = O(null);
|
|
2385
|
-
|
|
2385
|
+
Le(async () => {
|
|
2386
2386
|
if (c.suppliers.length === 0)
|
|
2387
2387
|
try {
|
|
2388
2388
|
await c.readSuppliers();
|
|
@@ -2514,7 +2514,7 @@ const Fo = { class: "flex flex-col gap-24" }, Eo = { class: "fm-typo-en-body-md-
|
|
|
2514
2514
|
__name: "ItemsTab",
|
|
2515
2515
|
setup(S) {
|
|
2516
2516
|
const c = Ue(), e = xe(), p = ze(), t = ue(), { t: u } = ie();
|
|
2517
|
-
|
|
2517
|
+
Le(async () => {
|
|
2518
2518
|
e.state.isReady && e.state.itemReplicas.length === 0 && await e.getAllItemReplicas();
|
|
2519
2519
|
});
|
|
2520
2520
|
const s = (l) => {
|
|
@@ -3033,7 +3033,7 @@ const Fo = { class: "flex flex-col gap-24" }, Eo = { class: "fm-typo-en-body-md-
|
|
|
3033
3033
|
__name: "InventoryTransferOutTable",
|
|
3034
3034
|
setup(S) {
|
|
3035
3035
|
const c = O([]), e = ze(), p = O(!1), t = O(!1), u = ue(), s = ye();
|
|
3036
|
-
|
|
3036
|
+
Le(async () => {
|
|
3037
3037
|
const m = /* @__PURE__ */ new Date(), f = /* @__PURE__ */ new Date();
|
|
3038
3038
|
f.setDate(f.getDate() - 30), p.value = !0;
|
|
3039
3039
|
try {
|
|
@@ -3199,7 +3199,7 @@ const Fo = { class: "flex flex-col gap-24" }, Eo = { class: "fm-typo-en-body-md-
|
|
|
3199
3199
|
currentLocationSubsidiary: {}
|
|
3200
3200
|
},
|
|
3201
3201
|
setup(S) {
|
|
3202
|
-
const c =
|
|
3202
|
+
const c = Re(), e = xe(), p = Ue(), t = ze(), u = ue(), { t: s } = qe(), a = O([]), I = [{ label: "Transfer Out" }, { label: "History" }], A = O(I[0]), m = O(!1), f = O(null), b = O(null), v = S, C = z(() => {
|
|
3203
3203
|
const y = e.currentLocationSetting, d = e.configuredLocations;
|
|
3204
3204
|
return v.nsLocations.map((o) => ({
|
|
3205
3205
|
label: o.name,
|
|
@@ -3964,7 +3964,7 @@ const Fo = { class: "flex flex-col gap-24" }, Eo = { class: "fm-typo-en-body-md-
|
|
|
3964
3964
|
]),
|
|
3965
3965
|
_: 1
|
|
3966
3966
|
}),
|
|
3967
|
-
F(c).state.setting ? (x(), H(
|
|
3967
|
+
F(c).state.setting ? (x(), H(Te, {
|
|
3968
3968
|
key: 0,
|
|
3969
3969
|
to: "body"
|
|
3970
3970
|
}, [
|
|
@@ -4027,7 +4027,7 @@ const Fo = { class: "flex flex-col gap-24" }, Eo = { class: "fm-typo-en-body-md-
|
|
|
4027
4027
|
},
|
|
4028
4028
|
emits: ["update:bindings"],
|
|
4029
4029
|
setup(S, { emit: c }) {
|
|
4030
|
-
const e = S, p = c, t =
|
|
4030
|
+
const e = S, p = c, t = Re(), u = z(() => e.isAddon ? "Addons" : "Products"), s = z(() => e.isAddon ? [] : e.categories), a = z(
|
|
4031
4031
|
() => $t(s.value, e.variants, e.menus)
|
|
4032
4032
|
), I = z(() => {
|
|
4033
4033
|
if (e.isAddon)
|
|
@@ -4289,7 +4289,7 @@ function ve(S) {
|
|
|
4289
4289
|
function we(S) {
|
|
4290
4290
|
return typeof S == "string" ? S : S == null ? "" : String(S);
|
|
4291
4291
|
}
|
|
4292
|
-
function
|
|
4292
|
+
function Me(S) {
|
|
4293
4293
|
return Array.isArray(S) ? S.filter((c) => c !== null && typeof c == "object") : [];
|
|
4294
4294
|
}
|
|
4295
4295
|
function el(S, c) {
|
|
@@ -4304,7 +4304,7 @@ function Jt(S, c) {
|
|
|
4304
4304
|
});
|
|
4305
4305
|
}
|
|
4306
4306
|
function Zt(S, c, e, p, t, u) {
|
|
4307
|
-
const s =
|
|
4307
|
+
const s = Me(S.taxDetails);
|
|
4308
4308
|
e.push({
|
|
4309
4309
|
depth: c,
|
|
4310
4310
|
code: we(c === 0 ? S.itemCode : S.modifierCode),
|
|
@@ -4315,7 +4315,7 @@ function Zt(S, c, e, p, t, u) {
|
|
|
4315
4315
|
}), t.value += ve(S.totalPrice), u.value += ve(S.discountAmount);
|
|
4316
4316
|
for (const a of s)
|
|
4317
4317
|
Jt(p, a);
|
|
4318
|
-
for (const a of
|
|
4318
|
+
for (const a of Me(S.invoiceModifiers))
|
|
4319
4319
|
Zt(a, c + 1, e, p, t, u);
|
|
4320
4320
|
}
|
|
4321
4321
|
function tl(S) {
|
|
@@ -4325,10 +4325,10 @@ function nl(S, c) {
|
|
|
4325
4325
|
if (S === null || typeof S != "object" || !Array.isArray(S.invoiceItems))
|
|
4326
4326
|
return null;
|
|
4327
4327
|
const e = S, p = [], t = /* @__PURE__ */ new Map(), u = { value: 0 }, s = { value: 0 };
|
|
4328
|
-
for (const C of
|
|
4328
|
+
for (const C of Me(e.invoiceItems))
|
|
4329
4329
|
Zt(C, 0, p, t, u, s);
|
|
4330
4330
|
s.value += ve(e.invoiceDiscountAmount);
|
|
4331
|
-
for (const C of
|
|
4331
|
+
for (const C of Me(e.taxDetails))
|
|
4332
4332
|
Jt(t, C);
|
|
4333
4333
|
const a = [...t.values()], I = ve(e.roundingAdj), A = ve(e.grandTotal), m = c == null ? 0 : tl(I - c), f = c != null && m !== 0 ? [
|
|
4334
4334
|
{ label: "Rounding (bill)", amount: c },
|
|
@@ -4340,7 +4340,7 @@ function nl(S, c) {
|
|
|
4340
4340
|
...a,
|
|
4341
4341
|
...f,
|
|
4342
4342
|
{ label: "Total", amount: A, strong: !0 }
|
|
4343
|
-
], v =
|
|
4343
|
+
], v = Me(e.invoicePayments).map((C) => ({
|
|
4344
4344
|
label: `${we(C.paymentName)} (${we(C.paymentCode)})`,
|
|
4345
4345
|
amount: ve(C.AmountPaid)
|
|
4346
4346
|
}));
|
|
@@ -4666,20 +4666,18 @@ D.object({
|
|
|
4666
4666
|
});
|
|
4667
4667
|
D.enum([
|
|
4668
4668
|
"status_not_syncable",
|
|
4669
|
-
"no_active_items"
|
|
4670
|
-
"all_items_unbound",
|
|
4671
|
-
"has_unbound_items"
|
|
4669
|
+
"no_active_items"
|
|
4672
4670
|
]);
|
|
4673
|
-
var
|
|
4671
|
+
var De = D.object({
|
|
4674
4672
|
amount: D.number(),
|
|
4675
4673
|
precision: D.number()
|
|
4676
4674
|
});
|
|
4677
4675
|
D.object({
|
|
4678
4676
|
reason: D.string().nullable().optional(),
|
|
4679
|
-
total:
|
|
4677
|
+
total: De.nullable().optional(),
|
|
4680
4678
|
adjustment: D.object({
|
|
4681
4679
|
type: D.string().nullable().optional(),
|
|
4682
|
-
amount:
|
|
4680
|
+
amount: De.nullable().optional()
|
|
4683
4681
|
}).nullable().optional()
|
|
4684
4682
|
});
|
|
4685
4683
|
var tn = D.lazy(
|
|
@@ -4689,11 +4687,14 @@ var tn = D.lazy(
|
|
|
4689
4687
|
product: D.object({
|
|
4690
4688
|
name: D.string(),
|
|
4691
4689
|
categoryName: D.string().nullable().optional(),
|
|
4692
|
-
price:
|
|
4690
|
+
price: De.nullable().optional()
|
|
4693
4691
|
}).nullable().optional(),
|
|
4694
4692
|
// a sold line always has a positive quantity — 0 makes no sense on a bill
|
|
4695
4693
|
quantity: D.number().positive(),
|
|
4696
|
-
subItems: D.array(tn).nullable().optional()
|
|
4694
|
+
subItems: D.array(tn).nullable().optional(),
|
|
4695
|
+
name: D.string().nullable().optional(),
|
|
4696
|
+
selection: D.string().nullable().optional(),
|
|
4697
|
+
price: De.nullable().optional()
|
|
4697
4698
|
})
|
|
4698
4699
|
);
|
|
4699
4700
|
D.array(tn).nullable().optional();
|
|
@@ -4701,7 +4702,7 @@ D.object({
|
|
|
4701
4702
|
/** Optional on the entity; the invoice line sends "" when absent. */
|
|
4702
4703
|
taxCode: D.string().nullable().optional(),
|
|
4703
4704
|
name: D.string(),
|
|
4704
|
-
total:
|
|
4705
|
+
total: De.nullable().optional(),
|
|
4705
4706
|
/** true = the item price already contains this tax. POS writes it HERE, on
|
|
4706
4707
|
* the tax entry — `adjustment.inclusive` is a different (discount) notion
|
|
4707
4708
|
* and is null on real bills, so never read it for tax inclusivity. */
|
|
@@ -4712,7 +4713,7 @@ D.object({
|
|
|
4712
4713
|
level: D.number().nullable().optional(),
|
|
4713
4714
|
adjustment: D.object({
|
|
4714
4715
|
type: D.string().nullable().optional(),
|
|
4715
|
-
amount:
|
|
4716
|
+
amount: De.nullable().optional()
|
|
4716
4717
|
}).nullable().optional()
|
|
4717
4718
|
});
|
|
4718
4719
|
const Sl = { class: "flex items-center gap-2 mb-3" }, wl = {
|
|
@@ -5542,7 +5543,7 @@ const Sl = { class: "flex items-center gap-2 mb-3" }, wl = {
|
|
|
5542
5543
|
function m(i) {
|
|
5543
5544
|
t.bindings = [...I.value, ...i];
|
|
5544
5545
|
}
|
|
5545
|
-
const f = O(), b =
|
|
5546
|
+
const f = O(), b = Re(), v = ue(), C = be();
|
|
5546
5547
|
function E() {
|
|
5547
5548
|
var w;
|
|
5548
5549
|
const { filename: i } = Xt(
|
|
@@ -5585,7 +5586,7 @@ const Sl = { class: "flex items-center gap-2 mb-3" }, wl = {
|
|
|
5585
5586
|
variant: "plain"
|
|
5586
5587
|
}
|
|
5587
5588
|
}).onPrimary((i) => {
|
|
5588
|
-
if (!i || !
|
|
5589
|
+
if (!i || !Oe(i).length) {
|
|
5589
5590
|
v.open({
|
|
5590
5591
|
title: o("inventory.integration.bindingImport.nothingToImport.title"),
|
|
5591
5592
|
message: o("inventory.integration.bindingImport.nothingToImport.message"),
|
|
@@ -5614,7 +5615,7 @@ const Sl = { class: "flex items-center gap-2 mb-3" }, wl = {
|
|
|
5614
5615
|
close: !0
|
|
5615
5616
|
}
|
|
5616
5617
|
}).onPrimary(() => {
|
|
5617
|
-
const w =
|
|
5618
|
+
const w = Oe(i);
|
|
5618
5619
|
t.bindings = qt(t.bindings, w), v.open({
|
|
5619
5620
|
title: o("inventory.integration.bindingImport.importSuccess.title"),
|
|
5620
5621
|
message: o("inventory.integration.bindingImport.importSuccess.message", { count: w.length }),
|
|
@@ -5700,7 +5701,7 @@ const Sl = { class: "flex items-center gap-2 mb-3" }, wl = {
|
|
|
5700
5701
|
]),
|
|
5701
5702
|
_: 1
|
|
5702
5703
|
}, 8, ["modelValue", "header"]),
|
|
5703
|
-
(x(), H(
|
|
5704
|
+
(x(), H(Te, { to: "body" }, [
|
|
5704
5705
|
h(ni, {
|
|
5705
5706
|
show: g.value,
|
|
5706
5707
|
"onUpdate:show": w[7] || (w[7] = (P) => g.value = P)
|
|
@@ -5812,7 +5813,7 @@ const Sl = { class: "flex items-center gap-2 mb-3" }, wl = {
|
|
|
5812
5813
|
]),
|
|
5813
5814
|
_: 1
|
|
5814
5815
|
}, 8, ["class"]),
|
|
5815
|
-
(x(), H(
|
|
5816
|
+
(x(), H(Te, { to: "body" }, [
|
|
5816
5817
|
F(e).state.setting ? tt((x(), H(li, {
|
|
5817
5818
|
key: 0,
|
|
5818
5819
|
menus: F(e).state.menu,
|
|
@@ -6420,7 +6421,7 @@ const bi = { class: "flex flex-col gap-4" }, xi = { class: "flex flex-col" }, Ai
|
|
|
6420
6421
|
]),
|
|
6421
6422
|
_: 1
|
|
6422
6423
|
}),
|
|
6423
|
-
(x(), H(
|
|
6424
|
+
(x(), H(Te, { to: "body" }, [
|
|
6424
6425
|
h(qi, {
|
|
6425
6426
|
show: p.value,
|
|
6426
6427
|
"onUpdate:show": s[1] || (s[1] = (A) => p.value = A)
|
|
@@ -6942,7 +6943,7 @@ const Ji = { class: "flex flex-col gap-4" }, Zi = { class: "flex flex-col" }, Wi
|
|
|
6942
6943
|
]),
|
|
6943
6944
|
_: 1
|
|
6944
6945
|
}),
|
|
6945
|
-
(x(), H(
|
|
6946
|
+
(x(), H(Te, { to: "body" }, [
|
|
6946
6947
|
h(xr, {
|
|
6947
6948
|
show: p.value,
|
|
6948
6949
|
"onUpdate:show": s[1] || (s[1] = (A) => p.value = A)
|
|
@@ -6974,7 +6975,7 @@ const Ji = { class: "flex flex-col gap-4" }, Zi = { class: "flex flex-col" }, Wi
|
|
|
6974
6975
|
}
|
|
6975
6976
|
return c.watchLocation(async (I) => {
|
|
6976
6977
|
I && await a();
|
|
6977
|
-
}, "integration-view"), fn(() => c.unwatchLocation("integration-view")),
|
|
6978
|
+
}, "integration-view"), fn(() => c.unwatchLocation("integration-view")), Le(async () => {
|
|
6978
6979
|
c._currentLocation && await a();
|
|
6979
6980
|
}), (I, A) => {
|
|
6980
6981
|
const m = L("FmCircularProgress");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as oe, computed as x, reactive as te, resolveComponent as B, createElementBlock as c, openBlock as d, createVNode as u, createElementVNode as n, createCommentVNode as v, withCtx as I, createBlock as w, toDisplayString as p, unref as i, Fragment as U, renderList as G, nextTick as le } from "vue";
|
|
2
|
-
import { a as ie, t as se, v as de, F as re } from "./app-
|
|
3
|
-
import { a as h, c as ae } from "./number-
|
|
4
|
-
import { u as ue } from "./use-inventory-binding-dialog
|
|
5
|
-
import { b as $, c as A } from "./rules
|
|
6
|
-
import { _ as me, c as ce, d as pe } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { a as ie, t as se, v as de, F as re } from "./app-3LTTUXGV.js";
|
|
3
|
+
import { a as h, c as ae } from "./number-ynuXPnjL.js";
|
|
4
|
+
import { u as ue } from "./use-inventory-binding-dialog--wF55IkR.js";
|
|
5
|
+
import { b as $, c as A } from "./rules-D0cU-FtY.js";
|
|
6
|
+
import { _ as me, c as ce, d as pe } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-B63rSBGN.js";
|
|
7
7
|
import { useI18n as ye } from "@feedmepos/mf-common";
|
|
8
8
|
const fe = { class: "flex flex-col gap-24" }, ve = { class: "flex flex-col gap-16" }, be = { class: "flex items-center" }, _e = { class: "flex-1 fm-typo-en-title-sm-600" }, xe = { 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" }, he = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, Ve = { class: "flex flex-col w-full border-b border-fm-color-neutral-gray-100" }, ke = {
|
|
9
9
|
class: "flex items-center",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as l, resolveComponent as m, createBlock as c, openBlock 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-
|
|
4
|
+
import { F as r } from "./app-3LTTUXGV.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, createBlock as F, openBlock as g, withCtx as d, createVNode as A, createElementVNode as k, normalizeClass as K } from "vue";
|
|
2
|
-
import { c as s } from "./number-
|
|
2
|
+
import { c as s } from "./number-ynuXPnjL.js";
|
|
3
3
|
const _ = ["value", "disabled"], C = /* @__PURE__ */ V({
|
|
4
4
|
__name: "NumberPrecisionInput",
|
|
5
5
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as F, u as f } from "./app-
|
|
1
|
+
import { d as F, u as f } from "./app-3LTTUXGV.js";
|
|
2
2
|
import { useCoreStore as v } from "@feedmepos/mf-common";
|
|
3
3
|
import { ref as _, defineComponent as h, resolveComponent as l, createElementBlock as y, openBlock as g, renderSlot as k, createVNode as p, withCtx as S } from "vue";
|
|
4
4
|
const m = F((e, t) => {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as ce, ref as F, createElementBlock as c, openBlock as r, createElementVNode as t, createBlock as V, createTextVNode as G, toDisplayString as a, normalizeClass as ue, Teleport as Ce, createCommentVNode as P, Fragment as q, normalizeStyle as $e, renderList as U, computed as _, watch as ie, resolveComponent as j, withCtx as K, createVNode as M, onMounted as Se, h as E, reactive as Ie, withDirectives as Fe, vModelText as De, unref as Ne } from "vue";
|
|
2
2
|
import { _ as Te } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
|
|
3
3
|
import { useDialog as ve, useSnackbar as ge, components as se } from "@feedmepos/ui-library";
|
|
4
|
-
import { d as Be, u as be, a as xe } from "./app-
|
|
5
|
-
import { _ as Ee } from "./ChangeLocationComponent.vue_vue_type_script_setup_true_lang-
|
|
4
|
+
import { d as Be, u as be, a as xe } from "./app-3LTTUXGV.js";
|
|
5
|
+
import { _ as Ee } from "./ChangeLocationComponent.vue_vue_type_script_setup_true_lang-D-Jhmd9M.js";
|
|
6
6
|
import { useI18n as Ae } from "@feedmepos/mf-common";
|
|
7
|
-
import { c as ke } from "./inventory-core-dart.default-
|
|
8
|
-
import { u as Pe } from "./stock-
|
|
9
|
-
import { a as Re } from "./FmMultiselectDialog-
|
|
10
|
-
import { e as qe, _ as Me } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import { u as Le } from "./stock-
|
|
7
|
+
import { c as ke } from "./inventory-core-dart.default-bCvDtSox.js";
|
|
8
|
+
import { u as Pe } from "./stock-BfChfntQ.js";
|
|
9
|
+
import { a as Re } from "./FmMultiselectDialog-xxrFWb3q.js";
|
|
10
|
+
import { e as qe, _ as Me } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-B63rSBGN.js";
|
|
11
|
+
import { u as Le } from "./stock-Cwl0vTFc.js";
|
|
12
12
|
const he = Be((Q, w) => {
|
|
13
13
|
const y = be(), u = () => `${Q.inventoryBackendUrl}/${y.currentLocationDBName}/production`;
|
|
14
14
|
return {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as D, ref as A, computed as s, watch as H, resolveComponent as c, createBlock as S, openBlock as x, unref as l, createSlots as Y, withCtx as h, createElementVNode as N, normalizeClass as U, createVNode as m, normalizeStyle as $, Teleport as q, h as p } from "vue";
|
|
2
|
-
import { u as E, a as K, x as j } from "./app-
|
|
2
|
+
import { u as E, a as K, x as j } from "./app-3LTTUXGV.js";
|
|
3
3
|
import { u as G, _ as J } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
|
|
4
4
|
import { useBreakpoints as O, useDialog as Q, useSnackbar as R, components as I } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as X } from "./vue-i18n-
|
|
6
|
-
import { b as k } from "./date2-
|
|
5
|
+
import { u as X } from "./vue-i18n-BflylyI6.js";
|
|
6
|
+
import { b as k } from "./date2-COxwsvjC.js";
|
|
7
7
|
const se = /* @__PURE__ */ D({
|
|
8
8
|
__name: "PublishView",
|
|
9
9
|
setup(Z) {
|
package/dist/{PurchaseOrderPrintPreview-YconyHNq.js → PurchaseOrderPrintPreview-DiFNEpo1.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as b, computed as x, ref as f, onMounted as g, createElementBlock as n, openBlock as o, createElementVNode as t, toDisplayString as e, normalizeStyle as w, createTextVNode as u, createCommentVNode as v, Fragment as i, renderList as p } from "vue";
|
|
2
2
|
import { useRoute as k } from "vue-router";
|
|
3
|
-
import { T as y } from "./app-
|
|
4
|
-
import { L as C } from "./lz-string-
|
|
3
|
+
import { T as y } from "./app-3LTTUXGV.js";
|
|
4
|
+
import { L as C } from "./lz-string-Bv6l1f_h.js";
|
|
5
5
|
import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const R = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "title" }, P = { class: "text-right" }, D = { class: "header" }, O = { class: "sub-header" }, S = { class: "caption" }, T = { class: "address" }, F = { class: "text-right" }, L = {
|
|
7
7
|
key: 0,
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { defineComponent as Se, computed as d, ref as O, watch as ee, resolveComponent as De, createBlock as E, openBlock as y, unref as r, withCtx as q, createElementVNode as f, normalizeClass as xe, createVNode as u, normalizeStyle as Re, createElementBlock as Oe, createCommentVNode as te, toDisplayString as Ee, Teleport as Pe, normalizeProps as re, mergeProps as N, guardReactiveProps as Te, isRef as ke } from "vue";
|
|
2
|
-
import { D as P, u as Ce } from "./app-
|
|
3
|
-
import { i as ae } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { u as we, P as U, a as qe, _ as Ne, g as Ue } from "./TransferDetails.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { a as ne, d as Fe } from "./number-
|
|
6
|
-
import { i as Me } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { d as se } from "./dayjs.min-
|
|
8
|
-
import { e as Ve } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { D as P, u as Ce } from "./app-3LTTUXGV.js";
|
|
3
|
+
import { i as ae } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-DKHAGpNh.js";
|
|
4
|
+
import { u as we, P as U, a as qe, _ as Ne, g as Ue } from "./TransferDetails.vue_vue_type_script_setup_true_lang-BBOf7fYV.js";
|
|
5
|
+
import { a as ne, d as Fe } from "./number-ynuXPnjL.js";
|
|
6
|
+
import { i as Me } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-DGLRNcmC.js";
|
|
7
|
+
import { d as se } from "./dayjs.min-DWnoqqjY.js";
|
|
8
|
+
import { e as Ve } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-CIrcPZpw.js";
|
|
9
9
|
import { u as $e } from "./useTabStorage-BkIVScW_.js";
|
|
10
10
|
import { u as Ae, _ as Ye } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
|
|
11
11
|
import { useSnackbar as He, useBreakpoints as ze } from "@feedmepos/ui-library";
|
|
12
|
-
import { _ as Ie, a as je, b as Ke } from "./EmailDialog.vue_vue_type_script_setup_true_lang-
|
|
12
|
+
import { _ as Ie, a as je, b as Ke } from "./EmailDialog.vue_vue_type_script_setup_true_lang-DCL0xAhX.js";
|
|
13
13
|
import { _ as Le, F as T } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
14
|
-
import { u as Qe } from "./feature-
|
|
15
|
-
import { _ as Je } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
14
|
+
import { u as Qe } from "./feature-DfTXKj23.js";
|
|
15
|
+
import { _ as Je } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-D8v1crGI.js";
|
|
16
16
|
import { useI18n as Xe } from "@feedmepos/mf-common";
|
|
17
|
-
import { _ as Ge } from "./CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-
|
|
17
|
+
import { _ as Ge } from "./CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-C13UItSM.js";
|
|
18
18
|
import { P as We, J as Ze } from "./app-C39bYJmq.js";
|
|
19
|
-
import { u as Be } from "./netsuite-
|
|
20
|
-
import { f as et } from "./predefined-templates-
|
|
21
|
-
import "./inventory-core-dart.default-
|
|
19
|
+
import { u as Be } from "./netsuite-Ct4Xp9dB.js";
|
|
20
|
+
import { f as et } from "./predefined-templates-D71vyBjg.js";
|
|
21
|
+
import "./inventory-core-dart.default-bCvDtSox.js";
|
|
22
22
|
const tt = { class: "flex flex-col py-8" }, rt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, at = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, nt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, st = {
|
|
23
23
|
key: 0,
|
|
24
24
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
|