@feedmepos/mf-inventory-portal 1.0.37 → 1.0.39
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-PCcAF8Xv.js → App-Bt0e2n-m.js} +1 -1
- package/dist/{ApprovalView-CAF8rKoi.js → ApprovalView-BYd63yvj.js} +19 -19
- package/dist/{BindingsDialog-DwqG0Hsz.js → BindingsDialog-9D6UOcDp.js} +4 -4
- package/dist/{BindingsPicker-Q-I3VeNS.js → BindingsPicker--Vm4weI3.js} +1 -1
- package/dist/{BindingsTable-Dg9eIaTK.js → BindingsTable-DGHN8lRO.js} +4 -4
- package/dist/{ClosingDraftView-wGfktZWC.js → ClosingDraftView-CH8j-LTL.js} +26 -26
- package/dist/ClosingTemplateView-IKON-MRo.js +1849 -0
- package/dist/{DeliveryOrderPrintPreview-B0XUNKJb.js → DeliveryOrderPrintPreview-Ck-nrZ3U.js} +4 -4
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Bgof7EWF.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Csnq6SpA.js} +11 -11
- package/dist/{FmMultiselectDialog-CzkgAIGY.js → FmMultiselectDialog-x_pPeeUw.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-CgU3fI7R.js → FmUnitInput.vue_vue_type_script_setup_true_lang-B88hbpoh.js} +21 -21
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-BJ0tegHR.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DMs8hdak.js} +1 -1
- package/dist/{IngredientGroupView-BcTQ0KqW.js → IngredientGroupView-D1qKwLux.js} +2 -2
- package/dist/IngredientsView-BeBN6cke.js +1858 -0
- package/dist/{IntegrationView-JI6kjKNB.js → IntegrationView-By8g31e5.js} +77 -76
- package/dist/{InventoryBindingForm-DeEj_xzq.js → InventoryBindingForm-CU0pvHRP.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BaNc5eeK.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-NxZjLjCh.js} +24 -24
- package/dist/{InventoryBindingSummary-Bipyw3xO.js → InventoryBindingSummary-B_y6WR3o.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BQBjpBNL.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CPGZh3TN.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-DPwHQy_S.js → PremiumBadge.vue_vue_type_script_setup_true_lang-g2XDRfkl.js} +10 -10
- package/dist/{PublishView-7XkvtNnX.js → PublishView-B_c-fWDu.js} +17 -17
- package/dist/{PurchaseOrderPrintPreview-eSOFS1g6.js → PurchaseOrderPrintPreview-BCRL75HR.js} +12 -12
- package/dist/{ReceiveRequestView-BuOj9nZG.js → ReceiveRequestView-BrwJpnEe.js} +797 -782
- package/dist/{RecipeView-Bmgrlys8.js → RecipeView-Cn6NY1IO.js} +3 -3
- package/dist/{StockView-By7lUolG.js → StockView-DEx5DPM9.js} +6 -6
- package/dist/{SupplierView-BP4FxIE9.js → SupplierView-BFNNKC01.js} +3 -3
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-D7k3PiMo.js → TransferDetails.vue_vue_type_script_setup_true_lang-UN-fDAMb.js} +614 -605
- package/dist/{TransferTemplateView-C6AXtV1p.js → TransferTemplateView-CS8mbtcf.js} +83 -83
- package/dist/{UnitView-CpJT9nbZ.js → UnitView-UKnui3HV.js} +3 -3
- package/dist/{WarehouseView-bD9WOJAb.js → WarehouseView-K4AyxptS.js} +1 -1
- package/dist/api/duplicate-template.d.ts +5 -0
- package/dist/api/inventory.d.ts +4 -0
- package/dist/api/netsuite.d.ts +7 -0
- package/dist/{app-8I_gNY_C.js → app-DqUjChxa.js} +53154 -52645
- package/dist/app.d.ts +9 -0
- package/dist/app.js +1 -1
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +1 -0
- package/dist/components/row-action.enum.d.ts +2 -1
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +1 -0
- package/dist/{decimal-XS-oUZ58.js → decimal-LA_Bg4TZ.js} +1 -1
- package/dist/format-unit-display-Btqn8Vdi.js +1275 -0
- package/dist/{index-CxWZtTgh.js → index-DlXAEnHf.js} +1 -1
- package/dist/{index-ByjAx-mG.js → index-iifMSNu9.js} +1 -1
- package/dist/{stock-Di0sHyh2.js → stock-CuKsIhl3.js} +1 -1
- package/dist/stores/integration/netsuite.d.ts +7 -1
- package/dist/stores/inventory.d.ts +9 -0
- package/dist/{supplier-BOti7LMg.js → supplier-C4vIJUP1.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-DHNa-mhW.js → use-ingredient-select-dialog-Rax2O0HM.js} +1 -1
- package/dist/{use-inventory-binding-dialog-CvyHpZHX.js → use-inventory-binding-dialog-DdggFLK-.js} +1 -1
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +4 -1
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +8 -0
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +24 -0
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +1 -0
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +16 -1
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +12 -0
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +2 -0
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -0
- package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +2 -0
- package/dist/views/integration/components/netsuite/business/BusinessNetSuiteSideSheet.vue.d.ts +4 -0
- package/dist/views/receive-request/components/netsuite/NetSuiteLog.vue.d.ts +2 -2
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +17 -0
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +2 -0
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +4 -0
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +1 -0
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +4 -0
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +24 -0
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +24 -0
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +2 -0
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +2 -0
- package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +2 -0
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +2 -0
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +1 -0
- package/dist/views/transfer-template/composables/use-netsuite-custom-field.d.ts +3 -0
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +16 -1
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +12 -0
- package/dist/{vue-i18n-y6eJldrX.js → vue-i18n-CkkKCDtp.js} +320 -320
- package/package.json +3 -3
- package/dist/ClosingTemplateView-NRHvagkV.js +0 -1804
- package/dist/IngredientsView-Yj3W5zHy.js +0 -1838
- package/dist/format-unit-display-Bqbyy60P.js +0 -1230
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as Y, mergeModels as
|
|
1
|
+
import { defineComponent as Y, mergeModels as je, useModel as xe, onMounted as me, ref as j, computed as z, resolveComponent as E, openBlock as k, createElementBlock as R, createElementVNode as l, toDisplayString as T, unref as x, createVNode as I, createBlock as _, withCtx as D, Fragment as J, renderList as te, normalizeClass as q, normalizeStyle as Oe, createSlots as ne, createCommentVNode as X, withModifiers as Te, reactive as fe, watch as pe, isRef as oe, Teleport as ue, h as N, createTextVNode as Z, watchEffect as ze } from "vue";
|
|
2
2
|
import { E as He } from "./empty-placeholder-wf6-BWE8.js";
|
|
3
|
-
import {
|
|
3
|
+
import { aY as Xe, aN as _e, f as $, u as W, aZ as Ue, b as le, j as Qe, aV as Se, al as ve, ay as ge, a as Ae, a2 as Ye, Q as P, $ as we, a_ as ke, aE as Be, aQ as Ce, s as Ee, y as Fe, a0 as re, c as Le, _ as Je, C as Ke } from "./app-DqUjChxa.js";
|
|
4
4
|
import { useDialogChild as Ze, useDialog as ye, useProxiedModel as se, useSnackbar as ae, useBreakpoints as Ve, components as ee } from "@feedmepos/ui-library";
|
|
5
5
|
import { useI18n as G, useCoreStore as ie } from "@feedmepos/mf-common";
|
|
6
|
-
import { a as qe, b as Ge, c as Pe, u as We } from "./index-
|
|
7
|
-
import { u as de } from "./vue-i18n-
|
|
8
|
-
import { _ as $e, F as et } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-
|
|
6
|
+
import { a as qe, b as Ge, c as Pe, u as We } from "./index-iifMSNu9.js";
|
|
7
|
+
import { u as de } from "./vue-i18n-CkkKCDtp.js";
|
|
8
|
+
import { _ as $e, F as et } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-B88hbpoh.js";
|
|
9
9
|
const tt = "data:image/svg+xml,%3csvg%20width='200'%20height='101'%20viewBox='0%200%20200%20101'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M98.9161%2038.4456V24.1772H108.527V27.1988H102.12V30.2202H107.347V32.7382H102.12V38.4456H98.9161Z'%20fill='%235D5359'/%3e%3cpath%20d='M110.382%2031.2276C110.382%2027.5345%20113.249%2024.1772%20117.127%2024.1772C121.174%2024.1772%20123.872%2027.7024%20123.872%2031.3953C123.872%2035.0884%20121.005%2038.6133%20117.127%2038.6133C113.08%2038.4456%20110.382%2034.9204%20110.382%2031.2276ZM117.127%2035.5919C119.487%2035.5919%20120.499%2033.4096%20120.499%2031.2276C120.499%2029.0452%20119.319%2027.0309%20117.127%2027.0309C114.935%2027.0309%20113.754%2029.213%20113.754%2031.2276C113.754%2033.5776%20114.935%2035.5919%20117.127%2035.5919Z'%20fill='%235D5359'/%3e%3cpath%20d='M126.232%2031.2276C126.232%2027.5345%20129.099%2024.1772%20132.977%2024.1772C137.024%2024.1772%20139.722%2027.7024%20139.722%2031.3953C139.722%2035.0884%20136.855%2038.6133%20132.977%2038.6133C128.93%2038.4456%20126.232%2034.9204%20126.232%2031.2276ZM132.977%2035.5919C135.337%2035.5919%20136.349%2033.4096%20136.349%2031.2276C136.349%2029.0452%20135.169%2027.0309%20132.977%2027.0309C130.785%2027.0309%20129.604%2029.213%20129.604%2031.2276C129.604%2033.5776%20130.785%2035.5919%20132.977%2035.5919Z'%20fill='%235D5359'/%3e%3cpath%20d='M142.926%2038.4455V24.345H148.153C152.874%2024.345%20155.235%2027.5343%20155.235%2031.3952C155.235%2035.5918%20152.368%2038.4455%20148.153%2038.4455H142.926ZM148.153%2027.0308H146.129V35.4238H148.153C150.513%2035.4238%20151.862%2033.5775%20151.862%2031.2272C151.862%2028.8773%20150.513%2027.0308%20148.153%2027.0308Z'%20fill='%235D5359'/%3e%3cpath%20d='M110.045%2057.5607V49.1676L107.009%2055.2107H105.324L102.12%2049.1676V57.5607H98.9161V43.4604H102.457L106.167%2050.8465L109.876%2043.4604H113.417V57.5607H110.045Z'%20fill='%235D5359'/%3e%3cpath%20d='M115.947%2057.5607L121.342%2043.4604H124.04L129.436%2057.5607H125.895L124.715%2054.3716H120.331L119.319%2057.5607H115.947ZM122.691%2046.9856L121.005%2052.1893H124.378L122.691%2046.9856Z'%20fill='%235D5359'/%3e%3cpath%20d='M131.965%2057.5607V43.4604H138.373C141.07%2043.4604%20142.925%2045.8105%20142.925%2048.1605C142.925%2049.8393%20142.082%2051.5179%20140.565%2052.1893L143.768%2057.393H140.059L137.192%2052.8607H135V57.393H131.965V57.5607ZM135.169%2050.175H138.204C139.047%2050.175%20139.553%2049.3356%20139.553%2048.1605C139.553%2046.9856%20138.71%2046.3142%20138.035%2046.3142H135.169V50.175Z'%20fill='%235D5359'/%3e%3cpath%20d='M146.635%2057.5607V43.4604H150.007V49.8393L155.403%2043.4604H158.776L153.548%2049.6713L159.281%2057.5607H155.74L151.693%2051.5179L150.007%2053.3642V57.5607H146.635Z'%20fill='%235D5359'/%3e%3cpath%20d='M171.422%2054.7073V57.5607H161.474V43.4604H171.253V46.3142H164.677V48.9999H170.242V51.6856H164.677V54.7073H171.422Z'%20fill='%235D5359'/%3e%3cpath%20d='M185.417%2046.3142H181.202V57.5607H177.829V46.3142H173.614V43.4604H185.417V46.3142Z'%20fill='%235D5359'/%3e%3cpath%20d='M111.057%2062.5967V76.6973H107.853V70.9898H102.12V76.6973H98.9161V62.5967H102.12V68.1361H107.853V62.5967H111.057Z'%20fill='%235D5359'/%3e%3cpath%20d='M124.04%2069.815V62.5967H127.244V69.815C127.244%2073.6758%20125.389%2076.865%20121.005%2076.865C116.453%2076.865%20114.766%2073.5078%20114.766%2069.815V62.5967H117.97V69.815C117.97%2071.997%20118.813%2074.0115%20121.005%2074.0115C123.366%2074.0115%20124.04%2071.997%20124.04%2069.815Z'%20fill='%235D5359'/%3e%3cpath%20d='M138.036%2076.6973H131.122V62.5967H139.047C141.071%2062.5967%20142.251%2064.4433%20142.251%2066.2898C142.251%2067.6327%20141.576%2068.9755%20140.228%2069.4793C141.914%2069.9827%20142.926%2071.1578%20142.926%2073.1721C142.757%2075.5221%20140.733%2076.6973%20138.036%2076.6973ZM134.326%2065.4504V68.3041H137.53C138.204%2068.3041%20138.879%2067.8004%20138.879%2066.7933C138.879%2065.7861%20138.373%2065.2827%20137.698%2065.2827H134.326V65.4504ZM138.204%2070.8221H134.494V73.8435H138.204C139.047%2073.8435%20139.722%2073.1721%20139.722%2072.3327C139.553%2071.6613%20138.879%2070.8221%20138.204%2070.8221Z'%20fill='%235D5359'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M73.4753%2051.4994C78.7281%2050.5396%2082.8911%2046.4891%2083.9954%2041.3137L84.1232%2040.7134L83.9445%2040.1256C80.5804%2029.066%2071.9945%2020.2704%2061.0373%2016.5726C57.4%2015.3451%2053.5046%2014.6804%2049.458%2014.6804C45.4112%2014.6804%2041.5158%2015.3451%2037.8784%2016.5726C26.9214%2020.2704%2018.3354%2029.066%2014.9712%2040.1256L14.7924%2040.7134L14.9206%2041.3137C16.0247%2046.4891%2020.1875%2050.5396%2025.4405%2051.4994V58.8839H14.4183C14.6758%2059.9557%2014.9818%2061.0088%2015.3337%2062.0411C20.1553%2076.1811%2033.6083%2086.3619%2049.458%2086.3619C65.3074%2086.3619%2078.7606%2076.1811%2083.5822%2062.0411C83.9342%2061.0088%2084.2399%2059.9557%2084.4974%2058.8839H73.4753V51.4994ZM41.0517%2020.5973V38.5742C41.0517%2043.1931%2044.8155%2046.9371%2049.458%2046.9371C54.1005%2046.9371%2057.8641%2043.1931%2057.8641%2038.5742V20.5973C55.1919%2019.856%2052.3732%2019.4592%2049.458%2019.4592C46.5428%2019.4592%2043.7241%2019.856%2041.0517%2020.5973ZM62.6675%2022.3673V38.5742C62.6675%2043.1931%2066.431%2046.9371%2071.0735%2046.9371C74.9051%2046.9371%2078.1425%2044.3848%2079.1528%2040.8942C76.4672%2032.6902%2070.4379%2025.9824%2062.6675%2022.3673ZM60.2658%2046.1322C57.8753%2049.5094%2053.9255%2051.7159%2049.458%2051.7159C44.9902%2051.7159%2041.0408%2049.5094%2038.65%2046.1322C36.6982%2048.8894%2033.7074%2050.8662%2030.2439%2051.4994V58.8839H68.6718V51.4994C65.2083%2050.8662%2062.2175%2048.8894%2060.2658%2046.1322ZM21.1583%2063.6628C26.1349%2074.2514%2036.9382%2081.5834%2049.458%2081.5834C61.9776%2081.5834%2072.781%2074.2514%2077.7574%2063.6628H21.1583ZM36.2482%2038.5742V22.3673C28.4779%2025.9824%2022.4486%2032.6902%2019.7631%2040.8942C20.7733%2044.3848%2024.0106%2046.9371%2027.8422%2046.9371C32.4847%2046.9371%2036.2482%2043.1931%2036.2482%2038.5742Z'%20fill='%23FFC35D'/%3e%3c/svg%3e";
|
|
10
10
|
var Ne = { exports: {} };
|
|
11
11
|
(function(F, g) {
|
|
@@ -94,7 +94,7 @@ const st = { class: "flex flex-col gap-12 h-[350px]" }, at = { class: "flex item
|
|
|
94
94
|
class: "w-full py-16 text-fm-color-typo-disabled fm-typo-en-body-md-400 text-center"
|
|
95
95
|
}, De = /* @__PURE__ */ Y({
|
|
96
96
|
__name: "FmNestedMultiselectDialog",
|
|
97
|
-
props: /* @__PURE__ */
|
|
97
|
+
props: /* @__PURE__ */ je({
|
|
98
98
|
modelValue: {}
|
|
99
99
|
}, {
|
|
100
100
|
modelValue: {},
|
|
@@ -106,7 +106,7 @@ const st = { class: "flex flex-col gap-12 h-[350px]" }, at = { class: "flex item
|
|
|
106
106
|
me(() => {
|
|
107
107
|
s.emitData(g.value);
|
|
108
108
|
});
|
|
109
|
-
const r =
|
|
109
|
+
const r = j(""), { t: n } = G();
|
|
110
110
|
function t(e) {
|
|
111
111
|
return be(
|
|
112
112
|
r.value,
|
|
@@ -131,7 +131,7 @@ const st = { class: "flex flex-col gap-12 h-[350px]" }, at = { class: "flex item
|
|
|
131
131
|
function b(e, o, B = 0, L = !1) {
|
|
132
132
|
if (K(e) && e.children.length) {
|
|
133
133
|
const { children: V, ...H } = e, U = V.flatMap(
|
|
134
|
-
(M,
|
|
134
|
+
(M, O) => b(M, [...o, O], B + 1, L || e.disabled)
|
|
135
135
|
);
|
|
136
136
|
return [
|
|
137
137
|
{
|
|
@@ -221,7 +221,7 @@ const st = { class: "flex flex-col gap-12 h-[350px]" }, at = { class: "flex item
|
|
|
221
221
|
} : H
|
|
222
222
|
);
|
|
223
223
|
}
|
|
224
|
-
const f =
|
|
224
|
+
const f = j(new Array());
|
|
225
225
|
function c(e) {
|
|
226
226
|
const o = e.join();
|
|
227
227
|
return f.value.find((B) => o === B);
|
|
@@ -269,7 +269,7 @@ const st = { class: "flex flex-col gap-12 h-[350px]" }, at = { class: "flex item
|
|
|
269
269
|
I(H, {
|
|
270
270
|
clickable: M.selectable !== !1,
|
|
271
271
|
onClick: () => M.selectable === !1 || M.disabled || m(M.keys, g.value, !p(M.keys, g.value)),
|
|
272
|
-
style:
|
|
272
|
+
style: Oe({
|
|
273
273
|
paddingLeft: `${16 + M.indent * 16}px`,
|
|
274
274
|
paddingTop: "4px",
|
|
275
275
|
paddingBottom: "4px"
|
|
@@ -279,12 +279,12 @@ const st = { class: "flex flex-col gap-12 h-[350px]" }, at = { class: "flex item
|
|
|
279
279
|
default: D(() => [
|
|
280
280
|
l("div", ut, [
|
|
281
281
|
l("div", dt, [
|
|
282
|
-
(k(!0), R(J, null, te(x(ot)(r.value, M.label).segments, (
|
|
282
|
+
(k(!0), R(J, null, te(x(ot)(r.value, M.label).segments, (O, Q) => (k(), R("span", {
|
|
283
283
|
key: Q,
|
|
284
284
|
class: q({
|
|
285
|
-
"font-bold":
|
|
285
|
+
"font-bold": O.isMatch
|
|
286
286
|
})
|
|
287
|
-
}, T(
|
|
287
|
+
}, T(O.segment), 3))), 128))
|
|
288
288
|
]),
|
|
289
289
|
M.sublabel ? (k(), R("div", {
|
|
290
290
|
key: 0,
|
|
@@ -823,7 +823,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
823
823
|
]);
|
|
824
824
|
};
|
|
825
825
|
}
|
|
826
|
-
}),
|
|
826
|
+
}), jt = { class: "flex flex-col gap-8 w-full" }, Ot = /* @__PURE__ */ Y({
|
|
827
827
|
__name: "ApplyProductDialog",
|
|
828
828
|
props: {
|
|
829
829
|
categories: { default: () => [] },
|
|
@@ -842,7 +842,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
842
842
|
for (const p of Object.keys(s.setting))
|
|
843
843
|
n[p] = s.setting[p];
|
|
844
844
|
});
|
|
845
|
-
const t =
|
|
845
|
+
const t = j(), a = se(s, "show");
|
|
846
846
|
function d() {
|
|
847
847
|
var S, p;
|
|
848
848
|
(p = (S = t.value) == null ? void 0 : S.validateInputs) == null || p.call(S);
|
|
@@ -862,7 +862,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
862
862
|
"max-width": 500
|
|
863
863
|
}, {
|
|
864
864
|
default: D(() => [
|
|
865
|
-
l("div",
|
|
865
|
+
l("div", jt, [
|
|
866
866
|
l("div", null, [
|
|
867
867
|
I(v, { label: "Menu v3" })
|
|
868
868
|
]),
|
|
@@ -935,7 +935,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
935
935
|
function S(f) {
|
|
936
936
|
n.bindings = [...b.value, ...f];
|
|
937
937
|
}
|
|
938
|
-
const p =
|
|
938
|
+
const p = j(), v = se(s, "show");
|
|
939
939
|
function h() {
|
|
940
940
|
var f, c;
|
|
941
941
|
(c = (f = p.value) == null ? void 0 : f.validateInputs) == null || c.call(f);
|
|
@@ -1000,12 +1000,12 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1000
1000
|
}), Ht = { key: 0 }, Xt = { class: "flex justify-center" }, _t = ["src"], Ut = { class: "flex flex-col items-center gap-2" }, Qt = { class: "text-lg font-bold" }, Yt = { class: "text-fm-color-neutral-gray-300" }, Jt = { key: 0 }, Kt = /* @__PURE__ */ Y({
|
|
1001
1001
|
__name: "FoodMarketHub",
|
|
1002
1002
|
setup(F) {
|
|
1003
|
-
const g = ie(), s = ae(), r = W(), n =
|
|
1003
|
+
const g = ie(), s = ae(), r = W(), n = j(!1), t = qe(), a = z(() => t.state.menu ?? []), d = z(() => t.state.group ?? []), b = z(() => t.state.variants ?? []), A = z(() => t.state.categories ?? []), S = Ue(), p = z(() => {
|
|
1004
1004
|
var i;
|
|
1005
1005
|
return (i = g.currentBusiness.value) == null ? void 0 : i.menuVersion;
|
|
1006
1006
|
});
|
|
1007
1007
|
r.watchLocation(t.init);
|
|
1008
|
-
const v =
|
|
1008
|
+
const v = j(!1);
|
|
1009
1009
|
async function h() {
|
|
1010
1010
|
v.value = !0;
|
|
1011
1011
|
}
|
|
@@ -1068,7 +1068,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1068
1068
|
}, 8, ["class"]),
|
|
1069
1069
|
x(t).state.setting ? (k(), R("div", Jt, [
|
|
1070
1070
|
(k(), _(ue, { to: "body" }, [
|
|
1071
|
-
p.value === "v3" ? (k(), _(
|
|
1071
|
+
p.value === "v3" ? (k(), _(Ot, {
|
|
1072
1072
|
key: 0,
|
|
1073
1073
|
menus: a.value,
|
|
1074
1074
|
variants: b.value,
|
|
@@ -1231,7 +1231,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1231
1231
|
});
|
|
1232
1232
|
}
|
|
1233
1233
|
}
|
|
1234
|
-
], t = F, a = g, d =
|
|
1234
|
+
], t = F, a = g, d = j({}), b = j(), A = j(""), S = z(() => t.nsLocationsNotBeingUsed.map((h) => ({
|
|
1235
1235
|
label: h.name,
|
|
1236
1236
|
value: h
|
|
1237
1237
|
}))), p = z(() => Object.values(d.value).length === 0 || Object.values(d.value).some(
|
|
@@ -1310,13 +1310,13 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1310
1310
|
},
|
|
1311
1311
|
emits: ["update:setting", "update:show", "update:loading", "submit"],
|
|
1312
1312
|
setup(F, { emit: g }) {
|
|
1313
|
-
const s = ie(), r = W(), n =
|
|
1313
|
+
const s = ie(), r = W(), n = j(!1), t = F, a = g, d = fe($(t.setting));
|
|
1314
1314
|
pe([() => t.show], ([u]) => {
|
|
1315
1315
|
if (u)
|
|
1316
1316
|
for (const i of Object.keys(t.setting))
|
|
1317
1317
|
d[i] = t.setting[i];
|
|
1318
1318
|
});
|
|
1319
|
-
const b =
|
|
1319
|
+
const b = j(), A = se(t, "show"), S = j(), p = j(""), v = z(() => t.setting.locations.filter(
|
|
1320
1320
|
(u) => u.name.toLowerCase().includes(p.value.toLowerCase()) || u.netSuiteId.toLowerCase().includes(p.value.toLowerCase())
|
|
1321
1321
|
)), h = [
|
|
1322
1322
|
{
|
|
@@ -1593,7 +1593,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1593
1593
|
}), fn = /* @__PURE__ */ Y({
|
|
1594
1594
|
__name: "InventoryTransferOutTable",
|
|
1595
1595
|
setup(F) {
|
|
1596
|
-
const g =
|
|
1596
|
+
const g = j([]), s = Se(), r = j(!1);
|
|
1597
1597
|
me(async () => {
|
|
1598
1598
|
const a = W(), d = /* @__PURE__ */ new Date(), b = /* @__PURE__ */ new Date();
|
|
1599
1599
|
b.setDate(b.getDate() - 30), r.value = !0;
|
|
@@ -1696,7 +1696,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1696
1696
|
},
|
|
1697
1697
|
size: 150
|
|
1698
1698
|
}
|
|
1699
|
-
], t =
|
|
1699
|
+
], t = j();
|
|
1700
1700
|
return (a, d) => {
|
|
1701
1701
|
const b = E("FmTable");
|
|
1702
1702
|
return k(), R(J, null, [
|
|
@@ -1731,7 +1731,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1731
1731
|
currentLocationSubsidiary: {}
|
|
1732
1732
|
},
|
|
1733
1733
|
setup(F) {
|
|
1734
|
-
const g = ye(), s = le(), r = Ae(), n = Se(), t = ae(), { t: a } = de(), d =
|
|
1734
|
+
const g = ye(), s = le(), r = Ae(), n = Se(), t = ae(), { t: a } = de(), d = j([]), b = [{ label: "Transfer Out" }, { label: "History" }], A = j(b[0]), S = j(!1), p = j(null), v = j(null), h = F, C = z(() => {
|
|
1735
1735
|
const y = s.currentLocationSetting, m = s.configuredLocations;
|
|
1736
1736
|
return h.nsLocations.map((e) => ({
|
|
1737
1737
|
label: e.name,
|
|
@@ -1844,7 +1844,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1844
1844
|
return k(), R("div", pn, [
|
|
1845
1845
|
I(e, {
|
|
1846
1846
|
modelValue: A.value,
|
|
1847
|
-
"onUpdate:modelValue": m[0] || (m[0] = (
|
|
1847
|
+
"onUpdate:modelValue": m[0] || (m[0] = (O) => A.value = O),
|
|
1848
1848
|
items: b
|
|
1849
1849
|
}, null, 8, ["modelValue"]),
|
|
1850
1850
|
A.value.label === "Transfer Out" ? (k(), R(J, { key: 0 }, [
|
|
@@ -1889,7 +1889,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1889
1889
|
}),
|
|
1890
1890
|
I(L, {
|
|
1891
1891
|
modelValue: w.value,
|
|
1892
|
-
"onUpdate:modelValue": m[1] || (m[1] = (
|
|
1892
|
+
"onUpdate:modelValue": m[1] || (m[1] = (O) => w.value = O)
|
|
1893
1893
|
}, null, 8, ["modelValue"]),
|
|
1894
1894
|
I(o, { class: "fm-typo-en-body-md-600" }, {
|
|
1895
1895
|
default: D(() => m[10] || (m[10] = [
|
|
@@ -1899,7 +1899,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1899
1899
|
}),
|
|
1900
1900
|
I(V, {
|
|
1901
1901
|
modelValue: f.value,
|
|
1902
|
-
"onUpdate:modelValue": m[2] || (m[2] = (
|
|
1902
|
+
"onUpdate:modelValue": m[2] || (m[2] = (O) => f.value = O)
|
|
1903
1903
|
}, null, 8, ["modelValue"]),
|
|
1904
1904
|
I(o, { class: "fm-typo-en-body-md-600" }, {
|
|
1905
1905
|
default: D(() => m[11] || (m[11] = [
|
|
@@ -1912,7 +1912,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1912
1912
|
key: 0,
|
|
1913
1913
|
class: "my-4 w-full",
|
|
1914
1914
|
modelValue: v.value,
|
|
1915
|
-
"onUpdate:modelValue": m[3] || (m[3] = (
|
|
1915
|
+
"onUpdate:modelValue": m[3] || (m[3] = (O) => v.value = O),
|
|
1916
1916
|
searchable: "",
|
|
1917
1917
|
searchTarget: "label",
|
|
1918
1918
|
items: C.value
|
|
@@ -1934,7 +1934,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1934
1934
|
class: "ml-2",
|
|
1935
1935
|
variant: "secondary",
|
|
1936
1936
|
label: "Clear",
|
|
1937
|
-
onClick: m[4] || (m[4] = (
|
|
1937
|
+
onClick: m[4] || (m[4] = (O) => v.value = null)
|
|
1938
1938
|
})
|
|
1939
1939
|
])) : X("", !0)
|
|
1940
1940
|
]),
|
|
@@ -1949,7 +1949,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1949
1949
|
]),
|
|
1950
1950
|
I(mn, {
|
|
1951
1951
|
modelValue: d.value,
|
|
1952
|
-
"onUpdate:modelValue": m[5] || (m[5] = (
|
|
1952
|
+
"onUpdate:modelValue": m[5] || (m[5] = (O) => d.value = O)
|
|
1953
1953
|
}, null, 8, ["modelValue"]),
|
|
1954
1954
|
l("div", Sn, [
|
|
1955
1955
|
I(M, {
|
|
@@ -1993,7 +1993,7 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
1993
1993
|
value: "inventoryTransfer"
|
|
1994
1994
|
/* INVENTORY_TRANSFER */
|
|
1995
1995
|
}
|
|
1996
|
-
], p =
|
|
1996
|
+
], p = j(S[0].value), v = z(() => r.currentLocationSubsidiary()), h = z(() => r.currentLocationSetting), C = z(() => n.nsLocations.filter(
|
|
1997
1997
|
(f) => f.subsidiaryId === v.value.id || f.netsuiteId === v.value.id
|
|
1998
1998
|
));
|
|
1999
1999
|
return (f, c) => {
|
|
@@ -2008,13 +2008,14 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2008
2008
|
"max-width": 800
|
|
2009
2009
|
}, ne({
|
|
2010
2010
|
default: D(() => [
|
|
2011
|
-
x(r).isCurrentLocationBindedToNetSuite ?
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2011
|
+
x(r).isCurrentLocationBindedToNetSuite ? (k(), R(J, { key: 1 }, [
|
|
2012
|
+
p.value === "inventoryTransfer" ? (k(), _(Bn, {
|
|
2013
|
+
key: 0,
|
|
2014
|
+
currentLocationSetting: h.value,
|
|
2015
|
+
nsLocations: C.value,
|
|
2016
|
+
currentLocationSubsidiary: v.value
|
|
2017
|
+
}, null, 8, ["currentLocationSetting", "nsLocations", "currentLocationSubsidiary"])) : X("", !0)
|
|
2018
|
+
], 64)) : (k(), R("div", Vn, " Netsuite is not configured for this location. Please contact your administrator. "))
|
|
2018
2019
|
]),
|
|
2019
2020
|
"side-sheet-footer": D(() => [
|
|
2020
2021
|
l("div", Nn, [
|
|
@@ -2056,14 +2057,14 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2056
2057
|
]), 1032, ["modelValue"]);
|
|
2057
2058
|
};
|
|
2058
2059
|
}
|
|
2059
|
-
}), Dn = { class: "flex justify-center" }, Mn = ["src"],
|
|
2060
|
+
}), Dn = { class: "flex justify-center" }, Mn = ["src"], jn = { class: "flex flex-col items-center gap-2" }, On = { class: "text-lg font-bold" }, Tn = { class: "text-fm-color-neutral-gray-300" }, zn = /* @__PURE__ */ Y({
|
|
2060
2061
|
__name: "NetSuite",
|
|
2061
2062
|
setup(F) {
|
|
2062
|
-
const g = le(), s = ae(), r =
|
|
2063
|
+
const g = le(), s = ae(), r = j(!1), n = j(!1);
|
|
2063
2064
|
async function t() {
|
|
2064
2065
|
n.value = !0;
|
|
2065
2066
|
}
|
|
2066
|
-
const a =
|
|
2067
|
+
const a = j([]);
|
|
2067
2068
|
ze(async () => {
|
|
2068
2069
|
if (g.isReady && g.isEnabled) {
|
|
2069
2070
|
r.value = !0;
|
|
@@ -2103,8 +2104,8 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2103
2104
|
alt: "NetSuite"
|
|
2104
2105
|
}, null, 8, Mn)
|
|
2105
2106
|
]),
|
|
2106
|
-
l("div",
|
|
2107
|
-
l("div",
|
|
2107
|
+
l("div", jn, [
|
|
2108
|
+
l("div", On, T(x(d)("inventory.integration.netsuite.title")), 1),
|
|
2108
2109
|
l("div", Tn, T(x(d)("inventory.integration.netsuite.description")), 1)
|
|
2109
2110
|
])
|
|
2110
2111
|
]),
|
|
@@ -2286,7 +2287,7 @@ const Un = { class: "flex flex-col gap-4" }, Qn = { class: "flex flex-col" }, Yn
|
|
|
2286
2287
|
disabledReason: "Current location is not binded to NetSuite"
|
|
2287
2288
|
}
|
|
2288
2289
|
] : []
|
|
2289
|
-
]), d =
|
|
2290
|
+
]), d = j(a.value[0].value), { t: b } = de(), A = j(null), S = j(), p = j(""), v = j([]), h = j([]), C = [
|
|
2290
2291
|
{
|
|
2291
2292
|
id: "ingredient",
|
|
2292
2293
|
header: () => "Ingredient",
|
|
@@ -2377,7 +2378,7 @@ const Un = { class: "flex flex-col gap-4" }, Qn = { class: "flex flex-col" }, Yn
|
|
|
2377
2378
|
accessorKey: "message",
|
|
2378
2379
|
header: "Error Message"
|
|
2379
2380
|
}
|
|
2380
|
-
], f =
|
|
2381
|
+
], f = j(!1);
|
|
2381
2382
|
async function c() {
|
|
2382
2383
|
if (A.value) {
|
|
2383
2384
|
f.value = !0;
|
|
@@ -2429,7 +2430,7 @@ const Un = { class: "flex flex-col gap-4" }, Qn = { class: "flex flex-col" }, Yn
|
|
|
2429
2430
|
}
|
|
2430
2431
|
}
|
|
2431
2432
|
}
|
|
2432
|
-
const i =
|
|
2433
|
+
const i = j(""), y = z({
|
|
2433
2434
|
get() {
|
|
2434
2435
|
return i.value;
|
|
2435
2436
|
},
|
|
@@ -2442,7 +2443,7 @@ const Un = { class: "flex flex-col gap-4" }, Qn = { class: "flex flex-col" }, Yn
|
|
|
2442
2443
|
return isNaN(e.getTime()) ? null : ve(e);
|
|
2443
2444
|
});
|
|
2444
2445
|
return (e, o) => {
|
|
2445
|
-
const B = E("FmLabel"), L = E("FmField"), V = E("FmSimpleDatePicker"), H = E("FmButton"), U = E("FmRadio"), M = E("FmRadioGroup"),
|
|
2446
|
+
const B = E("FmLabel"), L = E("FmField"), V = E("FmSimpleDatePicker"), H = E("FmButton"), U = E("FmRadio"), M = E("FmRadioGroup"), O = E("FmTable");
|
|
2446
2447
|
return k(), R("div", Un, [
|
|
2447
2448
|
l("div", Qn, [
|
|
2448
2449
|
I(B, { label: "Latest closing" })
|
|
@@ -2545,7 +2546,7 @@ const Un = { class: "flex flex-col gap-4" }, Qn = { class: "flex flex-col" }, Yn
|
|
|
2545
2546
|
]),
|
|
2546
2547
|
A.value && h.value.length > 0 ? (k(), R(J, { key: 0 }, [
|
|
2547
2548
|
o[4] || (o[4] = l("h2", { class: "fm-typo-en-title-md-800 mt-8 mb-4" }, "Results", -1)),
|
|
2548
|
-
I(
|
|
2549
|
+
I(O, {
|
|
2549
2550
|
modelValue: S.value,
|
|
2550
2551
|
"onUpdate:modelValue": o[3] || (o[3] = (Q) => S.value = Q),
|
|
2551
2552
|
"row-data": h.value,
|
|
@@ -2556,7 +2557,7 @@ const Un = { class: "flex flex-col gap-4" }, Qn = { class: "flex flex-col" }, Yn
|
|
|
2556
2557
|
], 64)) : X("", !0),
|
|
2557
2558
|
v.value.length > 0 ? (k(), R(J, { key: 1 }, [
|
|
2558
2559
|
o[5] || (o[5] = l("h2", { class: "fm-typo-en-title-md-800 mt-8 mb-4 text-red-600" }, "Errors", -1)),
|
|
2559
|
-
I(
|
|
2560
|
+
I(O, {
|
|
2560
2561
|
"row-data": v.value,
|
|
2561
2562
|
"column-defs": w
|
|
2562
2563
|
}, null, 8, ["row-data"])
|
|
@@ -2597,7 +2598,7 @@ const Un = { class: "flex flex-col gap-4" }, Qn = { class: "flex flex-col" }, Yn
|
|
|
2597
2598
|
"transferNote"
|
|
2598
2599
|
/* TRANSFER_NOTE */
|
|
2599
2600
|
) }
|
|
2600
|
-
], S =
|
|
2601
|
+
], S = j(A[0]);
|
|
2601
2602
|
return (v, h) => {
|
|
2602
2603
|
var u;
|
|
2603
2604
|
const C = E("FmIcon"), w = E("FmButtonGroup"), f = E("FmButton"), c = E("FmSideSheet");
|
|
@@ -2667,7 +2668,7 @@ const Un = { class: "flex flex-col gap-4" }, Qn = { class: "flex flex-col" }, Yn
|
|
|
2667
2668
|
}), po = /* @__PURE__ */ Y({
|
|
2668
2669
|
__name: "XilnexView",
|
|
2669
2670
|
setup(F) {
|
|
2670
|
-
const g = Le(), s = W(), r =
|
|
2671
|
+
const g = Le(), s = W(), r = j(!1);
|
|
2671
2672
|
async function n() {
|
|
2672
2673
|
r.value = !0, console.log("Opening Xilnex migration dialog");
|
|
2673
2674
|
}
|
|
@@ -2830,7 +2831,7 @@ const yo = { class: "flex flex-col gap-4" }, bo = { class: "flex flex-col" }, ho
|
|
|
2830
2831
|
label: "Synergy",
|
|
2831
2832
|
subLabel: "Based on Synergy's item cost from excel file"
|
|
2832
2833
|
}
|
|
2833
|
-
]), a =
|
|
2834
|
+
]), a = j(t.value[0].value), { t: d } = de(), b = j(null), A = j(), S = j(""), p = j([]), v = j([]), h = [
|
|
2834
2835
|
{
|
|
2835
2836
|
id: "ingredient",
|
|
2836
2837
|
header: () => "Ingredient",
|
|
@@ -2921,7 +2922,7 @@ const yo = { class: "flex flex-col gap-4" }, bo = { class: "flex flex-col" }, ho
|
|
|
2921
2922
|
accessorKey: "message",
|
|
2922
2923
|
header: "Error Message"
|
|
2923
2924
|
}
|
|
2924
|
-
], w =
|
|
2925
|
+
], w = j(!1);
|
|
2925
2926
|
async function f() {
|
|
2926
2927
|
if (b.value) {
|
|
2927
2928
|
w.value = !0;
|
|
@@ -2972,7 +2973,7 @@ const yo = { class: "flex flex-col gap-4" }, bo = { class: "flex flex-col" }, ho
|
|
|
2972
2973
|
}
|
|
2973
2974
|
}
|
|
2974
2975
|
}
|
|
2975
|
-
const u =
|
|
2976
|
+
const u = j(""), i = z({
|
|
2976
2977
|
get() {
|
|
2977
2978
|
return u.value;
|
|
2978
2979
|
},
|
|
@@ -3004,7 +3005,7 @@ const yo = { class: "flex flex-col gap-4" }, bo = { class: "flex flex-col" }, ho
|
|
|
3004
3005
|
]))) : (k(), R("div", ho, [
|
|
3005
3006
|
I(L, {
|
|
3006
3007
|
modelValue: i.value,
|
|
3007
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
3008
|
+
"onUpdate:modelValue": e[0] || (e[0] = (O) => i.value = O),
|
|
3008
3009
|
label: "Last closing time"
|
|
3009
3010
|
}, {
|
|
3010
3011
|
"trigger-button": D(() => [
|
|
@@ -3025,14 +3026,14 @@ const yo = { class: "flex flex-col gap-4" }, bo = { class: "flex flex-col" }, ho
|
|
|
3025
3026
|
I(o, { label: "Stock take file" })
|
|
3026
3027
|
]),
|
|
3027
3028
|
I(Fe, {
|
|
3028
|
-
onFileUpload: e[1] || (e[1] = (
|
|
3029
|
-
|
|
3029
|
+
onFileUpload: e[1] || (e[1] = (O) => {
|
|
3030
|
+
O && (b.value = O);
|
|
3030
3031
|
}),
|
|
3031
3032
|
accept: ".xlsx, .xls, .csv"
|
|
3032
3033
|
}, ne({ _: 2 }, [
|
|
3033
3034
|
b.value ? {
|
|
3034
3035
|
name: "default",
|
|
3035
|
-
fn: D(({ openFileDialog:
|
|
3036
|
+
fn: D(({ openFileDialog: O }) => [
|
|
3036
3037
|
l("div", xo, [
|
|
3037
3038
|
l("div", So, [
|
|
3038
3039
|
l("div", wo, [
|
|
@@ -3041,7 +3042,7 @@ const yo = { class: "flex flex-col gap-4" }, bo = { class: "flex flex-col" }, ho
|
|
|
3041
3042
|
label: x(d)("inventory.ingredient.import.replaceFile"),
|
|
3042
3043
|
variant: "secondary",
|
|
3043
3044
|
"prepend-icon": "autorenew",
|
|
3044
|
-
onClick:
|
|
3045
|
+
onClick: O
|
|
3045
3046
|
}, null, 8, ["label", "onClick"])
|
|
3046
3047
|
])
|
|
3047
3048
|
])
|
|
@@ -3052,22 +3053,22 @@ const yo = { class: "flex flex-col gap-4" }, bo = { class: "flex flex-col" }, ho
|
|
|
3052
3053
|
]), 1024),
|
|
3053
3054
|
I(U, {
|
|
3054
3055
|
modelValue: a.value,
|
|
3055
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
3056
|
+
"onUpdate:modelValue": e[2] || (e[2] = (O) => a.value = O),
|
|
3056
3057
|
label: "Retrieve cost from",
|
|
3057
3058
|
class: "my-5"
|
|
3058
3059
|
}, {
|
|
3059
3060
|
default: D(() => [
|
|
3060
|
-
(k(!0), R(J, null, te(t.value, (
|
|
3061
|
-
key:
|
|
3062
|
-
value:
|
|
3063
|
-
label:
|
|
3064
|
-
sublabel:
|
|
3065
|
-
disabled:
|
|
3061
|
+
(k(!0), R(J, null, te(t.value, (O) => (k(), _(H, {
|
|
3062
|
+
key: O.value,
|
|
3063
|
+
value: O.value,
|
|
3064
|
+
label: O.label,
|
|
3065
|
+
sublabel: O.subLabel,
|
|
3066
|
+
disabled: O.disabled
|
|
3066
3067
|
}, {
|
|
3067
3068
|
label: D(() => [
|
|
3068
3069
|
l("div", Bo, [
|
|
3069
|
-
l("span", Co, T(
|
|
3070
|
-
l("span", Eo, T(
|
|
3070
|
+
l("span", Co, T(O.label), 1),
|
|
3071
|
+
l("span", Eo, T(O.disabled ? O.disabledReason : O.subLabel), 1)
|
|
3071
3072
|
])
|
|
3072
3073
|
]),
|
|
3073
3074
|
_: 2
|
|
@@ -3090,7 +3091,7 @@ const yo = { class: "flex flex-col gap-4" }, bo = { class: "flex flex-col" }, ho
|
|
|
3090
3091
|
e[4] || (e[4] = l("h2", { class: "fm-typo-en-title-md-800 mt-8 mb-4" }, "Results", -1)),
|
|
3091
3092
|
I(M, {
|
|
3092
3093
|
modelValue: A.value,
|
|
3093
|
-
"onUpdate:modelValue": e[3] || (e[3] = (
|
|
3094
|
+
"onUpdate:modelValue": e[3] || (e[3] = (O) => A.value = O),
|
|
3094
3095
|
"row-data": v.value,
|
|
3095
3096
|
"column-defs": h,
|
|
3096
3097
|
"shrink-at": !1,
|
|
@@ -3119,7 +3120,7 @@ const yo = { class: "flex flex-col gap-4" }, bo = { class: "flex flex-col" }, ho
|
|
|
3119
3120
|
]);
|
|
3120
3121
|
};
|
|
3121
3122
|
}
|
|
3122
|
-
}), Ro = { class: "flex flex-col gap-8 w-full" }, Do = { class: "flex gap-4 justify-between" }, Mo = { 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" },
|
|
3123
|
+
}), Ro = { class: "flex flex-col gap-8 w-full" }, Do = { class: "flex gap-4 justify-between" }, Mo = { 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" }, jo = { class: "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap" }, Oo = { key: 0 }, To = {
|
|
3123
3124
|
key: 1,
|
|
3124
3125
|
class: "flex flex-col gap-8 w-full"
|
|
3125
3126
|
}, zo = { class: "flex gap-8 items-center justify-start" }, Ho = /* @__PURE__ */ Y({
|
|
@@ -3148,7 +3149,7 @@ const yo = { class: "flex flex-col gap-4" }, bo = { class: "flex flex-col" }, ho
|
|
|
3148
3149
|
return [
|
|
3149
3150
|
(f = x(s).sessionUser.value) != null && f.role.isAdmin ? (k(), R("div", To, [
|
|
3150
3151
|
I(No)
|
|
3151
|
-
])) : (k(), R("div",
|
|
3152
|
+
])) : (k(), R("div", Oo, " Please contact your administrator to apply the changes. "))
|
|
3152
3153
|
];
|
|
3153
3154
|
}),
|
|
3154
3155
|
"side-sheet-footer": D(() => [
|
|
@@ -3175,7 +3176,7 @@ const yo = { class: "flex flex-col gap-4" }, bo = { class: "flex flex-col" }, ho
|
|
|
3175
3176
|
name: x(b),
|
|
3176
3177
|
size: "sm"
|
|
3177
3178
|
}, null, 8, ["name"]),
|
|
3178
|
-
l("div",
|
|
3179
|
+
l("div", jo, T((f = x(d)._currentLocation) == null ? void 0 : f.name), 1)
|
|
3179
3180
|
])
|
|
3180
3181
|
])
|
|
3181
3182
|
])
|
|
@@ -3189,7 +3190,7 @@ const yo = { class: "flex flex-col gap-4" }, bo = { class: "flex flex-col" }, ho
|
|
|
3189
3190
|
}), Xo = /* @__PURE__ */ Y({
|
|
3190
3191
|
__name: "SynergyView",
|
|
3191
3192
|
setup(F) {
|
|
3192
|
-
const g = Le(), s = W(), r =
|
|
3193
|
+
const g = Le(), s = W(), r = j(!1);
|
|
3193
3194
|
async function n() {
|
|
3194
3195
|
r.value = !0, console.log("Opening Synergy migration dialog");
|
|
3195
3196
|
}
|
|
@@ -3245,7 +3246,7 @@ const yo = { class: "flex flex-col gap-4" }, bo = { class: "flex flex-col" }, ho
|
|
|
3245
3246
|
}, ts = /* @__PURE__ */ Y({
|
|
3246
3247
|
__name: "IntegrationView",
|
|
3247
3248
|
setup(F) {
|
|
3248
|
-
const g = W(), s =
|
|
3249
|
+
const g = W(), s = j(!1), r = We(), { breakpoints: n } = Ve(), t = z(() => n.value.xs || n.value.sm), { t: a } = G();
|
|
3249
3250
|
return me(async () => {
|
|
3250
3251
|
if (g._currentLocation) {
|
|
3251
3252
|
s.value = !0;
|