@feedmepos/mf-inventory-portal 1.7.2-dev.1 → 1.7.2-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-CPiZvK24.js → App-ByQsWsux.js} +4 -4
- package/dist/{ApprovalView-j2I6kj-5.js → ApprovalView-B8IHv-MP.js} +11 -11
- package/dist/{BindingsDialog-C1MnTVRl.js → BindingsDialog-BWFYy018.js} +2 -2
- package/dist/{BindingsPicker-CpFT0xnq.js → BindingsPicker-BTrQKndU.js} +2 -2
- package/dist/{BindingsTable-CFDJOUOJ.js → BindingsTable-CUswvy2T.js} +3 -3
- package/dist/{BulkReceiveRequestView-LgTAo-XE.js → BulkReceiveRequestView-r8C2SPMH.js} +19 -19
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CiUxzxG1.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-DZHlmTL9.js} +1 -1
- package/dist/{ClosingDraftView-CjSrjCXS.js → ClosingDraftView-CIfZLApY.js} +19 -19
- package/dist/{ClosingHistoryView-BcV1olc-.js → ClosingHistoryView-CaD1xhmM.js} +32 -32
- package/dist/{ClosingTemplateView-B6664Bln.js → ClosingTemplateView-C0OvsmJ4.js} +16 -16
- package/dist/{DefaultView-k_cX_Rgq.js → DefaultView-l0-z0i7P.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-Cndz9b3u.js → DeliveryOrderPrintPreview-BhqqbNbz.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-iQkhFqNy.js → EmailDialog.vue_vue_type_script_setup_true_lang-DAp4el8X.js} +2262 -2262
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-DYkSnV3W.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-D3eXBcWj.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CaC6H0vH.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C9GpwdRQ.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DHGRyJJ2.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BOedO11b.js} +2 -2
- package/dist/{FmMultiselectDialog-CqSQTy19.js → FmMultiselectDialog-CXtK2ZsB.js} +2 -2
- package/dist/{FmMultiselectDialog-DcbsQv6c.js → FmMultiselectDialog-D9oGXLFE.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-Bw3hWPX4.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CzZ70aMc.js} +5 -5
- package/dist/{ImportView-BEmVVjdx.js → ImportView-ANrHmifJ.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DVcaNiLi.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CXM8rPZC.js} +1 -1
- package/dist/{IngredientGroupView-Bcprjpgu.js → IngredientGroupView-DCi5Qd1w.js} +5 -5
- package/dist/{IngredientsView-DUDgGzz8.js → IngredientsView-DRPxANKi.js} +15 -15
- package/dist/{IntegrationExplorerView-D5RBT4zR.js → IntegrationExplorerView-DBoqKSj4.js} +4 -4
- package/dist/IntegrationView-agoanWWf.js +6271 -0
- package/dist/{InventoryBindingForm-DRjr8bvd.js → InventoryBindingForm-w1kjkywV.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-B-2yPbAm.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-C8pIbAJN.js} +5 -5
- package/dist/{InventoryBindingSummary-BHUNtJey.js → InventoryBindingSummary-DOc7osOY.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BeCnzNZk.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BtdI0HiI.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-D7bm57E7.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DB7XfTRW.js} +1 -1
- package/dist/{ProductionView-B3SBsS5h.js → ProductionView-xNl142Fq.js} +7 -7
- package/dist/{PublishView-BpjI7rmM.js → PublishView-BkYY1dbq.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-C8M6Yax5.js → PurchaseOrderPrintPreview-Cy5LC5G8.js} +2 -2
- package/dist/{ReceiveRequestView-BlBrbNoW.js → ReceiveRequestView-C9Ge3dBk.js} +22 -22
- package/dist/{RecipeView-BdBjxgQF.js → RecipeView-DHkXKjMW.js} +17 -17
- package/dist/{SettingsView-D5h0Kjma.js → SettingsView-Eedo-gm4.js} +4 -4
- package/dist/{StockView-6niOF2HE.js → StockView-CTloP4Oy.js} +21 -21
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-95yKD8E_.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DQ_ZgiFI.js} +1 -1
- package/dist/{SupplierView-BOfucFHD.js → SupplierView-DEfd3W5T.js} +12 -12
- package/dist/{SurchargeView-B4NOWDNm.js → SurchargeView-fvvvzM2f.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-B-T5hfVU.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-DfLOGQWO.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BS0WQ2q-.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CqJIt_pF.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BMFNKKmV.js → TransferDetails.vue_vue_type_script_setup_true_lang-Ei4Dj1lb.js} +20 -20
- package/dist/{TransferTemplateView-CKytDs9X.js → TransferTemplateView-BfSI7X8j.js} +20 -20
- package/dist/{UnitCostHistoryView-Pk7ErOkB.js → UnitCostHistoryView-BFce-XiD.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-D0vgeUur.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-DBbzawh6.js} +4 -4
- package/dist/{UnitView-CR8xb5TS.js → UnitView-eDezcmmU.js} +7 -7
- package/dist/{WarehouseView-DxCFvRDK.js → WarehouseView-WqYXomci.js} +5 -5
- package/dist/{WastageTemplateView-ZOcx-Sw1.js → WastageTemplateView-dHB1_9wS.js} +60 -60
- package/dist/api/codemax.d.ts +12 -15
- package/dist/{app-UXaVUOFj.js → app-BkI7JOut.js} +2374 -2367
- package/dist/app.js +1 -1
- package/dist/{closing-template-BL_7K26j.js → closing-template-Wt20QIwL.js} +1 -1
- package/dist/{date2-DWsaERsg.js → date2-CrQebr0O.js} +1 -1
- package/dist/{dayjs.min-D9-6o_pb.js → dayjs.min-Dm5Jl29E.js} +1 -1
- package/dist/{decimal-D9akmsuY.js → decimal-oFnzK0l5.js} +2 -2
- package/dist/{defineDeepModel-CRz54q7h.js → defineDeepModel-DhQwyn5A.js} +1 -1
- package/dist/{duplicate-template-CXCfl2NH.js → duplicate-template-BGxc36Vo.js} +1 -1
- package/dist/{feature-4PKcZSe0.js → feature-OSSn5heM.js} +2 -2
- package/dist/{format-time-from-id-DoWSyd1w.js → format-time-from-id-BPGeqy_q.js} +1 -1
- package/dist/{format-unit-display-BXx5PrhU.js → format-unit-display-B4Z1I9Zr.js} +12 -12
- package/dist/{import-export.helper-C-njSW-F.js → import-export.helper-B1aP4IVt.js} +6 -6
- package/dist/{index-DYf5BKra.js → index-BOX713UW.js} +70 -59
- package/dist/{index-D__km1gW.js → index-CwCsZdsF.js} +1 -1
- package/dist/{index-xatqRsUm.js → index-t3KRi2bz.js} +1 -1
- package/dist/{inventory-core-dart.default-CG-4fho4.js → inventory-core-dart.default-DpFGa4FK.js} +1 -1
- package/dist/{jszip.min-CuKGTB3Q.js → jszip.min-SYQ9tNfS.js} +2 -2
- package/dist/{lz-string-Di2ld6md.js → lz-string-DOfeReOs.js} +1 -1
- package/dist/{netsuite-B_qujeBG.js → netsuite-DkR3T1Jo.js} +2 -2
- package/dist/{number-BaHim51P.js → number-M0fTNQZX.js} +3 -3
- package/dist/{predefined-templates-BSLRBeB0.js → predefined-templates-BT-JaWkO.js} +1 -1
- package/dist/{purchase-order-template-QNfXyt-d.js → purchase-order-template-CsuMKskZ.js} +1 -1
- package/dist/{recalculationUtils-B3CX9rQC.js → recalculationUtils-Z_4CmpRM.js} +1 -1
- package/dist/{rules-DYMYmtzv.js → rules-eDovZZt4.js} +2 -2
- package/dist/{stock-C1jT8ufE.js → stock-Cr6BUVXY.js} +3 -3
- package/dist/{stock-5uSaJQTg.js → stock-DN2CnjyS.js} +1 -1
- package/dist/{supplier-BoX9Fh0G.js → supplier-pEZ0UFf8.js} +2 -2
- package/dist/{surcharge-FJVEiOpa.js → surcharge-BBlPpII9.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-BHrAwdAH.js → uom-rules-DS7RjEO9.js} +1 -1
- package/dist/{use-ingredient-select-dialog-mGOA_61r.js → use-ingredient-select-dialog-B2UpzYAg.js} +2 -2
- package/dist/{use-inventory-binding-dialog-BSN0xrPb.js → use-inventory-binding-dialog-Dj4vt0Iw.js} +2 -2
- package/dist/{use-template-enabled-locations-Dy-dcIiU.js → use-template-enabled-locations-vtVTL9Wg.js} +2 -2
- package/dist/{use-transfer-locations-Da0XeXxv.js → use-transfer-locations-jovUkrWP.js} +2 -2
- package/dist/{useHrmPermission-Bp7HhhKY.js → useHrmPermission-Bqa_CJkq.js} +1 -1
- package/dist/{useNavigationMenu-DGixRVd0.js → useNavigationMenu-DJrl-u99.js} +2 -2
- package/dist/{useSseClient-C5GrB7_M.js → useSseClient-C4prtQ7f.js} +1 -1
- package/dist/{vue-i18n-DvlJg9yn.js → vue-i18n-Ynah-A_3.js} +413 -413
- package/dist/{xlsx.util-BF_fV-5o.js → xlsx.util-dU4t7hoK.js} +2 -2
- package/package.json +5 -4
- package/dist/IntegrationView-AXBRZnWR.js +0 -5940
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ref as k, onUnmounted as H, computed as y, defineComponent as P, watch as N, onMounted as $, resolveComponent as w, createElementBlock as g, openBlock as m, createBlock as L, createCommentVNode as U, unref as x, createVNode as _, createElementVNode as o, toDisplayString as b, withCtx as R, withDirectives as O, vModelText as j, Fragment as q, renderList as z, createTextVNode as B } from "vue";
|
|
2
2
|
import { _ as K } from "./empty-placeholder-B0QU467o.js";
|
|
3
|
-
import { u as Q, a as J, R as S, b as W } from "./app-
|
|
3
|
+
import { u as Q, a as J, R as S, b as W } from "./app-BkI7JOut.js";
|
|
4
4
|
import { useCoreStore as C, useI18n as X } from "@feedmepos/mf-common";
|
|
5
5
|
import { useRouter as T, useRoute as Y } from "vue-router";
|
|
6
|
-
import { u as Z, a as ee, I as te } from "./feature-
|
|
7
|
-
import { u as oe } from "./netsuite-
|
|
8
|
-
import { u as D } from "./useNavigationMenu-
|
|
6
|
+
import { u as Z, a as ee, I as te } from "./feature-OSSn5heM.js";
|
|
7
|
+
import { u as oe } from "./netsuite-DkR3T1Jo.js";
|
|
8
|
+
import { u as D } from "./useNavigationMenu-DJrl-u99.js";
|
|
9
9
|
import { u as ne } from "./useTabStorage-BkIVScW_.js";
|
|
10
10
|
import { F as se } from "./FmAdminBadge-DlplQOHb.js";
|
|
11
11
|
import { u as re } from "./googlemap-D9vA7GsS.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
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,
|
|
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, b as we } from "./TransferDetails.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { b as I } from "./date2-
|
|
2
|
+
import { u as Oe, D as b } from "./app-BkI7JOut.js";
|
|
3
|
+
import { a as Se } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-D3eXBcWj.js";
|
|
4
|
+
import { u as Pe, P as w, a as xe, _ as Te, b as we } from "./TransferDetails.vue_vue_type_script_setup_true_lang-Ei4Dj1lb.js";
|
|
5
|
+
import { b as I } from "./date2-CrQebr0O.js";
|
|
6
6
|
import { u as ke, _ as qe } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
|
|
7
7
|
import { _ as Ce, F as R } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
8
8
|
import { useBreakpoints as Ne } from "@feedmepos/ui-library";
|
|
9
|
-
import { _ as Ve } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { _ as Ve } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BOedO11b.js";
|
|
10
10
|
import { useI18n as Ae } from "@feedmepos/mf-common";
|
|
11
11
|
import { P as Me, J as Fe } from "./app-C39bYJmq.js";
|
|
12
|
-
import { u as Le } from "./netsuite-
|
|
13
|
-
import { f as $e } from "./predefined-templates-
|
|
14
|
-
import "./inventory-core-dart.default-
|
|
12
|
+
import { u as Le } from "./netsuite-DkR3T1Jo.js";
|
|
13
|
+
import { f as $e } from "./predefined-templates-BT-JaWkO.js";
|
|
14
|
+
import "./inventory-core-dart.default-DpFGa4FK.js";
|
|
15
15
|
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 = {
|
|
16
16
|
key: 0,
|
|
17
17
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-primary line-clamp-1"
|
|
@@ -175,7 +175,7 @@ const ze = { class: "flex flex-col py-8" }, Ee = { class: "fm-typo-en-body-md-40
|
|
|
175
175
|
onRowClick: (o) => a(s).promptShowTransferDetails(o.purchaseOrder, o)
|
|
176
176
|
}, {
|
|
177
177
|
default: T((o) => {
|
|
178
|
-
var m, N, V, f, A, M, F, L, v, $, z, h, E, _, U, Y, H, j, J, D,
|
|
178
|
+
var m, N, V, f, A, M, F, L, v, $, z, h, E, _, U, Y, H, j, J, D, G, K, Q, W, g, X;
|
|
179
179
|
return [
|
|
180
180
|
p("div", ze, [
|
|
181
181
|
p("div", Ee, [
|
|
@@ -194,12 +194,12 @@ const ze = { class: "flex flex-col py-8" }, Ee = { class: "fm-typo-en-body-md-40
|
|
|
194
194
|
(Y = t.original.purchaseOrder) != null && Y.ref ? (x(), _e("div", He, [
|
|
195
195
|
u(a(R), {
|
|
196
196
|
render: (J = (j = (H = o.purchaseOrder_ref) == null ? void 0 : H.column) == null ? void 0 : j.columnDef) == null ? void 0 : J.cell,
|
|
197
|
-
props: (
|
|
197
|
+
props: (G = (D = o.purchaseOrder_ref) == null ? void 0 : D.getContext) == null ? void 0 : G.call(D)
|
|
198
198
|
}, null, 8, ["render", "props"])
|
|
199
199
|
])) : De("", !0),
|
|
200
200
|
p("div", je, [
|
|
201
201
|
u(a(R), {
|
|
202
|
-
render: (W = (
|
|
202
|
+
render: (W = (Q = (K = o.purchaseOrder_status) == null ? void 0 : K.column) == null ? void 0 : Q.columnDef) == null ? void 0 : W.cell,
|
|
203
203
|
props: (X = (g = o.purchaseOrder_status) == null ? void 0 : g.getContext) == null ? void 0 : X.call(g)
|
|
204
204
|
}, null, 8, ["render", "props"])
|
|
205
205
|
])
|
|
@@ -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, a7 as S } from "./app-
|
|
2
|
+
import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-C8pIbAJN.js";
|
|
3
|
+
import { a as L, a7 as S } from "./app-BkI7JOut.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, a7 as z } from "./app-
|
|
2
|
+
import { a as M } from "./FmMultiselectDialog-CXtK2ZsB.js";
|
|
3
|
+
import { a as x, a7 as z } from "./app-BkI7JOut.js";
|
|
4
4
|
const F = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "flex flex-col gap-16"
|
|
@@ -1,11 +1,11 @@
|
|
|
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, a7 as R } from "./app-
|
|
3
|
-
import "./dayjs.min-
|
|
2
|
+
import { F as b, a as P, a7 as R } from "./app-BkI7JOut.js";
|
|
3
|
+
import "./dayjs.min-Dm5Jl29E.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-
|
|
8
|
+
import "./netsuite-DkR3T1Jo.js";
|
|
9
9
|
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({
|
|
10
10
|
__name: "binding-ui",
|
|
11
11
|
props: {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { defineComponent as lt, ref as w, computed as R, watch as ze, createElementBlock as g, openBlock as m, Fragment as _e, createBlock as ie, createVNode as F, Teleport as wt, Transition as Pt, withCtx as Fe, createCommentVNode as $, createElementVNode as e, toDisplayString as d, unref as t, normalizeClass as O, renderList as Qe, createTextVNode as Xe, mergeModels as qt, useModel as Tt, resolveComponent as De, reactive as Bt, h as ve, nextTick as tt, watchEffect as Ot, isRef as mt, normalizeStyle as pt, normalizeProps as ft, mergeProps as st, guardReactiveProps as At } from "vue";
|
|
2
|
-
import { u as et, a as Nt,
|
|
3
|
-
import { i as rt, _ as Vt } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { a as bt, d as Ut } from "./number-
|
|
5
|
-
import { c as jt, d as nt, e as Ht, f as Yt, h as Qt, i as Wt, P as it, j as Zt, a as Kt, _ as Jt, b as Xt, g as Gt } from "./TransferDetails.vue_vue_type_script_setup_true_lang-
|
|
6
|
-
import { i as es } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { d as Te } from "./dayjs.min-
|
|
8
|
-
import { e as ts } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as et, a as Nt, G as It, T as vt, U as yt, s as $t, V as Ae, q as zt, c as Lt, D as Ge, x as Mt } from "./app-BkI7JOut.js";
|
|
3
|
+
import { i as rt, _ as Vt } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-D3eXBcWj.js";
|
|
4
|
+
import { a as bt, d as Ut } from "./number-M0fTNQZX.js";
|
|
5
|
+
import { c as jt, d as nt, e as Ht, f as Yt, h as Qt, i as Wt, P as it, j as Zt, a as Kt, _ as Jt, b as Xt, g as Gt } from "./TransferDetails.vue_vue_type_script_setup_true_lang-Ei4Dj1lb.js";
|
|
6
|
+
import { i as es } from "./PremiumBadge.vue_vue_type_script_setup_true_lang-DB7XfTRW.js";
|
|
7
|
+
import { d as Te } from "./dayjs.min-Dm5Jl29E.js";
|
|
8
|
+
import { e as ts } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-DBbzawh6.js";
|
|
9
9
|
import { u as ss } from "./useTabStorage-BkIVScW_.js";
|
|
10
10
|
import { u as ns, _ as os } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
|
|
11
11
|
import { components as as, useSnackbar as ut, useDialog as rs, useBreakpoints as ls } from "@feedmepos/ui-library";
|
|
12
|
-
import { c as is, u as us, h as ht, _ as cs, a as ds, b as ms } from "./EmailDialog.vue_vue_type_script_setup_true_lang-
|
|
12
|
+
import { c as is, u as us, h as ht, _ as cs, a as ds, b as ms } from "./EmailDialog.vue_vue_type_script_setup_true_lang-DAp4el8X.js";
|
|
13
13
|
import { useI18n as We, useCoreStore as kt } from "@feedmepos/mf-common";
|
|
14
|
-
import { u as Ct, a as ps } from "./supplier-
|
|
15
|
-
import { u as fs } from "./stock-
|
|
16
|
-
import { u as Ft } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-
|
|
17
|
-
import { b as St, a as vs } from "./format-unit-display-
|
|
18
|
-
import { P as ys } from "./inventory-core-dart.default-
|
|
14
|
+
import { u as Ct, a as ps } from "./supplier-pEZ0UFf8.js";
|
|
15
|
+
import { u as fs } from "./stock-DN2CnjyS.js";
|
|
16
|
+
import { u as Ft } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-DfLOGQWO.js";
|
|
17
|
+
import { b as St, a as vs } from "./format-unit-display-B4Z1I9Zr.js";
|
|
18
|
+
import { P as ys } from "./inventory-core-dart.default-DpFGa4FK.js";
|
|
19
19
|
import { _ as bs, F as He } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
20
|
-
import { u as Rt } from "./feature-
|
|
20
|
+
import { u as Rt } from "./feature-OSSn5heM.js";
|
|
21
21
|
import { P as hs, J as gs, D as xs } from "./app-C39bYJmq.js";
|
|
22
|
-
import { u as _s } from "./netsuite-
|
|
23
|
-
import { s as gt, f as ws } from "./predefined-templates-
|
|
24
|
-
import { d as ks, t as Cs } from "./date2-
|
|
22
|
+
import { u as _s } from "./netsuite-DkR3T1Jo.js";
|
|
23
|
+
import { s as gt, f as ws } from "./predefined-templates-BT-JaWkO.js";
|
|
24
|
+
import { d as ks, t as Cs } from "./date2-CrQebr0O.js";
|
|
25
25
|
import { F as xt } from "./form-mode.enum-BKiNVH6A.js";
|
|
26
|
-
import { p as Fs } from "./format-time-from-id-
|
|
26
|
+
import { p as Fs } from "./format-time-from-id-BPGeqy_q.js";
|
|
27
27
|
const Ss = {
|
|
28
28
|
key: 0,
|
|
29
29
|
class: "fixed inset-0 z-[200] bg-white flex flex-col overflow-hidden",
|
|
@@ -1172,7 +1172,7 @@ function lo(ne) {
|
|
|
1172
1172
|
});
|
|
1173
1173
|
return;
|
|
1174
1174
|
}
|
|
1175
|
-
const E = (await import("./jszip.min-
|
|
1175
|
+
const E = (await import("./jszip.min-SYQ9tNfS.js").then((y) => y.j)).default, l = new E();
|
|
1176
1176
|
let r = 0;
|
|
1177
1177
|
u.title = a("inventory.transfer.receiveRequest.bulk.downloadProgress"), u.current = 0, u.total = p.length, u.done = !1, u.cancelled = !1, u.visible = !0, await tt(), await new Promise((y) => setTimeout(y, 150));
|
|
1178
1178
|
try {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as E, computed as v, ref as j, resolveComponent as f, createElementBlock as u, openBlock as l, createVNode as y, withCtx as x, createElementVNode as p, unref as t, createBlock as L, createCommentVNode as M, Fragment as b, renderList as S, createTextVNode as C, toDisplayString as k } from "vue";
|
|
2
|
-
import { u as D } from "./app-
|
|
2
|
+
import { u as D } from "./app-BkI7JOut.js";
|
|
3
3
|
import { useCoreStore as T, useI18n as U } from "@feedmepos/mf-common";
|
|
4
4
|
const W = { class: "inline-flex" }, q = { 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" }, A = { class: "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap" }, G = { class: "relative" }, H = { class: "sticky top-0 py-8 bg-white translate-y-[-12px]" }, Q = /* @__PURE__ */ E({
|
|
5
5
|
__name: "ChangeLocationComponent",
|
|
@@ -2,28 +2,28 @@ import { defineComponent as Se, ref as q, computed as S, onMounted as ro, resolv
|
|
|
2
2
|
import { u as Wo, _ as Ko } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
|
|
3
3
|
import { useCoreStore as lo, useI18n as ot } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as Ue, useDialog as io, components as be, useProxiedModel as Tt, useBreakpoints as qo } from "@feedmepos/ui-library";
|
|
5
|
-
import { m as Qo, u as Qe,
|
|
5
|
+
import { m as Qo, u as Qe, O as fe, w as se, q as co, s as Ie, P as xe, B as Le, c as Jo, a as jt, j as Zo } from "./app-BkI7JOut.js";
|
|
6
6
|
import { defineStore as uo, storeToRefs as Xo } from "pinia";
|
|
7
|
-
import { b as qe, e as mo, f as en, a as Fe } from "./date2-
|
|
8
|
-
import { R as po } from "./rules-
|
|
9
|
-
import { e as ht, c as et, j as tt, l as fo, m as vo, a as tn, k as go, o as me, t as on } from "./number-
|
|
10
|
-
import { b as nn, d as an, u as vt, w as sn, c as rn } from "./xlsx.util-
|
|
11
|
-
import { i as Rt, u as Mt } from "./uom-rules-
|
|
12
|
-
import { u as ln } from "./stock-
|
|
13
|
-
import { u as _t } from "./stock-
|
|
7
|
+
import { b as qe, e as mo, f as en, a as Fe } from "./date2-CrQebr0O.js";
|
|
8
|
+
import { R as po } from "./rules-eDovZZt4.js";
|
|
9
|
+
import { e as ht, c as et, j as tt, l as fo, m as vo, a as tn, k as go, o as me, t as on } from "./number-M0fTNQZX.js";
|
|
10
|
+
import { b as nn, d as an, u as vt, w as sn, c as rn } from "./xlsx.util-dU4t7hoK.js";
|
|
11
|
+
import { i as Rt, u as Mt } from "./uom-rules-DS7RjEO9.js";
|
|
12
|
+
import { u as ln } from "./stock-Cr6BUVXY.js";
|
|
13
|
+
import { u as _t } from "./stock-DN2CnjyS.js";
|
|
14
14
|
import { D as ao, R as Ye } from "./row-action.enum-DQ9bJ_uv.js";
|
|
15
15
|
import { c as cn } from "./component-kqxARxvM.js";
|
|
16
|
-
import { f as un } from "./format-time-from-id-
|
|
17
|
-
import { i as dn } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-
|
|
18
|
-
import { f as mn } from "./recalculationUtils-
|
|
19
|
-
import { _ as pn } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
16
|
+
import { f as un } from "./format-time-from-id-BPGeqy_q.js";
|
|
17
|
+
import { i as dn } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-D3eXBcWj.js";
|
|
18
|
+
import { f as mn } from "./recalculationUtils-Z_4CmpRM.js";
|
|
19
|
+
import { _ as pn } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BOedO11b.js";
|
|
20
20
|
import { _ as fn } from "./CursorPaginatedTable.vue_vue_type_script_setup_true_lang-4KT9rH9e.js";
|
|
21
21
|
import { _ as yo } from "./empty-placeholder-B0QU467o.js";
|
|
22
22
|
import { F as Ft } from "./FmAdminBadge-DlplQOHb.js";
|
|
23
|
-
import { u as vn } from "./vue-i18n-
|
|
24
|
-
import { F as gn } from "./decimal-
|
|
25
|
-
import { u as yn } from "./useSseClient-
|
|
26
|
-
import { d as bn } from "./dayjs.min-
|
|
23
|
+
import { u as vn } from "./vue-i18n-Ynah-A_3.js";
|
|
24
|
+
import { F as gn } from "./decimal-oFnzK0l5.js";
|
|
25
|
+
import { u as yn } from "./useSseClient-C4prtQ7f.js";
|
|
26
|
+
import { d as bn } from "./dayjs.min-Dm5Jl29E.js";
|
|
27
27
|
import { F as hn } from "./FmDroppableField-J0tG_U3w.js";
|
|
28
28
|
import { _ as _n } from "./FmConfirmationButton.vue_vue_type_script_setup_true_lang-Vg8U7WMZ.js";
|
|
29
29
|
import { _ as kn, F as Ze } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
@@ -930,7 +930,7 @@ const bo = uo(
|
|
|
930
930
|
const [g] = await Promise.all([
|
|
931
931
|
c.getDraft(p),
|
|
932
932
|
new Promise((H) => setTimeout(H, 1e3))
|
|
933
|
-
]), { toClosingDraftListItem: M } = await import("./index-
|
|
933
|
+
]), { toClosingDraftListItem: M } = await import("./index-t3KRi2bz.js");
|
|
934
934
|
i.value = k([
|
|
935
935
|
M(g)
|
|
936
936
|
]), w(p);
|
|
@@ -960,7 +960,7 @@ const bo = uo(
|
|
|
960
960
|
}
|
|
961
961
|
}
|
|
962
962
|
async function x(p, g) {
|
|
963
|
-
const { toClosingDraftListItem: M } = await import("./index-
|
|
963
|
+
const { toClosingDraftListItem: M } = await import("./index-t3KRi2bz.js");
|
|
964
964
|
return {
|
|
965
965
|
...M(
|
|
966
966
|
p
|
|
@@ -973,7 +973,7 @@ const bo = uo(
|
|
|
973
973
|
};
|
|
974
974
|
}
|
|
975
975
|
async function re(p) {
|
|
976
|
-
const { toClosingDraftListItem: g } = await import("./index-
|
|
976
|
+
const { toClosingDraftListItem: g } = await import("./index-t3KRi2bz.js");
|
|
977
977
|
i.value = i.value.map((M) => M._id === p._id ? {
|
|
978
978
|
...g(p),
|
|
979
979
|
_rev: p._rev,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { defineComponent as se, ref as g, computed as D, watch as re, resolveComponent as w, createElementBlock as p, openBlock as i, createBlock as j, createCommentVNode as _, createVNode as h, withModifiers as pe, withCtx as F, createElementVNode as a, toDisplayString as l, unref as c, Fragment as G, createTextVNode as te, renderList as le, normalizeClass as ve, h as ee, Teleport as be } from "vue";
|
|
2
2
|
import { _ as ke } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
|
|
3
3
|
import { useI18n as ie, useCoreStore as xe } from "@feedmepos/mf-common";
|
|
4
|
-
import {
|
|
4
|
+
import { G as de, B as P, a as De, u as Se } from "./app-BkI7JOut.js";
|
|
5
5
|
import { F as fe } from "./FmAdminBadge-DlplQOHb.js";
|
|
6
|
-
import { _ as we } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { _ as we } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BOedO11b.js";
|
|
7
7
|
import { _ as ye } from "./CursorPaginatedTable.vue_vue_type_script_setup_true_lang-4KT9rH9e.js";
|
|
8
8
|
import { useSnackbar as ue, useDialog as Ve } from "@feedmepos/ui-library";
|
|
9
|
-
import { u as ge } from "./stock-
|
|
10
|
-
import { g as he, f as $e } from "./recalculationUtils-
|
|
11
|
-
import { _ as Ce } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-
|
|
9
|
+
import { u as ge } from "./stock-DN2CnjyS.js";
|
|
10
|
+
import { g as he, f as $e } from "./recalculationUtils-Z_4CmpRM.js";
|
|
11
|
+
import { _ as Ce } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-DBbzawh6.js";
|
|
12
12
|
const Ae = { class: "fm-typo-en-heading-lg-600" }, Fe = { class: "flex flex-col gap-16" }, Re = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Be = { class: "flex flex-col gap-8" }, Ie = { class: "fm-typo-en-body-md-600" }, Te = { class: "flex flex-col gap-8" }, Le = { class: "fm-typo-en-body-md-600" }, Oe = { class: "flex items-center gap-8 mb-8" }, Pe = {
|
|
13
13
|
key: 2,
|
|
14
14
|
class: "text-red-500 text-sm mt-2"
|
|
15
|
-
},
|
|
15
|
+
}, Ue = { class: "fm-typo-en-body-sm-400" }, Ee = {
|
|
16
16
|
key: 1,
|
|
17
17
|
class: "p-12 border border-fm-color-border-primary rounded-8 bg-fm-color-background-secondary"
|
|
18
18
|
}, Ne = {
|
|
@@ -49,14 +49,14 @@ const Ae = { class: "fm-typo-en-heading-lg-600" }, Fe = { class: "flex flex-col
|
|
|
49
49
|
},
|
|
50
50
|
emits: ["submitted"],
|
|
51
51
|
setup(ne, { expose: b, emit: k }) {
|
|
52
|
-
const T = k, { t: o } = ie(), L = ge(), R = de(), x = ue(), S = g(!1), f = g(""), y = g(""), $ = g(!1),
|
|
52
|
+
const T = k, { t: o } = ie(), L = ge(), R = de(), x = ue(), S = g(!1), f = g(""), y = g(""), $ = g(!1), U = g([]), s = g(!1), r = g([]), C = g(!1), v = g([]), A = g(!1), B = D(() => he(U.value)), I = D(() => {
|
|
53
53
|
if (!f.value) return [];
|
|
54
54
|
const u = B.value.find((e) => e.value === f.value);
|
|
55
55
|
return u ? B.value.filter((e) => e.date.getTime() > u.date.getTime()).sort((e, m) => m.date.getTime() - e.date.getTime()) : [];
|
|
56
56
|
}), N = D({
|
|
57
57
|
get: () => {
|
|
58
58
|
if ($.value && y.value) {
|
|
59
|
-
const u =
|
|
59
|
+
const u = U.value.find((e) => P(e._id) === y.value);
|
|
60
60
|
return (u == null ? void 0 : u._id) || y.value;
|
|
61
61
|
}
|
|
62
62
|
return y.value;
|
|
@@ -73,7 +73,7 @@ const Ae = { class: "fm-typo-en-heading-lg-600" }, Fe = { class: "flex flex-col
|
|
|
73
73
|
} catch (u) {
|
|
74
74
|
console.error("Error parsing date from closing ID:", u);
|
|
75
75
|
}
|
|
76
|
-
}),
|
|
76
|
+
}), E = D(() => {
|
|
77
77
|
if (!f.value || !y.value) return "";
|
|
78
78
|
const u = P(f.value), e = y.value;
|
|
79
79
|
if (u && e) {
|
|
@@ -82,7 +82,7 @@ const Ae = { class: "fm-typo-en-heading-lg-600" }, Fe = { class: "flex flex-col
|
|
|
82
82
|
return o("inventory.stock.recalculation.error.endDateBeforeOpening");
|
|
83
83
|
}
|
|
84
84
|
return "";
|
|
85
|
-
}), M = D(() => !!f.value && !!y.value && !
|
|
85
|
+
}), M = D(() => !!f.value && !!y.value && !E.value), J = D(() => r.value.some(
|
|
86
86
|
(u) => !u.completedAt && !u.failedReason
|
|
87
87
|
));
|
|
88
88
|
async function Y() {
|
|
@@ -99,7 +99,7 @@ const Ae = { class: "fm-typo-en-heading-lg-600" }, Fe = { class: "flex flex-col
|
|
|
99
99
|
s.value = !0;
|
|
100
100
|
try {
|
|
101
101
|
const u = await R.getLastNClosings(30);
|
|
102
|
-
|
|
102
|
+
U.value = u;
|
|
103
103
|
} catch (u) {
|
|
104
104
|
console.error("Error fetching recent closings:", u), x.open({
|
|
105
105
|
title: o("common.error"),
|
|
@@ -146,7 +146,7 @@ const Ae = { class: "fm-typo-en-heading-lg-600" }, Fe = { class: "flex flex-col
|
|
|
146
146
|
re(
|
|
147
147
|
[f, y],
|
|
148
148
|
() => {
|
|
149
|
-
f.value && y.value && !
|
|
149
|
+
f.value && y.value && !E.value ? W() : v.value = [];
|
|
150
150
|
},
|
|
151
151
|
{ immediate: !1 }
|
|
152
152
|
);
|
|
@@ -273,18 +273,18 @@ const Ae = { class: "fm-typo-en-heading-lg-600" }, Fe = { class: "flex flex-col
|
|
|
273
273
|
min: z.value,
|
|
274
274
|
disabled: !f.value || s.value
|
|
275
275
|
}, null, 8, ["modelValue", "placeholder", "min", "disabled"])),
|
|
276
|
-
|
|
276
|
+
E.value ? (i(), p("div", Pe, l(E.value), 1)) : _("", !0)
|
|
277
277
|
]),
|
|
278
|
-
f.value && y.value && !
|
|
278
|
+
f.value && y.value && !E.value ? (i(), j(q, {
|
|
279
279
|
key: 0,
|
|
280
280
|
type: "info"
|
|
281
281
|
}, {
|
|
282
282
|
default: F(() => [
|
|
283
|
-
a("div",
|
|
283
|
+
a("div", Ue, l(c(o)("inventory.stock.recalculation.info")), 1)
|
|
284
284
|
]),
|
|
285
285
|
_: 1
|
|
286
286
|
})) : _("", !0),
|
|
287
|
-
v.value.length > 0 ? (i(), p("div",
|
|
287
|
+
v.value.length > 0 ? (i(), p("div", Ee, [
|
|
288
288
|
A.value ? (i(), p("div", Ne, " Loading affected closing drafts... ")) : (i(), p("div", Me, [
|
|
289
289
|
a("div", Ke, " Affected closing draft(s): " + l(v.value.length), 1),
|
|
290
290
|
a("div", He, [
|
|
@@ -377,8 +377,8 @@ const Ae = { class: "fm-typo-en-heading-lg-600" }, Fe = { class: "flex flex-col
|
|
|
377
377
|
},
|
|
378
378
|
emits: ["submitted"],
|
|
379
379
|
setup(ne, { expose: b, emit: k }) {
|
|
380
|
-
const T = k, { t: o } = ie(), L = ge(), R = de(), x = ue(), S = g(!1), f = g(""), y = g(""), $ = g([]),
|
|
381
|
-
() => he($.value,
|
|
380
|
+
const T = k, { t: o } = ie(), L = ge(), R = de(), x = ue(), S = g(!1), f = g(""), y = g(""), $ = g([]), U = g([]), s = g(!1), r = g([]), C = g(!1), v = g([]), A = g(!1), B = D(
|
|
381
|
+
() => he($.value, U.value)
|
|
382
382
|
), I = D(() => $e(
|
|
383
383
|
v.value.filter((e) => !!e.closingId).map((e) => ({ closingId: e.closingId, draftCreatedAt: new Date(P(e._id)) }))
|
|
384
384
|
)), N = D(() => {
|
|
@@ -399,7 +399,7 @@ const Ae = { class: "fm-typo-en-heading-lg-600" }, Fe = { class: "flex flex-col
|
|
|
399
399
|
return o("inventory.stock.recalculation.error.endDateBeforeOpening");
|
|
400
400
|
}
|
|
401
401
|
return "";
|
|
402
|
-
}),
|
|
402
|
+
}), E = D(() => {
|
|
403
403
|
if (!y.value) return !1;
|
|
404
404
|
const e = new Date(y.value), m = /* @__PURE__ */ new Date();
|
|
405
405
|
return m.setHours(0, 0, 0, 0), e.setHours(0, 0, 0, 0), e >= m;
|
|
@@ -434,7 +434,7 @@ const Ae = { class: "fm-typo-en-heading-lg-600" }, Fe = { class: "flex flex-col
|
|
|
434
434
|
async function K() {
|
|
435
435
|
try {
|
|
436
436
|
const e = await R.getLastNStockSnapshots(30);
|
|
437
|
-
|
|
437
|
+
U.value = e;
|
|
438
438
|
} catch (e) {
|
|
439
439
|
console.error("Error fetching recent snapshots:", e);
|
|
440
440
|
}
|
|
@@ -585,7 +585,7 @@ const Ae = { class: "fm-typo-en-heading-lg-600" }, Fe = { class: "flex flex-col
|
|
|
585
585
|
disabled: !f.value || s.value
|
|
586
586
|
}, null, 8, ["modelValue", "placeholder", "min", "disabled"]),
|
|
587
587
|
z.value ? (i(), p("div", ft, l(z.value), 1)) : _("", !0),
|
|
588
|
-
|
|
588
|
+
E.value ? (i(), j(q, {
|
|
589
589
|
key: 1,
|
|
590
590
|
title: "Warning",
|
|
591
591
|
variant: "warning",
|
|
@@ -655,7 +655,7 @@ const Ae = { class: "fm-typo-en-heading-lg-600" }, Fe = { class: "flex flex-col
|
|
|
655
655
|
]);
|
|
656
656
|
};
|
|
657
657
|
}
|
|
658
|
-
}),
|
|
658
|
+
}), Ut = { class: "fm-typo-en-heading-lg-600" }, Et = { class: "flex flex-col gap-16" }, Nt = { class: "flex flex-col gap-4" }, Mt = { class: "fm-typo-en-label-md-400 text-fm-color-typo-secondary" }, Kt = { class: "fm-typo-en-body-md-400" }, Ht = { class: "flex flex-col gap-4" }, jt = { class: "fm-typo-en-label-md-400 text-fm-color-typo-secondary" }, zt = { class: "fm-typo-en-body-md-400" }, Wt = { class: "flex flex-col gap-4" }, Yt = { class: "fm-typo-en-label-md-400 text-fm-color-typo-secondary" }, Gt = { class: "flex gap-8 ml-auto" }, Jt = /* @__PURE__ */ se({
|
|
659
659
|
__name: "ClosingDetailDialog",
|
|
660
660
|
props: {
|
|
661
661
|
modelValue: { type: Boolean },
|
|
@@ -692,7 +692,7 @@ const Ae = { class: "fm-typo-en-heading-lg-600" }, Fe = { class: "flex flex-col
|
|
|
692
692
|
costs: s.costs,
|
|
693
693
|
weightedAverage: s.weightedAverage
|
|
694
694
|
};
|
|
695
|
-
})),
|
|
695
|
+
})), U = [
|
|
696
696
|
{
|
|
697
697
|
accessorKey: "skuName",
|
|
698
698
|
header: () => k("inventory.ingredient.name", "Ingredient Name"),
|
|
@@ -753,12 +753,12 @@ const Ae = { class: "fm-typo-en-heading-lg-600" }, Fe = { class: "flex flex-col
|
|
|
753
753
|
"max-width": "900px"
|
|
754
754
|
}, {
|
|
755
755
|
"dialog-header": F(() => [
|
|
756
|
-
a("div",
|
|
756
|
+
a("div", Ut, l(y.value), 1)
|
|
757
757
|
]),
|
|
758
758
|
default: F(() => {
|
|
759
759
|
var I;
|
|
760
760
|
return [
|
|
761
|
-
a("div",
|
|
761
|
+
a("div", Et, [
|
|
762
762
|
a("div", Nt, [
|
|
763
763
|
a("div", Mt, l(o.type === "closing" ? c(k)("inventory.closing.history.closingId") : c(k)("inventory.closing.history.snapshotId", "Snapshot ID")), 1),
|
|
764
764
|
a("div", Kt, l(((I = o.data) == null ? void 0 : I._id) ?? "-"), 1)
|
|
@@ -776,7 +776,7 @@ const Ae = { class: "fm-typo-en-heading-lg-600" }, Fe = { class: "flex flex-col
|
|
|
776
776
|
}, null, 8, ["modelValue"]),
|
|
777
777
|
h(v, {
|
|
778
778
|
"row-data": $.value,
|
|
779
|
-
"column-defs":
|
|
779
|
+
"column-defs": U,
|
|
780
780
|
pagination: { pageSize: 10 },
|
|
781
781
|
"search-value": x.value
|
|
782
782
|
}, null, 8, ["row-data", "search-value"])
|
|
@@ -804,7 +804,7 @@ const Ae = { class: "fm-typo-en-heading-lg-600" }, Fe = { class: "flex flex-col
|
|
|
804
804
|
const { t: b } = ie(), k = de(), T = Se(), o = xe(), L = Ve(), R = ue(), x = g("closings"), S = D(() => [
|
|
805
805
|
{ label: b("inventory.closing.history.closingsTab"), value: "closings" },
|
|
806
806
|
{ label: b("inventory.closing.history.snapshotsTab"), value: "snapshots" }
|
|
807
|
-
]), f = g([]), y = g(0), $ = g([]),
|
|
807
|
+
]), f = g([]), y = g(0), $ = g([]), U = g(0);
|
|
808
808
|
let s = T.currentLocationDBName;
|
|
809
809
|
async function r(d) {
|
|
810
810
|
return T.currentLocationDBName ? (s = T.currentLocationDBName, k.listClosingsPage(d)) : { docs: [], nextStartkey: null, hasMore: !1 };
|
|
@@ -816,7 +816,7 @@ const Ae = { class: "fm-typo-en-heading-lg-600" }, Fe = { class: "flex flex-col
|
|
|
816
816
|
f.value = [], y.value++;
|
|
817
817
|
}
|
|
818
818
|
function A() {
|
|
819
|
-
$.value = [],
|
|
819
|
+
$.value = [], U.value++;
|
|
820
820
|
}
|
|
821
821
|
const B = g(!1), I = g("closing"), N = g(null);
|
|
822
822
|
function z(d) {
|
|
@@ -826,7 +826,7 @@ const Ae = { class: "fm-typo-en-heading-lg-600" }, Fe = { class: "flex flex-col
|
|
|
826
826
|
String(d.getDate()).padStart(2, "0")
|
|
827
827
|
].join("-");
|
|
828
828
|
}
|
|
829
|
-
const
|
|
829
|
+
const E = () => z(new Date(Date.now() - 864e5)), M = g(E()), J = D(() => {
|
|
830
830
|
const d = [];
|
|
831
831
|
return x.value === "closings" ? d.push(
|
|
832
832
|
{
|
|
@@ -892,7 +892,7 @@ const Ae = { class: "fm-typo-en-heading-lg-600" }, Fe = { class: "flex flex-col
|
|
|
892
892
|
break;
|
|
893
893
|
}
|
|
894
894
|
case "initiateStockSnapshot": {
|
|
895
|
-
M.value =
|
|
895
|
+
M.value = E(), K.value = !0;
|
|
896
896
|
break;
|
|
897
897
|
}
|
|
898
898
|
case "refreshOpening": {
|
|
@@ -905,7 +905,7 @@ const Ae = { class: "fm-typo-en-heading-lg-600" }, Fe = { class: "flex flex-col
|
|
|
905
905
|
}
|
|
906
906
|
}
|
|
907
907
|
}
|
|
908
|
-
const K = g(!1), W = g(!1), ae =
|
|
908
|
+
const K = g(!1), W = g(!1), ae = E();
|
|
909
909
|
async function u() {
|
|
910
910
|
W.value = !0;
|
|
911
911
|
try {
|
|
@@ -1036,7 +1036,7 @@ const Ae = { class: "fm-typo-en-heading-lg-600" }, Fe = { class: "flex flex-col
|
|
|
1036
1036
|
rows: $.value,
|
|
1037
1037
|
"onUpdate:rows": t[2] || (t[2] = (V) => $.value = V),
|
|
1038
1038
|
"fetch-page": C,
|
|
1039
|
-
"refresh-key":
|
|
1039
|
+
"refresh-key": U.value,
|
|
1040
1040
|
"column-defs": m,
|
|
1041
1041
|
"fetch-detail": (V, ce) => X(V._id, ce)
|
|
1042
1042
|
}, null, 8, ["rows", "refresh-key", "fetch-detail"])
|
|
@@ -4,24 +4,24 @@ import { useCoreStore as Ae, useI18n as ne } from "@feedmepos/mf-common";
|
|
|
4
4
|
import { useDialogChild as rt, useSnackbar as ue, useDialog as Fe, FmButtonVariant as xe, components as lt, useProxiedModel as it, useBreakpoints as ct } from "@feedmepos/ui-library";
|
|
5
5
|
import { defineStore as ze, storeToRefs as Ge } from "pinia";
|
|
6
6
|
import { F as oe } from "./form-mode.enum-BKiNVH6A.js";
|
|
7
|
-
import { a as pe } from "./closing-template-
|
|
8
|
-
import { a as Re, l as mt, u as Pe, c as Oe } from "./app-
|
|
9
|
-
import { t as Te, a as Me, d as Ee, s as He, r as dt } from "./xlsx.util-
|
|
7
|
+
import { a as pe } from "./closing-template-Wt20QIwL.js";
|
|
8
|
+
import { a as Re, l as mt, u as Pe, c as Oe } from "./app-BkI7JOut.js";
|
|
9
|
+
import { t as Te, a as Me, d as Ee, s as He, r as dt } from "./xlsx.util-dU4t7hoK.js";
|
|
10
10
|
import { F as ut } from "./FmDroppableField-J0tG_U3w.js";
|
|
11
|
-
import { f as je, a as $e } from "./date2-
|
|
12
|
-
import { u as pt } from "./netsuite-
|
|
11
|
+
import { f as je, a as $e } from "./date2-CrQebr0O.js";
|
|
12
|
+
import { u as pt } from "./netsuite-DkR3T1Jo.js";
|
|
13
13
|
import { D as ke, R as J } from "./row-action.enum-DQ9bJ_uv.js";
|
|
14
14
|
import { c as ft } from "./component-kqxARxvM.js";
|
|
15
|
-
import { f as yt } from "./format-time-from-id-
|
|
16
|
-
import { _ as vt } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-
|
|
17
|
-
import { u as gt } from "./duplicate-template-
|
|
18
|
-
import { _ as bt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
15
|
+
import { f as yt } from "./format-time-from-id-BPGeqy_q.js";
|
|
16
|
+
import { _ as vt } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CqJIt_pF.js";
|
|
17
|
+
import { u as gt } from "./duplicate-template-BGxc36Vo.js";
|
|
18
|
+
import { _ as bt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-BOedO11b.js";
|
|
19
19
|
import { _ as ht } from "./CursorPaginatedTable.vue_vue_type_script_setup_true_lang-4KT9rH9e.js";
|
|
20
|
-
import { R as _t, A as xt } from "./rules-
|
|
21
|
-
import { u as Ye } from "./use-ingredient-select-dialog-
|
|
22
|
-
import { d as kt } from "./defineDeepModel-
|
|
23
|
-
import { u as wt } from "./use-template-enabled-locations-
|
|
24
|
-
import { _ as $t } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-
|
|
20
|
+
import { R as _t, A as xt } from "./rules-eDovZZt4.js";
|
|
21
|
+
import { u as Ye } from "./use-ingredient-select-dialog-B2UpzYAg.js";
|
|
22
|
+
import { d as kt } from "./defineDeepModel-DhQwyn5A.js";
|
|
23
|
+
import { u as wt } from "./use-template-enabled-locations-vtVTL9Wg.js";
|
|
24
|
+
import { _ as $t } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-DfLOGQWO.js";
|
|
25
25
|
import { _ as Tt, F as we } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DAMpuZ1X.js";
|
|
26
26
|
import { _ as Ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
27
27
|
var Ne = /* @__PURE__ */ ((m) => (m.Ingredients = "Ingredients", m))(Ne || {});
|
|
@@ -738,7 +738,7 @@ const Nt = { class: "flex items-center gap-12 pl-8" }, Bt = { class: "flex flex-
|
|
|
738
738
|
const [c] = await Promise.all([
|
|
739
739
|
i.getTemplate(s),
|
|
740
740
|
new Promise((R) => setTimeout(R, 1e3))
|
|
741
|
-
]), { toClosingTemplateListItem: M } = await import("./index-
|
|
741
|
+
]), { toClosingTemplateListItem: M } = await import("./index-t3KRi2bz.js");
|
|
742
742
|
l.value = [
|
|
743
743
|
M(c)
|
|
744
744
|
];
|
|
@@ -2153,7 +2153,7 @@ const gn = /* @__PURE__ */ Ct(yn, [["render", vn]]), bn = { class: "flex flex-co
|
|
|
2153
2153
|
(R = x.value) == null || R.openRowDetail(M);
|
|
2154
2154
|
}
|
|
2155
2155
|
async function $(M) {
|
|
2156
|
-
const { toClosingTemplateListItem: R } = await import("./index-
|
|
2156
|
+
const { toClosingTemplateListItem: R } = await import("./index-t3KRi2bz.js");
|
|
2157
2157
|
return { ...R(M), _rev: M._rev };
|
|
2158
2158
|
}
|
|
2159
2159
|
const n = U(() => I.value.xs || I.value.sm), w = U(() => n.value ? 10 : 20);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as p, computed as f, watchEffect as d, resolveComponent as n, createElementBlock as _, openBlock as v, createVNode as o, createElementVNode as c } from "vue";
|
|
2
2
|
import { useRouter as g } from "vue-router";
|
|
3
3
|
import { useCoreStore as x } from "@feedmepos/mf-common";
|
|
4
|
-
import { u as S } from "./useNavigationMenu-
|
|
5
|
-
import { u as y } from "./feature-
|
|
4
|
+
import { u as S } from "./useNavigationMenu-DJrl-u99.js";
|
|
5
|
+
import { u as y } from "./feature-OSSn5heM.js";
|
|
6
6
|
const C = { class: "flex flex-col items-center w-full h-full gap-24" }, V = /* @__PURE__ */ p({
|
|
7
7
|
__name: "DefaultView",
|
|
8
8
|
setup(F) {
|
package/dist/{DeliveryOrderPrintPreview-Cndz9b3u.js → DeliveryOrderPrintPreview-BhqqbNbz.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as x, computed as g, ref as h, onMounted as _, createElementBlock as i, openBlock as u, createElementVNode as t, createCommentVNode as d, createTextVNode as n, toDisplayString as l, Fragment as o, renderList as p, normalizeClass as c } from "vue";
|
|
2
2
|
import { useRoute as w } from "vue-router";
|
|
3
|
-
import { T as b } from "./app-
|
|
4
|
-
import { L as k } from "./lz-string-
|
|
3
|
+
import { T as b } from "./app-BkI7JOut.js";
|
|
4
|
+
import { L as k } from "./lz-string-DOfeReOs.js";
|
|
5
5
|
import { _ as N } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
6
|
const P = { class: "purchase-box" }, A = { valign: "bottom" }, E = { class: "sub-header" }, C = ["src"], D = { style: { "padding-left": "10px" } }, O = { class: "address" }, R = { class: "text-right" }, S = {
|
|
7
7
|
key: 0,
|