@feedmepos/mf-inventory-portal 1.2.9 → 1.2.10-dev.1
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-XpX30-FV.js → App-Bg2M5RwP.js} +1 -1
- package/dist/{ApprovalView-D2J7D_Nm.js → ApprovalView-C46UDXnc.js} +24 -24
- package/dist/{BindingsDialog-Uso69RV0.js → BindingsDialog-CtJjpbw-.js} +2 -2
- package/dist/{BindingsPicker-7w_Pih9R.js → BindingsPicker-B6Er5Lea.js} +1 -1
- package/dist/{BindingsTable-CbV4JqKs.js → BindingsTable-MPeTr_ip.js} +1 -1
- package/dist/{ClosingDraftView-Cs1hLPBv.js → ClosingDraftView-BaD3MLeG.js} +33 -33
- package/dist/{ClosingTemplateView-CzDxdTM8.js → ClosingTemplateView-C4z3GXwd.js} +3 -3
- package/dist/{DeliveryOrderPrintPreview-hVu8tti_.js → DeliveryOrderPrintPreview-BfafKFMa.js} +8 -8
- package/dist/{FmAdminBadge-UDCFElb7.js → FmAdminBadge-Dg5rl1fj.js} +4 -4
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CeEFXW2z.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-BATVvC9u.js} +11 -11
- package/dist/{FmMultiselectDialog-Bevvx1r8.js → FmMultiselectDialog-DJ-dIe8C.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-C0mdy9Mc.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BBWaPrlm.js} +38 -38
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BKIf5UrZ.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-oaujHoaU.js} +1 -1
- package/dist/{IngredientGroupView-_eiXCYvr.js → IngredientGroupView-u4ubHtNF.js} +15 -15
- package/dist/{IngredientsView-okGkhfX0.js → IngredientsView-CXbJifY6.js} +831 -809
- package/dist/{IntegrationView-DYNRksif.js → IntegrationView-XEypfcAW.js} +137 -137
- package/dist/{InventoryBindingForm-DyFPXbNg.js → InventoryBindingForm-CETOb5Nj.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-1AvpT307.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DC52GJ2Y.js} +22 -22
- package/dist/{InventoryBindingSummary-BnzY__W8.js → InventoryBindingSummary-DbyJW8z0.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-iCRT5ZID.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BQWWQxaq.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CxhPTM5O.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BruydtsG.js} +9 -9
- package/dist/{PublishView-BGI8t6ZI.js → PublishView-Cl3IluMR.js} +12 -12
- package/dist/{PurchaseOrderPrintPreview-BY0m_m2t.js → PurchaseOrderPrintPreview-BG_uBL4o.js} +7 -7
- package/dist/{ReceiveRequestView-BN63OwrJ.js → ReceiveRequestView-BvGlUVTp.js} +191 -191
- package/dist/{RecipeView-C6SFIYEV.js → RecipeView-C-7XU5F8.js} +12 -12
- package/dist/{StockView-DxAqF_Uz.js → StockView-rYhlg4fr.js} +680 -665
- package/dist/SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-D0kASPO9.js +158 -0
- package/dist/{SupplierView-BGWP3TQ0.js → SupplierView-BoGoqUS-.js} +4 -4
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-Dr6Bst81.js → TransferDetails.vue_vue_type_script_setup_true_lang-D53vhWDq.js} +6 -6
- package/dist/{TransferTemplateView-CSMou2uQ.js → TransferTemplateView-DZIDXFp7.js} +143 -143
- package/dist/{UnitView-Dvn2OFBI.js → UnitView-CvHIFkue.js} +27 -27
- package/dist/{WarehouseView-DFIFxlqz.js → WarehouseView-Dh_WZz5L.js} +18 -18
- package/dist/{app-cExTkfVB.js → app-BT34Yv61.js} +9120 -9069
- package/dist/app.d.ts +6 -6
- package/dist/app.js +4 -4
- package/dist/{closing-template-CIbh7GpK.js → closing-template-JDCk0_lU.js} +1 -1
- package/dist/{decimal-DDB6xkYA.js → decimal-BTgTm2JD.js} +1 -1
- package/dist/{format-unit-display-C5nl2Pn9.js → format-unit-display-HHCA1rN3.js} +48 -48
- package/dist/{index-5McubZjo.js → index-Bz_lEYOD.js} +1 -1
- package/dist/{index-CYvmWIx7.js → index-CdamrmzX.js} +1 -1
- package/dist/{purchase-order-template-DqsMgrgI.js → purchase-order-template-DJiYiY6t.js} +1 -1
- package/dist/{stock-DzSlKGZm.js → stock-C8afHO4C.js} +1 -1
- package/dist/stores/integration/netsuite.d.ts +1 -0
- package/dist/{supplier-m9aBkFoK.js → supplier-C8RMKqQX.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-et1B0WDI.js → use-ingredient-select-dialog-fLK9yq-0.js} +1 -1
- package/dist/{use-inventory-binding-dialog-B7_YL7HE.js → use-inventory-binding-dialog--7tzpXgV.js} +1 -1
- package/dist/views/ingredients/components/ingredient-dialog/IngredientDialogProps.d.ts +1 -1
- package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +2 -0
- package/package.json +1 -1
- package/dist/StockForecast.vue_vue_type_style_index_0_lang-KLXSWvo5.js +0 -59
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as Q, mergeModels as Te, useModel as we, onMounted as ve, ref as
|
|
1
|
+
import { defineComponent as Q, mergeModels as Te, useModel as we, onMounted as ve, ref as O, computed as T, resolveComponent as B, openBlock as I, createElementBlock as L, createElementVNode as s, toDisplayString as R, unref as S, createVNode as b, createBlock as H, withCtx as N, Fragment as Y, renderList as W, normalizeClass as K, normalizeStyle as je, createSlots as te, createCommentVNode as z, withModifiers as ze, reactive as ge, watch as ye, isRef as le, Teleport as de, h as M, createTextVNode as q, watchEffect as He } from "vue";
|
|
2
2
|
import { E as Ue } from "./empty-placeholder-wf6-BWE8.js";
|
|
3
|
-
import {
|
|
3
|
+
import { b4 as Xe, aT as Qe, f as ne, u as $, b5 as Ye, b6 as Je, o as Ke, b as re, aG as me, k as Pe, a$ as fe, a8 as Ae, a9 as be, a as he, s as qe, Z as G, a4 as ke, b7 as Be, aM as Ce, aX as Ee, z as Fe, G as Le, a5 as ce, c as Ve, L as Ze, O as Ge } from "./app-BT34Yv61.js";
|
|
4
4
|
import { useDialogChild as We, useDialog as ue, useProxiedModel as ie, useSnackbar as ee, useBreakpoints as Ne, components as oe } from "@feedmepos/ui-library";
|
|
5
5
|
import { useI18n as Z, useCoreStore as se } from "@feedmepos/mf-common";
|
|
6
|
-
import { a as $e, b as et, c as tt, u as nt } from "./index-
|
|
7
|
-
import { _ as ot, F as st } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { F as De } from "./FmAdminBadge-
|
|
6
|
+
import { a as $e, b as et, c as tt, u as nt } from "./index-Bz_lEYOD.js";
|
|
7
|
+
import { _ as ot, F as st } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-BBWaPrlm.js";
|
|
8
|
+
import { F as De } from "./FmAdminBadge-Dg5rl1fj.js";
|
|
9
9
|
const at = "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";
|
|
10
10
|
var Me = { exports: {} };
|
|
11
11
|
(function(C, A) {
|
|
@@ -43,9 +43,9 @@ var Me = { exports: {} };
|
|
|
43
43
|
})();
|
|
44
44
|
})(Me);
|
|
45
45
|
var lt = Me.exports;
|
|
46
|
-
const
|
|
46
|
+
const Oe = /* @__PURE__ */ Xe(lt);
|
|
47
47
|
function xe(C, A) {
|
|
48
|
-
return
|
|
48
|
+
return Oe.filter(C, A).length > 0;
|
|
49
49
|
}
|
|
50
50
|
function it(C, A) {
|
|
51
51
|
if (!C)
|
|
@@ -59,7 +59,7 @@ function it(C, A) {
|
|
|
59
59
|
],
|
|
60
60
|
matched: !1
|
|
61
61
|
};
|
|
62
|
-
const [o] =
|
|
62
|
+
const [o] = Oe.filter(C.toLocaleLowerCase(), [A], {
|
|
63
63
|
pre: "|",
|
|
64
64
|
post: "|"
|
|
65
65
|
});
|
|
@@ -92,7 +92,7 @@ const rt = { class: "flex flex-col gap-12 h-[350px]" }, ut = { class: "flex item
|
|
|
92
92
|
}, mt = ["data-cy"], ft = { class: "flex flex-col" }, pt = { class: "fm-typo-en-body-md-400" }, vt = {
|
|
93
93
|
key: 1,
|
|
94
94
|
class: "w-full py-16 text-fm-color-typo-disabled fm-typo-en-body-md-400 text-center"
|
|
95
|
-
},
|
|
95
|
+
}, Re = /* @__PURE__ */ Q({
|
|
96
96
|
__name: "FmNestedMultiselectDialog",
|
|
97
97
|
props: /* @__PURE__ */ Te({
|
|
98
98
|
modelValue: {}
|
|
@@ -106,7 +106,7 @@ const rt = { class: "flex flex-col gap-12 h-[350px]" }, ut = { class: "flex item
|
|
|
106
106
|
ve(() => {
|
|
107
107
|
o.emitData(A.value);
|
|
108
108
|
});
|
|
109
|
-
const r =
|
|
109
|
+
const r = O(""), { t } = Z();
|
|
110
110
|
function n(e) {
|
|
111
111
|
return xe(
|
|
112
112
|
r.value,
|
|
@@ -131,7 +131,7 @@ const rt = { class: "flex flex-col gap-12 h-[350px]" }, ut = { class: "flex item
|
|
|
131
131
|
function w(e, i, F = 0, V = !1) {
|
|
132
132
|
if (P(e) && e.children.length) {
|
|
133
133
|
const { children: D, ...U } = e, X = D.flatMap(
|
|
134
|
-
(
|
|
134
|
+
(_, j) => w(_, [...i, j], F + 1, V || e.disabled)
|
|
135
135
|
);
|
|
136
136
|
return [
|
|
137
137
|
{
|
|
@@ -221,7 +221,7 @@ const rt = { class: "flex flex-col gap-12 h-[350px]" }, ut = { class: "flex item
|
|
|
221
221
|
} : U
|
|
222
222
|
);
|
|
223
223
|
}
|
|
224
|
-
const g =
|
|
224
|
+
const g = O(new Array());
|
|
225
225
|
function f(e) {
|
|
226
226
|
const i = e.join();
|
|
227
227
|
return g.value.find((F) => i === F);
|
|
@@ -244,11 +244,11 @@ const rt = { class: "flex flex-col gap-12 h-[350px]" }, ut = { class: "flex item
|
|
|
244
244
|
const F = B("FmSearch"), V = B("FmCheckbox"), D = B("FmButton"), U = B("FmListItem"), X = B("FmList");
|
|
245
245
|
return I(), L("div", rt, [
|
|
246
246
|
s("div", ut, [
|
|
247
|
-
s("div", ct,
|
|
247
|
+
s("div", ct, R(S(t)("inventory.formField.itemsSelected", { count: h.value })), 1),
|
|
248
248
|
s("div", dt, [
|
|
249
249
|
b(F, {
|
|
250
250
|
modelValue: r.value,
|
|
251
|
-
"onUpdate:modelValue": i[0] || (i[0] = (
|
|
251
|
+
"onUpdate:modelValue": i[0] || (i[0] = (_) => r.value = _),
|
|
252
252
|
placeholder: S(t)("inventory.formField.filterItems")
|
|
253
253
|
}, null, 8, ["modelValue", "placeholder"])
|
|
254
254
|
])
|
|
@@ -258,65 +258,65 @@ const rt = { class: "flex flex-col gap-12 h-[350px]" }, ut = { class: "flex item
|
|
|
258
258
|
class: "flex-1 overflow-y-auto"
|
|
259
259
|
}, {
|
|
260
260
|
default: N(() => [
|
|
261
|
-
(I(!0), L(Y, null, W(m.value, (
|
|
262
|
-
key:
|
|
261
|
+
(I(!0), L(Y, null, W(m.value, (_) => (I(), L("div", {
|
|
262
|
+
key: _.keys.join(),
|
|
263
263
|
class: K([
|
|
264
264
|
"transition-all overflow-y-clip",
|
|
265
|
-
c(
|
|
265
|
+
c(_.keys) ? "max-h-0 opacity-0" : "max-h-[50px] opacity-100"
|
|
266
266
|
]),
|
|
267
|
-
"data-cy": `nested-${
|
|
267
|
+
"data-cy": `nested-${_.keys.join("-")}-${_.label}`
|
|
268
268
|
}, [
|
|
269
269
|
b(U, {
|
|
270
|
-
clickable:
|
|
271
|
-
onClick: () =>
|
|
270
|
+
clickable: _.selectable !== !1,
|
|
271
|
+
onClick: () => _.selectable === !1 || _.disabled || y(_.keys, A.value, !a(_.keys, A.value)),
|
|
272
272
|
style: je({
|
|
273
|
-
paddingLeft: `${16 +
|
|
273
|
+
paddingLeft: `${16 + _.indent * 16}px`,
|
|
274
274
|
paddingTop: "4px",
|
|
275
275
|
paddingBottom: "4px"
|
|
276
276
|
}),
|
|
277
|
-
disabled:
|
|
277
|
+
disabled: _.selectable !== !1 && _.disabled
|
|
278
278
|
}, te({
|
|
279
279
|
default: N(() => [
|
|
280
280
|
s("div", ft, [
|
|
281
281
|
s("div", pt, [
|
|
282
|
-
(I(!0), L(Y, null, W(S(it)(r.value,
|
|
282
|
+
(I(!0), L(Y, null, W(S(it)(r.value, _.label).segments, (j, ae) => (I(), L("span", {
|
|
283
283
|
key: ae,
|
|
284
284
|
class: K({
|
|
285
285
|
"font-bold": j.isMatch
|
|
286
286
|
})
|
|
287
|
-
},
|
|
287
|
+
}, R(j.segment), 3))), 128))
|
|
288
288
|
]),
|
|
289
|
-
|
|
289
|
+
_.sublabel ? (I(), L("div", {
|
|
290
290
|
key: 0,
|
|
291
291
|
class: K([
|
|
292
292
|
"fm-typo-en-body-sm-400",
|
|
293
|
-
|
|
293
|
+
_.disabled ? "" : "text-fm-color-typo-secondary"
|
|
294
294
|
])
|
|
295
|
-
},
|
|
295
|
+
}, R(_.sublabel), 3)) : z("", !0)
|
|
296
296
|
])
|
|
297
297
|
]),
|
|
298
298
|
_: 2
|
|
299
299
|
}, [
|
|
300
|
-
|
|
300
|
+
_.selectable !== !1 ? {
|
|
301
301
|
name: "prepend",
|
|
302
302
|
fn: N(() => [
|
|
303
303
|
b(V, {
|
|
304
|
-
disabled:
|
|
305
|
-
"model-value": a(
|
|
306
|
-
value:
|
|
307
|
-
indeterminate: x(
|
|
304
|
+
disabled: _.disabled,
|
|
305
|
+
"model-value": a(_.keys, A.value),
|
|
306
|
+
value: _.keys,
|
|
307
|
+
indeterminate: x(_.keys, A.value)
|
|
308
308
|
}, null, 8, ["disabled", "model-value", "value", "indeterminate"])
|
|
309
309
|
]),
|
|
310
310
|
key: "0"
|
|
311
311
|
} : void 0,
|
|
312
|
-
|
|
312
|
+
_.collapsible ? {
|
|
313
313
|
name: "append",
|
|
314
314
|
fn: N(() => [
|
|
315
315
|
b(D, {
|
|
316
|
-
"prepend-icon": f(
|
|
316
|
+
"prepend-icon": f(_.keys) ? "expand_less" : "expand_more",
|
|
317
317
|
size: "md",
|
|
318
318
|
variant: "tertiary",
|
|
319
|
-
onClick: ze(() => d(
|
|
319
|
+
onClick: ze(() => d(_.keys), ["stop"])
|
|
320
320
|
}, null, 8, ["prepend-icon", "onClick"])
|
|
321
321
|
]),
|
|
322
322
|
key: "1"
|
|
@@ -325,7 +325,7 @@ const rt = { class: "flex flex-col gap-12 h-[350px]" }, ut = { class: "flex item
|
|
|
325
325
|
], 10, mt))), 128))
|
|
326
326
|
]),
|
|
327
327
|
_: 1
|
|
328
|
-
})) : (I(), L("div", vt,
|
|
328
|
+
})) : (I(), L("div", vt, R(S(t)("inventory.formField.noItemsFound")), 1))
|
|
329
329
|
]);
|
|
330
330
|
};
|
|
331
331
|
}
|
|
@@ -415,7 +415,7 @@ const rt = { class: "flex flex-col gap-12 h-[350px]" }, ut = { class: "flex item
|
|
|
415
415
|
};
|
|
416
416
|
t.open({
|
|
417
417
|
title: "Select Addons",
|
|
418
|
-
contentComponent:
|
|
418
|
+
contentComponent: Re,
|
|
419
419
|
contentComponentProps: u,
|
|
420
420
|
primaryActions: {
|
|
421
421
|
text: "Confirm",
|
|
@@ -448,7 +448,7 @@ const rt = { class: "flex flex-col gap-12 h-[350px]" }, ut = { class: "flex item
|
|
|
448
448
|
const x = B("FmButton"), E = B("FmTextField");
|
|
449
449
|
return I(), L("div", gt, [
|
|
450
450
|
s("div", yt, [
|
|
451
|
-
s("div", At,
|
|
451
|
+
s("div", At, R(S(v)("inventory.integration.apply.addons")), 1),
|
|
452
452
|
b(x, {
|
|
453
453
|
type: "button",
|
|
454
454
|
variant: "plain",
|
|
@@ -461,8 +461,8 @@ const rt = { class: "flex flex-col gap-12 h-[350px]" }, ut = { class: "flex item
|
|
|
461
461
|
s("div", null, [
|
|
462
462
|
n.value.length > 0 ? (I(), L("table", bt, [
|
|
463
463
|
s("tr", ht, [
|
|
464
|
-
s("th", xt,
|
|
465
|
-
s("th", null,
|
|
464
|
+
s("th", xt, R(S(v)("inventory.integration.apply.name")), 1),
|
|
465
|
+
s("th", null, R(S(v)("inventory.integration.apply.code")), 1),
|
|
466
466
|
u[1] || (u[1] = s("th", { class: "w-1" }, " ", -1))
|
|
467
467
|
]),
|
|
468
468
|
(I(!0), L(Y, null, W(n.value, (k, g) => (I(), L(Y, { key: g }, [
|
|
@@ -470,8 +470,8 @@ const rt = { class: "flex flex-col gap-12 h-[350px]" }, ut = { class: "flex item
|
|
|
470
470
|
s("tr", null, [
|
|
471
471
|
s("td", null, [
|
|
472
472
|
s("div", It, [
|
|
473
|
-
s("div", St,
|
|
474
|
-
k.groupName ? (I(), L("div", wt,
|
|
473
|
+
s("div", St, R(k.name), 1),
|
|
474
|
+
k.groupName ? (I(), L("div", wt, R(k.groupName), 1)) : z("", !0)
|
|
475
475
|
])
|
|
476
476
|
]),
|
|
477
477
|
s("td", null, [
|
|
@@ -538,10 +538,10 @@ function Et(C, A, o) {
|
|
|
538
538
|
items: r[n._id || ""] || []
|
|
539
539
|
}));
|
|
540
540
|
}
|
|
541
|
-
function
|
|
541
|
+
function _e(C, A) {
|
|
542
542
|
if (C.length == 1)
|
|
543
543
|
return C[0];
|
|
544
|
-
const o = C[0], r = C.slice(1, C.length), t =
|
|
544
|
+
const o = C[0], r = C.slice(1, C.length), t = _e(r, A);
|
|
545
545
|
return o.reduce((l, p) => [...l, ...t.map((w) => A(p, w))], new Array());
|
|
546
546
|
}
|
|
547
547
|
function Ft(C) {
|
|
@@ -554,7 +554,7 @@ function Ft(C) {
|
|
|
554
554
|
})
|
|
555
555
|
)
|
|
556
556
|
);
|
|
557
|
-
return
|
|
557
|
+
return _e(A, (r, t) => ({
|
|
558
558
|
combinationKey: [...r.combinationKey, ...t.combinationKey],
|
|
559
559
|
selectionName: [...r.selectionName, ...t.selectionName]
|
|
560
560
|
})).map((r) => {
|
|
@@ -569,7 +569,7 @@ function Ft(C) {
|
|
|
569
569
|
const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-100 px-5 py-5 gap-5 mb-3" }, Vt = { class: "flex items-center" }, Nt = { class: "text-lg font-bold flex-grow" }, Dt = {
|
|
570
570
|
key: 0,
|
|
571
571
|
class: "table-auto w-full"
|
|
572
|
-
}, Mt = { class: "text-left" },
|
|
572
|
+
}, Mt = { class: "text-left" }, Ot = { class: "min-w-64" }, Rt = { class: "flex flex-col" }, _t = { class: "fm-typo-en-body-md-400" }, Tt = {
|
|
573
573
|
key: 0,
|
|
574
574
|
class: "fm-typo-en-body-sm-400 text-fm-color-neutral-gray-400"
|
|
575
575
|
}, jt = { class: "w-1" }, pe = /* @__PURE__ */ Q({
|
|
@@ -711,11 +711,11 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
711
711
|
productId: F,
|
|
712
712
|
combinationKey: V,
|
|
713
713
|
code: ((D = d.find(
|
|
714
|
-
({ productId: X, combinationKey:
|
|
714
|
+
({ productId: X, combinationKey: _ }) => F === X && V === _
|
|
715
715
|
)) == null ? void 0 : D.code) ?? ""
|
|
716
716
|
} : {
|
|
717
717
|
productId: F,
|
|
718
|
-
code: ((U = d.find(({ productId: X, combinationKey:
|
|
718
|
+
code: ((U = d.find(({ productId: X, combinationKey: _ }) => F === X && !_)) == null ? void 0 : U.code) ?? ""
|
|
719
719
|
};
|
|
720
720
|
});
|
|
721
721
|
if (!h.active)
|
|
@@ -749,7 +749,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
749
749
|
};
|
|
750
750
|
t.open({
|
|
751
751
|
title: `Select ${n.value}`,
|
|
752
|
-
contentComponent:
|
|
752
|
+
contentComponent: Re,
|
|
753
753
|
contentComponentProps: d,
|
|
754
754
|
primaryActions: {
|
|
755
755
|
text: "Confirm",
|
|
@@ -765,7 +765,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
765
765
|
const c = B("FmButton"), h = B("FmTextField");
|
|
766
766
|
return I(), L("div", Lt, [
|
|
767
767
|
s("div", Vt, [
|
|
768
|
-
s("div", Nt,
|
|
768
|
+
s("div", Nt, R(C.isAddon ? S(g)("inventory.integration.apply.addons") : S(g)("inventory.integration.apply.products")), 1),
|
|
769
769
|
b(c, {
|
|
770
770
|
type: "button",
|
|
771
771
|
variant: "plain",
|
|
@@ -779,8 +779,8 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
779
779
|
w.value.length > 0 ? (I(), L("table", Dt, [
|
|
780
780
|
s("thead", null, [
|
|
781
781
|
s("tr", Mt, [
|
|
782
|
-
s("th",
|
|
783
|
-
s("th", null,
|
|
782
|
+
s("th", Ot, R(S(g)("inventory.integration.apply.name")), 1),
|
|
783
|
+
s("th", null, R(S(g)("inventory.integration.apply.code")), 1),
|
|
784
784
|
d[1] || (d[1] = s("th", { class: "w-1" }, " ", -1))
|
|
785
785
|
])
|
|
786
786
|
]),
|
|
@@ -789,9 +789,9 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
789
789
|
d[2] || (d[2] = s("tr", { class: "block h-8" }, null, -1)),
|
|
790
790
|
s("tr", null, [
|
|
791
791
|
s("td", null, [
|
|
792
|
-
s("div",
|
|
793
|
-
s("div",
|
|
794
|
-
y.variantName ? (I(), L("div", Tt,
|
|
792
|
+
s("div", Rt, [
|
|
793
|
+
s("div", _t, R(y.itemCode) + " " + R(y.name), 1),
|
|
794
|
+
y.variantName ? (I(), L("div", Tt, R(y.variantName), 1)) : z("", !0)
|
|
795
795
|
])
|
|
796
796
|
]),
|
|
797
797
|
s("td", null, [
|
|
@@ -842,7 +842,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
842
842
|
for (const a of Object.keys(o.setting))
|
|
843
843
|
t[a] = o.setting[a];
|
|
844
844
|
});
|
|
845
|
-
const n =
|
|
845
|
+
const n = O(), l = ie(o, "show");
|
|
846
846
|
function p() {
|
|
847
847
|
var v, a;
|
|
848
848
|
(a = (v = n.value) == null ? void 0 : v.validateInputs) == null || a.call(v);
|
|
@@ -935,7 +935,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
935
935
|
function v(g) {
|
|
936
936
|
t.bindings = [...w.value, ...g];
|
|
937
937
|
}
|
|
938
|
-
const a =
|
|
938
|
+
const a = O(), u = ie(o, "show");
|
|
939
939
|
function x() {
|
|
940
940
|
var g, f;
|
|
941
941
|
(f = (g = a.value) == null ? void 0 : g.validateInputs) == null || f.call(g);
|
|
@@ -1000,12 +1000,12 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1000
1000
|
}), Qt = { key: 0 }, Yt = { class: "flex justify-center" }, Jt = ["src"], Kt = { class: "flex flex-col items-center gap-2" }, Pt = { class: "text-lg font-bold" }, qt = { class: "text-fm-color-neutral-gray-300" }, Zt = { key: 0 }, Gt = /* @__PURE__ */ Q({
|
|
1001
1001
|
__name: "FoodMarketHub",
|
|
1002
1002
|
setup(C) {
|
|
1003
|
-
const A = se(), o = ee(), r = $(), t =
|
|
1003
|
+
const A = se(), o = ee(), r = $(), t = O(!1), n = $e(), l = T(() => n.state.menu ?? []), p = T(() => n.state.group ?? []), w = T(() => n.state.variants ?? []), m = T(() => n.state.categories ?? []), v = Ye(), a = T(() => {
|
|
1004
1004
|
var c;
|
|
1005
1005
|
return (c = A.currentBusiness.value) == null ? void 0 : c.menuVersion;
|
|
1006
1006
|
});
|
|
1007
1007
|
r.watchLocation(n.init);
|
|
1008
|
-
const u =
|
|
1008
|
+
const u = O(!1);
|
|
1009
1009
|
async function x() {
|
|
1010
1010
|
u.value = !0;
|
|
1011
1011
|
}
|
|
@@ -1057,8 +1057,8 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1057
1057
|
}, null, 8, Jt)
|
|
1058
1058
|
]),
|
|
1059
1059
|
s("div", Kt, [
|
|
1060
|
-
s("div", Pt,
|
|
1061
|
-
s("div", qt,
|
|
1060
|
+
s("div", Pt, R(S(d)("inventory.integration.fmh.title")), 1),
|
|
1061
|
+
s("div", qt, R(S(d)("inventory.integration.fmh.description")), 1)
|
|
1062
1062
|
])
|
|
1063
1063
|
]),
|
|
1064
1064
|
_: 1
|
|
@@ -1116,7 +1116,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1116
1116
|
},
|
|
1117
1117
|
emits: ["update:modelValue"],
|
|
1118
1118
|
setup(C, { emit: A }) {
|
|
1119
|
-
const o = C, r = A, t =
|
|
1119
|
+
const o = C, r = A, t = O(""), n = T(
|
|
1120
1120
|
() => new Je(
|
|
1121
1121
|
o.items,
|
|
1122
1122
|
(p) => [p.label ?? "", p.sublabel ?? "", ...p.value[o.searchTarget]].filter((w) => w)
|
|
@@ -1144,7 +1144,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1144
1144
|
"append-icon": "expand_more"
|
|
1145
1145
|
}, {
|
|
1146
1146
|
default: N(() => [
|
|
1147
|
-
p.modelValue[o.searchTarget] ? (I(), L("span", $t,
|
|
1147
|
+
p.modelValue[o.searchTarget] ? (I(), L("span", $t, R(p.modelValue[o.searchTarget]), 1)) : (I(), L("span", en, R(p.placeholder || "Select an option"), 1))
|
|
1148
1148
|
]),
|
|
1149
1149
|
_: 2
|
|
1150
1150
|
}, 1032, ["class", "invalid"])
|
|
@@ -1257,9 +1257,9 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1257
1257
|
outline: ""
|
|
1258
1258
|
}),
|
|
1259
1259
|
s("div", un, [
|
|
1260
|
-
s("span", cn,
|
|
1261
|
-
s("span", dn, "ID: " +
|
|
1262
|
-
s("span", mn, "Subsidiary: " +
|
|
1260
|
+
s("span", cn, R(r.value.name), 1),
|
|
1261
|
+
s("span", dn, "ID: " + R(r.value.netsuiteId), 1),
|
|
1262
|
+
s("span", mn, "Subsidiary: " + R(r.value.subsidiaryName), 1)
|
|
1263
1263
|
])
|
|
1264
1264
|
])) : z("", !0)
|
|
1265
1265
|
]);
|
|
@@ -1334,7 +1334,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1334
1334
|
});
|
|
1335
1335
|
}
|
|
1336
1336
|
}
|
|
1337
|
-
], n = C, l = A, p =
|
|
1337
|
+
], n = C, l = A, p = O({}), w = O(), m = O(""), v = T(() => n.nsLocationsNotBeingUsed.map((x) => ({
|
|
1338
1338
|
label: x.name,
|
|
1339
1339
|
value: x
|
|
1340
1340
|
}))), a = T(() => Object.values(p.value).length === 0 || Object.values(p.value).some(
|
|
@@ -1413,13 +1413,13 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1413
1413
|
},
|
|
1414
1414
|
emits: ["update:setting", "update:show", "update:loading", "submit"],
|
|
1415
1415
|
setup(C, { emit: A }) {
|
|
1416
|
-
const o = se(), r = $(), t =
|
|
1416
|
+
const o = se(), r = $(), t = O(!1), n = C, l = A, p = ge(ne(n.setting));
|
|
1417
1417
|
ye([() => n.show], ([d]) => {
|
|
1418
1418
|
if (d)
|
|
1419
1419
|
for (const c of Object.keys(n.setting))
|
|
1420
1420
|
p[c] = n.setting[c];
|
|
1421
1421
|
});
|
|
1422
|
-
const w =
|
|
1422
|
+
const w = O(), m = ie(n, "show"), v = O(), a = O(""), u = T(() => n.setting.locations.filter(
|
|
1423
1423
|
(d) => d.name.toLowerCase().includes(a.value.toLowerCase()) || d.netSuiteId.toLowerCase().includes(a.value.toLowerCase())
|
|
1424
1424
|
)), x = [
|
|
1425
1425
|
{
|
|
@@ -1696,7 +1696,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1696
1696
|
}), In = { class: "flex items-center gap-8 mb-8" }, Sn = /* @__PURE__ */ Q({
|
|
1697
1697
|
__name: "InventoryTransferOutTable",
|
|
1698
1698
|
setup(C) {
|
|
1699
|
-
const A =
|
|
1699
|
+
const A = O([]), o = fe(), r = O(!1), t = O(!1), n = ee(), l = $();
|
|
1700
1700
|
ve(async () => {
|
|
1701
1701
|
const v = /* @__PURE__ */ new Date(), a = /* @__PURE__ */ new Date();
|
|
1702
1702
|
a.setDate(a.getDate() - 30), r.value = !0;
|
|
@@ -1816,7 +1816,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1816
1816
|
},
|
|
1817
1817
|
size: 150
|
|
1818
1818
|
}
|
|
1819
|
-
], m =
|
|
1819
|
+
], m = O();
|
|
1820
1820
|
return (v, a) => {
|
|
1821
1821
|
const u = B("FmButton"), x = B("FmTable");
|
|
1822
1822
|
return I(), L(Y, null, [
|
|
@@ -1852,10 +1852,10 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1852
1852
|
}, En = { class: "flex flex-col" }, Fn = { class: "font-medium" }, Ln = { class: "text-xs text-gray-400" }, Vn = { class: "text-xs text-gray-400" }, Nn = { class: "flex my-4" }, Dn = { class: "flex" }, Mn = {
|
|
1853
1853
|
key: 1,
|
|
1854
1854
|
class: "flex flex-col"
|
|
1855
|
-
},
|
|
1855
|
+
}, On = {
|
|
1856
1856
|
key: 1,
|
|
1857
1857
|
class: "flex flex-col"
|
|
1858
|
-
},
|
|
1858
|
+
}, Rn = /* @__PURE__ */ Q({
|
|
1859
1859
|
__name: "InventoryTransfer",
|
|
1860
1860
|
props: {
|
|
1861
1861
|
nsLocations: {},
|
|
@@ -1863,7 +1863,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1863
1863
|
currentLocationSubsidiary: {}
|
|
1864
1864
|
},
|
|
1865
1865
|
setup(C) {
|
|
1866
|
-
const A = ue(), o = re(), r = he(), t = fe(), n = ee(), { t: l } = me(), p =
|
|
1866
|
+
const A = ue(), o = re(), r = he(), t = fe(), n = ee(), { t: l } = me(), p = O([]), w = [{ label: "Transfer Out" }, { label: "History" }], m = O(w[0]), v = O(!1), a = O(null), u = O(null), x = C, E = T(() => {
|
|
1867
1867
|
const h = o.currentLocationSetting, y = o.configuredLocations;
|
|
1868
1868
|
return x.nsLocations.map((e) => ({
|
|
1869
1869
|
label: e.name,
|
|
@@ -1957,8 +1957,8 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1957
1957
|
}
|
|
1958
1958
|
}).onPrimary((V) => {
|
|
1959
1959
|
const D = p.value, U = V.map((X) => {
|
|
1960
|
-
const
|
|
1961
|
-
return
|
|
1960
|
+
const _ = D.find((ae) => ae.sku._id === X._id);
|
|
1961
|
+
return _ || {
|
|
1962
1962
|
sku: X,
|
|
1963
1963
|
code: X.code,
|
|
1964
1964
|
name: X.name,
|
|
@@ -1968,11 +1968,11 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1968
1968
|
}
|
|
1969
1969
|
};
|
|
1970
1970
|
});
|
|
1971
|
-
U.sort((X,
|
|
1971
|
+
U.sort((X, _) => X.sku.code.localeCompare(_.sku.code)), p.value = U;
|
|
1972
1972
|
});
|
|
1973
1973
|
}
|
|
1974
1974
|
return (h, y) => {
|
|
1975
|
-
const e = B("FmButtonGroup"), i = B("FmLabel"), F = B("FmField"), V = B("FmSimpleDatePicker"), D = B("FmTimePicker"), U = B("FmSelect"), X = B("FmIcon"),
|
|
1975
|
+
const e = B("FmButtonGroup"), i = B("FmLabel"), F = B("FmField"), V = B("FmSimpleDatePicker"), D = B("FmTimePicker"), U = B("FmSelect"), X = B("FmIcon"), _ = B("FmButton");
|
|
1976
1976
|
return I(), L("div", wn, [
|
|
1977
1977
|
b(e, {
|
|
1978
1978
|
modelValue: m.value,
|
|
@@ -2009,7 +2009,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2009
2009
|
"prepend-icon": "lock"
|
|
2010
2010
|
}, {
|
|
2011
2011
|
default: N(() => [
|
|
2012
|
-
q(
|
|
2012
|
+
q(R(h.currentLocationSubsidiary.fullName), 1)
|
|
2013
2013
|
]),
|
|
2014
2014
|
_: 1
|
|
2015
2015
|
}),
|
|
@@ -2058,11 +2058,11 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2058
2058
|
outline: ""
|
|
2059
2059
|
}),
|
|
2060
2060
|
s("div", En, [
|
|
2061
|
-
s("span", Fn,
|
|
2062
|
-
s("span", Ln, "ID: " +
|
|
2063
|
-
s("span", Vn, "Subsidiary: " +
|
|
2061
|
+
s("span", Fn, R(u.value.name), 1),
|
|
2062
|
+
s("span", Ln, "ID: " + R(u.value.netsuiteId), 1),
|
|
2063
|
+
s("span", Vn, "Subsidiary: " + R(u.value.subsidiaryName), 1)
|
|
2064
2064
|
]),
|
|
2065
|
-
b(
|
|
2065
|
+
b(_, {
|
|
2066
2066
|
class: "ml-2",
|
|
2067
2067
|
variant: "secondary",
|
|
2068
2068
|
label: "Clear",
|
|
@@ -2071,7 +2071,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2071
2071
|
])) : z("", !0)
|
|
2072
2072
|
]),
|
|
2073
2073
|
s("div", Nn, [
|
|
2074
|
-
b(
|
|
2074
|
+
b(_, {
|
|
2075
2075
|
class: "ml-auto",
|
|
2076
2076
|
variant: "secondary",
|
|
2077
2077
|
"prepend-icon": "add",
|
|
@@ -2084,7 +2084,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2084
2084
|
"onUpdate:modelValue": y[5] || (y[5] = (j) => p.value = j)
|
|
2085
2085
|
}, null, 8, ["modelValue"]),
|
|
2086
2086
|
s("div", Dn, [
|
|
2087
|
-
b(
|
|
2087
|
+
b(_, {
|
|
2088
2088
|
class: "ml-auto mt-4",
|
|
2089
2089
|
variant: "primary",
|
|
2090
2090
|
"prepend-icon": "add",
|
|
@@ -2103,13 +2103,13 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2103
2103
|
})
|
|
2104
2104
|
]))
|
|
2105
2105
|
], 64)) : z("", !0),
|
|
2106
|
-
m.value.label === "History" ? (I(), L("div",
|
|
2106
|
+
m.value.label === "History" ? (I(), L("div", On, [
|
|
2107
2107
|
b(Sn)
|
|
2108
2108
|
])) : z("", !0)
|
|
2109
2109
|
]);
|
|
2110
2110
|
};
|
|
2111
2111
|
}
|
|
2112
|
-
}),
|
|
2112
|
+
}), _n = { class: "flex flex-col gap-8" }, Tn = {
|
|
2113
2113
|
key: 0,
|
|
2114
2114
|
class: "flex flex-col gap-4"
|
|
2115
2115
|
}, jn = { style: { "list-style-type": "initial", "padding-left": "1rem" } }, zn = /* @__PURE__ */ Q({
|
|
@@ -2120,7 +2120,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2120
2120
|
setup(C) {
|
|
2121
2121
|
const A = ue();
|
|
2122
2122
|
se();
|
|
2123
|
-
const o = fe(), r = ee(), t =
|
|
2123
|
+
const o = fe(), r = ee(), t = O(!1), n = C, l = O([]);
|
|
2124
2124
|
async function p() {
|
|
2125
2125
|
var m;
|
|
2126
2126
|
t.value = !0;
|
|
@@ -2170,8 +2170,8 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2170
2170
|
}
|
|
2171
2171
|
return (m, v) => {
|
|
2172
2172
|
const a = B("FmButton");
|
|
2173
|
-
return I(), L("div",
|
|
2174
|
-
s("span", null, "Current date and time: " +
|
|
2173
|
+
return I(), L("div", _n, [
|
|
2174
|
+
s("span", null, "Current date and time: " + R((/* @__PURE__ */ new Date()).toLocaleString()), 1),
|
|
2175
2175
|
b(a, {
|
|
2176
2176
|
label: "Check Unsync Transfer Order (Last 2 months)",
|
|
2177
2177
|
variant: "primary",
|
|
@@ -2182,7 +2182,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2182
2182
|
l.value.length > 0 ? (I(), L("div", Tn, [
|
|
2183
2183
|
v[0] || (v[0] = s("p", null, "Transfer Order NetSuite ID not match with existing orders", -1)),
|
|
2184
2184
|
s("ul", jn, [
|
|
2185
|
-
(I(!0), L(Y, null, W(l.value, (u) => (I(), L("li", { key: u },
|
|
2185
|
+
(I(!0), L(Y, null, W(l.value, (u) => (I(), L("li", { key: u }, R(u), 1))), 128))
|
|
2186
2186
|
]),
|
|
2187
2187
|
s("div", null, [
|
|
2188
2188
|
b(De, null, {
|
|
@@ -2214,7 +2214,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2214
2214
|
setup(C) {
|
|
2215
2215
|
const A = ue();
|
|
2216
2216
|
se();
|
|
2217
|
-
const o = fe(), r = ee(), t =
|
|
2217
|
+
const o = fe(), r = ee(), t = O(!1), n = C, l = O([]);
|
|
2218
2218
|
async function p() {
|
|
2219
2219
|
var m;
|
|
2220
2220
|
t.value = !0;
|
|
@@ -2265,7 +2265,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2265
2265
|
return (m, v) => {
|
|
2266
2266
|
const a = B("FmButton");
|
|
2267
2267
|
return I(), L("div", Hn, [
|
|
2268
|
-
s("span", null, "Current date and time: " +
|
|
2268
|
+
s("span", null, "Current date and time: " + R((/* @__PURE__ */ new Date()).toLocaleString()), 1),
|
|
2269
2269
|
b(a, {
|
|
2270
2270
|
label: "Check Unsync Purchase Order (Last 2 months)",
|
|
2271
2271
|
variant: "primary",
|
|
@@ -2276,7 +2276,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2276
2276
|
l.value.length > 0 ? (I(), L("div", Un, [
|
|
2277
2277
|
v[0] || (v[0] = s("p", null, "Purchase Order NetSuite ID not match with existing orders", -1)),
|
|
2278
2278
|
s("ul", Xn, [
|
|
2279
|
-
(I(!0), L(Y, null, W(l.value, (u) => (I(), L("li", { key: u },
|
|
2279
|
+
(I(!0), L(Y, null, W(l.value, (u) => (I(), L("li", { key: u }, R(u), 1))), 128))
|
|
2280
2280
|
]),
|
|
2281
2281
|
s("div", null, [
|
|
2282
2282
|
b(De, null, {
|
|
@@ -2323,7 +2323,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2323
2323
|
value: "purchaseOrder"
|
|
2324
2324
|
/* PURCHASE_ORDER */
|
|
2325
2325
|
}
|
|
2326
|
-
], a =
|
|
2326
|
+
], a = O(v[0].value), u = T(() => r.currentLocationSubsidiary()), x = T(() => r.currentLocationSetting), E = T(() => t.nsLocations.filter(
|
|
2327
2327
|
(g) => g.subsidiaryId === u.value.id || g.netsuiteId === u.value.id
|
|
2328
2328
|
));
|
|
2329
2329
|
return (g, f) => {
|
|
@@ -2339,7 +2339,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2339
2339
|
}, te({
|
|
2340
2340
|
default: N(() => [
|
|
2341
2341
|
S(r).isCurrentLocationBindedToNetSuite ? (I(), L(Y, { key: 1 }, [
|
|
2342
|
-
a.value === "inventoryTransfer" ? (I(), H(
|
|
2342
|
+
a.value === "inventoryTransfer" ? (I(), H(Rn, {
|
|
2343
2343
|
key: 0,
|
|
2344
2344
|
currentLocationSetting: x.value,
|
|
2345
2345
|
nsLocations: E.value,
|
|
@@ -2379,7 +2379,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2379
2379
|
name: S(m),
|
|
2380
2380
|
size: "sm"
|
|
2381
2381
|
}, null, 8, ["name"]),
|
|
2382
|
-
s("div", Pn,
|
|
2382
|
+
s("div", Pn, R((i = S(w)._currentLocation) == null ? void 0 : i.name), 1)
|
|
2383
2383
|
])
|
|
2384
2384
|
]),
|
|
2385
2385
|
b(c, {
|
|
@@ -2398,11 +2398,11 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2398
2398
|
}), Wn = { class: "flex justify-center" }, $n = ["src"], eo = { class: "flex flex-col items-center gap-2" }, to = { class: "text-lg font-bold" }, no = { class: "text-fm-color-neutral-gray-300" }, oo = /* @__PURE__ */ Q({
|
|
2399
2399
|
__name: "NetSuite",
|
|
2400
2400
|
setup(C) {
|
|
2401
|
-
const A = re(), o = ee(), r =
|
|
2401
|
+
const A = re(), o = ee(), r = O(!1), t = O(!1);
|
|
2402
2402
|
async function n() {
|
|
2403
2403
|
t.value = !0;
|
|
2404
2404
|
}
|
|
2405
|
-
const l =
|
|
2405
|
+
const l = O([]);
|
|
2406
2406
|
He(async () => {
|
|
2407
2407
|
if (A.isReady && A.isEnabled) {
|
|
2408
2408
|
r.value = !0;
|
|
@@ -2443,8 +2443,8 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2443
2443
|
}, null, 8, $n)
|
|
2444
2444
|
]),
|
|
2445
2445
|
s("div", eo, [
|
|
2446
|
-
s("div", to,
|
|
2447
|
-
s("div", no,
|
|
2446
|
+
s("div", to, R(S(p)("inventory.integration.netsuite.title")), 1),
|
|
2447
|
+
s("div", no, R(S(p)("inventory.integration.netsuite.description")), 1)
|
|
2448
2448
|
])
|
|
2449
2449
|
]),
|
|
2450
2450
|
_: 1
|
|
@@ -2628,7 +2628,7 @@ const io = { class: "flex flex-col gap-4" }, ro = { class: "flex flex-col" }, uo
|
|
|
2628
2628
|
disabledReason: "Current location is not binded to NetSuite"
|
|
2629
2629
|
}
|
|
2630
2630
|
] : []
|
|
2631
|
-
]), p =
|
|
2631
|
+
]), p = O(l.value[0].value), { t: w } = me(), m = O(null), v = O(), a = O(""), u = O([]), x = O([]), E = [
|
|
2632
2632
|
{
|
|
2633
2633
|
id: "ingredient",
|
|
2634
2634
|
header: () => "Ingredient",
|
|
@@ -2719,7 +2719,7 @@ const io = { class: "flex flex-col gap-4" }, ro = { class: "flex flex-col" }, uo
|
|
|
2719
2719
|
accessorKey: "message",
|
|
2720
2720
|
header: "Error Message"
|
|
2721
2721
|
}
|
|
2722
|
-
], g =
|
|
2722
|
+
], g = O(!1);
|
|
2723
2723
|
async function f() {
|
|
2724
2724
|
if (m.value) {
|
|
2725
2725
|
g.value = !0;
|
|
@@ -2771,7 +2771,7 @@ const io = { class: "flex flex-col gap-4" }, ro = { class: "flex flex-col" }, uo
|
|
|
2771
2771
|
}
|
|
2772
2772
|
}
|
|
2773
2773
|
}
|
|
2774
|
-
const c =
|
|
2774
|
+
const c = O(""), h = T({
|
|
2775
2775
|
get() {
|
|
2776
2776
|
return c.value;
|
|
2777
2777
|
},
|
|
@@ -2784,7 +2784,7 @@ const io = { class: "flex flex-col gap-4" }, ro = { class: "flex flex-col" }, uo
|
|
|
2784
2784
|
return isNaN(e.getTime()) ? null : Ae(e);
|
|
2785
2785
|
});
|
|
2786
2786
|
return (e, i) => {
|
|
2787
|
-
const F = B("FmLabel"), V = B("FmField"), D = B("FmSimpleDatePicker"), U = B("FmButton"), X = B("FmIcon"),
|
|
2787
|
+
const F = B("FmLabel"), V = B("FmField"), D = B("FmSimpleDatePicker"), U = B("FmButton"), X = B("FmIcon"), _ = B("FmRadio"), j = B("FmRadioGroup"), ae = B("FmTable");
|
|
2788
2788
|
return I(), L("div", io, [
|
|
2789
2789
|
s("div", ro, [
|
|
2790
2790
|
b(F, { label: "Latest closing" })
|
|
@@ -2794,7 +2794,7 @@ const io = { class: "flex flex-col gap-4" }, ro = { class: "flex flex-col" }, uo
|
|
|
2794
2794
|
disabled: ""
|
|
2795
2795
|
}, {
|
|
2796
2796
|
default: N(() => [
|
|
2797
|
-
q(
|
|
2797
|
+
q(R(S(A).state.closingDocumentId ? `${S(Fe)(new Date(S(be)(S(A).state.closingDocumentId)))}` : "No closing found"), 1)
|
|
2798
2798
|
]),
|
|
2799
2799
|
_: 1
|
|
2800
2800
|
}),
|
|
@@ -2813,7 +2813,7 @@ const io = { class: "flex flex-col gap-4" }, ro = { class: "flex flex-col" }, uo
|
|
|
2813
2813
|
label: "Last closing time"
|
|
2814
2814
|
}, {
|
|
2815
2815
|
default: N(() => [
|
|
2816
|
-
q(
|
|
2816
|
+
q(R(y.value), 1)
|
|
2817
2817
|
]),
|
|
2818
2818
|
_: 1
|
|
2819
2819
|
})
|
|
@@ -2835,7 +2835,7 @@ const io = { class: "flex flex-col gap-4" }, ro = { class: "flex flex-col" }, uo
|
|
|
2835
2835
|
s("div", mo, [
|
|
2836
2836
|
s("div", fo, [
|
|
2837
2837
|
s("div", po, [
|
|
2838
|
-
s("div", vo,
|
|
2838
|
+
s("div", vo, R(m.value.name), 1),
|
|
2839
2839
|
b(U, {
|
|
2840
2840
|
label: S(w)("inventory.ingredient.import.replaceFile"),
|
|
2841
2841
|
variant: "secondary",
|
|
@@ -2856,7 +2856,7 @@ const io = { class: "flex flex-col gap-4" }, ro = { class: "flex flex-col" }, uo
|
|
|
2856
2856
|
class: "my-5"
|
|
2857
2857
|
}, {
|
|
2858
2858
|
default: N(() => [
|
|
2859
|
-
(I(!0), L(Y, null, W(l.value, (J) => (I(), H(
|
|
2859
|
+
(I(!0), L(Y, null, W(l.value, (J) => (I(), H(_, {
|
|
2860
2860
|
key: J.value,
|
|
2861
2861
|
value: J.value,
|
|
2862
2862
|
label: J.label,
|
|
@@ -2865,8 +2865,8 @@ const io = { class: "flex flex-col gap-4" }, ro = { class: "flex flex-col" }, uo
|
|
|
2865
2865
|
}, {
|
|
2866
2866
|
label: N(() => [
|
|
2867
2867
|
s("div", go, [
|
|
2868
|
-
s("span", yo,
|
|
2869
|
-
s("span", Ao,
|
|
2868
|
+
s("span", yo, R(J.label), 1),
|
|
2869
|
+
s("span", Ao, R(J.disabled ? J.disabledReason : J.subLabel), 1)
|
|
2870
2870
|
]),
|
|
2871
2871
|
J.value === "netsuite" && S(o).currentLocationSetting ? (I(), L("div", bo, [
|
|
2872
2872
|
b(X, {
|
|
@@ -2877,9 +2877,9 @@ const io = { class: "flex flex-col gap-4" }, ro = { class: "flex flex-col" }, uo
|
|
|
2877
2877
|
outline: !0
|
|
2878
2878
|
}),
|
|
2879
2879
|
s("div", ho, [
|
|
2880
|
-
s("span", xo,
|
|
2881
|
-
s("span", Io, "ID: " +
|
|
2882
|
-
s("span", So, "Subsidiary: " +
|
|
2880
|
+
s("span", xo, R(S(o).currentLocationSetting.name), 1),
|
|
2881
|
+
s("span", Io, "ID: " + R(S(o).currentLocationSetting.netSuiteId), 1),
|
|
2882
|
+
s("span", So, "Subsidiary: " + R(S(o).getSubsidiaryFullName(
|
|
2883
2883
|
S(o).currentLocationSetting.subsidiaryId
|
|
2884
2884
|
).fullName), 1)
|
|
2885
2885
|
])
|
|
@@ -2937,7 +2937,7 @@ const io = { class: "flex flex-col gap-4" }, ro = { class: "flex flex-col" }, uo
|
|
|
2937
2937
|
}), Eo = { class: "flex flex-col gap-8 w-full" }, Fo = { class: "flex gap-4 justify-between" }, Lo = { 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" }, Vo = { class: "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap" }, No = { key: 0 }, Do = {
|
|
2938
2938
|
key: 1,
|
|
2939
2939
|
class: "flex flex-col gap-8 w-full"
|
|
2940
|
-
}, Mo = { key: 1 },
|
|
2940
|
+
}, Mo = { key: 1 }, Oo = { class: "flex gap-8 items-center justify-start" }, Ro = /* @__PURE__ */ Q({
|
|
2941
2941
|
__name: "XilnexSideSheet",
|
|
2942
2942
|
props: {
|
|
2943
2943
|
show: { type: Boolean },
|
|
@@ -2955,7 +2955,7 @@ const io = { class: "flex flex-col gap-4" }, ro = { class: "flex flex-col" }, uo
|
|
|
2955
2955
|
"transferNote"
|
|
2956
2956
|
/* TRANSFER_NOTE */
|
|
2957
2957
|
) }
|
|
2958
|
-
], v =
|
|
2958
|
+
], v = O(m[0]);
|
|
2959
2959
|
return (u, x) => {
|
|
2960
2960
|
var d;
|
|
2961
2961
|
const E = B("FmIcon"), k = B("FmButtonGroup"), g = B("FmButton"), f = B("FmSideSheet");
|
|
@@ -2983,7 +2983,7 @@ const io = { class: "flex flex-col gap-4" }, ro = { class: "flex flex-col" }, uo
|
|
|
2983
2983
|
];
|
|
2984
2984
|
}),
|
|
2985
2985
|
"side-sheet-footer": N(() => [
|
|
2986
|
-
s("div",
|
|
2986
|
+
s("div", Oo, [
|
|
2987
2987
|
b(g, {
|
|
2988
2988
|
variant: "tertiary",
|
|
2989
2989
|
label: S(n)("common.close"),
|
|
@@ -3006,7 +3006,7 @@ const io = { class: "flex flex-col gap-4" }, ro = { class: "flex flex-col" }, uo
|
|
|
3006
3006
|
name: S(w),
|
|
3007
3007
|
size: "sm"
|
|
3008
3008
|
}, null, 8, ["name"]),
|
|
3009
|
-
s("div", Vo,
|
|
3009
|
+
s("div", Vo, R((c = S(p)._currentLocation) == null ? void 0 : c.name), 1)
|
|
3010
3010
|
])
|
|
3011
3011
|
]),
|
|
3012
3012
|
b(k, {
|
|
@@ -3022,10 +3022,10 @@ const io = { class: "flex flex-col gap-4" }, ro = { class: "flex flex-col" }, uo
|
|
|
3022
3022
|
]), 1032, ["modelValue"]);
|
|
3023
3023
|
};
|
|
3024
3024
|
}
|
|
3025
|
-
}),
|
|
3025
|
+
}), _o = /* @__PURE__ */ Q({
|
|
3026
3026
|
__name: "XilnexView",
|
|
3027
3027
|
setup(C) {
|
|
3028
|
-
const A = Ve(), o = $(), r =
|
|
3028
|
+
const A = Ve(), o = $(), r = O(!1);
|
|
3029
3029
|
async function t() {
|
|
3030
3030
|
r.value = !0, console.log("Opening Xilnex migration dialog");
|
|
3031
3031
|
}
|
|
@@ -3061,7 +3061,7 @@ const io = { class: "flex flex-col gap-4" }, ro = { class: "flex flex-col" }, uo
|
|
|
3061
3061
|
_: 1
|
|
3062
3062
|
}),
|
|
3063
3063
|
(I(), H(de, { to: "body" }, [
|
|
3064
|
-
b(
|
|
3064
|
+
b(Ro, {
|
|
3065
3065
|
show: r.value,
|
|
3066
3066
|
"onUpdate:show": l[1] || (l[1] = (m) => r.value = m)
|
|
3067
3067
|
}, null, 8, ["show"])
|
|
@@ -3188,7 +3188,7 @@ const Ho = { class: "flex flex-col gap-4" }, Uo = { class: "flex flex-col" }, Xo
|
|
|
3188
3188
|
label: "Synergy",
|
|
3189
3189
|
subLabel: "Based on Synergy's item cost from excel file"
|
|
3190
3190
|
}
|
|
3191
|
-
]), l =
|
|
3191
|
+
]), l = O(n.value[0].value), { t: p } = me(), w = O(null), m = O(), v = O(""), a = O([]), u = O([]), x = [
|
|
3192
3192
|
{
|
|
3193
3193
|
id: "ingredient",
|
|
3194
3194
|
header: () => "Ingredient",
|
|
@@ -3279,7 +3279,7 @@ const Ho = { class: "flex flex-col gap-4" }, Uo = { class: "flex flex-col" }, Xo
|
|
|
3279
3279
|
accessorKey: "message",
|
|
3280
3280
|
header: "Error Message"
|
|
3281
3281
|
}
|
|
3282
|
-
], k =
|
|
3282
|
+
], k = O(!1);
|
|
3283
3283
|
async function g() {
|
|
3284
3284
|
if (w.value) {
|
|
3285
3285
|
k.value = !0;
|
|
@@ -3330,7 +3330,7 @@ const Ho = { class: "flex flex-col gap-4" }, Uo = { class: "flex flex-col" }, Xo
|
|
|
3330
3330
|
}
|
|
3331
3331
|
}
|
|
3332
3332
|
}
|
|
3333
|
-
const d =
|
|
3333
|
+
const d = O(""), c = T({
|
|
3334
3334
|
get() {
|
|
3335
3335
|
return d.value;
|
|
3336
3336
|
},
|
|
@@ -3343,7 +3343,7 @@ const Ho = { class: "flex flex-col gap-4" }, Uo = { class: "flex flex-col" }, Xo
|
|
|
3343
3343
|
return isNaN(y.getTime()) ? null : Ae(y);
|
|
3344
3344
|
});
|
|
3345
3345
|
return (y, e) => {
|
|
3346
|
-
const i = B("FmLabel"), F = B("FmField"), V = B("FmSimpleDatePicker"), D = B("FmButton"), U = B("FmRadio"), X = B("FmRadioGroup"),
|
|
3346
|
+
const i = B("FmLabel"), F = B("FmField"), V = B("FmSimpleDatePicker"), D = B("FmButton"), U = B("FmRadio"), X = B("FmRadioGroup"), _ = B("FmTable");
|
|
3347
3347
|
return I(), L("div", Ho, [
|
|
3348
3348
|
s("div", Uo, [
|
|
3349
3349
|
b(i, { label: "Latest closing" })
|
|
@@ -3353,7 +3353,7 @@ const Ho = { class: "flex flex-col gap-4" }, Uo = { class: "flex flex-col" }, Xo
|
|
|
3353
3353
|
disabled: ""
|
|
3354
3354
|
}, {
|
|
3355
3355
|
default: N(() => [
|
|
3356
|
-
q(
|
|
3356
|
+
q(R(S(A).state.closingDocumentId ? `${S(Fe)(new Date(S(be)(S(A).state.closingDocumentId)))}` : "No closing found"), 1)
|
|
3357
3357
|
]),
|
|
3358
3358
|
_: 1
|
|
3359
3359
|
}),
|
|
@@ -3372,7 +3372,7 @@ const Ho = { class: "flex flex-col gap-4" }, Uo = { class: "flex flex-col" }, Xo
|
|
|
3372
3372
|
label: "Last closing time"
|
|
3373
3373
|
}, {
|
|
3374
3374
|
default: N(() => [
|
|
3375
|
-
q(
|
|
3375
|
+
q(R(h.value), 1)
|
|
3376
3376
|
]),
|
|
3377
3377
|
_: 1
|
|
3378
3378
|
})
|
|
@@ -3394,7 +3394,7 @@ const Ho = { class: "flex flex-col gap-4" }, Uo = { class: "flex flex-col" }, Xo
|
|
|
3394
3394
|
s("div", Yo, [
|
|
3395
3395
|
s("div", Jo, [
|
|
3396
3396
|
s("div", Ko, [
|
|
3397
|
-
s("div", Po,
|
|
3397
|
+
s("div", Po, R(w.value.name), 1),
|
|
3398
3398
|
b(D, {
|
|
3399
3399
|
label: S(p)("inventory.ingredient.import.replaceFile"),
|
|
3400
3400
|
variant: "secondary",
|
|
@@ -3424,8 +3424,8 @@ const Ho = { class: "flex flex-col gap-4" }, Uo = { class: "flex flex-col" }, Xo
|
|
|
3424
3424
|
}, {
|
|
3425
3425
|
label: N(() => [
|
|
3426
3426
|
s("div", qo, [
|
|
3427
|
-
s("span", Zo,
|
|
3428
|
-
s("span", Go,
|
|
3427
|
+
s("span", Zo, R(j.label), 1),
|
|
3428
|
+
s("span", Go, R(j.disabled ? j.disabledReason : j.subLabel), 1)
|
|
3429
3429
|
])
|
|
3430
3430
|
]),
|
|
3431
3431
|
_: 2
|
|
@@ -3446,7 +3446,7 @@ const Ho = { class: "flex flex-col gap-4" }, Uo = { class: "flex flex-col" }, Xo
|
|
|
3446
3446
|
]),
|
|
3447
3447
|
w.value && u.value.length > 0 ? (I(), L(Y, { key: 0 }, [
|
|
3448
3448
|
e[4] || (e[4] = s("h2", { class: "fm-typo-en-title-md-800 mt-8 mb-4" }, "Results", -1)),
|
|
3449
|
-
b(
|
|
3449
|
+
b(_, {
|
|
3450
3450
|
modelValue: m.value,
|
|
3451
3451
|
"onUpdate:modelValue": e[3] || (e[3] = (j) => m.value = j),
|
|
3452
3452
|
"row-data": u.value,
|
|
@@ -3457,7 +3457,7 @@ const Ho = { class: "flex flex-col gap-4" }, Uo = { class: "flex flex-col" }, Xo
|
|
|
3457
3457
|
], 64)) : z("", !0),
|
|
3458
3458
|
a.value.length > 0 ? (I(), L(Y, { key: 1 }, [
|
|
3459
3459
|
e[5] || (e[5] = s("h2", { class: "fm-typo-en-title-md-800 mt-8 mb-4 text-red-600" }, "Errors", -1)),
|
|
3460
|
-
b(
|
|
3460
|
+
b(_, {
|
|
3461
3461
|
"row-data": a.value,
|
|
3462
3462
|
"column-defs": E
|
|
3463
3463
|
}, null, 8, ["row-data"])
|
|
@@ -3533,7 +3533,7 @@ const Ho = { class: "flex flex-col gap-4" }, Uo = { class: "flex flex-col" }, Xo
|
|
|
3533
3533
|
name: S(w),
|
|
3534
3534
|
size: "sm"
|
|
3535
3535
|
}, null, 8, ["name"]),
|
|
3536
|
-
s("div", as,
|
|
3536
|
+
s("div", as, R((g = S(p)._currentLocation) == null ? void 0 : g.name), 1)
|
|
3537
3537
|
])
|
|
3538
3538
|
])
|
|
3539
3539
|
])
|
|
@@ -3547,7 +3547,7 @@ const Ho = { class: "flex flex-col gap-4" }, Uo = { class: "flex flex-col" }, Xo
|
|
|
3547
3547
|
}), cs = /* @__PURE__ */ Q({
|
|
3548
3548
|
__name: "SynergyView",
|
|
3549
3549
|
setup(C) {
|
|
3550
|
-
const A = Ve(), o = $(), r =
|
|
3550
|
+
const A = Ve(), o = $(), r = O(!1);
|
|
3551
3551
|
async function t() {
|
|
3552
3552
|
r.value = !0, console.log("Opening Synergy migration dialog");
|
|
3553
3553
|
}
|
|
@@ -3603,7 +3603,7 @@ const Ho = { class: "flex flex-col gap-4" }, Uo = { class: "flex flex-col" }, Xo
|
|
|
3603
3603
|
}, ws = /* @__PURE__ */ Q({
|
|
3604
3604
|
__name: "IntegrationView",
|
|
3605
3605
|
setup(C) {
|
|
3606
|
-
const A = $(), o =
|
|
3606
|
+
const A = $(), o = O(!1), r = nt(), { breakpoints: t } = Ne(), n = T(() => t.value.xs || t.value.sm), { t: l } = Z();
|
|
3607
3607
|
return ve(async () => {
|
|
3608
3608
|
if (A._currentLocation) {
|
|
3609
3609
|
o.value = !0;
|
|
@@ -3642,11 +3642,11 @@ const Ho = { class: "flex flex-col gap-4" }, Uo = { class: "flex flex-col" }, Xo
|
|
|
3642
3642
|
}, null, 8, fs)
|
|
3643
3643
|
]),
|
|
3644
3644
|
w[0] || (w[0] = s("div", { class: "font-bold text-lg" }, "Integration", -1)),
|
|
3645
|
-
s("div", ps,
|
|
3645
|
+
s("div", ps, R(S(l)("inventory.integration.description")), 1)
|
|
3646
3646
|
])) : (I(), L("div", vs, [
|
|
3647
3647
|
b(oo),
|
|
3648
3648
|
b(Gt),
|
|
3649
|
-
b(
|
|
3649
|
+
b(_o),
|
|
3650
3650
|
b(cs)
|
|
3651
3651
|
]))
|
|
3652
3652
|
], 2)
|