@feedmepos/mf-inventory-portal 1.0.37-dev.3 → 1.0.38
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-Dmd2G8R5.js → App-Bh_jIWxm.js} +1 -1
- package/dist/{ApprovalView-Dp3k5vDw.js → ApprovalView-U-Jo7wyv.js} +19 -19
- package/dist/{BindingsDialog-D80Yhk4v.js → BindingsDialog-CC0wt6a_.js} +4 -4
- package/dist/{BindingsPicker-BYRH73Mx.js → BindingsPicker-WL_1lOdc.js} +1 -1
- package/dist/{BindingsTable-CvblcQnI.js → BindingsTable-DJf1WJou.js} +4 -4
- package/dist/{ClosingDraftView-DiUIrHnf.js → ClosingDraftView-BI19VIT_.js} +26 -26
- package/dist/ClosingTemplateView-B6p83fs1.js +1804 -0
- package/dist/{DeliveryOrderPrintPreview-7DmbPXg9.js → DeliveryOrderPrintPreview-LANZdQE7.js} +4 -4
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C_QmBqHi.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Bhz1nVO6.js} +11 -11
- package/dist/{FmMultiselectDialog-m2Wih5ZC.js → FmMultiselectDialog-B16LNSaK.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-C0Ky06__.js → FmUnitInput.vue_vue_type_script_setup_true_lang-pAmapm7v.js} +21 -21
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DLfxc861.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-D7wM9EQ2.js} +1 -1
- package/dist/{IngredientGroupView-Um-bP1SR.js → IngredientGroupView-Bi8657CZ.js} +2 -2
- package/dist/IngredientsView-CGEQ-GvW.js +1838 -0
- package/dist/{IntegrationView-DfBOpvo1.js → IntegrationView-mYS_UJlk.js} +76 -77
- package/dist/{InventoryBindingForm-sbgSzNep.js → InventoryBindingForm-D-Y-IDFl.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CYpXwzuu.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-ByFJ6s6U.js} +24 -24
- package/dist/{InventoryBindingSummary-BWdagbGS.js → InventoryBindingSummary-z6XljZ_R.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BvdA5Qfu.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-ihrVnPMe.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-CBH7oYpv.js → PremiumBadge.vue_vue_type_script_setup_true_lang-DhoXg0vX.js} +10 -10
- package/dist/{PublishView-CjX1ZmFe.js → PublishView-DB7j7FkK.js} +17 -17
- package/dist/{PurchaseOrderPrintPreview-M20PXH1Z.js → PurchaseOrderPrintPreview-CTQIzDKp.js} +12 -12
- package/dist/{ReceiveRequestView-CF9p1j-M.js → ReceiveRequestView-B2UDO9o9.js} +782 -797
- package/dist/{RecipeView-kVgJAZ9d.js → RecipeView-BIDDh0V9.js} +3 -3
- package/dist/{StockView-B9bSTjY4.js → StockView-BgzAJBdL.js} +6 -6
- package/dist/{SupplierView-uaW913cH.js → SupplierView-zS3HDy59.js} +3 -3
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-Bwiv5v2m.js → TransferDetails.vue_vue_type_script_setup_true_lang-DhnPjxXG.js} +696 -691
- package/dist/{TransferTemplateView-BuHT8mNT.js → TransferTemplateView-DLS9QAGY.js} +83 -83
- package/dist/{UnitView-Db_ETZrB.js → UnitView-B8mfgqXO.js} +3 -3
- package/dist/{WarehouseView-2SJNm6XK.js → WarehouseView-D4yYBRSM.js} +1 -1
- package/dist/api/inventory.d.ts +0 -4
- package/dist/api/netsuite.d.ts +0 -7
- package/dist/{app-CoEB-VoH.js → app-BLo-E2P1.js} +61427 -61936
- package/dist/app.d.ts +0 -9
- package/dist/app.js +1 -1
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +0 -1
- package/dist/components/row-action.enum.d.ts +1 -2
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +0 -1
- package/dist/{decimal-B7itxUWP.js → decimal-u4mLA_2Z.js} +1 -1
- package/dist/format-unit-display-g_Tq_sk7.js +1230 -0
- package/dist/{index-YGLKr3WK.js → index-BbBtmjWx.js} +1 -1
- package/dist/{index-DfWaG7Tl.js → index-Bu2R1xRv.js} +1 -1
- package/dist/{stock-CCQ352Hu.js → stock-BxIuAFed.js} +1 -1
- package/dist/stores/integration/netsuite.d.ts +1 -7
- package/dist/stores/inventory.d.ts +0 -9
- package/dist/{supplier-BCwA2FHM.js → supplier-CQftkZPG.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-DOONV-IL.js → use-ingredient-select-dialog-C9I7bja9.js} +1 -1
- package/dist/{use-inventory-binding-dialog-BPM-7FrW.js → use-inventory-binding-dialog-s8nyBhfo.js} +1 -1
- package/dist/views/adjustment-template/wastage-template/actions.d.ts +1 -4
- package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +0 -8
- package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +0 -24
- package/dist/views/closing-template/components/closing-template-form/composables/use-closing-template-items.d.ts +0 -1
- package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +1 -16
- package/dist/views/closing-template/composables/use-closing-template-table.d.ts +0 -12
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +0 -2
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +0 -1
- package/dist/views/integration/components/netsuite/InventoryTransferIngredientTable.vue.d.ts +0 -2
- package/dist/views/integration/components/netsuite/business/BusinessNetSuiteSideSheet.vue.d.ts +0 -4
- 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 +0 -17
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +0 -2
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +0 -4
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +0 -1
- package/dist/views/receive-request/composables/use-process-purchase-order.d.ts +0 -4
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +0 -24
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +0 -24
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +0 -2
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +0 -2
- package/dist/views/transfer-template/components/transfer-template-form/components/NetSuiteCustomCodeSelection.vue.d.ts +0 -2
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItemTable.vue.d.ts +0 -2
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +0 -1
- package/dist/views/transfer-template/composables/use-netsuite-custom-field.d.ts +0 -3
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1 -16
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +0 -12
- package/dist/{vue-i18n-DZAYeut-.js → vue-i18n-C3CYm8Dg.js} +352 -352
- package/package.json +1 -1
- package/dist/ClosingTemplateView-BGyaxOv_.js +0 -1849
- package/dist/IngredientsView-BOYvD0VL.js +0 -1858
- package/dist/api/duplicate-template.d.ts +0 -5
- package/dist/format-unit-display-DswmXjqB.js +0 -1275
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as Y, mergeModels as
|
|
1
|
+
import { defineComponent as Y, mergeModels as Oe, useModel as xe, onMounted as me, ref as O, 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 je, 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 { aW as Xe, aL as _e, f as $, u as W, aX as Ue, b as le, j as Qe, aT as Se, ak as ve, ax as ge, a as Ae, a2 as Ye, Q as P, $ as we, aY as ke, aC as Be, aO as Ce, s as Ee, y as Fe, a0 as re, c as Le, _ as Je, C as Ke } from "./app-BLo-E2P1.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-Bu2R1xRv.js";
|
|
7
|
+
import { u as de } from "./vue-i18n-C3CYm8Dg.js";
|
|
8
|
+
import { _ as $e, F as et } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-pAmapm7v.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__ */ Oe({
|
|
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 = O(""), { 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, j) => b(M, [...o, j], 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 = O(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: je({
|
|
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, (j, Q) => (k(), R("span", {
|
|
283
283
|
key: Q,
|
|
284
284
|
class: q({
|
|
285
|
-
"font-bold":
|
|
285
|
+
"font-bold": j.isMatch
|
|
286
286
|
})
|
|
287
|
-
}, T(
|
|
287
|
+
}, T(j.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
|
+
}), Ot = { class: "flex flex-col gap-8 w-full" }, jt = /* @__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 = O(), 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", Ot, [
|
|
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 = O(), 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 = O(!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 = O(!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(), _(jt, {
|
|
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 = O({}), b = O(), A = O(""), 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 = O(!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 = O(), A = se(t, "show"), S = O(), p = O(""), 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 = O([]), s = Se(), r = O(!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 = O();
|
|
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 = O([]), b = [{ label: "Transfer Out" }, { label: "History" }], A = O(b[0]), S = O(!1), p = O(null), v = O(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] = (j) => A.value = j),
|
|
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] = (j) => w.value = j)
|
|
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] = (j) => f.value = j)
|
|
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] = (j) => v.value = j),
|
|
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] = (j) => 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] = (j) => d.value = j)
|
|
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 = O(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,14 +2008,13 @@ 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 ? (k(), R(
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
], 64)) : (k(), R("div", Vn, " Netsuite is not configured for this location. Please contact your administrator. "))
|
|
2011
|
+
x(r).isCurrentLocationBindedToNetSuite ? X("", !0) : (k(), R("div", Vn, " Netsuite is not configured for this location. Please contact your administrator. ")),
|
|
2012
|
+
p.value === "inventoryTransfer" ? (k(), _(Bn, {
|
|
2013
|
+
key: 1,
|
|
2014
|
+
currentLocationSetting: h.value,
|
|
2015
|
+
nsLocations: C.value,
|
|
2016
|
+
currentLocationSubsidiary: v.value
|
|
2017
|
+
}, null, 8, ["currentLocationSetting", "nsLocations", "currentLocationSubsidiary"])) : X("", !0)
|
|
2019
2018
|
]),
|
|
2020
2019
|
"side-sheet-footer": D(() => [
|
|
2021
2020
|
l("div", Nn, [
|
|
@@ -2057,14 +2056,14 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2057
2056
|
]), 1032, ["modelValue"]);
|
|
2058
2057
|
};
|
|
2059
2058
|
}
|
|
2060
|
-
}), Dn = { class: "flex justify-center" }, Mn = ["src"],
|
|
2059
|
+
}), Dn = { class: "flex justify-center" }, Mn = ["src"], On = { class: "flex flex-col items-center gap-2" }, jn = { class: "text-lg font-bold" }, Tn = { class: "text-fm-color-neutral-gray-300" }, zn = /* @__PURE__ */ Y({
|
|
2061
2060
|
__name: "NetSuite",
|
|
2062
2061
|
setup(F) {
|
|
2063
|
-
const g = le(), s = ae(), r =
|
|
2062
|
+
const g = le(), s = ae(), r = O(!1), n = O(!1);
|
|
2064
2063
|
async function t() {
|
|
2065
2064
|
n.value = !0;
|
|
2066
2065
|
}
|
|
2067
|
-
const a =
|
|
2066
|
+
const a = O([]);
|
|
2068
2067
|
ze(async () => {
|
|
2069
2068
|
if (g.isReady && g.isEnabled) {
|
|
2070
2069
|
r.value = !0;
|
|
@@ -2104,8 +2103,8 @@ const Bt = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
2104
2103
|
alt: "NetSuite"
|
|
2105
2104
|
}, null, 8, Mn)
|
|
2106
2105
|
]),
|
|
2107
|
-
l("div",
|
|
2108
|
-
l("div",
|
|
2106
|
+
l("div", On, [
|
|
2107
|
+
l("div", jn, T(x(d)("inventory.integration.netsuite.title")), 1),
|
|
2109
2108
|
l("div", Tn, T(x(d)("inventory.integration.netsuite.description")), 1)
|
|
2110
2109
|
])
|
|
2111
2110
|
]),
|
|
@@ -2287,7 +2286,7 @@ const Un = { class: "flex flex-col gap-4" }, Qn = { class: "flex flex-col" }, Yn
|
|
|
2287
2286
|
disabledReason: "Current location is not binded to NetSuite"
|
|
2288
2287
|
}
|
|
2289
2288
|
] : []
|
|
2290
|
-
]), d =
|
|
2289
|
+
]), d = O(a.value[0].value), { t: b } = de(), A = O(null), S = O(), p = O(""), v = O([]), h = O([]), C = [
|
|
2291
2290
|
{
|
|
2292
2291
|
id: "ingredient",
|
|
2293
2292
|
header: () => "Ingredient",
|
|
@@ -2378,7 +2377,7 @@ const Un = { class: "flex flex-col gap-4" }, Qn = { class: "flex flex-col" }, Yn
|
|
|
2378
2377
|
accessorKey: "message",
|
|
2379
2378
|
header: "Error Message"
|
|
2380
2379
|
}
|
|
2381
|
-
], f =
|
|
2380
|
+
], f = O(!1);
|
|
2382
2381
|
async function c() {
|
|
2383
2382
|
if (A.value) {
|
|
2384
2383
|
f.value = !0;
|
|
@@ -2430,7 +2429,7 @@ const Un = { class: "flex flex-col gap-4" }, Qn = { class: "flex flex-col" }, Yn
|
|
|
2430
2429
|
}
|
|
2431
2430
|
}
|
|
2432
2431
|
}
|
|
2433
|
-
const i =
|
|
2432
|
+
const i = O(""), y = z({
|
|
2434
2433
|
get() {
|
|
2435
2434
|
return i.value;
|
|
2436
2435
|
},
|
|
@@ -2443,7 +2442,7 @@ const Un = { class: "flex flex-col gap-4" }, Qn = { class: "flex flex-col" }, Yn
|
|
|
2443
2442
|
return isNaN(e.getTime()) ? null : ve(e);
|
|
2444
2443
|
});
|
|
2445
2444
|
return (e, o) => {
|
|
2446
|
-
const B = E("FmLabel"), L = E("FmField"), V = E("FmSimpleDatePicker"), H = E("FmButton"), U = E("FmRadio"), M = E("FmRadioGroup"),
|
|
2445
|
+
const B = E("FmLabel"), L = E("FmField"), V = E("FmSimpleDatePicker"), H = E("FmButton"), U = E("FmRadio"), M = E("FmRadioGroup"), j = E("FmTable");
|
|
2447
2446
|
return k(), R("div", Un, [
|
|
2448
2447
|
l("div", Qn, [
|
|
2449
2448
|
I(B, { label: "Latest closing" })
|
|
@@ -2546,7 +2545,7 @@ const Un = { class: "flex flex-col gap-4" }, Qn = { class: "flex flex-col" }, Yn
|
|
|
2546
2545
|
]),
|
|
2547
2546
|
A.value && h.value.length > 0 ? (k(), R(J, { key: 0 }, [
|
|
2548
2547
|
o[4] || (o[4] = l("h2", { class: "fm-typo-en-title-md-800 mt-8 mb-4" }, "Results", -1)),
|
|
2549
|
-
I(
|
|
2548
|
+
I(j, {
|
|
2550
2549
|
modelValue: S.value,
|
|
2551
2550
|
"onUpdate:modelValue": o[3] || (o[3] = (Q) => S.value = Q),
|
|
2552
2551
|
"row-data": h.value,
|
|
@@ -2557,7 +2556,7 @@ const Un = { class: "flex flex-col gap-4" }, Qn = { class: "flex flex-col" }, Yn
|
|
|
2557
2556
|
], 64)) : X("", !0),
|
|
2558
2557
|
v.value.length > 0 ? (k(), R(J, { key: 1 }, [
|
|
2559
2558
|
o[5] || (o[5] = l("h2", { class: "fm-typo-en-title-md-800 mt-8 mb-4 text-red-600" }, "Errors", -1)),
|
|
2560
|
-
I(
|
|
2559
|
+
I(j, {
|
|
2561
2560
|
"row-data": v.value,
|
|
2562
2561
|
"column-defs": w
|
|
2563
2562
|
}, null, 8, ["row-data"])
|
|
@@ -2598,7 +2597,7 @@ const Un = { class: "flex flex-col gap-4" }, Qn = { class: "flex flex-col" }, Yn
|
|
|
2598
2597
|
"transferNote"
|
|
2599
2598
|
/* TRANSFER_NOTE */
|
|
2600
2599
|
) }
|
|
2601
|
-
], S =
|
|
2600
|
+
], S = O(A[0]);
|
|
2602
2601
|
return (v, h) => {
|
|
2603
2602
|
var u;
|
|
2604
2603
|
const C = E("FmIcon"), w = E("FmButtonGroup"), f = E("FmButton"), c = E("FmSideSheet");
|
|
@@ -2668,7 +2667,7 @@ const Un = { class: "flex flex-col gap-4" }, Qn = { class: "flex flex-col" }, Yn
|
|
|
2668
2667
|
}), po = /* @__PURE__ */ Y({
|
|
2669
2668
|
__name: "XilnexView",
|
|
2670
2669
|
setup(F) {
|
|
2671
|
-
const g = Le(), s = W(), r =
|
|
2670
|
+
const g = Le(), s = W(), r = O(!1);
|
|
2672
2671
|
async function n() {
|
|
2673
2672
|
r.value = !0, console.log("Opening Xilnex migration dialog");
|
|
2674
2673
|
}
|
|
@@ -2831,7 +2830,7 @@ const yo = { class: "flex flex-col gap-4" }, bo = { class: "flex flex-col" }, ho
|
|
|
2831
2830
|
label: "Synergy",
|
|
2832
2831
|
subLabel: "Based on Synergy's item cost from excel file"
|
|
2833
2832
|
}
|
|
2834
|
-
]), a =
|
|
2833
|
+
]), a = O(t.value[0].value), { t: d } = de(), b = O(null), A = O(), S = O(""), p = O([]), v = O([]), h = [
|
|
2835
2834
|
{
|
|
2836
2835
|
id: "ingredient",
|
|
2837
2836
|
header: () => "Ingredient",
|
|
@@ -2922,7 +2921,7 @@ const yo = { class: "flex flex-col gap-4" }, bo = { class: "flex flex-col" }, ho
|
|
|
2922
2921
|
accessorKey: "message",
|
|
2923
2922
|
header: "Error Message"
|
|
2924
2923
|
}
|
|
2925
|
-
], w =
|
|
2924
|
+
], w = O(!1);
|
|
2926
2925
|
async function f() {
|
|
2927
2926
|
if (b.value) {
|
|
2928
2927
|
w.value = !0;
|
|
@@ -2973,7 +2972,7 @@ const yo = { class: "flex flex-col gap-4" }, bo = { class: "flex flex-col" }, ho
|
|
|
2973
2972
|
}
|
|
2974
2973
|
}
|
|
2975
2974
|
}
|
|
2976
|
-
const u =
|
|
2975
|
+
const u = O(""), i = z({
|
|
2977
2976
|
get() {
|
|
2978
2977
|
return u.value;
|
|
2979
2978
|
},
|
|
@@ -3005,7 +3004,7 @@ const yo = { class: "flex flex-col gap-4" }, bo = { class: "flex flex-col" }, ho
|
|
|
3005
3004
|
]))) : (k(), R("div", ho, [
|
|
3006
3005
|
I(L, {
|
|
3007
3006
|
modelValue: i.value,
|
|
3008
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
3007
|
+
"onUpdate:modelValue": e[0] || (e[0] = (j) => i.value = j),
|
|
3009
3008
|
label: "Last closing time"
|
|
3010
3009
|
}, {
|
|
3011
3010
|
"trigger-button": D(() => [
|
|
@@ -3026,14 +3025,14 @@ const yo = { class: "flex flex-col gap-4" }, bo = { class: "flex flex-col" }, ho
|
|
|
3026
3025
|
I(o, { label: "Stock take file" })
|
|
3027
3026
|
]),
|
|
3028
3027
|
I(Fe, {
|
|
3029
|
-
onFileUpload: e[1] || (e[1] = (
|
|
3030
|
-
|
|
3028
|
+
onFileUpload: e[1] || (e[1] = (j) => {
|
|
3029
|
+
j && (b.value = j);
|
|
3031
3030
|
}),
|
|
3032
3031
|
accept: ".xlsx, .xls, .csv"
|
|
3033
3032
|
}, ne({ _: 2 }, [
|
|
3034
3033
|
b.value ? {
|
|
3035
3034
|
name: "default",
|
|
3036
|
-
fn: D(({ openFileDialog:
|
|
3035
|
+
fn: D(({ openFileDialog: j }) => [
|
|
3037
3036
|
l("div", xo, [
|
|
3038
3037
|
l("div", So, [
|
|
3039
3038
|
l("div", wo, [
|
|
@@ -3042,7 +3041,7 @@ const yo = { class: "flex flex-col gap-4" }, bo = { class: "flex flex-col" }, ho
|
|
|
3042
3041
|
label: x(d)("inventory.ingredient.import.replaceFile"),
|
|
3043
3042
|
variant: "secondary",
|
|
3044
3043
|
"prepend-icon": "autorenew",
|
|
3045
|
-
onClick:
|
|
3044
|
+
onClick: j
|
|
3046
3045
|
}, null, 8, ["label", "onClick"])
|
|
3047
3046
|
])
|
|
3048
3047
|
])
|
|
@@ -3053,22 +3052,22 @@ const yo = { class: "flex flex-col gap-4" }, bo = { class: "flex flex-col" }, ho
|
|
|
3053
3052
|
]), 1024),
|
|
3054
3053
|
I(U, {
|
|
3055
3054
|
modelValue: a.value,
|
|
3056
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
3055
|
+
"onUpdate:modelValue": e[2] || (e[2] = (j) => a.value = j),
|
|
3057
3056
|
label: "Retrieve cost from",
|
|
3058
3057
|
class: "my-5"
|
|
3059
3058
|
}, {
|
|
3060
3059
|
default: D(() => [
|
|
3061
|
-
(k(!0), R(J, null, te(t.value, (
|
|
3062
|
-
key:
|
|
3063
|
-
value:
|
|
3064
|
-
label:
|
|
3065
|
-
sublabel:
|
|
3066
|
-
disabled:
|
|
3060
|
+
(k(!0), R(J, null, te(t.value, (j) => (k(), _(H, {
|
|
3061
|
+
key: j.value,
|
|
3062
|
+
value: j.value,
|
|
3063
|
+
label: j.label,
|
|
3064
|
+
sublabel: j.subLabel,
|
|
3065
|
+
disabled: j.disabled
|
|
3067
3066
|
}, {
|
|
3068
3067
|
label: D(() => [
|
|
3069
3068
|
l("div", Bo, [
|
|
3070
|
-
l("span", Co, T(
|
|
3071
|
-
l("span", Eo, T(
|
|
3069
|
+
l("span", Co, T(j.label), 1),
|
|
3070
|
+
l("span", Eo, T(j.disabled ? j.disabledReason : j.subLabel), 1)
|
|
3072
3071
|
])
|
|
3073
3072
|
]),
|
|
3074
3073
|
_: 2
|
|
@@ -3091,7 +3090,7 @@ const yo = { class: "flex flex-col gap-4" }, bo = { class: "flex flex-col" }, ho
|
|
|
3091
3090
|
e[4] || (e[4] = l("h2", { class: "fm-typo-en-title-md-800 mt-8 mb-4" }, "Results", -1)),
|
|
3092
3091
|
I(M, {
|
|
3093
3092
|
modelValue: A.value,
|
|
3094
|
-
"onUpdate:modelValue": e[3] || (e[3] = (
|
|
3093
|
+
"onUpdate:modelValue": e[3] || (e[3] = (j) => A.value = j),
|
|
3095
3094
|
"row-data": v.value,
|
|
3096
3095
|
"column-defs": h,
|
|
3097
3096
|
"shrink-at": !1,
|
|
@@ -3120,7 +3119,7 @@ const yo = { class: "flex flex-col gap-4" }, bo = { class: "flex flex-col" }, ho
|
|
|
3120
3119
|
]);
|
|
3121
3120
|
};
|
|
3122
3121
|
}
|
|
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" },
|
|
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" }, Oo = { class: "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap" }, jo = { key: 0 }, To = {
|
|
3124
3123
|
key: 1,
|
|
3125
3124
|
class: "flex flex-col gap-8 w-full"
|
|
3126
3125
|
}, zo = { class: "flex gap-8 items-center justify-start" }, Ho = /* @__PURE__ */ Y({
|
|
@@ -3149,7 +3148,7 @@ const yo = { class: "flex flex-col gap-4" }, bo = { class: "flex flex-col" }, ho
|
|
|
3149
3148
|
return [
|
|
3150
3149
|
(f = x(s).sessionUser.value) != null && f.role.isAdmin ? (k(), R("div", To, [
|
|
3151
3150
|
I(No)
|
|
3152
|
-
])) : (k(), R("div",
|
|
3151
|
+
])) : (k(), R("div", jo, " Please contact your administrator to apply the changes. "))
|
|
3153
3152
|
];
|
|
3154
3153
|
}),
|
|
3155
3154
|
"side-sheet-footer": D(() => [
|
|
@@ -3176,7 +3175,7 @@ const yo = { class: "flex flex-col gap-4" }, bo = { class: "flex flex-col" }, ho
|
|
|
3176
3175
|
name: x(b),
|
|
3177
3176
|
size: "sm"
|
|
3178
3177
|
}, null, 8, ["name"]),
|
|
3179
|
-
l("div",
|
|
3178
|
+
l("div", Oo, T((f = x(d)._currentLocation) == null ? void 0 : f.name), 1)
|
|
3180
3179
|
])
|
|
3181
3180
|
])
|
|
3182
3181
|
])
|
|
@@ -3190,7 +3189,7 @@ const yo = { class: "flex flex-col gap-4" }, bo = { class: "flex flex-col" }, ho
|
|
|
3190
3189
|
}), Xo = /* @__PURE__ */ Y({
|
|
3191
3190
|
__name: "SynergyView",
|
|
3192
3191
|
setup(F) {
|
|
3193
|
-
const g = Le(), s = W(), r =
|
|
3192
|
+
const g = Le(), s = W(), r = O(!1);
|
|
3194
3193
|
async function n() {
|
|
3195
3194
|
r.value = !0, console.log("Opening Synergy migration dialog");
|
|
3196
3195
|
}
|
|
@@ -3246,7 +3245,7 @@ const yo = { class: "flex flex-col gap-4" }, bo = { class: "flex flex-col" }, ho
|
|
|
3246
3245
|
}, ts = /* @__PURE__ */ Y({
|
|
3247
3246
|
__name: "IntegrationView",
|
|
3248
3247
|
setup(F) {
|
|
3249
|
-
const g = W(), s =
|
|
3248
|
+
const g = W(), s = O(!1), r = We(), { breakpoints: n } = Ve(), t = z(() => n.value.xs || n.value.sm), { t: a } = G();
|
|
3250
3249
|
return me(async () => {
|
|
3251
3250
|
if (g._currentLocation) {
|
|
3252
3251
|
s.value = !0;
|