@feedmepos/mf-inventory-portal 1.7.12-dev.1 → 1.7.12-dev.2
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-Zjoj7th9.js → App-DE5q8pJt.js} +7 -7
- package/dist/{ApprovalView-Cl5HhN3j.js → ApprovalView-tn3kgVnm.js} +9 -9
- package/dist/{BindingsDialog-3NRAskTw.js → BindingsDialog-BcpMSsbG.js} +2 -2
- package/dist/{BindingsPicker-Dn_Z7AXH.js → BindingsPicker-D-XtjmkW.js} +2 -2
- package/dist/{BindingsTable-DJfPc3bX.js → BindingsTable-CpQ6DVv6.js} +4 -4
- package/dist/{BulkReceiveRequestView-kFVonMtj.js → BulkReceiveRequestView-BOUrL6ir.js} +19 -19
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-Cu-LwhMc.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-Bu9YI9f7.js} +1 -1
- package/dist/{ClosingDraftView-rgY5R7rH.js → ClosingDraftView-BQkusa3K.js} +19 -19
- package/dist/{ClosingHistoryView-BWo5Zfg9.js → ClosingHistoryView-DNmUcfKW.js} +5 -5
- package/dist/{ClosingTemplateView-0hd1bbRF.js → ClosingTemplateView-BGMMQIlm.js} +16 -16
- package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-BVLkGI3q.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-BlrhLlmx.js} +1 -1
- package/dist/{DefaultView-D_a7mO1d.js → DefaultView-DbW7mva7.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-wvMJXbqW.js → DeliveryOrderPrintPreview-C6gqP8ro.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-CI5wpzVc.js → EmailDialog.vue_vue_type_script_setup_true_lang-XU50lg6w.js} +2250 -2250
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-DVeCzgYj.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-D-3eipuP.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-aY75LBvg.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CfmhYGml.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-I7MyyY0l.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DyEY4i7p.js} +2 -2
- package/dist/{FmMultiselectDialog-CALAu98v.js → FmMultiselectDialog-DCzjYd3G.js} +2 -2
- package/dist/{FmMultiselectDialog-Bzx3qvlQ.js → FmMultiselectDialog-zWGXAdy0.js} +1 -1
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-DXcWyoms.js → FmUnitInput.vue_vue_type_script_setup_true_lang-Ple3fGYg.js} +6 -6
- package/dist/{ImportView-C03iv8Rz.js → ImportView-pEnmvGQZ.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-D22hIFRS.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-zneEDRRK.js} +1 -1
- package/dist/{IngredientGroupView-D9sVDZ4K.js → IngredientGroupView-C4LKT2no.js} +5 -5
- package/dist/{IngredientsView-mWr_3IOT.js → IngredientsView-BuAz_kTx.js} +15 -15
- package/dist/{IntegrationExplorerView-BP4OsTrw.js → IntegrationExplorerView-C2BSURrj.js} +4 -4
- package/dist/{IntegrationView-tDdgJq8v.js → IntegrationView-D_mBNCCe.js} +14 -14
- package/dist/{InventoryBindingForm-B3xXDk9D.js → InventoryBindingForm-bZo-006V.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-BrCfJMBq.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DJg4Yogw.js} +5 -5
- package/dist/{InventoryBindingSummary-IwLszyLP.js → InventoryBindingSummary-BB9KGZ2m.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CnTmeO6C.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DXUTZvuO.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-WLmWGNM1.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BaBJdjs1.js} +1 -1
- package/dist/{ProductionView-D674uvHU.js → ProductionView-Dl-Cyg38.js} +7 -7
- package/dist/{PublishView-CnObB4ed.js → PublishView-C3X5HiH6.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-SRYoRNXX.js → PurchaseOrderPrintPreview-CSrsukQD.js} +2 -2
- package/dist/{ReceiveRequestView-BH9q6BNw.js → ReceiveRequestView-DHfHO1hN.js} +14 -14
- package/dist/{RecipeView-B6rTxGUj.js → RecipeView-CDWEAe2t.js} +17 -17
- package/dist/{SettingsView-ChRZoXOQ.js → SettingsView-BLIWAA-o.js} +4 -4
- package/dist/{StockView-CNbLoirW.js → StockView-C0v3io9V.js} +21 -21
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-D431xXOp.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DlECppRw.js} +1 -1
- package/dist/{SupplierView-0Ik9t7h5.js → SupplierView-J61tPOTo.js} +12 -12
- package/dist/{SurchargeView-B0EOef3a.js → SurchargeView-BACvlFV2.js} +6 -6
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CJQzCpzK.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-DJ08rDXE.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-BA_3tfAX.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CSLs6e0k.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BLATExKY.js → TransferDetails.vue_vue_type_script_setup_true_lang-C_cRs9Cy.js} +20 -20
- package/dist/{TransferTemplateView-BlYUrUSk.js → TransferTemplateView-CEAAZaYQ.js} +20 -20
- package/dist/{UnitCostHistoryView-BJV-skNz.js → UnitCostHistoryView-rmgLm5vt.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-Bc8RdRi2.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-o1eSDUbx.js} +4 -4
- package/dist/{UnitView-B6CKmwnd.js → UnitView-C0xIGsAy.js} +7 -7
- package/dist/WarehouseView-RPXyVYIR.js +1082 -0
- package/dist/{WastageTemplateView-Bc54z0GW.js → WastageTemplateView-DrEDl-Cn.js} +14 -14
- package/dist/{app-B5gyvQqp.js → app-DxdWfyxo.js} +251 -235
- package/dist/app.js +1 -1
- package/dist/{closing-template-BX7M6U28.js → closing-template-DLkEPmhO.js} +1 -1
- package/dist/{date2-B3vSNZPa.js → date2-_HV-UUr-.js} +1 -1
- package/dist/{dayjs.min-RI1MhHIp.js → dayjs.min-B4ZBHgnH.js} +1 -1
- package/dist/{decimal-C8GlBD-D.js → decimal-BP9r-3Fd.js} +2 -2
- package/dist/{defineDeepModel-BlNY4PKK.js → defineDeepModel-512Elkp4.js} +1 -1
- package/dist/{duplicate-template-DOLKU747.js → duplicate-template-B5Wg73Th.js} +1 -1
- package/dist/{feature-Db_mzTW5.js → feature-CqyeXw0w.js} +2 -2
- package/dist/{format-time-from-id-D2NTH4Kl.js → format-time-from-id-CBkBQaBx.js} +1 -1
- package/dist/{format-unit-display-BzIlnWVZ.js → format-unit-display-DNWWwkbf.js} +12 -12
- package/dist/{import-export.helper-B2zDbTZ-.js → import-export.helper-BSz6k4kC.js} +6 -6
- package/dist/{index-BOKqtp7W.js → index-BcC1HW4y.js} +3 -3
- package/dist/{index-B-yiNvFs.js → index-DCGTaCsW.js} +1 -1
- package/dist/{index-CTKj2npl.js → index-Dxc2IYXi.js} +1 -1
- package/dist/{inventory-core-dart.default-BtP1IlTd.js → inventory-core-dart.default-BbZy6Cok.js} +1 -1
- package/dist/{lz-string-TliBBzY1.js → lz-string-RCKGmlTu.js} +1 -1
- package/dist/{netsuite-Bx9zfO6D.js → netsuite-tMIpKK4c.js} +2 -2
- package/dist/{number-ON9UUtj8.js → number-Bf8QDJ39.js} +3 -3
- package/dist/{predefined-templates-DN_WPJfI.js → predefined-templates-Bh5ObypP.js} +1 -1
- package/dist/{purchase-order-template-C_9wLae5.js → purchase-order-template-Cdeh8-im.js} +1 -1
- package/dist/{recalculationUtils-DBTDkx9G.js → recalculationUtils-CJ02T70y.js} +1 -1
- package/dist/{rules-xnn3-Len.js → rules-BrpDaHZu.js} +2 -2
- package/dist/{stock-B3zGQryO.js → stock-BP1CvvEN.js} +3 -3
- package/dist/{stock-CB7P__qm.js → stock-Ca3ejqyO.js} +1 -1
- package/dist/{supplier-BTXTn0bN.js → supplier-CikAplrR.js} +2 -2
- package/dist/{surcharge-voSJfpsM.js → surcharge-z_QfAREF.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{uom-rules-64EwcIr7.js → uom-rules-BU0EkWV5.js} +1 -1
- package/dist/{use-ingredient-select-dialog-CWSEDu-m.js → use-ingredient-select-dialog-DxxL31dH.js} +2 -2
- package/dist/{use-inventory-binding-dialog-HuxFkPP0.js → use-inventory-binding-dialog-oRxuJqJI.js} +2 -2
- package/dist/{use-template-enabled-locations-Cw5roIHZ.js → use-template-enabled-locations-CcQMhBXm.js} +2 -2
- package/dist/{use-transfer-locations-4QYq6lOQ.js → use-transfer-locations-ByuoGAkE.js} +2 -2
- package/dist/{useHrmPermission-lATKCM9d.js → useHrmPermission-VmapATbV.js} +1 -1
- package/dist/{useNavigationMenu-gDaTop4p.js → useNavigationMenu-D6vXqC9N.js} +2 -2
- package/dist/{useSseClient-C8HDJYTK.js → useSseClient-Dzsg1Vj-.js} +1 -1
- package/dist/{vue-i18n-guKtBUVP.js → vue-i18n-DApbl4qi.js} +337 -337
- package/dist/{xlsx.util-DFBAJNta.js → xlsx.util-B75j3mbr.js} +2 -2
- package/package.json +3 -3
- package/dist/WarehouseView-Bib8KRcn.js +0 -1079
|
@@ -7364,7 +7364,7 @@ const zh = {
|
|
|
7364
7364
|
ingredient: eF
|
|
7365
7365
|
};
|
|
7366
7366
|
var yt = /* @__PURE__ */ ((p) => (p.LOADING = "DEFAULT", p.INGREDIENTS = "INGREDIENTS", p.INGREDIENT_GROUP = "INGREDIENT_GROUP", p.RECIPE = "RECIPE", p.UNIT = "UNIT", p.STOCK = "STOCK", p.PRODUCTION = "PRODUCTION", p.UNIT_COST_HISTORY = "UNIT_COST_HISTORY", p.CLOSING_TEMPLATE = "CLOSING_TEMPLATE", p.CLOSING_DRAFT = "CLOSING_DRAFT", p.CLOSING_HISTORY = "CLOSING_HISTORY", p.WASTAGE_TEMPLATE = "WASTAGE_TEMPLATE", p.WAREHOUSE = "WAREHOUSE", p.RECEIVE_REQUEST = "RECEIVE_REQUEST", p.RECEIVE_REQUEST_BULK = "RECEIVE_REQUEST_BULK", p.TRANSFER_TEMPLATE = "TRANSFER_TEMPLATE", p.RECEIVE_REQUEST_PRINT_PREVIEW = "RECEIVE_REQUEST_PRINT_PREVIEW", p.RECEIVE_REQUEST_DELIVERY_PRINT_PREVIEW = "RECEIVE_REQUEST_DELIVERY_PRINT_PREVIEW", p.APPROVAL = "APPROVAL", p.SURCHARGE = "SURCHARGE", p.SUPPLIER = "SUPPLIER", p.PUBLISH = "PUBLISH", p.IMPORT = "IMPORT", p.INTEGRATION = "INTEGRATION", p.INTEGRATION_EXPLORER = "INTEGRATION_EXPLORER", p.SETTINGS = "SETTINGS", p.DEV = "DEV", p.IFRAME_INVENTORY_BINDINGS_TABLE = "IFRAME_INVENTORY_BINDINGS_TABLE", p.IFRAME_INVENTORY_BINDINGS_DIALOG = "IFRAME_INVENTORY_BINDINGS_DIALOG", p.IFRAME_INVENTORY_BINDINGS_PICKER = "IFRAME_INVENTORY_BINDINGS_PICKER", p))(yt || {});
|
|
7367
|
-
function
|
|
7367
|
+
function gM(p, g) {
|
|
7368
7368
|
switch (p) {
|
|
7369
7369
|
case "DEFAULT":
|
|
7370
7370
|
return "Default";
|
|
@@ -9351,17 +9351,17 @@ function Bt(p) {
|
|
|
9351
9351
|
}
|
|
9352
9352
|
};
|
|
9353
9353
|
}
|
|
9354
|
-
const DI = () => import("./IngredientsView-
|
|
9354
|
+
const DI = () => import("./IngredientsView-BuAz_kTx.js").then((p) => Bt(p.default)), RI = () => import("./ClosingTemplateView-BGMMQIlm.js").then((p) => Bt(p.default)), VI = () => import("./WarehouseView-RPXyVYIR.js").then((p) => Bt(p.default)), PI = () => import("./TransferTemplateView-CEAAZaYQ.js").then(
|
|
9355
9355
|
(p) => Bt(p.default)
|
|
9356
|
-
), NI = () => import("./RecipeView-
|
|
9356
|
+
), NI = () => import("./RecipeView-CDWEAe2t.js").then((p) => Bt(p.default)), xI = () => import("./UnitView-C0xIGsAy.js").then((p) => Bt(p.default)), JI = () => import("./SupplierView-J61tPOTo.js").then((p) => Bt(p.default)), jI = () => import("./PublishView-C3X5HiH6.js").then((p) => Bt(p.default)), UI = () => import("./IntegrationView-D_mBNCCe.js").then((p) => Bt(p.default)), zI = () => import("./IntegrationExplorerView-C2BSURrj.js").then(
|
|
9357
9357
|
(p) => Bt(p.default)
|
|
9358
|
-
), qI = () => import("./SettingsView-
|
|
9358
|
+
), qI = () => import("./SettingsView-BLIWAA-o.js").then((p) => Bt(p.default)), GI = () => import("./WastageTemplateView-DrEDl-Cn.js").then(
|
|
9359
9359
|
(p) => Bt(p.default)
|
|
9360
|
-
), HI = () => import("./IngredientGroupView-
|
|
9360
|
+
), HI = () => import("./IngredientGroupView-C4LKT2no.js").then((p) => Bt(p.default)), YI = () => import("./StockView-C0v3io9V.js").then((p) => Bt(p.default)), WI = () => import("./ProductionView-Dl-Cyg38.js").then((p) => Bt(p.default)), QI = () => import("./UnitCostHistoryView-rmgLm5vt.js").then(
|
|
9361
9361
|
(p) => Bt(p.default)
|
|
9362
|
-
), KI = () => import("./ClosingDraftView-
|
|
9362
|
+
), KI = () => import("./ClosingDraftView-BQkusa3K.js").then((p) => Bt(p.default)), ZI = () => import("./ClosingHistoryView-DNmUcfKW.js").then((p) => Bt(p.default)), XI = () => import("./ReceiveRequestView-DHfHO1hN.js").then((p) => Bt(p.default)), eS = () => import("./BulkReceiveRequestView-BOUrL6ir.js").then(
|
|
9363
9363
|
(p) => Bt(p.default)
|
|
9364
|
-
), tS = () => import("./ApprovalView-
|
|
9364
|
+
), tS = () => import("./ApprovalView-tn3kgVnm.js").then((p) => Bt(p.default)), nS = () => import("./SurchargeView-BACvlFV2.js").then((p) => Bt(p.default)), rS = () => import("./ImportView-pEnmvGQZ.js").then((p) => Bt(p.default)), iS = () => import("./DefaultView-DbW7mva7.js"), oS = () => import("./PurchaseOrderPrintPreview-CSrsukQD.js"), aS = () => import("./DeliveryOrderPrintPreview-C6gqP8ro.js"), sS = () => import("./BindingsTable-CpQ6DVv6.js"), lS = () => import("./BindingsDialog-BcpMSsbG.js"), uS = () => import("./BindingsPicker-D-XtjmkW.js"), fM = [
|
|
9365
9365
|
{
|
|
9366
9366
|
path: "/",
|
|
9367
9367
|
name: yt.LOADING,
|
|
@@ -9403,7 +9403,7 @@ const DI = () => import("./IngredientsView-mWr_3IOT.js").then((p) => Bt(p.defaul
|
|
|
9403
9403
|
component: WI,
|
|
9404
9404
|
meta: Rt(Dt.Subject.Business.inventory_stockBalance),
|
|
9405
9405
|
beforeEnter: async () => {
|
|
9406
|
-
const { useFeatureStore: p } = await import("./feature-
|
|
9406
|
+
const { useFeatureStore: p } = await import("./feature-CqyeXw0w.js").then((v) => v.f), g = p();
|
|
9407
9407
|
if (!await g.awaitFeatureLoaded(
|
|
9408
9408
|
() => g.enableProductionItem
|
|
9409
9409
|
)) return { name: yt.STOCK };
|
|
@@ -9457,7 +9457,7 @@ const DI = () => import("./IngredientsView-mWr_3IOT.js").then((p) => Bt(p.defaul
|
|
|
9457
9457
|
component: eS,
|
|
9458
9458
|
meta: Rt(Dt.Subject.Business.inventory_purchaseTransfer),
|
|
9459
9459
|
beforeEnter: async () => {
|
|
9460
|
-
const { useFeatureStore: p } = await import("./feature-
|
|
9460
|
+
const { useFeatureStore: p } = await import("./feature-CqyeXw0w.js").then((v) => v.f), g = p();
|
|
9461
9461
|
if (!await g.awaitFeatureLoaded(
|
|
9462
9462
|
() => g.enableReceiveRequestBeta
|
|
9463
9463
|
)) return { name: yt.RECEIVE_REQUEST };
|
|
@@ -9559,14 +9559,14 @@ function cS(p, g) {
|
|
|
9559
9559
|
function _S(p, g) {
|
|
9560
9560
|
return p === null || g === null || p === void 0 || g === void 0 || typeof p != "object" && typeof g != "object" ? p === g : Object.keys(p).length !== Object.keys(g).length ? !1 : Object.keys(p).every((f) => _S(p[f], g[f]));
|
|
9561
9561
|
}
|
|
9562
|
-
function
|
|
9562
|
+
function yM(p, g, f) {
|
|
9563
9563
|
const v = g.split(".");
|
|
9564
9564
|
let E = p;
|
|
9565
9565
|
for (let O = 0; O < v.length - 1; O++)
|
|
9566
9566
|
(E[v[O]] === void 0 || E[v[O]] === null) && (E[v[O]] = {}), E = E[v[O]];
|
|
9567
9567
|
E[v[v.length - 1]] = f;
|
|
9568
9568
|
}
|
|
9569
|
-
function
|
|
9569
|
+
function hM(p, g) {
|
|
9570
9570
|
const f = g.split(".");
|
|
9571
9571
|
if (f.length === 0) return;
|
|
9572
9572
|
let v = p;
|
|
@@ -9582,7 +9582,7 @@ function yM(p, g) {
|
|
|
9582
9582
|
} else
|
|
9583
9583
|
delete v[E];
|
|
9584
9584
|
}
|
|
9585
|
-
function
|
|
9585
|
+
function FM(p, g, f) {
|
|
9586
9586
|
const v = g.split(".");
|
|
9587
9587
|
let E = p;
|
|
9588
9588
|
for (let V = 0; V < v.length - 1; V++)
|
|
@@ -20364,7 +20364,7 @@ function Mu(p) {
|
|
|
20364
20364
|
}
|
|
20365
20365
|
var lc = {};
|
|
20366
20366
|
(function(p) {
|
|
20367
|
-
var g = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_9f30e9dc-9c1c-4486-91a1-6ef637d8817d", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_node: "^18.19.33", npm_config_dedupe_peer_dependents: "", DOTNET_NOLOGO: "1", npm_package_scripts_prepublish: "pnpm check:env && pnpm build:mf && pnpm build:dts", npm_package_dependencies_fuzzy_search: "^3.2.1", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^1.6.0", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.20.2 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", npm_package_devDependencies_vite_plugin_commonjs: "^0.10.3", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_9f30e9dc-9c1c-4486-91a1-6ef637d8817d", PIPX_HOME: "/opt/pipx", npm_package_scripts_dev_standalone: "vite --mode standalone", npm_package_dependencies_codemirror: "^6.0.2", npm_package_dependencies_html2pdf_js: "^0.14.0", npm_package_dependencies_node_html_parser: "^7.0.1", npm_package_devDependencies_vite: "5.4.8", npm_node_execpath: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", npm_package_files_0: "dist", npm_package_scripts_prod_standalone: "PORTAL_ENV=production vite --mode standalone", npm_package_scripts_check_env: 'cat build-*.env | grep -qE "^[^#].*localhost" && { echo "Error: build-*.env files contains localhost reference" >&2; exit 1;} || exit 0', HOME: "/home/runner", npm_package_devDependencies_sass: "^1.77.2", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "PORTAL_ENV=production vite build --mode fmmf", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8192", GRADLE_HOME: "/usr/share/gradle-9.7.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --declaration --noEmit -p tsconfig.app.json", npm_package_dependencies__feedmepos_mf_common: "^1.29.11", npm_package_dependencies_handlebars: "^4.7.8", npm_package_devDependencies_code_inspector_plugin: "^1.4.5", npm_package_devDependencies_npm_run_all2: "^6.2.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_dependencies__feedmepos_inventory_core_dart: "workspace:^", SYSTEMD_EXEC_PID: "1754", ACTIONS_ORCHESTRATION_ID: "189de170-405b-4655-96a7-e7f2aae18feb.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.10.1", npm_package_dependencies_dayjs: "^1.11.11", npm_package_dependencies_dotenv: "^16.4.5", npm_package_devDependencies__tsconfig_node18: "^18.2.4", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_dependencies_eventsource: "^4.1.0", npm_package_devDependencies_tailwindcss: "3.4.1", npm_package_devDependencies_typescript: "5.2.2", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_google_maps: "^4.3.3", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^1.8.27", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260810.271.1", npm_package_scripts_build_prod: "PORTAL_ENV=production vite build --mode standalone", npm_package_scripts_dev: "vite", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.5", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_devDependencies__playwright_test: "1.61.1", npm_package_devDependencies_prettier: "^3.2.5", npm_package_devDependencies_zod: "3.17.9", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_9f30e9dc-9c1c-4486-91a1-6ef637d8817d", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", VERSION: "1.7.12-dev.1", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_scripts_prod: "PORTAL_ENV=production vite", npm_package_devDependencies__vue_tsconfig: "^0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:11860", GITHUB_WORKFLOW: "[CD:dev] inventory-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_dependencies_csstype: "^3.1.3", npm_package_dependencies_fuzzy: "^0.1.3", npm_config_registry: "https://registry.npmjs.org", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.12/x64", GITHUB_RUN_ID: "32121200939", npm_package_dependencies__codemirror_lang_json: "^6.0.2", npm_package_devDependencies__types_lodash: "^4.17.16", npm_package_devDependencies_happy_dom: "^12.10.3", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "8d8453c149b1c4c6535eaf4ff624c56c35aee1bf", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.5/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^4.6.2", GITHUB_WORKFLOW_REF: "feedmepos/inventory-service/.github/workflows/inventory-portal-dev.yaml@refs/heads/development", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies__feedmepos_zod_inventory: "workspace:^", npm_package_dependencies_axios: "^1.7.1", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/work/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.20.2/x64/bin:/home/runner/.pub-cache/bin:/opt/hostedtoolcache/dart/3.4.3/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_8140d5ff-c3de-492b-ac2f-d1340ea56682", INVOCATION_ID: "8c37fab166514317a0ca0212b6a454c7", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", npm_package_name: "@feedmepos/mf-inventory-portal", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "1158", GITHUB_TRIGGERING_ACTOR: "zdirnecamlcs96", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_test_e2e: "playwright test", npm_package_scripts_test_publish: "pnpm prepublish && pnpm pack", npm_package_dependencies_vue_country_flag_next: "^2.3.2", npm_config_frozen_lockfile: "", npm_package_dependencies__feedmepos_inventory_core_2: "workspace:^", npm_package_dependencies__typescript_eslint_typescript_estree: "^8.21.0", npm_package_devDependencies__types_dompurify: "^3.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", DART_HOME: "/opt/hostedtoolcache/dart/3.4.3/x64", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies__vue_test_utils: "^2.4.6", npm_package_devDependencies_eslint: "^8.57.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000113716", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "development", GITHUB_REPOSITORY: "feedmepos/inventory-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_publish_beta: "pnpm publish --tag beta", npm_package_scripts_unpack: "tar zxf", npm_package_dependencies__feedmepos_core: "2.14.40", npm_package_devDependencies__types_debounce: "^1.2.4", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies__feedmepos_netsuite_core: "workspace:^", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", npm_config_manage_package_manager_versions: "true", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "656626604", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules/vite/bin/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules/vite/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "1.7.12-dev.1", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && pnpm build-types", npm_package_dependencies__feedmepos_hrm_permission: "1.0.9", npm_package_dependencies__tanstack_vue_table: "^8.17.3", npm_package_dependencies__vue_cli_service: "^5.0.8", npm_package_devDependencies__rushstack_eslint_patch: "^1.10.3", npm_config_access: "public", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "true", npm_package_scripts_build: "vite build --mode standalone", npm_package_dependencies_vue_i18n: "^10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com", GITHUB_WORKSPACE: "/home/runner/work/inventory-service/inventory-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.20", npm_package_devDependencies__types_fuzzy_search: "^2.1.5", npm_package_devDependencies_cypress: "^13.9.0", GITHUB_SHA: "8d8453c149b1c4c6535eaf4ff624c56c35aee1bf", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/development", GITHUB_ACTOR: "zdirnecamlcs96", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_dependencies_lz_string: "^1.5.0", npm_package_devDependencies__testing_library_vue: "^8.1.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_9f30e9dc-9c1c-4486-91a1-6ef637d8817d", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", GITHUB_ACTOR_ID: "12760908", RUNNER_WORKSPACE: "/home/runner/work/inventory-service", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_9f30e9dc-9c1c-4486-91a1-6ef637d8817d", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", npm_package_dependencies__feedmepos_inventory_core: "workspace:^", npm_package_dependencies_dompurify: "^3.3.1", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PUB_CACHE: "/home/runner/.pub-cache", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_devDependencies_eslint_plugin_vue: "^9.26.0", npm_package_devDependencies_postcss: "^8.4.38", npm_config_node_options: "--max-old-space-size=8192", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_9f30e9dc-9c1c-4486-91a1-6ef637d8817d", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_deploy: "pnpm run build-only && pnpm publish --no-git-checks .", npm_package_scripts_preview: "vite preview", npm_package_dependencies_debounce: "^2.0.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", npm_package_dependencies__feedmepos_menu: "1.5.22", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_9f30e9dc-9c1c-4486-91a1-6ef637d8817d", INIT_CWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_dependencies__feedmepos_codemax_core: "workspace:^", npm_package_dependencies__feedmepos_inventory_core_js: "workspace:^", npm_package_dependencies_libphonenumber_js: "^1.11.18", NODE_ENV: "production" } }, f = typeof g < "u" && (g.versions || {}).hasOwnProperty("node"), v = f ? Object.create(globalThis) : globalThis;
|
|
20367
|
+
var g = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_7c0a9f43-5055-4286-8bb5-89bf63bf1d47", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_node: "^18.19.33", npm_config_dedupe_peer_dependents: "", DOTNET_NOLOGO: "1", npm_package_scripts_prepublish: "pnpm check:env && pnpm build:mf && pnpm build:dts", npm_package_dependencies_fuzzy_search: "^3.2.1", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^1.6.0", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.20.2 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", npm_package_devDependencies_vite_plugin_commonjs: "^0.10.3", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_7c0a9f43-5055-4286-8bb5-89bf63bf1d47", PIPX_HOME: "/opt/pipx", npm_package_scripts_dev_standalone: "vite --mode standalone", npm_package_dependencies_codemirror: "^6.0.2", npm_package_dependencies_html2pdf_js: "^0.14.0", npm_package_dependencies_node_html_parser: "^7.0.1", npm_package_devDependencies_vite: "5.4.8", npm_node_execpath: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", npm_package_files_0: "dist", npm_package_scripts_prod_standalone: "PORTAL_ENV=production vite --mode standalone", npm_package_scripts_check_env: 'cat build-*.env | grep -qE "^[^#].*localhost" && { echo "Error: build-*.env files contains localhost reference" >&2; exit 1;} || exit 0', HOME: "/home/runner", npm_package_devDependencies_sass: "^1.77.2", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "PORTAL_ENV=production vite build --mode fmmf", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8192", GRADLE_HOME: "/usr/share/gradle-9.7.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --declaration --noEmit -p tsconfig.app.json", npm_package_dependencies__feedmepos_mf_common: "^1.29.11", npm_package_dependencies_handlebars: "^4.7.8", npm_package_devDependencies_code_inspector_plugin: "^1.4.5", npm_package_devDependencies_npm_run_all2: "^6.2.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_dependencies__feedmepos_inventory_core_dart: "workspace:^", SYSTEMD_EXEC_PID: "1757", ACTIONS_ORCHESTRATION_ID: "c8f85fd1-ff7d-42fb-861f-cfbf143682e7.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.10.1", npm_package_dependencies_dayjs: "^1.11.11", npm_package_dependencies_dotenv: "^16.4.5", npm_package_devDependencies__tsconfig_node18: "^18.2.4", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_dependencies_eventsource: "^4.1.0", npm_package_devDependencies_tailwindcss: "3.4.1", npm_package_devDependencies_typescript: "5.2.2", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_google_maps: "^4.3.3", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^1.8.27", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260810.271.1", npm_package_scripts_build_prod: "PORTAL_ENV=production vite build --mode standalone", npm_package_scripts_dev: "vite", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.5", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_devDependencies__playwright_test: "1.61.1", npm_package_devDependencies_prettier: "^3.2.5", npm_package_devDependencies_zod: "3.17.9", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_7c0a9f43-5055-4286-8bb5-89bf63bf1d47", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", VERSION: "1.7.12-dev.2", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_scripts_prod: "PORTAL_ENV=production vite", npm_package_devDependencies__vue_tsconfig: "^0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:12534", GITHUB_WORKFLOW: "[CD:dev] inventory-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_dependencies_csstype: "^3.1.3", npm_package_dependencies_fuzzy: "^0.1.3", npm_config_registry: "https://registry.npmjs.org", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.12/x64", GITHUB_RUN_ID: "32132124260", npm_package_dependencies__codemirror_lang_json: "^6.0.2", npm_package_devDependencies__types_lodash: "^4.17.16", npm_package_devDependencies_happy_dom: "^12.10.3", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "a9f6060b6d0cfe0e47c4743e6b16f1024bbd4828", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.5/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^4.6.2", GITHUB_WORKFLOW_REF: "feedmepos/inventory-service/.github/workflows/inventory-portal-dev.yaml@refs/heads/development", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies__feedmepos_zod_inventory: "workspace:^", npm_package_dependencies_axios: "^1.7.1", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/work/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.20.2/x64/bin:/home/runner/.pub-cache/bin:/opt/hostedtoolcache/dart/3.4.3/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_e74b301f-3e26-420d-83ab-174ac13e6b5a", INVOCATION_ID: "2e4acadd34a54386bbb8ec78d1b0b56a", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", npm_package_name: "@feedmepos/mf-inventory-portal", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "1160", GITHUB_TRIGGERING_ACTOR: "zdirnecamlcs96", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_test_e2e: "playwright test", npm_package_scripts_test_publish: "pnpm prepublish && pnpm pack", npm_package_dependencies_vue_country_flag_next: "^2.3.2", npm_config_frozen_lockfile: "", npm_package_dependencies__feedmepos_inventory_core_2: "workspace:^", npm_package_dependencies__typescript_eslint_typescript_estree: "^8.21.0", npm_package_devDependencies__types_dompurify: "^3.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", DART_HOME: "/opt/hostedtoolcache/dart/3.4.3/x64", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies__vue_test_utils: "^2.4.6", npm_package_devDependencies_eslint: "^8.57.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000114061", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "development", GITHUB_REPOSITORY: "feedmepos/inventory-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_publish_beta: "pnpm publish --tag beta", npm_package_scripts_unpack: "tar zxf", npm_package_dependencies__feedmepos_core: "2.14.40", npm_package_devDependencies__types_debounce: "^1.2.4", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies__feedmepos_netsuite_core: "workspace:^", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", npm_config_manage_package_manager_versions: "true", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "656626604", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules/vite/bin/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules/vite/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "1.7.12-dev.2", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && pnpm build-types", npm_package_dependencies__feedmepos_hrm_permission: "1.0.9", npm_package_dependencies__tanstack_vue_table: "^8.17.3", npm_package_dependencies__vue_cli_service: "^5.0.8", npm_package_devDependencies__rushstack_eslint_patch: "^1.10.3", npm_config_access: "public", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "true", npm_package_scripts_build: "vite build --mode standalone", npm_package_dependencies_vue_i18n: "^10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com", GITHUB_WORKSPACE: "/home/runner/work/inventory-service/inventory-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.20", npm_package_devDependencies__types_fuzzy_search: "^2.1.5", npm_package_devDependencies_cypress: "^13.9.0", GITHUB_SHA: "a9f6060b6d0cfe0e47c4743e6b16f1024bbd4828", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/development", GITHUB_ACTOR: "zdirnecamlcs96", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_dependencies_lz_string: "^1.5.0", npm_package_devDependencies__testing_library_vue: "^8.1.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_7c0a9f43-5055-4286-8bb5-89bf63bf1d47", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", GITHUB_ACTOR_ID: "12760908", RUNNER_WORKSPACE: "/home/runner/work/inventory-service", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_7c0a9f43-5055-4286-8bb5-89bf63bf1d47", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", npm_package_dependencies__feedmepos_inventory_core: "workspace:^", npm_package_dependencies_dompurify: "^3.3.1", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PUB_CACHE: "/home/runner/.pub-cache", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_devDependencies_eslint_plugin_vue: "^9.26.0", npm_package_devDependencies_postcss: "^8.4.38", npm_config_node_options: "--max-old-space-size=8192", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_7c0a9f43-5055-4286-8bb5-89bf63bf1d47", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_deploy: "pnpm run build-only && pnpm publish --no-git-checks .", npm_package_scripts_preview: "vite preview", npm_package_dependencies_debounce: "^2.0.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", npm_package_dependencies__feedmepos_menu: "1.5.22", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_7c0a9f43-5055-4286-8bb5-89bf63bf1d47", INIT_CWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_dependencies__feedmepos_codemax_core: "workspace:^", npm_package_dependencies__feedmepos_inventory_core_js: "workspace:^", npm_package_dependencies_libphonenumber_js: "^1.11.18", NODE_ENV: "production" } }, f = typeof g < "u" && (g.versions || {}).hasOwnProperty("node"), v = f ? Object.create(globalThis) : globalThis;
|
|
20368
20368
|
if (v.scheduleImmediate = typeof setImmediate < "u" ? function(O) {
|
|
20369
20369
|
setImmediate(O);
|
|
20370
20370
|
} : function(O) {
|
|
@@ -47627,7 +47627,22 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
47627
47627
|
itemType: A.string(),
|
|
47628
47628
|
// Service
|
|
47629
47629
|
itemSubType: A.string()
|
|
47630
|
-
}),
|
|
47630
|
+
}), SE = A.object({
|
|
47631
|
+
businessId: A.string(),
|
|
47632
|
+
netSuiteId: A.string(),
|
|
47633
|
+
// vendorId
|
|
47634
|
+
supplierId: A.string(),
|
|
47635
|
+
// supplier id it maps to
|
|
47636
|
+
name: A.string().nullish(),
|
|
47637
|
+
subsidiaryId: A.string(),
|
|
47638
|
+
externalId: A.string().nullish(),
|
|
47639
|
+
// Custom Fields
|
|
47640
|
+
custentity_financeapproval: A.boolean().nullish(),
|
|
47641
|
+
// last time this vendor replica was synced from NetSuite
|
|
47642
|
+
syncedAt: A.string().nullish(),
|
|
47643
|
+
// soft delete if the vendor cannot be found in NetSuite
|
|
47644
|
+
deletedAt: A.string().nullish()
|
|
47645
|
+
}).describe(Se.ZodMeta.mongo().repo("NetSuiteVendorReplicas").build()), ty = A.object({
|
|
47631
47646
|
id: A.string(),
|
|
47632
47647
|
// measurementId
|
|
47633
47648
|
netSuiteId: A.string()
|
|
@@ -47692,11 +47707,11 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
47692
47707
|
}), ly = A.enum([
|
|
47693
47708
|
"createItemReceipt",
|
|
47694
47709
|
"retrieveRecordInfo"
|
|
47695
|
-
]),
|
|
47710
|
+
]), vE = A.object({
|
|
47696
47711
|
recordType: A.string(),
|
|
47697
47712
|
recordId: A.string(),
|
|
47698
47713
|
fields: A.array(A.string())
|
|
47699
|
-
}),
|
|
47714
|
+
}), CE = A.object({
|
|
47700
47715
|
recordType: A.string(),
|
|
47701
47716
|
recordId: A.string(),
|
|
47702
47717
|
fields: A.record(A.string(), A.any())
|
|
@@ -47720,7 +47735,7 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
47720
47735
|
// standard 5-field cron expression, e.g. "15 4 * * *"
|
|
47721
47736
|
timezone: A.string()
|
|
47722
47737
|
// IANA timezone, e.g. "Asia/Kuala_Lumpur"
|
|
47723
|
-
}),
|
|
47738
|
+
}), bE = A.object({
|
|
47724
47739
|
_id: A.string().superRefine(Se.isObjectId),
|
|
47725
47740
|
// businessId
|
|
47726
47741
|
subsidiaryId: A.string().nullish(),
|
|
@@ -47738,14 +47753,14 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
47738
47753
|
restlet: A.array(uy).nullish(),
|
|
47739
47754
|
cron: cy.nullish()
|
|
47740
47755
|
// per-business daily sync schedule; default 15 4 * * * UTC when unset
|
|
47741
|
-
}).describe(Se.ZodMeta.mongo().repo("NetSuiteSettings").build()),
|
|
47756
|
+
}).describe(Se.ZodMeta.mongo().repo("NetSuiteSettings").build()), AE = A.enum([
|
|
47742
47757
|
"DELIVERY_ORDER_RECEIVED",
|
|
47743
47758
|
"BILL_COMPLETED"
|
|
47744
|
-
]),
|
|
47759
|
+
]), EE = A.object({
|
|
47745
47760
|
db_name: A.string(),
|
|
47746
47761
|
id: A.string(),
|
|
47747
47762
|
data: A.string()
|
|
47748
|
-
}),
|
|
47763
|
+
}), TE = A.object({
|
|
47749
47764
|
_id: A.string().superRefine(Se.isObjectId),
|
|
47750
47765
|
businessId: A.string(),
|
|
47751
47766
|
/// Notification event type that determines when notifications are triggered
|
|
@@ -47776,7 +47791,7 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
47776
47791
|
"transferOrder",
|
|
47777
47792
|
"goodsReceivedNote",
|
|
47778
47793
|
"deliveryOrder"
|
|
47779
|
-
]),
|
|
47794
|
+
]), ME = A.enum([
|
|
47780
47795
|
"header",
|
|
47781
47796
|
"contactInfo",
|
|
47782
47797
|
"itemsTable",
|
|
@@ -47796,23 +47811,23 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
47796
47811
|
blocks: A.array(my),
|
|
47797
47812
|
createdAt: A.string(),
|
|
47798
47813
|
updatedAt: A.string()
|
|
47799
|
-
}).describe(Se.ZodMeta.mongo().repo("PrintTemplates").build()),
|
|
47814
|
+
}).describe(Se.ZodMeta.mongo().repo("PrintTemplates").build()), wE = Vc.omit({
|
|
47800
47815
|
_id: !0
|
|
47801
|
-
}),
|
|
47816
|
+
}), OE = Vc.extend({
|
|
47802
47817
|
_id: A.string().superRefine(Se.isObjectId)
|
|
47803
47818
|
}), eu = Vg.extend({
|
|
47804
47819
|
_id: A.string(),
|
|
47805
47820
|
_rev: A.string()
|
|
47806
|
-
}),
|
|
47821
|
+
}), kE = Yo.extend({
|
|
47807
47822
|
_id: A.string(),
|
|
47808
47823
|
_rev: A.string()
|
|
47809
|
-
}),
|
|
47824
|
+
}), LE = Wl.extend({
|
|
47810
47825
|
_id: A.string(),
|
|
47811
47826
|
_rev: A.string()
|
|
47812
|
-
}),
|
|
47827
|
+
}), BE = Ho.extend({
|
|
47813
47828
|
_id: A.string(),
|
|
47814
47829
|
_rev: A.string()
|
|
47815
|
-
}),
|
|
47830
|
+
}), DE = cn.extend({
|
|
47816
47831
|
_id: A.string(),
|
|
47817
47832
|
_rev: A.string()
|
|
47818
47833
|
}), py = A.object({
|
|
@@ -47822,10 +47837,10 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
47822
47837
|
// `item` or `sku`
|
|
47823
47838
|
name: A.string()
|
|
47824
47839
|
// item name or product name
|
|
47825
|
-
}),
|
|
47840
|
+
}), RE = A.object({
|
|
47826
47841
|
stock: Yo,
|
|
47827
47842
|
adjustments: A.array(Go)
|
|
47828
|
-
}),
|
|
47843
|
+
}), VE = A.object({
|
|
47829
47844
|
hasUpdate: A.boolean(),
|
|
47830
47845
|
stock: Yo,
|
|
47831
47846
|
adjustment: Ho,
|
|
@@ -47835,13 +47850,13 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
47835
47850
|
}), $y = A.object({
|
|
47836
47851
|
id: A.string(),
|
|
47837
47852
|
count: A.number()
|
|
47838
|
-
}), VE = A.object({
|
|
47839
|
-
balances: A.array($y)
|
|
47840
47853
|
}), PE = A.object({
|
|
47854
|
+
balances: A.array($y)
|
|
47855
|
+
}), NE = A.object({
|
|
47841
47856
|
sku: A.array(Pt).optional(),
|
|
47842
47857
|
recipe: A.array(hr).optional(),
|
|
47843
47858
|
unit: A.array(er).optional()
|
|
47844
|
-
}),
|
|
47859
|
+
}), xE = A.discriminatedUnion("operation", [
|
|
47845
47860
|
A.object({
|
|
47846
47861
|
module: A.literal(Vt.enum.sku),
|
|
47847
47862
|
operation: A.literal(qt.enum.create),
|
|
@@ -47857,15 +47872,15 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
47857
47872
|
operation: A.literal(qt.enum.delete),
|
|
47858
47873
|
data: A.string()
|
|
47859
47874
|
})
|
|
47860
|
-
]),
|
|
47875
|
+
]), JE = A.object({
|
|
47861
47876
|
create: A.array(Pt),
|
|
47862
47877
|
update: A.array(Pt),
|
|
47863
47878
|
_rev: A.string()
|
|
47864
|
-
}),
|
|
47879
|
+
}), jE = A.object({
|
|
47865
47880
|
create: A.array(ho),
|
|
47866
47881
|
update: A.array(ho),
|
|
47867
47882
|
_rev: A.string()
|
|
47868
|
-
}),
|
|
47883
|
+
}), UE = A.discriminatedUnion("operation", [
|
|
47869
47884
|
A.object({
|
|
47870
47885
|
module: A.literal(Vt.enum.unit),
|
|
47871
47886
|
operation: A.literal(qt.enum.create),
|
|
@@ -47881,11 +47896,11 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
47881
47896
|
operation: A.literal(qt.enum.delete),
|
|
47882
47897
|
data: A.string()
|
|
47883
47898
|
})
|
|
47884
|
-
]),
|
|
47899
|
+
]), zE = A.object({
|
|
47885
47900
|
create: A.array(er),
|
|
47886
47901
|
update: A.array(er),
|
|
47887
47902
|
_rev: A.string()
|
|
47888
|
-
}),
|
|
47903
|
+
}), qE = A.discriminatedUnion("operation", [
|
|
47889
47904
|
A.object({
|
|
47890
47905
|
module: A.literal(Vt.enum.skuGroup),
|
|
47891
47906
|
operation: A.literal(qt.enum.create),
|
|
@@ -47901,7 +47916,7 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
47901
47916
|
operation: A.literal(qt.enum.delete),
|
|
47902
47917
|
data: A.string()
|
|
47903
47918
|
})
|
|
47904
|
-
]),
|
|
47919
|
+
]), GE = A.discriminatedUnion("operation", [
|
|
47905
47920
|
A.object({
|
|
47906
47921
|
module: A.literal(Vt.enum.recipe),
|
|
47907
47922
|
operation: A.literal(qt.enum.create),
|
|
@@ -47917,21 +47932,21 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
47917
47932
|
operation: A.literal(qt.enum.delete),
|
|
47918
47933
|
data: A.string()
|
|
47919
47934
|
})
|
|
47920
|
-
]),
|
|
47935
|
+
]), HE = A.object({
|
|
47921
47936
|
create: A.array(hr),
|
|
47922
47937
|
update: A.array(hr),
|
|
47923
47938
|
_rev: A.string()
|
|
47924
|
-
}),
|
|
47939
|
+
}), YE = (p) => {
|
|
47925
47940
|
const { module: g, operation: f } = p, v = Vt.safeParse(g), E = qt.safeParse(f);
|
|
47926
47941
|
if (v.success != !0)
|
|
47927
47942
|
throw v.error;
|
|
47928
47943
|
if (E.success != !0)
|
|
47929
47944
|
throw E.error;
|
|
47930
47945
|
const V = {
|
|
47931
|
-
[Vt.enum.sku]:
|
|
47932
|
-
[Vt.enum.unit]:
|
|
47933
|
-
[Vt.enum.recipe]:
|
|
47934
|
-
[Vt.enum.skuGroup]:
|
|
47946
|
+
[Vt.enum.sku]: xE,
|
|
47947
|
+
[Vt.enum.unit]: UE,
|
|
47948
|
+
[Vt.enum.recipe]: GE,
|
|
47949
|
+
[Vt.enum.skuGroup]: qE
|
|
47935
47950
|
}[v.data]._def.options.get(E.data);
|
|
47936
47951
|
if (V)
|
|
47937
47952
|
return A.object({ _id: A.string(), _rev: A.string() }).and(V);
|
|
@@ -47941,19 +47956,19 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
47941
47956
|
"ingredientNotFound",
|
|
47942
47957
|
"circularDependency",
|
|
47943
47958
|
"unknownError"
|
|
47944
|
-
]),
|
|
47959
|
+
]), WE = A.object({
|
|
47945
47960
|
bindingPaths: A.array(zr),
|
|
47946
47961
|
ingredient: Pt,
|
|
47947
47962
|
binding: zr,
|
|
47948
47963
|
success: A.boolean()
|
|
47949
|
-
}),
|
|
47964
|
+
}), QE = A.object({
|
|
47950
47965
|
bindingPaths: A.array(zr),
|
|
47951
47966
|
reason: gy,
|
|
47952
47967
|
error: A.boolean()
|
|
47953
|
-
}),
|
|
47968
|
+
}), KE = A.object({
|
|
47954
47969
|
amount: A.lazy(() => Je.FdoDecimal),
|
|
47955
47970
|
measurement: dn.nullish()
|
|
47956
|
-
}),
|
|
47971
|
+
}), ZE = A.object({
|
|
47957
47972
|
inventory: eu,
|
|
47958
47973
|
errors: A.array(
|
|
47959
47974
|
A.object({
|
|
@@ -47961,7 +47976,7 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
47961
47976
|
data: Pt
|
|
47962
47977
|
})
|
|
47963
47978
|
)
|
|
47964
|
-
}),
|
|
47979
|
+
}), XE = A.object({
|
|
47965
47980
|
inventory: eu,
|
|
47966
47981
|
errors: A.array(
|
|
47967
47982
|
A.object({
|
|
@@ -47969,7 +47984,7 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
47969
47984
|
data: er
|
|
47970
47985
|
})
|
|
47971
47986
|
)
|
|
47972
|
-
}),
|
|
47987
|
+
}), eT = A.object({
|
|
47973
47988
|
inventory: eu,
|
|
47974
47989
|
errors: A.array(
|
|
47975
47990
|
A.object({
|
|
@@ -47977,7 +47992,7 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
47977
47992
|
data: hr
|
|
47978
47993
|
})
|
|
47979
47994
|
)
|
|
47980
|
-
}),
|
|
47995
|
+
}), tT = os.extend({
|
|
47981
47996
|
preparationTime: is.nullish(),
|
|
47982
47997
|
/// Business-defined attributes that inventory binding rules are matched
|
|
47983
47998
|
/// against. Travels with the location so a client resolves rules for the
|
|
@@ -48009,7 +48024,7 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
48009
48024
|
defaultDays: A.number().int(),
|
|
48010
48025
|
// default for all locations
|
|
48011
48026
|
locationOverrides: A.array(hy).nullish()
|
|
48012
|
-
}),
|
|
48027
|
+
}), nT = A.object({
|
|
48013
48028
|
// businessId, assume workflow config is stored business-level
|
|
48014
48029
|
// note: if location-level configuration is required,
|
|
48015
48030
|
// we can add optional field locationId: `z.string().nullish()`
|
|
@@ -48053,7 +48068,7 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
48053
48068
|
kind: A.string(),
|
|
48054
48069
|
ref: A.string(),
|
|
48055
48070
|
audience: A.array(A.string()).default([])
|
|
48056
|
-
}),
|
|
48071
|
+
}), rT = A.object({
|
|
48057
48072
|
purchaseOrder: cn,
|
|
48058
48073
|
// cast to z.ZodSchema to stay under the TS declaration serialization limit
|
|
48059
48074
|
// (same workaround as pendingReturnOrders below)
|
|
@@ -48098,7 +48113,7 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
48098
48113
|
// the WORKFLOW_API_VERSION this config was authored against
|
|
48099
48114
|
workflowVersion: A.string(),
|
|
48100
48115
|
enabled: A.array(Ty)
|
|
48101
|
-
}),
|
|
48116
|
+
}), iT = A.object({
|
|
48102
48117
|
// businessId, assume workflow config is stored business-level
|
|
48103
48118
|
// note: if location-level configuration is required,
|
|
48104
48119
|
// we can add optional field locationId: `z.string().nullish()`
|
|
@@ -48119,33 +48134,33 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
48119
48134
|
// workflow v3 plugin engine: enabled plugins + settings (data-driven). Nullish
|
|
48120
48135
|
// for back-compat — absent means "defaults only" (today's behavior).
|
|
48121
48136
|
plugins: My.nullish()
|
|
48122
|
-
}).describe(Se.ZodMeta.mongo().repo("OrderWorkflowConfigs").build()),
|
|
48137
|
+
}).describe(Se.ZodMeta.mongo().repo("OrderWorkflowConfigs").build()), oT = A.object({
|
|
48123
48138
|
from: Fo
|
|
48124
|
-
}),
|
|
48139
|
+
}), aT = A.object({
|
|
48125
48140
|
/**
|
|
48126
48141
|
* @deprecated use `deliveryOrders` instead
|
|
48127
48142
|
*/
|
|
48128
48143
|
delivery: tr.nullish(),
|
|
48129
48144
|
deliveryOrders: A.array(tr).nullish()
|
|
48130
|
-
}),
|
|
48145
|
+
}), sT = A.object({
|
|
48131
48146
|
/**
|
|
48132
48147
|
* required if config `warehouse_to_restaurant_onReturn` is 'returnFromPayload'.
|
|
48133
48148
|
*
|
|
48134
48149
|
* otherwise if 'returnFromUnreceivedAutoApprove', list of po items is generated from unreceived items
|
|
48135
48150
|
*/
|
|
48136
48151
|
items: A.array(Fr).nullish()
|
|
48137
|
-
}),
|
|
48152
|
+
}), lT = A.object({
|
|
48138
48153
|
/// apply all auto-calculated total cost to items
|
|
48139
48154
|
items: A.array(Fr).nullish()
|
|
48140
|
-
}), lT = A.object({
|
|
48141
|
-
rejectReason: A.string().nullish()
|
|
48142
48155
|
}), uT = A.object({
|
|
48156
|
+
rejectReason: A.string().nullish()
|
|
48157
|
+
}), dT = A.object({
|
|
48143
48158
|
// Auto create fulfillment when approving request
|
|
48144
48159
|
fulfillment: Cc.nullish()
|
|
48145
|
-
}),
|
|
48160
|
+
}), cT = A.object({
|
|
48146
48161
|
/// To validate the POS under the business able to support REJECT status
|
|
48147
48162
|
posVersions: A.array(A.string()).nullish()
|
|
48148
|
-
}),
|
|
48163
|
+
}), _T = A.object({
|
|
48149
48164
|
createdBy: A.lazy(() => Je.FdoEmployeeRef),
|
|
48150
48165
|
deliveryOrderNumber: A.string(),
|
|
48151
48166
|
deliveryRemark: A.string().nullish(),
|
|
@@ -48154,12 +48169,12 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
48154
48169
|
// used to deduct stock from source location based on fulfillment
|
|
48155
48170
|
// if [fulfillmentId] is provided, it will ignore [items]
|
|
48156
48171
|
fulfillmentId: A.string().nullish()
|
|
48157
|
-
}),
|
|
48172
|
+
}), mT = A.object({
|
|
48158
48173
|
/// To validate the POS under the business able to support CLOSE status
|
|
48159
48174
|
posVersions: A.array(A.string()).nullish()
|
|
48160
|
-
}), mT = A.object({
|
|
48161
|
-
deliveryOrders: A.array(tr)
|
|
48162
48175
|
}), pT = A.object({
|
|
48176
|
+
deliveryOrders: A.array(tr)
|
|
48177
|
+
}), $T = A.object({
|
|
48163
48178
|
days: A.number()
|
|
48164
48179
|
}), wy = A.object({
|
|
48165
48180
|
ableToAutoReceive: A.boolean(),
|
|
@@ -48186,7 +48201,7 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
48186
48201
|
* the delivery confirmation (GRN) for this specific fulfillment.
|
|
48187
48202
|
*/
|
|
48188
48203
|
fulfillmentAdjustmentDate: A.string()
|
|
48189
|
-
}),
|
|
48204
|
+
}), gT = A.object({
|
|
48190
48205
|
ableToAutoReceive: A.boolean(),
|
|
48191
48206
|
isOldEnough: A.boolean(),
|
|
48192
48207
|
/**
|
|
@@ -48216,7 +48231,7 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
48216
48231
|
* Empty array for regular purchase orders.
|
|
48217
48232
|
*/
|
|
48218
48233
|
fulfillments: A.array(wy)
|
|
48219
|
-
}),
|
|
48234
|
+
}), fT = A.object({
|
|
48220
48235
|
_id: A.string().superRefine(Se.isObjectId),
|
|
48221
48236
|
/// Scope of the trail: restaurant_XXXXX, warehouse_XXXXX, or business_XXXXX
|
|
48222
48237
|
scope: A.string(),
|
|
@@ -48247,11 +48262,11 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
48247
48262
|
recalculateBySnapshot: A.boolean().nullish().default(!1),
|
|
48248
48263
|
meta: A.record(A.any()).nullish(),
|
|
48249
48264
|
sideEffect: Oy.nullish()
|
|
48250
|
-
}),
|
|
48265
|
+
}), yT = Pf.omit({
|
|
48251
48266
|
snapshots: !0,
|
|
48252
48267
|
adjustments: !0,
|
|
48253
48268
|
closings: !0
|
|
48254
|
-
}),
|
|
48269
|
+
}), hT = A.enum([
|
|
48255
48270
|
"init_closing_draft_stock_snapshot_progress",
|
|
48256
48271
|
"refresh_balance_progress"
|
|
48257
48272
|
]), Ly = A.object({
|
|
@@ -48284,7 +48299,7 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
48284
48299
|
message: A.string().nullish(),
|
|
48285
48300
|
startedAt: A.string(),
|
|
48286
48301
|
completedAt: A.string().nullish()
|
|
48287
|
-
}),
|
|
48302
|
+
}), FT = A.object(
|
|
48288
48303
|
{
|
|
48289
48304
|
requestId: A.string(),
|
|
48290
48305
|
dbName: A.string(),
|
|
@@ -48292,7 +48307,7 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
48292
48307
|
closingDraftRevision: A.string(),
|
|
48293
48308
|
value: By.partial()
|
|
48294
48309
|
}
|
|
48295
|
-
),
|
|
48310
|
+
), IT = A.object({
|
|
48296
48311
|
requestId: A.string(),
|
|
48297
48312
|
locationId: A.string(),
|
|
48298
48313
|
openingId: A.string(),
|
|
@@ -48305,7 +48320,7 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
48305
48320
|
startedAt: A.string(),
|
|
48306
48321
|
completedAt: A.string().nullish(),
|
|
48307
48322
|
error: A.string().nullish()
|
|
48308
|
-
}),
|
|
48323
|
+
}), ST = A.object({
|
|
48309
48324
|
requestId: A.string(),
|
|
48310
48325
|
dbName: A.string(),
|
|
48311
48326
|
value: Dy.partial()
|
|
@@ -48324,7 +48339,7 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
48324
48339
|
action: A.literal(tu.enum.initStockSnapshot),
|
|
48325
48340
|
dbName: A.string(),
|
|
48326
48341
|
date: A.string()
|
|
48327
|
-
}),
|
|
48342
|
+
}), vT = A.discriminatedUnion("action", [
|
|
48328
48343
|
Ry,
|
|
48329
48344
|
Vy,
|
|
48330
48345
|
Py
|
|
@@ -48335,7 +48350,7 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
48335
48350
|
message: A.string().nullish(),
|
|
48336
48351
|
startedAt: A.string(),
|
|
48337
48352
|
completedAt: A.string().nullish()
|
|
48338
|
-
}),
|
|
48353
|
+
}), CT = A.object({
|
|
48339
48354
|
requestId: A.string(),
|
|
48340
48355
|
dbName: A.string(),
|
|
48341
48356
|
value: Ny.partial()
|
|
@@ -48355,7 +48370,7 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
48355
48370
|
dbName: A.string(),
|
|
48356
48371
|
filename: A.string(),
|
|
48357
48372
|
rev: A.string().optional()
|
|
48358
|
-
}),
|
|
48373
|
+
}), bT = A.object({
|
|
48359
48374
|
jobId: A.string(),
|
|
48360
48375
|
type: A.enum(["bulkEmail", "bulkDownload"]),
|
|
48361
48376
|
nestjsBaseUrl: A.string(),
|
|
@@ -48377,7 +48392,7 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
48377
48392
|
/// its stored job value — assigned once at dispatch, carried unchanged
|
|
48378
48393
|
/// through every self-enqueued chunk in this job's chain.
|
|
48379
48394
|
requestId: A.string()
|
|
48380
|
-
}), Uy = A.enum(["netsuite"]),
|
|
48395
|
+
}), Uy = A.enum(["netsuite"]), AT = A.object({
|
|
48381
48396
|
_id: A.string().optional(),
|
|
48382
48397
|
businessId: A.string().min(1, { message: "String cannot be empty" }),
|
|
48383
48398
|
country: A.string().min(1, { message: "String cannot be empty" }),
|
|
@@ -48394,10 +48409,10 @@ var bg = A.enum(["purchaseOrder"]), Y1 = A.object({
|
|
|
48394
48409
|
}).describe(
|
|
48395
48410
|
Se.ZodMeta.mongo().repo("InventoryIntegrationSyncRequestLogs").build()
|
|
48396
48411
|
);
|
|
48397
|
-
const
|
|
48412
|
+
const ET = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
48398
48413
|
__proto__: null,
|
|
48399
48414
|
DeductSkuResult: kA,
|
|
48400
|
-
FDJgenerateAutoReceiveDeliveriesResult:
|
|
48415
|
+
FDJgenerateAutoReceiveDeliveriesResult: pT,
|
|
48401
48416
|
F_ADJUSTMENT_SPECIAL_REASONS: KA,
|
|
48402
48417
|
F_ADJUSTMENT_TEMPLATE_ITEM_TYPE: kc,
|
|
48403
48418
|
F_BASIC_OPERATION_TYPE: qt,
|
|
@@ -48408,13 +48423,13 @@ const AT = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
48408
48423
|
F_INVENTORY_BINDING_TYPE: Ag,
|
|
48409
48424
|
F_INVENTORY_DURATION_UNIT: Eg,
|
|
48410
48425
|
F_INVENTORY_ENTITY_ID_PREFIX: jt,
|
|
48411
|
-
F_INVENTORY_EVENT_TYPE:
|
|
48426
|
+
F_INVENTORY_EVENT_TYPE: AE,
|
|
48412
48427
|
F_INVENTORY_JOB_TYPE: Z1,
|
|
48413
48428
|
F_INVENTORY_LOCATION_TYPE: Pr,
|
|
48414
48429
|
F_INVENTORY_MODULE_V1_KEY: Vt,
|
|
48415
48430
|
F_INVENTORY_QUEUE_TYPE: K1,
|
|
48416
48431
|
F_INVENTORY_VALUATION_METHODS: Tg,
|
|
48417
|
-
F_LAMBDA_PROGRESS_EVENT:
|
|
48432
|
+
F_LAMBDA_PROGRESS_EVENT: hT,
|
|
48418
48433
|
F_LambdaInitClosingDraftStockSnapshot_RedisValue: By,
|
|
48419
48434
|
F_LambdaRecalculation_RedisValue: Ny,
|
|
48420
48435
|
F_LambdaRefreshBalance_RedisValue: Dy,
|
|
@@ -48429,7 +48444,7 @@ const AT = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
48429
48444
|
F_PURCHASE_ORDER_ACTION: as,
|
|
48430
48445
|
F_PURCHASE_ORDER_CREATION_SOURCE: sA,
|
|
48431
48446
|
F_PURCHASE_ORDER_JOB_TYPE: aA,
|
|
48432
|
-
F_PURCHASE_ORDER_PRINT_BLOCK_TYPE:
|
|
48447
|
+
F_PURCHASE_ORDER_PRINT_BLOCK_TYPE: ME,
|
|
48433
48448
|
F_PURCHASE_ORDER_STATUS: Ng,
|
|
48434
48449
|
F_PURCHASE_ORDER_TRANSACTION_TYPE: lA,
|
|
48435
48450
|
F_PURCHASE_ORDER_VERSION: xg,
|
|
@@ -48489,11 +48504,11 @@ const AT = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
48489
48504
|
FdoInventoryBindingAlternative: kg,
|
|
48490
48505
|
FdoInventoryCostRecalculationRequest: iE,
|
|
48491
48506
|
FdoInventoryDuration: is,
|
|
48492
|
-
FdoInventoryIntegrationSyncRequestLog:
|
|
48507
|
+
FdoInventoryIntegrationSyncRequestLog: AT,
|
|
48493
48508
|
FdoInventoryLocation: os,
|
|
48494
48509
|
FdoInventoryLocationDoc: wg,
|
|
48495
48510
|
FdoInventoryLocationInventoryInfo: Og,
|
|
48496
|
-
FdoInventoryNotificationConfig:
|
|
48511
|
+
FdoInventoryNotificationConfig: TE,
|
|
48497
48512
|
FdoInventoryRecalculationRequest: rE,
|
|
48498
48513
|
FdoInventoryRecipe: hr,
|
|
48499
48514
|
FdoInventoryRecipeV2: tA,
|
|
@@ -48503,7 +48518,7 @@ const AT = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
48503
48518
|
FdoInventorySkuGroup: ho,
|
|
48504
48519
|
FdoInventorySurcharge: hc,
|
|
48505
48520
|
FdoInventorySurchargeRuleForPurchaseOrder: Y1,
|
|
48506
|
-
FdoInventorySystemTrail:
|
|
48521
|
+
FdoInventorySystemTrail: fT,
|
|
48507
48522
|
FdoInventoryUnit: er,
|
|
48508
48523
|
FdoNetSuiteChildItem: iy,
|
|
48509
48524
|
FdoNetSuiteChildItemReplica: FE,
|
|
@@ -48523,13 +48538,14 @@ const AT = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
48523
48538
|
FdoNetSuiteParentServiceItemReplica: IE,
|
|
48524
48539
|
FdoNetSuiteRestletConfig: uy,
|
|
48525
48540
|
FdoNetSuiteRestletConfigType: ly,
|
|
48526
|
-
FdoNetSuiteSetting:
|
|
48541
|
+
FdoNetSuiteSetting: bE,
|
|
48527
48542
|
FdoNetSuiteSubsidiary: sy,
|
|
48528
48543
|
FdoNetSuiteUnitOfMeasure: ty,
|
|
48529
48544
|
FdoNetSuiteUnitType: ny,
|
|
48530
48545
|
FdoNetSuiteVendor: dy,
|
|
48546
|
+
FdoNetSuiteVendorReplica: SE,
|
|
48531
48547
|
FdoOrderShipmentConfig: Ey,
|
|
48532
|
-
FdoOrderWorkflowConfig:
|
|
48548
|
+
FdoOrderWorkflowConfig: iT,
|
|
48533
48549
|
FdoPOActionChangelog: Xg,
|
|
48534
48550
|
FdoPriceAdjustment: vc,
|
|
48535
48551
|
FdoPrintTemplate: Vc,
|
|
@@ -48544,7 +48560,7 @@ const AT = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
48544
48560
|
FdoPurchaseOrder: cn,
|
|
48545
48561
|
FdoPurchaseOrderAutoReceiveConfig: Fy,
|
|
48546
48562
|
FdoPurchaseOrderAutoReceiveLocationConfig: hy,
|
|
48547
|
-
FdoPurchaseOrderCronConfig:
|
|
48563
|
+
FdoPurchaseOrderCronConfig: nT,
|
|
48548
48564
|
FdoPurchaseOrderItem: Fr,
|
|
48549
48565
|
FdoPurchaseOrderItemV3: Id,
|
|
48550
48566
|
FdoPurchaseOrderNetSuiteSetting: Kl,
|
|
@@ -48599,25 +48615,25 @@ const AT = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
48599
48615
|
FdoWorkflowPluginConfig: My,
|
|
48600
48616
|
FdoWorkflowPluginEntry: Ty,
|
|
48601
48617
|
FdtoAdjustSkuBalance: TA,
|
|
48602
|
-
FdtoAmountAndMeasurement:
|
|
48603
|
-
FdtoApproveRequestPayload:
|
|
48604
|
-
FdtoAutoReceiveEligibilityResult:
|
|
48618
|
+
FdtoAmountAndMeasurement: KE,
|
|
48619
|
+
FdtoApproveRequestPayload: dT,
|
|
48620
|
+
FdtoAutoReceiveEligibilityResult: gT,
|
|
48605
48621
|
FdtoAutoReceiveFulfillmentEligibility: wy,
|
|
48606
|
-
FdtoAutoReceiveThresholdResult:
|
|
48622
|
+
FdtoAutoReceiveThresholdResult: $T,
|
|
48607
48623
|
FdtoBindingErrorType: gy,
|
|
48608
48624
|
FdtoBulkPoDownloadItem: jy,
|
|
48609
48625
|
FdtoBulkPoEmailItem: Jy,
|
|
48610
48626
|
FdtoBulkPoEmailPoItem: xy,
|
|
48611
|
-
FdtoBulkPoLambdaSqsPayload:
|
|
48612
|
-
FdtoBulkRecipeRequest:
|
|
48613
|
-
FdtoBulkRecipeResponse:
|
|
48614
|
-
FdtoBulkSkuGroupRequest:
|
|
48615
|
-
FdtoBulkSkuRequest:
|
|
48616
|
-
FdtoBulkSkuResponse:
|
|
48617
|
-
FdtoBulkUnitResponse:
|
|
48618
|
-
FdtoBulkUnitsRequest:
|
|
48627
|
+
FdtoBulkPoLambdaSqsPayload: bT,
|
|
48628
|
+
FdtoBulkRecipeRequest: HE,
|
|
48629
|
+
FdtoBulkRecipeResponse: eT,
|
|
48630
|
+
FdtoBulkSkuGroupRequest: jE,
|
|
48631
|
+
FdtoBulkSkuRequest: JE,
|
|
48632
|
+
FdtoBulkSkuResponse: ZE,
|
|
48633
|
+
FdtoBulkUnitResponse: XE,
|
|
48634
|
+
FdtoBulkUnitsRequest: zE,
|
|
48619
48635
|
FdtoChangeLog: rA,
|
|
48620
|
-
FdtoCloseRequestPayload:
|
|
48636
|
+
FdtoCloseRequestPayload: mT,
|
|
48621
48637
|
FdtoClosingDraftDetailAdjustment: kf,
|
|
48622
48638
|
FdtoClosingDraftDetailAdjustmentSku: Of,
|
|
48623
48639
|
FdtoClosingDraftDetailGroup: wf,
|
|
@@ -48639,9 +48655,9 @@ const AT = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
48639
48655
|
FdtoClosingTemplateList: UA,
|
|
48640
48656
|
FdtoClosingTemplateListItem: Af,
|
|
48641
48657
|
FdtoClosingTemplateListResponse: zA,
|
|
48642
|
-
FdtoConfirmDraftPayload:
|
|
48658
|
+
FdtoConfirmDraftPayload: lT,
|
|
48643
48659
|
FdtoConvertSku: MA,
|
|
48644
|
-
FdtoCreatePrintTemplate:
|
|
48660
|
+
FdtoCreatePrintTemplate: wE,
|
|
48645
48661
|
FdtoCreatePurchaseOrder: $A,
|
|
48646
48662
|
FdtoCreateSurcharge: W1,
|
|
48647
48663
|
FdtoDeliveryOrderCreateRequest: AA,
|
|
@@ -48650,21 +48666,21 @@ const AT = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
48650
48666
|
FdtoGetSkuAdjustmentsFromBillsResult: oE,
|
|
48651
48667
|
FdtoInitClosingDraftStockSnapshotSqsPayload: Vy,
|
|
48652
48668
|
FdtoInitStockSnapshotSqsPayload: Py,
|
|
48653
|
-
FdtoInventoryLocationInfo:
|
|
48669
|
+
FdtoInventoryLocationInfo: tT,
|
|
48654
48670
|
FdtoLambdaAction: tu,
|
|
48655
48671
|
FdtoLambdaInitClosingDraftStockSnapshotPayload: Ly,
|
|
48656
|
-
FdtoLambdaInitClosingDraftStockSnapshotProgressResponse:
|
|
48657
|
-
FdtoLambdaRecalculationProgressResponse:
|
|
48658
|
-
FdtoLambdaRefreshBalancePayload:
|
|
48659
|
-
FdtoLambdaRefreshBalanceProgressResponse:
|
|
48660
|
-
FdtoLambdaSqsPayload:
|
|
48661
|
-
FdtoMessageData:
|
|
48662
|
-
FdtoMigrateMenuToInventoryRequest:
|
|
48663
|
-
FdtoNetSuiteRestletRetrieveRecordInfo:
|
|
48664
|
-
FdtoNetSuiteRestletRetrieveRecordInfoResponse:
|
|
48672
|
+
FdtoLambdaInitClosingDraftStockSnapshotProgressResponse: FT,
|
|
48673
|
+
FdtoLambdaRecalculationProgressResponse: CT,
|
|
48674
|
+
FdtoLambdaRefreshBalancePayload: IT,
|
|
48675
|
+
FdtoLambdaRefreshBalanceProgressResponse: ST,
|
|
48676
|
+
FdtoLambdaSqsPayload: vT,
|
|
48677
|
+
FdtoMessageData: EE,
|
|
48678
|
+
FdtoMigrateMenuToInventoryRequest: NE,
|
|
48679
|
+
FdtoNetSuiteRestletRetrieveRecordInfo: vE,
|
|
48680
|
+
FdtoNetSuiteRestletRetrieveRecordInfoResponse: CE,
|
|
48665
48681
|
FdtoOutOfStockError: py,
|
|
48666
48682
|
FdtoPendingPurchaseOrder: Sy,
|
|
48667
|
-
FdtoProcessTransferPayload:
|
|
48683
|
+
FdtoProcessTransferPayload: _T,
|
|
48668
48684
|
FdtoPurchaseOrderListItem: _A,
|
|
48669
48685
|
FdtoPurchaseOrderOperateRequest: hA,
|
|
48670
48686
|
FdtoPurchaseOrderOperateV2Request: FA,
|
|
@@ -48673,36 +48689,36 @@ const AT = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
48673
48689
|
FdtoPurchaseOrderRequest: pA,
|
|
48674
48690
|
FdtoPurchaseOrderRequestTarget: cA,
|
|
48675
48691
|
FdtoRecalculationLambdaPayload: ky,
|
|
48676
|
-
FdtoRecalculationLambdaResponse:
|
|
48692
|
+
FdtoRecalculationLambdaResponse: yT,
|
|
48677
48693
|
FdtoRecalculationLambdaSideEffect: Oy,
|
|
48678
48694
|
FdtoRecalculationLambdaSqsPayload: Ry,
|
|
48679
48695
|
FdtoRecalculationResult: Pf,
|
|
48680
|
-
FdtoReceiveStockPayload:
|
|
48681
|
-
FdtoRejectDraftPayload:
|
|
48682
|
-
FdtoRejectRequestPayload:
|
|
48683
|
-
FdtoResolvedIngredientBindingError:
|
|
48684
|
-
FdtoResolvedIngredientBindingSuccess:
|
|
48685
|
-
FdtoReturnStockPayload:
|
|
48696
|
+
FdtoReceiveStockPayload: aT,
|
|
48697
|
+
FdtoRejectDraftPayload: uT,
|
|
48698
|
+
FdtoRejectRequestPayload: cT,
|
|
48699
|
+
FdtoResolvedIngredientBindingError: QE,
|
|
48700
|
+
FdtoResolvedIngredientBindingSuccess: WE,
|
|
48701
|
+
FdtoReturnStockPayload: sT,
|
|
48686
48702
|
FdtoRevertAdjustment: OA,
|
|
48687
48703
|
FdtoRevertWastageAdjustment: cf,
|
|
48688
48704
|
FdtoSkuConversionBalance: $y,
|
|
48689
|
-
FdtoSkuConversionBalancesRes:
|
|
48690
|
-
FdtoSkuConvertRes:
|
|
48705
|
+
FdtoSkuConversionBalancesRes: PE,
|
|
48706
|
+
FdtoSkuConvertRes: RE,
|
|
48691
48707
|
FdtoSkuInfo: wA,
|
|
48692
48708
|
FdtoSkuRequire: uf,
|
|
48693
48709
|
FdtoStockAdjustmentPayload: Iy,
|
|
48694
48710
|
FdtoStockRecalculateAbility: QA,
|
|
48695
|
-
FdtoTransferSubmitRequestPayload:
|
|
48711
|
+
FdtoTransferSubmitRequestPayload: oT,
|
|
48696
48712
|
FdtoUomField: nA,
|
|
48697
|
-
FdtoUpdatePrintTemplate:
|
|
48713
|
+
FdtoUpdatePrintTemplate: OE,
|
|
48698
48714
|
FdtoUpdatePurchaseOrder: gA,
|
|
48699
|
-
FdtoUpdateStockBalanceRes:
|
|
48715
|
+
FdtoUpdateStockBalanceRes: VE,
|
|
48700
48716
|
FdtoUpdateSurcharge: Q1,
|
|
48701
|
-
FdtoWorkflowRunnerResult:
|
|
48717
|
+
FdtoWorkflowRunnerResult: rT,
|
|
48702
48718
|
FdtoXilnexTransferNote: SA,
|
|
48703
48719
|
INTEGRATION_PROVIDER: Uy,
|
|
48704
48720
|
INVENTORY_RECIPE_VERSION: Dg,
|
|
48705
|
-
InventoryAdjustmentDoc:
|
|
48721
|
+
InventoryAdjustmentDoc: BE,
|
|
48706
48722
|
InventoryDoc: eu,
|
|
48707
48723
|
InventoryTransferCreateDto: fE,
|
|
48708
48724
|
NETSUITE_CRON_JOB_TYPE: gE,
|
|
@@ -48710,29 +48726,29 @@ const AT = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
48710
48726
|
NETSUITE_JOB_TYPE: $E,
|
|
48711
48727
|
NETSUITE_QUEUE_TYPE: pE,
|
|
48712
48728
|
OrderCommand: oA,
|
|
48713
|
-
PurchaseOrderDoc:
|
|
48729
|
+
PurchaseOrderDoc: DE,
|
|
48714
48730
|
PurchaseOrderItemReceiveInfo: vA,
|
|
48715
48731
|
PurchaseOrderItemReceiveStatus: CA,
|
|
48716
48732
|
PurchaseOrderReceiveStatus: bA,
|
|
48717
48733
|
SkuConversion: lf,
|
|
48718
48734
|
SkuConversionOverride: sf,
|
|
48719
|
-
StockBalanceDoc:
|
|
48720
|
-
SupplierDoc:
|
|
48721
|
-
getInventoryUpdateSchema:
|
|
48735
|
+
StockBalanceDoc: kE,
|
|
48736
|
+
SupplierDoc: LE,
|
|
48737
|
+
getInventoryUpdateSchema: YE,
|
|
48722
48738
|
isISODateStringIfNotNullish: An
|
|
48723
48739
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
48724
|
-
function
|
|
48740
|
+
function TT(p, g) {
|
|
48725
48741
|
if (!Array.isArray(p) || g <= 0) return [];
|
|
48726
48742
|
const f = [];
|
|
48727
48743
|
for (let v = 0; v < p.length; v += g)
|
|
48728
48744
|
f.push(p.slice(v, v + g));
|
|
48729
48745
|
return f;
|
|
48730
48746
|
}
|
|
48731
|
-
const
|
|
48747
|
+
const IM = {
|
|
48732
48748
|
restaurant: Pr.enum.restaurant,
|
|
48733
48749
|
warehouse: Pr.enum.warehouse
|
|
48734
48750
|
};
|
|
48735
|
-
function
|
|
48751
|
+
function MT() {
|
|
48736
48752
|
return {
|
|
48737
48753
|
_currentLocation: null,
|
|
48738
48754
|
_locations: null,
|
|
@@ -48745,7 +48761,7 @@ function Nu() {
|
|
|
48745
48761
|
const p = an(), g = p.currentCountry.value ?? "", f = ((v = p.currentBusiness.value) == null ? void 0 : v._id) ?? "";
|
|
48746
48762
|
return `feedme_inventory_location.${g}.${f}`;
|
|
48747
48763
|
}
|
|
48748
|
-
const kn = vi(
|
|
48764
|
+
const kn = vi(MT()), H_ = vi(!1), Cd = {};
|
|
48749
48765
|
im(
|
|
48750
48766
|
() => kn.value._currentLocation,
|
|
48751
48767
|
(p) => {
|
|
@@ -48753,7 +48769,7 @@ im(
|
|
|
48753
48769
|
Promise.allSettled(g).catch(console.error);
|
|
48754
48770
|
}
|
|
48755
48771
|
);
|
|
48756
|
-
const
|
|
48772
|
+
const wT = sn(() => (kn.value._locations ?? []).reduce(
|
|
48757
48773
|
(g, f) => (g[f.doc._id] = f, g),
|
|
48758
48774
|
{}
|
|
48759
48775
|
));
|
|
@@ -48792,7 +48808,7 @@ function zy() {
|
|
|
48792
48808
|
return kn.value;
|
|
48793
48809
|
},
|
|
48794
48810
|
get locationById() {
|
|
48795
|
-
return
|
|
48811
|
+
return wT.value;
|
|
48796
48812
|
},
|
|
48797
48813
|
get currentLocation() {
|
|
48798
48814
|
if (!this.state._currentLocation)
|
|
@@ -48858,7 +48874,7 @@ function zy() {
|
|
|
48858
48874
|
async readLocationsWithInventory() {
|
|
48859
48875
|
const g = bd();
|
|
48860
48876
|
let f = [];
|
|
48861
|
-
const E =
|
|
48877
|
+
const E = TT(this._locations ?? [], 50);
|
|
48862
48878
|
for (const O of E) {
|
|
48863
48879
|
const V = O.map((U) => `${U.type}_${U.doc._id}`), N = await g.readInventoryLocationsWithInventory(V);
|
|
48864
48880
|
f = f.concat(N);
|
|
@@ -48890,14 +48906,14 @@ function zy() {
|
|
|
48890
48906
|
}
|
|
48891
48907
|
};
|
|
48892
48908
|
}
|
|
48893
|
-
function
|
|
48909
|
+
function OT(p) {
|
|
48894
48910
|
try {
|
|
48895
48911
|
return new URL(p), !0;
|
|
48896
48912
|
} catch {
|
|
48897
48913
|
return !1;
|
|
48898
48914
|
}
|
|
48899
48915
|
}
|
|
48900
|
-
function
|
|
48916
|
+
function kT(p) {
|
|
48901
48917
|
const g = p.startsWith("/") ? p : `/${p}`;
|
|
48902
48918
|
try {
|
|
48903
48919
|
const f = new URL(g, "https://dummy");
|
|
@@ -48906,22 +48922,22 @@ function OT(p) {
|
|
|
48906
48922
|
return !1;
|
|
48907
48923
|
}
|
|
48908
48924
|
}
|
|
48909
|
-
function
|
|
48925
|
+
function LT(p) {
|
|
48910
48926
|
const { protocol: g, hostname: f, pathname: v, port: E } = new URL(p);
|
|
48911
48927
|
return { hostname: `${g}//${f}${E ? `:${E}` : ""}`, pathname: v };
|
|
48912
48928
|
}
|
|
48913
48929
|
function _i(p, g) {
|
|
48914
|
-
if (
|
|
48930
|
+
if (OT(p))
|
|
48915
48931
|
throw new Error(
|
|
48916
48932
|
`cannot append path using ${p} to url ${g} because the path is already a valid url`
|
|
48917
48933
|
);
|
|
48918
|
-
if (!
|
|
48934
|
+
if (!kT(p))
|
|
48919
48935
|
throw new Error(`cannot append to ${g} because ${p} is not a valid pathname`);
|
|
48920
|
-
const { hostname: f, pathname: v } =
|
|
48936
|
+
const { hostname: f, pathname: v } = LT(g), E = p.startsWith("/") ? p : `/${p}`, O = v.endsWith("/") ? v.slice(0, v.length - 1) : v;
|
|
48921
48937
|
return new URL(`${O}${E}`, f).toString();
|
|
48922
48938
|
}
|
|
48923
48939
|
var Fs = { development: { appEndpoint: {}, appApi: { fmAuthClientId: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4" } }, production: { appEndpoint: {}, appApi: { fmAuthClientId: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4" } } };
|
|
48924
|
-
function
|
|
48940
|
+
function BT() {
|
|
48925
48941
|
return {
|
|
48926
48942
|
get isDev() {
|
|
48927
48943
|
return an().namespace.value === "dev";
|
|
@@ -48934,8 +48950,8 @@ function LT() {
|
|
|
48934
48950
|
}
|
|
48935
48951
|
};
|
|
48936
48952
|
}
|
|
48937
|
-
function
|
|
48938
|
-
const { appEndpoint: g, isDev: f } =
|
|
48953
|
+
function DT(p) {
|
|
48954
|
+
const { appEndpoint: g, isDev: f } = BT(), v = p !== Je.F_COUNTRY.enum.MY ? `.${p.toLowerCase()}` : "", E = `${f ? "-dev" : ""}${v}.feedmeapi.com`, O = g.mainBackend ?? `https://portal-v2${E}`;
|
|
48939
48955
|
let V = `https://public-query-engine.feedmeapi${f ? "dev" : ""}.com/inventory/`;
|
|
48940
48956
|
return v !== "" && (V = `https://public-query-engine${v}.feedmeapi${f ? "dev" : ""}.com/inventory/`), {
|
|
48941
48957
|
portalBackendUrl: O,
|
|
@@ -48948,7 +48964,7 @@ function BT(p) {
|
|
|
48948
48964
|
dataBackendUrl: V
|
|
48949
48965
|
};
|
|
48950
48966
|
}
|
|
48951
|
-
function
|
|
48967
|
+
function RT(p) {
|
|
48952
48968
|
try {
|
|
48953
48969
|
const { code: g, name: f, currency: v } = r$.Country.getCountry(p);
|
|
48954
48970
|
return { code: g, name: f, currency: v.code };
|
|
@@ -48956,10 +48972,10 @@ function DT(p) {
|
|
|
48956
48972
|
return null;
|
|
48957
48973
|
}
|
|
48958
48974
|
}
|
|
48959
|
-
const
|
|
48975
|
+
const VT = new RegExp("([\\p{Ll}\\d])(\\p{Lu})", "gu"), PT = new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])", "gu"), NT = new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d", "u"), xT = /[^\p{L}\d]+/giu, Y_ = "$1\0$2", W_ = "";
|
|
48960
48976
|
function qy(p) {
|
|
48961
48977
|
let g = p.trim();
|
|
48962
|
-
g = g.replace(
|
|
48978
|
+
g = g.replace(VT, Y_).replace(PT, Y_), g = g.replace(xT, "\0");
|
|
48963
48979
|
let f = 0, v = g.length;
|
|
48964
48980
|
for (; g.charAt(f) === "\0"; )
|
|
48965
48981
|
f++;
|
|
@@ -48969,10 +48985,10 @@ function qy(p) {
|
|
|
48969
48985
|
v--;
|
|
48970
48986
|
return g.slice(f, v).split(/\0/g);
|
|
48971
48987
|
}
|
|
48972
|
-
function
|
|
48988
|
+
function JT(p) {
|
|
48973
48989
|
const g = qy(p);
|
|
48974
48990
|
for (let f = 0; f < g.length; f++) {
|
|
48975
|
-
const v = g[f], E =
|
|
48991
|
+
const v = g[f], E = NT.exec(v);
|
|
48976
48992
|
if (E) {
|
|
48977
48993
|
const O = E.index + (E[1] ?? E[2]).length;
|
|
48978
48994
|
g.splice(f, 1, v.slice(0, O), v.slice(O));
|
|
@@ -48980,18 +48996,18 @@ function xT(p) {
|
|
|
48980
48996
|
}
|
|
48981
48997
|
return g;
|
|
48982
48998
|
}
|
|
48983
|
-
function
|
|
48999
|
+
function jT(p, g) {
|
|
48984
49000
|
const [f, v, E] = Nc(p, g);
|
|
48985
49001
|
return f + v.map(Pc(g == null ? void 0 : g.locale)).join((g == null ? void 0 : g.delimiter) ?? " ") + E;
|
|
48986
49002
|
}
|
|
48987
|
-
function
|
|
49003
|
+
function SM(p, g) {
|
|
48988
49004
|
const [f, v, E] = Nc(p, g), O = Pc(g == null ? void 0 : g.locale), V = Gy(g == null ? void 0 : g.locale);
|
|
48989
49005
|
return f + v.map(Hy(O, V)).join((g == null ? void 0 : g.delimiter) ?? " ") + E;
|
|
48990
49006
|
}
|
|
48991
|
-
function
|
|
48992
|
-
return
|
|
49007
|
+
function vM(p, g) {
|
|
49008
|
+
return jT(p, { delimiter: "-", ...g });
|
|
48993
49009
|
}
|
|
48994
|
-
function
|
|
49010
|
+
function UT(p, g) {
|
|
48995
49011
|
const [f, v, E] = Nc(p, g), O = Pc(g == null ? void 0 : g.locale), V = Gy(g == null ? void 0 : g.locale), N = Hy(O, V);
|
|
48996
49012
|
return f + v.map((U, q) => q === 0 ? N(U) : O(U)).join((g == null ? void 0 : g.delimiter) ?? " ") + E;
|
|
48997
49013
|
}
|
|
@@ -49005,7 +49021,7 @@ function Hy(p, g) {
|
|
|
49005
49021
|
return (f) => `${g(f[0])}${p(f.slice(1))}`;
|
|
49006
49022
|
}
|
|
49007
49023
|
function Nc(p, g = {}) {
|
|
49008
|
-
const f = g.split ?? (g.separateNumbers ?
|
|
49024
|
+
const f = g.split ?? (g.separateNumbers ? JT : qy), v = g.prefixCharacters ?? W_, E = g.suffixCharacters ?? W_;
|
|
49009
49025
|
let O = 0, V = p.length;
|
|
49010
49026
|
for (; O < p.length; ) {
|
|
49011
49027
|
const N = p.charAt(O);
|
|
@@ -49028,40 +49044,40 @@ function Nc(p, g = {}) {
|
|
|
49028
49044
|
function Yy() {
|
|
49029
49045
|
const { enabledCountries: p } = an();
|
|
49030
49046
|
return p.value.reduce((g, f) => {
|
|
49031
|
-
const v =
|
|
49047
|
+
const v = RT(f);
|
|
49032
49048
|
if (v) {
|
|
49033
49049
|
const { code: E, name: O, currency: V } = v;
|
|
49034
49050
|
g[f] = {
|
|
49035
49051
|
code: E,
|
|
49036
|
-
name:
|
|
49052
|
+
name: UT(O),
|
|
49037
49053
|
currency: V
|
|
49038
49054
|
};
|
|
49039
49055
|
}
|
|
49040
49056
|
return g;
|
|
49041
49057
|
}, {});
|
|
49042
49058
|
}
|
|
49043
|
-
function
|
|
49059
|
+
function CM(p) {
|
|
49044
49060
|
const f = Yy()[p];
|
|
49045
49061
|
return f ? f.currency : "MYR";
|
|
49046
49062
|
}
|
|
49047
|
-
function
|
|
49063
|
+
function zT(p) {
|
|
49048
49064
|
return Yy()[p || Wy];
|
|
49049
49065
|
}
|
|
49050
49066
|
const Wy = Je.F_COUNTRY.enum.MY;
|
|
49051
|
-
function
|
|
49067
|
+
function qT() {
|
|
49052
49068
|
const g = an().currentCountry.value;
|
|
49053
|
-
return
|
|
49069
|
+
return zT(g).currency;
|
|
49054
49070
|
}
|
|
49055
|
-
function
|
|
49056
|
-
const p =
|
|
49071
|
+
function bM() {
|
|
49072
|
+
const p = qT();
|
|
49057
49073
|
return p === "MYR" ? "RM" : p;
|
|
49058
49074
|
}
|
|
49059
|
-
const
|
|
49060
|
-
function
|
|
49075
|
+
const GT = "https://account.feedmedev.cc", Q_ = GT;
|
|
49076
|
+
function HT() {
|
|
49061
49077
|
return {
|
|
49062
49078
|
get backendUrls() {
|
|
49063
49079
|
const p = an();
|
|
49064
|
-
return
|
|
49080
|
+
return DT(p.currentCountry.value ?? Wy);
|
|
49065
49081
|
},
|
|
49066
49082
|
async refreshAuth(p) {
|
|
49067
49083
|
const g = await fetch(`${Q_}/api/token/custom`, {
|
|
@@ -49091,7 +49107,7 @@ let K_ = (p) => {
|
|
|
49091
49107
|
}, X_ = (p) => {
|
|
49092
49108
|
parent.postMessage(JSON.parse(JSON.stringify(p)), { targetOrigin: "*" });
|
|
49093
49109
|
};
|
|
49094
|
-
function
|
|
49110
|
+
function YT({
|
|
49095
49111
|
businesses: p,
|
|
49096
49112
|
user: g,
|
|
49097
49113
|
token: f,
|
|
@@ -49124,11 +49140,11 @@ function HT({
|
|
|
49124
49140
|
}, E.businesses.value = p, E.changeBusiness(p[0]);
|
|
49125
49141
|
}
|
|
49126
49142
|
const xc = vi(!1);
|
|
49127
|
-
function
|
|
49143
|
+
function AM(p) {
|
|
49128
49144
|
xc.value = !0;
|
|
49129
49145
|
let g = !1;
|
|
49130
49146
|
function f(O) {
|
|
49131
|
-
|
|
49147
|
+
YT(O), p();
|
|
49132
49148
|
}
|
|
49133
49149
|
function v() {
|
|
49134
49150
|
if (!g)
|
|
@@ -49172,7 +49188,7 @@ function bM(p) {
|
|
|
49172
49188
|
}), E();
|
|
49173
49189
|
}
|
|
49174
49190
|
const em = 3e4;
|
|
49175
|
-
function
|
|
49191
|
+
function WT(p, g) {
|
|
49176
49192
|
if (!p)
|
|
49177
49193
|
return { signal: AbortSignal.timeout(g), cleanup: () => {
|
|
49178
49194
|
} };
|
|
@@ -49190,7 +49206,7 @@ function YT(p, g) {
|
|
|
49190
49206
|
}
|
|
49191
49207
|
function Jc(p) {
|
|
49192
49208
|
return function() {
|
|
49193
|
-
const f =
|
|
49209
|
+
const f = HT(), v = an();
|
|
49194
49210
|
function E(U) {
|
|
49195
49211
|
return U < 200 || U >= 300;
|
|
49196
49212
|
}
|
|
@@ -49206,7 +49222,7 @@ function Jc(p) {
|
|
|
49206
49222
|
var lt, Ve;
|
|
49207
49223
|
const Fe = {
|
|
49208
49224
|
authorization: `Bearer ${((lt = v.sessionUser.value) == null ? void 0 : lt.token) ?? ""}`
|
|
49209
|
-
}, we = q ? _i(U, q) : U, { signal: De, cleanup: Be } =
|
|
49225
|
+
}, we = q ? _i(U, q) : U, { signal: De, cleanup: Be } = WT(Ae, em);
|
|
49210
49226
|
try {
|
|
49211
49227
|
const Le = oe ? await fetch(we, {
|
|
49212
49228
|
method: X,
|
|
@@ -49443,7 +49459,7 @@ const bd = Jc((p, g) => {
|
|
|
49443
49459
|
},
|
|
49444
49460
|
urls: p
|
|
49445
49461
|
};
|
|
49446
|
-
}),
|
|
49462
|
+
}), QT = Jc((p, g) => {
|
|
49447
49463
|
const f = an(), v = zy();
|
|
49448
49464
|
return {
|
|
49449
49465
|
async readMenu() {
|
|
@@ -49464,7 +49480,7 @@ const bd = Jc((p, g) => {
|
|
|
49464
49480
|
return await g.post(V, E);
|
|
49465
49481
|
}
|
|
49466
49482
|
};
|
|
49467
|
-
}),
|
|
49483
|
+
}), KT = Jc((p, g) => {
|
|
49468
49484
|
const f = zy();
|
|
49469
49485
|
return {
|
|
49470
49486
|
async readLastClosing(v, E = !0) {
|
|
@@ -49515,7 +49531,7 @@ const bd = Jc((p, g) => {
|
|
|
49515
49531
|
}
|
|
49516
49532
|
};
|
|
49517
49533
|
});
|
|
49518
|
-
var Si = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_9f30e9dc-9c1c-4486-91a1-6ef637d8817d", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_node: "^18.19.33", npm_config_dedupe_peer_dependents: "", DOTNET_NOLOGO: "1", npm_package_scripts_prepublish: "pnpm check:env && pnpm build:mf && pnpm build:dts", npm_package_dependencies_fuzzy_search: "^3.2.1", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^1.6.0", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.20.2 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", npm_package_devDependencies_vite_plugin_commonjs: "^0.10.3", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_9f30e9dc-9c1c-4486-91a1-6ef637d8817d", PIPX_HOME: "/opt/pipx", npm_package_scripts_dev_standalone: "vite --mode standalone", npm_package_dependencies_codemirror: "^6.0.2", npm_package_dependencies_html2pdf_js: "^0.14.0", npm_package_dependencies_node_html_parser: "^7.0.1", npm_package_devDependencies_vite: "5.4.8", npm_node_execpath: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", npm_package_files_0: "dist", npm_package_scripts_prod_standalone: "PORTAL_ENV=production vite --mode standalone", npm_package_scripts_check_env: 'cat build-*.env | grep -qE "^[^#].*localhost" && { echo "Error: build-*.env files contains localhost reference" >&2; exit 1;} || exit 0', HOME: "/home/runner", npm_package_devDependencies_sass: "^1.77.2", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "PORTAL_ENV=production vite build --mode fmmf", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8192", GRADLE_HOME: "/usr/share/gradle-9.7.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --declaration --noEmit -p tsconfig.app.json", npm_package_dependencies__feedmepos_mf_common: "^1.29.11", npm_package_dependencies_handlebars: "^4.7.8", npm_package_devDependencies_code_inspector_plugin: "^1.4.5", npm_package_devDependencies_npm_run_all2: "^6.2.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_dependencies__feedmepos_inventory_core_dart: "workspace:^", SYSTEMD_EXEC_PID: "1754", ACTIONS_ORCHESTRATION_ID: "189de170-405b-4655-96a7-e7f2aae18feb.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.10.1", npm_package_dependencies_dayjs: "^1.11.11", npm_package_dependencies_dotenv: "^16.4.5", npm_package_devDependencies__tsconfig_node18: "^18.2.4", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_dependencies_eventsource: "^4.1.0", npm_package_devDependencies_tailwindcss: "3.4.1", npm_package_devDependencies_typescript: "5.2.2", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_google_maps: "^4.3.3", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^1.8.27", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260810.271.1", npm_package_scripts_build_prod: "PORTAL_ENV=production vite build --mode standalone", npm_package_scripts_dev: "vite", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.5", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_devDependencies__playwright_test: "1.61.1", npm_package_devDependencies_prettier: "^3.2.5", npm_package_devDependencies_zod: "3.17.9", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_9f30e9dc-9c1c-4486-91a1-6ef637d8817d", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", VERSION: "1.7.12-dev.1", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_scripts_prod: "PORTAL_ENV=production vite", npm_package_devDependencies__vue_tsconfig: "^0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:11860", GITHUB_WORKFLOW: "[CD:dev] inventory-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_dependencies_csstype: "^3.1.3", npm_package_dependencies_fuzzy: "^0.1.3", npm_config_registry: "https://registry.npmjs.org", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.12/x64", GITHUB_RUN_ID: "32121200939", npm_package_dependencies__codemirror_lang_json: "^6.0.2", npm_package_devDependencies__types_lodash: "^4.17.16", npm_package_devDependencies_happy_dom: "^12.10.3", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "8d8453c149b1c4c6535eaf4ff624c56c35aee1bf", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.5/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^4.6.2", GITHUB_WORKFLOW_REF: "feedmepos/inventory-service/.github/workflows/inventory-portal-dev.yaml@refs/heads/development", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies__feedmepos_zod_inventory: "workspace:^", npm_package_dependencies_axios: "^1.7.1", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/work/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.20.2/x64/bin:/home/runner/.pub-cache/bin:/opt/hostedtoolcache/dart/3.4.3/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_8140d5ff-c3de-492b-ac2f-d1340ea56682", INVOCATION_ID: "8c37fab166514317a0ca0212b6a454c7", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", npm_package_name: "@feedmepos/mf-inventory-portal", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "1158", GITHUB_TRIGGERING_ACTOR: "zdirnecamlcs96", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_test_e2e: "playwright test", npm_package_scripts_test_publish: "pnpm prepublish && pnpm pack", npm_package_dependencies_vue_country_flag_next: "^2.3.2", npm_config_frozen_lockfile: "", npm_package_dependencies__feedmepos_inventory_core_2: "workspace:^", npm_package_dependencies__typescript_eslint_typescript_estree: "^8.21.0", npm_package_devDependencies__types_dompurify: "^3.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", DART_HOME: "/opt/hostedtoolcache/dart/3.4.3/x64", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies__vue_test_utils: "^2.4.6", npm_package_devDependencies_eslint: "^8.57.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000113716", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "development", GITHUB_REPOSITORY: "feedmepos/inventory-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_publish_beta: "pnpm publish --tag beta", npm_package_scripts_unpack: "tar zxf", npm_package_dependencies__feedmepos_core: "2.14.40", npm_package_devDependencies__types_debounce: "^1.2.4", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies__feedmepos_netsuite_core: "workspace:^", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", npm_config_manage_package_manager_versions: "true", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "656626604", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules/vite/bin/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules/vite/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "1.7.12-dev.1", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && pnpm build-types", npm_package_dependencies__feedmepos_hrm_permission: "1.0.9", npm_package_dependencies__tanstack_vue_table: "^8.17.3", npm_package_dependencies__vue_cli_service: "^5.0.8", npm_package_devDependencies__rushstack_eslint_patch: "^1.10.3", npm_config_access: "public", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "true", npm_package_scripts_build: "vite build --mode standalone", npm_package_dependencies_vue_i18n: "^10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com", GITHUB_WORKSPACE: "/home/runner/work/inventory-service/inventory-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.20", npm_package_devDependencies__types_fuzzy_search: "^2.1.5", npm_package_devDependencies_cypress: "^13.9.0", GITHUB_SHA: "8d8453c149b1c4c6535eaf4ff624c56c35aee1bf", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/development", GITHUB_ACTOR: "zdirnecamlcs96", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_dependencies_lz_string: "^1.5.0", npm_package_devDependencies__testing_library_vue: "^8.1.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_9f30e9dc-9c1c-4486-91a1-6ef637d8817d", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", GITHUB_ACTOR_ID: "12760908", RUNNER_WORKSPACE: "/home/runner/work/inventory-service", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_9f30e9dc-9c1c-4486-91a1-6ef637d8817d", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", npm_package_dependencies__feedmepos_inventory_core: "workspace:^", npm_package_dependencies_dompurify: "^3.3.1", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PUB_CACHE: "/home/runner/.pub-cache", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_devDependencies_eslint_plugin_vue: "^9.26.0", npm_package_devDependencies_postcss: "^8.4.38", npm_config_node_options: "--max-old-space-size=8192", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_9f30e9dc-9c1c-4486-91a1-6ef637d8817d", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_deploy: "pnpm run build-only && pnpm publish --no-git-checks .", npm_package_scripts_preview: "vite preview", npm_package_dependencies_debounce: "^2.0.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", npm_package_dependencies__feedmepos_menu: "1.5.22", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_9f30e9dc-9c1c-4486-91a1-6ef637d8817d", INIT_CWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_dependencies__feedmepos_codemax_core: "workspace:^", npm_package_dependencies__feedmepos_inventory_core_js: "workspace:^", npm_package_dependencies_libphonenumber_js: "^1.11.18", NODE_ENV: "production" } }, Qy = typeof Si < "u" && (Si.versions || {}).hasOwnProperty("node"), se = Qy ? Object.create(globalThis) : globalThis;
|
|
49534
|
+
var Si = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_7c0a9f43-5055-4286-8bb5-89bf63bf1d47", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_node: "^18.19.33", npm_config_dedupe_peer_dependents: "", DOTNET_NOLOGO: "1", npm_package_scripts_prepublish: "pnpm check:env && pnpm build:mf && pnpm build:dts", npm_package_dependencies_fuzzy_search: "^3.2.1", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^1.6.0", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.20.2 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.13", npm_package_devDependencies_vite_plugin_commonjs: "^0.10.3", USE_BAZEL_FALLBACK_VERSION: "silent:", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_7c0a9f43-5055-4286-8bb5-89bf63bf1d47", PIPX_HOME: "/opt/pipx", npm_package_scripts_dev_standalone: "vite --mode standalone", npm_package_dependencies_codemirror: "^6.0.2", npm_package_dependencies_html2pdf_js: "^0.14.0", npm_package_dependencies_node_html_parser: "^7.0.1", npm_package_devDependencies_vite: "5.4.8", npm_node_execpath: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", HCA_CLOUD_PROVIDER: "azure", npm_package_files_0: "dist", npm_package_scripts_prod_standalone: "PORTAL_ENV=production vite --mode standalone", npm_package_scripts_check_env: 'cat build-*.env | grep -qE "^[^#].*localhost" && { echo "Error: build-*.env files contains localhost reference" >&2; exit 1;} || exit 0', HOME: "/home/runner", npm_package_devDependencies_sass: "^1.77.2", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "PORTAL_ENV=production vite build --mode fmmf", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8192", GRADLE_HOME: "/usr/share/gradle-9.7.0", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --declaration --noEmit -p tsconfig.app.json", npm_package_dependencies__feedmepos_mf_common: "^1.29.11", npm_package_dependencies_handlebars: "^4.7.8", npm_package_devDependencies_code_inspector_plugin: "^1.4.5", npm_package_devDependencies_npm_run_all2: "^6.2.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-Linux", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_dependencies__feedmepos_inventory_core_dart: "workspace:^", SYSTEMD_EXEC_PID: "1757", ACTIONS_ORCHESTRATION_ID: "c8f85fd1-ff7d-42fb-861f-cfbf143682e7.deploy.__default", npm_package_dependencies__feedmepos_ui_library: "1.10.1", npm_package_dependencies_dayjs: "^1.11.11", npm_package_dependencies_dotenv: "^16.4.5", npm_package_devDependencies__tsconfig_node18: "^18.2.4", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_dependencies_eventsource: "^4.1.0", npm_package_devDependencies_tailwindcss: "3.4.1", npm_package_devDependencies_typescript: "5.2.2", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_dependencies_google_maps: "^4.3.3", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^1.8.27", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20260810.271.1", npm_package_scripts_build_prod: "PORTAL_ENV=production vite build --mode standalone", npm_package_scripts_dev: "vite", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.5", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_devDependencies__playwright_test: "1.61.1", npm_package_devDependencies_prettier: "^3.2.5", npm_package_devDependencies_zod: "3.17.9", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GITHUB_ARTIFACTS: "/home/runner/work/_temp/_runner_file_commands/artifacts_7c0a9f43-5055-4286-8bb5-89bf63bf1d47", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", VERSION: "1.7.12-dev.2", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", npm_package_scripts_prod: "PORTAL_ENV=production vite", npm_package_devDependencies__vue_tsconfig: "^0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", JOURNAL_STREAM: "9:12534", GITHUB_WORKFLOW: "[CD:dev] inventory-portal", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.13/x64", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_dependencies_csstype: "^3.1.3", npm_package_dependencies_fuzzy: "^0.1.3", npm_config_registry: "https://registry.npmjs.org", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.12/x64", GITHUB_RUN_ID: "32132124260", npm_package_dependencies__codemirror_lang_json: "^6.0.2", npm_package_devDependencies__types_lodash: "^4.17.16", npm_package_devDependencies_happy_dom: "^12.10.3", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "a9f6060b6d0cfe0e47c4743e6b16f1024bbd4828", GOROOT_1_26_X64: "/opt/hostedtoolcache/go/1.26.5/x64", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^4.6.2", GITHUB_WORKFLOW_REF: "feedmepos/inventory-service/.github/workflows/inventory-portal-dev.yaml@refs/heads/development", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies__feedmepos_zod_inventory: "workspace:^", npm_package_dependencies_axios: "^1.7.1", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/work/inventory-service/inventory-service/apps/inventory-portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/inventory-service/inventory-service/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.20.2/x64/bin:/home/runner/.pub-cache/bin:/opt/hostedtoolcache/dart/3.4.3/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_e74b301f-3e26-420d-83ab-174ac13e6b5a", INVOCATION_ID: "2e4acadd34a54386bbb8ec78d1b0b56a", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.20.2/x64/bin/node", npm_package_name: "@feedmepos/mf-inventory-portal", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "1160", GITHUB_TRIGGERING_ACTOR: "zdirnecamlcs96", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_test_e2e: "playwright test", npm_package_scripts_test_publish: "pnpm prepublish && pnpm pack", npm_package_dependencies_vue_country_flag_next: "^2.3.2", npm_config_frozen_lockfile: "", npm_package_dependencies__feedmepos_inventory_core_2: "workspace:^", npm_package_dependencies__typescript_eslint_typescript_estree: "^8.21.0", npm_package_devDependencies__types_dompurify: "^3.2.0", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", DART_HOME: "/opt/hostedtoolcache/dart/3.4.3/x64", npm_package_devDependencies__vue_eslint_config_typescript: "^12.0.0", npm_package_devDependencies__vue_test_utils: "^2.4.6", npm_package_devDependencies_eslint: "^8.57.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000114061", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "development", GITHUB_REPOSITORY: "feedmepos/inventory-service", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_publish_beta: "pnpm publish --tag beta", npm_package_scripts_unpack: "tar zxf", npm_package_dependencies__feedmepos_core: "2.14.40", npm_package_devDependencies__types_debounce: "^1.2.4", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies__feedmepos_netsuite_core: "workspace:^", npm_package_devDependencies__vue_eslint_config_prettier: "^8.0.0", npm_config_manage_package_manager_versions: "true", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "656626604", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules/vite/bin/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules/vite/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/vite@5.4.8_@types+node@18.19.33_sass@1.77.2_terser@5.30.3/node_modules:/home/runner/work/inventory-service/inventory-service/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "1.7.12-dev.2", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && pnpm build-types", npm_package_dependencies__feedmepos_hrm_permission: "1.0.9", npm_package_dependencies__tanstack_vue_table: "^8.17.3", npm_package_dependencies__vue_cli_service: "^5.0.8", npm_package_devDependencies__rushstack_eslint_patch: "^1.10.3", npm_config_access: "public", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "true", npm_package_scripts_build: "vite build --mode standalone", npm_package_dependencies_vue_i18n: "^10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com", GITHUB_WORKSPACE: "/home/runner/work/inventory-service/inventory-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.20", npm_package_devDependencies__types_fuzzy_search: "^2.1.5", npm_package_devDependencies_cypress: "^13.9.0", GITHUB_SHA: "a9f6060b6d0cfe0e47c4743e6b16f1024bbd4828", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", ACTIONS_RUNNER_RETURN_JOB_RESULT_FOR_HOSTED: "1", GITHUB_REF: "refs/heads/development", GITHUB_ACTOR: "zdirnecamlcs96", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_dependencies_lz_string: "^1.5.0", npm_package_devDependencies__testing_library_vue: "^8.1.0", npm_package_scripts_format: "prettier --write src/", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_7c0a9f43-5055-4286-8bb5-89bf63bf1d47", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", GITHUB_ACTOR_ID: "12760908", RUNNER_WORKSPACE: "/home/runner/work/inventory-service", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_7c0a9f43-5055-4286-8bb5-89bf63bf1d47", npm_package_exports___types: "./dist/app.d.ts", npm_package_dependencies__feedmepos_feature_flag: "^0.0.15", npm_package_dependencies__feedmepos_inventory_core: "workspace:^", npm_package_dependencies_dompurify: "^3.3.1", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PUB_CACHE: "/home/runner/.pub-cache", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_devDependencies_eslint_plugin_vue: "^9.26.0", npm_package_devDependencies_postcss: "^8.4.38", npm_config_node_options: "--max-old-space-size=8192", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ARTIFACTS_LIST: "/home/runner/work/_temp/_runner_file_commands/artifacts_list_7c0a9f43-5055-4286-8bb5-89bf63bf1d47", SGX_AESM_ADDR: "1", PSModulePath: "/root/.local/share/powershell/Modules:/usr/local/share/powershell/Modules:/opt/microsoft/powershell/7/Modules:/usr/share/az_15.6.1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_deploy: "pnpm run build-only && pnpm publish --no-git-checks .", npm_package_scripts_preview: "vite preview", npm_package_dependencies_debounce: "^2.0.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", npm_package_dependencies__feedmepos_menu: "1.5.22", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_7c0a9f43-5055-4286-8bb5-89bf63bf1d47", INIT_CWD: "/home/runner/work/inventory-service/inventory-service/apps/inventory-portal", npm_package_dependencies__feedmepos_codemax_core: "workspace:^", npm_package_dependencies__feedmepos_inventory_core_js: "workspace:^", npm_package_dependencies_libphonenumber_js: "^1.11.18", NODE_ENV: "production" } }, Qy = typeof Si < "u" && (Si.versions || {}).hasOwnProperty("node"), se = Qy ? Object.create(globalThis) : globalThis;
|
|
49519
49535
|
se.scheduleImmediate = typeof setImmediate < "u" ? function(p) {
|
|
49520
49536
|
setImmediate(p);
|
|
49521
49537
|
} : function(p) {
|
|
@@ -80827,7 +80843,7 @@ Arguments: [` + _ + "]";
|
|
|
80827
80843
|
typeof dartMainRunner == "function" ? dartMainRunner(t, []) : t([]);
|
|
80828
80844
|
});
|
|
80829
80845
|
})();
|
|
80830
|
-
const Ky = se.exports.FfBillOperationWithInventory, Zy = se.exports.FfCalculator, Xy = se.exports.FfClosingDraft, eh = se.exports.FfWastageReason, th = se.exports.FfPurchaseOrderReceiveStatus, nh = se.exports.FfOrder, rh = se.exports.FfCostUtils, ih = se.exports.getBalance, oh = se.exports.prepareSpecialAdjustment, ah = se.exports.prepareConvertAdjustment, sh = se.exports.prepareReceiveAdjustment, lh = se.exports.prepareRequestAdjustment, uh = se.exports.generateRequestAdjustmentRef, dh = se.exports.prepareRequestAdjustmentFromFulfillment, ch = se.exports.receiveStock, _h = se.exports.validatePurchaseOrderStatus, mh = se.exports.deductStock, ph = se.exports.getInvalidSkuAndRecipe, $h = se.exports.recalculateStock, gh = se.exports.getCostOfGoodsSold, fh = se.exports.idToDate, yh = se.exports.flattenInventoryBindings, jc = se.exports.flattenAllInventoryBindings, hh = se.exports.createAdjustmentWithBill, Fh = se.exports.prepareAdjustmentBasedOnClosing, Ih = se.exports.generateRepoId, Sh = se.exports.recalculateByClosings, vh = se.exports.getLatestPurchaseOrderRequest, Ch = se.exports.getSkuAdjustmentsFromBills, bh = se.exports.revertWastageAdjustment, Ah = se.exports.getEstimatedDeliveryDateInISO, Eh = se.exports.recalculateWavgCostHistories, Th = se.exports.computeSnapshotBalanceByAdjustment, Mh = se.exports.findMenuInventoryUsages, wh = se.exports.buildMenuInventoryUsageIndex,
|
|
80846
|
+
const Ky = se.exports.FfBillOperationWithInventory, Zy = se.exports.FfCalculator, Xy = se.exports.FfClosingDraft, eh = se.exports.FfWastageReason, th = se.exports.FfPurchaseOrderReceiveStatus, nh = se.exports.FfOrder, rh = se.exports.FfCostUtils, ih = se.exports.getBalance, oh = se.exports.prepareSpecialAdjustment, ah = se.exports.prepareConvertAdjustment, sh = se.exports.prepareReceiveAdjustment, lh = se.exports.prepareRequestAdjustment, uh = se.exports.generateRequestAdjustmentRef, dh = se.exports.prepareRequestAdjustmentFromFulfillment, ch = se.exports.receiveStock, _h = se.exports.validatePurchaseOrderStatus, mh = se.exports.deductStock, ph = se.exports.getInvalidSkuAndRecipe, $h = se.exports.recalculateStock, gh = se.exports.getCostOfGoodsSold, fh = se.exports.idToDate, yh = se.exports.flattenInventoryBindings, jc = se.exports.flattenAllInventoryBindings, hh = se.exports.createAdjustmentWithBill, Fh = se.exports.prepareAdjustmentBasedOnClosing, Ih = se.exports.generateRepoId, Sh = se.exports.recalculateByClosings, vh = se.exports.getLatestPurchaseOrderRequest, Ch = se.exports.getSkuAdjustmentsFromBills, bh = se.exports.revertWastageAdjustment, Ah = se.exports.getEstimatedDeliveryDateInISO, Eh = se.exports.recalculateWavgCostHistories, Th = se.exports.computeSnapshotBalanceByAdjustment, Mh = se.exports.findMenuInventoryUsages, wh = se.exports.buildMenuInventoryUsageIndex, ZT = { FfBillOperationWithInventory: Ky, FfCalculator: Zy, FfClosingDraft: Xy, FfWastageReason: eh, FfPurchaseOrderReceiveStatus: th, FfOrder: nh, FfCostUtils: rh, getBalance: ih, prepareSpecialAdjustment: oh, prepareConvertAdjustment: ah, prepareReceiveAdjustment: sh, prepareRequestAdjustment: lh, generateRequestAdjustmentRef: uh, prepareRequestAdjustmentFromFulfillment: dh, receiveStock: ch, validatePurchaseOrderStatus: _h, deductStock: mh, getInvalidSkuAndRecipe: ph, recalculateStock: $h, getCostOfGoodsSold: gh, idToDate: fh, flattenInventoryBindings: yh, flattenAllInventoryBindings: jc, createAdjustmentWithBill: hh, prepareAdjustmentBasedOnClosing: Fh, generateRepoId: Ih, recalculateByClosings: Sh, getLatestPurchaseOrderRequest: vh, getSkuAdjustmentsFromBills: Ch, revertWastageAdjustment: bh, getEstimatedDeliveryDateInISO: Ah, recalculateWavgCostHistories: Eh, computeSnapshotBalanceByAdjustment: Th, findMenuInventoryUsages: Mh, buildMenuInventoryUsageIndex: wh }, EM = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
80831
80847
|
__proto__: null,
|
|
80832
80848
|
FfBillOperationWithInventory: Ky,
|
|
80833
80849
|
FfCalculator: Zy,
|
|
@@ -80840,7 +80856,7 @@ const Ky = se.exports.FfBillOperationWithInventory, Zy = se.exports.FfCalculator
|
|
|
80840
80856
|
computeSnapshotBalanceByAdjustment: Th,
|
|
80841
80857
|
createAdjustmentWithBill: hh,
|
|
80842
80858
|
deductStock: mh,
|
|
80843
|
-
default:
|
|
80859
|
+
default: ZT,
|
|
80844
80860
|
findMenuInventoryUsages: Mh,
|
|
80845
80861
|
flattenAllInventoryBindings: jc,
|
|
80846
80862
|
flattenInventoryBindings: yh,
|
|
@@ -80910,7 +80926,7 @@ Array.prototype.groupBy = function(p, g) {
|
|
|
80910
80926
|
}
|
|
80911
80927
|
return f;
|
|
80912
80928
|
};
|
|
80913
|
-
function
|
|
80929
|
+
function XT() {
|
|
80914
80930
|
return {
|
|
80915
80931
|
inventory: {
|
|
80916
80932
|
_id: "",
|
|
@@ -80931,25 +80947,25 @@ function ZT() {
|
|
|
80931
80947
|
inventoryFetchedAt: null
|
|
80932
80948
|
};
|
|
80933
80949
|
}
|
|
80934
|
-
const Ot = vi(
|
|
80950
|
+
const Ot = vi(XT()), eM = sn(() => (Ot.value.inventory.unit ?? []).reduce(
|
|
80935
80951
|
(g, f) => (g[f._id] = f, g),
|
|
80936
80952
|
{}
|
|
80937
|
-
)),
|
|
80953
|
+
)), tM = sn(() => (Ot.value.inventory.sku ?? []).reduce(
|
|
80938
80954
|
(g, f) => (g[f._id] = f, g),
|
|
80939
80955
|
{}
|
|
80940
|
-
)),
|
|
80956
|
+
)), nM = sn(() => (Ot.value.inventory.sku ?? []).reduce(
|
|
80941
80957
|
(g, f) => (g[f.code] = f, g),
|
|
80942
80958
|
{}
|
|
80943
|
-
)),
|
|
80959
|
+
)), rM = sn(() => (Ot.value.inventory.recipe ?? []).reduce(
|
|
80944
80960
|
(g, f) => (g[f._id] = f, g),
|
|
80945
80961
|
{}
|
|
80946
|
-
)),
|
|
80962
|
+
)), iM = sn(() => (Ot.value.inventory.recipe ?? []).reduce(
|
|
80947
80963
|
(g, f) => (g[f.name] = f, g),
|
|
80948
80964
|
{}
|
|
80949
|
-
)),
|
|
80965
|
+
)), oM = sn(() => (Ot.value.inventory.skuGroup ?? []).reduce(
|
|
80950
80966
|
(g, f) => (g[f._id] = f, g),
|
|
80951
80967
|
{}
|
|
80952
|
-
)),
|
|
80968
|
+
)), aM = sn(() => (Ot.value.inventory.sku ?? []).filter((g) => {
|
|
80953
80969
|
var f;
|
|
80954
80970
|
return (f = g.customAttributes) == null ? void 0 : f.tag;
|
|
80955
80971
|
}).groupBy((g) => {
|
|
@@ -80965,8 +80981,8 @@ const Ot = vi(ZT()), XT = sn(() => (Ot.value.inventory.unit ?? []).reduce(
|
|
|
80965
80981
|
skuBindings: v.skuBindings,
|
|
80966
80982
|
recipeBindings: v.recipeBindings
|
|
80967
80983
|
};
|
|
80968
|
-
}),
|
|
80969
|
-
function
|
|
80984
|
+
}), sM = sn(() => Oh.value.skuBindings), lM = sn(() => Oh.value.recipeBindings), Ad = vi(), uM = Promise.resolve().then(() => ET).then((p) => Ad.value = p);
|
|
80985
|
+
function TM() {
|
|
80970
80986
|
const p = bd(), g = am();
|
|
80971
80987
|
return {
|
|
80972
80988
|
get entities() {
|
|
@@ -81016,44 +81032,44 @@ function EM() {
|
|
|
81016
81032
|
return gi(this.state.inventory.unit ?? [], { selector: "name" });
|
|
81017
81033
|
},
|
|
81018
81034
|
get unitById() {
|
|
81019
|
-
return
|
|
81035
|
+
return eM.value;
|
|
81020
81036
|
},
|
|
81021
81037
|
get recipes() {
|
|
81022
81038
|
return gi(this.state.inventory.recipe ?? [], { selector: "name" });
|
|
81023
81039
|
},
|
|
81024
81040
|
get recipeById() {
|
|
81025
|
-
return
|
|
81041
|
+
return rM.value;
|
|
81026
81042
|
},
|
|
81027
81043
|
get recipeByName() {
|
|
81028
|
-
return
|
|
81044
|
+
return iM.value;
|
|
81029
81045
|
},
|
|
81030
81046
|
get skus() {
|
|
81031
81047
|
return gi(this.state.inventory.sku ?? [], { selector: "code" });
|
|
81032
81048
|
},
|
|
81033
81049
|
get skuById() {
|
|
81034
|
-
return
|
|
81050
|
+
return tM.value;
|
|
81035
81051
|
},
|
|
81036
81052
|
get skuByCode() {
|
|
81037
|
-
return
|
|
81053
|
+
return nM.value;
|
|
81038
81054
|
},
|
|
81039
81055
|
get skuBindingFlattenCache() {
|
|
81040
|
-
return
|
|
81056
|
+
return sM.value;
|
|
81041
81057
|
},
|
|
81042
81058
|
get recipeBindingFlattenCache() {
|
|
81043
|
-
return
|
|
81059
|
+
return lM.value;
|
|
81044
81060
|
},
|
|
81045
81061
|
get skuGroups() {
|
|
81046
81062
|
return this.state.inventory.skuGroup ?? [];
|
|
81047
81063
|
},
|
|
81048
81064
|
get skuGroupById() {
|
|
81049
|
-
return
|
|
81065
|
+
return oM.value;
|
|
81050
81066
|
},
|
|
81051
81067
|
get skuTags() {
|
|
81052
|
-
return
|
|
81068
|
+
return aM.value;
|
|
81053
81069
|
},
|
|
81054
81070
|
// actions
|
|
81055
81071
|
async init() {
|
|
81056
|
-
Ad.value = await
|
|
81072
|
+
Ad.value = await uM;
|
|
81057
81073
|
const f = Nm();
|
|
81058
81074
|
try {
|
|
81059
81075
|
await this.readInventory(), await this.readClosing();
|
|
@@ -81062,7 +81078,7 @@ function EM() {
|
|
|
81062
81078
|
}
|
|
81063
81079
|
},
|
|
81064
81080
|
async readClosing() {
|
|
81065
|
-
const v = await
|
|
81081
|
+
const v = await KT().readCurrentLocationLastClosing(!0);
|
|
81066
81082
|
v && (this.state.closing = v);
|
|
81067
81083
|
},
|
|
81068
81084
|
async getAffectedMenu(f) {
|
|
@@ -81074,7 +81090,7 @@ function EM() {
|
|
|
81074
81090
|
operation: this.entities.F_BASIC_OPERATION_TYPE.enum.delete,
|
|
81075
81091
|
data: f
|
|
81076
81092
|
};
|
|
81077
|
-
return (await import("./index-
|
|
81093
|
+
return (await import("./index-Dxc2IYXi.js")).InventoryCore.getAffectedMenu(
|
|
81078
81094
|
v,
|
|
81079
81095
|
this.inventory,
|
|
81080
81096
|
this.menu.cache
|
|
@@ -81134,7 +81150,7 @@ function EM() {
|
|
|
81134
81150
|
if (!(this.menuFetching || !f && this.menu.cache))
|
|
81135
81151
|
try {
|
|
81136
81152
|
this.menuFetching = !0;
|
|
81137
|
-
const U = await
|
|
81153
|
+
const U = await QT().readMenu();
|
|
81138
81154
|
((v = an().currentBusiness.value) == null ? void 0 : v.menuVersion) === "v3" && (this.inventory = {
|
|
81139
81155
|
...this.inventory,
|
|
81140
81156
|
sku: ((E = U.modules) == null ? void 0 : E.sku) ?? [],
|
|
@@ -81448,34 +81464,34 @@ function xu(p, g, f, v, E, O) {
|
|
|
81448
81464
|
unitUsedById: q
|
|
81449
81465
|
};
|
|
81450
81466
|
}
|
|
81451
|
-
var Ju = { name: "@feedmepos/mf-inventory-portal", version: "1.7.12-dev.
|
|
81467
|
+
var Ju = { name: "@feedmepos/mf-inventory-portal", version: "1.7.12-dev.2", mode: "fmmf" };
|
|
81452
81468
|
console.log(
|
|
81453
81469
|
`%c${Ju.name}%c v${Ju.version} %c${Ju.mode}`,
|
|
81454
81470
|
"background:#1f1f1f;color:#fff;padding:2px 6px;border-radius:3px 0 0 3px",
|
|
81455
81471
|
"background:#42b883;color:#1f1f1f;padding:2px 6px",
|
|
81456
81472
|
"background:#555;color:#fff;padding:2px 6px;border-radius:0 3px 3px 0"
|
|
81457
81473
|
);
|
|
81458
|
-
const
|
|
81474
|
+
const MM = {
|
|
81459
81475
|
"en-US": Gh,
|
|
81460
81476
|
"zh-CN": Wh,
|
|
81461
81477
|
"th-TH": Zh,
|
|
81462
81478
|
"ja-JP": tF
|
|
81463
|
-
},
|
|
81464
|
-
() => import("./InventoryBindingForm-
|
|
81465
|
-
),
|
|
81466
|
-
() => import("./InventoryBindingSummary-
|
|
81479
|
+
}, wM = Ed(() => import("./App-DE5q8pJt.js")), OM = Ed(
|
|
81480
|
+
() => import("./InventoryBindingForm-bZo-006V.js")
|
|
81481
|
+
), kM = Ed(
|
|
81482
|
+
() => import("./InventoryBindingSummary-BB9KGZ2m.js")
|
|
81467
81483
|
);
|
|
81468
81484
|
export {
|
|
81469
81485
|
th as $,
|
|
81470
|
-
|
|
81486
|
+
QT as A,
|
|
81471
81487
|
fh as B,
|
|
81472
81488
|
xg as C,
|
|
81473
81489
|
A as D,
|
|
81474
81490
|
qo as E,
|
|
81475
81491
|
Ag as F,
|
|
81476
|
-
|
|
81492
|
+
KT as G,
|
|
81477
81493
|
_y as H,
|
|
81478
|
-
|
|
81494
|
+
ME as I,
|
|
81479
81495
|
kc as J,
|
|
81480
81496
|
eh as K,
|
|
81481
81497
|
Mg as L,
|
|
@@ -81489,23 +81505,23 @@ export {
|
|
|
81489
81505
|
ih as T,
|
|
81490
81506
|
Ng as U,
|
|
81491
81507
|
as as V,
|
|
81492
|
-
|
|
81508
|
+
IM as W,
|
|
81493
81509
|
Fr as X,
|
|
81494
81510
|
Qe as Y,
|
|
81495
81511
|
Zl as Z,
|
|
81496
81512
|
cn as _,
|
|
81497
|
-
|
|
81498
|
-
|
|
81499
|
-
|
|
81500
|
-
|
|
81501
|
-
|
|
81513
|
+
TM as a,
|
|
81514
|
+
yM as a0,
|
|
81515
|
+
hM as a1,
|
|
81516
|
+
FM as a2,
|
|
81517
|
+
SM as a3,
|
|
81502
81518
|
bc as a4,
|
|
81503
|
-
|
|
81519
|
+
vM as a5,
|
|
81504
81520
|
_I as a6,
|
|
81505
|
-
|
|
81506
|
-
|
|
81507
|
-
|
|
81508
|
-
|
|
81521
|
+
gM as a7,
|
|
81522
|
+
fM as a8,
|
|
81523
|
+
AM as a9,
|
|
81524
|
+
kM as aA,
|
|
81509
81525
|
dn as aa,
|
|
81510
81526
|
ty as ab,
|
|
81511
81527
|
er as ac,
|
|
@@ -81526,19 +81542,19 @@ export {
|
|
|
81526
81542
|
ue as ar,
|
|
81527
81543
|
Se as as,
|
|
81528
81544
|
r$ as at,
|
|
81529
|
-
|
|
81530
|
-
|
|
81531
|
-
|
|
81532
|
-
|
|
81533
|
-
|
|
81534
|
-
|
|
81535
|
-
|
|
81545
|
+
ET as au,
|
|
81546
|
+
ZT as av,
|
|
81547
|
+
EM as aw,
|
|
81548
|
+
MM as ax,
|
|
81549
|
+
wM as ay,
|
|
81550
|
+
OM as az,
|
|
81551
|
+
BT as b,
|
|
81536
81552
|
dS as c,
|
|
81537
81553
|
Jc as d,
|
|
81538
81554
|
Tg as e,
|
|
81539
|
-
|
|
81540
|
-
|
|
81541
|
-
|
|
81555
|
+
bM as f,
|
|
81556
|
+
RT as g,
|
|
81557
|
+
CM as h,
|
|
81542
81558
|
Wy as i,
|
|
81543
81559
|
Gu as j,
|
|
81544
81560
|
Pr as k,
|
|
@@ -81547,9 +81563,9 @@ export {
|
|
|
81547
81563
|
Nm as n,
|
|
81548
81564
|
wd as o,
|
|
81549
81565
|
Eg as p,
|
|
81550
|
-
|
|
81566
|
+
qT as q,
|
|
81551
81567
|
lA as r,
|
|
81552
|
-
|
|
81568
|
+
UT as s,
|
|
81553
81569
|
yh as t,
|
|
81554
81570
|
zy as u,
|
|
81555
81571
|
gy as v,
|