@feedmepos/mf-inventory-portal 1.8.0-dev.1 → 1.8.0-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.
- package/dist/App-DVHgBTHP.js +1499 -0
- package/dist/{ApprovalView-C8_ax05b.js → ApprovalView-RaXuWWSu.js} +9 -9
- package/dist/{BindingsDialog-t0ZY9eh5.js → BindingsDialog-DomvXijP.js} +2 -2
- package/dist/{BindingsPicker-C0Qblmml.js → BindingsPicker-DGnzxEs7.js} +2 -2
- package/dist/{BindingsTable-CsqUBbRA.js → BindingsTable-DfG9kWrv.js} +4 -4
- package/dist/{BulkReceiveRequestView-DAG-TMox.js → BulkReceiveRequestView-DxHWrfbi.js} +21 -22
- package/dist/ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CVekIoiN.js +151 -0
- package/dist/{ClosingDraftView-CdKp4Ny6.js → ClosingDraftView-C3n66bbh.js} +20 -20
- package/dist/{ClosingHistoryView-Blyq9-BS.js → ClosingHistoryView-kdpYGy1Y.js} +5 -5
- package/dist/{ClosingTemplateView-C326DL4q.js → ClosingTemplateView-DwGloYxn.js} +302 -291
- package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-CXjubRbj.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-9eY_r8LF.js} +1 -1
- package/dist/{DefaultView-CsIMmQAY.js → DefaultView-JC_e4xgC.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-eTrMvJzA.js → DeliveryOrderPrintPreview-BBCvI67S.js} +2 -2
- package/dist/DeprecateSoonWarningDialog.vue_vue_type_script_setup_true_lang-5Cc08Svt.js +58 -0
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-B7nBbxMo.js → EmailDialog.vue_vue_type_script_setup_true_lang-H4FWc9ga.js} +1663 -1668
- package/dist/FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-C1C8aDA6.js +61 -0
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CI2KTzDs.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-Q8Mptiv3.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Db_FiSRe.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CE1_yyHe.js} +2 -2
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CGJi3f86.js +120 -0
- package/dist/{FmMultiselectDialog-CYUxtxnS.js → FmMultiselectDialog-DCaRlBIy.js} +2 -2
- package/dist/{FmMultiselectDialog-BAw-gp5K.js → FmMultiselectDialog-yVPY5aBV.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DOkV11NN.js → FmUnitInput.vue_vue_type_script_setup_true_lang-ClaLVtpK.js} +6 -6
- package/dist/{ImportView-BmotFC-3.js → ImportView-DQrVMzxN.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DVCCpvS4.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-7lT5UZc8.js} +1 -1
- package/dist/IngredientGroupView-BMUnEaY7.js +1000 -0
- package/dist/{IngredientsView-CZ6E7cXf.js → IngredientsView-DPj9lBTK.js} +303 -296
- package/dist/{IntegrationExplorerView-B15ND4Fg.js → IntegrationExplorerView-CO2wpUR_.js} +4 -4
- package/dist/{IntegrationView-hkNhsqx2.js → IntegrationView-DIeZoey0.js} +2403 -2408
- package/dist/{InventoryBindingForm-SfuUF0_O.js → InventoryBindingForm-Cj4_Chue.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-Zq81p_MF.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-CaBOK7NC.js} +5 -5
- package/dist/{InventoryBindingSummary-DUcukkyJ.js → InventoryBindingSummary-yzGzd7jJ.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BmfROiLM.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DzzTPdyF.js} +1 -1
- package/dist/{ProductionRunDetailView-BwgRX-14.js → ProductionRunDetailView-Cw-ecaey.js} +4 -4
- package/dist/{ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-BbNXNhpr.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-BYyiiAWb.js} +7 -7
- package/dist/{ProductionRunView-CZU7LY9-.js → ProductionRunView-C11eseXQ.js} +3 -3
- package/dist/{PublishView-DS2FZ66p.js → PublishView-CPK9NeVF.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-CZa0MVAs.js → PurchaseOrderPrintPreview-DosqWQeN.js} +2 -2
- package/dist/{ReceiveRequestView-Bk5b3nVB.js → ReceiveRequestView-BxSkpK2t.js} +15 -16
- package/dist/{RecipeView-DvI6X-uN.js → RecipeView-oHDWsT0P.js} +19 -20
- package/dist/SettingsView-QlUNwFhM.js +983 -0
- package/dist/{StockView-Z9wGihT7.js → StockView-a8LbVZ_7.js} +324 -322
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DdZg9T4n.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-GdGJCuc0.js} +1 -1
- package/dist/{SupplierView-D8q6siZW.js → SupplierView-BKxKoi_0.js} +451 -447
- package/dist/{SurchargeView-Db_5YFoR.js → SurchargeView-Db4cwhZv.js} +7 -7
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-WOVs4Fr1.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-CpkF77Ow.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BtoP4XgE.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CCCj4WVF.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-Bljc4Vuy.js → TransferDetails.vue_vue_type_script_setup_true_lang-CFNPXqt5.js} +39 -40
- package/dist/{TransferTemplateView-DtsJzmUr.js → TransferTemplateView-CzwxOBMQ.js} +22 -23
- package/dist/{UnitCostHistoryView-BqDiQ4IE.js → UnitCostHistoryView-CqcyjCCd.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-BjSmg5LX.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-DO80_8SZ.js} +4 -4
- package/dist/{UnitView-CM695-VI.js → UnitView-BqdK1AM_.js} +8 -8
- package/dist/{WarehouseView-BdidU4p6.js → WarehouseView-COJM9IXM.js} +193 -189
- package/dist/{WastageTemplateView-DdhwdXT6.js → WastageTemplateView-DW3viTHN.js} +15 -15
- package/dist/api/feature-flags.d.ts +10 -0
- package/dist/api/license.d.ts +9 -0
- package/dist/{app-Cb5s4jMu.js → app-yvK__CBL.js} +143 -106
- package/dist/app.d.ts +36 -0
- package/dist/app.js +1 -1
- package/dist/{closing-template-DnqnpXxn.js → closing-template-DezidSM0.js} +1 -1
- package/dist/components/ChangeLocationComponent.vue.d.ts +21 -14
- package/dist/components/DeprecateSoonWarningDialog.vue.d.ts +22 -0
- package/dist/components/FeatureCapabilityBadge.vue.d.ts +25 -0
- package/dist/components/{PreviewBadge.vue.d.ts → FeatureCapabilityGate.vue.d.ts} +10 -7
- package/dist/components/{PremiumBadge.vue.d.ts → PlanTierBadge.vue.d.ts} +5 -13
- package/dist/components/PlanUpgradeDialog.vue.d.ts +30 -0
- package/dist/composable/useNavigationMenu.d.ts +2 -1
- package/dist/{date2-BPhD_1Of.js → date2-2XjepIqc.js} +1 -1
- package/dist/{dayjs.min-Zbd6-uVD.js → dayjs.min-CNp5DLBB.js} +1 -1
- package/dist/{decimal-Df6a50Ld.js → decimal-Z7oJdGk8.js} +2 -2
- package/dist/{defineDeepModel-Brbsikbi.js → defineDeepModel-CMxJn_H2.js} +1 -1
- package/dist/{duplicate-template-B9kuShaF.js → duplicate-template-BetV5oy_.js} +1 -1
- package/dist/{inventory-core-dart.default-DDRxXXnt.js → feature-CkWaZ-5K.js} +3046 -1837
- package/dist/feature-flags/core.d.ts +27 -0
- package/dist/feature-flags/core.spec.d.ts +1 -0
- package/dist/feature-flags/navigation-capabilities.d.ts +23 -0
- package/dist/feature-flags/navigation-capabilities.spec.d.ts +1 -0
- package/dist/feature-flags/plan-tier.d.ts +6 -0
- package/dist/feature-flags/plan-tier.spec.d.ts +1 -0
- package/dist/feature-flags/portal-feature-catalog.d.ts +24 -0
- package/dist/feature-flags/vue.d.ts +14 -0
- package/dist/{format-time-from-id-DmUjUcVj.js → format-time-from-id-DatSI9uD.js} +1 -1
- package/dist/{format-unit-display-CsQA0SQd.js → format-unit-display-DM5We5cx.js} +13 -13
- package/dist/id-to-date-Dxw2jKhy.js +67 -0
- package/dist/{import-export.helper-DCQ6oX9s.js → import-export.helper-BOmADwUw.js} +6 -6
- package/dist/{index-C-mazZwS.js → index-7fz5sGDO.js} +3 -3
- package/dist/{index-UmM6gHJ1.js → index-CIH9NCvs.js} +1 -1
- package/dist/{index-BXaIMGnI.js → index-ClYgfwW7.js} +1 -1
- package/dist/{lz-string-Bibw5D_6.js → lz-string-CCsc2X7t.js} +1 -1
- package/dist/{netsuite-Bev0OtQT.js → netsuite-COumFXC2.js} +2 -2
- package/dist/{number-y_W4pn_d.js → number-gSLvxNqA.js} +3 -3
- package/dist/portal-feature-catalog-yGIESKTc.js +246 -0
- package/dist/{predefined-templates-BHvUnTk_.js → predefined-templates-Bw9A9LNA.js} +1 -1
- package/dist/{purchase-order-template-DgOKEzhS.js → purchase-order-template-BaZjdGq8.js} +1 -1
- package/dist/{recalculationUtils-Dv__DzZh.js → recalculationUtils-t32wAurN.js} +1 -1
- package/dist/{row-action.enum-ncgDYAjP.js → row-action.enum-BDeudY4d.js} +2 -2
- package/dist/{rules-CZTBvenw.js → rules-C1btu0Md.js} +2 -2
- package/dist/{stock-CxCRZo_D.js → stock-B59sfN28.js} +1 -1
- package/dist/{stock-XINW8JOM.js → stock-BF86TMW0.js} +3 -3
- package/dist/stores/feature.d.ts +12 -0
- package/dist/{supplier-CkZdeMcl.js → supplier-DnbLJ_cS.js} +2 -2
- package/dist/{surcharge-FRSFqjGl.js → surcharge-C1uE3uQa.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-Cm1styDr.js → uom-rules-DjfyrFHJ.js} +1 -1
- package/dist/{use-ingredient-select-dialog-ntAqHX04.js → use-ingredient-select-dialog-7A7fWyEH.js} +2 -2
- package/dist/{use-inventory-binding-dialog-DVIJO8Cl.js → use-inventory-binding-dialog-Cc1tjTfV.js} +2 -2
- package/dist/{use-template-enabled-locations-CIZqw-Z8.js → use-template-enabled-locations-C-Hqqgzt.js} +2 -2
- package/dist/{use-transfer-locations-CM5vNttA.js → use-transfer-locations-CqsXvOI2.js} +2 -2
- package/dist/{useHrmPermission-CslLuBoP.js → useHrmPermission-BzwD3Ctc.js} +1 -1
- package/dist/useNavigationMenu-PrZg9HS7.js +352 -0
- package/dist/{useSseClient-CCV4mPzD.js → useSseClient-FCyLWq8k.js} +1 -1
- package/dist/views/integration/components/IntegrationCard.vue.d.ts +38 -0
- package/dist/views/settings/FeatureFlagView.vue.d.ts +2 -0
- package/dist/{vue-i18n-C5j4EQhi.js → vue-i18n-C34f-Tph.js} +434 -434
- package/dist/{xlsx.util-B50OvX4z.js → xlsx.util-X4amwe_k.js} +2 -2
- package/package.json +6 -6
- package/dist/App-BXgpGzGR.js +0 -1476
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-zcEv1Swg.js +0 -243
- package/dist/IngredientGroupView-qrR9ksEn.js +0 -985
- package/dist/PremiumBadge.vue_vue_type_script_setup_true_lang-3e3kDsbN.js +0 -93
- package/dist/PreviewBadge.vue_vue_type_script_setup_true_lang-DX2MJqL4.js +0 -29
- package/dist/SettingsView-sThYErMz.js +0 -698
- package/dist/feature-Ckn5ra3z.js +0 -1136
- package/dist/useNavigationMenu-CSinmNCY.js +0 -172
- /package/dist/components/{FmFeatureFlagDialog.vue.d.ts → DeprecateSoonPill.vue.d.ts} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { defineComponent as ce, ref as y, watch as de, computed as c, resolveComponent as fe, createBlock as Z, openBlock as x, unref as a, withCtx as T, createElementVNode as p, normalizeClass as ve, createVNode as u, normalizeStyle as he, createElementBlock as _e, createCommentVNode as De, toDisplayString as ge, Teleport as ye, mergeProps as be, isRef as Re } from "vue";
|
|
2
|
-
import { u as Oe, D as b } from "./app-
|
|
3
|
-
import { a as Se } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { u as Pe, P as w, a as xe, _ as Te } from "./TransferDetails.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { c as I } from "./date2-
|
|
2
|
+
import { u as Oe, D as b } from "./app-yvK__CBL.js";
|
|
3
|
+
import { a as Se } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-Q8Mptiv3.js";
|
|
4
|
+
import { u as Pe, P as w, a as xe, _ as Te } from "./TransferDetails.vue_vue_type_script_setup_true_lang-CFNPXqt5.js";
|
|
5
|
+
import { c as I } from "./date2-2XjepIqc.js";
|
|
6
6
|
import { u as we, _ as ke } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DpwneGOV.js";
|
|
7
7
|
import { _ as qe, F as R } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
8
8
|
import { useBreakpoints as Ce } from "@feedmepos/ui-library";
|
|
9
|
-
import { _ as Ne } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as Ne } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CGJi3f86.js";
|
|
10
10
|
import { useI18n as Ve } from "@feedmepos/mf-common";
|
|
11
11
|
import { P as Ae, J as Me } from "./app-C39bYJmq.js";
|
|
12
|
-
import { u as Fe } from "./netsuite-
|
|
13
|
-
import { f as Le } from "./predefined-templates-
|
|
14
|
-
import "./
|
|
15
|
-
import { _ as $e } from "./CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-
|
|
12
|
+
import { u as Fe } from "./netsuite-COumFXC2.js";
|
|
13
|
+
import { f as Le } from "./predefined-templates-Bw9A9LNA.js";
|
|
14
|
+
import "./feature-CkWaZ-5K.js";
|
|
15
|
+
import { _ as $e } from "./CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-9eY_r8LF.js";
|
|
16
16
|
const ze = { class: "flex flex-col py-8" }, Ee = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ue = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary line-clamp-1" }, Ye = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1" }, He = {
|
|
17
17
|
key: 0,
|
|
18
18
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as C, ref as o, onMounted as M, onUnmounted as F, watch as x, resolveComponent as l, createElementBlock as c, openBlock as i, createBlock as I, withCtx as R, createVNode as a, createCommentVNode as z, createElementVNode as P } from "vue";
|
|
2
|
-
import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { a as L, av as S } from "./app-
|
|
2
|
+
import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-CaBOK7NC.js";
|
|
3
|
+
import { a as L, av as S } from "./app-yvK__CBL.js";
|
|
4
4
|
const U = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "flex justify-end gap-8 items-center"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as S, computed as r, ref as l, onMounted as U, onUnmounted as V, resolveComponent as E, createElementBlock as p, openBlock as f, createVNode as u, createElementVNode as k } from "vue";
|
|
2
|
-
import { a as M } from "./FmMultiselectDialog-
|
|
3
|
-
import { a as x, av as z } from "./app-
|
|
2
|
+
import { a as M } from "./FmMultiselectDialog-DCaRlBIy.js";
|
|
3
|
+
import { a as x, av as z } from "./app-yvK__CBL.js";
|
|
4
4
|
const F = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "flex flex-col gap-16"
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { defineComponent as x, ref as r, provide as C, computed as g, resolveComponent as h, createElementBlock as u, openBlock as l, createStaticVNode as F, Fragment as L, renderList as I, createElementVNode as p, toDisplayString as v, createVNode as w, withModifiers as N, onMounted as E, onUnmounted as z, createBlock as M } from "vue";
|
|
2
|
-
import { F as b, a as P, av as R } from "./app-
|
|
3
|
-
import "./dayjs.min-
|
|
2
|
+
import { F as b, a as P, av as R } from "./app-yvK__CBL.js";
|
|
3
|
+
import "./dayjs.min-CNp5DLBB.js";
|
|
4
4
|
import "@feedmepos/ui-library";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import "@feedmepos/mf-common";
|
|
7
7
|
import "./app-C39bYJmq.js";
|
|
8
|
-
import "./netsuite-
|
|
9
|
-
import "./
|
|
8
|
+
import "./netsuite-COumFXC2.js";
|
|
9
|
+
import "./feature-CkWaZ-5K.js";
|
|
10
10
|
const U = { class: "" }, D = ["onClick"], O = { class: "flex-grow-0 flex-shrink-0 basis-5/12 py-8 pl-8" }, V = { class: "flex-grow-0 flex-shrink-0 basis-3/12 py-8" }, S = { class: "flex-grow-0 flex-shrink-0 basis-3/12 py-8" }, $ = { class: "flex-grow-0 flex-shrink-0 basis-1/12 py-4" }, T = /* @__PURE__ */ x({
|
|
11
11
|
__name: "binding-ui",
|
|
12
12
|
props: {
|
|
@@ -1,33 +1,32 @@
|
|
|
1
1
|
import { defineComponent as nt, ref as S, computed as L, watch as Ve, createElementBlock as h, openBlock as c, Fragment as we, createBlock as de, createVNode as N, Teleport as lt, Transition as $t, withCtx as Be, createCommentVNode as E, createElementVNode as e, toDisplayString as v, unref as t, normalizeClass as j, renderList as Ke, createTextVNode as ot, withModifiers as Ot, mergeModels as At, useModel as Bt, resolveComponent as $e, h as De, onMounted as Tt, onUnmounted as It, normalizeStyle as ft, watchEffect as Lt, isRef as ht, normalizeProps as gt, mergeProps as ct, guardReactiveProps as zt } from "vue";
|
|
2
|
-
import { u as Mt, l as Ut } from "./netsuite-
|
|
3
|
-
import { u as it, a as Vt, G as Jt, Z as _t, s as jt, _ as We, q as Wt, c as Yt, D as at, x as Qt } from "./app-
|
|
4
|
-
import { i as pt, _ as Ht } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { a as xt, d as Kt } from "./number-
|
|
6
|
-
import { b as Gt, d as Xt, c as Zt, e as en, f as tn, P as Rt, h as nn, a as sn, _ as on, g as an } from "./TransferDetails.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { i as rn } from "./
|
|
8
|
-
import { d as Ye } from "./dayjs.min-
|
|
9
|
-
import { e as ln } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as Mt, l as Ut } from "./netsuite-COumFXC2.js";
|
|
3
|
+
import { u as it, a as Vt, G as Jt, Z as _t, s as jt, _ as We, q as Wt, c as Yt, D as at, x as Qt } from "./app-yvK__CBL.js";
|
|
4
|
+
import { i as pt, _ as Ht } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-Q8Mptiv3.js";
|
|
5
|
+
import { a as xt, d as Kt } from "./number-gSLvxNqA.js";
|
|
6
|
+
import { b as Gt, d as Xt, c as Zt, e as en, f as tn, P as Rt, h as nn, a as sn, _ as on, g as an } from "./TransferDetails.vue_vue_type_script_setup_true_lang-CFNPXqt5.js";
|
|
7
|
+
import { i as rn } from "./id-to-date-Dxw2jKhy.js";
|
|
8
|
+
import { d as Ye } from "./dayjs.min-CNp5DLBB.js";
|
|
9
|
+
import { e as ln } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-DO80_8SZ.js";
|
|
10
10
|
import { u as un } from "./useTabStorage-BkIVScW_.js";
|
|
11
11
|
import { u as wt, _ as cn } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DpwneGOV.js";
|
|
12
12
|
import { components as dn, useSnackbar as ut, useDialog as mn, useBreakpoints as fn } from "@feedmepos/ui-library";
|
|
13
|
-
import { c as pn, u as vn, _ as yn, a as bn, b as hn } from "./EmailDialog.vue_vue_type_script_setup_true_lang-
|
|
13
|
+
import { c as pn, u as vn, _ as yn, a as bn, b as hn } from "./EmailDialog.vue_vue_type_script_setup_true_lang-H4FWc9ga.js";
|
|
14
14
|
import { useI18n as st, useCoreStore as Pt } from "@feedmepos/mf-common";
|
|
15
|
-
import { u as Dt, a as gn } from "./supplier-
|
|
16
|
-
import { u as _n } from "./stock-
|
|
17
|
-
import { u as Ge } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-
|
|
18
|
-
import { b as Et, a as xn } from "./format-unit-display-
|
|
19
|
-
import { P as wn } from "./
|
|
15
|
+
import { u as Dt, a as gn } from "./supplier-DnbLJ_cS.js";
|
|
16
|
+
import { u as _n } from "./stock-B59sfN28.js";
|
|
17
|
+
import { u as Ge } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-CpkF77Ow.js";
|
|
18
|
+
import { b as Et, a as xn } from "./format-unit-display-DM5We5cx.js";
|
|
19
|
+
import { P as wn, u as qt } from "./feature-CkWaZ-5K.js";
|
|
20
20
|
import { _ as kn, F as et } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
21
|
-
import { u as qt } from "./feature-Ckn5ra3z.js";
|
|
22
21
|
import { P as Cn, J as Fn, D as Sn } from "./app-C39bYJmq.js";
|
|
23
|
-
import { a as Rn, t as Pn } from "./date2-
|
|
22
|
+
import { a as Rn, t as Pn } from "./date2-2XjepIqc.js";
|
|
24
23
|
import { F as kt } from "./form-mode.enum-BKiNVH6A.js";
|
|
25
|
-
import { p as Dn } from "./format-time-from-id-
|
|
24
|
+
import { p as Dn } from "./format-time-from-id-DatSI9uD.js";
|
|
26
25
|
import { defineStore as En } from "pinia";
|
|
27
|
-
import { u as qn } from "./useSseClient-
|
|
26
|
+
import { u as qn } from "./useSseClient-FCyLWq8k.js";
|
|
28
27
|
import { u as Nn } from "./use-row-action-Cvq6VO38.js";
|
|
29
|
-
import { R as rt, D as $n } from "./row-action.enum-
|
|
30
|
-
import { u as On } from "./vue-i18n-
|
|
28
|
+
import { R as rt, D as $n } from "./row-action.enum-BDeudY4d.js";
|
|
29
|
+
import { u as On } from "./vue-i18n-C34f-Tph.js";
|
|
31
30
|
const An = {
|
|
32
31
|
key: 0,
|
|
33
32
|
class: "fixed inset-0 z-[200] bg-white flex flex-col overflow-hidden",
|
|
@@ -2156,7 +2155,7 @@ const No = {
|
|
|
2156
2155
|
}, ka = { class: "pt-8" }, Ca = {
|
|
2157
2156
|
key: 0,
|
|
2158
2157
|
class: "absolute inset-0 z-10 flex items-center justify-center bg-fm-color-opacity-sm"
|
|
2159
|
-
}, Fa = { class: "flex items-center gap-12 rounded-md bg-white px-16 py-8 shadow-lg" }, Sa = { class: "fm-typo-en-body-md-400" }, St = "BulkReceiveRequestViewSearchCriteria",
|
|
2158
|
+
}, Fa = { class: "flex items-center gap-12 rounded-md bg-white px-16 py-8 shadow-lg" }, Sa = { class: "fm-typo-en-body-md-400" }, St = "BulkReceiveRequestViewSearchCriteria", sr = /* @__PURE__ */ nt({
|
|
2160
2159
|
__name: "BulkReceiveRequestView",
|
|
2161
2160
|
setup(k) {
|
|
2162
2161
|
const { t: _ } = st(), C = ut();
|
|
@@ -2653,5 +2652,5 @@ const No = {
|
|
|
2653
2652
|
}
|
|
2654
2653
|
});
|
|
2655
2654
|
export {
|
|
2656
|
-
|
|
2655
|
+
sr as default
|
|
2657
2656
|
};
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
import { defineComponent as T, mergeModels as U, useModel as W, computed as i, ref as q, resolveComponent as k, createElementBlock as c, openBlock as t, createVNode as L, withCtx as D, createElementVNode as f, unref as s, createBlock as w, createCommentVNode as R, Fragment as d, renderList as z, createTextVNode as B, toDisplayString as m } from "vue";
|
|
2
|
+
import { u as A } from "./app-yvK__CBL.js";
|
|
3
|
+
import { useCoreStore as G, useI18n as H } from "@feedmepos/mf-common";
|
|
4
|
+
const J = { class: "inline-flex" }, K = {
|
|
5
|
+
"data-testid": "inventory-location-selector",
|
|
6
|
+
class: "inline-flex rounded-md items-center gap-4 justify-center h-[30px] px-8 py-4 bg-fm-color-neutral-gray-100 cursor-pointer text-fm-color-neutral-gray-400"
|
|
7
|
+
}, P = { class: "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap" }, Q = { class: "relative" }, X = { class: "sticky top-0 py-8 bg-white translate-y-[-12px]" }, oe = /* @__PURE__ */ T({
|
|
8
|
+
__name: "ChangeLocationComponent",
|
|
9
|
+
props: /* @__PURE__ */ U({
|
|
10
|
+
showBusiness: { type: Boolean },
|
|
11
|
+
selectionOnly: { type: Boolean, default: !1 }
|
|
12
|
+
}, {
|
|
13
|
+
modelValue: { default: null },
|
|
14
|
+
modelModifiers: {}
|
|
15
|
+
}),
|
|
16
|
+
emits: ["update:modelValue"],
|
|
17
|
+
setup(g) {
|
|
18
|
+
const y = g, r = W(g, "modelValue"), l = A(), V = G(), N = i(() => {
|
|
19
|
+
var e;
|
|
20
|
+
return (e = V.currentBusiness.value) == null ? void 0 : e.name;
|
|
21
|
+
}), M = i(
|
|
22
|
+
() => {
|
|
23
|
+
var e;
|
|
24
|
+
return (e = V.currentBusiness.value) != null && e._id ? `business_${V.currentBusiness.value._id}` : null;
|
|
25
|
+
}
|
|
26
|
+
), { t: C } = H(), h = q(""), a = i({
|
|
27
|
+
get() {
|
|
28
|
+
return y.selectionOnly ? r.value === M.value : l.businessLevel;
|
|
29
|
+
},
|
|
30
|
+
set(e) {
|
|
31
|
+
if (y.selectionOnly) {
|
|
32
|
+
r.value = e ? M.value : null;
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
l.businessLevel = e;
|
|
36
|
+
}
|
|
37
|
+
}), S = i(
|
|
38
|
+
() => l.locations.map((e) => ({
|
|
39
|
+
label: e.name,
|
|
40
|
+
value: e.dbName,
|
|
41
|
+
type: e.type,
|
|
42
|
+
code: e.doc.profile.code ?? "--"
|
|
43
|
+
})).filter((e) => {
|
|
44
|
+
var v;
|
|
45
|
+
if (!h.value) return !0;
|
|
46
|
+
const n = h.value.toLocaleLowerCase();
|
|
47
|
+
return e.label.toLocaleLowerCase().includes(n) || ((v = e.code) == null ? void 0 : v.toLocaleLowerCase().includes(n));
|
|
48
|
+
})
|
|
49
|
+
), F = i(
|
|
50
|
+
() => S.value.filter((e) => e.type === "restaurant")
|
|
51
|
+
), I = i(
|
|
52
|
+
() => S.value.filter((e) => e.type === "warehouse")
|
|
53
|
+
);
|
|
54
|
+
function x({ value: e }) {
|
|
55
|
+
if (y.selectionOnly) {
|
|
56
|
+
r.value = e;
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
a.value = !1, l.selectLocation(l.locations.find((n) => n.dbName === e));
|
|
60
|
+
}
|
|
61
|
+
function O(e) {
|
|
62
|
+
var n;
|
|
63
|
+
return y.selectionOnly ? !a.value && r.value === e.value : !a.value && ((n = l._currentLocation) == null ? void 0 : n.dbName) === e.value;
|
|
64
|
+
}
|
|
65
|
+
return (e, n) => {
|
|
66
|
+
const v = k("FmIcon"), E = k("FmSearch"), _ = k("FmMenuItem"), j = k("FmMenu");
|
|
67
|
+
return t(), c("div", J, [
|
|
68
|
+
L(j, { "close-on-click": !0 }, {
|
|
69
|
+
"menu-button": D(() => {
|
|
70
|
+
var o, u;
|
|
71
|
+
return [
|
|
72
|
+
f("div", K, [
|
|
73
|
+
L(v, {
|
|
74
|
+
name: e.showBusiness && a.value ? "store" : "storefront",
|
|
75
|
+
size: "sm"
|
|
76
|
+
}, null, 8, ["name"]),
|
|
77
|
+
f("div", P, [
|
|
78
|
+
e.showBusiness && a.value ? (t(), c(d, { key: 0 }, [
|
|
79
|
+
B(m(N.value), 1)
|
|
80
|
+
], 64)) : e.selectionOnly && r.value ? (t(), c(d, { key: 1 }, [
|
|
81
|
+
B(m((o = s(l).locationByDbName[r.value]) == null ? void 0 : o.name) + " (" + m(((u = s(l).locationByDbName[r.value]) == null ? void 0 : u.doc.profile.code) ?? "--") + ") ", 1)
|
|
82
|
+
], 64)) : s(l)._currentLocation ? (t(), c(d, { key: 2 }, [
|
|
83
|
+
B(m(s(l)._currentLocation.name) + " (" + m(s(l)._currentLocation.doc.profile.code ?? "--") + ") ", 1)
|
|
84
|
+
], 64)) : (t(), c(d, { key: 3 }, [
|
|
85
|
+
B(m(s(C)("inventory.common.noLocationSelected")), 1)
|
|
86
|
+
], 64))
|
|
87
|
+
]),
|
|
88
|
+
L(v, {
|
|
89
|
+
name: "expand_more",
|
|
90
|
+
size: "sm"
|
|
91
|
+
})
|
|
92
|
+
])
|
|
93
|
+
];
|
|
94
|
+
}),
|
|
95
|
+
default: D(() => [
|
|
96
|
+
f("div", Q, [
|
|
97
|
+
f("div", X, [
|
|
98
|
+
L(E, {
|
|
99
|
+
"model-value": h.value,
|
|
100
|
+
"onUpdate:modelValue": n[0] || (n[0] = (o) => h.value = o),
|
|
101
|
+
placeholder: s(C)("inventory.common.table.toolbar.filterItems")
|
|
102
|
+
}, null, 8, ["model-value", "placeholder"])
|
|
103
|
+
]),
|
|
104
|
+
f("div", null, [
|
|
105
|
+
e.showBusiness ? (t(), w(_, {
|
|
106
|
+
key: 0,
|
|
107
|
+
"data-testid": "inventory-business-selector",
|
|
108
|
+
"model-value": a.value,
|
|
109
|
+
label: N.value,
|
|
110
|
+
sublabel: "Business",
|
|
111
|
+
onClick: n[1] || (n[1] = (o) => a.value = !0)
|
|
112
|
+
}, null, 8, ["model-value", "label"])) : R("", !0),
|
|
113
|
+
(t(!0), c(d, null, z(F.value, (o) => (t(), w(_, {
|
|
114
|
+
key: o.value,
|
|
115
|
+
"model-value": O(o),
|
|
116
|
+
label: `${o.label} (${o.code})`,
|
|
117
|
+
sublabel: "Restaurant",
|
|
118
|
+
onClick: (u) => x(o),
|
|
119
|
+
onVnodeMounted: (u) => {
|
|
120
|
+
var p, b, $;
|
|
121
|
+
return !a.value && ((p = s(l)._currentLocation) == null ? void 0 : p.dbName) === o.value && ((b = u.el) == null || b.scrollIntoView({ behavior: "instant", block: "end" }), ($ = u.el) == null || $.scrollIntoView({ behavior: "smooth", block: "center" })), void 0;
|
|
122
|
+
}
|
|
123
|
+
}, null, 8, ["model-value", "label", "onClick", "onVnodeMounted"]))), 128)),
|
|
124
|
+
(t(!0), c(d, null, z(I.value, (o) => (t(), w(_, {
|
|
125
|
+
key: o.value,
|
|
126
|
+
"model-value": O(o),
|
|
127
|
+
label: o.label,
|
|
128
|
+
sublabel: "Warehouse",
|
|
129
|
+
onClick: (u) => x(o),
|
|
130
|
+
onVnodeMounted: (u) => {
|
|
131
|
+
var p, b;
|
|
132
|
+
return !a.value && ((p = s(l)._currentLocation) == null ? void 0 : p.dbName) === o.value && ((b = u.el) == null || b.scrollIntoView({ behavior: "smooth", block: "center" })), void 0;
|
|
133
|
+
}
|
|
134
|
+
}, null, 8, ["model-value", "label", "onClick", "onVnodeMounted"]))), 128)),
|
|
135
|
+
!e.showBusiness && !F.value.length && !I.value.length ? (t(), w(_, {
|
|
136
|
+
key: 1,
|
|
137
|
+
disabled: "",
|
|
138
|
+
label: s(C)("inventory.common.noResultFound")
|
|
139
|
+
}, null, 8, ["label"])) : R("", !0)
|
|
140
|
+
])
|
|
141
|
+
])
|
|
142
|
+
]),
|
|
143
|
+
_: 1
|
|
144
|
+
})
|
|
145
|
+
]);
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
});
|
|
149
|
+
export {
|
|
150
|
+
oe as _
|
|
151
|
+
};
|
|
@@ -2,28 +2,28 @@ import { defineComponent as De, ref as q, computed as C, onMounted as mo, resolv
|
|
|
2
2
|
import { u as nn, _ as an } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DpwneGOV.js";
|
|
3
3
|
import { useCoreStore as po, useI18n as tt } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as Ne, useDialog as fo, components as be, useProxiedModel as Mt, useBreakpoints as sn } from "@feedmepos/ui-library";
|
|
5
|
-
import { d as rn, u as qe, V as fe, w as se, q as vo, s as Ie, W as xe, B as Le, c as ln, a as Ut, X as cn, k as un } from "./app-
|
|
5
|
+
import { d as rn, u as qe, V as fe, w as se, q as vo, s as Ie, W as xe, B as Le, c as ln, a as Ut, X as cn, k as un } from "./app-yvK__CBL.js";
|
|
6
6
|
import { defineStore as go, storeToRefs as dn } from "pinia";
|
|
7
|
-
import { c as Ke, e as yo, f as mn, b as Fe } from "./date2-
|
|
8
|
-
import { R as bo } from "./rules-
|
|
9
|
-
import { e as _t, c as Xe, j as et, m as ho, o as _o, a as pn, k as ko, l as me, t as fn } from "./number-
|
|
10
|
-
import { b as vn, d as gn, u as gt, w as yn, c as bn } from "./xlsx.util-
|
|
11
|
-
import { i as Nt, u as Pt } from "./uom-rules-
|
|
12
|
-
import { u as hn } from "./stock-
|
|
13
|
-
import { u as kt } from "./stock-
|
|
14
|
-
import { D as co, R as He } from "./row-action.enum-
|
|
7
|
+
import { c as Ke, e as yo, f as mn, b as Fe } from "./date2-2XjepIqc.js";
|
|
8
|
+
import { R as bo } from "./rules-C1btu0Md.js";
|
|
9
|
+
import { e as _t, c as Xe, j as et, m as ho, o as _o, a as pn, k as ko, l as me, t as fn } from "./number-gSLvxNqA.js";
|
|
10
|
+
import { b as vn, d as gn, u as gt, w as yn, c as bn } from "./xlsx.util-X4amwe_k.js";
|
|
11
|
+
import { i as Nt, u as Pt } from "./uom-rules-DjfyrFHJ.js";
|
|
12
|
+
import { u as hn } from "./stock-BF86TMW0.js";
|
|
13
|
+
import { u as kt } from "./stock-B59sfN28.js";
|
|
14
|
+
import { D as co, R as He } from "./row-action.enum-BDeudY4d.js";
|
|
15
15
|
import { c as _n } from "./component-BmLAdDiY.js";
|
|
16
|
-
import { f as kn } from "./format-time-from-id-
|
|
17
|
-
import { i as wn } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-
|
|
18
|
-
import { f as xn } from "./recalculationUtils-
|
|
19
|
-
import { _ as Dn } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
16
|
+
import { f as kn } from "./format-time-from-id-DatSI9uD.js";
|
|
17
|
+
import { i as wn } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-Q8Mptiv3.js";
|
|
18
|
+
import { f as xn } from "./recalculationUtils-t32wAurN.js";
|
|
19
|
+
import { _ as Dn } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CGJi3f86.js";
|
|
20
20
|
import { _ as An } from "./CursorPaginatedTable.vue_vue_type_script_setup_true_lang-BCUhtL_B.js";
|
|
21
21
|
import { _ as wo } from "./empty-placeholder-B0QU467o.js";
|
|
22
22
|
import { F as Tt } from "./FmAdminBadge-DlplQOHb.js";
|
|
23
|
-
import { u as $n } from "./vue-i18n-
|
|
24
|
-
import { F as Cn } from "./decimal-
|
|
25
|
-
import { u as Sn } from "./useSseClient-
|
|
26
|
-
import { d as Fn } from "./dayjs.min-
|
|
23
|
+
import { u as $n } from "./vue-i18n-C34f-Tph.js";
|
|
24
|
+
import { F as Cn } from "./decimal-Z7oJdGk8.js";
|
|
25
|
+
import { u as Sn } from "./useSseClient-FCyLWq8k.js";
|
|
26
|
+
import { d as Fn } from "./dayjs.min-CNp5DLBB.js";
|
|
27
27
|
import { F as In } from "./FmDroppableField-J0tG_U3w.js";
|
|
28
28
|
import { _ as Bn } from "./FmConfirmationButton.vue_vue_type_script_setup_true_lang-Vg8U7WMZ.js";
|
|
29
29
|
import { _ as Tn, F as Je } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
@@ -934,7 +934,7 @@ const xo = go(
|
|
|
934
934
|
const [y] = await Promise.all([
|
|
935
935
|
c.getDraft(f),
|
|
936
936
|
new Promise((Y) => setTimeout(Y, 1e3))
|
|
937
|
-
]), { toClosingDraftListItem: N } = await import("./index-
|
|
937
|
+
]), { toClosingDraftListItem: N } = await import("./index-ClYgfwW7.js");
|
|
938
938
|
l.value = k([
|
|
939
939
|
N(y)
|
|
940
940
|
]), x(f);
|
|
@@ -964,7 +964,7 @@ const xo = go(
|
|
|
964
964
|
}
|
|
965
965
|
}
|
|
966
966
|
async function w(f, y) {
|
|
967
|
-
const { toClosingDraftListItem: N } = await import("./index-
|
|
967
|
+
const { toClosingDraftListItem: N } = await import("./index-ClYgfwW7.js");
|
|
968
968
|
return {
|
|
969
969
|
...N(
|
|
970
970
|
f
|
|
@@ -977,7 +977,7 @@ const xo = go(
|
|
|
977
977
|
};
|
|
978
978
|
}
|
|
979
979
|
async function re(f) {
|
|
980
|
-
const { toClosingDraftListItem: y } = await import("./index-
|
|
980
|
+
const { toClosingDraftListItem: y } = await import("./index-ClYgfwW7.js");
|
|
981
981
|
l.value = l.value.map((N) => N._id === f._id ? {
|
|
982
982
|
...y(f),
|
|
983
983
|
_rev: f._rev,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as se, ref as p, computed as D, watch as ue, resolveComponent as x, createElementBlock as y, openBlock as u, createVNode as _, withCtx as $, createElementVNode as a, createCommentVNode as w, toDisplayString as r, unref as d, Fragment as j, createBlock as G, createTextVNode as ae, renderList as re, normalizeClass as fe, h as W, Teleport as ge } from "vue";
|
|
2
2
|
import { _ as ve } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DpwneGOV.js";
|
|
3
3
|
import { useI18n as le, useCoreStore as he } from "@feedmepos/mf-common";
|
|
4
|
-
import { G as me, B as N, a as _e, u as be } from "./app-
|
|
4
|
+
import { G as me, B as N, a as _e, u as be } from "./app-yvK__CBL.js";
|
|
5
5
|
import { F as ce } from "./FmAdminBadge-DlplQOHb.js";
|
|
6
|
-
import { _ as ke } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as ke } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CGJi3f86.js";
|
|
7
7
|
import { _ as de } from "./CursorPaginatedTable.vue_vue_type_script_setup_true_lang-BCUhtL_B.js";
|
|
8
8
|
import { useSnackbar as pe, useDialog as De } from "@feedmepos/ui-library";
|
|
9
|
-
import { u as xe } from "./stock-
|
|
10
|
-
import { g as Se, f as we } from "./recalculationUtils-
|
|
11
|
-
import { _ as Ve } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { u as xe } from "./stock-B59sfN28.js";
|
|
10
|
+
import { g as Se, f as we } from "./recalculationUtils-t32wAurN.js";
|
|
11
|
+
import { _ as Ve } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-DO80_8SZ.js";
|
|
12
12
|
const Ce = { class: "fm-typo-en-heading-lg-600" }, Fe = { class: "flex flex-col gap-16" }, Ae = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Ie = { class: "flex flex-col gap-8" }, $e = { class: "fm-typo-en-body-md-600" }, Be = { class: "flex flex-col gap-8" }, Te = { class: "fm-typo-en-body-md-600" }, Le = {
|
|
13
13
|
key: 0,
|
|
14
14
|
class: "text-red-500 text-sm mt-2"
|