@feedmepos/mf-inventory-portal 1.1.9 → 1.2.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-D1UJ8NY1.js → App-Cn6ZbJ9V.js} +1 -1
- package/dist/{ApprovalView-Cf6tfPo1.js → ApprovalView-BEBrOuKS.js} +22 -22
- package/dist/{BindingsDialog-C4XnyllW.js → BindingsDialog-BXTIEM-C.js} +2 -2
- package/dist/{BindingsPicker-BW4-JT2R.js → BindingsPicker-Dln1VJdF.js} +1 -1
- package/dist/{BindingsTable-DtDFatll.js → BindingsTable-DjIEJjR0.js} +1 -1
- package/dist/{ClosingDraftView-TtsNry0r.js → ClosingDraftView-Dl53X3sQ.js} +2 -2
- package/dist/{ClosingTemplateView-NbwT6bOk.js → ClosingTemplateView-CHjTBGjQ.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-ujSpOCKj.js → DeliveryOrderPrintPreview-DuFlghMm.js} +8 -8
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-AGOtUG41.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CYBgTivO.js} +12 -12
- package/dist/{FmMultiselectDialog-c2e1Pisp.js → FmMultiselectDialog-MP5_M7P7.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BNxA-pQp.js → FmUnitInput.vue_vue_type_script_setup_true_lang-CZzBZmX6.js} +25 -25
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-HkmovqY5.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-HdFYzIac.js} +1 -1
- package/dist/{IngredientGroupView-CnSZ_jFk.js → IngredientGroupView-WeKUyj_j.js} +2 -2
- package/dist/{IngredientsView-DjWSaEi8.js → IngredientsView-CXuBqL8l.js} +4 -4
- package/dist/{IntegrationView-CJJKfJDQ.js → IntegrationView-DaXuIEsQ.js} +83 -83
- package/dist/{InventoryBindingForm-DhnOLZJo.js → InventoryBindingForm-CF4S5FKy.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CgLA6KH7.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-B7oE_5vm.js} +3 -3
- package/dist/{InventoryBindingSummary-_DhLtjfm.js → InventoryBindingSummary-B62JgE3E.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BzlWBYz0.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-LU6H0km1.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DRlFOUlD.js → PremiumBadge.vue_vue_type_script_setup_true_lang-D89P4Qmb.js} +7 -7
- package/dist/{PublishView-DjA8RTiy.js → PublishView-mEpPGhPa.js} +4 -4
- package/dist/{PurchaseOrderPrintPreview-Bzdm9Vd-.js → PurchaseOrderPrintPreview-C-AYYN_A.js} +7 -7
- package/dist/{ReceiveRequestView-CJ7oiJBQ.js → ReceiveRequestView-CdAk58O7.js} +60 -60
- package/dist/{RecipeView--lcBWmZ3.js → RecipeView-CYFVAEGK.js} +3 -3
- package/dist/StockView-B8miUD_1.js +2080 -0
- package/dist/{SupplierView-BN1P0pgR.js → SupplierView-DOUMGjwC.js} +3 -3
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CiK1nGyN.js → TransferDetails.vue_vue_type_script_setup_true_lang-8EHU5GHB.js} +460 -448
- package/dist/{TransferTemplateView-P25c3cZ-.js → TransferTemplateView-JN6X7cL7.js} +64 -64
- package/dist/{UnitView-Umy1Vy0Y.js → UnitView-BgAL1J1L.js} +3 -3
- package/dist/{WarehouseView-DNDIdR4i.js → WarehouseView-CYjou0HU.js} +1 -1
- package/dist/api/stock.d.ts +2 -0
- package/dist/{app-CgzMLhAo.js → app-2UW9ih37.js} +18639 -17803
- package/dist/app.d.ts +726 -6
- package/dist/app.js +1 -1
- package/dist/{decimal-D_3mwNtr.js → decimal-BVjUqeiV.js} +1 -1
- package/dist/{format-unit-display-Bu29MSxm.js → format-unit-display-p37d7NSx.js} +17 -17
- package/dist/{index-BE8jrI3O.js → index-BpzemzqA.js} +1 -1
- package/dist/{index-D-fVJxc8.js → index-CL-1GwmK.js} +1 -1
- package/dist/{stock-JVbFNtIv.js → stock-B7mG_P1Y.js} +35 -27
- package/dist/style.css +1 -1
- package/dist/{supplier-nx8WElIW.js → supplier-D9coSvOP.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-CX9_4vk_.js → use-ingredient-select-dialog-BDRHJkpA.js} +1 -1
- package/dist/{use-inventory-binding-dialog-BfVLQDzr.js → use-inventory-binding-dialog-B0_Biu6_.js} +1 -1
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +6 -2
- package/dist/views/stock/components/dialog/AmendAdjustmentForm.vue.d.ts +94 -0
- package/dist/views/stock/components/dialog/AmendAdjustmentFormProps.d.ts +3 -0
- package/package.json +5 -5
- package/dist/StockView-BGNukBaV.js +0 -1856
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as Y, mergeModels as Re, useModel as Se, onMounted as pe, ref as M, computed as _, resolveComponent as F, openBlock as I, createElementBlock as V, createElementVNode as l, toDisplayString as
|
|
1
|
+
import { defineComponent as Y, mergeModels as Re, useModel as Se, onMounted as pe, ref as M, computed as _, resolveComponent as F, openBlock as I, createElementBlock as V, createElementVNode as l, toDisplayString as j, unref as S, createVNode as x, createBlock as U, withCtx as O, Fragment as J, renderList as W, normalizeClass as q, normalizeStyle as je, createSlots as se, createCommentVNode as z, withModifiers as Te, reactive as ve, watch as ge, isRef as ae, Teleport as ce, h as D, createTextVNode as P, watchEffect as _e } from "vue";
|
|
2
2
|
import { E as ze } from "./empty-placeholder-wf6-BWE8.js";
|
|
3
|
-
import { b0 as He,
|
|
3
|
+
import { b0 as He, aQ as Ue, f as te, u as $, b1 as Xe, b as ie, aB as de, j as Qe, aY as me, a4 as ye, a5 as Ae, a as be, a2 as Ye, Q as G, $ as we, b2 as ke, aH as Be, aU as Ce, s as Ee, y as Fe, a0 as ue, c as Le, _ as Je, C as Ke } from "./app-2UW9ih37.js";
|
|
4
4
|
import { useDialogChild as Pe, useDialog as re, useProxiedModel as le, useSnackbar as ee, useBreakpoints as Ve, components as ne } from "@feedmepos/ui-library";
|
|
5
5
|
import { useI18n as Z, useCoreStore as oe } from "@feedmepos/mf-common";
|
|
6
|
-
import { a as qe, b as Ze, c as Ge, u as We } from "./index-
|
|
7
|
-
import { _ as $e, F as et } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { a as qe, b as Ze, c as Ge, u as We } from "./index-CL-1GwmK.js";
|
|
7
|
+
import { _ as $e, F as et } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-CZzBZmX6.js";
|
|
8
8
|
const tt = "data:image/svg+xml,%3csvg%20width='200'%20height='101'%20viewBox='0%200%20200%20101'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M98.9161%2038.4456V24.1772H108.527V27.1988H102.12V30.2202H107.347V32.7382H102.12V38.4456H98.9161Z'%20fill='%235D5359'/%3e%3cpath%20d='M110.382%2031.2276C110.382%2027.5345%20113.249%2024.1772%20117.127%2024.1772C121.174%2024.1772%20123.872%2027.7024%20123.872%2031.3953C123.872%2035.0884%20121.005%2038.6133%20117.127%2038.6133C113.08%2038.4456%20110.382%2034.9204%20110.382%2031.2276ZM117.127%2035.5919C119.487%2035.5919%20120.499%2033.4096%20120.499%2031.2276C120.499%2029.0452%20119.319%2027.0309%20117.127%2027.0309C114.935%2027.0309%20113.754%2029.213%20113.754%2031.2276C113.754%2033.5776%20114.935%2035.5919%20117.127%2035.5919Z'%20fill='%235D5359'/%3e%3cpath%20d='M126.232%2031.2276C126.232%2027.5345%20129.099%2024.1772%20132.977%2024.1772C137.024%2024.1772%20139.722%2027.7024%20139.722%2031.3953C139.722%2035.0884%20136.855%2038.6133%20132.977%2038.6133C128.93%2038.4456%20126.232%2034.9204%20126.232%2031.2276ZM132.977%2035.5919C135.337%2035.5919%20136.349%2033.4096%20136.349%2031.2276C136.349%2029.0452%20135.169%2027.0309%20132.977%2027.0309C130.785%2027.0309%20129.604%2029.213%20129.604%2031.2276C129.604%2033.5776%20130.785%2035.5919%20132.977%2035.5919Z'%20fill='%235D5359'/%3e%3cpath%20d='M142.926%2038.4455V24.345H148.153C152.874%2024.345%20155.235%2027.5343%20155.235%2031.3952C155.235%2035.5918%20152.368%2038.4455%20148.153%2038.4455H142.926ZM148.153%2027.0308H146.129V35.4238H148.153C150.513%2035.4238%20151.862%2033.5775%20151.862%2031.2272C151.862%2028.8773%20150.513%2027.0308%20148.153%2027.0308Z'%20fill='%235D5359'/%3e%3cpath%20d='M110.045%2057.5607V49.1676L107.009%2055.2107H105.324L102.12%2049.1676V57.5607H98.9161V43.4604H102.457L106.167%2050.8465L109.876%2043.4604H113.417V57.5607H110.045Z'%20fill='%235D5359'/%3e%3cpath%20d='M115.947%2057.5607L121.342%2043.4604H124.04L129.436%2057.5607H125.895L124.715%2054.3716H120.331L119.319%2057.5607H115.947ZM122.691%2046.9856L121.005%2052.1893H124.378L122.691%2046.9856Z'%20fill='%235D5359'/%3e%3cpath%20d='M131.965%2057.5607V43.4604H138.373C141.07%2043.4604%20142.925%2045.8105%20142.925%2048.1605C142.925%2049.8393%20142.082%2051.5179%20140.565%2052.1893L143.768%2057.393H140.059L137.192%2052.8607H135V57.393H131.965V57.5607ZM135.169%2050.175H138.204C139.047%2050.175%20139.553%2049.3356%20139.553%2048.1605C139.553%2046.9856%20138.71%2046.3142%20138.035%2046.3142H135.169V50.175Z'%20fill='%235D5359'/%3e%3cpath%20d='M146.635%2057.5607V43.4604H150.007V49.8393L155.403%2043.4604H158.776L153.548%2049.6713L159.281%2057.5607H155.74L151.693%2051.5179L150.007%2053.3642V57.5607H146.635Z'%20fill='%235D5359'/%3e%3cpath%20d='M171.422%2054.7073V57.5607H161.474V43.4604H171.253V46.3142H164.677V48.9999H170.242V51.6856H164.677V54.7073H171.422Z'%20fill='%235D5359'/%3e%3cpath%20d='M185.417%2046.3142H181.202V57.5607H177.829V46.3142H173.614V43.4604H185.417V46.3142Z'%20fill='%235D5359'/%3e%3cpath%20d='M111.057%2062.5967V76.6973H107.853V70.9898H102.12V76.6973H98.9161V62.5967H102.12V68.1361H107.853V62.5967H111.057Z'%20fill='%235D5359'/%3e%3cpath%20d='M124.04%2069.815V62.5967H127.244V69.815C127.244%2073.6758%20125.389%2076.865%20121.005%2076.865C116.453%2076.865%20114.766%2073.5078%20114.766%2069.815V62.5967H117.97V69.815C117.97%2071.997%20118.813%2074.0115%20121.005%2074.0115C123.366%2074.0115%20124.04%2071.997%20124.04%2069.815Z'%20fill='%235D5359'/%3e%3cpath%20d='M138.036%2076.6973H131.122V62.5967H139.047C141.071%2062.5967%20142.251%2064.4433%20142.251%2066.2898C142.251%2067.6327%20141.576%2068.9755%20140.228%2069.4793C141.914%2069.9827%20142.926%2071.1578%20142.926%2073.1721C142.757%2075.5221%20140.733%2076.6973%20138.036%2076.6973ZM134.326%2065.4504V68.3041H137.53C138.204%2068.3041%20138.879%2067.8004%20138.879%2066.7933C138.879%2065.7861%20138.373%2065.2827%20137.698%2065.2827H134.326V65.4504ZM138.204%2070.8221H134.494V73.8435H138.204C139.047%2073.8435%20139.722%2073.1721%20139.722%2072.3327C139.553%2071.6613%20138.879%2070.8221%20138.204%2070.8221Z'%20fill='%235D5359'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M73.4753%2051.4994C78.7281%2050.5396%2082.8911%2046.4891%2083.9954%2041.3137L84.1232%2040.7134L83.9445%2040.1256C80.5804%2029.066%2071.9945%2020.2704%2061.0373%2016.5726C57.4%2015.3451%2053.5046%2014.6804%2049.458%2014.6804C45.4112%2014.6804%2041.5158%2015.3451%2037.8784%2016.5726C26.9214%2020.2704%2018.3354%2029.066%2014.9712%2040.1256L14.7924%2040.7134L14.9206%2041.3137C16.0247%2046.4891%2020.1875%2050.5396%2025.4405%2051.4994V58.8839H14.4183C14.6758%2059.9557%2014.9818%2061.0088%2015.3337%2062.0411C20.1553%2076.1811%2033.6083%2086.3619%2049.458%2086.3619C65.3074%2086.3619%2078.7606%2076.1811%2083.5822%2062.0411C83.9342%2061.0088%2084.2399%2059.9557%2084.4974%2058.8839H73.4753V51.4994ZM41.0517%2020.5973V38.5742C41.0517%2043.1931%2044.8155%2046.9371%2049.458%2046.9371C54.1005%2046.9371%2057.8641%2043.1931%2057.8641%2038.5742V20.5973C55.1919%2019.856%2052.3732%2019.4592%2049.458%2019.4592C46.5428%2019.4592%2043.7241%2019.856%2041.0517%2020.5973ZM62.6675%2022.3673V38.5742C62.6675%2043.1931%2066.431%2046.9371%2071.0735%2046.9371C74.9051%2046.9371%2078.1425%2044.3848%2079.1528%2040.8942C76.4672%2032.6902%2070.4379%2025.9824%2062.6675%2022.3673ZM60.2658%2046.1322C57.8753%2049.5094%2053.9255%2051.7159%2049.458%2051.7159C44.9902%2051.7159%2041.0408%2049.5094%2038.65%2046.1322C36.6982%2048.8894%2033.7074%2050.8662%2030.2439%2051.4994V58.8839H68.6718V51.4994C65.2083%2050.8662%2062.2175%2048.8894%2060.2658%2046.1322ZM21.1583%2063.6628C26.1349%2074.2514%2036.9382%2081.5834%2049.458%2081.5834C61.9776%2081.5834%2072.781%2074.2514%2077.7574%2063.6628H21.1583ZM36.2482%2038.5742V22.3673C28.4779%2025.9824%2022.4486%2032.6902%2019.7631%2040.8942C20.7733%2044.3848%2024.0106%2046.9371%2027.8422%2046.9371C32.4847%2046.9371%2036.2482%2043.1931%2036.2482%2038.5742Z'%20fill='%23FFC35D'/%3e%3c/svg%3e";
|
|
9
9
|
var Ne = { exports: {} };
|
|
10
10
|
(function(E, y) {
|
|
@@ -130,7 +130,7 @@ const st = { class: "flex flex-col gap-12 h-[350px]" }, at = { class: "flex item
|
|
|
130
130
|
function w(t, a, C = 0, L = !1) {
|
|
131
131
|
if (K(t) && t.children.length) {
|
|
132
132
|
const { children: N, ...H } = t, X = N.flatMap(
|
|
133
|
-
(R,
|
|
133
|
+
(R, T) => w(R, [...a, T], C + 1, L || t.disabled)
|
|
134
134
|
);
|
|
135
135
|
return [
|
|
136
136
|
{
|
|
@@ -243,7 +243,7 @@ const st = { class: "flex flex-col gap-12 h-[350px]" }, at = { class: "flex item
|
|
|
243
243
|
const C = F("FmSearch"), L = F("FmCheckbox"), N = F("FmButton"), H = F("FmListItem"), X = F("FmList");
|
|
244
244
|
return I(), V("div", st, [
|
|
245
245
|
l("div", at, [
|
|
246
|
-
l("div", lt,
|
|
246
|
+
l("div", lt, j(S(n)("inventory.formField.itemsSelected", { count: h.value })), 1),
|
|
247
247
|
l("div", it, [
|
|
248
248
|
x(C, {
|
|
249
249
|
modelValue: r.value,
|
|
@@ -268,7 +268,7 @@ const st = { class: "flex flex-col gap-12 h-[350px]" }, at = { class: "flex item
|
|
|
268
268
|
x(H, {
|
|
269
269
|
clickable: R.selectable !== !1,
|
|
270
270
|
onClick: () => R.selectable === !1 || R.disabled || v(R.keys, y.value, !o(R.keys, y.value)),
|
|
271
|
-
style:
|
|
271
|
+
style: je({
|
|
272
272
|
paddingLeft: `${16 + R.indent * 16}px`,
|
|
273
273
|
paddingTop: "4px",
|
|
274
274
|
paddingBottom: "4px"
|
|
@@ -278,12 +278,12 @@ const st = { class: "flex flex-col gap-12 h-[350px]" }, at = { class: "flex item
|
|
|
278
278
|
default: O(() => [
|
|
279
279
|
l("div", ut, [
|
|
280
280
|
l("div", ct, [
|
|
281
|
-
(I(!0), V(J, null, W(S(ot)(r.value, R.label).segments, (
|
|
281
|
+
(I(!0), V(J, null, W(S(ot)(r.value, R.label).segments, (T, Q) => (I(), V("span", {
|
|
282
282
|
key: Q,
|
|
283
283
|
class: q({
|
|
284
|
-
"font-bold":
|
|
284
|
+
"font-bold": T.isMatch
|
|
285
285
|
})
|
|
286
|
-
}, T
|
|
286
|
+
}, j(T.segment), 3))), 128))
|
|
287
287
|
]),
|
|
288
288
|
R.sublabel ? (I(), V("div", {
|
|
289
289
|
key: 0,
|
|
@@ -291,7 +291,7 @@ const st = { class: "flex flex-col gap-12 h-[350px]" }, at = { class: "flex item
|
|
|
291
291
|
"fm-typo-en-body-sm-400",
|
|
292
292
|
R.disabled ? "" : "text-fm-color-typo-secondary"
|
|
293
293
|
])
|
|
294
|
-
},
|
|
294
|
+
}, j(R.sublabel), 3)) : z("", !0)
|
|
295
295
|
])
|
|
296
296
|
]),
|
|
297
297
|
_: 2
|
|
@@ -315,7 +315,7 @@ const st = { class: "flex flex-col gap-12 h-[350px]" }, at = { class: "flex item
|
|
|
315
315
|
"prepend-icon": p(R.keys) ? "expand_less" : "expand_more",
|
|
316
316
|
size: "md",
|
|
317
317
|
variant: "tertiary",
|
|
318
|
-
onClick:
|
|
318
|
+
onClick: Te(() => m(R.keys), ["stop"])
|
|
319
319
|
}, null, 8, ["prepend-icon", "onClick"])
|
|
320
320
|
]),
|
|
321
321
|
key: "1"
|
|
@@ -324,7 +324,7 @@ const st = { class: "flex flex-col gap-12 h-[350px]" }, at = { class: "flex item
|
|
|
324
324
|
], 10, rt))), 128))
|
|
325
325
|
]),
|
|
326
326
|
_: 1
|
|
327
|
-
})) : (I(), V("div", dt,
|
|
327
|
+
})) : (I(), V("div", dt, j(S(n)("inventory.formField.noItemsFound")), 1))
|
|
328
328
|
]);
|
|
329
329
|
};
|
|
330
330
|
}
|
|
@@ -447,7 +447,7 @@ const st = { class: "flex flex-col gap-12 h-[350px]" }, at = { class: "flex item
|
|
|
447
447
|
const A = F("FmButton"), B = F("FmTextField");
|
|
448
448
|
return I(), V("div", mt, [
|
|
449
449
|
l("div", ft, [
|
|
450
|
-
l("div", pt,
|
|
450
|
+
l("div", pt, j(S(d)("inventory.integration.apply.addons")), 1),
|
|
451
451
|
x(A, {
|
|
452
452
|
type: "button",
|
|
453
453
|
variant: "plain",
|
|
@@ -460,8 +460,8 @@ const st = { class: "flex flex-col gap-12 h-[350px]" }, at = { class: "flex item
|
|
|
460
460
|
l("div", null, [
|
|
461
461
|
e.value.length > 0 ? (I(), V("table", vt, [
|
|
462
462
|
l("tr", gt, [
|
|
463
|
-
l("th", yt,
|
|
464
|
-
l("th", null,
|
|
463
|
+
l("th", yt, j(S(d)("inventory.integration.apply.name")), 1),
|
|
464
|
+
l("th", null, j(S(d)("inventory.integration.apply.code")), 1),
|
|
465
465
|
i[1] || (i[1] = l("th", { class: "w-1" }, " ", -1))
|
|
466
466
|
]),
|
|
467
467
|
(I(!0), V(J, null, W(e.value, (k, g) => (I(), V(J, { key: g }, [
|
|
@@ -469,8 +469,8 @@ const st = { class: "flex flex-col gap-12 h-[350px]" }, at = { class: "flex item
|
|
|
469
469
|
l("tr", null, [
|
|
470
470
|
l("td", null, [
|
|
471
471
|
l("div", At, [
|
|
472
|
-
l("div", bt,
|
|
473
|
-
k.groupName ? (I(), V("div", ht,
|
|
472
|
+
l("div", bt, j(k.name), 1),
|
|
473
|
+
k.groupName ? (I(), V("div", ht, j(k.groupName), 1)) : z("", !0)
|
|
474
474
|
])
|
|
475
475
|
]),
|
|
476
476
|
l("td", null, [
|
|
@@ -764,7 +764,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
764
764
|
const c = F("FmButton"), h = F("FmTextField");
|
|
765
765
|
return I(), V("div", Bt, [
|
|
766
766
|
l("div", Ct, [
|
|
767
|
-
l("div", Et,
|
|
767
|
+
l("div", Et, j(E.isAddon ? S(g)("inventory.integration.apply.addons") : S(g)("inventory.integration.apply.products")), 1),
|
|
768
768
|
x(c, {
|
|
769
769
|
type: "button",
|
|
770
770
|
variant: "plain",
|
|
@@ -778,8 +778,8 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
778
778
|
w.value.length > 0 ? (I(), V("table", Ft, [
|
|
779
779
|
l("thead", null, [
|
|
780
780
|
l("tr", Lt, [
|
|
781
|
-
l("th", Vt,
|
|
782
|
-
l("th", null,
|
|
781
|
+
l("th", Vt, j(S(g)("inventory.integration.apply.name")), 1),
|
|
782
|
+
l("th", null, j(S(g)("inventory.integration.apply.code")), 1),
|
|
783
783
|
m[1] || (m[1] = l("th", { class: "w-1" }, " ", -1))
|
|
784
784
|
])
|
|
785
785
|
]),
|
|
@@ -789,8 +789,8 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
789
789
|
l("tr", null, [
|
|
790
790
|
l("td", null, [
|
|
791
791
|
l("div", Nt, [
|
|
792
|
-
l("div", Dt,
|
|
793
|
-
v.variantName ? (I(), V("div", Ot,
|
|
792
|
+
l("div", Dt, j(v.itemCode) + " " + j(v.name), 1),
|
|
793
|
+
v.variantName ? (I(), V("div", Ot, j(v.variantName), 1)) : z("", !0)
|
|
794
794
|
])
|
|
795
795
|
]),
|
|
796
796
|
l("td", null, [
|
|
@@ -822,7 +822,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
822
822
|
]);
|
|
823
823
|
};
|
|
824
824
|
}
|
|
825
|
-
}), Rt = { class: "flex flex-col gap-8 w-full" },
|
|
825
|
+
}), Rt = { class: "flex flex-col gap-8 w-full" }, jt = /* @__PURE__ */ Y({
|
|
826
826
|
__name: "ApplyProductDialog",
|
|
827
827
|
props: {
|
|
828
828
|
categories: { default: () => [] },
|
|
@@ -902,7 +902,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
902
902
|
}, 8, ["modelValue", "header"]);
|
|
903
903
|
};
|
|
904
904
|
}
|
|
905
|
-
}),
|
|
905
|
+
}), Tt = { class: "flex flex-col gap-8 w-full" }, _t = /* @__PURE__ */ Y({
|
|
906
906
|
__name: "ApplyProductDialogV4",
|
|
907
907
|
props: {
|
|
908
908
|
categories: { default: () => [] },
|
|
@@ -954,7 +954,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
954
954
|
"max-width": 500
|
|
955
955
|
}, {
|
|
956
956
|
default: O(() => [
|
|
957
|
-
l("div",
|
|
957
|
+
l("div", Tt, [
|
|
958
958
|
l("div", null, [
|
|
959
959
|
x(m, { label: "Menu v4" })
|
|
960
960
|
]),
|
|
@@ -1056,8 +1056,8 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1056
1056
|
}, null, 8, Ut)
|
|
1057
1057
|
]),
|
|
1058
1058
|
l("div", Xt, [
|
|
1059
|
-
l("div", Qt,
|
|
1060
|
-
l("div", Yt,
|
|
1059
|
+
l("div", Qt, j(S(m)("inventory.integration.fmh.title")), 1),
|
|
1060
|
+
l("div", Yt, j(S(m)("inventory.integration.fmh.description")), 1)
|
|
1061
1061
|
])
|
|
1062
1062
|
]),
|
|
1063
1063
|
_: 1
|
|
@@ -1067,7 +1067,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1067
1067
|
}, 8, ["class"]),
|
|
1068
1068
|
S(e).state.setting ? (I(), V("div", Jt, [
|
|
1069
1069
|
(I(), U(ce, { to: "body" }, [
|
|
1070
|
-
o.value === "v3" ? (I(), U(
|
|
1070
|
+
o.value === "v3" ? (I(), U(jt, {
|
|
1071
1071
|
key: 0,
|
|
1072
1072
|
menus: u.value,
|
|
1073
1073
|
variants: w.value,
|
|
@@ -1153,9 +1153,9 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1153
1153
|
outline: ""
|
|
1154
1154
|
}),
|
|
1155
1155
|
l("div", $t, [
|
|
1156
|
-
l("span", en,
|
|
1157
|
-
l("span", tn, "ID: " +
|
|
1158
|
-
l("span", nn, "Subsidiary: " +
|
|
1156
|
+
l("span", en, j(r.value.name), 1),
|
|
1157
|
+
l("span", tn, "ID: " + j(r.value.netsuiteId), 1),
|
|
1158
|
+
l("span", nn, "Subsidiary: " + j(r.value.subsidiaryName), 1)
|
|
1159
1159
|
])
|
|
1160
1160
|
])) : z("", !0)
|
|
1161
1161
|
]);
|
|
@@ -1872,7 +1872,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1872
1872
|
return I(), V("div", vn, [
|
|
1873
1873
|
x(t, {
|
|
1874
1874
|
modelValue: b.value,
|
|
1875
|
-
"onUpdate:modelValue": v[0] || (v[0] = (
|
|
1875
|
+
"onUpdate:modelValue": v[0] || (v[0] = (T) => b.value = T),
|
|
1876
1876
|
items: w
|
|
1877
1877
|
}, null, 8, ["modelValue"]),
|
|
1878
1878
|
b.value.label === "Transfer Out" ? (I(), V(J, { key: 0 }, [
|
|
@@ -1905,7 +1905,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1905
1905
|
"prepend-icon": "lock"
|
|
1906
1906
|
}, {
|
|
1907
1907
|
default: O(() => [
|
|
1908
|
-
P(
|
|
1908
|
+
P(j(h.currentLocationSubsidiary.fullName), 1)
|
|
1909
1909
|
]),
|
|
1910
1910
|
_: 1
|
|
1911
1911
|
}),
|
|
@@ -1917,7 +1917,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1917
1917
|
}),
|
|
1918
1918
|
x(L, {
|
|
1919
1919
|
modelValue: k.value,
|
|
1920
|
-
"onUpdate:modelValue": v[1] || (v[1] = (
|
|
1920
|
+
"onUpdate:modelValue": v[1] || (v[1] = (T) => k.value = T)
|
|
1921
1921
|
}, null, 8, ["modelValue"]),
|
|
1922
1922
|
x(a, { class: "fm-typo-en-body-md-600" }, {
|
|
1923
1923
|
default: O(() => v[10] || (v[10] = [
|
|
@@ -1927,7 +1927,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1927
1927
|
}),
|
|
1928
1928
|
x(N, {
|
|
1929
1929
|
modelValue: g.value,
|
|
1930
|
-
"onUpdate:modelValue": v[2] || (v[2] = (
|
|
1930
|
+
"onUpdate:modelValue": v[2] || (v[2] = (T) => g.value = T)
|
|
1931
1931
|
}, null, 8, ["modelValue"]),
|
|
1932
1932
|
x(a, { class: "fm-typo-en-body-md-600" }, {
|
|
1933
1933
|
default: O(() => v[11] || (v[11] = [
|
|
@@ -1940,7 +1940,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1940
1940
|
key: 0,
|
|
1941
1941
|
class: "my-4 w-full",
|
|
1942
1942
|
modelValue: i.value,
|
|
1943
|
-
"onUpdate:modelValue": v[3] || (v[3] = (
|
|
1943
|
+
"onUpdate:modelValue": v[3] || (v[3] = (T) => i.value = T),
|
|
1944
1944
|
searchable: "",
|
|
1945
1945
|
searchTarget: "label",
|
|
1946
1946
|
items: B.value
|
|
@@ -1954,15 +1954,15 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1954
1954
|
outline: ""
|
|
1955
1955
|
}),
|
|
1956
1956
|
l("div", bn, [
|
|
1957
|
-
l("span", hn,
|
|
1958
|
-
l("span", xn, "ID: " +
|
|
1959
|
-
l("span", In, "Subsidiary: " +
|
|
1957
|
+
l("span", hn, j(i.value.name), 1),
|
|
1958
|
+
l("span", xn, "ID: " + j(i.value.netsuiteId), 1),
|
|
1959
|
+
l("span", In, "Subsidiary: " + j(i.value.subsidiaryName), 1)
|
|
1960
1960
|
]),
|
|
1961
1961
|
x(R, {
|
|
1962
1962
|
class: "ml-2",
|
|
1963
1963
|
variant: "secondary",
|
|
1964
1964
|
label: "Clear",
|
|
1965
|
-
onClick: v[4] || (v[4] = (
|
|
1965
|
+
onClick: v[4] || (v[4] = (T) => i.value = null)
|
|
1966
1966
|
})
|
|
1967
1967
|
])) : z("", !0)
|
|
1968
1968
|
]),
|
|
@@ -1977,7 +1977,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1977
1977
|
]),
|
|
1978
1978
|
x(mn, {
|
|
1979
1979
|
modelValue: f.value,
|
|
1980
|
-
"onUpdate:modelValue": v[5] || (v[5] = (
|
|
1980
|
+
"onUpdate:modelValue": v[5] || (v[5] = (T) => f.value = T)
|
|
1981
1981
|
}, null, 8, ["modelValue"]),
|
|
1982
1982
|
l("div", wn, [
|
|
1983
1983
|
x(R, {
|
|
@@ -2066,7 +2066,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2066
2066
|
var A;
|
|
2067
2067
|
const i = F("FmButton");
|
|
2068
2068
|
return I(), V("div", En, [
|
|
2069
|
-
l("span", null, "Current date and time: " +
|
|
2069
|
+
l("span", null, "Current date and time: " + j((/* @__PURE__ */ new Date()).toLocaleString()), 1),
|
|
2070
2070
|
x(i, {
|
|
2071
2071
|
label: "Check Unsync Transfer Order (Last 2 months)",
|
|
2072
2072
|
variant: "primary",
|
|
@@ -2077,7 +2077,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2077
2077
|
f.value.length > 0 ? (I(), V("div", Fn, [
|
|
2078
2078
|
o[0] || (o[0] = l("p", null, "Transfer Order NetSuite ID not match with existing orders", -1)),
|
|
2079
2079
|
l("ul", Ln, [
|
|
2080
|
-
(I(!0), V(J, null, W(f.value, (B) => (I(), V("li", { key: B },
|
|
2080
|
+
(I(!0), V(J, null, W(f.value, (B) => (I(), V("li", { key: B }, j(B), 1))), 128))
|
|
2081
2081
|
]),
|
|
2082
2082
|
f.value.length > 0 && ((A = S(s).sessionUser.value) != null && A.role.isAdmin) ? (I(), U(i, {
|
|
2083
2083
|
key: 0,
|
|
@@ -2152,7 +2152,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2152
2152
|
var A;
|
|
2153
2153
|
const i = F("FmButton");
|
|
2154
2154
|
return I(), V("div", Nn, [
|
|
2155
|
-
l("span", null, "Current date and time: " +
|
|
2155
|
+
l("span", null, "Current date and time: " + j((/* @__PURE__ */ new Date()).toLocaleString()), 1),
|
|
2156
2156
|
x(i, {
|
|
2157
2157
|
label: "Check Unsync Purchase Order (Last 2 months)",
|
|
2158
2158
|
variant: "primary",
|
|
@@ -2163,7 +2163,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2163
2163
|
f.value.length > 0 ? (I(), V("div", Dn, [
|
|
2164
2164
|
o[0] || (o[0] = l("p", null, "Purchase Order NetSuite ID not match with existing orders", -1)),
|
|
2165
2165
|
l("ul", On, [
|
|
2166
|
-
(I(!0), V(J, null, W(f.value, (B) => (I(), V("li", { key: B },
|
|
2166
|
+
(I(!0), V(J, null, W(f.value, (B) => (I(), V("li", { key: B }, j(B), 1))), 128))
|
|
2167
2167
|
]),
|
|
2168
2168
|
f.value.length > 0 && ((A = S(s).sessionUser.value) != null && A.role.isAdmin) ? (I(), U(i, {
|
|
2169
2169
|
key: 0,
|
|
@@ -2177,7 +2177,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2177
2177
|
]);
|
|
2178
2178
|
};
|
|
2179
2179
|
}
|
|
2180
|
-
}), Rn = { class: "flex flex-col gap-8 w-full" },
|
|
2180
|
+
}), Rn = { class: "flex flex-col gap-8 w-full" }, jn = { class: "flex gap-4 justify-between" }, Tn = { class: "inline-flex rounded-md items-center gap-4 justify-center h-[30px] px-8 py-4 bg-fm-color-neutral-gray-100 text-fm-color-neutral-gray-400" }, _n = { class: "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap" }, zn = { key: 0 }, Hn = { class: "flex gap-8 items-center justify-start" }, Un = /* @__PURE__ */ Y({
|
|
2181
2181
|
__name: "NetSuiteSideSheet",
|
|
2182
2182
|
props: {
|
|
2183
2183
|
nsLocations: {},
|
|
@@ -2252,14 +2252,14 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2252
2252
|
var a;
|
|
2253
2253
|
return [
|
|
2254
2254
|
l("div", Rn, [
|
|
2255
|
-
l("div",
|
|
2255
|
+
l("div", jn, [
|
|
2256
2256
|
p[3] || (p[3] = l("div", { class: "fm-typo-en-title-md-600" }, "NetSuite Integration", -1)),
|
|
2257
|
-
l("div",
|
|
2257
|
+
l("div", Tn, [
|
|
2258
2258
|
x(m, {
|
|
2259
2259
|
name: S(b),
|
|
2260
2260
|
size: "sm"
|
|
2261
2261
|
}, null, 8, ["name"]),
|
|
2262
|
-
l("div", _n,
|
|
2262
|
+
l("div", _n, j((a = S(w)._currentLocation) == null ? void 0 : a.name), 1)
|
|
2263
2263
|
])
|
|
2264
2264
|
]),
|
|
2265
2265
|
x(c, {
|
|
@@ -2323,8 +2323,8 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2323
2323
|
}, null, 8, Qn)
|
|
2324
2324
|
]),
|
|
2325
2325
|
l("div", Yn, [
|
|
2326
|
-
l("div", Jn,
|
|
2327
|
-
l("div", Kn,
|
|
2326
|
+
l("div", Jn, j(S(f)("inventory.integration.netsuite.title")), 1),
|
|
2327
|
+
l("div", Kn, j(S(f)("inventory.integration.netsuite.description")), 1)
|
|
2328
2328
|
])
|
|
2329
2329
|
]),
|
|
2330
2330
|
_: 1
|
|
@@ -2661,7 +2661,7 @@ const Wn = { class: "flex flex-col gap-4" }, $n = { class: "flex flex-col" }, eo
|
|
|
2661
2661
|
return isNaN(t.getTime()) ? null : ye(t);
|
|
2662
2662
|
});
|
|
2663
2663
|
return (t, a) => {
|
|
2664
|
-
const C = F("FmLabel"), L = F("FmField"), N = F("FmSimpleDatePicker"), H = F("FmButton"), X = F("FmRadio"), R = F("FmRadioGroup"),
|
|
2664
|
+
const C = F("FmLabel"), L = F("FmField"), N = F("FmSimpleDatePicker"), H = F("FmButton"), X = F("FmRadio"), R = F("FmRadioGroup"), T = F("FmTable");
|
|
2665
2665
|
return I(), V("div", Wn, [
|
|
2666
2666
|
l("div", $n, [
|
|
2667
2667
|
x(C, { label: "Latest closing" })
|
|
@@ -2671,7 +2671,7 @@ const Wn = { class: "flex flex-col gap-4" }, $n = { class: "flex flex-col" }, eo
|
|
|
2671
2671
|
disabled: ""
|
|
2672
2672
|
}, {
|
|
2673
2673
|
default: O(() => [
|
|
2674
|
-
P(
|
|
2674
|
+
P(j(S(y).state.closingDocumentId ? `${S(Ee)(new Date(S(Ae)(S(y).state.closingDocumentId)))}` : "No closing found"), 1)
|
|
2675
2675
|
]),
|
|
2676
2676
|
_: 1
|
|
2677
2677
|
}),
|
|
@@ -2690,7 +2690,7 @@ const Wn = { class: "flex flex-col gap-4" }, $n = { class: "flex flex-col" }, eo
|
|
|
2690
2690
|
label: "Last closing time"
|
|
2691
2691
|
}, {
|
|
2692
2692
|
default: O(() => [
|
|
2693
|
-
P(
|
|
2693
|
+
P(j(v.value), 1)
|
|
2694
2694
|
]),
|
|
2695
2695
|
_: 1
|
|
2696
2696
|
})
|
|
@@ -2712,7 +2712,7 @@ const Wn = { class: "flex flex-col gap-4" }, $n = { class: "flex flex-col" }, eo
|
|
|
2712
2712
|
l("div", no, [
|
|
2713
2713
|
l("div", oo, [
|
|
2714
2714
|
l("div", so, [
|
|
2715
|
-
l("div", ao,
|
|
2715
|
+
l("div", ao, j(b.value.name), 1),
|
|
2716
2716
|
x(H, {
|
|
2717
2717
|
label: S(w)("inventory.ingredient.import.replaceFile"),
|
|
2718
2718
|
variant: "secondary",
|
|
@@ -2742,8 +2742,8 @@ const Wn = { class: "flex flex-col gap-4" }, $n = { class: "flex flex-col" }, eo
|
|
|
2742
2742
|
}, {
|
|
2743
2743
|
label: O(() => [
|
|
2744
2744
|
l("div", lo, [
|
|
2745
|
-
l("span", io,
|
|
2746
|
-
l("span", ro,
|
|
2745
|
+
l("span", io, j(Q.label), 1),
|
|
2746
|
+
l("span", ro, j(Q.disabled ? Q.disabledReason : Q.subLabel), 1)
|
|
2747
2747
|
])
|
|
2748
2748
|
]),
|
|
2749
2749
|
_: 2
|
|
@@ -2764,7 +2764,7 @@ const Wn = { class: "flex flex-col gap-4" }, $n = { class: "flex flex-col" }, eo
|
|
|
2764
2764
|
]),
|
|
2765
2765
|
b.value && A.value.length > 0 ? (I(), V(J, { key: 0 }, [
|
|
2766
2766
|
a[4] || (a[4] = l("h2", { class: "fm-typo-en-title-md-800 mt-8 mb-4" }, "Results", -1)),
|
|
2767
|
-
x(
|
|
2767
|
+
x(T, {
|
|
2768
2768
|
modelValue: d.value,
|
|
2769
2769
|
"onUpdate:modelValue": a[3] || (a[3] = (Q) => d.value = Q),
|
|
2770
2770
|
"row-data": A.value,
|
|
@@ -2775,7 +2775,7 @@ const Wn = { class: "flex flex-col gap-4" }, $n = { class: "flex flex-col" }, eo
|
|
|
2775
2775
|
], 64)) : z("", !0),
|
|
2776
2776
|
i.value.length > 0 ? (I(), V(J, { key: 1 }, [
|
|
2777
2777
|
a[5] || (a[5] = l("h2", { class: "fm-typo-en-title-md-800 mt-8 mb-4 text-red-600" }, "Errors", -1)),
|
|
2778
|
-
x(
|
|
2778
|
+
x(T, {
|
|
2779
2779
|
"row-data": i.value,
|
|
2780
2780
|
"column-defs": k
|
|
2781
2781
|
}, null, 8, ["row-data"])
|
|
@@ -2867,7 +2867,7 @@ const Wn = { class: "flex flex-col gap-4" }, $n = { class: "flex flex-col" }, eo
|
|
|
2867
2867
|
name: S(w),
|
|
2868
2868
|
size: "sm"
|
|
2869
2869
|
}, null, 8, ["name"]),
|
|
2870
|
-
l("div", yo,
|
|
2870
|
+
l("div", yo, j((c = S(f)._currentLocation) == null ? void 0 : c.name), 1)
|
|
2871
2871
|
])
|
|
2872
2872
|
]),
|
|
2873
2873
|
x(k, {
|
|
@@ -3040,7 +3040,7 @@ const Co = { class: "flex flex-col gap-4" }, Eo = { class: "flex flex-col" }, Fo
|
|
|
3040
3040
|
class: /* @__PURE__ */ q(["fm-corner-radius-md p-16 flex items-center gap-16"])
|
|
3041
3041
|
}, Do = {
|
|
3042
3042
|
class: /* @__PURE__ */ q(["fm-typo-en-body-md-400 flex-1 h-[36px] flex items-center gap-3"])
|
|
3043
|
-
}, Oo = { class: "line-clamp-2 text-ellipsis break-all" }, Mo = { class: "flex flex-col" }, Ro = { class: "font-medium" },
|
|
3043
|
+
}, Oo = { class: "line-clamp-2 text-ellipsis break-all" }, Mo = { class: "flex flex-col" }, Ro = { class: "font-medium" }, jo = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, To = { class: "flex" }, _o = { class: "flex" }, zo = { key: 1 }, Ho = /* @__PURE__ */ Y({
|
|
3044
3044
|
__name: "SynergyOpeningImport",
|
|
3045
3045
|
setup(E) {
|
|
3046
3046
|
const y = Ge(), s = be(), r = Ce(), n = ee(), e = _(() => [
|
|
@@ -3214,7 +3214,7 @@ const Co = { class: "flex flex-col gap-4" }, Eo = { class: "flex flex-col" }, Fo
|
|
|
3214
3214
|
disabled: ""
|
|
3215
3215
|
}, {
|
|
3216
3216
|
default: O(() => [
|
|
3217
|
-
P(
|
|
3217
|
+
P(j(S(y).state.closingDocumentId ? `${S(Ee)(new Date(S(Ae)(S(y).state.closingDocumentId)))}` : "No closing found"), 1)
|
|
3218
3218
|
]),
|
|
3219
3219
|
_: 1
|
|
3220
3220
|
}),
|
|
@@ -3223,7 +3223,7 @@ const Co = { class: "flex flex-col gap-4" }, Eo = { class: "flex flex-col" }, Fo
|
|
|
3223
3223
|
]))) : (I(), V("div", Fo, [
|
|
3224
3224
|
x(L, {
|
|
3225
3225
|
modelValue: c.value,
|
|
3226
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
3226
|
+
"onUpdate:modelValue": t[0] || (t[0] = (T) => c.value = T),
|
|
3227
3227
|
label: "Last closing time"
|
|
3228
3228
|
}, {
|
|
3229
3229
|
"trigger-button": O(() => [
|
|
@@ -3233,7 +3233,7 @@ const Co = { class: "flex flex-col gap-4" }, Eo = { class: "flex flex-col" }, Fo
|
|
|
3233
3233
|
label: "Last closing time"
|
|
3234
3234
|
}, {
|
|
3235
3235
|
default: O(() => [
|
|
3236
|
-
P(
|
|
3236
|
+
P(j(h.value), 1)
|
|
3237
3237
|
]),
|
|
3238
3238
|
_: 1
|
|
3239
3239
|
})
|
|
@@ -3244,23 +3244,23 @@ const Co = { class: "flex flex-col gap-4" }, Eo = { class: "flex flex-col" }, Fo
|
|
|
3244
3244
|
x(a, { label: "Stock take file" })
|
|
3245
3245
|
]),
|
|
3246
3246
|
x(Fe, {
|
|
3247
|
-
onFileUpload: t[1] || (t[1] = (
|
|
3248
|
-
|
|
3247
|
+
onFileUpload: t[1] || (t[1] = (T) => {
|
|
3248
|
+
T && (w.value = T);
|
|
3249
3249
|
}),
|
|
3250
3250
|
accept: ".xlsx, .xls, .csv"
|
|
3251
3251
|
}, se({ _: 2 }, [
|
|
3252
3252
|
w.value ? {
|
|
3253
3253
|
name: "default",
|
|
3254
|
-
fn: O(({ openFileDialog:
|
|
3254
|
+
fn: O(({ openFileDialog: T }) => [
|
|
3255
3255
|
l("div", Vo, [
|
|
3256
3256
|
l("div", No, [
|
|
3257
3257
|
l("div", Do, [
|
|
3258
|
-
l("div", Oo,
|
|
3258
|
+
l("div", Oo, j(w.value.name), 1),
|
|
3259
3259
|
x(N, {
|
|
3260
3260
|
label: S(f)("inventory.ingredient.import.replaceFile"),
|
|
3261
3261
|
variant: "secondary",
|
|
3262
3262
|
"prepend-icon": "autorenew",
|
|
3263
|
-
onClick:
|
|
3263
|
+
onClick: T
|
|
3264
3264
|
}, null, 8, ["label", "onClick"])
|
|
3265
3265
|
])
|
|
3266
3266
|
])
|
|
@@ -3271,22 +3271,22 @@ const Co = { class: "flex flex-col gap-4" }, Eo = { class: "flex flex-col" }, Fo
|
|
|
3271
3271
|
]), 1024),
|
|
3272
3272
|
x(X, {
|
|
3273
3273
|
modelValue: u.value,
|
|
3274
|
-
"onUpdate:modelValue": t[2] || (t[2] = (
|
|
3274
|
+
"onUpdate:modelValue": t[2] || (t[2] = (T) => u.value = T),
|
|
3275
3275
|
label: "Retrieve cost from",
|
|
3276
3276
|
class: "my-5"
|
|
3277
3277
|
}, {
|
|
3278
3278
|
default: O(() => [
|
|
3279
|
-
(I(!0), V(J, null, W(e.value, (
|
|
3280
|
-
key:
|
|
3281
|
-
value:
|
|
3282
|
-
label:
|
|
3283
|
-
sublabel:
|
|
3284
|
-
disabled:
|
|
3279
|
+
(I(!0), V(J, null, W(e.value, (T) => (I(), U(H, {
|
|
3280
|
+
key: T.value,
|
|
3281
|
+
value: T.value,
|
|
3282
|
+
label: T.label,
|
|
3283
|
+
sublabel: T.subLabel,
|
|
3284
|
+
disabled: T.disabled
|
|
3285
3285
|
}, {
|
|
3286
3286
|
label: O(() => [
|
|
3287
3287
|
l("div", Mo, [
|
|
3288
|
-
l("span", Ro, T
|
|
3289
|
-
l("span",
|
|
3288
|
+
l("span", Ro, j(T.label), 1),
|
|
3289
|
+
l("span", jo, j(T.disabled ? T.disabledReason : T.subLabel), 1)
|
|
3290
3290
|
])
|
|
3291
3291
|
]),
|
|
3292
3292
|
_: 2
|
|
@@ -3294,7 +3294,7 @@ const Co = { class: "flex flex-col gap-4" }, Eo = { class: "flex flex-col" }, Fo
|
|
|
3294
3294
|
]),
|
|
3295
3295
|
_: 1
|
|
3296
3296
|
}, 8, ["modelValue"]),
|
|
3297
|
-
l("div",
|
|
3297
|
+
l("div", To, [
|
|
3298
3298
|
x(N, {
|
|
3299
3299
|
class: "ml-auto mt-4",
|
|
3300
3300
|
variant: "secondary",
|
|
@@ -3309,7 +3309,7 @@ const Co = { class: "flex flex-col gap-4" }, Eo = { class: "flex flex-col" }, Fo
|
|
|
3309
3309
|
t[4] || (t[4] = l("h2", { class: "fm-typo-en-title-md-800 mt-8 mb-4" }, "Results", -1)),
|
|
3310
3310
|
x(R, {
|
|
3311
3311
|
modelValue: b.value,
|
|
3312
|
-
"onUpdate:modelValue": t[3] || (t[3] = (
|
|
3312
|
+
"onUpdate:modelValue": t[3] || (t[3] = (T) => b.value = T),
|
|
3313
3313
|
"row-data": i.value,
|
|
3314
3314
|
"column-defs": A,
|
|
3315
3315
|
"shrink-at": !1,
|
|
@@ -3394,7 +3394,7 @@ const Co = { class: "flex flex-col gap-4" }, Eo = { class: "flex flex-col" }, Fo
|
|
|
3394
3394
|
name: S(w),
|
|
3395
3395
|
size: "sm"
|
|
3396
3396
|
}, null, 8, ["name"]),
|
|
3397
|
-
l("div", Yo,
|
|
3397
|
+
l("div", Yo, j((g = S(f)._currentLocation) == null ? void 0 : g.name), 1)
|
|
3398
3398
|
])
|
|
3399
3399
|
])
|
|
3400
3400
|
])
|
|
@@ -3503,7 +3503,7 @@ const Co = { class: "flex flex-col gap-4" }, Eo = { class: "flex flex-col" }, Fo
|
|
|
3503
3503
|
}, null, 8, $o)
|
|
3504
3504
|
]),
|
|
3505
3505
|
w[0] || (w[0] = l("div", { class: "font-bold text-lg" }, "Integration", -1)),
|
|
3506
|
-
l("div", es,
|
|
3506
|
+
l("div", es, j(S(u)("inventory.integration.description")), 1)
|
|
3507
3507
|
])) : (I(), V("div", ts, [
|
|
3508
3508
|
x(Pn),
|
|
3509
3509
|
x(Kt),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as ee, computed as _, reactive as ne, resolveComponent as k, openBlock as r, createElementBlock as p, createVNode as y, withCtx as U, createElementVNode as n, toDisplayString as m, unref as i, createBlock as B, createCommentVNode as v, Fragment as E, renderList as C, nextTick as oe } from "vue";
|
|
2
|
-
import { a as te, X as le, b4 as ie, j as h, b5 as N, V as G, T as se, F as de } from "./app-
|
|
3
|
-
import { u as re } from "./use-inventory-binding-dialog-
|
|
4
|
-
import { _ as ae, c as ue, d as me } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { a as te, X as le, b4 as ie, j as h, b5 as N, V as G, T as se, F as de } from "./app-2UW9ih37.js";
|
|
3
|
+
import { u as re } from "./use-inventory-binding-dialog-B0_Biu6_.js";
|
|
4
|
+
import { _ as ae, c as ue, d as me } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-CZzBZmX6.js";
|
|
5
5
|
import { useI18n as ce } from "@feedmepos/mf-common";
|
|
6
6
|
const pe = { class: "flex flex-col gap-24" }, ye = { class: "flex flex-col gap-16" }, fe = { class: "flex items-center" }, ve = { class: "flex-1 fm-typo-en-title-sm-600" }, be = { class: "flex flex-col" }, ge = { class: "flex py-8 px-12 border-b border-fm-color-neutral-gray-200 bg-fm-color-neutral-gray-100 h-[44px] items-center" }, _e = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, xe = { class: "flex flex-col w-full border-b border-fm-color-neutral-gray-100" }, he = {
|
|
7
7
|
class: "flex items-center",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as l, resolveComponent as m, openBlock as c, createBlock as d, h as g } from "vue";
|
|
2
2
|
import { useI18n as p } from "@feedmepos/mf-common";
|
|
3
3
|
import { components as u } from "@feedmepos/ui-library";
|
|
4
|
-
import { F as r } from "./app-
|
|
4
|
+
import { F as r } from "./app-2UW9ih37.js";
|
|
5
5
|
const w = /* @__PURE__ */ l({
|
|
6
6
|
__name: "InventoryBindingSummary",
|
|
7
7
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as V, computed as w, ref as h, watch as u, resolveComponent as i, openBlock as F, createBlock as g, withCtx as d, createVNode as A, createElementVNode as k, normalizeClass as K } from "vue";
|
|
2
|
-
import { T as s } from "./app-
|
|
2
|
+
import { T as s } from "./app-2UW9ih37.js";
|
|
3
3
|
const T = ["value", "disabled"], B = /* @__PURE__ */ V({
|
|
4
4
|
__name: "NumberPrecisionInput",
|
|
5
5
|
props: {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aH as u, aI as _, a3 as h, u as F } from "./app-2UW9ih37.js";
|
|
2
2
|
import { useCoreStore as y } from "@feedmepos/mf-common";
|
|
3
|
-
import { ref as v, defineComponent as k, resolveComponent as l, openBlock as g, createElementBlock as S, renderSlot as x, createVNode as m, withCtx as
|
|
4
|
-
function
|
|
3
|
+
import { ref as v, defineComponent as k, resolveComponent as l, openBlock as g, createElementBlock as S, renderSlot as x, createVNode as m, withCtx as I } from "vue";
|
|
4
|
+
function O(e, t) {
|
|
5
5
|
return t.map((r) => typeof r.selector == "function" ? r.selector(e) : e[r.selector]);
|
|
6
6
|
}
|
|
7
|
-
function
|
|
8
|
-
const r = t.map((o) => o.name), n = e.map((o) =>
|
|
7
|
+
function w(e, t) {
|
|
8
|
+
const r = t.map((o) => o.name), n = e.map((o) => O(o, t));
|
|
9
9
|
return u.aoa_to_sheet([r, ...n]);
|
|
10
10
|
}
|
|
11
11
|
async function C(e, t) {
|
|
12
12
|
const r = u.book_new();
|
|
13
13
|
for (const n of e) {
|
|
14
|
-
const o =
|
|
14
|
+
const o = w(
|
|
15
15
|
n.data,
|
|
16
16
|
n.columns.map((a) => typeof a == "string" ? {
|
|
17
17
|
name: a,
|
|
@@ -98,7 +98,7 @@ const b = { class: "flex items-center gap-8" }, B = "Experience enhanced invento
|
|
|
98
98
|
content: B,
|
|
99
99
|
"z-index": t.zIndex
|
|
100
100
|
}, {
|
|
101
|
-
default:
|
|
101
|
+
default: I(() => [
|
|
102
102
|
m(n, { variant: "premium" })
|
|
103
103
|
]),
|
|
104
104
|
_: 1
|