@feedmepos/mf-inventory-portal 1.6.0-dev.7 → 1.6.1-dev.0
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-CfPro_9C.js → App-CL5dPCEj.js} +4 -4
- package/dist/{ApprovalView-DSN8Po9S.js → ApprovalView-DKJibNlK.js} +7 -7
- package/dist/{BindingsDialog-Bnuqm3nG.js → BindingsDialog-DLJXu8Dw.js} +2 -2
- package/dist/{BindingsPicker-Dd4REc66.js → BindingsPicker-CW6Tk9JI.js} +2 -2
- package/dist/{BindingsTable-C-HtmMpH.js → BindingsTable-3JJEAQz3.js} +3 -3
- package/dist/{ClosingDraftView-CTtxiXwh.js → ClosingDraftView-DVoWnPTQ.js} +27 -28
- package/dist/{ClosingHistoryView-cvmoaHAt.js → ClosingHistoryView-qWjIbBsX.js} +5 -5
- package/dist/{ClosingTemplateView-BBxNHF64.js → ClosingTemplateView-C3Hf510z.js} +14 -14
- package/dist/{DefaultView-CsqggsmN.js → DefaultView-wBhT3ag9.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-DKEmN4tO.js → DeliveryOrderPrintPreview-VnG9wrNu.js} +2 -2
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CLMHR5Fy.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C4pvSYN-.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-24Qj9QM3.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Bkh9LvJQ.js} +2 -2
- package/dist/{FmMultiselectDialog-DXBkITTj.js → FmMultiselectDialog-C7P1UET0.js} +2 -2
- package/dist/{FmMultiselectDialog-C70WEGrm.js → FmMultiselectDialog-Dru64kWF.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-B8QH4-MU.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BklBxBGT.js} +5 -5
- package/dist/{ImportView-BNS7vOnx.js → ImportView-C9w-sF5E.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-CGoVzY_5.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-BuphGYe2.js} +1 -1
- package/dist/{IngredientGroupView-Db80oGZN.js → IngredientGroupView-BZqXPr_n.js} +21 -21
- package/dist/{IngredientsView-q6E2tmIN.js → IngredientsView-DgTPgkN9.js} +17 -17
- package/dist/{IntegrationExplorerView-4pyt5Z5K.js → IntegrationExplorerView-B8U3LTtj.js} +5 -5
- package/dist/IntegrationView-QyHxizvF.js +5791 -0
- package/dist/{InventoryBindingForm-D-j7xlaq.js → InventoryBindingForm-NRwFwJt5.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BPMTYItR.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-C-If3KBe.js} +5 -5
- package/dist/{InventoryBindingSummary-BS9rFFE5.js → InventoryBindingSummary-DqI3M6jQ.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DvtFGe3C.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Xt_1oU-z.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-54yXqcN9.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DFYTlv_K.js} +1 -1
- package/dist/{PublishView-xnFv__ui.js → PublishView-2ytn8EUo.js} +61 -56
- package/dist/{PurchaseOrderPrintPreview-CMMBoIGC.js → PurchaseOrderPrintPreview-Bqim_q38.js} +2 -2
- package/dist/{ReceiveRequestView-BR2e1bFZ.js → ReceiveRequestView-DIPZCXxV.js} +738 -738
- package/dist/{RecipeView-CHnyBJ0f.js → RecipeView-Bs326Ew3.js} +17 -17
- package/dist/{SettingsView-Cf6T5YmG.js → SettingsView-frX_dI_K.js} +4 -4
- package/dist/{StockView-Cv5M6SI4.js → StockView-Us8Wx8y_.js} +19 -19
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BdJfkEW-.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-Du8BI_cZ.js} +1 -1
- package/dist/{SupplierView-Bm3pUwbz.js → SupplierView-8dnHAbK3.js} +12 -12
- package/dist/{SurchargeView-CvxmTW8L.js → SurchargeView-CfqjYiBs.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-Dohtj-Y_.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-_03vSZ4W.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-DBWoc7Cq.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CAb7UWFP.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BvQoNFyl.js → TransferDetails.vue_vue_type_script_setup_true_lang-B58A7dWI.js} +179 -179
- package/dist/{TransferTemplateView-DwslyLh7.js → TransferTemplateView-CI84cmV5.js} +20 -20
- package/dist/{UnitCostHistoryView-DyYMqFXw.js → UnitCostHistoryView-DXolsbDT.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-BiVS-xuv.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-Bpoawj7B.js} +10 -11
- package/dist/{UnitView-DWS3MozP.js → UnitView-DT3fcagF.js} +7 -7
- package/dist/{WarehouseView-BWO6YSsg.js → WarehouseView-C1BHChSJ.js} +5 -5
- package/dist/{WastageTemplateView-BtCHJ60X.js → WastageTemplateView-Bc5CZJ58.js} +14 -14
- package/dist/{app-BS8Y8XB1.js → app-DpMCzQql.js} +228 -23
- package/dist/app.d.ts +205 -0
- package/dist/app.js +1 -1
- package/dist/{closing-template-Dnukh28P.js → closing-template-CaFX19g1.js} +1 -1
- package/dist/{date2-DOWGtN_k.js → date2-DBsUy1HH.js} +1 -1
- package/dist/{dayjs.min-D3dSrhTX.js → dayjs.min-BVKjPmJE.js} +1 -1
- package/dist/{decimal-Bk_LcBc8.js → decimal-DKl2dUd0.js} +2 -2
- package/dist/{defineDeepModel-s_J1LoEM.js → defineDeepModel-YeHxg9wN.js} +1 -1
- package/dist/{duplicate-template-BTf1Xhvo.js → duplicate-template-Dyx4X380.js} +1 -1
- package/dist/{feature-DDV6dfk3.js → feature-ltFu24H8.js} +2 -2
- package/dist/{format-time-from-id-Q4wzJvY5.js → format-time-from-id-D3lPFiqA.js} +1 -1
- package/dist/{format-unit-display-B8tTISaS.js → format-unit-display-CD8C9YZc.js} +12 -12
- package/dist/{import-export.helper-BK3vn2Ss.js → import-export.helper-BJ5Lz4Gg.js} +6 -6
- package/dist/{index-CY7iF8Ji.js → index-B8xTUvTH.js} +1 -1
- package/dist/{index-C74Cmjq-.js → index-JOemzj27.js} +1 -1
- package/dist/{index-fQ54arbf.js → index-TQKBiFuU.js} +3 -3
- package/dist/{inventory-core-dart.default-Dl166D_R.js → inventory-core-dart.default-Xz0fuxVn.js} +355 -328
- package/dist/{lz-string-wIxbEJut.js → lz-string-DAdPi3YY.js} +1 -1
- package/dist/{netsuite-BeD5zM7r.js → netsuite-qr2wHoV5.js} +1570 -1509
- package/dist/{number-B5DVgaWM.js → number-xgIylzEb.js} +3 -3
- package/dist/{predefined-templates-DZNPHq12.js → predefined-templates-j5MqD37J.js} +1 -1
- package/dist/{purchase-order-template-aR89SUGU.js → purchase-order-template-CglLUVxv.js} +1 -1
- package/dist/{recalculationUtils-DjE7iLEk.js → recalculationUtils-O8dnzyPD.js} +1 -1
- package/dist/{rules-C_1llraF.js → rules-BPu-CBAX.js} +2 -2
- package/dist/{stock-DzPtGhtF.js → stock-VM7b7_Km.js} +1 -1
- package/dist/{supplier-Bln8QZF9.js → supplier-W00UQBDk.js} +2 -2
- package/dist/{surcharge-Czr01eFJ.js → surcharge-CUUDBYUf.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-DGZ_Y5qW.js → uom-rules-D6eW0fAO.js} +1 -1
- package/dist/{use-ingredient-select-dialog-Bo31tZwb.js → use-ingredient-select-dialog-Cd700UkI.js} +2 -2
- package/dist/{use-inventory-binding-dialog-Cs0ag6eH.js → use-inventory-binding-dialog-Cf8wC8AI.js} +2 -2
- package/dist/{use-template-enabled-locations-Dz7i898A.js → use-template-enabled-locations-D1AVostH.js} +2 -2
- package/dist/{use-transfer-locations-DGKaXjGH.js → use-transfer-locations-uOi6cGul.js} +2 -2
- package/dist/{useHrmPermission-YMieTr4z.js → useHrmPermission-DEu2Lyei.js} +1 -1
- package/dist/{useNavigationMenu-CR9b-9EU.js → useNavigationMenu-DuIGSnMd.js} +2 -2
- package/dist/{useSseClient-D5xvMgqf.js → useSseClient-D1uc8ZIc.js} +3 -3
- package/dist/views/integration/components/binding-import/BindingImportPreview.vue.d.ts +22 -0
- package/dist/views/integration/components/binding-import/ImportBindings.vue.d.ts +444 -0
- package/dist/views/integration/helper/binding-import/configs/codemax.d.ts +3 -0
- package/dist/views/integration/helper/binding-import/configs/codemax.spec.d.ts +1 -0
- package/dist/views/integration/helper/binding-import/configs/food-market-hub.d.ts +3 -0
- package/dist/views/integration/helper/binding-import/configs/food-market-hub.spec.d.ts +1 -0
- package/dist/views/integration/helper/binding-import/core.d.ts +43 -0
- package/dist/views/integration/helper/binding-import/types.d.ts +100 -0
- package/dist/{vue-i18n-CPBfs8-Q.js → vue-i18n-DElpxFA8.js} +321 -321
- package/dist/{xlsx-9rrE89GF.js → xlsx.util-Cm8s0ZJD.js} +2511 -2414
- package/package.json +3 -3
- package/dist/IntegrationView-BnZlrLP_.js +0 -5100
- package/dist/xlsx.util-Dt_h5XF4.js +0 -101
|
@@ -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, openBlock as m, createElementBlock as g, unref as x, createVNode as _, createElementVNode as o, toDisplayString as b, createBlock as L, createCommentVNode as U, 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-DpMCzQql.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-ltFu24H8.js";
|
|
7
|
+
import { u as oe } from "./netsuite-qr2wHoV5.js";
|
|
8
|
+
import { u as D } from "./useNavigationMenu-DuIGSnMd.js";
|
|
9
9
|
import { u as ne } from "./useTabStorage-BkIVScW_.js";
|
|
10
10
|
import { F as se } from "./FmAdminBadge-DjnBAgyv.js";
|
|
11
11
|
import { u as re } from "./googlemap-BGi_aKUA.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { defineComponent as ce, ref as y, watch as de, computed as c, resolveComponent as fe, openBlock as x, createBlock as Z, unref as a, withCtx as T, createElementVNode as p, normalizeClass as ve, createVNode as u, normalizeStyle as he, toDisplayString as _e, createElementBlock as De, createCommentVNode as ge, Teleport as ye, mergeProps as be, isRef as Re } from "vue";
|
|
2
|
-
import { u as Oe, W as b } from "./app-
|
|
3
|
-
import { a as Se, _ as Pe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { a as xe, P as w, b as Te, _ as we, c as ke } from "./TransferDetails.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { b as I } from "./date2-
|
|
2
|
+
import { u as Oe, W as b } from "./app-DpMCzQql.js";
|
|
3
|
+
import { a as Se, _ as Pe } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Bkh9LvJQ.js";
|
|
4
|
+
import { a as xe, P as w, b as Te, _ as we, c as ke } from "./TransferDetails.vue_vue_type_script_setup_true_lang-B58A7dWI.js";
|
|
5
|
+
import { b as I } from "./date2-DBsUy1HH.js";
|
|
6
6
|
import { u as qe, _ as Ce } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DGlWE5I8.js";
|
|
7
7
|
import { _ as Ne, F as R } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
8
8
|
import { useBreakpoints as Ve } from "@feedmepos/ui-library";
|
|
9
9
|
import { useI18n as Ae } from "@feedmepos/mf-common";
|
|
10
10
|
import { P as Me, J as Fe } from "./app-DiX-EfV6.js";
|
|
11
|
-
import { u as Le } from "./netsuite-
|
|
12
|
-
import { f as $e } from "./predefined-templates-
|
|
13
|
-
import "./inventory-core-dart.default-
|
|
11
|
+
import { u as Le } from "./netsuite-qr2wHoV5.js";
|
|
12
|
+
import { f as $e } from "./predefined-templates-j5MqD37J.js";
|
|
13
|
+
import "./inventory-core-dart.default-Xz0fuxVn.js";
|
|
14
14
|
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 = {
|
|
15
15
|
key: 0,
|
|
16
16
|
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, openBlock as i, createElementBlock as c, 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, a6 as S } from "./app-
|
|
2
|
+
import { _ as V } from "./InventoryBindingForm.vue_vue_type_script_setup_true_lang-C-If3KBe.js";
|
|
3
|
+
import { a as L, a6 as S } from "./app-DpMCzQql.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, openBlock as p, createElementBlock as f, createVNode as u, createElementVNode as k } from "vue";
|
|
2
|
-
import { a as M } from "./FmMultiselectDialog-
|
|
3
|
-
import { a as x, a6 as z } from "./app-
|
|
2
|
+
import { a as M } from "./FmMultiselectDialog-C7P1UET0.js";
|
|
3
|
+
import { a as x, a6 as z } from "./app-DpMCzQql.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, openBlock as l, createElementBlock as u, 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, a6 as R } from "./app-
|
|
3
|
-
import "./dayjs.min-
|
|
2
|
+
import { F as b, a as P, a6 as R } from "./app-DpMCzQql.js";
|
|
3
|
+
import "./dayjs.min-BVKjPmJE.js";
|
|
4
4
|
import "@feedmepos/ui-library";
|
|
5
5
|
/* empty css */
|
|
6
6
|
import "@feedmepos/mf-common";
|
|
7
7
|
import "./app-DiX-EfV6.js";
|
|
8
|
-
import "./netsuite-
|
|
8
|
+
import "./netsuite-qr2wHoV5.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: {
|
|
@@ -2,26 +2,25 @@ import { defineComponent as De, ref as Q, computed as S, onMounted as nn, resolv
|
|
|
2
2
|
import { u as Gn, _ as Hn } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DGlWE5I8.js";
|
|
3
3
|
import { useCoreStore as on, useI18n as Qe } from "@feedmepos/mf-common";
|
|
4
4
|
import { useSnackbar as ze, useDialog as an, components as ye, useProxiedModel as Ft, useBreakpoints as Yn } from "@feedmepos/ui-library";
|
|
5
|
-
import { m as Kn, u as Oe, M as de, w as oe, q as sn, s as Ae, O as _e, B as Re, c as Wn, a as It, j as qn } from "./app-
|
|
5
|
+
import { m as Kn, u as Oe, M as de, w as oe, q as sn, s as Ae, O as _e, B as Re, c as Wn, a as It, j as qn } from "./app-DpMCzQql.js";
|
|
6
6
|
import { defineStore as rn, storeToRefs as Qn } from "pinia";
|
|
7
|
-
import { b as mt, e as ln, f as Jn, a as $e } from "./date2-
|
|
8
|
-
import { R as cn } from "./rules-
|
|
9
|
-
import { e as yt, a as At, t as un, c as qe, l as dn, m as mn, j as ft, k as fn, o as ie } from "./number-
|
|
10
|
-
import { b as Zn, d as Xn } from "./xlsx.util-
|
|
11
|
-
import { i as Bt, u as Tt } from "./uom-rules-
|
|
12
|
-
import { u as
|
|
13
|
-
import { u as gt } from "./stock-
|
|
7
|
+
import { b as mt, e as ln, f as Jn, a as $e } from "./date2-DBsUy1HH.js";
|
|
8
|
+
import { R as cn } from "./rules-BPu-CBAX.js";
|
|
9
|
+
import { e as yt, a as At, t as un, c as qe, l as dn, m as mn, j as ft, k as fn, o as ie } from "./number-xgIylzEb.js";
|
|
10
|
+
import { b as Zn, d as Xn, c as eo, u as ut, w as to } from "./xlsx.util-Cm8s0ZJD.js";
|
|
11
|
+
import { i as Bt, u as Tt } from "./uom-rules-D6eW0fAO.js";
|
|
12
|
+
import { u as no, a as oo } from "./useSseClient-D1uc8ZIc.js";
|
|
13
|
+
import { u as gt } from "./stock-VM7b7_Km.js";
|
|
14
14
|
import { D as en, R as Ve } from "./row-action.enum-DQ9bJ_uv.js";
|
|
15
|
-
import { c as
|
|
16
|
-
import { f as
|
|
17
|
-
import { f as
|
|
18
|
-
import { _ as
|
|
15
|
+
import { c as ao } from "./component-kqxARxvM.js";
|
|
16
|
+
import { f as so } from "./format-time-from-id-D3lPFiqA.js";
|
|
17
|
+
import { f as ro } from "./recalculationUtils-O8dnzyPD.js";
|
|
18
|
+
import { _ as lo } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Bkh9LvJQ.js";
|
|
19
19
|
import { _ as pn } from "./empty-placeholder-B0QU467o.js";
|
|
20
20
|
import { F as $t } from "./FmAdminBadge-DjnBAgyv.js";
|
|
21
|
-
import { u as
|
|
22
|
-
import { F as
|
|
23
|
-
import {
|
|
24
|
-
import { d as uo } from "./dayjs.min-D3dSrhTX.js";
|
|
21
|
+
import { u as io } from "./vue-i18n-DElpxFA8.js";
|
|
22
|
+
import { F as co } from "./decimal-DKl2dUd0.js";
|
|
23
|
+
import { d as uo } from "./dayjs.min-BVKjPmJE.js";
|
|
25
24
|
import { F as mo } from "./FmDroppableField-J0xUsOTV.js";
|
|
26
25
|
import { _ as fo } from "./FmConfirmationButton.vue_vue_type_script_setup_true_lang-DLrMEGFR.js";
|
|
27
26
|
import { F as Ye, _ as po } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
@@ -613,7 +612,7 @@ const So = { class: "flex flex-col" }, Fo = {
|
|
|
613
612
|
}), pt = rn(
|
|
614
613
|
"closingDraftActions",
|
|
615
614
|
function() {
|
|
616
|
-
const n = an(), e = ze(), o = gt(), i = Me(), s =
|
|
615
|
+
const n = an(), e = ze(), o = gt(), i = Me(), s = no(), r = Tt(), u = Q(!1), c = Q();
|
|
617
616
|
function b(A) {
|
|
618
617
|
const w = {
|
|
619
618
|
draft: A
|
|
@@ -884,7 +883,7 @@ const vn = rn(
|
|
|
884
883
|
}
|
|
885
884
|
}
|
|
886
885
|
function U(g) {
|
|
887
|
-
const k =
|
|
886
|
+
const k = ro(
|
|
888
887
|
g.filter((x) => !!x.closingId).map((x) => ({ closingId: x.closingId, draftCreatedAt: new Date(Re(x._id)) }))
|
|
889
888
|
);
|
|
890
889
|
return g.map((x) => ({
|
|
@@ -993,7 +992,7 @@ const vn = rn(
|
|
|
993
992
|
accessorKey: "_id",
|
|
994
993
|
header: () => n("inventory.closing.table.createdAt"),
|
|
995
994
|
cell(g) {
|
|
996
|
-
return
|
|
995
|
+
return so(`${g.getValue()}`);
|
|
997
996
|
},
|
|
998
997
|
sortingFn: (g, k) => new Date(Re(g.original._id)).getTime() - new Date(Re(k.original._id)).getTime(),
|
|
999
998
|
enableSorting: !0
|
|
@@ -1151,7 +1150,7 @@ const vn = rn(
|
|
|
1151
1150
|
value: Ve.Duplicate
|
|
1152
1151
|
}
|
|
1153
1152
|
] : [];
|
|
1154
|
-
return
|
|
1153
|
+
return ao(
|
|
1155
1154
|
[
|
|
1156
1155
|
...ee,
|
|
1157
1156
|
...k.status === _e.enum.DRAFT ? X : []
|
|
@@ -1238,7 +1237,7 @@ const No = { class: "fm-typo-en-heading-lg-600" }, Vo = { class: "py-4" }, Eo =
|
|
|
1238
1237
|
},
|
|
1239
1238
|
emits: ["update:show", "refresh", "approve"],
|
|
1240
1239
|
setup(t, { emit: n }) {
|
|
1241
|
-
const { FmStepper: e, FmStep: o, FmDialog: i, FmButton: s } = ye, { t: r } =
|
|
1240
|
+
const { FmStepper: e, FmStep: o, FmDialog: i, FmButton: s } = ye, { t: r } = io(), u = It(), c = t, b = n, y = S(
|
|
1242
1241
|
() => {
|
|
1243
1242
|
var $, Y;
|
|
1244
1243
|
return (($ = c.draft) == null ? void 0 : $.stockSnapshot) && ((Y = c.draft) == null ? void 0 : Y.stockSnapshot) !== void 0;
|
|
@@ -1516,7 +1515,7 @@ const No = { class: "fm-typo-en-heading-lg-600" }, Vo = { class: "py-4" }, Eo =
|
|
|
1516
1515
|
}
|
|
1517
1516
|
});
|
|
1518
1517
|
function ia(t) {
|
|
1519
|
-
const n = Me(), e =
|
|
1518
|
+
const n = Me(), e = oo(), o = ze(), { t: i } = Qe(), s = Q(!1), r = Q(null);
|
|
1520
1519
|
let u = !1, c = null, b = !1, y = !1;
|
|
1521
1520
|
function I() {
|
|
1522
1521
|
L();
|
|
@@ -2819,7 +2818,7 @@ const Ca = { class: "fm-typo-en-body-lg-400" }, Aa = { class: "fm-typo-en-body-l
|
|
|
2819
2818
|
accessorFn: (l) => {
|
|
2820
2819
|
var V;
|
|
2821
2820
|
const v = (V = h.value.find((W) => W.id === l.id)) == null ? void 0 : V.balance;
|
|
2822
|
-
return v ?
|
|
2821
|
+
return v ? co.toDouble(v) : l.physicalBalance;
|
|
2823
2822
|
},
|
|
2824
2823
|
header: () => we("Stock Take balance", "The physical balance recorded during stock take."),
|
|
2825
2824
|
cell(l) {
|
|
@@ -3617,7 +3616,7 @@ async function ar(t) {
|
|
|
3617
3616
|
o.onload = (i) => {
|
|
3618
3617
|
var s;
|
|
3619
3618
|
try {
|
|
3620
|
-
const r = (s = i.target) == null ? void 0 : s.result, u =
|
|
3619
|
+
const r = (s = i.target) == null ? void 0 : s.result, u = eo(r, { type: "array" }), c = u.SheetNames[0], b = u.Sheets[c], y = ut.sheet_to_json(b, {
|
|
3621
3620
|
header: 1,
|
|
3622
3621
|
defval: ""
|
|
3623
3622
|
}), I = (j) => String(j).trim().toLowerCase().replace(/^\uFEFF/, ""), E = y.findIndex(
|
|
@@ -3679,7 +3678,7 @@ function lr(t, n) {
|
|
|
3679
3678
|
["Code", "Name", "Balance"],
|
|
3680
3679
|
...e.map((c) => [c.code, c.name, ""])
|
|
3681
3680
|
], r = ut.aoa_to_sheet(s), u = ut.book_new();
|
|
3682
|
-
ut.book_append_sheet(u, r, "Template"),
|
|
3681
|
+
ut.book_append_sheet(u, r, "Template"), to(u, i, { bookType: "csv" });
|
|
3683
3682
|
}
|
|
3684
3683
|
function ir() {
|
|
3685
3684
|
const t = Q([]), n = Q([]), e = Q(!1), o = It(), i = Oe(), s = gt(), r = S(
|
|
@@ -4120,7 +4119,7 @@ const cr = { class: "flex flex-col gap-16" }, ur = {
|
|
|
4120
4119
|
}), jr = ["onClick"], Pr = { class: "flex items-start gap-8" }, Rr = { class: "fm-typo-body-md-400 line-clamp-3 w-full" }, Mr = { class: "flex flex-col gap-8" }, Ur = { class: "flex items-start gap-4" }, Nr = { class: "flex-1 flex flex-col gap-8" }, Vr = { class: "flex flex-col" }, Er = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Lr = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, zr = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary line-clamp-2" }, Or = { class: "fm-typo-en-body-lg-400 line-clamp-2" }, Gr = {
|
|
4121
4120
|
key: 0,
|
|
4122
4121
|
class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
|
|
4123
|
-
},
|
|
4122
|
+
}, hl = /* @__PURE__ */ De({
|
|
4124
4123
|
__name: "ClosingDraftView",
|
|
4125
4124
|
setup(t) {
|
|
4126
4125
|
const { t: n } = Qe(), { viewDraft: e } = pt(), { viewClosingDraftProps: o, viewClosingDraftShow: i } = Qn(pt()), s = Oe(), r = vn(), u = Gn(), { breakpoints: c } = Yn();
|
|
@@ -4194,7 +4193,7 @@ const cr = { class: "flex flex-col gap-16" }, ur = {
|
|
|
4194
4193
|
}
|
|
4195
4194
|
])
|
|
4196
4195
|
}, [
|
|
4197
|
-
D(
|
|
4196
|
+
D(lo, {
|
|
4198
4197
|
"change-location": "",
|
|
4199
4198
|
searchable: "",
|
|
4200
4199
|
search: y.value,
|
|
@@ -4316,5 +4315,5 @@ const cr = { class: "flex flex-col gap-16" }, ur = {
|
|
|
4316
4315
|
}
|
|
4317
4316
|
});
|
|
4318
4317
|
export {
|
|
4319
|
-
|
|
4318
|
+
hl as default
|
|
4320
4319
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as se, ref as g, computed as w, watch as ce, resolveComponent as x, openBlock as n, createElementBlock as y, createBlock as z, withModifiers as me, createCommentVNode as b, createVNode as _, withCtx as R, createElementVNode as o, toDisplayString as a, unref as i, Fragment as Q, createTextVNode as ee, renderList as ne, normalizeClass as fe, h as q, Teleport as ye } from "vue";
|
|
2
2
|
import { _ as ge } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DGlWE5I8.js";
|
|
3
3
|
import { useI18n as ie, useCoreStore as he } from "@feedmepos/mf-common";
|
|
4
|
-
import { E as re, B as N, a as _e, u as be } from "./app-
|
|
4
|
+
import { E as re, B as N, a as _e, u as be } from "./app-DpMCzQql.js";
|
|
5
5
|
import { F as ue } from "./FmAdminBadge-DjnBAgyv.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-Bkh9LvJQ.js";
|
|
7
7
|
import { useSnackbar as de, useDialog as xe } from "@feedmepos/ui-library";
|
|
8
|
-
import { u as pe } from "./stock-
|
|
9
|
-
import { g as ve, f as De } from "./recalculationUtils-
|
|
10
|
-
import { _ as we } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-
|
|
8
|
+
import { u as pe } from "./stock-VM7b7_Km.js";
|
|
9
|
+
import { g as ve, f as De } from "./recalculationUtils-O8dnzyPD.js";
|
|
10
|
+
import { _ as we } from "./UnitDisplayControl.vue_vue_type_script_setup_true_lang-Bpoawj7B.js";
|
|
11
11
|
const Se = { class: "fm-typo-en-heading-lg-600" }, Ve = { class: "flex flex-col gap-16" }, Ce = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, $e = { class: "flex flex-col gap-8" }, Ae = { class: "fm-typo-en-body-md-600" }, Fe = { class: "flex flex-col gap-8" }, Re = { class: "fm-typo-en-body-md-600" }, Ie = { class: "flex items-center gap-8 mb-8" }, Be = {
|
|
12
12
|
key: 2,
|
|
13
13
|
class: "text-red-500 text-sm mt-2"
|
|
@@ -4,23 +4,23 @@ import { useI18n as ne, useCoreStore as Ce } from "@feedmepos/mf-common";
|
|
|
4
4
|
import { useDialog as _e, useDialogChild as et, useSnackbar as xe, FmButtonVariant as fe, components as tt, useProxiedModel as ot, useBreakpoints as nt } from "@feedmepos/ui-library";
|
|
5
5
|
import { defineStore as Be, storeToRefs as Ne } from "pinia";
|
|
6
6
|
import { F as te } from "./form-mode.enum-BKiNVH6A.js";
|
|
7
|
-
import { a as we } from "./closing-template-
|
|
8
|
-
import { u as Ie, c as Ue, a as De, l as st } from "./app-
|
|
9
|
-
import { t as be, a as Se, d as Ae, s as Le, r as at } from "./xlsx.util-
|
|
7
|
+
import { a as we } from "./closing-template-CaFX19g1.js";
|
|
8
|
+
import { u as Ie, c as Ue, a as De, l as st } from "./app-DpMCzQql.js";
|
|
9
|
+
import { t as be, a as Se, d as Ae, s as Le, r as at } from "./xlsx.util-Cm8s0ZJD.js";
|
|
10
10
|
import { F as lt } from "./FmDroppableField-J0xUsOTV.js";
|
|
11
|
-
import { f as Ve, a as ge } from "./date2-
|
|
11
|
+
import { f as Ve, a as ge } from "./date2-DBsUy1HH.js";
|
|
12
12
|
import { D as ye, R as Y } from "./row-action.enum-DQ9bJ_uv.js";
|
|
13
13
|
import { c as rt } from "./component-kqxARxvM.js";
|
|
14
|
-
import { f as it } from "./format-time-from-id-
|
|
15
|
-
import { _ as ct } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { u as mt } from "./netsuite-
|
|
17
|
-
import { u as dt } from "./duplicate-template-
|
|
18
|
-
import { _ as ut } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-
|
|
19
|
-
import { R as pt, A as ft } from "./rules-
|
|
20
|
-
import { u as ze } from "./use-ingredient-select-dialog-
|
|
21
|
-
import { d as yt } from "./defineDeepModel-
|
|
22
|
-
import { u as vt } from "./use-template-enabled-locations-
|
|
23
|
-
import { _ as gt } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-
|
|
14
|
+
import { f as it } from "./format-time-from-id-D3lPFiqA.js";
|
|
15
|
+
import { _ as ct } from "./TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CAb7UWFP.js";
|
|
16
|
+
import { u as mt } from "./netsuite-qr2wHoV5.js";
|
|
17
|
+
import { u as dt } from "./duplicate-template-Dyx4X380.js";
|
|
18
|
+
import { _ as ut } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Bkh9LvJQ.js";
|
|
19
|
+
import { R as pt, A as ft } from "./rules-BPu-CBAX.js";
|
|
20
|
+
import { u as ze } from "./use-ingredient-select-dialog-Cd700UkI.js";
|
|
21
|
+
import { d as yt } from "./defineDeepModel-YeHxg9wN.js";
|
|
22
|
+
import { u as vt } from "./use-template-enabled-locations-D1AVostH.js";
|
|
23
|
+
import { _ as gt } from "./SystemTrailDialog.vue_vue_type_script_setup_true_lang-_03vSZ4W.js";
|
|
24
24
|
import { _ as bt, F as ve } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.js";
|
|
25
25
|
import { _ as ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
26
26
|
const ke = Be(
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as p, computed as f, watchEffect as d, resolveComponent as n, openBlock as _, createElementBlock 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-DuIGSnMd.js";
|
|
5
|
+
import { u as y } from "./feature-ltFu24H8.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-DKEmN4tO.js → DeliveryOrderPrintPreview-VnG9wrNu.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as x, computed as g, ref as h, onMounted as _, openBlock as i, createElementBlock as u, createElementVNode as t, createTextVNode as n, toDisplayString as l, createCommentVNode as d, Fragment as o, renderList as p, normalizeClass as c } from "vue";
|
|
2
2
|
import { useRoute as w } from "vue-router";
|
|
3
|
-
import { Q as b } from "./app-
|
|
4
|
-
import { L as k } from "./lz-string-
|
|
3
|
+
import { Q as b } from "./app-DpMCzQql.js";
|
|
4
|
+
import { L as k } from "./lz-string-DAdPi3YY.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,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as g, mergeModels as I, useModel as z, computed as b, ref as _, resolveComponent as n, openBlock as o, createElementBlock as h, normalizeStyle as B, createElementVNode as f, createVNode as N, withCtx as E, createBlock as s, createCommentVNode as F, Fragment as S, renderList as R, unref as r } from "vue";
|
|
2
|
-
import { z as u } from "./app-
|
|
3
|
-
import { F as T } from "./FmMultiselectDialog-
|
|
2
|
+
import { z as u } from "./app-DpMCzQql.js";
|
|
3
|
+
import { F as T } from "./FmMultiselectDialog-C7P1UET0.js";
|
|
4
4
|
const q = { class: "overflow-y-auto h-full pb-8" }, L = /* @__PURE__ */ g({
|
|
5
5
|
__name: "FmFilterableMenuOptions",
|
|
6
6
|
props: /* @__PURE__ */ I({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as S, computed as w, ref as P, resolveComponent as h, openBlock as n, createElementBlock as p, createVNode as x, withCtx as $, createElementVNode as b, Fragment as V, createTextVNode as R, toDisplayString as D, unref as r, createBlock as v, createCommentVNode as k, renderList as N, watch as O, mergeModels as H, useModel as I, renderSlot as W, normalizeClass as A } from "vue";
|
|
2
2
|
import { useCoreStore as q, useI18n as Q } from "@feedmepos/mf-common";
|
|
3
|
-
import { u as G } from "./app-
|
|
4
|
-
import { b as T } from "./date2-
|
|
3
|
+
import { u as G } from "./app-DpMCzQql.js";
|
|
4
|
+
import { b as T } from "./date2-DBsUy1HH.js";
|
|
5
5
|
import { useBreakpoints as J } from "@feedmepos/ui-library";
|
|
6
6
|
import { u as K } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DGlWE5I8.js";
|
|
7
7
|
import { D as z } from "./app-DiX-EfV6.js";
|
|
@@ -3,8 +3,8 @@ var Pe = (F, i, l) => i in F ? He(F, i, { enumerable: !0, configurable: !0, writ
|
|
|
3
3
|
var ve = (F, i, l) => Pe(F, typeof i != "symbol" ? i + "" : i, l);
|
|
4
4
|
import { defineComponent as be, computed as x, ref as $, watch as ge, openBlock as d, createElementBlock as f, normalizeStyle as z, Fragment as V, renderList as O, renderSlot as ke, createCommentVNode as D, useSlots as Oe, onMounted as Ue, onUnmounted as Ee, reactive as ee, resolveComponent as T, createElementVNode as B, createVNode as k, createTextVNode as Ke, toDisplayString as P, unref as L, createSlots as je, withCtx as w, createBlock as I, resolveDynamicComponent as pe, normalizeClass as fe, withModifiers as Ne, Transition as ze } from "vue";
|
|
5
5
|
import { useDialogChild as Ge } from "@feedmepos/ui-library";
|
|
6
|
-
import { z as he } from "./app-
|
|
7
|
-
import { d as Je } from "./index-
|
|
6
|
+
import { z as he } from "./app-DpMCzQql.js";
|
|
7
|
+
import { d as Je } from "./index-B8xTUvTH.js";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import { useI18n as Re } from "@feedmepos/mf-common";
|
|
10
10
|
import { P as We, J as ye, D as Qe } from "./app-DiX-EfV6.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineStore as p } from "pinia";
|
|
2
2
|
import { useDialog as y } from "@feedmepos/ui-library";
|
|
3
3
|
import { useI18n as v } from "@feedmepos/mf-common";
|
|
4
|
-
import { a } from "./FmMultiselectDialog-
|
|
4
|
+
import { a } from "./FmMultiselectDialog-C7P1UET0.js";
|
|
5
5
|
import { h as S } from "vue";
|
|
6
6
|
const w = p("inventoryMultiSelectDialog", () => {
|
|
7
7
|
const l = y(), { t: n } = v();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as ue, mergeModels as W, useModel as re, computed as f, ref as I, watch as H, onBeforeUnmount as me, inject as ce, resolveComponent as x, openBlock as c, createElementBlock as y, createElementVNode as u, createVNode as M, withCtx as _, renderSlot as G, normalizeClass as j, toDisplayString as h, withDirectives as de, vModelText as pe, createCommentVNode as A, createTextVNode as fe, createBlock as U, Fragment as ve, renderList as be, createSlots as ye } from "vue";
|
|
2
|
-
import { l as he } from "./netsuite-
|
|
3
|
-
import { w as D } from "./app-
|
|
4
|
-
import { g as q, c as xe, a as b, t as Me, e as Z, m as ge, b as _e, u as Fe } from "./number-
|
|
5
|
-
import { I as R, a as Ae } from "./rules-
|
|
2
|
+
import { l as he } from "./netsuite-qr2wHoV5.js";
|
|
3
|
+
import { w as D } from "./app-DpMCzQql.js";
|
|
4
|
+
import { g as q, c as xe, a as b, t as Me, e as Z, m as ge, b as _e, u as Fe } from "./number-xgIylzEb.js";
|
|
5
|
+
import { I as R, a as Ae } from "./rules-BPu-CBAX.js";
|
|
6
6
|
import "@feedmepos/ui-library";
|
|
7
|
-
import { u as ke, a as Be } from "./uom-rules-
|
|
7
|
+
import { u as ke, a as Be } from "./uom-rules-D6eW0fAO.js";
|
|
8
8
|
function J() {
|
|
9
9
|
return {
|
|
10
10
|
amount: D.reset()
|
|
@@ -2,15 +2,15 @@ import { defineComponent as De, ref as F, computed as J, watch as ze, resolveCom
|
|
|
2
2
|
import { u as Ve, _ as ke } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DGlWE5I8.js";
|
|
3
3
|
import { useCoreStore as Re, useI18n as je } from "@feedmepos/mf-common";
|
|
4
4
|
import { useDialogChild as We, useSnackbar as Oe, useDialog as Le, useBreakpoints as Je } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as Xe } from "./feature-
|
|
6
|
-
import { a as ie } from "./app-
|
|
7
|
-
import "./dayjs.min-
|
|
5
|
+
import { u as Xe } from "./feature-ltFu24H8.js";
|
|
6
|
+
import { a as ie } from "./app-DpMCzQql.js";
|
|
7
|
+
import "./dayjs.min-BVKjPmJE.js";
|
|
8
8
|
import "./app-DiX-EfV6.js";
|
|
9
9
|
import "./FmAdminBadge-DjnBAgyv.js";
|
|
10
|
-
import { s as He, a as qe, d as Qe, t as Ce, r as Ye } from "./xlsx.util-
|
|
11
|
-
import { s as Ze, g as et, b as tt, d as Fe } from "./import-export.helper-
|
|
10
|
+
import { s as He, a as qe, d as Qe, t as Ce, r as Ye } from "./xlsx.util-Cm8s0ZJD.js";
|
|
11
|
+
import { s as Ze, g as et, b as tt, d as Fe } from "./import-export.helper-BJ5Lz4Gg.js";
|
|
12
12
|
import { r as nt } from "./random-CSbEbElR.js";
|
|
13
|
-
import { c as Ae, a as pe } from "./number-
|
|
13
|
+
import { c as Ae, a as pe } from "./number-xgIylzEb.js";
|
|
14
14
|
import { F as ot } from "./FmDroppableField-J0xUsOTV.js";
|
|
15
15
|
function Ee() {
|
|
16
16
|
return `measurement_${(/* @__PURE__ */ new Date()).toISOString()}_${nt()}`;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as p, openBlock as s, createElementBlock as n, createElementVNode as r, toDisplayString as o, unref as l, Fragment as d, renderList as x } from "vue";
|
|
2
|
-
import { a, e as y } from "./number-
|
|
2
|
+
import { a, e as y } from "./number-xgIylzEb.js";
|
|
3
3
|
import { useI18n as _ } from "@feedmepos/mf-common";
|
|
4
4
|
const v = { class: "flex flex-col" }, g = { class: "flex flex-row fm-typo-en-body-md-600 bg-fm-color-neutral-gray-100 text-fm-color-typo-secondary h-48 items-center" }, h = { class: "flex-1 py-8 px-16" }, b = {
|
|
5
5
|
class: "flex-0 py-8 px-16",
|
|
@@ -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, openBlock as F, createElementBlock as B, createVNode as b, unref as i, createElementVNode as c, 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
|
|
2
|
+
import { a as L, c as P, i as oe, u as Re } from "./app-DpMCzQql.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,17 +8,17 @@ import { D as ie, R as K } from "./row-action.enum-DQ9bJ_uv.js";
|
|
|
8
8
|
import { c as Ve } from "./component-kqxARxvM.js";
|
|
9
9
|
import { u as Ce, _ as De } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DGlWE5I8.js";
|
|
10
10
|
import { _ as Ae, F as le } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-Ca_eYa8-.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-
|
|
14
|
-
import { L as Ue, P as Be, D as
|
|
15
|
-
import { u as
|
|
11
|
+
import { _ as $e } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-Bkh9LvJQ.js";
|
|
12
|
+
import { d as de } from "./defineDeepModel-YeHxg9wN.js";
|
|
13
|
+
import { I as Te, A as Ee, U as Me, R as ce } from "./rules-BPu-CBAX.js";
|
|
14
|
+
import { L as Ue, P as Be, D as Pe } from "./app-DiX-EfV6.js";
|
|
15
|
+
import { u as Le } from "./FmMultiselectDialog-Dru64kWF.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(
|
|
19
19
|
"ingredientGroupactions",
|
|
20
20
|
function() {
|
|
21
|
-
const _ = Ie(), f = Y(), k =
|
|
21
|
+
const _ = Ie(), f = Y(), k = L(), { t: l } = z(), v = A();
|
|
22
22
|
function e() {
|
|
23
23
|
const u = {
|
|
24
24
|
modelValue: {},
|
|
@@ -32,7 +32,7 @@ const H = ue(
|
|
|
32
32
|
}
|
|
33
33
|
async function a(u) {
|
|
34
34
|
const m = {
|
|
35
|
-
modelValue:
|
|
35
|
+
modelValue: P(u),
|
|
36
36
|
mode: S.UPDATE,
|
|
37
37
|
show: !0,
|
|
38
38
|
"onUpdate:show"(r) {
|
|
@@ -91,7 +91,7 @@ const H = ue(
|
|
|
91
91
|
), Oe = ue(
|
|
92
92
|
"ingredientGroupTable",
|
|
93
93
|
function() {
|
|
94
|
-
const _ = A(!1), f = Y(), k =
|
|
94
|
+
const _ = A(!1), f = Y(), k = L(), l = H();
|
|
95
95
|
async function v() {
|
|
96
96
|
_.value = !0;
|
|
97
97
|
try {
|
|
@@ -107,7 +107,7 @@ const H = ue(
|
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
function e(t, n) {
|
|
110
|
-
switch (n =
|
|
110
|
+
switch (n = P(n), t) {
|
|
111
111
|
case K.Edit:
|
|
112
112
|
return l.updateIngredientGroup(n);
|
|
113
113
|
case K.Delete:
|
|
@@ -174,7 +174,7 @@ function qe(o) {
|
|
|
174
174
|
};
|
|
175
175
|
}
|
|
176
176
|
function fe(o) {
|
|
177
|
-
const _ =
|
|
177
|
+
const _ = Le(), f = L(), k = G(() => [
|
|
178
178
|
{
|
|
179
179
|
id: "delete",
|
|
180
180
|
header: "",
|
|
@@ -473,7 +473,7 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
|
|
|
473
473
|
label: i(f)("inventory.ingredientGroup.form.rules.title"),
|
|
474
474
|
required: ""
|
|
475
475
|
}, null, 8, ["label"]),
|
|
476
|
-
b(i(
|
|
476
|
+
b(i(Pe), {
|
|
477
477
|
modelValue: a.value,
|
|
478
478
|
"onUpdate:modelValue": s[1] || (s[1] = (y) => a.value = y),
|
|
479
479
|
attributes: v.value
|
|
@@ -726,7 +726,7 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
|
|
|
726
726
|
},
|
|
727
727
|
emits: ["update:show"],
|
|
728
728
|
setup(o) {
|
|
729
|
-
const _ = o, f =
|
|
729
|
+
const _ = o, f = L(), k = ze(() => f.readCachedMenu()), l = G(
|
|
730
730
|
() => k.result.value.state === Ne.success ? k.result.value.data : void 0
|
|
731
731
|
), v = Y(), { t: e } = z(), a = Se(_, "show");
|
|
732
732
|
function t() {
|
|
@@ -741,7 +741,7 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
|
|
|
741
741
|
() => _.show,
|
|
742
742
|
(d) => {
|
|
743
743
|
if (!d) return;
|
|
744
|
-
let p =
|
|
744
|
+
let p = P(_.modelValue ?? t());
|
|
745
745
|
p.defaultSkuRefs && (p.defaultSkuRefs = p.defaultSkuRefs.map((h, V) => ({
|
|
746
746
|
...h,
|
|
747
747
|
priority: h.priority ?? V + 1
|
|
@@ -779,7 +779,7 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
|
|
|
779
779
|
}), m = A(), r = A(!1);
|
|
780
780
|
async function y() {
|
|
781
781
|
r.value = !0;
|
|
782
|
-
const d =
|
|
782
|
+
const d = P(n.value);
|
|
783
783
|
try {
|
|
784
784
|
await f.createSkuGroup(d), a.value = !1, v.open({
|
|
785
785
|
title: e("inventory.common.success"),
|
|
@@ -798,7 +798,7 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
|
|
|
798
798
|
}
|
|
799
799
|
async function w() {
|
|
800
800
|
r.value = !0;
|
|
801
|
-
const d =
|
|
801
|
+
const d = P(n.value);
|
|
802
802
|
try {
|
|
803
803
|
await f.updateSkuGroup(d), r.value = !1, a.value = !1, v.open({
|
|
804
804
|
title: e("inventory.common.success"),
|
|
@@ -872,10 +872,10 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
|
|
|
872
872
|
}, 8, ["model-value", "header"]);
|
|
873
873
|
};
|
|
874
874
|
}
|
|
875
|
-
}), kt = { class: "flex flex-col py-8" }, xt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ht = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" },
|
|
875
|
+
}), kt = { class: "flex flex-col py-8" }, xt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ht = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, Lt = /* @__PURE__ */ j({
|
|
876
876
|
__name: "IngredientGroupView",
|
|
877
877
|
setup(o) {
|
|
878
|
-
const _ =
|
|
878
|
+
const _ = L(), f = G(() => _.skuGroups), k = Re(), { t: l } = z(), {
|
|
879
879
|
createIngredientGroup: v,
|
|
880
880
|
updateIngredientGroup: e,
|
|
881
881
|
importIngredientGroups: a,
|
|
@@ -929,7 +929,7 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
|
|
|
929
929
|
"row-data": f.value,
|
|
930
930
|
"search-value": m.value,
|
|
931
931
|
loading: !i(k)._currentLocation || y.value,
|
|
932
|
-
"loading-text": "
|
|
932
|
+
"loading-text": i(l)("inventory.common.loading"),
|
|
933
933
|
onRowClick: V[1] || (V[1] = (E) => i(e)(E.original)),
|
|
934
934
|
"page-size": I.value
|
|
935
935
|
}, {
|
|
@@ -969,7 +969,7 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
|
|
|
969
969
|
]), 1032, ["row", "onRowClick"])
|
|
970
970
|
]),
|
|
971
971
|
_: 1
|
|
972
|
-
}, 8, ["style", "column-defs", "row-data", "search-value", "loading", "page-size"])
|
|
972
|
+
}, 8, ["style", "column-defs", "row-data", "search-value", "loading", "loading-text", "page-size"])
|
|
973
973
|
], 2),
|
|
974
974
|
(F(), M(xe, { to: "body" }, [
|
|
975
975
|
b(bt, he(we(i(g))), null, 16)
|
|
@@ -981,5 +981,5 @@ const Ke = { class: "flex flex-col gap-16" }, je = { class: "flex flex-col" }, H
|
|
|
981
981
|
}
|
|
982
982
|
});
|
|
983
983
|
export {
|
|
984
|
-
|
|
984
|
+
Lt as default
|
|
985
985
|
};
|