@feedmepos/mf-inventory-portal 1.2.11-dev.2 → 1.2.12-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-7THD1njR.js → App-DAWBJNxz.js} +44 -40
- package/dist/{ApprovalView-DMEJRr68.js → ApprovalView-B2WUwSN4.js} +30 -30
- package/dist/{BindingsDialog-BNzLPDnk.js → BindingsDialog-C3OOcB8g.js} +2 -2
- package/dist/{BindingsPicker-b6IVAFK_.js → BindingsPicker-R3Zz0fWB.js} +1 -1
- package/dist/{BindingsTable-C-4XGO_N.js → BindingsTable-B46C8p7M.js} +1 -1
- package/dist/{ClosingDraftView-DVTloUym.js → ClosingDraftView-a_QhmaM4.js} +180 -180
- package/dist/{ClosingTemplateView-C-eHKV0N.js → ClosingTemplateView-CEVmIsVw.js} +3 -3
- package/dist/{DeliveryOrderPrintPreview-ChIV_Wxd.js → DeliveryOrderPrintPreview-BeQFF6sn.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DPkGmSYU.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DIG9NwPj.js} +3 -3
- package/dist/{FmMultiselectDialog-aRqxOX4h.js → FmMultiselectDialog-BunyF2O-.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-_MPI8AAx.js → FmUnitInput.vue_vue_type_script_setup_true_lang-Bx0dzfHO.js} +39 -39
- package/dist/ImportView-CwBeBbXz.js +1220 -0
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BiHvGyAN.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-CfwprwJN.js} +1 -1
- package/dist/{IngredientGroupView-DtExVKaV.js → IngredientGroupView-CIPTj0hf.js} +16 -17
- package/dist/IngredientsView-BwBaeLtw.js +2240 -0
- package/dist/{IntegrationView-LnHPQMs8.js → IntegrationView-CvRD-5O6.js} +57 -57
- package/dist/{InventoryBindingForm-Cm9TOWWe.js → InventoryBindingForm-DLQTH1di.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DwGz8gLR.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-XvIklIYw.js} +31 -31
- package/dist/{InventoryBindingSummary-BQ6ysLf9.js → InventoryBindingSummary-BGFSPQIw.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-B_ASTDtr.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-B3J0i5IU.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DdFHN7A8.js → PremiumBadge.vue_vue_type_script_setup_true_lang-CyMRTB5L.js} +1 -1
- package/dist/{PublishView-Dg_U3hW1.js → PublishView-7g0bx6KO.js} +16 -16
- package/dist/{PurchaseOrderPrintPreview-DnwHiTGF.js → PurchaseOrderPrintPreview-LEfLcjkd.js} +1 -1
- package/dist/{ReceiveRequestView-CIzZf6q8.js → ReceiveRequestView-DUNfHRGf.js} +193 -194
- package/dist/RecipeView-XzqGQg_a.js +636 -0
- package/dist/{StockView-D6RmCUZZ.js → StockView-vZr9etBj.js} +165 -166
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BAcaiBqq.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-3_csD6uU.js} +1 -1
- package/dist/{SupplierView-DmJXuznz.js → SupplierView-CUORFWJW.js} +52 -52
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-9wk6mQHT.js → TransferDetails.vue_vue_type_script_setup_true_lang-DhXoNkss.js} +5 -5
- package/dist/{TransferTemplateView-wcXRmuoK.js → TransferTemplateView-DeliKkYY.js} +97 -97
- package/dist/UnitView-B4NCl6jJ.js +674 -0
- package/dist/{WarehouseView-643lOh1p.js → WarehouseView-jLGGlnwV.js} +32 -32
- package/dist/api/inventory.d.ts +306 -0
- package/dist/{app-CsyUwsea.js → app-DJcCTZjT.js} +7663 -7341
- package/dist/app.d.ts +169 -0
- package/dist/app.js +1 -1
- package/dist/{closing-template-DaHVCTUh.js → closing-template-hM43IpP-.js} +1 -1
- package/dist/{decimal-DveC9JMl.js → decimal-BVu2HlCS.js} +1 -1
- package/dist/{format-unit-display-_9FgoZom.js → format-unit-display-C-M_AirC.js} +25 -25
- package/dist/helper/number.d.ts +1 -0
- package/dist/import-export.helper-C05Vl6i-.js +243 -0
- package/dist/{index-ChAOZMz9.js → index-CNQtmSfJ.js} +1 -1
- package/dist/{index-CZmm0Xbi.js → index-v6hU4gAy.js} +1 -1
- package/dist/{purchase-order-template-D2kAwN4O.js → purchase-order-template-BBCEFnbo.js} +1 -1
- package/dist/router/name.d.ts +1 -0
- package/dist/{stock-CL0X5Bnh.js → stock-CK3LBQmj.js} +1 -1
- package/dist/stores/inventory.d.ts +26 -199
- package/dist/{supplier-D3mOSUzY.js → supplier-CoCAyG12.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-Ba-l0gZ1.js → use-ingredient-select-dialog-DYfpyC4u.js} +1 -1
- package/dist/{use-inventory-binding-dialog-CpaprD6M.js → use-inventory-binding-dialog-CDwm6TPx.js} +1 -1
- package/dist/views/import/ImportView.vue.d.ts +3 -0
- package/dist/views/import/components/ImportDialog.vue.d.ts +2 -0
- package/dist/views/import/helper/import-export.helper.d.ts +4 -0
- package/dist/views/ingredients/helper/import-export.helper.d.ts +3 -1
- package/dist/views/recipe/RecipeView.vue.d.ts +1 -0
- package/dist/views/recipe/components/import-recipes/ImportRecipeItem.vue.d.ts +16 -0
- package/dist/views/recipe/components/import-recipes/ImportRecipes.vue.d.ts +2 -0
- package/dist/views/recipe/helper/import-recipe.d.ts +48 -0
- package/dist/views/unit/UnitView.vue.d.ts +1 -0
- package/dist/views/unit/components/import-units/ImportUnitItem.vue.d.ts +12 -0
- package/dist/views/unit/components/import-units/ImportUnitItemProps.d.ts +6 -0
- package/dist/views/unit/components/import-units/ImportUnits.vue.d.ts +9 -0
- package/dist/views/unit/components/import-units/ImportUnitsProps.d.ts +5 -0
- package/dist/views/unit/helper/import-export.helper.d.ts +40 -0
- package/package.json +3 -3
- package/dist/IngredientsView-DQUK8EMq.js +0 -2475
- package/dist/RecipeView-BQeJBUvu.js +0 -621
- package/dist/UnitView-C1cxS42T.js +0 -667
- package/dist/array-Ca8T3f_G.js +0 -44
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as Y, 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 Q, 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 { b6 as Xe, aU as Ye, f as ne, u as $, b7 as Qe, b8 as Je, p as Ke, b as re, aH as me, l as Pe, b0 as fe, a7 as Ae, a8 as be, a as he, v as qe, h as ke, Y as G, a3 as Be, b9 as Ce, aN as Ee, aY as Fe, W as Le, z as Ve, a4 as ce, c as Ne, E as Ze, G as Ge } from "./app-DJcCTZjT.js";
|
|
4
4
|
import { useDialogChild as We, useDialog as ue, useProxiedModel as ie, useSnackbar as ee, useBreakpoints as De, 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-
|
|
6
|
+
import { a as $e, b as et, c as tt, u as nt } from "./index-v6hU4gAy.js";
|
|
7
|
+
import { _ as ot, F as st } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-Bx0dzfHO.js";
|
|
8
8
|
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";
|
|
9
9
|
var Me = { exports: {} };
|
|
10
10
|
(function(C, A) {
|
|
@@ -91,7 +91,7 @@ const rt = { class: "flex flex-col gap-12 h-[350px]" }, ut = { class: "flex item
|
|
|
91
91
|
}, mt = ["data-cy"], ft = { class: "flex flex-col" }, pt = { class: "fm-typo-en-body-md-400" }, vt = {
|
|
92
92
|
key: 1,
|
|
93
93
|
class: "w-full py-16 text-fm-color-typo-disabled fm-typo-en-body-md-400 text-center"
|
|
94
|
-
}, Re = /* @__PURE__ */
|
|
94
|
+
}, Re = /* @__PURE__ */ Y({
|
|
95
95
|
__name: "FmNestedMultiselectDialog",
|
|
96
96
|
props: /* @__PURE__ */ Te({
|
|
97
97
|
modelValue: {}
|
|
@@ -198,7 +198,7 @@ const rt = { class: "flex flex-col gap-12 h-[350px]" }, ut = { class: "flex item
|
|
|
198
198
|
const F = n(e) ? e.children : e.children.filter(l);
|
|
199
199
|
return {
|
|
200
200
|
...e,
|
|
201
|
-
children: e.children.map((V) => F.find((U) =>
|
|
201
|
+
children: e.children.map((V) => F.find((U) => Ye(U.value, V.value)) ? E(V, i) : V)
|
|
202
202
|
};
|
|
203
203
|
}
|
|
204
204
|
return {
|
|
@@ -257,7 +257,7 @@ const rt = { class: "flex flex-col gap-12 h-[350px]" }, ut = { class: "flex item
|
|
|
257
257
|
class: "flex-1 overflow-y-auto"
|
|
258
258
|
}, {
|
|
259
259
|
default: N(() => [
|
|
260
|
-
(I(!0), L(
|
|
260
|
+
(I(!0), L(Q, null, W(m.value, (_) => (I(), L("div", {
|
|
261
261
|
key: _.keys.join(),
|
|
262
262
|
class: K([
|
|
263
263
|
"transition-all overflow-y-clip",
|
|
@@ -278,7 +278,7 @@ const rt = { class: "flex flex-col gap-12 h-[350px]" }, ut = { class: "flex item
|
|
|
278
278
|
default: N(() => [
|
|
279
279
|
s("div", ft, [
|
|
280
280
|
s("div", pt, [
|
|
281
|
-
(I(!0), L(
|
|
281
|
+
(I(!0), L(Q, null, W(S(it)(r.value, _.label).segments, (j, ae) => (I(), L("span", {
|
|
282
282
|
key: ae,
|
|
283
283
|
class: K({
|
|
284
284
|
"font-bold": j.isMatch
|
|
@@ -334,7 +334,7 @@ const rt = { class: "flex flex-col gap-12 h-[350px]" }, ut = { class: "flex item
|
|
|
334
334
|
}, ht = { class: "text-left" }, xt = { class: "min-w-64" }, It = { class: "flex flex-col" }, St = { class: "fm-typo-en-body-md-400" }, wt = {
|
|
335
335
|
key: 0,
|
|
336
336
|
class: "fm-typo-en-body-sm-400 text-fm-color-neutral-gray-400"
|
|
337
|
-
}, kt = { class: "w-1" }, Bt = /* @__PURE__ */
|
|
337
|
+
}, kt = { class: "w-1" }, Bt = /* @__PURE__ */ Y({
|
|
338
338
|
__name: "ApplyAddon",
|
|
339
339
|
props: {
|
|
340
340
|
groups: {
|
|
@@ -464,7 +464,7 @@ const rt = { class: "flex flex-col gap-12 h-[350px]" }, ut = { class: "flex item
|
|
|
464
464
|
s("th", null, R(S(v)("inventory.integration.apply.code")), 1),
|
|
465
465
|
u[1] || (u[1] = s("th", { class: "w-1" }, " ", -1))
|
|
466
466
|
]),
|
|
467
|
-
(I(!0), L(
|
|
467
|
+
(I(!0), L(Q, null, W(n.value, (k, g) => (I(), L(Q, { key: g }, [
|
|
468
468
|
u[2] || (u[2] = s("tr", { class: "block h-8" }, null, -1)),
|
|
469
469
|
s("tr", null, [
|
|
470
470
|
s("td", null, [
|
|
@@ -571,7 +571,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
571
571
|
}, Mt = { class: "text-left" }, Ot = { class: "min-w-64" }, Rt = { class: "flex flex-col" }, _t = { class: "fm-typo-en-body-md-400" }, Tt = {
|
|
572
572
|
key: 0,
|
|
573
573
|
class: "fm-typo-en-body-sm-400 text-fm-color-neutral-gray-400"
|
|
574
|
-
}, jt = { class: "w-1" }, pe = /* @__PURE__ */
|
|
574
|
+
}, jt = { class: "w-1" }, pe = /* @__PURE__ */ Y({
|
|
575
575
|
__name: "ApplyProduct",
|
|
576
576
|
props: {
|
|
577
577
|
isAddon: {
|
|
@@ -784,7 +784,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
784
784
|
])
|
|
785
785
|
]),
|
|
786
786
|
s("tbody", null, [
|
|
787
|
-
(I(!0), L(
|
|
787
|
+
(I(!0), L(Q, null, W(w.value, (y, e) => (I(), L(Q, { key: e }, [
|
|
788
788
|
d[2] || (d[2] = s("tr", { class: "block h-8" }, null, -1)),
|
|
789
789
|
s("tr", null, [
|
|
790
790
|
s("td", null, [
|
|
@@ -822,7 +822,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
822
822
|
]);
|
|
823
823
|
};
|
|
824
824
|
}
|
|
825
|
-
}), zt = { class: "flex flex-col gap-8 w-full" }, Ht = /* @__PURE__ */
|
|
825
|
+
}), zt = { class: "flex flex-col gap-8 w-full" }, Ht = /* @__PURE__ */ Y({
|
|
826
826
|
__name: "ApplyProductDialog",
|
|
827
827
|
props: {
|
|
828
828
|
categories: { default: () => [] },
|
|
@@ -902,7 +902,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
902
902
|
}, 8, ["modelValue", "header"]);
|
|
903
903
|
};
|
|
904
904
|
}
|
|
905
|
-
}), Ut = { class: "flex flex-col gap-8 w-full" }, Xt = /* @__PURE__ */
|
|
905
|
+
}), Ut = { class: "flex flex-col gap-8 w-full" }, Xt = /* @__PURE__ */ Y({
|
|
906
906
|
__name: "ApplyProductDialogV4",
|
|
907
907
|
props: {
|
|
908
908
|
categories: { default: () => [] },
|
|
@@ -996,10 +996,10 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
996
996
|
}, 8, ["modelValue", "header"]);
|
|
997
997
|
};
|
|
998
998
|
}
|
|
999
|
-
}),
|
|
999
|
+
}), Yt = { key: 0 }, Qt = { 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__ */ Y({
|
|
1000
1000
|
__name: "FoodMarketHub",
|
|
1001
1001
|
setup(C) {
|
|
1002
|
-
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 =
|
|
1002
|
+
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 = Qe(), a = T(() => {
|
|
1003
1003
|
var c;
|
|
1004
1004
|
return (c = A.currentBusiness.value) == null ? void 0 : c.menuVersion;
|
|
1005
1005
|
});
|
|
@@ -1034,7 +1034,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1034
1034
|
const { t: d } = Z();
|
|
1035
1035
|
return (c, h) => {
|
|
1036
1036
|
const y = B("FmCardSection"), e = B("FmCard");
|
|
1037
|
-
return S(n).isEnabled && !S(n).isBusinessLocation ? (I(), L("div",
|
|
1037
|
+
return S(n).isEnabled && !S(n).isBusinessLocation ? (I(), L("div", Yt, [
|
|
1038
1038
|
b(e, {
|
|
1039
1039
|
class: K({
|
|
1040
1040
|
"w-full": g.value,
|
|
@@ -1049,7 +1049,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1049
1049
|
default: N(() => [
|
|
1050
1050
|
b(y, null, {
|
|
1051
1051
|
default: N(() => [
|
|
1052
|
-
s("div",
|
|
1052
|
+
s("div", Qt, [
|
|
1053
1053
|
s("img", {
|
|
1054
1054
|
src: S(at),
|
|
1055
1055
|
alt: "Food Market Hub"
|
|
@@ -1103,7 +1103,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1103
1103
|
}, en = {
|
|
1104
1104
|
key: 1,
|
|
1105
1105
|
class: "line-clamp-1 text-ellipsis text-fm-color-typo-tertiary"
|
|
1106
|
-
}, tn = { class: "flex flex-col gap-5" }, nn = { class: "overflow-x-hidden overflow-y-auto max-h-[300px]" }, on = /* @__PURE__ */
|
|
1106
|
+
}, tn = { class: "flex flex-col gap-5" }, nn = { class: "overflow-x-hidden overflow-y-auto max-h-[300px]" }, on = /* @__PURE__ */ Y({
|
|
1107
1107
|
__name: "FmEnhancedSelect",
|
|
1108
1108
|
props: {
|
|
1109
1109
|
placeholder: {},
|
|
@@ -1173,7 +1173,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1173
1173
|
} : void 0
|
|
1174
1174
|
]), 1032, ["modelValue"]),
|
|
1175
1175
|
s("div", nn, [
|
|
1176
|
-
(I(!0), L(
|
|
1176
|
+
(I(!0), L(Q, null, W(l.value, (f, d) => {
|
|
1177
1177
|
var c, h;
|
|
1178
1178
|
return I(), H(x, {
|
|
1179
1179
|
key: d,
|
|
@@ -1207,7 +1207,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1207
1207
|
}, rn = {
|
|
1208
1208
|
key: 1,
|
|
1209
1209
|
class: "flex items-center mt-2"
|
|
1210
|
-
}, un = { class: "flex flex-col" }, cn = { class: "font-medium" }, dn = { class: "text-xs text-gray-400" }, mn = { class: "text-xs text-gray-400" }, fn = /* @__PURE__ */
|
|
1210
|
+
}, un = { class: "flex flex-col" }, cn = { class: "font-medium" }, dn = { class: "text-xs text-gray-400" }, mn = { class: "text-xs text-gray-400" }, fn = /* @__PURE__ */ Y({
|
|
1211
1211
|
__name: "NetSuiteLocationField",
|
|
1212
1212
|
props: {
|
|
1213
1213
|
isDuplicate: { type: Boolean, default: !1 },
|
|
@@ -1264,7 +1264,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1264
1264
|
]);
|
|
1265
1265
|
};
|
|
1266
1266
|
}
|
|
1267
|
-
}), pn = /* @__PURE__ */
|
|
1267
|
+
}), pn = /* @__PURE__ */ Y({
|
|
1268
1268
|
__name: "AddLocationDialog",
|
|
1269
1269
|
props: {
|
|
1270
1270
|
showDialog: {
|
|
@@ -1402,7 +1402,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1402
1402
|
}), vn = { key: 0 }, gn = {
|
|
1403
1403
|
key: 1,
|
|
1404
1404
|
class: "flex flex-col gap-8 w-full"
|
|
1405
|
-
}, yn = { class: "flex gap-2 flex-wrap" }, An = { class: "p-8" }, bn = { class: "flex gap-8 items-center justify-start" }, hn = /* @__PURE__ */
|
|
1405
|
+
}, yn = { class: "flex gap-2 flex-wrap" }, An = { class: "p-8" }, bn = { class: "flex gap-8 items-center justify-start" }, hn = /* @__PURE__ */ Y({
|
|
1406
1406
|
__name: "BusinessNetSuiteSideSheet",
|
|
1407
1407
|
props: {
|
|
1408
1408
|
setting: {},
|
|
@@ -1502,7 +1502,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1502
1502
|
(V = S(o).sessionUser.value) != null && V.role.isAdmin ? (I(), L("div", gn, [
|
|
1503
1503
|
c[7] || (c[7] = s("div", { class: "text-sm" }, " This integration keeps your FeedMe system and NetSuite in sync for the following modules: ", -1)),
|
|
1504
1504
|
s("div", yn, [
|
|
1505
|
-
(I(), L(
|
|
1505
|
+
(I(), L(Q, null, W(k, (D) => b(h, {
|
|
1506
1506
|
key: D,
|
|
1507
1507
|
label: D,
|
|
1508
1508
|
compact: ""
|
|
@@ -1558,7 +1558,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1558
1558
|
}, 8, ["modelValue", "header"]);
|
|
1559
1559
|
};
|
|
1560
1560
|
}
|
|
1561
|
-
}), xn = /* @__PURE__ */
|
|
1561
|
+
}), xn = /* @__PURE__ */ Y({
|
|
1562
1562
|
__name: "InventoryTransferIngredientTable",
|
|
1563
1563
|
props: {
|
|
1564
1564
|
modelValue: { default: [] },
|
|
@@ -1692,7 +1692,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1692
1692
|
}, null, 8, ["row-data", "row-key", "empty-text"]);
|
|
1693
1693
|
};
|
|
1694
1694
|
}
|
|
1695
|
-
}), In = { class: "flex items-center gap-8 mb-8" }, Sn = /* @__PURE__ */
|
|
1695
|
+
}), In = { class: "flex items-center gap-8 mb-8" }, Sn = /* @__PURE__ */ Y({
|
|
1696
1696
|
__name: "InventoryTransferOutTable",
|
|
1697
1697
|
setup(C) {
|
|
1698
1698
|
const A = O([]), o = fe(), r = O(!1), t = O(!1), n = ee(), l = $();
|
|
@@ -1818,7 +1818,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1818
1818
|
], m = O();
|
|
1819
1819
|
return (v, a) => {
|
|
1820
1820
|
const u = B("FmButton"), x = B("FmTable");
|
|
1821
|
-
return I(), L(
|
|
1821
|
+
return I(), L(Q, null, [
|
|
1822
1822
|
s("div", In, [
|
|
1823
1823
|
a[1] || (a[1] = s("span", null, "Last 30 Days:", -1)),
|
|
1824
1824
|
b(u, {
|
|
@@ -1854,7 +1854,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1854
1854
|
}, On = {
|
|
1855
1855
|
key: 1,
|
|
1856
1856
|
class: "flex flex-col"
|
|
1857
|
-
}, Rn = /* @__PURE__ */
|
|
1857
|
+
}, Rn = /* @__PURE__ */ Y({
|
|
1858
1858
|
__name: "InventoryTransfer",
|
|
1859
1859
|
props: {
|
|
1860
1860
|
nsLocations: {},
|
|
@@ -1978,7 +1978,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1978
1978
|
"onUpdate:modelValue": y[0] || (y[0] = (j) => m.value = j),
|
|
1979
1979
|
items: w
|
|
1980
1980
|
}, null, 8, ["modelValue"]),
|
|
1981
|
-
m.value.label === "Transfer Out" ? (I(), L(
|
|
1981
|
+
m.value.label === "Transfer Out" ? (I(), L(Q, { key: 0 }, [
|
|
1982
1982
|
S(o).inventoryTransferOutEnabled ? (I(), L("div", kn, [
|
|
1983
1983
|
b(i, { class: "fm-typo-en-body-md-600" }, {
|
|
1984
1984
|
default: N(() => y[6] || (y[6] = [
|
|
@@ -2111,7 +2111,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2111
2111
|
}), _n = { class: "flex flex-col gap-8" }, Tn = {
|
|
2112
2112
|
key: 0,
|
|
2113
2113
|
class: "flex flex-col gap-4"
|
|
2114
|
-
}, jn = { style: { "list-style-type": "initial", "padding-left": "1rem" } }, zn = /* @__PURE__ */
|
|
2114
|
+
}, jn = { style: { "list-style-type": "initial", "padding-left": "1rem" } }, zn = /* @__PURE__ */ Y({
|
|
2115
2115
|
__name: "TransferOrder",
|
|
2116
2116
|
props: {
|
|
2117
2117
|
currentLocationSetting: {}
|
|
@@ -2181,7 +2181,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2181
2181
|
l.value.length > 0 ? (I(), L("div", Tn, [
|
|
2182
2182
|
v[0] || (v[0] = s("p", null, "Transfer Order NetSuite ID not match with existing orders", -1)),
|
|
2183
2183
|
s("ul", jn, [
|
|
2184
|
-
(I(!0), L(
|
|
2184
|
+
(I(!0), L(Q, null, W(l.value, (u) => (I(), L("li", { key: u }, R(u), 1))), 128))
|
|
2185
2185
|
]),
|
|
2186
2186
|
s("div", null, [
|
|
2187
2187
|
b(ke, null, {
|
|
@@ -2205,7 +2205,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2205
2205
|
}), Hn = { class: "flex flex-col gap-8" }, Un = {
|
|
2206
2206
|
key: 0,
|
|
2207
2207
|
class: "flex flex-col gap-4"
|
|
2208
|
-
}, Xn = { style: { "list-style-type": "initial", "padding-left": "1rem" } },
|
|
2208
|
+
}, Xn = { style: { "list-style-type": "initial", "padding-left": "1rem" } }, Yn = /* @__PURE__ */ Y({
|
|
2209
2209
|
__name: "PurchaseOrder",
|
|
2210
2210
|
props: {
|
|
2211
2211
|
currentLocationSetting: {}
|
|
@@ -2275,7 +2275,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2275
2275
|
l.value.length > 0 ? (I(), L("div", Un, [
|
|
2276
2276
|
v[0] || (v[0] = s("p", null, "Purchase Order NetSuite ID not match with existing orders", -1)),
|
|
2277
2277
|
s("ul", Xn, [
|
|
2278
|
-
(I(!0), L(
|
|
2278
|
+
(I(!0), L(Q, null, W(l.value, (u) => (I(), L("li", { key: u }, R(u), 1))), 128))
|
|
2279
2279
|
]),
|
|
2280
2280
|
s("div", null, [
|
|
2281
2281
|
b(ke, null, {
|
|
@@ -2296,7 +2296,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2296
2296
|
]);
|
|
2297
2297
|
};
|
|
2298
2298
|
}
|
|
2299
|
-
}),
|
|
2299
|
+
}), Qn = { class: "flex flex-col gap-8 w-full" }, Jn = { class: "flex gap-4 justify-between" }, Kn = { 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" }, Pn = { class: "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap" }, qn = { key: 0 }, Zn = { class: "flex gap-8 items-center justify-start" }, Gn = /* @__PURE__ */ Y({
|
|
2300
2300
|
__name: "NetSuiteSideSheet",
|
|
2301
2301
|
props: {
|
|
2302
2302
|
nsLocations: {},
|
|
@@ -2337,7 +2337,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2337
2337
|
"max-width": 800
|
|
2338
2338
|
}, te({
|
|
2339
2339
|
default: N(() => [
|
|
2340
|
-
S(r).isCurrentLocationBindedToNetSuite ? (I(), L(
|
|
2340
|
+
S(r).isCurrentLocationBindedToNetSuite ? (I(), L(Q, { key: 1 }, [
|
|
2341
2341
|
a.value === "inventoryTransfer" ? (I(), H(Rn, {
|
|
2342
2342
|
key: 0,
|
|
2343
2343
|
currentLocationSetting: x.value,
|
|
@@ -2348,7 +2348,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2348
2348
|
key: 1,
|
|
2349
2349
|
currentLocationSetting: x.value
|
|
2350
2350
|
}, null, 8, ["currentLocationSetting"])) : z("", !0),
|
|
2351
|
-
a.value === "purchaseOrder" ? (I(), H(
|
|
2351
|
+
a.value === "purchaseOrder" ? (I(), H(Yn, {
|
|
2352
2352
|
key: 2,
|
|
2353
2353
|
currentLocationSetting: x.value
|
|
2354
2354
|
}, null, 8, ["currentLocationSetting"])) : z("", !0)
|
|
@@ -2370,7 +2370,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2370
2370
|
fn: N(() => {
|
|
2371
2371
|
var i;
|
|
2372
2372
|
return [
|
|
2373
|
-
s("div",
|
|
2373
|
+
s("div", Qn, [
|
|
2374
2374
|
s("div", Jn, [
|
|
2375
2375
|
f[3] || (f[3] = s("div", { class: "fm-typo-en-title-md-600" }, "NetSuite Integration", -1)),
|
|
2376
2376
|
s("div", Kn, [
|
|
@@ -2394,7 +2394,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2394
2394
|
]), 1032, ["modelValue"]);
|
|
2395
2395
|
};
|
|
2396
2396
|
}
|
|
2397
|
-
}), 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__ */
|
|
2397
|
+
}), 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__ */ Y({
|
|
2398
2398
|
__name: "NetSuite",
|
|
2399
2399
|
setup(C) {
|
|
2400
2400
|
const A = re(), o = ee(), r = O(!1), t = O(!1);
|
|
@@ -2421,7 +2421,7 @@ const Lt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2421
2421
|
const { t: p } = Z();
|
|
2422
2422
|
return (w, m) => {
|
|
2423
2423
|
const v = B("FmCardSection"), a = B("FmCard");
|
|
2424
|
-
return S(A).isEnabled ? (I(), L(
|
|
2424
|
+
return S(A).isEnabled ? (I(), L(Q, { key: 0 }, [
|
|
2425
2425
|
b(a, {
|
|
2426
2426
|
class: K({
|
|
2427
2427
|
"w-full": !0,
|
|
@@ -2609,7 +2609,7 @@ const io = { class: "flex flex-col gap-4" }, ro = { class: "flex flex-col" }, uo
|
|
|
2609
2609
|
}, vo = { class: "line-clamp-2 text-ellipsis break-all" }, go = { class: "flex flex-col" }, yo = { class: "font-medium" }, Ao = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, bo = {
|
|
2610
2610
|
key: 0,
|
|
2611
2611
|
class: "rounded border-1 border-gray-200 p-2 flex items-center"
|
|
2612
|
-
}, ho = { class: "flex flex-col" }, xo = { class: "font-medium" }, Io = { class: "text-xs text-gray-400" }, So = { class: "text-xs text-gray-400" }, wo = { class: "flex" }, ko = { class: "flex" }, Bo = { key: 1 }, Co = /* @__PURE__ */
|
|
2612
|
+
}, ho = { class: "flex flex-col" }, xo = { class: "font-medium" }, Io = { class: "text-xs text-gray-400" }, So = { class: "text-xs text-gray-400" }, wo = { class: "flex" }, ko = { class: "flex" }, Bo = { key: 1 }, Co = /* @__PURE__ */ Y({
|
|
2613
2613
|
__name: "XilnexOpeningImport",
|
|
2614
2614
|
setup(C) {
|
|
2615
2615
|
const A = et(), o = re(), r = he(), t = Fe(), n = ee(), l = T(() => [
|
|
@@ -2855,7 +2855,7 @@ const io = { class: "flex flex-col gap-4" }, ro = { class: "flex flex-col" }, uo
|
|
|
2855
2855
|
class: "my-5"
|
|
2856
2856
|
}, {
|
|
2857
2857
|
default: N(() => [
|
|
2858
|
-
(I(!0), L(
|
|
2858
|
+
(I(!0), L(Q, null, W(l.value, (J) => (I(), H(_, {
|
|
2859
2859
|
key: J.value,
|
|
2860
2860
|
value: J.value,
|
|
2861
2861
|
label: J.label,
|
|
@@ -2900,7 +2900,7 @@ const io = { class: "flex flex-col gap-4" }, ro = { class: "flex flex-col" }, uo
|
|
|
2900
2900
|
onClick: f
|
|
2901
2901
|
}, null, 8, ["disabled", "loading"])
|
|
2902
2902
|
]),
|
|
2903
|
-
m.value && x.value.length > 0 ? (I(), L(
|
|
2903
|
+
m.value && x.value.length > 0 ? (I(), L(Q, { key: 0 }, [
|
|
2904
2904
|
i[4] || (i[4] = s("h2", { class: "fm-typo-en-title-md-800 mt-8 mb-4" }, "Results", -1)),
|
|
2905
2905
|
b(ae, {
|
|
2906
2906
|
modelValue: v.value,
|
|
@@ -2911,7 +2911,7 @@ const io = { class: "flex flex-col gap-4" }, ro = { class: "flex flex-col" }, uo
|
|
|
2911
2911
|
"search-value": a.value
|
|
2912
2912
|
}, null, 8, ["modelValue", "row-data", "search-value"])
|
|
2913
2913
|
], 64)) : z("", !0),
|
|
2914
|
-
u.value.length > 0 ? (I(), L(
|
|
2914
|
+
u.value.length > 0 ? (I(), L(Q, { key: 1 }, [
|
|
2915
2915
|
i[5] || (i[5] = s("h2", { class: "fm-typo-en-title-md-800 mt-8 mb-4 text-red-600" }, "Errors", -1)),
|
|
2916
2916
|
b(ae, {
|
|
2917
2917
|
"row-data": u.value,
|
|
@@ -2936,7 +2936,7 @@ const io = { class: "flex flex-col gap-4" }, ro = { class: "flex flex-col" }, uo
|
|
|
2936
2936
|
}), 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 = {
|
|
2937
2937
|
key: 1,
|
|
2938
2938
|
class: "flex flex-col gap-8 w-full"
|
|
2939
|
-
}, Mo = { key: 1 }, Oo = { class: "flex gap-8 items-center justify-start" }, Ro = /* @__PURE__ */
|
|
2939
|
+
}, Mo = { key: 1 }, Oo = { class: "flex gap-8 items-center justify-start" }, Ro = /* @__PURE__ */ Y({
|
|
2940
2940
|
__name: "XilnexSideSheet",
|
|
2941
2941
|
props: {
|
|
2942
2942
|
show: { type: Boolean },
|
|
@@ -3021,7 +3021,7 @@ const io = { class: "flex flex-col gap-4" }, ro = { class: "flex flex-col" }, uo
|
|
|
3021
3021
|
]), 1032, ["modelValue"]);
|
|
3022
3022
|
};
|
|
3023
3023
|
}
|
|
3024
|
-
}), _o = /* @__PURE__ */
|
|
3024
|
+
}), _o = /* @__PURE__ */ Y({
|
|
3025
3025
|
__name: "XilnexView",
|
|
3026
3026
|
setup(C) {
|
|
3027
3027
|
const A = Ne(), o = $(), r = O(!1);
|
|
@@ -3030,7 +3030,7 @@ const io = { class: "flex flex-col gap-4" }, ro = { class: "flex flex-col" }, uo
|
|
|
3030
3030
|
}
|
|
3031
3031
|
return (n, l) => {
|
|
3032
3032
|
const p = B("FmCardSection"), w = B("FmCard");
|
|
3033
|
-
return S(A).enabledXilnexOpeningMigration && !S(o).businessLevel ? (I(), L(
|
|
3033
|
+
return S(A).enabledXilnexOpeningMigration && !S(o).businessLevel ? (I(), L(Q, { key: 0 }, [
|
|
3034
3034
|
b(w, {
|
|
3035
3035
|
class: K({
|
|
3036
3036
|
"w-full": !0,
|
|
@@ -3174,11 +3174,11 @@ async function zo(C) {
|
|
|
3174
3174
|
const Ho = { class: "flex flex-col gap-4" }, Uo = { class: "flex flex-col" }, Xo = {
|
|
3175
3175
|
key: 0,
|
|
3176
3176
|
class: "flex flex-col gap-4 my-5"
|
|
3177
|
-
},
|
|
3177
|
+
}, Yo = { class: "flex flex-col gap-8" }, Qo = { class: "flex flex-col gap-8" }, Jo = {
|
|
3178
3178
|
class: /* @__PURE__ */ K(["fm-corner-radius-md p-16 flex items-center gap-16"])
|
|
3179
3179
|
}, Ko = {
|
|
3180
3180
|
class: /* @__PURE__ */ K(["fm-typo-en-body-md-400 flex-1 h-[36px] flex items-center gap-3"])
|
|
3181
|
-
}, Po = { class: "line-clamp-2 text-ellipsis break-all" }, qo = { class: "flex flex-col" }, Zo = { class: "font-medium" }, Go = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, Wo = { class: "flex" }, $o = { class: "flex" }, es = { key: 1 }, ts = /* @__PURE__ */
|
|
3181
|
+
}, Po = { class: "line-clamp-2 text-ellipsis break-all" }, qo = { class: "flex flex-col" }, Zo = { class: "font-medium" }, Go = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, Wo = { class: "flex" }, $o = { class: "flex" }, es = { key: 1 }, ts = /* @__PURE__ */ Y({
|
|
3182
3182
|
__name: "SynergyOpeningImport",
|
|
3183
3183
|
setup(C) {
|
|
3184
3184
|
const A = tt(), o = he(), r = Fe(), t = ee(), n = T(() => [
|
|
@@ -3378,7 +3378,7 @@ const Ho = { class: "flex flex-col gap-4" }, Uo = { class: "flex flex-col" }, Xo
|
|
|
3378
3378
|
]),
|
|
3379
3379
|
_: 1
|
|
3380
3380
|
}, 8, ["modelValue"]),
|
|
3381
|
-
s("div",
|
|
3381
|
+
s("div", Yo, [
|
|
3382
3382
|
b(i, { label: "Stock take file" })
|
|
3383
3383
|
]),
|
|
3384
3384
|
b(Ve, {
|
|
@@ -3390,7 +3390,7 @@ const Ho = { class: "flex flex-col gap-4" }, Uo = { class: "flex flex-col" }, Xo
|
|
|
3390
3390
|
w.value ? {
|
|
3391
3391
|
name: "default",
|
|
3392
3392
|
fn: N(({ openFileDialog: j }) => [
|
|
3393
|
-
s("div",
|
|
3393
|
+
s("div", Qo, [
|
|
3394
3394
|
s("div", Jo, [
|
|
3395
3395
|
s("div", Ko, [
|
|
3396
3396
|
s("div", Po, R(w.value.name), 1),
|
|
@@ -3414,7 +3414,7 @@ const Ho = { class: "flex flex-col gap-4" }, Uo = { class: "flex flex-col" }, Xo
|
|
|
3414
3414
|
class: "my-5"
|
|
3415
3415
|
}, {
|
|
3416
3416
|
default: N(() => [
|
|
3417
|
-
(I(!0), L(
|
|
3417
|
+
(I(!0), L(Q, null, W(n.value, (j) => (I(), H(U, {
|
|
3418
3418
|
key: j.value,
|
|
3419
3419
|
value: j.value,
|
|
3420
3420
|
label: j.label,
|
|
@@ -3443,7 +3443,7 @@ const Ho = { class: "flex flex-col gap-4" }, Uo = { class: "flex flex-col" }, Xo
|
|
|
3443
3443
|
onClick: g
|
|
3444
3444
|
}, null, 8, ["disabled", "loading"])
|
|
3445
3445
|
]),
|
|
3446
|
-
w.value && u.value.length > 0 ? (I(), L(
|
|
3446
|
+
w.value && u.value.length > 0 ? (I(), L(Q, { key: 0 }, [
|
|
3447
3447
|
e[4] || (e[4] = s("h2", { class: "fm-typo-en-title-md-800 mt-8 mb-4" }, "Results", -1)),
|
|
3448
3448
|
b(_, {
|
|
3449
3449
|
modelValue: m.value,
|
|
@@ -3454,7 +3454,7 @@ const Ho = { class: "flex flex-col gap-4" }, Uo = { class: "flex flex-col" }, Xo
|
|
|
3454
3454
|
"search-value": v.value
|
|
3455
3455
|
}, null, 8, ["modelValue", "row-data", "search-value"])
|
|
3456
3456
|
], 64)) : z("", !0),
|
|
3457
|
-
a.value.length > 0 ? (I(), L(
|
|
3457
|
+
a.value.length > 0 ? (I(), L(Q, { key: 1 }, [
|
|
3458
3458
|
e[5] || (e[5] = s("h2", { class: "fm-typo-en-title-md-800 mt-8 mb-4 text-red-600" }, "Errors", -1)),
|
|
3459
3459
|
b(_, {
|
|
3460
3460
|
"row-data": a.value,
|
|
@@ -3479,7 +3479,7 @@ const Ho = { class: "flex flex-col gap-4" }, Uo = { class: "flex flex-col" }, Xo
|
|
|
3479
3479
|
}), ns = { class: "flex flex-col gap-8 w-full" }, os = { class: "flex gap-4 justify-between" }, ss = { 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" }, as = { class: "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap" }, ls = { key: 0 }, is = {
|
|
3480
3480
|
key: 1,
|
|
3481
3481
|
class: "flex flex-col gap-8 w-full"
|
|
3482
|
-
}, rs = { class: "flex gap-8 items-center justify-start" }, us = /* @__PURE__ */
|
|
3482
|
+
}, rs = { class: "flex gap-8 items-center justify-start" }, us = /* @__PURE__ */ Y({
|
|
3483
3483
|
__name: "SynergySideSheet",
|
|
3484
3484
|
props: {
|
|
3485
3485
|
show: { type: Boolean },
|
|
@@ -3543,7 +3543,7 @@ const Ho = { class: "flex flex-col gap-4" }, Uo = { class: "flex flex-col" }, Xo
|
|
|
3543
3543
|
]), 1032, ["modelValue"]);
|
|
3544
3544
|
};
|
|
3545
3545
|
}
|
|
3546
|
-
}), cs = /* @__PURE__ */
|
|
3546
|
+
}), cs = /* @__PURE__ */ Y({
|
|
3547
3547
|
__name: "SynergyView",
|
|
3548
3548
|
setup(C) {
|
|
3549
3549
|
const A = Ne(), o = $(), r = O(!1);
|
|
@@ -3552,7 +3552,7 @@ const Ho = { class: "flex flex-col gap-4" }, Uo = { class: "flex flex-col" }, Xo
|
|
|
3552
3552
|
}
|
|
3553
3553
|
return (n, l) => {
|
|
3554
3554
|
const p = B("FmCardSection"), w = B("FmCard");
|
|
3555
|
-
return S(A).enabledSynergyOpeningMigration && !S(o).businessLevel ? (I(), L(
|
|
3555
|
+
return S(A).enabledSynergyOpeningMigration && !S(o).businessLevel ? (I(), L(Q, { key: 0 }, [
|
|
3556
3556
|
b(w, {
|
|
3557
3557
|
class: K({
|
|
3558
3558
|
"w-full": !0,
|
|
@@ -3599,7 +3599,7 @@ const Ho = { class: "flex flex-col gap-4" }, Uo = { class: "flex flex-col" }, Xo
|
|
|
3599
3599
|
}, vs = {
|
|
3600
3600
|
key: 2,
|
|
3601
3601
|
class: "grid grid-cols-2 gap-5"
|
|
3602
|
-
}, Ss = /* @__PURE__ */
|
|
3602
|
+
}, Ss = /* @__PURE__ */ Y({
|
|
3603
3603
|
__name: "IntegrationView",
|
|
3604
3604
|
setup(C) {
|
|
3605
3605
|
const A = $(), o = O(!1), r = nt(), { breakpoints: t } = De(), n = T(() => t.value.xs || t.value.sm), { t: l } = Z();
|