@feedmepos/mf-inventory-portal 1.7.2-dev.6 → 1.7.2-dev.7
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-CjE7AF-_.js → App-B-cNop0z.js} +4 -4
- package/dist/{ApprovalView-A5MgSn_N.js → ApprovalView-CH9fH4Qb.js} +8 -8
- package/dist/{BindingsDialog-Cnx2s6z0.js → BindingsDialog-CgUzfXM7.js} +2 -2
- package/dist/{BindingsPicker-DM_iJGgj.js → BindingsPicker-R_P6Lcic.js} +2 -2
- package/dist/{BindingsTable-BBFr5770.js → BindingsTable-Dp3m86QO.js} +3 -3
- package/dist/{BulkReceiveRequestView-CQumN3_G.js → BulkReceiveRequestView-Dfm6mZ6B.js} +19 -19
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-BDKM1_Nb.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CMF5nNXe.js} +1 -1
- package/dist/{ClosingDraftView-M_cn9fpa.js → ClosingDraftView-DzT0E_Mh.js} +19 -19
- package/dist/{ClosingHistoryView-gUVVlC1k.js → ClosingHistoryView-BhmDFISo.js} +5 -5
- package/dist/{ClosingTemplateView-C_rAqvEE.js → ClosingTemplateView-NnByNbgZ.js} +16 -16
- package/dist/{DefaultView-D4mJa9Fg.js → DefaultView-gqkkFXje.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-DClk6C2U.js → DeliveryOrderPrintPreview-7_JJg7bM.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-BtkGDm9K.js → EmailDialog.vue_vue_type_script_setup_true_lang-CNyHaFyl.js} +3562 -3562
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-CLG-5olj.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-Dh2QQzUU.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-vfDT_U53.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-yipZr2ks.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DaUKlYc8.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DskF3Ejf.js} +2 -2
- package/dist/{FmMultiselectDialog-BMQ3v2m8.js → FmMultiselectDialog-CqppB7ct.js} +1 -1
- package/dist/{FmMultiselectDialog-C2rrLE_o.js → FmMultiselectDialog-CyIIUY_-.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-BPzJIz9E.js → FmUnitInput.vue_vue_type_script_setup_true_lang-B19Lrgpy.js} +5 -5
- package/dist/{ImportView-BR7Ig73y.js → ImportView-BCzDy9hu.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-DX2PoJHt.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-D-aszpkJ.js} +1 -1
- package/dist/{IngredientGroupView-kx4gEJOT.js → IngredientGroupView-CP2OQuKu.js} +5 -5
- package/dist/{IngredientsView-abNzcv1n.js → IngredientsView-o7dPYomM.js} +15 -15
- package/dist/IntegrationExplorerView-Bb-JtmQE.js +4184 -0
- package/dist/{IntegrationView-BqpNCXaM.js → IntegrationView-Dso9ph27.js} +872 -872
- package/dist/{InventoryBindingForm-C8ai2E5D.js → InventoryBindingForm-CcAI1CUM.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-IviBfgqG.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DspvE3QV.js} +5 -5
- package/dist/{InventoryBindingSummary-Brto8NyF.js → InventoryBindingSummary-CczZmWg1.js} +1 -1
- package/dist/{IntegrationExplorerView-BK29Up2Y.js → JsonViewer.vue_vue_type_script_setup_true_lang-ig2zSXAB.js} +3935 -8114
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CvMsWXqJ.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BaxDzap7.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-1IKD29KD.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BCw5uMdd.js} +1 -1
- package/dist/{ProductionView-DmUpqDI0.js → ProductionView-CmGvJd8w.js} +7 -7
- package/dist/{PublishView-BAf3aaJM.js → PublishView-CoRnayCK.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-DFlxzaUt.js → PurchaseOrderPrintPreview-DI_bju59.js} +2 -2
- package/dist/{ReceiveRequestView-AMczrIBs.js → ReceiveRequestView-DtpMExX4.js} +13 -13
- package/dist/{RecipeView-BeYpj5_f.js → RecipeView-ByWGxmmi.js} +17 -17
- package/dist/{SettingsView-DU1yvgju.js → SettingsView-Cope9kkO.js} +4 -4
- package/dist/{StockView-DEDkcL86.js → StockView-DlPomoqq.js} +21 -21
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-BxB7394D.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-2GpJv2Xj.js} +1 -1
- package/dist/{SupplierView-DZ1BSTrr.js → SupplierView-Bl8iVd_N.js} +12 -12
- package/dist/{SurchargeView-CKmoud0p.js → SurchargeView-RQ_pvucd.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-5jXhg7G0.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-C2dIgIh5.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CmuVr_a6.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-Das0-7BS.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BNC40qos.js → TransferDetails.vue_vue_type_script_setup_true_lang-BFweoaXQ.js} +20 -20
- package/dist/{TransferTemplateView-BuF7BKs9.js → TransferTemplateView-CCsW83v_.js} +20 -20
- package/dist/{UnitCostHistoryView-D7rmkck_.js → UnitCostHistoryView-r_edQ-eq.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-V1oe1x1E.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-ClGDKA3X.js} +4 -4
- package/dist/{UnitView-DplBGIw7.js → UnitView-BZWqwFco.js} +7 -7
- package/dist/{WarehouseView-DS6bDFfT.js → WarehouseView-CP9wNM1E.js} +5 -5
- package/dist/{WastageTemplateView-CHduTDxY.js → WastageTemplateView-CqEhqsWu.js} +14 -14
- package/dist/{app-CnmoBLyB.js → app-NciT9fFY.js} +15 -15
- package/dist/app.js +1 -1
- package/dist/{closing-template-9iA11Xcn.js → closing-template-DxtW0P1l.js} +1 -1
- package/dist/{date2-WmzN-K_v.js → date2-Ei37LliT.js} +1 -1
- package/dist/{dayjs.min-BUkwNfCm.js → dayjs.min-EIcpBkwY.js} +1 -1
- package/dist/{decimal-BRBzPFUs.js → decimal-BKRg1pg_.js} +2 -2
- package/dist/{defineDeepModel-BspKTibw.js → defineDeepModel-qwmM6MC5.js} +1 -1
- package/dist/{duplicate-template-CxTmU0GU.js → duplicate-template-7umGFrPP.js} +1 -1
- package/dist/{feature-BjPzDeBm.js → feature-DNPvkSld.js} +2 -2
- package/dist/{format-time-from-id-IFZ651um.js → format-time-from-id-B-xug5OX.js} +1 -1
- package/dist/{format-unit-display-r-e4ypIU.js → format-unit-display-C6CgQhaP.js} +12 -12
- package/dist/{import-export.helper-sH01hKVg.js → import-export.helper-B9goQptC.js} +6 -6
- package/dist/{index-Bx3k2hKT.js → index-BsZo4pgH.js} +3 -3
- package/dist/{index-BGKeX_Pa.js → index-CLpYcebt.js} +1 -1
- package/dist/{index-BD3W6QzL.js → index-DVGzv0Cp.js} +1 -1
- package/dist/{inventory-core-dart.default-BGJXETRk.js → inventory-core-dart.default-Csfw73CS.js} +1 -1
- package/dist/{jszip.min-6oVDXapl.js → jszip.min-Cp12YShz.js} +253 -253
- package/dist/{lz-string-Bpixn-zG.js → lz-string-Dtv48niR.js} +1 -1
- package/dist/{netsuite-C-jHVHsj.js → netsuite-BrNpmVj4.js} +2 -2
- package/dist/{number-Ba1TCDyL.js → number-BjVCPgeg.js} +3 -3
- package/dist/{predefined-templates-IzCv5sHl.js → predefined-templates-DTuckE0W.js} +1 -1
- package/dist/{purchase-order-template-CbmIJYfG.js → purchase-order-template-0o5kmTLn.js} +1 -1
- package/dist/{recalculationUtils-BSh3n38u.js → recalculationUtils-BZrm0pDq.js} +1 -1
- package/dist/{rules-CrKou0N_.js → rules-BYehRjzh.js} +2 -2
- package/dist/{stock-BHKZdgAs.js → stock-D6cWqBWO.js} +1 -1
- package/dist/{stock-BC9oX5iT.js → stock-DLpjzRFQ.js} +3 -3
- package/dist/{supplier-CGtgR99U.js → supplier-DKkmWDC8.js} +2 -2
- package/dist/{surcharge-SF8G98bS.js → surcharge-Cthu-1pt.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-BTOi9Ohy.js → uom-rules-DGZ2Ohoa.js} +1 -1
- package/dist/{use-ingredient-select-dialog-BLnMPbjx.js → use-ingredient-select-dialog-DzCnOhOV.js} +2 -2
- package/dist/{use-inventory-binding-dialog-sEF6dBrk.js → use-inventory-binding-dialog-w2tI4C5R.js} +2 -2
- package/dist/{use-template-enabled-locations-BjK7Ew7d.js → use-template-enabled-locations-0nnAcRQv.js} +2 -2
- package/dist/{use-transfer-locations-BCb4Zhh1.js → use-transfer-locations-DmBSO6Hj.js} +2 -2
- package/dist/{useHrmPermission-C9Qy2u9S.js → useHrmPermission-D2dSFoKy.js} +1 -1
- package/dist/{useNavigationMenu-By79hpaX.js → useNavigationMenu-ud8wGPZf.js} +2 -2
- package/dist/{useSseClient-CAVdYs-6.js → useSseClient-DPhAUq0d.js} +1 -1
- package/dist/{vue-i18n-DD_u3tFd.js → vue-i18n-BYe477BY.js} +579 -579
- package/dist/{xlsx.util-C_wchWnu.js → xlsx.util-aaZMR32z.js} +2 -2
- package/package.json +4 -4
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { _ as
|
|
3
|
-
import { y as
|
|
4
|
-
import { useDialogChild as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { useI18n as oe, useCoreStore as
|
|
7
|
-
import { _ as
|
|
8
|
-
import { u as
|
|
9
|
-
import { b as
|
|
10
|
-
import { F as
|
|
11
|
-
import { f as
|
|
12
|
-
import { u as
|
|
13
|
-
import { b as
|
|
14
|
-
import { R as
|
|
15
|
-
import { P as
|
|
16
|
-
import { u as
|
|
17
|
-
import { u as Te } from "./vue-i18n-
|
|
18
|
-
import { _ as
|
|
19
|
-
import { a as
|
|
20
|
-
import { F as
|
|
21
|
-
import { i as
|
|
22
|
-
import {
|
|
23
|
-
|
|
24
|
-
|
|
1
|
+
import { defineComponent as Q, mergeModels as Ut, useModel as ft, onMounted as ke, ref as R, computed as U, resolveComponent as V, createElementBlock as D, openBlock as S, createElementVNode as s, createBlock as H, toDisplayString as E, unref as _, createVNode as I, withCtx as O, Fragment as Z, renderList as ae, normalizeClass as te, normalizeStyle as zt, createSlots as Ae, createCommentVNode as K, withModifiers as jt, reactive as Ke, watch as we, isRef as Ie, h as B, Teleport as _e, createTextVNode as ie, watchEffect as Pt, withDirectives as Kt, vShow as Ht } from "vue";
|
|
2
|
+
import { _ as vt } from "./empty-placeholder-B0QU467o.js";
|
|
3
|
+
import { y as qt, z as Xt, c as de, u as pe, A as $t, a as Ve, N as Me, B as He, C as me, D as N, w as ge, E as gt, G as yt, s as Le } from "./app-NciT9fFY.js";
|
|
4
|
+
import { useDialogChild as bt, useDialog as Fe, useProxiedModel as Se, useSnackbar as le, useBreakpoints as qe, components as ne } from "@feedmepos/ui-library";
|
|
5
|
+
import { _ as Yt } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-DwrLsWX_.js";
|
|
6
|
+
import { useI18n as oe, useCoreStore as fe } from "@feedmepos/mf-common";
|
|
7
|
+
import { _ as Qt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DskF3Ejf.js";
|
|
8
|
+
import { u as Gt, a as Jt, b as Zt, c as Wt, d as en, e as tn } from "./index-BsZo4pgH.js";
|
|
9
|
+
import { b as nn, d as on, s as sn, r as an, c as At, u as ht } from "./xlsx.util-aaZMR32z.js";
|
|
10
|
+
import { F as Xe } from "./FmDroppableField-J0tG_U3w.js";
|
|
11
|
+
import { f as $e, a as Ye } from "./date2-Ei37LliT.js";
|
|
12
|
+
import { u as ve, a as Ee } from "./netsuite-BrNpmVj4.js";
|
|
13
|
+
import { b as ln, a as rn } from "./FmMultiselectDialog-CyIIUY_-.js";
|
|
14
|
+
import { R as un } from "./rules-BYehRjzh.js";
|
|
15
|
+
import { P as xt, J as It, D as St } from "./app-C39bYJmq.js";
|
|
16
|
+
import { u as dn } from "./supplier-DKkmWDC8.js";
|
|
17
|
+
import { u as Te } from "./vue-i18n-BYe477BY.js";
|
|
18
|
+
import { _ as cn, a as mn } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-B19Lrgpy.js";
|
|
19
|
+
import { a as pn } from "./number-BjVCPgeg.js";
|
|
20
|
+
import { F as Qe } from "./FmAdminBadge-DlplQOHb.js";
|
|
21
|
+
import { i as it, _ as fn } from "./FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-Dh2QQzUU.js";
|
|
22
|
+
import { _ as rt } from "./JsonViewer.vue_vue_type_script_setup_true_lang-ig2zSXAB.js";
|
|
23
|
+
import { u as wt } from "./feature-DNPvkSld.js";
|
|
24
|
+
const vn = "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";
|
|
25
|
+
var Ct = { exports: {} };
|
|
25
26
|
(function(k, b) {
|
|
26
27
|
(function() {
|
|
27
28
|
var e = {};
|
|
@@ -55,13 +56,13 @@ var xt = { exports: {} };
|
|
|
55
56
|
}));
|
|
56
57
|
};
|
|
57
58
|
})();
|
|
58
|
-
})(
|
|
59
|
-
var
|
|
60
|
-
const
|
|
61
|
-
function
|
|
62
|
-
return
|
|
59
|
+
})(Ct);
|
|
60
|
+
var gn = Ct.exports;
|
|
61
|
+
const kt = /* @__PURE__ */ qt(gn);
|
|
62
|
+
function ut(k, b) {
|
|
63
|
+
return kt.filter(k, b).length > 0;
|
|
63
64
|
}
|
|
64
|
-
function
|
|
65
|
+
function yn(k, b) {
|
|
65
66
|
if (!k)
|
|
66
67
|
return {
|
|
67
68
|
label: b,
|
|
@@ -73,7 +74,7 @@ function pn(k, b) {
|
|
|
73
74
|
],
|
|
74
75
|
matched: !1
|
|
75
76
|
};
|
|
76
|
-
const [e] =
|
|
77
|
+
const [e] = kt.filter(k.toLocaleLowerCase(), [b], {
|
|
77
78
|
pre: "|",
|
|
78
79
|
post: "|"
|
|
79
80
|
});
|
|
@@ -97,18 +98,18 @@ function pn(k, b) {
|
|
|
97
98
|
function ue(k) {
|
|
98
99
|
return Object.prototype.hasOwnProperty.call(k, "children");
|
|
99
100
|
}
|
|
100
|
-
const
|
|
101
|
+
const bn = { class: "flex flex-col gap-12 h-[350px]" }, An = { class: "flex items-center" }, hn = {
|
|
101
102
|
class: "flex-1",
|
|
102
103
|
"data-cy": "items-selected"
|
|
103
|
-
},
|
|
104
|
+
}, xn = {
|
|
104
105
|
class: "flex-1",
|
|
105
106
|
"data-cy": "filter-field"
|
|
106
|
-
},
|
|
107
|
+
}, In = ["data-cy"], Sn = { class: "flex flex-col" }, wn = { class: "fm-typo-en-body-md-400" }, Cn = {
|
|
107
108
|
key: 1,
|
|
108
109
|
class: "w-full py-16 text-fm-color-typo-disabled fm-typo-en-body-md-400 text-center"
|
|
109
|
-
},
|
|
110
|
+
}, Ge = /* @__PURE__ */ Q({
|
|
110
111
|
__name: "FmNestedMultiselectDialog",
|
|
111
|
-
props: /* @__PURE__ */
|
|
112
|
+
props: /* @__PURE__ */ Ut({
|
|
112
113
|
modelValue: {}
|
|
113
114
|
}, {
|
|
114
115
|
modelValue: {},
|
|
@@ -116,13 +117,13 @@ const fn = { class: "flex flex-col gap-12 h-[350px]" }, vn = { class: "flex item
|
|
|
116
117
|
}),
|
|
117
118
|
emits: ["update:modelValue"],
|
|
118
119
|
setup(k) {
|
|
119
|
-
const b =
|
|
120
|
-
|
|
120
|
+
const b = ft(k, "modelValue"), e = bt();
|
|
121
|
+
ke(() => {
|
|
121
122
|
e.emitData(b.value);
|
|
122
123
|
});
|
|
123
124
|
const v = R(""), { t } = oe();
|
|
124
125
|
function d(n) {
|
|
125
|
-
return
|
|
126
|
+
return ut(
|
|
126
127
|
v.value,
|
|
127
128
|
n.sublabel ? [n.label, n.sublabel] : [n.label]
|
|
128
129
|
);
|
|
@@ -137,7 +138,7 @@ const fn = { class: "flex flex-col gap-12 h-[350px]" }, vn = { class: "flex item
|
|
|
137
138
|
if (typeof x != "number")
|
|
138
139
|
return !1;
|
|
139
140
|
const j = r[x];
|
|
140
|
-
return
|
|
141
|
+
return ut(
|
|
141
142
|
v.value,
|
|
142
143
|
j.sublabel ? [j.label, j.sublabel] : [j.label]
|
|
143
144
|
) ? !0 : L.length === 0 ? u(j) : ue(j) ? l(L, j.children) : !1;
|
|
@@ -145,7 +146,7 @@ const fn = { class: "flex flex-col gap-12 h-[350px]" }, vn = { class: "flex item
|
|
|
145
146
|
function h(n, r, x = 0, L = !1) {
|
|
146
147
|
if (ue(n) && n.children.length) {
|
|
147
148
|
const { children: j, ...q } = n, M = j.flatMap(
|
|
148
|
-
(P,
|
|
149
|
+
(P, $) => h(P, [...r, $], x + 1, L || n.disabled)
|
|
149
150
|
);
|
|
150
151
|
return [
|
|
151
152
|
{
|
|
@@ -168,7 +169,7 @@ const fn = { class: "flex flex-col gap-12 h-[350px]" }, vn = { class: "flex item
|
|
|
168
169
|
}
|
|
169
170
|
];
|
|
170
171
|
}
|
|
171
|
-
const A =
|
|
172
|
+
const A = U(() => b.value.flatMap(
|
|
172
173
|
(n, r) => h(n, [r]).filter((x) => l(x.keys, b.value))
|
|
173
174
|
));
|
|
174
175
|
function c(n) {
|
|
@@ -213,7 +214,7 @@ const fn = { class: "flex flex-col gap-12 h-[350px]" }, vn = { class: "flex item
|
|
|
213
214
|
const x = d(n) ? n.children : n.children.filter(u);
|
|
214
215
|
return {
|
|
215
216
|
...n,
|
|
216
|
-
children: n.children.map((L) => x.find((q) =>
|
|
217
|
+
children: n.children.map((L) => x.find((q) => Xt(q.value, L.value)) ? C(L, r) : L)
|
|
217
218
|
};
|
|
218
219
|
}
|
|
219
220
|
return {
|
|
@@ -248,7 +249,7 @@ const fn = { class: "flex flex-col gap-12 h-[350px]" }, vn = { class: "flex item
|
|
|
248
249
|
const r = n.join();
|
|
249
250
|
return w.value.find((x) => r.startsWith(x) && r !== x);
|
|
250
251
|
}
|
|
251
|
-
const g =
|
|
252
|
+
const g = U(
|
|
252
253
|
() => A.value.filter((n) => l(n.keys, b.value) && n.active).length
|
|
253
254
|
);
|
|
254
255
|
function i(n, r, x) {
|
|
@@ -256,10 +257,10 @@ const fn = { class: "flex flex-col gap-12 h-[350px]" }, vn = { class: "flex item
|
|
|
256
257
|
}
|
|
257
258
|
return (n, r) => {
|
|
258
259
|
const x = V("FmSearch"), L = V("FmCheckbox"), j = V("FmButton"), q = V("FmListItem"), M = V("FmList");
|
|
259
|
-
return S(), D("div",
|
|
260
|
-
s("div",
|
|
261
|
-
s("div",
|
|
262
|
-
s("div",
|
|
260
|
+
return S(), D("div", bn, [
|
|
261
|
+
s("div", An, [
|
|
262
|
+
s("div", hn, E(_(t)("inventory.formField.itemsSelected", { count: g.value })), 1),
|
|
263
|
+
s("div", xn, [
|
|
263
264
|
I(x, {
|
|
264
265
|
modelValue: v.value,
|
|
265
266
|
"onUpdate:modelValue": r[0] || (r[0] = (P) => v.value = P),
|
|
@@ -283,22 +284,22 @@ const fn = { class: "flex flex-col gap-12 h-[350px]" }, vn = { class: "flex item
|
|
|
283
284
|
I(q, {
|
|
284
285
|
clickable: P.selectable !== !1,
|
|
285
286
|
onClick: () => P.selectable === !1 || P.disabled || i(P.keys, b.value, !m(P.keys, b.value)),
|
|
286
|
-
style:
|
|
287
|
+
style: zt({
|
|
287
288
|
paddingLeft: `${16 + P.indent * 16}px`,
|
|
288
289
|
paddingTop: "4px",
|
|
289
290
|
paddingBottom: "4px"
|
|
290
291
|
}),
|
|
291
292
|
disabled: P.selectable !== !1 && P.disabled
|
|
292
|
-
},
|
|
293
|
+
}, Ae({
|
|
293
294
|
default: O(() => [
|
|
294
|
-
s("div",
|
|
295
|
-
s("div",
|
|
296
|
-
(S(!0), D(Z, null, ae(_(
|
|
295
|
+
s("div", Sn, [
|
|
296
|
+
s("div", wn, [
|
|
297
|
+
(S(!0), D(Z, null, ae(_(yn)(v.value, P.label).segments, ($, se) => (S(), D("span", {
|
|
297
298
|
key: se,
|
|
298
299
|
class: te({
|
|
299
|
-
"font-bold":
|
|
300
|
+
"font-bold": $.isMatch
|
|
300
301
|
})
|
|
301
|
-
}, E(
|
|
302
|
+
}, E($.segment), 3))), 128))
|
|
302
303
|
]),
|
|
303
304
|
P.sublabel ? (S(), D("div", {
|
|
304
305
|
key: 0,
|
|
@@ -330,26 +331,26 @@ const fn = { class: "flex flex-col gap-12 h-[350px]" }, vn = { class: "flex item
|
|
|
330
331
|
"prepend-icon": o(P.keys) ? "expand_less" : "expand_more",
|
|
331
332
|
size: "md",
|
|
332
333
|
variant: "tertiary",
|
|
333
|
-
onClick:
|
|
334
|
+
onClick: jt(() => a(P.keys), ["stop"])
|
|
334
335
|
}, null, 8, ["prepend-icon", "onClick"])
|
|
335
336
|
]),
|
|
336
337
|
key: "1"
|
|
337
338
|
} : void 0
|
|
338
339
|
]), 1032, ["clickable", "onClick", "style", "disabled"])
|
|
339
|
-
], 10,
|
|
340
|
+
], 10, In))), 128))
|
|
340
341
|
]),
|
|
341
342
|
_: 1
|
|
342
|
-
})) : (S(), D("div",
|
|
343
|
+
})) : (S(), D("div", Cn, E(_(t)("inventory.formField.noItemsFound")), 1))
|
|
343
344
|
]);
|
|
344
345
|
};
|
|
345
346
|
}
|
|
346
|
-
}),
|
|
347
|
+
}), kn = { class: "flex flex-col rounded border border-fm-color-neutral-gray-100 px-5 py-5 gap-5" }, _n = { class: "flex items-center" }, Fn = { class: "text-lg font-bold flex-grow" }, Bn = {
|
|
347
348
|
key: 0,
|
|
348
349
|
class: "table-auto w-full"
|
|
349
|
-
},
|
|
350
|
+
}, Vn = { class: "text-left" }, En = { class: "min-w-64" }, Nn = { class: "flex flex-col" }, Dn = { class: "fm-typo-en-body-md-400" }, Ln = {
|
|
350
351
|
key: 0,
|
|
351
352
|
class: "fm-typo-en-body-sm-400 text-fm-color-neutral-gray-400"
|
|
352
|
-
},
|
|
353
|
+
}, Tn = { class: "w-1" }, Rn = /* @__PURE__ */ Q({
|
|
353
354
|
__name: "ApplyAddon",
|
|
354
355
|
props: {
|
|
355
356
|
groups: {
|
|
@@ -370,7 +371,7 @@ const fn = { class: "flex flex-col gap-12 h-[350px]" }, vn = { class: "flex item
|
|
|
370
371
|
},
|
|
371
372
|
emits: ["update:modifiers"],
|
|
372
373
|
setup(k, { emit: b }) {
|
|
373
|
-
const e = k, v = b, t =
|
|
374
|
+
const e = k, v = b, t = Fe(), d = U(() => {
|
|
374
375
|
const m = e.groups.flatMap((y) => y.items.map((p) => {
|
|
375
376
|
const C = e.items.find((F) => F._id === p._id);
|
|
376
377
|
return {
|
|
@@ -387,7 +388,7 @@ const fn = { class: "flex flex-col gap-12 h-[350px]" }, vn = { class: "flex item
|
|
|
387
388
|
groupName: F
|
|
388
389
|
};
|
|
389
390
|
});
|
|
390
|
-
}), u =
|
|
391
|
+
}), u = U(() => e.groups.flatMap((m) => m.items.map((y) => ({ ...y, groupId: m._id }))));
|
|
391
392
|
function l({ selection: m }) {
|
|
392
393
|
v(
|
|
393
394
|
"update:modifiers",
|
|
@@ -429,7 +430,7 @@ const fn = { class: "flex flex-col gap-12 h-[350px]" }, vn = { class: "flex item
|
|
|
429
430
|
};
|
|
430
431
|
t.open({
|
|
431
432
|
title: "Select Addons",
|
|
432
|
-
contentComponent:
|
|
433
|
+
contentComponent: Ge,
|
|
433
434
|
contentComponentProps: y,
|
|
434
435
|
primaryActions: {
|
|
435
436
|
text: "Confirm",
|
|
@@ -460,9 +461,9 @@ const fn = { class: "flex flex-col gap-12 h-[350px]" }, vn = { class: "flex item
|
|
|
460
461
|
const { t: c } = oe();
|
|
461
462
|
return (m, y) => {
|
|
462
463
|
const p = V("FmButton"), C = V("FmTextField");
|
|
463
|
-
return S(), D("div",
|
|
464
|
-
s("div",
|
|
465
|
-
s("div",
|
|
464
|
+
return S(), D("div", kn, [
|
|
465
|
+
s("div", _n, [
|
|
466
|
+
s("div", Fn, E(_(c)("inventory.integration.apply.addons")), 1),
|
|
466
467
|
I(p, {
|
|
467
468
|
type: "button",
|
|
468
469
|
variant: "plain",
|
|
@@ -473,9 +474,9 @@ const fn = { class: "flex flex-col gap-12 h-[350px]" }, vn = { class: "flex item
|
|
|
473
474
|
}, null, 8, ["label"])
|
|
474
475
|
]),
|
|
475
476
|
s("div", null, [
|
|
476
|
-
d.value.length > 0 ? (S(), D("table",
|
|
477
|
-
s("tr",
|
|
478
|
-
s("th",
|
|
477
|
+
d.value.length > 0 ? (S(), D("table", Bn, [
|
|
478
|
+
s("tr", Vn, [
|
|
479
|
+
s("th", En, E(_(c)("inventory.integration.apply.name")), 1),
|
|
479
480
|
s("th", null, E(_(c)("inventory.integration.apply.code")), 1),
|
|
480
481
|
y[1] || (y[1] = s("th", { class: "w-1" }, " ", -1))
|
|
481
482
|
]),
|
|
@@ -483,9 +484,9 @@ const fn = { class: "flex flex-col gap-12 h-[350px]" }, vn = { class: "flex item
|
|
|
483
484
|
y[2] || (y[2] = s("tr", { class: "block h-8" }, null, -1)),
|
|
484
485
|
s("tr", null, [
|
|
485
486
|
s("td", null, [
|
|
486
|
-
s("div",
|
|
487
|
-
s("div",
|
|
488
|
-
F.groupName ? (S(), D("div",
|
|
487
|
+
s("div", Nn, [
|
|
488
|
+
s("div", Dn, E(F.name), 1),
|
|
489
|
+
F.groupName ? (S(), D("div", Ln, E(F.groupName), 1)) : K("", !0)
|
|
489
490
|
])
|
|
490
491
|
]),
|
|
491
492
|
s("td", null, [
|
|
@@ -500,7 +501,7 @@ const fn = { class: "flex flex-col gap-12 h-[350px]" }, vn = { class: "flex item
|
|
|
500
501
|
]
|
|
501
502
|
}, null, 8, ["disabled", "model-value", "onUpdate:modelValue", "rules"])
|
|
502
503
|
]),
|
|
503
|
-
s("td",
|
|
504
|
+
s("td", Tn, [
|
|
504
505
|
I(p, {
|
|
505
506
|
disabled: k.loading,
|
|
506
507
|
type: "button",
|
|
@@ -519,14 +520,14 @@ const fn = { class: "flex flex-col gap-12 h-[350px]" }, vn = { class: "flex item
|
|
|
519
520
|
};
|
|
520
521
|
}
|
|
521
522
|
});
|
|
522
|
-
function
|
|
523
|
+
function Je(k, b = []) {
|
|
523
524
|
const e = b.map((t) => k.find((d) => d._id === t)).filter((t) => !!t);
|
|
524
|
-
return
|
|
525
|
+
return Mn(e).reduce((t, d) => (t[d.combinationKey] = d.selectionName.join(", "), t), {});
|
|
525
526
|
}
|
|
526
|
-
function
|
|
527
|
+
function _t(k, b, e) {
|
|
527
528
|
const v = e.reduce((d, u) => {
|
|
528
529
|
var c, m, y;
|
|
529
|
-
const l = u.category || "", h =
|
|
530
|
+
const l = u.category || "", h = Je(b, (c = u.variant) == null ? void 0 : c.variantGroupIds), A = {
|
|
530
531
|
...u,
|
|
531
532
|
codeName: [u.code, u.name].filter((p) => !!p).join(" "),
|
|
532
533
|
variant: {
|
|
@@ -552,13 +553,13 @@ function St(k, b, e) {
|
|
|
552
553
|
items: v[d._id || ""] || []
|
|
553
554
|
}));
|
|
554
555
|
}
|
|
555
|
-
function
|
|
556
|
+
function Ft(k, b) {
|
|
556
557
|
if (k.length == 1)
|
|
557
558
|
return k[0];
|
|
558
|
-
const e = k[0], v = k.slice(1, k.length), t =
|
|
559
|
+
const e = k[0], v = k.slice(1, k.length), t = Ft(v, b);
|
|
559
560
|
return e.reduce((u, l) => [...u, ...t.map((h) => b(l, h))], new Array());
|
|
560
561
|
}
|
|
561
|
-
function
|
|
562
|
+
function Mn(k) {
|
|
562
563
|
if (k.length === 0) return [];
|
|
563
564
|
const b = k.map(
|
|
564
565
|
(v) => (v.options ?? []).map(
|
|
@@ -568,7 +569,7 @@ function Dn(k) {
|
|
|
568
569
|
})
|
|
569
570
|
)
|
|
570
571
|
);
|
|
571
|
-
return
|
|
572
|
+
return Ft(b, (v, t) => ({
|
|
572
573
|
combinationKey: [...v.combinationKey, ...t.combinationKey],
|
|
573
574
|
selectionName: [...v.selectionName, ...t.selectionName]
|
|
574
575
|
})).map((v) => {
|
|
@@ -580,13 +581,13 @@ function Dn(k) {
|
|
|
580
581
|
};
|
|
581
582
|
});
|
|
582
583
|
}
|
|
583
|
-
const
|
|
584
|
+
const On = { class: "flex flex-col rounded border border-fm-color-neutral-gray-100 px-5 py-5 gap-5 mb-3" }, Un = { class: "flex items-center" }, zn = { class: "text-lg font-bold flex-grow" }, jn = {
|
|
584
585
|
key: 0,
|
|
585
586
|
class: "table-auto w-full"
|
|
586
|
-
},
|
|
587
|
+
}, Pn = { class: "text-left" }, Kn = { class: "min-w-64" }, Hn = { class: "flex flex-col" }, qn = { class: "fm-typo-en-body-md-400" }, Xn = {
|
|
587
588
|
key: 0,
|
|
588
589
|
class: "fm-typo-en-body-sm-400 text-fm-color-neutral-gray-400"
|
|
589
|
-
},
|
|
590
|
+
}, $n = { class: "w-1" }, je = /* @__PURE__ */ Q({
|
|
590
591
|
__name: "ApplyProduct",
|
|
591
592
|
props: {
|
|
592
593
|
isAddon: {
|
|
@@ -612,9 +613,9 @@ const Ln = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
612
613
|
},
|
|
613
614
|
emits: ["update:bindings"],
|
|
614
615
|
setup(k, { emit: b }) {
|
|
615
|
-
const e = k, v = b, t =
|
|
616
|
-
() =>
|
|
617
|
-
), h =
|
|
616
|
+
const e = k, v = b, t = Fe(), d = U(() => e.isAddon ? "Addons" : "Products"), u = U(() => e.isAddon ? [] : e.categories), l = U(
|
|
617
|
+
() => _t(u.value, e.variants, e.menus)
|
|
618
|
+
), h = U(() => {
|
|
618
619
|
if (e.isAddon)
|
|
619
620
|
return e.bindings.map((a) => {
|
|
620
621
|
const f = e.menus.find((i) => i._id === a.productId), g = (f == null ? void 0 : f.name) ?? "-";
|
|
@@ -763,7 +764,7 @@ const Ln = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
763
764
|
};
|
|
764
765
|
t.open({
|
|
765
766
|
title: `Select ${d.value}`,
|
|
766
|
-
contentComponent:
|
|
767
|
+
contentComponent: Ge,
|
|
767
768
|
contentComponentProps: a,
|
|
768
769
|
primaryActions: {
|
|
769
770
|
text: "Confirm",
|
|
@@ -777,9 +778,9 @@ const Ln = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
777
778
|
const { t: w } = oe();
|
|
778
779
|
return (o, a) => {
|
|
779
780
|
const f = V("FmButton"), g = V("FmTextField");
|
|
780
|
-
return S(), D("div",
|
|
781
|
-
s("div",
|
|
782
|
-
s("div",
|
|
781
|
+
return S(), D("div", On, [
|
|
782
|
+
s("div", Un, [
|
|
783
|
+
s("div", zn, E(k.isAddon ? _(w)("inventory.integration.apply.addons") : _(w)("inventory.integration.apply.products")), 1),
|
|
783
784
|
I(f, {
|
|
784
785
|
type: "button",
|
|
785
786
|
variant: "plain",
|
|
@@ -790,10 +791,10 @@ const Ln = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
790
791
|
}, null, 8, ["label"])
|
|
791
792
|
]),
|
|
792
793
|
s("div", null, [
|
|
793
|
-
h.value.length > 0 ? (S(), D("table",
|
|
794
|
+
h.value.length > 0 ? (S(), D("table", jn, [
|
|
794
795
|
s("thead", null, [
|
|
795
|
-
s("tr",
|
|
796
|
-
s("th",
|
|
796
|
+
s("tr", Pn, [
|
|
797
|
+
s("th", Kn, E(_(w)("inventory.integration.apply.name")), 1),
|
|
797
798
|
s("th", null, E(_(w)("inventory.integration.apply.code")), 1),
|
|
798
799
|
a[1] || (a[1] = s("th", { class: "w-1" }, " ", -1))
|
|
799
800
|
])
|
|
@@ -803,9 +804,9 @@ const Ln = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
803
804
|
a[2] || (a[2] = s("tr", { class: "block h-8" }, null, -1)),
|
|
804
805
|
s("tr", null, [
|
|
805
806
|
s("td", null, [
|
|
806
|
-
s("div",
|
|
807
|
-
s("div",
|
|
808
|
-
i.variantName ? (S(), D("div",
|
|
807
|
+
s("div", Hn, [
|
|
808
|
+
s("div", qn, E(i.itemCode) + " " + E(i.name), 1),
|
|
809
|
+
i.variantName ? (S(), D("div", Xn, E(i.variantName), 1)) : K("", !0)
|
|
809
810
|
])
|
|
810
811
|
]),
|
|
811
812
|
s("td", null, [
|
|
@@ -819,7 +820,7 @@ const Ln = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
819
820
|
]
|
|
820
821
|
}, null, 8, ["model-value", "onUpdate:modelValue", "rules"])
|
|
821
822
|
]),
|
|
822
|
-
s("td",
|
|
823
|
+
s("td", $n, [
|
|
823
824
|
I(f, {
|
|
824
825
|
type: "button",
|
|
825
826
|
variant: "tertiary",
|
|
@@ -837,7 +838,7 @@ const Ln = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
837
838
|
]);
|
|
838
839
|
};
|
|
839
840
|
}
|
|
840
|
-
}),
|
|
841
|
+
}), Yn = { class: "flex flex-col gap-8 w-full" }, Qn = /* @__PURE__ */ Q({
|
|
841
842
|
__name: "ApplyProductDialog",
|
|
842
843
|
props: {
|
|
843
844
|
categories: { default: () => [] },
|
|
@@ -850,13 +851,13 @@ const Ln = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
850
851
|
},
|
|
851
852
|
emits: ["update:setting", "update:show", "submit"],
|
|
852
853
|
setup(k, { emit: b }) {
|
|
853
|
-
const e = k, v = b, t =
|
|
854
|
-
|
|
854
|
+
const e = k, v = b, t = Ke(de(e.setting));
|
|
855
|
+
we([() => e.show], ([c]) => {
|
|
855
856
|
if (c)
|
|
856
857
|
for (const m of Object.keys(e.setting))
|
|
857
858
|
t[m] = e.setting[m];
|
|
858
859
|
});
|
|
859
|
-
const d = R(), u =
|
|
860
|
+
const d = R(), u = Se(e, "show");
|
|
860
861
|
function l() {
|
|
861
862
|
var c, m;
|
|
862
863
|
(m = (c = d.value) == null ? void 0 : c.validateInputs) == null || m.call(c);
|
|
@@ -869,14 +870,14 @@ const Ln = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
869
870
|
const y = V("FmChip"), p = V("FmForm"), C = V("FmButton"), F = V("FmSideSheet");
|
|
870
871
|
return S(), H(F, {
|
|
871
872
|
modelValue: _(u),
|
|
872
|
-
"onUpdate:modelValue": m[4] || (m[4] = (w) =>
|
|
873
|
+
"onUpdate:modelValue": m[4] || (m[4] = (w) => Ie(u) ? u.value = w : null),
|
|
873
874
|
header: _(A)("inventory.integration.apply.title"),
|
|
874
875
|
"dismiss-away": "",
|
|
875
876
|
"close-button": "",
|
|
876
877
|
"max-width": 500
|
|
877
878
|
}, {
|
|
878
879
|
default: O(() => [
|
|
879
|
-
s("div",
|
|
880
|
+
s("div", Yn, [
|
|
880
881
|
s("div", null, [
|
|
881
882
|
I(y, { label: "Menu v3" })
|
|
882
883
|
]),
|
|
@@ -886,14 +887,14 @@ const Ln = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
886
887
|
onValidationSuccess: m[2] || (m[2] = (w) => h())
|
|
887
888
|
}, {
|
|
888
889
|
default: O(() => [
|
|
889
|
-
I(
|
|
890
|
+
I(je, {
|
|
890
891
|
bindings: t.bindings,
|
|
891
892
|
categories: c.categories,
|
|
892
893
|
variants: c.variants,
|
|
893
894
|
menus: c.menus,
|
|
894
895
|
"onUpdate:bindings": m[0] || (m[0] = (w) => t.bindings = w)
|
|
895
896
|
}, null, 8, ["bindings", "categories", "variants", "menus"]),
|
|
896
|
-
I(
|
|
897
|
+
I(Rn, {
|
|
897
898
|
form: d.value,
|
|
898
899
|
modifiers: t.modifiers ?? [],
|
|
899
900
|
groups: c.groups ?? [],
|
|
@@ -917,7 +918,7 @@ const Ln = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
917
918
|
}, 8, ["modelValue", "header"]);
|
|
918
919
|
};
|
|
919
920
|
}
|
|
920
|
-
}),
|
|
921
|
+
}), Gn = ["Product ID", "Menu Item Code", "Name", "Category"], Jn = ["Variant Name", "Variant Key"], be = {
|
|
921
922
|
productId: ["productid"],
|
|
922
923
|
menuItemCode: ["menuitemcode", "ordercode"],
|
|
923
924
|
// header is now "Name"; keep "menuitemname" for older sheets
|
|
@@ -926,37 +927,37 @@ const Ln = { class: "flex flex-col rounded border border-fm-color-neutral-gray-1
|
|
|
926
927
|
variantName: ["variantname"],
|
|
927
928
|
variantKey: ["variantkey", "variant", "combinationkey"]
|
|
928
929
|
};
|
|
929
|
-
function
|
|
930
|
+
function dt(k) {
|
|
930
931
|
return (k ?? "").replace(/^\uFEFF/, "").toLowerCase().replace(/[^a-z0-9]/g, "");
|
|
931
932
|
}
|
|
932
|
-
function
|
|
933
|
+
function Pe(k) {
|
|
933
934
|
return (k ?? "").replace(/^\uFEFF/, "").trim().replace(/\s+/g, " ");
|
|
934
935
|
}
|
|
935
|
-
function
|
|
936
|
+
function Ce(k, b) {
|
|
936
937
|
return `${k}::${b ?? ""}`;
|
|
937
938
|
}
|
|
938
|
-
function
|
|
939
|
-
const e =
|
|
939
|
+
function Zn(k, b) {
|
|
940
|
+
const e = sn(k);
|
|
940
941
|
if (!e.length)
|
|
941
942
|
throw new Error("The file is empty.");
|
|
942
943
|
const v = [
|
|
943
|
-
...
|
|
944
|
-
...
|
|
945
|
-
...
|
|
944
|
+
...be.productId,
|
|
945
|
+
...be.menuItemCode,
|
|
946
|
+
...be.menuItemName
|
|
946
947
|
], t = e.findIndex(
|
|
947
|
-
(m) => m.some((y) => v.includes(
|
|
948
|
+
(m) => m.some((y) => v.includes(dt(y)))
|
|
948
949
|
);
|
|
949
950
|
if (t < 0)
|
|
950
951
|
throw new Error(
|
|
951
952
|
'Missing required headers. Could not find a "Product ID", "Menu Item Code" or "Name" column.'
|
|
952
953
|
);
|
|
953
|
-
const d = e[t].map(
|
|
954
|
-
productId: u(
|
|
955
|
-
menuItemCode: u(
|
|
956
|
-
menuItemName: u(
|
|
957
|
-
category: u(
|
|
958
|
-
variantName: u(
|
|
959
|
-
variantKey: u(
|
|
954
|
+
const d = e[t].map(dt), u = (m) => d.findIndex((y) => m.includes(y)), l = {
|
|
955
|
+
productId: u(be.productId),
|
|
956
|
+
menuItemCode: u(be.menuItemCode),
|
|
957
|
+
menuItemName: u(be.menuItemName),
|
|
958
|
+
category: u(be.category),
|
|
959
|
+
variantName: u(be.variantName),
|
|
960
|
+
variantKey: u(be.variantKey)
|
|
960
961
|
}, h = b.valueColumns.map((m) => ({
|
|
961
962
|
col: m,
|
|
962
963
|
index: u(m.aliases)
|
|
@@ -984,7 +985,7 @@ function Yn(k, b) {
|
|
|
984
985
|
(m) => m.productId || m.menuItemCode || m.menuItemName || Object.values(m.values).some((y) => y)
|
|
985
986
|
);
|
|
986
987
|
}
|
|
987
|
-
function
|
|
988
|
+
function Wn(k, b = []) {
|
|
988
989
|
var l, h;
|
|
989
990
|
const e = /* @__PURE__ */ new Map(), v = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Map(), d = (A, c, m) => {
|
|
990
991
|
const y = A.get(c) ?? [];
|
|
@@ -994,7 +995,7 @@ function Jn(k, b = []) {
|
|
|
994
995
|
m && d(v, m, c);
|
|
995
996
|
};
|
|
996
997
|
for (const A of k) {
|
|
997
|
-
const c = !A.category, m = ((l = A.variant) == null ? void 0 : l.variantCombinations) ?? [], y =
|
|
998
|
+
const c = !A.category, m = ((l = A.variant) == null ? void 0 : l.variantCombinations) ?? [], y = Je(b, (h = A.variant) == null ? void 0 : h.variantGroupIds), p = /* @__PURE__ */ new Set(), C = /* @__PURE__ */ new Map();
|
|
998
999
|
for (const o of m) {
|
|
999
1000
|
const a = o.combinationKey ?? "";
|
|
1000
1001
|
a && (p.add(a), C.set(a, (o.name || y[a] || "").trim()));
|
|
@@ -1007,17 +1008,17 @@ function Jn(k, b = []) {
|
|
|
1007
1008
|
combinationNames: C
|
|
1008
1009
|
};
|
|
1009
1010
|
e.set(A._id, F), u(A.code, F);
|
|
1010
|
-
const w =
|
|
1011
|
+
const w = Pe(A.name);
|
|
1011
1012
|
w && d(t, w, F);
|
|
1012
1013
|
}
|
|
1013
1014
|
return { byProductId: e, byCode: v, byName: t };
|
|
1014
1015
|
}
|
|
1015
|
-
function
|
|
1016
|
-
const t = (c) => c.productId || c.menuItemCode ||
|
|
1016
|
+
function eo(k, b, e, v) {
|
|
1017
|
+
const t = (c) => c.productId || c.menuItemCode || Pe(c.menuItemName), d = (c) => `${t(c)}::${c.variantKey}`, u = /* @__PURE__ */ new Map();
|
|
1017
1018
|
for (const c of k)
|
|
1018
1019
|
t(c) && u.set(d(c), (u.get(d(c)) ?? 0) + 1);
|
|
1019
1020
|
const l = new Set(
|
|
1020
|
-
e.map((c) =>
|
|
1021
|
+
e.map((c) => Ce(c.productId, c.combinationKey))
|
|
1021
1022
|
), h = v.valueColumns.filter((c) => c.required);
|
|
1022
1023
|
return { invalidExcel: !1, rows: k.map((c, m) => {
|
|
1023
1024
|
var r, x;
|
|
@@ -1045,7 +1046,7 @@ function Qn(k, b, e, v) {
|
|
|
1045
1046
|
if (c.productId) {
|
|
1046
1047
|
const L = b.byProductId.get(c.productId);
|
|
1047
1048
|
p = L ? [L] : [], C = `Product ID "${c.productId}"`;
|
|
1048
|
-
} else c.menuItemCode ? (p = b.byCode.get(c.menuItemCode) ?? [], C = `code "${c.menuItemCode}"`) : (p = b.byName.get(
|
|
1049
|
+
} else c.menuItemCode ? (p = b.byCode.get(c.menuItemCode) ?? [], C = `code "${c.menuItemCode}"`) : (p = b.byName.get(Pe(c.menuItemName)) ?? [], C = `name "${c.menuItemName}"`);
|
|
1049
1050
|
if (p.length === 0)
|
|
1050
1051
|
return { ...y, status: "NOT_FOUND", errors: [`No menu item found for ${C}.`] };
|
|
1051
1052
|
let F, w;
|
|
@@ -1078,25 +1079,25 @@ function Qn(k, b, e, v) {
|
|
|
1078
1079
|
productId: o.productId,
|
|
1079
1080
|
combinationKey: F,
|
|
1080
1081
|
values: c.values
|
|
1081
|
-
}), n = l.has(
|
|
1082
|
+
}), n = l.has(Ce(o.productId, F)) ? "OVERRIDE" : "NEW";
|
|
1082
1083
|
return { ...y, status: n, binding: i, ...f };
|
|
1083
1084
|
}) };
|
|
1084
1085
|
}
|
|
1085
|
-
function
|
|
1086
|
+
function to(k, b, e, v, t) {
|
|
1086
1087
|
let d;
|
|
1087
1088
|
try {
|
|
1088
|
-
d =
|
|
1089
|
+
d = Zn(k, t);
|
|
1089
1090
|
} catch (u) {
|
|
1090
1091
|
return { invalidExcel: !0, invalidExcelMessage: (u == null ? void 0 : u.message) ?? "Invalid file.", rows: [] };
|
|
1091
1092
|
}
|
|
1092
|
-
return
|
|
1093
|
+
return eo(d, Wn(b, v), e, t);
|
|
1093
1094
|
}
|
|
1094
|
-
function
|
|
1095
|
+
function Be(k) {
|
|
1095
1096
|
return k.rows.filter(
|
|
1096
1097
|
(b) => (b.status === "NEW" || b.status === "OVERRIDE") && !b.errors.length && !!b.binding
|
|
1097
1098
|
).map((b) => b.binding);
|
|
1098
1099
|
}
|
|
1099
|
-
function
|
|
1100
|
+
function Bt(k) {
|
|
1100
1101
|
const b = (e) => k.rows.filter((v) => v.status === e).length;
|
|
1101
1102
|
return {
|
|
1102
1103
|
new: b("NEW"),
|
|
@@ -1108,23 +1109,23 @@ function Ct(k) {
|
|
|
1108
1109
|
withErrors: k.rows.filter((e) => e.errors.length).length
|
|
1109
1110
|
};
|
|
1110
1111
|
}
|
|
1111
|
-
function
|
|
1112
|
-
const e = new Set(b.map((t) =>
|
|
1113
|
-
return [...k.filter((t) => !e.has(
|
|
1112
|
+
function Vt(k, b) {
|
|
1113
|
+
const e = new Set(b.map((t) => Ce(t.productId, t.combinationKey)));
|
|
1114
|
+
return [...k.filter((t) => !e.has(Ce(t.productId, t.combinationKey))), ...b];
|
|
1114
1115
|
}
|
|
1115
|
-
function
|
|
1116
|
-
return [...
|
|
1116
|
+
function no(k) {
|
|
1117
|
+
return [...Gn, ...k.valueColumns.map((b) => b.header), ...Jn];
|
|
1117
1118
|
}
|
|
1118
|
-
function
|
|
1119
|
+
function oo(k, b, e, v, t) {
|
|
1119
1120
|
var m, y;
|
|
1120
1121
|
const d = /* @__PURE__ */ new Map();
|
|
1121
1122
|
for (const p of b)
|
|
1122
1123
|
p._id && d.set(p._id, p.name ?? "");
|
|
1123
1124
|
const u = /* @__PURE__ */ new Map();
|
|
1124
1125
|
for (const p of e)
|
|
1125
|
-
u.set(
|
|
1126
|
+
u.set(Ce(p.productId, p.combinationKey), p);
|
|
1126
1127
|
const l = /* @__PURE__ */ new Set(), h = [], A = (p) => {
|
|
1127
|
-
const C =
|
|
1128
|
+
const C = Ce(p.productId, p.combinationKey);
|
|
1128
1129
|
if (l.has(C)) return;
|
|
1129
1130
|
l.add(C);
|
|
1130
1131
|
const F = u.get(C), w = F ? t.readValues(F) : {};
|
|
@@ -1151,7 +1152,7 @@ function Wn(k, b, e, v, t) {
|
|
|
1151
1152
|
categoryLabel: F,
|
|
1152
1153
|
variantName: ""
|
|
1153
1154
|
});
|
|
1154
|
-
const o =
|
|
1155
|
+
const o = Je(v, (y = p.variant) == null ? void 0 : y.variantGroupIds);
|
|
1155
1156
|
for (const a of w) {
|
|
1156
1157
|
const f = (a.name || o[a.combinationKey ?? ""] || "").trim();
|
|
1157
1158
|
A({
|
|
@@ -1172,18 +1173,18 @@ function Wn(k, b, e, v, t) {
|
|
|
1172
1173
|
variantName: ""
|
|
1173
1174
|
});
|
|
1174
1175
|
}
|
|
1175
|
-
return { rows: [
|
|
1176
|
+
return { rows: [no(t), ...h] };
|
|
1176
1177
|
}
|
|
1177
|
-
function
|
|
1178
|
-
const { rows: u } =
|
|
1178
|
+
function Et(k, b, e, v, t, d) {
|
|
1179
|
+
const { rows: u } = oo(k, b, e, v, t), [l, ...h] = u, A = nn(h, l, `${t.key} Bindings`), c = A.Sheets[A.SheetNames[0]];
|
|
1179
1180
|
delete c["!cols"];
|
|
1180
|
-
const y = `${d ? `${d} ` : ""}${t.key}-bindings-template (${
|
|
1181
|
-
return
|
|
1181
|
+
const y = `${d ? `${d} ` : ""}${t.key}-bindings-template (${$e(/* @__PURE__ */ new Date())}).xlsx`;
|
|
1182
|
+
return on(A, y), { filename: y, itemCount: h.length };
|
|
1182
1183
|
}
|
|
1183
|
-
const
|
|
1184
|
+
const so = { class: "flex flex-col gap-24" }, ao = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, lo = { class: "flex flex-col flex-1 gap-4" }, io = { class: "fm-typo-en-body-md-600" }, ro = {
|
|
1184
1185
|
key: 0,
|
|
1185
1186
|
class: "flex flex-wrap gap-x-16 gap-y-4 fm-typo-en-body-sm-400"
|
|
1186
|
-
},
|
|
1187
|
+
}, uo = { class: "text-fm-color-system-success-400" }, co = { class: "text-fm-color-system-warning-400" }, mo = { class: "text-fm-color-typo-secondary" }, po = { class: "text-fm-color-typo-secondary" }, fo = { class: "text-fm-color-system-error-300" }, vo = { class: "text-fm-color-system-error-300" }, Nt = /* @__PURE__ */ Q({
|
|
1187
1188
|
__name: "ImportBindings",
|
|
1188
1189
|
props: {
|
|
1189
1190
|
config: {
|
|
@@ -1204,19 +1205,19 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1204
1205
|
}
|
|
1205
1206
|
},
|
|
1206
1207
|
setup(k) {
|
|
1207
|
-
const b = k, e =
|
|
1208
|
+
const b = k, e = bt(), { t: v } = oe(), t = R(null), d = R(!1), u = R(null), l = R(null), h = U(() => l.value ? Bt(l.value) : null), A = U(() => l.value ? Be(l.value).length : 0), c = U(() => !u.value && A.value > 0);
|
|
1208
1209
|
function m() {
|
|
1209
1210
|
e.emitData(c.value ? l.value : null);
|
|
1210
1211
|
}
|
|
1211
1212
|
async function y(p) {
|
|
1212
1213
|
u.value = null, l.value = null, d.value = !0;
|
|
1213
1214
|
try {
|
|
1214
|
-
const C = await
|
|
1215
|
+
const C = await an(p), F = C.SheetNames.find((o) => o);
|
|
1215
1216
|
if (!F) {
|
|
1216
1217
|
u.value = "The file has no sheets.", m();
|
|
1217
1218
|
return;
|
|
1218
1219
|
}
|
|
1219
|
-
const w =
|
|
1220
|
+
const w = to(
|
|
1220
1221
|
C.Sheets[F],
|
|
1221
1222
|
b.menus,
|
|
1222
1223
|
b.bindings,
|
|
@@ -1234,19 +1235,19 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1234
1235
|
d.value = !1;
|
|
1235
1236
|
}
|
|
1236
1237
|
}
|
|
1237
|
-
return
|
|
1238
|
+
return we(t, (p) => {
|
|
1238
1239
|
p && y(p);
|
|
1239
1240
|
}), (p, C) => {
|
|
1240
1241
|
const F = V("FmCircularProgress"), w = V("FmIcon"), o = V("FmButton");
|
|
1241
|
-
return S(), D("div",
|
|
1242
|
-
s("div",
|
|
1243
|
-
I(
|
|
1242
|
+
return S(), D("div", so, [
|
|
1243
|
+
s("div", ao, E(_(v)("inventory.integration.bindingImport.description")), 1),
|
|
1244
|
+
I(Xe, {
|
|
1244
1245
|
class: te({ "w-full": !0, "h-[200px]": !t.value }),
|
|
1245
1246
|
accept: ".xlsx,.xls,.csv",
|
|
1246
1247
|
label: "Drop the Excel/CSV file here",
|
|
1247
1248
|
"button-label": "Select file",
|
|
1248
1249
|
onFileUpload: C[0] || (C[0] = (a) => t.value = a)
|
|
1249
|
-
},
|
|
1250
|
+
}, Ae({ _: 2 }, [
|
|
1250
1251
|
t.value ? {
|
|
1251
1252
|
name: "default",
|
|
1252
1253
|
fn: O(({ openFileDialog: a }) => [
|
|
@@ -1270,8 +1271,8 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1270
1271
|
color: u.value ? "system-error-300" : "system-success-400",
|
|
1271
1272
|
size: "lg"
|
|
1272
1273
|
}, null, 8, ["name", "color"])),
|
|
1273
|
-
s("div",
|
|
1274
|
-
s("div",
|
|
1274
|
+
s("div", lo, [
|
|
1275
|
+
s("div", io, E(t.value.name), 1),
|
|
1275
1276
|
s("div", {
|
|
1276
1277
|
class: te([
|
|
1277
1278
|
"fm-typo-en-body-sm-400",
|
|
@@ -1291,18 +1292,18 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1291
1292
|
key: "0"
|
|
1292
1293
|
} : void 0
|
|
1293
1294
|
]), 1032, ["class"]),
|
|
1294
|
-
h.value ? (S(), D("div",
|
|
1295
|
-
s("span",
|
|
1296
|
-
s("span",
|
|
1297
|
-
s("span",
|
|
1298
|
-
s("span",
|
|
1299
|
-
s("span",
|
|
1300
|
-
s("span",
|
|
1295
|
+
h.value ? (S(), D("div", ro, [
|
|
1296
|
+
s("span", uo, E(_(v)("inventory.integration.bindingImport.status.new")) + ": " + E(h.value.new), 1),
|
|
1297
|
+
s("span", co, E(_(v)("inventory.integration.bindingImport.status.overriding")) + ": " + E(h.value.override), 1),
|
|
1298
|
+
s("span", mo, E(_(v)("inventory.integration.bindingImport.status.skipped")) + ": " + E(h.value.skipped), 1),
|
|
1299
|
+
s("span", po, E(_(v)("inventory.integration.bindingImport.status.duplicate")) + ": " + E(h.value.duplicate), 1),
|
|
1300
|
+
s("span", fo, E(_(v)("inventory.integration.bindingImport.status.notFound")) + ": " + E(h.value.notFound), 1),
|
|
1301
|
+
s("span", vo, E(_(v)("inventory.integration.bindingImport.status.ambiguous")) + ": " + E(h.value.ambiguous), 1)
|
|
1301
1302
|
])) : K("", !0)
|
|
1302
1303
|
]);
|
|
1303
1304
|
};
|
|
1304
1305
|
}
|
|
1305
|
-
}),
|
|
1306
|
+
}), go = { class: "flex flex-col gap-16" }, yo = { class: "flex flex-wrap gap-x-16 gap-y-4 fm-typo-en-body-sm-400" }, bo = { class: "text-fm-color-system-success-400" }, Ao = { class: "text-fm-color-system-warning-400" }, ho = { class: "text-fm-color-typo-secondary" }, xo = { class: "text-fm-color-typo-secondary" }, Io = { class: "text-fm-color-system-error-300" }, So = { class: "text-fm-color-system-error-300" }, Dt = /* @__PURE__ */ Q({
|
|
1306
1307
|
__name: "BindingImportPreview",
|
|
1307
1308
|
props: {
|
|
1308
1309
|
config: {
|
|
@@ -1315,7 +1316,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1315
1316
|
}
|
|
1316
1317
|
},
|
|
1317
1318
|
setup(k) {
|
|
1318
|
-
const b = k, { t: e } = oe(), v = R(""), t =
|
|
1319
|
+
const b = k, { t: e } = oe(), v = R(""), t = U(() => Bt(b.result)), d = U(
|
|
1319
1320
|
() => ({
|
|
1320
1321
|
NEW: e("inventory.integration.bindingImport.status.new"),
|
|
1321
1322
|
OVERRIDE: e("inventory.integration.bindingImport.status.overriding"),
|
|
@@ -1331,7 +1332,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1331
1332
|
DUPLICATE: "bg-gray-100 text-gray-700 border border-gray-200",
|
|
1332
1333
|
NOT_FOUND: "bg-red-100 text-red-800 border border-red-200",
|
|
1333
1334
|
AMBIGUOUS: "bg-red-100 text-red-800 border border-red-200"
|
|
1334
|
-
}, l =
|
|
1335
|
+
}, l = U(() => {
|
|
1335
1336
|
const h = b.config.valueColumns.map(
|
|
1336
1337
|
(A) => ({
|
|
1337
1338
|
id: A.field,
|
|
@@ -1388,14 +1389,14 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1388
1389
|
});
|
|
1389
1390
|
return (h, A) => {
|
|
1390
1391
|
const c = V("FmTextField"), m = V("FmTable");
|
|
1391
|
-
return S(), D("div",
|
|
1392
|
-
s("div",
|
|
1393
|
-
s("span",
|
|
1394
|
-
s("span",
|
|
1395
|
-
s("span",
|
|
1396
|
-
s("span",
|
|
1397
|
-
s("span",
|
|
1398
|
-
s("span",
|
|
1392
|
+
return S(), D("div", go, [
|
|
1393
|
+
s("div", yo, [
|
|
1394
|
+
s("span", bo, E(_(e)("inventory.integration.bindingImport.status.new")) + ": " + E(t.value.new), 1),
|
|
1395
|
+
s("span", Ao, E(_(e)("inventory.integration.bindingImport.status.overriding")) + ": " + E(t.value.override), 1),
|
|
1396
|
+
s("span", ho, E(_(e)("inventory.integration.bindingImport.status.skipped")) + ": " + E(t.value.skipped), 1),
|
|
1397
|
+
s("span", xo, E(_(e)("inventory.integration.bindingImport.status.duplicate")) + ": " + E(t.value.duplicate), 1),
|
|
1398
|
+
s("span", Io, E(_(e)("inventory.integration.bindingImport.status.notFound")) + ": " + E(t.value.notFound), 1),
|
|
1399
|
+
s("span", So, E(_(e)("inventory.integration.bindingImport.status.ambiguous")) + ": " + E(t.value.ambiguous), 1)
|
|
1399
1400
|
]),
|
|
1400
1401
|
I(c, {
|
|
1401
1402
|
"model-value": v.value,
|
|
@@ -1414,7 +1415,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1414
1415
|
]);
|
|
1415
1416
|
};
|
|
1416
1417
|
}
|
|
1417
|
-
}),
|
|
1418
|
+
}), Oe = {
|
|
1418
1419
|
key: "foodMarketHub",
|
|
1419
1420
|
valueColumns: [{ field: "code", header: "FMH Code", aliases: ["fmhcode", "code"], required: !0 }],
|
|
1420
1421
|
buildBinding: ({ productId: k, combinationKey: b, values: e }) => ({
|
|
@@ -1423,7 +1424,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1423
1424
|
code: e.code ?? ""
|
|
1424
1425
|
}),
|
|
1425
1426
|
readValues: (k) => ({ code: k.code })
|
|
1426
|
-
},
|
|
1427
|
+
}, wo = { class: "flex flex-col gap-8 w-full" }, Co = { class: "flex items-center" }, ko = /* @__PURE__ */ Q({
|
|
1427
1428
|
__name: "ApplyProductDialogV4",
|
|
1428
1429
|
props: {
|
|
1429
1430
|
categories: { default: () => [] },
|
|
@@ -1436,16 +1437,16 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1436
1437
|
},
|
|
1437
1438
|
emits: ["update:setting", "update:show", "submit"],
|
|
1438
1439
|
setup(k, { emit: b }) {
|
|
1439
|
-
const e = k, v = b, t =
|
|
1440
|
-
|
|
1440
|
+
const e = k, v = b, t = Ke(de(e.setting));
|
|
1441
|
+
we([() => e.show], ([n]) => {
|
|
1441
1442
|
if (n)
|
|
1442
1443
|
for (const r of Object.keys(e.setting))
|
|
1443
1444
|
t[r] = e.setting[r];
|
|
1444
1445
|
});
|
|
1445
|
-
const d =
|
|
1446
|
+
const d = U(() => e.menus.filter((n) => !(n != null && n.category))), u = U(() => t.bindings.filter((n) => {
|
|
1446
1447
|
const r = e.menus.find((x) => x._id === n.productId);
|
|
1447
1448
|
return r ? !(r != null && r.category) : !1;
|
|
1448
|
-
})), l =
|
|
1449
|
+
})), l = U(() => e.menus.filter((n) => !!(n != null && n.category))), h = U(() => t.bindings.filter((n) => {
|
|
1449
1450
|
const r = e.menus.find((x) => x._id === n.productId);
|
|
1450
1451
|
return r ? !!(r != null && r.category) : !1;
|
|
1451
1452
|
}));
|
|
@@ -1455,15 +1456,15 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1455
1456
|
function c(n) {
|
|
1456
1457
|
t.bindings = [...h.value, ...n];
|
|
1457
1458
|
}
|
|
1458
|
-
const m = R(), y =
|
|
1459
|
+
const m = R(), y = Fe(), p = le(), C = fe();
|
|
1459
1460
|
function F() {
|
|
1460
1461
|
var r;
|
|
1461
|
-
const { filename: n } =
|
|
1462
|
+
const { filename: n } = Et(
|
|
1462
1463
|
e.menus,
|
|
1463
1464
|
e.categories,
|
|
1464
1465
|
t.bindings,
|
|
1465
1466
|
e.variants,
|
|
1466
|
-
|
|
1467
|
+
Oe,
|
|
1467
1468
|
(r = C.currentBusiness.value) == null ? void 0 : r.name
|
|
1468
1469
|
);
|
|
1469
1470
|
p.open({
|
|
@@ -1475,9 +1476,9 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1475
1476
|
function w() {
|
|
1476
1477
|
y.open({
|
|
1477
1478
|
title: i("inventory.integration.bindingImport.dialogTitle"),
|
|
1478
|
-
contentComponent:
|
|
1479
|
+
contentComponent: Nt,
|
|
1479
1480
|
contentComponentProps: {
|
|
1480
|
-
config:
|
|
1481
|
+
config: Oe,
|
|
1481
1482
|
menus: e.menus,
|
|
1482
1483
|
variants: e.variants,
|
|
1483
1484
|
bindings: de(t.bindings)
|
|
@@ -1498,7 +1499,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1498
1499
|
variant: "plain"
|
|
1499
1500
|
}
|
|
1500
1501
|
}).onPrimary((n) => {
|
|
1501
|
-
if (!n || !
|
|
1502
|
+
if (!n || !Be(n).length) {
|
|
1502
1503
|
p.open({
|
|
1503
1504
|
title: i("inventory.integration.bindingImport.nothingToImport.title"),
|
|
1504
1505
|
message: i("inventory.integration.bindingImport.nothingToImport.message"),
|
|
@@ -1512,8 +1513,8 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1512
1513
|
function o(n) {
|
|
1513
1514
|
y.open({
|
|
1514
1515
|
title: i("inventory.integration.bindingImport.previewTitle"),
|
|
1515
|
-
contentComponent:
|
|
1516
|
-
contentComponentProps: { config:
|
|
1516
|
+
contentComponent: Dt,
|
|
1517
|
+
contentComponentProps: { config: Oe, result: n },
|
|
1517
1518
|
overlay: !0,
|
|
1518
1519
|
closeButton: !0,
|
|
1519
1520
|
minWidth: 900,
|
|
@@ -1527,15 +1528,15 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1527
1528
|
close: !0
|
|
1528
1529
|
}
|
|
1529
1530
|
}).onPrimary(() => {
|
|
1530
|
-
const r =
|
|
1531
|
-
t.bindings =
|
|
1531
|
+
const r = Be(n);
|
|
1532
|
+
t.bindings = Vt(t.bindings, r), p.open({
|
|
1532
1533
|
title: i("inventory.integration.bindingImport.importSuccess.title"),
|
|
1533
1534
|
message: i("inventory.integration.bindingImport.importSuccess.message", { count: r.length }),
|
|
1534
1535
|
type: "success"
|
|
1535
1536
|
});
|
|
1536
1537
|
});
|
|
1537
1538
|
}
|
|
1538
|
-
const a =
|
|
1539
|
+
const a = Se(e, "show");
|
|
1539
1540
|
function f() {
|
|
1540
1541
|
var n, r;
|
|
1541
1542
|
(r = (n = m.value) == null ? void 0 : n.validateInputs) == null || r.call(n);
|
|
@@ -1548,15 +1549,15 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1548
1549
|
const x = V("FmChip"), L = V("FmButton"), j = V("FmForm"), q = V("FmSideSheet");
|
|
1549
1550
|
return S(), H(q, {
|
|
1550
1551
|
modelValue: _(a),
|
|
1551
|
-
"onUpdate:modelValue": r[5] || (r[5] = (M) =>
|
|
1552
|
+
"onUpdate:modelValue": r[5] || (r[5] = (M) => Ie(a) ? a.value = M : null),
|
|
1552
1553
|
header: _(i)("inventory.integration.apply.title"),
|
|
1553
1554
|
"dismiss-away": "",
|
|
1554
1555
|
"close-button": "",
|
|
1555
1556
|
"max-width": 500
|
|
1556
1557
|
}, {
|
|
1557
1558
|
default: O(() => [
|
|
1558
|
-
s("div",
|
|
1559
|
-
s("div",
|
|
1559
|
+
s("div", wo, [
|
|
1560
|
+
s("div", Co, [
|
|
1560
1561
|
I(x, { label: "Menu v4" }),
|
|
1561
1562
|
r[6] || (r[6] = s("div", { class: "flex-grow" }, null, -1)),
|
|
1562
1563
|
I(L, {
|
|
@@ -1574,14 +1575,14 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1574
1575
|
onValidationSuccess: r[3] || (r[3] = (M) => g())
|
|
1575
1576
|
}, {
|
|
1576
1577
|
default: O(() => [
|
|
1577
|
-
I(
|
|
1578
|
+
I(je, {
|
|
1578
1579
|
categories: n.categories,
|
|
1579
1580
|
variants: n.variants,
|
|
1580
1581
|
bindings: h.value,
|
|
1581
1582
|
menus: l.value,
|
|
1582
1583
|
"onUpdate:bindings": r[1] || (r[1] = (M) => A(M))
|
|
1583
1584
|
}, null, 8, ["categories", "variants", "bindings", "menus"]),
|
|
1584
|
-
I(
|
|
1585
|
+
I(je, {
|
|
1585
1586
|
"is-addon": !0,
|
|
1586
1587
|
categories: [],
|
|
1587
1588
|
variants: n.variants,
|
|
@@ -1606,10 +1607,10 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1606
1607
|
}, 8, ["modelValue", "header"]);
|
|
1607
1608
|
};
|
|
1608
1609
|
}
|
|
1609
|
-
}),
|
|
1610
|
+
}), _o = { key: 0 }, Fo = { class: "flex justify-center" }, Bo = ["src"], Vo = { class: "flex flex-col items-center gap-2" }, Eo = { class: "text-lg font-bold" }, No = { class: "text-fm-color-neutral-gray-300" }, Do = { key: 0 }, Lo = /* @__PURE__ */ Q({
|
|
1610
1611
|
__name: "FoodMarketHub",
|
|
1611
1612
|
setup(k) {
|
|
1612
|
-
const b =
|
|
1613
|
+
const b = fe(), e = le(), v = pe(), t = R(!1), d = Gt(), u = U(() => d.state.menu ?? []), l = U(() => d.state.group ?? []), h = U(() => d.state.variants ?? []), A = U(() => d.state.categories ?? []), c = $t(), m = U(() => {
|
|
1613
1614
|
var f;
|
|
1614
1615
|
return (f = b.currentBusiness.value) == null ? void 0 : f.menuVersion;
|
|
1615
1616
|
});
|
|
@@ -1618,7 +1619,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1618
1619
|
async function p() {
|
|
1619
1620
|
y.value = !0;
|
|
1620
1621
|
}
|
|
1621
|
-
const { breakpoints: C } =
|
|
1622
|
+
const { breakpoints: C } = qe(), F = U(() => C.value.xs || C.value.sm), w = U(() => F.value);
|
|
1622
1623
|
async function o() {
|
|
1623
1624
|
const f = d.state.setting;
|
|
1624
1625
|
if (f) {
|
|
@@ -1644,7 +1645,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1644
1645
|
const { t: a } = oe();
|
|
1645
1646
|
return (f, g) => {
|
|
1646
1647
|
const i = V("FmCardSection"), n = V("FmCard");
|
|
1647
|
-
return _(d).isEnabled && !_(d).isBusinessLocation ? (S(), D("div",
|
|
1648
|
+
return _(d).isEnabled && !_(d).isBusinessLocation ? (S(), D("div", _o, [
|
|
1648
1649
|
I(n, {
|
|
1649
1650
|
class: te({
|
|
1650
1651
|
"w-full": w.value,
|
|
@@ -1659,15 +1660,15 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1659
1660
|
default: O(() => [
|
|
1660
1661
|
I(i, null, {
|
|
1661
1662
|
default: O(() => [
|
|
1662
|
-
s("div",
|
|
1663
|
+
s("div", Fo, [
|
|
1663
1664
|
s("img", {
|
|
1664
|
-
src: _(
|
|
1665
|
+
src: _(vn),
|
|
1665
1666
|
alt: "Food Market Hub"
|
|
1666
|
-
}, null, 8,
|
|
1667
|
+
}, null, 8, Bo)
|
|
1667
1668
|
]),
|
|
1668
|
-
s("div",
|
|
1669
|
-
s("div",
|
|
1670
|
-
s("div",
|
|
1669
|
+
s("div", Vo, [
|
|
1670
|
+
s("div", Eo, E(_(a)("inventory.integration.fmh.title")), 1),
|
|
1671
|
+
s("div", No, E(_(a)("inventory.integration.fmh.description")), 1)
|
|
1671
1672
|
])
|
|
1672
1673
|
]),
|
|
1673
1674
|
_: 1
|
|
@@ -1675,9 +1676,9 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1675
1676
|
]),
|
|
1676
1677
|
_: 1
|
|
1677
1678
|
}, 8, ["class"]),
|
|
1678
|
-
_(d).state.setting ? (S(), D("div",
|
|
1679
|
-
(S(), H(
|
|
1680
|
-
m.value === "v3" ? (S(), H(
|
|
1679
|
+
_(d).state.setting ? (S(), D("div", Do, [
|
|
1680
|
+
(S(), H(_e, { to: "body" }, [
|
|
1681
|
+
m.value === "v3" ? (S(), H(Qn, {
|
|
1681
1682
|
key: 0,
|
|
1682
1683
|
menus: u.value,
|
|
1683
1684
|
variants: h.value,
|
|
@@ -1689,7 +1690,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1689
1690
|
groups: l.value,
|
|
1690
1691
|
loading: t.value,
|
|
1691
1692
|
onSubmit: g[3] || (g[3] = (r) => o())
|
|
1692
|
-
}, null, 8, ["menus", "variants", "categories", "setting", "show", "groups", "loading"])) : (S(), H(
|
|
1693
|
+
}, null, 8, ["menus", "variants", "categories", "setting", "show", "groups", "loading"])) : (S(), H(ko, {
|
|
1693
1694
|
key: 1,
|
|
1694
1695
|
menus: u.value,
|
|
1695
1696
|
variants: h.value,
|
|
@@ -1707,13 +1708,13 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1707
1708
|
])) : K("", !0);
|
|
1708
1709
|
};
|
|
1709
1710
|
}
|
|
1710
|
-
}), Eo = "data:image/svg+xml,%3csvg%20width='200'%20height='100'%20viewBox='0%200%20200%20100'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20width='200'%20height='100'%20fill='url(%23pattern0_1500_58879)'/%3e%3cdefs%3e%3cpattern%20id='pattern0_1500_58879'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_1500_58879'%20transform='matrix(0.002%200%200%200.004%200%200.046)'/%3e%3c/pattern%3e%3cimage%20id='image0_1500_58879'%20width='500'%20height='227'%20xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAADjCAYAAABzcuYdAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAB9KADAAQAAAABAAAA4wAAAABu8la3AABAAElEQVR4Ae2dCYAcVZnH61V191w5yDU5CDAkIXN0z0wC7C4uAorKpeyysugiuLqKooKIBwsCcguCFwoogqwrIHhzLIKigDeIQDLT3XMlmYSQBHKQhITM1V319v+6p/qorup+1VPd0z3zFXSm6r3vvfe9X1W9792lKHQQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASI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4Ma7kcOi+AvjOydGdsN3okdijKyODu3UOvbtu2bajo1CggESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiIBHBP4fA65iItIh5WIAAAAASUVORK5CYII='/%3e%3c/defs%3e%3c/svg%3e", No = {
|
|
1711
|
+
}), To = "data:image/svg+xml,%3csvg%20width='200'%20height='100'%20viewBox='0%200%20200%20100'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20width='200'%20height='100'%20fill='url(%23pattern0_1500_58879)'/%3e%3cdefs%3e%3cpattern%20id='pattern0_1500_58879'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_1500_58879'%20transform='matrix(0.002%200%200%200.004%200%200.046)'/%3e%3c/pattern%3e%3cimage%20id='image0_1500_58879'%20width='500'%20height='227'%20xlink:href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAADjCAYAAABzcuYdAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAB9KADAAQAAAABAAAA4wAAAABu8la3AABAAElEQVR4Ae2dCYAcVZnH61V191w5yDU5CDAkIXN0z0wC7C4uAorKpeyysugiuLqKooKIBwsCcguCFwoogqwrIHhzLIKigDeIQDLT3XMlmYSQBHKQhITM1V319v+6p/qorup+1VPd0z3zFXSm6r3vvfe9X1W9792lKHQQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIgMKIAREgApVLoKmp6aCGhoZZqrp/fzi8eU/lakqaEQEiMNkEpqNBZ8Fg00JVr13AfcpizrX5uAlLVVVlhmHwybohSF/lnA/jtwU6bIcu24eHh3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MjI0uVBTfIZxpR6iGMQfLQ5eIBwvd2BLNb6uILEIznL08vg+O59zYjw2ZtkPiNV2JrddGjVexM9Or0E3PzEMpzlGYY0c09SRmxBOrBaz78wizjvkGGh7212L4MMf4uulSqOIqTuzkdjrGdE/DfizSjARrJFKjcCOC3c/uwHksFGp9N3YcPwP3YLSQAhwPDioEO9iu12+ppmVqhfIFfw29FNg4hC2V4QmONYaiPxGJ9P1SIm5bkdDhhy/019fPQ0F6BN6QQ/EWzMFfvJ8y76JtlK4crc95IjBnPsNQngj39DziKjKUIVjueCyeoxPAEPv55uYhVT92GXGpxK35F8823vQtMOZfQZrS75Rb/VpaWuZhB7ZGZvibUCk/DK3ieRhzX2LHLDNur/ll55/58Rw+73VFJlN/OicCRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARyCTAMi/onAgQgWwCra2th6mqulBTlEWKYjRyVZ2nKspcnHPO1bjCjW0IsVvhbKvO2OvDw8NbBwcH38iOha6IABEgAqUnULUGvb390DlcmXEbMrCQK8wwUWncPEv9DegKvycS6bk/5eLRSbC99VKmqKcgujEzSpv0GVd4zFD0qyOR/hdMOae/HStWLGW1tfcoijUjukMQmBoXB5TJOrjNE8AZV3Ujfnk0OvD3LGFctLW1BX2qcgt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XYjvCP6Qq7PdoTXes2rrzyjOO+Y+1ERnpCHhWHvM9D3jglPcVTZ94na/qGkb/HRjKJvGIof8Ty0sRhTd/UK28EE/VU8w/PTDR6Cl85BKrWoMfj8QM+VfsOSoi5iZVAKabZDRYxgQkTg17b84YxkhLx5iSOF/XzWIe0Di0+MUSZnfB4GnBkKsPWNDy+USZZNqTv5nW+bzvJ6kjGLBysCYpZW05+6fisodI+5lli0peibheMTTcv/uq6/ibn2tehQcCJl0gHHYQqKmsHhnVdGJiSHD09PVFELH7fFB854YHAUYpqYMtTFZ8MVY6AcTwUf8XYo5js5vSe6DpnMVVhw3gOEBfrRr6ewdT4p2FwdyNcyY+uaN9vkMhvVgdXdoLtyaiciHH/ozFwehD+Cv2d+pRjOlOgKkfXPXuOM/57roz+LhLZ8ArCeHro8+fHVEO5D8vi/oqnNz25EApDvZc3bdqUcvM04fHIsIlPRGG+xETWzOcOzyEGS5h4Bkp7cP59PNQHZ06sNBNE5Sn1zppusn+Tb3Kh95n5cX+flo2T5KqbgFn+V3cuSHsi4B0BtnTp0trZODTDWMJ9yiKU+qL1PhstvUTpid3ZGGaNjzBFfw3Dk6/C5r8SiUSEAY95p0bRMSWW0tXW1h4Ma7kcOi+AvjOydGdsN3okdijKyODu3UOvbtu2bajo1CggESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiAARIAJEgAgQASJABIgAESACRIAIEAEiQASIABEgAkSACBABIkAEiIBHBP4fA65iItIh5WIAAAAASUVORK5CYII='/%3e%3c/defs%3e%3c/svg%3e", Ro = {
|
|
1711
1712
|
key: 0,
|
|
1712
1713
|
class: "line-clamp-1 text-ellipsis"
|
|
1713
|
-
},
|
|
1714
|
+
}, Mo = {
|
|
1714
1715
|
key: 1,
|
|
1715
1716
|
class: "line-clamp-1 text-ellipsis text-fm-color-typo-tertiary"
|
|
1716
|
-
},
|
|
1717
|
+
}, Oo = { class: "flex flex-col gap-5" }, Uo = { class: "overflow-x-hidden overflow-y-auto max-h-[300px]" }, Lt = /* @__PURE__ */ Q({
|
|
1717
1718
|
__name: "FmEnhancedSelect",
|
|
1718
1719
|
props: {
|
|
1719
1720
|
placeholder: {},
|
|
@@ -1725,19 +1726,19 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1725
1726
|
},
|
|
1726
1727
|
emits: ["update:modelValue"],
|
|
1727
1728
|
setup(k, { emit: b }) {
|
|
1728
|
-
const e = k, v = b, t = R(""), d =
|
|
1729
|
-
() => new
|
|
1729
|
+
const e = k, v = b, t = R(""), d = U(
|
|
1730
|
+
() => new ln(
|
|
1730
1731
|
e.items,
|
|
1731
1732
|
(l) => [l.label ?? "", l.sublabel ?? "", ...l.value[e.searchTarget]].filter((h) => h)
|
|
1732
1733
|
)
|
|
1733
|
-
), u =
|
|
1734
|
+
), u = U(() => d.value.search(t.value));
|
|
1734
1735
|
return (l, h) => {
|
|
1735
1736
|
const A = V("FmLabel"), c = V("FmField"), m = V("FmIcon"), y = V("FmTextField"), p = V("FmMenuItem"), C = V("FmMenu"), F = V("FmFormGroup");
|
|
1736
1737
|
return S(), H(F, {
|
|
1737
1738
|
"model-value": l.modelValue,
|
|
1738
|
-
rules: [_(
|
|
1739
|
+
rules: [_(un)()],
|
|
1739
1740
|
"label-mark": "required"
|
|
1740
|
-
},
|
|
1741
|
+
}, Ae({
|
|
1741
1742
|
default: O(({ invalid: w }) => [
|
|
1742
1743
|
I(C, null, {
|
|
1743
1744
|
"menu-button": O(() => [
|
|
@@ -1753,18 +1754,18 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1753
1754
|
"append-icon": "expand_more"
|
|
1754
1755
|
}, {
|
|
1755
1756
|
default: O(() => [
|
|
1756
|
-
l.modelValue[e.searchTarget] ? (S(), D("span",
|
|
1757
|
+
l.modelValue[e.searchTarget] ? (S(), D("span", Ro, E(l.modelValue[e.searchTarget]), 1)) : (S(), D("span", Mo, E(l.placeholder || "Select an option"), 1))
|
|
1757
1758
|
]),
|
|
1758
1759
|
_: 2
|
|
1759
1760
|
}, 1032, ["class", "invalid"])
|
|
1760
1761
|
]),
|
|
1761
1762
|
default: O(() => [
|
|
1762
|
-
s("div",
|
|
1763
|
+
s("div", Oo, [
|
|
1763
1764
|
I(y, {
|
|
1764
1765
|
modelValue: t.value,
|
|
1765
1766
|
"onUpdate:modelValue": h[1] || (h[1] = (o) => t.value = o),
|
|
1766
1767
|
placeholder: "Filter options"
|
|
1767
|
-
},
|
|
1768
|
+
}, Ae({
|
|
1768
1769
|
prepend: O(() => [
|
|
1769
1770
|
I(m, { name: "search" })
|
|
1770
1771
|
]),
|
|
@@ -1782,7 +1783,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1782
1783
|
key: "0"
|
|
1783
1784
|
} : void 0
|
|
1784
1785
|
]), 1032, ["modelValue"]),
|
|
1785
|
-
s("div",
|
|
1786
|
+
s("div", Uo, [
|
|
1786
1787
|
(S(!0), D(Z, null, ae(u.value, (o, a) => {
|
|
1787
1788
|
var f, g;
|
|
1788
1789
|
return S(), H(p, {
|
|
@@ -1811,13 +1812,13 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1811
1812
|
]), 1032, ["model-value", "rules"]);
|
|
1812
1813
|
};
|
|
1813
1814
|
}
|
|
1814
|
-
}),
|
|
1815
|
+
}), zo = { class: "flex-col items-center" }, jo = { class: "flex gap-2" }, Po = {
|
|
1815
1816
|
key: 0,
|
|
1816
1817
|
class: "text-xs text-red-500 mt-2"
|
|
1817
|
-
},
|
|
1818
|
+
}, Ko = {
|
|
1818
1819
|
key: 1,
|
|
1819
1820
|
class: "flex items-center mt-2"
|
|
1820
|
-
},
|
|
1821
|
+
}, Ho = { class: "flex flex-col" }, qo = { class: "font-medium" }, Xo = { class: "text-xs text-gray-400" }, $o = { class: "text-xs text-gray-400" }, Yo = { class: "text-xs text-gray-400" }, Qo = /* @__PURE__ */ Q({
|
|
1821
1822
|
__name: "NetSuiteLocationField",
|
|
1822
1823
|
props: {
|
|
1823
1824
|
isDuplicate: { type: Boolean, default: !1 },
|
|
@@ -1833,12 +1834,12 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1833
1834
|
},
|
|
1834
1835
|
emits: ["update:modelValue"],
|
|
1835
1836
|
setup(k, { emit: b }) {
|
|
1836
|
-
const e = k, v =
|
|
1837
|
+
const e = k, v = U(() => e.modelValue), t = b;
|
|
1837
1838
|
return (d, u) => {
|
|
1838
1839
|
const l = V("FmButton"), h = V("FmIcon");
|
|
1839
|
-
return S(), D("div",
|
|
1840
|
-
s("div",
|
|
1841
|
-
I(
|
|
1840
|
+
return S(), D("div", zo, [
|
|
1841
|
+
s("div", jo, [
|
|
1842
|
+
I(Lt, {
|
|
1842
1843
|
placeholder: "Select NetSuite Location",
|
|
1843
1844
|
items: d.nsLocationOptions,
|
|
1844
1845
|
searchTarget: "name",
|
|
@@ -1857,8 +1858,8 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1857
1858
|
}))
|
|
1858
1859
|
})) : K("", !0)
|
|
1859
1860
|
]),
|
|
1860
|
-
d.isDuplicate ? (S(), D("div",
|
|
1861
|
-
v.value.netsuiteId ? (S(), D("div",
|
|
1861
|
+
d.isDuplicate ? (S(), D("div", Po, " NetSuite location being used by another FeedMe location. ")) : K("", !0),
|
|
1862
|
+
v.value.netsuiteId ? (S(), D("div", Ko, [
|
|
1862
1863
|
I(h, {
|
|
1863
1864
|
name: "cloud",
|
|
1864
1865
|
color: "neutral-gray-400",
|
|
@@ -1866,17 +1867,17 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1866
1867
|
class: "mr-2",
|
|
1867
1868
|
outline: ""
|
|
1868
1869
|
}),
|
|
1869
|
-
s("div",
|
|
1870
|
-
s("span",
|
|
1871
|
-
s("span",
|
|
1872
|
-
s("span",
|
|
1873
|
-
s("span",
|
|
1870
|
+
s("div", Ho, [
|
|
1871
|
+
s("span", qo, E(v.value.name), 1),
|
|
1872
|
+
s("span", Xo, "ID: " + E(v.value.netsuiteId), 1),
|
|
1873
|
+
s("span", $o, "Subsidiary: " + E(v.value.subsidiaryName), 1),
|
|
1874
|
+
s("span", Yo, "Inactive: " + E(v.value.isinactive ? "Yes" : "No"), 1)
|
|
1874
1875
|
])
|
|
1875
1876
|
])) : K("", !0)
|
|
1876
1877
|
]);
|
|
1877
1878
|
};
|
|
1878
1879
|
}
|
|
1879
|
-
}),
|
|
1880
|
+
}), Go = /* @__PURE__ */ Q({
|
|
1880
1881
|
__name: "AddLocationDialog",
|
|
1881
1882
|
props: {
|
|
1882
1883
|
showDialog: {
|
|
@@ -1898,7 +1899,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1898
1899
|
},
|
|
1899
1900
|
emits: ["update:loading", "update:showDialog"],
|
|
1900
1901
|
setup(k, { emit: b }) {
|
|
1901
|
-
const e =
|
|
1902
|
+
const e = ve(), v = le(), t = [
|
|
1902
1903
|
{
|
|
1903
1904
|
id: "fmLocation",
|
|
1904
1905
|
header: "FeedMe Location",
|
|
@@ -1926,7 +1927,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1926
1927
|
const C = p.row.original, F = l.value[C.dbName], w = Object.entries(l.value).some(
|
|
1927
1928
|
([o, a]) => o !== C.dbName && a.netsuiteId === (F == null ? void 0 : F.netsuiteId)
|
|
1928
1929
|
);
|
|
1929
|
-
return B(
|
|
1930
|
+
return B(Qo, {
|
|
1930
1931
|
isDuplicate: w,
|
|
1931
1932
|
nsLocationOptions: c.value,
|
|
1932
1933
|
modelValue: F,
|
|
@@ -1945,10 +1946,10 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
1945
1946
|
});
|
|
1946
1947
|
}
|
|
1947
1948
|
}
|
|
1948
|
-
], d = k, u = b, l = R({}), h = R(), A = R(""), c =
|
|
1949
|
+
], d = k, u = b, l = R({}), h = R(), A = R(""), c = U(() => d.nsLocationsNotBeingUsed.map((p) => ({
|
|
1949
1950
|
label: p.name,
|
|
1950
1951
|
value: p
|
|
1951
|
-
}))), m =
|
|
1952
|
+
}))), m = U(() => Object.values(l.value).length === 0 || Object.values(l.value).some(
|
|
1952
1953
|
(p) => Object.values(l.value).filter((C) => C.netsuiteId === p.netsuiteId).length > 1
|
|
1953
1954
|
));
|
|
1954
1955
|
async function y() {
|
|
@@ -2011,10 +2012,10 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2011
2012
|
}, 8, ["modelValue"]);
|
|
2012
2013
|
};
|
|
2013
2014
|
}
|
|
2014
|
-
}),
|
|
2015
|
+
}), Jo = { class: "p-8 flex items-center justify-between" }, Zo = { class: "flex gap-4" }, Wo = /* @__PURE__ */ Q({
|
|
2015
2016
|
__name: "LocationsTab",
|
|
2016
2017
|
setup(k) {
|
|
2017
|
-
const b =
|
|
2018
|
+
const b = pe(), e = ve(), v = le(), t = R(!1), d = R(), u = R(""), l = R(null), h = R([]), A = R(null), c = [
|
|
2018
2019
|
{
|
|
2019
2020
|
key: "type",
|
|
2020
2021
|
type: "string",
|
|
@@ -2022,7 +2023,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2022
2023
|
values: ["warehouse", "restaurant"]
|
|
2023
2024
|
}
|
|
2024
2025
|
];
|
|
2025
|
-
|
|
2026
|
+
ke(async () => {
|
|
2026
2027
|
if (e.isReady && e.isEnabled)
|
|
2027
2028
|
try {
|
|
2028
2029
|
h.value = await e.getNetSuiteLocationOptions();
|
|
@@ -2030,13 +2031,13 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2030
2031
|
v.open({ message: "Failed to fetch NetSuite locations", type: "error" });
|
|
2031
2032
|
}
|
|
2032
2033
|
});
|
|
2033
|
-
const m =
|
|
2034
|
+
const m = U(() => {
|
|
2034
2035
|
let w = e.state.setting.locations;
|
|
2035
2036
|
if (!l.value)
|
|
2036
2037
|
return w;
|
|
2037
|
-
const o =
|
|
2038
|
+
const o = xt.build(l.value);
|
|
2038
2039
|
return w.filter(
|
|
2039
|
-
(a) =>
|
|
2040
|
+
(a) => It(
|
|
2040
2041
|
{
|
|
2041
2042
|
type: a.type
|
|
2042
2043
|
},
|
|
@@ -2106,11 +2107,11 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2106
2107
|
]);
|
|
2107
2108
|
}
|
|
2108
2109
|
}
|
|
2109
|
-
], p =
|
|
2110
|
+
], p = U(() => b.locations.filter(
|
|
2110
2111
|
(w) => !e.state.setting.locations.some(
|
|
2111
2112
|
(o) => o.id === w.doc._id && o.type === w.type
|
|
2112
2113
|
)
|
|
2113
|
-
)), C =
|
|
2114
|
+
)), C = U(() => h.value.filter(
|
|
2114
2115
|
(w) => !e.state.setting.locations.some(
|
|
2115
2116
|
(o) => o.netSuiteId === w.netsuiteId
|
|
2116
2117
|
)
|
|
@@ -2120,15 +2121,15 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2120
2121
|
return (w, o) => {
|
|
2121
2122
|
const a = V("FmSearch"), f = V("FmButton"), g = V("FmTable");
|
|
2122
2123
|
return S(), D("div", null, [
|
|
2123
|
-
s("div",
|
|
2124
|
-
s("div",
|
|
2124
|
+
s("div", Jo, [
|
|
2125
|
+
s("div", Zo, [
|
|
2125
2126
|
I(a, {
|
|
2126
2127
|
placeholder: "Search by Location",
|
|
2127
2128
|
class: "w-[300px]",
|
|
2128
2129
|
modelValue: u.value,
|
|
2129
2130
|
"onUpdate:modelValue": o[0] || (o[0] = (i) => u.value = i)
|
|
2130
2131
|
}, null, 8, ["modelValue"]),
|
|
2131
|
-
I(_(
|
|
2132
|
+
I(_(St), {
|
|
2132
2133
|
modelValue: l.value,
|
|
2133
2134
|
"onUpdate:modelValue": o[1] || (o[1] = (i) => l.value = i),
|
|
2134
2135
|
attributes: c
|
|
@@ -2148,7 +2149,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2148
2149
|
"search-value": u.value,
|
|
2149
2150
|
autoResetPageIndex: !0
|
|
2150
2151
|
}, null, 8, ["modelValue", "row-data", "search-value"]),
|
|
2151
|
-
I(
|
|
2152
|
+
I(Go, {
|
|
2152
2153
|
"show-dialog": t.value,
|
|
2153
2154
|
"onUpdate:showDialog": [
|
|
2154
2155
|
o[3] || (o[3] = (i) => t.value = i),
|
|
@@ -2161,13 +2162,13 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2161
2162
|
]);
|
|
2162
2163
|
};
|
|
2163
2164
|
}
|
|
2164
|
-
}),
|
|
2165
|
+
}), es = { class: "flex-col items-center" }, ts = { class: "flex gap-2" }, ns = {
|
|
2165
2166
|
key: 0,
|
|
2166
2167
|
class: "text-xs text-red-500 mt-2"
|
|
2167
|
-
},
|
|
2168
|
+
}, os = {
|
|
2168
2169
|
key: 1,
|
|
2169
2170
|
class: "flex items-center mt-2"
|
|
2170
|
-
},
|
|
2171
|
+
}, ss = { class: "flex flex-col" }, as = { class: "font-medium" }, ls = { class: "text-xs text-gray-400" }, is = { class: "text-xs text-gray-400" }, rs = /* @__PURE__ */ Q({
|
|
2171
2172
|
__name: "NetSuiteVendorField",
|
|
2172
2173
|
props: {
|
|
2173
2174
|
isDuplicate: { type: Boolean, default: !1 },
|
|
@@ -2182,12 +2183,12 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2182
2183
|
},
|
|
2183
2184
|
emits: ["update:modelValue"],
|
|
2184
2185
|
setup(k, { emit: b }) {
|
|
2185
|
-
const e = k, v =
|
|
2186
|
+
const e = k, v = U(() => e.modelValue), t = b;
|
|
2186
2187
|
return (d, u) => {
|
|
2187
2188
|
const l = V("FmButton"), h = V("FmIcon");
|
|
2188
|
-
return S(), D("div",
|
|
2189
|
-
s("div",
|
|
2190
|
-
I(
|
|
2189
|
+
return S(), D("div", es, [
|
|
2190
|
+
s("div", ts, [
|
|
2191
|
+
I(Lt, {
|
|
2191
2192
|
placeholder: "Select NetSuite Vendor",
|
|
2192
2193
|
items: d.nsVendorOptions,
|
|
2193
2194
|
searchTarget: "name",
|
|
@@ -2206,8 +2207,8 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2206
2207
|
}))
|
|
2207
2208
|
})) : K("", !0)
|
|
2208
2209
|
]),
|
|
2209
|
-
d.isDuplicate ? (S(), D("div",
|
|
2210
|
-
v.value.netsuiteId ? (S(), D("div",
|
|
2210
|
+
d.isDuplicate ? (S(), D("div", ns, " NetSuite vendor being used by another FeedMe supplier. ")) : K("", !0),
|
|
2211
|
+
v.value.netsuiteId ? (S(), D("div", os, [
|
|
2211
2212
|
I(h, {
|
|
2212
2213
|
name: "cloud",
|
|
2213
2214
|
color: "neutral-gray-400",
|
|
@@ -2215,19 +2216,19 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2215
2216
|
class: "mr-2",
|
|
2216
2217
|
outline: ""
|
|
2217
2218
|
}),
|
|
2218
|
-
s("div",
|
|
2219
|
-
s("span",
|
|
2220
|
-
s("span",
|
|
2221
|
-
s("span",
|
|
2219
|
+
s("div", ss, [
|
|
2220
|
+
s("span", as, E(v.value.name), 1),
|
|
2221
|
+
s("span", ls, "ID: " + E(v.value.netsuiteId), 1),
|
|
2222
|
+
s("span", is, "Subsidiary: " + E(v.value.subsidiaryName), 1)
|
|
2222
2223
|
])
|
|
2223
2224
|
])) : K("", !0)
|
|
2224
2225
|
]);
|
|
2225
2226
|
};
|
|
2226
2227
|
}
|
|
2227
|
-
}),
|
|
2228
|
+
}), us = {
|
|
2228
2229
|
key: 0,
|
|
2229
2230
|
class: "flex items-center justify-center py-12"
|
|
2230
|
-
},
|
|
2231
|
+
}, ds = /* @__PURE__ */ Q({
|
|
2231
2232
|
__name: "AddVendorDialog",
|
|
2232
2233
|
props: {
|
|
2233
2234
|
showDialog: {
|
|
@@ -2253,7 +2254,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2253
2254
|
},
|
|
2254
2255
|
emits: ["update:loading", "update:showDialog"],
|
|
2255
2256
|
setup(k, { emit: b }) {
|
|
2256
|
-
const e =
|
|
2257
|
+
const e = ve(), v = le(), t = [
|
|
2257
2258
|
{
|
|
2258
2259
|
id: "fmSupplier",
|
|
2259
2260
|
header: "FeedMe Supplier",
|
|
@@ -2281,7 +2282,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2281
2282
|
const C = p.row.original, F = l.value[C._id], w = Object.entries(l.value).some(
|
|
2282
2283
|
([o, a]) => o !== C._id && a.netsuiteId === (F == null ? void 0 : F.netsuiteId)
|
|
2283
2284
|
);
|
|
2284
|
-
return B(
|
|
2285
|
+
return B(rs, {
|
|
2285
2286
|
isDuplicate: w,
|
|
2286
2287
|
nsVendorOptions: c.value,
|
|
2287
2288
|
modelValue: F,
|
|
@@ -2300,10 +2301,10 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2300
2301
|
});
|
|
2301
2302
|
}
|
|
2302
2303
|
}
|
|
2303
|
-
], d = k, u = b, l = R({}), h = R(), A = R(""), c =
|
|
2304
|
+
], d = k, u = b, l = R({}), h = R(), A = R(""), c = U(() => d.nsVendorsNotBeingUsed.filter((p) => p.name).map((p) => ({
|
|
2304
2305
|
label: p.name,
|
|
2305
2306
|
value: p
|
|
2306
|
-
}))), m =
|
|
2307
|
+
}))), m = U(() => Object.values(l.value).length === 0 || Object.values(l.value).some(
|
|
2307
2308
|
(p) => Object.values(l.value).filter((C) => C.netsuiteId === p.netsuiteId).length > 1
|
|
2308
2309
|
));
|
|
2309
2310
|
async function y() {
|
|
@@ -2343,7 +2344,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2343
2344
|
}, null, 8, ["disabled"])
|
|
2344
2345
|
]),
|
|
2345
2346
|
default: O(() => [
|
|
2346
|
-
d.nsVendorsLoading ? (S(), D("div",
|
|
2347
|
+
d.nsVendorsLoading ? (S(), D("div", us, [
|
|
2347
2348
|
I(F, { size: "lg" }),
|
|
2348
2349
|
C[4] || (C[4] = s("span", { class: "ml-3 text-gray-500" }, "Loading NetSuite vendors...", -1))
|
|
2349
2350
|
])) : (S(), H(o, {
|
|
@@ -2370,17 +2371,17 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2370
2371
|
}, 8, ["modelValue"]);
|
|
2371
2372
|
};
|
|
2372
2373
|
}
|
|
2373
|
-
}),
|
|
2374
|
+
}), cs = { class: "p-8 flex items-center justify-between" }, ms = { class: "flex items-center gap-2" }, ps = {
|
|
2374
2375
|
key: 0,
|
|
2375
2376
|
class: "text-sm text-gray-500"
|
|
2376
|
-
},
|
|
2377
|
+
}, fs = {
|
|
2377
2378
|
key: 1,
|
|
2378
2379
|
class: "text-sm text-red-500"
|
|
2379
|
-
},
|
|
2380
|
+
}, vs = /* @__PURE__ */ Q({
|
|
2380
2381
|
__name: "VendorsTab",
|
|
2381
2382
|
setup(k) {
|
|
2382
|
-
const b =
|
|
2383
|
-
|
|
2383
|
+
const b = dn(), e = ve(), v = le(), t = R(""), d = R(!1), u = R([]), l = R(!1), h = R(null), A = R(null);
|
|
2384
|
+
ke(async () => {
|
|
2384
2385
|
if (b.suppliers.length === 0)
|
|
2385
2386
|
try {
|
|
2386
2387
|
await b.readSuppliers();
|
|
@@ -2398,7 +2399,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2398
2399
|
}
|
|
2399
2400
|
}
|
|
2400
2401
|
});
|
|
2401
|
-
const c =
|
|
2402
|
+
const c = U(() => e.state.setting.vendors), m = [
|
|
2402
2403
|
{
|
|
2403
2404
|
id: "vendor",
|
|
2404
2405
|
header: () => "FeedMe Supplier",
|
|
@@ -2459,27 +2460,27 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2459
2460
|
]);
|
|
2460
2461
|
}
|
|
2461
2462
|
}
|
|
2462
|
-
], y =
|
|
2463
|
+
], y = U(() => b.suppliers.filter(
|
|
2463
2464
|
(w) => !e.state.setting.vendors.some((o) => o.id === w._id)
|
|
2464
|
-
)), p =
|
|
2465
|
+
)), p = U(() => u.value.filter(
|
|
2465
2466
|
(w) => !e.state.setting.vendors.some(
|
|
2466
2467
|
(o) => o.netSuiteId === w.netsuiteId
|
|
2467
2468
|
)
|
|
2468
2469
|
)), C = () => {
|
|
2469
2470
|
d.value = !0;
|
|
2470
|
-
}, F =
|
|
2471
|
+
}, F = U(() => !l.value && !h.value && u.value.length > 0);
|
|
2471
2472
|
return (w, o) => {
|
|
2472
2473
|
const a = V("FmSearch"), f = V("FmButton"), g = V("FmTable");
|
|
2473
2474
|
return S(), D("div", null, [
|
|
2474
|
-
s("div",
|
|
2475
|
+
s("div", cs, [
|
|
2475
2476
|
I(a, {
|
|
2476
2477
|
placeholder: "Search by Vendor",
|
|
2477
2478
|
class: "w-[300px]",
|
|
2478
2479
|
modelValue: t.value,
|
|
2479
2480
|
"onUpdate:modelValue": o[0] || (o[0] = (i) => t.value = i)
|
|
2480
2481
|
}, null, 8, ["modelValue"]),
|
|
2481
|
-
s("div",
|
|
2482
|
-
l.value ? (S(), D("span",
|
|
2482
|
+
s("div", ms, [
|
|
2483
|
+
l.value ? (S(), D("span", ps, "Loading vendors...")) : h.value ? (S(), D("span", fs, E(h.value), 1)) : K("", !0),
|
|
2483
2484
|
I(f, {
|
|
2484
2485
|
label: "Add vendor",
|
|
2485
2486
|
onClick: C,
|
|
@@ -2494,7 +2495,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2494
2495
|
"shrink-at": !1,
|
|
2495
2496
|
"search-value": t.value
|
|
2496
2497
|
}, null, 8, ["row-data", "search-value"]),
|
|
2497
|
-
I(
|
|
2498
|
+
I(ds, {
|
|
2498
2499
|
"show-dialog": d.value,
|
|
2499
2500
|
"onUpdate:showDialog": [
|
|
2500
2501
|
o[1] || (o[1] = (i) => d.value = i),
|
|
@@ -2508,11 +2509,11 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2508
2509
|
]);
|
|
2509
2510
|
};
|
|
2510
2511
|
}
|
|
2511
|
-
}),
|
|
2512
|
+
}), gs = { class: "p-8 flex flex-col gap-4" }, ys = { class: "flex gap-4 items-center" }, bs = /* @__PURE__ */ Q({
|
|
2512
2513
|
__name: "ItemsTab",
|
|
2513
2514
|
setup(k) {
|
|
2514
|
-
const b =
|
|
2515
|
-
|
|
2515
|
+
const b = Ve(), e = ve(), v = Ee(), t = le(), { t: d } = oe();
|
|
2516
|
+
ke(async () => {
|
|
2516
2517
|
e.state.isReady && e.state.itemReplicas.length === 0 && await e.getAllItemReplicas();
|
|
2517
2518
|
});
|
|
2518
2519
|
const u = (o) => {
|
|
@@ -2523,7 +2524,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2523
2524
|
if (o.parentNetSuiteId) return null;
|
|
2524
2525
|
const a = o.skuCache;
|
|
2525
2526
|
return a ? b.skuById[a._id] ? null : "new" : null;
|
|
2526
|
-
}, h =
|
|
2527
|
+
}, h = U(() => e.state.itemReplicas.some(
|
|
2527
2528
|
(o) => u(o.syncedAt) || l(o) === "new"
|
|
2528
2529
|
)), A = R(!1), c = async () => {
|
|
2529
2530
|
A.value = !0;
|
|
@@ -2547,7 +2548,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2547
2548
|
key: "itemType",
|
|
2548
2549
|
type: "string",
|
|
2549
2550
|
entity: "item",
|
|
2550
|
-
values: Object.values(
|
|
2551
|
+
values: Object.values(Me.Values)
|
|
2551
2552
|
},
|
|
2552
2553
|
{
|
|
2553
2554
|
key: "isParent",
|
|
@@ -2555,15 +2556,15 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2555
2556
|
entity: "item",
|
|
2556
2557
|
values: ["true", "false"]
|
|
2557
2558
|
}
|
|
2558
|
-
], F =
|
|
2559
|
+
], F = U(() => {
|
|
2559
2560
|
let o = e.state.itemReplicas;
|
|
2560
2561
|
if (!p.value)
|
|
2561
2562
|
return o;
|
|
2562
|
-
const a =
|
|
2563
|
+
const a = xt.build(p.value);
|
|
2563
2564
|
return o.filter(
|
|
2564
|
-
(f) =>
|
|
2565
|
+
(f) => It(
|
|
2565
2566
|
{
|
|
2566
|
-
itemType: f.itemType ||
|
|
2567
|
+
itemType: f.itemType || Me.Enum.InvtPart,
|
|
2567
2568
|
isParent: f.parentNetSuiteId ? "false" : "true"
|
|
2568
2569
|
},
|
|
2569
2570
|
a
|
|
@@ -2657,7 +2658,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2657
2658
|
B(
|
|
2658
2659
|
"span",
|
|
2659
2660
|
{ class: "text-xs text-gray-400" },
|
|
2660
|
-
`Type: ${a.itemType ||
|
|
2661
|
+
`Type: ${a.itemType || Me.Enum.InvtPart}`
|
|
2661
2662
|
)
|
|
2662
2663
|
])
|
|
2663
2664
|
]);
|
|
@@ -2682,15 +2683,15 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2682
2683
|
return (o, a) => {
|
|
2683
2684
|
const f = V("FmSearch"), g = V("FmButton"), i = V("FmTable");
|
|
2684
2685
|
return S(), D("div", null, [
|
|
2685
|
-
s("div",
|
|
2686
|
-
s("div",
|
|
2686
|
+
s("div", gs, [
|
|
2687
|
+
s("div", ys, [
|
|
2687
2688
|
I(f, {
|
|
2688
2689
|
placeholder: "Search by Item",
|
|
2689
2690
|
class: "w-[300px]",
|
|
2690
2691
|
modelValue: y.value,
|
|
2691
2692
|
"onUpdate:modelValue": a[0] || (a[0] = (n) => y.value = n)
|
|
2692
2693
|
}, null, 8, ["modelValue"]),
|
|
2693
|
-
I(_(
|
|
2694
|
+
I(_(St), {
|
|
2694
2695
|
modelValue: p.value,
|
|
2695
2696
|
"onUpdate:modelValue": a[1] || (a[1] = (n) => p.value = n),
|
|
2696
2697
|
attributes: C
|
|
@@ -2716,10 +2717,10 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2716
2717
|
]);
|
|
2717
2718
|
};
|
|
2718
2719
|
}
|
|
2719
|
-
}),
|
|
2720
|
+
}), As = { class: "p-8" }, hs = /* @__PURE__ */ Q({
|
|
2720
2721
|
__name: "UnitTypesTab",
|
|
2721
2722
|
setup(k) {
|
|
2722
|
-
const b =
|
|
2723
|
+
const b = Ve(), e = ve(), v = R(), t = R(""), d = U(() => e.state.setting.units), u = [
|
|
2723
2724
|
{
|
|
2724
2725
|
id: "unit",
|
|
2725
2726
|
header: () => "FeedMe Unit",
|
|
@@ -2788,7 +2789,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2788
2789
|
return (l, h) => {
|
|
2789
2790
|
const A = V("FmSearch"), c = V("FmTable");
|
|
2790
2791
|
return S(), D("div", null, [
|
|
2791
|
-
s("div",
|
|
2792
|
+
s("div", As, [
|
|
2792
2793
|
I(A, {
|
|
2793
2794
|
placeholder: "Search by Unit Type",
|
|
2794
2795
|
class: "w-[300px]",
|
|
@@ -2808,10 +2809,10 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2808
2809
|
]);
|
|
2809
2810
|
};
|
|
2810
2811
|
}
|
|
2811
|
-
}),
|
|
2812
|
+
}), xs = { key: 0 }, Is = {
|
|
2812
2813
|
key: 1,
|
|
2813
2814
|
class: "flex flex-col gap-8 w-full"
|
|
2814
|
-
},
|
|
2815
|
+
}, Ss = { class: "flex gap-2 flex-wrap" }, ws = { class: "flex items-center gap-2 text-sm text-gray-500" }, Cs = { class: "font-medium" }, ks = { class: "flex gap-8 items-center justify-start" }, _s = /* @__PURE__ */ Q({
|
|
2815
2816
|
__name: "BusinessNetSuiteSideSheet",
|
|
2816
2817
|
props: {
|
|
2817
2818
|
show: { type: Boolean },
|
|
@@ -2819,7 +2820,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2819
2820
|
},
|
|
2820
2821
|
emits: ["update:show", "update:loading"],
|
|
2821
2822
|
setup(k, { emit: b }) {
|
|
2822
|
-
const e =
|
|
2823
|
+
const e = fe(), v = ve(), t = k, d = b, u = Se(t, "show"), l = R(
|
|
2823
2824
|
"locations"
|
|
2824
2825
|
/* LOCATIONS */
|
|
2825
2826
|
), h = [
|
|
@@ -2827,7 +2828,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2827
2828
|
{ value: "vendors", label: "Vendors" },
|
|
2828
2829
|
{ value: "items", label: "Items" },
|
|
2829
2830
|
{ value: "unitTypes", label: "Unit Types" }
|
|
2830
|
-
], { t: A } = oe(), c =
|
|
2831
|
+
], { t: A } = oe(), c = U(() => {
|
|
2831
2832
|
const y = v.state.setting.syncedAt;
|
|
2832
2833
|
return y ? new Date(y).toLocaleString() : "Never";
|
|
2833
2834
|
}), m = [
|
|
@@ -2844,7 +2845,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2844
2845
|
const C = V("FmChip"), F = V("FmTabs"), w = V("FmButton"), o = V("FmSideSheet");
|
|
2845
2846
|
return S(), H(o, {
|
|
2846
2847
|
modelValue: _(u),
|
|
2847
|
-
"onUpdate:modelValue": p[2] || (p[2] = (a) =>
|
|
2848
|
+
"onUpdate:modelValue": p[2] || (p[2] = (a) => Ie(u) ? u.value = a : null),
|
|
2848
2849
|
header: _(A)("inventory.integration.netsuite.title"),
|
|
2849
2850
|
"dismiss-away": "",
|
|
2850
2851
|
"close-button": "",
|
|
@@ -2853,9 +2854,9 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2853
2854
|
default: O(() => {
|
|
2854
2855
|
var a;
|
|
2855
2856
|
return [
|
|
2856
|
-
(a = _(e).sessionUser.value) != null && a.role.isAdmin ? (S(), D("div",
|
|
2857
|
+
(a = _(e).sessionUser.value) != null && a.role.isAdmin ? (S(), D("div", Is, [
|
|
2857
2858
|
p[4] || (p[4] = s("div", { class: "text-sm" }, " This integration keeps your FeedMe system and NetSuite in sync for the following modules: ", -1)),
|
|
2858
|
-
s("div",
|
|
2859
|
+
s("div", Ss, [
|
|
2859
2860
|
(S(), D(Z, null, ae(m, (f) => I(C, {
|
|
2860
2861
|
key: f,
|
|
2861
2862
|
label: f,
|
|
@@ -2863,9 +2864,9 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2863
2864
|
}, null, 8, ["label"])), 64))
|
|
2864
2865
|
]),
|
|
2865
2866
|
p[5] || (p[5] = s("div", { class: "text-xs mt-2" }, " Changes made in FeedMe or NetSuite will be reflected in both systems, ensuring data consistency and streamlined operations. ", -1)),
|
|
2866
|
-
s("div",
|
|
2867
|
+
s("div", ws, [
|
|
2867
2868
|
p[3] || (p[3] = s("span", null, "NetSuite Last Sync:", -1)),
|
|
2868
|
-
s("span",
|
|
2869
|
+
s("span", Cs, E(c.value), 1)
|
|
2869
2870
|
]),
|
|
2870
2871
|
p[6] || (p[6] = s("hr", { class: "my-3" }, null, -1)),
|
|
2871
2872
|
I(F, {
|
|
@@ -2873,15 +2874,15 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2873
2874
|
"onUpdate:modelValue": p[0] || (p[0] = (f) => l.value = f),
|
|
2874
2875
|
items: h
|
|
2875
2876
|
}, null, 8, ["model-value"]),
|
|
2876
|
-
l.value === "locations" ? (S(), H(
|
|
2877
|
-
l.value === "vendors" ? (S(), H(
|
|
2878
|
-
l.value === "items" ? (S(), H(
|
|
2879
|
-
l.value === "unitTypes" ? (S(), H(
|
|
2880
|
-
])) : (S(), D("div",
|
|
2877
|
+
l.value === "locations" ? (S(), H(Wo, { key: 0 })) : K("", !0),
|
|
2878
|
+
l.value === "vendors" ? (S(), H(vs, { key: 1 })) : K("", !0),
|
|
2879
|
+
l.value === "items" ? (S(), H(bs, { key: 2 })) : K("", !0),
|
|
2880
|
+
l.value === "unitTypes" ? (S(), H(hs, { key: 3 })) : K("", !0)
|
|
2881
|
+
])) : (S(), D("div", xs, " Please contact your administrator to apply the changes. "))
|
|
2881
2882
|
];
|
|
2882
2883
|
}),
|
|
2883
2884
|
"side-sheet-footer": O(() => [
|
|
2884
|
-
s("div",
|
|
2885
|
+
s("div", ks, [
|
|
2885
2886
|
I(w, {
|
|
2886
2887
|
variant: "tertiary",
|
|
2887
2888
|
label: _(A)("common.close"),
|
|
@@ -2893,7 +2894,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2893
2894
|
}, 8, ["modelValue", "header"]);
|
|
2894
2895
|
};
|
|
2895
2896
|
}
|
|
2896
|
-
}),
|
|
2897
|
+
}), Fs = /* @__PURE__ */ Q({
|
|
2897
2898
|
__name: "InventoryTransferIngredientTable",
|
|
2898
2899
|
props: {
|
|
2899
2900
|
modelValue: { default: [] },
|
|
@@ -2901,7 +2902,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2901
2902
|
},
|
|
2902
2903
|
emits: ["update:modelValue"],
|
|
2903
2904
|
setup(k) {
|
|
2904
|
-
const { t: b } = Te(), e =
|
|
2905
|
+
const { t: b } = Te(), e = ft(k, "modelValue"), v = [
|
|
2905
2906
|
{
|
|
2906
2907
|
id: "Code",
|
|
2907
2908
|
header: () => b("inventory.transfer.form.items.table.Code"),
|
|
@@ -2959,7 +2960,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2959
2960
|
minSize: 200,
|
|
2960
2961
|
cell(t) {
|
|
2961
2962
|
const d = t.row.original, u = t.row.index;
|
|
2962
|
-
return B(
|
|
2963
|
+
return B(cn, {
|
|
2963
2964
|
style: {
|
|
2964
2965
|
flex: "1 1 0%"
|
|
2965
2966
|
},
|
|
@@ -2982,7 +2983,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
2982
2983
|
...e.value.slice(u + 1)
|
|
2983
2984
|
];
|
|
2984
2985
|
},
|
|
2985
|
-
rules: [
|
|
2986
|
+
rules: [mn(+pn({ amount: 1, precision: 0 }))],
|
|
2986
2987
|
applyDefaultRules: !0
|
|
2987
2988
|
});
|
|
2988
2989
|
},
|
|
@@ -3027,11 +3028,11 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3027
3028
|
}, null, 8, ["row-data", "row-key", "empty-text"]);
|
|
3028
3029
|
};
|
|
3029
3030
|
}
|
|
3030
|
-
}),
|
|
3031
|
+
}), Bs = { class: "flex items-center gap-8 mb-8" }, Vs = /* @__PURE__ */ Q({
|
|
3031
3032
|
__name: "InventoryTransferOutTable",
|
|
3032
3033
|
setup(k) {
|
|
3033
|
-
const b = R([]), e =
|
|
3034
|
-
|
|
3034
|
+
const b = R([]), e = Ee(), v = R(!1), t = R(!1), d = le(), u = pe();
|
|
3035
|
+
ke(async () => {
|
|
3035
3036
|
const c = /* @__PURE__ */ new Date(), m = /* @__PURE__ */ new Date();
|
|
3036
3037
|
m.setDate(m.getDate() - 30), v.value = !0;
|
|
3037
3038
|
try {
|
|
@@ -3124,7 +3125,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3124
3125
|
B(
|
|
3125
3126
|
"span",
|
|
3126
3127
|
{ class: "fm-typo-en-body-sm-400" },
|
|
3127
|
-
`Date: ${m ?
|
|
3128
|
+
`Date: ${m ? Ye(He(m)) : "N/A"}`
|
|
3128
3129
|
)
|
|
3129
3130
|
]);
|
|
3130
3131
|
}
|
|
@@ -3154,7 +3155,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3154
3155
|
return (c, m) => {
|
|
3155
3156
|
const y = V("FmButton"), p = V("FmTable");
|
|
3156
3157
|
return S(), D(Z, null, [
|
|
3157
|
-
s("div",
|
|
3158
|
+
s("div", Bs, [
|
|
3158
3159
|
m[1] || (m[1] = s("span", null, "Last 30 Days:", -1)),
|
|
3159
3160
|
I(y, {
|
|
3160
3161
|
"prepend-icon": "sync",
|
|
@@ -3177,19 +3178,19 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3177
3178
|
], 64);
|
|
3178
3179
|
};
|
|
3179
3180
|
}
|
|
3180
|
-
}),
|
|
3181
|
+
}), Es = { class: "flex flex-col gap-8" }, Ns = {
|
|
3181
3182
|
key: 0,
|
|
3182
3183
|
class: "flex flex-col gap-4"
|
|
3183
|
-
},
|
|
3184
|
+
}, Ds = { class: "flex gap-2" }, Ls = {
|
|
3184
3185
|
key: 1,
|
|
3185
3186
|
class: "flex items-center my-2 border rounded-lg p-2"
|
|
3186
|
-
},
|
|
3187
|
+
}, Ts = { class: "flex flex-col" }, Rs = { class: "font-medium" }, Ms = { class: "text-xs text-gray-400" }, Os = { class: "text-xs text-gray-400" }, Us = { class: "flex my-4" }, zs = { class: "flex" }, js = {
|
|
3187
3188
|
key: 1,
|
|
3188
3189
|
class: "flex flex-col"
|
|
3189
|
-
},
|
|
3190
|
+
}, Ps = {
|
|
3190
3191
|
key: 1,
|
|
3191
3192
|
class: "flex flex-col"
|
|
3192
|
-
},
|
|
3193
|
+
}, Ks = /* @__PURE__ */ Q({
|
|
3193
3194
|
__name: "InventoryTransfer",
|
|
3194
3195
|
props: {
|
|
3195
3196
|
nsLocations: {},
|
|
@@ -3197,14 +3198,14 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3197
3198
|
currentLocationSubsidiary: {}
|
|
3198
3199
|
},
|
|
3199
3200
|
setup(k) {
|
|
3200
|
-
const b =
|
|
3201
|
+
const b = Fe(), e = ve(), v = Ve(), t = Ee(), d = le(), { t: u } = Te(), l = R([]), h = [{ label: "Transfer Out" }, { label: "History" }], A = R(h[0]), c = R(!1), m = R(null), y = R(null), p = k, C = U(() => {
|
|
3201
3202
|
const g = e.currentLocationSetting, i = e.configuredLocations;
|
|
3202
3203
|
return p.nsLocations.map((n) => ({
|
|
3203
3204
|
label: n.name,
|
|
3204
3205
|
value: n,
|
|
3205
3206
|
disabled: i.some((r) => r.netSuiteId === n.netsuiteId) || n.subsidiaryId !== (g == null ? void 0 : g.subsidiaryId)
|
|
3206
3207
|
}));
|
|
3207
|
-
}), F =
|
|
3208
|
+
}), F = U({
|
|
3208
3209
|
get() {
|
|
3209
3210
|
return m.value ? m.value.toISOString().slice(0, 10) : "";
|
|
3210
3211
|
},
|
|
@@ -3216,7 +3217,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3216
3217
|
const i = m.value ?? /* @__PURE__ */ new Date(), n = new Date(g);
|
|
3217
3218
|
i.setFullYear(n.getFullYear(), n.getMonth(), n.getDate()), m.value = new Date(i);
|
|
3218
3219
|
}
|
|
3219
|
-
}), w =
|
|
3220
|
+
}), w = U({
|
|
3220
3221
|
get() {
|
|
3221
3222
|
if (!m.value) return null;
|
|
3222
3223
|
const g = String(m.value.getHours()).padStart(2, "0"), i = String(m.value.getMinutes()).padStart(2, "0");
|
|
@@ -3227,7 +3228,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3227
3228
|
const [i, n] = g.split(":").map(Number), r = m.value ?? /* @__PURE__ */ new Date();
|
|
3228
3229
|
r.setHours(i, n), m.value = new Date(r);
|
|
3229
3230
|
}
|
|
3230
|
-
}), o =
|
|
3231
|
+
}), o = U(() => F.value && w.value && y.value && l.value.length > 0 && !c.value);
|
|
3231
3232
|
async function a() {
|
|
3232
3233
|
if (o.value) {
|
|
3233
3234
|
if (!p.currentLocationSetting) {
|
|
@@ -3274,7 +3275,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3274
3275
|
b.open({
|
|
3275
3276
|
title: u("inventory.transfer.form.items.selectItem"),
|
|
3276
3277
|
closeButton: !0,
|
|
3277
|
-
contentComponent:
|
|
3278
|
+
contentComponent: rn,
|
|
3278
3279
|
contentComponentProps: {
|
|
3279
3280
|
modelValue: x,
|
|
3280
3281
|
items: r,
|
|
@@ -3307,14 +3308,14 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3307
3308
|
}
|
|
3308
3309
|
return (g, i) => {
|
|
3309
3310
|
const n = V("FmButtonGroup"), r = V("FmLabel"), x = V("FmField"), L = V("FmSimpleDatePicker"), j = V("FmTimePicker"), q = V("FmSelect"), M = V("FmIcon"), P = V("FmButton");
|
|
3310
|
-
return S(), D("div",
|
|
3311
|
+
return S(), D("div", Es, [
|
|
3311
3312
|
I(n, {
|
|
3312
3313
|
modelValue: A.value,
|
|
3313
|
-
"onUpdate:modelValue": i[0] || (i[0] = (
|
|
3314
|
+
"onUpdate:modelValue": i[0] || (i[0] = ($) => A.value = $),
|
|
3314
3315
|
items: h
|
|
3315
3316
|
}, null, 8, ["modelValue"]),
|
|
3316
3317
|
A.value.label === "Transfer Out" ? (S(), D(Z, { key: 0 }, [
|
|
3317
|
-
_(e).inventoryTransferOutEnabled ? (S(), D("div",
|
|
3318
|
+
_(e).inventoryTransferOutEnabled ? (S(), D("div", Ns, [
|
|
3318
3319
|
I(r, { class: "fm-typo-en-body-md-600" }, {
|
|
3319
3320
|
default: O(() => i[6] || (i[6] = [
|
|
3320
3321
|
ie("Type")
|
|
@@ -3355,7 +3356,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3355
3356
|
}),
|
|
3356
3357
|
I(L, {
|
|
3357
3358
|
modelValue: F.value,
|
|
3358
|
-
"onUpdate:modelValue": i[1] || (i[1] = (
|
|
3359
|
+
"onUpdate:modelValue": i[1] || (i[1] = ($) => F.value = $)
|
|
3359
3360
|
}, null, 8, ["modelValue"]),
|
|
3360
3361
|
I(r, { class: "fm-typo-en-body-md-600" }, {
|
|
3361
3362
|
default: O(() => i[10] || (i[10] = [
|
|
@@ -3365,7 +3366,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3365
3366
|
}),
|
|
3366
3367
|
I(j, {
|
|
3367
3368
|
modelValue: w.value,
|
|
3368
|
-
"onUpdate:modelValue": i[2] || (i[2] = (
|
|
3369
|
+
"onUpdate:modelValue": i[2] || (i[2] = ($) => w.value = $)
|
|
3369
3370
|
}, null, 8, ["modelValue"]),
|
|
3370
3371
|
I(r, { class: "fm-typo-en-body-md-600" }, {
|
|
3371
3372
|
default: O(() => i[11] || (i[11] = [
|
|
@@ -3373,17 +3374,17 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3373
3374
|
])),
|
|
3374
3375
|
_: 1
|
|
3375
3376
|
}),
|
|
3376
|
-
s("div",
|
|
3377
|
+
s("div", Ds, [
|
|
3377
3378
|
y.value ? K("", !0) : (S(), H(q, {
|
|
3378
3379
|
key: 0,
|
|
3379
3380
|
class: "my-4 w-full",
|
|
3380
3381
|
modelValue: y.value,
|
|
3381
|
-
"onUpdate:modelValue": i[3] || (i[3] = (
|
|
3382
|
+
"onUpdate:modelValue": i[3] || (i[3] = ($) => y.value = $),
|
|
3382
3383
|
searchable: "",
|
|
3383
3384
|
searchTarget: "label",
|
|
3384
3385
|
items: C.value
|
|
3385
3386
|
}, null, 8, ["modelValue", "items"])),
|
|
3386
|
-
y.value ? (S(), D("div",
|
|
3387
|
+
y.value ? (S(), D("div", Ls, [
|
|
3387
3388
|
I(M, {
|
|
3388
3389
|
name: "cloud",
|
|
3389
3390
|
color: "neutral-gray-400",
|
|
@@ -3391,20 +3392,20 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3391
3392
|
class: "mr-2",
|
|
3392
3393
|
outline: ""
|
|
3393
3394
|
}),
|
|
3394
|
-
s("div",
|
|
3395
|
-
s("span",
|
|
3396
|
-
s("span",
|
|
3397
|
-
s("span",
|
|
3395
|
+
s("div", Ts, [
|
|
3396
|
+
s("span", Rs, E(y.value.name), 1),
|
|
3397
|
+
s("span", Ms, "ID: " + E(y.value.netsuiteId), 1),
|
|
3398
|
+
s("span", Os, "Subsidiary: " + E(y.value.subsidiaryName), 1)
|
|
3398
3399
|
]),
|
|
3399
3400
|
I(P, {
|
|
3400
3401
|
class: "ml-2",
|
|
3401
3402
|
variant: "secondary",
|
|
3402
3403
|
label: "Clear",
|
|
3403
|
-
onClick: i[4] || (i[4] = (
|
|
3404
|
+
onClick: i[4] || (i[4] = ($) => y.value = null)
|
|
3404
3405
|
})
|
|
3405
3406
|
])) : K("", !0)
|
|
3406
3407
|
]),
|
|
3407
|
-
s("div",
|
|
3408
|
+
s("div", Us, [
|
|
3408
3409
|
I(P, {
|
|
3409
3410
|
class: "ml-auto",
|
|
3410
3411
|
variant: "secondary",
|
|
@@ -3413,11 +3414,11 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3413
3414
|
onClick: f
|
|
3414
3415
|
})
|
|
3415
3416
|
]),
|
|
3416
|
-
I(
|
|
3417
|
+
I(Fs, {
|
|
3417
3418
|
modelValue: l.value,
|
|
3418
|
-
"onUpdate:modelValue": i[5] || (i[5] = (
|
|
3419
|
+
"onUpdate:modelValue": i[5] || (i[5] = ($) => l.value = $)
|
|
3419
3420
|
}, null, 8, ["modelValue"]),
|
|
3420
|
-
s("div",
|
|
3421
|
+
s("div", zs, [
|
|
3421
3422
|
I(P, {
|
|
3422
3423
|
class: "ml-auto mt-4",
|
|
3423
3424
|
variant: "primary",
|
|
@@ -3428,7 +3429,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3428
3429
|
onClick: a
|
|
3429
3430
|
}, null, 8, ["disabled", "loading"])
|
|
3430
3431
|
])
|
|
3431
|
-
])) : (S(), D("div",
|
|
3432
|
+
])) : (S(), D("div", js, [
|
|
3432
3433
|
I(r, { class: "fm-typo-en-body-md-600" }, {
|
|
3433
3434
|
default: O(() => i[12] || (i[12] = [
|
|
3434
3435
|
ie(" Feature is not enabled. Please contact your administrator. ")
|
|
@@ -3437,29 +3438,29 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3437
3438
|
})
|
|
3438
3439
|
]))
|
|
3439
3440
|
], 64)) : K("", !0),
|
|
3440
|
-
A.value.label === "History" ? (S(), D("div",
|
|
3441
|
-
I(
|
|
3441
|
+
A.value.label === "History" ? (S(), D("div", Ps, [
|
|
3442
|
+
I(Vs)
|
|
3442
3443
|
])) : K("", !0)
|
|
3443
3444
|
]);
|
|
3444
3445
|
};
|
|
3445
3446
|
}
|
|
3446
|
-
}),
|
|
3447
|
+
}), Hs = { class: "flex flex-col gap-8" }, qs = {
|
|
3447
3448
|
key: 0,
|
|
3448
3449
|
class: "flex flex-col gap-4"
|
|
3449
|
-
},
|
|
3450
|
+
}, Xs = { class: "flex flex-col gap-2" }, $s = { class: "flex flex-col gap-2 pl-6" }, Ys = { key: 1 }, Qs = { class: "flex justify-end" }, Gs = { class: "flex flex-col gap-4" }, Js = { class: "ml-auto flex gap-4" }, Zs = /* @__PURE__ */ Q({
|
|
3450
3451
|
__name: "TransferOrder",
|
|
3451
3452
|
props: {
|
|
3452
3453
|
currentLocationSetting: {}
|
|
3453
3454
|
},
|
|
3454
3455
|
setup(k) {
|
|
3455
|
-
const b =
|
|
3456
|
-
{ value:
|
|
3456
|
+
const b = fe(), e = Ee(), v = le(), t = R(!1), d = k, u = R([]), l = R(/* @__PURE__ */ new Set()), h = R(!1), A = R(me.enum[1]), c = [
|
|
3457
|
+
{ value: me.enum[1], label: "Version 1" },
|
|
3457
3458
|
{
|
|
3458
|
-
value:
|
|
3459
|
+
value: me.enum[2],
|
|
3459
3460
|
label: "Version 2",
|
|
3460
3461
|
subLabel: "Supports duplicate skus"
|
|
3461
3462
|
}
|
|
3462
|
-
], m =
|
|
3463
|
+
], m = U(() => u.value.length > 0 && l.value.size === u.value.length), y = U(() => l.value.size > 0 && l.value.size < u.value.length);
|
|
3463
3464
|
function p(g) {
|
|
3464
3465
|
g ? l.value = new Set(u.value.map((i) => i.id)) : l.value = /* @__PURE__ */ new Set();
|
|
3465
3466
|
}
|
|
@@ -3495,11 +3496,11 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3495
3496
|
});
|
|
3496
3497
|
return;
|
|
3497
3498
|
}
|
|
3498
|
-
A.value =
|
|
3499
|
+
A.value = me.enum[1], h.value = !0;
|
|
3499
3500
|
}
|
|
3500
3501
|
async function a() {
|
|
3501
3502
|
h.value = !1;
|
|
3502
|
-
const g = A.value ===
|
|
3503
|
+
const g = A.value === me.enum[2] ? me.enum[2] : void 0;
|
|
3503
3504
|
await f(g);
|
|
3504
3505
|
}
|
|
3505
3506
|
async function f(g) {
|
|
@@ -3522,7 +3523,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3522
3523
|
return (g, i) => {
|
|
3523
3524
|
var q;
|
|
3524
3525
|
const n = V("FmButton"), r = V("FmCheckbox"), x = V("FmRadio"), L = V("FmRadioGroup"), j = V("FmDialog");
|
|
3525
|
-
return S(), D("div",
|
|
3526
|
+
return S(), D("div", Hs, [
|
|
3526
3527
|
s("span", null, "Current date and time: " + E((/* @__PURE__ */ new Date()).toLocaleString()), 1),
|
|
3527
3528
|
I(n, {
|
|
3528
3529
|
label: "Check Unsync Transfer Order (Last 2 months)",
|
|
@@ -3531,9 +3532,9 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3531
3532
|
disabled: t.value,
|
|
3532
3533
|
loading: t.value
|
|
3533
3534
|
}, null, 8, ["disabled", "loading"]),
|
|
3534
|
-
u.value.length > 0 ? (S(), D("div",
|
|
3535
|
+
u.value.length > 0 ? (S(), D("div", qs, [
|
|
3535
3536
|
i[3] || (i[3] = s("p", null, "Transfer Order NetSuite ID not match with existing orders", -1)),
|
|
3536
|
-
s("div",
|
|
3537
|
+
s("div", Xs, [
|
|
3537
3538
|
(q = _(b).sessionUser.value) != null && q.role.isAdmin ? (S(), H(r, {
|
|
3538
3539
|
key: 0,
|
|
3539
3540
|
label: "Select All",
|
|
@@ -3543,7 +3544,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3543
3544
|
disabled: t.value,
|
|
3544
3545
|
"onUpdate:modelValue": p
|
|
3545
3546
|
}, null, 8, ["modelValue", "indeterminate", "disabled"])) : K("", !0),
|
|
3546
|
-
s("ul",
|
|
3547
|
+
s("ul", $s, [
|
|
3547
3548
|
(S(!0), D(Z, null, ae(u.value, (M) => {
|
|
3548
3549
|
var P;
|
|
3549
3550
|
return S(), D("li", {
|
|
@@ -3556,14 +3557,14 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3556
3557
|
value: M.id,
|
|
3557
3558
|
modelValue: F(M.id),
|
|
3558
3559
|
disabled: t.value,
|
|
3559
|
-
"onUpdate:modelValue": (
|
|
3560
|
-
}, null, 8, ["label", "value", "modelValue", "disabled", "onUpdate:modelValue"])) : (S(), D("span",
|
|
3560
|
+
"onUpdate:modelValue": ($) => C(M.id, $)
|
|
3561
|
+
}, null, 8, ["label", "value", "modelValue", "disabled", "onUpdate:modelValue"])) : (S(), D("span", Ys, E(M.id) + " (" + E(M.tranid) + ")", 1))
|
|
3561
3562
|
]);
|
|
3562
3563
|
}), 128))
|
|
3563
3564
|
])
|
|
3564
3565
|
]),
|
|
3565
|
-
s("div",
|
|
3566
|
-
I(
|
|
3566
|
+
s("div", Qs, [
|
|
3567
|
+
I(Qe, null, {
|
|
3567
3568
|
default: O(() => [
|
|
3568
3569
|
u.value.length > 0 ? (S(), H(n, {
|
|
3569
3570
|
key: 0,
|
|
@@ -3587,7 +3588,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3587
3588
|
s("span", { class: "fm-typo-en-heading-lg-700" }, "Select Sync Version", -1)
|
|
3588
3589
|
])),
|
|
3589
3590
|
"dialog-footer": O(() => [
|
|
3590
|
-
s("div",
|
|
3591
|
+
s("div", Js, [
|
|
3591
3592
|
I(n, {
|
|
3592
3593
|
label: "Not now",
|
|
3593
3594
|
variant: "secondary",
|
|
@@ -3601,7 +3602,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3601
3602
|
])
|
|
3602
3603
|
]),
|
|
3603
3604
|
default: O(() => [
|
|
3604
|
-
s("div",
|
|
3605
|
+
s("div", Gs, [
|
|
3605
3606
|
s("p", null, " Choose which order version to use for syncing " + E(l.value.size) + " selected transfer orders: ", 1),
|
|
3606
3607
|
I(L, {
|
|
3607
3608
|
modelValue: A.value,
|
|
@@ -3624,23 +3625,23 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3624
3625
|
]);
|
|
3625
3626
|
};
|
|
3626
3627
|
}
|
|
3627
|
-
}),
|
|
3628
|
+
}), Ws = { class: "flex flex-col gap-8" }, ea = {
|
|
3628
3629
|
key: 0,
|
|
3629
3630
|
class: "flex flex-col gap-4"
|
|
3630
|
-
},
|
|
3631
|
+
}, ta = { class: "flex flex-col gap-2" }, na = { class: "flex flex-col gap-2 pl-6" }, oa = { key: 1 }, sa = { class: "flex justify-end" }, aa = { class: "flex flex-col gap-4" }, la = { class: "ml-auto flex gap-4" }, ia = /* @__PURE__ */ Q({
|
|
3631
3632
|
__name: "PurchaseOrder",
|
|
3632
3633
|
props: {
|
|
3633
3634
|
currentLocationSetting: {}
|
|
3634
3635
|
},
|
|
3635
3636
|
setup(k) {
|
|
3636
|
-
const b =
|
|
3637
|
-
{ value:
|
|
3637
|
+
const b = fe(), e = Ee(), v = le(), t = R(!1), d = k, u = R([]), l = R(/* @__PURE__ */ new Set()), h = R(!1), A = R(me.enum[1]), c = [
|
|
3638
|
+
{ value: me.enum[1], label: "Version 1" },
|
|
3638
3639
|
{
|
|
3639
|
-
value:
|
|
3640
|
+
value: me.enum[2],
|
|
3640
3641
|
label: "Version 2",
|
|
3641
3642
|
subLabel: "Supports duplicate skus"
|
|
3642
3643
|
}
|
|
3643
|
-
], m =
|
|
3644
|
+
], m = U(() => u.value.length > 0 && l.value.size === u.value.length), y = U(() => l.value.size > 0 && l.value.size < u.value.length);
|
|
3644
3645
|
function p(g) {
|
|
3645
3646
|
g ? l.value = new Set(u.value.map((i) => i.id)) : l.value = /* @__PURE__ */ new Set();
|
|
3646
3647
|
}
|
|
@@ -3676,11 +3677,11 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3676
3677
|
});
|
|
3677
3678
|
return;
|
|
3678
3679
|
}
|
|
3679
|
-
A.value =
|
|
3680
|
+
A.value = me.enum[1], h.value = !0;
|
|
3680
3681
|
}
|
|
3681
3682
|
async function a() {
|
|
3682
3683
|
h.value = !1;
|
|
3683
|
-
const g = A.value ===
|
|
3684
|
+
const g = A.value === me.enum[2] ? me.enum[2] : void 0;
|
|
3684
3685
|
await f(g);
|
|
3685
3686
|
}
|
|
3686
3687
|
async function f(g) {
|
|
@@ -3703,7 +3704,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3703
3704
|
return (g, i) => {
|
|
3704
3705
|
var q;
|
|
3705
3706
|
const n = V("FmButton"), r = V("FmCheckbox"), x = V("FmRadio"), L = V("FmRadioGroup"), j = V("FmDialog");
|
|
3706
|
-
return S(), D("div",
|
|
3707
|
+
return S(), D("div", Ws, [
|
|
3707
3708
|
s("span", null, "Current date and time: " + E((/* @__PURE__ */ new Date()).toLocaleString()), 1),
|
|
3708
3709
|
I(n, {
|
|
3709
3710
|
label: "Check Unsync Purchase Order (Last 2 months)",
|
|
@@ -3712,9 +3713,9 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3712
3713
|
disabled: t.value,
|
|
3713
3714
|
loading: t.value
|
|
3714
3715
|
}, null, 8, ["disabled", "loading"]),
|
|
3715
|
-
u.value.length > 0 ? (S(), D("div",
|
|
3716
|
+
u.value.length > 0 ? (S(), D("div", ea, [
|
|
3716
3717
|
i[3] || (i[3] = s("p", null, "Purchase Order NetSuite ID not match with existing orders", -1)),
|
|
3717
|
-
s("div",
|
|
3718
|
+
s("div", ta, [
|
|
3718
3719
|
(q = _(b).sessionUser.value) != null && q.role.isAdmin ? (S(), H(r, {
|
|
3719
3720
|
key: 0,
|
|
3720
3721
|
label: "Select All",
|
|
@@ -3724,7 +3725,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3724
3725
|
disabled: t.value,
|
|
3725
3726
|
"onUpdate:modelValue": p
|
|
3726
3727
|
}, null, 8, ["modelValue", "indeterminate", "disabled"])) : K("", !0),
|
|
3727
|
-
s("ul",
|
|
3728
|
+
s("ul", na, [
|
|
3728
3729
|
(S(!0), D(Z, null, ae(u.value, (M) => {
|
|
3729
3730
|
var P;
|
|
3730
3731
|
return S(), D("li", {
|
|
@@ -3737,16 +3738,16 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3737
3738
|
value: M.id,
|
|
3738
3739
|
modelValue: F(M.id),
|
|
3739
3740
|
disabled: t.value,
|
|
3740
|
-
"onUpdate:modelValue": (
|
|
3741
|
-
}, null, 8, ["label", "value", "modelValue", "disabled", "onUpdate:modelValue"])) : (S(), D("div",
|
|
3741
|
+
"onUpdate:modelValue": ($) => C(M.id, $)
|
|
3742
|
+
}, null, 8, ["label", "value", "modelValue", "disabled", "onUpdate:modelValue"])) : (S(), D("div", oa, [
|
|
3742
3743
|
s("span", null, E(M.id) + " (" + E(M.tranid) + ") [" + E(M.entity.id) + " (" + E(M.entity.name) + ")] ", 1)
|
|
3743
3744
|
]))
|
|
3744
3745
|
]);
|
|
3745
3746
|
}), 128))
|
|
3746
3747
|
])
|
|
3747
3748
|
]),
|
|
3748
|
-
s("div",
|
|
3749
|
-
I(
|
|
3749
|
+
s("div", sa, [
|
|
3750
|
+
I(Qe, null, {
|
|
3750
3751
|
default: O(() => [
|
|
3751
3752
|
u.value.length > 0 ? (S(), H(n, {
|
|
3752
3753
|
key: 0,
|
|
@@ -3770,7 +3771,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3770
3771
|
s("span", { class: "fm-typo-en-heading-lg-700" }, "Select Sync Version", -1)
|
|
3771
3772
|
])),
|
|
3772
3773
|
"dialog-footer": O(() => [
|
|
3773
|
-
s("div",
|
|
3774
|
+
s("div", la, [
|
|
3774
3775
|
I(n, {
|
|
3775
3776
|
label: "Not now",
|
|
3776
3777
|
variant: "secondary",
|
|
@@ -3784,7 +3785,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3784
3785
|
])
|
|
3785
3786
|
]),
|
|
3786
3787
|
default: O(() => [
|
|
3787
|
-
s("div",
|
|
3788
|
+
s("div", aa, [
|
|
3788
3789
|
s("p", null, " Choose which order version to use for syncing " + E(l.value.size) + " selected purchase orders: ", 1),
|
|
3789
3790
|
I(L, {
|
|
3790
3791
|
modelValue: A.value,
|
|
@@ -3807,7 +3808,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3807
3808
|
]);
|
|
3808
3809
|
};
|
|
3809
3810
|
}
|
|
3810
|
-
}),
|
|
3811
|
+
}), ra = { class: "flex flex-col gap-8 w-full" }, ua = { class: "flex gap-4 justify-between" }, da = { 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" }, ca = { class: "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap" }, ma = { key: 0 }, pa = { class: "flex gap-8 items-center justify-start" }, fa = /* @__PURE__ */ Q({
|
|
3811
3812
|
__name: "NetSuiteSideSheet",
|
|
3812
3813
|
props: {
|
|
3813
3814
|
nsLocations: {},
|
|
@@ -3817,7 +3818,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3817
3818
|
emits: ["update:show"],
|
|
3818
3819
|
setup(k, { emit: b }) {
|
|
3819
3820
|
var F;
|
|
3820
|
-
const e =
|
|
3821
|
+
const e = fe(), v = ve(), t = k, d = Se(t, "show"), { t: u } = oe(), l = b, h = pe(), A = ((F = h._currentLocation) == null ? void 0 : F.type) || "", c = [
|
|
3821
3822
|
{
|
|
3822
3823
|
label: "Inventory Transfer (Out)",
|
|
3823
3824
|
value: "inventoryTransfer"
|
|
@@ -3833,7 +3834,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3833
3834
|
value: "purchaseOrder"
|
|
3834
3835
|
/* PURCHASE_ORDER */
|
|
3835
3836
|
}
|
|
3836
|
-
], m = R(c[0].value), y =
|
|
3837
|
+
], m = R(c[0].value), y = U(() => v.currentLocationSubsidiary()), p = U(() => v.currentLocationSetting), C = U(() => t.nsLocations.filter(
|
|
3837
3838
|
(w) => w.subsidiaryId === y.value.id || w.netsuiteId === y.value.id
|
|
3838
3839
|
));
|
|
3839
3840
|
return (w, o) => {
|
|
@@ -3841,32 +3842,32 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3841
3842
|
const a = V("FmIcon"), f = V("FmTabs"), g = V("FmButton"), i = V("FmSideSheet");
|
|
3842
3843
|
return S(), H(i, {
|
|
3843
3844
|
modelValue: _(d),
|
|
3844
|
-
"onUpdate:modelValue": o[2] || (o[2] = (r) =>
|
|
3845
|
+
"onUpdate:modelValue": o[2] || (o[2] = (r) => Ie(d) ? d.value = r : null),
|
|
3845
3846
|
header: "Data migration (Xilnex)",
|
|
3846
3847
|
"dismiss-away": "",
|
|
3847
3848
|
"close-button": "",
|
|
3848
3849
|
"max-width": 800
|
|
3849
|
-
},
|
|
3850
|
+
}, Ae({
|
|
3850
3851
|
default: O(() => [
|
|
3851
3852
|
_(v).isCurrentLocationBindedToNetSuite ? (S(), D(Z, { key: 1 }, [
|
|
3852
|
-
m.value === "inventoryTransfer" ? (S(), H(
|
|
3853
|
+
m.value === "inventoryTransfer" ? (S(), H(Ks, {
|
|
3853
3854
|
key: 0,
|
|
3854
3855
|
currentLocationSetting: p.value,
|
|
3855
3856
|
nsLocations: C.value,
|
|
3856
3857
|
currentLocationSubsidiary: y.value
|
|
3857
3858
|
}, null, 8, ["currentLocationSetting", "nsLocations", "currentLocationSubsidiary"])) : K("", !0),
|
|
3858
|
-
m.value === "transferOrder" ? (S(), H(
|
|
3859
|
+
m.value === "transferOrder" ? (S(), H(Zs, {
|
|
3859
3860
|
key: 1,
|
|
3860
3861
|
currentLocationSetting: p.value
|
|
3861
3862
|
}, null, 8, ["currentLocationSetting"])) : K("", !0),
|
|
3862
|
-
m.value === "purchaseOrder" ? (S(), H(
|
|
3863
|
+
m.value === "purchaseOrder" ? (S(), H(ia, {
|
|
3863
3864
|
key: 2,
|
|
3864
3865
|
currentLocationSetting: p.value
|
|
3865
3866
|
}, null, 8, ["currentLocationSetting"])) : K("", !0)
|
|
3866
|
-
], 64)) : (S(), D("div",
|
|
3867
|
+
], 64)) : (S(), D("div", ma, " Netsuite is not configured for this location. Please contact your administrator. "))
|
|
3867
3868
|
]),
|
|
3868
3869
|
"side-sheet-footer": O(() => [
|
|
3869
|
-
s("div",
|
|
3870
|
+
s("div", pa, [
|
|
3870
3871
|
I(g, {
|
|
3871
3872
|
variant: "tertiary",
|
|
3872
3873
|
label: _(u)("common.close"),
|
|
@@ -3881,15 +3882,15 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3881
3882
|
fn: O(() => {
|
|
3882
3883
|
var r;
|
|
3883
3884
|
return [
|
|
3884
|
-
s("div",
|
|
3885
|
-
s("div",
|
|
3885
|
+
s("div", ra, [
|
|
3886
|
+
s("div", ua, [
|
|
3886
3887
|
o[3] || (o[3] = s("div", { class: "fm-typo-en-title-md-600" }, "NetSuite Integration", -1)),
|
|
3887
|
-
s("div",
|
|
3888
|
+
s("div", da, [
|
|
3888
3889
|
I(a, {
|
|
3889
3890
|
name: _(A),
|
|
3890
3891
|
size: "sm"
|
|
3891
3892
|
}, null, 8, ["name"]),
|
|
3892
|
-
s("div",
|
|
3893
|
+
s("div", ca, E((r = _(h)._currentLocation) == null ? void 0 : r.name), 1)
|
|
3893
3894
|
])
|
|
3894
3895
|
]),
|
|
3895
3896
|
I(f, {
|
|
@@ -3905,15 +3906,15 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3905
3906
|
]), 1032, ["modelValue"]);
|
|
3906
3907
|
};
|
|
3907
3908
|
}
|
|
3908
|
-
}),
|
|
3909
|
+
}), va = { class: "flex justify-center" }, ga = ["src"], ya = { class: "flex flex-col items-center gap-2" }, ba = { class: "text-lg font-bold" }, Aa = { class: "text-fm-color-neutral-gray-300" }, ha = /* @__PURE__ */ Q({
|
|
3909
3910
|
__name: "NetSuite",
|
|
3910
3911
|
setup(k) {
|
|
3911
|
-
const b =
|
|
3912
|
+
const b = ve(), e = le(), v = R(!1), t = R(!1);
|
|
3912
3913
|
async function d() {
|
|
3913
3914
|
t.value = !0;
|
|
3914
3915
|
}
|
|
3915
3916
|
const u = R([]);
|
|
3916
|
-
|
|
3917
|
+
Pt(async () => {
|
|
3917
3918
|
if (b.isReady && b.isEnabled && !b.isBusinessLocation) {
|
|
3918
3919
|
v.value = !0;
|
|
3919
3920
|
try {
|
|
@@ -3946,15 +3947,15 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3946
3947
|
default: O(() => [
|
|
3947
3948
|
I(c, null, {
|
|
3948
3949
|
default: O(() => [
|
|
3949
|
-
s("div",
|
|
3950
|
+
s("div", va, [
|
|
3950
3951
|
s("img", {
|
|
3951
|
-
src: _(
|
|
3952
|
+
src: _(To),
|
|
3952
3953
|
alt: "NetSuite"
|
|
3953
|
-
}, null, 8,
|
|
3954
|
+
}, null, 8, ga)
|
|
3954
3955
|
]),
|
|
3955
|
-
s("div",
|
|
3956
|
-
s("div",
|
|
3957
|
-
s("div",
|
|
3956
|
+
s("div", ya, [
|
|
3957
|
+
s("div", ba, E(_(l)("inventory.integration.netsuite.title")), 1),
|
|
3958
|
+
s("div", Aa, E(_(l)("inventory.integration.netsuite.description")), 1)
|
|
3958
3959
|
])
|
|
3959
3960
|
]),
|
|
3960
3961
|
_: 1
|
|
@@ -3962,11 +3963,11 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3962
3963
|
]),
|
|
3963
3964
|
_: 1
|
|
3964
3965
|
}),
|
|
3965
|
-
_(b).state.setting ? (S(), H(
|
|
3966
|
+
_(b).state.setting ? (S(), H(_e, {
|
|
3966
3967
|
key: 0,
|
|
3967
3968
|
to: "body"
|
|
3968
3969
|
}, [
|
|
3969
|
-
_(b).isBusinessLocation ? (S(), H(
|
|
3970
|
+
_(b).isBusinessLocation ? (S(), H(_s, {
|
|
3970
3971
|
key: 0,
|
|
3971
3972
|
show: t.value,
|
|
3972
3973
|
"onUpdate:show": [
|
|
@@ -3975,7 +3976,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3975
3976
|
],
|
|
3976
3977
|
loading: v.value,
|
|
3977
3978
|
"onUpdate:loading": A[3] || (A[3] = (y) => v.value = y)
|
|
3978
|
-
}, null, 8, ["show", "loading"])) : (S(), H(
|
|
3979
|
+
}, null, 8, ["show", "loading"])) : (S(), H(fa, {
|
|
3979
3980
|
key: 1,
|
|
3980
3981
|
setting: _(b).state.setting,
|
|
3981
3982
|
"onUpdate:setting": A[4] || (A[4] = (y) => _(b).state.setting = y),
|
|
@@ -3993,13 +3994,13 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
3993
3994
|
], 64)) : K("", !0);
|
|
3994
3995
|
};
|
|
3995
3996
|
}
|
|
3996
|
-
}),
|
|
3997
|
+
}), xa = { class: "flex flex-col rounded border border-fm-color-neutral-gray-100 px-5 py-5 gap-5 mb-3" }, Ia = { class: "flex items-center" }, Sa = { class: "text-lg font-bold flex-grow" }, wa = {
|
|
3997
3998
|
key: 0,
|
|
3998
3999
|
class: "table-auto w-full"
|
|
3999
|
-
},
|
|
4000
|
+
}, Ca = { class: "text-left" }, ka = { class: "min-w-64" }, _a = { class: "flex flex-col" }, Fa = { class: "fm-typo-en-body-md-400" }, Ba = {
|
|
4000
4001
|
key: 0,
|
|
4001
4002
|
class: "fm-typo-en-body-sm-400 text-fm-color-neutral-gray-400"
|
|
4002
|
-
},
|
|
4003
|
+
}, Va = { class: "w-1" }, ct = /* @__PURE__ */ Q({
|
|
4003
4004
|
__name: "ApplyProductCodemax",
|
|
4004
4005
|
props: {
|
|
4005
4006
|
isAddon: {
|
|
@@ -4025,9 +4026,9 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
4025
4026
|
},
|
|
4026
4027
|
emits: ["update:bindings"],
|
|
4027
4028
|
setup(k, { emit: b }) {
|
|
4028
|
-
const e = k, v = b, t =
|
|
4029
|
-
() =>
|
|
4030
|
-
), h =
|
|
4029
|
+
const e = k, v = b, t = Fe(), d = U(() => e.isAddon ? "Addons" : "Products"), u = U(() => e.isAddon ? [] : e.categories), l = U(
|
|
4030
|
+
() => _t(u.value, e.variants, e.menus)
|
|
4031
|
+
), h = U(() => {
|
|
4031
4032
|
if (e.isAddon)
|
|
4032
4033
|
return e.bindings.map((f) => {
|
|
4033
4034
|
const g = e.menus.find((n) => n._id === f.productId), i = (g == null ? void 0 : g.name) ?? "-";
|
|
@@ -4138,7 +4139,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
4138
4139
|
if (ue(i))
|
|
4139
4140
|
return i.children.filter((x) => x.active).map((x) => {
|
|
4140
4141
|
const { productId: L, combinationKey: j } = x.value, q = f.find(
|
|
4141
|
-
({ productId: P, combinationKey:
|
|
4142
|
+
({ productId: P, combinationKey: $ }) => L === P && j === $
|
|
4142
4143
|
);
|
|
4143
4144
|
if (j)
|
|
4144
4145
|
return {
|
|
@@ -4149,7 +4150,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
4149
4150
|
unit: (q == null ? void 0 : q.unit) ?? ""
|
|
4150
4151
|
};
|
|
4151
4152
|
const M = f.find(
|
|
4152
|
-
({ productId: P, combinationKey:
|
|
4153
|
+
({ productId: P, combinationKey: $ }) => L === P && !$
|
|
4153
4154
|
);
|
|
4154
4155
|
return {
|
|
4155
4156
|
...M ?? {},
|
|
@@ -4193,7 +4194,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
4193
4194
|
};
|
|
4194
4195
|
t.open({
|
|
4195
4196
|
title: `Select ${d.value}`,
|
|
4196
|
-
contentComponent:
|
|
4197
|
+
contentComponent: Ge,
|
|
4197
4198
|
contentComponentProps: f,
|
|
4198
4199
|
primaryActions: {
|
|
4199
4200
|
text: "Confirm",
|
|
@@ -4207,9 +4208,9 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
4207
4208
|
const { t: o } = oe();
|
|
4208
4209
|
return (a, f) => {
|
|
4209
4210
|
const g = V("FmButton"), i = V("FmTextField");
|
|
4210
|
-
return S(), D("div",
|
|
4211
|
-
s("div",
|
|
4212
|
-
s("div",
|
|
4211
|
+
return S(), D("div", xa, [
|
|
4212
|
+
s("div", Ia, [
|
|
4213
|
+
s("div", Sa, E(k.isAddon ? _(o)("inventory.integration.apply.addons") : _(o)("inventory.integration.apply.products")), 1),
|
|
4213
4214
|
I(g, {
|
|
4214
4215
|
type: "button",
|
|
4215
4216
|
variant: "plain",
|
|
@@ -4220,10 +4221,10 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
4220
4221
|
}, null, 8, ["label"])
|
|
4221
4222
|
]),
|
|
4222
4223
|
s("div", null, [
|
|
4223
|
-
h.value.length > 0 ? (S(), D("table",
|
|
4224
|
+
h.value.length > 0 ? (S(), D("table", wa, [
|
|
4224
4225
|
s("thead", null, [
|
|
4225
|
-
s("tr",
|
|
4226
|
-
s("th",
|
|
4226
|
+
s("tr", Ca, [
|
|
4227
|
+
s("th", ka, E(_(o)("inventory.integration.apply.name")), 1),
|
|
4227
4228
|
s("th", null, E(_(o)("inventory.integration.apply.code")), 1),
|
|
4228
4229
|
s("th", null, E(_(o)("inventory.common.unit")), 1),
|
|
4229
4230
|
f[1] || (f[1] = s("th", { class: "w-1" }, " ", -1))
|
|
@@ -4234,9 +4235,9 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
4234
4235
|
f[2] || (f[2] = s("tr", { class: "block h-8" }, null, -1)),
|
|
4235
4236
|
s("tr", null, [
|
|
4236
4237
|
s("td", null, [
|
|
4237
|
-
s("div",
|
|
4238
|
-
s("div",
|
|
4239
|
-
n.variantName ? (S(), D("div",
|
|
4238
|
+
s("div", _a, [
|
|
4239
|
+
s("div", Fa, E(n.menuCode) + " " + E(n.name), 1),
|
|
4240
|
+
n.variantName ? (S(), D("div", Ba, E(n.variantName), 1)) : K("", !0)
|
|
4240
4241
|
])
|
|
4241
4242
|
]),
|
|
4242
4243
|
s("td", null, [
|
|
@@ -4261,7 +4262,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
4261
4262
|
]
|
|
4262
4263
|
}, null, 8, ["model-value", "onUpdate:modelValue", "rules"])
|
|
4263
4264
|
]),
|
|
4264
|
-
s("td",
|
|
4265
|
+
s("td", Va, [
|
|
4265
4266
|
I(g, {
|
|
4266
4267
|
type: "button",
|
|
4267
4268
|
variant: "tertiary",
|
|
@@ -4280,7 +4281,7 @@ const eo = { class: "flex flex-col gap-24" }, to = { class: "fm-typo-en-body-md-
|
|
|
4280
4281
|
};
|
|
4281
4282
|
}
|
|
4282
4283
|
});
|
|
4283
|
-
var
|
|
4284
|
+
var Ea = N.enum([
|
|
4284
4285
|
"401",
|
|
4285
4286
|
"701",
|
|
4286
4287
|
"702",
|
|
@@ -4317,7 +4318,7 @@ var _a = N.enum([
|
|
|
4317
4318
|
"9500",
|
|
4318
4319
|
"9501",
|
|
4319
4320
|
"9502"
|
|
4320
|
-
]),
|
|
4321
|
+
]), Na = {
|
|
4321
4322
|
401: "Unauthorized access",
|
|
4322
4323
|
701: "Access token does not match with server record",
|
|
4323
4324
|
702: "Access token has expired",
|
|
@@ -4355,26 +4356,26 @@ var _a = N.enum([
|
|
|
4355
4356
|
9501: "'modifierName' in 'invoiceModifiers' list (Tier 3) is a mandatory field.",
|
|
4356
4357
|
9502: "'quantity' in 'invoiceModifiers' list (Tier 3) is a mandatory field and cannot be 0."
|
|
4357
4358
|
};
|
|
4358
|
-
function
|
|
4359
|
-
const b =
|
|
4360
|
-
return b.success ?
|
|
4359
|
+
function Da(k) {
|
|
4360
|
+
const b = Ea.safeParse(k);
|
|
4361
|
+
return b.success ? Na[b.data] : void 0;
|
|
4361
4362
|
}
|
|
4362
|
-
var
|
|
4363
|
+
var La = N.enum([
|
|
4363
4364
|
"NEW",
|
|
4364
4365
|
"VOID",
|
|
4365
4366
|
"SUPERSEDE",
|
|
4366
4367
|
"REFUND"
|
|
4367
|
-
]),
|
|
4368
|
+
]), Ze = N.union([N.literal(0), N.literal(1)]), Tt = N.union([
|
|
4368
4369
|
N.literal(0),
|
|
4369
4370
|
N.literal(1),
|
|
4370
4371
|
N.literal(2),
|
|
4371
4372
|
N.literal(3)
|
|
4372
|
-
]),
|
|
4373
|
+
]), We = N.object({
|
|
4373
4374
|
taxCode: N.string(),
|
|
4374
4375
|
taxName: N.string(),
|
|
4375
4376
|
taxAmount: N.number(),
|
|
4376
4377
|
taxPercentage: N.number()
|
|
4377
|
-
}),
|
|
4378
|
+
}), Rt = N.lazy(
|
|
4378
4379
|
() => N.object({
|
|
4379
4380
|
modifierParentCode: N.string(),
|
|
4380
4381
|
modifierCode: N.string(),
|
|
@@ -4384,17 +4385,17 @@ var Va = N.enum([
|
|
|
4384
4385
|
unitPrice: N.number(),
|
|
4385
4386
|
totalPrice: N.number(),
|
|
4386
4387
|
discountAmount: N.number(),
|
|
4387
|
-
discountType:
|
|
4388
|
+
discountType: Ze,
|
|
4388
4389
|
discountValue: N.number(),
|
|
4389
4390
|
unitNetPrice: N.number(),
|
|
4390
4391
|
totalNetPrice: N.number(),
|
|
4391
4392
|
orderLine: N.number(),
|
|
4392
4393
|
parentLine: N.number(),
|
|
4393
|
-
lineMode:
|
|
4394
|
-
taxDetails: N.array(
|
|
4395
|
-
invoiceModifiers: N.array(
|
|
4394
|
+
lineMode: Tt,
|
|
4395
|
+
taxDetails: N.array(We),
|
|
4396
|
+
invoiceModifiers: N.array(Rt)
|
|
4396
4397
|
})
|
|
4397
|
-
),
|
|
4398
|
+
), Ta = N.object({
|
|
4398
4399
|
/** Optional per Codemax spec; the transform does not send it today */
|
|
4399
4400
|
itemParentCode: N.string().optional(),
|
|
4400
4401
|
itemCode: N.string(),
|
|
@@ -4404,7 +4405,7 @@ var Va = N.enum([
|
|
|
4404
4405
|
unitPrice: N.number(),
|
|
4405
4406
|
totalPrice: N.number(),
|
|
4406
4407
|
discountAmount: N.number(),
|
|
4407
|
-
discountType:
|
|
4408
|
+
discountType: Ze,
|
|
4408
4409
|
discountValue: N.number(),
|
|
4409
4410
|
unitNetPrice: N.number(),
|
|
4410
4411
|
totalNetPrice: N.number(),
|
|
@@ -4412,10 +4413,10 @@ var Va = N.enum([
|
|
|
4412
4413
|
orderDate: N.string(),
|
|
4413
4414
|
/** Index of the item in the invoice */
|
|
4414
4415
|
orderLine: N.number(),
|
|
4415
|
-
lineMode:
|
|
4416
|
-
taxDetails: N.array(
|
|
4417
|
-
invoiceModifiers: N.array(
|
|
4418
|
-
}),
|
|
4416
|
+
lineMode: Tt,
|
|
4417
|
+
taxDetails: N.array(We),
|
|
4418
|
+
invoiceModifiers: N.array(Rt)
|
|
4419
|
+
}), Ra = N.object({
|
|
4419
4420
|
paymentCode: N.string(),
|
|
4420
4421
|
paymentName: N.string(),
|
|
4421
4422
|
AmountPaid: N.number()
|
|
@@ -4424,7 +4425,7 @@ N.object({
|
|
|
4424
4425
|
invoiceNo: N.string(),
|
|
4425
4426
|
/** Receipt/queue number displayed on the receipt (optional per spec, sent as "" today) */
|
|
4426
4427
|
refNo: N.string(),
|
|
4427
|
-
invoiceStatus:
|
|
4428
|
+
invoiceStatus: La,
|
|
4428
4429
|
tableNo: N.string(),
|
|
4429
4430
|
pax: N.union([N.string(), N.number()]),
|
|
4430
4431
|
salesChannel: N.string(),
|
|
@@ -4436,13 +4437,13 @@ N.object({
|
|
|
4436
4437
|
invoicePaymentDate: N.string(),
|
|
4437
4438
|
invoiceDiscountName: N.string(),
|
|
4438
4439
|
invoiceDiscountAmount: N.number(),
|
|
4439
|
-
invoiceDiscountType:
|
|
4440
|
+
invoiceDiscountType: Ze,
|
|
4440
4441
|
invoiceDiscountValue: N.number(),
|
|
4441
4442
|
roundingAdj: N.number(),
|
|
4442
4443
|
grandTotal: N.number(),
|
|
4443
|
-
taxDetails: N.array(
|
|
4444
|
-
invoiceItems: N.array(
|
|
4445
|
-
invoicePayments: N.array(
|
|
4444
|
+
taxDetails: N.array(We),
|
|
4445
|
+
invoiceItems: N.array(Ta),
|
|
4446
|
+
invoicePayments: N.array(Ra)
|
|
4446
4447
|
});
|
|
4447
4448
|
N.object({
|
|
4448
4449
|
billId: N.string(),
|
|
@@ -4492,113 +4493,113 @@ N.object({
|
|
|
4492
4493
|
payload: N.record(N.unknown()).nullable().optional(),
|
|
4493
4494
|
response: N.record(N.unknown()).nullable().optional()
|
|
4494
4495
|
});
|
|
4495
|
-
const
|
|
4496
|
+
const Ma = { class: "flex items-center gap-2 mb-3" }, Oa = {
|
|
4496
4497
|
key: 0,
|
|
4497
4498
|
class: "mb-3"
|
|
4498
|
-
},
|
|
4499
|
+
}, Ua = { class: "max-h-[240px] overflow-y-auto flex flex-col gap-4" }, za = { class: "whitespace-nowrap" }, ja = {
|
|
4499
4500
|
key: 0,
|
|
4500
4501
|
class: "whitespace-nowrap text-fm-color-neutral-gray-300"
|
|
4501
|
-
},
|
|
4502
|
+
}, Pa = { class: "max-h-[60vh] overflow-auto" }, Ka = {
|
|
4502
4503
|
key: 1,
|
|
4503
4504
|
class: "text-fm-color-neutral-gray-300"
|
|
4504
|
-
},
|
|
4505
|
+
}, Ha = { class: "flex flex-col gap-4" }, qa = { class: "text-xs text-fm-color-neutral-gray-300" }, Xa = { class: "max-h-[60vh] overflow-auto" }, $a = { class: "text-xs text-fm-color-neutral-gray-300 mb-8" }, Ya = { class: "flex items-center gap-4" }, Qa = { class: "text-xs" }, Ga = {
|
|
4505
4506
|
key: 0,
|
|
4506
4507
|
class: "text-xs text-fm-color-neutral-gray-300 py-8"
|
|
4507
|
-
},
|
|
4508
|
+
}, Ja = { class: "flex flex-col gap-16 max-h-[60vh] overflow-auto" }, Za = { key: 0 }, Wa = { key: 1 }, Ue = 3, el = /* @__PURE__ */ Q({
|
|
4508
4509
|
__name: "CodemaxSyncStatusDialog",
|
|
4509
4510
|
props: {
|
|
4510
4511
|
show: { type: Boolean }
|
|
4511
4512
|
},
|
|
4512
4513
|
emits: ["update:show"],
|
|
4513
4514
|
setup(k, { emit: b }) {
|
|
4514
|
-
const e = k, v = b, t = le(), d =
|
|
4515
|
-
var
|
|
4516
|
-
return ((
|
|
4517
|
-
}), h = R(!1), A = R([]), c = R([]), m = R(!1), y =
|
|
4518
|
-
() => m.value ? c.value : c.value.slice(0,
|
|
4519
|
-
), p =
|
|
4520
|
-
() => m.value ? 0 : c.value.slice(
|
|
4521
|
-
), C = R(""), F = R(
|
|
4515
|
+
const e = k, v = b, t = le(), d = Jt(), u = fe(), l = U(() => {
|
|
4516
|
+
var z;
|
|
4517
|
+
return ((z = u.sessionUser.value) == null ? void 0 : z.role.isAdmin) ?? !1;
|
|
4518
|
+
}), h = R(!1), A = R([]), c = R([]), m = R(!1), y = U(
|
|
4519
|
+
() => m.value ? c.value : c.value.slice(0, Ue)
|
|
4520
|
+
), p = U(
|
|
4521
|
+
() => m.value ? 0 : c.value.slice(Ue).filter((z) => z.status === "failed").length
|
|
4522
|
+
), C = R(""), F = R(it()), w = R(/* @__PURE__ */ new Set());
|
|
4522
4523
|
async function o() {
|
|
4523
4524
|
h.value = !0;
|
|
4524
4525
|
try {
|
|
4525
|
-
const
|
|
4526
|
+
const z = await d.readBills({
|
|
4526
4527
|
start: F.value.startDate,
|
|
4527
4528
|
end: F.value.endDate
|
|
4528
|
-
}), [T,
|
|
4529
|
-
|
|
4529
|
+
}), [T, G] = await Promise.all([
|
|
4530
|
+
z.length ? d.readSyncLogsForBills(z.map((Y) => Y.billId)) : Promise.resolve([]),
|
|
4530
4531
|
d.readSyncRuns()
|
|
4531
4532
|
]);
|
|
4532
|
-
c.value =
|
|
4533
|
-
const
|
|
4533
|
+
c.value = G;
|
|
4534
|
+
const J = /* @__PURE__ */ new Map();
|
|
4534
4535
|
for (const Y of T) {
|
|
4535
|
-
const re =
|
|
4536
|
-
re ? re.push(Y) :
|
|
4536
|
+
const re = J.get(Y.billId);
|
|
4537
|
+
re ? re.push(Y) : J.set(Y.billId, [Y]);
|
|
4537
4538
|
}
|
|
4538
|
-
A.value =
|
|
4539
|
+
A.value = z.map((Y) => ({
|
|
4539
4540
|
billId: Y.billId,
|
|
4540
4541
|
billSeq: Y.billSeq,
|
|
4541
4542
|
billStatus: Y.status,
|
|
4542
4543
|
completedAt: Y.completedAt,
|
|
4543
|
-
logs:
|
|
4544
|
+
logs: J.get(Y.billId) ?? []
|
|
4544
4545
|
}));
|
|
4545
|
-
} catch (
|
|
4546
|
-
A.value = [], c.value = [], t.open({ title: "Something went wrong", message: "Failed to load sync status for date range.", type: "error" }), console.error("Error at fetching Codemax bills and sync status",
|
|
4546
|
+
} catch (z) {
|
|
4547
|
+
A.value = [], c.value = [], t.open({ title: "Something went wrong", message: "Failed to load sync status for date range.", type: "error" }), console.error("Error at fetching Codemax bills and sync status", z);
|
|
4547
4548
|
} finally {
|
|
4548
4549
|
h.value = !1;
|
|
4549
4550
|
}
|
|
4550
4551
|
}
|
|
4551
|
-
|
|
4552
|
+
we(F, o), we(
|
|
4552
4553
|
() => e.show,
|
|
4553
|
-
(
|
|
4554
|
-
|
|
4554
|
+
(z) => {
|
|
4555
|
+
z && (C.value = "", w.value = /* @__PURE__ */ new Set(), m.value = !1, F.value = it());
|
|
4555
4556
|
}
|
|
4556
4557
|
);
|
|
4557
|
-
function a(
|
|
4558
|
-
return w.value.has(
|
|
4558
|
+
function a(z) {
|
|
4559
|
+
return w.value.has(z);
|
|
4559
4560
|
}
|
|
4560
|
-
function f(
|
|
4561
|
-
const { resultCode: T, errorMessage:
|
|
4562
|
-
return { code: Y, message:
|
|
4561
|
+
function f(z) {
|
|
4562
|
+
const { resultCode: T, errorMessage: G } = z, J = /^Request failed with status code (\d+)$/.exec(G ?? ""), Y = T ?? (J == null ? void 0 : J[1]) ?? null, re = Da(Y), ye = re ?? G ?? z.message;
|
|
4563
|
+
return { code: Y, message: ye, detail: re && G && !J && G !== re ? G : null };
|
|
4563
4564
|
}
|
|
4564
|
-
function g(
|
|
4565
|
-
return ["COMPLETED", "VOIDED", "REFUNDED"].includes(
|
|
4565
|
+
function g(z) {
|
|
4566
|
+
return ["COMPLETED", "VOIDED", "REFUNDED"].includes(z.billStatus);
|
|
4566
4567
|
}
|
|
4567
|
-
function i(
|
|
4568
|
-
const
|
|
4569
|
-
for (const
|
|
4570
|
-
T ?
|
|
4571
|
-
w.value =
|
|
4568
|
+
function i(z, T) {
|
|
4569
|
+
const G = new Set(w.value);
|
|
4570
|
+
for (const J of z.filter(g))
|
|
4571
|
+
T ? G.add(J.billId) : G.delete(J.billId);
|
|
4572
|
+
w.value = G;
|
|
4572
4573
|
}
|
|
4573
|
-
function n(
|
|
4574
|
-
T ? w.value.add(
|
|
4574
|
+
function n(z, T) {
|
|
4575
|
+
T ? w.value.add(z) : w.value.delete(z), w.value = new Set(w.value);
|
|
4575
4576
|
}
|
|
4576
4577
|
const r = [
|
|
4577
4578
|
{
|
|
4578
4579
|
id: "select",
|
|
4579
|
-
header: ({ table:
|
|
4580
|
-
const T =
|
|
4580
|
+
header: ({ table: z }) => {
|
|
4581
|
+
const T = z.getFilteredRowModel().rows.map((Y) => Y.original).filter(g), G = T.length > 0 && T.every((Y) => a(Y.billId)), J = !G && T.some((Y) => a(Y.billId));
|
|
4581
4582
|
return B(ne.FmCheckbox, {
|
|
4582
|
-
modelValue:
|
|
4583
|
-
indeterminate:
|
|
4583
|
+
modelValue: G,
|
|
4584
|
+
indeterminate: J,
|
|
4584
4585
|
disabled: T.length === 0,
|
|
4585
4586
|
value: "all",
|
|
4586
4587
|
"onUpdate:modelValue": (Y) => i(T, Y)
|
|
4587
4588
|
});
|
|
4588
4589
|
},
|
|
4589
|
-
cell: ({ row:
|
|
4590
|
-
modelValue: a(
|
|
4591
|
-
value:
|
|
4592
|
-
"onUpdate:modelValue": (T) => n(
|
|
4590
|
+
cell: ({ row: z }) => g(z.original) ? B(ne.FmCheckbox, {
|
|
4591
|
+
modelValue: a(z.original.billId),
|
|
4592
|
+
value: z.original.billId,
|
|
4593
|
+
"onUpdate:modelValue": (T) => n(z.original.billId, T)
|
|
4593
4594
|
}) : null,
|
|
4594
4595
|
size: 40
|
|
4595
4596
|
},
|
|
4596
4597
|
{
|
|
4597
4598
|
id: "bill",
|
|
4598
4599
|
header: "Bill",
|
|
4599
|
-
accessorFn: (
|
|
4600
|
-
cell: ({ row:
|
|
4601
|
-
const T =
|
|
4600
|
+
accessorFn: (z) => `${z.billSeq ?? ""} ${z.billId} ${z.billStatus} ${z.completedAt ?? ""}`,
|
|
4601
|
+
cell: ({ row: z }) => {
|
|
4602
|
+
const T = z.original;
|
|
4602
4603
|
return B("div", { class: "flex flex-col items-start gap-4 py-8" }, [
|
|
4603
4604
|
B("div", { class: "flex items-center gap-4" }, [
|
|
4604
4605
|
B("div", T.billSeq ?? "-"),
|
|
@@ -4618,36 +4619,36 @@ const Da = { class: "flex items-center gap-2 mb-3" }, La = {
|
|
|
4618
4619
|
header: "Last Sync",
|
|
4619
4620
|
// Logs are newest first — only the latest attempt shows here; the rest
|
|
4620
4621
|
// live in the History dialog
|
|
4621
|
-
accessorFn: (
|
|
4622
|
-
const T =
|
|
4622
|
+
accessorFn: (z) => {
|
|
4623
|
+
const T = z.logs[0];
|
|
4623
4624
|
return T ? `${T.createdAt} ${T.status} ${T.message} ${T.resultCode ?? ""} ${T.errorMessage ?? ""}` : "not synced";
|
|
4624
4625
|
},
|
|
4625
|
-
cell: ({ row:
|
|
4626
|
-
const
|
|
4627
|
-
if (!
|
|
4626
|
+
cell: ({ row: z }) => {
|
|
4627
|
+
const G = z.original.logs[0];
|
|
4628
|
+
if (!G)
|
|
4628
4629
|
return B("div", { class: "text-fm-color-neutral-gray-300" }, "Not synced");
|
|
4629
|
-
const { code:
|
|
4630
|
+
const { code: J, message: Y, detail: re } = f(G), ye = G.status === "failed" ? "text-red-500" : "text-fm-color-neutral-gray-300";
|
|
4630
4631
|
return B("div", { class: "flex flex-col gap-4 py-8" }, [
|
|
4631
|
-
B("div", { class: "text-xs" }, new Date(
|
|
4632
|
-
B("div", { class: "text-xs text-fm-color-neutral-gray-300" },
|
|
4633
|
-
Y ? B("div", { class: `text-xs ${
|
|
4634
|
-
re ? B("div", { class: `text-xs ${
|
|
4632
|
+
B("div", { class: "text-xs" }, new Date(G.createdAt).toLocaleString()),
|
|
4633
|
+
B("div", { class: "text-xs text-fm-color-neutral-gray-300" }, G.status),
|
|
4634
|
+
Y ? B("div", { class: `text-xs ${ye}` }, J ? `${J} — ${Y}` : Y) : null,
|
|
4635
|
+
re ? B("div", { class: `text-xs ${ye}` }, re) : null
|
|
4635
4636
|
]);
|
|
4636
4637
|
}
|
|
4637
4638
|
},
|
|
4638
4639
|
{
|
|
4639
4640
|
id: "actions",
|
|
4640
4641
|
header: "",
|
|
4641
|
-
cell: ({ row:
|
|
4642
|
-
const T =
|
|
4642
|
+
cell: ({ row: z }) => {
|
|
4643
|
+
const T = z.original;
|
|
4643
4644
|
return B("div", { class: "flex items-center gap-8" }, [
|
|
4644
4645
|
g(T) ? B(ne.FmButton, {
|
|
4645
4646
|
label: "Resync",
|
|
4646
4647
|
size: "md",
|
|
4647
4648
|
variant: "plain",
|
|
4648
4649
|
icon: "sync",
|
|
4649
|
-
disabled:
|
|
4650
|
-
onClick: () =>
|
|
4650
|
+
disabled: De.value,
|
|
4651
|
+
onClick: () => tt([T.billId])
|
|
4651
4652
|
}) : null,
|
|
4652
4653
|
T.logs.length > 0 ? B(ne.FmButton, {
|
|
4653
4654
|
label: "History",
|
|
@@ -4661,11 +4662,11 @@ const Da = { class: "flex items-center gap-2 mb-3" }, La = {
|
|
|
4661
4662
|
size: 200
|
|
4662
4663
|
}
|
|
4663
4664
|
], x = R(null), L = R([]), j = R(!1);
|
|
4664
|
-
async function q(
|
|
4665
|
-
x.value =
|
|
4665
|
+
async function q(z) {
|
|
4666
|
+
x.value = z, L.value = [], M.value = /* @__PURE__ */ new Set(), j.value = !0;
|
|
4666
4667
|
try {
|
|
4667
4668
|
const T = await d.readSyncLog({
|
|
4668
|
-
billId:
|
|
4669
|
+
billId: z.billId,
|
|
4669
4670
|
includePayload: l.value
|
|
4670
4671
|
});
|
|
4671
4672
|
L.value = T.reverse();
|
|
@@ -4675,86 +4676,76 @@ const Da = { class: "flex items-center gap-2 mb-3" }, La = {
|
|
|
4675
4676
|
j.value = !1;
|
|
4676
4677
|
}
|
|
4677
4678
|
}
|
|
4678
|
-
const M = R(/* @__PURE__ */ new Set()), P =
|
|
4679
|
-
const
|
|
4680
|
-
for (const
|
|
4681
|
-
if (!
|
|
4682
|
-
|
|
4679
|
+
const M = R(/* @__PURE__ */ new Set()), P = U(() => {
|
|
4680
|
+
const z = [], T = /* @__PURE__ */ new Map();
|
|
4681
|
+
for (const G of L.value) {
|
|
4682
|
+
if (!G.runId) {
|
|
4683
|
+
z.push({ key: `row-${z.length}`, logs: [G] });
|
|
4683
4684
|
continue;
|
|
4684
4685
|
}
|
|
4685
|
-
const
|
|
4686
|
-
if (
|
|
4687
|
-
|
|
4686
|
+
const J = T.get(G.runId);
|
|
4687
|
+
if (J)
|
|
4688
|
+
J.logs.push(G);
|
|
4688
4689
|
else {
|
|
4689
|
-
const Y = { key:
|
|
4690
|
-
T.set(
|
|
4690
|
+
const Y = { key: G.runId, logs: [G] };
|
|
4691
|
+
T.set(G.runId, Y), z.push(Y);
|
|
4691
4692
|
}
|
|
4692
4693
|
}
|
|
4693
|
-
return
|
|
4694
|
+
return z;
|
|
4694
4695
|
});
|
|
4695
|
-
function
|
|
4696
|
+
function $(z) {
|
|
4696
4697
|
const T = new Set(M.value);
|
|
4697
|
-
T.has(
|
|
4698
|
+
T.has(z) ? T.delete(z) : T.add(z), M.value = T;
|
|
4698
4699
|
}
|
|
4699
|
-
const se = R(null), he =
|
|
4700
|
+
const se = R(null), he = U(
|
|
4700
4701
|
() => {
|
|
4701
|
-
var
|
|
4702
|
-
return ((T = (
|
|
4702
|
+
var z, T;
|
|
4703
|
+
return ((T = (z = se.value) == null ? void 0 : z.metadata) == null ? void 0 : T.bills) ?? [];
|
|
4703
4704
|
}
|
|
4704
|
-
), ee =
|
|
4705
|
+
), ee = U(
|
|
4705
4706
|
() => {
|
|
4706
|
-
var
|
|
4707
|
-
return Number(((T = (
|
|
4707
|
+
var z, T;
|
|
4708
|
+
return Number(((T = (z = se.value) == null ? void 0 : z.metadata) == null ? void 0 : T.billsTotal) ?? he.value.length);
|
|
4708
4709
|
}
|
|
4709
4710
|
);
|
|
4710
|
-
function
|
|
4711
|
+
function Mt(z) {
|
|
4711
4712
|
var T;
|
|
4712
|
-
return Number(((T =
|
|
4713
|
+
return Number(((T = z.metadata) == null ? void 0 : T.billsTotal) ?? 0);
|
|
4713
4714
|
}
|
|
4714
|
-
function
|
|
4715
|
+
function Ne(z) {
|
|
4715
4716
|
var T;
|
|
4716
|
-
return ((T =
|
|
4717
|
+
return ((T = z == null ? void 0 : z.metadata) == null ? void 0 : T.triggeredBy) ?? null;
|
|
4717
4718
|
}
|
|
4718
|
-
function
|
|
4719
|
-
const { code: T, message:
|
|
4720
|
-
resultCode:
|
|
4721
|
-
errorMessage:
|
|
4722
|
-
message:
|
|
4719
|
+
function et(z) {
|
|
4720
|
+
const { code: T, message: G } = f({
|
|
4721
|
+
resultCode: z.resultCode,
|
|
4722
|
+
errorMessage: z.detail,
|
|
4723
|
+
message: z.detail ?? ""
|
|
4723
4724
|
});
|
|
4724
|
-
return
|
|
4725
|
+
return G ? T ? `${T} — ${G}` : G : null;
|
|
4725
4726
|
}
|
|
4726
|
-
const
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
return (U = Ae.value) != null && U.payload ? JSON.stringify(Ae.value.payload, null, 2) : "";
|
|
4730
|
-
}
|
|
4731
|
-
), tt = z(
|
|
4732
|
-
() => {
|
|
4733
|
-
var U;
|
|
4734
|
-
return (U = Ae.value) != null && U.response ? JSON.stringify(Ae.value.response, null, 2) : "";
|
|
4735
|
-
}
|
|
4736
|
-
), Ne = R(!1);
|
|
4737
|
-
async function nt(U) {
|
|
4738
|
-
Ne.value = !0;
|
|
4727
|
+
const ce = R(null), De = R(!1);
|
|
4728
|
+
async function tt(z) {
|
|
4729
|
+
De.value = !0;
|
|
4739
4730
|
try {
|
|
4740
|
-
const T = await d.reuploadBills(
|
|
4731
|
+
const T = await d.reuploadBills(z), G = T.filter((Y) => Y.success).length, J = T.filter((Y) => !Y.success);
|
|
4741
4732
|
t.open({
|
|
4742
|
-
title:
|
|
4743
|
-
message: `${
|
|
4744
|
-
type:
|
|
4733
|
+
title: J.length ? "Resync finished with errors" : "Resync complete",
|
|
4734
|
+
message: `${G} of ${T.length} resynced${J.length ? `, ${J.length} failed: ${J.map((Y) => Y.billId).join(", ")}` : ""}.`,
|
|
4735
|
+
type: J.length ? "warning" : "success"
|
|
4745
4736
|
}), w.value = /* @__PURE__ */ new Set(), await new Promise((Y) => setTimeout(Y, 1500)), await o();
|
|
4746
4737
|
} catch (T) {
|
|
4747
4738
|
t.open({ title: "Something went wrong", message: "Resync failed.", type: "error" }), console.error("Error at resyncing Codemax bills", T);
|
|
4748
4739
|
} finally {
|
|
4749
|
-
|
|
4740
|
+
De.value = !1;
|
|
4750
4741
|
}
|
|
4751
4742
|
}
|
|
4752
|
-
return (
|
|
4753
|
-
const
|
|
4743
|
+
return (z, T) => {
|
|
4744
|
+
const G = V("FmSearch"), J = V("FmButton"), Y = V("FmTable"), re = V("FmSpacer"), ye = V("FmDialog"), nt = V("FmCircularProgress"), Ot = V("FmChip");
|
|
4754
4745
|
return S(), D(Z, null, [
|
|
4755
|
-
I(
|
|
4746
|
+
I(ye, {
|
|
4756
4747
|
modelValue: e.show,
|
|
4757
|
-
"onUpdate:modelValue": T[5] || (T[5] = (
|
|
4748
|
+
"onUpdate:modelValue": T[5] || (T[5] = (X) => v("update:show", X)),
|
|
4758
4749
|
overlay: !0,
|
|
4759
4750
|
"min-width": "100vw",
|
|
4760
4751
|
"max-width": "100vw",
|
|
@@ -4766,65 +4757,65 @@ const Da = { class: "flex items-center gap-2 mb-3" }, La = {
|
|
|
4766
4757
|
])),
|
|
4767
4758
|
"dialog-footer": O(() => [
|
|
4768
4759
|
I(re, { class: "sm:hidden xs:hidden" }),
|
|
4769
|
-
I(
|
|
4760
|
+
I(J, {
|
|
4770
4761
|
label: "Close",
|
|
4771
4762
|
size: "md",
|
|
4772
|
-
onClick: T[4] || (T[4] = (
|
|
4763
|
+
onClick: T[4] || (T[4] = (X) => v("update:show", !1))
|
|
4773
4764
|
})
|
|
4774
4765
|
]),
|
|
4775
4766
|
default: O(() => [
|
|
4776
|
-
s("div",
|
|
4777
|
-
I(
|
|
4767
|
+
s("div", Ma, [
|
|
4768
|
+
I(G, {
|
|
4778
4769
|
"model-value": C.value,
|
|
4779
|
-
"onUpdate:modelValue": T[0] || (T[0] = (
|
|
4770
|
+
"onUpdate:modelValue": T[0] || (T[0] = (X) => C.value = X),
|
|
4780
4771
|
placeholder: "Search",
|
|
4781
4772
|
class: "w-[260px]"
|
|
4782
4773
|
}, null, 8, ["model-value"]),
|
|
4783
|
-
I(
|
|
4774
|
+
I(fn, {
|
|
4784
4775
|
modelValue: F.value,
|
|
4785
|
-
"onUpdate:modelValue": T[1] || (T[1] = (
|
|
4776
|
+
"onUpdate:modelValue": T[1] || (T[1] = (X) => F.value = X)
|
|
4786
4777
|
}, null, 8, ["modelValue"]),
|
|
4787
|
-
I(
|
|
4778
|
+
I(J, {
|
|
4788
4779
|
label: "Refresh",
|
|
4789
4780
|
size: "md",
|
|
4790
4781
|
onClick: o
|
|
4791
4782
|
}),
|
|
4792
|
-
w.value.size > 0 ? (S(), H(
|
|
4783
|
+
w.value.size > 0 ? (S(), H(J, {
|
|
4793
4784
|
key: 0,
|
|
4794
4785
|
label: `Resync selected (${w.value.size})`,
|
|
4795
4786
|
size: "md",
|
|
4796
|
-
loading:
|
|
4797
|
-
onClick: T[2] || (T[2] = (
|
|
4787
|
+
loading: De.value,
|
|
4788
|
+
onClick: T[2] || (T[2] = (X) => tt(Array.from(w.value)))
|
|
4798
4789
|
}, null, 8, ["label", "loading"])) : K("", !0)
|
|
4799
4790
|
]),
|
|
4800
|
-
c.value.length ? (S(), D("div",
|
|
4791
|
+
c.value.length ? (S(), D("div", Oa, [
|
|
4801
4792
|
T[13] || (T[13] = s("div", { class: "font-bold mb-4" }, "Daily sync runs", -1)),
|
|
4802
|
-
s("div",
|
|
4803
|
-
(S(!0), D(Z, null, ae(y.value, (
|
|
4804
|
-
key: `${
|
|
4793
|
+
s("div", Ua, [
|
|
4794
|
+
(S(!0), D(Z, null, ae(y.value, (X) => (S(), D("div", {
|
|
4795
|
+
key: `${X.billId}-${X.createdAt}`,
|
|
4805
4796
|
class: "flex items-center gap-8 text-xs"
|
|
4806
4797
|
}, [
|
|
4807
|
-
s("div",
|
|
4798
|
+
s("div", za, E(new Date(X.createdAt).toLocaleString()), 1),
|
|
4808
4799
|
s("div", {
|
|
4809
|
-
class: te(
|
|
4810
|
-
}, E(
|
|
4811
|
-
|
|
4812
|
-
|
|
4800
|
+
class: te(X.status === "failed" ? "text-red-500" : "text-fm-color-neutral-gray-300")
|
|
4801
|
+
}, E(X.message), 3),
|
|
4802
|
+
Ne(X) ? (S(), D("div", ja, " by " + E(Ne(X)), 1)) : K("", !0),
|
|
4803
|
+
Mt(X) > 0 ? (S(), H(J, {
|
|
4813
4804
|
key: 1,
|
|
4814
4805
|
label: "Details",
|
|
4815
4806
|
size: "md",
|
|
4816
4807
|
variant: "plain",
|
|
4817
|
-
onClick: (W) => se.value =
|
|
4808
|
+
onClick: (W) => se.value = X
|
|
4818
4809
|
}, null, 8, ["onClick"])) : K("", !0)
|
|
4819
4810
|
]))), 128))
|
|
4820
4811
|
]),
|
|
4821
|
-
c.value.length >
|
|
4812
|
+
c.value.length > Ue ? (S(), H(J, {
|
|
4822
4813
|
key: 0,
|
|
4823
4814
|
label: m.value ? "Show less" : `Show all ${c.value.length} runs${p.value > 0 ? ` (${p.value} failed)` : ""}`,
|
|
4824
4815
|
size: "md",
|
|
4825
4816
|
variant: "plain",
|
|
4826
4817
|
icon: m.value ? "expand_less" : "expand_more",
|
|
4827
|
-
onClick: T[3] || (T[3] = (
|
|
4818
|
+
onClick: T[3] || (T[3] = (X) => m.value = !m.value)
|
|
4828
4819
|
}, null, 8, ["label", "icon"])) : K("", !0)
|
|
4829
4820
|
])) : K("", !0),
|
|
4830
4821
|
I(Y, {
|
|
@@ -4836,43 +4827,43 @@ const Da = { class: "flex items-center gap-2 mb-3" }, La = {
|
|
|
4836
4827
|
]),
|
|
4837
4828
|
_: 1
|
|
4838
4829
|
}, 8, ["modelValue"]),
|
|
4839
|
-
I(
|
|
4830
|
+
I(ye, {
|
|
4840
4831
|
modelValue: !!x.value,
|
|
4841
|
-
"onUpdate:modelValue": T[7] || (T[7] = (
|
|
4832
|
+
"onUpdate:modelValue": T[7] || (T[7] = (X) => !X && (x.value = null)),
|
|
4842
4833
|
overlay: !0,
|
|
4843
4834
|
"max-width": "720px"
|
|
4844
4835
|
}, {
|
|
4845
4836
|
"dialog-header": O(() => {
|
|
4846
|
-
var
|
|
4837
|
+
var X, W;
|
|
4847
4838
|
return [
|
|
4848
|
-
s("div", null, "Sync history — " + E(((
|
|
4839
|
+
s("div", null, "Sync history — " + E(((X = x.value) == null ? void 0 : X.billSeq) ?? ((W = x.value) == null ? void 0 : W.billId)), 1)
|
|
4849
4840
|
];
|
|
4850
4841
|
}),
|
|
4851
4842
|
"dialog-footer": O(() => [
|
|
4852
4843
|
I(re, { class: "sm:hidden xs:hidden" }),
|
|
4853
|
-
I(
|
|
4844
|
+
I(J, {
|
|
4854
4845
|
label: "Close",
|
|
4855
4846
|
size: "md",
|
|
4856
|
-
onClick: T[6] || (T[6] = (
|
|
4847
|
+
onClick: T[6] || (T[6] = (X) => x.value = null)
|
|
4857
4848
|
})
|
|
4858
4849
|
]),
|
|
4859
4850
|
default: O(() => [
|
|
4860
|
-
s("div",
|
|
4861
|
-
j.value ? (S(), H(
|
|
4851
|
+
s("div", Pa, [
|
|
4852
|
+
j.value ? (S(), H(nt, {
|
|
4862
4853
|
key: 0,
|
|
4863
4854
|
size: "md"
|
|
4864
|
-
})) : L.value.length === 0 ? (S(), D("div",
|
|
4865
|
-
(S(!0), D(Z, null, ae(P.value, (
|
|
4866
|
-
key:
|
|
4855
|
+
})) : L.value.length === 0 ? (S(), D("div", Ka, " No sync logs for this bill. ")) : K("", !0),
|
|
4856
|
+
(S(!0), D(Z, null, ae(P.value, (X) => (S(), D("div", {
|
|
4857
|
+
key: X.key,
|
|
4867
4858
|
class: "border-b border-fm-color-neutral-gray-100"
|
|
4868
4859
|
}, [
|
|
4869
|
-
(S(!0), D(Z, null, ae(M.value.has(
|
|
4870
|
-
key:
|
|
4871
|
-
class: te(["flex items-start justify-between gap-8 py-8",
|
|
4860
|
+
(S(!0), D(Z, null, ae(M.value.has(X.key) ? X.logs : X.logs.slice(0, 1), (W, xe) => (S(), D("div", {
|
|
4861
|
+
key: xe,
|
|
4862
|
+
class: te(["flex items-start justify-between gap-8 py-8", xe > 0 ? "pl-16" : ""])
|
|
4872
4863
|
}, [
|
|
4873
|
-
s("div",
|
|
4864
|
+
s("div", Ha, [
|
|
4874
4865
|
s("div", null, E(new Date(W.createdAt).toLocaleString()), 1),
|
|
4875
|
-
s("div",
|
|
4866
|
+
s("div", qa, E(W.status), 1),
|
|
4876
4867
|
f(W).message ? (S(), D("div", {
|
|
4877
4868
|
key: 0,
|
|
4878
4869
|
class: te(`text-xs ${W.status === "failed" ? "text-red-500" : "text-fm-color-neutral-gray-300"}`)
|
|
@@ -4882,36 +4873,36 @@ const Da = { class: "flex items-center gap-2 mb-3" }, La = {
|
|
|
4882
4873
|
class: te(`text-xs ${W.status === "failed" ? "text-red-500" : "text-fm-color-neutral-gray-300"}`)
|
|
4883
4874
|
}, E(f(W).detail), 3)) : K("", !0)
|
|
4884
4875
|
]),
|
|
4885
|
-
W.payload || W.response ? (S(), H(
|
|
4876
|
+
W.payload || W.response ? (S(), H(Qe, { key: 0 }, {
|
|
4886
4877
|
default: O(() => [
|
|
4887
|
-
I(
|
|
4878
|
+
I(J, {
|
|
4888
4879
|
label: "Debug",
|
|
4889
4880
|
size: "md",
|
|
4890
4881
|
variant: "plain",
|
|
4891
4882
|
icon: "bug_report",
|
|
4892
|
-
onClick: (
|
|
4883
|
+
onClick: (Re) => ce.value = W
|
|
4893
4884
|
}, null, 8, ["onClick"])
|
|
4894
4885
|
]),
|
|
4895
4886
|
_: 2
|
|
4896
4887
|
}, 1024)) : K("", !0)
|
|
4897
4888
|
], 2))), 128)),
|
|
4898
|
-
|
|
4889
|
+
X.logs.length > 1 ? (S(), H(J, {
|
|
4899
4890
|
key: 0,
|
|
4900
|
-
label: M.value.has(
|
|
4891
|
+
label: M.value.has(X.key) ? "Show less" : `${X.logs.length - 1} more attempt${X.logs.length > 2 ? "s" : ""}`,
|
|
4901
4892
|
size: "md",
|
|
4902
4893
|
variant: "plain",
|
|
4903
|
-
icon: M.value.has(
|
|
4894
|
+
icon: M.value.has(X.key) ? "expand_less" : "expand_more",
|
|
4904
4895
|
class: "mb-8",
|
|
4905
|
-
onClick: (W) => X
|
|
4896
|
+
onClick: (W) => $(X.key)
|
|
4906
4897
|
}, null, 8, ["label", "icon", "onClick"])) : K("", !0)
|
|
4907
4898
|
]))), 128))
|
|
4908
4899
|
])
|
|
4909
4900
|
]),
|
|
4910
4901
|
_: 1
|
|
4911
4902
|
}, 8, ["modelValue"]),
|
|
4912
|
-
I(
|
|
4903
|
+
I(ye, {
|
|
4913
4904
|
modelValue: !!se.value,
|
|
4914
|
-
"onUpdate:modelValue": T[9] || (T[9] = (
|
|
4905
|
+
"onUpdate:modelValue": T[9] || (T[9] = (X) => !X && (se.value = null)),
|
|
4915
4906
|
overlay: !0,
|
|
4916
4907
|
"max-width": "720px"
|
|
4917
4908
|
}, {
|
|
@@ -4920,83 +4911,92 @@ const Da = { class: "flex items-center gap-2 mb-3" }, La = {
|
|
|
4920
4911
|
]),
|
|
4921
4912
|
"dialog-footer": O(() => [
|
|
4922
4913
|
I(re, { class: "sm:hidden xs:hidden" }),
|
|
4923
|
-
I(
|
|
4914
|
+
I(J, {
|
|
4924
4915
|
label: "Close",
|
|
4925
4916
|
size: "md",
|
|
4926
|
-
onClick: T[8] || (T[8] = (
|
|
4917
|
+
onClick: T[8] || (T[8] = (X) => se.value = null)
|
|
4927
4918
|
})
|
|
4928
4919
|
]),
|
|
4929
4920
|
default: O(() => {
|
|
4930
|
-
var
|
|
4921
|
+
var X;
|
|
4931
4922
|
return [
|
|
4932
|
-
s("div",
|
|
4933
|
-
s("div",
|
|
4934
|
-
ie(E((
|
|
4935
|
-
|
|
4936
|
-
ie(" · Triggered by " + E(
|
|
4923
|
+
s("div", Xa, [
|
|
4924
|
+
s("div", $a, [
|
|
4925
|
+
ie(E((X = se.value) == null ? void 0 : X.message) + " ", 1),
|
|
4926
|
+
Ne(se.value) ? (S(), D(Z, { key: 0 }, [
|
|
4927
|
+
ie(" · Triggered by " + E(Ne(se.value)), 1)
|
|
4937
4928
|
], 64)) : K("", !0)
|
|
4938
4929
|
]),
|
|
4939
|
-
(S(!0), D(Z, null, ae(he.value, (W,
|
|
4940
|
-
key:
|
|
4930
|
+
(S(!0), D(Z, null, ae(he.value, (W, xe) => (S(), D("div", {
|
|
4931
|
+
key: xe,
|
|
4941
4932
|
class: "flex flex-col gap-4 py-8 border-b border-fm-color-neutral-gray-100"
|
|
4942
4933
|
}, [
|
|
4943
|
-
s("div",
|
|
4934
|
+
s("div", Ya, [
|
|
4944
4935
|
s("div", null, E(W.billSeq ?? "-"), 1),
|
|
4945
|
-
I(
|
|
4936
|
+
I(Ot, {
|
|
4946
4937
|
label: W.status,
|
|
4947
4938
|
compact: ""
|
|
4948
4939
|
}, null, 8, ["label"])
|
|
4949
4940
|
]),
|
|
4950
|
-
s("div",
|
|
4951
|
-
|
|
4941
|
+
s("div", Qa, E(W.billId), 1),
|
|
4942
|
+
et(W) ? (S(), D("div", {
|
|
4952
4943
|
key: 0,
|
|
4953
4944
|
class: te(`text-xs ${W.status === "failed" ? "text-red-500" : "text-fm-color-neutral-gray-300"}`)
|
|
4954
|
-
}, E(
|
|
4945
|
+
}, E(et(W)), 3)) : K("", !0)
|
|
4955
4946
|
]))), 128)),
|
|
4956
|
-
ee.value > he.value.length ? (S(), D("div",
|
|
4947
|
+
ee.value > he.value.length ? (S(), D("div", Ga, " Showing " + E(he.value.length) + " of " + E(ee.value) + " bills. ", 1)) : K("", !0)
|
|
4957
4948
|
])
|
|
4958
4949
|
];
|
|
4959
4950
|
}),
|
|
4960
4951
|
_: 1
|
|
4961
4952
|
}, 8, ["modelValue"]),
|
|
4962
|
-
I(
|
|
4963
|
-
modelValue: !!
|
|
4964
|
-
"onUpdate:modelValue": T[11] || (T[11] = (
|
|
4953
|
+
I(ye, {
|
|
4954
|
+
modelValue: !!ce.value,
|
|
4955
|
+
"onUpdate:modelValue": T[11] || (T[11] = (X) => !X && (ce.value = null)),
|
|
4965
4956
|
overlay: !0,
|
|
4966
4957
|
"max-width": "720px"
|
|
4967
4958
|
}, {
|
|
4968
4959
|
"dialog-header": O(() => {
|
|
4969
|
-
var
|
|
4960
|
+
var X, W;
|
|
4970
4961
|
return [
|
|
4971
|
-
s("div", null, "Codemax debug — " + E(((
|
|
4962
|
+
s("div", null, "Codemax debug — " + E(((X = x.value) == null ? void 0 : X.billSeq) ?? ((W = x.value) == null ? void 0 : W.billId)), 1)
|
|
4972
4963
|
];
|
|
4973
4964
|
}),
|
|
4974
4965
|
"dialog-footer": O(() => [
|
|
4975
4966
|
I(re, { class: "sm:hidden xs:hidden" }),
|
|
4976
|
-
I(
|
|
4967
|
+
I(J, {
|
|
4977
4968
|
label: "Close",
|
|
4978
4969
|
size: "md",
|
|
4979
|
-
onClick: T[10] || (T[10] = (
|
|
4970
|
+
onClick: T[10] || (T[10] = (X) => ce.value = null)
|
|
4980
4971
|
})
|
|
4981
4972
|
]),
|
|
4982
|
-
default: O(() =>
|
|
4983
|
-
|
|
4984
|
-
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
|
-
|
|
4992
|
-
|
|
4993
|
-
|
|
4973
|
+
default: O(() => {
|
|
4974
|
+
var X, W, xe, Re, ot, st, at, lt;
|
|
4975
|
+
return [
|
|
4976
|
+
s("div", Ja, [
|
|
4977
|
+
(X = ce.value) != null && X.payload ? (S(), D("div", Za, [
|
|
4978
|
+
T[14] || (T[14] = s("div", { class: "font-bold mb-4" }, "Payload", -1)),
|
|
4979
|
+
(S(), H(rt, {
|
|
4980
|
+
key: `${(W = ce.value) == null ? void 0 : W.createdAt}-${(xe = ce.value) == null ? void 0 : xe.stage}-payload`,
|
|
4981
|
+
value: (Re = ce.value) == null ? void 0 : Re.payload
|
|
4982
|
+
}, null, 8, ["value"]))
|
|
4983
|
+
])) : K("", !0),
|
|
4984
|
+
(ot = ce.value) != null && ot.response ? (S(), D("div", Wa, [
|
|
4985
|
+
T[15] || (T[15] = s("div", { class: "font-bold mb-4" }, "Response", -1)),
|
|
4986
|
+
(S(), H(rt, {
|
|
4987
|
+
key: `${(st = ce.value) == null ? void 0 : st.createdAt}-${(at = ce.value) == null ? void 0 : at.stage}-response`,
|
|
4988
|
+
value: (lt = ce.value) == null ? void 0 : lt.response
|
|
4989
|
+
}, null, 8, ["value"]))
|
|
4990
|
+
])) : K("", !0)
|
|
4991
|
+
])
|
|
4992
|
+
];
|
|
4993
|
+
}),
|
|
4994
4994
|
_: 1
|
|
4995
4995
|
}, 8, ["modelValue"])
|
|
4996
4996
|
], 64);
|
|
4997
4997
|
};
|
|
4998
4998
|
}
|
|
4999
|
-
}),
|
|
4999
|
+
}), ze = {
|
|
5000
5000
|
key: "codemax",
|
|
5001
5001
|
valueColumns: [
|
|
5002
5002
|
{ field: "itemCode", header: "CodeMax Code", aliases: ["codemaxcode"], required: !0 },
|
|
@@ -5009,7 +5009,7 @@ const Da = { class: "flex items-center gap-2 mb-3" }, La = {
|
|
|
5009
5009
|
unit: e.unit ?? ""
|
|
5010
5010
|
}),
|
|
5011
5011
|
readValues: (k) => ({ itemCode: k.itemCode, unit: k.unit })
|
|
5012
|
-
},
|
|
5012
|
+
}, tl = { class: "flex flex-col gap-8 w-full" }, nl = { class: "flex items-center" }, ol = /* @__PURE__ */ Q({
|
|
5013
5013
|
__name: "ApplyProductDialogCodemax",
|
|
5014
5014
|
props: {
|
|
5015
5015
|
categories: { default: () => [] },
|
|
@@ -5022,16 +5022,16 @@ const Da = { class: "flex items-center gap-2 mb-3" }, La = {
|
|
|
5022
5022
|
},
|
|
5023
5023
|
emits: ["update:setting", "update:show", "submit"],
|
|
5024
5024
|
setup(k, { emit: b }) {
|
|
5025
|
-
const e = k, v = b, t =
|
|
5026
|
-
|
|
5025
|
+
const e = k, v = b, t = Ke(de(e.setting));
|
|
5026
|
+
we([() => e.show], ([r]) => {
|
|
5027
5027
|
if (r)
|
|
5028
5028
|
for (const x of Object.keys(e.setting))
|
|
5029
5029
|
t[x] = e.setting[x];
|
|
5030
5030
|
});
|
|
5031
|
-
const d =
|
|
5031
|
+
const d = U(() => e.menus.filter((r) => !(r != null && r.category))), u = U(() => t.bindings.filter((r) => {
|
|
5032
5032
|
const x = e.menus.find((L) => L._id === r.productId);
|
|
5033
5033
|
return x ? !(x != null && x.category) : !1;
|
|
5034
|
-
})), l =
|
|
5034
|
+
})), l = U(() => e.menus.filter((r) => !!(r != null && r.category))), h = U(() => t.bindings.filter((r) => {
|
|
5035
5035
|
const x = e.menus.find((L) => L._id === r.productId);
|
|
5036
5036
|
return x ? !!(x != null && x.category) : !1;
|
|
5037
5037
|
}));
|
|
@@ -5041,15 +5041,15 @@ const Da = { class: "flex items-center gap-2 mb-3" }, La = {
|
|
|
5041
5041
|
function c(r) {
|
|
5042
5042
|
t.bindings = [...h.value, ...r];
|
|
5043
5043
|
}
|
|
5044
|
-
const m = R(), y =
|
|
5044
|
+
const m = R(), y = Fe(), p = le(), C = fe();
|
|
5045
5045
|
function F() {
|
|
5046
5046
|
var x;
|
|
5047
|
-
const { filename: r } =
|
|
5047
|
+
const { filename: r } = Et(
|
|
5048
5048
|
e.menus,
|
|
5049
5049
|
e.categories,
|
|
5050
5050
|
t.bindings,
|
|
5051
5051
|
e.variants,
|
|
5052
|
-
|
|
5052
|
+
ze,
|
|
5053
5053
|
(x = C.currentBusiness.value) == null ? void 0 : x.name
|
|
5054
5054
|
);
|
|
5055
5055
|
p.open({
|
|
@@ -5061,9 +5061,9 @@ const Da = { class: "flex items-center gap-2 mb-3" }, La = {
|
|
|
5061
5061
|
function w() {
|
|
5062
5062
|
y.open({
|
|
5063
5063
|
title: n("inventory.integration.bindingImport.dialogTitle"),
|
|
5064
|
-
contentComponent:
|
|
5064
|
+
contentComponent: Nt,
|
|
5065
5065
|
contentComponentProps: {
|
|
5066
|
-
config:
|
|
5066
|
+
config: ze,
|
|
5067
5067
|
menus: e.menus,
|
|
5068
5068
|
variants: e.variants,
|
|
5069
5069
|
bindings: de(t.bindings)
|
|
@@ -5084,7 +5084,7 @@ const Da = { class: "flex items-center gap-2 mb-3" }, La = {
|
|
|
5084
5084
|
variant: "plain"
|
|
5085
5085
|
}
|
|
5086
5086
|
}).onPrimary((r) => {
|
|
5087
|
-
if (!r || !
|
|
5087
|
+
if (!r || !Be(r).length) {
|
|
5088
5088
|
p.open({
|
|
5089
5089
|
title: n("inventory.integration.bindingImport.nothingToImport.title"),
|
|
5090
5090
|
message: n("inventory.integration.bindingImport.nothingToImport.message"),
|
|
@@ -5098,8 +5098,8 @@ const Da = { class: "flex items-center gap-2 mb-3" }, La = {
|
|
|
5098
5098
|
function o(r) {
|
|
5099
5099
|
y.open({
|
|
5100
5100
|
title: n("inventory.integration.bindingImport.previewTitle"),
|
|
5101
|
-
contentComponent:
|
|
5102
|
-
contentComponentProps: { config:
|
|
5101
|
+
contentComponent: Dt,
|
|
5102
|
+
contentComponentProps: { config: ze, result: r },
|
|
5103
5103
|
overlay: !0,
|
|
5104
5104
|
closeButton: !0,
|
|
5105
5105
|
minWidth: 900,
|
|
@@ -5113,15 +5113,15 @@ const Da = { class: "flex items-center gap-2 mb-3" }, La = {
|
|
|
5113
5113
|
close: !0
|
|
5114
5114
|
}
|
|
5115
5115
|
}).onPrimary(() => {
|
|
5116
|
-
const x =
|
|
5117
|
-
t.bindings =
|
|
5116
|
+
const x = Be(r);
|
|
5117
|
+
t.bindings = Vt(t.bindings, x), p.open({
|
|
5118
5118
|
title: n("inventory.integration.bindingImport.importSuccess.title"),
|
|
5119
5119
|
message: n("inventory.integration.bindingImport.importSuccess.message", { count: x.length }),
|
|
5120
5120
|
type: "success"
|
|
5121
5121
|
});
|
|
5122
5122
|
});
|
|
5123
5123
|
}
|
|
5124
|
-
const a =
|
|
5124
|
+
const a = Se(e, "show"), f = R(!1);
|
|
5125
5125
|
function g() {
|
|
5126
5126
|
var r, x;
|
|
5127
5127
|
(x = (r = m.value) == null ? void 0 : r.validateInputs) == null || x.call(r);
|
|
@@ -5135,15 +5135,15 @@ const Da = { class: "flex items-center gap-2 mb-3" }, La = {
|
|
|
5135
5135
|
return S(), D(Z, null, [
|
|
5136
5136
|
I(M, {
|
|
5137
5137
|
modelValue: _(a),
|
|
5138
|
-
"onUpdate:modelValue": x[6] || (x[6] = (P) =>
|
|
5138
|
+
"onUpdate:modelValue": x[6] || (x[6] = (P) => Ie(a) ? a.value = P : null),
|
|
5139
5139
|
header: _(n)("inventory.integration.apply.title"),
|
|
5140
5140
|
"dismiss-away": "",
|
|
5141
5141
|
"close-button": "",
|
|
5142
5142
|
"max-width": 500
|
|
5143
5143
|
}, {
|
|
5144
5144
|
default: O(() => [
|
|
5145
|
-
s("div",
|
|
5146
|
-
s("div",
|
|
5145
|
+
s("div", tl, [
|
|
5146
|
+
s("div", nl, [
|
|
5147
5147
|
I(L, { label: "Menu v4" }),
|
|
5148
5148
|
x[8] || (x[8] = s("div", { class: "flex-grow" }, null, -1)),
|
|
5149
5149
|
I(j, {
|
|
@@ -5169,14 +5169,14 @@ const Da = { class: "flex items-center gap-2 mb-3" }, La = {
|
|
|
5169
5169
|
onValidationSuccess: x[4] || (x[4] = (P) => i())
|
|
5170
5170
|
}, {
|
|
5171
5171
|
default: O(() => [
|
|
5172
|
-
I(
|
|
5172
|
+
I(ct, {
|
|
5173
5173
|
categories: r.categories,
|
|
5174
5174
|
variants: r.variants,
|
|
5175
5175
|
bindings: h.value,
|
|
5176
5176
|
menus: l.value,
|
|
5177
5177
|
"onUpdate:bindings": x[2] || (x[2] = (P) => A(P))
|
|
5178
5178
|
}, null, 8, ["categories", "variants", "bindings", "menus"]),
|
|
5179
|
-
I(
|
|
5179
|
+
I(ct, {
|
|
5180
5180
|
"is-addon": !0,
|
|
5181
5181
|
categories: [],
|
|
5182
5182
|
variants: r.variants,
|
|
@@ -5199,8 +5199,8 @@ const Da = { class: "flex items-center gap-2 mb-3" }, La = {
|
|
|
5199
5199
|
]),
|
|
5200
5200
|
_: 1
|
|
5201
5201
|
}, 8, ["modelValue", "header"]),
|
|
5202
|
-
(S(), H(
|
|
5203
|
-
I(
|
|
5202
|
+
(S(), H(_e, { to: "body" }, [
|
|
5203
|
+
I(el, {
|
|
5204
5204
|
show: f.value,
|
|
5205
5205
|
"onUpdate:show": x[7] || (x[7] = (P) => f.value = P)
|
|
5206
5206
|
}, null, 8, ["show"])
|
|
@@ -5208,7 +5208,7 @@ const Da = { class: "flex items-center gap-2 mb-3" }, La = {
|
|
|
5208
5208
|
], 64);
|
|
5209
5209
|
};
|
|
5210
5210
|
}
|
|
5211
|
-
}),
|
|
5211
|
+
}), sl = /* @__PURE__ */ Q({
|
|
5212
5212
|
__name: "CodemaxDialog",
|
|
5213
5213
|
props: {
|
|
5214
5214
|
setting: {},
|
|
@@ -5222,7 +5222,7 @@ const Da = { class: "flex items-center gap-2 mb-3" }, La = {
|
|
|
5222
5222
|
emits: ["update:setting", "update:show", "submit"],
|
|
5223
5223
|
setup(k, { emit: b }) {
|
|
5224
5224
|
const e = k, v = b;
|
|
5225
|
-
return (t, d) => (S(), H(
|
|
5225
|
+
return (t, d) => (S(), H(ol, {
|
|
5226
5226
|
setting: e.setting,
|
|
5227
5227
|
show: e.show,
|
|
5228
5228
|
loading: t.loading,
|
|
@@ -5235,16 +5235,16 @@ const Da = { class: "flex items-center gap-2 mb-3" }, La = {
|
|
|
5235
5235
|
onSubmit: d[2] || (d[2] = (u) => v("submit"))
|
|
5236
5236
|
}, null, 8, ["setting", "show", "loading", "menus", "variants", "categories", "groups"]));
|
|
5237
5237
|
}
|
|
5238
|
-
}),
|
|
5238
|
+
}), al = { key: 0 }, ll = { class: "flex justify-center" }, il = ["src"], rl = { class: "flex flex-col items-center gap-2" }, ul = { class: "text-lg font-bold" }, dl = { class: "text-fm-color-neutral-gray-300" }, cl = {
|
|
5239
5239
|
key: 0,
|
|
5240
5240
|
class: "text-xs text-orange-500"
|
|
5241
|
-
},
|
|
5241
|
+
}, ml = /* @__PURE__ */ Q({
|
|
5242
5242
|
__name: "Codemax",
|
|
5243
5243
|
setup(k) {
|
|
5244
|
-
const b =
|
|
5244
|
+
const b = pe(), e = Zt(), v = fe(), t = le(), d = R(!1), u = R(!1), { breakpoints: l } = qe(), h = U(() => l.value.xs || l.value.sm), A = U(() => {
|
|
5245
5245
|
var p;
|
|
5246
5246
|
return (p = v.currentBusiness.value) == null ? void 0 : p.menuVersion;
|
|
5247
|
-
}), c =
|
|
5247
|
+
}), c = U(() => A.value !== "v3");
|
|
5248
5248
|
b.watchLocation(async () => {
|
|
5249
5249
|
if (b._currentLocation) {
|
|
5250
5250
|
d.value = !0;
|
|
@@ -5279,7 +5279,7 @@ const Da = { class: "flex items-center gap-2 mb-3" }, La = {
|
|
|
5279
5279
|
const { t: y } = oe();
|
|
5280
5280
|
return (p, C) => {
|
|
5281
5281
|
const F = V("FmCardSection"), w = V("FmCard");
|
|
5282
|
-
return _(e).isEnabled ? (S(), D("div",
|
|
5282
|
+
return _(e).isEnabled ? (S(), D("div", al, [
|
|
5283
5283
|
I(w, {
|
|
5284
5284
|
class: te({
|
|
5285
5285
|
"w-full": h.value,
|
|
@@ -5294,16 +5294,16 @@ const Da = { class: "flex items-center gap-2 mb-3" }, La = {
|
|
|
5294
5294
|
default: O(() => [
|
|
5295
5295
|
I(F, null, {
|
|
5296
5296
|
default: O(() => [
|
|
5297
|
-
s("div",
|
|
5297
|
+
s("div", ll, [
|
|
5298
5298
|
s("img", {
|
|
5299
|
-
src: _(
|
|
5299
|
+
src: _(vt),
|
|
5300
5300
|
alt: "Codemax"
|
|
5301
|
-
}, null, 8,
|
|
5301
|
+
}, null, 8, il)
|
|
5302
5302
|
]),
|
|
5303
|
-
s("div",
|
|
5304
|
-
s("div",
|
|
5305
|
-
s("div",
|
|
5306
|
-
c.value ? K("", !0) : (S(), D("div",
|
|
5303
|
+
s("div", rl, [
|
|
5304
|
+
s("div", ul, E(_(y)("inventory.integration.codemax.title")), 1),
|
|
5305
|
+
s("div", dl, E(_(y)("inventory.integration.codemax.description")), 1),
|
|
5306
|
+
c.value ? K("", !0) : (S(), D("div", cl, E(_(y)("inventory.integration.codemax.unsupported")), 1))
|
|
5307
5307
|
])
|
|
5308
5308
|
]),
|
|
5309
5309
|
_: 1
|
|
@@ -5311,8 +5311,8 @@ const Da = { class: "flex items-center gap-2 mb-3" }, La = {
|
|
|
5311
5311
|
]),
|
|
5312
5312
|
_: 1
|
|
5313
5313
|
}, 8, ["class"]),
|
|
5314
|
-
(S(), H(
|
|
5315
|
-
_(e).state.setting ?
|
|
5314
|
+
(S(), H(_e, { to: "body" }, [
|
|
5315
|
+
_(e).state.setting ? Kt((S(), H(sl, {
|
|
5316
5316
|
key: 0,
|
|
5317
5317
|
menus: _(e).state.menu,
|
|
5318
5318
|
variants: _(e).state.variants,
|
|
@@ -5325,13 +5325,13 @@ const Da = { class: "flex items-center gap-2 mb-3" }, La = {
|
|
|
5325
5325
|
loading: d.value,
|
|
5326
5326
|
onSubmit: C[3] || (C[3] = (o) => m())
|
|
5327
5327
|
}, null, 8, ["menus", "variants", "categories", "groups", "setting", "show", "loading"])), [
|
|
5328
|
-
[
|
|
5328
|
+
[Ht, c.value]
|
|
5329
5329
|
]) : K("", !0)
|
|
5330
5330
|
]))
|
|
5331
5331
|
])) : K("", !0);
|
|
5332
5332
|
};
|
|
5333
5333
|
}
|
|
5334
|
-
}),
|
|
5334
|
+
}), mt = [
|
|
5335
5335
|
"store",
|
|
5336
5336
|
"issueBy",
|
|
5337
5337
|
"verifiedBy",
|
|
@@ -5348,9 +5348,9 @@ const Da = { class: "flex items-center gap-2 mb-3" }, La = {
|
|
|
5348
5348
|
"schemeFranchiseePrice",
|
|
5349
5349
|
"physicalSchemeTotalFranchiseePrice"
|
|
5350
5350
|
];
|
|
5351
|
-
async function
|
|
5351
|
+
async function pl(k, b, e) {
|
|
5352
5352
|
var u;
|
|
5353
|
-
const v = await
|
|
5353
|
+
const v = await fl(e), t = [], d = {};
|
|
5354
5354
|
for (const l in v) {
|
|
5355
5355
|
const h = v[l];
|
|
5356
5356
|
for (let A = 0; A < h.length; A++) {
|
|
@@ -5378,21 +5378,21 @@ async function cl(k, b, e) {
|
|
|
5378
5378
|
let w = Number(c.totalPhysicalCustomCost);
|
|
5379
5379
|
const o = k[F._id];
|
|
5380
5380
|
o && (w = o * Number(p));
|
|
5381
|
-
const a =
|
|
5381
|
+
const a = ge.fromNumber(Number(p)), f = {
|
|
5382
5382
|
amount: a,
|
|
5383
5383
|
cost: {
|
|
5384
|
-
...
|
|
5384
|
+
...ge.fromNumber(Number(w)),
|
|
5385
5385
|
currency: "MYR"
|
|
5386
5386
|
}
|
|
5387
5387
|
};
|
|
5388
5388
|
p != "0" && C == "0" && console.warn(`Item ${m} ${y} has 0 cost.`), d[u = F._id] ?? (d[u] = {
|
|
5389
5389
|
skuAdjustment: {
|
|
5390
5390
|
sku: F,
|
|
5391
|
-
fromBalance:
|
|
5391
|
+
fromBalance: ge.fromNumber(0),
|
|
5392
5392
|
amounts: [
|
|
5393
5393
|
{
|
|
5394
5394
|
_id: null,
|
|
5395
|
-
type:
|
|
5395
|
+
type: gt.Enum.CLOSING,
|
|
5396
5396
|
remark: "Opening Balance",
|
|
5397
5397
|
amount: a,
|
|
5398
5398
|
measurement: null,
|
|
@@ -5416,25 +5416,25 @@ async function cl(k, b, e) {
|
|
|
5416
5416
|
rows: d
|
|
5417
5417
|
};
|
|
5418
5418
|
}
|
|
5419
|
-
async function
|
|
5419
|
+
async function fl(k) {
|
|
5420
5420
|
const b = await new Promise((d, u) => {
|
|
5421
5421
|
const l = new FileReader();
|
|
5422
5422
|
l.onload = (h) => d(h.target.result), l.onerror = u, l.readAsArrayBuffer(k);
|
|
5423
|
-
}), e =
|
|
5423
|
+
}), e = At(b, { type: "array" }), v = e.SheetNames, t = {};
|
|
5424
5424
|
for (const d of v) {
|
|
5425
|
-
const u = await
|
|
5425
|
+
const u = await vl(e.Sheets[d]);
|
|
5426
5426
|
t[d] = u;
|
|
5427
5427
|
}
|
|
5428
5428
|
return t;
|
|
5429
5429
|
}
|
|
5430
|
-
async function
|
|
5431
|
-
const b =
|
|
5432
|
-
header:
|
|
5430
|
+
async function vl(k) {
|
|
5431
|
+
const b = ht.sheet_to_json(k, {
|
|
5432
|
+
header: mt,
|
|
5433
5433
|
range: 12
|
|
5434
5434
|
}), e = [];
|
|
5435
5435
|
for (let v = 0; v < b.length; v++) {
|
|
5436
5436
|
const t = b[v], d = {};
|
|
5437
|
-
for (const u of
|
|
5437
|
+
for (const u of mt)
|
|
5438
5438
|
d[u] = String(t[u]).trim();
|
|
5439
5439
|
e.push({
|
|
5440
5440
|
...d,
|
|
@@ -5444,23 +5444,23 @@ async function pl(k) {
|
|
|
5444
5444
|
}
|
|
5445
5445
|
return e;
|
|
5446
5446
|
}
|
|
5447
|
-
const
|
|
5447
|
+
const gl = { class: "flex flex-col gap-4" }, yl = { class: "flex flex-col" }, bl = {
|
|
5448
5448
|
key: 0,
|
|
5449
5449
|
class: "flex flex-col gap-4 my-5"
|
|
5450
|
-
},
|
|
5450
|
+
}, Al = { class: "flex flex-col gap-8" }, hl = { class: "flex flex-col gap-8" }, xl = {
|
|
5451
5451
|
class: /* @__PURE__ */ te(["fm-corner-radius-md p-16 flex items-center gap-16"])
|
|
5452
|
-
},
|
|
5452
|
+
}, Il = {
|
|
5453
5453
|
class: /* @__PURE__ */ te(["fm-typo-en-body-md-400 flex-1 h-[36px] flex items-center gap-3"])
|
|
5454
|
-
},
|
|
5454
|
+
}, Sl = { class: "line-clamp-2 text-ellipsis break-all" }, wl = { class: "flex flex-col" }, Cl = { class: "font-medium" }, kl = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, _l = {
|
|
5455
5455
|
key: 0,
|
|
5456
5456
|
class: "rounded border-1 border-gray-200 p-2 flex items-center"
|
|
5457
|
-
},
|
|
5457
|
+
}, Fl = { class: "flex flex-col" }, Bl = { class: "font-medium" }, Vl = { class: "text-xs text-gray-400" }, El = { class: "text-xs text-gray-400" }, Nl = { class: "flex" }, Dl = { class: "flex" }, Ll = {
|
|
5458
5458
|
key: 1,
|
|
5459
5459
|
class: "flex flex-col gap-2"
|
|
5460
|
-
},
|
|
5460
|
+
}, Tl = /* @__PURE__ */ Q({
|
|
5461
5461
|
__name: "XilnexOpeningImport",
|
|
5462
5462
|
setup(k) {
|
|
5463
|
-
const b =
|
|
5463
|
+
const b = Wt(), e = ve(), v = Ve(), t = yt(), d = le(), u = pe(), l = U(() => [
|
|
5464
5464
|
{
|
|
5465
5465
|
value: "xilnex",
|
|
5466
5466
|
label: "Xilnex",
|
|
@@ -5498,7 +5498,7 @@ const fl = { class: "flex flex-col gap-4" }, vl = { class: "flex flex-col" }, gl
|
|
|
5498
5498
|
B(
|
|
5499
5499
|
"span",
|
|
5500
5500
|
{ class: "font-medium" },
|
|
5501
|
-
|
|
5501
|
+
ge.toFormatString({
|
|
5502
5502
|
value: x.skuAdjustment.amounts[0].amount
|
|
5503
5503
|
})
|
|
5504
5504
|
)
|
|
@@ -5538,7 +5538,7 @@ const fl = { class: "flex flex-col gap-4" }, vl = { class: "flex flex-col" }, gl
|
|
|
5538
5538
|
B(
|
|
5539
5539
|
"span",
|
|
5540
5540
|
{ class: "font-medium" },
|
|
5541
|
-
|
|
5541
|
+
ge.toFormatString({
|
|
5542
5542
|
value: j
|
|
5543
5543
|
})
|
|
5544
5544
|
)
|
|
@@ -5573,7 +5573,7 @@ const fl = { class: "flex flex-col gap-4" }, vl = { class: "flex flex-col" }, gl
|
|
|
5573
5573
|
try {
|
|
5574
5574
|
let r = {};
|
|
5575
5575
|
h.value === "netsuite" && (r = await e.getItemAverageCosts());
|
|
5576
|
-
const { errors: x, rows: L } = await
|
|
5576
|
+
const { errors: x, rows: L } = await pl(
|
|
5577
5577
|
r,
|
|
5578
5578
|
v.skus,
|
|
5579
5579
|
c.value
|
|
@@ -5618,22 +5618,22 @@ const fl = { class: "flex flex-col gap-4" }, vl = { class: "flex flex-col" }, gl
|
|
|
5618
5618
|
}
|
|
5619
5619
|
}
|
|
5620
5620
|
}
|
|
5621
|
-
const g = R(""), i =
|
|
5621
|
+
const g = R(""), i = U({
|
|
5622
5622
|
get() {
|
|
5623
5623
|
return g.value;
|
|
5624
5624
|
},
|
|
5625
5625
|
set(r) {
|
|
5626
5626
|
g.value = `${r}T15:59:59.999Z`;
|
|
5627
5627
|
}
|
|
5628
|
-
}), n =
|
|
5628
|
+
}), n = U(() => {
|
|
5629
5629
|
if (!g.value) return null;
|
|
5630
5630
|
const r = new Date(g.value);
|
|
5631
|
-
return isNaN(r.getTime()) ? null :
|
|
5631
|
+
return isNaN(r.getTime()) ? null : Ye(r);
|
|
5632
5632
|
});
|
|
5633
5633
|
return (r, x) => {
|
|
5634
|
-
const L = V("FmLabel"), j = V("FmField"), q = V("FmSimpleDatePicker"), M = V("FmButton"), P = V("FmIcon"),
|
|
5635
|
-
return S(), D("div",
|
|
5636
|
-
s("div",
|
|
5634
|
+
const L = V("FmLabel"), j = V("FmField"), q = V("FmSimpleDatePicker"), M = V("FmButton"), P = V("FmIcon"), $ = V("FmRadio"), se = V("FmRadioGroup"), he = V("FmTable");
|
|
5635
|
+
return S(), D("div", gl, [
|
|
5636
|
+
s("div", yl, [
|
|
5637
5637
|
I(L, { label: "Latest closing" })
|
|
5638
5638
|
]),
|
|
5639
5639
|
I(j, {
|
|
@@ -5641,11 +5641,11 @@ const fl = { class: "flex flex-col gap-4" }, vl = { class: "flex flex-col" }, gl
|
|
|
5641
5641
|
disabled: ""
|
|
5642
5642
|
}, {
|
|
5643
5643
|
default: O(() => [
|
|
5644
|
-
ie(E(_(b).state.closingDocumentId ? `${_(
|
|
5644
|
+
ie(E(_(b).state.closingDocumentId ? `${_($e)(new Date(_(He)(_(b).state.closingDocumentId)))}` : "No closing found"), 1)
|
|
5645
5645
|
]),
|
|
5646
5646
|
_: 1
|
|
5647
5647
|
}),
|
|
5648
|
-
_(b).state.closingDocumentId ? (S(), D("div",
|
|
5648
|
+
_(b).state.closingDocumentId ? (S(), D("div", Ll, [
|
|
5649
5649
|
x[6] || (x[6] = s("span", { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, " Not able to import opening balance as closing document already exists. ", -1)),
|
|
5650
5650
|
_(u)._currentLocation ? (S(), D(Z, { key: 0 }, [
|
|
5651
5651
|
I(L, { label: "Location ID" }),
|
|
@@ -5659,7 +5659,7 @@ const fl = { class: "flex flex-col gap-4" }, vl = { class: "flex flex-col" }, gl
|
|
|
5659
5659
|
_: 1
|
|
5660
5660
|
})
|
|
5661
5661
|
], 64)) : K("", !0)
|
|
5662
|
-
])) : (S(), D("div",
|
|
5662
|
+
])) : (S(), D("div", bl, [
|
|
5663
5663
|
I(q, {
|
|
5664
5664
|
modelValue: i.value,
|
|
5665
5665
|
"onUpdate:modelValue": x[0] || (x[0] = (ee) => i.value = ee),
|
|
@@ -5679,22 +5679,22 @@ const fl = { class: "flex flex-col gap-4" }, vl = { class: "flex flex-col" }, gl
|
|
|
5679
5679
|
]),
|
|
5680
5680
|
_: 1
|
|
5681
5681
|
}, 8, ["modelValue"]),
|
|
5682
|
-
s("div",
|
|
5682
|
+
s("div", Al, [
|
|
5683
5683
|
I(L, { label: "Stock take file" })
|
|
5684
5684
|
]),
|
|
5685
|
-
I(
|
|
5685
|
+
I(Xe, {
|
|
5686
5686
|
onFileUpload: x[1] || (x[1] = (ee) => {
|
|
5687
5687
|
ee && (c.value = ee);
|
|
5688
5688
|
}),
|
|
5689
5689
|
accept: ".xlsx, .xls, .csv"
|
|
5690
|
-
},
|
|
5690
|
+
}, Ae({ _: 2 }, [
|
|
5691
5691
|
c.value ? {
|
|
5692
5692
|
name: "default",
|
|
5693
5693
|
fn: O(({ openFileDialog: ee }) => [
|
|
5694
|
-
s("div",
|
|
5695
|
-
s("div",
|
|
5696
|
-
s("div",
|
|
5697
|
-
s("div",
|
|
5694
|
+
s("div", hl, [
|
|
5695
|
+
s("div", xl, [
|
|
5696
|
+
s("div", Il, [
|
|
5697
|
+
s("div", Sl, E(c.value.name), 1),
|
|
5698
5698
|
I(M, {
|
|
5699
5699
|
label: _(A)("inventory.ingredient.import.replaceFile"),
|
|
5700
5700
|
variant: "secondary",
|
|
@@ -5715,7 +5715,7 @@ const fl = { class: "flex flex-col gap-4" }, vl = { class: "flex flex-col" }, gl
|
|
|
5715
5715
|
class: "my-5"
|
|
5716
5716
|
}, {
|
|
5717
5717
|
default: O(() => [
|
|
5718
|
-
(S(!0), D(Z, null, ae(l.value, (ee) => (S(), H(
|
|
5718
|
+
(S(!0), D(Z, null, ae(l.value, (ee) => (S(), H($, {
|
|
5719
5719
|
key: ee.value,
|
|
5720
5720
|
value: ee.value,
|
|
5721
5721
|
label: ee.label,
|
|
@@ -5723,11 +5723,11 @@ const fl = { class: "flex flex-col gap-4" }, vl = { class: "flex flex-col" }, gl
|
|
|
5723
5723
|
disabled: ee.disabled
|
|
5724
5724
|
}, {
|
|
5725
5725
|
label: O(() => [
|
|
5726
|
-
s("div",
|
|
5727
|
-
s("span",
|
|
5728
|
-
s("span",
|
|
5726
|
+
s("div", wl, [
|
|
5727
|
+
s("span", Cl, E(ee.label), 1),
|
|
5728
|
+
s("span", kl, E(ee.disabled ? ee.disabledReason : ee.subLabel), 1)
|
|
5729
5729
|
]),
|
|
5730
|
-
ee.value === "netsuite" && _(e).currentLocationSetting ? (S(), D("div",
|
|
5730
|
+
ee.value === "netsuite" && _(e).currentLocationSetting ? (S(), D("div", _l, [
|
|
5731
5731
|
I(P, {
|
|
5732
5732
|
name: "cloud",
|
|
5733
5733
|
color: "neutral-gray-400",
|
|
@@ -5735,10 +5735,10 @@ const fl = { class: "flex flex-col gap-4" }, vl = { class: "flex flex-col" }, gl
|
|
|
5735
5735
|
class: "mr-2",
|
|
5736
5736
|
outline: !0
|
|
5737
5737
|
}),
|
|
5738
|
-
s("div",
|
|
5739
|
-
s("span",
|
|
5740
|
-
s("span",
|
|
5741
|
-
s("span",
|
|
5738
|
+
s("div", Fl, [
|
|
5739
|
+
s("span", Bl, E(_(e).currentLocationSetting.name), 1),
|
|
5740
|
+
s("span", Vl, "ID: " + E(_(e).currentLocationSetting.netSuiteId), 1),
|
|
5741
|
+
s("span", El, "Subsidiary: " + E(_(e).getSubsidiaryFullName(
|
|
5742
5742
|
_(e).currentLocationSetting.subsidiaryId
|
|
5743
5743
|
).fullName), 1)
|
|
5744
5744
|
])
|
|
@@ -5749,7 +5749,7 @@ const fl = { class: "flex flex-col gap-4" }, vl = { class: "flex flex-col" }, gl
|
|
|
5749
5749
|
]),
|
|
5750
5750
|
_: 1
|
|
5751
5751
|
}, 8, ["modelValue"]),
|
|
5752
|
-
s("div",
|
|
5752
|
+
s("div", Nl, [
|
|
5753
5753
|
I(M, {
|
|
5754
5754
|
class: "ml-auto mt-4",
|
|
5755
5755
|
variant: "secondary",
|
|
@@ -5778,7 +5778,7 @@ const fl = { class: "flex flex-col gap-4" }, vl = { class: "flex flex-col" }, gl
|
|
|
5778
5778
|
"column-defs": w
|
|
5779
5779
|
}, null, 8, ["row-data"])
|
|
5780
5780
|
], 64)) : K("", !0),
|
|
5781
|
-
s("div",
|
|
5781
|
+
s("div", Dl, [
|
|
5782
5782
|
C.value.length > 0 && !_(b).state.closingDocumentId ? (S(), H(M, {
|
|
5783
5783
|
key: 0,
|
|
5784
5784
|
class: "ml-auto mt-4",
|
|
@@ -5793,10 +5793,10 @@ const fl = { class: "flex flex-col gap-4" }, vl = { class: "flex flex-col" }, gl
|
|
|
5793
5793
|
]);
|
|
5794
5794
|
};
|
|
5795
5795
|
}
|
|
5796
|
-
}),
|
|
5796
|
+
}), Rl = { class: "flex flex-col gap-8 w-full" }, Ml = { class: "flex gap-4 justify-between" }, Ol = { 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" }, Ul = { class: "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap" }, zl = { key: 0 }, jl = {
|
|
5797
5797
|
key: 1,
|
|
5798
5798
|
class: "flex flex-col gap-8 w-full"
|
|
5799
|
-
},
|
|
5799
|
+
}, Pl = { key: 1 }, Kl = { class: "flex gap-8 items-center justify-start" }, Hl = /* @__PURE__ */ Q({
|
|
5800
5800
|
__name: "XilnexSideSheet",
|
|
5801
5801
|
props: {
|
|
5802
5802
|
show: { type: Boolean },
|
|
@@ -5805,7 +5805,7 @@ const fl = { class: "flex flex-col gap-4" }, vl = { class: "flex flex-col" }, gl
|
|
|
5805
5805
|
emits: ["update:show"],
|
|
5806
5806
|
setup(k, { emit: b }) {
|
|
5807
5807
|
var m;
|
|
5808
|
-
const e =
|
|
5808
|
+
const e = fe(), t = Se(k, "show"), { t: d } = oe(), u = b, l = pe(), h = ((m = l._currentLocation) == null ? void 0 : m.type) || "", A = [
|
|
5809
5809
|
{ label: Le(
|
|
5810
5810
|
"openingBalance"
|
|
5811
5811
|
/* OPENING_BALANCE */
|
|
@@ -5820,29 +5820,29 @@ const fl = { class: "flex flex-col gap-4" }, vl = { class: "flex flex-col" }, gl
|
|
|
5820
5820
|
const C = V("FmIcon"), F = V("FmButtonGroup"), w = V("FmButton"), o = V("FmSideSheet");
|
|
5821
5821
|
return S(), H(o, {
|
|
5822
5822
|
modelValue: _(t),
|
|
5823
|
-
"onUpdate:modelValue": p[2] || (p[2] = (f) =>
|
|
5823
|
+
"onUpdate:modelValue": p[2] || (p[2] = (f) => Ie(t) ? t.value = f : null),
|
|
5824
5824
|
header: "Data migration (Xilnex)",
|
|
5825
5825
|
"dismiss-away": "",
|
|
5826
5826
|
"close-button": "",
|
|
5827
5827
|
"max-width": 800
|
|
5828
|
-
},
|
|
5828
|
+
}, Ae({
|
|
5829
5829
|
default: O(() => {
|
|
5830
5830
|
var f;
|
|
5831
5831
|
return [
|
|
5832
|
-
(f = _(e).sessionUser.value) != null && f.role.isAdmin ? (S(), D("div",
|
|
5832
|
+
(f = _(e).sessionUser.value) != null && f.role.isAdmin ? (S(), D("div", jl, [
|
|
5833
5833
|
c.value.label === _(Le)(
|
|
5834
5834
|
"openingBalance"
|
|
5835
5835
|
/* OPENING_BALANCE */
|
|
5836
|
-
) ? (S(), H(
|
|
5836
|
+
) ? (S(), H(Tl, { key: 0 })) : K("", !0),
|
|
5837
5837
|
c.value.label === _(Le)(
|
|
5838
5838
|
"transferNote"
|
|
5839
5839
|
/* TRANSFER_NOTE */
|
|
5840
|
-
) ? (S(), D("div",
|
|
5841
|
-
])) : (S(), D("div",
|
|
5840
|
+
) ? (S(), D("div", Pl, " Not available yet. ")) : K("", !0)
|
|
5841
|
+
])) : (S(), D("div", zl, " Please contact your administrator to apply the changes. "))
|
|
5842
5842
|
];
|
|
5843
5843
|
}),
|
|
5844
5844
|
"side-sheet-footer": O(() => [
|
|
5845
|
-
s("div",
|
|
5845
|
+
s("div", Kl, [
|
|
5846
5846
|
I(w, {
|
|
5847
5847
|
variant: "tertiary",
|
|
5848
5848
|
label: _(d)("common.close"),
|
|
@@ -5857,15 +5857,15 @@ const fl = { class: "flex flex-col gap-4" }, vl = { class: "flex flex-col" }, gl
|
|
|
5857
5857
|
fn: O(() => {
|
|
5858
5858
|
var f;
|
|
5859
5859
|
return [
|
|
5860
|
-
s("div",
|
|
5861
|
-
s("div",
|
|
5860
|
+
s("div", Rl, [
|
|
5861
|
+
s("div", Ml, [
|
|
5862
5862
|
p[3] || (p[3] = s("div", { class: "fm-typo-en-title-md-600" }, "Data migration (Xilnex)", -1)),
|
|
5863
|
-
s("div",
|
|
5863
|
+
s("div", Ol, [
|
|
5864
5864
|
I(C, {
|
|
5865
5865
|
name: _(h),
|
|
5866
5866
|
size: "sm"
|
|
5867
5867
|
}, null, 8, ["name"]),
|
|
5868
|
-
s("div",
|
|
5868
|
+
s("div", Ul, E((f = _(l)._currentLocation) == null ? void 0 : f.name), 1)
|
|
5869
5869
|
])
|
|
5870
5870
|
]),
|
|
5871
5871
|
I(F, {
|
|
@@ -5881,10 +5881,10 @@ const fl = { class: "flex flex-col gap-4" }, vl = { class: "flex flex-col" }, gl
|
|
|
5881
5881
|
]), 1032, ["modelValue"]);
|
|
5882
5882
|
};
|
|
5883
5883
|
}
|
|
5884
|
-
}),
|
|
5884
|
+
}), ql = /* @__PURE__ */ Q({
|
|
5885
5885
|
__name: "XilnexView",
|
|
5886
5886
|
setup(k) {
|
|
5887
|
-
const b =
|
|
5887
|
+
const b = wt(), e = pe(), v = R(!1);
|
|
5888
5888
|
async function t() {
|
|
5889
5889
|
v.value = !0, console.log("Opening Xilnex migration dialog");
|
|
5890
5890
|
}
|
|
@@ -5919,8 +5919,8 @@ const fl = { class: "flex flex-col gap-4" }, vl = { class: "flex flex-col" }, gl
|
|
|
5919
5919
|
]),
|
|
5920
5920
|
_: 1
|
|
5921
5921
|
}),
|
|
5922
|
-
(S(), H(
|
|
5923
|
-
I(
|
|
5922
|
+
(S(), H(_e, { to: "body" }, [
|
|
5923
|
+
I(Hl, {
|
|
5924
5924
|
show: v.value,
|
|
5925
5925
|
"onUpdate:show": u[1] || (u[1] = (A) => v.value = A)
|
|
5926
5926
|
}, null, 8, ["show"])
|
|
@@ -5928,7 +5928,7 @@ const fl = { class: "flex flex-col gap-4" }, vl = { class: "flex flex-col" }, gl
|
|
|
5928
5928
|
], 64)) : K("", !0);
|
|
5929
5929
|
};
|
|
5930
5930
|
}
|
|
5931
|
-
}),
|
|
5931
|
+
}), pt = [
|
|
5932
5932
|
"bin",
|
|
5933
5933
|
"group",
|
|
5934
5934
|
"code",
|
|
@@ -5938,9 +5938,9 @@ const fl = { class: "flex flex-col gap-4" }, vl = { class: "flex flex-col" }, gl
|
|
|
5938
5938
|
"quantity",
|
|
5939
5939
|
"total"
|
|
5940
5940
|
];
|
|
5941
|
-
async function
|
|
5941
|
+
async function Xl(k, b, e) {
|
|
5942
5942
|
var h;
|
|
5943
|
-
const v = await
|
|
5943
|
+
const v = await $l(e), t = [], d = {}, u = Object.keys(v)[0], l = v[u];
|
|
5944
5944
|
for (let A = 0; A < l.length; A++) {
|
|
5945
5945
|
const c = l[A], m = c.code, y = c.description, p = c.quantity, C = c.unitcost;
|
|
5946
5946
|
if (m === "" || m === "undefined") {
|
|
@@ -5966,21 +5966,21 @@ async function Hl(k, b, e) {
|
|
|
5966
5966
|
let w = Number(c.total);
|
|
5967
5967
|
const o = k[F._id];
|
|
5968
5968
|
o && (w = o * Number(p));
|
|
5969
|
-
const a =
|
|
5969
|
+
const a = ge.fromNumber(Number(p)), f = {
|
|
5970
5970
|
amount: a,
|
|
5971
5971
|
cost: {
|
|
5972
|
-
...
|
|
5972
|
+
...ge.fromNumber(Number(w)),
|
|
5973
5973
|
currency: "MYR"
|
|
5974
5974
|
}
|
|
5975
5975
|
};
|
|
5976
5976
|
p != "0" && C == "0" && console.warn(`Item ${m} ${y} has 0 cost.`), d[h = F._id] ?? (d[h] = {
|
|
5977
5977
|
skuAdjustment: {
|
|
5978
5978
|
sku: F,
|
|
5979
|
-
fromBalance:
|
|
5979
|
+
fromBalance: ge.fromNumber(0),
|
|
5980
5980
|
amounts: [
|
|
5981
5981
|
{
|
|
5982
5982
|
_id: null,
|
|
5983
|
-
type:
|
|
5983
|
+
type: gt.Enum.CLOSING,
|
|
5984
5984
|
remark: "Opening Balance",
|
|
5985
5985
|
amount: a,
|
|
5986
5986
|
measurement: null,
|
|
@@ -6003,25 +6003,25 @@ async function Hl(k, b, e) {
|
|
|
6003
6003
|
rows: d
|
|
6004
6004
|
};
|
|
6005
6005
|
}
|
|
6006
|
-
async function
|
|
6006
|
+
async function $l(k) {
|
|
6007
6007
|
const b = await new Promise((d, u) => {
|
|
6008
6008
|
const l = new FileReader();
|
|
6009
6009
|
l.onload = (h) => d(h.target.result), l.onerror = u, l.readAsArrayBuffer(k);
|
|
6010
|
-
}), e =
|
|
6010
|
+
}), e = At(b, { type: "array" }), v = e.SheetNames, t = {};
|
|
6011
6011
|
for (const d of v) {
|
|
6012
|
-
const u = await
|
|
6012
|
+
const u = await Yl(e.Sheets[d]);
|
|
6013
6013
|
t[d] = u;
|
|
6014
6014
|
}
|
|
6015
6015
|
return t;
|
|
6016
6016
|
}
|
|
6017
|
-
async function
|
|
6018
|
-
const b =
|
|
6019
|
-
header:
|
|
6017
|
+
async function Yl(k) {
|
|
6018
|
+
const b = ht.sheet_to_json(k, {
|
|
6019
|
+
header: pt,
|
|
6020
6020
|
range: 1
|
|
6021
6021
|
}), e = [];
|
|
6022
6022
|
for (let v = 0; v < b.length; v++) {
|
|
6023
6023
|
const t = b[v], d = {};
|
|
6024
|
-
for (const u of
|
|
6024
|
+
for (const u of pt)
|
|
6025
6025
|
d[u] = String(t[u]).trim();
|
|
6026
6026
|
e.push({
|
|
6027
6027
|
...d,
|
|
@@ -6031,17 +6031,17 @@ async function Xl(k) {
|
|
|
6031
6031
|
}
|
|
6032
6032
|
return e;
|
|
6033
6033
|
}
|
|
6034
|
-
const
|
|
6034
|
+
const Ql = { class: "flex flex-col gap-4" }, Gl = { class: "flex flex-col" }, Jl = {
|
|
6035
6035
|
key: 0,
|
|
6036
6036
|
class: "flex flex-col gap-4 my-5"
|
|
6037
|
-
},
|
|
6037
|
+
}, Zl = { class: "flex flex-col gap-8" }, Wl = { class: "flex flex-col gap-8" }, ei = {
|
|
6038
6038
|
class: /* @__PURE__ */ te(["fm-corner-radius-md p-16 flex items-center gap-16"])
|
|
6039
|
-
},
|
|
6039
|
+
}, ti = {
|
|
6040
6040
|
class: /* @__PURE__ */ te(["fm-typo-en-body-md-400 flex-1 h-[36px] flex items-center gap-3"])
|
|
6041
|
-
},
|
|
6041
|
+
}, ni = { class: "line-clamp-2 text-ellipsis break-all" }, oi = { class: "flex flex-col" }, si = { class: "font-medium" }, ai = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, li = { class: "flex" }, ii = { class: "flex" }, ri = { key: 1 }, ui = /* @__PURE__ */ Q({
|
|
6042
6042
|
__name: "SynergyOpeningImport",
|
|
6043
6043
|
setup(k) {
|
|
6044
|
-
const b =
|
|
6044
|
+
const b = en(), e = Ve(), v = yt(), t = le(), d = U(() => [
|
|
6045
6045
|
{
|
|
6046
6046
|
value: "synergy",
|
|
6047
6047
|
label: "Synergy",
|
|
@@ -6070,7 +6070,7 @@ const $l = { class: "flex flex-col gap-4" }, Yl = { class: "flex flex-col" }, Jl
|
|
|
6070
6070
|
B(
|
|
6071
6071
|
"span",
|
|
6072
6072
|
{ class: "font-medium" },
|
|
6073
|
-
|
|
6073
|
+
ge.toFormatString({
|
|
6074
6074
|
value: n.skuAdjustment.amounts[0].amount
|
|
6075
6075
|
})
|
|
6076
6076
|
)
|
|
@@ -6110,7 +6110,7 @@ const $l = { class: "flex flex-col gap-4" }, Yl = { class: "flex flex-col" }, Jl
|
|
|
6110
6110
|
B(
|
|
6111
6111
|
"span",
|
|
6112
6112
|
{ class: "font-medium" },
|
|
6113
|
-
|
|
6113
|
+
ge.toFormatString({
|
|
6114
6114
|
value: x
|
|
6115
6115
|
})
|
|
6116
6116
|
)
|
|
@@ -6144,7 +6144,7 @@ const $l = { class: "flex flex-col gap-4" }, Yl = { class: "flex flex-col" }, Jl
|
|
|
6144
6144
|
F.value = !0;
|
|
6145
6145
|
try {
|
|
6146
6146
|
let i = {};
|
|
6147
|
-
const { errors: n, rows: r } = await
|
|
6147
|
+
const { errors: n, rows: r } = await Xl(
|
|
6148
6148
|
i,
|
|
6149
6149
|
e.skus,
|
|
6150
6150
|
h.value
|
|
@@ -6189,22 +6189,22 @@ const $l = { class: "flex flex-col gap-4" }, Yl = { class: "flex flex-col" }, Jl
|
|
|
6189
6189
|
}
|
|
6190
6190
|
}
|
|
6191
6191
|
}
|
|
6192
|
-
const a = R(""), f =
|
|
6192
|
+
const a = R(""), f = U({
|
|
6193
6193
|
get() {
|
|
6194
6194
|
return a.value;
|
|
6195
6195
|
},
|
|
6196
6196
|
set(i) {
|
|
6197
6197
|
a.value = `${i}T15:59:59.999Z`;
|
|
6198
6198
|
}
|
|
6199
|
-
}), g =
|
|
6199
|
+
}), g = U(() => {
|
|
6200
6200
|
if (!a.value) return null;
|
|
6201
6201
|
const i = new Date(a.value);
|
|
6202
|
-
return isNaN(i.getTime()) ? null :
|
|
6202
|
+
return isNaN(i.getTime()) ? null : Ye(i);
|
|
6203
6203
|
});
|
|
6204
6204
|
return (i, n) => {
|
|
6205
6205
|
const r = V("FmLabel"), x = V("FmField"), L = V("FmSimpleDatePicker"), j = V("FmButton"), q = V("FmRadio"), M = V("FmRadioGroup"), P = V("FmTable");
|
|
6206
|
-
return S(), D("div",
|
|
6207
|
-
s("div",
|
|
6206
|
+
return S(), D("div", Ql, [
|
|
6207
|
+
s("div", Gl, [
|
|
6208
6208
|
I(r, { label: "Latest closing" })
|
|
6209
6209
|
]),
|
|
6210
6210
|
I(x, {
|
|
@@ -6212,16 +6212,16 @@ const $l = { class: "flex flex-col gap-4" }, Yl = { class: "flex flex-col" }, Jl
|
|
|
6212
6212
|
disabled: ""
|
|
6213
6213
|
}, {
|
|
6214
6214
|
default: O(() => [
|
|
6215
|
-
ie(E(_(b).state.closingDocumentId ? `${_(
|
|
6215
|
+
ie(E(_(b).state.closingDocumentId ? `${_($e)(new Date(_(He)(_(b).state.closingDocumentId)))}` : "No closing found"), 1)
|
|
6216
6216
|
]),
|
|
6217
6217
|
_: 1
|
|
6218
6218
|
}),
|
|
6219
|
-
_(b).state.closingDocumentId ? (S(), D("div",
|
|
6219
|
+
_(b).state.closingDocumentId ? (S(), D("div", ri, n[6] || (n[6] = [
|
|
6220
6220
|
s("span", { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, " Not able to import opening balance as closing document already exists. ", -1)
|
|
6221
6221
|
]))) : (S(), D("div", Jl, [
|
|
6222
6222
|
I(L, {
|
|
6223
6223
|
modelValue: f.value,
|
|
6224
|
-
"onUpdate:modelValue": n[0] || (n[0] = (
|
|
6224
|
+
"onUpdate:modelValue": n[0] || (n[0] = ($) => f.value = $),
|
|
6225
6225
|
label: "Last closing time"
|
|
6226
6226
|
}, {
|
|
6227
6227
|
"trigger-button": O(() => [
|
|
@@ -6238,27 +6238,27 @@ const $l = { class: "flex flex-col gap-4" }, Yl = { class: "flex flex-col" }, Jl
|
|
|
6238
6238
|
]),
|
|
6239
6239
|
_: 1
|
|
6240
6240
|
}, 8, ["modelValue"]),
|
|
6241
|
-
s("div",
|
|
6241
|
+
s("div", Zl, [
|
|
6242
6242
|
I(r, { label: "Stock take file" })
|
|
6243
6243
|
]),
|
|
6244
|
-
I(
|
|
6245
|
-
onFileUpload: n[1] || (n[1] = (
|
|
6246
|
-
|
|
6244
|
+
I(Xe, {
|
|
6245
|
+
onFileUpload: n[1] || (n[1] = ($) => {
|
|
6246
|
+
$ && (h.value = $);
|
|
6247
6247
|
}),
|
|
6248
6248
|
accept: ".xlsx, .xls, .csv"
|
|
6249
|
-
},
|
|
6249
|
+
}, Ae({ _: 2 }, [
|
|
6250
6250
|
h.value ? {
|
|
6251
6251
|
name: "default",
|
|
6252
|
-
fn: O(({ openFileDialog:
|
|
6253
|
-
s("div",
|
|
6254
|
-
s("div",
|
|
6255
|
-
s("div",
|
|
6256
|
-
s("div",
|
|
6252
|
+
fn: O(({ openFileDialog: $ }) => [
|
|
6253
|
+
s("div", Wl, [
|
|
6254
|
+
s("div", ei, [
|
|
6255
|
+
s("div", ti, [
|
|
6256
|
+
s("div", ni, E(h.value.name), 1),
|
|
6257
6257
|
I(j, {
|
|
6258
6258
|
label: _(l)("inventory.ingredient.import.replaceFile"),
|
|
6259
6259
|
variant: "secondary",
|
|
6260
6260
|
"prepend-icon": "autorenew",
|
|
6261
|
-
onClick:
|
|
6261
|
+
onClick: $
|
|
6262
6262
|
}, null, 8, ["label", "onClick"])
|
|
6263
6263
|
])
|
|
6264
6264
|
])
|
|
@@ -6269,22 +6269,22 @@ const $l = { class: "flex flex-col gap-4" }, Yl = { class: "flex flex-col" }, Jl
|
|
|
6269
6269
|
]), 1024),
|
|
6270
6270
|
I(M, {
|
|
6271
6271
|
modelValue: u.value,
|
|
6272
|
-
"onUpdate:modelValue": n[2] || (n[2] = (
|
|
6272
|
+
"onUpdate:modelValue": n[2] || (n[2] = ($) => u.value = $),
|
|
6273
6273
|
label: "Retrieve cost from",
|
|
6274
6274
|
class: "my-5"
|
|
6275
6275
|
}, {
|
|
6276
6276
|
default: O(() => [
|
|
6277
|
-
(S(!0), D(Z, null, ae(d.value, (
|
|
6278
|
-
key:
|
|
6279
|
-
value:
|
|
6280
|
-
label:
|
|
6281
|
-
sublabel:
|
|
6282
|
-
disabled:
|
|
6277
|
+
(S(!0), D(Z, null, ae(d.value, ($) => (S(), H(q, {
|
|
6278
|
+
key: $.value,
|
|
6279
|
+
value: $.value,
|
|
6280
|
+
label: $.label,
|
|
6281
|
+
sublabel: $.subLabel,
|
|
6282
|
+
disabled: $.disabled
|
|
6283
6283
|
}, {
|
|
6284
6284
|
label: O(() => [
|
|
6285
|
-
s("div",
|
|
6286
|
-
s("span",
|
|
6287
|
-
s("span",
|
|
6285
|
+
s("div", oi, [
|
|
6286
|
+
s("span", si, E($.label), 1),
|
|
6287
|
+
s("span", ai, E($.disabled ? $.disabledReason : $.subLabel), 1)
|
|
6288
6288
|
])
|
|
6289
6289
|
]),
|
|
6290
6290
|
_: 2
|
|
@@ -6292,7 +6292,7 @@ const $l = { class: "flex flex-col gap-4" }, Yl = { class: "flex flex-col" }, Jl
|
|
|
6292
6292
|
]),
|
|
6293
6293
|
_: 1
|
|
6294
6294
|
}, 8, ["modelValue"]),
|
|
6295
|
-
s("div",
|
|
6295
|
+
s("div", li, [
|
|
6296
6296
|
I(j, {
|
|
6297
6297
|
class: "ml-auto mt-4",
|
|
6298
6298
|
variant: "secondary",
|
|
@@ -6307,7 +6307,7 @@ const $l = { class: "flex flex-col gap-4" }, Yl = { class: "flex flex-col" }, Jl
|
|
|
6307
6307
|
n[4] || (n[4] = s("h2", { class: "fm-typo-en-title-md-800 mt-8 mb-4" }, "Results", -1)),
|
|
6308
6308
|
I(P, {
|
|
6309
6309
|
modelValue: A.value,
|
|
6310
|
-
"onUpdate:modelValue": n[3] || (n[3] = (
|
|
6310
|
+
"onUpdate:modelValue": n[3] || (n[3] = ($) => A.value = $),
|
|
6311
6311
|
"row-data": y.value,
|
|
6312
6312
|
"column-defs": p,
|
|
6313
6313
|
"shrink-at": !1,
|
|
@@ -6321,7 +6321,7 @@ const $l = { class: "flex flex-col gap-4" }, Yl = { class: "flex flex-col" }, Jl
|
|
|
6321
6321
|
"column-defs": C
|
|
6322
6322
|
}, null, 8, ["row-data"])
|
|
6323
6323
|
], 64)) : K("", !0),
|
|
6324
|
-
s("div",
|
|
6324
|
+
s("div", ii, [
|
|
6325
6325
|
y.value.length > 0 && !_(b).state.closingDocumentId ? (S(), H(j, {
|
|
6326
6326
|
key: 0,
|
|
6327
6327
|
class: "ml-auto mt-4",
|
|
@@ -6336,10 +6336,10 @@ const $l = { class: "flex flex-col gap-4" }, Yl = { class: "flex flex-col" }, Jl
|
|
|
6336
6336
|
]);
|
|
6337
6337
|
};
|
|
6338
6338
|
}
|
|
6339
|
-
}),
|
|
6339
|
+
}), di = { class: "flex flex-col gap-8 w-full" }, ci = { class: "flex gap-4 justify-between" }, mi = { 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" }, pi = { class: "fm-typo-en-body-md-600 select-none text-ellipsis overflow-hidden whitespace-nowrap" }, fi = { key: 0 }, vi = {
|
|
6340
6340
|
key: 1,
|
|
6341
6341
|
class: "flex flex-col gap-8 w-full"
|
|
6342
|
-
},
|
|
6342
|
+
}, gi = { class: "flex gap-8 items-center justify-start" }, yi = /* @__PURE__ */ Q({
|
|
6343
6343
|
__name: "SynergySideSheet",
|
|
6344
6344
|
props: {
|
|
6345
6345
|
show: { type: Boolean },
|
|
@@ -6348,28 +6348,28 @@ const $l = { class: "flex flex-col gap-4" }, Yl = { class: "flex flex-col" }, Jl
|
|
|
6348
6348
|
emits: ["update:show"],
|
|
6349
6349
|
setup(k, { emit: b }) {
|
|
6350
6350
|
var A;
|
|
6351
|
-
const e =
|
|
6351
|
+
const e = fe(), t = Se(k, "show"), { t: d } = oe(), u = b, l = pe(), h = ((A = l._currentLocation) == null ? void 0 : A.type) || "";
|
|
6352
6352
|
return (c, m) => {
|
|
6353
6353
|
var F;
|
|
6354
6354
|
const y = V("FmIcon"), p = V("FmButton"), C = V("FmSideSheet");
|
|
6355
6355
|
return S(), H(C, {
|
|
6356
6356
|
modelValue: _(t),
|
|
6357
|
-
"onUpdate:modelValue": m[1] || (m[1] = (w) =>
|
|
6357
|
+
"onUpdate:modelValue": m[1] || (m[1] = (w) => Ie(t) ? t.value = w : null),
|
|
6358
6358
|
header: "Data migration (Synergy)",
|
|
6359
6359
|
"dismiss-away": "",
|
|
6360
6360
|
"close-button": "",
|
|
6361
6361
|
"max-width": 800
|
|
6362
|
-
},
|
|
6362
|
+
}, Ae({
|
|
6363
6363
|
default: O(() => {
|
|
6364
6364
|
var w;
|
|
6365
6365
|
return [
|
|
6366
|
-
(w = _(e).sessionUser.value) != null && w.role.isAdmin ? (S(), D("div",
|
|
6367
|
-
I(
|
|
6368
|
-
])) : (S(), D("div",
|
|
6366
|
+
(w = _(e).sessionUser.value) != null && w.role.isAdmin ? (S(), D("div", vi, [
|
|
6367
|
+
I(ui)
|
|
6368
|
+
])) : (S(), D("div", fi, " Please contact your administrator to apply the changes. "))
|
|
6369
6369
|
];
|
|
6370
6370
|
}),
|
|
6371
6371
|
"side-sheet-footer": O(() => [
|
|
6372
|
-
s("div",
|
|
6372
|
+
s("div", gi, [
|
|
6373
6373
|
I(p, {
|
|
6374
6374
|
variant: "tertiary",
|
|
6375
6375
|
label: _(d)("common.close"),
|
|
@@ -6384,15 +6384,15 @@ const $l = { class: "flex flex-col gap-4" }, Yl = { class: "flex flex-col" }, Jl
|
|
|
6384
6384
|
fn: O(() => {
|
|
6385
6385
|
var w;
|
|
6386
6386
|
return [
|
|
6387
|
-
s("div",
|
|
6388
|
-
s("div",
|
|
6387
|
+
s("div", di, [
|
|
6388
|
+
s("div", ci, [
|
|
6389
6389
|
m[2] || (m[2] = s("div", { class: "fm-typo-en-title-md-600" }, "Data migration (Synergy)", -1)),
|
|
6390
|
-
s("div",
|
|
6390
|
+
s("div", mi, [
|
|
6391
6391
|
I(y, {
|
|
6392
6392
|
name: _(h),
|
|
6393
6393
|
size: "sm"
|
|
6394
6394
|
}, null, 8, ["name"]),
|
|
6395
|
-
s("div",
|
|
6395
|
+
s("div", pi, E((w = _(l)._currentLocation) == null ? void 0 : w.name), 1)
|
|
6396
6396
|
])
|
|
6397
6397
|
])
|
|
6398
6398
|
])
|
|
@@ -6403,10 +6403,10 @@ const $l = { class: "flex flex-col gap-4" }, Yl = { class: "flex flex-col" }, Jl
|
|
|
6403
6403
|
]), 1032, ["modelValue"]);
|
|
6404
6404
|
};
|
|
6405
6405
|
}
|
|
6406
|
-
}),
|
|
6406
|
+
}), bi = /* @__PURE__ */ Q({
|
|
6407
6407
|
__name: "SynergyView",
|
|
6408
6408
|
setup(k) {
|
|
6409
|
-
const b =
|
|
6409
|
+
const b = wt(), e = pe(), v = R(!1);
|
|
6410
6410
|
async function t() {
|
|
6411
6411
|
v.value = !0, console.log("Opening Synergy migration dialog");
|
|
6412
6412
|
}
|
|
@@ -6441,8 +6441,8 @@ const $l = { class: "flex flex-col gap-4" }, Yl = { class: "flex flex-col" }, Jl
|
|
|
6441
6441
|
]),
|
|
6442
6442
|
_: 1
|
|
6443
6443
|
}),
|
|
6444
|
-
(S(), H(
|
|
6445
|
-
I(
|
|
6444
|
+
(S(), H(_e, { to: "body" }, [
|
|
6445
|
+
I(yi, {
|
|
6446
6446
|
show: v.value,
|
|
6447
6447
|
"onUpdate:show": u[1] || (u[1] = (A) => v.value = A)
|
|
6448
6448
|
}, null, 8, ["show"])
|
|
@@ -6450,19 +6450,19 @@ const $l = { class: "flex flex-col gap-4" }, Yl = { class: "flex flex-col" }, Jl
|
|
|
6450
6450
|
], 64)) : K("", !0);
|
|
6451
6451
|
};
|
|
6452
6452
|
}
|
|
6453
|
-
}),
|
|
6453
|
+
}), Ai = { key: 0 }, hi = {
|
|
6454
6454
|
key: 1,
|
|
6455
6455
|
class: "flex flex-col items-center my-10 gap-5"
|
|
6456
|
-
},
|
|
6456
|
+
}, xi = ["src"], Ii = {
|
|
6457
6457
|
class: "text-xs text-neutral-400 text-center",
|
|
6458
6458
|
style: { "max-width": "25rem" }
|
|
6459
|
-
},
|
|
6459
|
+
}, Si = {
|
|
6460
6460
|
key: 2,
|
|
6461
6461
|
class: "grid grid-cols-2 gap-5"
|
|
6462
|
-
},
|
|
6462
|
+
}, $i = /* @__PURE__ */ Q({
|
|
6463
6463
|
__name: "IntegrationView",
|
|
6464
6464
|
setup(k) {
|
|
6465
|
-
const b =
|
|
6465
|
+
const b = pe(), e = R(!1), v = tn(), { breakpoints: t } = qe(), d = U(() => t.value.xs || t.value.sm), { t: u } = oe();
|
|
6466
6466
|
async function l() {
|
|
6467
6467
|
e.value = !0;
|
|
6468
6468
|
try {
|
|
@@ -6473,11 +6473,11 @@ const $l = { class: "flex flex-col gap-4" }, Yl = { class: "flex flex-col" }, Jl
|
|
|
6473
6473
|
}
|
|
6474
6474
|
return b.watchLocation(async (h) => {
|
|
6475
6475
|
h && await l();
|
|
6476
|
-
}, "integration-view"),
|
|
6476
|
+
}, "integration-view"), ke(async () => {
|
|
6477
6477
|
b._currentLocation && await l();
|
|
6478
6478
|
}), (h, A) => {
|
|
6479
6479
|
const c = V("FmCircularProgress");
|
|
6480
|
-
return S(), H(
|
|
6480
|
+
return S(), H(Yt, {
|
|
6481
6481
|
title: _(u)("inventory.integration.title")
|
|
6482
6482
|
}, {
|
|
6483
6483
|
default: O(() => [
|
|
@@ -6490,27 +6490,27 @@ const $l = { class: "flex flex-col gap-4" }, Yl = { class: "flex flex-col" }, Jl
|
|
|
6490
6490
|
}
|
|
6491
6491
|
])
|
|
6492
6492
|
}, [
|
|
6493
|
-
I(
|
|
6493
|
+
I(Qt, {
|
|
6494
6494
|
"change-location": "",
|
|
6495
6495
|
showBusiness: ""
|
|
6496
6496
|
}),
|
|
6497
|
-
!_(b)._currentLocation || e.value ? (S(), D("div",
|
|
6497
|
+
!_(b)._currentLocation || e.value ? (S(), D("div", Ai, [
|
|
6498
6498
|
I(c, { size: "lg" })
|
|
6499
|
-
])) : _(v).enabledIntegrations == 0 ? (S(), D("div",
|
|
6499
|
+
])) : _(v).enabledIntegrations == 0 ? (S(), D("div", hi, [
|
|
6500
6500
|
s("div", null, [
|
|
6501
6501
|
s("img", {
|
|
6502
|
-
src: _(
|
|
6502
|
+
src: _(vt),
|
|
6503
6503
|
alt: "List is empty"
|
|
6504
|
-
}, null, 8,
|
|
6504
|
+
}, null, 8, xi)
|
|
6505
6505
|
]),
|
|
6506
6506
|
A[0] || (A[0] = s("div", { class: "font-bold text-lg" }, "Integration", -1)),
|
|
6507
|
-
s("div",
|
|
6508
|
-
])) : (S(), D("div",
|
|
6509
|
-
I(
|
|
6510
|
-
I(
|
|
6511
|
-
I(
|
|
6512
|
-
I(
|
|
6513
|
-
I(
|
|
6507
|
+
s("div", Ii, E(_(u)("inventory.integration.description")), 1)
|
|
6508
|
+
])) : (S(), D("div", Si, [
|
|
6509
|
+
I(ha),
|
|
6510
|
+
I(Lo),
|
|
6511
|
+
I(ml),
|
|
6512
|
+
I(ql),
|
|
6513
|
+
I(bi)
|
|
6514
6514
|
]))
|
|
6515
6515
|
], 2)
|
|
6516
6516
|
]),
|
|
@@ -6520,5 +6520,5 @@ const $l = { class: "flex flex-col gap-4" }, Yl = { class: "flex flex-col" }, Jl
|
|
|
6520
6520
|
}
|
|
6521
6521
|
});
|
|
6522
6522
|
export {
|
|
6523
|
-
|
|
6523
|
+
$i as default
|
|
6524
6524
|
};
|